Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 944 for nBytes (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                buffer[bufferIndex + 2] = expectedOplockLevel;
    
                // Write reserved field (4 bytes at offset 4)
                bufferIndex += 4;
    
                // Write Reserved2 (4 bytes)
                bufferIndex += 4;
    
                // Write file ID (16 bytes)
                byte[] expectedFileId = createTestData(16);
                System.arraycopy(expectedFileId, 0, buffer, bufferIndex, 16);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            // Test readSecurityBuffer
            byte[] data = new byte[20];
            byte[] content = "Hello".getBytes();
    
            // Simulate a security buffer structure: length (2 bytes), length (2 bytes), offset (4 bytes)
            // Length = 5, Offset = 8
            ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN);
            buffer.putShort(0, (short) content.length); // Length
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

         * </p>
         *
         * @param bytes the byte array to deserialize
         * @return the deserialized object
         */
        protected Object deserializeWithKryo(final byte[] bytes) {
            final Kryo kryo = kryoThreadLocal.get();
            try (final Input input = new Input(new ByteArrayInputStream(bytes))) {
                return kryo.readClassAndObject(input);
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. cmd/metrics-v3-system-process.go

    	processIOReadBytesMD              = NewCounterMD(processIOReadBytes, "Total bytes read by the process from the underlying storage system, /proc/[pid]/io read_bytes")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. docs/debugging/inspect/export.go

    		b, e := io.ReadAll(r)
    		if e != nil {
    			return nil, e
    		}
    		b, _, minor, e := checkXL2V1(b)
    		if e != nil {
    			return nil, e
    		}
    
    		buf := bytes.NewBuffer(nil)
    		var data xlMetaInlineData
    		switch minor {
    		case 0:
    			_, e = msgp.CopyToJSON(buf, bytes.NewReader(b))
    			if e != nil {
    				return nil, e
    			}
    		case 1, 2:
    			v, b, e := msgp.ReadBytesZC(b)
    			if e != nil {
    				return nil, e
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 17 19:38:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. cmd/bucket-metadata.go

    	if err = objectKey.Unseal(extKey, sealedKey, crypto.S3.String(), bucket, ""); err != nil {
    		return nil, err
    	}
    
    	outbuf := bytes.NewBuffer(nil)
    	_, err = sio.Decrypt(outbuf, bytes.NewBuffer(input), sio.Config{Key: objectKey[:], MinVersion: sio.Version20})
    	return outbuf.Bytes(), err
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Nonces should have proper size
            assertEquals(16, nonce1.length, "GCM nonce should be 16 bytes");
            assertEquals(16, nonce2.length, "GCM nonce should be 16 bytes");
            assertEquals(16, nonce3.length, "GCM nonce should be 16 bytes");
    
            // For GCM, last 4 bytes should contain incrementing counter
            ByteBuffer buffer1 = ByteBuffer.wrap(nonce1, 12, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            int bytesWritten = notifyChange.writeSetupWireFormat(dst, dstIndex);
    
            // Should write 8 bytes total
            assertEquals(8, bytesWritten);
    
            // Verify completion filter (4 bytes)
            assertEquals(completionFilter, SMBUtil.readInt4(dst, dstIndex));
    
            // Verify FID (2 bytes)
            assertEquals(fid, SMBUtil.readInt2(dst, dstIndex + 4));
    
            // Verify watchTree flag (1 byte)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/Stats.java

       *     {@link ByteOrder#LITTLE_ENDIAN}, to which a BYTES-long byte representation of this instance
       *     is written. In the process increases the position of {@link ByteBuffer} by BYTES.
       */
      void writeTo(ByteBuffer buffer) {
        checkNotNull(buffer);
        checkArgument(
            buffer.remaining() >= BYTES,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

         * @param fid the file identifier
         * @param offset the file offset at which to write
         * @param remaining the number of bytes remaining to be written
         * @param b the data buffer containing bytes to write
         * @param off the offset in the buffer where data starts
         * @param len the number of bytes to write
         * @param andx the next command in the AndX chain, or null
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top