- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for writeRaw (0.19 sec)
-
subprojects/core/src/main/java/org/gradle/internal/xml/SimpleMarkupWriter.java
} writeRaw(" "); writeRaw(name); writeRaw("=\""); writeXmlAttributeEncoded(value); writeRaw("\""); return this; } private void writeRaw(char c) throws IOException { output.write(c); } protected void writeRaw(String message) throws IOException { output.write(message); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 02 12:15:58 UTC 2021 - 12K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/normalization/ConfigureRuntimeClasspathNormalizationIntegrationTest.groovy
def "safely handles properties files in #description with bad unicode escape sequences"() { def project = new ProjectWithRuntimeClasspathNormalization(Api.RUNTIME).withFilesIgnored() project[resource].writeRaw('propertyWithBadValue=this is a bad unicode sequence'.bytes, [0x5C, 0x75, 0x78, 0x78, 0x78, 0x78] as byte[]) project.buildFile << """ normalization { runtimeClasspath {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 01 03:07:53 UTC 2023 - 37.2K bytes - Viewed (0) -
src/io/io.go
// WriteAt should not affect nor be affected by the underlying // seek offset. // // Clients of WriteAt can execute parallel WriteAt calls on the same // destination if the ranges do not overlap. // // Implementations must not retain p. type WriterAt interface { WriteAt(p []byte, off int64) (n int, err error) } // ByteReader is the interface that wraps the ReadByte method. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:34:10 UTC 2024 - 21.6K bytes - Viewed (0) -
cmd/sftp-server-driver.go
for i := range w.buffer { delete(w.buffer, i) } w.wg.Wait() return err } type writerAt struct { w *io.PipeWriter r *io.PipeReader wg *sync.WaitGroup buffer map[int64][]byte err error nextOffset int64 m sync.Mutex } func (w *writerAt) WriteAt(b []byte, offset int64) (n int, err error) { w.m.Lock() defer w.m.Unlock()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jun 05 07:51:13 UTC 2024 - 11.1K bytes - Viewed (0) -
src/mdo/writer-stax.vm
#if ( ! $def ) writeTag("$fieldTagName", null, ${classLcapName}.get${fieldCapName}(), serializer${loctrac}); #else writeTag("$fieldTagName", "${def}", ${classLcapName}.get${fieldCapName}(), serializer${loctrac}); #end #elseif ( $field.type == "boolean" || $field.type == "Boolean" ) #if ( ${def} == "true" )
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Dec 05 08:11:33 UTC 2023 - 20.2K bytes - Viewed (0) -
src/mdo/writer.vm
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/cmd/link/internal/ld/macho_combine_dwarf.go
func (r loadCmdReader) ReadAt(offset int64, data interface{}) error { if _, err := r.f.Seek(r.offset+offset, 0); err != nil { return err } return binary.Read(r.f, r.order, data) } func (r loadCmdReader) WriteAt(offset int64, data interface{}) error { if _, err := r.f.Seek(r.offset+offset, 0); err != nil { return err } return binary.Write(r.f, r.order, data) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 13.3K bytes - Viewed (0) -
src/os/file.go
var errWriteAtInAppendMode = errors.New("os: invalid use of WriteAt on file opened with O_APPEND") // WriteAt writes len(b) bytes to the File starting at byte offset off. // It returns the number of bytes written and an error, if any. // WriteAt returns a non-nil error when n != len(b). // // If file was opened with the O_APPEND flag, WriteAt returns an error. func (f *File) WriteAt(b []byte, off int64) (n int, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:37 UTC 2024 - 25.4K bytes - Viewed (0) -
src/io/io_test.go
wg.Add(1) go func(wg *sync.WaitGroup, tmpfile *os.File, value byte, off, at int64, step int) { defer wg.Done() w := NewOffsetWriter(tmpfile, off) n, e := w.WriteAt([]byte{value}, at+int64(step)) if e != nil { t.Errorf("WriteAt failed. off: %d, at: %d, step: %d\n error: %v", off, at, step, e) } atomic.AddInt64(&writeN, int64(n)) }(&wg, tmpfile, value, off, at, step) } wg.Wait()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 22:04:41 UTC 2023 - 18.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go
return nil, err } // Establish file header and initial data area if not already present. if info.Size() < minFileLen { if _, err := f.WriteAt(hdr, 0); err != nil { return nil, err } // Write zeros at the end of the file to extend it to minFileLen. if _, err := f.WriteAt(m.zero[:], int64(minFileLen-len(m.zero))); err != nil { return nil, err } info, err = f.Stat() if err != nil { return nil, err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 18.2K bytes - Viewed (0)