- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 195 for readType (0.3 sec)
-
src/cmd/link/internal/ld/go_test.go
func TestDedupLibraries(t *testing.T) { ctxt := &Link{} ctxt.Target.HeadType = objabi.Hlinux libs := []string{"libc.so", "libc.so.6"} got := dedupLibraries(ctxt, libs) if !reflect.DeepEqual(got, libs) { t.Errorf("dedupLibraries(%v) = %v, want %v", libs, got, libs) } } func TestDedupLibrariesOpenBSD(t *testing.T) { ctxt := &Link{} ctxt.Target.HeadType = objabi.Hopenbsd tests := []struct { libs []string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:22:14 UTC 2022 - 2.7K bytes - Viewed (0) -
src/compress/bzip2/bit_reader.go
// and the error can be obtained by calling bitReader.Err(). func (br *bitReader) ReadBits64(bits uint) (n uint64) { for bits > br.bits { b, err := br.r.ReadByte() if err == io.EOF { err = io.ErrUnexpectedEOF } if err != nil { br.err = err return 0 } br.n <<= 8 br.n |= uint64(b) br.bits += 8 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 23:20:03 UTC 2023 - 2K bytes - Viewed (0) -
src/internal/trace/raw/reader.go
func (r *Reader) Version() version.Version { return r.v } // ReadEvent reads and returns the next trace event in the byte stream. func (r *Reader) ReadEvent() (Event, error) { evb, err := r.r.ReadByte() if err == io.EOF { return Event{}, io.EOF } if err != nil { return Event{}, err } if int(evb) >= len(r.specs) || evb == 0 { return Event{}, fmt.Errorf("invalid event type: %d", evb) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.2K bytes - Viewed (0) -
src/cmd/link/internal/s390x/obj.go
Reloc1: elfreloc1, RelocSize: 24, SetupPLT: elfsetupplt, }, } return arch, theArch } func archinit(ctxt *ld.Link) { switch ctxt.HeadType { default: ld.Exitf("unknown -H option: %v", ctxt.HeadType) case objabi.Hlinux: // s390x ELF ld.Elfinit(ctxt) ld.HEADR = ld.ELFRESERVE if *ld.FlagRound == -1 { *ld.FlagRound = 0x10000 } if *ld.FlagTextAddr == -1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 19:32:19 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerWithNewProtocolTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:52:52 UTC 2024 - 7.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/StringDeduplicatingDecoder.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 11:24:15 UTC 2024 - 3.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/go.go
if ldr.SymDynid(s) >= 0 || target.LinkMode == LinkExternal { return } if target.IsELF { elfadddynsym(ldr, target, syms, s) } else if target.HeadType == objabi.Hdarwin { ldr.Errorf(s, "adddynsym: missed symbol (Extname=%s)", ldr.SymExtname(s)) } else if target.HeadType == objabi.Hwindows { // already taken care of } else { ldr.Errorf(s, "adddynsym: unsupported binary format") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:48:30 UTC 2023 - 11.2K bytes - Viewed (0) -
src/cmd/link/internal/mips/obj.go
// .dynamic section. DynamicReadOnly: true, }, } return arch, theArch } func archinit(ctxt *ld.Link) { switch ctxt.HeadType { default: ld.Exitf("unknown -H option: %v", ctxt.HeadType) case objabi.Hlinux: /* mips elf */ ld.Elfinit(ctxt) ld.HEADR = ld.ELFRESERVE if *ld.FlagRound == -1 { *ld.FlagRound = 0x10000 } if *ld.FlagTextAddr == -1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 3.3K bytes - Viewed (0) -
src/cmd/link/internal/ppc64/obj.go
Reloc1: elfreloc1, RelocSize: 24, SetupPLT: elfsetupplt, }, } return arch, theArch } func archinit(ctxt *ld.Link) { switch ctxt.HeadType { default: ld.Exitf("unknown -H option: %v", ctxt.HeadType) case objabi.Hplan9: /* plan 9 */ ld.HEADR = 32 if *ld.FlagRound == -1 { *ld.FlagRound = 4096 } if *ld.FlagTextAddr == -1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 19:32:19 UTC 2023 - 3.4K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
// 0 - 63 bytes var length = source.readByte().toInt() if (length < 0) { // compressed name pointer, first two bits are 1 // drop second byte of compression offset source.skip(1) } else { while (length > 0) { // skip each part of the domain name source.skip(length.toLong()) length = source.readByte().toInt() } } }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.8K bytes - Viewed (0)