Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for comparePods (0.24 sec)

  1. pilot/pkg/config/monitor/monitor.go

    		log.Warnf("Failed to delete config (%+v): %v ", *c, err)
    	}
    }
    
    // compareIDs compares the IDs (i.e. Namespace, GroupVersionKind, and Name) of the two configs and returns
    // 0 if a == b, -1 if a < b, and 1 if a > b. Used for sorting config arrays.
    func compareIDs(a, b *config.Config) int {
    	return strings.Compare(a.Key(), b.Key())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    				if iv, jv := l.Info.PrintableName(), r.Info.PrintableName(); iv != jv {
    					return iv < jv
    				}
    				return compareNodes(l, r)
    			},
    		}
    	case NameOrder:
    		s = nodeSorter{ns,
    			func(l, r *Node) bool {
    				if iv, jv := l.Info.Name, r.Info.Name; iv != jv {
    					return iv < jv
    				}
    				return compareNodes(l, r)
    			},
    		}
    	case FileOrder:
    		s = nodeSorter{ns,
    			func(l, r *Node) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  3. pilot/pkg/config/monitor/file_snapshot.go

    type byKey []*config.Config
    
    func (rs byKey) Len() int {
    	return len(rs)
    }
    
    func (rs byKey) Swap(i, j int) {
    	rs[i], rs[j] = rs[j], rs[i]
    }
    
    func (rs byKey) Less(i, j int) bool {
    	return compareIDs(rs[i], rs[j]) < 0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

                    variants: variants,
                    ignoreReasons: baseNode.ignoreReasons,
                    ignoreReasonPrefixes: baseNode.ignoreReasonPrefixes)
            }
            compareNodes("components in graph", parseNodes(actualComponents), expectedComponents)
    
            def actualEdges = findLines(configDetails, 'dependency')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
Back to top