Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 129 for writeAt (0.17 sec)

  1. src/net/textproto/writer.go

    package textproto
    
    import (
    	"bufio"
    	"fmt"
    	"io"
    )
    
    // A Writer implements convenience methods for writing
    // requests or responses to a text protocol network connection.
    type Writer struct {
    	W   *bufio.Writer
    	dot *dotWriter
    }
    
    // NewWriter returns a new [Writer] writing to w.
    func NewWriter(w *bufio.Writer) *Writer {
    	return &Writer{W: w}
    }
    
    var crnl = []byte{'\r', '\n'}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/internal/poll/writev.go

    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package poll
    
    import (
    	"io"
    	"runtime"
    	"syscall"
    )
    
    // Writev wraps the writev system call.
    func (fd *FD) Writev(v *[][]byte) (int64, error) {
    	if err := fd.writeLock(); err != nil {
    		return 0, err
    	}
    	defer fd.writeUnlock()
    	if err := fd.pd.prepareWrite(fd.isFile); err != nil {
    		return 0, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/resource/TextResourceIntegrationTest.groovy

                }
    """
            when:
            run("uriText")
    
            then:
            result.assertTasksExecuted(":uriText")
            file("output.txt").text == "my config\n"
    
            when:
            run("uriText")
    
            then:
            result.assertTasksSkipped(":uriText")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/link/internal/ld/symtab.go

    	if elf64 {
    		out.Write32(uint32(off))
    		out.Write8(info)
    		out.Write8(uint8(other))
    		out.Write16(uint16(shndx))
    		out.Write64(uint64(addr))
    		out.Write64(uint64(size))
    		symSize += ELF64SYMSIZE
    	} else {
    		out.Write32(uint32(off))
    		out.Write32(uint32(addr))
    		out.Write32(uint32(size))
    		out.Write8(info)
    		out.Write8(uint8(other))
    		out.Write16(uint16(shndx))
    		symSize += ELF32SYMSIZE
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modindex/write.go

    func (e *encoder) Int(n int) {
    	if n < 0 || int(int32(n)) != n {
    		base.Fatalf("go: attempting to write an int to the index that overflows int32")
    	}
    	e.Uint32(uint32(n))
    }
    
    func (e *encoder) IntAt(n int, at int) {
    	if n < 0 || int(int32(n)) != n {
    		base.Fatalf("go: attempting to write an int to the index that overflows int32")
    	}
    	binary.LittleEndian.PutUint32(e.b[at:], uint32(n))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 10:10:21 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ppc64/asm.go

    	case objabi.R_ADDRPOWER:
    		out.Write64(uint64(elf.R_PPC64_ADDR16_HA) | uint64(elfsym)<<32)
    		out.Write64(uint64(r.Xadd))
    		out.Write64(uint64(sectoff + 4))
    		out.Write64(uint64(elf.R_PPC64_ADDR16_LO) | uint64(elfsym)<<32)
    	case objabi.R_ADDRPOWER_DS:
    		out.Write64(uint64(elf.R_PPC64_ADDR16_HA) | uint64(elfsym)<<32)
    		out.Write64(uint64(r.Xadd))
    		out.Write64(uint64(sectoff + 4))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  8. src/cmd/link/internal/mips64/asm.go

    	addend := r.Xadd
    
    	out.Write64(uint64(sectoff))
    
    	elfsym := ld.ElfSymForReloc(ctxt, r.Xsym)
    	out.Write32(uint32(elfsym))
    	out.Write8(0)
    	out.Write8(0)
    	out.Write8(0)
    	switch r.Type {
    	default:
    		return false
    	case objabi.R_ADDR, objabi.R_DWARFSECREF:
    		switch r.Size {
    		case 4:
    			out.Write8(uint8(elf.R_MIPS_32))
    		case 8:
    			out.Write8(uint8(elf.R_MIPS_64))
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 11K bytes
    - Viewed (0)
  9. src/runtime/write_err_android.go

    		if v == '\n' || writePos == len(dst)-1 {
    			dst[writePos] = 0
    			write(writeFD, unsafe.Pointer(&writeBuf[0]), int32(hlen+writePos))
    			clear(dst)
    			writePos = 0
    		}
    	}
    }
    
    func initLegacy() {
    	// In legacy mode, logs are written to /dev/log/main
    	writeFD = uintptr(open(&writePath[0], 0x1 /* O_WRONLY */, 0))
    	if writeFD == 0 {
    		// It is hard to do anything here. Write to stderr just
    		// in case user has root on device and has run
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. src/mdo/writer-stax.vm

        } //-- void setStringFormatter(InputLocation.StringFormatter)
    
    #end
        /**
         * Method write.
         *
         * @param writer a writer object
         * @param ${rootLcapName} a ${root.name} object
         * @throws IOException IOException if any
         */
        public void write(Writer writer, ${root.name} ${rootLcapName}) throws IOException, XMLStreamException {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 05 08:11:33 UTC 2023
    - 20.2K bytes
    - Viewed (0)
Back to top