- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for Xacc (0.13 sec)
-
src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 9.7K bytes - Viewed (0) -
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/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) -
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) -
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) -
testing/distributions-integ-tests/src/integTest/groovy/org/gradle/DistributionIntegritySpec.groovy
duplicateClasses.isEmpty() } private static def collectJars(TestFile file, Collection<File> acc = []) { if (file.name.endsWith('.jar')) { acc.add(file) } if (file.isDirectory()) { file.listFiles().each { f -> collectJars(f, acc) } } acc }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.1K bytes - Viewed (0) -
test/typeparam/issue48645b.go
// return true // } // return fn(r) // }) } return FromIterator[R](IteratorFunc[R](it)) } func Reduce[T, U any](s Stream[T], identity U, acc func(U, T) U) (r U) { r = identity s.Iterate(func(t T) bool { r = acc(r, t) return true }) return r } type myIterator struct { } func (myIterator) Iterate(fn func(int) bool) { } func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 1.4K bytes - Viewed (0) -
src/cmd/go/internal/generate/generate_test.go
{"$GOFILE", []string{"proc.go"}}, {"$GOPACKAGE", []string{"sys"}}, {"a $XXNOTDEFINEDXX b", []string{"a", "", "b"}}, {"/$XXNOTDEFINED/", []string{"//"}}, {"/$DOLLAR/", []string{"/$/"}}, {"yacc -o $GOARCH/yacc_$GOFILE", []string{"go", "tool", "yacc", "-o", runtime.GOARCH + "/yacc_proc.go"}}, } func TestGenerateCommandParse(t *testing.T) { dir := filepath.Join(testenv.GOROOT(t), "src", "sys") g := &Generator{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 20 14:09:12 UTC 2022 - 7.4K bytes - Viewed (0)