- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 105 for Invocation (0.32 sec)
-
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
* fallback}. {@link Function#apply} is not invoked until the primary input has failed, so if the * primary input succeeds, it is never invoked. If, during the invocation of {@code fallback}, an * exception is thrown, this exception is used as the result of the output {@code Future}. * * <p>Usage example: * * {@snippet :
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
public static void awaitClear(WeakReference<?> ref) { awaitDone(() -> ref.get() == null); } /** * Tries to perform a "full" garbage collection cycle (including processing of weak references and * invocation of finalize methods) and waits for it to complete. Ensures that at least one weak * reference has been cleared and one {@code finalize} method has been run before this method
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
mockName.hexCode = originalHexCode; // Create a spy to capture the state during writeQuestionSectionWireFormat NodeStatusRequest spyRequest = spy(nodeStatusRequest); doAnswer(invocation -> { // Verify hexCode is 0 during the call assertEquals(0x00, mockName.hexCode); return 40; }).when(spyRequest).writeQuestionSectionWireFormat(any(byte[].class), anyInt());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MD4.java
} // JCE methods //........................................................................... /** * Resets this object disregarding any temporary data present at the * time of the invocation of this call. */ @Override public void engineReset() { // initial values of MD4 i.e. A, B, C, D // as per rfc-1320; they are low-order byte first context[0] = 0x67452301;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
.thenReturn(resp); setTree(c, tree); // Override connectHost to avoid actual network connection on retry doAnswer(invocation -> { SmbTreeHandleImpl handle = mock(SmbTreeHandleImpl.class); // Re-set the same tree to continue using our mock setTree(c, tree); return handle;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
api/maven-api-metadata/src/main/mdo/metadata.mdo
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed May 15 17:32:27 UTC 2024 - 15.8K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
* <li>No stats are modified by operations invoked on the {@linkplain Cache#asMap asMap} view of * the cache. * </ul> * * <p>A lookup is specifically defined as an invocation of one of the methods {@link * LoadingCache#get(Object)}, {@link LoadingCache#getUnchecked(Object)}, {@link Cache#get(Object, * Callable)}, or {@link LoadingCache#getAll(Iterable)}. * * @author Charles Fry
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
// operation in the constructor. // // 1. In the listener that performs the callback. In this case it is fine since inputFuture is // assigned prior to calling addListener, and addListener happens-before any invocation of the // listener. Notably, this means that 'volatile' is unnecessary to make 'inputFuture' visible // to the listener. //
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
// Configure mock to do nothing when called mockedSMBUtil.when(() -> SMBUtil.writeInt2(anyLong(), any(byte[].class), anyInt())).thenAnswer(invocation -> null); byte[] dst = new byte[buffer.size()]; buffer.encode(dst, 0); // Verify SMBUtil.writeInt2 was called for referral level (with long parameter)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
TypeVariable<D> typeVariable = Reflection.newProxy( TypeVariable.class, new TypeVariableInvocationHandler(typeVariableImpl)); return typeVariable; } /** * Invocation handler to work around a compatibility problem between Android and Java. * * <p>Java 8 introduced a new method {@code getAnnotatedBounds()} in the {@link TypeVariable}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 23.5K bytes - Viewed (0)