- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 1,224 for add1 (0.02 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
if (!getActiveProfiles().contains(profile)) { getActiveProfiles().add(profile); } return this; } @Override public MavenExecutionRequest addInactiveProfile(String profile) { if (!getInactiveProfiles().contains(profile)) { getInactiveProfiles().add(profile); } return this; } @Override
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 32.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
} @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherSetWithDifferentElements() { Collection<E> elements = getSampleElements(getNumElements() - 1); elements.add(getSubjectGenerator().samples().e3()); assertFalse( "A Set should not equal another Set containing different elements.", getSet().equals(MinimalSet.from(elements))); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
} @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherSetWithDifferentElements() { Collection<E> elements = getSampleElements(getNumElements() - 1); elements.add(getSubjectGenerator().samples().e3()); assertFalse( "A Set should not equal another Set containing different elements.", getSet().equals(MinimalSet.from(elements))); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.6K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java
// Set build output directories project.getBuild().setOutputDirectory("target/classes"); project.getBuild().setTestOutputDirectory("target/test-classes"); // Add a resource source root to the project project.addSourceRoot( new DefaultSourceRoot(ProjectScope.MAIN, Language.RESOURCES, Path.of("src/main/resources"))); } @TestCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 07 13:11:07 GMT 2025 - 12.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy
def change = new ApiChange( context.className, Violation.describe(member), changes ) String acceptationReason = acceptedApiChanges[change] if (acceptationReason != null) { seenApiChanges.add(change)Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 10.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
projects.add(project); if (includeModules) { for (String module : project.getModules()) { File modulePom = new File(pom.getParentFile(), module); if (modulePom.isDirectory()) { modulePom = new File(modulePom, "pom.xml"); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 12.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
BigInteger plusHalfSquared = result.pow(2).add(result).shiftLeft(2).add(ONE); BigInteger x4 = x.shiftLeft(2); // sqrt(x) < result + 0.5, so 4 * x < (result + 0.5)^2 * 4 // (result + 0.5)^2 * 4 = (result^2 + result)*4 + 1 assertThat(plusHalfSquared).isGreaterThan(x4); BigInteger minusHalfSquared = result.pow(2).subtract(result).shiftLeft(2).add(ONE);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Nov 19 01:35:24 GMT 2025 - 27.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* ... * } * </pre> * * <p>No cascading checks are performed against the return values of methods unless the method is a * static factory method. Neither are semantics of mutation methods such as {@code * someList.add(obj)} checked. For more detailed discussion of supported and unsupported cases, see * {@link #testEquals}, {@link #testNulls} and {@link #testSerializable}. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 17.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/FilteredKeyMultimap.java
AddRejectingList(@ParametricNullness K key) { this.key = key; } @Override public boolean add(@ParametricNullness V v) { add(0, v); return true; } @Override public void add(int index, @ParametricNullness V element) { checkPositionIndex(index, 0); throw new IllegalArgumentException("Key does not satisfy predicate: " + key);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
public boolean contains(Object object) { assertTrue(Thread.holdsLock(mutex)); return delegate.contains(object); } @Override public boolean add(E element) { assertTrue(Thread.holdsLock(mutex)); return delegate.add(element); } @Override public boolean containsAll(Collection<?> collection) { assertTrue(Thread.holdsLock(mutex));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 7.4K bytes - Click Count (0)