Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 88 for fixed (0.13 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

       * tests can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147">Sun bug 5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getCreateWithNullKeyUnsupportedMethod() {
        return Helpers.getMethod(MapCreationTester.class, "testCreateWithNullKeyUnsupported");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          // Work around a GWT compiler bug.  Not explicitly listing this will
          // cause the createArray() method missing in the generated javascript.
          // TODO: Remove this once the GWT bug is fixed.
          implements TestCollectionGenerator<Object> {
        @Override
        public Set<Object> create(Object... elements) {
          return ImmutableSet.copyOf(elements);
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

       * can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147">Sun bug 5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getPutAllNullKeyUnsupportedMethod() {
        return Helpers.getMethod(MapPutAllTester.class, "testPutAll_nullKeyUnsupported");
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/SplitterTest.java

      }
    
      @J2ktIncompatible // Kotlin Native's regex is based on Apache Harmony, like old Android
      @GwtIncompatible // java.util.regex.Pattern
      @AndroidIncompatible // Bug in older versions of Android we test against, since fixed.
      public void testPatternSplitLookBehind() {
        if (!CommonPattern.isPcreLike()) {
          return;
        }
        String toSplit = ":foo::barbaz:";
        String regexPattern = "(?<=:)";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/LongMathTest.java

              }
            }
          }
        }
      }
    
      @GwtIncompatible // TODO
      @AndroidIncompatible // Bug in older versions of Android we test against, since fixed.
      public void testDivNonZeroExact() {
        for (long p : NONZERO_LONG_CANDIDATES) {
          for (long q : NONZERO_LONG_CANDIDATES) {
            boolean expectedSuccess = (p % q) == 0L;
    
            try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Bytes.java

        for (int i = 0; i < len; i++) {
          // checkNotNull for GWT (do not optimize)
          array[i] = ((Number) checkNotNull(boxedArray[i])).byteValue();
        }
        return array;
      }
    
      /**
       * Returns a fixed-size list backed by the specified array, similar to {@link
       * Arrays#asList(Object[])}. The list supports {@link List#set(int, Object)}, but any attempt to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

       * {@link java.util.TreeMap} can suppress it with {@code
       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147">Sun bug 5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getPutNullKeyUnsupportedMethod() {
        return Helpers.getMethod(MapPutTester.class, "testPut_nullKeyUnsupported");
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

       * <p>Defaults to 4. <b>Note:</b>The default may change in the future. If you care about this
       * value, you should always choose it explicitly.
       *
       * <p>The current implementation uses the concurrency level to create a fixed number of hashtable
       * segments, each governed by its own write lock. The segment lock is taken once for each explicit
       * write, and twice for each cache loading computation (once prior to loading the new value, and
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

       * isn't guaranteed to expose the issue, but it is at least likely to become flaky if the race
       * sneaks back in, and in this case flaky means something is definitely wrong.
       *
       * <p>Before the bug was fixed this test would fail at least 30% of the time.
       */
      public void testTransitionRace() throws TimeoutException {
        for (int k = 0; k < 1000; k++) {
          List<Service> services = Lists.newArrayList();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/StreamsTest.java

        withIndex.close();
    
        assertThat(longStreamCloseCount.get()).isEqualTo(1);
      }
    
      @GwtIncompatible // TODO(b/38490623): reenable after GWT double-to-string conversion is fixed
      public void testMapWithIndex_doubleStream() {
        SpliteratorTester.of(
                () ->
                    Streams.mapWithIndex(DoubleStream.of(0, 1, 2), (x, i) -> x + ":" + i).spliterator())
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
Back to top