- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 50 for wrong1 (0.14 sec)
-
src/internal/syscall/unix/kernel_version_solaris.go
if err == nil { syscall.Close(s) return true } if err != syscall.EPROTONOSUPPORT && err != syscall.EINVAL { // Something wrong with socket(), fall back to checking the kernel version. major, minor := KernelVersion() if runtime.GOOS == "illumos" { return major > 5 || (major == 5 && minor >= 11) // minimal requirement is SunOS 5.11 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 3.1K bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go
// A new Go-created thread with the same ID appears and // starts running, then tries to steal the P from the // first thread. The stealing is interesting because if // the parser handles GoDestroySyscall wrong, then we // have a self-steal here potentially that doesn't make // sense. b1 := g.Batch(trace.ThreadID(0), 0) b1.Event("ProcStatus", trace.ProcID(1), go122.ProcIdle) b1.Event("ProcStart", trace.ProcID(1), testgen.Seq(1))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 2.3K bytes - Viewed (0) -
src/net/resolverdialfunc_test.go
if err != nil { t.Fatal(err) } if got, want := sortedIPStrings(ips), []string{"0:200::e00", "1.2.3.4", "1::f", "5.6.7.8"}; !reflect.DeepEqual(got, want) { t.Errorf("LookupIP wrong.\n got: %q\nwant: %q\n", got, want) } }) t.Run("LookupSRV", func(t *testing.T) { _, got, err := r.LookupSRV(ctx, "some-service", "tcp", fakeDomain) if err != nil { t.Fatal(err) } want := []*SRV{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.3K bytes - Viewed (0) -
src/os/read_test.go
t.Fatalf("WriteFile %s: %v", f.Name(), err) } data, err := ReadFile(f.Name()) if err != nil { t.Fatalf("ReadFile %s: %v", f.Name(), err) } if string(data) != msg { t.Fatalf("ReadFile: wrong data:\nhave %q\nwant %q", string(data), msg) } } func TestReadOnlyWriteFile(t *testing.T) { if Getuid() == 0 { t.Skipf("Root can write to read-only files anyway, so skip the read-only test.") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 02:36:46 UTC 2024 - 3.2K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/permissions/permissions.kt
* * changeExpressionBodyTo(1) // now function will looks like `fun foo(): Int = 1` * val valueAfter = function.getConstantFromExpressionBody() // Wrong way: valueAfter is not guarantied to be '1' * } * * analyse(function) { * val valueAfter = function.getConstantFromExpressionBody() // OK: valueAfter is guarantied to be '1' * } * } * ``` */
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 17:22:24 UTC 2024 - 4.5K bytes - Viewed (0) -
apache-maven/src/main/appended-resources/META-INF/LICENSE.vm
#* *##else #* *### unrecognized license will require analysis to know obligations #* *##set ( $spdx = 'unrecognized' ) #* *##end #* *### #* *### fix project urls that are wrong in pom #* *##if ( $project.url.startsWith( "http://www.eclipse.org/sisu/" ) ) #* *##set ( $project.url = 'https://www.eclipse.org/sisu/' ) #* *##elseif ( $project.url.startsWith( "https://github.com/google/guava/" ) )
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 04 06:45:16 UTC 2024 - 4.1K bytes - Viewed (0) -
cmd/import-boss/main_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 12:36:49 UTC 2024 - 8.8K bytes - Viewed (0) -
src/os/exec_unix.go
return p.pidWait() default: panic("unreachable") } } func (p *Process) pidWait() (*ProcessState, error) { // TODO(go.dev/issue/67642): When there are concurrent Wait calls, one // may wait on the wrong process if the PID is reused after the // completes its wait. // // Checking for statusDone here would not be a complete fix, as the PID // could still be waited on and reused prior to blockUntilWaitable.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 4.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/doc.go
// // # Examples // // The %d format operator requires an integer operand. // Here it is incorrectly applied to a string: // // fmt.Printf("%d", "hello") // fmt.Printf format %d has arg "hello" of wrong type string // // A call to Printf must have as many operands as there are "verbs" in // the format string, not too few: // // fmt.Printf("%d") // fmt.Printf format reads arg 1, but call has 0 args // // nor too many:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 3.2K bytes - Viewed (0) -
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)