- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 1,774 for ways (0.04 seconds)
-
android/guava-tests/test/com/google/common/io/TestStreamSupplier.java
/** * Interface for a supplier of streams that can report whether a stream was opened and whether that * stream was closed. Intended for use in a test where only a single stream should be opened and * possibly closed. * * @author Colin Decker */ @NullUnmarked public interface TestStreamSupplier { /** Returns whether or not a new stream was opened. */ boolean wasStreamOpened();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/TestStreamSupplier.java
/** * Interface for a supplier of streams that can report whether a stream was opened and whether that * stream was closed. Intended for use in a test where only a single stream should be opened and * possibly closed. * * @author Colin Decker */ @NullUnmarked public interface TestStreamSupplier { /** Returns whether or not a new stream was opened. */ boolean wasStreamOpened();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
* This will set the state of the future to {@link OldAbstractFuture.Sync#COMPLETED} and invoke * the listeners if the state was successfully changed. * * @param value the value that was the result of the task. * @return true if the state was successfully changed. */ @CanIgnoreReturnValue protected boolean set(@Nullable V value) { boolean result = sync.set(value);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 13.8K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java
// Verify that the wrap method was called exactly once verify(dcerpcSecurityProvider, times(1)).wrap(mockNdrBuffer); } @Test void testUnwrapMethodIsCalled() throws DcerpcException { // Test that the unwrap method can be called without throwing an exception dcerpcSecurityProvider.unwrap(mockNdrBuffer); // Verify that the unwrap method was called exactly once with the mockNdrBufferCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java
// Perform the renewal boolean renewed = wrapper.renewCredentials("locationHint", null); // Verify that renew() was called and credentials were updated assertTrue(renewed, "renewCredentials should return true when renewable credentials are renewed");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
}.also { expected -> assertThat(expected.message).isEqualTo("stream was reset: CANCEL") } // Close throws because buffered data wasn't flushed. assertFailsWith<IOException> { out.close() } assertThat(connection.openStreamCount()).isEqualTo(0) // Verify the peer received what was expected. val synStream = peer.takeFrame()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 75.5K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java
* Get the location of the POM from which this POM was imported from. * Can return {@code null} if this POM was not imported. * * @return the InputLocation where this POM was imported from, or null if not imported */ public InputLocation getImportedFrom() { return importedFrom; } /** * Set the location of the POM from which this POM was imported from. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
* This will set the state of the future to {@link OldAbstractFuture.Sync#COMPLETED} and invoke * the listeners if the state was successfully changed. * * @param value the value that was the result of the task. * @return true if the state was successfully changed. */ @CanIgnoreReturnValue protected boolean set(@Nullable V value) { boolean result = sync.set(value);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 13.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/MapMaker.java
* equals} method) to determine equality for keys or values. However, if {@link #weakKeys} was * specified, the map uses identity ({@code ==}) comparisons instead for keys. Likewise, if {@link * #weakValues} was specified, the map uses identity comparisons for values. * * <p>The view collections of the returned map have <i>weakly consistent iterators</i>. This meansCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.8K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/MutableGraph.java
* * @return {@code true} if the graph was modified as a result of this call */ @CanIgnoreReturnValue boolean removeNode(N node); /** * Removes the edge connecting {@code nodeU} to {@code nodeV}, if it is present. * * @return {@code true} if the graph was modified as a result of this call */ @CanIgnoreReturnValue boolean removeEdge(N nodeU, N nodeV);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 3.8K bytes - Click Count (0)