Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 432 for Kast (0.19 sec)

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

    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION;
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
    import static java.util.Collections.singletonList;
    
    import com.google.common.annotations.GwtCompatible;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/BooleansTest.java

        testRotate(
            new boolean[] {false, true, false, true, false, true, false},
            2,
            0,
            3,
            new boolean[] {true, false, false, true, false, true, false});
    
        // Rotate the last four elements
        testRotate(
            new boolean[] {false, true, false, true, false, true, false},
            -6,
            3,
            7,
            new boolean[] {false, true, false, true, false, true, false});
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

        testRotate(
            new boolean[] {false, true, false, true, false, true, false},
            2,
            0,
            3,
            new boolean[] {true, false, false, true, false, true, false});
    
        // Rotate the last four elements
        testRotate(
            new boolean[] {false, true, false, true, false, true, false},
            -6,
            3,
            7,
            new boolean[] {false, true, false, true, false, true, false});
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

    import java.io.File;
    
    /**
     * Android-incompatible tests for {@link FileBackedOutputStream}.
     *
     * @author Chris Nokleberg
     */
    @AndroidIncompatible // Finalization probably just doesn't happen fast enough?
    public class FileBackedOutputStreamAndroidIncompatibleTest extends IoTestCase {
    
      public void testFinalizeDeletesFile() throws Exception {
        byte[] data = newPreFilledByteArray(100);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 08 21:20:23 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION;
    import static com.google.common.collect.testing.features.CollectionFeature.RESTRICTS_ELEMENTS;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          // even though K doesn't explicitly implement Comparable.
          comparator = (Comparator<? super K>) NATURAL_ORDER;
        }
        if (map instanceof ImmutableSortedMap) {
          // TODO(kevinb): Prove that this cast is safe, even though
          // Collections.unmodifiableSortedMap requires the same key type.
          @SuppressWarnings("unchecked")
          ImmutableSortedMap<K, V> kvMap = (ImmutableSortedMap<K, V>) map;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

       * and a node with "next" pointer equal to {@code ENDPOINT} is the last node.
       */
      @CheckForNull @VisibleForTesting transient long[] links;
    
      /** Pointer to the first node in the linked list, or {@code ENDPOINT} if there are no entries. */
      private transient int firstEntry;
    
      /** Pointer to the last node in the linked list, or {@code ENDPOINT} if there are no entries. */
      private transient int lastEntry;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

          assertThrows(IndexOutOfBoundsException.class, () -> aa.getAndAdd(index, 1.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.addAndGet(index, 1.0));
        }
      }
    
      /** get returns the last value set at index */
      public void testGetSet() {
        AtomicDoubleArray aa = new AtomicDoubleArray(VALUES.length);
        for (int i = 0; i < VALUES.length; i++) {
          assertBitEquals(0.0, aa.get(i));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Absent.java

      }
    
      @Override
      public T or(T defaultValue) {
        return checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
      }
    
      @SuppressWarnings("unchecked") // safe covariant cast
      @Override
      public Optional<T> or(Optional<? extends T> secondChoice) {
        return (Optional<T>) checkNotNull(secondChoice);
      }
    
      @Override
      public T or(Supplier<? extends T> supplier) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Absent.java

      }
    
      @Override
      public T or(T defaultValue) {
        return checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
      }
    
      @SuppressWarnings("unchecked") // safe covariant cast
      @Override
      public Optional<T> or(Optional<? extends T> secondChoice) {
        return (Optional<T>) checkNotNull(secondChoice);
      }
    
      @Override
      public T or(Supplier<? extends T> supplier) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 2.5K bytes
    - Viewed (0)
Back to top