Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Lilly (0.14 sec)

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

        @Override
        public int hashCode() {
          return slowItDown() + hash;
        }
    
        @Override
        public int compareTo(Element e) {
          int x = slowItDown();
          return x + super.compareTo(e) - x; // silly attempt to prevent opt
        }
    
        static int slowItDown() {
          int result = 0;
          for (int i = 1; i <= 1000; i++) {
            result += i;
          }
          return result;
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        @Override
        public int hashCode() {
          return slowItDown() + hash;
        }
    
        @Override
        public int compareTo(Element e) {
          int x = slowItDown();
          return x + super.compareTo(e) - x; // silly attempt to prevent opt
        }
    
        static int slowItDown() {
          int result = 0;
          for (int i = 1; i <= 1000; i++) {
            result += i;
          }
          return result;
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMapEntry.java

       * created arrays to have a {@code @Nullable} element type even when they're created directly with
       * {@code new ImmutableMapEntry[...]}, so it seems silly to insist on that only here.
       */
      @SuppressWarnings("unchecked") // Safe as long as the javadocs are followed
      static <K, V> ImmutableMapEntry<K, V>[] createEntryArray(int size) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top