Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 353 for deltaY (0.52 sec)

  1. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      }
    
      public void testToArray_threadSafe() {
        for (int delta : new int[] {+1, 0, -1}) {
          for (int i = 0; i < VALUES.length; i++) {
            List<Character> list = Chars.asList(VALUES).subList(0, i);
            Collection<Character> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            char[] arr = Chars.toArray(misleadingSize);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  2. src/internal/trace/traceviewer/emitter.go

    				GCWaiting: uint64(e.gstates[GWaitingGC]),
    			},
    		})
    	}
    	e.prevGstates = e.gstates
    }
    
    func (e *Emitter) IncThreadStateCount(ts time.Duration, state ThreadState, delta int64) {
    	e.threadStats[state] += delta
    	if e.prevThreadStats == e.threadStats {
    		return
    	}
    	if e.tsWithinRange(ts) {
    		e.OptionalEvent(&format.Event{
    			Name:  "Threads",
    			Phase: "C",
    			Time:  viewerTime(ts),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:58 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  3. pilot/pkg/leaderelection/leaderelection_test.go

    	})
    	for _, fn := range fns {
    		l.AddRunFunction(fn)
    	}
    	stop := make(chan struct{})
    	go l.Run(stop)
    
    	retry.UntilOrFail(t, func() bool {
    		return l.isLeader() == expectLeader
    	}, retry.Converge(5), retry.Delay(time.Millisecond*100), retry.Timeout(time.Second*10))
    	return l, stop
    }
    
    type fakeDefaultWatcher struct {
    	defaultRevision string
    }
    
    func (w *fakeDefaultWatcher) Run(stop <-chan struct{}) {
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers.go

    	code := int(status.Code)
    	// when writing an error, check to see if the status indicates a retry after period
    	if status.Details != nil && status.Details.RetryAfterSeconds > 0 {
    		delay := strconv.Itoa(int(status.Details.RetryAfterSeconds))
    		w.Header().Set("Retry-After", delay)
    	}
    
    	if code == http.StatusNoContent {
    		w.WriteHeader(code)
    		return code
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 18:21:43 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  5. cluster/gce/windows/common.psm1

      param (
        [parameter(Mandatory=$true)] [string]$Service,
        [parameter(Mandatory=$false)] [int]$Delay = 0
      )
      if ($Delay -gt 0) {
        Start-Sleep $Delay
      }
      Get-Service -ErrorAction Continue $Service | Select-Object * | Out-String
      & sc.exe queryex $Service
      & sc.exe qc $Service
      & sc.exe qfailure $Service
    }
    
    # Checks if a file should be written or overwritten by testing if it already
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 19 14:47:38 UTC 2022
    - 25.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/BooleansTest.java

        boolean[] VALUES = BooleansTest.VALUES;
        VALUES = Booleans.concat(VALUES, VALUES);
    
        for (int delta : new int[] {+1, 0, -1}) {
          for (int i = 0; i < VALUES.length; i++) {
            List<Boolean> list = Booleans.asList(VALUES).subList(0, i);
            Collection<Boolean> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            boolean[] arr = Booleans.toArray(misleadingSize);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 15:43:29 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. src/math/big/ratconv_test.go

    				// Ok: bitwise equal.
    			case f == 0 && r.Num().BitLen() == 0:
    				// Ok: Rat(0) is equivalent to both +/- float64(0).
    			default:
    				t.Errorf("strconv.ParseFloat(%q) = %g (%b), want %g (%b); delta = %g", input, e, e, f, f, f-e)
    			}
    		}
    
    		if !isFinite(float64(f)) {
    			continue
    		}
    
    		// 2. Check f is best approximation to r.
    		if !checkIsBestApprox32(t, f, r) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 22:16:34 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  8. src/encoding/binary/binary_test.go

    	count := func() int {
    		var i int
    		structSize.Range(func(_, _ any) bool {
    			i++
    			return true
    		})
    		return i
    	}
    
    	var total int
    	added := func() int {
    		delta := count() - total
    		total += delta
    		return delta
    	}
    
    	type foo struct {
    		A uint32
    	}
    
    	type bar struct {
    		A Struct
    		B foo
    		C Struct
    	}
    
    	testcases := []struct {
    		val  any
    		want int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/RateLimiter.java

     * additional configuration, permits will be distributed at a fixed rate, defined in terms of
     * permits per second. Permits will be distributed smoothly, with the delay between individual
     * permits being adjusted to ensure that the configured rate is maintained.
     *
     * <p>It is possible to configure a {@code RateLimiter} to have a warmup period during which time
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/certificates/v1beta1/types.go

    	// expirationSeconds is the requested duration of validity of the issued
    	// certificate. The certificate signer may issue a certificate with a different
    	// validity duration so a client must check the delta between the notBefore and
    	// and notAfter fields in the issued certificate to determine the actual duration.
    	//
    	// The v1.22+ in-tree implementations of the well-known Kubernetes signers will
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 10.4K bytes
    - Viewed (0)
Back to top