- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for hacky (0.26 sec)
-
guava/src/com/google/common/collect/HashMultimapGwtSerializationDependencies.java
import java.util.Map; /** * A dummy superclass to support GWT serialization of the element types of a {@link HashMultimap}. * The GWT supersource for this class contains a field for each type. * * <p>For details about this hack, see {@code GwtSerializationDependencies}, which takes the same * approach but with a subclass rather than a superclass. * * <p>TODO(cpovirk): Consider applying this subclass approach to our other types. */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Oct 24 18:57:48 GMT 2019 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMultisetGwtSerializationDependencies.java
/** * A dummy superclass to support GWT serialization of the element type of an {@link * ImmutableMultiset}. The GWT supersource for this class contains a field of type {@code E}. * * <p>For details about this hack, see {@code GwtSerializationDependencies}, which takes the same * approach but with a subclass rather than a superclass. * * <p>TODO(cpovirk): Consider applying this subclass approach to our other types. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 01 22:07:10 GMT 2021 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
SettableFuture<?> unused = SettableFuture.create(); // Hack to load AbstractFuture et. al. in a new classloader so that it re-reads the cancellation // cause system property. This allows us to run with both settings of the property in one jvm // without resorting to even crazier hacks to reset static final boolean fields. System.setProperty("guava.concurrent.generate_cancellation_cause", "true");
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ParametricNullness.java
* {@code NullPointerTester} would need are not available) and in case of <a * href="https://bugs.openjdk.java.net/browse/JDK-8202469">JDK-8202469</a> * </ul> * * <p>This annotation is a temporary hack. We will remove it after we're able to adopt the <a * href="https://jspecify.dev/">JSpecify</a> nullness annotations and <a * href="https://github.com/google/guava/issues/6126#issuecomment-1203145963">tools no longer need * it</a>.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Aug 10 21:27:51 GMT 2022 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/math/ParametricNullness.java
* {@code NullPointerTester} would need are not available) and in case of <a * href="https://bugs.openjdk.java.net/browse/JDK-8202469">JDK-8202469</a> * </ul> * * <p>This annotation is a temporary hack. We will remove it after we're able to adopt the <a * href="https://jspecify.dev/">JSpecify</a> nullness annotations and <a * href="https://github.com/google/guava/issues/6126#issuecomment-1203145963">tools no longer need * it</a>.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Aug 10 21:27:51 GMT 2022 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ParametricNullness.java
* {@code NullPointerTester} would need are not available) and in case of <a * href="https://bugs.openjdk.java.net/browse/JDK-8202469">JDK-8202469</a> * </ul> * * <p>This annotation is a temporary hack. We will remove it after we're able to adopt the <a * href="https://jspecify.dev/">JSpecify</a> nullness annotations and <a * href="https://github.com/google/guava/issues/6126#issuecomment-1203145963">tools no longer need * it</a>.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Aug 10 21:27:51 GMT 2022 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
SettableFuture<?> unused = SettableFuture.create(); // Hack to load AbstractFuture et. al. in a new classloader so that it re-reads the cancellation // cause system property. This allows us to run with both settings of the property in one jvm // without resorting to even crazier hacks to reset static final boolean fields. System.setProperty("guava.concurrent.generate_cancellation_cause", "true");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayListMultimapGwtSerializationDependencies.java
/** * A dummy superclass to support GWT serialization of the element types of an {@link * ArrayListMultimap}. The GWT supersource for this class contains a field for each type. * * <p>For details about this hack, see {@code GwtSerializationDependencies}, which takes the same * approach but with a subclass rather than a superclass. * * <p>TODO(cpovirk): Consider applying this subclass approach to our other types. */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Oct 24 18:57:48 GMT 2019 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java
// to ensure the first test of either value will fail. safeMax = -1; safeMin = Integer.MAX_VALUE; } this.safeMin = safeMin; this.safeMax = safeMax; // This is a bit of a hack but lets us do quicker per-character checks in // the fast path code. The safe min/max values are very unlikely to extend // into the range of surrogate characters, but if they do we must not test
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 8.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6Tests.java
package com.google.common.collect.testing; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Suite of tests for OpenJdk 6 tests. The existence of this class is a hack because the * suitebuilder won't pick up the suites directly in the other classes because they don't extend * TestCase. Ergh. * * @author Kevin Bourrillion */ public class OpenJdk6Tests extends TestCase {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.3K bytes - Viewed (0)