Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 601 for Lavoie (1.16 sec)

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

        return remaining() > 0;
      }
    
      private int remaining() {
        requireNonNull(seq); // safe as long as we call this only after checkOpen
        return seq.length() - pos;
      }
    
      /*
       * To avoid the need to call requireNonNull so much, we could consider more clever approaches,
       * such as:
       *
       * - Make checkOpen return the non-null `seq`. Then callers can assign that to a local variable or
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/EquivalenceTest.java

            .testEquals();
      }
    
      /*
       * We use large numbers to avoid the integer cache. Normally, we'd accomplish that merely by using
       * `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer`
       * gets translated back to `Integer.valueOf` because that is the only thing J2KT can support. And
       * anyway, it's nice to avoid `Integer.valueOf` because the Android toolchain optimizes multiple
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  3. guava/module.json

                "requires": "1.0.2"
              }
            },
            {
              "group": "com.google.guava",
              "module": "listenablefuture",
              "version": {
                "requires": "9999.0-empty-to-avoid-conflict-with-guava"
              }
            },
            {
              "group": "com.google.code.findbugs",
              "module": "jsr305",
              "version": {
                "requires": "${jsr305.version}"
              }
    Json
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Oct 17 18:11:49 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  4. okhttp-hpacktests/README.md

    implementation.  The HPACK test cases are in a separate git submodule, so to
    initialize them, you must run:
    
        git submodule init
        git submodule update
    
    TODO
    ----
    
     * Add maven goal to avoid manual call to git submodule init.
     * Make hpack-test-case update itself from git, and run new tests.
     * Add maven goal to generate stories and a pull request to hpack-test-case
       to have others validate our output.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Dec 15 16:59:53 GMT 2014
    - 578 bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/internal/TriggerSink.kt

      private val trigger: () -> Unit,
    ) : Sink by delegate {
      private var bytesWritten = 0L
    
      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
        if (byteCount == 0L) return // Avoid double-triggering.
    
        if (bytesWritten == triggerByteCount) {
          source.skip(byteCount)
          return
        }
    
        val toWrite = minOf(byteCount, triggerByteCount - bytesWritten)
        bytesWritten += toWrite
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableEnumMap.java

    import java.util.Map;
    import java.util.Map.Entry;
    
    /**
     * GWT emulation of {@link ImmutableEnumMap}. The type parameter is not bounded by {@code Enum<E>}
     * to avoid code-size bloat.
     *
     * @author Hayward Chan
     */
    @ElementTypesAreNonnullByDefault
    final class ImmutableEnumMap<K, V> extends ForwardingImmutableMap<K, V> {
      static <K, V> ImmutableMap<K, V> asImmutable(Map<K, V> map) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * family. <b>Avoid</b> creating a mock or stub {@code Future}. Mock and stub implementations are
     * fragile because they assume that only certain methods will be called and because they often
     * implement subtleties of the API improperly.
     *
     * <p><b>Custom implementation</b>: Avoid implementing {@code ListenableFuture} from scratch. If you
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/common/JvmCategory.kt

        override val vendor: JvmVendor,
        override val version: JvmVersion
    ) : Jvm {
        MIN_VERSION(JvmVendor.oracle, JvmVersion.java8),
        // Oracle doesn't provide zip JDK distribution for Windows anymore, we avoid using it
        MIN_VERSION_WINDOWS(JvmVendor.openjdk, JvmVersion.java8),
        MAX_LTS_VERSION(JvmVendor.openjdk, JvmVersion.java21),
        MAX_VERSION(JvmVendor.openjdk, JvmVersion.java22),
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Apr 06 02:21:32 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BitString.kt

     */
    internal data class BitString(
      val byteString: ByteString,
      /** 0-7 unused bits in the last byte. */
      val unusedBitsCount: Int,
    ) {
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + byteString.hashCode()
        result = 31 * result + unusedBitsCount
        return result
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http/RealResponseBody.kt

    package okhttp3.internal.http
    
    import okhttp3.MediaType
    import okhttp3.MediaType.Companion.toMediaTypeOrNull
    import okhttp3.ResponseBody
    import okio.BufferedSource
    
    class RealResponseBody(
      /**
       * Use a string to avoid parsing the content type until needed. This also defers problems caused
       * by malformed content types.
       */
      private val contentTypeString: String?,
      private val contentLength: Long,
      private val source: BufferedSource,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.2K bytes
    - Viewed (0)
Back to top