Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 388 for 100 (0.01 sec)

  1. src/main/java/org/codelibs/core/exception/SAXRuntimeException.java

         *
         * @param cause the underlying exception
         * @return the message
         */
        protected static String createMessage(final SAXException cause) {
            final StringBuilder buf = new StringBuilder(100);
            buf.append(cause);
            if (cause instanceof SAXParseException) {
                final SAXParseException e = (SAXParseException) cause;
                if (e.getSystemId() != null) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthentication.java

            super();
        }
    
        /**
         * Returns the path prefix for SMB URLs.
         * @return The path prefix.
         */
        public String getPathPrefix() {
            final StringBuilder buf = new StringBuilder(100);
            buf.append("smb://");
            if (server != null) {
                buf.append(server);
                if (port > 0) {
                    buf.append(':');
                    buf.append(port);
                }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                byte[] buffer = new byte[1024];
    
                assertEquals(0, echoResponse.writeBytesWireFormat(buffer, 0));
                assertEquals(0, echoResponse.writeBytesWireFormat(buffer, 100));
                assertEquals(0, echoResponse.writeBytesWireFormat(buffer, 500));
            }
    
            @Test
            @DisplayName("Should not modify buffer")
            void testWriteBytesWireFormatNoModification() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

                return 200;
            }
    
            @Override
            public InputStream getInputStream() throws IOException {
                return new ByteArrayInputStream(new byte[100]); // dummy payload
            }
        }
    
        @Test
        public void test_TmpFileHasBeenDeletedAfterResponseWasClosed() throws Exception {
            // ## Arrange ##
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TarExtractorTest.java

        }
    
        public void test_getText_maxSize() throws IOException {
            try (final InputStream in = ResourceUtil.getResourceAsStream("extractor/tar/test.tar")) {
                tarExtractor.setMaxContentSize(100);
                tarExtractor.getText(in, null);
                fail();
            } catch (MaxLengthExceededException e) {
                // pass
            }
            tarExtractor.setMaxContentSize(-1);
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

        public void testWriteBytesWireFormatAscii() throws Exception {
            // Given
            String oldFileName = "oldFile.txt";
            String newFileName = "newFile.txt";
            byte[] dst = new byte[100];
            smbComRename = new SmbComRename(config, oldFileName, newFileName);
    
            // Set unicode to false
            Field useUnicodeField = ServerMessageBlock.class.getDeclaredField("useUnicode");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            byte[] buffer = new byte[100];
    
            int bytesRead = notifyInfo.decode(buffer, 0, 0);
    
            assertEquals(0, bytesRead);
        }
    
        @Test
        @DisplayName("Test decode with non-aligned next entry offset throws exception")
        void testDecodeNonAlignedNextOffset() {
            byte[] buffer = new byte[100];
            // Write non-aligned next entry offset (not divisible by 4)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

            lenient().when(mockFileHandle.getInitialSize()).thenReturn(100L); // File already has 100 bytes
    
            when(mockTreeHandle.send(any(Smb2WriteRequest.class), any())).thenReturn(mockWriteResponse);
            when(mockWriteResponse.getCount()).thenReturn(8);
    
            // Create output stream in append mode - note the append flag sets initial fp to 100
            outputStream = new SmbFileOutputStream(mockFile, mockTreeHandle, mockFileHandle,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/SecureKeyManagerTest.java

            String sessionId = "age-test";
            keyManager.storeSessionKey(sessionId, testKey, "AES");
    
            long initialAge = keyManager.getKeyAge(sessionId);
            assertTrue(initialAge >= 0 && initialAge < 100, "Initial age should be small");
    
            Thread.sleep(200);
    
            long laterAge = keyManager.getKeyAge(sessionId);
            assertTrue(laterAge >= 200, "Age should increase after delay");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                }
            }
    
            @Test
            @DisplayName("Should handle high concurrency without deadlock")
            void testHighConcurrencyNoDeadlock() throws InterruptedException {
                int threadCount = 100;
                int operationsPerThread = 50;
                ExecutorService executor = Executors.newFixedThreadPool(threadCount);
                CountDownLatch startLatch = new CountDownLatch(1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
Back to top