- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,306 for Cases (0.06 sec)
-
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) -
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) -
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) -
pkg/config/model_test.go
json: `{"name":"foobar"}`, }, } for _, tt := range cases { t.Run(fmt.Sprintf("%T", tt.input), func(t *testing.T) { jb, err := ToJSON(tt.input) if err != nil { t.Fatal(err) } if string(jb) != tt.json { t.Fatalf("got %v want %v", string(jb), tt.json) } }) } } func TestToMap(t *testing.T) { cases := []struct { input Spec mp map[string]any }{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 17:37:32 UTC 2024 - 7.9K 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) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/scopeProvider/AbstractSubstitutionOverridesUnwrappingTest.kt
*/ package org.jetbrains.kotlin.analysis.api.impl.base.test.cases.components.scopeProvider import org.jetbrains.kotlin.analysis.api.KaSession import org.jetbrains.kotlin.analysis.test.framework.services.expressionMarkerProvider import org.jetbrains.kotlin.analysis.api.impl.base.test.cases.symbols.AbstractSymbolTest import org.jetbrains.kotlin.analysis.api.impl.base.test.cases.symbols.SymbolsData
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 2.2K bytes - Viewed (0) -
src/go/types/typeterm.go
func (x *term) equal(y *term) bool { // easy cases switch { case x == nil || y == nil: return x == y case x.typ == nil || y.typ == nil: return x.typ == y.typ } // ∅ ⊂ x, y ⊂ 𝓤 return x.tilde == y.tilde && Identical(x.typ, y.typ) } // union returns the union x ∪ y: zero, one, or two non-nil terms. func (x *term) union(y *term) (_, _ *term) { // easy cases switch { case x == nil && y == nil:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 3.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typeparams/typeterm.go
func (x *term) equal(y *term) bool { // easy cases switch { case x == nil || y == nil: return x == y case x.typ == nil || y.typ == nil: return x.typ == y.typ } // ∅ ⊂ x, y ⊂ 𝓤 return x.tilde == y.tilde && types.Identical(x.typ, y.typ) } // union returns the union x ∪ y: zero, one, or two non-nil terms. func (x *term) union(y *term) (_, _ *term) { // easy cases switch { case x == nil && y == nil:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 21:08:44 UTC 2023 - 3.6K bytes - Viewed (0) -
pilot/pkg/model/extensions_test.go
Sha256: "fake-sha256", }, }, }, }, } for _, tc := range cases { t.Run("", func(t *testing.T) { u, err := url.Parse(tc.url) assert.NoError(t, err) got := buildDataSource(u, tc.wasmPlugin) assert.Equal(t, tc.expected, got) }) } } func TestBuildVMConfig(t *testing.T) { cases := []struct { desc string vm *extensions.VmConfig policy extensions.PullPolicy
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 14.4K bytes - Viewed (0) -
cni/pkg/install/cniconfig_test.go
} else if len(c.expectedConfName) > 0 { t.Fatalf("timed out waiting for expected %s", expectedFilepath) } else { // Successful test for test cases where CNI config file is never created return } } // Only for delayed cases select { case result := <-resultChan: if result != expectedFilepath { if len(expectedFilepath) > 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 15.4K bytes - Viewed (0)