- Sort Score
- Num 10 results
- Language All
Results 531 - 540 of 681 for 1004 (0.02 seconds)
-
src/test/java/org/codelibs/fess/query/QueryCommandTemplateMethodTest.java
/** * Test isSearchField() performance with large field set. */ @Test public void test_isSearchField_performance() { // Create a large set of search fields int fieldCount = 1000; String[] fields = new String[fieldCount]; for (int i = 0; i < fieldCount; i++) { fields[i] = "field" + i; } queryFieldConfig.setSearchFields(fields);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java
assertSame(specificHandle, handleField.get(lookupSids)); } @Test void constructor_shouldHandleLargeSidArray() { // Arrange int largeSize = 1000; testSids = new jcifs.SID[largeSize]; for (int i = 0; i < largeSize; i++) { testSids[i] = mock(jcifs.SID.class); when(testSids[i].unwrap(sid_t.class)).thenReturn(mockSidT);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
// Arrange transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID); byte[] smallBuffer = new byte[1]; byte[] largeBuffer = new byte[1000]; // Act & Assert assertEquals(0, transPeekNamedPipe.readSetupWireFormat(smallBuffer, 0, 1)); assertEquals(0, transPeekNamedPipe.readSetupWireFormat(largeBuffer, 500, 500));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
// Test various filename formats trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, filename, TEST_BATCH_COUNT, TEST_BATCH_SIZE); byte[] buffer = new byte[1024]; int written = trans2FindNext2.writeParametersWireFormat(buffer, 0); // Verify filename is written and can be read back String actualFilename = readString(buffer, 12, written - 12);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.2K bytes - Click Count (0) -
src/test/java/jcifs/EmptyIteratorTest.java
long endTime = System.currentTimeMillis(); long duration = endTime - startTime; // Then - should complete quickly (this is more of a performance indicator) assertTrue(duration < 1000, "Creating and using 10000 EmptyIterators should be fast (took " + duration + "ms)"); } @Test @DisplayName("EmptyIterator should work correctly in nested iteration") void testNestedIteration() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
ByteArrayOutputStream baos = new ByteArrayOutputStream(); DataOutputStream dos = new DataOutputStream(baos); // Write a RID (4 bytes) for readId() method writeLittleEndianInt(dos, 1000); ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); PacDataInputStream pacStream = new PacDataInputStream(bais); SID id = pacStream.readId();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
val a3 = "2001:db8::1:0:0:1" assertThat(parse("http://[2001:db8:0:0:1:0:0:1]").host).isEqualTo(a3) assertThat(parse("http://[2001:0db8:0:0:1:0:0:1]").host).isEqualTo(a3) assertThat(parse("http://[2001:db8::1:0:0:1]").host).isEqualTo(a3) assertThat(parse("http://[2001:db8::0:1:0:0:1]").host).isEqualTo(a3) assertThat(parse("http://[2001:0db8::1:0:0:1]").host).isEqualTo(a3)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Aug 04 07:38:48 GMT 2025 - 69.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/FailureUrlTests.java
final Map<String, Object> searchBody = new HashMap<>(); searchBody.put("error_count_min", 1); searchBody.put("error_count_max", 100); searchBody.put("size", 100); String response = checkMethodBase(searchBody).get(API_PATH + "/logs").asString(); List<Map<String, Object>> logs = JsonPath.from(response).getList("response.logs");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.1K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
@Test public void testLargeThreshold() throws IOException { // Test with very large threshold ContentOutputStream cos = new ContentOutputStream(1024 * 1024, Curl.tmpDir); cos.write(new byte[1000]); assertTrue(cos.isInMemory()); cos.close(); } @Test public void testMultipleGetFile() throws IOException { // Calling getFile() multiple times should return the same fileCreated: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 11.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
// Given byte[] buffer = new byte[512]; int encodeIndex = 0; int decodeIndex = 0; int encodeLength = 100; int decodeLength = 100; when(messageBlock.encode(buffer, encodeIndex)).thenReturn(encodeLength); when(messageBlock.decode(buffer, decodeIndex)).thenReturn(decodeLength); // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0)