Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,546 for inte (0.94 sec)

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

        }
    
        @ParameterizedTest
        @ValueSource(ints = { NtStatus.NT_STATUS_SUCCESS, NtStatus.NT_STATUS_ACCESS_DENIED, NtStatus.NT_STATUS_OBJECT_NAME_NOT_FOUND,
                NtStatus.NT_STATUS_SHARING_VIOLATION, NtStatus.NT_STATUS_INVALID_PARAMETER })
        @DisplayName("Should handle various NT status codes")
        void testVariousNTStatusCodes(int ntStatus) {
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

            connect();
        }
    
        @Override
        public int read(ByteBuffer buffer, long remoteAddress, int remoteKey, int length) throws IOException {
            if (state != RdmaConnectionState.ESTABLISHED) {
                throw new IOException("Connection not established");
            }
    
            try {
                // In real implementation, this would perform RDMA read into the buffer
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            @ParameterizedTest
            @DisplayName("Should encode consistently with various flag values")
            @ValueSource(ints = { 0, 1, 2, 4, 16, 0xFF, 0xFFFF, 0xFFFFFF, 0x7FFFFFFF, -1 })
            void testEncodingWithVariousFlags(int flags) {
                lock = new Smb2Lock(1024L, 2048L, flags);
                int encoded = lock.encode(buffer, 0);
    
                assertEquals(24, encoded);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

            StringBuilder largeText = new StringBuilder();
            for (int i = 0; i < 2000; i++) {
                largeText.append("ใƒ†ใ‚นใƒˆ ");
            }
    
            List<AnalyzeToken> tokens = defaultContentsParser.analyzeText(analyzer, "content", largeText.toString(), null);
    
            assertNotNull(tokens);
            // Should handle large text by splitting into chunks
            assertTrue(tokens.size() > 0);
        }
    
        @Test
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

        // Security information flag constants for testing
        private static final int OWNER_SECURITY_INFORMATION = 0x00000001;
        private static final int GROUP_SECURITY_INFORMATION = 0x00000002;
        private static final int DACL_SECURITY_INFORMATION = 0x00000004;
        private static final int SACL_SECURITY_INFORMATION = 0x00000008;
        private static final int ALL_SECURITY_INFORMATION = 0x0000000F;
    
        @BeforeEach
        void setUp() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            Smb2TreeDisconnectRequest req2 = new Smb2TreeDisconnectRequest(mockConfig);
    
            // Then - all should have same command
            int cmd1 = (int) commandField.get(req1);
            int cmd2 = (int) commandField.get(req2);
    
            assertEquals(cmd1, cmd2);
            assertEquals(SMB2_TREE_DISCONNECT, cmd1);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            // First entry size: 4 (nextOffset) + 4 (action) + 4 (nameLength) + nameBytes
            int entry1Size = 12 + fileNameBytes1.length;
            int entry1AlignedSize = ((entry1Size + 3) / 4) * 4; // Align to 4 bytes
    
            int entry2Size = 12 + fileNameBytes2.length;
            int entry2AlignedSize = ((entry2Size + 3) / 4) * 4; // Align to 4 bytes
    
            // First notification
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

            @ValueSource(ints = { 0, 1, 15, 127, 255 })
            void testVariousPadding(int padding) {
                assertDoesNotThrow(() -> request.setPadding((byte) padding));
            }
    
            @ParameterizedTest
            @DisplayName("Should handle various read lengths")
            @ValueSource(ints = { 0, 1, 512, 1024, 4096, 65536, 1048576 })
            void testVariousReadLengths(int length) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/EncdecTest.java

            assertEquals(0x56, buffer[2] & 0xFF);
            assertEquals(0x78, buffer[3] & 0xFF);
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 255, 256, 65535, 65536, Integer.MAX_VALUE })
        @DisplayName("Should handle boundary values")
        void testBoundaryValues(int value) {
            // Given
            byte[] buffer = new byte[4];
    
            // When
            Encdec.enc_uint32le(value, buffer, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

            // with the parameters
            // <li>1. KDFCounterParameters(ki, null, "Label || 0x00 || Context || [L]_2]", 8);
    
            // all fixed inputs go into the suffix:
            // + label
            System.arraycopy(label, 0, suffix, 0, label.length);
            // + 1 byte 0x00
            // + context
            System.arraycopy(context, 0, suffix, label.length + 1, context.length);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top