- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 2,123 for longs (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
*/ void assertCompletionNotExpected(long timeout) { Preconditions.checkArgument(timeout < expectedCompletionWaitMillis); assertAtLeastTimePassed(stopwatch, timeout); assertTimeNotPassed(stopwatch, expectedCompletionWaitMillis); } } private static void assertAtLeastTimePassed(Stopwatch stopwatch, long expectedMillis) { long elapsedMillis = stopwatch.elapsed(MILLISECONDS); /*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) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparator.java
*/ public long getProjectWeight(MavenProject project) { // First check if weight is already calculated Long existingWeight = projectWeights.get(project); if (existingWeight != null) { return existingWeight; } // Calculate weight without using computeIfAbsent to avoid recursive update issues long weight = calculateWeight(project);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Aug 06 12:03:40 GMT 2025 - 4.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/RateLimiter.java
} private boolean canAcquire(long nowMicros, long timeoutMicros) { return queryEarliestAvailable(nowMicros) - timeoutMicros <= nowMicros; } /** * Reserves next ticket and returns the wait time that the caller must wait for. * * @return the required wait time, never negative */ final long reserveAndGetWaitLength(int permits, long nowMicros) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:05:27 GMT 2025 - 21.8K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LocalCache.java
final long maxWeight; /** Weigher to weigh cache entries. */ final Weigher<K, V> weigher; /** How long after the last access to an entry the map will retain that entry. */ final long expireAfterAccessNanos; /** How long after the last write to an entry the map will retain that entry. */ final long expireAfterWriteNanos;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 143.5K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java
@VmOptions({"-Xms12g", "-Xmx12g", "-d64"}) @NullUnmarked public class CharStreamsCopyBenchmark { enum CopyStrategy { OLD { @Override long copy(Readable from, Appendable to) throws IOException { CharBuffer buf = CharStreams.createBuffer(); long total = 0; while (from.read(buf) != -1) { ((Buffer) buf).flip(); to.append(buf); total += buf.remaining();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
threads[ti].start(); } while (t.numComplete < t.numThreads) { long delay; do { delay = 2L; synchronized (t) { final long expire = t.ltime + t.delay; final long ctime = System.currentTimeMillis(); if (expire > ctime) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 15 06:51:20 GMT 2025 - 3.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java
} // Test class for basic testing private static class TestScoreBooster extends ScoreBooster { private final long returnValue; public TestScoreBooster(long returnValue) { this.returnValue = returnValue; } @Override public long process() { return returnValue; } } // Test class that throws exceptionCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
Mockito.when(mockAddress.getHostAddress()).thenReturn("127.0.0.1"); // Start timing long overallStart = System.nanoTime(); for (int t = 0; t < threadCount; t++) { executor.submit(() -> { try { startLatch.await(); long threadStart = System.nanoTime(); for (int i = 0; i < operationsPerThread; i++) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.3K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/TransportTest.java
*/ static class TestableTransport extends Transport { private long nextKey = 1; private Long peekedKey = null; private IOException sendException = null; private IOException recvException = null; private boolean connectFails = false; private boolean disconnectResult = false; @Override protected long makeKey(Request request) throws IOException { return nextKey++;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0)