Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for pool (0.17 sec)

  1. 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}
    }
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. api/go1.3.txt

    pkg regexp/syntax, method (InstOp) String() string
    pkg runtime/debug, func SetPanicOnFault(bool) bool
    pkg runtime/debug, func WriteHeapDump(uintptr)
    pkg sync, method (*Pool) Get() interface{}
    pkg sync, method (*Pool) Put(interface{})
    pkg sync, type Pool struct
    pkg sync, type Pool struct, New func() interface{}
    pkg syscall (darwin-386), func FcntlFlock(uintptr, int, *Flock_t) error
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  3. api/go1.5.txt

    pkg go/types, method (TypeAndValue) Addressable() bool
    pkg go/types, method (TypeAndValue) Assignable() bool
    pkg go/types, method (TypeAndValue) HasOk() bool
    pkg go/types, method (TypeAndValue) IsBuiltin() bool
    pkg go/types, method (TypeAndValue) IsNil() bool
    pkg go/types, method (TypeAndValue) IsType() bool
    pkg go/types, method (TypeAndValue) IsValue() bool
    pkg go/types, method (TypeAndValue) IsVoid() bool
    pkg go/types, type Array struct
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/arch/ppc64.go

    )
    
    func jumpPPC64(word string) bool {
    	switch word {
    	case "BC", "BCL", "BEQ", "BGE", "BGT", "BL", "BLE", "BLT", "BNE", "BR", "BVC", "BVS", "BDNZ", "BDZ", "CALL", "JMP":
    		return true
    	}
    	return false
    }
    
    // IsPPC64CMP reports whether the op (as defined by an ppc64.A* constant) is
    // one of the CMP instructions that require special handling.
    func IsPPC64CMP(op obj.As) bool {
    	switch op {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Sep 07 20:53:33 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  5. src/cmd/api/testdata/src/pkg/p3/golden.txt

    pkg p3, func BadHop(int, int, int) (bool, bool, *ThirdBase, *ThirdBase, error)
    pkg p3, method (*ThirdBase) GoodPlayer() (int, int, int)
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Jan 29 00:45:45 GMT 2013
    - 166 bytes
    - Viewed (0)
  6. src/cmd/asm/internal/arch/s390x.go

    // s390x instruction set, to minimize its interaction
    // with the core of the assembler.
    
    package arch
    
    import (
    	"cmd/internal/obj/s390x"
    )
    
    func jumpS390x(word string) bool {
    	switch word {
    	case "BRC",
    		"BC",
    		"BCL",
    		"BEQ",
    		"BGE",
    		"BGT",
    		"BL",
    		"BLE",
    		"BLEU",
    		"BLT",
    		"BLTU",
    		"BNE",
    		"BR",
    		"BVC",
    		"BVS",
    		"BRCT",
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Oct 17 14:55:25 GMT 2019
    - 1.2K bytes
    - Viewed (0)
  7. src/cmd/api/api_test.go

    	"sort"
    	"strings"
    	"sync"
    	"testing"
    )
    
    var flagCheck = flag.Bool("check", false, "run API checks")
    
    func TestMain(m *testing.M) {
    	flag.Parse()
    	for _, c := range contexts {
    		c.Compiler = build.Default.Compiler
    	}
    	build.Default.GOROOT = testenv.GOROOT(nil)
    
    	os.Exit(m.Run())
    }
    
    var (
    	updateGolden = flag.Bool("updategolden", false, "update golden files")
    )
    
    func TestGolden(t *testing.T) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  8. misc/wasm/wasm_exec.js

    						loadSlice(sp + 16).set(str);
    					},
    
    					// func valueInstanceOf(v ref, t ref) bool
    					"syscall/js.valueInstanceOf": (sp) => {
    						sp >>>= 0;
    						this.mem.setUint8(sp + 24, (loadValue(sp + 8) instanceof loadValue(sp + 16)) ? 1 : 0);
    					},
    
    					// func copyBytesToGo(dst []byte, src ref) (int, bool)
    					"syscall/js.copyBytesToGo": (sp) => {
    						sp >>>= 0;
    						const dst = loadSlice(sp + 8);
    JavaScript
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  9. src/cmd/api/testdata/src/pkg/p1/p1.go

    	Public     *int
    	private    *int
    	PublicTime Time
    }
    
    // Deprecated: use URI.
    type URL struct{}
    
    type EmbedURLPtr struct {
    	*URL
    }
    
    type S2 struct {
    	// Deprecated: use T.
    	S
    	Extra bool
    }
    
    var X0 int64
    
    var (
    	Y int
    	X I
    )
    
    type Namer interface {
    	Name() string
    }
    
    type I interface {
    	Namer
    	ptwo.Twoer
    	Set(name string, balance int64)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  10. src/archive/tar/strconv_test.go

    package tar
    
    import (
    	"math"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestFitsInBase256(t *testing.T) {
    	vectors := []struct {
    		in    int64
    		width int
    		ok    bool
    	}{
    		{+1, 8, true},
    		{0, 8, true},
    		{-1, 8, true},
    		{1 << 56, 8, false},
    		{(1 << 56) - 1, 8, true},
    		{-1 << 56, 8, true},
    		{(-1 << 56) - 1, 8, false},
    		{121654, 8, true},
    		{-9849849, 8, true},
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
Back to top