Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 131 for compareIDs (0.14 sec)

  1. operator/cmd/mesh/manifest-diff.go

    }
    
    func manifestDiffCmd(diffArgs *manifestDiffArgs) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "diff <file|dir> <file|dir>",
    		Short: "Compare manifests and generate diff",
    		Long: "The diff subcommand compares manifests from two files or directories. The output is a list of\n" +
    			"changed paths with the value changes shown as OLD-VALUE -> NEW-VALUE.\n" +
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. cmd/leak-detect_test.go

    	snapshot := LeakDetect{
    		relevantRoutines: make(map[string]bool),
    	}
    	for _, g := range pickRelevantGoroutines() {
    		snapshot.relevantRoutines[g] = true
    	}
    	return snapshot
    }
    
    // CompareCurrentSnapshot - Compares the initial relevant stack trace with the current one (during the time of invocation).
    func (initialSnapShot LeakDetect) CompareCurrentSnapshot() []string {
    	var stackDiff []string
    	for _, g := range pickRelevantGoroutines() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. internal/etag/reader.go

    	}
    }
    
    // A Reader wraps an io.Reader and computes the
    // MD5 checksum of the read content as ETag.
    //
    // Optionally, a Reader can also verify that
    // the computed ETag matches an expected value.
    // Therefore, it compares both ETags once the
    // underlying io.Reader returns io.EOF.
    // If the computed ETag does not match the
    // expected ETag then Read returns a VerifyError.
    //
    // Reader implements the Tagger interface.
    type Reader struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/util.go

    // out this code allows more of the rest of the code
    // to be shared.
    
    package types2
    
    import (
    	"cmd/compile/internal/syntax"
    	"go/constant"
    	"go/token"
    )
    
    const isTypes2 = true
    
    // cmpPos compares the positions p and q and returns a result r as follows:
    //
    // r <  0: p is before q
    // r == 0: p and q are the same position (but may not be identical)
    // r >  0: p is after q
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. src/maps/maps.go

    	if len(m1) != len(m2) {
    		return false
    	}
    	for k, v1 := range m1 {
    		if v2, ok := m2[k]; !ok || v1 != v2 {
    			return false
    		}
    	}
    	return true
    }
    
    // EqualFunc is like Equal, but compares values using eq.
    // Keys are still compared with ==.
    func EqualFunc[M1 ~map[K]V1, M2 ~map[K]V2, K comparable, V1, V2 any](m1 M1, m2 M2, eq func(V1, V2) bool) bool {
    	if len(m1) != len(m2) {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 20:35:05 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/go/types/util.go

    // out this code allows more of the rest of the code
    // to be shared.
    
    package types
    
    import (
    	"go/ast"
    	"go/constant"
    	"go/token"
    )
    
    const isTypes2 = false
    
    // cmpPos compares the positions p and q and returns a result r as follows:
    //
    // r <  0: p is before q
    // r == 0: p and q are the same position (but may not be identical)
    // r >  0: p is after q
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/versions/versions.go

    // The versions x and y must begin with a "go" prefix: "go1.21" not "1.21".
    // Invalid versions, including the empty string, compare less than
    // valid versions and equal to each other.
    // The language version "go1.21" compares less than the
    // release candidate and eventual releases "go1.21rc1" and "go1.21.0".
    // Custom toolchain suffixes are ignored during comparison:
    // "go1.21.0" and "go1.21.0-bigcorp" are equal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. src/go/version/version.go

    // The versions x and y must begin with a "go" prefix: "go1.21" not "1.21".
    // Invalid versions, including the empty string, compare less than
    // valid versions and equal to each other.
    // The language version "go1.21" compares less than the
    // release candidate and eventual releases "go1.21rc1" and "go1.21.0".
    func Compare(x, y string) int {
    	return gover.Compare(stripGo(x), stripGo(y))
    }
    
    // IsValid reports whether the version x is valid.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 19:56:48 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. pkg/maps/maps.go

    	for key, value := range subset {
    		if supersetValue, ok := superset[key]; !ok || supersetValue != value {
    			return false
    		}
    	}
    	return true
    }
    
    // EqualFunc is like Equal, but compares values using eq.
    // Keys are still compared with ==.
    func EqualFunc[M1 ~map[K]V1, M2 ~map[K]V2, K comparable, V1, V2 any](m1 M1, m2 M2, eq func(V1, V2) bool) bool {
    	return maps.EqualFunc(m1, m2, eq)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 01 22:48:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedInts.java

        }
        return builder.toString();
      }
    
      /**
       * Returns a comparator that compares two arrays of unsigned {@code int} values <a
       * href="http://en.wikipedia.org/wiki/Lexicographical_order">lexicographically</a>. That is, it
       * compares, using {@link #compare(int, int)}), the first pair of values that follow any common
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top