- Sort Score
- Num 10 results
- Language All
Results 1931 - 1940 of 2,229 for cash (0.08 seconds)
-
android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
* StackOverflowError: We can't reliably call setException(error). * * - Any kind of Error from a listener. Even if we could distinguish that case (by exposing some * extra state from AbstractFuture), our options are limited: A call to setException() would be * a no-op. We could log, but if that's what we really want, we should modify
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 20 18:03:37 GMT 2025 - 10.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
ExceptionWithGoodAndBadConstructor.class, 1, SECONDS)); assertThat(expected).hasCauseThat().isSameInstanceAs(CHECKED_EXCEPTION); } // Edge case tests of the exception-construction code through untimed get(): @SuppressWarnings("FuturesGetCheckedIllegalExceptionType") public void testGetCheckedUntimed_exceptionClassIsRuntimeException() { assertThrows(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 16.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingMultiset.java
* the methods of the delegate. For example, overriding {@link #add(Object, int)} alone <b>will * not</b> change the behavior of {@link #add(Object)}, which can lead to unexpected behavior. In * this case, you should override {@code add(Object)} as well, either providing your own * implementation, or delegating to the provided {@code standardAdd} method. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
// For this test, we'll simulate that no auth header means we should challenge // Since we can't mock the internal transport operations easily without real network, // we'll test the simpler case where no NTLM negotiation is needed when(request.getHeader("Authorization")).thenReturn(null); filter.doFilter(request, response, filterChain); // Should challenge the clientCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 12.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
@NullMarked public final class GcFinalization { private GcFinalization() {} /** * 10 seconds ought to be long enough for any object to be GC'ed and finalized. Unless we have a * gigantic heap, in which case we scale by heap size. */ private static long timeoutSeconds() { // This class can make no hard guarantees. The methods in this class are inherently flaky, butCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:19:19 GMT 2026 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
String result = notification.toString(); assertTrue(result.contains("oplockLevel=" + oplockLevel)); } } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTests { @Test @DisplayName("Should handle minimum valid buffer size") void testMinimumBufferSize() throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/events.md
因為這些程式碼分別在應用開始接收請求**之前**與**完成**處理請求之後執行,所以涵蓋了整個應用的**生命週期**(「lifespan」這個詞稍後會很重要 😉)。 這對於為整個應用設定需要**共用**於多個請求的**資源**,以及在之後進行**清理**,非常有用。比如資料庫連線池、或載入一個共用的機器學習模型。 ## 使用情境 { #use-case } 先從一個**使用情境**開始,然後看看如何用這個機制解決。 想像你有一些要用來處理請求的**機器學習模型**。🤖 同一組模型會在多個請求間共用,所以不是每個請求或每個使用者各有一個模型。 再想像一下,載入模型**需要一段時間**,因為它必須從**磁碟**讀取大量資料。所以你不想在每個請求都做一次。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 7.2K bytes - Click Count (0) -
tests/test_schema_extra_examples.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 34.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
* * <p>For example, the subclass could pass a {@link java.util.TreeMap} during construction, and * {@link #createCollection()} could return a {@link java.util.TreeSet}, in which case the * multimap's iterators would propagate through the keys and values in sorted order. * * <p>Keys and values may be null, as long as the underlying collection classes support null * elements. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Aug 12 15:51:57 GMT 2025 - 46.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
import junit.framework.AssertionFailedError; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tester that runs automated sanity tests for any given class. A typical use case is to test static * factory classes like: * * <pre> * interface Book {...} * public class Books { * public static Book hardcover(String title) {...} * public static Book paperback(String title) {...}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 32.5K bytes - Click Count (0)