Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for 128 (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                int threadCount = 10;
                Thread[] threads = new Thread[threadCount];
                byte[][] dataArrays = new byte[threadCount][128];
    
                for (int i = 0; i < threadCount; i++) {
                    final int index = i;
                    dataArrays[i] = new byte[128];
                    Arrays.fill(dataArrays[i], (byte) i);
    
                    threads[i] = new Thread(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  2. README.md

    - **SMB 2.0.2**: Windows Vista+ (0x0202)
    - **SMB 2.1**: Windows 7/Server 2008R2 (0x0210)
    - **SMB 3.0**: Windows 8/Server 2012 (0x0300) - AES-128-CCM encryption
    - **SMB 3.0.2**: Windows 8.1/Server 2012R2 (0x0302) - Enhanced encryption
    - **SMB 3.1.1**: Windows 10/Server 2016+ (0x0311) - AES-128-GCM + Pre-Auth Integrity
    
    **Protocol Selection:**
    - Default Range: SMB1 to SMB 3.1.1
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

                assertEquals(0, new NdrShort(256).value); // 256 & 0xFF = 0
                assertEquals(255, new NdrShort(-1).value); // -1 & 0xFF = 255
                assertEquals(128, new NdrShort(-128).value); // -128 & 0xFF = 128
            }
    
            @Test
            @DisplayName("Should maintain value consistency after multiple constructions")
            void testValueConsistency() {
                // Given: Same input value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java

        assertThat(max((byte) 0, (byte) -128, (byte) -1, (byte) 127, (byte) 1)).isEqualTo((byte) 127);
      }
    
      public void testMin_noArgs() {
        assertThrows(IllegalArgumentException.class, () -> min());
      }
    
      public void testMin() {
        assertThat(min(LEAST)).isEqualTo(LEAST);
        assertThat(min(GREATEST)).isEqualTo(GREATEST);
        assertThat(min((byte) 0, (byte) -128, (byte) -1, (byte) 127, (byte) 1)).isEqualTo((byte) -128);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java

        /**
         * Context type
         */
        public static final int NEGO_CTX_ENC_TYPE = 0x2;
    
        /**
         * AES 128 CCM
         */
        public static final int CIPHER_AES128_CCM = 0x1;
    
        /**
         * AES 128 GCM
         */
        public static final int CIPHER_AES128_GCM = 0x2;
    
        /**
         * AES 256 CCM
         */
        public static final int CIPHER_AES256_CCM = 0x3;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

        assertThat(max((byte) 0, (byte) -128, (byte) -1, (byte) 127, (byte) 1)).isEqualTo((byte) 127);
      }
    
      public void testMin_noArgs() {
        assertThrows(IllegalArgumentException.class, () -> min());
      }
    
      public void testMin() {
        assertThat(min(LEAST)).isEqualTo(LEAST);
        assertThat(min(GREATEST)).isEqualTo(GREATEST);
        assertThat(min((byte) 0, (byte) -128, (byte) -1, (byte) 127, (byte) 1)).isEqualTo((byte) -128);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

            when(mock.getType()).thenReturn(1);
            when(mock.getAttributes()).thenReturn(128);
            when(mock.createTime()).thenReturn(1_500L);
            when(mock.lastModified()).thenReturn(1_800L);
            when(mock.length()).thenReturn(100L);
    
            assertEquals("test.txt", mock.getName());
            assertEquals(1, mock.getType());
            assertEquals(128, mock.getAttributes());
            assertEquals(1_500L, mock.createTime());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/PacSignature.java

        /**
         * Kerberos checksum type for HMAC-MD5 (ARCFOUR-HMAC).
         */
        public static final int KERB_CHECKSUM_HMAC_MD5 = 0xFFFFFF76;
        /**
         * Kerberos checksum type for HMAC-SHA1-96 with AES-128.
         */
        public static final int HMAC_SHA1_96_AES128 = 0x0000000F;
        /**
         * Kerberos checksum type for HMAC-SHA1-96 with AES-256.
         */
        public static final int HMAC_SHA1_96_AES256 = 0x00000010;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

        private final AtomicLong lastKeyRotationTime = new AtomicLong(0);
    
        /**
         * AES-128-CCM cipher identifier for SMB3 encryption
         */
        public static final int CIPHER_AES_128_CCM = EncryptionNegotiateContext.CIPHER_AES128_CCM;
        /**
         * AES-128-GCM cipher identifier for SMB3.1.1 encryption
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

        @Test
        @DisplayName("writeAndXWireFormat without andx writes 0xFF and sentinel offset")
        void testWriteAndXWireFormatWithoutAndx() {
            DummyAndXBlock block = new DummyAndXBlock();
            byte[] buf = new byte[128];
            int n = block.writeAndXWireFormat(buf, 0);
    
            assertTrue(n > 0);
            // Common AndX header: command at +1, reserved at +2, offset at +3/+4
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top