- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 2,107 for writeFn (0.4 seconds)
-
cmd/erasure-server-pool.go
healthy := erasureSetUpCount[poolIdx][setIdx].online >= poolWriteQuorums[poolIdx] if !healthy && !opts.NoLogging { storageLogIf(logger.SetReqInfo(ctx, reqInfo), fmt.Errorf("Write quorum could not be established on pool: %d, set: %d, expected write quorum: %d, drives-online: %d", poolIdx, setIdx, poolWriteQuorums[poolIdx], erasureSetUpCount[poolIdx][setIdx].online), logger.FatalKind) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 89.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java
return ((Smb2ReadRequest) message).getReadLength() > 1048576; // 1MB } if (message instanceof Smb2WriteRequest) { // Data length not accessible, assume large writes for now return true; } return false; } private boolean isMetadataOperation(CommonServerMessageBlock message) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.2K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java
PrintWriter writer = new PrintWriter(buffer); writer.print(problems.size()); writer.print((problems.size() == 1) ? " problem was " : " problems were "); writer.print("encountered while building the effective settings"); writer.println(); for (SettingsProblem problem : problems) { writer.print("["); writer.print(problem.getSeverity());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
// Then assertNotNull(transCallNamedPipe); assertEquals(TEST_PIPE_NAME, transCallNamedPipe.name); } @Test @DisplayName("Test writeSetupWireFormat writes correct bytes") void testWriteSetupWireFormat() { // Given transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, TEST_DATA.length); byte[] dst = new byte[10];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
throw new IORuntimeException(e); } } /** * Writes the specified byte array to the file at the given pathname. * * @param pathname * The path to the file. * @param bytes * The byte array to write. */ public static void writeBytes(final String pathname, final byte[] bytes) {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
} if (logger.isDebugEnabled()) { logger.debug("Finished to write {}", url); } }); return response; } /** * Writes no-cache headers to the response. * * @param response the stream response * @param responseData the response data */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 52.6K bytes - Click Count (0) -
cmd/xl-storage_test.go
reader := bytes.NewReader(data) for { // Using io.Copy instead of this loop will not work for us as io.Copy // will use bytes.Reader.WriteTo() which will not do shardSize'ed writes // causing error. n, err := reader.Read(shard) w.Write(shard[:n]) if err == nil { continue } if err == io.EOF { break } t.Fatal(err) } w.(io.Closer).Close()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 66K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/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 } }, ), )Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 67.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/PropertiesUtil.java
assertArgumentNotNull("props", props); assertArgumentNotNull("writer", writer); try { props.store(writer, comments); } catch (final IOException e) { throw new IORuntimeException(e); } } /**
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 7.9K bytes - Click Count (0) -
cmd/erasure-sets.go
} if err := saveFormatErasure(storageDisks[index], format, formatOpID); err != nil { healingLogIf(ctx, fmt.Errorf("Drive %s failed to write updated 'format.json': %v", storageDisks[index], err)) storageDisks[index].Close() tmpNewFormats[index] = nil // this disk failed to write new format } } s.erasureDisksMu.Lock() for index, format := range tmpNewFormats { if format == nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37K bytes - Click Count (1)