- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for FileHeader (0.87 sec)
-
src/net/http/clone.go
// // Do not remove or change the type signature. // See go.dev/issue/67401. // //go:linkname cloneMultipartFileHeader func cloneMultipartFileHeader(fh *multipart.FileHeader) *multipart.FileHeader { if fh == nil { return nil } fh2 := new(multipart.FileHeader) *fh2 = *fh fh2.Header = textproto.MIMEHeader(Header(fh.Header).Clone()) return fh2 } // cloneOrMakeHeader invokes Header.Clone but if the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 3K bytes - Viewed (0) -
src/mime/multipart/formdata.go
} } } return err } // A FileHeader describes a file part of a multipart request. type FileHeader struct { Filename string Header textproto.MIMEHeader Size int64 content []byte tmpfile string tmpoff int64 tmpshared bool } // Open opens and returns the [FileHeader]'s associated File. func (fh *FileHeader) Open() (File, error) { if b := fh.content; b != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 16:12:35 UTC 2024 - 7.7K bytes - Viewed (0) -
src/debug/plan9obj/file.go
"errors" "fmt" "internal/saferio" "io" "os" ) // A FileHeader represents a Plan 9 a.out file header. type FileHeader struct { Magic uint32 Bss uint32 Entry uint64 PtrSize int LoadAddress uint64 HdrSize uint64 } // A File represents an open Plan 9 a.out file. type File struct { FileHeader Sections []*Section closer io.Closer }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 7.2K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/SourceFileHeader.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.kotlin.dsl.internal.sharedruntime.codegen val fileHeader: String get() = fileHeaderFor(kotlinDslPackageName) fun fileHeaderFor(packageName: String, isIncubating: Boolean = false) = """$licenseHeader @file:Suppress( "unused", "nothing_to_inline",
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Nov 12 16:16:08 UTC 2023 - 2K bytes - Viewed (0) -
src/debug/pe/string.go
func cstring(b []byte) string { i := bytes.IndexByte(b, 0) if i == -1 { i = len(b) } return string(b[:i]) } // StringTable is a COFF string table. type StringTable []byte func readStringTable(fh *FileHeader, r io.ReadSeeker) (StringTable, error) { // COFF string table is located right after COFF symbol table. if fh.PointerToSymbolTable <= 0 { return nil, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:06:17 UTC 2023 - 1.8K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginIdExtensions.kt
gradleJars: Iterable<File>, pluginDependenciesSpecQualifiedName: String, pluginDependencySpecQualifiedName: String, ) { file.bufferedWriter().use { writer -> writer.appendReproducibleNewLine(fileHeader) pluginIdExtensionDeclarationsFor( gradleJars, pluginDependenciesSpecQualifiedName, pluginDependencySpecQualifiedName ).forEach { extension ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Nov 12 16:16:07 UTC 2023 - 3.1K bytes - Viewed (0) -
lib/time/mkzip.go
if err != nil { log.Fatal(err) } if strings.HasSuffix(path, ".zip") { log.Fatalf("unexpected file during walk: %s", path) } name := filepath.ToSlash(path) w, err := zw.CreateRaw(&zip.FileHeader{ Name: name, Method: zip.Store, CompressedSize64: uint64(len(data)), UncompressedSize64: uint64(len(data)), CRC32: crc32.ChecksumIEEE(data), })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:32:07 UTC 2024 - 2.1K bytes - Viewed (0) -
src/cmd/link/internal/ld/macho_update_uuid.go
defer outf.Close() // Copy over the file. if _, err := io.Copy(outf, exef); err != nil { return err } // Locate the portion of the binary containing the load commands. cmdOffset := unsafe.Sizeof(exem.FileHeader) if is64bit := exem.Magic == macho.Magic64; is64bit { // mach_header_64 has one extra uint32. cmdOffset += unsafe.Sizeof(exem.Magic) } if _, err := outf.Seek(int64(cmdOffset), 0); err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 3.3K bytes - Viewed (0) -
src/debug/pe/symbol.go
// // At the moment this package only provides APIs for looking at // aux symbols of format 5 (associated with section definition symbols). func readCOFFSymbols(fh *FileHeader, r io.ReadSeeker) ([]COFFSymbol, error) { if fh.PointerToSymbolTable == 0 { return nil, nil } if fh.NumberOfSymbols <= 0 { return nil, nil } _, err := r.Seek(int64(fh.PointerToSymbolTable), io.SeekStart)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 6.6K bytes - Viewed (0) -
platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publisher/ValidatingMavenPublisher.java
} catch (IOException ex) { throw new UncheckedIOException(ex); } } private Model readModelFromPom(File pomFile) throws IOException, XmlPullParserException { try (FileReader reader = new FileReader(pomFile)) { return new MavenXpp3Reader().read(reader); } } private void validateArtifacts(MavenNormalizedPublication publication) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 6.9K bytes - Viewed (0)