- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 103 for light (0.2 sec)
-
src/sync/mutex.go
// since we did not observe mutexStarving when we unlocked the mutex above. // So get off the way. if old>>mutexWaiterShift == 0 || old&(mutexLocked|mutexWoken|mutexStarving) != 0 { return } // Grab the right to wake someone. new = (old - 1<<mutexWaiterShift) | mutexWoken if atomic.CompareAndSwapInt32(&m.state, old, new) { runtime_Semrelease(&m.sema, false, 1) return } old = m.state }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 8.4K bytes - Viewed (0) -
src/runtime/coro.go
trace := traceAcquire() if locked { // Detach the goroutine from the thread; we'll attach to the goroutine we're // switching to before returning. gp.lockedm.set(nil) } if exit { // The M might have a non-zero OS thread lock count when we get here, gdestroy // will avoid destroying the M if the G isn't explicitly locked to it via lockedm, // which we cleared above. It's fine to gdestroy here also, even when locked to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:09:18 UTC 2024 - 7.4K bytes - Viewed (0) -
src/cmd/go/internal/modget/get.go
// applied (see the example in mod_get_patchmod.txt). // // There are a few other ambiguous cases to resolve, too. A package can exist in // two different modules at the same version: for example, the package // example.com/foo might be found in module example.com and also in module // example.com/foo, and those modules may have independent v0.1.0 tags — so the // input 'example.com/foo@v0.1.0' could syntactically refer to the variant of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:26:32 UTC 2024 - 66.5K bytes - Viewed (0) -
pkg/controller/job/backoff_utils_test.go
failuresAfterLastSuccess: 3, }, currentTime: defaultTestTime.Time, defaultBackoff: 5 * time.Second, maxBackoff: 700 * time.Second, wantDuration: 20 * time.Second, }, "eight failures; current time and failure time are same; backoff not exceeding maxBackoff": { backoffRecord: backoffRecord{ lastFailureTime: &defaultTestTime.Time, failuresAfterLastSuccess: 8, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 07:46:41 UTC 2024 - 16.7K bytes - Viewed (0) -
src/net/http/server.go
// size is anyway. (if we have the bytes on the machine, we might as // well read them) const maxPostHandlerReadBytes = 256 << 10 func checkWriteHeaderCode(code int) { // Issue 22880: require valid WriteHeader status codes. // For now we only enforce that it's three digits. // In the future we might block things over 599 (600 and above aren't defined
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0) -
src/time/tick_test.go
Sleep(sched) waitDone(done) tim.Stop() close(stop) waitDone(done1) waitDone(done2) if isTicker { // extra send might have sent done again // (handled by buffering done above). select { default: case <-done: } // extra send after that might have filled C. select { default: case <-C: } } notDone(done) // Test enqueueTimerChan when timer is stopped.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:10:37 UTC 2024 - 14.7K bytes - Viewed (0) -
pkg/apis/resource/validation/validation.go
allErrs := corevalidation.ValidateObjectMetaUpdate(&resourceClaim.ObjectMeta, &oldClaim.ObjectMeta, field.NewPath("metadata")) fldPath := field.NewPath("status") // The name might not be set yet. if resourceClaim.Status.DriverName != "" { allErrs = append(allErrs, validateResourceDriverName(resourceClaim.Status.DriverName, fldPath.Child("driverName"))...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 28.3K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue.go
p.moveRequestCycle = p.schedulingCycle if p.isSchedulingQueueHintEnabled && len(p.inFlightPods) != 0 { logger.V(5).Info("Event received while pods are in flight", "event", event.Label, "numPods", len(p.inFlightPods)) // AddUnschedulableIfNotPresent might get called for in-flight Pods later, and in // AddUnschedulableIfNotPresent we need to know whether events were // observed while scheduling them.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 61.4K bytes - Viewed (0) -
cmd/bucket-handlers_test.go
accessKey: credentials.AccessKey, secretKey: credentials.SecretKey, expectedRespStatus: http.StatusBadRequest, shouldPass: false, }, // Test case - 7. // Case with right set of parameters, // should result in success 200OK. { bucket: bucketName, prefix: "", keyMarker: "", uploadIDMarker: "",
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 39.8K bytes - Viewed (0) -
pkg/scheduler/schedule_one.go
// // Avoid moving the assumed Pod itself as it's always Unschedulable. // It's intentional to "defer" this operation; otherwise MoveAllToActiveOrBackoffQueue() would // add this event to in-flight events and thus move the assumed pod to backoffQ anyways if the plugins don't have appropriate QueueingHint. if status.IsRejected() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 13:28:08 UTC 2024 - 43.4K bytes - Viewed (0)