Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 47 for 17 (0.12 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

      public void testResizeTable() {
        verifyTableSize(100, 2, 8);
        verifyTableSize(100, 5, 8);
        verifyTableSize(100, 33, 64);
        verifyTableSize(17, 17, 32);
        verifyTableSize(17, 16, 32);
        verifyTableSize(17, 15, 32);
      }
    
      @GwtIncompatible // RegularImmutableSet.table not in emulation
      private void verifyTableSize(int inputSize, int setSize, int tableSize) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

        @Override
        public SampleElements<Entry<String, Integer>> samples() {
          return new SampleElements<>(
              mapEntry("foo", 5),
              mapEntry("bar", 3),
              mapEntry("baz", 17),
              mapEntry("quux", 1),
              mapEntry("toaster", -2));
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public Entry<String, Integer>[] createArray(int length) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/bug_report.yaml

          description: If this issue is platform-specific, then please select the relevant platforms.
          multiple: true
          options:
            - Android
            - GWT
            - Java 8
            - Java 11
            - Java 17
    
      - type: checkboxes
        attributes:
          label: Checklist
          options:
            - label: >
                I agree to follow the
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 27 19:53:41 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

        rangeMap.putCoalescing(Range.closedOpen(2, 4), 1); // between
        rangeMap.putCoalescing(Range.closedOpen(9, 14), 0); // different value
        rangeMap.putCoalescing(Range.closedOpen(17, 20), 3); // enclosing
    
        rangeMap.putCoalescing(Range.closedOpen(22, 23), 4); // disconnected
        rangeMap.putCoalescing(Range.closedOpen(23, 25), 4); // greater than minimum
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 28K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/Collections2Test.java

                    newArrayList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20))
                .size());
        assertEquals(
            Integer.MAX_VALUE,
            Collections2.orderedPermutations(
                    newArrayList(
                        1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21))
                .size());
      }
    
      public void testPermutationSetContains() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/Collections2Test.java

                    newArrayList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20))
                .size());
        assertEquals(
            Integer.MAX_VALUE,
            Collections2.orderedPermutations(
                    newArrayList(
                        1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21))
                .size());
      }
    
      public void testPermutationSetContains() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Ascii.java

       * single "stop" control is required to interrupt or turn off ancillary devices, DC4 is the
       * preferred assignment.)
       *
       * @since 8.0
       */
      public static final byte DC1 = 17; // aka XON
    
      /**
       * Transmission On: Although originally defined as DC1, this ASCII control character is now better
       * known as the XON code used for software flow control in serial communications. The main use is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

            return false;
          }
          if (aspect2 != other.aspect2) {
            return false;
          }
          return true;
        }
    
        @Override
        public int hashCode() {
          int result = 17;
          result = 37 * result + aspect1;
          result = 37 * result + aspect2;
          return result;
        }
      }
    
      /** Test class with invalid hashCode method. */
      private static class InvalidHashCodeObject {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                    new FilteredSetMultimapGenerator() {
                      @Override
                      SetMultimap<String, Integer> filter(SetMultimap<String, Integer> multimap) {
                        multimap.put("foo", 17);
                        multimap.put("bar", 32);
                        multimap.put("foo", 16);
                        return Multimaps.filterKeys(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/HashingTest.java

      }
    
      @AndroidIncompatible // slow TODO(cpovirk): Maybe just reduce iterations under Android.
      public void testGoodFastHash() {
        for (int i = 1; i < 200; i += 17) {
          HashFunction hasher = Hashing.goodFastHash(i);
          assertTrue(hasher.bits() >= i);
          HashTestUtils.assertInvariants(hasher);
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
Back to top