Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 331 for 0x02 (0.92 sec)

  1. 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];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbRandomAccessFile.java

        @Override
        public final boolean readBoolean() throws SmbException {
            if (read(this.tmp, 0, 1) < 0) {
                throw new SmbEndOfFileException();
            }
            return this.tmp[0] != (byte) 0x00;
        }
    
        @Override
        public final byte readByte() throws SmbException {
            if (read(this.tmp, 0, 1) < 0) {
                throw new SmbEndOfFileException();
            }
            return this.tmp[0];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NetworkExplorer.java

                    if (pathInfo == null || server == null) {
                        final String mb = nameServiceClient.getNbtByName(NbtAddress.MASTER_BROWSER_NAME, 0x01, null).getHostAddress();
                        dc = nameServiceClient.getByName(mb);
                    } else {
                        dc = nameServiceClient.getByName(server, possibleWorkgroup);
                    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  4. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  5. 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());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/samr.java

         * This operation releases resources associated with the handle.
         */
        public static class SamrCloseHandle extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
                return 0x01;
            }
    
            /** The return value of the operation */
            public int retval;
            /** The handle to be closed */
            public rpc.policy_handle handle;
    
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

         * This operation releases resources associated with the handle.
         */
        public static class SamrCloseHandle extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
                return 0x01;
            }
    
            /** The return value of the operation */
            public int retval;
            /** The handle to be closed */
            public rpc.policy_handle handle;
    
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  8. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  9. 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) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  10. 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) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top