Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,343 for ireduce (0.24 sec)

  1. src/crypto/internal/edwards25519/field/fe_test.go

    	}
    
    	f2 := func(fe, r Element) bool {
    		r.SetBytes(fe.Bytes())
    
    		// Intentionally not using Equal not to go through Bytes again.
    		// Calling reduce because both Generate and SetBytes can produce
    		// non-canonical representations.
    		fe.reduce()
    		r.reduce()
    		return fe == r
    	}
    	if err := quick.Check(f2, nil); err != nil {
    		t.Errorf("failed FE->bytes->FE round-trip: %v", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/internal/poly1305/sum_s390x.s

    	// carry and partially reduce the partial products
    	REDUCE(H_0, H_1, H_2, H_3, H_4)
    
    	CMPBNE R3, $0, loop
    
    finish:
    	// sum lane 0 and lane 1 and put the result in lane 1
    	VZERO  T_0
    	VSUMQG H_0, T_0, H_0
    	VSUMQG H_3, T_0, H_3
    	VSUMQG H_1, T_0, H_1
    	VSUMQG H_4, T_0, H_4
    	VSUMQG H_2, T_0, H_2
    
    	// reduce again after summation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  3. cmd/erasure-metadata-utils_test.go

    		}
    	}
    }
    
    // Test for reduceErrs, reduceErr reduces collection
    // of errors into a single maximal error with in the list.
    func TestReduceErrs(t *testing.T) {
    	canceledErrs := make([]error, 0, 5)
    	for i := 0; i < 5; i++ {
    		canceledErrs = append(canceledErrs, fmt.Errorf("error %d: %w", i, context.Canceled))
    	}
    	// List all of all test cases to validate various cases of reduce errors.
    	testCases := []struct {
    		errs        []error
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. test/typeparam/slices.go

    	}
    }
    
    func TestReduce() {
    	s1 := []int{1, 2, 3}
    	r := _Reduce(s1, 0, func(f float64, i int) float64 { return float64(i)*2.5 + f })
    	if want := 15.0; r != want {
    		panic(fmt.Sprintf("_Reduce(%v, 0, ...) = %v, want %v", s1, r, want))
    	}
    
    	if got := _Reduce(nil, 0, func(i, j int) int { return i + j }); got != 0 {
    		panic(fmt.Sprintf("_Reduce(nil, 0, add) = %v, want 0", got))
    	}
    }
    
    func TestFilter() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/core-plugins/build_init_plugin.adoc

    ==== Compile-time dependencies
    
    Maven automatically exposes dependencies using its implicit `compile` scope to the consumers of that project.
    This behavior is undesirable, and Gradle takes steps to help library authors reduce their API footprint using the `api` and `implementation` configurations of the `java-library` plugin.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:43 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. src/crypto/internal/edwards25519/scalar_test.go

    		// Compute t2 = x*z + y*z
    		var t2 Scalar
    		var t3 Scalar
    		t2.Multiply(&x, &z)
    		t3.Multiply(&y, &z)
    		t2.Add(&t2, &t3)
    
    		reprT1, reprT2 := t1.Bytes(), t2.Bytes()
    
    		return t1 == t2 && isReduced(reprT1) && isReduced(reprT2)
    	}
    
    	if err := quick.Check(multiplyDistributesOverAdd, quickCheckConfig(1024)); err != nil {
    		t.Error(err)
    	}
    }
    
    func TestScalarAddLikeSubNeg(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. doc/next/5-toolchain.md

    ## Compiler {#compiler}
    
    The build time overhead to building with [Profile Guided Optimization](/doc/pgo) has been reduced significantly.
    Previously, large builds could see 100%+ build time increase from enabling PGO.
    In Go 1.23, overhead should be in the single digit percentages.
    
    <!-- https://go.dev/issue/62737 , https://golang.org/cl/576681,  https://golang.org/cl/577615 -->
    The compiler in Go 1.23 can now overlap the stack frame slots of local variables
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. docs/bigdata/README.md

    mapreduce.fileoutputcommitter.algorithm.version=2 # Use the latest committer version
    mapreduce.job.reduce.slowstart.completedmaps=0.99 # 99% map, then reduce
    mapreduce.reduce.shuffle.input.buffer.percent=0.9 # Min % buffer in RAM
    mapreduce.reduce.shuffle.merge.percent=0.9 # Minimum % merges in RAM
    mapreduce.reduce.speculative=false # Disable speculation for reducing
    mapreduce.task.io.sort.factor=999 # Threshold before writing to disk
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 14.7K bytes
    - Viewed (0)
  9. src/math/exp.go

    // is preserved.
    // ====================================================
    //
    //
    // exp(x)
    // Returns the exponential of x.
    //
    // Method
    //   1. Argument reduction:
    //      Reduce x to an r so that |r| <= 0.5*ln2 ~ 0.34658.
    //      Given x, find r and integer k such that
    //
    //               x = k*ln2 + r,  |r| <= 0.5*ln2.
    //
    //      Here r will be represented as r = hi-lo for better
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-include-tf2xla-fallback.mlir

    func.func @batchmatmulv2(%arg0: tensor<1x4x2xf32>, %arg1: tensor<3x2x4xf32>) -> tensor<3x4x4xf32> {
      // NO_FALLBACK: mhlo.dynamic_broadcast_in_dim
      // NO_FALLBACK: mhlo.dot_general
    
      // SUPPORTED_FALLBACK_DEVICE: mhlo.reduce
      // SUPPORTED_FALLBACK_DEVICE: mhlo.dot_general
      // SUPPORTED_FALLBACK_DEVICE: mhlo.transpose
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 16 19:04:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top