- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 1,116 for would (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java
/** Returns the sample elements that this generate populates its container with. */ SampleElements<E> samples(); /** * Creates a new container containing the given elements. TODO: would be nice to figure out how to * use E... or E[] as a parameter type, but this doesn't seem to work because Java creates an * array of the erased type. */ T create(Object... elements); /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.4K bytes - Click Count (0) -
src/archive/tar/fuzz_test.go
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Jan 13 18:06:33 GMT 2022 - 2.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt
override fun <T : Any> get(key: KClass<T>): T? = null override fun toString() = "{}" } /** * An invariant of this implementation is that [next] must not contain a mapping for [key]. * Otherwise, we would have two values for the same key. */ private class LinkedTags<K : Any>( private val key: KClass<K>, private val value: K, private val next: Tags, ) : Tags() { override fun <T : Any> plus(
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 24 11:37:46 GMT 2025 - 3.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
assertThat(orig.toString()) .contains("Exception thrown from implementation: class java.lang.StackOverflowError"); } // Regression test for a case where we would fail to execute listeners immediately on done futures // this would be observable from an afterDone callback public void testListenersExecuteImmediately_fromAfterDone() { AbstractFuture<String> f = new AbstractFuture<String>() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 46.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
implements ListenableFuture<V> { // TODO(cpovirk): explore ways of making ListenableFutureTask final. There are some valid reasons // such as BoundedQueueExecutorService to allow extends but it would be nice to make it final to // avoid unintended usage. // The execution list to hold our listeners. private final ExecutionList executionList = new ExecutionList(); /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.2K bytes - Click Count (0) -
guava/src/com/google/common/io/CharStreams.java
total += buf.remaining(); Java8Compatibility.clear(buf); } return total; } // TODO(lukes): consider allowing callers to pass in a buffer to use, some callers would be able // to reuse buffers, others would be able to size them more appropriately than the constant // defaults /** * Copies all characters between the {@link Reader} and {@link StringBuilder} objects. Does not
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 29 13:56:24 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
resp.received = true; session.transport(); // initialise transport // Mock the sessionSetup behavior to avoid actual network calls // The sessionSetup method would normally send authentication messages // Only mark the sessionSetup response as received, not the actual request/response doAnswer(invocation -> { ServerMessageBlock request = invocation.getArgument(0);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/TransportTest.java
transport.release(); assertEquals(beforeRelease - 1, transport.getUsageCount()); } @Test @DisplayName("release should throw exception when usage count would go negative") void shouldThrowOnNegativeUsage() { transport.release(); // Make it 0 assertThrows(RuntimeCIFSException.class, transport::release); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
docs/en/docs/tutorial/cors.md
To achieve this, the `:80`-backend must have a list of "allowed origins". In this case, the list would have to include `http://localhost:8080` for the `:8080`-frontend to work correctly. ## Wildcards { #wildcards } It's also possible to declare the list as `"*"` (a "wildcard") to say that all are allowed.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 5.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Function.java
* * <p>Historically, {@code Function} instances in this library have implemented this method to * recognize certain cases where distinct {@code Function} instances would in fact behave * identically. However, as code migrates to {@code java.util.function}, that behavior will * disappear. It is best not to depend on it. */ @Override boolean equals(@Nullable Object obj);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Apr 15 22:14:00 GMT 2025 - 2.6K bytes - Click Count (0)