Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 138 for weird (0.04 sec)

  1. okhttp/src/test/java/okhttp3/DuplexTest.kt

            .isEqualTo("response body")
          requestBody.close()
          assertThat(responseBody.readUtf8Line()).isNull()
        }
        body.awaitSuccess()
      }
    
      /**
       * Duplex calls that have follow-ups are weird. By the time we know there's a follow-up we've
       * already split off another thread to stream the request body. Because we permit at most one
       * exchange at a time we break the request stream out from under that writer.
       */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertFailsToDecode(encoding, cannotDecode, null);
      }
    
      private static void assertFailsToDecode(
          BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) {
        // We use this somewhat weird pattern with an enum for each assertion we want to make as a way
        // of dealing with the fact that one of the assertions is @GwtIncompatible but we don't want to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/AbstractNetwork.java

                return AbstractNetwork.this.edges().size();
              }
    
              // Mostly safe: We check contains(u) before calling successors(u), so we perform unsafe
              // operations only in weird cases like checking for an EndpointPair<ArrayList> in a
              // Network<LinkedList>.
              @SuppressWarnings("unchecked")
              @Override
              public boolean contains(@CheckForNull Object obj) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/AbstractNetwork.java

                return AbstractNetwork.this.edges().size();
              }
    
              // Mostly safe: We check contains(u) before calling successors(u), so we perform unsafe
              // operations only in weird cases like checking for an EndpointPair<ArrayList> in a
              // Network<LinkedList>.
              @SuppressWarnings("unchecked")
              @Override
              public boolean contains(@CheckForNull Object obj) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

            .addEqualityGroup(ImmutableDoubleArray.of(1, 3))
            .addEqualityGroup(ImmutableDoubleArray.of(1, 2, 3))
            .testEquals();
      }
    
      /**
       * This is probably a weird and hacky way to test what we're really trying to test, but hey, it
       * caught a bug.
       */
      public void testTrimmed() {
        ImmutableDoubleArray iia = ImmutableDoubleArray.of(0, 1, 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          implements Serializable {
        private static final AlwaysEqual INSTANCE = new AlwaysEqual();
    
        @Override
        @SuppressWarnings("UnusedVariable") // intentionally weird Comparator
        public int compare(@Nullable Object o1, @Nullable Object o2) {
          return 0;
        }
    
        @Override
        public String toString() {
          return "ALWAYS_EQUAL";
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          implements Serializable {
        private static final AlwaysEqual INSTANCE = new AlwaysEqual();
    
        @Override
        @SuppressWarnings("UnusedVariable") // intentionally weird Comparator
        public int compare(@Nullable Object o1, @Nullable Object o2) {
          return 0;
        }
    
        @Override
        public String toString() {
          return "ALWAYS_EQUAL";
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Converter.java

       *
       * TODO(cpovirk): So make it part of the open-source build, albeit package-private there?
       *
       * So we use uncheckedCastNullableTToT here. This is a weird usage of that method: The method is
       * documented as being for use with type parameters that have parametric nullness. But Converter's
       * type parameters do not. Still, we use it here so that we can suppress a warning at a smaller
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  9. android/pom.xml

          We could probably have resumed it after https://github.com/google/guava/pull/6664.
          But it's always weird that published poms reference test-only libraries at all, so I'm not in any rush to do so.
          -->
        </dependencies>
      </dependencyManagement>
      <profiles>
        <profile>
            <id>sonatype-oss-release</id>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 21K bytes
    - Viewed (0)
  10. pom.xml

          We could probably have resumed it after https://github.com/google/guava/pull/6664.
          But it's always weird that published poms reference test-only libraries at all, so I'm not in any rush to do so.
          -->
        </dependencies>
      </dependencyManagement>
      <profiles>
        <profile>
            <id>sonatype-oss-release</id>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top