- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 364 for Cmp (0.08 sec)
-
pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions_test.go
See the License for the specific language governing permissions and limitations under the License. */ package volumerestrictions import ( "context" "testing" "github.com/google/go-cmp/cmp" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/kubernetes/pkg/scheduler/apis/config" "k8s.io/kubernetes/pkg/scheduler/framework"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 20 17:40:39 UTC 2023 - 17.3K bytes - Viewed (0) -
src/runtime/softfloat64.go
} func feq32(x, y uint32) bool { cmp, nan := fcmp64(f32to64(x), f32to64(y)) return cmp == 0 && !nan } func fgt32(x, y uint32) bool { cmp, nan := fcmp64(f32to64(x), f32to64(y)) return cmp >= 1 && !nan } func fge32(x, y uint32) bool { cmp, nan := fcmp64(f32to64(x), f32to64(y)) return cmp >= 0 && !nan } func feq64(x, y uint64) bool { cmp, nan := fcmp64(x, y) return cmp == 0 && !nan
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 08 17:58:41 UTC 2021 - 11.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/conversion_test.go
t.Errorf("unexpected diff:\n%s", cmp.Diff(e, a)) } if e, a := tc.ExpectedAttrs.Attributes.GetOldObject(), tc.Attrs.Attributes.GetOldObject(); !reflect.DeepEqual(e, a) { t.Errorf("unexpected diff:\n%s", cmp.Diff(e, a)) } if e, a := tc.ExpectedAttrs.VersionedKind, tc.Attrs.VersionedKind; !reflect.DeepEqual(e, a) { t.Errorf("unexpected diff:\n%s", cmp.Diff(e, a)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 13.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/MIPS.rules
(NE (XORconst [1] cmp:(SGTzero _)) yes no) => (EQ cmp yes no) (NE (XORconst [1] cmp:(SGTUzero _)) yes no) => (EQ cmp yes no) (EQ (XORconst [1] cmp:(SGT _ _)) yes no) => (NE cmp yes no) (EQ (XORconst [1] cmp:(SGTU _ _)) yes no) => (NE cmp yes no) (EQ (XORconst [1] cmp:(SGTconst _)) yes no) => (NE cmp yes no) (EQ (XORconst [1] cmp:(SGTUconst _)) yes no) => (NE cmp yes no)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 14:43:03 UTC 2023 - 35.3K bytes - Viewed (0) -
src/runtime/sys_openbsd_arm.s
BL libc_sigaction(SB) CMP $-1, R0 BNE 3(PC) MOVW $0, R8 // crash on failure MOVW R8, (R8) MOVW R9, R13 RET TEXT runtime·sigprocmask_trampoline(SB),NOSPLIT,$0 MOVW R13, R9 BIC $0x7, R13 // align for ELF ABI MOVW 4(R0), R1 // arg 2 new MOVW 8(R0), R2 // arg 3 old MOVW 0(R0), R0 // arg 1 how BL libc_pthread_sigmask(SB) CMP $-1, R0 BNE 3(PC)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 18.5K bytes - Viewed (0) -
pkg/scheduler/apis/config/validation/validation_pluginargs_test.go
See the License for the specific language governing permissions and limitations under the License. */ package validation import ( "fmt" "strings" "testing" "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/errors" "k8s.io/apimachinery/pkg/util/validation/field" "k8s.io/apiserver/pkg/util/feature"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/compatibility.go
*/ package roundtrip import ( "bytes" gojson "encoding/json" "io/ioutil" "os" "os/exec" "path/filepath" "reflect" "sort" "strings" "testing" "github.com/google/go-cmp/cmp" apiequality "k8s.io/apimachinery/pkg/api/equality" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/runtime/serializer/json"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 16:38:32 UTC 2023 - 17.8K bytes - Viewed (0) -
pkg/util/iptree/iptree_test.go
limitations under the License. */ package iptree import ( "math/rand" "net/netip" "reflect" "sort" "testing" "time" "github.com/google/go-cmp/cmp" "k8s.io/apimachinery/pkg/util/sets" ) func Test_InsertGetDelete(t *testing.T) { testCases := []struct { name string prefix netip.Prefix }{ { name: "ipv4",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:04 UTC 2023 - 17.8K bytes - Viewed (0) -
src/runtime/sys_openbsd_arm64.s
CALL libc_mmap(SB) MOVD $0, R1 CMP $-1, R0 BNE noerr CALL libc_errno(SB) MOVW (R0), R1 // errno MOVD $0, R0 noerr: MOVD R0, 32(R19) MOVD R1, 40(R19) RET TEXT runtime·munmap_trampoline(SB),NOSPLIT,$0 MOVD 8(R0), R1 // arg 2 - len MOVD 0(R0), R0 // arg 1 - addr CALL libc_munmap(SB) CMP $-1, R0 BNE 3(PC) MOVD $0, R0 // crash on failure
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 15.1K bytes - Viewed (0) -
src/math/big/nat_test.go
z = x case "aliasY": z = y } z = z.subMod2N(x, y, tt.n) if z.cmp(want) != 0 { t.Fatalf("subMod2N(%d, %d, %d) = %d, want %d", x0, y0, tt.n, z, want) } if mode != "aliasX" && x.cmp(x0) != 0 { t.Fatalf("subMod2N(%d, %d, %d) modified x", x0, y0, tt.n) } if mode != "aliasY" && y.cmp(y0) != 0 { t.Fatalf("subMod2N(%d, %d, %d) modified y", x0, y0, tt.n) } } })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 09 15:29:36 UTC 2024 - 26.2K bytes - Viewed (0)