Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for sink (0.06 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

            override fun contentType(): MediaType? {
              return null
            }
    
            override fun writeTo(sink: BufferedSink) {
              sink.writeUtf8("abc")
              sink.flush()
              makeFailingCall()
              sink.writeUtf8("def")
              sink.flush()
            }
          }
        val call =
          client.newCall(
            Request(
              url = server.url("/"),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

              url = server.url("/"),
              body =
                object : ForwardingRequestBody(transferKind.newRequestBody("def")) {
                  override fun writeTo(sink: BufferedSink) {
                    sinkReference.set(sink)
                    super.writeTo(sink)
                  }
                },
            ),
          )
        assertThat(readAscii(response.body.byteStream(), Int.MAX_VALUE))
          .isEqualTo("abc")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

        return client.newCall(request).execute()
      }
    
      private fun writeFile(
        directory: Path,
        file: String,
        content: String,
      ) {
        val sink = fileSystem.sink(directory.div(file)).buffer()
        sink.writeUtf8(content)
        sink.close()
      }
    
      /**
       * @param delta the offset from the current date to use. Negative values yield dates in the past;
       * positive values yield dates in the future.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  4. okhttp-android/src/main/baseline-prof.txt

    HSPLokio/AsyncTimeout$Watchdog;-><init>()V
    HSPLokio/AsyncTimeout$Watchdog;->run()V
    HSPLokio/AsyncTimeout$sink$1;-><init>(Lokio/AsyncTimeout;Lokio/Sink;)V
    HSPLokio/AsyncTimeout$sink$1;->close()V
    HSPLokio/AsyncTimeout$sink$1;->flush()V
    HSPLokio/AsyncTimeout$sink$1;->write(Lokio/Buffer;J)V
    HSPLokio/AsyncTimeout$source$1;-><init>(Lokio/AsyncTimeout;Lokio/Source;)V
    HSPLokio/AsyncTimeout$source$1;->close()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)
  5. tensorflow/c/c_api.cc

        return ToOperation(iter->second);
      }
    }
    
    TF_Operation* TF_GraphNextOperation(TF_Graph* graph, size_t* pos) {
      if (*pos == 0) {
        // Advance past the first sentinel nodes in every graph (the source & sink).
        *pos += 2;
      } else {
        // Advance to the next node.
        *pos += 1;
      }
    
      mutex_lock l(graph->mu);
      while (*pos < static_cast<size_t>(graph->graph.num_node_ids())) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    Gryphon went on.  `Or would you like the Mock Turtle to sing you
    a song?'
    
      `Oh, a song, please, if the Mock Turtle would be so kind,'
    Alice replied, so eagerly that the Gryphon said, in a rather
    offended tone, `Hm!  No accounting for tastes!  Sing her
    "Turtle Soup," will you, old fellow?'
    
      The Mock Turtle sighed deeply, and began, in a voice sometimes
    choked with sobs, to sing this:--
    
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

      }
    
      /**
       * Returns an {@link AsyncClosingFunction} that applies an {@link AsyncFunction} to an input,
       * ignoring the DeferredCloser and returning a {@code ClosingFuture} derived from the returned
       * {@link ListenableFuture}.
       *
       * <p>Use this method to pass a transformation to {@link #transformAsync(AsyncClosingFunction,
       * Executor)} or to {@link #catchingAsync(Class, AsyncClosingFunction, Executor)} as long as it
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Maps.java

        }
      }
    
      /**
       * Returns a {@link Converter} that converts values using {@link BiMap#get bimap.get()}, and whose
       * inverse view converts values using {@link BiMap#inverse bimap.inverse()}{@code .get()}.
       *
       * <p>To use a plain {@link Map} as a {@link Function}, see {@link
       * com.google.common.base.Functions#forMap(Map)} or {@link
       * com.google.common.base.Functions#forMap(Map, Object)}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Maps.java

        }
      }
    
      /**
       * Returns a {@link Converter} that converts values using {@link BiMap#get bimap.get()}, and whose
       * inverse view converts values using {@link BiMap#inverse bimap.inverse()}{@code .get()}.
       *
       * <p>To use a plain {@link Map} as a {@link Function}, see {@link
       * com.google.common.base.Functions#forMap(Map)} or {@link
       * com.google.common.base.Functions#forMap(Map, Object)}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  10. src/main/webapp/css/bootstrap.min.css

    .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6}.nav-tabs .nav-link.disabled{color:#6c757d;background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#495057;background-color:#fff;border-color:#dee2e6 #dee2e6 #fff}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.nav-pills .nav-link{border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#007bff}.nav-fill .nav-item{-ms-flex:1...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Dec 25 08:05:52 UTC 2019
    - 155.8K bytes
    - Viewed (0)
Back to top