- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 848 for Cmp (0.17 sec)
-
pkg/registry/core/event/strategy_test.go
See the License for the specific language governing permissions and limitations under the License. */ package event import ( "context" "reflect" "testing" "github.com/google/go-cmp/cmp" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/fields" apitesting "k8s.io/kubernetes/pkg/api/testing" api "k8s.io/kubernetes/pkg/apis/core" // ensure types are installed
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 4.3K bytes - Viewed (0) -
src/internal/bytealg/equal_ppc64x.s
VCMPEQUDCC V0, V1, V2 ISEL CR6LT, R11, R0, R3 RET #else CMP R5, $8 BLT check0_7 // Load sX[0:7] and compare. MOVD (R8), R6 MOVD (R4), R7 CMP R6, R7 ISEL CR0EQ, R11, R0, R5 // Load sX[len(sX)-8:len(sX)] and compare. MOVD -8(R9), R6 MOVD -8(R10), R7 CMP R6, R7 ISEL CR0EQ, R5, R0, R3 RET check0_7: CMP R5,$0 MOVD $1, R3 BEQLR // return if len == 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 16:47:45 UTC 2023 - 4.9K bytes - Viewed (0) -
pkg/generated/openapi/openapi_test.go
See the License for the specific language governing permissions and limitations under the License. */ package openapi import ( "encoding/json" "reflect" "testing" "github.com/google/go-cmp/cmp" "k8s.io/kube-openapi/pkg/common" "k8s.io/kube-openapi/pkg/handler" "k8s.io/kube-openapi/pkg/validation/spec" ) func TestOpenAPIRoundtrip(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 1.8K 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) -
src/cmd/compile/internal/ssa/_gen/AMD64splitload.rules
// For example: // (CMPBconstload c (ADDQ x y)) -> (CMPBconstloadidx1 c x y) -> (CMPB c (MOVBloadidx1 x y)) (CMP(Q|L|W|B)load {sym} [off] ptr x mem) => (CMP(Q|L|W|B) (MOV(Q|L|W|B)load {sym} [off] ptr mem) x) (CMP(Q|L|W|B)constload {sym} [vo] ptr mem) && vo.Val() == 0 => (TEST(Q|L|W|B) x:(MOV(Q|L|W|B)load {sym} [vo.Off()] ptr mem) x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 04 19:35:46 UTC 2022 - 3.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_tidy_compat_irrelevant.txt
[exec:patch] exec patch -p1 -i diff.patch [exec:patch] go mod tidy -diff [exec:patch] ! stdout . [exec:patch] cmp go.mod go.mod.tidyResult [exec:patch] cmp go.sum go.sum.tidyResult go list -deps -test -f $MODFMT all cp stdout out-117.txt go mod edit -go=1.16 go list -deps -test -f $MODFMT all cmp stdout out-117.txt # If we explicitly drop compatibility with 1.16, we retain fewer checksums,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 3.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/local_scheme_test.go
See the License for the specific language governing permissions and limitations under the License. */ package runtime import ( "testing" "reflect" "github.com/google/go-cmp/cmp" "k8s.io/apimachinery/pkg/runtime/schema" ) func TestPreferredVersionsAllGroups(t *testing.T) { tests := []struct { name string versionPriority map[string][]string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 4.1K bytes - Viewed (0) -
pkg/apis/flowcontrol/internalbootstrap/defaults_test.go
See the License for the specific language governing permissions and limitations under the License. */ package internalbootstrap import ( "fmt" "testing" "github.com/google/go-cmp/cmp" flowcontrol "k8s.io/api/flowcontrol/v1" apiequality "k8s.io/apimachinery/pkg/api/equality" "k8s.io/apiserver/pkg/apis/flowcontrol/bootstrap" ) func TestBootstrapConfigurationWithDefaulted(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 2.4K bytes - Viewed (0) -
src/math/big/ratmarsh_test.go
t.Errorf("encoding of %s failed: %s", &tx, err) continue } var rx Rat if err := dec.Decode(&rx); err != nil { t.Errorf("decoding of %s failed: %s", &tx, err) continue } if rx.Cmp(&tx) != 0 { t.Errorf("transmission of %s failed: got %s want %s", &tx, &rx, &tx) } } } // Sending a nil Rat pointer (inside a slice) on a round trip through gob should yield a zero. // TODO: top-level nils.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 11 20:20:16 UTC 2022 - 3.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/work_use.txt
go work use -r foo cmp go.work go.want_work_r ! go work use other stderr '^go: error reading other'${/}'go.mod: missing module declaration' go mod edit -C other -module=other go work use other cmp go.work go.want_work_other -- go.work -- go 1.18 use ( foo foo/bar // doesn't exist ) -- go.want_work_r -- go 1.18 use ( ./foo ./foo/bar/baz ) -- go.want_work_other -- go 1.18 use ( ./foo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 03 21:13:11 UTC 2023 - 504 bytes - Viewed (0)