- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Murray (0.21 sec)
-
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 23 11:13:09 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
doc/go1.17_spec.html
var a [10]int s1 := a[3:7] // underlying array of s1 is array a; &s1[2] == &a[5] s2 := s1[1:4] // underlying array of s2 is underlying array of s1 which is array a; &s2[1] == &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 23 11:13:09 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
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 23 11:13:09 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
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 23 11:13:09 GMT 2024 - Last Modified: Fri Apr 12 20:57:18 GMT 2024 - 170 bytes - Viewed (0) -
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 23 11:13:09 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 12.7K bytes - Viewed (0) -
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 23 11:13:09 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 279.3K bytes - Viewed (0) -
doc/go_mem.html
(accessed with “<code>go</code> <code>build</code> <code>-race</code>”) do exactly this. </p> <p> A read of an array, struct, or complex number may by implemented as a read of each individual sub-value (array element, struct field, or real/imaginary component), in any order. Similarly, a write of an array, struct, or complex number may be implemented as a write of each individual sub-value, in any order. </p> <p>
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) -
src/cmd/api/main_test.go
panic("should never see untyped nil type") default: switch s { case "byte": s = "uint8" case "rune": s = "int32" } } buf.WriteString(s) case *types.Array: fmt.Fprintf(buf, "[%d]", typ.Len()) w.writeType(buf, typ.Elem()) case *types.Slice: buf.WriteString("[]") w.writeType(buf, typ.Elem()) case *types.Struct: buf.WriteString("struct")
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0)