- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 191 for COMMENT (0.13 sec)
-
src/internal/trace/internal/oldtrace/order.go
} func transition(gs map[uint64]gState, g uint64, init, next gState) error { if g == unordered { return nil } curr := gs[g] if !transitionReady(g, curr, init) { // See comment near the call to transition, where we're building the frontier, for details on how this could // possibly happen. return errors.New("encountered impossible goroutine state transition") } switch next.seq {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 4K bytes - Viewed (0) -
src/os/removeall_at.go
var r int for { var e error r, e = unix.Openat(dirfd, name, O_RDONLY|syscall.O_CLOEXEC|syscall.O_DIRECTORY|syscall.O_NOFOLLOW, 0) if e == nil { break } // See comment in openFileNolog. if e == syscall.EINTR { continue } return nil, e } if !supportsCloseOnExec { syscall.CloseOnExec(r) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:26 UTC 2024 - 4.8K bytes - Viewed (0) -
src/os/dir_unix.go
name = name[:i] break } } // Check for useless names before allocating a string. if string(name) == "." || string(name) == ".." { continue } if n > 0 { // see 'n == 0' comment above n-- } if mode == readdirName { names = append(names, string(name)) } else if mode == readdirDirEntry { de, err := newUnixDirent(f.name, string(name), direntType(rec))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 20:11:45 UTC 2024 - 4.8K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
pos = MakePos(p.file, line+1, colbase) } else { // regular comment // (if the comment spans multiple lines it's not // a valid line directive and will be discarded // by updateBase) pos = MakePos(p.file, line, col+uint(len(msg))) } p.updateBase(pos, line, col+2+5, text[5:]) // +2 to skip over // or /* return } // go: directive (but be conservative and test)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
src/go/build/deps_test.go
< go/version < go/token < go/scanner < go/ast < go/internal/typeparams; FMT < go/build/constraint; FMT, sort < go/doc/comment; go/internal/typeparams, go/build/constraint < go/parser; go/doc/comment, go/parser, text/tabwriter < go/printer < go/format; math/big, go/token < go/constant; FMT, internal/goexperiment < internal/buildcfg;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 19.2K bytes - Viewed (0) -
src/internal/trace/raw/textreader.go
if !r.s.Scan() { if err := r.s.Err(); err != nil { return "", err } return "", io.EOF } txt := r.s.Text() tok, _ := readToken(txt) if tok == "" { continue // Empty line or comment. } return txt, nil } } var frameFields = []string{"pc", "func", "file", "line"} func readArgs(s string, names []string) ([]uint64, error) { var args []uint64 for _, name := range names {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 4.9K bytes - Viewed (0) -
src/runtime/slice.go
// // It's safe to pass a type to this function as an optimization because // from and to only ever refer to memory representing whole values of // type et. See the comment on bulkBarrierPreWrite. bulkBarrierPreWriteSrcOnly(uintptr(to), uintptr(from), copymem, et) } } if raceenabled { callerpc := getcallerpc() pc := abi.FuncPCABIInternal(makeslicecopy)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 12.2K bytes - Viewed (0) -
src/internal/fmtsort/sort.go
}) return sorted } // compare compares two values of the same type. It returns -1, 0, 1 // according to whether a > b (1), a == b (0), or a < b (-1). // If the types differ, it returns -1. // See the comment on Sort for the comparison rules. func compare(aVal, bVal reflect.Value) int { aType, bType := aVal.Type(), bVal.Type() if aType != bType { return -1 // No good answer possible, but don't return 0: they're not equal. }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:31:45 UTC 2024 - 4.9K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy
then: cancelBuild() then: handler.releaseAll() then: daemons.daemon.becomesIdle() when: file('src/main/java/Foo.java') << "\n// Comment to trigger recompilation\n" handler = blockingHttpServer.expectAndBlock("/block") startBuild("compileJava") then: handler.waitForAllPendingCalls() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 19:57:50 UTC 2024 - 8.8K bytes - Viewed (0) -
src/go/types/api_test.go
rx := regexp.MustCompile(`^/\*(\w*)=([\w:]*)\*/$`) for _, group := range f.Comments { for _, comment := range group.List { // Parse the assertion in the comment. m := rx.FindStringSubmatch(comment.Text) if m == nil { t.Errorf("%s: bad comment: %s", fset.Position(comment.Pos()), comment.Text) continue } name, want := m[1], m[2]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0)