- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for FileHeader (0.16 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/pe/file.go
_, err = sr.Seek(base+int64(binary.Size(f.FileHeader)), io.SeekStart) if err != nil { return nil, err } // Read optional header. f.OptionalHeader, err = readOptionalHeader(sr, f.FileHeader.SizeOfOptionalHeader) if err != nil { return nil, err } // Process sections. f.Sections = make([]*Section, f.FileHeader.NumberOfSections) for i := 0; i < int(f.FileHeader.NumberOfSections); i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 17.2K 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) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/GenerateVersionCatalogAccessors.kt
import org.gradle.kotlin.dsl.concurrent.IO import org.gradle.kotlin.dsl.concurrent.withAsynchronousIO import org.gradle.kotlin.dsl.concurrent.writeFile import org.gradle.kotlin.dsl.internal.sharedruntime.codegen.fileHeader import org.gradle.kotlin.dsl.internal.sharedruntime.codegen.kotlinDslPackagePath import org.gradle.kotlin.dsl.internal.sharedruntime.support.appendReproducibleNewLine
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:28 UTC 2023 - 11.6K bytes - Viewed (0) -
src/debug/elf/file_test.go
} defer f.Close() wantFileHeader := FileHeader{ Class: ELFCLASS32, Data: ELFDATA2LSB, Version: EV_CURRENT, OSABI: ELFOSABI_NONE, ByteOrder: binary.LittleEndian, Type: ET_REL, Machine: EM_386, } if f.FileHeader != wantFileHeader { t.Errorf("\nhave %#v\nwant %#v\n", f.FileHeader, wantFileHeader) } wantSectionNum := 65298
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 60.1K bytes - Viewed (0)