- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for countBuf (4.2 sec)
-
src/runtime/profbuf.go
return uint32(x >> 34) } // countSub subtracts two counts obtained from profIndex.dataCount or profIndex.tagCount, // assuming that they are no more than 2^29 apart (guaranteed since they are never more than // len(data) or len(tags) apart, respectively). // tagCount wraps at 2^30, while dataCount wraps at 2^32. // This function works for both. func countSub(x, y uint32) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 18.2K bytes - Viewed (0) -
src/runtime/stack_test.go
countIn, countOut := 0, 0 frames := CallersFrames(pcs) var tb strings.Builder for { frame, more := frames.Next() fmt.Fprintf(&tb, "\n%s+0x%x %s:%d", frame.Function, frame.PC-frame.Entry, frame.File, frame.Line) switch frame.Function { case "runtime.TracebackSystemstack": countIn++ case "runtime_test.TestTracebackSystemstack": countOut++ } if !more { break
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 23.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc
// input and the outputs are all using this type). Type control_type = ControlType::get(parser.getBuilder().getContext()); if (FunctionType type = mlir::dyn_cast<FunctionType>(types.front())) { if (llvm::count_if(type.getInputs(), [=](Type type) { return type != control_type; }) != 1) return parser.emitError(parser.getNameLoc()) << " expects a single data type";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 42.7K bytes - Viewed (0)