- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 108 for roundup (0.35 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
assertFailsWith<EOFException> { source.buffer().readByteString(101) } } @Test fun blockedStreamDoesntStarveNewStream() { val framesThatFillWindow = roundUp(Settings.DEFAULT_INITIAL_WINDOW_SIZE, peer.maxOutboundDataLength()) // Write the mocking script. This accepts more data frames than necessary! peer.sendFrame().settings(Settings())
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 75.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
var callArgs []*ssa.Value var callArgTypes []*types.Type for _, arg := range args { t := arg.Type off = types.RoundUp(off, t.Alignment()) size := t.Size() callArgs = append(callArgs, arg) callArgTypes = append(callArgTypes, t) off += size } off = types.RoundUp(off, int64(types.RegSize)) // Issue call var call *ssa.Value
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
src/cmd/internal/obj/arm64/asm7.go
// the constant pool across a cache line. c.pool.size = roundUp(c.pool.size, 8) } c.pool.size += uint32(sz) p.Pool = t } // roundUp rounds up x to "to". func roundUp(x, to uint32) uint32 { if to == 0 || to&(to-1) != 0 { log.Fatalf("rounded up to a value that is not a power of 2: %d\n", to) } return (x + to - 1) &^ (to - 1) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 201.1K bytes - Viewed (0) -
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) -
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) -
staging/src/k8s.io/apiserver/pkg/storage/feature/feature_support_checker_test.go
rounds: []testCase{{endpointsVersion: []mockEndpointVersion{}, expectedResult: false}}, }, } for _, tt := range tests { t.Run(tt.testName, func(t *testing.T) { var testFeatureSupportChecker = newDefaultFeatureSupportChecker() for _, round := range tt.rounds { // Mock Etcd client mockClient := &MockEtcdClient{EndpointVersion: round.endpointsVersion}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 11:56:42 UTC 2024 - 8.3K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool.cc
int CalculateSpatialOutDim(int in, int k, int p, int s, bool ceil_mode) { const float effective_size = in - k + (2 * p); int out = RoundDim(effective_size / (float)s, ceil_mode) + 1; // Only possible if rounder is ceil. if ((out - 1) * s >= in + p) { out -= 1; } return out; } // Builds a `TorchAvgPoolData` from composite op. TorchAvgPoolData GetTorchAvgPoolData(CompositeOp op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 23:16:05 UTC 2024 - 9.2K bytes - Viewed (0) -
src/math/big/float_test.go
{"0x0.9p-149", math.Float32frombits(0x000000001), Above}, // rounded up to smallest denormal {"0x0.ap-149", math.Float32frombits(0x000000001), Above}, // rounded up to smallest denormal {"0x0.bp-149", math.Float32frombits(0x000000001), Above}, // rounded up to smallest denormal {"0x0.cp-149", math.Float32frombits(0x000000001), Above}, // rounded up to smallest denormal
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 51.9K bytes - Viewed (0) -
samples/bookinfo/src/productpage/templates/productpage.html
</div> </div> </nav> <!-- Sign in dialog --> <dialog id="dialog" class="w-full sm:w-2/3 lg:w-1/3 border rounded-md shadow-xl"> <div class="flex min-h-full flex-col justify-center px-6 py-12 lg:px-8"> <div class="absolute right-0 top-0 hidden pr-4 pt-4 sm:block"> <button id="close-dialog" type="button" class="rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2">
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 19:54:05 UTC 2024 - 10.9K bytes - Viewed (0)