Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for bb (0.02 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                bb.putShort((short) 3); // version
                bb.putShort((short) 34); // size
                bb.putShort((short) 1); // serverType
                bb.putShort((short) 2); // rflags
                bb.putShort((short) 10); // proximity
                bb.putShort((short) 300); // ttl
                bb.putShort((short) 20); // pathOffset
                bb.putShort((short) 24); // altPathOffset
                bb.putShort((short) 28); // nodeOffset
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dfs/ReferralTest.java

            ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
            bb.putShort((short) 3);
            bb.putShort((short) 34);
            bb.putShort((short) 1);
            bb.putShort((short) 0);
            bb.putShort((short) 5);
            bb.putShort((short) 300);
            bb.putShort((short) 22);
            bb.putShort((short) 24);
            bb.putShort((short) 26);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                // Verify encoded data
                ByteBuffer bb = ByteBuffer.wrap(dst).order(ByteOrder.LITTLE_ENDIAN);
                assertEquals(maxReferralLevel, bb.getShort());
    
                // Verify path encoding (UTF-16LE)
                byte[] pathBytes = path.getBytes(StandardCharsets.UTF_16LE);
                byte[] encodedPath = new byte[pathBytes.length];
                bb.get(encodedPath);
                assertArrayEquals(pathBytes, encodedPath);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

            ByteBuffer bb = ByteBuffer.wrap(buffer).order(ByteOrder.LITTLE_ENDIAN);
    
            // Next field (4 bytes) - offset to next entry (0 for last entry)
            bb.putInt(0);
    
            // InterfaceIndex (4 bytes)
            bb.putInt(interfaceIndex);
    
            // Capability (4 bytes)
            bb.putInt(capability);
    
            // Reserved (4 bytes) - must be 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        assertTrue(Arrays.equals(expectedHashCode.bytes, hash.asBytes()));
        byte[] bb = new byte[hash.bits() / 8];
        hash.writeBytesTo(bb, 0, bb.length);
        assertTrue(Arrays.equals(expectedHashCode.bytes, bb));
        assertEquals(expectedHashCode.asInt, hash.asInt());
        if (expectedHashCode.asLong == null) {
          try {
            hash.asLong();
            fail();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/HashCodeTest.java

        assertTrue(Arrays.equals(expectedHashCode.bytes, hash.asBytes()));
        byte[] bb = new byte[hash.bits() / 8];
        hash.writeBytesTo(bb, 0, bb.length);
        assertTrue(Arrays.equals(expectedHashCode.bytes, bb));
        assertEquals(expectedHashCode.asInt, hash.asInt());
        if (expectedHashCode.asLong == null) {
          try {
            hash.asLong();
            fail();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                // Given - larger buffer than needed
                byte[] buffer = new byte[100];
                ByteBuffer bb = ByteBuffer.wrap(buffer).order(ByteOrder.LITTLE_ENDIAN);
                bb.putLong(1000L);
                bb.putLong(500L);
                bb.putLong(500L);
                bb.putInt(8);
                bb.putInt(512);
    
                // When
                int bytesConsumed = fileFsFullSizeInfo.decode(buffer, 0, buffer.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                // Given - larger buffer than needed
                byte[] buffer = new byte[100];
                ByteBuffer bb = ByteBuffer.wrap(buffer).order(ByteOrder.LITTLE_ENDIAN);
                bb.putLong(1000L);
                bb.putLong(500L);
                bb.putInt(8);
                bb.putInt(512);
    
                // When
                int bytesConsumed = fileFsSizeInfo.decode(buffer, 0, buffer.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

            crc0 ^= bb.getInt();
            crc1 ^= bb.getInt();
            crc2 ^= bb.getInt();
            crc3 ^= bb.getInt();
          }
        }
    
        @Override
        protected void processRemaining(ByteBuffer bb) {
          if (finished) {
            return;
          }
          crc0 = combine(0, crc0);
          crc0 = combine(crc0, crc1);
          crc0 = combine(crc0, crc2);
          crc0 = combine(crc0, crc3);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. src/bytes/buffer_test.go

    			b.ReportAllocs()
    			for i := 0; i < b.N; i++ {
    				var bb Buffer
    				for bb.Len() < n {
    					bb.Write(block)
    				}
    			}
    		})
    	}
    }
    
    func BenchmarkBufferAppendNoCopy(b *testing.B) {
    	var bb Buffer
    	bb.Grow(16 << 20)
    	b.SetBytes(int64(bb.Available()))
    	b.ReportAllocs()
    	for i := 0; i < b.N; i++ {
    		bb.Reset()
    		b := bb.AvailableBuffer()
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 16:13:04 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top