Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 166 for 0x1d (0.04 sec)

  1. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

                    + (isTruncated ? 0x02 : 0x00) + (isRecurDesired ? 0x01 : 0x00));
            dst[dstIndex + OPCODE_OFFSET + 1] = (byte) ((isRecurAvailable ? 0x80 : 0x00) + (isBroadcast ? 0x10 : 0x00) + (resultCode & 0x0F));
            writeInt2(questionCount, dst, start + QUESTION_OFFSET);
            writeInt2(answerCount, dst, start + ANSWER_OFFSET);
            writeInt2(authorityCount, dst, start + AUTHORITY_OFFSET);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NameServicePacket.java

            dst[dstIndex + OPCODE_OFFSET + 1] =
                    (byte) ((this.isRecurAvailable ? 0x80 : 0x00) + (this.isBroadcast ? 0x10 : 0x00) + (this.resultCode & 0x0F));
            writeInt2(this.questionCount, dst, start + QUESTION_OFFSET);
            writeInt2(this.answerCount, dst, start + ANSWER_OFFSET);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/Smb2Constants.java

         */
        public static final int SMB2_GLOBAL_CAP_MULTI_CHANNEL = 0x8;
    
        /**
         * Server supports persistent handles
         */
        public static final int SMB2_GLOBAL_CAP_PERSISTENT_HANDLES = 0x10;
    
        /**
         * Server supports directory leasing
         */
        public static final int SMB2_GLOBAL_CAP_DIRECTORY_LEASING = 0x20;
    
        /**
         * Server supports SMB3 encryption
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            // Act
            pipe.customizeCreate(req, resp);
    
            // Assert: verify interactions with dependencies
            verify(req, times(1)).addFlags0(0x16);
            verify(resp, times(1)).setExtended(true);
            verify(resp, never()).setExtended(false);
        }
    
        @Test
        @DisplayName("openPipe returns a handle bound to this pipe")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

            @Test
            @DisplayName("Various byte values are converted to uppercase hex")
            void testHexConversion() {
                byte[] challenge = new byte[] { (byte) 0x00, (byte) 0x0F, (byte) 0x10, (byte) 0x7F, (byte) 0x80, (byte) 0xFF };
                UniAddress dc = mock(UniAddress.class);
                when(dc.toString()).thenReturn("DC");
    
                NtlmChallenge nc = new NtlmChallenge(challenge, dc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

        }
    
        static Stream<Arguments> validParams() {
            // fid 0x1234, lastWriteTime 0 -> UTime all 0xFF
            return Stream.of(Arguments.of(0x1234, 0L, new byte[] { 0x34, 0x12, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }),
                    // negative fid wraps around, lastWriteTime = 1000 -> 1 second -> int value 1
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            when(mockFile2.lastModified()).thenReturn(System.currentTimeMillis() - 1800000);
            when(mockFile2.isDirectory()).thenReturn(true);
            when(mockFile2.getAttributes()).thenReturn(0x10); // FILE_ATTRIBUTE_DIRECTORY
            when(mockFile2.createTime()).thenReturn(System.currentTimeMillis() - 7200000);
            when(mockFile2.lastAccess()).thenReturn(System.currentTimeMillis() - 900000);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      public void test15ByteStringFromSipHashPaper() {
        byte[] message =
            new byte[] {
              0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e
            };
        long k0 = 0x0706050403020100L;
        long k1 = 0x0f0e0d0c0b0a0908L;
    
        assertEquals(0xa129ca6149be45e5L, Hashing.sipHash24(k0, k1).hashBytes(message).asLong());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

        static final int FLAGS_CLOSE_IF_END_REACHED = 0x02;
        static final int FLAGS_RETURN_RESUME_KEYS = 0x04;
        static final int FLAGS_RESUME_FROM_PREVIOUS_END = 0x08;
        static final int FLAGS_FIND_WITH_BACKUP_INTENT = 0x10;
    
        private final int searchAttributes;
        private final int tflags;
        private final int informationLevel;
        private final int searchStorageType = 0;
        private final int maxItems;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            buffer[4] = 0x01; // end of search = true
            buffer[5] = 0x00;
            // eaErrorOffset (2 bytes)
            buffer[6] = 0x00;
            buffer[7] = 0x00;
            // lastNameOffset (2 bytes)
            buffer[8] = 0x10;
            buffer[9] = 0x00;
    
            int result = response.readParametersWireFormat(buffer, 0, 10);
    
            // Should read 10 bytes
            assertEquals(10, result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top