Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 627 for rounds (0.23 sec)

  1. src/cmd/compile/internal/types2/named_test.go

    			T.AddMethod(m)
    		}
    
    		// check method order
    		if i == 0 {
    			// first round: collect methods in given order
    			methods = make([]string, T.NumMethods())
    			for j := range methods {
    				methods[j] = T.Method(j).Name()
    			}
    		} else {
    			// successive rounds: methods must appear in the same order
    			if got := T.NumMethods(); got != len(methods) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 21:06:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/go/doc/testdata/testing.1.golden

    	// 
    	func max(x, y int) int
    
    	// 
    	func min(x, y int) int
    
    	// 
    	func parseCpuList()
    
    	// roundDown10 rounds a number down to the nearest power of 10. 
    	func roundDown10(n int) int
    
    	// roundUp rounds x up to a number of the form [1eX, 2eX, 5eX]. 
    	func roundUp(n int) int
    
    	// startAlarm starts an alarm if requested. 
    	func startAlarm()
    
    	// stopAlarm turns off the alarm. 
    	func stopAlarm()
    
    	// 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  3. src/crypto/internal/mlkem768/mlkem768_test.go

    	// FloatString rounds halves away from 0, and our result should always be positive,
    	// so it should work as we expect. (There's no direct way to round a Rat.)
    	rounded, err := strconv.ParseInt(precise.FloatString(0), 10, 64)
    	if err != nil {
    		panic(err)
    	}
    
    	// If we rounded up, `rounded` may be equal to 2ᵈ, so we perform a final reduction.
    	return uint16(rounded % (1 << d))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:27:18 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/crypto/sha3/keccakf.go

    	// in the keccak reference code.
    	var t, bc0, bc1, bc2, bc3, bc4, d0, d1, d2, d3, d4 uint64
    
    	for i := 0; i < 24; i += 4 {
    		// Combines the 5 steps in each round into 2 steps.
    		// Unrolls 4 rounds per loop and spreads some steps across rounds.
    
    		// Round 1
    		bc0 = a[0] ^ a[5] ^ a[10] ^ a[15] ^ a[20]
    		bc1 = a[1] ^ a[6] ^ a[11] ^ a[16] ^ a[21]
    		bc2 = a[2] ^ a[7] ^ a[12] ^ a[17] ^ a[22]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 16:37:53 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/ToDoubleRounder.java

      /**
       * Returns x rounded to either the greatest double less than or equal to the precise value of x,
       * or the least double greater than or equal to the precise value of x.
       */
      abstract double roundToDoubleArbitrarily(X x);
    
      /** Returns the sign of x: either -1, 0, or 1. */
      abstract int sign(X x);
    
      /** Returns d's value as an X, rounded with the specified mode. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. test/linkobj.go

    	if err != nil {
    		fatalf("listing stdlib export files: %v", err)
    	}
    
    	// two rounds: once using normal objects, again using .a files (compile -pack).
    	for round := 0; round < 2; round++ {
    		pkg := "-pack=" + fmt.Sprint(round)
    
    		// The compiler expects the files being read to have the right suffix.
    		o := "o"
    		if round == 1 {
    			o = "a"
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/math/ToDoubleRounder.java

      /**
       * Returns x rounded to either the greatest double less than or equal to the precise value of x,
       * or the least double greater than or equal to the precise value of x.
       */
      abstract double roundToDoubleArbitrarily(X x);
    
      /** Returns the sign of x: either -1, 0, or 1. */
      abstract int sign(X x);
    
      /** Returns d's value as an X, rounded with the specified mode. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. src/math/big/prime.go

    		return false
    	}
    
    	return x.abs.probablyPrimeMillerRabin(n+1, true) && x.abs.probablyPrimeLucas()
    }
    
    // probablyPrimeMillerRabin reports whether n passes reps rounds of the
    // Miller-Rabin primality test, using pseudo-randomly chosen bases.
    // If force2 is true, one of the rounds is forced to use base 2.
    // See Handbook of Applied Cryptography, p. 139, Algorithm 4.24.
    // The number n is known to be non-zero.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:43:52 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  9. src/internal/chacha8rand/chacha8_arm64.s

    // Copyright 2023 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.
    
    #include "textflag.h"
    
    // QR is the ChaCha quarter-round on A, B, C, and D.
    // V30 is used as a temporary, and V31 is assumed to
    // hold the index table for rotate left 8.
    #define QR(A, B, C, D) \
    	VADD A.S4, B.S4, A.S4; VEOR D.B16, A.B16, D.B16;   VREV32 D.H8, D.H8; \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. test/maplinear.go

    	// leaves enough wiggle room to include n lg n time
    	// (it actually tests for O(n^log_2(3)).
    	// To prevent false positives, average away variation
    	// by doing multiple rounds within a single run.
    	checkLinear("iterdelete", 2500, func(n int) {
    		for round := 0; round < 4; round++ {
    			m := map[int]int{}
    			for i := 0; i < n; i++ {
    				m[i] = i
    			}
    			for i := 0; i < n; i++ {
    				for k := range m {
    					delete(m, k)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top