- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 1,524 for arrays (0.05 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/project/collector/PomlessCollectionStrategy.java
* under the License. */ package org.apache.maven.project.collector; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import java.util.Arrays; import java.util.List; import org.apache.maven.DefaultMaven; import org.apache.maven.execution.MavenExecutionRequest; import org.apache.maven.model.building.ModelSource;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java
if (session != null) { repositorySystem.injectMirror(session, Arrays.asList(repository)); repositorySystem.injectProxy(session, Arrays.asList(repository)); repositorySystem.injectAuthentication(session, Arrays.asList(repository)); } return repository; } private static RepositorySystem rs(PlexusContainer c) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypesTest.java
.asList() .containsExactlyElementsIn(asList(jvmType.getActualTypeArguments())) .inOrder(); assertEquals( Arrays.asList(String.class, Types.newArrayType(Types.newArrayType(int.class))), Arrays.asList(ourType.getActualTypeArguments())); assertEquals(null, ourType.getOwnerType()); } public void testNewParameterizedType_nonStaticLocalClass() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 15.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/SignedBytesTest.java
private static void testSortDescending(byte[] input, byte[] expectedOutput) { input = Arrays.copyOf(input, input.length); SignedBytes.sortDescending(input); assertThat(input).isEqualTo(expectedOutput); } private static void testSortDescending( byte[] input, int fromIndex, int toIndex, byte[] expectedOutput) { input = Arrays.copyOf(input, input.length); SignedBytes.sortDescending(input, fromIndex, toIndex);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolutionExceptionTest.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.artifact.resolver; import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; /** * Test the artifact resolution exception message * */
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.java
public void testRetainAll_duplicatesKept() { E[] array = createSamplesArray(); array[1] = e0(); collection = getSubjectGenerator().create(array); assertFalse( "containsDuplicates.retainAll(superset) should return false", collection.retainAll(MinimalCollection.of(createSamplesArray()))); expectContents(array); } @CollectionFeature.Require(SUPPORTS_REMOVE)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java
return isLeft ? 1 : -1; } value = FILTER_1.matcher(value).replaceAll(""); List<String> valueTokens = new ArrayList<>(Arrays.asList(FILTER_2.split(value))); List<String> rangeValueTokens = new ArrayList<>(Arrays.asList(FILTER_3.split(rangeValue.value))); addZeroTokens(valueTokens, 3); addZeroTokens(rangeValueTokens, 3); for (int i = 0; i < 3; i++) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 6.6K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
return new LinkedHashSet<>(); } static <T extends @Nullable Object> T[] newArray(T[] reference, int length) { T[] empty = reference.length == 0 ? reference : Arrays.copyOf(reference, 0); return Arrays.copyOf(empty, length); } /** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */ static <T extends @Nullable Object> T[] copy(Object[] source, int from, int to, T[] arrayOfType) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jun 10 15:17:16 GMT 2025 - 5.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java
swap(array, from, to); } return array[k]; } else { int midIndex = (from + to) >>> 1; // Choose the median of the elements at the from, to and mid indexes, // and rearrange so that array[from]<=array[from+1], and // array[to] => array[from + 1]. swap(array, midIndex, from + 1); if (array[from] > array[to]) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 7.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java
*/ package org.apache.maven.plugin.internal; import javax.inject.Named; import javax.inject.Singleton; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.EnumSet; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util.List;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:32 GMT 2025 - 17.5K bytes - Click Count (0)