Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 587 for rounds (0.43 sec)

  1. src/crypto/des/block.go

    				// Row is determined by the 1st and 6th bit.
    				// Column is the middle four bits.
    				row := uint8(((i & 2) << 4) | i&1)
    				col := uint8(j << 1)
    				t := row | col
    
    				// The rotation was performed in the feistel rounds, being factored out and now mixed into the feistelBox.
    				f = (f << 1) | (f >> 31)
    
    				feistelBox[s][t] = uint32(f)
    			}
    		}
    	}
    }
    
    // permuteInitialBlock is equivalent to the permutation defined
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. src/math/big/ratconv_test.go

    	"long:2." + strings.Repeat("2", 4000) + "e+1",
    
    	// Exactly halfway between 1 and math.Nextafter(1, 2).
    	// Round to even (down).
    	"1.00000000000000011102230246251565404236316680908203125",
    	// Slightly lower; still round down.
    	"1.00000000000000011102230246251565404236316680908203124",
    	// Slightly higher; round up.
    	"1.00000000000000011102230246251565404236316680908203126",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 22:16:34 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  3. src/strconv/ftoaryu.go

    	max := uint64pow10[prec]
    	trimmed := 0
    	for m >= max {
    		a, b := m/10, m%10
    		m = a
    		trimmed++
    		if b > 5 {
    			roundUp = true
    		} else if b < 5 {
    			roundUp = false
    		} else { // b == 5
    			// round up if there are trailing digits,
    			// or if the new value of m is odd (round-to-even convention)
    			roundUp = trunc || m&1 == 1
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 00:28:56 UTC 2022
    - 15.7K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_amd64.s

    	XORQ itr2, itr2
    	MOVQ inl, itr1
    	CMPQ itr1, $16
    	JB   openSSETail64LoopB
    
    openSSETail64LoopA:
    	// Perform ChaCha rounds, while hashing the remaining input
    	polyAdd(0(inp)(itr2*1))
    	polyMul
    	SUBQ $16, itr1
    
    openSSETail64LoopB:
    	ADDQ          $16, itr2
    	chachaQR(A0, B0, C0, D0, T0)
    	shiftB0Left;  shiftC0Left; shiftD0Left
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 105.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool.cc

      int pw;  // Padding on "width" dimension (both sides).
    
      int sh;  // Stride on "height" dimension.
      int sw;  // Stride on "width" dimension.
    
      bool ceil_mode;  // Rounding strategy (ceil or floor).
    };
    
    // Rounds the dimension based on the ceil mode.
    int RoundDim(float dim, bool ceil_mode) {
      if (ceil_mode) {
        return std::ceil(dim);
      }
      return std::floor(dim);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/vendor/golang.org/x/crypto/internal/poly1305/sum_generic.go

    // the value of [x0, x1, x2] is x[0] + x[1] * 2⁶⁴ + x[2] * 2¹²⁸.
    type macState struct {
    	// h is the main accumulator. It is to be interpreted modulo 2¹³⁰ - 5, but
    	// can grow larger during and after rounds. It must, however, remain below
    	// 2 * (2¹³⁰ - 5).
    	h [3]uint64
    	// r and s are the private key components.
    	r [2]uint64
    	s [2]uint64
    }
    
    type macGeneric struct {
    	macState
    
    	buffer [TagSize]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top