- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 1,190 for So (0.01 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
return new MinimalCollection<>(type, true, contents); } private final E[] contents; private final Class<? super @NonNull E> type; private final boolean allowNulls; // Package-private so that it can be extended. MinimalCollection(Class<? super @NonNull E> type, boolean allowNulls, E... contents) { // TODO: consider making it shuffle the contents to test iteration order.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java
public void testElementSetClear() { getMultiset().elementSet().clear(); assertEmpty(getMultiset()); } /** * Returns {@link Method} instances for the read tests that assume multisets support duplicates so * that the test of {@code Multisets.forSet()} can suppress them. */ @J2ktIncompatible @GwtIncompatible // reflection public static List<Method> getElementSetDuplicateInitializingMethods() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
assertThat(longIterator.nextLong()).isEqualTo(3); assertThat(longIterator.hasNext()).isFalse(); } public void testCopyOf_array_empty() { /* * We don't guarantee the same-as property, so we aren't obligated to test it. However, it's * useful in testing - when two things are the same then one can't have bugs the other doesn't. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 20.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
OVERREPORTING_SIZE_LIST = unmodifiableList(new MisleadingSizeList<>(collection123, 1)); } /* * c.g.c.collect.testing.Helpers.misleadingSizeList has a broken Iterator, so we can't use it. (I * mean, ideally we'd fix it....) Also, we specifically need a List so that we trigger the fast * path in join(Iterable). */ private static final class MisleadingSizeList<E extends @Nullable Object> extends ForwardingList<E> {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.7K bytes - Click Count (0) -
apache-maven/src/assembly/maven/bin/mvn.cmd
if not exist "%JAVACMD%" ( echo The JAVA_HOME environment variable is not defined correctly, so Apache Maven cannot be started. >&2 echo JAVA_HOME is set to "%JAVA_HOME%", but "%%JAVA_HOME%%\bin\java.exe" does not exist. >&2 goto error ) :checkJavaCmd if not exist "%JAVACMD%" ( echo The java.exe command does not exist in PATH nor is JAVA_HOME set, so Apache Maven cannot be started. >&2 goto error )
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 10 16:40:06 GMT 2025 - 10.7K bytes - Click Count (3) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java
"A List's hashCode() should be computed from those of its elements.", expectedHashCode, getList().hashCode()); } /** * Returns the {@link Method} instance for {@link #testHashCode()} so that list tests on * unhashable objects can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getHashCodeMethod() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2K bytes - Click Count (0) -
docs/en/docs/tutorial/static-files.md
You can read more about this in the [Advanced User Guide](../advanced/index.md){.internal-link target=_blank}. ## Details { #details } The first `"/static"` refers to the sub-path this "sub-application" will be "mounted" on. So, any path that starts with `"/static"` will be handled by it. The `directory="static"` refers to the name of the directory that contains your static files.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.7K bytes - Click Count (0) -
guava-gwt/src/com/google/common/cache/Cache.gwt.xml
for prod and one for tests. However, unlike our other packages, as of this writing it has test supersource but no prod supersource. GWT happens to use the prod .gwt.xml, so it looks for no supersource for tests, either. This causes it to fail to find AtomicLongMapTest. Our workaround is to tell GWT that util.concurrent and all other packagesCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 19 16:02:36 GMT 2024 - 1.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java
* The values in the model remain untouched but during the process of building a project notions like inheritance and * interpolation can be added. This allows to have an entity which is useful in a runtime while preserving the model so * that it can be marshalled and unmarshalled without being tainted by runtime requirements. * </p> * <p> * With changes during 3.2.2 release MavenProject is closer to being immutable after construction with the removal of
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Aug 29 12:47:20 GMT 2025 - 67K bytes - Click Count (0) -
guava/src/com/google/common/collect/Lists.java
} @Override public int size() { return IntMath.saturatedAdd(rest.length, 1); } @Override @ParametricNullness public E get(int index) { // check explicitly so the IOOBE will have the right message checkElementIndex(index, size()); return (index == 0) ? first : rest[index - 1]; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 42.6K bytes - Click Count (0)