Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for SHL (0.85 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/cmd/compile/internal/ssa/_gen/AMD64.rules

    // fold shifts into LEAQx/LEALx
    (LEA(Q|L)1 [c] {s} x (SHL(Q|L)const [1] y)) => (LEA(Q|L)2 [c] {s} x y)
    (LEA(Q|L)1 [c] {s} x (SHL(Q|L)const [2] y)) => (LEA(Q|L)4 [c] {s} x y)
    (LEA(Q|L)1 [c] {s} x (SHL(Q|L)const [3] y)) => (LEA(Q|L)8 [c] {s} x y)
    (LEA(Q|L)2 [c] {s} x (SHL(Q|L)const [1] y)) => (LEA(Q|L)4 [c] {s} x y)
    (LEA(Q|L)2 [c] {s} x (SHL(Q|L)const [2] y)) => (LEA(Q|L)8 [c] {s} x y)
    (LEA(Q|L)4 [c] {s} x (SHL(Q|L)const [1] y)) => (LEA(Q|L)8 [c] {s} x y)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  4. src/math/fma.go

    	return 0
    	// branchless:
    	// return ((x>>1 | x&1) - 1) >> 63
    }
    
    func nonzero(x uint64) uint64 {
    	if x != 0 {
    		return 1
    	}
    	return 0
    	// branchless:
    	// return 1 - ((x>>1|x&1)-1)>>63
    }
    
    func shl(u1, u2 uint64, n uint) (r1, r2 uint64) {
    	r1 = u1<<n | u2>>(64-n) | u2<<(n-64)
    	r2 = u2 << n
    	return
    }
    
    func shr(u1, u2 uint64, n uint) (r1, r2 uint64) {
    	r2 = u2>>n | u1<<(64-n) | u1>>(n-64)
    	r1 = u1 >> n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 05 22:05:30 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/internal/types/testdata/fixedbugs/issue49705.go

    // license that can be found in the LICENSE file.
    
    package p
    
    type Integer interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    	~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr
    }
    
    func shl[I Integer](n int) I {
    	return 1 << n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 347 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. test/codegen/shift.go

    	// amd64:"SHRQ.*,.*,"
    	shr := x>>s | y<<ŝ
    	// amd64:"SHLQ.*,.*,"
    	shl := x<<s | y>>ŝ
    	return shr, shl
    }
    
    func checkShiftToMask(u []uint64, s []int64) {
    	// amd64:-"SHR",-"SHL","ANDQ"
    	u[0] = u[0] >> 5 << 5
    	// amd64:-"SAR",-"SHL","ANDQ"
    	s[0] = s[0] >> 5 << 5
    	// amd64:-"SHR",-"SHL","ANDQ"
    	u[1] = u[1] << 5 >> 5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top