Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for SHL (0.04 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

        val bit = 1 shl ENABLE_PUSH
        return if (bit and set != 0) values[ENABLE_PUSH] == 1 else defaultValue
      }
    
      fun getMaxConcurrentStreams(): Int {
        val bit = 1 shl MAX_CONCURRENT_STREAMS
        return if (bit and set != 0) values[MAX_CONCURRENT_STREAMS] else Int.MAX_VALUE
      }
    
      fun getMaxFrameSize(defaultValue: Int): Int {
        val bit = 1 shl MAX_FRAME_SIZE
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt

          accumulator = (accumulator shl codeBitCount) or code.toLong()
          accumulatorBitCount += codeBitCount
    
          while (accumulatorBitCount >= 8) {
            accumulatorBitCount -= 8
            sink.writeByte((accumulator shr accumulatorBitCount).toInt())
          }
        }
    
        if (accumulatorBitCount > 0) {
          accumulator = accumulator shl (8 - accumulatorBitCount)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/go/token/token.go

    	CHAR   // 'a'
    	STRING // "abc"
    	literal_end
    
    	operator_beg
    	// Operators and delimiters
    	ADD // +
    	SUB // -
    	MUL // *
    	QUO // /
    	REM // %
    
    	AND     // &
    	OR      // |
    	XOR     // ^
    	SHL     // <<
    	SHR     // >>
    	AND_NOT // &^
    
    	ADD_ASSIGN // +=
    	SUB_ASSIGN // -=
    	MUL_ASSIGN // *=
    	QUO_ASSIGN // /=
    	REM_ASSIGN // %=
    
    	AND_ASSIGN     // &=
    	OR_ASSIGN      // |=
    	XOR_ASSIGN     // ^=
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

            val codepointDelta = (b1 and 0xF shl 14) or (b2 shl 7) or b3
            sink.writeUtf8CodePoint(codePoint - codepointDelta)
          }
          in 80..95 -> {
            // Mapped inline as codePoint delta to add
            val b2 = ranges[rangesIndex + 2].code
            val b3 = ranges[rangesIndex + 3].code
    
            val codepointDelta = (b1 and 0xF shl 14) or (b2 shl 7) or b3
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Apr 02 11:39:58 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/AMD64latelower.rules

    (MOVWQZX...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 636 bytes
    - Viewed (0)
  6. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

              mappedToCodePoints = listOf((1 shl 18) - 1),
            ),
          ),
        ).isEqualTo(
          InlineDelta(
            rangeStart = 0,
            codepointDelta = InlineDelta.MAX_VALUE,
          ),
        )
    
        assertThat(
          inlineDeltaOrNull(
            mappingOf(
              sourceCodePoint0 = 0,
              sourceCodePoint1 = 0,
              mappedToCodePoints = listOf(1 shl 18),
            ),
          ),
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

        assertThat(compactTable.sections.length).isLessThan(1 shl 14)
    
        // Less than 65,536 bytes, because we binary search on a 14-bit index with a stride of 4 bytes.
        assertThat(compactTable.ranges.length).isLessThan((1 shl 14) * 4)
    
        // Less than 16,384 chars, because we index on a 14-bit index in the ranges table.
        assertThat(compactTable.mappings.length).isLessThan(1 shl 14)
    
        // Confirm the data strings are ASCII.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/tokens.go

    	Leq // <=
    	Gtr // >
    	Geq // >=
    
    	// precAdd
    	Add // +
    	Sub // -
    	Or  // |
    	Xor // ^
    
    	// precMul
    	Mul    // *
    	Div    // /
    	Rem    // %
    	And    // &
    	AndNot // &^
    	Shl    // <<
    	Shr    // >>
    )
    
    // Operator precedences
    const (
    	_ = iota
    	precOrOr
    	precAndAnd
    	precCmp
    	precAdd
    	precMul
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. test/codegen/bits.go

    	// s390x:"RISBGZ\t[$]48, [$]15, [$]0,"
    	return x & 0xffff00000000ffff
    }
    
    func issue44228a(a []int64, i int) bool {
    	// amd64: "BTQ", -"SHL"
    	return a[i>>6]&(1<<(i&63)) != 0
    }
    func issue44228b(a []int32, i int) bool {
    	// amd64: "BTL", -"SHL"
    	return a[i>>5]&(1<<(i&31)) != 0
    }
    
    func issue48467(x, y uint64) uint64 {
    	// arm64: -"NEG"
    	d, borrow := bits.Sub64(x, y, 0)
    	return x - d&(-borrow)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/shift/shift.go

    	}
    	inspect.Preorder(nodeFilter, func(node ast.Node) {
    		if dead[node] {
    			// Skip shift checks on unreachable nodes.
    			return
    		}
    
    		switch node := node.(type) {
    		case *ast.BinaryExpr:
    			if node.Op == token.SHL || node.Op == token.SHR {
    				checkLongShift(pass, node, node.X, node.Y)
    			}
    		case *ast.AssignStmt:
    			if len(node.Lhs) != 1 || len(node.Rhs) != 1 {
    				return
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top