Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 531 for UInt32 (0.1 sec)

  1. src/crypto/des/block.go

    // feistelBoxOnce.Do(initFeistelBox) first.
    func feistel(l, r uint32, k0, k1 uint64) (lout, rout uint32) {
    	var t uint32
    
    	t = r ^ uint32(k0>>32)
    	l ^= feistelBox[7][t&0x3f] ^
    		feistelBox[5][(t>>8)&0x3f] ^
    		feistelBox[3][(t>>16)&0x3f] ^
    		feistelBox[1][(t>>24)&0x3f]
    
    	t = ((r << 28) | (r >> 4)) ^ uint32(k0)
    	l ^= feistelBox[6][(t)&0x3f] ^
    		feistelBox[4][(t>>8)&0x3f] ^
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. src/internal/runtime/atomic/atomic_andor_generic.go

    //go:linkname Anduintptr
    //go:linkname Oruintptr
    
    package atomic
    
    import _ "unsafe" // For linkname
    
    //go:nosplit
    func And32(ptr *uint32, val uint32) uint32 {
    	for {
    		old := *ptr
    		if Cas(ptr, old, old&val) {
    			return old
    		}
    	}
    }
    
    //go:nosplit
    func Or32(ptr *uint32, val uint32) uint32 {
    	for {
    		old := *ptr
    		if Cas(ptr, old, old|val) {
    			return old
    		}
    	}
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 20:08:37 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. src/hash/crc32/crc32_generic.go

    // (simpleUpdate).
    func simpleMakeTable(poly uint32) *Table {
    	t := new(Table)
    	simplePopulateTable(poly, t)
    	return t
    }
    
    // simplePopulateTable constructs a Table for the specified polynomial, suitable
    // for use with simpleUpdate.
    func simplePopulateTable(poly uint32, t *Table) {
    	for i := 0; i < 256; i++ {
    		crc := uint32(i)
    		for j := 0; j < 8; j++ {
    			if crc&1 == 1 {
    				crc = (crc >> 1) ^ poly
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/runtime/race.go

    func abigen_sync_atomic_SwapInt32(addr *int32, new int32) (old int32)
    
    //go:linkname abigen_sync_atomic_SwapInt64 sync/atomic.SwapInt64
    func abigen_sync_atomic_SwapInt64(addr *int64, new int64) (old int64)
    
    //go:linkname abigen_sync_atomic_SwapUint32 sync/atomic.SwapUint32
    func abigen_sync_atomic_SwapUint32(addr *uint32, new uint32) (old uint32)
    
    //go:linkname abigen_sync_atomic_SwapUint64 sync/atomic.SwapUint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. src/runtime/rand.go

    // randn is like rand() % n but faster.
    // Do not change signature: used via linkname from other packages.
    //
    //go:nosplit
    //go:linkname randn
    func randn(n uint32) uint32 {
    	// See https://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-modulo-reduction/
    	return uint32((uint64(uint32(rand())) * uint64(n)) >> 32)
    }
    
    // cheaprand is a non-cryptographic-quality 32-bit random generator
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 14:32:47 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. src/internal/cpu/cpu_x86.go

    package cpu
    
    const CacheLinePadSize = 64
    
    // cpuid is implemented in cpu_x86.s.
    func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32)
    
    // xgetbv with ecx = 0 is implemented in cpu_x86.s.
    func xgetbv() (eax, edx uint32)
    
    // getGOAMD64level is implemented in cpu_x86.s. Returns number in [1,4].
    func getGOAMD64level() int32
    
    const (
    	// ecx bits
    	cpuid_SSE3      = 1 << 0
    	cpuid_PCLMULQDQ = 1 << 1
    	cpuid_SSSE3     = 1 << 9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:20 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/macho_combine_dwarf.go

    	"unsafe"
    )
    
    type loadCmd struct {
    	Cmd macho.LoadCmd
    	Len uint32
    }
    
    type dyldInfoCmd struct {
    	Cmd                      macho.LoadCmd
    	Len                      uint32
    	RebaseOff, RebaseLen     uint32
    	BindOff, BindLen         uint32
    	WeakBindOff, WeakBindLen uint32
    	LazyBindOff, LazyBindLen uint32
    	ExportOff, ExportLen     uint32
    }
    
    type linkEditDataCmd struct {
    	Cmd              macho.LoadCmd
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/runtime/os_plan9.go

    //go:noescape
    func exits(msg *byte)
    
    //go:noescape
    func brk_(addr unsafe.Pointer) int32
    
    func sleep(ms int32) int32
    
    func rfork(flags int32) int32
    
    //go:noescape
    func plan9_semacquire(addr *uint32, block int32) int32
    
    //go:noescape
    func plan9_tsemacquire(addr *uint32, ms int32) int32
    
    //go:noescape
    func plan9_semrelease(addr *uint32, count int32) int32
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. src/runtime/stubs.go

    func call32(typ, fn, stackArgs unsafe.Pointer, stackArgsSize, stackRetOffset, frameSize uint32, regArgs *abi.RegArgs)
    func call64(typ, fn, stackArgs unsafe.Pointer, stackArgsSize, stackRetOffset, frameSize uint32, regArgs *abi.RegArgs)
    func call128(typ, fn, stackArgs unsafe.Pointer, stackArgsSize, stackRetOffset, frameSize uint32, regArgs *abi.RegArgs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  10. src/hash/crc32/crc32_test.go

    			return simpleUpdate(crc, t1, b)
    		}
    		t2 := slicingMakeTable(poly)
    		f2 := func(crc uint32, b []byte) uint32 {
    			return slicingUpdate(crc, t2, b)
    		}
    		testCrossCheck(t, f1, f2)
    	}
    }
    
    func TestArchIEEE(t *testing.T) {
    	if !archAvailableIEEE() {
    		t.Skip("Arch-specific IEEE not available.")
    	}
    	archInitIEEE()
    	slicingTable := slicingMakeTable(IEEE)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top