Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for pool (0.12 sec)

  1. 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 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    	Comment  string
    	File     []ZipTestFile
    	Obscured bool  // needed for Apple notarization (golang.org/issue/34986)
    	Error    error // the error that Opening this file should return
    }
    
    type ZipTestFile struct {
    	Name     string
    	Mode     fs.FileMode
    	NonUTF8  bool
    	ModTime  time.Time
    	Modified time.Time
    
    	// Information describing expected zip file content.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    </p>
    
    <pre>
    const c = 3 &lt; 4            // c is the untyped boolean constant true
    
    type MyBool bool
    var x, y int
    var (
    	// The result of a comparison is an untyped boolean.
    	// The usual assignment rules apply.
    	b3        = x == y // b3 has type bool
    	b4 bool   = x == y // b4 has type bool
    	b5 MyBool = x == y // b5 has type MyBool
    )
    </pre>
    
    <h3 id="Logical_operators">Logical operators</h3>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. src/bytes/buffer_test.go

    		var b Buffer
    		b.ReadFrom(&buf)
    		empty(t, "TestReadFrom (2)", &b, s, make([]byte, len(testString)))
    	}
    }
    
    type panicReader struct{ panic bool }
    
    func (r panicReader) Read(p []byte) (int, error) {
    	if r.panic {
    		panic("oops")
    	}
    	return 0, io.EOF
    }
    
    // Make sure that an empty Buffer remains empty when
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    from Go 1.9 and earlier, use the cftype or jni rewrites in the Go fix tool:
    
    	go tool fix -r cftype <pkg>
    	go tool fix -r jni <pkg>
    
    It will replace nil with 0 in the appropriate places.
    
    The EGLDisplay case was introduced in Go 1.12. Use the egl rewrite
    to auto-update code from Go 1.11 and earlier:
    
    	go tool fix -r egl <pkg>
    
    The EGLConfig case was introduced in Go 1.15. Use the eglconf rewrite
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/arm64.s

    	FMOVD	0x8008(R1), F2		// FMOVD	32776(R1), F2		// 3b204091620740fd
    	FMOVD	0x1006ff8(R1), F2	// FMOVD	16805880(R1), F2	// 3bfc7f9162ff7ffd
    
    // very large or unaligned offset uses constant pool.
    // the encoding cannot be checked as the address of the constant pool is unknown.
    // here we only test that they can be assembled.
    	MOVB	R1, 0x1000000(R2)	// MOVB		R1, 16777216(R2)
    	MOVB	R1, 0x44332211(R2)	// MOVB		R1, 1144201745(R2)
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 94.9K bytes
    - Viewed (0)
  7. api/next/61897.txt

    pkg iter, func Pull2[$0 interface{}, $1 interface{}](Seq2[$0, $1]) (func() ($0, $1, bool), func()) #61897
    pkg iter, func Pull[$0 interface{}](Seq[$0]) (func() ($0, bool), func()) #61897
    pkg iter, type Seq2[$0 interface{}, $1 interface{}] func(func($0, $1) bool) #61897
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon May 06 20:33:25 GMT 2024
    - 331 bytes
    - Viewed (0)
  8. src/archive/tar/common.go

    // This does not contain "charset" or "comment", which are both PAX-specific,
    // so adding them as first-class features of Header is unlikely.
    // Users can use the PAXRecords field to set it themselves.
    var basicKeys = map[string]bool{
    	paxPath: true, paxLinkpath: true, paxSize: true, paxUid: true, paxGid: true,
    	paxUname: true, paxGname: true, paxMtime: true, paxAtime: true, paxCtime: true,
    }
    
    // A Header represents a single header in a tar archive.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  9. api/next/50102.txt

    pkg archive/tar, type FileInfoNames interface { Gname, IsDir, ModTime, Mode, Name, Size, Sys, Uname } #50102
    pkg archive/tar, type FileInfoNames interface, Gname() (string, error) #50102
    pkg archive/tar, type FileInfoNames interface, IsDir() bool #50102
    pkg archive/tar, type FileInfoNames interface, ModTime() time.Time #50102
    pkg archive/tar, type FileInfoNames interface, Mode() fs.FileMode #50102
    pkg archive/tar, type FileInfoNames interface, Name() string #50102
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 686 bytes
    - Viewed (0)
  10. api/next/62254.txt

    pkg net, type Dialer struct, KeepAliveConfig KeepAliveConfig #62254
    pkg net, type KeepAliveConfig struct #62254
    pkg net, type KeepAliveConfig struct, Count int #62254
    pkg net, type KeepAliveConfig struct, Enable bool #62254
    pkg net, type KeepAliveConfig struct, Idle time.Duration #62254
    pkg net, type KeepAliveConfig struct, Interval time.Duration #62254
    pkg net, type ListenConfig struct, KeepAliveConfig KeepAliveConfig #62254
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Feb 20 06:04:31 GMT 2024
    - 758 bytes
    - Viewed (0)
Back to top