Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 115 for Cool (0.15 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 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, type EmbedURLPtr struct, embedded *URL
    pkg p1, type Embedded struct
    pkg p1, type Error interface { Error, Temporary }
    pkg p1, type Error interface, Error() string
    pkg p1, type Error interface, Temporary() bool
    pkg p1, type FuncType func(int, int, string) (*B, error)
    pkg p1, type I interface, Get(string) int64
    pkg p1, type I interface, Get //deprecated
    pkg p1, type I interface, GetNamed(string) int64
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg net, method (IP) Equal(IP) bool
    pkg net, method (IP) IsGlobalUnicast() bool
    pkg net, method (IP) IsInterfaceLocalMulticast() bool
    pkg net, method (IP) IsLinkLocalMulticast() bool
    pkg net, method (IP) IsLinkLocalUnicast() bool
    pkg net, method (IP) IsLoopback() bool
    pkg net, method (IP) IsMulticast() bool
    pkg net, method (IP) IsUnspecified() bool
    pkg net, method (IP) Mask(IPMask) IP
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
  4. lib/time/mkzip.go

    // Usage:
    //
    //	go run ../../mkzip.go ../../zoneinfo.zip
    //
    // We use this program instead of 'zip -0 -r ../../zoneinfo.zip *' to get
    // a reproducible generator that does not depend on which version of the
    // external zip tool is used or the ordering of file names in a directory
    // or the current time.
    package main
    
    import (
    	"archive/zip"
    	"bytes"
    	"flag"
    	"fmt"
    	"hash/crc32"
    	"io/fs"
    	"log"
    	"os"
    	"path/filepath"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  5. 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)
  6. misc/ios/README

    	GOOS=ios GOARCH=amd64 CGO_ENABLED=1 CC=$(go env GOROOT)/misc/ios/clangwrap.sh go build
    
    Setting CC is not necessary if the toolchain is built with CC_FOR_TARGET set.
    
    To use the go tool to run individual programs and tests, put $GOROOT/bin into PATH to ensure
    the go_ios_$GOARCH_exec wrapper is found. For example, to run the archive/tar tests:
    
    	export PATH=$GOROOT/bin:$PATH
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Dec 29 21:49:26 GMT 2020
    - 2.7K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/lex/tokenizer.go

    		line: 1,
    		file: file,
    	}
    }
    
    // We want center dot (·) and division slash (∕) to work as identifier characters.
    func isIdentRune(ch rune, i int) bool {
    	if unicode.IsLetter(ch) {
    		return true
    	}
    	switch ch {
    	case '_': // Underscore; traditional.
    		return true
    	case '\u00B7': // Represents the period in runtime.exit. U+00B7 '·' middle dot
    		return true
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 04 20:35:21 GMT 2022
    - 3K bytes
    - Viewed (0)
  8. src/archive/zip/writer_test.go

    		testReadFile(t, r.File[i], &wt)
    	}
    }
    
    // TestWriterComment is test for EOCD comment read/write.
    func TestWriterComment(t *testing.T) {
    	var tests = []struct {
    		comment string
    		ok      bool
    	}{
    		{"hi, hello", true},
    		{"hi, こんにちわ", true},
    		{strings.Repeat("a", uint16max), true},
    		{strings.Repeat("a", uint16max+1), false},
    	}
    
    	for _, test := range tests {
    		// write a zip file
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  9. src/bytes/buffer.go

    	if b == nil {
    		// Special case, useful in debugging.
    		return "<nil>"
    	}
    	return string(b.buf[b.off:])
    }
    
    // empty reports whether the unread portion of the buffer is empty.
    func (b *Buffer) empty() bool { return len(b.buf) <= b.off }
    
    // Len returns the number of bytes of the unread portion of the buffer;
    // b.Len() == len(b.Bytes()).
    func (b *Buffer) Len() int { return len(b.buf) - b.off }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  10. src/archive/zip/reader.go

    	return b2
    }
    
    // A fileListEntry is a File and its ename.
    // If file == nil, the fileListEntry describes a directory without metadata.
    type fileListEntry struct {
    	name  string
    	file  *File
    	isDir bool
    	isDup bool
    }
    
    type fileInfoDirEntry interface {
    	fs.FileInfo
    	fs.DirEntry
    }
    
    func (f *fileListEntry) stat() (fileInfoDirEntry, error) {
    	if f.isDup {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
Back to top