Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 126 for IsSink (0.93 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        set("k1", "a", "a")
    
        // Create an editor, then detach it.
        val editor = cache.edit("k1")!!
        editor.newSink(0).buffer().use { sink ->
          cache.evictAll()
    
          // Complete the original edit. It goes into a black hole.
          sink.writeUtf8("bb")
        }
        assertThat(cache["k1"]).isNull()
      }
    
      @Test
      fun `edit discarded after editor detached with concurrent write`() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 59.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

    import okhttp3.internal.tls.CertificateChainCleaner
    import okhttp3.internal.tls.OkHostnameVerifier
    import okhttp3.internal.toImmutableList
    import okhttp3.internal.unmodifiable
    import okhttp3.internal.ws.RealWebSocket
    import okio.Sink
    import okio.Source
    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    
    /**
     * Factory for [calls][Call], which can be used to send HTTP requests and read their responses.
     *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/SourceSinkFactories.java

            return new String(factory.getSinkContents(), UTF_8);
          }
    
          @Override
          public String getExpected(String data) {
            /*
             * Get what the byte sink factory would expect for no written bytes, then append expected
             * string to that.
             */
            byte[] factoryExpectedForNothing = factory.getExpected(new byte[0]);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/projects/lifecycle-executor/project-with-inheritance/pom.xml

            <version>${wagonVersion}</version>
          </dependency>
          <!--  Doxia -->
          <dependency>
            <groupId>org.apache.maven.doxia</groupId>
            <artifactId>doxia-sink-api</artifactId>
            <version>${doxiaVersion}</version>
          </dependency>
          <!--  Maven Shared -->
          <dependency>
            <groupId>org.sonatype.spice</groupId>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/projects/plugin-manager/project-with-inheritance/pom.xml

            <version>${wagonVersion}</version>
          </dependency>
          <!--  Doxia -->
          <dependency>
            <groupId>org.apache.maven.doxia</groupId>
            <artifactId>doxia-sink-api</artifactId>
            <version>${doxiaVersion}</version>
          </dependency>
          <!--  Maven Shared -->
          <dependency>
            <groupId>org.sonatype.spice</groupId>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

      var writeBytesMaximum: Long = peerSettings.initialWindowSize.toLong()
        private set
    
      internal val socket: BufferedSocket = builder.socket
      val writer = Http2Writer(socket.sink, client)
    
      // Visible for testing
      val readerRunnable = ReaderRunnable(Http2Reader(socket.source, client))
    
      // Guarded by this.
      private val currentPushRequests = mutableSetOf<Int>()
    
      init {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

            override fun contentLength(): Long = TODO()
    
            override fun isDuplex(): Boolean = TODO()
    
            override fun isOneShot(): Boolean = TODO()
    
            override fun writeTo(sink: BufferedSink) = TODO()
          }
        requestBody = "".toRequestBody(null)
        requestBody = "".toRequestBody("".toMediaTypeOrNull())
        requestBody = ByteString.EMPTY.toRequestBody(null)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 47K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

        }
    
        protected final void createTerminal(C context) {
            if (context.terminal == null) {
                // Create the build log appender; also sets MavenSimpleLogger sink
                ProjectBuildLogAppender projectBuildLogAppender =
                        new ProjectBuildLogAppender(determineBuildEventListener(context));
                context.closeables.add(projectBuildLogAppender);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.33.md

    - Fixed a bug where adding an ephemeral container to a pod which references a new secret or config map doesn't give the pod access to that new secret or config map. (#114984, @cslink) ([#129670](https://github.com/kubernetes/kubernetes/pull/129670), [@cslink](https://github.com/cslink)) [SIG Auth]
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Dec 10 01:15:24 UTC 2025
    - 334.8K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_3x.md

        This simple option dramatically changes the behavior of the request body and of the entire
        call.
    
        The `RequestBody.writeTo()` method may now retain a reference to the provided sink and
        hand it off to another thread to write to it after `writeTo` returns.
    
        The `EventListener` may now see requests and responses interleaved in ways not previously
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top