Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for ju32 (0.1 sec)

  1. src/crypto/internal/boring/div_test.c

    #define nelem(x) (sizeof(x)/sizeof((x)[0]))
    
    typedef uint32_t u32;
    
    static u32 div(u32 x, u32 y, u32 *rp) {
    	int n = 0;
    	while((y>>(32-1)) != 1 && y < x) {
    		y<<=1;
    		n++;
    	}
    	u32 q = 0;
    	for(;; n--, y>>=1, q<<=1) {
    		if(x>=y) {
    			x -= y;
    			q |= 1;
    		}
    		if(n == 0)
    			break;
    	}
    	if(rp)
    		*rp = x;
    	return q;
    }
    
    u32 tests[] = {
    	0,
    	1,
    	2,
    	3,
    	4,
    	5,
    	6,
    	7,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 21:28:09 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. src/regexp/syntax/prog.go

    		bw(b, "\n")
    	}
    }
    
    func u32(i uint32) string {
    	return strconv.FormatUint(uint64(i), 10)
    }
    
    func dumpInst(b *strings.Builder, i *Inst) {
    	switch i.Op {
    	case InstAlt:
    		bw(b, "alt -> ", u32(i.Out), ", ", u32(i.Arg))
    	case InstAltMatch:
    		bw(b, "altmatch -> ", u32(i.Out), ", ", u32(i.Arg))
    	case InstCapture:
    		bw(b, "cap ", u32(i.Arg), " -> ", u32(i.Out))
    	case InstEmptyWidth:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. test/codegen/noextend.go

    	val64[1] = uint64(*u16)
    
    	// ppc64x:-"MOVWZ\tR\\d+,\\sR\\d+"
    	val64[2] = uint64(*u32)
    }
    
    func cmp16(u8 *uint8, x32 *int32, u32 *uint32, x64 *int64, u64 *uint64) bool {
    
    	// ppc64x:-"MOVBZ\tR\\d+,\\sR\\d+"
    	if uint16(*u8) == val16[0] {
    		return true
    	}
    
    	// ppc64x:-"MOVHZ\tR\\d+,\\sR\\d+"
    	if uint16(*u32>>16) == val16[0] {
    		return true
    	}
    
    	// ppc64x:-"MOVHZ\tR\\d+,\\sR\\d+"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. test/prove.go

    // Look through all extensions
    func signExtNto64(x []int, j8 int8, j16 int16, j32 int32) int {
    	if len(x) < 22 {
    		return 0
    	}
    	if j8 >= 0 && j8 < 22 {
    		return x[j8] // ERROR "Proved IsInBounds$"
    	}
    	if j16 >= 0 && j16 < 22 {
    		return x[j16] // ERROR "Proved IsInBounds$"
    	}
    	if j32 >= 0 && j32 < 22 {
    		return x[j32] // ERROR "Proved IsInBounds$"
    	}
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 00:02:36 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. test/codegen/math.go

    	// ppc64x:"MTVSRD"
    	// mips64/hardfloat:"MOVV\tR.*, F.*"
    	return math.Float64frombits(u64+1) + 1
    }
    
    func toFloat32(u32 uint32) float32 {
    	// amd64:"MOVL\t[^X].*, X.*"
    	// arm64:"FMOVS\tR.*, F.*"
    	// mips64/hardfloat:"MOVW\tR.*, F.*"
    	return math.Float32frombits(u32+1) + 1
    }
    
    // Test that comparisons with constants converted to float
    // are evaluated at compile-time
    
    func constantCheck64() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. src/strconv/ftoaryu.go

    	var dl, dc, du uint64
    	var dl0, dc0, du0 bool
    	if flt == &float32info {
    		var dl32, dc32, du32 uint32
    		dl32, _, dl0 = mult64bitPow10(uint32(ml), e2, q)
    		dc32, _, dc0 = mult64bitPow10(uint32(mc), e2, q)
    		du32, e2, du0 = mult64bitPow10(uint32(mu), e2, q)
    		dl, dc, du = uint64(dl32), uint64(dc32), uint64(du32)
    	} else {
    		dl, _, dl0 = mult128bitPow10(ml, e2, q)
    		dc, _, dc0 = mult128bitPow10(mc, e2, q)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 00:28:56 UTC 2022
    - 15.7K bytes
    - Viewed (0)
  7. src/runtime/os_wasip1.go

    // retain the objects that could otherwise be reclaimed by the GC.
    type uintptr32 = uint32
    
    // https://github.com/WebAssembly/WASI/blob/a2b96e81c0586125cc4dc79a5be0b78d9a059925/legacy/preview1/docs.md#-size-u32
    type size = uint32
    
    // https://github.com/WebAssembly/WASI/blob/a2b96e81c0586125cc4dc79a5be0b78d9a059925/legacy/preview1/docs.md#-errno-variant
    type errno = uint32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 7K bytes
    - Viewed (0)
  8. tensorflow/compiler/aot/codegen_test.cc

                  xla::ShapeUtil::MakeShape(xla::F32, {1}),
                  xla::ShapeUtil::MakeShape(xla::S32, {5}),
              },
              xla::ShapeUtil::MakeTupleShape({
                  xla::ShapeUtil::MakeShape(xla::U32, {5, 6}),
                  xla::ShapeUtil::MakeShape(xla::F32, {1}),
                  xla::ShapeUtil::MakeShape(xla::S32, {5}),
              }))
              .ToProto();
      compile_result.entry_point = "entry_point";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 01 02:13:40 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/arch/arm/armasm/plan9x.go

    		if inst.Op&^15 == fp.op {
    			// remove gnu syntax suffixes
    			op = strings.Replace(op, ".F32", "", -1)
    			op = strings.Replace(op, ".F64", "", -1)
    			op = strings.Replace(op, ".S32", "", -1)
    			op = strings.Replace(op, ".U32", "", -1)
    			op = strings.Replace(op, ".32", "", -1)
    			// compose op name
    			if fp.op == VLDR_EQ || fp.op == VSTR_EQ {
    				switch {
    				case strings.HasPrefix(args[fp.transArgs[0]], "D"):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/aot/codegen_test_h.golden

    //   is guaranteed that no thread may call a non-const method.
    //
    // The logical function signature is:
    //   ((unknown): f32[1,2], (unknown): s64[3,4], (unknown): f32[1], (unknown): f32[1], (unknown): s32[5]) -> (u32[5,6], f32[1], s32[5])
    //
    // Memory stats:
    //   arg bytes total:    392
    //   arg bytes aligned:  576
    //   temp bytes total:   171
    //   temp bytes aligned: 512
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top