- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 1,665 for writeFn (0.08 sec)
-
istioctl/pkg/multicluster/remote_secret_test.go
t.Error("want error on local write failure") } w = &fakeOutputWriter{failAfter: 1, injectError: errors.New("error")} if err := writeEncodedObject(w, s); err == nil { t.Error("want error on remote write failure") } w = &fakeOutputWriter{failAfter: 2, injectError: errors.New("error")} if err := writeEncodedObject(w, s); err == nil { t.Error("want error on third write failure") }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 20.7K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java
} finally { context.terminal.writer().flush(); } } protected int badGoalsErrorMessage(String message, LocalContext context) { context.terminal.writer().println(message); context.terminal.writer().println("Supported goals are: " + String.join(", ", context.goals.keySet())); context.terminal.writer().println("Use -h to display help."); return BAD_OPERATION;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.6K bytes - Viewed (0) -
cmd/main.go
for _, cmd := range closestCommands { console.Printf("\t‘%s’\n", cmd) } } os.Exit(1) } return app } func startupBanner(banner io.Writer) { CopyrightYear = strconv.Itoa(time.Now().Year()) fmt.Fprintln(banner, color.Blue("Copyright:")+color.Bold(" 2015-%s MinIO, Inc.", CopyrightYear)) fmt.Fprintln(banner, color.Blue("License:")+color.Bold(" "+MinioLicense))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 30 22:59:48 UTC 2024 - 6.5K bytes - Viewed (0) -
LICENSE
or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems,
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jan 23 11:07:23 UTC 2024 - 23.1K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt
internal class StoriesTestProvider : SimpleProvider() { override fun arguments(): List<Any> = createStories(RAW_DATA) } private val bytesOut = Buffer() private val hpackWriter = Hpack.Writer(out = bytesOut) @ParameterizedTest @ArgumentsSource(StoriesTestProvider::class) fun testRoundTrip(story: Story) { assumeFalse( story === Story.MISSING,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
override fun contentLength(): Long = postBytes.size.toLong() override fun writeTo(sink: BufferedSink) { sink.write(postBytes) // push bytes into the stream's buffer sink.flush() // Http2Connection.writeData subject to write window sink.close() // Http2Connection.writeData empty frame } }, ), )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0) -
internal/ioutil/wait_pipe.go
import ( "io" "sync" ) // PipeWriter is similar to io.PipeWriter with wait group type PipeWriter struct { *io.PipeWriter once sync.Once done func() } // CloseWithError close with supplied error the writer end. func (w *PipeWriter) CloseWithError(err error) error { err = w.PipeWriter.CloseWithError(err) w.once.Do(func() { w.done() }) return err } // PipeReader is similar to io.PipeReader with wait group
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 27 14:55:36 UTC 2023 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
// array slot is read and written exactly once. However, it can have very poor memory locality: // benchmarking shows it can take 7 times longer than the other two in some cases. The other two // do n swaps, minus a delta (0 or 2 for Reversal, gcd(d, n) for Successive), so that's about // twice as many reads and writes. But benchmarking shows that they usually perform better than
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 31K bytes - Viewed (0) -
doc/asm.html
plain period and slash. Within an assembler source file, the symbols above are written as <code>fmt·Printf</code> and <code>math∕rand·Int</code>. The assembly listings generated by the compilers when using the <code>-S</code> flag show the period and slash directly instead of the Unicode replacements required by the assemblers. </p> <p> Most hand-written assembly files do not include the full package path
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Nov 28 19:15:27 UTC 2023 - 36.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
try (OutputStream out = Files.newOutputStream(metadataFile.toPath())) { new MetadataStaxWriter().write(out, metadata.getDelegate()); } catch (IOException | XMLStreamException e) { String msg = "Could not write fixed metadata to " + metadataFile + ": " + e.getMessage(); if (getLogger().isDebugEnabled()) { getLogger().warn(msg, e);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.9K bytes - Viewed (0)