Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 722 for rounds (0.17 sec)

  1. src/strconv/ftoa.go

    		case 'f':
    			prec = max(digs.nd-digs.dp, 0)
    		case 'g', 'G':
    			prec = digs.nd
    		}
    	} else {
    		// Round appropriately.
    		switch fmt {
    		case 'e', 'E':
    			d.Round(prec + 1)
    		case 'f':
    			d.Round(d.dp + prec)
    		case 'g', 'G':
    			if prec == 0 {
    				prec = 1
    			}
    			d.Round(prec)
    		}
    		digs = decimalSlice{d: d.d[:], nd: d.nd, dp: d.dp}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. 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)
  3. src/hash/crc32/crc32_amd64.go

    	// fixed buffer length to optimize. The longer the length, the faster; but
    	// only buffers longer than this length will use the optimization. We choose
    	// two cutoffs and compute tables for both:
    	//  - one around 512: 168*3=504
    	//  - one around 4KB: 1344*3=4032
    	//
    	// -- The nitty gritty --
    	//
    	// Let CRC(I, X) be the non-inverted CRC32-C of the sequence X (with
    	// initial non-inverted CRC I). This function has the following properties:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top