Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 316 for bread (0.06 seconds)

  1. android/guava/src/com/google/common/io/CharStreams.java

        checkNotNull(from);
        checkNotNull(to);
        char[] buf = new char[DEFAULT_BUF_SIZE];
        int nRead;
        long total = 0;
        while ((nRead = from.read(buf)) != -1) {
          to.append(buf, 0, nRead);
          total += nRead;
        }
        return total;
      }
    
      /**
       * Copies all characters between the {@link Reader} and {@link Writer} objects. Does not close or
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 13:56:24 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

          frameCallback.onReadMessage(messageFrameBuffer.readByteString())
        }
      }
    
      /** Read headers and process any control frames until we reach a non-control frame. */
      @Throws(IOException::class)
      private fun readUntilNonControlFrame() {
        while (!receivedCloseFrame) {
          readHeader()
          if (!isControlFrame) {
            break
          }
          readControlFrame()
        }
      }
    
      /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/CharSource.java

     *       block indefinitely or fail if the source creates an infinite reader.
     *   <li><b>Non-destructive:</b> A <i>destructive</i> reader will consume or otherwise alter the
     *       source as they are read from it. A source that provides such readers will not be reusable,
     *       and operations that read from the stream (including {@link #length()}, in some
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

            b += 2 // We rewound two bytes and then added four.
            break
          } else {
            return null // Wrong delimiter.
          }
        }
    
        // Read a group, one to four hex digits.
        var value = 0
        groupOffset = i
        while (i < limit) {
          val hexDigit = input[i].parseHexDigit()
          if (hexDigit == -1) break
          value = (value shl 4) + hexDigit
          i++
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

                    removeWaiter(node);
                    break long_wait_loop; // jump down to the busy wait loop
                  }
                }
              }
              oldHead = waitersField; // re-read and loop.
            } while (oldHead != Waiter.TOMBSTONE);
          }
          // re-read valueField, if we get here then we must have observed a TOMBSTONE while trying to
          // add a waiter.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 33.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableMap.java

            for (int h = Hashing.smear(key.hashCode()); ; h++) {
              h &= mask;
              int previousKeyIndex = hashTable[h] & BYTE_MASK; // unsigned read
              if (previousKeyIndex == BYTE_MASK) { // -1 signed becomes 255 unsigned
                hashTable[h] = (byte) outKeyIndex;
                break;
              } else if (key.equals(alternatingKeysAndValues[previousKeyIndex])) {
                duplicateKey =
                    new Builder.DuplicateKey(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/io/ByteStreams.java

          int off = (int) expectedSize - remaining;
          int read = in.read(bytes, off, remaining);
          if (read == -1) {
            // end of stream before reading expectedSize bytes
            // just return the bytes read so far
            return Arrays.copyOf(bytes, off);
          }
          remaining -= read;
        }
    
        // bytes is now full
        int b = in.read();
        if (b == -1) {
          return bytes;
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/Files.java

       *
       * @param file the file to read
       * @param processor the object to which the bytes of the file are passed.
       * @return the result of the byte processor
       * @throws IOException if an I/O error occurs
       * @deprecated Prefer {@code asByteSource(file).read(processor)}.
       */
      @Deprecated
      @InlineMe(
          replacement = "Files.asByteSource(file).read(processor)",
          imports = "com.google.common.io.Files")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

                shift += 7
              } else {
                result += b shl shift // Last byte.
                break
              }
            }
            return result
          }
    
          /** Reads a potentially Huffman encoded byte string. */
          @Throws(IOException::class)
          fun readByteString(): ByteString {
            val firstByte = readByte()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 23.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractService.java

            listeners.enqueue(TERMINATED_FROM_NEW_EVENT);
            break;
          case STARTING:
            listeners.enqueue(TERMINATED_FROM_STARTING_EVENT);
            break;
          case RUNNING:
            listeners.enqueue(TERMINATED_FROM_RUNNING_EVENT);
            break;
          case STOPPING:
            listeners.enqueue(TERMINATED_FROM_STOPPING_EVENT);
            break;
          case TERMINATED:
          case FAILED:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 20.3K bytes
    - Click Count (0)
Back to Top