Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 665 for 16 (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

            dstIndex += 4;
    
            // Padding to align data to 8-byte boundary
            dstIndex += 4;
    
            // Write lease V1 data (32 bytes total)
            leaseKey.encode(dst, dstIndex); // LeaseKey (16 bytes)
            dstIndex += 16;
    
            SMBUtil.writeInt4(leaseState, dst, dstIndex); // LeaseState (4 bytes)
            dstIndex += 4;
    
            SMBUtil.writeInt4(leaseFlags, dst, dstIndex); // LeaseFlags (4 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThrows(IllegalStateException.class, () -> builder.maximumSize(16));
      }
    
      @GwtIncompatible // maximumWeight
      public void testMaximumSize_andWeight() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().maximumSize(16);
        assertThrows(IllegalStateException.class, () -> builder.maximumWeight(16));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThrows(IllegalStateException.class, () -> builder.maximumSize(16));
      }
    
      @GwtIncompatible // maximumWeight
      public void testMaximumSize_andWeight() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().maximumSize(16);
        assertThrows(IllegalStateException.class, () -> builder.maximumWeight(16));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  4. cmd/erasure-metadata-utils_test.go

    	}
    
    	// Tests hashing order to be consistent.
    	for i, testCase := range testCases {
    		hashedOrder := hashOrder(testCase.objectName, 16)
    		if !reflect.DeepEqual(testCase.hashedOrder, hashedOrder) {
    			t.Errorf("Test case %d: Expected \"%v\" but failed \"%v\"", i+1, testCase.hashedOrder, hashedOrder)
    		}
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

            dstIndex += 4;
            SMBUtil.writeInt8(this.offset, dst, dstIndex);
            dstIndex += 8;
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
            SMBUtil.writeInt4(this.channel, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.remainingBytes, dst, dstIndex);
            dstIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            // DACL offset
            if (includeDacl) {
                SMBUtil.writeInt4(currentOffset, buffer, offset + 16);
                prepareDaclHeader(buffer, offset + currentOffset, 0);
            } else {
                SMBUtil.writeInt4(0, buffer, offset + 16);
            }
        }
    
        private void prepareSecurityDescriptorBufferWithDACL(byte[] buffer, int offset, int aceCount) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            when(resp.isReceived()).thenReturn(true);
            when(resp.getErrorCode()).thenReturn(0);
            when(resp.getNotifyInformation()).thenReturn(info);
            setupSmb2(resp, new byte[16]);
            SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0x1234, true);
    
            List<FileNotifyInformation> result = sut.watch();
    
            assertSame(info, result, "Should return response notify information");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            case CIPHER_AES_128_CCM, CIPHER_AES_128_GCM -> 16; // AES-128 ciphers use 16-byte keys
            case CIPHER_AES_256_CCM, CIPHER_AES_256_GCM -> 32; // AES-256 ciphers use 32-byte keys
            default -> throw new IllegalArgumentException("Unsupported cipher: " + this.cipherId);
            };
        }
    
        private int getAuthTagLength() {
            return 16; // All SMB3 ciphers use 16-byte authentication tags
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

      when {
        isMappedIpv4Address(address) -> address.sliceArray(12 until 16)
        else -> address
      }
    
    /** Returns true for IPv6 addresses like `0000:0000:0000:0000:0000:ffff:XXXX:XXXX`. */
    private fun isMappedIpv4Address(address: ByteArray): Boolean {
      if (address.size != 16) return false
    
      for (i in 0 until 10) {
        if (address[i] != 0.toByte()) return false
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/persistent/HandleGuidTest.java

        public void testHandleGuidGeneration() {
            HandleGuid guid1 = new HandleGuid();
            HandleGuid guid2 = new HandleGuid();
    
            assertNotEquals(guid1, guid2);
            assertEquals(16, guid1.toBytes().length);
            assertEquals(16, guid2.toBytes().length);
        }
    
        @Test
        public void testHandleGuidRoundTrip() {
            HandleGuid original = new HandleGuid();
            byte[] bytes = original.toBytes();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top