- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 542 for Writer (0.05 sec)
-
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsWriter.java
@Override public void write(Writer output, Map<String, Object> options, PersistedToolchains toolchains) throws IOException { Objects.requireNonNull(output, "output cannot be null"); Objects.requireNonNull(toolchains, "toolchains cannot be null"); try (Writer out = output) { new MavenToolchainsStaxWriter().write(out, toolchains.getDelegate());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
public CharSink createSink() throws IOException { File file = createFile(); if (initialString != null) { Writer writer = new OutputStreamWriter(new FileOutputStream(file), UTF_8); try { writer.write(initialString); } finally { writer.close(); } return Files.asCharSink(file, UTF_8, FileWriteMode.APPEND); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 12.6K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/configdump.go
// TODO return nil } func (c *ConfigWriter) PrintFullSummary() error { _, _ = c.Stdout.Write([]byte("\n")) if err := c.PrintWorkloadSummary(WorkloadFilter{}); err != nil { return err } _, _ = c.Stdout.Write([]byte("\n")) if err := c.PrintServiceSummary(ServiceFilter{}); err != nil { return err } _, _ = c.Stdout.Write([]byte("\n")) if err := c.PrintPolicySummary(PolicyFilter{}); err != nil { return err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 06 20:18:34 UTC 2024 - 3.9K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics.go
} func printHeader(writer io.Writer) { w := tabwriter.NewWriter(writer, 13, 1, 2, ' ', tabwriter.AlignRight) _, _ = fmt.Fprintf(w, "%40s\tTOTAL RPS\tERROR RPS\tP50 LATENCY\tP90 LATENCY\tP99 LATENCY\t\n", "WORKLOAD") _ = w.Flush() } func printMetrics(writer io.Writer, wm workloadMetrics) { w := tabwriter.NewWriter(writer, 13, 1, 2, ' ', tabwriter.AlignRight)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 8.4K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route.go
} } fmt.Fprintln(c.Stdout, string(out)) return nil } func (c *ConfigWriter) setupRouteConfigWriter() (*tabwriter.Writer, []*route.RouteConfiguration, error) { routes, err := c.retrieveSortedRouteSlice() if err != nil { return nil, nil, err } w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 5, ' ', 0) return w, routes, nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 08 20:44:50 UTC 2024 - 7.2K bytes - Viewed (0) -
internal/ioutil/discard.go
// implementation which is buggy on NUMA systems, we have to use a simpler // io.Writer implementation alone avoids also unnecessary buffer copies, // and as such incurred latencies. var Discard io.Writer = discard{} // discard is /dev/null for Golang. type discard struct{} func (discard) Write(p []byte) (int, error) { return len(p), nil } // DiscardReader discarded reader
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Nov 06 22:26:08 UTC 2023 - 1.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
throws IOException { StringWriter writer = new StringWriter(); try (OutputStream encodingStream = encoding.encodingStream(writer)) { encodingStream.write(decoded.getBytes(UTF_8)); } assertThat(writer.toString()).isEqualTo(encoded); } @GwtIncompatible // Reader private static void testStreamingDecodes(BaseEncoding encoding, String encoded, String decoded) throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 16:27:30 UTC 2024 - 24.6K bytes - Viewed (0) -
internal/s3select/sql/record.go
type Record interface { Get(name string) (*Value, error) // Set a value. // Can return a different record type. Set(name string, value *Value) (Record, error) WriteCSV(writer io.Writer, opts WriteCSVOpts) error WriteJSON(writer io.Writer) error // Clone the record and if possible use the destination provided. Clone(dst Record) Record Reset() // Returns underlying representation
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 3.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java
try { Files.createDirectories(resumeProperties.getParent()); try (Writer writer = Files.newBufferedWriter(resumeProperties)) { properties.store(writer, null); } } catch (IOException e) { String message = "Could not create " + RESUME_PROPERTIES_FILENAME + " file.";
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
interfaces.go
type Dialector interface { Name() string Initialize(*DB) error Migrator(db *DB) Migrator DataTypeOf(*schema.Field) string DefaultValueOf(*schema.Field) clause.Expression BindVarTo(writer clause.Writer, stmt *Statement, v interface{}) QuoteTo(clause.Writer, string) Explain(sql string, vars ...interface{}) string } // Plugin GORM plugin interface type Plugin interface { Name() string Initialize(*DB) error }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Aug 19 13:33:31 UTC 2023 - 2.2K bytes - Viewed (0)