- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 545 for pool (0.02 sec)
-
src/cmd/compile/internal/ssa/allocators.go
Data: unsafe.Pointer(&b[0]), Len: n, Cap: cap(b) * int(scale), } return *(*[]bool)(unsafe.Pointer(&s)) } func (c *Cache) freeBoolSlice(s []bool) { var base int64 var derived bool scale := unsafe.Sizeof(base) / unsafe.Sizeof(derived) b := unsafeheader.Slice{ Data: unsafe.Pointer(&s[0]), Len: int((uintptr(len(s)) + scale - 1) / scale), Cap: int((uintptr(cap(s)) + scale - 1) / scale),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 15 23:00:54 UTC 2023 - 7.4K bytes - Viewed (0) -
src/archive/zip/register.go
// simultaneously, but each returned reader will be used only by // one goroutine at a time. type Decompressor func(r io.Reader) io.ReadCloser var flateWriterPool sync.Pool func newFlateWriter(w io.Writer) io.WriteCloser { fw, ok := flateWriterPool.Get().(*flate.Writer) if ok { fw.Reset(w) } else { fw, _ = flate.NewWriter(w, 5) } return &pooledFlateWriter{fw: fw} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 3.7K bytes - Viewed (0) -
src/cmd/compile/internal/types/fmt.go
TFLOAT32: "float32", TFLOAT64: "float64", TCOMPLEX64: "complex64", TCOMPLEX128: "complex128", TBOOL: "bool", TANY: "any", TSTRING: "string", TNIL: "nil", TIDEAL: "untyped number", TBLANK: "blank", } var fmtBufferPool = sync.Pool{ New: func() interface{} { return new(bytes.Buffer) }, } // Format implements formatting for a Type.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 15:41:17 UTC 2023 - 15.7K bytes - Viewed (0) -
src/cmd/go/internal/tool/tool.go
var CmdTool = &base.Command{ Run: runTool, UsageLine: "go tool [-n] command [args...]", Short: "run specified go tool", Long: ` Tool runs the go tool command identified by the arguments. With no arguments it prints the list of known tools. The -n flag causes tool to print the command that would be executed but not execute it. For more about each tool command, see 'go doc cmd/<command>'. `, } var toolN bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 18:02:11 UTC 2024 - 5.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/386Ops.go
// For DIVL, DIVW, MODL and MODW, AuxInt non-zero means that the divisor has been proved to be not -1. {name: "DIVL", argLength: 2, reg: gp11div, asm: "IDIVL", aux: "Bool", clobberFlags: true}, // arg0 / arg1 {name: "DIVW", argLength: 2, reg: gp11div, asm: "IDIVW", aux: "Bool", clobberFlags: true}, // arg0 / arg1 {name: "DIVLU", argLength: 2, reg: gp11div, asm: "DIVL", clobberFlags: true}, // arg0 / arg1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 14 08:10:32 UTC 2023 - 45.1K bytes - Viewed (0) -
src/cmd/go/internal/test/internal/genflags/vetflag.go
func VetAnalyzers() ([]string, error) { // get supported vet flag information tool := base.Tool("vet") vetcmd := exec.Command(tool, "-flags") out := new(bytes.Buffer) vetcmd.Stdout = out if err := vetcmd.Run(); err != nil { return nil, fmt.Errorf("go vet: can't execute %s -flags: %v\n", tool, err) } var analysisFlags []struct { Name string Bool bool Usage string }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 17:49:12 UTC 2022 - 1.8K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/pos.go
return +1 } pline := p.Line() qline := q.Line() switch { case pline < qline: return -1 case pline > qline: return +1 } pcol := p.Col() qcol := q.Col() switch { case pcol < qcol: return -1 case pcol > qcol: return +1 } return 0 } func (pos Pos) String() string { rel := position_{pos.RelFilename(), pos.RelLine(), pos.RelCol()}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 20:44:57 UTC 2024 - 5.6K 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) return }
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/work/action.go
flagCache map[[2]string]bool // a cache of supported compiler flags gccCompilerIDCache map[string]cache.ActionID // cache for gccCompilerID IsCmdList bool // running as part of go list; set p.Stale and additional fields below NeedError bool // list needs p.Error NeedExport bool // list needs p.Export NeedCompiledGoFiles bool // list needs p.CompiledGoFiles
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:39:17 UTC 2024 - 32.7K bytes - Viewed (0) -
src/cmd/go/internal/script/conds.go
func OnceCondition(summary string, eval func() (bool, error)) Cond { return &onceCond{eval: eval, usage: CondUsage{Summary: summary}} } type onceCond struct { once sync.Once v bool err error eval func() (bool, error) usage CondUsage } func (l *onceCond) Usage() *CondUsage { return &l.usage } func (l *onceCond) Eval(s *State, suffix string) (bool, error) { if suffix != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 5K bytes - Viewed (0)