Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for RoundUp (0.08 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    			got, err := ParseQuantity(item.in)
    			if err != nil {
    				t.Fatalf("unexpected error: %v", err)
    			}
    			expect := item.expect.DeepCopy()
    			if asDec {
    				got.AsDec()
    			}
    			if ok := got.RoundUp(item.scale); ok != item.ok {
    				t.Errorf("%s(%d,%t): unexpected ok: %t", item.in, item.scale, asDec, ok)
    			}
    			if got.Cmp(expect) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  2. src/crypto/tls/conn.go

    	// last byte of that block decrypted to the block size.
    	//
    	// See also macAndPaddingGood logic below.
    	paddingLen &= good
    
    	toRemove = int(paddingLen) + 1
    	return
    }
    
    func roundUp(a, b int) int {
    	return a + (b-a%b)%b
    }
    
    // cbcMode is an interface for block ciphers using cipher block chaining.
    type cbcMode interface {
    	cipher.BlockMode
    	SetIV([]byte)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

                 ConstOp::getOperationName(), MulOp::getOperationName(),
                 FloorOp::getOperationName(), ClipByValueOp::getOperationName(),
                 DivOp::getOperationName(), RoundOp::getOperationName()}) {}
    
      LogicalResult matchAndRewrite(Operation *src_op,
                                    PatternRewriter &rewriter) const override {
        auto op = cast<FakeQuantWithMinMaxVarsOp>(src_op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
Back to top