Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for shr (0.15 sec)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt

        val b1: Int
          get() =
            when {
              codepointDelta < 0 -> 0x40 or (absoluteDelta shr 14)
              codepointDelta > 0 -> 0x50 or (absoluteDelta shr 14)
              else -> error("Unexpected codepointDelta of 0")
            }
    
        val b2: Int
          get() = absoluteDelta shr 7 and 0x7f
    
        val b3: Int
          get() = absoluteDelta and 0x7f
    
        companion object {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

        val sectionOffset = rangesBuffer.size.toInt() / 4
    
        // Section prefix.
        sectionIndexBuffer.writeByte(section and 0x1fc000 shr 14)
        sectionIndexBuffer.writeByte((section and 0x3f80) shr 7)
    
        // Section index.
        sectionIndexBuffer.writeByte((sectionOffset and 0x3f80) shr 7)
        sectionIndexBuffer.writeByte(sectionOffset and 0x7f)
    
        // Ranges.
        for (range in sectionMappedRanges) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

          val lengthByteCount = (lengthBitCount + 7) / 8
          sink.writeByte(0b1000_0000 or lengthByteCount)
          for (shift in (lengthByteCount - 1) * 8 downTo 0 step 8) {
            sink.writeByte((length shr shift).toInt())
          }
        }
    
        // Write the payload.
        sink.writeAll(content)
      }
    
      /**
       * Execute [block] with a new namespace for type hints. Type hints from the enclosing type are no
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/AMD64latelower.rules

    (MOVBQZX x) && zeroUpper56Bits(x,3)...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 636 bytes
    - Viewed (0)
  5. 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)
  6. 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)
          accumulator = accumulator or (0xffL ushr 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)
  7. test/codegen/memcombine.go

    func store_le64(b []byte, x uint64) {
    	// amd64:`MOVQ\s.*\(.*\)$`,-`SHR.`
    	// arm64:`MOVD`,-`MOV[WBH]`
    	// ppc64le:`MOVD\s`,-`MOV[BHW]\s`
    	// ppc64:`MOVDBR`,-MOVB\s`
    	// s390x:`MOVDBR\s.*\(.*\)$`
    	binary.LittleEndian.PutUint64(b, x)
    }
    
    func store_le64_idx(b []byte, x uint64, idx int) {
    	// amd64:`MOVQ\s.*\(.*\)\(.*\*1\)$`,-`SHR.`
    	// arm64:`MOVD\sR[0-9]+,\s\(R[0-9]+\)\(R[0-9]+\)`,-`MOV[BHW]`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

        val result = mutableListOf<InetAddress>()
    
        val buf = Buffer()
        buf.write(byteString)
        buf.readShort() // query id
    
        val flags = buf.readShort().toInt() and 0xffff
        require(flags shr 15 != 0) { "not a response" }
    
        val responseCode = flags and 0xf
    
        if (responseCode == NXDOMAIN) {
          throw UnknownHostException("$hostname: NXDOMAIN")
        } else if (responseCode == SERVFAIL) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/math/big/nat_test.go

    	})
    	b.Run("ShlSame", func(b *testing.B) {
    		for i := 0; i < b.N; i++ {
    			x.shl(x, 0)
    		}
    	})
    
    	b.Run("Shr", func(b *testing.B) {
    		for i := 0; i < b.N; i++ {
    			var z nat
    			z.shr(x, 0)
    		}
    	})
    	b.Run("ShrSame", func(b *testing.B) {
    		for i := 0; i < b.N; i++ {
    			x.shr(x, 0)
    		}
    	})
    }
    
    type modWTest struct {
    	in       string
    	dividend string
    	out      string
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 15:29:36 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. src/crypto/sha512/sha512block_riscv64.s

    	SLL	$8, X7; \
    	OR	X5, X7, X5; \
    	OR	X5, X8, X5; \
    	MOV	X5, (index*8)(X19)
    
    // Wt = SIGMA1(Wt-2) + Wt-7 + SIGMA0(Wt-15) + Wt-16; for 16 <= t <= 79
    //   SIGMA0(x) = ROTR(1,x) XOR ROTR(8,x) XOR SHR(7,x)
    //   SIGMA1(x) = ROTR(19,x) XOR ROTR(61,x) XOR SHR(6,x)
    #define MSGSCHEDULE1(index) \
    	MOV	(((index-2)&0xf)*8)(X19), X5; \
    	MOV	(((index-15)&0xf)*8)(X19), X6; \
    	MOV	(((index-7)&0xf)*8)(X19), X9; \
    	MOV	(((index-16)&0xf)*8)(X19), X21; \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top