Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Ptr (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. api/go1.10.txt

    pkg debug/macho, const ARM_RELOC_LOCAL_SECTDIFF RelocTypeARM
    pkg debug/macho, const ARM_RELOC_PAIR = 1
    pkg debug/macho, const ARM_RELOC_PAIR RelocTypeARM
    pkg debug/macho, const ARM_RELOC_PB_LA_PTR = 4
    pkg debug/macho, const ARM_RELOC_PB_LA_PTR RelocTypeARM
    pkg debug/macho, const ARM_RELOC_SECTDIFF = 2
    pkg debug/macho, const ARM_RELOC_SECTDIFF RelocTypeARM
    pkg debug/macho, const ARM_RELOC_VANILLA = 0
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Feb 06 05:00:01 GMT 2018
    - 30.1K bytes
    - Viewed (0)
  9. 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)
  10. api/go1.txt

    pkg reflect, const Int32 Kind
    pkg reflect, const Int64 Kind
    pkg reflect, const Int8 Kind
    pkg reflect, const Interface Kind
    pkg reflect, const Invalid Kind
    pkg reflect, const Map Kind
    pkg reflect, const Ptr Kind
    pkg reflect, const RecvDir ChanDir
    pkg reflect, const SendDir ChanDir
    pkg reflect, const Slice Kind
    pkg reflect, const String Kind
    pkg reflect, const Struct Kind
    pkg reflect, const Uint Kind
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top