- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 199 for Shift2 (0.19 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt
if (child == null) { child = Node() children[childIndex] = child } node = child } val shift = 8 - accumulatorBitCount val start = (code shl shift) and 0xff val end = 1 shl shift node.children!!.fill(terminal, start, start + end) } private class Node { /** Null if terminal. */ val children: Array<Node?>?
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.3K bytes - Viewed (0) -
src/cmd/vet/main.go
"golang.org/x/tools/go/analysis/passes/lostcancel" "golang.org/x/tools/go/analysis/passes/nilfunc" "golang.org/x/tools/go/analysis/passes/printf" "golang.org/x/tools/go/analysis/passes/shift" "golang.org/x/tools/go/analysis/passes/sigchanyzer" "golang.org/x/tools/go/analysis/passes/slog" "golang.org/x/tools/go/analysis/passes/stdmethods" "golang.org/x/tools/go/analysis/passes/stdversion"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 2.9K bytes - Viewed (0) -
test/fixedbugs/bug108.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 23 22:31:35 UTC 2016 - 268 bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_mips64x.s
MOVBU val+8(FP), R2 // Align ptr down to 4 bytes so we can use 32-bit load/store. MOVV $~3, R3 AND R1, R3 // Compute val shift. #ifdef GOARCH_mips64 // Big endian. ptr = ptr ^ 3 XOR $3, R1 #endif // R4 = ((ptr & 3) * 8) AND $3, R1, R4 SLLV $3, R4 // Shift val for aligned ptr. R2 = val << R4 SLLV R4, R2 SYNC LL (R3), R4 OR R2, R4 SC R4, (R3) BEQ R4, -4(PC) SYNC
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 21:29:34 UTC 2024 - 7.2K bytes - Viewed (0) -
src/cmd/internal/objfile/goobj.go
*val += vdelta return true } // readvarint reads, removes, and returns a varint from *p. func readvarint(p *[]byte) uint32 { var v, shift uint32 s := *p for shift = 0; ; shift += 7 { b := s[0] s = s[1:] v |= (uint32(b) & 0x7F) << shift if b&0x80 == 0 { break } } *p = s return v } // We treat the whole object file as the text section.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 15:39:57 UTC 2023 - 7.8K bytes - Viewed (0) -
test/fixedbugs/issue33308.go
// Test that the compiler does not crash on a []byte conversion of an // untyped expression. package p var v uint
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 15 02:35:59 UTC 2020 - 389 bytes - Viewed (0) -
test/fixedbugs/issue29402.go
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 29402: wrong optimization of comparison of // constant and shift on MIPS. package main //go:noinline func F(s []int) bool { half := len(s) / 2 return half >= 0 } func main() { b := F([]int{1, 2, 3, 4}) if !b { panic("FAIL") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 27 00:07:53 UTC 2018 - 417 bytes - Viewed (0) -
src/math/big/floatexample_test.go
// z = 1002.718282 (0x.faadf854p+10, prec = 32, acc = Below) } func ExampleFloat_shift() { // Implement Float "shift" by modifying the (binary) exponents directly. for s := -5; s <= 5; s++ { x := big.NewFloat(0.5) x.SetMantExp(x, x.MantExp(nil)+s) // shift x by s fmt.Println(x) } // Output: // 0.015625 // 0.03125 // 0.0625 // 0.125 // 0.25 // 0.5 // 1 // 2 // 4
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 4.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_go_version_mixed.txt
-- x.go -- package x import "sub.1" func F() { sub.F(0, 0) } var A sub.Alias var D sub.Defined -- sub/go.mod -- module m go 1.14 -- sub/sub.go -- package sub // signed shift counts added in Go 1.13 func F(l, r int) int { return l << r } type m1 interface { M() } type m2 interface { M() } // overlapping interfaces added in Go 1.14 type Alias = interface { m1; m2; M() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 08 21:27:51 UTC 2019 - 646 bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64le.s
// Greater than 8 -- load the rightmost remaining bytes in msg // and put into R17 (h1) MOVD (R4)(R21), R17 MOVD $16, R22 // Find the offset to those bytes SUB R5, R22, R22 SLD $3, R22 // Shift to get only the bytes in msg SRD R22, R17, R17 // Put 1 at high end MOVD $1, R23 SLD $3, R21 SLD R21, R23, R23 OR R23, R17, R17 // Remainder is 8 MOVD $8, R5 just1:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 00:09:40 UTC 2024 - 3.2K bytes - Viewed (0)