- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for Ptr (0.21 sec)
-
misc/wasm/wasm_exec.js
let offset = 4096; const strPtr = (str) => { const ptr = offset; const bytes = encoder.encode(str + "\0"); new Uint8Array(this.mem.buffer, offset, bytes.length).set(bytes); offset += bytes.length; if (offset % 8 !== 0) { offset += 8 - (offset % 8); } return ptr; }; const argc = this.argv.length; const argvPtrs = [];
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) -
src/cmd/cgo/gcc.go
// as can the definition of type info vs payload above. // #if __LP64__ #define CF_IS_TAGGED_OBJ(PTR) ((uintptr_t)(PTR) & 0x1) #define CF_TAGGED_OBJ_TYPE(PTR) ((uintptr_t)(PTR) & 0xF) #else #define CF_IS_TAGGED_OBJ(PTR) 0 #define CF_TAGGED_OBJ_TYPE(PTR) 0 #endif enum { kCFTaggedObjectID_Invalid = 0, kCFTaggedObjectID_Atom = (0 << 1) + 1,
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
doc/go1.17_spec.html
<p> The function <code>Slice</code> returns a slice whose underlying array starts at <code>ptr</code> and whose length and capacity are <code>len</code>. <code>Slice(ptr, len)</code> is equivalent to </p> <pre> (*[len]ArbitraryType)(unsafe.Pointer(ptr))[:] </pre> <p> except that, as a special case, if <code>ptr</code> is <code>nil</code> and <code>len</code> is zero,
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) -
misc/cgo/gmp/gmp.go
#include <stdlib.h> // gmp 5.0.0+ changed the type of the 3rd argument to mp_bitcnt_t, // so, to support older versions, we wrap these two functions. void _mpz_mul_2exp(mpz_ptr a, mpz_ptr b, unsigned long n) { mpz_mul_2exp(a, b, n); } void _mpz_div_2exp(mpz_ptr a, mpz_ptr b, unsigned long n) { mpz_div_2exp(a, b, n); } */ import "C" import ( "os" "unsafe" ) /* * one of a kind */
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 9.5K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue27340/a.go
// In separate directory to isolate #pragma GCC diagnostic. package issue27340 // We use the #pragma to avoid a compiler warning about incompatible // pointer types, because we generate code passing a struct ptr rather // than using the typedef. This warning is expected and does not break // a normal build. // We can only disable -Wincompatible-pointer-types starting with GCC 5. // #if __GNU_MAJOR__ >= 5 //
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 1.2K bytes - Viewed (0) -
doc/asm.html
<pre> // uint64 atomicload64(uint64 volatile* addr); // so actually // void atomicload64(uint64 *res, uint64 volatile *addr); TEXT runtime·atomicload64(SB), NOSPLIT, $0-12 MOVL ptr+0(FP), AX TESTL $7, AX JZ 2(PC) MOVL 0, AX // crash with nil ptr deref LEAL ret_lo+4(FP), BX // MOVQ (%EAX), %MM0 BYTE $0x0f; BYTE $0x6f; BYTE $0x00 // MOVQ %MM0, 0(%EBX) BYTE $0x0f; BYTE $0x7f; BYTE $0x03 // EMMS
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Tue Nov 28 19:15:27 GMT 2023 - 36.3K bytes - Viewed (0) -
doc/go_spec.html
<p> The function <code>Slice</code> returns a slice whose underlying array starts at <code>ptr</code> and whose length and capacity are <code>len</code>. <code>Slice(ptr, len)</code> is equivalent to </p> <pre> (*[len]ArbitraryType)(unsafe.Pointer(ptr))[:] </pre> <p> except that, as a special case, if <code>ptr</code> is <code>nil</code> and <code>len</code> is zero,
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) -
src/cmd/api/main_test.go
if isDeprecated(n.Doc) { for _, id := range n.Names { mark(id) } if len(n.Names) == 0 { // embedded field T or *T? typ := n.Type if ptr, ok := typ.(*ast.StarExpr); ok { typ = ptr.X } if id, ok := typ.(*ast.Ident); ok { mark(id) } } } return false default: return false } }) }
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) -
api/go1.1.txt
pkg reflect, const Int32 = 5 pkg reflect, const Int64 = 6 pkg reflect, const Int8 = 3 pkg reflect, const Interface = 20 pkg reflect, const Invalid = 0 pkg reflect, const Map = 21 pkg reflect, const Ptr = 22 pkg reflect, const RecvDir = 1 pkg reflect, const SelectDefault = 3 pkg reflect, const SelectDefault SelectDir pkg reflect, const SelectRecv = 2 pkg reflect, const SelectRecv SelectDir
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Viewed (1)