Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 275 for rounds (0.3 sec)

  1. src/internal/fuzz/coverage.go

    	if len(base) != len(snapshot) {
    		panic(fmt.Sprintf("the number of coverage bits changed: before=%d, after=%d", len(base), len(snapshot)))
    	}
    	found := false
    	for i := range snapshot {
    		if snapshot[i]&^base[i] != 0 {
    			found = true
    			break
    		}
    	}
    	if !found {
    		return nil
    	}
    	diff := make([]byte, len(snapshot))
    	for i := range diff {
    		diff[i] = snapshot[i] &^ base[i]
    	}
    	return diff
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/go/types/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: Fri Apr 05 16:29:58 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/cmd/internal/notsha256/sha256block.go

    	var w [64]uint32
    	h0, h1, h2, h3, h4, h5, h6, h7 := dig.h[0], dig.h[1], dig.h[2], dig.h[3], dig.h[4], dig.h[5], dig.h[6], dig.h[7]
    	for len(p) >= chunk {
    		// Can interlace the computation of w with the
    		// rounds below if needed for speed.
    		for i := 0; i < 16; i++ {
    			j := i * 4
    			w[i] = uint32(p[j])<<24 | uint32(p[j+1])<<16 | uint32(p[j+2])<<8 | uint32(p[j+3])
    		}
    		for i := 16; i < 64; i++ {
    			v1 := w[i-2]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:17 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  4. src/go/doc/testdata/benchmark.go

    		return y
    	}
    	return x
    }
    
    // roundDown10 rounds a number down to the nearest power of 10.
    func roundDown10(n int) int {
    	var tens = 0
    	// tens = floor(log_10(n))
    	for n > 10 {
    		n = n / 10
    		tens++
    	}
    	// result = 10^tens
    	result := 1
    	for i := 0; i < tens; i++ {
    		result *= 10
    	}
    	return result
    }
    
    // roundUp rounds x up to a number of the form [1eX, 2eX, 5eX].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top