- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 38 for alignment (0.13 sec)
-
doc/go1.17_spec.html
Computer architectures may require memory addresses to be <i>aligned</i>; that is, for addresses of a variable to be a multiple of a factor, the variable's type's <i>alignment</i>. The function <code>Alignof</code> takes an expression denoting a variable of any type and returns the alignment of the (type of the) variable in bytes. For a variable <code>x</code>: </p> <pre> uintptr(unsafe.Pointer(&x)) % unsafe.Alignof(x) == 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0) -
src/reflect/all_test.go
} func check2ndField(x any, offs uintptr, t *testing.T) { s := ValueOf(x) f := s.Type().Field(1) if f.Offset != offs { t.Error("mismatched offsets in structure alignment:", f.Offset, offs) } } // Check that structure alignment & offsets viewed through reflect agree with those // from the compiler itself. func TestAlignment(t *testing.T) { type T1inner struct { a int } type T1 struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go
} lines[i] = line[len(prefix):] } joined := string(bytes.Join(lines, []byte{'\n'})) // Convert rest of tabs to spaces since yaml doesnt like yabs // (assuming 2 space alignment) return strings.ReplaceAll(joined, "\t", " ") } // Creates a *spec.Schema Schema by decoding the given YAML. Panics on error func mustSchema(source string) *schema.Structural {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 17:14:10 UTC 2024 - 159.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util-generated.h
class ValueArray1 { public: explicit ValueArray1(T1 v1) : v1_(v1) {} template <typename T> operator ParamGenerator<T>() const { return ValuesIn(&v1_, &v1_ + 1); } private: // No implementation - assignment is unsupported. void operator=(const ValueArray1& other); const T1 v1_; }; template <typename T1, typename T2> class ValueArray2 { public: ValueArray2(T1 v1, T2 v2) : v1_(v1), v2_(v2) {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 187.7K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util-generated.h
class ValueArray1 { public: explicit ValueArray1(T1 v1) : v1_(v1) {} template <typename T> operator ParamGenerator<T>() const { return ValuesIn(&v1_, &v1_ + 1); } private: // No implementation - assignment is unsupported. void operator=(const ValueArray1& other); const T1 v1_; }; template <typename T1, typename T2> class ValueArray2 { public: ValueArray2(T1 v1, T2 v2) : v1_(v1), v2_(v2) {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 187.7K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/policy_static_test.go
for podUID, container := range cma1 { if _, ok := cma2[podUID]; !ok { t.Logf("[memorymanager_tests] the assignment does not have pod UID %s", podUID) return false } for containerName, memoryBlocks := range container { if _, ok := cma2[podUID][containerName]; !ok { t.Logf("[memorymanager_tests] the assignment does not have container name %s", containerName) return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Sep 17 05:49:15 UTC 2023 - 100.4K bytes - Viewed (0) -
src/cmd/internal/obj/arm64/asm7.go
func pcAlignPadLength(ctxt *obj.Link, pc int64, alignedValue int64) int { if !((alignedValue&(alignedValue-1) == 0) && 8 <= alignedValue && alignedValue <= 2048) { ctxt.Diag("alignment value of an instruction must be a power of two and in the range [8, 2048], got %d\n", alignedValue) } return int(-pc & (alignedValue - 1)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 201.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td
def TFDeviceAssignmentByFuncAttrPass : Pass<"tf-device-assignment-by-func-attr", "mlir::func::FuncOp"> { let summary = "Device assignment in TF dialect using the device specified in the function attribute."; let constructor = "TF::CreateTFDeviceAssignmentByFuncAttrPass()"; } def LayoutAssignmentPass : Pass<"tf-layout-assignment", "mlir::func::FuncOp"> { let summary = "Layout assignment pass.";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 99.6K bytes - Viewed (0) -
pkg/ctrlz/assets/static/css/bootstrap-4.0.0.min.css
ent-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.align-items-start{-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.align-items-end{-webkit-box-align:end!important;-ms-flex-align:end!important;align-items:flex-end!important}.align-items-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.align-items-baseline{-webkit-box-align:baseline!important;-ms-flex-align...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 141.5K bytes - Viewed (0) -
analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/resolver/FirIdeNormalAnalysisLibrarySourceModuleResolveCallTestGenerated.java
@TestDataPath("$PROJECT_ROOT") public class Assignment { @Test public void testAllFilesPresentInAssignment() {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 19:03:00 UTC 2024 - 175.8K bytes - Viewed (0)