- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 663 for func4 (0.04 sec)
-
src/runtime/metrics_test.go
type mutex struct { mu sync.Mutex } func (m *mutex) Lock1() { m.mu.Lock() } func (m *mutex) Unlock1() { m.mu.Unlock() } func (m *mutex) Lock2() { m.mu.Lock() } func (m *mutex) Unlock2() { m.mu.Unlock() } type rwmutexWrite struct { mu sync.RWMutex } func (m *rwmutexWrite) Lock1() { m.mu.Lock() } func (m *rwmutexWrite) Unlock1() { m.mu.Unlock() } func (m *rwmutexWrite) Lock2() { m.mu.Lock() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 45K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc
public: explicit ConvertEmbeddedLookupFunc(func::FuncOp func) : func_(func) {} void RewriteFunc() { func_->setAttr(kTFImplements, StringAttr::get(func_.getContext(), "embedding_lookup")); Value lookup = func_.getArgument(1); Value value = func_.getArgument(0); auto output_type = func_.getFunctionType().getResult(0); OpBuilder builder(func_.getBody());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.6K bytes - Viewed (0) -
src/internal/trace/summary_test.go
"io" "testing" ) func TestSummarizeGoroutinesTrace(t *testing.T) { summaries := summarizeTraceTest(t, "testdata/tests/go122-gc-stress.test").Goroutines var ( hasSchedWaitTime bool hasSyncBlockTime bool hasGCMarkAssistTime bool ) assertContainsGoroutine(t, summaries, "runtime.gcBgMarkWorker") assertContainsGoroutine(t, summaries, "main.main.func1") for _, summary := range summaries {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 13.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/raise_target_subgraphs.cc
ModuleOp module = getOperation(); auto& side_effect_analysis = getAnalysis<TF::SideEffectAnalysis>(); SmallVector<func::FuncOp> funcs(module.getOps<func::FuncOp>()); int func_count = -1; for (auto func : funcs) { const auto& info = side_effect_analysis.GetAnalysisForFunc(func); for (auto& block : func) { OpBuilder builder = OpBuilder::atBlockBegin(&block); RaiseTargetSubgraphsForBlock(block, builder, module,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.4K bytes - Viewed (0) -
src/runtime/crash_test.go
func TestRuntimePanicWithRuntimeError(t *testing.T) { testCases := [...]func(){ 0: func() { var m map[uint64]bool m[1234] = true }, 1: func() { ch := make(chan struct{}) close(ch) close(ch) }, 2: func() { var ch = make(chan struct{}) close(ch) ch <- struct{}{} }, 3: func() { var s = make([]int, 2) _ = s[2]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 19:46:10 UTC 2024 - 27K bytes - Viewed (0) -
src/text/template/parse/parse.go
} // peekNonSpace returns but does not consume the next non-space token. func (t *Tree) peekNonSpace() item { token := t.nextNonSpace() t.backup() return token } // Parsing. // New allocates a new parse tree with the given name. func New(name string, funcs ...map[string]any) *Tree { return &Tree{ Name: name, funcs: funcs, } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 21.3K bytes - Viewed (0) -
src/cmd/doc/pkg.go
values := typ.Consts values = append(values, typ.Vars...) for _, value := range values { for _, name := range value.Names { if isExported(name) { pkg.valueDoc(value, printed) break } } } funcs := typ.Funcs funcs = append(funcs, typ.Methods...) for _, fun := range funcs { if isExported(fun.Name) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 08 20:15:52 UTC 2024 - 32K bytes - Viewed (0) -
src/sort/gen_sort_variants.go
generate(&variants[i]) } } // generate generates the code for variant `v` into a file named by `v.Path`. func generate(v *Variant) { // Parse templateCode anew for each variant because Parse requires Funcs to be // registered, and it helps type-check the funcs. tmpl, err := template.New("gen").Funcs(v.Funcs).Parse(templateCode) if err != nil { log.Fatal("template Parse:", err) } var out bytes.Buffer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 19.6K bytes - Viewed (0) -
src/cmd/internal/obj/pcln.go
func funcpctab(ctxt *Link, func_ *LSym, desc string, valfunc func(*Link, *LSym, int32, *Prog, int32, interface{}) int32, arg interface{}) *LSym { dbg := desc == ctxt.Debugpcln dst := []byte{} sym := &LSym{ Type: objabi.SRODATA, Attribute: AttrContentAddressable | AttrPcdata, } if dbg { ctxt.Logf("funcpctab %s [valfunc=%s]\n", func_.Name, desc) } val := int32(-1) oldval := val
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 20:45:15 UTC 2022 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc
ret_operands.push_back(operand->getValue()); } builder_.create<func::ReturnOp>(func_.getLoc(), ret_operands); auto arg_types = body.getArgumentTypes(); auto result_types = body.getTerminator()->getOperandTypes(); func_.setType(FunctionType::get(func_.getContext(), arg_types, result_types)); *f = new MlirFunction(std::move(context_), std::move(module_), func_); return absl::OkStatus(); } extern "C" {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.2K bytes - Viewed (0)