Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for UInt32 (0.32 sec)

  1. test/codegen/bits.go

    	return a & (1 << 63)
    }
    
    func and_mask_3(a, b uint32) (uint32, uint32) {
    	// arm/7:`BIC`,-`AND`
    	a &= 0xffffaaaa
    	// arm/7:`BFC`,-`AND`,-`BIC`
    	b &= 0xffc003ff
    	return a, b
    }
    
    // Check generation of arm64 BIC/EON/ORN instructions
    
    func op_bic(x, y uint32) uint32 {
    	// arm64:`BIC\t`,-`AND`
    	return x &^ y
    }
    
    func op_eon(x, y, z uint32, a []uint32, n, m uint64) uint64 {
    	// arm64:`EON\t`,-`EOR`,-`MVN`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. src/sync/waitgroup.go

    			// Synchronize decrements with Wait.
    			race.ReleaseMerge(unsafe.Pointer(wg))
    		}
    		race.Disable()
    		defer race.Enable()
    	}
    	state := wg.state.Add(uint64(delta) << 32)
    	v := int32(state >> 32)
    	w := uint32(state)
    	if race.Enabled && delta > 0 && v == int32(delta) {
    		// The first increment must be synchronized with Wait.
    		// Need to model this as a read, because there can be
    		// several concurrent wg.counter transitions from 0.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. internal/grid/muxserver.go

    	}
    }
    
    func (m *muxServer) unblockSend(seq uint32) {
    	if !m.checkSeq(seq) {
    		return
    	}
    	m.recvMu.Lock()
    	defer m.recvMu.Unlock()
    	if m.outBlock == nil {
    		// Closed
    		return
    	}
    	select {
    	case m.outBlock <- struct{}{}:
    	default:
    		gridLogIf(m.ctx, errors.New("output unblocked overflow"))
    	}
    }
    
    func (m *muxServer) ping(seq uint32) pongMsg {
    	if !m.checkSeq(seq) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. src/sync/pool.go

    // See discussion on golang.org/cl/31589.
    func poolRaceAddr(x any) unsafe.Pointer {
    	ptr := uintptr((*[2]unsafe.Pointer)(unsafe.Pointer(&x))[1])
    	h := uint32((uint64(uint32(ptr)) * 0x85ebca6b) >> 16)
    	return unsafe.Pointer(&poolRaceHash[h%uint32(len(poolRaceHash))])
    }
    
    // Put adds x to the pool.
    func (p *Pool) Put(x any) {
    	if x == nil {
    		return
    	}
    	if race.Enabled {
    		if runtime_randn(4) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. src/os/exec_windows.go

    	case syscall.WAIT_OBJECT_0:
    		break
    	case syscall.WAIT_FAILED:
    		return nil, NewSyscallError("WaitForSingleObject", e)
    	default:
    		return nil, errors.New("os: unexpected result from WaitForSingleObject")
    	}
    	var ec uint32
    	e = syscall.GetExitCodeProcess(syscall.Handle(handle), &ec)
    	if e != nil {
    		return nil, NewSyscallError("GetExitCodeProcess", e)
    	}
    	var u syscall.Rusage
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/listenertest/match.go

    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/util/sets"
    )
    
    type ListenersTest struct {
    	// Match listener by name
    	Name string
    	// Match listener by port
    	Port uint32
    
    	// Listener assertions
    	Listener ListenerTest
    }
    
    // ListenerTest provides a struct for defining expectations for a listener
    type ListenerTest struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. src/sync/rwmutex.go

    type RWMutex struct {
    	w           Mutex        // held if there are pending writers
    	writerSem   uint32       // semaphore for writers to wait for completing readers
    	readerSem   uint32       // semaphore for readers to wait for completing writers
    	readerCount atomic.Int32 // number of pending readers
    	readerWait  atomic.Int32 // number of departing readers
    }
    
    const rwmutexMaxReaders = 1 << 30
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/sync/once.go

    	// The hot path is inlined at every call site.
    	// Placing done first allows more compact instructions on some architectures (amd64/386),
    	// and fewer instructions (to calculate offset) on other architectures.
    	done atomic.Uint32
    	m    Mutex
    }
    
    // Do calls the function f if and only if Do is being called for the
    // first time for this instance of [Once]. In other words, given
    //
    //	var once Once
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. security/pkg/nodeagent/sds/server.go

    			sdsServiceLog.Warn("SDS grpc server could not be started")
    		}
    	}()
    }
    
    func (s *Server) grpcServerOptions() []grpc.ServerOption {
    	grpcOptions := []grpc.ServerOption{
    		grpc.MaxConcurrentStreams(uint32(maxStreams)),
    	}
    
    	return grpcOptions
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 17:44:41 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. src/runtime/coro.go

    // pointer errors.
    type coro struct {
    	gp guintptr
    	f  func(*coro)
    
    	// State for validating thread-lock interactions.
    	mp        *m
    	lockedExt uint32 // mp's external LockOSThread counter at coro creation time.
    	lockedInt uint32 // mp's internal lockOSThread counter at coro creation time.
    }
    
    //go:linkname newcoro
    
    // newcoro creates a new coro containing a
    // goroutine blocked waiting to run f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top