Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 7,453 for Reserve (0.14 sec)

  1. src/cmd/compile/internal/ssa/sparsetree.go

    // is the first number not yet assigned or reserved. N should
    // be larger than zero. For each entry and exit number, the
    // values one larger and smaller are reserved to indicate
    // "strictly above" and "strictly below". numberBlock returns
    // the smallest number not yet assigned or reserved (i.e., the
    // exit number of the last block visited, plus two, because
    // last.exit+1 is a reserved value.)
    //
    // examples:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/folders.cc

        }
        return FoldAdaptor(operation);
      }
    
      // Gets a list of ElementsAttr behind each constant operand.
      llvm::SmallVector<ElementsAttr> OperandData() {
        llvm::SmallVector<ElementsAttr> res;
        res.reserve(operation_->getNumOperands());
        for (auto opr : operation_->getOperands()) {
          auto op = llvm::dyn_cast<stablehlo::ConstantOp>(opr.getDefiningOp());
          res.push_back(op.getValue());
        }
        return res;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 06:11:55 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. src/cmd/internal/objabi/util.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package objabi
    
    import (
    	"fmt"
    	"strings"
    
    	"internal/buildcfg"
    )
    
    const (
    	ElfRelocOffset   = 256
    	MachoRelocOffset = 2048    // reserve enough space for ELF relocations
    	GlobalDictPrefix = ".dict" // prefix for names of global dictionaries
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 12:40:45 UTC 2022
    - 961 bytes
    - Viewed (0)
  4. tensorflow/c/eager/unified_api_testutil.cc

        absl::flat_hash_set<int> null_indices;
        {
          AbstractContextPtr func_ctx(BuildFunction(fn_name));
          std::vector<AbstractTensorHandle*> func_inputs;
          func_inputs.reserve(inputs.size());
          TF_RETURN_IF_ERROR(
              CreateParamsForInputs(func_ctx.get(), inputs, &func_inputs));
          std::vector<AbstractTensorHandle*> model_outputs;
          model_outputs.resize(outputs.size());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/ir/ConvertSimQuant.cc

      quant::QuantizedType convertFakeQuantAttrsToType(ConstFakeQuantPerAxis fqOp,
                                                       Type expressedType) const {
        SmallVector<double, 4> min, max;
        min.reserve(fqOp.getMin().size());
        max.reserve(fqOp.getMax().size());
        for (auto m : fqOp.getMin())
          min.push_back(cast<FloatAttr>(m).getValueAsDouble());
        for (auto m : fqOp.getMax())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/mlir_pass_instrumentation.cc

    GetPassInstrumentors() {
      MlirPassInstrumentationRegistry& r =
          MlirPassInstrumentationRegistry::Instance();
      std::vector<std::function<std::unique_ptr<PassInstrumentation>()>> result;
      result.reserve(r.instrumentors_.size());
    
      std::transform(r.instrumentors_.begin(), r.instrumentors_.end(),
                     std::back_inserter(result), [](auto v) { return v.second; });
    
      return result;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 22 18:41:36 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. src/runtime/rt0_darwin_arm64.s

    	BL	(R4)
    
    	// Create a new thread to do the runtime initialization and return.
    	MOVD  _cgo_sys_thread_create(SB), R4
    	MOVD  $_rt0_arm64_darwin_lib_go(SB), R0
    	MOVD  $0, R1
    	SUB   $16, RSP		// reserve 16 bytes for sp-8 where fp may be saved.
    	BL    (R4)
    	ADD   $16, RSP
    
    	// Restore callee-save registers.
    	RESTORE_R19_TO_R28(8)
    	RESTORE_F8_TO_F15(88)
    
    	RET
    
    TEXT _rt0_arm64_darwin_lib_go(SB),NOSPLIT,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 01:28:43 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/utils/low_bit_utils.cc

      }
    
      return packed_buffer;
    }
    
    std::vector<char> UnpackDenseInt4IntoInt8(
        const std::vector<uint8_t>& src_buffer, int64_t num_elements) {
      std::vector<char> unpacked_buffer;
      unpacked_buffer.reserve(num_elements);
    
      for (uint8_t value : src_buffer) {
        // Cast to signed before right-shifting to ensure correct sign extension
        unpacked_buffer.push_back(static_cast<int8_t>(value << 4) >> 4);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 04 19:11:58 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. src/runtime/mpagealloc_32bit.go

    		totalSize += (uintptr(1) << (heapAddrBits - levelShift[l])) * pallocSumBytes
    	}
    	totalSize = alignUp(totalSize, physPageSize)
    
    	// Reserve memory for all levels in one go. There shouldn't be much for 32-bit.
    	reservation := sysReserve(nil, totalSize)
    	if reservation == nil {
    		throw("failed to reserve page summary memory")
    	}
    	// There isn't much. Just map it and mark it as used immediately.
    	sysMap(reservation, totalSize, p.sysStat)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 20 20:08:25 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. src/runtime/mpagealloc_64bit.go

    func (p *pageAlloc) sysInit(test bool) {
    	// Reserve memory for each level. This will get mapped in
    	// as R/W by setArenas.
    	for l, shift := range levelShift {
    		entries := 1 << (heapAddrBits - shift)
    
    		// Reserve b bytes of memory anywhere in the address space.
    		b := alignUp(uintptr(entries)*pallocSumBytes, physPageSize)
    		r := sysReserve(nil, b)
    		if r == nil {
    			throw("failed to reserve page summary memory")
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 03 11:00:10 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top