- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 96 for acc2 (0.04 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/defaulting/surroundingobject.go
// // and: // // NewRootObjectFunc(), then acc(x) == x // NewRootObjectFunc().Index(), then acc([x]) == x // NewRootObjectFunc().Index().Child("foo"), then acc([{"foo": x}]) == x // NewRootObjectFunc().Index().Child("foo").Child("bar"), then acc([{"foo": {"bar":x}}]) == x // NewRootObjectFunc().Index().Child("foo").Child("bar").Index(), then acc([{"foo": {"bar":[x]}}]) == x
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 4.9K bytes - Viewed (0) -
src/internal/trace/gc.go
} if len(acc.wHeap) < acc.nWorst { // We don't have N windows yet, so keep accumulating. acc.bound = 1.0 } else { // Anything above the least worst window has no effect. acc.bound = math.Max(acc.bound, acc.wHeap[0].MutatorUtil) } if acc.mud != nil { if acc.lastTime != math.MaxInt64 { // Update distribution. acc.mud.add(acc.lastMU, mu, float64(time-acc.lastTime)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 26K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/cpu_assignment.go
// Otherwise pull from sockets first. acc.numaOrSocketsFirst.takeFullFirstLevel() if acc.isSatisfied() { return acc.result, nil } acc.numaOrSocketsFirst.takeFullSecondLevel() if acc.isSatisfied() { return acc.result, nil } // 2. Acquire whole cores, if available and the container requires at least // a core's-worth of CPUs. acc.takeFullCores() if acc.isSatisfied() { return acc.result, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 25 23:56:21 UTC 2024 - 36.3K bytes - Viewed (0) -
src/math/big/floatexample_test.go
z.Add(&x, &y) fmt.Printf("x = %.10g (%s, prec = %d, acc = %s)\n", &x, x.Text('p', 0), x.Prec(), x.Acc()) fmt.Printf("y = %.10g (%s, prec = %d, acc = %s)\n", &y, y.Text('p', 0), y.Prec(), y.Acc()) fmt.Printf("z = %.10g (%s, prec = %d, acc = %s)\n", &z, z.Text('p', 0), z.Prec(), z.Acc()) // Output: // x = 1000 (0x.fap+10, prec = 64, acc = Exact) // y = 2.718281828 (0x.adf85458248cd8p+2, prec = 53, acc = Exact)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 4.1K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/cpu_assignment_test.go
t.Run(tc.description, func(t *testing.T) { acc := newCPUAccumulator(tc.topo, tc.availableCPUs, tc.numCPUs) totalTaken := 0 for _, cpus := range tc.takeCPUs { acc.take(cpus) totalTaken += cpus.Size() } if tc.expectSatisfied != acc.isSatisfied() { t.Errorf("expected acc.isSatisfied() to be %t", tc.expectSatisfied) } if tc.expectFailed != acc.isFailed() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 09 17:31:37 UTC 2023 - 22.7K bytes - Viewed (0) -
test/fixedbugs/issue33355.go
} subPool.Put(sub) } func subjectStartsWithGatewayReplyPrefix(subj []byte) bool { return len(subj) > 8 && string(subj[:4]) == "foob" } func (c *client) gatewayInterest(acc, subj string) *SublistResult { ei, _ := c.gw.outsim.Load(acc) var r *SublistResult e := ei.(*outsie) r = e.sl.Match(subj) return r } func (s *Sublist) Match(subject string) *SublistResult { return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 01 02:15:18 UTC 2019 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/time_budget.go
t.Lock() defer t.Unlock() // budget accumulated since last access now := t.clock.Now() acc := now.Sub(t.last).Seconds() * t.refresh.Seconds() if acc < 0 { acc = 0 } // update current budget and store the current time if t.budget = t.budget + time.Duration(acc*1e9); t.budget > t.maxBudget { t.budget = t.maxBudget } t.last = now result := t.budget t.budget = time.Duration(0)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 2.6K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/testdata/gen_saved_models.py
@def_function.function( input_signature=[tensor_spec.TensorSpec((), dtypes.float32)]) def compute(self, value): acc, _ = while_loop.while_loop( cond=lambda acc, i: i > 0, body=lambda acc, i: (acc + i, i - 1), loop_vars=(constant_op.constant(0.0), value)) return acc to_save = Module() saved_model.save( to_save, export_dir=os.path.join(base_dir, "SimpleWhileLoop"))
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 06 21:32:57 UTC 2023 - 3.4K bytes - Viewed (0) -
pilot/pkg/security/authz/builder/testdata/http/multiple-policies-in.yaml
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 01 19:25:01 UTC 2021 - 2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/MessageBuilderHelper.java
} static Collection<String> pathTo(EdgeState edge, boolean includeLast) { List<List<EdgeState>> acc = Lists.newArrayListWithExpectedSize(1); pathTo(edge, new ArrayList<>(), acc, new HashSet<>()); List<String> result = Lists.newArrayListWithCapacity(acc.size()); for (List<EdgeState> path : acc) { EdgeState target = Iterators.getLast(path.iterator()); StringBuilder sb = new StringBuilder();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 14:19:34 UTC 2024 - 3.9K bytes - Viewed (0)