Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 707 for nilable (0.16 sec)

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

      /** Prepares the multimap for unmodifiable tests, returning an unmodifiable view of the map. */
      private static Multimap<@Nullable String, @Nullable Integer> prepareUnmodifiableTests(
          Multimap<@Nullable String, @Nullable Integer> multimap,
          boolean permitsDuplicates,
          @Nullable String nullKey,
          @Nullable Integer nullValue) {
        multimap.clear();
        multimap.put("foo", 1);
        multimap.put("foo", 2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 39.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestMapGenerator.java

    import java.util.Map;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates maps, containing sample elements, to be tested.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
        extends TestContainerGenerator<Map<K, V>, Map.Entry<K, V>> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestMapGenerator.java

    import java.util.Map;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates maps, containing sample elements, to be tested.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
        extends TestContainerGenerator<Map<K, V>, Map.Entry<K, V>> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableSet.java

      @VisibleForTesting final transient @Nullable Object[] elements;
      private final transient int hashCode;
      // the same values as `elements` in hashed positions (plus nulls)
      @VisibleForTesting final transient @Nullable Object[] table;
      // 'and' with an int to get a valid table index.
      private final transient int mask;
      private final transient int size;
    
      RegularImmutableSet(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       * @return a future that provides a list of the results of the component futures
       * @since 10.0
       */
      @SafeVarargs
      public static <V extends @Nullable Object> ListenableFuture<List<V>> allAsList(
          ListenableFuture<? extends V>... futures) {
        ListenableFuture<List<@Nullable V>> nullable =
            new ListFuture<V>(ImmutableList.copyOf(futures), true);
        // allAsList ensures that it fills the output list with V instances.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. .github/workflows/replication.yaml

              sudo sysctl net.ipv6.conf.default.disable_ipv6=0
              make test-configfile
    
          - name: Test Replication
            run: |
              sudo sysctl net.ipv6.conf.all.disable_ipv6=0
              sudo sysctl net.ipv6.conf.default.disable_ipv6=0
              make test-replication
    
          - name: Test MinIO IDP for automatic site replication
            run: |
              sudo sysctl net.ipv6.conf.all.disable_ipv6=0
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:48:19 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

        return super.containsAll(collection);
      }
    
      @Override
      public Iterator<E> iterator() {
        return Arrays.asList(contents).iterator();
      }
    
      @Override
      public @Nullable Object[] toArray() {
        @Nullable Object[] result = new @Nullable Object[contents.length];
        System.arraycopy(contents, 0, result, 0, contents.length);
        return result;
      }
    
      /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Iterables.java

       */
      public static <T extends @Nullable Object> Iterable<List<@Nullable T>> paddedPartition(
          final Iterable<T> iterable, final int size) {
        checkNotNull(iterable);
        checkArgument(size > 0);
        return new FluentIterable<List<@Nullable T>>() {
          @Override
          public Iterator<List<@Nullable T>> iterator() {
            return Iterators.paddedPartition(iterable.iterator(), size);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate.containsRow(rowKey);
        }
    
        @Override
        public @Nullable V get(Object rowKey, Object columnKey) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.get(rowKey, columnKey);
        }
    
        @Override
        public @Nullable V put(R rowKey, C columnKey, V value) {
          assertTrue(Thread.holdsLock(mutex));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

    import java.util.logging.Level;
    import java.util.logging.Logger;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Emulation for AbstractFuture in GWT. */
    @SuppressWarnings("nullness") // TODO(b/147136275): Remove once our checker understands & and |.
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractFuture<V extends @Nullable Object> extends InternalFutureFailureAccess
        implements ListenableFuture<V> {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top