- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for writeAt (0.21 sec)
-
src/cmd/link/internal/ld/macho_update_uuid.go
return err } if cmd.Cmd == LC_UUID { var u uuidCmd if err := reader.ReadAt(0, &u); err != nil { return err } copy(u.Uuid[:], uuidFromGoBuildId(*flagBuildid)) if err := reader.WriteAt(0, &u); err != nil { return err } break } } // We're done return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 3.3K bytes - Viewed (0) -
src/internal/trace/raw/writer.go
// NewWriter creates a new byte format writer. func NewWriter(w io.Writer, v version.Version) (*Writer, error) { _, err := version.WriteHeader(w, v) return &Writer{w: w, v: v, specs: v.Specs()}, err } // WriteEvent writes a single event to the trace wire format stream. func (w *Writer) WriteEvent(e Event) error { // Check version. if e.Version != w.v {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.8K bytes - Viewed (0) -
src/compress/lzw/writer.go
// is a *[Writer]. func NewWriter(w io.Writer, order Order, litWidth int) io.WriteCloser { return newWriter(w, order, litWidth) } func newWriter(dst io.Writer, order Order, litWidth int) *Writer { w := new(Writer) w.init(dst, order, litWidth) return w } func (w *Writer) init(dst io.Writer, order Order, litWidth int) { switch order { case LSB:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:32:40 UTC 2024 - 7.9K bytes - Viewed (0) -
src/mime/multipart/writer.go
"errors" "fmt" "io" "net/textproto" "slices" "strings" ) // A Writer generates multipart messages. type Writer struct { w io.Writer boundary string lastpart *part } // NewWriter returns a new multipart [Writer] with a random boundary, // writing to w. func NewWriter(w io.Writer) *Writer { return &Writer{ w: w, boundary: randomBoundary(), } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 4.9K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/EncoderExtensions.java
encoder.writeInt(array.length); writeInts(encoder, array); } public static void writeInts(Encoder encoder, int[] array) throws IOException { for (int e : array) { encoder.writeInt(e); } } public static void writeLengthPrefixedLongs(Encoder encoder, long[] array) throws IOException { encoder.writeInt(array.length);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedEncoder.java
@Override public void writeSmallLong(long value) { output.writeLong(value, true); } @Override public void writeInt(int value) { output.writeInt(value); } @Override public void writeSmallInt(int value) { output.writeInt(value, true); } @Override public void writeShort(short value) throws IOException { output.writeShort(value); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 3.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/worker/child/ApplicationClassesInSystemClassLoaderWorkerImplementationFactory.java
outstr.writeInt(applicationClasspath.size()); for (File file : applicationClasspath) { outstr.writeUTF(file.getAbsolutePath()); } // Serialize the actual security manager type, this is consumed by BootstrapSecurityManager outstr.writeUTF(requestedSecurityManager == null ? "" : requestedSecurityManager.toString());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 10:09:51 UTC 2024 - 9.7K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/FreeListBlockStore.java
@Override protected void write(DataOutputStream outputStream) throws Exception { outputStream.writeLong(nextBlock.getPos()); outputStream.writeInt(largestInNextBlock); outputStream.writeInt(entries.size()); for (FreeListEntry entry : entries) { outputStream.writeLong(entry.pos.getPos()); outputStream.writeInt(entry.size); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:32 UTC 2024 - 8.7K bytes - Viewed (0) -
platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/RegexpPatternCodec.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 25 20:43:52 UTC 2024 - 1.1K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/kryo/KryoBackedDecoderTest.groovy
} InputStream encoded(String text) { def stream = new ByteArrayOutputStream() def encoder = new KryoBackedEncoder(stream) encoder.writeString(text) encoder.writeInt(12) encoder.flush() return new ByteArrayInputStream(stream.toByteArray()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 1.4K bytes - Viewed (0)