Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for utod (0.05 sec)

  1. src/time/format.go

    		u = uint(-x)
    	}
    
    	// 2-digit and 4-digit fields are the most common in time formats.
    	utod := func(u uint) byte { return '0' + byte(u) }
    	switch {
    	case width == 2 && u < 1e2:
    		return append(b, utod(u/1e1), utod(u%1e1))
    	case width == 4 && u < 1e4:
    		return append(b, utod(u/1e3), utod(u/1e2%1e1), utod(u/1e1%1e1), utod(u%1e1))
    	}
    
    	// Compute the number of decimal digits.
    	var n int
    	if u == 0 {
    		n = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  2. src/crypto/internal/boring/build-goboring.sh

    }
    
    u128 __udivti3(u128 x, u128 y) {
    	return div(x, y, 0);
    }
    EOF
    
    extra=""
    case $GOARCH in
    amd64)
    	cp umod-amd64.s umod.s
    	clang -c -o umod.o umod.s
    	extra=umod.o
    	;;
    arm64)
    	cp umod-arm64.c umod.c
    	clang -c -o umod.o umod.c
    	extra=umod.o
    	;;
    esac
    
    # Prepare copy of libcrypto.a with only the checked functions renamed and exported.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. src/math/big/nat_test.go

    			var q, r nat
    			q, r = q.div(r, x, b)
    			if q.cmp(a) != 0 {
    				t.Fatalf("wrong quotient: got %s; want %s for %s/%s", q.utoa(10), a.utoa(10), x.utoa(10), b.utoa(10))
    			}
    			if r.cmp(c) != 0 {
    				t.Fatalf("wrong remainder: got %s; want %s for %s/%s", r.utoa(10), c.utoa(10), x.utoa(10), b.utoa(10))
    			}
    		}
    	}
    }
    
    // TestIssue37499 triggers the edge case of divBasic where
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 15:29:36 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  4. src/math/big/ftoa.go

    	m := x.mant
    	switch w := uint32(len(x.mant)) * _W; {
    	case w < x.prec:
    		m = nat(nil).shl(m, uint(x.prec-w))
    	case w > x.prec:
    		m = nat(nil).shr(m, uint(w-x.prec))
    	}
    
    	buf = append(buf, m.utoa(10)...)
    	buf = append(buf, 'p')
    	e := int64(x.exp) - int64(x.prec)
    	if e >= 0 {
    		buf = append(buf, '+')
    	}
    	return strconv.AppendInt(buf, e, 10)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  5. src/math/big/intconv.go

    		case 'o': // octal
    			prefix = "0"
    		case 'x': // hexadecimal
    			prefix = "0x"
    		case 'X':
    			prefix = "0X"
    		}
    	}
    	if ch == 'O' {
    		prefix = "0o"
    	}
    
    	digits := x.abs.utoa(base)
    	if ch == 'X' {
    		// faster than bytes.ToUpper
    		for i, d := range digits {
    			if 'a' <= d && d <= 'z' {
    				digits[i] = 'A' + (d - 'a')
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. src/math/big/ratconv.go

    			q = nat(nil).add(q, natOne)
    			r = nat(nil).sub(r, p)
    		}
    	}
    
    	if x.a.neg {
    		buf = append(buf, '-')
    	}
    	buf = append(buf, q.utoa(10)...) // itoa ignores sign if q == 0
    
    	if prec > 0 {
    		buf = append(buf, '.')
    		rs := r.utoa(10)
    		for i := prec - len(rs); i > 0; i-- {
    			buf = append(buf, '0')
    		}
    		buf = append(buf, rs...)
    	}
    
    	return string(buf)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 22:16:34 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    // In fact, UMOD will be translated into UREM instruction, and UREM is originally translated into
    // UDIV and MSUB instructions. But if there is already an identical UDIV instruction just before or
    // after UREM (case like quo, rem := z/y, z%y), then the second UDIV instruction becomes redundant.
    // The purpose of this rule is to have this extra UDIV instruction removed in CSE pass.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go

    	{162, "EDC5162I", "The Physical File System encountered a system error."},
    	{163, "EDC5163I", "SAF/RACF extract error."},
    	{164, "EDC5164I", "SAF/RACF error."},
    	{165, "EDC5165I", "System TOD clock not set."},
    	{166, "EDC5166I", "Access mode argument on function call conflicts with PATHOPTS parameter on JCL DD statement."},
    	{167, "EDC5167I", "Access to the UNIX System Services version of the C RTL is denied."},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. src/runtime/asm_s390x.s

    	MOVD	R4, g
    	MOVD	R3, R10
    	MOVD	R1, LR
    	RET
    
    TEXT runtime·abort(SB),NOSPLIT|NOFRAME,$0-0
    	MOVW	(R0), R0
    	UNDEF
    
    // int64 runtime·cputicks(void)
    TEXT runtime·cputicks(SB),NOSPLIT,$0-8
    	// The TOD clock on s390 counts from the year 1900 in ~250ps intervals.
    	// This means that since about 1972 the msb has been set, making the
    	// result of a call to STORE CLOCK (stck) a negative number.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 09:18:28 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		{name: "MOD", argLength: 2, reg: gp21, asm: "REM"},                                                            // arg0 % arg1, signed
    		{name: "UMOD", argLength: 2, reg: gp21, asm: "UREM"},                                                          // arg0 % arg1, unsigned
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
Back to top