- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 480 for 1L (0.01 seconds)
-
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
OptionalEntity<CharMappingItem> result = charMappingFile.get(1L); assertFalse(result.isPresent()); } // Test get method with valid data @Test public void test_get_validData() throws Exception { writeTestFile("a,b => c\nd,e => f\n"); OptionalEntity<CharMappingItem> result1 = charMappingFile.get(1L); assertTrue(result1.isPresent());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
* in the format of [System.currentTimeMillis]. Specify -1L for both values to use the default * interval, 24 hours starting when the certificate is created. */ fun validityInterval( notBefore: Long, notAfter: Long, ) = apply { require(notBefore <= notAfter && notBefore == -1L == (notAfter == -1L)) { "invalid interval: $notBefore..$notAfter" }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 21.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
*/ @Test fun pinRootNotPresentInChain() { // Fails on 11.0.1 https://github.com/square/okhttp/issues/4703 val rootCa = HeldCertificate .Builder() .serialNumber(1L) .certificateAuthority(1) .commonName("root") .build() val intermediateCa = HeldCertificate .Builder() .signedBy(rootCa) .certificateAuthority(0)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 24.4K bytes - Click Count (2) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt
}, ).hasMessage("timeout too small") assertThat( assertThrows<IllegalArgumentException> { checkDuration( "timeout", 1L + Int.MAX_VALUE.toLong(), TimeUnit.MILLISECONDS, ) }, ).hasMessage("timeout too large") } @Test fun testDurationDuration() {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemSerializerTest.java
String[] text = { "json test" }; String[][] readings = { { "reading" } }; String[] fields = { "field" }; SuggestItem item = new SuggestItem(text, readings, fields, 1L, 1L, 1.0f, new String[0], new String[0], new String[0], SuggestItem.Kind.DOCUMENT); String json = SuggestItemSerializer.toJson(item); assertNotNull(json);
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 5.4K bytes - Click Count (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
} in 18..19 -> { val retryMs = source.readRetryMs() if (retryMs != -1L) { callback.onRetryChange(retryMs) } } -1 -> { val lineEnd = source.indexOfElement(CRLF) if (lineEnd != -1L) { // Skip the line and newline source.skip(lineEnd) source.select(options) } else {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 4.3K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java
FileSizeFormat format = new FileSizeFormat(); assertEquals("0 B", format.formatProgress(0L, -1L)); assertEquals("1.0 kB", format.formatProgress(1000L, -1L)); assertEquals("1.0 MB", format.formatProgress(1000L * 1000L, -1L)); assertEquals("1.0 GB", format.formatProgress(1000L * 1000L * 1000L, -1L)); } @Test void testProgressedBothZero() {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 10.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/OverflowAvoidingLockSupport.java
*/ @GwtIncompatible final class OverflowAvoidingLockSupport { // Represents the max nanoseconds representable on a linux timespec with a 32 bit tv_sec static final long MAX_NANOSECONDS_THRESHOLD = (1L + Integer.MAX_VALUE) * 1_000_000_000L - 1L; private OverflowAvoidingLockSupport() {} static void parkNanos(@Nullable Object blocker, long nanos) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 10 11:51:21 GMT 2026 - 1.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
*/ public void assertSuccess(Object expectedData) throws Throwable { // Verify that the listener executed in a reasonable amount of time. Assert.assertTrue(countDownLatch.await(1L, SECONDS)); try { Assert.assertEquals(expectedData, future.get()); } catch (ExecutionException e) { throw e.getCause(); } } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri May 12 18:12:42 GMT 2023 - 3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 10.9K bytes - Click Count (0)