Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for 0x2 (0.07 sec)

  1. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                TestNegotiateContextRequest request2 = new TestNegotiateContextRequest(0x2);
                TestNegotiateContextRequest request3 = new TestNegotiateContextRequest(Integer.MAX_VALUE);
    
                assertEquals(0x1, request1.getContextType());
                assertEquals(0x2, request2.getContextType());
                assertEquals(Integer.MAX_VALUE, request3.getContextType());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        @DisplayName("Should return correct share type constants")
        void testShareTypeConstants() {
            // Then
            assertEquals((byte) 0x1, Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK);
            assertEquals((byte) 0x2, Smb2TreeConnectResponse.SMB2_SHARE_TYPE_PIPE);
            assertEquals((byte) 0x3, Smb2TreeConnectResponse.SMB2_SHARE_TYPE_PRINT);
        }
    
        @Test
        @DisplayName("Should return correct share flag constants")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

            @Test
            @DisplayName("Should have correct constant values")
            void testConstantValues() {
                assertEquals(0x2, EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE);
                assertEquals(0x1, EncryptionNegotiateContext.CIPHER_AES128_CCM);
                assertEquals(0x2, EncryptionNegotiateContext.CIPHER_AES128_GCM);
            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        /**
         * Impersonation level - server can impersonate the client's security context on the local system
         */
        public static final int SMB2_IMPERSONATION_LEVEL_IMPERSONATION = 0x2;
    
        /**
         * Delegate impersonation level - server can impersonate the client's security context on remote systems
         */
        public static final int SMB2_IMPERSONATION_LEVEL_DELEGATE = 0x3;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            assertEquals(0x2, Smb2CreateRequest.SMB2_IMPERSONATION_LEVEL_IMPERSONATION);
            assertEquals(0x3, Smb2CreateRequest.SMB2_IMPERSONATION_LEVEL_DELEGATE);
        }
    
        @Test
        @DisplayName("Test file share constants")
        void testFileShareConstants() {
            assertEquals(0x1, Smb2CreateRequest.FILE_SHARE_READ);
            assertEquals(0x2, Smb2CreateRequest.FILE_SHARE_WRITE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            }
    
            @Test
            @DisplayName("Leasing capability should be 0x2")
            void testGlobalCapLeasing() {
                assertEquals(0x2, Smb2Constants.SMB2_GLOBAL_CAP_LEASING, "Leasing capability must be 0x2");
            }
    
            @Test
            @DisplayName("Large MTU capability should be 0x4")
            void testGlobalCapLargeMtu() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2_test.go

    	data := []byte{0x58, 0x4c, 0x32, 0x20, 0x1, 0x0, 0x3, 0x0, 0xc6, 0x0, 0x0, 0x3, 0xe8, 0x2, 0x1, 0x3, 0xc4, 0x24, 0x95, 0xc4, 0x10, 0x6a, 0x33, 0x51, 0xe3, 0x48, 0x0, 0x4e, 0xed, 0xab, 0x9, 0x21, 0xeb, 0x83, 0x5a, 0xc6, 0x45, 0xd3, 0x17, 0x21, 0xe7, 0xa1, 0x98, 0x52, 0x88, 0xc, 0xc4, 0x4, 0xfe, 0x54, 0xbc, 0x2f, 0x2, 0x0, 0xc4, 0xd5, 0x83, 0xa4, 0x54, 0x79, 0x70, 0x65, 0x2, 0xa6, 0x44, 0x65, 0x6c, 0x4f, 0x62, 0x6a, 0x83, 0xa2, 0x49, 0x44, 0xc4, 0x10, 0x6a, 0x33, 0x51, 0xe3, 0x48,...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            for (int i = 0; i < fileId.length; i++)
                fileId[i] = (byte) (i + 1);
    
            byte[] header = buildSmb2Header();
            byte[] body = buildCreateBodyNoContexts((byte) 0x7, (byte) 0x2, 0x11223344, 1111L, 2222L, 3333L, 4444L, 123456789L, 987654321L,
                    0xA5A5A5A5, fileId);
            byte[] packet = buildPacket(header, body, null, null);
    
            int read = resp.decode(packet, 0, false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

          0x1ff9,
          0x15,
          0xf8,
          0x7fa,
          0x3fa,
          0x3fb,
          0xf9,
          0x7fb,
          0xfa,
          0x16,
          0x17,
          0x18,
          0x0,
          0x1,
          0x2,
          0x19,
          0x1a,
          0x1b,
          0x1c,
          0x1d,
          0x1e,
          0x1f,
          0x5c,
          0xfb,
          0x7ffc,
          0x20,
          0xffb,
          0x3fc,
          0x1ffa,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            }
    
            @Test
            @DisplayName("Should have correct exclusive lock flag value")
            void testExclusiveLockFlag() {
                assertEquals(0x2, Smb2Lock.SMB2_LOCKFLAG_EXCLUSIVE_LOCK);
            }
    
            @Test
            @DisplayName("Should have correct unlock flag value")
            void testUnlockFlag() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top