- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 319 for Cmp (0.06 sec)
-
src/math/big/int_test.go
var z Int z.Abs(a.z) var e Int e.Set(a.z) if e.Cmp(&zero) < 0 { e.Sub(&zero, &e) } if z.Cmp(&e) != 0 { t.Errorf("got z = %v; want %v", z, e) } } } func testFunZZ(t *testing.T, msg string, f funZZ, a argZZ) { var z Int f(&z, a.x, a.y) if !isNormalized(&z) { t.Errorf("%s%v is not normalized", msg, z) } if (&z).Cmp(a.z) != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_tidy_compat.txt
go list -m all cmp stdout m_all.txt go mod edit -go=1.16 go list -m all cmp stdout m_all.txt # If we explicitly drop compatibility with 1.16, we retain fewer checksums, # which gives a cleaner go.sum file but causes 1.16 to fail in readonly mode. cp go.mod.orig go.mod go mod tidy -compat=1.17 cmp go.mod go.mod.orig # Make sure that -diff behaves the same as tidy. [exec:patch] mv go.mod go.mod.tidyResult
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 3.3K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/services.go
zDump := c.ztunnelDump svcs := slices.Filter(zDump.Services, filter.Verify) slices.SortFunc(svcs, func(a, b *ZtunnelService) int { if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 { return r } if r := cmp.Compare(a.Name, b.Name); r != 0 { return r } return cmp.Compare(a.Hostname, b.Hostname) }) fmt.Fprintln(w, "NAMESPACE\tSERVICE NAME\tSERVICE VIP\tWAYPOINT") for _, svc := range svcs {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 21:45:11 UTC 2024 - 2.7K bytes - Viewed (0) -
operator/pkg/compare/compare.go
return found && IsLeafNode(treeNode) }, cmp.Ignore()), nil } // genPathIgnoreOpt returns a cmp.Option to ignore paths specified in parameter ignorePaths. func genPathIgnoreOpt(ignorePaths []string) cmp.Option { return cmp.FilterPath(func(curPath cmp.Path) bool { cp := strings.Join(pathToStringList(curPath), ".") for _, ip := range ignorePaths { if res, err := filepath.Match(ip, cp); err == nil && res { return true
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 01:29:35 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_tidy_diff.txt
! go mod tidy -diff stdout 'diff current/go.mod tidy/go.mod' ! stdout 'diff current/go.sum tidy/go.sum' cmp go.mod.orig go.mod # go.sum requires updates, should return non-zero exit code. go mod tidy cp go.sum.orig go.sum ! go mod tidy -diff ! stdout 'diff current/go.mod tidy/go.mod' stdout 'diff current/go.sum tidy/go.sum' cmp go.sum.orig go.sum # go.mod and go.sum require updates, should return non-zero exit code.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 2.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritePPC64latelower.go
v0.AuxInt = int64ToAuxInt(1) v.AddArg2(v0, cmp) return true } // match: (SETBC [0] cmp) // cond: buildcfg.GOPPC64 <= 9 // result: (ISELZ [0] (MOVDconst [1]) cmp) for { if auxIntToInt32(v.AuxInt) != 0 { break } cmp := v_0 if !(buildcfg.GOPPC64 <= 9) { break } v.reset(OpPPC64ISELZ) v.AuxInt = int32ToAuxInt(0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:59:38 UTC 2024 - 16.5K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/connections.go
d := c.ztunnelDump workloads := maps.Values(d.WorkloadState) workloads = slices.SortFunc(workloads, func(a, b WorkloadState) int { if r := cmp.Compare(a.Info.Namespace, b.Info.Namespace); r != 0 { return r } return cmp.Compare(a.Info.Namespace, b.Info.Namespace) }) workloads = slices.FilterInPlace(workloads, func(state WorkloadState) bool {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 21:45:11 UTC 2024 - 3.5K bytes - Viewed (0) -
test/codegen/mathbits.go
func Add(x, y, ci uint) (r, co uint) { // arm64:"ADDS","ADCS","ADC",-"ADD\t",-"CMP" // amd64:"NEGL","ADCQ","SBBQ","NEGQ" // ppc64x: "ADDC", "ADDE", "ADDZE" // s390x:"ADDE","ADDC\t[$]-1," // riscv64: "ADD","SLTU" return bits.Add(x, y, ci) } func AddC(x, ci uint) (r, co uint) { // arm64:"ADDS","ADCS","ADC",-"ADD\t",-"CMP" // amd64:"NEGL","ADCQ","SBBQ","NEGQ" // loong64: "ADDV", "SGTU"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:51:17 UTC 2024 - 19.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/PPC64.rules
(Equal cmp) => (SETBC [2] cmp) (NotEqual cmp) => (SETBCR [2] cmp) (LessThan cmp) => (SETBC [0] cmp) (FLessThan cmp) => (SETBC [0] cmp) (FLessEqual cmp) => (OR (SETBC [2] cmp) (SETBC [0] cmp)) (GreaterEqual cmp) => (SETBCR [0] cmp) (GreaterThan cmp) => (SETBC [1] cmp) (FGreaterEqual cmp) => (OR (SETBC [2] cmp) (SETBC [1] cmp)) (FGreaterThan cmp) => (SETBC [1] cmp) (LessEqual cmp) => (SETBCR [1] cmp)
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/slices/iter.go
// and returns it. func Sorted[E cmp.Ordered](seq iter.Seq[E]) []E { s := Collect(seq) Sort(s) return s } // SortedFunc collects values from seq into a new slice, sorts the slice // using the comparison function, and returns it. func SortedFunc[E any](seq iter.Seq[E], cmp func(E, E) int) []E { s := Collect(seq) SortFunc(s, cmp) return s }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:40:32 UTC 2024 - 2.9K bytes - Viewed (0)