Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 182 for 0x15 (0.02 seconds)

  1. src/test/java/jcifs/smb/MIENameTest.java

                    // OID length claims more than available
                    Arguments.of("oid length exceeds buffer", new byte[] { 0x04, 0x01, 0x00, 0x10, 0x06 }, IllegalArgumentException.class),
    
                    // Missing NAME_LEN (not enough bytes for 4-byte length)
                    Arguments.of("missing NAME_LEN bytes", new byte[] { 0x04, 0x01, 0x00, (byte) der.length, der[0] },
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            when(mockFile2.length()).thenReturn(0L);
            when(mockFile2.lastModified()).thenReturn(2000L);
            when(mockFile2.isDirectory()).thenReturn(true);
            when(mockFile2.getAttributes()).thenReturn(0x10);
            when(mockFile2.createTime()).thenReturn(600L);
            when(mockFile2.lastAccess()).thenReturn(900L);
    
            // Update cache
            List<SmbFile> files = Arrays.asList(mockFile1, mockFile2);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        /**
         * SMB command to check if a directory exists.
         */
        public static final byte SMB_COM_CHECK_DIRECTORY = (byte) 0x10;
    
        /**
         * SMB command to seek within a file.
         */
        public static final byte SMB_COM_SEEK = (byte) 0x12;
    
        /**
         * SMB command for file locking operations.
         */
        public static final byte SMB_COM_LOCKING_ANDX = (byte) 0x24;
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        }
    
        @Test
        @DisplayName("Test constructor initialization with command and subcommand")
        void testConstructorWithCommandAndSubcommand() {
            byte command = (byte) 0x25;
            byte subcommand = (byte) 0x01;
            TestSmbComTransactionResponse resp = new TestSmbComTransactionResponse(mockConfig, command, subcommand);
            assertNotNull(resp);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            // Test common file attribute combinations
            int[] attributeFlags = { 0x01, // FILE_ATTRIBUTE_READONLY
                    0x02, // FILE_ATTRIBUTE_HIDDEN
                    0x04, // FILE_ATTRIBUTE_SYSTEM
                    0x10, // FILE_ATTRIBUTE_DIRECTORY
                    0x20, // FILE_ATTRIBUTE_ARCHIVE
                    0x80, // FILE_ATTRIBUTE_NORMAL
                    0x100, // FILE_ATTRIBUTE_TEMPORARY
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            assertEquals(0x02, Smb2QueryDirectoryRequest.SMB2_RETURN_SINGLE_ENTRY);
            assertEquals(0x04, Smb2QueryDirectoryRequest.SMB2_INDEX_SPECIFIED);
            assertEquals(0x10, Smb2QueryDirectoryRequest.SMB2_REOPEN);
        }
    
        @Test
        @DisplayName("Test with Unicode filename")
        void testUnicodeFileName() {
            request = new Smb2QueryDirectoryRequest(mockConfig);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/SMBSigningDigestTest.java

        private CommonServerMessageBlock message;
    
        private byte[] testData;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testData = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
        }
    
        @Test
        @DisplayName("Test sign method with valid parameters")
        void testSignWithValidParameters() {
            // Arrange
            int offset = 0;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            // Arrange: minimal valid fields + APPLICATION tag 3
            ASN1EncodableVector v = new ASN1EncodableVector();
            byte ap = (byte) 0x12;
            v.add(new DERTaggedObject(true, 0, new ASN1Integer(Integer.parseInt(KerberosConstants.KERBEROS_VERSION))));
            v.add(new DERTaggedObject(true, 1, new ASN1Integer(Integer.parseInt(KerberosConstants.KERBEROS_AP_REQ))));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SecurityBlobTest.java

            return Stream.of(Arguments.of(new byte[] {}, ""), Arguments.of(new byte[] { (byte) 0x00 }, "00"),
                    Arguments.of(new byte[] { (byte) 0x0F }, "0f"), Arguments.of(new byte[] { (byte) 0x10 }, "10"),
                    Arguments.of(new byte[] { (byte) 0xAB }, "ab"),
                    Arguments.of(new byte[] { (byte) 0x7F, (byte) 0x80, (byte) 0xFF }, "7f80ff"));
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  10. cmd/erasure-server-pool-decom_gen.go

    	// map header, size 3
    	// string "Free"
    	o = append(o, 0x83, 0xa4, 0x46, 0x72, 0x65, 0x65)
    	o = msgp.AppendInt64(o, z.Free)
    	// string "Total"
    	o = append(o, 0xa5, 0x54, 0x6f, 0x74, 0x61, 0x6c)
    	o = msgp.AppendInt64(o, z.Total)
    	// string "Used"
    	o = append(o, 0xa4, 0x55, 0x73, 0x65, 0x64)
    	o = msgp.AppendInt64(o, z.Used)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.7K bytes
    - Click Count (0)
Back to Top