- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 1,243 for was (0.05 sec)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java
// Verify child groupId was removed (matches parent, can be inferred) assertNull(childRoot.child("groupId").orElse(null)); // Verify child version was kept (differs from parent, cannot be inferred) assertNotNull(childRoot.child("version").orElse(null)); // Verify child artifactId was kept (always required)Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 35.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
@Test public void testClose() throws CIFSException { assertDoesNotThrow(() -> smbPipeHandle.close(), "close() should not throw an exception on a mock object."); // Verify that the close method was called Mockito.verify(smbPipeHandle).close(); } /** * Verifies that the isOpen method returns true for an open handle. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java
/** * Returns the unique name of this path type, including the module to patch if any. * For example, if this type is {@link JavaPathType#MODULES}, then this method returns {@code "MODULES"}. * But if this type was created by {@code JavaPathType.patchModule("foo.bar")}, then this method returns * {@code "PATCH_MODULE:foo.bar"}. * * @return the programmatic name together with the module name on which it appliesRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Jan 07 12:02:00 UTC 2025 - 5K bytes - Viewed (0) -
cmd/api-response_test.go
} } func TestTrackingResponseWriter(t *testing.T) { rw := httptest.NewRecorder() trw := &trackingResponseWriter{ResponseWriter: rw} trw.WriteHeader(123) if !trw.headerWritten { t.Fatal("headerWritten was not set by WriteHeader call") } _, err := trw.Write([]byte("hello")) if err != nil { t.Fatalf("Write unexpectedly failed: %v", err) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 24 04:05:19 UTC 2025 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
import java.util.logging.Level; import org.jspecify.annotations.Nullable; /** * A {@link Closeable} that collects {@code Closeable} resources and closes them all when it is * {@linkplain #close closed}. This was intended to approximately emulate the behavior of Java 7's * <a href="http://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html"Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0) -
internal/deadlineconn/deadlineconn.go
readSetAt time.Time writeDeadline time.Duration // sets the write deadline on a connection. writeSetAt time.Time abortReads, abortWrites atomic.Bool // A deadline was set to indicate caller wanted the conn to time out. infReads, infWrites atomic.Bool mu sync.Mutex } // Unwrap will unwrap the connection and remove the deadline if applied.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Dec 02 13:21:17 UTC 2024 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
for (Service service : copy) { service.addListener(new ServiceListener(service, stateReference), directExecutor()); // We check the state after adding the listener as a way to ensure that our listener was added // to a NEW service. checkArgument(service.state() == NEW, "Can only manage NEW services, %s", service); } // We have installed all of our listeners and after this point any state transition should be
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 33.2K bytes - Viewed (1) -
guava/src/com/google/common/util/concurrent/ServiceManager.java
for (Service service : copy) { service.addListener(new ServiceListener(service, stateReference), directExecutor()); // We check the state after adding the listener as a way to ensure that our listener was added // to a NEW service. checkArgument(service.state() == NEW, "Can only manage NEW services, %s", service); } // We have installed all of our listeners and after this point any state transition should be
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 32.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
System.arraycopy(testData, 0, buffer, 10, testData.length); int result = response.readDataWireFormat(buffer, 10, testData.length); assertEquals(testData.length, result); // Verify data was copied to outputBuffer byte[] expectedData = new byte[testData.length]; System.arraycopy(outputBuffer, 0, expectedData, 0, testData.length); assertArrayEquals(testData, expectedData); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt
) override val sink = FramingSink( finished = outFinished, ) internal val readTimeout = StreamTimeout() internal val writeTimeout = StreamTimeout() /** * The reason why this stream was closed, or null if it closed normally or has not yet been * closed. * * If there are multiple reasons to abnormally close this stream (such as both peers closing itRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 22.4K bytes - Viewed (0)