- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for freed (0.15 sec)
-
android/guava/src/com/google/common/io/LineReader.java
this.readable = checkNotNull(readable); this.reader = (readable instanceof Reader) ? (Reader) readable : null; } /** * Reads a line of text. A line is considered to be terminated by any one of a line feed ({@code * '\n'}), a carriage return ({@code '\r'}), or a carriage return followed immediately by a * linefeed ({@code "\r\n"}). * * @return a {@code String} containing the contents of the line, not including any
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 3.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LineBuffer.java
import java.io.IOException; /** * Package-protected abstract class that implements the line reading algorithm used by {@link * LineReader}. Line separators are per {@link java.io.BufferedReader}: line feed, carriage return, * or carriage return followed immediately by a linefeed. * * <p>Subclasses must implement {@link #handleLine}, call {@link #add} to pass character data, and * call {@link #finish} at the end of stream. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 3.9K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
RunnableExecutorPair list; synchronized (this) { if (executed) { return; } executed = true; list = runnables; runnables = null; // allow GC to free listeners even if this stays around for a while. } while (list != null) { executeListener(list.runnable, list.executor); list = list.next; } }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 15:19:38 GMT 2023 - 20.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Charsets.java
import java.nio.charset.Charset; /** * Contains constant definitions for the six standard {@link Charset} instances, which are * guaranteed to be supported by all Java platform implementations. * * <p>Assuming you're free to choose, note that <b>{@link #UTF_8} is widely preferred</b>. * * <p>See the Guava User Guide article on <a * href="https://github.com/google/guava/wiki/StringsExplained#charsets">{@code Charsets}</a>. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
suite.addTest( MapTestSuiteBuilder.using( new TestTypeToInstanceMapGenerator() { // Other tests will verify what real, warning-free usage looks like // but here we have to do some serious fudging @Override @SuppressWarnings({"unchecked", "rawtypes"})
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/Graphs.java
*/ public static <N> boolean hasCycle(Graph<N> graph) { int numEdges = graph.edges().size(); if (numEdges == 0) { return false; // An edge-free graph is acyclic by definition. } if (!graph.isDirected() && numEdges >= graph.nodes().size()) { return true; // Optimization for the undirected case: at least one cycle must exist. }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 21.2K bytes - Viewed (0) -
android/guava/src/com/google/common/math/DoubleMath.java
public static boolean fuzzyEquals(double a, double b, double tolerance) { MathPreconditions.checkNonNegative("tolerance", tolerance); return Math.copySign(a - b, 1.0) <= tolerance // copySign(x, 1.0) is a branch-free version of abs(x), but with different NaN semantics || (a == b) // needed to ensure that infinities equal themselves || (Double.isNaN(a) && Double.isNaN(b)); } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 18.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
* in no particular order. * * <p>The returned array will be "safe" in that no references to it are maintained by this queue. * (In other words, this method must allocate a new array). The caller is thus free to modify the * returned array. * * <p>This method acts as bridge between array-based and collection-based APIs. * * @return an array containing all of the elements in this queue */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 19.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Utf8.java
i++; } // This loop optimizes for chars less than 0x800. for (; i < utf16Length; i++) { char c = sequence.charAt(i); if (c < 0x800) { utf8Length += ((0x7f - c) >>> 31); // branch free! } else { utf8Length += encodedLengthGeneral(sequence, i); break; } } if (utf8Length < utf16Length) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 10 14:11:51 GMT 2023 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ReverseNaturalOrdering.java
} @Override public <E extends Comparable<?>> E max(Iterable<E> iterable) { return NaturalOrdering.INSTANCE.min(iterable); } // preserving singleton-ness gives equals()/hashCode() for free private Object readResolve() { return INSTANCE; } @Override public String toString() { return "Ordering.natural().reverse()"; } private ReverseNaturalOrdering() {}
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sun Jun 20 14:22:42 GMT 2021 - 2.9K bytes - Viewed (0)