Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Storage (0.2 sec)

  1. src/arena/arena.go

    	return runtime_arena_arena_New(a.a, reflectlite.TypeOf((*T)(nil))).(*T)
    }
    
    // MakeSlice creates a new []T with the provided capacity and length. The []T must
    // not be used after the arena is freed. Accessing the underlying storage of the
    // slice after free may result in a fault, but this fault is also not guaranteed.
    func MakeSlice[T any](a *Arena, len, cap int) []T {
    	var sl []T
    	runtime_arena_arena_Slice(a.a, &sl, cap)
    	return sl[:len]
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    of a <a href="#Function_declarations">function declaration</a>
    or <a href="#Function_literals">function literal</a> reserves
    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)
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    needed to link programs that import package net.
    
    Runtime
    
    When using cgo, Go must not assume that it owns all details of the
    process. In particular it needs to coordinate with C in the use of
    threads and thread-local storage. The runtime package declares a few
    variables:
    
    	var (
    		iscgo             bool
    		_cgo_init         unsafe.Pointer
    		_cgo_thread_start unsafe.Pointer
    	)
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  4. src/bytes/buffer.go

    func (b *Buffer) Available() int { return cap(b.buf) - len(b.buf) }
    
    // Truncate discards all but the first n unread bytes from the buffer
    // but continues to use the same allocated storage.
    // It panics if n is negative or greater than the length of the buffer.
    func (b *Buffer) Truncate(n int) {
    	if n == 0 {
    		b.Reset()
    		return
    	}
    	b.lastRead = opInvalid
    	if n < 0 || n > b.Len() {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  5. doc/go_mem.html

    </p>
    
    <p>
    Not allowing a single write to write multiple values also means not using
    the memory where a local variable will be written as temporary storage before the write.
    For example, a compiler must not use <code>*p</code> as temporary storage in this program:
    </p>
    
    <pre>
    *p = i + *p/2
    </pre>
    
    <p>
    That is, it must not rewrite the program into this one:
    </p>
    
    <pre>
    *p /= 2
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  6. src/archive/tar/writer.go

    	curr fileWriter // Writer for current file entry
    	hdr  Header     // Shallow copy of Header that is safe for mutations
    	blk  block      // Buffer to use as temporary local storage
    
    	// err is a persistent error.
    	// It is only the responsibility of every exported method of Writer to
    	// ensure that this error is sticky.
    	err error
    }
    
    // NewWriter creates a new Writer writing to w.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  7. src/archive/tar/reader.go

    type Reader struct {
    	r    io.Reader
    	pad  int64      // Amount of padding (ignored) after current file entry
    	curr fileReader // Reader for current file entry
    	blk  block      // Buffer to use as temporary local storage
    
    	// err is a persistent error.
    	// It is only the responsibility of every exported method of Reader to
    	// ensure that this error is sticky.
    	err error
    }
    
    type fileReader interface {
    	io.Reader
    	fileState
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  8. doc/go_spec.html

    of a <a href="#Function_declarations">function declaration</a>
    or <a href="#Function_literals">function literal</a> reserves
    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)
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  9. doc/asm.html

    <code>R5</code>, <code>R6</code> and <code>R7</code> with the 64-bit values at
    <code>0(R9)</code>, <code>8(R9)</code> and <code>16(R9)</code> respectively.
    </p>
    
    <p>
    Storage-and-storage instructions such as <code>MVC</code> and <code>XC</code> are written
    with the length as the first argument.
    For example, <code>XC</code> <code>$8,</code> <code>(R9),</code> <code>(R9)</code> would clear
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  10. src/archive/zip/reader.go

    		// data. We previously tried failing here if f.CompressedSize64 != 0,
    		// but it turns out that a number of implementations (namely, the Java
    		// jar tool) don't properly set the storage method on directories
    		// resulting in a file with compressed size > 0 but uncompressed size ==
    		// 0. We still want to fail when a directory has associated uncompressed
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
Back to top