Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Shift1 (0.09 sec)

  1. src/crypto/md5/gen.go

    	if err != nil {
    		log.Fatal(err)
    	}
    	err = os.WriteFile(*filename, data, 0644)
    	if err != nil {
    		log.Fatal(err)
    	}
    }
    
    type Data struct {
    	a, b, c, d string
    	Shift1     []int
    	Shift2     []int
    	Shift3     []int
    	Shift4     []int
    	Table1     []uint32
    	Table2     []uint32
    	Table3     []uint32
    	Table4     []uint32
    }
    
    var funcs = template.FuncMap{
    	"dup":     dup,
    	"relabel": relabel,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. 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)
  3. src/crypto/des/block.go

    }
    
    // Expand 48-bit input to 64-bit, with each 6-bit block padded by extra two bits at the top.
    // By doing so, we can have the input blocks (four bits each), and the key blocks (six bits each) well-aligned without
    // extra shifts/rotations for alignments.
    func unpack(x uint64) uint64 {
    	return ((x>>(6*1))&0xff)<<(8*0) |
    		((x>>(6*3))&0xff)<<(8*1) |
    		((x>>(6*5))&0xff)<<(8*2) |
    		((x>>(6*7))&0xff)<<(8*3) |
    		((x>>(6*0))&0xff)<<(8*4) |
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. prow/integ-suite-kind.sh

        --node-image)
          NODE_IMAGE=$2
          shift 2
        ;;
        # Config for enabling different Kubernetes features in KinD (see prow/config{endpointslice.yaml,trustworthy-jwt.yaml}).
        --kind-config)
        KIND_CONFIG=$2
        shift 2
        ;;
        --skip-setup)
          SKIP_SETUP=true
          shift
        ;;
        --skip-cleanup)
          SKIP_CLEANUP=true
          shift
        ;;
        --skip-build)
          SKIP_BUILD=true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 05:42:41 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/crypto/md5/md5block_ppc64x.s

    #define ROUND1(a, b, c, d, index, const, shift) \
    	ADD	$const, index, R9; \
    	ADD	R9, a; \
    	AND     b, c, R9; \
    	ANDN    b, d, R31; \
    	OR	R9, R31, R9; \
    	ADD	R9, a; \
    	ROTLW	$shift, a; \
    	ADD	b, a;
    
    #define ROUND2(a, b, c, d, index, const, shift) \
    	ADD	$const, index, R9; \
    	ADD	R9, a; \
    	AND	b, d, R31; \
    	ANDN	d, c, R9; \
    	OR	R9, R31; \
    	ADD	R31, a; \
    	ROTLW	$shift, a; \
    	ADD	b, a;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/enterprise/enterprise-plugin-performance/src/testFixtures/groovy/org/gradle/performance/AbstractBuildScanPluginPerformanceTest.groovy

            baselineResults.results.name = name
            def rawResults = results.buildResult(name)
            def shift = rawResults.totalTime.median.value * maxPercentageShift / 100
            baselineResults.results.addAll(rawResults.collect {
                new MeasuredOperation([totalTime: Amount.valueOf(it.totalTime.value + shift, it.totalTime.units), exception: it.exception])
            })
            return baselineResults
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:56 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. src/cmd/go/internal/test/flagdefs.go

    	"ifaceassert":      true,
    	"loopclosure":      true,
    	"lostcancel":       true,
    	"methods":          true,
    	"nilfunc":          true,
    	"printf":           true,
    	"rangeloops":       true,
    	"shift":            true,
    	"sigchanyzer":      true,
    	"slog":             true,
    	"stdmethods":       true,
    	"stdversion":       true,
    	"stringintconv":    true,
    	"structtag":        true,
    	"testinggoroutine": true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top