- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for newSection (0.09 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/polyglot/BuildFileBuilder.groovy
newSection(new RepositoriesBuilder()) { BuilderSupport.applyConfiguration(spec, it) } this } BuildFileBuilder configurations(@DelegatesTo(value = ConfigurationsBuilder, strategy = Closure.DELEGATE_FIRST) Closure<?> spec) { newSection(new ConfigurationsBuilder(configurationNames)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/polyglot/MultiSectionHandler.groovy
import java.util.function.Supplier abstract class MultiSectionHandler<T> implements SectionBuilder { final List<SectionBuilder> sections = [] public <B extends SectionBuilder> B newSection(@DelegatesTo.Target B section, @DelegatesTo(strategy = Closure.DELEGATE_FIRST) Closure<?> spec) { sections << section BuilderSupport.applyConfiguration(spec, section) section }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.3K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader.go
if int(i) >= len(l.symSects) { l.symSects = append(l.symSects, make([]uint16, l.NSym()-len(l.symSects))...) } l.symSects[i] = sect.Index } // NewSection creates a new (output) section. func (l *Loader) NewSection() *sym.Section { sect := new(sym.Section) idx := len(l.sects) if idx != int(uint16(idx)) { panic("too many sections created") } sect.Index = uint16(idx)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/lib.go
ctxt.Shlibs = append(ctxt.Shlibs, Shlib{Path: libpath, Hash: hash, Deps: deps, File: f}) } func addsection(ldr *loader.Loader, arch *sys.Arch, seg *sym.Segment, name string, rwx int) *sym.Section { sect := ldr.NewSection() sect.Rwx = uint8(rwx) sect.Name = name sect.Seg = seg sect.Align = int32(arch.PtrSize) // everything is at least pointer-aligned seg.Sections = append(seg.Sections, sect) return sect }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0)