- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 2,911 for case1 (0.06 sec)
-
src/cmd/compile/internal/ssa/memcombine.go
case 4: return b.NewValue2(pos, OpRsh32Ux64, v.Type, v, s) case 2: return b.NewValue2(pos, OpRsh16Ux64, v.Type, v, s) default: base.Fatalf("bad size %d\n", size) return nil } } func byteSwap(b *Block, pos src.XPos, v *Value) *Value { switch v.Type.Size() { case 8: return b.NewValue1(pos, OpBswap64, v.Type, v) case 4: return b.NewValue1(pos, OpBswap32, v.Type, v) case 2:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 19:45:41 UTC 2024 - 18.4K bytes - Viewed (0) -
tests/integration/security/authz_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 23:36:51 UTC 2024 - 50.1K bytes - Viewed (0) -
pkg/controller/job/indexed_job_utils_test.go
wantHas: true, }, } for name, tc := range cases { t.Run(name, func(t *testing.T) { has := tc.intervals.has(tc.index) if has != tc.wantHas { t.Errorf("intervalsHaveIndex(_, _) = %t, want %t", has, tc.wantHas) } }) } } func TestFirstPendingIndexes(t *testing.T) { cases := map[string]struct { cnt int completions int
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.9K bytes - Viewed (0) -
src/crypto/x509/oid_test.go
} for _, v := range oidTests { oid, ok := newOIDFromDER(v.raw) if !ok { continue } cases = append(cases, struct { in string out OID err error }{ in: v.str, out: oid, err: nil, }) } for _, tt := range cases { o, err := ParseOID(tt.in) if err != tt.err { t.Errorf("ParseOID(%q) = %v; want = %v", tt.in, err, tt.err) continue
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 19:10:38 UTC 2024 - 10.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/stablehlo/quantization_test.cc
using ::stablehlo::quantization::io::CreateTmpDir; using ::testing::HasSubstr; using ::tsl::testing::IsOk; using ::tsl::testing::StatusIs; // Test cases for `RunQuantization` mainly tests for error cases because testing // for successful cases require passing python implementation to // `quantization_py_function_lib`, which requires testing from the python level.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 11 19:29:56 UTC 2024 - 3.1K bytes - Viewed (0) -
pkg/kubeapiserver/authorizer/reload.go
authorizers = append(authorizers, superuserAuthorizer) for _, configuredAuthorizer := range authzConfig.Authorizers { // Keep cases in sync with constant list in k8s.io/kubernetes/pkg/kubeapiserver/authorizer/modes/modes.go. switch configuredAuthorizer.Type { case authzconfig.AuthorizerType(modes.ModeNode): if r.nodeAuthorizer == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:01:15 UTC 2024 - 9.3K bytes - Viewed (0) -
pkg/util/filesystem/util_test.go
{path: "/var/../something", expected: false}, {path: "/var//lib/something", expected: false}, {path: "/var/./lib/something", expected: false}, } // Additional cases applicable on Windows if runtime.GOOS == "windows" { cases = append(cases, []Case{ {path: "\\", expected: true}, {path: "C:/var/lib/something", expected: true}, {path: "C:\\var\\lib\\something", expected: true}, {path: "C:/", expected: true},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 17:13:59 UTC 2024 - 3.8K bytes - Viewed (0) -
src/context/context.go
// For example, if childContext is derived from parentContext: // - if parentContext is canceled with cause1 before childContext is canceled with cause2, // then Cause(parentContext) == Cause(childContext) == cause1 // - if childContext is canceled with cause2 before parentContext is canceled with cause1, // then Cause(parentContext) == cause1 and Cause(childContext) == cause2 type CancelCauseFunc func(cause error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 23.7K bytes - Viewed (0) -
pkg/scheduler/eventhandlers.go
for gvk, at := range gvkMap { switch gvk { case framework.Node, framework.Pod: // Do nothing. case framework.CSINode: if handlerRegistration, err = informerFactory.Storage().V1().CSINodes().Informer().AddEventHandler( buildEvtResHandler(at, framework.CSINode, "CSINode"), ); err != nil { return err } handlers = append(handlers, handlerRegistration) case framework.CSIDriver:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:21:04 UTC 2024 - 24K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode_test.go
} else { // larger simple values encode to two bytes each.in = []byte{byte(0xe0) | byte(24), byte(i)} } switch i { case 20, 21, 22, 23: // recognized values with explicit cases continue case 24, 25, 26, 27, 28, 29, 30, 31: // reserved // these are considered not well-formed each.assertOnError = assertOnConcreteError(func(t *testing.T, e *cbor.SyntaxError) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 18:43:10 UTC 2024 - 25.6K bytes - Viewed (0)