Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for INT32 (0.09 sec)

  1. src/internal/runtime/atomic/atomic_wasm.go

    func Loaduint(ptr *uint) uint {
    	return *ptr
    }
    
    //go:nosplit
    //go:noinline
    func Loadint32(ptr *int32) int32 {
    	return *ptr
    }
    
    //go:nosplit
    //go:noinline
    func Loadint64(ptr *int64) int64 {
    	return *ptr
    }
    
    //go:nosplit
    //go:noinline
    func Xaddint32(ptr *int32, delta int32) int32 {
    	new := *ptr + delta
    	*ptr = new
    	return new
    }
    
    //go:nosplit
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/internal/syscall/unix/siginfo_linux.go

    // NOTE fields are exported to be used by TestSiginfoChildLayout.
    type SiginfoChild struct {
    	Signo       int32
    	siErrnoCode                // Two int32 fields, swapped on MIPS.
    	_           [is64bit]int32 // Extra padding for 64-bit hosts only.
    
    	// End of common part. Beginning of signal-specific part.
    
    	Pid    int32
    	Uid    uint32
    	Status int32
    
    	// Pad to 128 bytes.
    	_ [128 - (6+is64bit)*4]byte
    }
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/sync/atomic/type.go

    }
    
    // An Int32 is an atomic int32. The zero value is zero.
    type Int32 struct {
    	_ noCopy
    	v int32
    }
    
    // Load atomically loads and returns the value stored in x.
    func (x *Int32) Load() int32 { return LoadInt32(&x.v) }
    
    // Store atomically stores val into x.
    func (x *Int32) Store(val int32) { StoreInt32(&x.v, val) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/index/suffixarray/suffixarray.go

    }
    
    // An ints is either an []int32 or an []int64.
    // That is, one of them is empty, and one is the real data.
    // The int64 form is used when len(data) > maxData32
    type ints struct {
    	int32 []int32
    	int64 []int64
    }
    
    func (a *ints) len() int {
    	return len(a.int32) + len(a.int64)
    }
    
    func (a *ints) get(i int) int64 {
    	if a.int32 != nil {
    		return int64(a.int32[i])
    	}
    	return a.int64[i]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. api/go1.23.txt

    pkg sync, method (*Map) Clear() #61696
    pkg sync/atomic, func AndInt32(*int32, int32) int32 #61395
    pkg sync/atomic, func AndInt64(*int64, int64) int64 #61395
    pkg sync/atomic, func AndUint32(*uint32, uint32) uint32 #61395
    pkg sync/atomic, func AndUint64(*uint64, uint64) uint64 #61395
    pkg sync/atomic, func AndUintptr(*uintptr, uintptr) uintptr #61395
    pkg sync/atomic, func OrInt32(*int32, int32) int32 #61395
    pkg sync/atomic, func OrInt64(*int64, int64) int64 #61395
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. src/runtime/time_nofake.go

    // See go.dev/issue/67401.
    //
    //go:linkname overrideWrite
    var overrideWrite func(fd uintptr, p unsafe.Pointer, n int32) int32
    
    // write must be nosplit on Windows (see write1)
    //
    //go:nosplit
    func write(fd uintptr, p unsafe.Pointer, n int32) int32 {
    	if overrideWrite != nil {
    		return overrideWrite(fd, noescape(p), n)
    	}
    	return write1(fd, p, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go

    // than int32.
    // Deprecated: use FromInt32 instead.
    func FromInt(val int) IntOrString {
    	if val > math.MaxInt32 || val < math.MinInt32 {
    		klog.Errorf("value: %d overflows int32\n%s\n", val, debug.Stack())
    	}
    	return IntOrString{Type: Int, IntVal: int32(val)}
    }
    
    // FromInt32 creates an IntOrString object with an int32 value.
    func FromInt32(val int32) IntOrString {
    	return IntOrString{Type: Int, IntVal: val}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. src/reflect/type_test.go

    			i int
    			_ S
    		}{})}, false},
    		{"struct{a int16; b int32}", args{reflect.TypeOf(struct {
    			a int16
    			b int32
    		}{})}, false},
    		{"struct {x int32; y int16}", args{reflect.TypeOf(struct {
    			x int32
    			y int16
    		}{})}, false},
    		{"struct {_ int32 }", args{reflect.TypeOf(struct{ _ int32 }{})}, false},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/runtime/time_fake.go

    }
    
    //go:linkname time_now time.now
    func time_now() (sec int64, nsec int32, mono int64) {
    	return faketime / 1e9, int32(faketime % 1e9), faketime
    }
    
    // write is like the Unix write system call.
    // We have to avoid write barriers to avoid potential deadlock
    // on write calls.
    //
    //go:nowritebarrierrec
    func write(fd uintptr, p unsafe.Pointer, n int32) int32 {
    	if !(fd == 1 || fd == 2) {
    		// Do an ordinary write.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:15:13 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. pkg/controller/volume/persistentvolume/config/types.go

    type PersistentVolumeRecyclerConfiguration struct {
    	// maximumRetry is number of retries the PV recycler will execute on failure to recycle
    	// PV.
    	MaximumRetry int32
    	// minimumTimeoutNFS is the minimum ActiveDeadlineSeconds to use for an NFS Recycler
    	// pod.
    	MinimumTimeoutNFS int32
    	// podTemplateFilePathNFS is the file path to a pod definition used as a template for
    	// NFS persistent volume recycling
    	PodTemplateFilePathNFS string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top