- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 2,262 for once (0.02 sec)
-
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
this.function = checkNotNull(function); } @Override @SuppressWarnings({ "CatchingUnchecked", // sneaky checked exception "nullness", // TODO(b/147136275): Remove once our checker understands & and |. }) public final void run() { @RetainedLocalRef ListenableFuture<? extends I> localInputFuture = inputFuture; @RetainedLocalRef F localFunction = function;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
// After last element, hasNext should be false and calling close() should send Smb2CloseRequest once assertFalse(it.hasNext(), "Iterator should be exhausted"); // Close explicitly to exercise doCloseInternal it.close(); // Verify interactions: one create, two additional directory queries (for fetchMore), one close verify(tree, times(1)).send(argThat((Request<?> r) -> r instanceof Smb2CreateRequest));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
cmd/perf-tests.go
objAPI := newObjectLayerFn() if objAPI == nil { return SpeedTestResult{}, errServerNotInitialized } var wg sync.WaitGroup var errOnce sync.Once var retError string var totalBytesWritten uint64 var totalBytesRead uint64 objCountPerThread := make([]uint64, opts.concurrency) uploadsCtx, uploadsCancel := context.WithTimeout(ctx, opts.duration)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
* cases the consuming thread must call [close] when it has finished reading the response * body. * * ### The response body can be consumed only once. * * This class may be used to stream very large responses. For example, it is possible to use this * class to read a response that is larger than the entire memory allocated to the current process.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
public void testAddNullReference() { assertThrows(NullPointerException.class, () -> equalsTester.addEqualityGroup((Object) null)); } /** Test equalObjects after adding multiple instances at once with a null */ public void testAddTwoEqualObjectsAtOnceWithNull() { assertThrows( NullPointerException.class, () -> equalsTester.addEqualityGroup(reference, equalObject1, null)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 13.1K bytes - Viewed (0) -
cmd/object-api-interface.go
} // GetObject - TODO(aead): This function just acts as an adapter for GetObject tests and benchmarks // since the GetObject method of the ObjectLayer interface has been removed. Once, the // tests are adjusted to use GetObjectNInfo this function can be removed.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 17.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
ImmutableSet<String> copy = ImmutableSet.copyOf(sortedSet); assertNotSame(sortedSet, copy); } // TODO(b/172823566): Use mainline testToImmutableSet once CollectorTester is usable to java7. public void testToImmutableSet_java7() { ImmutableSet.Builder<String> zis = ImmutableSet.<String>builder().add("a", "b", "a");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
@DisplayName("acquire returns same instance") void acquireReturnsSameInstance() { SmbTransportImpl acquired = transport.acquire(); assertSame(transport, acquired); transport.close(); // release once } @Test @DisplayName("Server encryption key is returned for SMB1 negotiation only") void serverEncryptionKey() { // No negotiation yet -> nullRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
} @Override protected List<TestSuite> createDerivedSuites( FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<M, Entry<K, V>>> parentBuilder) { // TODO: Once invariant support is added, supply invariants to each of the // derived suites, to check that mutations to the derived collections are // reflected in the underlying map.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 26.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
* Returns an immutable <i>view</i> of this array's values as a {@code List}; note that {@code * long} values are boxed into {@link Long} instances on demand, which can be very expensive. The * returned list should be used once and discarded. For any usages beyond that, pass the returned * list to {@link com.google.common.collect.ImmutableList#copyOf(Collection) ImmutableList.copyOf} * and use that list instead. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22K bytes - Viewed (0)