Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 173 for toho (2.87 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            // Arrange
            TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, TEST_DATA, TEST_OFFSET, TEST_LENGTH);
            byte[] dst = new byte[5]; // Buffer too small
            int dstIndex = 0;
    
            // Act
            int bytesWritten = trans.writeDataWireFormat(dst, dstIndex);
    
            // Assert
            assertEquals(0, bytesWritten);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            // Assert
            assertNotNull(trace, "Instance should be created");
        }
    
        @Test
        @DisplayName("Constructor with delegate: acquire() forwards to delegate and release() too")
        void constructor_withDelegate_acquireAndReleaseForwarded() {
            // Arrange: delegate we can spy on for interaction verification
            CIFSContext ctx = mock(CIFSContext.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

        void testWriteDataWireFormatInsufficientBuffer() {
            // Given
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, TEST_DATA.length);
            byte[] dst = new byte[5]; // Buffer too small for TEST_DATA
    
            // When
            int bytesWritten = transCallNamedPipe.writeDataWireFormat(dst, 0);
    
            // Then
            assertEquals(0, bytesWritten);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. CLAUDE.md

    - **SuggestIndexer**: Thread-safe for indexing
    - **SuggestSettings**: NOT thread-safe for modifications
    
    ### Performance
    - Use batch operations for indexing (100-500 items)
    - Don't call `refresh()` too frequently
    - Limit `maxReadingNum` to prevent memory issues
    - OpenSearch auto-refreshes every 1 second by default
    
    ### Compatibility
    - Designed for OpenSearch 2.x+
    - All text processing uses UTF-8
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

            @Test
            @DisplayName("Should throw exception with insufficient buffer")
            void testReadBytesWireFormatInsufficientBuffer() {
                // Given
                byte[] buffer = new byte[1]; // Too small
    
                // When & Then
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> response.readBytesWireFormat(buffer, 0));
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            });
    
            assertThrows(CIFSException.class, () -> {
                preauthService.initializeSession("test", new byte[8], PreauthIntegrityService.HASH_ALGO_SHA512); // Too small
            });
        }
    
        @Test
        @DisplayName("Test unsupported hash algorithm")
        public void testUnsupportedHashAlgorithm() {
            byte[] salt = preauthService.generatePreauthSalt();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

            }));
            if (!form.hasConditionQuery()) {
                if (StringUtil.isNotBlank(form.q)) {
                    form.as.put("q", new String[] { form.q });
                } else {
                    // TODO set default?
                }
            }
            return asHtml(virtualHost(path_AdvanceJsp)).renderWith(data -> {
                buildInitParams();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/SerializeUtil.java

         * <p>
         * This method allows you to specify a custom ObjectInputFilter for fine-grained
         * control over which classes can be deserialized. Use this when the default filter
         * is too restrictive or permissive for your use case.
         * </p>
         *
         * @param bytes the byte array (must not be {@literal null})
         * @param filter the ObjectInputFilter to use, or null to disable filtering
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

         * @param thumbnailId The thumbnail ID.
         * @param value The thumbnail value to update.
         */
        protected void updateThumbnailField(final String thumbnailId, final String value) {
            // TODO bulk
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            try {
                ComponentUtil.getIndexingHelper()
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                long totalTime = System.nanoTime() - startTime;
    
                // Should complete in reasonable time (< 10ms for 3000 operations)
                assertTrue(totalTime < 10_000_000L, "Null/empty password comparisons taking too long: " + totalTime + " ns");
            } finally {
                auth1.close();
                auth2.close();
                auth3.close();
            }
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top