Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 892 for SOURCE (0.42 sec)

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

       * most [BufferedSource] instances, but not of [Buffer].
       */
      private fun responseBody(content: String): ResponseBody {
        val data = Buffer().writeUtf8(content)
        val source: Source =
          object : Source {
            var closed = false
    
            override fun close() {
              closed = true
            }
    
            override fun read(
              sink: Buffer,
              byteCount: Long,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

            protected void mergePlugin(Plugin target, Plugin source, boolean sourceDominant, Map<Object, Object> context) {
                if (source.isInherited()) {
                    mergeConfigurationContainer(target, source, sourceDominant, context);
                }
                mergePlugin_GroupId(target, source, sourceDominant, context);
                mergePlugin_ArtifactId(target, source, sourceDominant, context);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  3. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuildingRequest.java

        @Override
        public Source getGlobalToolchainsSource() {
            return globalToolchainsSource;
        }
    
        @Override
        public ToolchainsBuildingRequest setGlobalToolchainsSource(Source globalToolchainsSource) {
            this.globalToolchainsSource = globalToolchainsSource;
            return this;
        }
    
        @Override
        public Source getUserToolchainsSource() {
            return userToolchainsSource;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 05 09:37:42 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsRelatedContentBhv.java

                result.setTerm(DfTypeUtil.toString(source.get("term")));
                result.setUpdatedBy(DfTypeUtil.toString(source.get("updatedBy")));
                result.setUpdatedTime(DfTypeUtil.toLong(source.get("updatedTime")));
                result.setVirtualHost(DfTypeUtil.toString(source.get("virtualHost")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java

         */
        ModelData(ModelSource source, Model model, String groupId, String artifactId, String version) {
            this.source = source;
            this.model = model;
            setGroupId(groupId);
            setArtifactId(artifactId);
            setVersion(version);
        }
    
        public ModelSource getSource() {
            return source;
        }
    
        /**
         * Gets the model being wrapped.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

        private var closed: Boolean = false
    
        override fun timeout(): Timeout = timeout
    
        override fun write(
          source: Buffer,
          byteCount: Long,
        ) {
          check(!closed) { "closed" }
          checkOffsetAndCount(source.size, 0, byteCount)
          socket.sink.write(source, byteCount)
        }
    
        override fun flush() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

     * unhealthy.
     *
     * @param source the source used to read bytes from the socket.
     */
    internal fun Socket.isHealthy(source: BufferedSource): Boolean =
      try {
        val readTimeout = soTimeout
        try {
          soTimeout = 1
          !source.exhausted()
        } finally {
          soTimeout = readTimeout
        }
      } catch (_: SocketTimeoutException) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt

        }
    
      /**
       * A decompression algorithm such as Gzip. Must provide the Accept-Encoding value and decompress a Source.
       */
      interface DecompressionAlgorithm {
        val encoding: String
    
        fun decompress(compressedSource: BufferedSource): Source
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 15:15:28 UTC 2025
    - 2.9K bytes
    - Viewed (1)
  9. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

        assertTrue(newByteSource(0, start).contentEquals(joined));
      }
    
      public void testReadSingleByte() throws Exception {
        ByteSource source = newByteSource(0, 10);
        ByteSource joined = ByteSource.concat(source, source);
        assertEquals(20, joined.size());
        InputStream in = joined.openStream();
        assertFalse(in.markSupported());
        assertEquals(10, in.available());
        int total = 0;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        // Disable the timeout to read the first byte of a new frame.
        val b0: Int
        val timeoutBefore = source.timeout().timeoutNanos()
        source.timeout().clearTimeout()
        try {
          b0 = source.readByte() and 0xff
        } finally {
          source.timeout().timeout(timeoutBefore, TimeUnit.NANOSECONDS)
        }
    
        opcode = b0 and B0_MASK_OPCODE
        isFinalFrame = b0 and B0_FLAG_FIN != 0
    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