- Sort Score
- Result 10 results
- Languages All
Results 3921 - 3930 of 4,401 for classe (0.03 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java
@Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MapHashCodeTester<K, V> extends AbstractMapTester<K, V> { public void testHashCode() { int expectedHashCode = 0; for (Entry<K, V> entry : getSampleEntries()) { expectedHashCode += hash(entry); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/LongMathRoundingBenchmark.java
import java.math.RoundingMode; import org.jspecify.annotations.NullUnmarked; /** * Benchmarks for the rounding methods of {@code LongMath}. * * @author Louis Wasserman */ @NullUnmarked public class LongMathRoundingBenchmark { @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"}) RoundingMode mode; private static final long[] positive = new long[ARRAY_SIZE];Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Charsets.java
* <p>See the Guava User Guide article on <a * href="https://github.com/google/guava/wiki/StringsExplained#charsets">{@code Charsets}</a>. * * @author Mike Bostock * @since 1.0 */ @GwtCompatible public final class Charsets { /** * US-ASCII: seven-bit ASCII, the Basic Latin block of the Unicode character set (ISO646-US). * * @deprecated Use {@link StandardCharsets#US_ASCII} instead. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/MultiInputStream.java
advance(); } @Override public void close() throws IOException { if (in != null) { try { in.close(); } finally { in = null; } } } /** Closes the current input stream and opens the next one, if any. */ private void advance() throws IOException { close(); if (it.hasNext()) { in = it.next().openStream(); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/NaturalOrdering.java
import com.google.errorprone.annotations.concurrent.LazyInit; import java.io.Serializable; import org.jspecify.annotations.Nullable; /** An ordering that uses the natural order of the values. */ @GwtCompatible final class NaturalOrdering extends Ordering<Comparable<?>> implements Serializable { static final NaturalOrdering INSTANCE = new NaturalOrdering(); // TODO: b/287198172 - Consider eagerly initializing these (but think about serialization).
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/UndirectedGraphConnections.java
} static <N, V> UndirectedGraphConnections<N, V> of(ElementOrder<N> incidentEdgeOrder) { switch (incidentEdgeOrder.type()) { case UNORDERED: return new UndirectedGraphConnections<>( new HashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR)); case STABLE: return new UndirectedGraphConnections<>( new LinkedHashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR)); default:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashingOutputStream.java
public HashCode hash() { return hasher.hash(); } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior: // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream. // It should flush itself if necessary. @Override public void close() throws IOException { out.close(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredMultimapTest.java
import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link Multimaps} filtering methods. * * @author Jared Levy */ @GwtIncompatible // nottested @NullUnmarked public class FilteredMultimapTest extends TestCase { private static final Predicate<Entry<String, Integer>> ENTRY_PREDICATE = entry -> !Objects.equals(entry.getKey(), "badkey") && !Objects.equals(entry.getValue(), 55556);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 3.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java
import org.jspecify.annotations.NullMarked; /** * A skeleton generator for a {@code SetMultimap} implementation. * * @author Louis Wasserman */ @GwtCompatible @NullMarked public abstract class TestStringSetMultimapGenerator implements TestSetMultimapGenerator<String, String> { @Override public SampleElements<Entry<String, String>> samples() { return new SampleElements<>(Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java
* Decodes server responses to DFS referral requests, extracting information about * available DFS targets, path consumption details, and referral flags. * * @author mbechler */ public class DfsReferralResponseBuffer implements Decodable { /** * Default constructor for DfsReferralResponseBuffer. * Initializes the DFS referral response buffer for parsing server responses. */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0)