- Sort Score
- Result 10 results
- Languages All
Results 521 - 530 of 1,071 for call1 (0.28 sec)
-
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
} } return allOverloads.build().asList(); } // 'test' to demonstrate some potentially ambiguous overloads. This 'test' is kind of strange, // but essentially each line will be a call to a Preconditions method that, but for a documented // change would be a compiler error. // See http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.12.2 for the spec on // how javac selects overloadsRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/MessageTest.java
}; } @Test void testRetainPayload() { // Initially, retainPayload should be false assertFalse(message.isRetainPayload(), "isRetainPayload should be false initially"); // Call retainPayload and check if it becomes true message.retainPayload(); assertTrue(message.isRetainPayload(), "isRetainPayload should be true after calling retainPayload"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
@Test @DisplayName("Interactions: Mockito mock has no interactions by default") void testMockitoNoInteractions() { // Intent: ensure we can mock the interface and verify no unexpected calls // Act & Assert assertNotNull(mocked); verifyNoInteractions(mocked); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Service.java
* suggested that listeners are added before the service starts. * * <p>{@code addListener} guarantees execution ordering across calls to a given listener but not * across calls to multiple listeners. Specifically, a given listener will have its callbacks * invoked in the same order as the underlying service enters those states. Additionally, at mostRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 10.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* the factory that created it. * * <p>Note, however, that although multiple locks can be created for a given Enum value, whether * it be through separate factory instances or through multiple calls to the same factory, * attempting to acquire multiple locks with the same Enum value (within the same thread) will * result in an IllegalStateException regardless of the factory's policy. For example: *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 17:06:34 UTC 2025 - 35.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
verify(tree).send(reqCap.capture(), any(), any(), any()); assertTrue(reqCap.getValue() instanceof Smb2ChangeNotifyRequest); } // call() should delegate to watch() and return the same list @Test @DisplayName("call() delegates to watch() and returns same result") void call_delegatesToWatch() throws Exception { List<FileNotifyInformation> info = new ArrayList<>();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
verify(mockHandle).sendrecv(captor.capture()); assertEquals("\\\\", captor.getValue().system_name); // Verify server name in RPC call } } @Test void testConstructor_FallbackToConnect2() throws IOException { // Test case: Constructor with DCERPC_FAULT_OP_RNG_ERROR, should fallback to MsrpcSamrConnect2
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
boolean expectNew) { // Arrange: create an implementation instance SmbRenewableCredentials impl = supplier.get(); // Act: call renew CredentialsInternal renewed = impl.renew(); // Assert: verify behavior based on scenario if (expectSame) { assertSame(impl, renewed, "renew() should return the same instance");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond" * syntax</a>. */ @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call public static <E extends @Nullable Object> HashSet<E> newHashSet() { return new HashSet<>(); } /** * Creates a <i>mutable</i> {@code HashSet} instance initially containing the given elements. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 81.6K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
assertTrue(ntlmConnection.getInstanceFollowRedirects()); assertEquals("application/json", ntlmConnection.getRequestProperty("Accept")); } /** * Test that connect() calls connect() on the underlying connection. * @throws IOException */ @Test void testConnect() throws Exception { // Act ntlmConnection.connect(); // Assert
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0)