Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 46 for SHL (0.06 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

      writeByte(medium.ushr(8) and 0xff)
      writeByte(medium and 0xff)
    }
    
    @Throws(IOException::class)
    internal fun BufferedSource.readMedium(): Int {
      return (
        readByte() and 0xff shl 16
          or (readByte() and 0xff shl 8)
          or (readByte() and 0xff)
      )
    }
    
    /** Run [block] until it either throws an [IOException] or completes. */
    internal inline fun ignoreIoExceptions(block: () -> Unit) {
      try {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

        // Read a group, one to four hex digits.
        var value = 0
        groupOffset = i
        while (i < limit) {
          val hexDigit = input[i].parseHexDigit()
          if (hexDigit == -1) break
          value = (value shl 4) + hexDigit
          i++
        }
        val groupLength = i - groupOffset
        if (groupLength == 0 || groupLength > 4) return null // Group is the wrong size.
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt

        if (codePoint == '%'.code && i + 2 < limit) {
          val d1 = encoded[i + 1].parseHexDigit()
          val d2 = encoded[i + 2].parseHexDigit()
          if (d1 != -1 && d2 != -1) {
            writeByte((d1 shl 4) + d2)
            i += 2
            i += Character.charCount(codePoint)
            continue
          }
        } else if (codePoint == '+'.code && plusIsSpace) {
          writeByte(' '.code)
          i++
          continue
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. src/go/constant/value_test.go

    }
    
    var optab = map[string]token.Token{
    	"!": token.NOT,
    
    	"+": token.ADD,
    	"-": token.SUB,
    	"*": token.MUL,
    	"/": token.QUO,
    	"%": token.REM,
    
    	"<<": token.SHL,
    	">>": token.SHR,
    
    	"&":  token.AND,
    	"|":  token.OR,
    	"^":  token.XOR,
    	"&^": token.AND_NOT,
    
    	"==": token.EQL,
    	"!=": token.NEQ,
    	"<":  token.LSS,
    	"<=": token.LEQ,
    	">":  token.GTR,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

            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
          }
    
          /** Reads a potentially Huffman encoded byte string. */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  6. src/math/big/ratconv.go

    	}
    
    	// apply exp2 contributions
    	if exp2 < -1e7 || exp2 > 1e7 {
    		return nil, false // avoid excessively large exponents
    	}
    	if exp2 > 0 {
    		z.a.abs = z.a.abs.shl(z.a.abs, uint(exp2))
    	} else if exp2 < 0 {
    		z.b.abs = z.b.abs.shl(z.b.abs, uint(-exp2))
    	}
    
    	z.a.neg = neg && len(z.a.abs) > 0 // 0 has no sign
    
    	return z.norm(), true
    }
    
    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/vendor/golang.org/x/arch/x86/x86asm/plan9x.go

    	POPA:      true,
    	POPCNT:    true,
    	PUSH:      true,
    	PUSHA:     true,
    	RCL:       true,
    	RCR:       true,
    	ROL:       true,
    	ROR:       true,
    	SAR:       true,
    	SBB:       true,
    	SHL:       true,
    	SHLD:      true,
    	SHR:       true,
    	SHRD:      true,
    	SUB:       true,
    	TEST:      true,
    	XADD:      true,
    	XCHG:      true,
    	XOR:       true,
    }
    
    var plan9Reg = [...]string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

                if (c.isLowSurrogate() || !low.isLowSurrogate()) {
                  '?'.code
                } else {
                  i++
                  0x010000 + (c.code and 0x03ff shl 10 or (low.code and 0x03ff))
                }
              }
    
              else -> c.code
            }
          i++
        }
        return result
      }
    
      private val Int.punycodeDigit: Int
        get() =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 03 03:04:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/scanner_test.go

    	{_Star, "*", Mul, precMul},
    	{_Operator, "/", Div, precMul},
    	{_Operator, "%", Rem, precMul},
    	{_Operator, "&", And, precMul},
    	{_Operator, "&^", AndNot, precMul},
    	{_Operator, "<<", Shl, precMul},
    	{_Operator, ">>", Shr, precMul},
    
    	// assignment operations
    	{_AssignOp, "+=", Add, precAdd},
    	{_AssignOp, "-=", Sub, precAdd},
    	{_AssignOp, "|=", Or, precAdd},
    	{_AssignOp, "^=", Xor, precAdd},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  10. src/math/big/nat.go

    		return i*_W + uint(bits.TrailingZeros(uint(x[i]))), true
    	}
    	return 0, false
    }
    
    func same(x, y nat) bool {
    	return len(x) == len(y) && len(x) > 0 && &x[0] == &y[0]
    }
    
    // z = x << s
    func (z nat) shl(x nat, s uint) nat {
    	if s == 0 {
    		if same(z, x) {
    			return z
    		}
    		if !alias(z, x) {
    			return z.set(x)
    		}
    	}
    
    	m := len(x)
    	if m == 0 {
    		return z[:0]
    	}
    	// m > 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 31.7K bytes
    - Viewed (0)
Back to top