Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 179 for Mosher (0.17 sec)

  1. android/guava/src/com/google/common/hash/Hashing.java

                function.bits(),
                function);
          }
        }
    
        @Override
        HashCode makeHash(Hasher[] hashers) {
          byte[] bytes = new byte[bits() / 8];
          int i = 0;
          for (Hasher hasher : hashers) {
            HashCode newHash = hasher.hash();
            i += newHash.writeBytesTo(bytes, i, newHash.bits() / 8);
          }
          return HashCode.fromBytesNoCopy(bytes);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * the first duplicate.
       */
    
      // This entry point is for callers other than ImmutableMap.Builder.
      static <K, V> RegularImmutableMap<K, V> create(
          int n, @Nullable Object[] alternatingKeysAndValues) {
        return create(n, alternatingKeysAndValues, /* builder= */ null);
      }
    
      // This entry point is used by the other create method but also directly by
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

      @Override
      public void testPutAllTable() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        Table<String, Integer, Character> other = HashBasedTable.create();
        other.put("foo", 1, 'd');
        other.put("bar", 2, 'e');
        other.put("cat", 2, 'f');
        try {
          table.putAll(other);
          fail("Expected UnsupportedOperationException");
        } catch (UnsupportedOperationException expected) {
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

    /*
     * Written by Doug Lea with assistance from members of JCP JSR-166
     * Expert Group and released to the public domain, as explained at
     * http://creativecommons.org/publicdomain/zero/1.0/
     * Other contributors include Andrew Wright, Jeffrey Hayes,
     * Pat Fisher, Mike Judd.
     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck/JSR166TestCase.java?revision=1.90
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/AbstractTableTest.java

      public void testPutAllTable() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        Table<String, Integer, @NonNull C> other = HashBasedTable.create();
        other.put("foo", 1, cellValue('d'));
        other.put("bar", 2, cellValue('e'));
        other.put("cat", 2, cellValue('f'));
        table.putAll(other);
        assertEquals((Character) 'd', table.get("foo", 1));
        assertEquals((Character) 'b', table.get("bar", 1));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java

        return delegate.isEmpty();
      }
    
      @Override
      public Object[] toArray() {
        return delegate.toArray();
      }
    
      @Override
      public <T extends @Nullable Object> T[] toArray(T[] other) {
        return delegate.toArray(other);
      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    
      // TODO(cpovirk): equals(), as well, in case it's any faster than Sets.equalsImpl?
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * "pass on" the signal to another thread. If it *was* signalled, then its guard must have been
       * satisfied at the time of signal, and has since been modified by some other thread to be
       * non-satisfied before reacquiring the lock, and that other thread takes over the responsibility
       * of signaling the next waiter.
       *
       * Unlike the underlying Condition, if we are not careful, an interrupt *can* cause a signal to be
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ListsImplTest.java

        List<@Nullable Object> unEqualItems =
            Arrays.asList(outOfOrder, diffValue, diffLength, empty, null, new Object());
        for (Object other : unEqualItems) {
          assertWithMessage("%s", other).that(Lists.equalsImpl(base, other)).isFalse();
        }
      }
    
      public void testAddAllImpl() {
        if (getExample().modifiability() != Modifiability.ALL) {
          return;
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TableCollectors.java

          } else {
            oldCell.merge(value, merger);
          }
        }
    
        ImmutableTableCollectorState<R, C, V> combine(
            ImmutableTableCollectorState<R, C, V> other, BinaryOperator<V> merger) {
          for (MutableCell<R, C, V> cell : other.insertionOrder) {
            put(cell.getRowKey(), cell.getColumnKey(), cell.getValue(), merger);
          }
          return this;
        }
    
        ImmutableTable<R, C, V> toTable() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Throwables.java

       *
       * @param throwable the Throwable to possibly propagate
       * @param declaredType1 any checked exception type declared by the calling method
       * @param declaredType2 any other checked exception type declared by the calling method
       * @deprecated Use a combination of two calls to {@link #throwIfInstanceOf} and one call to {@link
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
Back to top