- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 200 for newRule (0.17 sec)
-
src/cmd/internal/buildid/rewrite.go
return n, err } func findMachoCodeSignature(r any) (*macho.File, codesign.CodeSigCmd, bool) { ra, ok := r.(io.ReaderAt) if !ok { return nil, codesign.CodeSigCmd{}, false } f, err := macho.NewFile(ra) if err != nil { return nil, codesign.CodeSigCmd{}, false } cmd, ok := codesign.FindCodeSigCmd(f) return f, cmd, ok
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 5.1K bytes - Viewed (0) -
pkg/test/framework/components/namespace/namespace.go
} }() if ctx.Settings().StableNamespaces { return Claim(ctx, cfg) } cfg.overwriteRevisionIfEmpty(ctx.Settings().Revisions.Default()) return newKube(ctx, cfg) } // NewOrFail calls New and fails test if it returns error func NewOrFail(t test.Failer, ctx resource.Context, nsConfig Config) Instance { t.Helper() i, err := New(ctx, nsConfig) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Dec 21 18:12:14 UTC 2023 - 4.6K bytes - Viewed (0) -
src/debug/macho/fat.go
if err != nil { return nil, &FormatError{offset, "invalid fat_arch header", nil} } offset += fatArchHeaderSize fr := io.NewSectionReader(r, int64(fa.Offset), int64(fa.Size)) fa.File, err = NewFile(fr) if err != nil { return nil, err } // Make sure the architecture for this image is not duplicate. seenArch := (uint64(fa.Cpu) << 32) | uint64(fa.SubCpu)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 4.1K bytes - Viewed (0) -
src/go/internal/gccgoimporter/ar.go
} // elfFromAr tries to get export data from an archive member as an ELF file. // If there is no export data, this returns nil, nil. func elfFromAr(member *io.SectionReader) (io.ReadSeeker, error) { ef, err := elf.NewFile(member) if err != nil { return nil, err } sec := ef.Section(".go_export") if sec == nil { return nil, nil } return sec.Open(), nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 14:14:36 UTC 2022 - 4.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/fingerprint/impl/AbsolutePathFileCollectionFingerprinterTest.groovy
then: 0 * _ } def generatesEventWhenMissingFileIsCreated() { TestFile root = tmpDir.createDir('root') def fileCollection = files(root) TestFile file = root.file('newfile') when: FileCollectionFingerprint fingerprint = fingerprinter.fingerprint(fileCollection) file.createFile() virtualFileSystem.invalidateAll()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 20 16:00:23 UTC 2022 - 9.9K bytes - Viewed (0) -
platforms/core-execution/execution/src/integTest/groovy/org/gradle/internal/execution/IncrementalExecutionIntegrationTest.groovy
when: execute(unitOfWork) def outputFilesAddedUnitOfWork = builder.withOutputFiles(*: outputFiles, newFile: temporaryFolder.createFile("output-file-2")).build() then: outOfDate(outputFilesAddedUnitOfWork, "Output property 'newFile' has been added for ${outputFilesAddedUnitOfWork.displayName}") } def "out-of-date when any output file properties are removed"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:36:34 UTC 2024 - 23.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/call.go
reverse = true } // Rename type parameters to avoid problems with recursive instantiations. // Note that NewTuple(params...) below is (*Tuple)(nil) if len(params) == 0, as desired. tparams, params2 := check.renameTParams(pos, sig.TypeParams().list(), NewTuple(params...)) err := check.newError(CannotInferTypeArgs) targs = check.infer(pos, tparams, targs, params2.(*Tuple), args, reverse, err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/selection.go
sig := *s.obj.(*Func).typ.(*Signature) arg0 := *sig.recv sig.recv = nil arg0.typ = s.recv var params []*Var if sig.params != nil { params = sig.params.vars } sig.params = NewTuple(append([]*Var{&arg0}, params...)...) return &sig } // In all other cases, the type of x.f is the type of x. return s.obj.Type() } // Index describes the path from x to f in x.f.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 5.8K bytes - Viewed (0) -
src/cmd/link/internal/loadxcoff/ldxcoff.go
errorf := func(str string, args ...interface{}) ([]loader.Sym, error) { return nil, fmt.Errorf("loadxcoff: %v: %v", pn, fmt.Sprintf(str, args...)) } var ldSections []*ldSection f, err := xcoff.NewFile((*xcoffBiobuf)(input)) if err != nil { return nil, err } defer f.Close() for _, sect := range f.Sections { //only text, data and bss section
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 6.2K bytes - Viewed (0) -
src/internal/xcoff/ar.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:32:51 UTC 2024 - 5.6K bytes - Viewed (0)