- Sort Score
- Num 10 results
- Language All
Results 601 - 610 of 774 for 1020 (0.23 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
if (c <= '\u001f' || c >= '\u007f') { return true } // Check for the characters mentioned in the WHATWG Host parsing spec: // U+0000, U+0009, U+000A, U+000D, U+0020, "#", "%", "/", ":", "?", "@", "[", "\", and "]" // (excluding the characters covered above). if (" #%/:?@[\\]".indexOf(c) != -1) { return true } } return false }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 11.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
@BeforeEach void setupBuffer() { // Create buffer with 3 v1 referrals byte[] testBuffer = new byte[100]; ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN); // Header bb.putShort((short) 100); // pathConsumed bb.putShort((short) 3); // numReferrals bb.putShort((short) 25); // tflagsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
TestFileSystemInformation testImpl = new TestFileSystemInformation(FileSystemInformation.FS_SIZE_INFO); byte[] buffer = new byte[50]; int result = testImpl.decode(buffer, 10, 40); assertEquals(0, result); // Test implementation returns 0 } } @Nested @DisplayName("SmbInfoAllocation Implementation Tests") class SmbInfoAllocationTests {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
cmd/format-erasure_test.go
} } } } func BenchmarkInitStorageDisks256(b *testing.B) { benchmarkInitStorageDisksN(b, 256) } func BenchmarkInitStorageDisks1024(b *testing.B) { benchmarkInitStorageDisksN(b, 1024) } func BenchmarkInitStorageDisks2048(b *testing.B) { benchmarkInitStorageDisksN(b, 2048) } func BenchmarkInitStorageDisksMax(b *testing.B) { benchmarkInitStorageDisksN(b, 32*204) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java
private final int maxAnalyzedContentLength; /** * Constructor. */ public DefaultContentsParser() { maxAnalyzedContentLength = Integer.getInteger("fess.suggest.max.analyzed.content.length", 1000); } @Override public SuggestItem parseSearchWords(final String[] words, final String[][] readings, final String[] fields, final String[] tags,Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 15.2K bytes - Click Count (0) -
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)