Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for memory (0.24 sec)

  1. src/cmd/cgo/doc.go

    All Go pointers passed to C must point to pinned Go memory. Go pointers
    passed as function arguments to C functions have the memory they point to
    implicitly pinned for the duration of the call. Go memory reachable from
    these function arguments must be pinned as long as the C code has access
    to it. Whether Go memory is pinned is a dynamic property of that memory
    region; it has nothing to do with the type of the pointer.
    
    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)
  2. doc/next/6-stdlib/2-unique.md

    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    their memory footprint.
    Comparing two `Handle[T]` values is efficient, reducing down to a simple
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 579 bytes
    - Viewed (0)
  3. doc/go_mem.html

    <p>
    Go approaches its memory model in much the same way as the rest of the language,
    aiming to keep the semantics simple, understandable, and useful.
    This section gives a general overview of the approach and should suffice for most programmers.
    The memory model is specified more formally in the next section.
    </p>
    
    <p>
    A data race is defined as
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  4. doc/godebug.md

    In particular, a common default Linux kernel configuration can result in
    significant memory overheads, and Go 1.22 no longer works around this default.
    To work around this issue without adjusting kernel settings, transparent huge
    pages can be disabled for Go memory with the
    [`disablethp` setting](/pkg/runtime#hdr-Environment_Variable).
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  5. doc/go1.17_spec.html

    which must be a slice, map or channel type,
    optionally followed by a type-specific list of expressions.
    It returns a value of type <code>T</code> (not <code>*T</code>).
    The memory is initialized as described in the section on
    <a href="#The_zero_value">initial values</a>.
    </p>
    
    <pre class="grammar">
    Call             Type T     Result
    
    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)
  6. src/builtin/builtin.go

    // If T is a floating-point type and any of the arguments are NaNs,
    // min will return NaN.
    func min[T cmp.Ordered](x T, y ...T) T
    
    // The new built-in function allocates memory. The first argument is a type,
    // not a value, and the value returned is a pointer to a newly
    // allocated zero value of that type.
    func new(Type) *Type
    
    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)
  7. src/archive/zip/writer.go

    //
    // CreateRaw's argument is stored in w. If the argument is a pointer to the embedded
    // [FileHeader] in a [File] obtained from a [Reader] created from in-memory data,
    // then w will refer to all of that memory.
    func (w *Writer) CreateRaw(fh *FileHeader) (io.Writer, error) {
    	if err := w.prepare(fh); err != nil {
    		return nil, err
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/parse.go

    //
    // It adds any labels to p.pendingLabels and returns the word, cond,
    // operand list, and true. If there is an error or EOF, it returns
    // ok=false.
    //
    // line may reuse the memory from scratch.
    func (p *Parser) line(scratch [][]lex.Token) (word, cond string, operands [][]lex.Token, ok bool) {
    next:
    	// Skip newlines.
    	var tok lex.ScanToken
    	for {
    		tok = p.nextToken()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/riscv64.s

    	SW	X5, (X6)				// 23205300
    	SW	X5, 4(X6)				// 23225300
    	SH	X5, (X6)				// 23105300
    	SH	X5, 4(X6)				// 23125300
    	SB	X5, (X6)				// 23005300
    	SB	X5, 4(X6)				// 23025300
    
    	// 2.7: Memory Ordering Instructions
    	FENCE						// 0f00f00f
    
    	// 5.2: Integer Computational Instructions (RV64I)
    	ADDIW	$1, X5, X6				// 1b831200
    	SLLIW	$1, X5, X6				// 1b931200
    	SRLIW	$1, X5, X6				// 1bd31200
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 22 04:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (1)
  10. doc/go_spec.html

    <p>
    The built-in functions <code>append</code> and <code>copy</code> assist in
    common slice operations.
    For both functions, the result is independent of whether the memory referenced
    by the arguments overlaps.
    </p>
    
    <p>
    The <a href="#Function_types">variadic</a> function <code>append</code>
    appends zero or more values <code>x</code> to a slice <code>s</code>
    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)
Back to top