- Sort Score
- Num 10 results
- Language All
Results 821 - 830 of 4,636 for should (0.06 seconds)
-
internal/cachevalue/cache.go
// The returned value can no longer be modified once returned. // Should be set before calling Get(). updateFn func(ctx context.Context) (T, error) // ttl for a cached value. ttl time.Duration opts Opts // Once can be used to initialize values for lazy initialization. // Should be set before calling Get(). Once sync.Once // Managed values. val atomic.Pointer[T]
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 12:50:46 GMT 2024 - 4.4K bytes - Click Count (0) -
tensorflow/c/eager/c_api_remote_function_test.cc
} TEST(CAPI, RemoteExecuteSilentCopiesLocalAsyncFuncOrdering) { // A remote input may be not ready when we start running a function. Test that // the function execution should wait until the remote input is ready. TestRemoteExecuteSilentCopiesFunc(/*async=*/true, /*remote=*/false, /*heavy_load_on_streaming_rpc=*/true); }Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Dec 11 22:56:03 GMT 2020 - 3.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/annotation/SecuredTest.java
String[] roles1 = secured.value(); String[] roles2 = secured.value(); // Different array instances should be returned assertNotSame(roles1, roles2); // But values should be the same assertEquals(roles1.length, roles2.length); for (int i = 0; i < roles1.length; i++) { assertEquals(roles1[i], roles2[i]); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
@DisplayName("Test edge cases in getApplyToText") void testGetApplyToTextEdgeCases() { // Test with only FLAGS_INHERIT_ONLY (should return Invalid) ace.flags = ACE.FLAGS_INHERIT_ONLY; assertEquals("Invalid", ace.getApplyToText()); // Test with FLAGS_NO_PROPAGATE (should not affect the result) ace.flags = ACE.FLAGS_OBJECT_INHERIT | ACE.FLAGS_CONTAINER_INHERIT | ACE.FLAGS_NO_PROPAGATE;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.6K bytes - Click Count (0) -
cmd/erasure-encode_test.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.8K bytes - Click Count (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/container/LastaCrawlerContainerTest.java
private CrawlerContainer crawlerContainer; @Override protected String prepareConfigFile() { return "crawler.xml"; } @Test public void test_available() { // Container should be available after initialization assertTrue(crawlerContainer.available()); } @Test public void test_getComponent_crawler() { final Crawler crawler = crawlerContainer.getComponent("crawler");Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Fri Jan 16 13:52:11 GMT 2026 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
// Act KerberosApRequest req = new KerberosApRequest(seq, null); // Assert assertEquals(ap, req.getApOptions(), "apOptions should reflect BIT STRING's first byte"); assertNull(req.getTicket(), "ticket should be null when tag 3 is absent"); } @ParameterizedTest @ValueSource(ints = { 0, 4, 6, 99 }) @DisplayName("seq ctor: invalid pvno values throw")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java
public void testRemove_size1() { assertEquals("size1Queue.remove() should return first element", e0(), getQueue().remove()); expectMissing(e0()); } @CollectionFeature.Require({KNOWN_ORDER, SUPPORTS_REMOVE}) @CollectionSize.Require(SEVERAL) public void testRemove_sizeMany() { assertEquals("sizeManyQueue.remove() should return first element", e0(), getQueue().remove()); expectMissing(e0()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.6K bytes - Click Count (0) -
tests/test_stream_cancellation.py
# cancel_scope.cancelled_caught is True when move_on_after fired. return cancel_scope.cancelled_caught or len(chunks) > 0 async def test_raw_stream_cancellation() -> None: """Raw streaming endpoint should be cancellable within a reasonable time.""" cancelled = await _run_asgi_and_cancel(app, "/stream-raw", timeout=3.0) # The key assertion: we reached this line at all (didn't hang).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 2.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java
FessUserTimeZoneProcessProvider provider2 = new FessUserTimeZoneProcessProvider(); String result1 = provider1.toString(); String result2 = provider2.toString(); // Both should have the same format structure assertTrue(result1.startsWith("FessUserTimeZoneProcessProvider:{")); assertTrue(result2.startsWith("FessUserTimeZoneProcessProvider:{")); // But different hash codes
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.2K bytes - Click Count (0)