Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 667 for goroutines (0.19 sec)

  1. src/cmd/trace/main.go

    	mux.Handle("/jsontrace", JSONTraceHandler(parsed))
    	mux.Handle("/static/", traceviewer.StaticHandler())
    
    	// Goroutines handlers.
    	mux.HandleFunc("/goroutines", GoroutinesHandlerFunc(parsed.summary.Goroutines))
    	mux.HandleFunc("/goroutine", GoroutineHandler(parsed.summary.Goroutines))
    
    	// MMU handler.
    	mux.HandleFunc("/mmu", traceviewer.MMUHandlerFunc(ranges, mutatorUtil))
    
    	// Basic pprof endpoints.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. src/runtime/netpoll_stub.go

    	}
    	unlock(&netpollBrokenLock)
    }
    
    // Polls for ready network connections.
    // Returns list of goroutines that become runnable.
    func netpoll(delay int64) (gList, int32) {
    	// Implementation for platforms that do not support
    	// integrated network poller.
    	if delay != 0 {
    		// This lock ensures that only one goroutine tries to use
    		// the note. It should normally be completely uncontended.
    		lock(&netpollStubLock)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/cfg/lookpath.go

    package cfg
    
    import (
    	"cmd/go/internal/par"
    	"os/exec"
    )
    
    var lookPathCache par.ErrCache[string, string]
    
    // LookPath wraps exec.LookPath and caches the result
    // which can be called by multiple Goroutines at the same time.
    func LookPath(file string) (path string, err error) {
    	return lookPathCache.Do(file,
    		func() (string, error) {
    			return exec.LookPath(file)
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 11 20:12:18 UTC 2023
    - 534 bytes
    - Viewed (0)
  4. manifests/addons/dashboards/lib/queries.libsonnet

                  rate(
                    go_memstats_mallocs_total{%(appLabels)s}
                  [$__rate_interval])
                )
              |||
            ),
          ],
    
          goroutines:
            self.query(
              'Goroutines ({{pod}})',
              |||
                sum by (pod) (
                  go_goroutines{%(appLabels)s}
                )
              |||
            ),
    
          connections:
            [
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. src/archive/zip/register.go

    // The WriteCloser's Close method must be used to flush pending data to w.
    // The Compressor itself must be safe to invoke from multiple goroutines
    // simultaneously, but each returned writer will be used only by
    // one goroutine at a time.
    type Compressor func(w io.Writer) (io.WriteCloser, error)
    
    // A Decompressor returns a new decompressing reader, reading from r.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. src/runtime/mprof.go

    //
    // Some goroutines (the finalizer goroutine, which at various times can be
    // either a "system" or a "user" goroutine, and the goroutine that is
    // coordinating the profile, any goroutines created during the profile) move
    // directly to the "Satisfied" state.
    type goroutineProfileState uint32
    
    const (
    	goroutineProfileAbsent goroutineProfileState = iota
    	goroutineProfileInProgress
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/envoyfilter/leak_test.go

    // limitations under the License.
    
    package envoyfilter
    
    import (
    	"testing"
    
    	"istio.io/istio/tests/util/leak"
    )
    
    func TestMain(m *testing.M) {
    	// CheckMain asserts that no goroutines are leaked after a test package exits.
    	leak.CheckMain(m)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 796 bytes
    - Viewed (0)
  8. pilot/pkg/server/leak_test.go

    // limitations under the License.
    
    package server
    
    import (
    	"testing"
    
    	"istio.io/istio/tests/util/leak"
    )
    
    func TestMain(m *testing.M) {
    	// CheckMain asserts that no goroutines are leaked after a test package exits.
    	leak.CheckMain(m)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 791 bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/loopclosure/doc.go

    // In addition, it has a data race because the loop updates v
    // concurrent with the goroutines accessing it.
    //
    //	for _, v := range elem {
    //	    go func() {
    //	        use(v)  // incorrect, and a data race
    //	    }()
    //	}
    //
    // A fix is the same as before. The checker also reports problems
    // in goroutines started by golang.org/x/sync/errgroup.Group.
    // A hard-to-spot variant of this form is common in parallel tests:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/route/leak_test.go

    // limitations under the License.
    
    package route
    
    import (
    	"testing"
    
    	"istio.io/istio/tests/util/leak"
    )
    
    func TestMain(m *testing.M) {
    	// CheckMain asserts that no goroutines are leaked after a test package exits.
    	leak.CheckMain(m)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 790 bytes
    - Viewed (0)
Back to top