Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for c32 (0.05 sec)

  1. test/fixedbugs/bug114.go

    // license that can be found in the LICENSE file.
    
    package main
    
    const B32 = 1<<32 - 1
    const C32 = (-1) & ((1 << 32) - 1)
    const D32 = ^0
    
    func main() {
    	if B32 != 0xFFFFFFFF {
    		println("1<<32 - 1 is", B32, "should be", 0xFFFFFFFF)
    		panic("fail")
    	}
    	if C32 != 0xFFFFFFFF {
    		println("(-1) & ((1<<32) - 1) is", C32, "should be", 0xFFFFFFFF)
    		panic("fail")
    	}
    	if D32 != -1 {
    		println("^0 is", D32, "should be", -1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 21 23:19:59 UTC 2012
    - 556 bytes
    - Viewed (0)
  2. test/chan/nonblock.go

    		default:
    		}
    
    		go i32receiver(c32, sync)
    		try := 0
    	Send32:
    		for {
    			select {
    			case c32 <- 123:
    				break Send32
    			default:
    				try++
    				if try > maxTries {
    					println("i32receiver buffer=", buffer)
    					panic("fail")
    				}
    				sleep()
    			}
    		}
    		<-sync
    
    		go i32sender(c32, sync)
    		if buffer > 0 {
    			<-sync
    		}
    		try = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:44:02 UTC 2012
    - 3.9K bytes
    - Viewed (0)
  3. test/fixedbugs/issue7746.go

    	c22  = c21 * c21
    	c23  = c22 * c22
    	c24  = c23 * c23
    	c25  = c24 * c24
    	c26  = c25 * c25
    	c27  = c26 * c26
    	c28  = c27 * c27
    	c29  = c28 * c28
    	c30  = c29 * c29
    	c31  = c30 * c30
    	c32  = c31 * c31
    	c33  = c32 * c32
    	c34  = c33 * c33
    	c35  = c34 * c34
    	c36  = c35 * c35
    	c37  = c36 * c36
    	c38  = c37 * c37
    	c39  = c38 * c38
    	c40  = c39 * c39
    	c41  = c40 * c40
    	c42  = c41 * c41
    	c43  = c42 * c42
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 15 02:35:59 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  4. src/runtime/internal/sys/intrinsics.go

    	c8 := uint64(0x00ff00ff00ff00ff)
    	a := x >> 8 & c8
    	b := (x & c8) << 8
    	x = a | b
    	c16 := uint64(0x0000ffff0000ffff)
    	a = x >> 16 & c16
    	b = (x & c16) << 16
    	x = a | b
    	c32 := uint64(0x00000000ffffffff)
    	a = x >> 32 & c32
    	b = (x & c32) << 32
    	x = a | b
    	return x
    }
    
    // Bswap32 returns its input with byte order reversed
    // 0x01020304 -> 0x04030201
    func Bswap32(x uint32) uint32 {
    	c8 := uint32(0x00ff00ff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 08:10:45 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  5. src/math/bits/bits.go

    //
    // This function's execution time does not depend on the inputs.
    func Add(x, y, carry uint) (sum, carryOut uint) {
    	if UintSize == 32 {
    		s32, c32 := Add32(uint32(x), uint32(y), uint32(carry))
    		return uint(s32), uint(c32)
    	}
    	s64, c64 := Add64(uint64(x), uint64(y), uint64(carry))
    	return uint(s64), uint(c64)
    }
    
    // Add32 returns the sum with carry of x, y and carry: sum = x + y + carry.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  6. src/encoding/json/testdata/code.json.gz

    uches":2,"min_t":1228859282,"max_t":1236205616,"mean_t":1232532449},{"name":"t1008-c44-ln-box-01-d-ag-expected.png","kids":[],"cl_weight":0.0012228417427826135,"touches":2,"min_t":1228859282,"max_t":1236205616,"mean_t":1232532449},{"name":"t060401-c32-cascading-00-b-expected.checksum","kids":[],"cl_weight":0.0012228417427826135,"touches":2,"min_t":1228859282,"max_t":1236205616,"mean_t":1232532449},{"name":"t140201-c533-bgimage-00-a-expected.png","kids":[],"cl_weight":0.0012228417427826135,"touch...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 25 04:02:36 UTC 2016
    - 117.6K bytes
    - Viewed (0)
Back to top