- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 85 for Alignment (0.17 sec)
-
src/runtime/chan.go
elem := t.Elem // compiler checks this but be safe. if elem.Size_ >= 1<<16 { throw("makechan: invalid channel element type") } if hchanSize%maxAlign != 0 || elem.Align_ > maxAlign { throw("makechan: bad alignment") } mem, overflow := math.MulUintptr(elem.Size_, uintptr(size)) if overflow || mem > maxAlloc-hchanSize || size < 0 { panic(plainError("makechan: size out of range")) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:50 UTC 2024 - 25.9K bytes - Viewed (0) -
src/runtime/mbitmap.go
"runtime/internal/sys" "unsafe" ) const ( // A malloc header is functionally a single type pointer, but // we need to use 8 here to ensure 8-byte alignment of allocations // on 32-bit platforms. It's wasteful, but a lot of code relies on // 8-byte alignment for 8-byte atomics. mallocHeaderSize = 8 // The minimum object size that has a malloc header, exclusive. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 60K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/schema.fbs
operators:[Operator]; // Name of this subgraph (used for debugging). name:string; } // Table of raw data buffers (used for constant tensors). Referenced by tensors // by index. The generous alignment accommodates mmap-friendly data structures. table Buffer { data:[ubyte] (force_align: 16); // In a model that is larger than 2GB, then buffers instead uses the following
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc
/*fused_activation_function=*/rewriter.getStringAttr("NONE"), padding, stride_depth, stride_height, stride_width); return success(); } // MatrixDiagV3 is MatrixDiagV2 with an alignment attribute. This attribute // only has effects when processing multiple diagonals. Since TFLite converts // MatrixDiagV{2,3} to MatrixDiag, which only takes single-diagonal inputs, we // can safely ignore this V3 attribute.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
// {sub} the subdiagonal alignment. "LEFT" means rows will be padded to the // left, "RIGHT" means rows will be padded ot the right. The default is // "RIGHT_LEFT". StringRef align = op->getAttrOfType<StringAttr>("align").getValue(); enum Alignment { kLeft, kRight }; // default is RIGHT_LEFT Alignment superdiagonal_align = kRight;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0) -
src/cmd/go/internal/load/test.go
// but not RawImports (because they were not in the source code). // We insert TestImports, imports, and rawTestImports at the start of // these lists to preserve the alignment. // Note that p.Internal.Imports may not be aligned with p.Imports/p.Internal.RawImports, // but we insert at the beginning there too just for consistency. ptest.Imports = str.StringList(p.TestImports, p.Imports)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 14:01:23 UTC 2024 - 28.2K bytes - Viewed (0) -
src/reflect/type.go
// Two Type values are equal if they represent identical types. type Type interface { // Methods applicable to all types. // Align returns the alignment in bytes of a value of // this type when allocated in memory. Align() int // FieldAlign returns the alignment in bytes of a value of // this type when used as a field in a struct. FieldAlign() int // Method returns the i'th method in the type's method set.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/runtime/asm_amd64.s
// Called on a system stack, and there may be no g yet (during needm). TEXT ·asmcgocall_no_g(SB),NOSPLIT,$32-16 MOVQ fn+0(FP), AX MOVQ arg+8(FP), BX MOVQ SP, DX ANDQ $~15, SP // alignment MOVQ DX, 8(SP) MOVQ BX, DI // DI = first argument in AMD64 ABI MOVQ BX, CX // CX = first argument in Win64 CALL AX MOVQ 8(SP), DX MOVQ DX, SP RET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 60.4K bytes - Viewed (0) -
cmd/xl-storage-disk-id-check.go
totalErrsAvailability atomic.Uint64 // Captures all data availability errors such as faulty disk, timeout errors. totalErrsTimeout atomic.Uint64 // Captures all timeout only errors // apiCalls should be placed first so alignment is guaranteed for atomic operations. apiCalls [storageMetricLast]uint64 apiLatencies [storageMetricLast]*lockedLastMinuteLatency diskID atomic.Pointer[string] storage *xlStorage
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 33.4K bytes - Viewed (0) -
src/runtime/os_windows.go
// Push LR. The injected call is responsible // for restoring LR. gentraceback is aware of // this extra slot. See sigctxt.pushCall in // signal_arm64.go. sp := c.sp() - 16 // SP needs 16-byte alignment c.set_sp(sp) *(*uint64)(unsafe.Pointer(sp)) = uint64(c.lr()) c.set_lr(newpc) c.set_ip(targetPC) } stdcall2(_SetThreadContext, thread, uintptr(unsafe.Pointer(c))) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 41.5K bytes - Viewed (0)