Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 118 for Shift2 (0.1 sec)

  1. src/net/interface_unix_test.go

    		} else {
    			time.Sleep(3 * time.Millisecond)
    		}
    		ift2, err := Interfaces()
    		if err != nil {
    			ti.teardown()
    			t.Fatal(err)
    		}
    		if len(ift2) <= len(ift1) {
    			for _, ifi := range ift1 {
    				t.Logf("before: %v", ifi)
    			}
    			for _, ifi := range ift2 {
    				t.Logf("after: %v", ifi)
    			}
    			ti.teardown()
    			t.Fatalf("got %v; want gt %v", len(ift2), len(ift1))
    		}
    		for _, ifi := range ift2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 23:51:35 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. test/codegen/issue42610.go

    // asmcheck
    
    // Copyright 2020 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.
    
    // Don't allow 0 masks in shift lowering rules on ppc64x.
    // See issue 42610.
    
    package codegen
    
    func f32(a []int32, i uint32) {
            g := func(p int32) int32 {
                    i = uint32(p) * (uint32(p) & (i & 1))
                    return 1
            }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 27 18:24:12 UTC 2023
    - 623 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/internal/obj/arm64/anames7.go

    package arm64
    
    // This order should be strictly consistent to that in a.out.go
    var cnames7 = []string{
    	"", // C_NONE starts from 1
    	"NONE",
    	"REG",
    	"ZREG",
    	"RSP",
    	"FREG",
    	"VREG",
    	"PAIR",
    	"SHIFT",
    	"EXTREG",
    	"SPR",
    	"SPOP",
    	"COND",
    	"ARNG",
    	"ELEM",
    	"LIST",
    	"ZCON",
    	"ABCON0",
    	"ADDCON0",
    	"ABCON",
    	"AMCON",
    	"ADDCON",
    	"MBCON",
    	"MOVCON",
    	"BITCON",
    	"ADDCON2",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 16:37:49 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/utils/math_utils.h

    // fraction and an integral power of two.
    LogicalResult QuantizeMultiplier(double double_multiplier,
                                     int32_t& quantized_fraction, int32_t& shift);
    
    }  // namespace mlir::quant::stablehlo
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 07:43:59 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top