- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 83 for Deallocator (0.28 sec)
-
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) -
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) -
src/runtime/mgcscavenge.go
// to spend on scavenging in percent. scavengePercent = 1 // 1% // retainExtraPercent represents the amount of memory over the heap goal // that the scavenger should keep as a buffer space for the allocator. // This constant is used when we do not have a memory limit set. // // The purpose of maintaining this overhead is to have a greater pool of // unscavenged memory available for allocation (since using scavenged memory
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:48:45 UTC 2024 - 52.3K bytes - Viewed (0) -
src/runtime/mgcpacer.go
triggerRatioDen = 64 // The minimum trigger constant was chosen empirically: given a sufficiently // fast/scalable allocator with 48 Ps that could drive the trigger ratio // to <0.05, this constant causes applications to retain the same peak // RSS compared to not having this allocator. minTriggerRatioNum = 45 // ~0.7 // The maximum trigger constant is chosen somewhat arbitrarily, but the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 55.4K bytes - Viewed (0) -
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) -
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) -
src/cmd/compile/internal/ssa/func.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 25.8K bytes - Viewed (0) -
tensorflow/c/kernels.cc
#include "tensorflow/c/tf_status_helper.h" #include "tensorflow/c/tf_tensor.h" #include "tensorflow/c/tf_tensor_internal.h" #include "xla/tsl/c/tsl_status_internal.h" // IWYU pragma: keep #include "tensorflow/core/framework/allocator.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/attr_value_util.h" #include "tensorflow/core/framework/device_base.h" #include "tensorflow/core/framework/kernel_def_builder.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 22:53:47 UTC 2024 - 36K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go
var verboseAST = map[byte]AST{ 't': &Name{Name: "std"}, 'a': &Qualified{Scope: &Name{Name: "std"}, Name: &Name{Name: "allocator"}}, 'b': &Qualified{Scope: &Name{Name: "std"}, Name: &Name{Name: "basic_string"}}, // std::basic_string<char, std::char_traits<char>, std::allocator<char> > 's': &Template{ Name: &Qualified{Scope: &Name{Name: "std"}, Name: &Name{Name: "basic_string"}}, Args: []AST{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 94.1K bytes - Viewed (0) -
src/runtime/export_test.go
// inconsistent statistics. readmemstats_m(memStats) // Read metrics again. We need to be sure we're on the // system stack with readmemstats_m so that we don't call into // the stack allocator and adjust metrics between there and here. readMetricsLocked(samplesp, len, cap) // Undo the donation. getg().racectx = 0 }) metricsUnlock() startTheWorld(stw) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0)