Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 118 for remark (0.89 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

         * @param readlimit the maximum limit of bytes that can be read before the mark position becomes invalid
         */
        @Override
        public synchronized void mark(final int readlimit) {
            inputStream.mark(readlimit);
        }
    
        /**
         * Tests if this input stream supports the mark and reset methods.
         *
         * @return true if this stream instance supports the mark and reset methods; false otherwise
         */
        @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                        mark = si + 1;
                        state = 5;
                    }
                    break;
                case 5:
                    if (ch == '=') {
                        key = str.substring(mark, si).trim();
                        mark = si + 1;
                    } else if (ch == ',' || ch == ']') {
                        final String val = str.substring(mark, si).trim();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java

            IgnoreCloseInputStream stream = new IgnoreCloseInputStream(underlyingStream);
    
            // ByteArrayInputStream supports mark
            assertTrue(stream.markSupported());
        }
    
        public void test_markAndReset_delegatesToUnderlying() throws IOException {
            // Test that mark() and reset() delegate to underlying stream
            byte[] data = "ABCDEFGH".getBytes();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

                final int idx = i;
                assertEquals(expected[i], dst[offset + i], () -> "byte index " + idx);
            }
            // The region before offset and after the payload must remain untouched.
            for (int i = 0; i < offset; i++) {
                final int idx = i;
                assertEquals(0, dst[i], () -> "pre-offset byte " + idx + " modified");
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

            if (nonce.length == 12) {
                // For CCM cipher, pad nonce to 16 bytes with zeros
                System.arraycopy(nonce, 0, this.nonce, 0, 12);
                // Last 4 bytes remain zero-initialized
            } else if (nonce.length == 16) {
                // For GCM cipher, use full 16-byte nonce
                System.arraycopy(nonce, 0, this.nonce, 0, 16);
            } else {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaWorkRequest.java

         * @return true if completed, false otherwise
         */
        public boolean isCompleted() {
            return completed;
        }
    
        /**
         * Mark request as completed
         */
        public void markCompleted() {
            this.completed = true;
        }
    
        /**
         * Mark request as failed with error
         *
         * @param error exception that caused the failure
         */
        public void markFailed(Exception error) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            // After refresh, may succeed or fail depending on JAAS configuration
            // Just verify that refresh doesn't break the authenticator
            assertNotNull(auth, "Authenticator should remain usable after refresh");
        }
    
        @Test
        @DisplayName("handle: sets NameCallback and PasswordCallback on happy path")
        void testHandleSetsNameAndPasswordHappyPath() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            assertEquals(8, result);
            assertEquals(3, response.getNumEntries());
            assertFalse(response.isEndOfSearch());
            assertEquals(0, response.getSid()); // sid should remain 0
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                writeBytes.setAccessible(true);
                writeBytes.invoke(cancel, dst, 0);
    
                // Then - array should remain unchanged
                assertArrayEquals(originalDst, dst);
            }
    
            @Test
            @DisplayName("Read operations should not modify buffer array")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                // Modify the copy
                copyFileId[0] = 0x00;
    
                // Verify original is unchanged
                assertEquals((byte) 0xFF, originalFileId[0], "Original FileId should remain unchanged");
                assertArrayEquals(
                        new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top