Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for allocate (0.2 sec)

  1. src/cmd/cgo/gcc.go

    			// other than try to determine a Go representation.
    			tt := *t
    			tt.C = &TypeRepr{"%s %s", []interface{}{dt.Kind, tag}}
    			// We don't know what the representation of this struct is, so don't let
    			// anyone allocate one on the Go side. As a side effect of this annotation,
    			// pointers to this type will not be considered pointers in Go. They won't
    			// get writebarrier-ed or adjusted during a stack copy. This should handle
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. src/builtin/builtin.go

    //	length. For example, make([]int, 0, 10) allocates an underlying array
    //	of size 10 and returns a slice of length 0 and capacity 10 that is
    //	backed by this underlying array.
    //	Map: An empty map is allocated with enough space to hold the
    //	specified number of elements. The size may be omitted, in which case
    //	a small starting size is allocated.
    //	Channel: The channel's buffer is initialized with the specified
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. src/bufio/scan.go

    // by a subsequent call to Scan. It does no allocation.
    func (s *Scanner) Bytes() []byte {
    	return s.token
    }
    
    // Text returns the most recent token generated by a call to [Scanner.Scan]
    // as a newly allocated string holding its bytes.
    func (s *Scanner) Text() string {
    	return string(s.token)
    }
    
    // ErrFinalToken is a special sentinel error value. It is intended to be
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg syscall (windows-386), const FILE_TYPE_UNKNOWN ideal-int
    pkg syscall (windows-386), const FILE_WRITE_ATTRIBUTES ideal-int
    pkg syscall (windows-386), const FORMAT_MESSAGE_ALLOCATE_BUFFER ideal-int
    pkg syscall (windows-386), const FORMAT_MESSAGE_ARGUMENT_ARRAY ideal-int
    pkg syscall (windows-386), const FORMAT_MESSAGE_FROM_HMODULE ideal-int
    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)
  5. api/go1.14.txt

    pkg syscall (freebsd-arm64), const SYS_POSIX_FADVISE = 531
    pkg syscall (freebsd-arm64), const SYS_POSIX_FADVISE ideal-int
    pkg syscall (freebsd-arm64), const SYS_POSIX_FALLOCATE = 530
    pkg syscall (freebsd-arm64), const SYS_POSIX_FALLOCATE ideal-int
    pkg syscall (freebsd-arm64), const SYS_POSIX_OPENPT = 504
    pkg syscall (freebsd-arm64), const SYS_POSIX_OPENPT ideal-int
    pkg syscall (freebsd-arm64), const SYS_PPOLL = 545
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  6. src/bytes/bytes_test.go

    		for _, tt := range compareTests {
    			eql := Equal(tt.a, tt.b)
    			if eql != (tt.i == 0) {
    				t.Errorf(`Equal(%q, %q) = %v`, tt.a, tt.b, eql)
    			}
    		}
    	})
    	if allocs > 0 {
    		t.Errorf("Equal allocated %v times", allocs)
    	}
    }
    
    func TestEqualExhaustive(t *testing.T) {
    	var size = 128
    	if testing.Short() {
    		size = 32
    	}
    	a := make([]byte, size)
    	b := make([]byte, size)
    	b_init := make([]byte, size)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  7. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const SYS_POSIX_FADVISE = 531 #53466
    pkg syscall (freebsd-riscv64), const SYS_POSIX_FADVISE ideal-int #53466
    pkg syscall (freebsd-riscv64), const SYS_POSIX_FALLOCATE = 530 #53466
    pkg syscall (freebsd-riscv64), const SYS_POSIX_FALLOCATE ideal-int #53466
    pkg syscall (freebsd-riscv64), const SYS_POSIX_OPENPT = 504 #53466
    pkg syscall (freebsd-riscv64), const SYS_POSIX_OPENPT ideal-int #53466
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  8. src/bytes/bytes.go

    )
    
    // Equal reports whether a and b
    // are the same length and contain the same bytes.
    // A nil argument is equivalent to an empty slice.
    func Equal(a, b []byte) bool {
    	// Neither cmd/compile nor gccgo allocates for these string conversions.
    	return string(a) == string(b)
    }
    
    // Compare returns an integer comparing two byte slices lexicographically.
    // The result will be 0 if a == b, -1 if a < b, and +1 if a > b.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  9. doc/go_spec.html

    storage for a named variable.
    
    Calling the built-in function <a href="#Allocation"><code>new</code></a>
    or taking the address of a <a href="#Composite_literals">composite literal</a>
    allocates storage for a variable at run time.
    Such an anonymous variable is referred to via a (possibly implicit)
    <a href="#Address_operators">pointer indirection</a>.
    </p>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  10. api/go1.1.txt

    pkg syscall (windows-386), const FILE_TYPE_REMOTE = 32768
    pkg syscall (windows-386), const FILE_TYPE_UNKNOWN = 0
    pkg syscall (windows-386), const FILE_WRITE_ATTRIBUTES = 256
    pkg syscall (windows-386), const FORMAT_MESSAGE_ALLOCATE_BUFFER = 256
    pkg syscall (windows-386), const FORMAT_MESSAGE_ARGUMENT_ARRAY = 8192
    pkg syscall (windows-386), const FORMAT_MESSAGE_FROM_HMODULE = 2048
    pkg syscall (windows-386), const FORMAT_MESSAGE_FROM_STRING = 1024
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
Back to top