Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for Unsafe (0.26 sec)

  1. misc/wasm/wasm_exec.js

    						delete this._inst;
    						delete this._values;
    						delete this._goRefCounts;
    						delete this._ids;
    						delete this._idPool;
    						this.exit(code);
    					},
    
    					// func wasmWrite(fd uintptr, p unsafe.Pointer, n int32)
    					"runtime.wasmWrite": (sp) => {
    						sp >>>= 0;
    						const fd = getInt64(sp + 8);
    						const p = getInt64(sp + 16);
    						const n = this.mem.getInt32(sp + 24, true);
    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/api/main_test.go

    	w := &Walker{
    		context:  context,
    		root:     root,
    		features: map[string]bool{},
    		imported: map[string]*apiPackage{"unsafe": &apiPackage{Package: types.Unsafe}},
    	}
    	w.loadImports()
    	return w
    }
    
    func (w *Walker) Features() (fs []string) {
    	for f := range w.features {
    		fs = append(fs, f)
    	}
    	sort.Strings(fs)
    	return
    }
    
    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)
  3. src/cmd/cgo/internal/test/callback.go

    	// take a pointer.  We could pass an int if we felt like
    	// rewriting the C code.
    	C.callback(unsafe.Pointer(&i))
    
    	callbackMutex.Lock()
    	delete(callbackFuncs, i)
    	callbackMutex.Unlock()
    }
    
    //export goCallback
    func goCallback(p unsafe.Pointer) {
    	i := *(*int)(p)
    
    	callbackMutex.Lock()
    	f := callbackFuncs[i]
    	callbackMutex.Unlock()
    
    	if f == nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  4. doc/go_spec.html

    </pre>
    
    <p>
    The following built-in functions are not permitted in statement context:
    </p>
    
    <pre>
    append cap complex imag len make new real
    unsafe.Add unsafe.Alignof unsafe.Offsetof unsafe.Sizeof unsafe.Slice unsafe.SliceData unsafe.String unsafe.StringData
    </pre>
    
    <pre>
    h(x+y)
    f.Close()
    &lt;-ch
    (&lt;-ch)
    len("foo")  // illegal if len is the built-in function
    </pre>
    
    
    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)
  5. api/next/61308.txt

    pkg reflect, func SliceAt(Type, unsafe.Pointer, int) Value #61308...
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 02 21:51:18 GMT 2024
    - 66 bytes
    - Viewed (0)
  6. api/go1.18.txt

    pkg reflect, method (Value) FieldByIndexErr([]int) (Value, error)
    pkg reflect, method (Value) SetIterKey(*MapIter)
    pkg reflect, method (Value) SetIterValue(*MapIter)
    pkg reflect, method (Value) UnsafePointer() unsafe.Pointer
    pkg runtime/debug, func ParseBuildInfo(string) (*BuildInfo, error)
    pkg runtime/debug, method (*BuildInfo) String() string
    pkg runtime/debug, type BuildInfo struct, GoVersion string
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  7. api/go1.5.txt

    pkg go/types, type TypeAndValue struct, Value constant.Value
    pkg go/types, type TypeName struct
    pkg go/types, type Var struct
    pkg go/types, var Typ []*Basic
    pkg go/types, var Universe *Scope
    pkg go/types, var Unsafe *Package
    pkg html/template, method (*Template) Option(...string) *Template
    pkg image, const YCbCrSubsampleRatio410 = 5
    pkg image, const YCbCrSubsampleRatio410 YCbCrSubsampleRatio
    pkg image, const YCbCrSubsampleRatio411 = 4
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  8. api/go1.7.txt

    pkg reflect, method (StructTag) Lookup(string) (string, bool)
    pkg runtime, func CallersFrames([]uintptr) *Frames
    pkg runtime, func KeepAlive(interface{})
    pkg runtime, func SetCgoTraceback(int, unsafe.Pointer, unsafe.Pointer, unsafe.Pointer)
    pkg runtime, method (*Frames) Next() (Frame, bool)
    pkg runtime, type Frame struct
    pkg runtime, type Frame struct, Entry uintptr
    pkg runtime, type Frame struct, File string
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Jun 28 15:08:11 GMT 2016
    - 13.6K bytes
    - Viewed (0)
  9. src/bytes/bytes_test.go

    		}
    
    		if input != nil && clone == nil {
    			t.Errorf("Clone(%#v) return value should not be equal to nil slice.", input)
    		}
    
    		if cap(input) != 0 && unsafe.SliceData(input) == unsafe.SliceData(clone) {
    			t.Errorf("Clone(%q) return value should not reference inputs backing memory.", input)
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg sync/atomic, func LoadPointer(*unsafe.Pointer) unsafe.Pointer
    pkg sync/atomic, func LoadUint32(*uint32) uint32
    pkg sync/atomic, func LoadUint64(*uint64) uint64
    pkg sync/atomic, func LoadUintptr(*uintptr) uintptr
    pkg sync/atomic, func StoreInt32(*int32, int32)
    pkg sync/atomic, func StoreInt64(*int64, int64)
    pkg sync/atomic, func StorePointer(*unsafe.Pointer, unsafe.Pointer)
    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 (2)
Back to top