Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 337 for frush (0.18 sec)

  1. guava-tests/test/com/google/common/io/FlushablesTest.java

              .when(mockFlushable)
              .flush();
        }
      }
    
      // Flush the flushable using the Flushables, passing in the swallowException
      // parameter. expectThrown determines whether we expect an exception to
      // be thrown by Flushables.flush;
      private void doFlush(Flushable flushable, boolean swallowException, boolean expectThrown)
          throws IOException {
        try {
          Flushables.flush(flushable, swallowException);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    	str := strings.Repeat("x", 1<<10)
    	bs := []byte(str)
    	for i := 0; i < b.N; i++ {
    		bw := NewWriter(io.Discard)
    		bw.Flush()
    		bw.WriteByte('a')
    		bw.Flush()
    		bw.WriteRune('B')
    		bw.Flush()
    		bw.Write(bs)
    		bw.Flush()
    		bw.WriteString(str)
    		bw.Flush()
    	}
    }
    
    func BenchmarkWriterFlush(b *testing.B) {
    	b.ReportAllocs()
    	bw := NewWriter(io.Discard)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/TestCharSink.java

      public Writer openStream() throws IOException {
        // using TestByteSink's output stream to get option behavior, so flush to it on every write
        return new FilterWriter(new OutputStreamWriter(byteSink.openStream(), UTF_8)) {
          @Override
          public void write(int c) throws IOException {
            super.write(c);
            flush();
          }
    
          @Override
          public void write(char[] cbuf, int off, int len) throws IOException {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Fri Nov 09 21:39:24 GMT 2012
    - 2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/TestWriter.java

        super.write(c);
        flush(); // flush write to TestOutputStream to get its behavior
      }
    
      @Override
      public void write(char[] cbuf, int off, int len) throws IOException {
        super.write(cbuf, off, len);
        flush();
      }
    
      @Override
      public void write(String str, int off, int len) throws IOException {
        super.write(str, off, len);
        flush();
      }
    
      public boolean closed() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  5. docs/pt/docs/async.md

    Enquanto você espera, você vai com seu _crush_ :heart_eyes: e pega uma mesa, senta e conversa com seu _crush_ :heart_eyes: por um bom tempo (como seus hambúrgueres são muito saborosos, leva um tempo para serem preparados).
    
    Enquanto você está sentado na mesa com seu _crush_ :heart_eyes:, esperando os hambúrgueres, você pode gastar o tempo admirando como lindo, maravilhoso e esperto é seu _crush_ :heart_eyes:.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/OutputStreamUtil.java

                throw new IORuntimeException(e);
            }
        }
    
        /**
         * {@link OutputStream}をflushします。
         *
         * @param out
         *            出力ストリーム
         */
        public static void flush(final OutputStream out) {
            if (out == null) {
                return;
            }
            try {
                out.flush();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  7. docs/fr/docs/async.md

    Pendant que vous êtes assis à table, en attendant que les burgers 🍔 soient prêts, vous pouvez passer ce temps à admirer à quel point votre crush 😍 est géniale, mignonne et intelligente ✨😍✨.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 24K bytes
    - Viewed (0)
  8. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

          val clientCertificates =
            HandshakeCertificates.Builder()
              .addPlatformTrustedCertificates()
              .addInsecureHost(server.hostName)
              .build()
    
          // Need fresh client to reset sslSocketFactoryOrNull
          client =
            OkHttpClient.Builder()
              .eventListenerFactory(
                clientTestRule.wrap(
                  object : EventListener() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 27K bytes
    - Viewed (1)
  9. okhttp/src/test/java/okhttp3/DuplexTest.kt

          requestBody.flush()
          val responseBody = response.body.source()
          assertThat(responseBody.readUtf8Line())
            .isEqualTo("response B")
          requestBody.writeUtf8("request C\n")
          requestBody.flush()
          assertThat(responseBody.readUtf8Line())
            .isEqualTo("response D")
          requestBody.writeUtf8("request E\n")
          requestBody.flush()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/dependencies/sub-dependencies.md

        ```Python hl_lines="1"
        async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
            return {"fresh_value": fresh_value}
        ```
    
    === "Python 3.8+ nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python hl_lines="1"
        async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:09:48 GMT 2024
    - 6.3K bytes
    - Viewed (0)
Back to top