- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 255 for compareIDs (0.18 sec)
-
pilot/test/util/diff.go
// Refresh controls whether to update the golden artifacts instead. // It is set using the environment variable REFRESH_GOLDEN. func Refresh() bool { return env.Register("REFRESH_GOLDEN", false, "").Get() } // Compare compares two byte slices. It returns an error with a // contextual diff if they are not equal. func Compare(content, golden []byte) error { data := strings.TrimSpace(string(content)) expected := strings.TrimSpace(string(golden))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 05 08:53:20 UTC 2024 - 3.2K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-string.h
// Compares two wide C strings. Returns true iff they have the same // content. // // Unlike wcscmp(), this function can handle NULL argument(s). A // NULL C string is considered different to any non-NULL C string, // including the empty string. static bool WideCStringEquals(const wchar_t* lhs, const wchar_t* rhs); // Compares two C strings, ignoring case. Returns true iff they
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.8K bytes - Viewed (0) -
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") defer logger.V(3).Info("Cache comparer finished")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 29 05:26:32 UTC 2023 - 3.5K bytes - Viewed (0) -
src/internal/runtime/atomic/types.go
return Loadint32(&i.value) } // Store updates the value atomically. // //go:nosplit func (i *Int32) Store(value int32) { Storeint32(&i.value, value) } // CompareAndSwap atomically compares i's value with old, // and if they're equal, swaps i's value with new. // It reports whether the swap ran. // //go:nosplit func (i *Int32) CompareAndSwap(old, new int32) bool { return Casint32(&i.value, old, new) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 14.2K bytes - Viewed (0) -
pkg/test/util/assert/assert.go
// 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) -
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) -
test/fixedbugs/issue50854.go
//go:noinline func f(p int64, x, y int64) bool { return -x <= p && p <= y } //go:noinline func g(p int32, x, y int32) bool { return -x <= p && p <= y } // There are some more complicated patterns involving compares and shifts, try to trigger those. //go:noinline func h(p int64, x, y int64) bool { return -(x<<1) <= p && p <= y } //go:noinline func k(p int32, x, y int32) bool { return -(1<<x) <= p && p <= y } //go:noinline
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 27 19:52:52 UTC 2022 - 890 bytes - Viewed (0) -
pkg/test/json.go
// See the License for the specific language governing permissions and // limitations under the License. package test import ( "bytes" "encoding/json" ) // JSONEquals compares two json strings. We cannot compare JSON strings from protobuf because of // design decisions https://github.com/golang/protobuf/issues/1373 Instead, use this function to // normalize the formatting
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 19 21:53:59 UTC 2021 - 1.2K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/NormalizedPathFingerprintCompareStrategy.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.execution.history.changes; /** * Compares by normalized path (relative/name only) and file contents. Order does not matter. */ public class NormalizedPathFingerprintCompareStrategy extends AbstractFingerprintCompareStrategy {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/AbsolutePathFingerprintCompareStrategy.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.execution.history.changes; /** * Compares by absolute paths and file contents. Order does not matter. */ public class AbsolutePathFingerprintCompareStrategy extends AbstractFingerprintCompareStrategy {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 1.2K bytes - Viewed (0)