- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 172 for alignUp (0.12 sec)
-
src/runtime/cgocall.go
if *restore { // Restore sp saved by cgocallback during // unwind of g's stack (see comment at top of file). mp := acquirem() sched := &mp.g0.sched sched.sp = *(*uintptr)(unsafe.Pointer(sched.sp + alignUp(sys.MinFrameSize, sys.StackAlign))) // Do the accounting that cgocall will not have a chance to do // during an unwind. // // In the case where a Go call originates from C, ncgo is 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 24.2K bytes - Viewed (0) -
src/runtime/stack.go
} if n&(n-1) != 0 { throw("stack size not a power of 2") } if stackDebug >= 1 { print("stackalloc ", n, "\n") } if debug.efence != 0 || stackFromSystem != 0 { n = uint32(alignUp(uintptr(n), physPageSize)) v := sysAlloc(uintptr(n), &memstats.stacks_sys) if v == nil { throw("out of memory (stackalloc)") } return stack{uintptr(v), uintptr(v) + uintptr(n)} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 41.1K bytes - Viewed (0) -
src/internal/runtime/atomic/types.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 14.2K bytes - Viewed (0) -
src/cmd/compile/internal/types/size.go
var intRegs, floatRegs uint64 for _, field := range fields { typ := field.Type // The alignment of a struct type is the maximum alignment of its // field types. if align := typ.align; align > maxAlign { maxAlign = align } // Each field needs its own registers. // We sum in uint64 to avoid possible overflows. intRegs += uint64(typ.intRegs) floatRegs += uint64(typ.floatRegs) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 15K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/dependency_version_alignment.adoc
By conflict resolution, we select the `1.1` platform, which has a constraint on `core:1.1`. Then we conflict resolve between `core:1.0` and `core:1.1`, which means that `core` and `lib` are now aligned properly. NOTE: This behavior is enforced for published components only if you use Gradle Module Metadata. [[sec:align-versions-unpublished]] == Aligning versions of modules not published with Gradle
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 10.1K bytes - Viewed (0) -
src/internal/abi/type.go
} return (*InterfaceType)(unsafe.Pointer(t)) } // Size returns the size of data with type t. func (t *Type) Size() uintptr { return t.Size_ } // Align returns the alignment of data with type t. func (t *Type) Align() int { return int(t.Align_) } func (t *Type) FieldAlign() int { return int(t.FieldAlign_) } type InterfaceType struct { Type PkgPath Name // import path
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:09:59 UTC 2024 - 21.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/ForcingUsingStrictlyPlatformAlignmentTest.groovy
} @RequiredFeature(feature = GradleMetadataResolveRunner.REPOSITORY_TYPE, value = "maven") @Issue("nebula-plugins/gradle-nebula-integration#51") def "force to higher patch version should bring the rest of aligned group up"() { given: "repository simulating Jackson situation" { path 'com.amazonaws:aws-java-sdk-core:1.11.438 -> org:cbor:2.6.7'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 21.6K bytes - Viewed (0) -
src/reflect/abi.go
// at the top. a.stackBytes = align(a.stackBytes, uintptr(t.Align())) return nil } // Hold a copy of "a" so that we can roll back if // register assignment fails. aOld := *a if !a.regAssign(t, 0) { // Register assignment failed. Roll back any changes // and stack-assign. *a = aOld a.stackAssign(t.Size(), uintptr(t.Align())) return &a.steps[len(a.steps)-1] } return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:08:32 UTC 2024 - 15K bytes - Viewed (0) -
src/unsafe/unsafe.go
// of a field of that type within a struct. This case is the same as the // value returned by [reflect.TypeOf](s.f).FieldAlign(). // The return value of Alignof is a Go constant if the type of the argument // does not have variable size. // (See the description of [Sizeof] for a definition of variable sized types.) func Alignof(x ArbitraryType) uintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:45:20 UTC 2024 - 12.1K bytes - Viewed (0) -
src/text/tabwriter/tabwriter.go
} } else { // non-empty cell useTabs = false if b.flags&AlignRight == 0 { // align left b.write0(b.buf[pos : pos+c.size]) pos += c.size if j < len(b.widths) { b.writePadding(c.width, b.widths[j], false) } } else { // align right if j < len(b.widths) { b.writePadding(c.width, b.widths[j], false) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 16:46:34 UTC 2024 - 17.8K bytes - Viewed (0)