Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 46 for timeCh (2.41 sec)

  1. src/runtime/proc.go

    				continue
    			}
    
    			// Steal timers from p2. This call to checkTimers is the only place
    			// where we might hold a lock on a different P's timers. We do this
    			// once on the last pass before checking runnext because stealing
    			// from the other P's runnext should be the last resort, so if there
    			// are timers to steal do that first.
    			//
    			// We only check timers on one of the stealing iterations because
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperHttpIntegrationTest.groovy

            failure.assertHasErrorOutput('Read timed out')
        }
    
        @Issue('https://github.com/gradle/gradle-private/issues/3032')
        def "does not leak credentials when download times out"() {
            given:
            server.expect(server.head("/$TEST_DISTRIBUTION_URL"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/nettest/conntest.go

    	if err != nil {
    		t.Fatalf("unable to make pipe: %v", err)
    	}
    	var once sync.Once
    	defer once.Do(func() { stop() })
    	timer := time.AfterFunc(time.Minute, func() {
    		once.Do(func() {
    			t.Error("test timed out; terminating pipe")
    			stop()
    		})
    	})
    	defer timer.Stop()
    	f(t, c1, c2)
    }
    
    // testBasicIO tests that the data sent on c1 is properly received on c2.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. src/cmd/trace/jsontrace_test.go

    	if err := json.Unmarshal(recorder.Body.Bytes(), &data); err != nil {
    		t.Fatal(err)
    	}
    	return data
    }
    
    func sumExecutionTime(data format.Data) (sum time.Duration) {
    	for _, e := range data.Events {
    		sum += time.Duration(e.Dur) * time.Microsecond
    	}
    	return
    }
    
    func getTestTrace(t *testing.T, testPath string) *parsedTrace {
    	t.Helper()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. src/internal/trace/gc.go

    	in.pos = pos
    	var partial totalUtil
    	if time != util[pos].Time {
    		partial = totalUtilOf(util[pos].Util, time-util[pos].Time)
    	}
    	return in.u.sums[pos] + partial
    }
    
    // next returns the smallest time t' > time of a change in the
    // utilization function.
    func (in *integrator) next(time int64) int64 {
    	for _, u := range in.u.util[in.pos:] {
    		if u.Time > time {
    			return u.Time
    		}
    	}
    	return 1<<63 - 1
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  6. src/internal/trace/batchcursor.go

    func (b *batchCursor) compare(a *batchCursor) int {
    	return cmp.Compare(b.ev.time, a.ev.time)
    }
    
    // readTimedBaseEvent reads out the raw event data from b
    // into e. It does not try to interpret the arguments
    // but it does validate that the event is a regular
    // event with a timestamp (vs. a structural event).
    //
    // It requires that the event its reading be timed, which must
    // be the case for every event in a plain EventBatch.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. internal/dsync/drwmutex.go

    	lockRetryMinInterval = 250 * time.Millisecond
    	if lri := env.Get("_MINIO_LOCK_RETRY_INTERVAL", ""); lri != "" {
    		v, err := strconv.Atoi(lri)
    		if err != nil {
    			panic(err)
    		}
    		lockRetryMinInterval = time.Duration(v) * time.Millisecond
    	}
    
    	lockRetryBackOff = backoffWait(
    		lockRetryMinInterval,
    		100*time.Millisecond,
    		5*time.Second,
    	)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. src/internal/trace/event/go122/event.go

    		Args: []string{"freq"},
    	},
    	EvExperimentalBatch: event.Spec{
    		Name:    "ExperimentalBatch",
    		Args:    []string{"exp", "gen", "m", "time"},
    		HasData: true, // Easier to represent for raw readers.
    	},
    
    	// "Timed" Events.
    	EvProcsChange: event.Spec{
    		Name:         "ProcsChange",
    		Args:         []string{"dt", "procs_value", "stack"},
    		IsTimedEvent: true,
    		StackIDs:     []int{2},
    	},
    	EvProcStart: event.Spec{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  9. src/time/time_test.go

    	}},
    
    	{"Truncate", func(t1, t2 Time) bool { return t1.Truncate(Hour).Equal(t2.Truncate(Hour)) }},
    	{"Round", func(t1, t2 Time) bool { return t1.Round(Hour).Equal(t2.Round(Hour)) }},
    
    	{"== Time{}", func(t1, t2 Time) bool { return (t1 == Time{}) == (t2 == Time{}) }},
    }
    
    func TestDefaultLoc(t *testing.T) {
    	// Verify that all of Time's methods behave identically if loc is set to
    	// nil or UTC.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  10. istioctl/pkg/waypoint/waypoint.go

    					return fmt.Errorf("missing Kubernetes Gateway CRDs need to be installed before applying a waypoint: %s", err)
    				}
    				return err
    			}
    			if waitReady {
    				startTime := time.Now()
    				ticker := time.NewTicker(1 * time.Second)
    				defer ticker.Stop()
    				for range ticker.C {
    					programmed := false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top