Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for anonymous (0.18 sec)

  1. src/bytes/boundary_test.go

    // preceded and followed by a faulting page.
    func dangerousSlice(t *testing.T) []byte {
    	pagesize := syscall.Getpagesize()
    	b, err := syscall.Mmap(0, 0, 3*pagesize, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_ANONYMOUS|syscall.MAP_PRIVATE)
    	if err != nil {
    		t.Fatalf("mmap failed %s", err)
    	}
    	err = syscall.Mprotect(b[:pagesize], syscall.PROT_NONE)
    	if err != nil {
    		t.Fatalf("mprotect low failed %s\n", err)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 30 20:05:58 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    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>
    <i>Structured</i> variables of <a href="#Array_types">array</a>, <a href="#Slice_types">slice</a>,
    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. doc/go_spec.html

    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>
    <i>Structured</i> variables of <a href="#Array_types">array</a>, <a href="#Slice_types">slice</a>,
    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)
  4. src/cmd/api/main_test.go

    	w.emitf(typeStruct)
    	defer w.pushScope(typeStruct)()
    
    	for i := 0; i < typ.NumFields(); i++ {
    		f := typ.Field(i)
    		if !f.Exported() {
    			continue
    		}
    		typ := f.Type()
    		if f.Anonymous() {
    			if w.isDeprecated(f) {
    				w.emitf("embedded %s //deprecated", w.typeString(typ))
    			}
    			w.emitf("embedded %s", w.typeString(typ))
    			continue
    		}
    		if w.isDeprecated(f) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  5. doc/next/6-stdlib/99-minor/reflect/60427.md

    The new methods synonymous with the method of the same name
    in [Value] are added to [Type]:
    1. [Type.OverflowComplex]
    2. [Type.OverflowFloat]
    3. [Type.OverflowInt]
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 187 bytes
    - Viewed (0)
Back to top