- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 151 for desc (0.17 sec)
-
src/cmd/compile/internal/types2/errors.go
// Otherwise, call it once, with a single combined message. multiError := false if !isTypes2 { for i := 1; i < len(err.desc); i++ { if err.desc[i].pos.IsKnown() { multiError = true break } } } if multiError { for i := range err.desc { p := &err.desc[i] check.handleError(i, p.pos, err.code, p.msg, err.soft) } } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.6K bytes - Viewed (0) -
src/cmd/go/internal/work/shell.go
out = cgoLine.ReplaceAllString(out, "") out = cgoTypeSigRe.ReplaceAllString(out, "C.") } // Usually desc is already p.Desc(), but if not, signal cmdError.Error to // add a line explicitly mentioning the import path. needsPath := importPath != "" && p != nil && desc != p.Desc() err := &cmdError{desc, out, importPath, needsPath} if cmdErr != nil { // The command failed. Report the output up as an error. return err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 19.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/sysvshm_linux.go
// SysvShmCtl performs control operations on the shared memory segment // specified by id. func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) { if runtime.GOARCH == "arm" || runtime.GOARCH == "mips64" || runtime.GOARCH == "mips64le" { cmd |= ipc_64 } return shmctl(id, cmd, desc)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 521 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue24161e1/main.go
import "C" import ( "fmt" "testing" ) func f1() { C.SecKeyCreateSignature(0, C.kSecKeyAlgorithmECDSASignatureDigestX962SHA1, 0, nil) } func f2(e C.CFErrorRef) { if desc := C.CFErrorCopyDescription(e); desc != 0 { fmt.Println(desc) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/sysvshm_unix_other.go
//go:build (darwin && !ios) || zos package unix // SysvShmCtl performs control operations on the shared memory segment // specified by id. func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) { return shmctl(id, cmd, desc)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 407 bytes - Viewed (0) -
src/cmd/fix/main.go
for _, f := range fixes { if f.disabled { fmt.Fprintf(os.Stderr, "\n%s (disabled)\n", f.name) } else { fmt.Fprintf(os.Stderr, "\n%s\n", f.name) } desc := strings.TrimSpace(f.desc) desc = strings.ReplaceAll(desc, "\n", "\n\t") fmt.Fprintf(os.Stderr, "\t%s\n", desc) } os.Exit(2) } func main() { telemetry.Start() flag.Usage = usage flag.Parse() telemetry.Inc("fix/invocations")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.4K bytes - Viewed (0) -
src/cmd/fix/main_test.go
} } } testCases = append(testCases, t...) } func fnop(*ast.File) bool { return false } func parseFixPrint(t *testing.T, fn func(*ast.File) bool, desc, in string, mustBeGofmt bool) (out string, fixed, ok bool) { file, err := parser.ParseFile(fset, desc, in, parserMode) if err != nil { t.Errorf("parsing: %v", err) return } outb, err := gofmtFile(file) if err != nil { t.Errorf("printing: %v", err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 05:31:47 UTC 2024 - 3.8K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/internal/filelock/filelock_test.go
t.Helper() desc := fmt.Sprintf("%s(fd %d)", op, f.Fd()) done := make(chan struct{}) go func() { t.Helper() switch op { case "Lock": lock(t, f) case "RLock": rLock(t, f) default: panic("invalid op: " + op) } close(done) }() select { case <-done: t.Fatalf("%s unexpectedly did not block", desc) return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 22:37:50 UTC 2023 - 4K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue24161e2/main.go
"testing" ) var _ C.CFStringRef func f1() { C.SecKeyCreateSignature(0, C.kSecKeyAlgorithmECDSASignatureDigestX962SHA1, 0, nil) } func f2(e C.CFErrorRef) { if desc := C.CFErrorCopyDescription(e); desc != 0 { fmt.Println(desc) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 1K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/lockedfile_test.go
probablyStillBlocked = 10 * time.Second ) func mustBlock(t *testing.T, desc string, f func()) (wait func(*testing.T)) { t.Helper() done := make(chan struct{}) go func() { f() close(done) }() timer := time.NewTimer(quiescent) defer timer.Stop() select { case <-done: t.Fatalf("%s unexpectedly did not block", desc) case <-timer.C: } return func(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 5.7K bytes - Viewed (0)