- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 192 for 1900 (0.59 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
if (deltaSeconds == Long.MIN_VALUE) { expiresAt = Long.MIN_VALUE } else if (deltaSeconds != -1L) { val deltaMilliseconds = if (deltaSeconds <= Long.MAX_VALUE / 1000) { deltaSeconds * 1000 } else { Long.MAX_VALUE } expiresAt = currentTimeMillis + deltaMilliseconds if (expiresAt < currentTimeMillis || expiresAt > MAX_DATE) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 23.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/SplitterTest.java
assertThrows( IllegalArgumentException.class, () -> COMMA_SPLITTER.withKeyValueSeparator("=").split("a=1,b,c=2")); } /** * Testing the behavior in https://github.com/google/guava/issues/1900 - this behavior may want to * be changed? */ public void testMapSplitter_extraValueDelimiter() { assertThrows( IllegalArgumentException.class,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 29.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java
// Default buffer size is 1000; offer more than that for (int i = 0; i < 1100; i++) { helper.offer(new LogNotificationEvent(i, "ERROR", "org.test", "msg" + i, null)); } List<LogNotificationEvent> events = helper.drainAll(); // Should be capped at buffer size (1000) assertTrue(events.size() <= 1000); assertTrue(events.size() > 0); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 6.3K bytes - Click Count (0) -
doc/next/6-stdlib/99-minor/unicode/77266.md
The unicode package and associated support throughout the system has been upgraded from Unicode 15 to Unicode 17. See the [Unicode 16.0.0](https://www.unicode.org/versions/Unicode16.0.0/) and [Unicode 17.0.0](https://www.unicode.org/versions/Unicode17.0.0/)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 22 21:16:03 GMT 2026 - 307 bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
Stopwatch stopwatch = Stopwatch.createStarted(); Condition condition = TestCondition.createAndSignalAfter(1000, MILLISECONDS); requestInterruptIn(500); boolean returnedBeforeTimeout = awaitUninterruptibly(condition, 1500, MILLISECONDS); assertTrue(returnedBeforeTimeout); assertTimeNotPassed(stopwatch, LONG_DELAY_MS); assertInterrupted(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
Stopwatch stopwatch = Stopwatch.createStarted(); Condition condition = TestCondition.createAndSignalAfter(1000, MILLISECONDS); requestInterruptIn(500); boolean returnedBeforeTimeout = awaitUninterruptibly(condition, 1500, MILLISECONDS); assertTrue(returnedBeforeTimeout); assertTimeNotPassed(stopwatch, LONG_DELAY_MS); assertInterrupted(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java
encrypted = false; value = System.currentTimeMillis() / 1000 + "\nrole1"; roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted); assertEquals(1, roleSet.size()); assertTrue(roleSet.contains("role1")); encrypted = false; value = System.currentTimeMillis() / 1000 + "\nrole1,role2"; roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 28.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
for (int i = 0; i < 1000; i++) { pool.execute(() -> { assertEquals(result, crawlingInfoHelper.generateId(dataMap)); counter.incrementAndGet(); }); } pool.shutdown(); pool.awaitTermination(10, TimeUnit.SECONDS); assertEquals(1000, counter.get()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 28.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/StopwatchTest.java
assertThat(stopwatch.toString()).isEqualTo("0.000 ns"); ticker.advance(1); assertThat(stopwatch.toString()).isEqualTo("1.000 ns"); ticker.advance(998); assertThat(stopwatch.toString()).isEqualTo("999.0 ns"); ticker.advance(1); assertThat(stopwatch.toString()).isEqualTo("1.000 \u03bcs"); ticker.advance(1); assertThat(stopwatch.toString()).isEqualTo("1.001 \u03bcs"); ticker.advance(8998);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java
public void test_getDetectText_longText() { StringBuilder sb = new StringBuilder(); for (int i = 0; i < 1100; i++) { sb.append("a"); } String longText = sb.toString(); String result = languageHelper.getDetectText(longText); assertEquals(1000, result.length()); } @Test public void test_getDetectText_whitespaceNormalization() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13K bytes - Click Count (0)