- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,167 for Rewrite (0.08 sec)
-
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java
@Override public void write(File output, Map<String, Object> options, Settings settings) throws IOException { Objects.requireNonNull(output, "output cannot be null"); Objects.requireNonNull(settings, "settings cannot be null"); output.getParentFile().mkdirs(); write(Files.newOutputStream(output.toPath()), options, settings); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
src/archive/zip/writer.go
crc32 hash.Hash32 closed bool } func (w *fileWriter) Write(p []byte) (int, error) { if w.closed { return 0, errors.New("zip: write to closed file") } if w.raw { return w.zipw.Write(p) } w.crc32.Write(p) return w.rawCount.Write(p) } func (w *fileWriter) close() error { if w.closed { return errors.New("zip: file closed twice") } w.closed = true if w.raw {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 19.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestOutputStream.java
public boolean closed() { return closed; } @Override public void write(byte[] b, int off, int len) throws IOException { throwIf(closed); throwIf(WRITE_THROWS); super.write(b, off, len); } @Override public void write(int b) throws IOException { throwIf(closed); throwIf(WRITE_THROWS); super.write(b); } @Override public void close() throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.2K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3WriterEx.java
/** * Method write. * * @param writer a writer object. * @param model a model object. * @throws IOException java.io.IOException if any. */ public void write(Writer writer, Model model) throws IOException { super.write(writer, model); } // -- void write( Writer, Model ) /** * Method write. * * @param stream a stream object.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/AppendableWriterTest.java
StringBuilder builder = new StringBuilder(); Writer writer = new AppendableWriter(builder); writer.write("Hello".toCharArray()); writer.write(','); writer.write(0xBEEF0020); // only lower 16 bits are important writer.write("Wo"); writer.write("Whirled".toCharArray(), 3, 2); writer.write("Mad! Mad, I say", 2, 2); assertEquals("Hello, World!", builder.toString()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.2K bytes - Viewed (0) -
cmd/mrf_gen.go
func (z *PartialOperation) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 8 // write "Bucket" err = en.Append(0x88, 0xa6, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74) if err != nil { return } err = en.WriteString(z.Bucket) if err != nil { err = msgp.WrapError(err, "Bucket") return } // write "Object" err = en.Append(0xa6, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74) if err != nil { return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:26:05 UTC 2024 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SocketOutputStream.java
class SocketOutputStream extends FilterOutputStream { SocketOutputStream( OutputStream out ) { super( out ); } public synchronized void write( byte[] b, int off, int len ) throws IOException { if( len > 0xFFFF ) { throw new IOException( "write too large: " + len ); } else if( off < 4 ) { throw new IOException( "NetBIOS socket output buffer requires 4 bytes available before off" ); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 1.7K bytes - Viewed (0) -
cmd/bitrot_test.go
writer := newBitrotWriter(disk, "", volume, filePath, 35, bitrotAlgo, 10) _, err = writer.Write([]byte("aaaaaaaaaa")) if err != nil { t.Fatal(err) } _, err = writer.Write([]byte("aaaaaaaaaa")) if err != nil { t.Fatal(err) } _, err = writer.Write([]byte("aaaaaaaaaa")) if err != nil { t.Fatal(err) } _, err = writer.Write([]byte("aaaaa")) if err != nil { t.Fatal(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 2.1K bytes - Viewed (0) -
cmd/metacache-set_gen.go
func (z *listPathOptions) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 19 // write "ID" err = en.Append(0xde, 0x0, 0x13, 0xa2, 0x49, 0x44) if err != nil { return } err = en.WriteString(z.ID) if err != nil { err = msgp.WrapError(err, "ID") return } // write "Bucket" err = en.Append(0xa6, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74) if err != nil { return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 19 20:23:12 UTC 2024 - 13.8K bytes - Viewed (0) -
internal/deadlineconn/deadlineconn.go
func (c *DeadlineConn) Read(b []byte) (n int, err error) { c.setReadDeadline() n, err = c.Conn.Read(b) return n, err } // Write - writes data to the connection. func (c *DeadlineConn) Write(b []byte) (n int, err error) { c.setWriteDeadline() n, err = c.Conn.Write(b) return n, err } // WithReadDeadline sets a new read side net.Conn deadline.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 26 17:40:11 UTC 2024 - 2.6K bytes - Viewed (0)