Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 324 for 0x02 (0.05 seconds)

  1. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                    // NTLM2 Session Response
    
                    final byte[] clientChallenge = new byte[24];
                    RANDOM.nextBytes(clientChallenge);
                    java.util.Arrays.fill(clientChallenge, 8, 24, (byte) 0x00);
    
                    // NTLMv1 w/ NTLM2 session sec and key exch all been verified with a debug build of smbclient
    
                    final byte[] responseKeyNT = NtlmPasswordAuthentication.nTOWFv1(password);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            assertArrayEquals(expectedBytes, actualBytes);
    
            // Verify it's actually UTF-16LE (each ASCII char should be followed by 0x00)
            int pathStart = Smb2Constants.SMB2_HEADER_LENGTH + 8;
            for (int i = 0; i < testPath.length(); i++) {
                char c = testPath.charAt(i);
                if (c < 128) { // ASCII character
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(asList("a", "b", "c", "d"), list);
        b.set(0, "f");
        assertEquals(asList("a", "b", "c", "d"), list);
      }
    
      public void testComplexBuilder() {
        List<Integer> colorElem = asList(0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF);
        ImmutableList.Builder<Integer> webSafeColorsBuilder = ImmutableList.builder();
        for (Integer red : colorElem) {
          for (Integer green : colorElem) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertTrue(request instanceof jcifs.internal.smb2.RequestWithFileId);
    
            // Test interface method
            byte[] newFileId = new byte[16];
            Arrays.fill(newFileId, (byte) 0x42);
    
            ((jcifs.internal.smb2.RequestWithFileId) request).setFileId(newFileId);
    
            // Verify it was set correctly by writing to wire format
            byte[] buffer = new byte[256];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            rpc.policy_handle mockHandle = mock(rpc.policy_handle.class);
            lsarpc.LsarClose lsarClose = new lsarpc.LsarClose(mockHandle);
    
            assertEquals(mockHandle, lsarClose.handle);
            assertEquals(0x00, lsarClose.getOpnum());
        }
    
        @Test
        void testLsarCloseEncodeIn() throws NdrException {
            rpc.policy_handle mockHandle = mock(rpc.policy_handle.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 60.8K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(asList("a", "b", "c", "d"), list);
        b.set(0, "f");
        assertEquals(asList("a", "b", "c", "d"), list);
      }
    
      public void testComplexBuilder() {
        List<Integer> colorElem = asList(0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF);
        ImmutableList.Builder<Integer> webSafeColorsBuilder = ImmutableList.builder();
        for (Integer red : colorElem) {
          for (Integer green : colorElem) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        assertThat(set).containsExactly("a", "b", "c", "d", "e").inOrder();
      }
    
      static final int LAST_COLOR_ADDED = 0x00BFFF;
    
      public void testComplexBuilder() {
        List<Integer> colorElem = asList(0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF);
        // javac won't compile this without "this.<Integer>"
        ImmutableSet.Builder<Integer> webSafeColorsBuilder = this.<Integer>builder();
        for (Integer red : colorElem) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 18.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                if (msg.startsWith("NTLM ")) {
                    byte[] challenge;
    
                    if (pathInfo == null || server == null) {
                        final String mb = NbtAddress.getByName(NbtAddress.MASTER_BROWSER_NAME, 0x01, null).getHostAddress();
                        dc = UniAddress.getByName(mb);
                    } else {
                        dc = UniAddress.getByName(server, possibleWorkgroup);
                    }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                // When: Creating close handle message
                samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle);
    
                // Then: Should have correct opnum and handle
                assertEquals(0x01, message.getOpnum());
                assertEquals(mockPolicyHandle, message.handle);
            }
    
            @Test
            @DisplayName("Should encode input parameters correctly")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                        }
                    } else if (host.length() == 0) {
                        try {
                            final Address addr = this.ctx.getNameServiceClient().getNbtByName(NbtAddress.MASTER_BROWSER_NAME, 0x01, null);
                            this.addresses = new UniAddress[1];
                            this.addresses[0] = this.ctx.getNameServiceClient().getByName(addr.getHostAddress());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 23.6K bytes
    - Click Count (0)
Back to Top