Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for RoundUp (0.14 sec)

  1. 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)
  2. src/cmd/compile/internal/typecheck/func.go

    	if iter.next >= len(iter.closureVars) {
    		return nil, nil, 0
    	}
    	n = iter.closureVars[iter.next]
    	typ = n.Type()
    	if !n.Byval() {
    		typ = types.NewPtr(typ)
    	}
    	iter.next++
    	offset = types.RoundUp(iter.offset, typ.Alignment())
    	iter.offset = offset + typ.Size()
    	return n, typ, offset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K 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. 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)
  5. src/cmd/internal/obj/arm64/asm7.go

    		// just to avoid performance penalties when loading from
    		// 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)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/logging/LoggingBuildOperationProgressIntegTest.groovy

                lines.times { l ->
                    def foundOp = children.find {
                        it.progress.find {
                            it.hasDetailsOfType(LogEventBuildOperationProgressDetails) &&
                                it.details.message == "o: $i $l"
                        }
                    }
    
                    assert foundOp: "o: $i $l"
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config.cc

            TypeID::get<TF::ReverseSequenceOp>(),
            TypeID::get<TF::RightShiftOp>(),
            TypeID::get<TF::RintOp>(),
            TypeID::get<TF::RollOp>(),
            TypeID::get<TF::RoundOp>(),
            TypeID::get<TF::SegmentSumV2Op>(),
            TypeID::get<TF::SegmentProdV2Op>(),
            TypeID::get<TF::SegmentMinV2Op>(),
            TypeID::get<TF::SegmentMaxV2Op>(),
            TypeID::get<TF::SelectV2Op>(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc

            /*operands=*/fcast_op.getResult(),
            /*attributes=*/avg_pool_op->getAttrs());
    
        // Cast back to the storage type after AvgPool op.
        auto round_val = rewriter.create<TF::RoundOp>(
            sc_op.getLoc(), float_avg_pool_op.getOutput());
        auto icast_op = rewriter.create<TF::CastOp>(
            sc_op.getLoc(), q_result_type.clone(qtype.getStorageType()), round_val);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    INFER_RETURN_TYPE_COMPONENTS_FROM_OPERANDS(Relu6GradOp);
    INFER_RETURN_TYPE_COMPONENTS_FROM_OPERANDS(ReluGradOp);
    INFER_RETURN_TYPE_COMPONENTS_FROM_OPERANDS(RintOp);
    INFER_RETURN_TYPE_COMPONENTS_FROM_OPERANDS(RoundOp);
    INFER_RETURN_TYPE_COMPONENTS_FROM_OPERANDS(RsqrtOp);
    INFER_RETURN_TYPE_COMPONENTS_FROM_OPERANDS(RsqrtGradOp);
    INFER_RETURN_TYPE_COMPONENTS_FROM_OPERANDS(SeluOp);
    INFER_RETURN_TYPE_COMPONENTS_FROM_OPERANDS(SeluGradOp);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
Back to top