- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for _Accum (0.11 sec)
-
src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go
} ft = &FixedType{Base: base, Accum: ft.Accum, Sat: ft.Sat} if r := fn(ft); r != nil { return r } return ft } func (ft *FixedType) GoString() string { return ft.goString(0, "") } func (ft *FixedType) goString(indent int, field string) string { return fmt.Sprintf("%*s%sFixedType: Accum: %t; Sat: %t\n%s", indent, "", field, ft.Accum, ft.Sat,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 105.8K bytes - Viewed (0) -
misc/cgo/gmp/pi.go
} return tmp1.Int64() } func nextTerm(k int64) { y2 := k*2 + 1 accum.Add(accum, tmp1.Lsh(numer, 1)) accum.Mul(accum, tmp1.SetInt64(y2)) numer.Mul(numer, tmp1.SetInt64(k)) denom.Mul(denom, tmp1.SetInt64(y2)) } func eliminateDigit(d int64) { accum.Sub(accum, tmp1.Mul(denom, tmp1.SetInt64(d))) accum.Mul(accum, ten) numer.Mul(numer, ten) } func main() { i := 0 k := int64(0) for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 10 22:32:35 UTC 2023 - 1.3K bytes - Viewed (0) -
test/fixedbugs/bug364.go
// license that can be found in the LICENSE file. package main import "fmt" var s string func accum(args ...interface{}) { s += fmt.Sprintln(args...) } func f(){ v := 0.0 for i := 0; i < 3; i++ { v += 0.1 defer accum(v) } } func main() { f() if s != "0.30000000000000004\n0.2\n0.1\n" { println("BUG: defer") print(s) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:59 UTC 2012 - 459 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td
) ), // accum_new = accum + grad * grad (TF_AddV2Op:$accum_new (CreateTFReadVariableOp $src_op, $grad, $accum), (TF_SquareOp $grad) ), // if multiply_linear_by_lr: // linear += grad_with_shrinkage * lr - (accum_new^(-lr_power) - accum^(-lr_power)) * var // else: // linear += grad_with_shrinkage - (accum_new^(-lr_power) - accum^(-lr_power)) / lr * var
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 20.7K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump.go
switch v := obj.(type) { case map[string]any: accum := make([]string, 0) for key, vv := range v { childwalk, err := walk(fmt.Sprintf("%s%s%s", path, separator, pathComponent(key)), ".", vv) if err != nil { return accum, err } accum = append(accum, childwalk...) } return accum, nil case []any: accum := make([]string, 0) for idx, vv := range v {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 7.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/CollectorTester.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 6.5K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/cpu-profile.go
// otherwise TestCPUProfileMultithreaded can fail if only one // thread is scheduled during the testing period. t0 := time.Now() accum := *y for i := 0; i < 500 || time.Since(t0) < dur; i++ { accum = f(accum) } *y = accum } var ( salt1 = 0 ) // The actual CPU hogging function. // Must not call other functions nor access heap/globals in the loop,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.8K bytes - Viewed (0) -
guava/src/com/google/common/math/IntMath.java
default: // continue below to handle the general case } int accum = 1; while (true) { switch (k) { case 0: return accum; case 1: return checkedMultiply(accum, b); default: if ((k & 1) != 0) { accum = checkedMultiply(accum, b); } k >>= 1; if (k > 0) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 23.5K bytes - Viewed (0) -
test/closure.go
x64 = 201 f(500) } func newfunc() func(int) int { return func(x int) int { return x } } func main() { runtime.GOMAXPROCS(1) var fail bool go f() check([]int{1, 4, 5, 4}) a := accum(0) b := accum(1) go g(a, b) check([]int{2, 4, 6, 9}) go h() check([]int{100, 200, 101, 201, 500, 101, 201, 500}) memstats := new(runtime.MemStats) runtime.ReadMemStats(memstats) n0 := memstats.Mallocs
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Jul 01 17:59:50 UTC 2012 - 1.7K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/bitmask/bitmask.go
func IterateBitMasks(bits []int, callback func(BitMask)) { var iterate func(bits, accum []int, size int) iterate = func(bits, accum []int, size int) { if len(accum) == size { mask, _ := NewBitMask(accum...) callback(mask) return } for i := range bits { iterate(bits[i+1:], append(accum, bits[i]), size) } } for i := 1; i <= len(bits); i++ { iterate(bits, []int{}, i)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 09:45:09 UTC 2022 - 5.1K bytes - Viewed (0)