- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 112 for Comparer (0.16 sec)
-
src/cmd/compile/internal/ssa/prove.go
r = reverseBits[r] } p := pair{v, w, d} oldR, ok := ft.facts[p] if !ok { if v == w { oldR = eq } else { oldR = lt | eq | gt } } // No changes compared to information already in facts table. if oldR == r { return } ft.stack = append(ft.stack, fact{p, oldR}) ft.facts[p] = oldR & r // If this relation is not satisfiable, mark it and exit right away
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:30:21 UTC 2024 - 48.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/expr.go
// If there is no more specific cause, the result is "". func (check *Checker) incomparableCause(typ Type) string { switch under(typ).(type) { case *Slice, *Signature, *Map: return check.kindString(typ) + " can only be compared to nil" } // see if we can extract a more specific error var cause string comparable(typ, true, nil, func(format string, args ...interface{}) { cause = check.sprintf(format, args...) }) return cause
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 51.7K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); // Compare that the graphs match. GraphDef expected_gdef; GraphDef gdef; EXPECT_TRUE(GetGraphDef(expected_graph_, &expected_gdef)); EXPECT_TRUE(GetGraphDef(graph_, &gdef)); TF_EXPECT_GRAPH_EQ(expected_gdef, gdef); // Compare that the output of the gradients of both graphs match.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 96.9K bytes - Viewed (0) -
configure.py
elif var: write_to_bazelrc('build --config=%s' % bazel_config_name) environ_cp[var_name] = str(var) def convert_version_to_int(version): """Convert a version number to a integer that can be used to compare. Version strings of the form X.YZ and X.Y.Z-xxxxx are supported. The 'xxxxx' part, for instance 'homebrew' on OS/X, is ignored. Args: version: a version to be converted Returns:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 04:32:44 UTC 2024 - 53.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/PPC64.rules
// absorb InvertFlags into boolean values ((Equal|NotEqual|LessThan|GreaterThan|LessEqual|GreaterEqual) (InvertFlags x)) => ((Equal|NotEqual|GreaterThan|LessThan|GreaterEqual|LessEqual) x) // Elide compares of bit tests ((EQ|NE|LT|LE|GT|GE) (CMPconst [0] z:(AND x y)) yes no) && z.Uses == 1 => ((EQ|NE|LT|LE|GT|GE) (Select1 <types.TypeFlags> (ANDCC x y)) yes no)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 53.2K bytes - Viewed (0) -
src/index/suffixarray/sais2.go
n := sa[j/2] if n != lastLen { goto New } if uint64(n) >= uint64(len(text)) { // “Length” is really encoded full text, and they match. goto Same } { // Compare actual texts. n := int(n) this := text[j:][:n] last := text[lastPos:][:n] for i := 0; i < n; i++ { if this[i] != last[i] { goto New } } goto Same }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 23:57:18 UTC 2024 - 52.3K bytes - Viewed (0) -
pilot/pkg/model/push_context.go
} } // Sort aliases so order is deterministic. for _, v := range aliasesForService { slices.SortFunc(v, func(a, b NamespacedHostname) int { if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 { return r } return cmp.Compare(a.Hostname, b.Hostname) }) } // Finally, we can traverse all services and update the ones that have aliases for i, s := range allServices {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 91.8K bytes - Viewed (0) -
src/time/time_test.go
{"Before", func(t1, t2 Time) bool { return t1.Before(t2) == t2.Before(t1) }}, {"Equal", func(t1, t2 Time) bool { return t1.Equal(t2) == t2.Equal(t1) }}, {"Compare", func(t1, t2 Time) bool { return t1.Compare(t2) == t2.Compare(t1) }}, {"IsZero", func(t1, t2 Time) bool { return t1.IsZero() == t2.IsZero() }}, {"Date", func(t1, t2 Time) bool { a1, b1, c1 := t1.Date() a2, b2, c2 := t2.Date()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeToken.java
Ordering<K> keyOrdering = new Ordering<K>() { @Override public int compare(K left, K right) { // requireNonNull is safe because we are passing keys in the map. return valueComparator.compare( requireNonNull(map.get(left)), requireNonNull(map.get(right))); } };
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 21:02:13 UTC 2023 - 53.6K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/optimizing-performance/incremental_build.adoc
In order to do so, Gradle first normalizes both inputs and then compares the result. For example, for a compile classpath, Gradle extracts the ABI signature from the classes on the classpath and then compares signatures between the last Gradle run and the current Gradle run as described in <<java_plugin.adoc#sec:java_compile_avoidance,Java compile avoidance>>.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 24 23:14:04 UTC 2024 - 63.9K bytes - Viewed (0)