- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 50 for wrong1 (0.14 sec)
-
pkg/volume/plugins_test.go
plug, err := vpm.FindPluginByName(testPluginName) if err != nil { t.Fatal("Can't find the plugin by name") } if plug.GetPluginName() != testPluginName { t.Errorf("Wrong name: %s", plug.GetPluginName()) } _, err = vpm.FindPluginBySpec(nil) if err == nil { t.Errorf("Should return error if volume spec is nil") } volumeSpec := &Spec{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 4.3K bytes - Viewed (0) -
src/internal/godebug/godebug_test.go
{"", foo, ""}, {"foo=bar", foo, "bar"}, {"foo=bar,after=x", foo, "bar"}, {"before=x,foo=bar,after=x", foo, "bar"}, {"before=x,foo=bar", foo, "bar"}, {",,,foo=bar,,,", foo, "bar"}, {"foodecoy=wrong,foo=bar", foo, "bar"}, {"foo=", foo, ""}, {"foo", foo, ""}, {",foo", foo, ""}, {"foo=bar,baz", New("#loooooooong"), ""}, } for _, tt := range tests { t.Setenv("GODEBUG", tt.godebug)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go
convertibleToRune = false break } } target := describe(T0, T, tname.Name()) source := describe(V0, V, typeName(V)) if target == "" || source == "" { return // something went wrong } diag := analysis.Diagnostic{ Pos: n.Pos(), Message: fmt.Sprintf("conversion from %s to %s yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)", source, target), }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 5.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 8.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskFailureIntegrationTest.groovy
failure.assertHasCause("Unable to determine constructor argument #1: missing parameter of type String, or no service of type String") } def "fails when #description constructor argument is wrong type"() { given: buildFile << CUSTOM_TASK_WITH_CONSTRUCTOR_ARGS buildFile << "tasks.register('myTask', CustomTask, $constructorArgs)" when: fails 'myTask'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:33 UTC 2024 - 9.2K bytes - Viewed (0) -
internal/ioutil/ioutil_test.go
r := NewSkipReader(testCase.src, testCase.skipLen) b, err := io.ReadAll(r) if err != nil { t.Errorf("Case %d: Unexpected err %v", i, err) } if string(b) != testCase.expected { t.Errorf("Case %d: Got wrong result: %v", i, string(b)) } } } func TestSameFile(t *testing.T) { f, err := os.CreateTemp("", "") if err != nil { t.Errorf("Error creating tmp file: %v", err) } tmpFile := f.Name()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r55/ReservedProjectNamesCrossVersionSpec.groovy
def projects = collectProjects(model) !projects.collect({ it.name }).contains("a") projects.collect({ it.name }).contains("root-a") } def "gradle projects are recognized and not wrongly deduplicated"() { when: EclipseProject model = withConnection { connection -> return connection.action(new LoadEclipseModel(eclipseWorkspace([ project("root", projectDir),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6.3K bytes - Viewed (0) -
src/internal/coverage/pods/pods.go
// the list 'dirs', collects any coverage-related files, partitions // them into pods, and returns a list of the pods to the caller, along // with an error if something went wrong during directory/file // reading. // // CollectPods skips over any file that is not related to coverage // (e.g. avoids looking at things that are not meta-data files or
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 6.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc
const Function* compute = bef_file_->GetFunction(function_name); CHECK(compute) << "Entrypoint function not found"; CHECK_EQ(arguments.size() + 1, compute->num_arguments()) << "Wrong number of arguments for function " << function_name.str(); // Prepare function arguments from ready Chain and input Tensors. llvm::SmallVector<tfrt::AsyncValue*> exec_arguments;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 00:18:59 UTC 2024 - 9.1K bytes - Viewed (0) -
pkg/volume/git_repo/git_repo.go
subdir = filepath.Join(dir) case len(files) == 1: // if target is not '.', use the generated folder subdir = filepath.Join(dir, files[0].Name()) default: // if target is not '.', but generated many files, it's wrong return fmt.Errorf("unexpected directory contents: %v", files) } if output, err := b.execCommand("git", []string{"checkout", b.revision}, subdir); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 8.2K bytes - Viewed (0)