Home
last modified time | relevance | path

Searched refs:encode (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/plugin/freechat/phpfreechat/data/public/themes/default/
H A Dchat.js.tpl.php32 <?php $nick = $u->getNickname() != '' ? $json->encode($u->getNickname()) : $json->encode($c->nick);…
36 var pfc_nickid = <?php echo $json->encode($u->nickid); ?>;
37 var pfc_version = <?php echo $json->encode($version); ?>;
39 var pfc_title = <?php echo $json->encode($title); ?>;
43 var pfc_nickmarker = <?php echo $json->encode($nickmarker); ?>;
44 var pfc_clock = <?php echo $json->encode($clock); ?>;
46 var pfc_showsmileys = <?php echo $json->encode($showsmileys); ?>;
52 var pfc_debug = <?php echo $json->encode($debug); ?>;
59 var pfc_defaultchan = <?php echo $json->encode($c->channels); ?>;
61 var pfc_defaultprivmsg = <?php echo $json->encode($c->privmsg); ?>;
[all …]
/plugin/freechat/phpfreechat/themes/default/
H A Dchat.js.tpl.php32 <?php $nick = $u->getNickname() != '' ? $json->encode($u->getNickname()) : $json->encode($c->nick);…
36 var pfc_nickid = <?php echo $json->encode($u->nickid); ?>;
37 var pfc_version = <?php echo $json->encode($version); ?>;
39 var pfc_title = <?php echo $json->encode($title); ?>;
43 var pfc_nickmarker = <?php echo $json->encode($nickmarker); ?>;
44 var pfc_clock = <?php echo $json->encode($clock); ?>;
46 var pfc_showsmileys = <?php echo $json->encode($showsmileys); ?>;
52 var pfc_debug = <?php echo $json->encode($debug); ?>;
59 var pfc_defaultchan = <?php echo $json->encode($c->channels); ?>;
61 var pfc_defaultprivmsg = <?php echo $json->encode($c->privmsg); ?>;
[all …]
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/tests/
H A DEncoderTest.php17 $this->assertEquals([1212, 318, 617, 2420], $encoder->encode('This is some text'));
18 $this->assertEquals([10134, 23858, 21746], $encoder->encode('hasOwnProperty'));
19 $this->assertEquals([10163, 2231, 30924, 3829], $encoder->encode('1234567890'));
20 $this->assertEquals([15496, 11854, 616, 1468, 1545], $encoder->encode('Hello darkness my old friend'));
21 $this->assertEquals([31373, 50169, 233, 995, 12520, 234, 235], $encoder->encode('hello ? world ?'));
22 $this->assertEquals([33, 11401, 19047, 326, 262, 749, 2219, 2456, 389, 7997, 287, 262, 25818, 355, 257, 2060, 11241, 981, 262, 4071, 2456, 389, 5445, 866, 656, 734, 393, 517, 850, 4775, 16326, 290, 428, 318, 287, 4381, 351, 644, 257, 850, 4775, 12, 3106, 11241, 1634, 11862, 857, 13], $encoder->encode($longText));
23 $this->assertEquals([33, 11401, 19047, 326, 262, 749, 2219, 2456, 389, 7997, 287, 262, 25818, 355, 257, 2060, 11241, 981, 262, 4071, 2456, 389, 5445, 866, 656, 734, 393, 517, 850, 4775, 16326, 290, 428, 318, 287, 4381, 351, 644, 257, 850, 4775, 12, 3106, 11241, 1634, 11862, 857, 13], $encoder->encode($longText));
24 $this->assertEquals([38374, 268, 292, 256, 446, 274, 31215, 285, 8836, 13], $encoder->encode('Buenas tardes para mí.'));
25 $this->assertEquals([65, 2634, 65, 2634], $encoder->encode('bébé'));
26 $this->assertEquals([344, 979, 1556, 555, 48659, 660, 18702, 84, 2634, 551, 1216, 272, 16175, 15152, 28141, 1490, 22161, 390, 256, 7834, 8591, 4938, 43816], $encoder->encode('cec
[all...]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/
H A DXML.php153 ' <Modulus>' . Base64::encode($n->toBytes()) . "</Modulus>\r\n" .
154 ' <Exponent>' . Base64::encode($e->toBytes()) . "</Exponent>\r\n" .
155 ' <P>' . Base64::encode($primes[1]->toBytes()) . "</P>\r\n" .
156 ' <Q>' . Base64::encode($primes[2]->toBytes()) . "</Q>\r\n" .
157 ' <DP>' . Base64::encode($exponents[1]->toBytes()) . "</DP>\r\n" .
158 ' <DQ>' . Base64::encode($exponents[2]->toBytes()) . "</DQ>\r\n" .
159 ' <InverseQ>' . Base64::encode($coefficients[2]->toBytes()) . "</InverseQ>\r\n" .
160 ' <D>' . Base64::encode($d->toBytes()) . "</D>\r\n" .
175 ' <Modulus>' . Base64::encode($n->toBytes()) . "</Modulus>\r\n" .
176 ' <Exponent>' . Base64::encode($e->toBytes()) . "</Exponent>\r\n" .
/plugin/freechat/phpfreechat/src/
H A Dpfccontainer.class.php129 $this->setMeta("nickid-to-channelid", $nickid, $this->encode($chan));
130 $this->setMeta("channelid-to-nickid", $this->encode($chan), $nickid);
170 $this->rmMeta('channelid-to-nickid', $this->encode($chan), $nickid);
171 $this->rmMeta('nickid-to-channelid', $nickid, $this->encode($chan));
184 $this->rmMeta('channelid-to-msg', $this->encode($chan));
185 $this->rmMeta('channelid-to-msgid', $this->encode($chan));
218 $this->setMeta("nickid-to-channelid", $nickid, $this->encode($chan));
335 $ret = $this->getMeta("channelid-to-nickid", $this->encode($chan));
363 $this->encode($chan),
757 function encode($str) function in pfcContainer
[all …]
H A Dpfcjson.class.php37 function encode($v) function in pfcJSON
40 return $this->json->encode($v);
/plugin/authgooglesheets/vendor/paragonie/constant_time_encoding/src/
H A DEncoding.php43 return Base32::encode($str);
91 return Base32Hex::encode($str);
139 return Base64::encode($str);
164 return Base64DotSlash::encode($str);
192 return Base64DotSlashOrdered::encode($str);
220 return Hex::encode($bin_string);
/plugin/jcapture/lib/
H A Dcommons-codec-1.3.jar ... .codec.Encoder { public abstract byte[] encode (byte[]) throws org.apache. ...
/plugin/jdraw/lib/
H A Dcommons-codec-1.3.jar ... .codec.Encoder { public abstract byte[] encode (byte[]) throws org.apache. ...
/plugin/gtime/gtlib/util/
H A DGTBase16.php45 public static function encode(array $bytes, $offset = null, $length = null) { function in GTBase16
46 return self::getInstance()->encode($bytes, $offset, $length);
59 return self::getInstance()->encode($bytes, $offset, $length, ':', 2);
72 return self::getInstance()->encode($bytes, $offset, $length, ' ', 2);
H A DGTBase32.php45 public static function encode(array $bytes, $offset = null, $length = null) { function in GTBase32
46 return self::getInstance()->encode($bytes, $offset, $length);
59 return self::getInstance()->encode($bytes, $offset, $length, '-', 6);
H A DGTBase64.php45 public static function encode(array $bytes, $offset = null, $length = null) { function in GTBase64
46 return self::getInstance()->encode($bytes, $offset, $length);
/plugin/vcard/
H A Dvcard.php27 function encode($string) { function
108 …perties[$key] = encode($name).";".encode($extended).";".encode($street).";".encode($city).";".enco…
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/
H A DXML.php133 ' <P>' . Base64::encode($p->toBytes()) . "</P>\r\n" .
134 ' <Q>' . Base64::encode($q->toBytes()) . "</Q>\r\n" .
135 ' <G>' . Base64::encode($g->toBytes()) . "</G>\r\n" .
136 ' <Y>' . Base64::encode($y->toBytes()) . "</Y>\r\n" .
/plugin/diagramsnet/lib/WEB-INF/lib/
H A Dcommons-codec-1.10.jar ... .codec.binary.BaseNCodec$Context context void encode (byte[], int, int, org ...
/plugin/supa/lib/
H A DSupa.jar ... .lang.Object { public abstract byte[] encode (java.awt.image.BufferedImage) throws ...
H A DSupa.jar.unsigned ... .lang.Object { public abstract byte[] encode (java.awt.image.BufferedImage) throws ...
/plugin/drawio/
H A Daction.php82 echo $json->encode($access_granted);
130 echo $json->encode(array("content" => "data:image/png;base64,".base64_encode($fc)));
139 echo $json->encode(array("content" => "data:image/svg+xml;base64,".base64_encode($fc)));
165 echo $json->encode(array("content" => "NaN"));
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
H A DPKCS1.php190 chunk_split(Base64::encode($key), 64) .
200 $iv = strtoupper(Hex::encode($iv));
205 chunk_split(Base64::encode($cipher->encrypt($key)), 64) .
220 chunk_split(Base64::encode($key), 64) .
/plugin/letsencrypt/
H A DLescript.php320 return trim(Base64UrlSafeEncoder::encode(base64_decode($matches[1])));
352 "n" => Base64UrlSafeEncoder::encode($details["rsa"]["n"]),
353 "e" => Base64UrlSafeEncoder::encode($details["rsa"]["e"]),
361 $payload64 = Base64UrlSafeEncoder::encode(str_replace('\\/', '/', json_encode($payload)));
362 $protected64 = Base64UrlSafeEncoder::encode(json_encode($protected));
366 $signed64 = Base64UrlSafeEncoder::encode($signed);
535 public static function encode($input) function in Analogic\\ACME\\Base64UrlSafeEncoder
/plugin/dtable/
H A Daction.php
/plugin/interwikipaste/
H A Daction.php45 $encode = (preg_match('/{URL|QUERY\\\}/', $url) === 1);
64 'encode' => $encode,
/plugin/siteexport/inc/
H A Dpdfgenerator.php162 $encode = '';
165 $encode .= chr((int)hexdec($email[$x+3] . $email[$x+4]));
167 return $encode;
/plugin/aichat/
H A DEmbeddings.php279 $chunkSize = count($this->getTokenEncoder()->encode($chunk->getText()));
337 $slen = count($tiktok->encode($sentence));
360 $chunklen = count($tiktok->encode($chunk));
381 while (count($encoder->encode(implode(' ', $this->sentenceQueue))) > self::MAX_OVERLAP_LEN) {
/plugin/encryptedpasswords/script/
H A DSubtleAES.js25 const cipher = await crypto.subtle.encrypt(alg, key, new TextEncoder().encode(plaintext));
132 const password = new TextEncoder().encode(strPassword);
162 const password = new TextEncoder().encode(strPassword);

12345678910>>...12