Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 211 for Shift3 (0.12 sec)

  1. src/compress/flate/testdata/huffman-text-shift.wb.expect-noinput

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 231 bytes
    - Viewed (0)
  2. src/compress/flate/testdata/huffman-text-shift.dyn.expect-noinput

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 231 bytes
    - Viewed (0)
  3. src/cmd/internal/obj/arm64/asm_arm64_test.go

    			}
    			if got, want := lo, test.wantLo; got != want {
    				t.Errorf("splitImm24uScaled(%x, %x) - got lo %x, want %x", test.v, test.shift, got, want)
    			}
    		}
    	}
    	for shift := 0; shift <= 3; shift++ {
    		for v := int32(0); v < 0xfff000+0xfff<<shift; v = v + 1<<shift {
    			hi, lo, err := splitImm24uScaled(v, shift)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:46:11 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. hack/grab-profiles.sh

          shift
          ;;
        --kubelet-binary)
          shift
          if [ -z "$1" ]; then
            >&2 echo "empty argument to --kubelet-binary flag"
            exit 1
          fi
          kubelet_binary=$1
          shift
          ;;
        --scheduler)
          shift
          profile_components="scheduler ${profile_components}"
          ;;
        --scheduler-binary)
          shift
          if [ -z "$1" ]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 17 06:47:05 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/utils/math_utils_test.cc

    TEST(UtilsTest, QuantizeMultiplierNormalMultipliers) {
      int32_t quantized_fraction;
      int32_t shift;
    
      EXPECT_TRUE(succeeded(QuantizeMultiplier(1.2, quantized_fraction, shift)));
      EXPECT_EQ(quantized_fraction, 19661);
      EXPECT_EQ(shift, 1);
    
      EXPECT_TRUE(succeeded(QuantizeMultiplier(15.5, quantized_fraction, shift)));
      EXPECT_EQ(quantized_fraction, 31744);
      EXPECT_EQ(shift, 4);
    
      EXPECT_TRUE(succeeded(QuantizeMultiplier(1, quantized_fraction, shift)));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 05:58:41 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/math/big/decimal.go

    	// zero bits from m to reduce shift amount that needs to be done in
    	// decimal format (since that is likely slower).
    	if shift < 0 {
    		ntz := m.trailingZeroBits()
    		s := uint(-shift)
    		if s >= ntz {
    			s = ntz // shift at most ntz bits
    		}
    		m = nat(nil).shr(m, s)
    		shift += int(s)
    	}
    
    	// Do any shift left in binary representation.
    	if shift > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 22:45:29 UTC 2020
    - 6.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ir/bitset.go

    	} else {
    		*(*uint8)(f) &^= mask
    	}
    }
    
    func (f bitset8) get2(shift uint8) uint8 {
    	return uint8(f>>shift) & 3
    }
    
    // set2 sets two bits in f using the bottom two bits of b.
    func (f *bitset8) set2(shift uint8, b uint8) {
    	// Clear old bits.
    	*(*uint8)(f) &^= 3 << shift
    	// Set new bits.
    	*(*uint8)(f) |= uint8(b&3) << shift
    }
    
    type bitset16 uint16
    
    func (f *bitset16) set(mask uint16, b bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:03:56 UTC 2022
    - 734 bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/AbstractXcodeSwiftProjectIntegrationTest.groovy

            where:
            sourceCompatibility   | expectedSwiftVersion
            "null"                | null
            "SwiftVersion.SWIFT3" | "3.0"
            "SwiftVersion.SWIFT4" | "4.0"
            "SwiftVersion.SWIFT5" | "5.0"
        }
    
        SwiftSourceElement getSwift3Component() {
            return new Swift3(rootProjectName)
        }
    
        SwiftSourceElement getSwift4Component() {
            return new Swift4(rootProjectName)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. test/fixedbugs/issue60601.go

    import (
    	"strings"
    	"unsafe"
    )
    
    func shift[T any]() int64 {
    	return 1 << unsafe.Sizeof(*new(T))
    }
    
    func div[T any]() uintptr {
    	return 1 / unsafe.Sizeof(*new(T))
    }
    
    func add[T any]() int64 {
    	return 1<<63 - 1 + int64(unsafe.Sizeof(*new(T)))
    }
    
    func main() {
    	shift[[62]byte]()
    	shift[[63]byte]()
    	shift[[64]byte]()
    	shift[[100]byte]()
    	shift[[1e6]byte]()
    
    	add[[1]byte]()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 15 18:41:09 UTC 2023
    - 862 bytes
    - Viewed (0)
  10. src/strconv/decimal_test.go

    }
    
    func TestDecimalShift(t *testing.T) {
    	for i := 0; i < len(shifttests); i++ {
    		test := &shifttests[i]
    		d := NewDecimal(test.i)
    		d.Shift(test.shift)
    		s := d.String()
    		if s != test.out {
    			t.Errorf("Decimal %v << %v = %v, want %v",
    				test.i, test.shift, s, test.out)
    		}
    	}
    }
    
    type roundTest struct {
    	i               uint64
    	nd              int
    	down, round, up string
    	int             uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 3K bytes
    - Viewed (0)
Back to top