- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 1,665 for writeFn (0.18 sec)
-
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) -
istioctl/pkg/multixds/gather.go
return fmt.Sprintf("no running Istio pods in %q", c.Namespace) } var _ error = ControlPlaneNotFoundError{} type Options struct { // MessageWriter is a writer for displaying messages to users. MessageWriter io.Writer // XdsViaAgents accesses Istiod via the tap service of each agent. // This is only used in `proxy-status` command. XdsViaAgents bool
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 13.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Decrypt.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/MonitorTarget.java
try (ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintWriter writer = new PrintWriter(baos, false, Constants.CHARSET_UTF_8)) { exception.printStackTrace(writer); writer.flush(); append(buf, "exception", () -> StringEscapeUtils.escapeJson(new String(baos.toByteArray(), Constants.CHARSET_UTF_8)));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 3K 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) -
istioctl/pkg/kubeinject/kubeinject.go
if err == nil { err = errClose } } }() } var writer io.Writer if outFilename == "" { writer = c.OutOrStdout() } else { var out *os.File if out, err = os.Create(outFilename); err != nil { return err } writer = out defer func() { if errClose := out.Close(); errClose != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 21K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestWriter.java
this.out = out; } @Override public void write(int c) throws IOException { super.write(c); flush(); // flush write to TestOutputStream to get its behavior } @Override public void write(char[] cbuf, int off, int len) throws IOException { super.write(cbuf, off, len); flush(); } @Override public void write(String str, int off, int len) throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 1.7K bytes - Viewed (0) -
cmd/format-erasure.go
} // Marshal and write to disk. formatData, err := json.Marshal(format) if err != nil { return err } tmpFormat := mustGetUUID() // Purge any existing temporary file, okay to ignore errors here. defer disk.Delete(context.TODO(), minioMetaBucket, tmpFormat, DeleteOptions{ Recursive: false, Immediate: false, }) // write to unique file.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 23.2K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
signal.Notify(signals, os.Interrupt) defer signal.Stop(signals) <-signals fw.Close() }() } func openBrowser(url string, writer io.Writer, browser bool) { var err error fmt.Fprintf(writer, "%s\n", url) if !browser { fmt.Fprint(writer, "skipping opening a browser") return } switch runtime.GOOS { case "linux": err = exec.Command("xdg-open", url).Start()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Apr 15 01:29:35 UTC 2024 - 20.5K bytes - Viewed (0) -
src/archive/zip/fuzz_test.go
ww, err := w.CreateHeader(f.header) if err != nil { t.Fatalf("unable to write previously parsed header: %s", err) } if _, err := ww.Write(f.content); err != nil { t.Fatalf("unable to write previously parsed content: %s", err) } } if err := w.Close(); err != nil { t.Fatalf("Unable to write archive: %s", err) } // TODO: We may want to check if the archive roundtrips. })
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 1.7K bytes - Viewed (0)