Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 5,910 for after8 (0.12 sec)

  1. internal/store/batch_test.go

    		t.Fatalf("Expected length of the batch keys to be 1 but got %v", len(items))
    	}
    	// try adding again after Get.
    	for i := 0; i < int(limit); i++ {
    		if err := batch.Add(i, i); err != nil {
    			t.Fatalf("failed to add item %v to batch after Get; %v", i, err)
    		}
    		if _, ok := batch.GetByKey(i); !ok {
    			t.Fatalf("failed to get the item by key %v after adding", i)
    		}
    	}
    }
    
    func TestBatchWithConcurrency(t *testing.T) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Oct 07 15:07:38 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. cmd/api-resources_test.go

    				"continuation-token": []string{"dG9rZW4="},
    				"start-after":        []string{"start-after"},
    				"delimiter":          []string{SlashSeparator},
    				"fetch-owner":        []string{"true"},
    				"max-keys":           []string{"100"},
    				"encoding-type":      []string{"gzip"},
    			},
    			prefix:       "photos/",
    			token:        "token",
    			startAfter:   "start-after",
    			delimiter:    SlashSeparator,
    			fetchOwner:   true,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  3. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/legacy/BuildScanEndOfBuildNotifierIntegrationTest.groovy

            """
        }
    
        def "can observe successful build after completion of user logic and build outcome is reported"() {
            when:
            buildFile << """
                notifier.notify {
                    println "failure is null: \${it.failure == null}"
                }
                // user logic registered _after_ listener registered
                gradle.projectsEvaluated {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. src/runtime/semasleep_test.go

    			cmd.Wait()
    		}
    	})
    
    	// Wait for After1 to close its stdout so that we know the runtime's SIGIO
    	// handler is registered.
    	b, err := io.ReadAll(stdout)
    	if len(b) > 0 {
    		t.Logf("read from testprog stdout: %s", b)
    	}
    	if err != nil {
    		t.Fatalf("error reading from testprog: %v", err)
    	}
    
    	// Wait for child exit.
    	//
    	// Note that we must do this after waiting for the write/child end of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:48:24 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. cmd/metacache-entries.go

    			fiv, err := entry.fileInfoVersions(bucket)
    			if err != nil {
    				continue
    			}
    
    			fiVersions := fiv.Versions
    			if afterV != "" {
    				vidMarkerIdx := fiv.findVersionIndex(afterV)
    				if vidMarkerIdx >= 0 {
    					fiVersions = fiVersions[vidMarkerIdx+1:]
    				}
    				afterV = ""
    			}
    
    			for _, version := range fiVersions {
    				versioned := vcfg != nil && vcfg.Versioned(entry.name)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 04:34:26 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. cmd/object-api-deleteobject_test.go

    			t.Errorf("Test %d: %s: mismatch number of objects after delete, expected = %v, found = %v", i+1, instanceType, testCase.objectsAfterDelete, result.Objects)
    			continue
    		}
    
    		for idx := range result.Objects {
    			if result.Objects[idx].Name != testCase.objectsAfterDelete[idx] {
    				t.Errorf("Test %d: %s: Unexpected object found after delete, found = `%v`", i+1, instanceType, result.Objects[idx].Name)
    			}
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  7. cmd/bucket-object-lock.go

    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. internal/handlers/proxy.go

    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 22 00:56:55 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. cmd/metacache.go

    	case cache.finished() && time.Since(cache.lastHandout) > 5*metacacheMaxClientWait:
    		// Keep for 15 minutes after we last saw the client.
    		// Since the cache is finished keeping it a bit longer doesn't hurt us.
    		return false
    	case cache.status == scanStateError || cache.status == scanStateNone:
    		// Remove failed listings after 5 minutes.
    		return time.Since(cache.lastUpdate) > 5*time.Minute
    	}
    	return true
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. internal/dsync/dsync_test.go

    	dm.Unlock(context.Background())
    }
    
    // Test two locks for same resource, one succeeds, one fails (after timeout)
    func TestTwoSimultaneousLocksForSameResource(t *testing.T) {
    	dm1st := NewDRWMutex(ds, "aap")
    	dm2nd := NewDRWMutex(ds, "aap")
    
    	dm1st.Lock(id, source)
    
    	// Release lock after 10 seconds
    	go func() {
    		time.Sleep(5 * testDrwMutexAcquireTimeout)
    		// fmt.Println("Unlocking dm1")
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 24 03:49:07 UTC 2022
    - 11K bytes
    - Viewed (0)
Back to top