- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 2,350 for Pong (0.02 seconds)
-
android/guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java
@NullUnmarked public class StopwatchBenchmark { @Benchmark long stopwatch(int reps) { long total = 0; for (int i = 0; i < reps; i++) { Stopwatch s = Stopwatch.createStarted(); // here is where you would do something total += s.elapsed(NANOSECONDS); } return total; } @Benchmark long manual(int reps) { long total = 0; for (int i = 0; i < reps; i++) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
// Then assertEquals(24, bytesConsumed); // Note: multiplication may overflow, but that's expected behavior long expectedCapacity = Long.MAX_VALUE * (long) Integer.MAX_VALUE * (long) Integer.MAX_VALUE; assertEquals(expectedCapacity, fileFsSizeInfo.getCapacity()); } @Test @DisplayName("Should decode buffer with offset correctly")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.9K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Apr 22 22:13:51 GMT 2025 - 9.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
} @ParameterizedTest @DisplayName("Test with various timeout values") @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 1000L, -1000L }) void testWithVariousTimeoutValues(long timeout) { // Setup String pipeName = "TestPipe"; FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName, timeout);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsPathMapping.java
public void setCreatedBy(String value) { registerModifiedProperty("createdBy"); this.createdBy = value; } public Long getCreatedTime() { checkSpecifiedProperty("createdTime"); return createdTime; } public void setCreatedTime(Long value) { registerModifiedProperty("createdTime"); this.createdTime = value; } public String getProcessType() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 7.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreatorTest.java
super.setUp(testInfo); originalFessConfig = ComponentUtil.getFessConfig(); // Set up test configuration ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L; @Override public String getMailFromName() { return "Test Admin"; } @Override public String getMailFromAddress() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.5K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/LongAdder.java
*/ final class LongAdder extends Striped64 implements Serializable, LongAddable { @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 7249069246863182397L; /** Version of plus for use in retryUpdate */ @Override final long fn(long v, long x) { return v + x; } /** Creates a new adder with initial sum of zero. */ public LongAdder() {} /** * Adds the given value.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 20 13:05:10 GMT 2025 - 5.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
* overflowing or underflowing, by bounding the value between 0 and (Long.MAX_VALUE / 4) * 3. * Actually waiting for more than 219 years is not supported! */ private static long toSafeNanos(long time, TimeUnit unit) { long timeoutNanos = unit.toNanos(time); return Longs.constrainToRange(timeoutNanos, 0L, (Long.MAX_VALUE / 4) * 3); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 43.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
// Test with MAX_VALUE long maxMid = Long.MAX_VALUE; doNothing().when(messageBlock).setMid(maxMid); when(messageBlock.getMid()).thenReturn(maxMid); messageBlock.setMid(maxMid); assertEquals(maxMid, messageBlock.getMid()); // Test with MIN_VALUE long minMid = Long.MIN_VALUE; doNothing().when(messageBlock).setMid(minMid);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Stopwatch.java
* new Ticker() { * public long read() { * return android.os.SystemClock.elapsedRealtimeNanos(); * } * }); * } * * @author Kevin Bourrillion * @since 10.0 */ @GwtCompatible @SuppressWarnings("GoodTime") // lots of violations public final class Stopwatch { private final Ticker ticker; private boolean isRunning; private long elapsedNanos; private long startTick;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.5K bytes - Click Count (0)