Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 71 for Deallocator (0.18 sec)

  1. src/runtime/gc_test.go

    	if numGCs < want {
    		t.Fatalf("no periodic GC: got %v GCs, want >= 2", numGCs)
    	}
    }
    
    func TestGcZombieReporting(t *testing.T) {
    	// This test is somewhat sensitive to how the allocator works.
    	// Pointers in zombies slice may cross-span, thus we
    	// add invalidptr=0 for avoiding the badPointer check.
    	// See issue https://golang.org/issues/49613/
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/mlrt/tpu_conversions.mlir

    // RUN: tf-tfrt-opt --split-input-file -pass-pipeline='builtin.module(pre-parallel-tf-to-mlrt{use-tpu-host-allocator-for-inputs=true},tf-mlrt-parallelization{tfrt-cost-threshold=4},tf-to-mlrt)'  %s | FileCheck %s --dump-input=fail --dump-input-filter=all
    
    func.func @callee(%arg0: tensor<i32>, %arg1: tensor<i32>) -> (tensor<i32>) {
      func.return %arg0: tensor<i32>
    }
    
    // CHECK-LABEL: func @batch_function
    func.func @batch_function(%arg0: tensor<i32>) -> (tensor<i32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 04 21:25:31 UTC 2023
    - 11K bytes
    - Viewed (0)
  3. src/mime/encodedword.go

    	var buf strings.Builder
    	// Could use a hint like len(s)*3, but that's not enough for cases
    	// with word splits and too much for simpler inputs.
    	// 48 is close to maxEncodedWordLen/2, but adjusted to allocator size class.
    	buf.Grow(48)
    
    	e.openWord(&buf, charset)
    	if e == BEncoding {
    		e.bEncode(&buf, charset, s)
    	} else {
    		e.qEncode(&buf, charset, s)
    	}
    	closeWord(&buf)
    
    	return buf.String()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. src/runtime/malloc_test.go

    	// GC twice, once to reach a stable heap state
    	// and again to make sure we finish the sweep phase.
    	runtime.GC()
    	runtime.GC()
    
    	// Disable preemption so we stay on one P's tiny allocator and
    	// nothing else allocates from it.
    	runtime.Acquirem()
    
    	// Make 1-byte allocations until we get a fresh tiny slot.
    	aligned := false
    	for i := 0; i < 16; i++ {
    		x := runtime.Escape(new(byte))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  5. pkg/controller/nodeipam/ipam/sync/sync.go

    	// sync operation.
    	ReportResult(err error)
    	// ResyncTimeout returns the amount of time to wait before retrying
    	// a sync with a node.
    	ResyncTimeout() time.Duration
    }
    
    // NodeSyncMode is the mode the cloud CIDR allocator runs in.
    type NodeSyncMode string
    
    var (
    	// SyncFromCloud is the mode that synchronizes the IP allocation from the cloud
    	// platform to the node.
    	SyncFromCloud NodeSyncMode = "SyncFromCloud"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 07:50:01 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc

        if (!shape_or.ok()) {
          return op_->emitRemark()
                 << "failed to get shape for expression. " << expr.HumanString();
        }
    
        tensors.emplace_back(
            device_->GetAllocator(tensorflow::AllocatorAttributes()), expr.dtype(),
            shape_or.value());
    
        tensorflow::Tensor& tensor = tensors.back();
        tensorflow::XlaExpression::AssignExpressionToTensor(expr, &tensor);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/stackalloc.go

    		// GOSSAHASH=11011011001011111 == cmd/compile/internal/noder.(*noder).embedded
    		// is compiled incorrectly.  I believe the cause is one of those SSA-to-registers
    		// puzzles that the register allocator untangles; in the event that a register
    		// parameter does not end up bound to a name, "fixing" it is a bad idea.
    		//
    		//if f.DebugTest {
    		//	if v.Op == OpArgIntReg || v.Op == OpArgFloatReg {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/func.go

    	Blocks []*Block    // unordered set of all basic blocks (note: not indexable by ID)
    	Entry  *Block      // the entry basic block
    
    	bid idAlloc // block ID allocator
    	vid idAlloc // value ID allocator
    
    	HTMLWriter     *HTMLWriter    // html writer, for debugging
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/loopreschedchecks.go

    		// join:
    		//    mem2 := phi(mem0, mem1)
    		//    goto h
    		//
    		// and correct arg i of headerMemPhi and headerCtrPhi
    		//
    		// EXCEPT: join block containing only phi functions is bad
    		// for the register allocator.  Therefore, there is no
    		// join, and branches targeting join must instead target
    		// the header, and the other phi functions within header are
    		// adjusted for the additional input.
    
    		test := f.NewBlock(BlockIf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:10 UTC 2023
    - 16K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/runtime/interfaces.go

    type EncoderWithAllocator interface {
    	Encoder
    	// EncodeWithAllocator writes an object to a stream as Encode does.
    	// In addition, it allows for providing a memory allocator for efficient memory usage during object serialization
    	EncodeWithAllocator(obj Object, w io.Writer, memAlloc MemoryAllocator) error
    }
    
    // Decoder attempts to load an object from data.
    type Decoder interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 03:26:35 UTC 2023
    - 19K bytes
    - Viewed (0)
Back to top