Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 269 for bread (0.16 seconds)

  1. android/guava/src/com/google/common/graph/GraphBuilder.java

     * graph.putEdge("bread", "bread");
     * graph.putEdge("chocolate", "peanut butter");
     * graph.putEdge("peanut butter", "jelly");
     *
     * // Building an immutable graph
     * ImmutableGraph<String> immutableGraph =
     *     GraphBuilder.undirected()
     *         .allowsSelfLoops(true)
     *         .<String>immutable()
     *         .putEdge("bread", "bread")
     *         .putEdge("chocolate", "peanut butter")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  2. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

              try (InputStreamReader reader = new InputStreamReader(byteSource.openStream(), cs)) {
                int nRead = 0;
                while (remaining > 0 && (nRead = reader.read(buffer, bufIndex, remaining)) != -1) {
                  bufIndex += nRead;
                  remaining -= nRead;
                }
                if (nRead == -1) {
                  // we reached EOF
                  return new String(buffer, 0, bufIndex);
                }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

              try (InputStreamReader reader = new InputStreamReader(byteSource.openStream(), cs)) {
                int nRead = 0;
                while (remaining > 0 && (nRead = reader.read(buffer, bufIndex, remaining)) != -1) {
                  bufIndex += nRead;
                  remaining -= nRead;
                }
                if (nRead == -1) {
                  // we reached EOF
                  return new String(buffer, 0, bufIndex);
                }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt

                else -> source.read(sink, limit)
              }
            }
          }
    
          override fun timeout(): Timeout = timeout
        }
    
        /**
         * Returns a value in [0..maxByteCount] with the number of bytes that can be read from [source]
         * in the current part. If this returns 0 the current part is exhausted; otherwise it has at
         * least one byte left to read.
         */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt

        eqCount += skipAll('='.code.toByte())
        while (true) {
          if (peek == null) {
            peek = readToken()
            if (skipCommasAndWhitespace()) break // We peeked a scheme name followed by ','.
            eqCount = skipAll('='.code.toByte())
          }
          if (eqCount == 0) break // We peeked a scheme name.
          if (eqCount > 1) return // Unexpected '=' characters.
          if (skipCommasAndWhitespace()) return // Unexpected ','.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  6. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

        val result = mutableListOf<Story>()
        var i = 0
        while (true) { // break after last test.
          val storyResourceName =
            String.format(
              "/hpack-test-case/%s/story_%02d.json",
              testFolderName,
              i,
            )
          val storyInputStream =
            HpackJsonUtil::class.java.getResourceAsStream(storyResourceName)
              ?: break
          try {
            storyInputStream.use {
              val story =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/io/LineReader.java

          // The default implementation of Reader#read(CharBuffer) allocates a
          // temporary char[], so we call Reader#read(char[], int, int) instead.
          int read = (reader != null) ? reader.read(buf, 0, buf.length) : readable.read(cbuf);
          if (read == -1) {
            lineBuf.finish();
            break;
          }
          lineBuf.add(buf, 0, read);
        }
        return lines.poll();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/HeadersReader.kt

      fun readHeaders(): Headers {
        val result = Headers.Builder()
        while (true) {
          val line = readLine()
          if (line.isEmpty()) break
          result.addLenient(line)
        }
        return result.build()
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

                            break; // stop at next sample or end of example block
                        }
    
                        if (sourceLang == null) {
                            String parsed = parseSourceLang(look);
                            if (parsed != null) {
                                sourceLang = parsed;
                                break; // found the language for this sample
                            }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/IsProbablyUtf8.kt

     * signatures.
     *
     * @param codePointLimit the number of code points to read in order to make a decision.
     */
    internal fun BufferedSource.isProbablyUtf8(codePointLimit: Long = Long.MAX_VALUE): Boolean {
      try {
        val peek = peek()
        for (i in 0 until codePointLimit) {
          if (peek.exhausted()) {
            break
          }
          val codePoint = peek.readUtf8CodePoint()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Oct 06 22:47:06 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top