Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for rounds (0.45 sec)

  1. src/crypto/aes/asm_ppc64x.s

    	MOVD	key+24(FP), KEYP
    	MOVD	iv+32(FP), IVP
    	MOVD	enc+40(FP), ENC
    	MOVD	nr+48(FP), ROUNDS
    
    #ifdef NEEDS_ESPERM
    	MOVD	$·rcon(SB), R11
    	LVX	(R11), ESPERM   // Permute value for P8_ macros.
    #endif
    
    	// Assume len > 0 && len % blockSize == 0.
    	CMPW	ENC, $0
    	P8_LXVB16X(IVP, R0, IVEC)
    	CMPU	ROUNDS, $10, CR1
    	CMPU	ROUNDS, $12, CR2 // Only sizes 10/12/14 are supported.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/runtime/stubs.go

    func systemstack_switch()
    
    // alignUp rounds n up to a multiple of a. a must be a power of 2.
    //
    //go:nosplit
    func alignUp(n, a uintptr) uintptr {
    	return (n + a - 1) &^ (a - 1)
    }
    
    // alignDown rounds n down to a multiple of a. a must be a power of 2.
    //
    //go:nosplit
    func alignDown(n, a uintptr) uintptr {
    	return n &^ (a - 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  5. tests/integration/telemetry/api/dashboard_test.go

    					// These calls are not under tests, the dashboards are, so we can be leniant here
    					log.Warnf("requests failed: %v", err)
    				}
    			}
    		case <-done:
    			scopes.Framework.Infof("done sending traffic after %v rounds", times)
    			return
    		}
    	}
    }
    
    // extractQueries pulls all prometheus queries out of a grafana dashboard
    // Rather than importing the entire grafana API just for this test, do some shoddy json parsing
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    // Negative numbers are rounded away from zero (-9 scale 1 rounds to -10).
    func (q *Quantity) RoundUp(scale Scale) bool {
    	if q.d.Dec != nil {
    		q.s = ""
    		d, exact := q.d.AsScale(scale)
    		q.d = d
    		return exact
    	}
    	// avoid clearing the string value if we have already calculated it
    	if q.i.scale >= scale {
    		return true
    	}
    	q.s = ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

      (TF_IdentityOp $input)>;
    
    // Implements TF Round on floats using basic operations. TF Round is specified
    // as RoundHalfToEven to be compatible with Numpy.
    def LowerRoundOpOnFloatTensor : Pat<
      (TF_RoundOp:$res TF_FloatTensor:$input),
      (TF_SelectV2Op
        (TF_EqualOp
          (TF_ConstOp:$zero (GetScalarOfFloatType<"0.0"> $input)),
          (TF_SelectV2Op:$rounded
            (TF_LogicalOrOp
              (TF_GreaterOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  8. src/net/tcpsock.go

    	ln, err := sl.listenTCP(context.Background(), laddr)
    	if err != nil {
    		return nil, &OpError{Op: "listen", Net: network, Source: nil, Addr: laddr.opAddr(), Err: err}
    	}
    	return ln, nil
    }
    
    // roundDurationUp rounds d to the next multiple of to.
    func roundDurationUp(d time.Duration, to time.Duration) time.Duration {
    	return (d + to - 1) / to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. src/crypto/tls/cipher_suites.go

    //
    //     The only potential advantages of AES-256 are better multi-target
    //     margins, and hypothetical post-quantum properties. Neither apply to
    //     TLS, and AES-256 is slower due to its four extra rounds (which don't
    //     contribute to the advantages above).
    //
    //   - ECDSA comes before RSA
    //
    //     The relative order of ECDSA and RSA cipher suites doesn't matter,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. src/math/rand/rand.go

    	// to 1<<63 that the division rounds up to 1.0, and we've guaranteed
    	// that the result is always less than 1.0.
    	//
    	// We tried to fix this by mapping 1.0 back to 0.0, but since float64
    	// values near 0 are much denser than near 1, mapping 1 to 0 caused
    	// a theoretically significant overshoot in the probability of returning 0.
    	// Instead of that, if we round up to 1, just try again.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top