- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 236 for snippet (0.88 sec)
-
guava/src/com/google/common/base/Joiner.java
* {@link Map}) with a separator. It either appends the results to an {@link Appendable} or returns * them as a {@link String}. Example: * * {@snippet : * Joiner joiner = Joiner.on("; ").skipNulls(); * . . . * return joiner.join("Harry", null, "Ron", "Hermione"); * } * * <p>This returns the string {@code "Harry; Ron; Hermione"}. Note that all input elements are
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 21K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Queues.java
* through the returned queue. * * <p>It is imperative that the user manually synchronize on the returned queue when accessing the * queue's iterator: * * {@snippet : * Queue<E> queue = Queues.synchronizedQueue(MinMaxPriorityQueue.<E>create()); * ... * queue.add(element); // Needn't be in synchronized block * ...
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
* Builder} constructor. */ public static <B> Builder<B> builder() { return new Builder<>(); } /** * A builder for creating immutable class-to-instance maps. Example: * * {@snippet : * static final ImmutableClassToInstanceMap<Handler> HANDLERS = * new ImmutableClassToInstanceMap.Builder<Handler>() * .put(FooHandler.class, new FooHandler())
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.1K bytes - Viewed (0) -
tensorflow/api_template_v1.__init__.py
del importlib # Load all plugin libraries from site-packages/tensorflow-plugins if we are # running under pip. # TODO(gunan): Find a better location for this code snippet. from tensorflow.python.framework import load_library as _ll from tensorflow.python.lib.io import file_io as _fi # Get sitepackages directories for the python installation. _site_packages_dirs = []
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Wed Oct 02 22:16:02 UTC 2024 - 7.5K bytes - Viewed (0) -
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* result. (If you want such access, you may prefer {@link Futures#addCallback * Futures.addCallback}.) Still, direct {@code addListener} calls are occasionally useful: * * {@snippet : * final String name = ...; * inFlight.add(name); * ListenableFuture<Result> future = service.query(name); * future.addListener(new Runnable() { * public void run() { * processedCount.incrementAndGet();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenableFuture.java
* result. (If you want such access, you may prefer {@link Futures#addCallback * Futures.addCallback}.) Still, direct {@code addListener} calls are occasionally useful: * * {@snippet : * final String name = ...; * inFlight.add(name); * ListenableFuture<Result> future = service.query(name); * future.addListener(new Runnable() { * public void run() { * processedCount.incrementAndGet();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0) -
android/guava/src/com/google/common/math/Quantiles.java
* * <h3>Examples</h3> * * <p>To compute the median: * * {@snippet : * double myMedian = median().compute(myDataset); * } * * where {@link #median()} has been statically imported. * * <p>To compute the 99th percentile: * * {@snippet : * double myPercentile99 = percentiles().index(99).compute(myDataset); * } *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 30.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
* approximately equivalent in behavior to the same code written with try-with-resources. * * <p>This class is intended to be used in the following pattern: * * {@snippet : * Closer closer = Closer.create(); * try { * InputStream in = closer.register(openInputStream()); * OutputStream out = closer.register(openOutputStream()); * // do stuff * } catch (Throwable e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
* Double#doubleToRawLongBits}, which differs from both the primitive double {@code ==} operator and * from {@link Double#equals}, as if implemented by: * * {@snippet : * static boolean bitEquals(double x, double y) { * long xBits = Double.doubleToRawLongBits(x); * long yBits = Double.doubleToRawLongBits(y); * return xBits == yBits; * } * } * * @author Doug Lea
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicDouble.java
* Double#doubleToRawLongBits}, which differs from both the primitive double {@code ==} operator and * from {@link Double#equals}, as if implemented by: * * {@snippet : * static boolean bitEquals(double x, double y) { * long xBits = Double.doubleToRawLongBits(x); * long yBits = Double.doubleToRawLongBits(y); * return xBits == yBits; * } * } *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 9.5K bytes - Viewed (0)