Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1041 - 1050 of 1,216 for todos (0.04 sec)

  1. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

    import com.google.common.base.Suppliers;
    import com.google.common.cache.LocalCache.Strength;
    import com.google.common.testing.EqualsTester;
    import junit.framework.TestCase;
    
    /**
     * Tests CacheBuilderSpec. TODO(user): tests of a few invalid input conditions, boundary
     * conditions.
     *
     * @author Adam Winer
     */
    public class CacheBuilderSpecTest extends TestCase {
      public void testParse_empty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

      public static Method getSubListSubListRemoveAffectsOriginalLargeListMethod() {
        return getMethod(ListSubListTester.class, "testSubList_subListRemoveAffectsOriginalLargeList");
      }
    
      /*
       * TODO: perform all List tests on subList(), but beware infinite recursion
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        }
    
        manualExecutorTask[0].run();
    
        for (Future<?> result : results) {
          if (!result.isCancelled()) {
            result.get(10, SECONDS);
          }
          // TODO(cpovirk): Verify that the cancelled futures are exactly ones that we expect.
        }
    
        assertThat(logHandler.getStoredLogRecords()).isEmpty();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. cmd/object-api-interface.go

    	GetObjectTags(context.Context, string, string, ObjectOptions) (*tags.Tags, error)
    	DeleteObjectTags(context.Context, string, string, ObjectOptions) (ObjectInfo, error)
    }
    
    // GetObject - TODO(aead): This function just acts as an adapter for GetObject tests and benchmarks
    // since the GetObject method of the ObjectLayer interface has been removed. Once, the
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Lists.java

        Iterators.addAll(list, elements);
        return list;
      }
    
      @VisibleForTesting
      static int computeArrayListCapacity(int arraySize) {
        checkNonnegative(arraySize, "arraySize");
    
        // TODO(kevinb): Figure out the right behavior, and document it
        return Ints.saturatedCast(5L + arraySize + (arraySize / 10));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/MediaType.java

       * enforce any particular rules with regards to line folding as stated in the class docs.
       */
      private static final CharMatcher LINEAR_WHITE_SPACE = CharMatcher.anyOf(" \t\r\n");
    
      // TODO(gak): make these public?
      private static final String APPLICATION_TYPE = "application";
      private static final String AUDIO_TYPE = "audio";
      private static final String IMAGE_TYPE = "image";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

                }
                for (int i = -3; i <= 3; i++) {
                  assertEquals(expected.contains(i), subRangeSet.contains(i));
                }
              }
            }
          }
        }
      }
    
      // TODO(b/172823566): Use mainline testToImmutableRangeSet once CollectorTester is usable to java7
      public void testToImmutableRangeSet_java7_combine() {
        Range<Integer> rangeOne = Range.closedOpen(1, 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Chars.java

       *     such index exists.
       */
      public static int indexOf(char[] array, char target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(char[] array, char target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
          FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<M, Entry<K, V>>>
              parentBuilder) {
        // TODO: Once invariant support is added, supply invariants to each of the
        // derived suites, to check that mutations to the derived collections are
        // reflected in the underlying map.
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

          if (availablePermitsAboveThreshold > 0.0) {
            double permitsAboveThresholdToTake = min(availablePermitsAboveThreshold, permitsToTake);
            // TODO(cpovirk): Figure out a good name for this variable.
            double length =
                permitsToTime(availablePermitsAboveThreshold)
                    + permitsToTime(availablePermitsAboveThreshold - permitsAboveThresholdToTake);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
Back to top