Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for compact (0.15 sec)

  1. src/bytes/buffer_test.go

    	}
    	c, err := b.ReadByte()
    	if err != nil {
    		t.Fatalf("ReadByte: %v", err)
    	}
    	if c != 'm' {
    		t.Errorf("ReadByte = %q; want %q", c, 'm')
    	}
    }
    
    // Tests that we occasionally compact. Issue 5154.
    func TestBufferGrowth(t *testing.T) {
    	var b Buffer
    	buf := make([]byte, 1024)
    	b.Write(buf[0:1])
    	var cap0 int
    	for i := 0; i < 5<<10; i++ {
    		b.Write(buf)
    		b.Read(buf)
    		if i == 0 {
    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)
  2. doc/go1.17_spec.html

    support for concurrent programming.  Programs are constructed from
    <i>packages</i>, whose properties allow efficient management of
    dependencies.
    </p>
    
    <p>
    The grammar is compact and simple to parse, allowing for easy analysis
    by automatic tools such as integrated development environments.
    </p>
    
    <h2 id="Notation">Notation</h2>
    <p>
    The syntax is specified using Extended Backus-Naur Form (EBNF):
    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)
  3. api/go1.3.txt

    pkg syscall (freebsd-386), const NAME_MAX = 255
    pkg syscall (freebsd-386), const NAME_MAX ideal-int
    pkg syscall (freebsd-386), const O_CLOEXEC = 1048576
    pkg syscall (freebsd-386), const RTF_GWFLAG_COMPAT = 2147483648
    pkg syscall (freebsd-386), const RTF_GWFLAG_COMPAT ideal-int
    pkg syscall (freebsd-386), const RT_NORTREF = 2
    pkg syscall (freebsd-386), const RT_NORTREF ideal-int
    pkg syscall (freebsd-386), const SIGLIBRT = 33
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  4. src/arena/arena.go

    best used in bulk, on the order of MiB of memory allocated on each use.
    
    Note that by allowing for this limited form of manual memory allocation
    that use-after-free bugs are possible with regular Go values. This package
    limits the impact of these use-after-free bugs by preventing reuse of freed
    memory regions until the garbage collector is able to determine that it is
    safe. Typically, a use-after-free bug will result in a fault and a helpful
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  5. api/go1.5.txt

    pkg go/constant, func BinaryOp(Value, token.Token, Value) Value
    pkg go/constant, func BitLen(Value) int
    pkg go/constant, func BoolVal(Value) bool
    pkg go/constant, func Bytes(Value) []uint8
    pkg go/constant, func Compare(Value, token.Token, Value) bool
    pkg go/constant, func Denom(Value) Value
    pkg go/constant, func Float32Val(Value) (float32, bool)
    pkg go/constant, func Float64Val(Value) (float64, bool)
    pkg go/constant, func Imag(Value) Value
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  6. api/go1.16.txt

    pkg debug/elf, const DT_MIPS_AUX_DYNAMIC DynTag
    pkg debug/elf, const DT_MIPS_BASE_ADDRESS = 1879048198
    pkg debug/elf, const DT_MIPS_BASE_ADDRESS DynTag
    pkg debug/elf, const DT_MIPS_COMPACT_SIZE = 1879048239
    pkg debug/elf, const DT_MIPS_COMPACT_SIZE DynTag
    pkg debug/elf, const DT_MIPS_CONFLICT = 1879048200
    pkg debug/elf, const DT_MIPS_CONFLICT DynTag
    pkg debug/elf, const DT_MIPS_CONFLICTNO = 1879048203
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/config.yml

    blank_issues_enabled: true
    contact_links:
      - name: Questions
        about: Please use one of the forums for questions or general discussions
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Nov 22 18:12:58 GMT 2023
    - 179 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue1435.go

    					break
    				}
    				if filter == "Groups:" && strings.HasPrefix(line, "Groups:\t") {
    					// https://github.com/golang/go/issues/46145
    					// Containers don't reliably output this line in sorted order so manually sort and compare that.
    					a := strings.Split(line[8:], " ")
    					sort.Strings(a)
    					got := strings.Join(a, " ")
    					if got == expected[8:] {
    						foundAThread = true
    						break
    					}
    
    				}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  9. api/go1.18.txt

    pkg net/netip, method (Addr) As16() [16]uint8
    pkg net/netip, method (Addr) As4() [4]uint8
    pkg net/netip, method (Addr) AsSlice() []uint8
    pkg net/netip, method (Addr) BitLen() int
    pkg net/netip, method (Addr) Compare(Addr) int
    pkg net/netip, method (Addr) Is4() bool
    pkg net/netip, method (Addr) Is4In6() bool
    pkg net/netip, method (Addr) Is6() bool
    pkg net/netip, method (Addr) IsGlobalUnicast() bool
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  10. src/bytes/buffer.go

    // included to match [bufio.Writer]'s WriteRune. The buffer is grown as needed;
    // if it becomes too large, WriteRune will panic with [ErrTooLarge].
    func (b *Buffer) WriteRune(r rune) (n int, err error) {
    	// Compare as uint32 to correctly handle negative runes.
    	if uint32(r) < utf8.RuneSelf {
    		b.WriteByte(byte(r))
    		return 1, nil
    	}
    	b.lastRead = opInvalid
    	m, ok := b.tryGrowByReslice(utf8.UTFMax)
    	if !ok {
    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)
Back to top