- Sort Score
- Num 10 results
- Language All
Results 441 - 450 of 2,350 for Pong (0.02 seconds)
-
guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java
* @author Jens Nyman */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class SimpleTimeLimiterTest extends TestCase { private static final long DELAY_MS = 50; private static final long ENOUGH_MS = 10000; private static final long NOT_ENOUGH_MS = 5; private static final String GOOD_CALLABLE_RESULT = "good callable result"; private static final Callable<String> GOOD_CALLABLE = () -> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 9.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java
* * @author mbechler */ public class LockingAndXRange implements Encodable, Decodable { private final boolean largeFile; private int pid; private long byteOffset; private long lengthInBytes; /** * Constructs a LockingAndXRange with large file support. * * @param largeFile whether to use large file support (64-bit offsets) */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.1K bytes - Click Count (0) -
guava/src/com/google/common/base/Preconditions.java
* * @since 20.0 (varargs overload since 2.0) */ public static void checkArgument( boolean expression, String errorMessageTemplate, long p1, long p2) { if (!expression) { throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1, p2)); } } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 53.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
@J2ObjCIncompatible // gc @NullMarked public final class GcFinalization { private GcFinalization() {} /** * 10 seconds ought to be long enough for any object to be GC'ed and finalized. Unless we have a * gigantic heap, in which case we scale by heap size. */ private static long timeoutSeconds() { // This class can make no hard guarantees. The methods in this class are inherently flaky, butCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:19:19 GMT 2026 - 12.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
value = "${spaces}"; assertEquals(" ", ResourceUtil.resolve(value)); // Test long property name System.setProperty("very.long.property.name.with.many.dots", "long"); value = "${very.long.property.name.with.many.dots}"; assertEquals("long", ResourceUtil.resolve(value)); // Test multiple occurrences of same variable System.setProperty("repeat", "X");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 11.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt
private val contentLength: Long, private val isSocket: Boolean, ) : ForwardingSink(delegate) { private var completed = false private var bytesReceived = 0L private var invokeStartEvent = isSocket private var closed = false @Throws(IOException::class) override fun write( source: Buffer, byteCount: Long, ) { check(!closed) { "closed" }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 10.5K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java
doubleInLongRange[i] = randomDouble(Long.SIZE - 2); positiveDoubles[i] = randomPositiveDouble(); } } @Benchmark int roundToInt(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += DoubleMath.roundToInt(doubleInIntRange[j], mode); } return tmp; } @Benchmark long roundToLong(int reps) { long tmp = 0;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/ChecksumHashFunction.java
@Override protected void update(byte[] bytes, int off, int len) { checksum.update(bytes, off, len); } @Override public HashCode hash() { long value = checksum.getValue(); if (bits == 32) { /* * The long returned from a 32-bit Checksum will have all 0s for its second word, so the * cast won't lose any information and is necessary to return a HashCode of the correct * size.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 2.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
final ExceptionMessageBuilder br = new ExceptionMessageBuilder(); br.addNotice("Too long boundary size so treats it as 404."); br.addItem("Advice"); br.addElement("Against for CVE-2014-0050 (JVN14876762)."); br.addElement("Boundary size is limited by Framework."); br.addElement("Too long boundary is treated as 404 because it's thought of as attack."); br.addElement("");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 08:48:41 GMT 2026 - 18.9K bytes - Click Count (1) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
byte[] buffer = new byte[8]; long value = 0x123456789ABCDEF0L; ServerMessageBlock.writeInt8(value, buffer, 0); assertEquals(value, ServerMessageBlock.readInt8(buffer, 0)); } @Test void testTimeReadWrite() { byte[] buffer = new byte[8]; long time = System.currentTimeMillis(); ServerMessageBlock.writeTime(time, buffer, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0)