- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 72 for CNT (0.03 sec)
-
src/runtime/testdata/testprogcgo/callback.go
//export go_callback func go_callback() { if e := extraMInUse.Load(); e == 0 { fmt.Printf("in callback extraMInUse got %d want >0\n", e) os.Exit(1) } runtime.GC() grow() runtime.GC() } var cnt int func grow() { x := 10000 sum := 0 if grow1(&x, &sum) == 0 { panic("bad") } } func grow1(x, sum *int) int { if *x == 0 { return *sum + 1 } *x-- sum1 := *sum + *x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 01 14:05:01 UTC 2023 - 1.9K bytes - Viewed (0) -
src/go/scanner/scanner_test.go
} if tok0 != token.ILLEGAL && lit0 != lit { t.Errorf("%q: got literal %q, expected %q", src, lit0, lit) } cnt := 0 if err != "" { cnt = 1 } if h.cnt != cnt { t.Errorf("%q: got cnt %d, expected %d", src, h.cnt, cnt) } if h.msg != err { t.Errorf("%q: got msg %q, expected %q", src, h.msg, err) } if h.pos.Offset != pos {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 15:38:31 UTC 2023 - 34.6K bytes - Viewed (0) -
src/cmd/compile/internal/wasm/ssa.go
arch.SSAGenValue = ssaGenValue arch.SSAGenBlock = ssaGenBlock } func zeroRange(pp *objw.Progs, p *obj.Prog, off, cnt int64, state *uint32) *obj.Prog { if cnt == 0 { return p } if cnt%8 != 0 { base.Fatalf("zerorange count not a multiple of widthptr %d", cnt) } for i := int64(0); i < cnt; i += 8 { p = pp.Append(p, wasm.AGet, obj.TYPE_REG, wasm.REG_SP, 0, 0, 0, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 00:21:13 UTC 2023 - 17.6K bytes - Viewed (0) -
src/runtime/runtime-gdb.py
k = b['keys'][i] v = b['values'][i] if flags & 1: k = k.dereference() if flags & 2: v = v.dereference() yield str(cnt), k yield str(cnt + 1), v cnt += 2 bp = b['overflow'] class ChanTypePrinter: """Pretty print chan[T] types. Chan-typed go variables are really pointers. dereference them in gdb
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 10 12:59:20 UTC 2023 - 15.4K bytes - Viewed (0) -
src/cmd/link/elf_test.go
} sec = ef.Section(".note.go.buildid") if sec == nil { t.Fatalf("can't find go build id") } cnt := 0 for _, ph := range ef.Progs { if ph.Type == elf.PT_NOTE { cnt += 1 } } if cnt != expected { t.Fatalf("want %d PT_NOTE segment, got %d", expected, cnt) } } const pieSourceTemplate = ` package main import "fmt"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 16:34:01 UTC 2023 - 13.7K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/jmh/java/org/gradle/OptionalBenchmark.java
import java.nio.file.Path; import java.nio.file.Paths; import java.util.Optional; import static java.util.concurrent.TimeUnit.SECONDS; /* * Benchmark Mode Cnt Score Error Units * OptionalBenchmark.nullCheck thrpt 20 107887111.061 ± 882182.482 ops/s * OptionalBenchmark.optional thrpt 20 86746312.090 ± 1150860.296 ops/s **/ @Fork(2)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 2.2K bytes - Viewed (0) -
cmd/endpoint-ellipses.go
// in least number of total_drives/total_drives_erasure_set ratio. prevD := divisibleSize / setCounts[0] for _, cnt := range setCounts { if divisibleSize%cnt == 0 { d := divisibleSize / cnt if d <= prevD { prevD = d setSize = cnt } } } return setSize } // possibleSetCountsWithSymmetry returns symmetrical setCounts based on the
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 14.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/plan9x.go
case 3: c[1], c[2] = c[2], c[1] // .8B -> .B8 case 4: c[1], c[2], c[3] = c[3], c[1], c[2] // 16B -> B16 } arrange = string(c) result += arrange if a.cnt > 0 { result = "[" + result for i := 1; i < int(a.cnt); i++ { cur := V0 + Reg((uint16(a.r)-uint16(V0)+uint16(i))&31) result += ", " + cur.String() + arrange } result += "]" } return result
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 16 22:24:28 UTC 2022 - 17K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_weights.mlir
// CHECK: %[[WHILE:.*]] = "tf.While"(%[[CNT]], %[[CNT]], %[[CNT]], %arg0, %[[DEQUANTIZED]]) <{body = @while_body, cond = @while_cond, is_stateless = true, parallel_iterations = 10 : i64, shape_invariant}> {T = [i32, i32, i32, f32, f32], _lower_using_switch_merge = true, _num_original_outputs = 5 : i64, _read_only_resource_inputs = [], device = "",...
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 42K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/func_test.go
// number of opcodes that appear in the function. func checkOpcodeCounts(t *testing.T, f *Func, m map[Op]int) { n := opcodeMap(f) for op, cnt := range m { if n[op] != cnt { t.Errorf("%s appears %d times, want %d times", op, n[op], cnt) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:01:04 UTC 2023 - 13.1K bytes - Viewed (0)