Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for broke (0.03 sec)

  1. CHANGELOG.md

        (by catching the `IllegalStateException` if they weren't available). This new API restores that
        capability.
    
     *  Fix: Don't crash on `trailers()` if the response doesn't have a body. We broke [Retrofit] users
        who read the trailers on the `raw()` OkHttp response, after its body was decoded.
    
    
    ## Version 5.0.0
    
    _2025-07-02_
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        assertThat(response.body.string()).isEqualTo("body")
      }
    
      /**
       * Old implementations of OkHttp's response cache wrote header fields like ":status: 200 OK". This
       * broke our cached response parser because it split on the first colon. This regression test
       * exists to help us read these old bad cache entries.
       *
       * https://github.com/square/okhttp/issues/227
       */
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

              response: Response,
            ) {
              call.cancel()
              try {
                bodyRef.set(response.body.string())
              } catch (e: IOException) {
                // It is ok if this broke the stream.
                bodyRef.set("A")
                throw e // We expect to not loop into onFailure in this case.
              } finally {
                latch.countDown()
              }
            }
          },
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

      }
    
      public void testBroken() {
        Iterator<Object> broken = new BrokenAbstractSequentialIterator();
        assertTrue(broken.hasNext());
        // We can't retrieve even the known first element:
        assertThrows(SomeUncheckedException.class, broken::next);
        assertThrows(SomeUncheckedException.class, broken::next);
      }
    
      private static Iterator<Integer> newDoubler(int first, int last) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

        // Log after all static init is finished; if an installed logger uses any Futures methods, it
        // shouldn't break in cases where reflection is missing/broken.
        if (thrownReflectionFailure != null) {
          log.get().log(Level.SEVERE, "SafeAtomicHelper is broken!", thrownReflectionFailure);
        }
      }
    
      AggregateFutureState(int remainingFutures) {
        this.remainingField = remainingFutures;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        // shouldn't break in cases where reflection is missing/broken.
        if (thrownAtomicReferenceFieldUpdaterFailure != null) {
          log.get().log(SEVERE, "UnsafeAtomicHelper is broken!", thrownUnsafeFailure);
          log.get()
              .log(
                  SEVERE,
                  "AtomicReferenceFieldUpdaterAtomicHelper is broken!",
                  thrownAtomicReferenceFieldUpdaterFailure);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        // shouldn't break in cases where reflection is missing/broken.
        if (thrownAtomicReferenceFieldUpdaterFailure != null) {
          log.get().log(SEVERE, "UnsafeAtomicHelper is broken!", thrownUnsafeFailure);
          log.get()
              .log(
                  SEVERE,
                  "AtomicReferenceFieldUpdaterAtomicHelper is broken!",
                  thrownAtomicReferenceFieldUpdaterFailure);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

      private static final Joiner DIRECT_JOINER = Joiner.on("");
    
      /**
       * Parses a serialized trie representation of a map of reversed public suffixes into an immutable
       * map of public suffixes. The encoded trie string may be broken into multiple chunks to avoid the
       * 64k limit on string literal size. In-memory strings can be much larger (2G).
       */
      static ImmutableMap<String, PublicSuffixType> parseTrie(CharSequence... encodedChunks) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        assertThat(parse("http://host/\ufffd").encodedPath).isEqualTo("/%EF%BF%BD")
      }
    
      @Test
      fun usernameCharacters() {
        if (!isJvm) return // TODO: this test is broken on non-JVM platforms.
        UrlComponentEncodingTester
          .newInstance()
          .override(
            Encoding.PERCENT,
            '['.code,
            ']'.code,
            '{'.code,
            '}'.code,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/JoinerTest.java

        OVERREPORTING_SIZE_LIST = unmodifiableList(new MisleadingSizeList<>(collection123, 1));
      }
    
      /*
       * c.g.c.collect.testing.Helpers.misleadingSizeList has a broken Iterator, so we can't use it. (I
       * mean, ideally we'd fix it....) Also, we specifically need a List so that we trigger the fast
       * path in join(Iterable).
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top