Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 97 for pawn (0.05 sec)

  1. src/syscall/js/func.go

    // the result of the Go function mapped back to JavaScript according to ValueOf.
    //
    // Invoking the wrapped Go function from JavaScript will
    // pause the event loop and spawn a new goroutine.
    // Other wrapped functions which are triggered during a call from Go to JavaScript
    // get executed on the same goroutine.
    //
    // As a consequence, if one wrapped function blocks, JavaScript's event loop
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 17:47:47 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. src/strings/search_test.go

    	testCases := []struct {
    		pat, text string
    		index     int
    	}{
    		{"", "", 0},
    		{"", "abc", 0},
    		{"abc", "", -1},
    		{"abc", "abc", 0},
    		{"d", "abcdefg", 3},
    		{"nan", "banana", 2},
    		{"pan", "anpanman", 2},
    		{"nnaaman", "anpanmanam", -1},
    		{"abcd", "abc", -1},
    		{"abcd", "bcd", -1},
    		{"bcd", "abcd", 1},
    		{"abc", "acca", -1},
    		{"aa", "aaa", 0},
    		{"baa", "aaaaa", -1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 01 21:52:00 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  3. src/syscall/syscall_wasip1.go

    // not have a mechanism to to spawn processes so there is no reason for an
    // application to take a dependency on this type.
    type Rusage struct {
    	Utime Timeval
    	Stime Timeval
    }
    
    // ProcAttr is a placeholder to allow compilation of the [os/exec] package
    // because we need Go programs to be portable across platforms. WASI does
    // not have a mechanism to to spawn processes so there is no reason for an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. src/cmd/go/internal/vcweb/svn.go

    	// stdin and stdout streams as if invoked by the Unix "inetd" service.
    	// We aren't using inetd, but we are implementing essentially the same
    	// approach: using a host process to listen for connections and spawn
    	// subprocesses to serve them.
    	cmd := exec.Command(h.svnservePath, "--read-only", "--root="+h.svnRoot, "--inetd")
    	cmd.Stdin = c
    	cmd.Stdout = c
    	stderr := new(strings.Builder)
    	cmd.Stderr = stderr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:44:48 UTC 2022
    - 5K bytes
    - Viewed (0)
  5. src/runtime/debug/stack_test.go

    		// that it is the same GOROOT value baked into the binary, and we can't
    		// change the value in-process because runtime.GOROOT uses the value from
    		// initial (not current) environment. Spawn a subprocess to determine the
    		// real baked-in GOROOT.
    		t.Logf("found GOROOT %q from environment; checking embedded GOROOT value", envGoroot)
    		testenv.MustHaveExec(t)
    		exe, err := os.Executable()
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. pkg/controller/volume/ephemeral/controller_test.go

    		},
    	}
    
    	for _, tc := range tests {
    		// Run sequentially because of global logging and global metrics.
    		t.Run(tc.name, func(t *testing.T) {
    			// There is no good way to shut down the informers. They spawn
    			// various goroutines and some of them (in particular shared informer)
    			// become very unhappy ("close on closed channel") when using a context
    			// that gets cancelled. Therefore we just keep everything running.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/runtime/testdata/testprog/lockosthread.go

    		// The state on this thread is now considered "tainted", but it
    		// should no longer be observable in any other context.
    
    		ready <- true
    		// Exit with the thread locked.
    	}()
    	<-ready
    
    	// Spawn yet another goroutine and lock it. Since GOMAXPROCS=1, if
    	// for some reason state from the (hopefully dead) locked thread above
    	// propagated into a newly created thread (via clone), or that thread
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler_test.go

    	apis := fuzzAPIGroups(1, 3, 15)
    	manager.SetGroups(apis.Items)
    
    	waitGroup := sync.WaitGroup{}
    
    	numReaders := 100
    	numRequestsPerReader := 100
    
    	// Spawn a bunch of readers that will keep sending requests to the server
    	for i := 0; i < numReaders; i++ {
    		waitGroup.Add(1)
    		go func() {
    			defer waitGroup.Done()
    			etag := ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 00:29:39 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/telemetry/package-lock.json

            "node": ">=14"
          },
          "funding": {
            "url": "https://github.com/sponsors/d-fischer"
          }
        },
        "node_modules/cross-spawn": {
          "version": "7.0.3",
          "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
          "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
          "dev": true,
          "dependencies": {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 156K bytes
    - Viewed (0)
  10. pkg/kubelet/prober/scale_test.go

    func newFakePod(httpServer bool) (*fakePod, error) {
    	ln, err := net.Listen("tcp", "127.0.0.1:0")
    	if err != nil {
    		return nil, fmt.Errorf("failed to bind: %v", err)
    	}
    	f := &fakePod{ln: ln, http: httpServer}
    
    	// spawn an http server or a TCP server that counts the number of connections received
    	if httpServer {
    		var mu sync.Mutex
    		visitors := map[string]struct{}{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 16:33:01 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top