Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 173 for Shift2 (0.2 sec)

  1. pkg/collateral/control.go

    	type "$@"
    }
    __istio_compgen() {
    	local completions w
    	completions=( $(compgen "$@") ) || return $?
    	# filter by given word as prefix
    	while [[ "$1" = -* && "$1" != -- ]]; do
    		shift
    		shift
    	done
    	if [[ "$1" == -- ]]; then
    		shift
    	fi
    	for w in "${completions[@]}"; do
    		if [[ "${w}" = "$1"* ]]; then
    			echo "${w}"
    		fi
    	done
    }
    __istio_compopt() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 03:51:36 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  2. src/syscall/syscall_solaris.go

    func (w WaitStatus) Stopped() bool { return w&mask == stopped && Signal(w>>shift) != SIGSTOP }
    
    func (w WaitStatus) Continued() bool { return w&mask == stopped && Signal(w>>shift) == SIGSTOP }
    
    func (w WaitStatus) StopSignal() Signal {
    	if !w.Stopped() {
    		return -1
    	}
    	return Signal(w>>shift) & 0xFF
    }
    
    func (w WaitStatus) TrapCause() int { return -1 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

            var result = prefixMask
            var shift = 0
            while (true) {
              val b = readByte()
              if (b and 0x80 != 0) { // Equivalent to (b >= 128) since b is in [0..255].
                result += b and 0x7f shl shift
                shift += 7
              } else {
                result += b shl shift // Last byte.
                break
              }
            }
            return result
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  4. hack/lib/util.sh

        local sudo=$1
        local dest_dir=$2
        local ca=$3
        local id=$4
        local cn=${5:-$4}
        local groups=""
        local SEP=""
        shift 5
        while [ -n "${1:-}" ]; do
            groups+="${SEP}{\"O\":\"$1\"}"
            SEP=","
            shift 1
        done
        ${sudo} /usr/bin/env bash -e <<EOF
        cd ${dest_dir}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:33 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  5. src/go/types/builtins.go

    			//    floating-point numbers if possible,
    			// 2) if one of them is not constant (possible because
    			//    it contains a shift that is yet untyped), convert
    			//    both of them to float64 since they must have the
    			//    same type to succeed (this will result in an error
    			//    because shifts of floats are not permitted)
    			if x.mode == constant_ && y.mode == constant_ {
    				toFloat := func(x *operand) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/magic.go

    //          = ⎡2^(n+s-1)/c⎤
    //          = ⎡m/2⎤
    //   ⎣x / c⎦ = ⎣x' * m' / 2^(n'+s')⎦
    //   ⎣x / c⎦ = ⎣⎣x/2⎦ * ⎡m/2⎤ / 2^(n+s-2)⎦
    //   ⎣x / c⎦ = ⎣⎣⎣x/2⎦ * ⎡m/2⎤ / 2^n⎦ / 2^(s-2)⎦
    //   shift + multiply + shift
    //
    // Case 3: everything else
    //   let k = m - 2^n. k fits in n bits.
    //   ⎣x / c⎦ = ⎣x * m / 2^(n+s)⎦
    //   ⎣x / c⎦ = ⎣x * (2^n + k) / 2^(n+s)⎦
    //   ⎣x / c⎦ = ⎣(x + x * k / 2^n) / 2^s⎦
    //   ⎣x / c⎦ = ⎣(x + ⎣x * k / 2^n⎦) / 2^s⎦
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. src/encoding/asn1/asn1.go

    // slice may share memory with the BitString.
    func (b BitString) RightAlign() []byte {
    	shift := uint(8 - (b.BitLength % 8))
    	if shift == 8 || len(b.Bytes) == 0 {
    		return b.Bytes
    	}
    
    	a := make([]byte, len(b.Bytes))
    	a[0] = b.Bytes[0] >> shift
    	for i := 1; i < len(b.Bytes); i++ {
    		a[i] = b.Bytes[i-1] << (8 - shift)
    		a[i] |= b.Bytes[i] >> shift
    	}
    
    	return a
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/builtins0.go

    	var a []complex64
    	_ = imag(a... /* ERROR "invalid use of ..." */ )
    
    	// if argument is untyped, result is untyped
    	const _ byte = imag(1.2 + 3i)
    	const _ complex128 = imag(1.2 + 3i)
    
    	// lhs constant shift operands are typed as complex128
    	var s uint
    	_ = imag(1 /* ERROR "must be integer" */ << s)
    }
    
    func imag2() {
    	f1 := func() (x complex128) { return }
    	f2 := func() (x, y complex128) { return }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  9. src/go/constant/value.go

    func quo(x, y Value) Value { return BinaryOp(x, token.QUO, y) }
    
    // Shift returns the result of the shift expression x op s
    // with op == [token.SHL] or [token.SHR] (<< or >>). x must be
    // an [Int] or an [Unknown]. If x is [Unknown], the result is x.
    func Shift(x Value, op token.Token, s uint) Value {
    	switch x := x.(type) {
    	case unknownVal:
    		return x
    
    	case int64Val:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/builtins.go

    			//    floating-point numbers if possible,
    			// 2) if one of them is not constant (possible because
    			//    it contains a shift that is yet untyped), convert
    			//    both of them to float64 since they must have the
    			//    same type to succeed (this will result in an error
    			//    because shifts of floats are not permitted)
    			if x.mode == constant_ && y.mode == constant_ {
    				toFloat := func(x *operand) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top