Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 859 for 0bytes (0.06 sec)

  1. src/test/java/jcifs/util/ByteEncodableTest.java

            // Verify content
            assertArrayEquals(new byte[] { (byte) 0xFF, 0x01, 0x02, 0x03, 0x00 }, dest, "Encoded bytes should be placed at the correct offset");
        }
    
        @Test
        void testEncodeZeroLength() {
            // Test encoding with zero length
            byte[] data = { 0x01, 0x02, 0x03 };
            ByteEncodable encodable = new ByteEncodable(data, 0, 0);
            byte[] dest = new byte[3];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/bytes/iter.go

    // bytes of sep to include in the results (none or all).
    func splitSeq(s, sep []byte, sepSave int) iter.Seq[[]byte] {
    	return func(yield func([]byte) bool) {
    		if len(sep) == 0 {
    			for len(s) > 0 {
    				_, size := utf8.DecodeRune(s)
    				if !yield(s[:size:size]) {
    					return
    				}
    				s = s[size:]
    			}
    			return
    		}
    		for {
    			i := Index(s, sep)
    			if i < 0 {
    				break
    			}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/PathValidator.java

            }
    
            // Check for null bytes
            if (NULL_BYTE.matcher(path).find()) {
                log.warn("Path contains null bytes: {}", sanitizeForLog(path));
                throw new SmbException("Path contains null bytes");
            }
    
            // Check for control characters
            if (strictMode && CONTROL_CHARS.matcher(path).find()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. cmd/bitrot-streaming.go

    	if err != nil {
    		return 0, err
    	}
    	b.h.Write(buf)
    	if !bytes.Equal(b.h.Sum(nil), b.hashBytes) {
    		return 0, errFileCorrupt
    	}
    	b.currOffset += int64(len(buf))
    	return len(buf), nil
    }
    
    // Returns streaming bitrot reader implementation.
    func newStreamingBitrotReader(disk StorageAPI, data []byte, volume, filePath string, tillOffset int64, algo BitrotAlgorithm, shardSize int64) *streamingBitrotReader {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 17 19:19:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/transport/Transport.java

        static LogStream log = LogStream.getInstance();
    
        /**
         * Reads exactly len bytes from the input stream into the buffer.
         *
         * @param in the input stream to read from
         * @param b the buffer to read into
         * @param off the offset in the buffer to start writing
         * @param len the number of bytes to read
         * @return the number of bytes actually read
         * @throws IOException if an I/O error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/extra-data-types.md

        * リクエストとレスポンスでは`set`と同じように扱われます:
            * リクエストでは、リストが読み込まれ、重複を排除して`set`に変換されます。
            * レスポンスでは`set`が`list`に変換されます。
            * 生成されたスキーマは`set`の値が一意であることを指定します(JSON Schemaの`uniqueItems`を使用します)。
    * `bytes`:
        * Pythonの標準的な`bytes`です。
        * リクエストとレスポンスでは`str`として扱われます。
        * 生成されたスキーマは`str`で`binary`の「フォーマット」持つことを指定します。
    * `Decimal`:
        * Pythonの標準的な`Decimal`です。
        * リクエストやレスポンスでは`float`と同じように扱います。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. docs/es/docs/advanced/security/http-basic-auth.md

    `secrets.compare_digest()` necesita tomar `bytes` o un `str` que solo contenga caracteres ASCII (los carácteres en inglés), esto significa que no funcionaría con caracteres como `á`, como en `Sebastián`.
    
    Para manejar eso, primero convertimos el `username` y `password` a `bytes` codificándolos con UTF-8.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/security/http-basic-auth.md

    `secrets.compare_digest()` benötigt `bytes` oder einen `str`, welcher nur ASCII-Zeichen (solche der englischen Sprache) enthalten darf, das bedeutet, dass es nicht mit Zeichen wie `á`, wie in `Sebastián`, funktionieren würde.
    
    Um dies zu lösen, konvertieren wir zunächst den `username` und das `password` in UTF-8-codierte `bytes`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Oct 27 15:25:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/archive/zip/struct.go

    	//
    	// Deprecated: Use UncompressedSize64 instead.
    	UncompressedSize uint32
    
    	// CompressedSize64 is the compressed size of the file in bytes.
    	CompressedSize64 uint64
    
    	// UncompressedSize64 is the uncompressed size of the file in bytes.
    	UncompressedSize64 uint64
    
    	Extra         []byte
    	ExternalAttrs uint32 // Meaning depends on CreatorVersion
    }
    
    // FileInfo returns an fs.FileInfo for the [FileHeader].
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals((byte) 0xEF, buffer[0]); // Little-endian
            assertEquals((byte) 0xCD, buffer[1]);
            assertEquals((byte) 0xAB, buffer[2]);
            assertEquals((byte) 0x89, buffer[3]);
            assertEquals((byte) 0x67, buffer[4]);
            assertEquals((byte) 0x45, buffer[5]);
            assertEquals((byte) 0x23, buffer[6]);
            assertEquals((byte) 0x01, buffer[7]);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top