- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 721 for scond (0.02 sec)
-
tests/transaction_test.go
} } func TestTransactionWithDefaultTimeout(t *testing.T) { db, err := OpenTestConnection(&gorm.Config{DefaultTransactionTimeout: 2 * time.Second}) if err != nil { t.Fatalf("failed to connect database, got error %v", err) } tx := db.Begin() time.Sleep(3 * time.Second) if err = tx.Find(&User{}).Error; err == nil { t.Errorf("should return error when transaction timeout, got error %v", err) }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Sep 08 09:19:22 UTC 2025 - 13.3K bytes - Viewed (0) -
cmd/metacache-entries_test.go
r: metadataResolutionParams{dirQuorum: 2, objQuorum: 2, strict: true}, wantSelected: &inputSerialized[2], wantOk: true, }, { // inputSerialized[1] have older versions of the second in inputSerialized[2] name: "modtimemismatch", m: metaCacheEntries{inputSerialized[1], inputSerialized[1], inputSerialized[2], inputSerialized[2]},Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 31.6K bytes - Viewed (0) -
cmd/storage-rest-client.go
} return info, nil } // In all other cases cache the value upto 1sec. client.diskInfoCache.InitOnce(time.Second, cachevalue.Opts{}, func(ctx context.Context) (info DiskInfo, err error) { ctx, cancel := context.WithTimeout(ctx, 5*time.Second) defer cancel() nopts := DiskInfoOptions{DiskID: *client.diskID.Load(), Metrics: true}
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 08 02:38:41 UTC 2025 - 30.4K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt
* * Regular lines contain fields separated by semicolons. * * The first element on each line is a single hex code point (like 0041) or a hex code point range * (like 0030..0039). * * The second element on each line is a mapping type, like `valid` or `mapped`. * * For lines that contain a mapping target, the next thing is a sequence of hex code points (like * 0031 2044 0034). * * All other data is ignored.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/SipHashFunction.java
/** * @param c the number of compression rounds (must be positive) * @param d the number of finalization rounds (must be positive) * @param k0 the first half of the key * @param k1 the second half of the key */ SipHashFunction(int c, int d, long k0, long k1) { checkArgument( c > 0, "The number of SipRound iterations (c=%s) during Compression must be positive.", c); checkArgument(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 5.3K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor.go
m := &Monitor{ bucketsMeasurement: make(map[BucketOptions]*bucketMeasurement), bucketsThrottle: make(map[BucketOptions]*bucketThrottle), bucketMovingAvgTicker: time.NewTicker(2 * time.Second), ctx: ctx, NodeCount: numNodes, } go m.trackEWMA() return m } func (m *Monitor) updateMeasurement(opts BucketOptions, bytes uint64) { m.mlock.Lock()Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
final byte[] decoded = Base64Util.decode(encoded); assertEquals("Decoded should have same length", 2, decoded.length); assertEquals("First byte should match", twoBytes[0], decoded[0]); assertEquals("Second byte should match", twoBytes[1], decoded[1]); } /** * Test backward compatibility with standard Base64 * * @throws Exception */
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
// First call should create a new Handler URLStreamHandler handler1 = cifsContextWrapper.getUrlHandler(); assertNotNull(handler1); assertTrue(handler1 instanceof Handler); // Second call should return the same instance URLStreamHandler handler2 = cifsContextWrapper.getUrlHandler(); assertEquals(handler1, handler2); } @Test void testGetSIDResolver() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
assertTrue(authorizations.contains(mockAuthData1), "The list should contain the first mocked auth data."); assertTrue(authorizations.contains(mockAuthData2), "The list should contain the second mocked auth data."); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0) -
internal/config/identity/openid/jwt_test.go
}, { reqURL: "http://127.0.0.1:8443/?DurationSeconds=800", expectErr: true, }, { reqURL: "http://127.0.0.1:8443/?DurationSeconds=901", duration: time.Duration(901) * time.Second, }, } for i, testCase := range testCases { u, err := url.Parse(testCase.reqURL) if err != nil { t.Fatal(err) } d, err := GetDefaultExpiration(u.Query().Get("DurationSeconds"))Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.2K bytes - Viewed (0)