Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 53 for logically (0.06 sec)

  1. android/guava/src/com/google/common/base/Converter.java

       *     very rare. Note that if backward conversion is not only unimplemented but
       *     unimplement<i>able</i> (for example, consider a {@code Converter<Chicken, ChickenNugget>}),
       *     then this is not logically a {@code Converter} at all, and should just implement {@link
       *     Function}.
       */
      @ForOverride
      protected abstract A doBackward(B b);
    
      // API (consumer-side) methods
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ListsTest.java

       * Lists#newArrayList}.
       */
      public void testArraysAsList() {
        List<String> ourWay = Lists.newArrayList("foo", "bar", "baz");
        List<String> otherWay = asList("foo", "bar", "baz");
    
        // They're logically equal
        assertEquals(ourWay, otherWay);
    
        // The result of Arrays.asList() is mutable
        otherWay.set(0, "FOO");
        assertEquals("FOO", otherWay.get(0));
    
        // But it can't grow
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

      /**
       * Tracks the currently acquired locks for each Thread, kept up to date by calls to {@link
       * #aboutToAcquire(CycleDetectingLock)} and {@link #lockStateChanged(CycleDetectingLock)}.
       */
      // This is logically a Set, but an ArrayList is used to minimize the amount
      // of allocation done on lock()/unlock().
      private static final ThreadLocal<ArrayList<LockGraphNode>> acquiredLocks =
          new ThreadLocal<ArrayList<LockGraphNode>>() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

         * same notion of equivalence.
         *
         * @return a reference to {@code set}, for convenience
         */
        // Note: S should logically extend Set<? super E> but can't due to either
        // some javac bug or some weirdness in the spec, not sure which.
        @CanIgnoreReturnValue
        public <S extends Set<E>> S copyInto(S set) {
          set.addAll(this);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

    import okhttp3.internal.toHeaderList
    import okio.AsyncTimeout
    import okio.Buffer
    import okio.BufferedSource
    import okio.Sink
    import okio.Socket
    import okio.Source
    import okio.Timeout
    
    /** A logical bidirectional stream. */
    @Suppress("NAME_SHADOWING")
    class Http2Stream internal constructor(
      val id: Int,
      val connection: Http2Connection,
      outFinished: Boolean,
      inFinished: Boolean,
      headers: Headers?,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  6. okcurl/README.md

    OkCurl
    ======
    
    _A curl for the next-generation web._
    
    OkCurl is an OkHttp-backed curl clone which allows you to test OkHttp's HTTP engine (including
    HTTP/2) against web servers.
    
    To run locally, make sure you have GRAALVM_HOME set and run
    
    ```bash
    ./okcurl
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 08:48:55 UTC 2025
    - 261 bytes
    - Viewed (0)
  7. deploy_website.sh

    DIR=temp-clone
    
    # Delete any existing temporary website clone
    rm -rf $DIR
    
    # Clone the current repo into temp folder
    git clone $REPO $DIR
    # Replace `git clone` with these lines to hack on the website locally
    # cp -a . "../okhttp-website"
    # mv "../okhttp-website" "$DIR"
    
    # Move working directory into temp folder
    cd $DIR
    
    # Generate the API docs
    ./gradlew dokkaHtmlMultiModule
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Nov 20 15:26:12 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. test_docs.sh

    cat README.md | grep -v 'project website' > docs/index.md
    cp CHANGELOG.md docs/changelogs/changelog.md
    cp CONTRIBUTING.md docs/contribute/contributing.md
    
    # Build the site locally
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:52:16 UTC 2024
    - 718 bytes
    - Viewed (1)
  9. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt

        assertThat(response.body.string()).isEqualTo("abc")
        assertThat(socksProxy.connectionCount()).isEqualTo(1)
      }
    
      @Test
      fun checkRemoteDNSResolve() {
        // This testcase will fail if the target is resolved locally instead of through the proxy.
        server.enqueue(MockResponse.Builder().body("abc").build())
        val client =
          clientTestRule
            .newClientBuilder()
            .proxy(socksProxy.proxy())
            .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. .github/workflows/ci.yml

          # - 24 for running Javadoc and javac (to help people who build Guava locally and might not use a recent JDK to run Maven)
          - name: 'Set up JDKs'
            uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
            with:
              java-version: |
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 19:19:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top