Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,535 for Comparer (0.1 sec)

  1. pkg/scheduler/internal/cache/debugger/comparer.go

    type CacheComparer struct {
    	NodeLister corelisters.NodeLister
    	PodLister  corelisters.PodLister
    	Cache      internalcache.Cache
    	PodQueue   internalqueue.SchedulingQueue
    }
    
    // Compare compares the nodes and pods of NodeLister with Cache.Snapshot.
    func (c *CacheComparer) Compare(logger klog.Logger) error {
    	logger.V(3).Info("Cache comparer started")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 05:26:32 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcherTest.groovy

    class ExhaustiveLinesSearcherTest extends Specification {
        @Subject
        def comparer = ExhaustiveLinesSearcher.useLcsDiff()
    
        // region: assertLinesContainedIn
        def "neither expected or actual lines can be empty"() {
            when:
            comparer.assertLinesContainedIn([], ["a"])
            then:
            thrown(AssertionError)
    
            when:
            comparer.assertLinesContainedIn(["a"], [])
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. pkg/scheduler/internal/cache/debugger/debugger.go

    type CacheDebugger struct {
    	Comparer CacheComparer
    	Dumper   CacheDumper
    }
    
    // New creates a CacheDebugger.
    func New(
    	nodeLister corelisters.NodeLister,
    	podLister corelisters.PodLister,
    	cache internalcache.Cache,
    	podQueue internalqueue.SchedulingQueue,
    ) *CacheDebugger {
    	return &CacheDebugger{
    		Comparer: CacheComparer{
    			NodeLister: nodeLister,
    			PodLister:  podLister,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 05:26:32 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. pilot/pkg/model/service_test.go

    	cases := []struct {
    		comparer *WorkloadInstance
    		comparee *WorkloadInstance
    		shouldEq bool
    		name     string
    	}{
    		{
    			comparer: &WorkloadInstance{},
    			comparee: &WorkloadInstance{},
    			shouldEq: true,
    			name:     "two null endpoints",
    		},
    		{
    			comparer: exampleInstance.DeepCopy(),
    			comparee: exampleInstance.DeepCopy(),
    			shouldEq: true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. docs/fr/docs/benchmarks.md

        * Si on compare Uvicorn, il faut le comparer à d'autre applications de serveurs comme Daphne, Hypercorn, uWSGI, etc.
    * **Starlette** :
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jul 27 18:49:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/api_predicates.go

    // For more information, see https://github.com/golang/go/issues/57497.
    func Identical(x, y Type) bool {
    	var c comparer
    	return c.identical(x, y, nil)
    }
    
    // IdenticalIgnoreTags reports whether x and y are identical types if tags are ignored.
    // Receivers of [Signature] types are ignored.
    func IdenticalIgnoreTags(x, y Type) bool {
    	var c comparer
    	c.ignoreTags = true
    	return c.identical(x, y, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/go/types/api_predicates.go

    // For more information, see https://github.com/golang/go/issues/57497.
    func Identical(x, y Type) bool {
    	var c comparer
    	return c.identical(x, y, nil)
    }
    
    // IdenticalIgnoreTags reports whether x and y are identical types if tags are ignored.
    // Receivers of [Signature] types are ignored.
    func IdenticalIgnoreTags(x, y Type) bool {
    	var c comparer
    	c.ignoreTags = true
    	return c.identical(x, y, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/library/lists.go

    func isSorted(val ref.Val) ref.Val {
    	var prev traits.Comparer
    	iterable, ok := val.(traits.Iterable)
    	if !ok {
    		return types.MaybeNoSuchOverloadErr(val)
    	}
    	for it := iterable.Iterator(); it.HasNext() == types.True; {
    		next := it.Next()
    		nextCmp, ok := next.(traits.Comparer)
    		if !ok {
    			return types.MaybeNoSuchOverloadErr(next)
    		}
    		if prev != nil {
    			cmp := prev.Compare(next)
    			if cmp == types.IntOne {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  9. src/go/types/predicates.go

    }
    
    // An ifacePair is a node in a stack of interface type pairs compared for identity.
    type ifacePair struct {
    	x, y *Interface
    	prev *ifacePair
    }
    
    func (p *ifacePair) identical(q *ifacePair) bool {
    	return p.x == q.x && p.y == q.y || p.x == q.y && p.y == q.x
    }
    
    // A comparer is used to compare types.
    type comparer struct {
    	ignoreTags     bool // if set, identical ignores struct tags
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. docs/fr/docs/tutorial/path-params.md

    <img src="/img/tutorial/path-params/image03.png">
    
    ### Manipuler les *énumérations* Python
    
    La valeur du *paramètre de chemin* sera un des "membres" de l'énumération.
    
    #### Comparer les *membres d'énumération*
    
    Vous pouvez comparer ce paramètre avec les membres de votre énumération `ModelName` :
    
    ```Python hl_lines="17"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top