- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for hacky (0.12 sec)
-
android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
.addEqualityGroup(ImmutableLongArray.of(1, 3)) .addEqualityGroup(ImmutableLongArray.of(1, 2, 3)) .testEquals(); } /** * This is probably a weird and hacky way to test what we're really trying to test, but hey, it * caught a bug. */ public void testTrimmed() { ImmutableLongArray iia = ImmutableLongArray.of(0, 1, 3); assertDoesntActuallyTrim(iia);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 19K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
.addEqualityGroup(ImmutableDoubleArray.of(1, 3)) .addEqualityGroup(ImmutableDoubleArray.of(1, 2, 3)) .testEquals(); } /** * This is probably a weird and hacky way to test what we're really trying to test, but hey, it * caught a bug. */ public void testTrimmed() { ImmutableDoubleArray iia = ImmutableDoubleArray.of(0, 1, 3); assertDoesntActuallyTrim(iia);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 21.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
.addEqualityGroup(ImmutableDoubleArray.of(1, 3)) .addEqualityGroup(ImmutableDoubleArray.of(1, 2, 3)) .testEquals(); } /** * This is probably a weird and hacky way to test what we're really trying to test, but hey, it * caught a bug. */ public void testTrimmed() { ImmutableDoubleArray iia = ImmutableDoubleArray.of(0, 1, 3); assertDoesntActuallyTrim(iia);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 06 15:23:21 GMT 2023 - 20K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
.addEqualityGroup(ImmutableIntArray.of(1, 3)) .addEqualityGroup(ImmutableIntArray.of(1, 2, 3)) .testEquals(); } /** * This is probably a weird and hacky way to test what we're really trying to test, but hey, it * caught a bug. */ public void testTrimmed() { ImmutableIntArray iia = ImmutableIntArray.of(0, 1, 3); assertDoesntActuallyTrim(iia);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 18.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
.addEqualityGroup(ImmutableIntArray.of(1, 3)) .addEqualityGroup(ImmutableIntArray.of(1, 2, 3)) .testEquals(); } /** * This is probably a weird and hacky way to test what we're really trying to test, but hey, it * caught a bug. */ public void testTrimmed() { ImmutableIntArray iia = ImmutableIntArray.of(0, 1, 3); assertDoesntActuallyTrim(iia);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 20.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
.addEqualityGroup(ImmutableLongArray.of(1, 3)) .addEqualityGroup(ImmutableLongArray.of(1, 2, 3)) .testEquals(); } /** * This is probably a weird and hacky way to test what we're really trying to test, but hey, it * caught a bug. */ public void testTrimmed() { ImmutableLongArray iia = ImmutableLongArray.of(0, 1, 3); assertDoesntActuallyTrim(iia);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 20.2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
static Class<?> getArrayClass(Class<?> componentType) { // TODO(user): This is not the most efficient way to handle generic // arrays, but is there another way to extract the array class in a // non-hacky way (i.e. using String value class names- "[L...")? return Array.newInstance(componentType, 0).getClass(); } // TODO(benyu): Once behavior is the same for all Java versions we support, delete this.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 23.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/MavenProject.java
@Deprecated // This appears only to be used in test code public String getModulePathAdjustment(MavenProject moduleProject) throws IOException { // FIXME: This is hacky. What if module directory doesn't match artifactid, and parent // is coming from the repository?? String module = moduleProject.getArtifactId(); File moduleFile = moduleProject.getFile();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 56.6K bytes - Viewed (0) -
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)