Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 1,610 for source_ (0.04 seconds)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt

      fun receiveRequest(expected: String) =
        apply {
          actions += { stream ->
            val actual = stream.source.readUtf8(expected.utf8Size())
            if (actual != expected) throw AssertionError("$actual != $expected")
          }
        }
    
      fun exhaustRequest() =
        apply {
          actions += { stream ->
            if (!stream.source.exhausted()) throw AssertionError("expected exhausted")
          }
        }
    
      fun cancelStream() =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

            assertThat(endpointPair.source()).isEqualTo(endpointPair.adjacentNode(node));
            assertThat(endpointPair.target()).isEqualTo(node);
          }
    
          for (String outEdge : network.outEdges(node)) {
            EndpointPair<Integer> endpointPair = network.incidentNodes(outEdge);
            assertThat(endpointPair.source()).isEqualTo(node);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

                    readEmptyLine(socket.source)
                    break
                  }
                  chunkSizes.add(chunkSize)
                  requestBodySink.write(socket.source, chunkSize.toLong())
                  readEmptyLine(socket.source)
                }
              }
    
              else -> {
                hasBody = false // No request body.
              }
            }
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 40.3K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/UnreadableResponseBody.kt

    import okhttp3.ResponseBody
    import okio.Buffer
    import okio.Source
    import okio.Timeout
    import okio.buffer
    
    internal class UnreadableResponseBody(
      private val mediaType: MediaType?,
      private val contentLength: Long,
    ) : ResponseBody(),
      Source {
      override fun contentType() = mediaType
    
      override fun contentLength() = contentLength
    
      override fun source() = buffer()
    
      override fun read(
        sink: Buffer,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 15:19:53 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java

             * Interpolate the value read from the xpp3 document
             * @param source The source value
             * @param fieldName A description of the field being interpolated. The implementation may use this to
             *                           log stuff.
             * @return The interpolated value.
             */
            String transform(String source, String fieldName);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. okhttp-zstd/src/main/kotlin/okhttp3/zstd/Zstd.kt

    import okhttp3.CompressionInterceptor
    import okio.BufferedSource
    import okio.Source
    
    /**
     * Support for Zstandard encoding. Use via the [CompressionInterceptor].
     */
    object Zstd : CompressionInterceptor.DecompressionAlgorithm {
      override val encoding: String get() = "zstd"
    
      override fun decompress(compressedSource: BufferedSource): Source = compressedSource.zstdDecompress()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 18:34:32 GMT 2025
    - 1K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

        public static CommonsCliMavenOptions parse(String source, String[] args) throws ParseException {
            CLIManager cliManager = new CLIManager();
            return new CommonsCliMavenOptions(source, cliManager, cliManager.parse(args));
        }
    
        protected CommonsCliMavenOptions(String source, CLIManager cliManager, CommandLine commandLine) {
            super(source, cliManager, commandLine);
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 17:39:57 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  8. README.md

    [pip package](https://www.tensorflow.org/install/pip), to
    [enable GPU support](https://www.tensorflow.org/install/gpu), use a
    [Docker container](https://www.tensorflow.org/install/docker), and
    [build from source](https://www.tensorflow.org/install/source).
    
    To install the current release, which includes support for
    [CUDA-enabled GPU cards](https://www.tensorflow.org/install/gpu) *(Ubuntu and
    Windows)*:
    
    ```
     pip install tensorflow
    ```
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Apr 02 10:38:57 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt

      fun maxDataLength(): Int = maxFrameSize
    
      /**
       * `source.length` may be longer than the max length of the variant's data frame. Implementations
       * must send multiple frames as necessary.
       *
       * @param source the buffer to draw bytes from. May be null if byteCount is 0.
       * @param byteCount must be between 0 and the minimum of `source.length` and [maxDataLength].
       */
      @Throws(IOException::class)
      fun data(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/SnippetsTask.groovy

            }
        }
    
        static Source matchSource(String line) {
            def matcher = line =~ /\["?source"?,\s*"?([-\w]+)"?(,((?!id=).)*(id="?([-\w]+)"?)?(.*))?].*/
            if(matcher.matches()){
                return new Source(matches: true, language: matcher.group(1),  name: matcher.group(5))
            }
            return new Source(matches: false)
        }
    
        static class Source {
            boolean matches
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 10:08:26 GMT 2021
    - 17.8K bytes
    - Click Count (0)
Back to Top