Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,425 for fUintptr (0.26 sec)

  1. src/testing/quick/quick_test.go

    func fUint(a uint) uint { return a }
    
    type TestUintAlias uint
    
    func fUintAlias(a TestUintAlias) TestUintAlias { return a }
    
    func fUintptr(a uintptr) uintptr { return a }
    
    type TestUintptrAlias uintptr
    
    func fUintptrAlias(a TestUintptrAlias) TestUintptrAlias { return a }
    
    func reportError(property string, err error, t *testing.T) {
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 12:54:00 UTC 2019
    - 9K bytes
    - Viewed (0)
  2. src/runtime/runtime2.go

    	return atomic.Casuintptr((*uintptr)(unsafe.Pointer(gp)), uintptr(old), uintptr(new))
    }
    
    //go:nosplit
    func (gp *g) guintptr() guintptr {
    	return guintptr(unsafe.Pointer(gp))
    }
    
    // setGNoWB performs *gp = new without a write barrier.
    // For times when it's impractical to use a guintptr.
    //
    //go:nosplit
    //go:nowritebarrier
    func setGNoWB(gp **g, new *g) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/inl_test.go

    			"(*Uint32).Swap",
    			"(*Uint64).Add",
    			"(*Uint64).CompareAndSwap",
    			"(*Uint64).Load",
    			"(*Uint64).Store",
    			"(*Uint64).Swap",
    			"(*Uintptr).Add",
    			"(*Uintptr).CompareAndSwap",
    			"(*Uintptr).Load",
    			"(*Uintptr).Store",
    			"(*Uintptr).Swap",
    			"(*Pointer[go.shape.int]).CompareAndSwap",
    			"(*Pointer[go.shape.int]).Load",
    			"(*Pointer[go.shape.int]).Store",
    			"(*Pointer[go.shape.int]).Swap",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/pkginit/initAsanGlobals.go

    // type asanGlobal struct {
    //	beg               uintptr
    //	size              uintptr
    //	size_with_redzone uintptr
    //	name              uintptr
    //	moduleName        uintptr
    //	hasDynamicInit    uintptr
    //	sourceLocation    uintptr
    //	odrIndicator      uintptr
    // }
    //
    // type asanLocation struct {
    //	filename uintptr
    //	line     int32
    //	column   int32
    // }
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:24 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. src/runtime/mfinal_test.go

    func adjChunks() (*objtype, *objtype) {
    	var s []*objtype
    
    	for {
    		c := new(objtype)
    		for _, d := range s {
    			if uintptr(unsafe.Pointer(c))+unsafe.Sizeof(*c) == uintptr(unsafe.Pointer(d)) {
    				return c, d
    			}
    			if uintptr(unsafe.Pointer(d))+unsafe.Sizeof(*c) == uintptr(unsafe.Pointer(c)) {
    				return d, c
    			}
    		}
    		s = append(s, c)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:45:58 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/dec.rules

        (Load <typ.Int>
          (OffPtr <typ.IntPtr> [config.PtrSize] ptr)
          mem)
        (Load <typ.Int>
          (OffPtr <typ.IntPtr> [2*config.PtrSize] ptr)
          mem))
    (Store {t} dst (SliceMake ptr len cap) mem) =>
      (Store {typ.Int}
        (OffPtr <typ.IntPtr> [2*config.PtrSize] dst)
        cap
        (Store {typ.Int}
          (OffPtr <typ.IntPtr> [config.PtrSize] dst)
          len
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  7. src/runtime/lock_sema.go

    			// Someone else has it.
    			// l->waitm points to a linked list of M's waiting
    			// for this lock, chained through m->nextwaitm.
    			// Queue this M.
    			for {
    				gp.m.nextwaitm = muintptr(v &^ locked)
    				if atomic.Casuintptr(&l.key, v, uintptr(unsafe.Pointer(gp.m))|locked) {
    					break
    				}
    				v = atomic.Loaduintptr(&l.key)
    				if v&locked == 0 {
    					continue Loop
    				}
    			}
    			if v&locked != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/config.go

    	t.UInt = types.Types[types.TUINT]
    	t.Uintptr = types.Types[types.TUINTPTR]
    	t.String = types.Types[types.TSTRING]
    	t.BytePtr = types.NewPtr(types.Types[types.TUINT8])
    	t.Int32Ptr = types.NewPtr(types.Types[types.TINT32])
    	t.UInt32Ptr = types.NewPtr(types.Types[types.TUINT32])
    	t.IntPtr = types.NewPtr(types.Types[types.TINT])
    	t.UintptrPtr = types.NewPtr(types.Types[types.TUINTPTR])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewritedec.go

    	// cond: t.IsInterface()
    	// result: @x.Block (Load <typ.Uintptr> ptr mem)
    	for {
    		x := v_0
    		if x.Op != OpLoad {
    			break
    		}
    		t := x.Type
    		mem := x.Args[1]
    		ptr := x.Args[0]
    		if !(t.IsInterface()) {
    			break
    		}
    		b = x.Block
    		v0 := b.NewValue0(v.Pos, OpLoad, typ.Uintptr)
    		v.copyOf(v0)
    		v0.AddArg2(ptr, mem)
    		return true
    	}
    	return false
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/fuse_test.go

    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Valu("c1", OpArg, c.config.Types.Bool, 0, nil),
    			Valu("p", OpArg, c.config.Types.IntPtr, 0, nil),
    			If("c1", "z0", "exit")),
    		Bloc("z0",
    			Valu("nilcheck", OpNilCheck, c.config.Types.IntPtr, 0, nil, "p", "mem"),
    			Goto("exit")),
    		Bloc("exit",
    			Exit("mem"),
    		))
    	CheckFunc(fun.f)
    	fuseLate(fun.f)
    	z0, ok := fun.blocks["z0"]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top