- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 287 for aloop (0.07 sec)
-
guava-tests/test/com/google/common/hash/BloomFilterTest.java
public void testNoRaceConditions() throws Exception { final BloomFilter<Integer> bloomFilter = BloomFilter.create(Funnels.integerFunnel(), 15_000_000, 0.01); // This check has to be BEFORE the loop because the random insertions can // flip GOLDEN_PRESENT_KEY to true even if it wasn't explicitly inserted // (false positive). assertThat(bloomFilter.mightContain(GOLDEN_PRESENT_KEY)).isFalse();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 21.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
} } } private void recurse(int level) { // We're going to reuse the stimuli array 3^steps times by overwriting it // in a recursive loop. Sneaky. if (level == stimuli.length) { // We've filled the array. compareResultsForThisListOfStimuli(); } else { // Keep recursing to fill the array.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 21.3K bytes - Viewed (0) -
pkg/proxy/iptables/proxier.go
} metrics.SyncProxyRulesLastQueuedTimestamp.SetToCurrentTime() proxier.syncRunner.Run() } // SyncLoop runs periodic work. This is expected to run as a goroutine or as the main loop of the app. It does not return. func (proxier *Proxier) SyncLoop() { // Update healthz timestamp at beginning in case Sync() never succeeds. if proxier.healthzServer != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 65.1K bytes - Viewed (0) -
src/reflect/all_test.go
} // Test that deletes from a nil map succeed. mv.SetMapIndex(ValueOf("hi"), Value{}) } func TestChan(t *testing.T) { for loop := 0; loop < 2; loop++ { var c chan int var cv Value // check both ways to allocate channels switch loop { case 1: c = make(chan int, 1) cv = ValueOf(c) case 0: cv = MakeChan(TypeOf(c), 1) c = cv.Interface().(chan int)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
src/runtime/runtime1.go
// //go:nosplit func timediv(v int64, div int32, rem *int32) int32 { res := int32(0) for bit := 30; bit >= 0; bit-- { if v >= int64(div)<<uint(bit) { v = v - (int64(div) << uint(bit)) // Before this for loop, res was 0, thus all these // power of 2 increments are now just bitsets. res |= 1 << uint(bit) } } if v >= int64(div) { if rem != nil { *rem = 0 } return 0x7fffffff }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 19.3K bytes - Viewed (0) -
cmd/generic-handlers.go
// Check if the incoming path has bad path components, // such as ".." and "." func hasBadPathComponent(path string) bool { if len(path) > 4096 { // path cannot be greater than Linux PATH_MAX // this is to avoid a busy loop, that can happen // if the caller sends path of following style // a/a/a/a/a/a/a/a... return true } path = filepath.ToSlash(strings.TrimSpace(path)) // For windows '\' must be converted to '/'
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 06 01:01:15 UTC 2024 - 20.4K bytes - Viewed (0) -
pkg/scheduler/schedule_one.go
// This relies on the fact that Error will check if the pod has been bound // to a node and if so will not add it back to the unscheduled pods queue // (otherwise this would cause an infinite loop). return ScheduleResult{nominatingInfo: clearNominatedNode}, assumedPodInfo, framework.AsStatus(err) } // Run the Reserve method of reserve plugins.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 13:28:08 UTC 2024 - 43.4K bytes - Viewed (0) -
cmd/iam-object-store.go
return fmt.Errorf("unable to load user during STS purge: %w (%s)", err, item) } } // Loading the STS policy mappings from disk ensures that stale entries // (removed during loadUser() in the loop above) are removed from memory. for _, item := range listedConfigItems[policyDBSTSUsersListKey] { stsName := strings.TrimSuffix(item, ".json")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 19.5K bytes - Viewed (0) -
src/net/lookup_test.go
continue } names, err := LookupAddr("127.0.0.1") fixup() if err != nil { t.Logf("#%d: %v", i, err) continue } mode := "netgo" if i == 1 { mode = "netcgo" } loop: for i, name := range names { if strings.Index(name, ".") == len(name)-1 { // "localhost" not "localhost." for j := range names { if j == i { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
int value_count = init_values.size() + 1; // Prepend a loop induction variable to the initial values. SmallVector<Value, 2> init_values_with_loop_iv; SmallVector<Type, 2> init_types_with_loop_iv; init_values_with_loop_iv.reserve(value_count); init_types_with_loop_iv.reserve(value_count); // The initial value for the loop induction variable is 0. init_values_with_loop_iv.push_back(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0)