Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,806 for instances (0.06 sec)

  1. guava/src/com/google/common/io/MoreFiles.java

    import java.util.Collection;
    import java.util.stream.Stream;
    import javax.annotation.CheckForNull;
    
    /**
     * Static utilities for use with {@link Path} instances, intended to complement {@link Files}.
     *
     * <p>Many methods provided by Guava's {@code Files} class for {@link java.io.File} instances are
     * now available via the JDK's {@link java.nio.file.Files} class for {@code Path} - check the JDK's
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/PredicatesTest.java

            .addEqualityGroup(Predicates.instanceOf(Number.class))
            .addEqualityGroup(Predicates.instanceOf(Float.class))
            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Predicates.instanceOf, SerializableTester
      public void testIsInstanceOf_serialization() {
        checkSerialization(Predicates.instanceOf(Integer.class));
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

    /**
     * Tests for {@link StatsAccumulator}. This tests the stats methods for instances built with {@link
     * StatsAccumulator#add} and {@link StatsAccumulator#addAll}, and various error cases of the {@link
     * StatsAccumulator#add} and {@link StatsAccumulator#addAll} methods. For tests of the {@link
     * StatsAccumulator#snapshot} method which returns {@link Stats} instances, see {@link StatsTest}.
     *
     * @author Pete Gillin
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

         *
         * 1) An interface I extending Comparable<I> so that the created array is of
         * an interface type. 2) An instance of a class implementing that interface
         * so that we can pass non-null instances of the interface.
         *
         * (Currently it's safe to pass instances for which compareTo() always
         * returns 0, but if we had a SingletonImmutableSortedSet, this might no
         * longer be the case.)
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  5. docs/site-replication/run-multi-site-ldap.sh

    	echo "minio2 ============"
    	cat /tmp/minio2_1.log
    	cat /tmp/minio2_2.log
    	echo "minio3 ============"
    	cat /tmp/minio3_1.log
    	cat /tmp/minio3_2.log
    
    	exit 1
    }
    
    cleanup() {
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    	rm -rf /tmp/minio-ldap-idp{1,2,3}
    }
    
    cleanup
    
    unset MINIO_KMS_KES_CERT_FILE
    unset MINIO_KMS_KES_KEY_FILE
    unset MINIO_KMS_KES_ENDPOINT
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       */
      public static <E extends Comparable<?>> Builder<E> naturalOrder() {
        return new Builder<>(Ordering.natural());
      }
    
      /**
       * A builder for creating immutable sorted set instances, especially {@code public static final}
       * sets ("constant sets"), with a given comparator. Example:
       *
       * <pre>{@code
       * public static final ImmutableSortedSet<Number> LUCKY_NUMBERS =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMap.java

       *
       * @throws NullPointerException if any key or value in {@code map} is null
       */
      public static <K, V> ImmutableMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        if ((map instanceof ImmutableMap) && !(map instanceof SortedMap)) {
          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableMap<K, V> kvMap = (ImmutableMap<K, V>) map;
          if (!kvMap.isPartialView()) {
            return kvMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/Cache.java

     * #get(Object, Callable)} or {@link #put(Object, Object)}, and are stored in the cache until either
     * evicted or manually invalidated. The common way to build instances is using {@link CacheBuilder}.
     *
     * <p>Implementations of this interface are expected to be thread-safe, and can be safely accessed
     * by multiple concurrent threads.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  9. src/bytes/bytes.go

    }
    
    // IndexByte returns the index of the first instance of c in b, or -1 if c is not present in b.
    func IndexByte(b []byte, c byte) int {
    	return bytealg.IndexByte(b, c)
    }
    
    func indexBytePortable(s []byte, c byte) int {
    	for i, b := range s {
    		if b == c {
    			return i
    		}
    	}
    	return -1
    }
    
    // LastIndex returns the index of the last instance of sep in s, or -1 if sep is not present in s.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Closer.java

        throwIfInstanceOf(e, declaredType1);
        throwIfInstanceOf(e, declaredType2);
        throwIfUnchecked(e);
        throw new RuntimeException(e);
      }
    
      /**
       * Closes all {@code Closeable} instances that have been added to this {@code Closer}. If an
       * exception was thrown in the try block and passed to one of the {@code exceptionThrown} methods,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top