Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,503 for write2 (0.1 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

            bits: Int,
          ) {
            var value = value
            // Write the raw value for a single byte value.
            if (value < prefixMask) {
              out.writeByte(bits or value)
              return
            }
    
            // Write the mask to start a multibyte value.
            out.writeByte(bits or prefixMask)
            value -= prefixMask
    
            // Write 7 bits at a time 'til we're done.
            while (value >= 0x80) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. cmd/metrics-v3-system-drive.go

    		allDriveLabels...)
    	driveWritesPerSecMD = NewGaugeMD(driveWritesPerSec,
    		"Writes per second on a drive",
    		allDriveLabels...)
    	driveWritesKBPerSecMD = NewGaugeMD(driveWritesKBPerSec,
    		"Kilobytes written per second on a drive",
    		allDriveLabels...)
    	driveWritesAwaitMD = NewGaugeMD(driveWritesAwait,
    		"Average time for write requests served on a drive",
    		allDriveLabels...)
    	drivePercUtilMD = NewGaugeMD(drivePercUtil,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/RequestTest.kt

        assertThat(bodyToHex(body), "Retransmit body").isEqualTo("48656c6c6f")
      }
    
      @Test
      fun file() {
        val file = File.createTempFile("RequestTest", "tmp")
        val writer = FileWriter(file)
        writer.write("abc")
        writer.close()
        val contentType = "text/plain".toMediaType()
        val body: RequestBody = file.asRequestBody(contentType)
        assertThat(body.contentType()).isEqualTo(contentType)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/request-files.md

    `UploadFile` has the following `async` methods. They all call the corresponding file methods underneath (using the internal `SpooledTemporaryFile`).
    
    * `write(data)`: Writes `data` (`str` or `bytes`) to the file.
    * `read(size)`: Reads `size` (`int`) bytes/characters of the file.
    * `seek(offset)`: Goes to the byte position `offset` (`int`) in the file.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

                writer.println();
                writer.print("    - [");
                writer.print(problem.getSeverity());
                writer.print("] ");
                writer.print(problem.getMessage());
                String location = ModelProblemUtils.formatLocation(problem, modelId);
                if (!location.isEmpty()) {
                    writer.print(" @ ");
                    writer.print(location);
                }
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/internal/http2/Hpack$Reader;->readInt(II)I
    HSPLokhttp3/internal/http2/Hpack$Writer;-><init>(IZLokio/Buffer;I)V
    HSPLokhttp3/internal/http2/Hpack$Writer;->evictToRecoverBytes(I)I
    HSPLokhttp3/internal/http2/Hpack$Writer;->insertIntoDynamicTable(Lokhttp3/internal/http2/Header;)V
    HSPLokhttp3/internal/http2/Hpack$Writer;->writeByteString(Lokio/ByteString;)V
    HSPLokhttp3/internal/http2/Hpack$Writer;->writeHeaders(Ljava/util/List;)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  7. 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)
  8. cmd/storage-interface.go

    	DeleteVol(ctx context.Context, volume string, forceDelete bool) (err error)
    
    	// WalkDir will walk a directory on disk and return a metacache stream on wr.
    	WalkDir(ctx context.Context, opts WalkDirOptions, wr io.Writer) error
    
    	// Metadata operations
    	DeleteVersion(ctx context.Context, volume, path string, fi FileInfo, forceDelMarker bool, opts DeleteOptions) error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. api/go1.txt

    pkg compress/zlib, func NewWriter(io.Writer) *Writer
    pkg compress/zlib, func NewWriterLevel(io.Writer, int) (*Writer, error)
    pkg compress/zlib, func NewWriterLevelDict(io.Writer, int, []uint8) (*Writer, error)
    pkg compress/zlib, method (*Writer) Close() error
    pkg compress/zlib, method (*Writer) Flush() error
    pkg compress/zlib, method (*Writer) Write([]uint8) (int, error)
    pkg compress/zlib, type Writer struct
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    			inlineBuffers[i] = bytes.NewBuffer(buf[:0])
    			defer grid.PutByteBuffer(buf)
    			writers[i] = newStreamingBitrotWriterBuffer(inlineBuffers[i], DefaultBitrotAlgorithm, erasure.ShardSize())
    		}
    	}
    
    	n, erasureErr := erasure.Encode(ctx, data, writers, buffer, writeQuorum)
    	closeBitrotWriters(writers)
    	if erasureErr != nil {
    		return ObjectInfo{}, toObjectErr(erasureErr, minioMetaBucket, key)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top