- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 523 for SECOND (0.04 sec)
-
tests/helper_test.go
Company bool Manager bool Team int Languages int Friends int NamedPet bool Tools int } func GetUser(name string, config Config) *User { var ( birthday = time.Now().Round(time.Second) user = User{ Name: name, Age: 18, Birthday: &birthday, } ) if config.Account { user.Account = Account{Number: name + "_account"} }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 8K bytes - Viewed (0) -
docs/lambda/README.md
// Generate presigned GET url with lambda function presignedURL, err := s3Client.PresignedGetObject(context.Background(), "functionbucket", "testobject", time.Duration(1000)*time.Second, reqParams) if err != nil { log.Fatalln(err) } fmt.Println(presignedURL) } ``` Use the Presigned URL via `curl` to receive the transformed object. ``` curl -v $(go run presigned.go)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 7.7K bytes - Viewed (0) -
cmd/erasure-server-pool-decom.go
} return } if configRetriableErrors(err) { decomLogIf(ctx, fmt.Errorf("Unable to resume decommission of pools %v: %w: retrying..", pools, err)) time.Sleep(time.Second + time.Duration(r.Float64()*float64(5*time.Second))) continue } decomLogIf(ctx, fmt.Errorf("Unable to resume decommission of pool %v: %w", pools, err)) return } } }() } return nil }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 42.1K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
} catch (Exception e) { // Expected } long duration = System.currentTimeMillis() - startTime; // Test should complete in under 1 second (much less than the original 25+ seconds) assertTrue("Test should complete quickly (duration: " + duration + "ms)", duration < 1000); } // Fast mock implementations to minimize overhead
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
ResourceManager.ManagedResource<TestResource> managed = resourceManager.manage(resource); managed.close(); assertTrue(resource.isClosed()); // Second close should not throw assertDoesNotThrow(managed::close); } @Test @DisplayName("Test null resource registration throws exception") void testNullResourceRegistration() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
private final long retryDelay; public HandleReconnector(PersistentHandleManager manager) { this.handleManager = manager; this.maxRetries = 3; this.retryDelay = 1000; // 1 second } public CompletableFuture<SmbFile> reconnectHandle(SmbFile file, Exception cause) { String path = file.getPath(); HandleInfo info = handleManager.getHandleForReconnect(path);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
cmd/utils.go
CurvePreferences: crypto.TLSCurveIDs(), TCPOptions: globalTCPOptions, EnableHTTP2: false, } if clientCert != "" && clientKey != "" { ctx, cancel := context.WithTimeout(context.Background(), time.Second) defer cancel() transport, err := s.NewHTTPTransportWithClientCerts(ctx, clientCert, clientKey) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 33K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java
* The outer map key is the virtual host key, and the value is a pair containing: * - First: Map of exact term matches (term -> content) * - Second: List of regex pattern matches (Pattern -> content template) */ protected Map<String, Pair<Map<String, String>, List<Pair<Pattern, String>>>> relatedContentMap = Collections.emptyMap(); /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt
private lateinit var client: OkHttpClient val listener = RecordingEventListener() fun setUp(mode: Pair<CancelMode, ConnectionType>) { this.cancelMode = mode.first this.connectionType = mode.second if (connectionType == H2) { platform.assumeHttp2Support() } // Sockets on some platforms can have large buffers that mean writes do not block when
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiRequestTest.java
// First call without SAStruts.method mockRequest.setQueryString("query=test"); assertEquals(customPath, webApiRequest.getServletPath()); // Second call with SAStruts.method mockRequest.setQueryString("SAStruts.method=execute"); assertEquals(originalPath, webApiRequest.getServletPath()); // Third call without SAStruts.method again
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.5K bytes - Viewed (0)