Home
last modified time | relevance | path

Searched refs:bytes (Results 1 - 11 of 11) sorted by relevance

/dokuwiki/vendor/splitbrain/php-archive/src/
H A DTar.php333 * consists of two 512 blocks of zero bytes"
415 * @param int $length bytes to read
434 * @return int number of bytes written
459 * @param int $bytes seek to this position
461 protected function skipbytes($bytes)
464 @gzseek($this->fh, $bytes, SEEK_CUR);
468 while($bytes) {
469 $toread = min(8192, $bytes);
471 $bytes -= $toread;
474 @fseek($this->fh, $bytes, SEEK_CU
[all...]
H A DZip.php461 $bytes = 0x00000000; variable
465 $bytes = (($bytes << 8) & 0xFFFFFFFF) | ord($byte); variable
466 if ($bytes == 0x504b0506) {
696 * @return int number of bytes written
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DIRI.php474 // Now replace any bytes that aren't allowed with their pct-encoded versions
592 * Removes sequences of percent encoded bytes that represent UTF-8
602 $bytes = explode('%', $match[0]); variable
605 // there are no bytes remaining in the current sequence (unsurprising
611 for ($i = 1, $len = count($bytes); $i < $len; $i++)
613 $value = hexdec($bytes[$i]);
704 $string .= '%' . strtoupper($bytes[$j]);
711 $string .= chr(hexdec($bytes[$j]));
717 // If we have any bytes left over they are invalid (i.e., we are
723 $string .= '%' . strtoupper($bytes[
[all...]
/dokuwiki/inc/HTTP/
H A DHTTPClient.php604 * Reads up to a given number of bytes or throws an exception if the
608 * @param int $nbytes Number of bytes to read
625 sprintf('Timeout while reading %s after %d bytes (%.3fs)', $message,
644 $bytes = fread($socket, $to_read); variable
645 if($bytes === false)
647 $r_data .= $bytes;
648 $to_read -= strlen($bytes);
/dokuwiki/lib/scripts/
H A Dfileuploader.js463 _formatSize: function(bytes){
466 bytes = bytes / 1024;
468 } while (bytes > 99);
470 return Math.max(bytes, 0.1).toFixed(1) + ['kB', 'MB', 'GB', 'TB', 'PB', 'EB'][i];
1125 // current loaded size in bytes for each file
1165 * Returns uploaded bytes for file identified by id
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBigInteger.php312 case 8: // use 64-bit integers if int size is 8 bytes
321 //case 4: // use 64-bit floats if int size is 4 bytes
542 $bytes = $temp->toBytes(); variable
544 if (!strlen($bytes)) { // eg. if the number we're trying to convert is -1
545 $bytes = chr(0); variable
548 if ($this->precision <= 0 && (ord($bytes[0]) & 0x80)) {
549 $bytes = chr(0) . $bytes; variable
552 return $comparison < 0 ? ~$bytes : $bytes;
[all...]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DBase.php276 * $buffer bytes > $cfb_init_len than
561 * If the key not fits the length(s) of the cipher it will paded with null bytes
565 * If the key is not explicitly set, it'll be assumed to be all null bytes.
673 * $plaintext will be padded with additional bytes such that it's length is a multiple of the block size. Other cipher
1016 * If strlen($ciphertext) is not a multiple of the block size, null bytes will be added to the end of the string until
1520 * where "packets" are padded with random bytes before being encrypted. Unpad these packets and you risk stripping
1521 * away characters that shouldn't be stripped away. (SSH knows how many bytes are added because the length is
1890 * $this->block_size - (strlen($text) % $this->block_size) bytes are added, each of which is equal to
2642 * Generates a digest from $bytes
2646 * @param string $bytes
[all...]
H A DRSA.php2024 $bytes = $bits >> 3; variable
2025 $min = str_repeat(chr(0), $bytes);
2026 $max = str_repeat(chr(0xFF), $bytes);
/dokuwiki/inc/
H A Dcommon.php1203 * and gives the range of the section in bytes - no
1911 * function just assumes $bytes of already allocated memory
1916 * @param int $mem Size of memory you want to allocate in bytes
1917 * @param int $bytes already allocated memory (see above)
1920 function is_mem_available($mem, $bytes = 1048576) {
1925 // parse limit to bytes
1932 $used = $bytes;
H A Dmedia.php626 $bytes = fread($fh, 256); variable
628 if(preg_match('/<(script|a|img|html|body|iframe)[\s>]/i',$bytes)){
1721 * @returns int size in bytes
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
H A DASN1.php270 // technically, the long form of the length can be represented by up to 126 octets (bytes), but we'll only
1024 $bytes = explode(' ', rtrim(chunk_split($bits, 8, ' '))); variable
1025 foreach ($bytes as $byte) {

Completed in 34 milliseconds