Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 62 for goroutines (0.67 sec)

  1. src/time/time.go

    //
    // Times measured as an int64 seconds since the year 1970 are called Unix
    // times.
    //
    // It is tempting to just use the year 1 as the absolute epoch, defining
    // that the routines are only valid for years >= 1. However, the
    // routines would then be invalid when displaying the epoch in time zones
    // west of UTC, since it is year 0. It doesn't seem tenable to say that
    // printing the zero time correctly isn't supported in half the time
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  2. pkg/kubelet/pod_workers.go

    	// which means that all working pods have been started via UpdatePod().
    	podsSynced bool
    
    	// Tracks all running per-pod goroutines - per-pod goroutine will be
    	// processing updates received through its corresponding channel. Sending
    	// a message on this channel will signal the corresponding goroutine to
    	// consume podSyncStatuses[uid].pendingUpdate if set.
    	podUpdates map[types.UID]chan struct{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
  3. pkg/scheduler/internal/queue/scheduling_queue.go

    	AssignedPodUpdated(logger klog.Logger, oldPod, newPod *v1.Pod)
    	PendingPods() ([]*v1.Pod, string)
    	PodsInActiveQ() []*v1.Pod
    	// Close closes the SchedulingQueue so that the goroutine which is
    	// waiting to pop items can exit gracefully.
    	Close()
    	// Run starts the goroutines managing the queue.
    	Run(logger klog.Logger)
    }
    
    // NewSchedulingQueue initializes a priority queue as a new scheduling queue.
    func NewSchedulingQueue(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  4. src/cmd/dist/test.go

    					cpu:       strconv.Itoa(i),
    					short:     true,
    					testFlags: []string{"-quick"},
    					// We set GOMAXPROCS=2 in addition to -cpu=1,2,4 in order to test runtime bootstrap code,
    					// creation of first goroutines and first garbage collections in the parallel setting.
    					env: []string{"GOMAXPROCS=2"},
    					pkg: "runtime",
    				})
    		}
    	}
    
    	if t.raceDetectorSupported() {
    		t.registerRaceTests()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  5. pkg/kubelet/pod_workers_test.go

    	item.pause = false
    	for i := 0; i < item.queue; i++ {
    		item.out <- struct{}{}
    	}
    	item.queue = 0
    }
    
    // WorkChannel intercepts podWork channels between the pod worker and its child
    // goroutines and allows tests to pause or release the flow of podWork to the
    // workers.
    type WorkChannel struct {
    	lock     sync.Mutex
    	channels map[types.UID]*WorkChannelItem
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/out.go

    //
    // This is necessary because TSAN, which is a C/C++ tool, can not see
    // the synchronization in the Go code. Without these calls, when
    // multiple goroutines call into C code, TSAN does not understand
    // that the calls are properly synchronized on the Go side.
    //
    // To be clear, if the calls are not properly synchronized on the Go side,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    			},
    		},
    	}
    
    	for _, tc := range testCases {
    		// If using t.Parallel() you must copy the iteration to a new local variable
    		// https://github.com/golang/go/wiki/CommonMistakes#using-goroutines-on-loop-iterator-variables
    		tc := tc
    		t.Run(tc.name, func(t *testing.T) {
    			t.Parallel()
    			// Setup kube caches
    			controller, fx := NewFakeControllerWithOptions(t, FakeControllerOptions{})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  8. src/runtime/traceback.go

    }
    
    // isSystemGoroutine reports whether the goroutine g must be omitted
    // in stack dumps and deadlock detector. This is any goroutine that
    // starts at a runtime.* entry point, except for runtime.main,
    // runtime.handleAsyncEvent (wasm only) and sometimes runtime.runfinq.
    //
    // If fixed is true, any goroutine that can vary between user and
    // system (that is, the finalizer goroutine) is considered a user
    // goroutine.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. src/runtime/mheap.go

    			// The scavenging algorithm requires the heap lock to be dropped so it
    			// can acquire it only sparingly. This is a potentially expensive operation
    			// so it frees up other goroutines to allocate in the meanwhile. In fact,
    			// they can make use of the growth we just created.
    			todo := growth
    			if overage := uintptr(retained + uint64(growth) - goal); todo > overage {
    				todo = overage
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/load.go

    	// each package. If AllowPackage returns a non-nil error, that error is set
    	// for the package, and the imports and test of that package will not be
    	// loaded.
    	//
    	// AllowPackage may be invoked concurrently by multiple goroutines,
    	// and may be invoked multiple times for a given package path.
    	AllowPackage func(ctx context.Context, path string, mod module.Version) error
    
    	// LoadTests loads the test dependencies of each package matching a requested
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
Back to top