- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 721 for scond (0.04 seconds)
-
cmd/perf-tests.go
} }() } }(index) } time.Sleep(duration) xioutil.SafeClose(r.eof) wg.Wait() for globalNetPerfRX.ActiveConnections() != 0 { time.Sleep(time.Second) } rx := float64(globalNetPerfRX.RXSample) delta := globalNetPerfRX.firstToDisconnect.Sub(globalNetPerfRX.lastToConnect) if delta < 0 { rx = 0 errStr = "network disconnection issues detected" }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.8K bytes - Click Count (0) -
cmd/admin-heal-ops.go
for { h.mutex.Lock() itemsLen = len(h.currentStatus.Items) if itemsLen == maxUnconsumedHealResultItems { // wait for a second, or quit if an external // stop signal is received or the // unconsumedTimer fires. select { // Check after a second case <-time.After(time.Second): h.mutex.Unlock() continue case <-h.ctx.Done(): h.mutex.Unlock() // discard result and return.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 25.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
Range<Integer> closedRange = Range.closed(4, 8); // first range open end, second range open start assertEquals(Range.closed(2, 4), Range.lessThan(2).gap(openRange)); assertEquals(Range.closed(2, 4), openRange.gap(Range.lessThan(2))); // first range closed end, second range open start assertEquals(Range.openClosed(2, 4), Range.atMost(2).gap(openRange));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.1K bytes - Click Count (0) -
internal/once/singleton.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 15 12:04:40 GMT 2024 - 952 bytes - Click Count (0) -
cmd/admin-handlers.go
objectAPI, _ := validateAdminReq(ctx, w, r, policy.ServerInfoAdminAction) if objectAPI == nil { return } const defaultMetricsInterval = time.Second interval, err := time.ParseDuration(r.Form.Get("interval")) if err != nil || interval < time.Second { interval = defaultMetricsInterval } n, err := strconv.Atoi(r.Form.Get("n")) if err != nil || n <= 0 { n = math.MaxInt32 }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 99.7K bytes - Click Count (0) -
tests/prepared_stmt_test.go
txCtx.Create(&user) var result1 User if err := txCtx.Find(&result1, user.ID).Error; err != nil { t.Fatalf("no error should happen but got %v", err) } time.Sleep(time.Second) var result2 User if err := tx.Find(&result2, user.ID).Error; err != nil { t.Fatalf("no error should happen but got %v", err) } user2 := *GetUser("prepared_stmt2", Config{})
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 8K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
// Mock successful but empty response when(treeHandle.send(any(), any(), (RequestParam[]) any())).thenAnswer(invocation -> { // The response is the second argument Object response = invocation.getArgument(1); // Return it unchanged (which will have default values = empty results) return response; });Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java
assertNotNull(dependency2, "Should create second dependency element"); xmlOutput = DomUtils.toXml(doc); assertTrue(xmlOutput.contains("<artifactId>test-lib</artifactId>"), "Should contain second artifactId"); } @Test void testCreatePlugin() throws Exception { String pomXml = """
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 31.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/ConflictResolver.java
/** * Determines which of the specified versions of an artifact to use when there are conflicting declarations. * * @param node1 the first artifact declaration * @param node2 the second artifact declaration * @return the artifact declaration to use: <code>node1</code>; <code>node2</code>; or <code>null</code>if * this conflict cannot be resolved * @since 3.0 */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0) -
src/archive/zip/struct.go
offsetAlias = 15 * time.Minute // E.g., Nepal at +5:45 ) offset = offset.Round(offsetAlias) if offset < minOffset || maxOffset < offset { offset = 0 } return time.FixedZone("", int(offset/time.Second)) } // msDosTimeToTime converts an MS-DOS date and time into a time.Time. // The resolution is 2s. // See: https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-dosdatetimetofiletime
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue May 28 21:41:09 GMT 2024 - 12.1K bytes - Click Count (0)