- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for handlers (0.1 sec)
-
src/cmd/dist/build.go
} // find reports the first index of p in l[0:n], or else -1. func find(p string, l []string) int { for i, s := range l { if p == s { return i } } return -1 } // xinit handles initialization of the various global state, like goroot and goarch. func xinit() { b := os.Getenv("GOROOT") if b == "" { fatalf("$GOROOT must be set") } goroot = filepath.Clean(b)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
t.Fatal(err) } for ident, obj := range info.Defs { if obj == nil { // only package names and implicit vars have a nil object // (in this test we only need to handle the package name) if ident.Value != "p" { t.Errorf("%v has nil object", ident) } continue } // struct fields, type-associated and interface methods // have no parent scope
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/regalloc.go
for r := register(0); r < s.numRegs; r++ { v := s.regs[r].v if v == nil { continue } if phiUsed>>r&1 != 0 { // Skip registers that phis used, we'll handle those // specially during merge edge processing. continue } regList = append(regList, startReg{r, v, s.regs[r].c, s.values[v.ID].uses.pos}) s.startRegsMask |= regMask(1) << r }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:49:56 UTC 2023 - 87.2K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
func (c *typeConv) badStructPointerTypedef(name string, dt *dwarf.StructType) bool { // Windows handle types can all potentially contain non-pointers. // badVoidPointerTypedef handles the "void *" HANDLE type, but other // handles are defined as // // struct <name>__{int unused;}; typedef struct <name>__ *name; //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
src/cmd/compile/internal/ppc64/ssa.go
// can be set to zero. // This same problem can happen with gostrings since the final offset is not // known yet, but could be unaligned after the relocation is resolved. // So gostrings are handled the same way. // This allows the MOVDload and MOVWload to be generated in more cases and // eliminates some offset and alignment checking in the rules file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:59:38 UTC 2024 - 55.4K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
variables are unchanged. A cached test result is treated as executing in no time at all, so a successful package test result will be cached and reused regardless of -timeout setting. In addition to the build flags, the flags handled by 'go test' itself are: -args Pass the remainder of the command line (everything after -args) to the test binary, uninterpreted and unchanged.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0) -
src/bufio/bufio_test.go
}, // ReadLine doesn't fit the data/pattern easily // so we leave it out. It should be covered via // the ReadSlice test since ReadLine simply calls // ReadSlice, and it's that function that handles // the last byte. } // Try all readers with UnreadByte. for rno, read := range readers { // Some input data that is longer than the minimum reader buffer size. const n = 10 var buf bytes.Buffer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 18:56:01 UTC 2023 - 51.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/debug.go
setSlot := func(slot SlotID, loc VarLoc) { changed = true state.changedVars.add(ID(state.slotVars[slot])) state.changedSlots.add(ID(slot)) state.currentState.slots[slot] = loc } // Handle any register clobbering. Call operations, for example, // clobber all registers even though they don't explicitly write to // them. clobbers := uint64(opcodeTable[v.Op].reg.clobbers) for { if clobbers == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 58.4K bytes - Viewed (0) -
src/cmd/go/internal/modget/get.go
// 'go get' no longer builds or installs packages, so there's nothing to do // if there's no go.mod file. // TODO(#40775): make modload.Init return ErrNoModRoot instead of exiting. // We could handle that here by printing a different message. modload.Init() if !modload.HasModRoot() { base.Fatalf("go: go.mod file not found in current directory or any parent directory.\n" +
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:26:32 UTC 2024 - 66.5K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
p.top = true p.file = file p.errh = errh p.mode = mode p.pragh = pragh p.scanner.init( r, // Error and directive handler for scanner. // Because the (line, col) positions passed to the // handler is always at or after the current reading // position, it is safe to use the most recent position // base to compute the corresponding Pos value. func(line, col uint, msg string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0)