Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 1,154 for writeln (0.17 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt

        val out = Buffer()
        body.writeTo(out)
        assertThat(out.readUtf8()).isEqualTo(expected)
      }
    
      @Test
      fun encodedPair() {
        val body =
          FormBody
            .Builder()
            .add("sim", "ple")
            .build()
        val expected = "sim=ple"
        assertThat(body.contentLength()).isEqualTo(expected.length.toLong())
        val buffer = Buffer()
        body.writeTo(buffer)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. docs/compression/README.md

    Compression happens inflight, i.e objects are compressed before being written to disk(s).
    MinIO uses [`klauspost/compress/s2`](https://github.com/klauspost/compress/tree/master/s2)
    streaming compression due to its stability and performance.
    
    This algorithm is specifically optimized for machine generated content.
    Write throughput is typically at least 500MB/s per CPU core,
    and scales with the number of available CPU cores.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. docs/debugging/inspect/main.go

    			if err != nil {
    				fatalErr(err)
    			}
    		}
    		output, err := os.Create(outputFileName)
    		fatalErr(err)
    		msg := fmt.Sprintf("output written to %s", outputFileName)
    		err = extractInspectV1(*keyHex, input, output, msg)
    		output.Close()
    	case len(privateKeys) != 0:
    		outputFileName := strings.TrimSuffix(outputFileName, ".zip")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Feb 17 17:09:42 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. 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 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37K bytes
    - Viewed (1)
  5. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

        override fun contentType() = delegate.contentType()
    
        override fun isDuplex() = true
    
        override fun writeTo(sink: BufferedSink) {
          executorService.schedule({
            try {
              delegate.writeTo(sink)
              sink.close()
            } catch (e: IOException) {
              throw RuntimeException(e)
            }
          }, delayMillis, TimeUnit.MILLISECONDS)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

         * another thread or the worker task has cleared the count and set the state.
         *
         * <p>When {@link #executor} is a directExecutor(), the value written to
         * {@code workerRunningState} will be available synchronously, and behaviour will be
         * deterministic.
         */
        @SuppressWarnings("GuardedBy")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/SequentialExecutor.java

         * another thread or the worker task has cleared the count and set the state.
         *
         * <p>When {@link #executor} is a directExecutor(), the value written to
         * {@code workerRunningState} will be available synchronously, and behaviour will be
         * deterministic.
         */
        @SuppressWarnings("GuardedBy")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/events.md

    ///
    
    /// tip
    
    Notice that in this case we are using a standard Python `open()` function that interacts with a file.
    
    So, it involves I/O (input/output), that requires "waiting" for things to be written to disk.
    
    But `open()` doesn't use `async` and `await`.
    
    So, we declare the event handler function with standard `def` instead of `async def`.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/util/HMACT64Test.java

            byte[] buffer = new byte[32];
            int bytesWritten = hmac.engineDigest(buffer, 5, 16);
    
            assertEquals(16, bytesWritten);
            // Check that bytes were written to the correct position
            byte[] extractedResult = Arrays.copyOfRange(buffer, 5, 21);
            assertEquals(16, extractedResult.length);
        }
    
        @Test
        void testEngineDigestWithInsufficientBuffer() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

      private val messageFrameBuffer = Buffer()
    
      /** Lazily initialized on first use. */
      private var messageInflater: MessageInflater? = null
    
      // Masks are only a concern for server writers.
      private val maskKey: ByteArray? = if (isClient) null else ByteArray(4)
      private val maskCursor: Buffer.UnsafeCursor? = if (isClient) null else Buffer.UnsafeCursor()
    
      interface FrameCallback {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 16:11:23 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top