- Sort Score
- Num 10 results
- Language All
Results 551 - 560 of 1,318 for because (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/collect/CollectCollectors.java
Function<? super T, ? extends V> valueFunction, BinaryOperator<V> mergeFunction) { checkNotNull(keyFunction); checkNotNull(valueFunction); checkNotNull(mergeFunction); // not UNORDERED because we don't know if mergeFunction is commutative return Collector.of( () -> new EnumMapAccumulator<K, V>(mergeFunction), (accum, t) -> { /*
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/CollectCollectors.java
Function<? super T, ? extends V> valueFunction, BinaryOperator<V> mergeFunction) { checkNotNull(keyFunction); checkNotNull(valueFunction); checkNotNull(mergeFunction); // not UNORDERED because we don't know if mergeFunction is commutative return Collector.of( () -> new EnumMapAccumulator<K, V>(mergeFunction), (accum, t) -> { /*
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.6K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/ClassPath.java
* such classes, this method always returns an empty string. But under some version of Java, * {@code class.getPackage().getName()} produces a {@code NullPointerException} because {@code * class.getPackage()} returns {@code null}. */ public String getPackageName() { return Reflection.getPackageName(className); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 24.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
assertFalse(it.hasNext(), "Empty listing should produce no elements"); it.close(); // No close should be sent because directory was never successfully opened verify(tree, never()).send(argThat((Request<?> r) -> r instanceof Smb2CloseRequest)); } @Test @DisplayName("remove() throws UnsupportedOperationException")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
* It can even stream a response larger than the total storage on the current device, which is a * common requirement for video streaming applications. * * Because this class does not buffer the full response in memory, the application may not * re-read the bytes of the response. Use this one shot to read the entire response into memory with
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 11.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
checkMessage(expected, "LockB -> LockA", "LockA -> LockB"); // The causal chain should be cached. assertThat(expected.getCause()).isEqualTo(firstException.getCause()); // lockA should work after lockB is released. lockB.unlock(); lockA.lock(); } // Tests transitive deadlock detection. public void testDeadlock_threeLocks() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
checkMessage(expected, "LockB -> LockA", "LockA -> LockB"); // The causal chain should be cached. assertThat(expected.getCause()).isEqualTo(firstException.getCause()); // lockA should work after lockB is released. lockB.unlock(); lockA.lock(); } // Tests transitive deadlock detection. public void testDeadlock_threeLocks() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestQueryBuildingTest.java
public List<String> convert(String text, String field, String... langs) throws IOException { // Return multiple readings for the text - must return modifiable list // because the code calls clear() on the returned list List<String> result = new ArrayList<>(); result.add(text); result.add(text + "_reading"); return result;
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 19.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
} return null } @JvmField internal val assertionsEnabled: Boolean = OkHttpClient::class.java.desiredAssertionStatus() /** Dispatcher is not [Lockable] because we don't want that type in our public API. */ internal fun Dispatcher.assertLockNotHeld() { if (assertionsEnabled && Thread.holdsLock(this)) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.3K bytes - Click Count (1) -
guava-tests/test/com/google/common/collect/QueuesTest.java
new LinkedBlockingDeque<Object>(10), new PriorityBlockingQueue<Object>(10, Ordering.arbitrary())); } /* * We need to perform operations in a thread pool, even for simple cases, because the queue might * be a SynchronousQueue. */ private ExecutorService threadPool; @Override public void setUp() { threadPool = newCachedThreadPool(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 04 17:24:58 GMT 2025 - 12.6K bytes - Click Count (0)