Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for unsafeslice64 (0.2 sec)

  1. src/runtime/unsafe.go

    // Keep this code in sync with cmd/compile/internal/walk/builtin.go:walkUnsafeSlice
    func unsafeslice64(et *_type, ptr unsafe.Pointer, len64 int64) {
    	len := int(len64)
    	if int64(len) != len64 {
    		panicunsafeslicelen1(getcallerpc())
    	}
    	unsafeslice(et, ptr, len)
    }
    
    func unsafeslicecheckptr(et *_type, ptr unsafe.Pointer, len64 int64) {
    	unsafeslice64(et, ptr, len64)
    
    	// Check that underlying array doesn't straddle multiple heap objects.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:51:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. test/fixedbugs/issue52590.dir/a.go

    	println(ints())
    }
    
    func Complex() {
    	_ = complex(float64s())
    }
    
    func Copy() {
    	copy(slices())
    }
    
    func UnsafeAdd() {
    	_ = unsafe.Add(unsafeAdd())
    }
    
    func UnsafeSlice() {
    	_ = unsafe.Slice(unsafeSlice())
    }
    
    func appendArgs() ([]int, int) {
    	return []int{}, 0
    }
    
    func deleteArgs() (map[int]int, int) {
    	return map[int]int{}, 0
    }
    
    func ints() (int, int) {
    	return 1, 1
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 28 18:02:40 UTC 2022
    - 933 bytes
    - Viewed (0)
  3. test/fixedbugs/issue52590.dir/b.go

    // license that can be found in the LICENSE file.
    
    package b
    
    import "./a"
    
    func f() {
    	a.Append()
    	a.Delete()
    	a.Print()
    	a.Println()
    	a.Complex()
    	a.Copy()
    	a.UnsafeAdd()
    	a.UnsafeSlice()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 28 18:02:40 UTC 2022
    - 301 bytes
    - Viewed (0)
Back to top