Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Sarraf (0.39 sec)

  1. src/cmd/cgo/doc.go

    passing a pointer to a field in a struct, the Go memory in question is
    the memory occupied by the field, not the entire struct. When passing a
    pointer to an element in an array or slice, the Go memory in question is
    the entire array or the entire backing array of the slice.
    
    C code may keep a copy of a Go pointer only as long as the memory it
    points to is pinned.
    
    C code may not keep a copy of a Go pointer after the call returns,
    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. misc/wasm/wasm_exec.js

    			const loadSlice = (addr) => {
    				const array = getInt64(addr + 0);
    				const len = getInt64(addr + 8);
    				return new Uint8Array(this._inst.exports.mem.buffer, array, len);
    			}
    
    			const loadSliceOfValues = (addr) => {
    				const array = getInt64(addr + 0);
    				const len = getInt64(addr + 8);
    				const a = new Array(len);
    				for (let i = 0; i < len; i++) {
    					a[i] = loadValue(array + i * 8);
    				}
    				return a;
    			}
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  3. src/cmd/cgo/internal/test/issue26213/test26213.go

    	var x1 C.jobject = 0 // Note: 0, not nil. That makes sure we use uintptr for these types.
    	_ = x1
    	var x2 C.jclass = 0
    	_ = x2
    	var x3 C.jthrowable = 0
    	_ = x3
    	var x4 C.jstring = 0
    	_ = x4
    	var x5 C.jarray = 0
    	_ = x5
    	var x6 C.jbooleanArray = 0
    	_ = x6
    	var x7 C.jbyteArray = 0
    	_ = x7
    	var x8 C.jcharArray = 0
    	_ = x8
    	var x9 C.jshortArray = 0
    	_ = x9
    	var x10 C.jintArray = 0
    	_ = x10
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 835 bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    var a [10]int
    s1 := a[3:7]   // underlying array of s1 is array a; &amp;s1[2] == &amp;a[5]
    s2 := s1[1:4]  // underlying array of s2 is underlying array of s1 which is array a; &amp;s2[1] == &amp;a[5]
    s2[1] = 42     // s2[1] == s1[2] == a[5] == 42; they all refer to the same underlying array element
    </pre>
    
    
    <h4>Full slice expressions</h4>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  5. api/go1.5.txt

    pkg go/types, func WriteSignature(*bytes.Buffer, *Signature, Qualifier)
    pkg go/types, func WriteType(*bytes.Buffer, Type, Qualifier)
    pkg go/types, method (*Array) Elem() Type
    pkg go/types, method (*Array) Len() int64
    pkg go/types, method (*Array) String() string
    pkg go/types, method (*Array) Underlying() Type
    pkg go/types, method (*Basic) Info() BasicInfo
    pkg go/types, method (*Basic) Kind() BasicKind
    pkg go/types, method (*Basic) Name() string
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  6. src/builtin/builtin.go

    //
    // For some arguments, such as a string literal or a simple array expression, the
    // result can be a constant. See the Go language specification's "Length and
    // capacity" section for details.
    func len(v Type) int
    
    // The cap built-in function returns the capacity of v, according to its type:
    //
    //	Array: the number of elements in v (same as len(v)).
    //	Pointer to array: the number of elements in *v (same as len(v)).
    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. doc/go_spec.html

    should be used instead.
    </li>
    </ol>
    
    <h4 id="Conversions_from_slice_to_array_or_array_pointer">Conversions from slice to array or array pointer</h4>
    
    <p>
    Converting a slice to an array yields an array containing the elements of the underlying array of the slice.
    Similarly, converting a slice to an array pointer yields a pointer to the underlying array of the slice.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  8. api/go1.1.txt

    pkg debug/elf, const DT_FINI = 13
    pkg debug/elf, const DT_FINI_ARRAY = 26
    pkg debug/elf, const DT_FINI_ARRAYSZ = 28
    pkg debug/elf, const DT_FLAGS = 30
    pkg debug/elf, const DT_HASH = 4
    pkg debug/elf, const DT_HIOS = 1879044096
    pkg debug/elf, const DT_HIPROC = 2147483647
    pkg debug/elf, const DT_INIT = 12
    pkg debug/elf, const DT_INIT_ARRAY = 25
    pkg debug/elf, const DT_INIT_ARRAYSZ = 27
    pkg debug/elf, const DT_JMPREL = 23
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    	"jthrowable":    "jobject",
    	"jstring":       "jobject",
    	"jarray":        "jobject",
    	"jbooleanArray": "jarray",
    	"jbyteArray":    "jarray",
    	"jcharArray":    "jarray",
    	"jshortArray":   "jarray",
    	"jintArray":     "jarray",
    	"jlongArray":    "jarray",
    	"jfloatArray":   "jarray",
    	"jdoubleArray":  "jarray",
    	"jobjectArray":  "jarray",
    	"jweak":         "jobject",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. doc/next/6-stdlib/99-minor/reflect/61308.md

    The [SliceAt(typ Type, p unsafe.Pointer, len int)] function
    returns a Value representing a slice whose underlying array starts
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 170 bytes
    - Viewed (0)
Back to top