- Sort Score
- Num 10 results
- Language All
Results 561 - 570 of 677 for 1001 (0.07 seconds)
-
guava-tests/test/com/google/common/math/LongMathTest.java
} @GwtIncompatible // isPrime is GWT-incompatible public void testIsPrimeSmall() { // Check the first 1000 integers for (int i = 2; i < 1000; i++) { assertEquals(BigInteger.valueOf(i).isProbablePrime(100), LongMath.isPrime(i)); } } @GwtIncompatible // isPrime is GWT-incompatible public void testIsPrimeManyConstants() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 30 14:15:36 GMT 2025 - 31.4K bytes - Click Count (0) -
src/archive/tar/tar_test.go
}, { in: []sparseEntry{{1, 0}}, size: 0, wantValid: false, }, { in: []sparseEntry{{-1, 0}}, size: 100, wantValid: false, }, { in: []sparseEntry{{0, -1}}, size: 100, wantValid: false, }, { in: []sparseEntry{{0, 0}}, size: -100, wantValid: false, }, { in: []sparseEntry{{math.MaxInt64, 3}, {6, -5}}, size: 35, wantValid: false, }, {Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 25 00:25:45 GMT 2024 - 23.9K bytes - Click Count (0) -
docs/smb3-features/06-witness-protocol-design.md
scheduler.scheduleAtFixedRate(this::checkHeartbeats, 30, 30, TimeUnit.SECONDS); // Registration monitoring scheduler.scheduleAtFixedRate(this::monitorRegistrations, 10, 10, TimeUnit.SECONDS); } public CompletableFuture<WitnessRegistration> registerForNotifications( String shareName, InetAddress serverAddress,
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java
/** * Test serialization with large data */ @Test public void test_serializeDeserialize_largeData() { List<String> original = new ArrayList<>(); for (int i = 0; i < 1000; i++) { original.add("Item number " + i); } byte[] serialized = serializer.fromObjectToBinary(original); assertNotNull(serialized, "Serialized data should not be null");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
systemHelper.processingTime = 100L; DataStoreParams paramMap = new DataStoreParams(); Map<String, Object> dataMap = new HashMap<>(); dataMap.put("url", "http://example.com/test"); indexUpdateCallback.store(paramMap, dataMap); assertEquals(100L, indexUpdateCallback.getExecuteTime());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java
}; FileListIndexUpdateCallbackImpl callback = new FileListIndexUpdateCallbackImpl(mockCallback, null, 1); callback.setMaxDeleteDocumentCacheSize(1000); final int threadCount = 10; final int urlsPerThread = 100; final Thread[] threads = new Thread[threadCount]; final Exception[] exceptions = new Exception[threadCount]; // Multiple threads add URLs to deleteUrlListCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 19.7K bytes - Click Count (0) -
build-logic/cleanup/src/test/groovy/gradlebuild/cleanup/services/LeakingProcessKillPatternTest.groovy
!(line =~ KillLeakingJavaProcesses.generateLeakingProcessKillPattern(projectDir)).find() } def "matches kotlin compiler on linux"() {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jul 12 03:42:46 GMT 2024 - 14.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java
if (StringUtil.isBlank(configName)) { configName = StringUtils.abbreviate(configPath, 30); } // normalize final StringBuilder buf = new StringBuilder(1000); for (int i = 0; i < configPath.length(); i++) { final char c = configPath.charAt(i); if (c == '\\') { buf.append('/'); } else if (c == ' ') {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 02:14:37 GMT 2026 - 16.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
Arrays.fill(salt, (byte) 0xFF); context = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt); // Encode at position 100 int encoded = context.encode(buffer, 100); assertEquals(context.size(), encoded); // Verify salt is at correct position for (int i = 0; i < salt.length; i++) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
assertThat(readJournalLines()).isEqualTo( listOf(DiskLruCache.MAGIC, DiskLruCache.VERSION_1, "100", "2", "") + expectedBodyLines, ) } private fun createJournal(vararg bodyLines: String) { createJournalWithHeader( DiskLruCache.MAGIC, DiskLruCache.VERSION_1, "100", "2", "", *bodyLines, ) } private fun createJournalWithHeader(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 59.4K bytes - Click Count (0)