- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 721 for scond (0.03 sec)
-
src/test/java/jcifs/smb/SIDTest.java
} @Test @DisplayName("Binary constructor with invalid sub_authority_count throws RuntimeCIFSException") void testBinaryConstructorInvalidCount() { // Arrange: second byte is sub_authority_count > 100 byte[] bytes = new byte[1 + 1 + 6]; bytes[0] = 1; // revision bytes[1] = (byte) 101; // invalid count // Act + AssertRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
tests/lru_test.go
t.Errorf("Expected key1 to exist, but it was evicted") } } func TestLRU_Add_Eviction(t *testing.T) { lru := lru.NewLRU[string, int](0, nil, time.Second*2) lru.Add("key1", 1) lru.Add("key2", 2) lru.Add("key3", 3) time.Sleep(time.Second * 3) if lru.Cap() != 0 { t.Errorf("Expected lru to be empty, but it was not") } } func BenchmarkLRU_Rand_NoExpire(b *testing.B) {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Sep 08 09:19:22 UTC 2025 - 10.4K bytes - Viewed (0) -
cmd/batch-expire.go
func (r BatchJobExpire) Notify(ctx context.Context, body io.Reader) error { if r.NotificationCfg.Endpoint == "" { return nil } ctx, cancel := context.WithTimeout(ctx, 10*time.Second) defer cancel() req, err := http.NewRequestWithContext(ctx, http.MethodPost, r.NotificationCfg.Endpoint, body) if err != nil { return err } if r.NotificationCfg.Token != "" {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Apr 22 11:16:32 UTC 2025 - 23K bytes - Viewed (0) -
cmd/object-handlers-common.go
func ifModifiedSince(objTime time.Time, givenTime time.Time) bool { // The Date-Modified header truncates sub-second precision, so // use mtime < t+1s instead of mtime <= t to check for unmodified. return !objTime.Before(givenTime.Add(1 * time.Second)) } // canonicalizeETag returns ETag with leading and trailing double-quotes removed, // if any present
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jul 23 12:36:06 UTC 2025 - 15.2K bytes - Viewed (0) -
cmd/erasure.go
// This goroutine owns the cache. var saverWg sync.WaitGroup saverWg.Add(1) go func() { // Add jitter to the update time so multiple sets don't sync up. updateTime := 30*time.Second + time.Duration(float64(10*time.Second)*rand.Float64()) t := time.NewTicker(updateTime) defer t.Stop() defer saverWg.Done() var lastSave time.Time for { select { case <-t.C:
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
// Test first host NbtAddress result = lmhosts.getByName("TESTHOST", mockContext); assertNotNull(result); assertEquals("TESTHOST", result.getHostName()); // Test second host result = lmhosts.getByName("SERVER01", mockContext); assertNotNull(result); assertEquals("SERVER01", result.getHostName()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
byte[] data1 = new byte[] { 0x01, 0x02, 0x03, 0x04 }; digest.update(data1, 0, data1.length); byte[] result1 = digest.digest(); assertNotNull(result1); // Second cycle byte[] data2 = new byte[] { 0x05, 0x06, 0x07, 0x08 }; digest.update(data2, 0, data2.length); byte[] result2 = digest.digest(); assertNotNull(result2);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriterTest.java
assertNotNull(result1); assertFalse(result1.hasFailure()); runner.refresh(); // Second write with update SuggestItem updatedItem = new SuggestItem(new String[] { "テスト" }, readings, new String[] { "content" }, 2, 0, -1,
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 18.2K bytes - Viewed (0) -
docs/es/docs/tutorial/dependencies/sub-dependencies.md
Esto es bastante simple (no muy útil), pero nos ayudará a centrarnos en cómo funcionan las sub-dependencias. ## Segunda dependencia, "dependable" y "dependant" { #second-dependency-dependable-and-dependant } Luego puedes crear otra función de dependencia (un "dependable") que al mismo tiempo declare una dependencia propia (por lo que también es un "dependant"):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java
final InputStream in2 = new ByteArrayInputStream("data2".getBytes()); // First call extractor.testValidateInputStream(in1); // Second call with different stream extractor.testValidateInputStream(in2); // Third call with null should still throw try { extractor.testValidateInputStream(null);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.4K bytes - Viewed (0)