- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 407 for Comparer (0.19 sec)
-
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) -
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) -
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) -
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) -
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) -
pkg/test/util/assert/assert.go
var cmpOpts = []cmp.Option{protocmp.Transform(), cmpopts.EquateEmpty(), compareErrors} // Compare compares two objects and returns and error if they are not the same. func Compare[T any](a, b T) error { if !cmp.Equal(a, b, opts(a)...) { return fmt.Errorf("found diff: %v\nLeft: %v\nRight: %v", cmp.Diff(a, b, opts(a)...), a, b) } return nil } // Equal compares two objects and fails if they are not the same.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 18 17:21:50 UTC 2023 - 4.4K bytes - Viewed (0) -
src/strings/compare.go
package strings import "internal/bytealg" // Compare returns an integer comparing two strings lexicographically. // The result will be 0 if a == b, -1 if a < b, and +1 if a > b. // // Use Compare when you need to perform a three-way comparison (with // slices.SortFunc, for example). It is usually clearer and always faster // to use the built-in string comparison operators ==, <, >, and so on. func Compare(a, b string) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 23:39:07 UTC 2024 - 628 bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/img/build-cache/compare-small.svg
compare-small.svg...
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/img/build-cache/compare-small-b.svg
compare-small-b.svg...
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/DefaultVersionComparatorTest.groovy
def compare(String s1, String s2) { return comparator.compare(new VersionInfo(versionParser.transform(s1)), new VersionInfo(versionParser.transform(s2))) } def "numeric parts are compared as numbers"() { expect: compare(smaller, larger) < 0 compare(larger, smaller) > 0 compare(smaller, smaller) == 0 compare(larger, larger) == 0 where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 8.4K bytes - Viewed (0)