Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 203 for 0102 (0.33 sec)

  1. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

        private LeaseV1CreateContextRequest leaseContext;
        private Smb2LeaseKey testKey;
        private int testState;
    
        @BeforeEach
        void setUp() {
            byte[] keyBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
            testKey = new Smb2LeaseKey(keyBytes);
            testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

        @Test
        @DisplayName("Test all file information class constants")
        void testFileInformationClassConstants() {
            assertEquals(0x01, Smb2QueryDirectoryRequest.FILE_DIRECTORY_INFO);
            assertEquals(0x02, Smb2QueryDirectoryRequest.FILE_FULL_DIRECTORY_INFO);
            assertEquals(0x03, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO);
            assertEquals(0x0C, Smb2QueryDirectoryRequest.FILE_NAMES_INFO);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

        @Test
        public void testMultipleWrites() throws IOException {
            // Multiple write calls should accumulate
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2 });
            assertTrue(cos.isInMemory());
            cos.write(new byte[] { 3, 4 });
            assertTrue(cos.isInMemory());
            cos.write(new byte[] { 5 });
            assertTrue(cos.isInMemory());
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Wed Nov 12 14:01:04 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponseTest.java

            String[][] readings = new String[1][];
            readings[0] = new String[] { "word1" };
            items.add(new SuggestItem(new String[] { "word1" }, readings, new String[] { "content" }, 0, 10, -1, new String[] { "tag1" },
                    new String[] { SuggestConstants.DEFAULT_ROLE }, null, SuggestItem.Kind.QUERY));
    
            PopularWordsResponse response = new PopularWordsResponse("test-index", 100, words, 10, items);
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

            }
            server.securityMode = buffer[bufferIndex] & 0xFF;
            bufferIndex++;
            server.security = server.securityMode & 0x01;
            server.encryptedPasswords = (server.securityMode & 0x02) == 0x02;
            server.signaturesEnabled = (server.securityMode & 0x04) == 0x04;
            server.signaturesRequired = (server.securityMode & 0x08) == 0x08;
            server.maxMpxCount = readInt2(buffer, bufferIndex);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            byte[] buffer = new byte[10];
    
            // Act
            int bytesRead = trans.readSetupWireFormat(buffer, 0, 10);
    
            // Assert
            assertEquals(0, bytesRead);
        }
    
        @Test
        @DisplayName("Test readParametersWireFormat returns 0")
        void testReadParametersWireFormat() {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

         * Test file attribute constants.
         */
        @Test
        @DisplayName("File attribute constants are correct")
        void fileAttributesTest() {
            assertEquals(0x01, SmbConstants.ATTR_READONLY);
            assertEquals(0x02, SmbConstants.ATTR_HIDDEN);
            assertEquals(0x04, SmbConstants.ATTR_SYSTEM);
            assertEquals(0x08, SmbConstants.ATTR_VOLUME);
            assertEquals(0x10, SmbConstants.ATTR_DIRECTORY);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

        static final int FILE_SYNCHRONOUS_IO_NONALERT = 0x00000020;
    
        // security flags
        static final int SECURITY_CONTEXT_TRACKING = 0x01;
        static final int SECURITY_EFFECTIVE_ONLY = 0x02;
    
        private int rootDirectoryFid;
    
        private final int extFileAttributes;
    
        private final int shareAccess;
    
        private int createDisposition;
    
        private int createOptions;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

                    isInConflict = ((src[srcIndex + 16] & 0x08) == 0x08) == true;
                    isActive = ((src[srcIndex + 16] & 0x04) == 0x04) == true;
                    isPermanent = ((src[srcIndex + 16] & 0x02) == 0x02) == true;
    
                    /* The NbtAddress object used to query this node will be in the list
                     * returned by the Node Status. A new NbtAddress object should not be
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

        /**
         * Test constructor with raw bytes.
         */
        @Test
        void testAvFlagsByteArrayConstructor() {
            // Test with a positive integer
            byte[] rawBytes = new byte[] { 0x01, 0x02, 0x03, 0x04 }; // Represents 0x04030201 (little-endian)
            AvFlags avFlags = new AvFlags(rawBytes);
            assertNotNull(avFlags, "AvFlags object should not be null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top