- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 389 for 1L (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
) } request.isChunked -> { newChunkedSink() } // Stream a request body of unknown length. contentLength != -1L -> { newKnownLengthSink() } // Stream a request body of a known length. else -> { // Stream a request body of a known length. throw IllegalStateException(Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 17.6K bytes - Click Count (7) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
assertNotNull(lock); } @Test @DisplayName("Should create lock with negative values") void testConstructorWithNegativeValues() { lock = new Smb2Lock(-1L, -1L, -1); assertNotNull(lock); } } @Nested @DisplayName("Size Tests") class SizeTests { @Test @DisplayName("Should return constant size of 24 bytes")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
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) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java
DataStoreParams params = new DataStoreParams(); Map<String, Object> data = new HashMap<>(); data.put("key1", "value1"); callback.store(params, data); assertEquals(1L, callback.getDocumentSize()); assertEquals(100L, callback.getExecuteTime()); // Test multiple stores callback.store(params, data); callback.store(params, data);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 12.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/ThreadUtilTest.java
*/ @Test public void test_sleep() throws Exception { ThreadUtil.sleep(1L); assertTrue(true); ThreadUtil.sleepQuietly(1L); } /** * @throws Exception */ @Test public void test_sleepQuietly() throws Exception { ThreadUtil.sleepQuietly(1L); assertTrue(true); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.1K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt
* take any event class. * @param elapsedMs the time in milliseconds elapsed since the immediately-preceding event, or * -1L to take any duration. */ fun takeEvent( eventClass: Class<out CallEvent>? = null, elapsedMs: Long = -1L, ): CallEvent { val result = eventSequence.remove() val actualElapsedNs = result.timestampNs - (lastTimestampNs ?: result.timestampNs)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 4.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java
CollectSpliterators.flatMapToLong( Arrays.spliterator(new Long[] {1L, 0L, 1L, 2L, 3L}), (Long i) -> i == 0L ? null : LongStream.of(i).spliterator(), Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL, 4)) .expect(1L, 1L, 2L, 3L); } public void testFlatMapToDouble_nullStream() { SpliteratorTester.ofDouble(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
assertEquals("https://discuss.codelibs.org/c/FessEN/", systemHelper.getForumLink()); ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L; @Override public String getForumLink() { return StringUtil.EMPTY; } }); getMockRequest().setLocale(Locale.ENGLISH);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 44.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessConfigImpl.java
import com.google.common.cache.CacheBuilder; public class FessConfigImpl extends FessConfig.SimpleImpl { private static final long serialVersionUID = 1L; private static class KeyNotFoundException extends Exception { private static final long serialVersionUID = 1L; private KeyNotFoundException(final String key) { super(key); } } @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 05 09:31:58 GMT 2026 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
*/ @Test public void testWriteBytesWireFormat() { // Given SmbComClose smbComClose = new SmbComClose(config, 1, 1L); byte[] dst = new byte[0]; // When int bytesWritten = smbComClose.writeBytesWireFormat(dst, 0); // Then assertEquals(0, bytesWritten); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0)