Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 165 for utilities (0.07 sec)

  1. guava/src/com/google/common/math/DoubleUtils.java

    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import java.math.BigInteger;
    
    /**
     * Utilities for {@code double} primitives.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class DoubleUtils {
      private DoubleUtils() {}
    
      static double nextDown(double d) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. cni/pkg/ipset/nldeps_linux.go

    	err := netlink.IpsetFlush(name)
    	if err != nil {
    		return fmt.Errorf("failed to flush ipset %s: %w", name, err)
    	}
    	return nil
    }
    
    // Alpine and some distros struggles with this - ipset CLI utilities support this, but
    // the kernel can be out of sync with the CLI utility, leading to errors like:
    //
    // ipset v7.10: Argument `comment' is supported in the kernel module of the set type hash:ip
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 18 23:53:18 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

     *       add overloads that accept start and end indexes.
     *   <li>Can be streamed without "breaking the chain": {@code foo.getBarInts().stream()...}.
     *   <li>Access to all collection-based utilities via {@link #asList} (though at the cost of
     *       allocating garbage).
     * </ul>
     *
     * <p>Disadvantages compared to {@code int[]}:
     *
     * <ul>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  4. README.md

    
    
    Guava is a set of core Java libraries from Google that includes new collection
    types (such as multimap and multiset), immutable collections, a graph library,
    and utilities for concurrency, I/O, hashing, primitives, strings, and more! It
    is widely used on most Java projects within Google, and widely used by many
    other companies as well.
    
    
    
    Guava comes in two flavors:
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 18:34:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/Config.java

    import java.util.Properties;
    import java.util.StringTokenizer;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.context.SingletonContext;
    
    
    /**
     * This class now contains only utilities for config parsing.
     * 
     * We strongly suggest that you create an explicit {@link jcifs.context.CIFSContextWrapper}
     * with your desired config. It's base implementation {@link jcifs.context.BaseContext}
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.3K bytes
    - Viewed (0)
  6. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * }, executor);
     * }</pre>
     *
     * <h3>How to get an instance</h3>
     *
     * <p>We encourage you to return {@code ListenableFuture} from your methods so that your users can
     * take advantage of the {@linkplain Futures utilities built atop the class}. The way that you will
     * create {@code ListenableFuture} instances depends on how you currently create {@code Future}
     * instances:
     *
     * <ul>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * }, executor);
     * }</pre>
     *
     * <h3>How to get an instance</h3>
     *
     * <p>We encourage you to return {@code ListenableFuture} from your methods so that your users can
     * take advantage of the {@linkplain Futures utilities built atop the class}. The way that you will
     * create {@code ListenableFuture} instances depends on how you currently create {@code Future}
     * instances:
     *
     * <ul>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Queue;
    import java.util.Set;
    
    /**
     * Utilities for collecting and validating tester requirements from annotations.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public final class FeatureUtil {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

     *       add overloads that accept start and end indexes.
     *   <li>Can be streamed without "breaking the chain": {@code foo.getBarDoubles().stream()...}.
     *   <li>Access to all collection-based utilities via {@link #asList} (though at the cost of
     *       allocating garbage).
     * </ul>
     *
     * <p>Disadvantages compared to {@code double[]}:
     *
     * <ul>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

          assertFalse(entrySet.retainAll(asList(null, entryOf(1, 1), entryOf(15, 15))));
          checkEmpty(entrySet);
          checkEmpty(cache);
        }
      }
    
      /* ---------------- Local utilities -------------- */
    
      /** Most of the tests in this class run against every one of these caches. */
      private Iterable<LoadingCache<Object, Object>> caches() {
        // lots of different ways to configure a LoadingCache
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top