Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 445 for Invokes (0.14 sec)

  1. src/runtime/stubs.go

    // The compiler rewrites calls to this function into instructions
    // that fetch the g directly (from TLS or from the dedicated register).
    func getg() *g
    
    // mcall switches from the g to the g0 stack and invokes fn(g),
    // where g is the goroutine that made the call.
    // mcall saves g's current PC/SP in g->sched so that it can be restored later.
    // It is up to fn to arrange for that later execution, typically by recording
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  2. src/text/template/funcs.go

    // Execute returns that error.
    //
    // Errors returned by Execute wrap the underlying error; call [errors.As] to
    // unwrap them.
    //
    // When template execution invokes a function with an argument list, that list
    // must be assignable to the function's parameter types. Functions meant to
    // apply to arguments of arbitrary type can use parameters of type interface{} or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. src/flag/flag_test.go

    	if !*before || cmd != "subcmd" || !*after || len(args) != 1 || args[0] != "args" {
    		t.Fatalf("expected true subcmd true [args] got %v %v %v %v", *before, cmd, *after, args)
    	}
    }
    
    // Test that -help invokes the usage message and returns ErrHelp.
    func TestHelp(t *testing.T) {
    	var helpCalled = false
    	fs := NewFlagSet("help test", ContinueOnError)
    	fs.Usage = func() { helpCalled = true }
    	var flag bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ir/func.go

    		}
    	}
    	for i := lastSlashIdx; i < len(name); i++ {
    		r := name[i]
    		if r == '.' {
    			return name[:i], name[i+1:]
    		}
    	}
    
    	return "", name
    }
    
    var CurFunc *Func
    
    // WithFunc invokes do with CurFunc and base.Pos set to curfn and
    // curfn.Pos(), respectively, and then restores their previous values
    // before returning.
    func WithFunc(curfn *Func, do func()) {
    	oldfn, oldpos := CurFunc, base.Pos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. src/runtime/cgocall.go

    //
    // runtime.asmcgocall (in asm_$GOARCH.s) switches to the m->g0 stack
    // (assumed to be an operating system-allocated stack, so safe to run
    // gcc-compiled code on) and calls _cgo_Cfunc_f(frame).
    //
    // _cgo_Cfunc_f invokes the actual C function f with arguments
    // taken from the frame structure, records the results in the frame,
    // and returns to runtime.asmcgocall.
    //
    // After it regains control, runtime.asmcgocall switches back to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  6. src/testing/benchmark.go

    			}
    		}
    	}
    }
    
    // If hideStdoutForTesting is true, Run does not print the benchName.
    // This avoids a spurious print during 'go test' on package testing itself,
    // which invokes b.Run in its own tests (see sub_test.go).
    var hideStdoutForTesting = false
    
    // Run benchmarks f as a subbenchmark with the given name. It reports
    // whether there were any failures.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/rsc.io/markdown/inline.go

    		if the closer at current pos is not an opener, remove it
    
    seems needlessly complex. two passes
    
    scan and find ` ` first.
    
    pass 1. scan and find [ and ]() and leave the rest alone.
    
    each completed one invokes emphasis on inner text and then on the overall list.
    
    */
    
    type Inline interface {
    	PrintHTML(*bytes.Buffer)
    	PrintText(*bytes.Buffer)
    	printMarkdown(*bytes.Buffer)
    }
    
    type Plain struct {
    	Text string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/aot/codegen.cc

    //
    //   {{CLASS}} computation;
    //   // ...set args using computation.argN methods
    //   CHECK(computation.Run());
    //   // ...inspect results using computation.resultN methods
    //
    // The Run method invokes the actual computation, with inputs read from arg
    // buffers, and outputs written to result buffers. Each Run call may also use
    // a set of temporary buffers for the computation.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_test.go

    			return lifecycle.PodAdmitResult{Admit: false, Reason: "Rejected", Message: "Pod is rejected"}
    		}
    	}
    	return lifecycle.PodAdmitResult{Admit: true}
    }
    
    // Test verifies that the kubelet invokes an admission handler during HandlePodAdditions.
    func TestHandlePodAdditionsInvokesPodAdmitHandlers(t *testing.T) {
    	testKubelet := newTestKubelet(t, false /* controllerAttachDetachEnabled */)
    	defer testKubelet.Cleanup()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  10. pkg/controller/replicaset/replica_set.go

    	rsc.rsListerSynced = rsInformer.Informer().HasSynced
    
    	podInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
    		AddFunc: func(obj interface{}) {
    			rsc.addPod(logger, obj)
    		},
    		// This invokes the ReplicaSet for every pod change, eg: host assignment. Though this might seem like
    		// overkill the most frequent pod update is status, and the associated ReplicaSet will only list from
    		// local storage, so it should be ok.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top