- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 38 for wrong1 (0.2 sec)
-
src/runtime/debug/stack.go
// valid at the time of the write, because the caller // (incorrectly) called f.Close() and the kernel // reissued the fd in a later call to open(2), leading // to crashes being written to the wrong file. // // So, we duplicate the fd to obtain a private one // that cannot be closed by the user. // This also alleviates us from concerns about the // lifetime and finalization of f.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 3.2K bytes - Viewed (0) -
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) -
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) -
platforms/core-configuration/configuration-cache-base/src/main/kotlin/org/gradle/internal/cc/base/services/ConfigurationCacheEnvironmentChangeTracker.kt
// Restoration must consider properties that was overridden after store. // When property was loaded and stored then loaded value will be presented for execution time after restore. // This is a wrong behavior if property was overridden. Execution time must see overridden value instead of restored one. // Overridden properties keys are passed to be excluded from the restoration process.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 9.5K 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)