- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 57 for writeAt (0.14 sec)
-
src/image/jpeg/writer.go
case *image.Gray: nComponent = 1 } // Write the Start Of Image marker. e.buf[0] = 0xff e.buf[1] = 0xd8 e.write(e.buf[:2]) // Write the quantization tables. e.writeDQT() // Write the image dimensions. e.writeSOF0(b.Size(), nComponent) // Write the Huffman tables. e.writeDHT(nComponent) // Write the image data. e.writeSOS(m) // Write the End Of Image marker. e.buf[0] = 0xff
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 17.1K bytes - Viewed (0) -
src/cmd/link/internal/ld/pe.go
if len(name) > 8 { out.Write32(0) out.Write32(uint32(f.stringTable.add(name))) } else { out.WriteStringN(name, 8) } out.Write32(uint32(value)) out.Write16(uint16(sectidx)) out.Write16(typ) out.Write8(class) out.Write8(0) // no aux entries ldr.SetSymDynid(s, int32(f.symbolCount)) f.symbolCount++ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:01:27 UTC 2023 - 48.8K bytes - Viewed (0) -
src/cmd/link/internal/amd64/asm.go
out.Write64(uint64(sectoff)) elfsym := ld.ElfSymForReloc(ctxt, r.Xsym) siz := r.Size switch r.Type { default: return false case objabi.R_ADDR, objabi.R_DWARFSECREF: if siz == 4 { out.Write64(uint64(elf.R_X86_64_32) | uint64(elfsym)<<32) } else if siz == 8 { out.Write64(uint64(elf.R_X86_64_64) | uint64(elfsym)<<32) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 21K bytes - Viewed (0) -
src/cmd/link/internal/x86/asm.go
case objabi.R_ADDR, objabi.R_DWARFSECREF: if siz == 4 { out.Write32(uint32(elf.R_386_32) | uint32(elfsym)<<8) } else { return false } case objabi.R_GOTPCREL: if siz == 4 { out.Write32(uint32(elf.R_386_GOTPC)) if ldr.SymName(r.Xsym) != "_GLOBAL_OFFSET_TABLE_" { out.Write32(uint32(sectoff)) out.Write32(uint32(elf.R_386_GOT32) | uint32(elfsym)<<8) } } else { return false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 13.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers.go
err = w.Close() if err != nil { // we cannot write an error to the writer anymore as the Encode call was successful. utilruntime.HandleError(fmt.Errorf("apiserver was unable to close cleanly the response writer: %v", err)) } return } // make a best effort to write the object if a failure is detected utilruntime.HandleError(fmt.Errorf("apiserver was unable to write a JSON response: %v", err)) status := ErrorToAPIStatus(err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 07 18:21:43 UTC 2023 - 10.6K bytes - Viewed (0) -
src/archive/tar/writer.go
"path" "slices" "strings" "time" ) // Writer provides sequential writing of a tar archive. // [Writer.WriteHeader] begins a new file with the provided [Header], // and then Writer can be treated as an io.Writer to supply that file's data. type Writer struct { w io.Writer pad int64 // Amount of padding to write after current file entry curr fileWriter // Writer for current file entry
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
src/mdo/writer.vm
this.fileComment = fileComment; } //-- void setFileComment(String) /** * Method write. * * @param writer a writer object * @param ${rootLcapName} a ${root.name} object * @throws java.io.IOException java.io.IOException if any */ public void write(Writer writer, ${root.name} ${rootLcapName}) throws java.io.IOException { XmlSerializer serializer = new MXSerializer();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Sep 14 11:48:15 UTC 2023 - 11.5K bytes - Viewed (0) -
src/image/gif/writer.go
return i } } return -1 } // writer is a buffered writer. type writer interface { Flush() error io.Writer io.ByteWriter } // encoder encodes an image to the GIF format. type encoder struct { // w is the writer to write to. err is the first error encountered during // writing. All attempted writes after the first error become no-ops. w writer err error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:38:09 UTC 2024 - 11.9K bytes - Viewed (0) -
src/image/png/writer.go
} } // An encoder is an io.Writer that satisfies writes by writing PNG IDAT chunks, // including an 8-byte header and 4-byte CRC checksum per Write call. Such calls // should be relatively infrequent, since writeIDATs uses a [bufio.Writer]. // // This method should only be called from writeIDATs (via writeImage). // No other code should treat an encoder as an io.Writer. func (e *encoder) Write(b []byte) (int, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 17:08:05 UTC 2024 - 15.4K bytes - Viewed (0) -
src/cmd/link/internal/riscv64/asm.go
} out.Write64(uint64(sectoff)) out.Write64(uint64(hiRel) | uint64(elfsym)<<32) out.Write64(uint64(r.Xadd)) out.Write64(uint64(sectoff + 4)) out.Write64(uint64(loRel) | uint64(hi20ElfSym)<<32) out.Write64(uint64(0)) case objabi.R_RISCV_TLS_LE: out.Write64(uint64(sectoff)) out.Write64(uint64(elf.R_RISCV_TPREL_HI20) | uint64(elfsym)<<32)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 01 08:06:08 UTC 2024 - 22.8K bytes - Viewed (0)