Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,784 for Greater (0.23 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SearchUtil.java

         *         <i>insertion point</i> is defined as the point at which the
         *         key would be inserted into the list: the index of the first
         *         element greater than the key, or {@code list.size()} if all
         *         elements in the list are less than the specified key.  Note
         *         that this guarantees that the return value will be &gt;= 0 if
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. src/container/heap/example_pq_test.go

    	item.priority = priority
    	heap.Fix(pq, item.index)
    }
    
    // This example creates a PriorityQueue with some items, adds and manipulates an item,
    // and then removes the items in priority order.
    func Example_priorityQueue() {
    	// Some items and their priorities.
    	items := map[string]int{
    		"banana": 3, "apple": 2, "pear": 4,
    	}
    
    	// Create a priority queue, put the items in it, and
    	// establish the priority queue (heap) invariants.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:27:36 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/runtime/time_fake.go

    	// Write with the playback header.
    
    	// First, lock to avoid interleaving writes.
    	lock(&faketimeState.lock)
    
    	// If the current fd doesn't match the fd of the previous write,
    	// ensure that the timestamp is strictly greater. That way, we can
    	// recover the original order even if we read the fds separately.
    	t := faketimeState.lastfaketime
    	if fd != faketimeState.lastfd {
    		t++
    		faketimeState.lastfd = fd
    	}
    	if faketime > t {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:15:13 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. cmd/kube-controller-manager/app/options/hpacontroller.go

    	if o == nil {
    		return nil
    	}
    
    	errs := []error{}
    	if o.ConcurrentHorizontalPodAutoscalerSyncs < 1 {
    		errs = append(errs, fmt.Errorf("concurrent-horizontal-pod-autoscaler-syncs must be greater than 0, but got %d", o.ConcurrentHorizontalPodAutoscalerSyncs))
    	}
    	return errs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 19 09:49:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. pkg/kubelet/pleg/pleg.go

    type PodLifeCycleEventType string
    
    type RelistDuration struct {
    	// The period for relisting.
    	RelistPeriod time.Duration
    	// The relisting threshold needs to be greater than the relisting period +
    	// the relisting time, which can vary significantly. Set a conservative
    	// threshold to avoid flipping between healthy and unhealthy.
    	RelistThreshold time.Duration
    }
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 26 16:14:26 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. cmd/kube-controller-manager/app/options/attachdetachcontroller.go

    	if o == nil {
    		return nil
    	}
    
    	errs := []error{}
    
    	if o.ReconcilerSyncLoopPeriod.Duration < time.Second {
    		errs = append(errs, fmt.Errorf("duration time must be greater than one second as set via command line option reconcile-sync-loop-period"))
    	}
    
    	return errs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 18:31:52 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/version/helpers_test.go

    	}
    
    	for _, tc := range tests {
    		if e, a := tc.expectedGreater, CompareKubeAwareVersionStrings(tc.v1, tc.v2) > 0; e != a {
    			if e {
    				t.Errorf("expected %s to be greater than %s", tc.v1, tc.v2)
    			} else {
    				t.Errorf("expected %s to be less than %s", tc.v1, tc.v2)
    			}
    		}
    	}
    }
    
    func Test_parseKubeVersion(t *testing.T) {
    	tests := []struct {
    		name             string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 19 02:46:55 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  8. src/cmp/cmp.go

    // and -0.0 is not less than (is equal to) 0.0.
    func Less[T Ordered](x, y T) bool {
    	return (isNaN(x) && !isNaN(y)) || x < y
    }
    
    // Compare returns
    //
    //	-1 if x is less than y,
    //	 0 if x equals y,
    //	+1 if x is greater than y.
    //
    // For floating-point types, a NaN is considered less than any non-NaN,
    // a NaN is considered equal to a NaN, and -0.0 is equal to 0.0.
    func Compare[T Ordered](x, y T) int {
    	xNaN := isNaN(x)
    	yNaN := isNaN(y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. platforms/core-runtime/time/src/test/groovy/org/gradle/internal/time/TimeFormattingTest.groovy

            TimeFormatting.formatDurationVeryTerse(60 * 1000 + 12 * 1000 + 309) == '1m12.31s'
        }
    
        def "shows #output when elapsed time is greater or equals than #lowerBoundInclusive but lower than #upperBoundExclusive"() {
            when:
            def result = TimeFormatting.formatDurationTerse(input)
    
            then:
            result == output
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. clause/expression.go

    	Eq(neq).Build(builder)
    }
    
    // Gt greater than for where
    type Gt Eq
    
    func (gt Gt) Build(builder Builder) {
    	builder.WriteQuoted(gt.Column)
    	builder.WriteString(" > ")
    	builder.AddVar(builder, gt.Value)
    }
    
    func (gt Gt) NegationBuild(builder Builder) {
    	Lte(gt).Build(builder)
    }
    
    // Gte greater than or equal to for where
    type Gte Eq
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Oct 10 06:45:48 UTC 2023
    - 8.3K bytes
    - Viewed (0)
Back to top