- Sort Score
- Num 10 results
- Language All
Results 1211 - 1220 of 3,621 for long (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava/src/com/google/common/collect/ImmutableSortedMultiset.java
if (entries.isEmpty()) { return emptyMultiset(comparator); } ImmutableList.Builder<E> elementsBuilder = new ImmutableList.Builder<>(entries.size()); long[] cumulativeCounts = new long[entries.size() + 1]; int i = 0; for (Entry<E> entry : entries) { elementsBuilder.add(entry.getElement()); cumulativeCounts[i + 1] = cumulativeCounts[i] + entry.getCount(); i++;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 29.5K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt
stream.sink.flush() responseSent.countDown() } } fun exhaustResponse() = apply { actions += { stream -> stream.sink.close() } } fun sleep( duration: Long, unit: TimeUnit, ) = apply { actions += { Thread.sleep(unit.toMillis(duration)) } } override fun handle(socket: Socket) { val task = serviceSocketTask(socket.asBufferedSocket())
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java
private static void assertChecksum(ImmutableSupplier<Checksum> supplier, String input) { byte[] bytes = HashTestUtils.ascii(input); Checksum checksum = supplier.get(); checksum.update(bytes, 0, bytes.length); long value = checksum.getValue(); String toString = "name"; HashFunction func = new ChecksumHashFunction(supplier, 32, toString); assertThat(func.toString()).isEqualTo(toString);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java
* * <p><b>Warning:</b> The methods of {@code ForwardingListenableFuture} forward * <b>indiscriminately</b> to the methods of the delegate. For example, overriding {@link #get(long, * TimeUnit)} alone <b>will not</b> change the behavior of {@link #get()}, which can lead to * unexpected behavior. In this case, you should override {@code get()} as well. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
// the initial write (just stronger guarantees if it does). // // See: http://cs.oswego.edu/pipermail/concurrency-interest/2015-January/013800.html // For a (long) discussion about this specific issue and the general futility of life. // // For the time being we are OK with the problem discussed above since it requires a caller to
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 64.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/StopwordsService.java
* @param id The ID of the stopword item. * @return An optional entity containing the stopword item, or empty if not found. */ public OptionalEntity<StopwordsItem> getStopwordsItem(final String dictId, final long id) { return getStopwordsFile(dictId).map(file -> file.get(id).get()); } /** * Stores a stopword item in the specified dictionary. * * @param dictId The ID of the dictionary.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 4.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/SynonymService.java
* @param id The ID of the synonym item. * @return An optional entity containing the synonym item, or empty if not found. */ public OptionalEntity<SynonymItem> getSynonymItem(final String dictId, final long id) { return getSynonymFile(dictId).map(file -> file.get(id).get()); } /** * Stores a synonym item in the specified dictionary. * * @param dictId The ID of the dictionary.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/LruHashSet.java
* </p> * @author shinsuke * @param <E> the type of elements maintained by this set */ public class LruHashSet<E> extends AbstractSet<E> implements Set<E>, java.io.Serializable { private static final long serialVersionUID = 1L; /** * The internal LRU hash map used to store elements. */ private final LruHashMap<E, Object> map; // Dummy value to associate with an Object in the backing Map
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 3.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
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) -
guava/src/com/google/common/collect/ImmutableRangeMap.java
for (Entry<Range<K>, V> entry : mapOfRanges.entrySet()) { builder.put(entry.getKey(), entry.getValue()); } return builder.build(); } @J2ktIncompatible private static final long serialVersionUID = 0; } Object writeReplace() { return new SerializedForm<>(asMapOfRanges()); } @J2ktIncompatible // java.io.ObjectInputStream
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 14.8K bytes - Click Count (0)