- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 855 for Element (0.05 seconds)
-
guava-tests/test/com/google/common/primitives/ByteArrayAsListTest.java
protected List<Byte> create(Byte[] elements) { return asList(elements); } } public static final class BytesAsListHeadSubListGenerator extends TestByteListGenerator { @Override protected List<Byte> create(Byte[] elements) { Byte[] suffix = {Byte.MIN_VALUE, Byte.MAX_VALUE}; Byte[] all = concat(elements, suffix); return asList(all).subList(0, elements.length); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java
protected List<Long> create(Long[] elements) { return asList(elements); } } public static final class LongsAsListHeadSubListGenerator extends TestLongListGenerator { @Override protected List<Long> create(Long[] elements) { Long[] suffix = {Long.MIN_VALUE, Long.MAX_VALUE}; Long[] all = concat(elements, suffix); return asList(all).subList(0, elements.length); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java
// also mean that the iterator returns the head element first, which those // don't. public Test testsForPriorityBlockingQueue() { return QueueTestSuiteBuilder.using( new TestStringQueueGenerator() { @Override public Queue<String> create(String[] elements) { return new PriorityBlockingQueue<>(MinimalCollection.of(elements)); } })
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 7.7K bytes - Click Count (0) -
src/README.vendor
to preserve the invariant that all packages have distinct paths. This is necessary to avoid compiler and linker conflicts. Adding a "vendor/" prefix also maintains the invariant that standard library packages begin with a dotless path element. The module requirements of std and cmd do not influence version selection in other modules. They are only considered when running module commands like 'go get' and 'go mod vendor' from a directory in GOROOT/src.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Sep 30 19:15:39 GMT 2024 - 2.4K bytes - Click Count (0) -
src/cmd/asm/internal/asm/testdata/loong64enc1.s
// Move vector element to scalar. XVMOVQ X0, X31.W[7] // 1fdcff76 XVMOVQ X1, X29.W[0] // 3dc0ff76 XVMOVQ X3, X28.V[3] // 7cecff76 XVMOVQ X4, X27.V[0] // 9be0ff76 XVMOVQ X31.W[7], X0 // e0df0377 XVMOVQ X29.W[0], X1 // a1c30377 XVMOVQ X28.V[3], X8 // 88ef0377 XVMOVQ X27.V[0], X9 // 69e30377 // Move vector element to vector. VMOVQ V1.B[3], V9.B16 // 298cf772
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Nov 27 00:46:52 GMT 2025 - 44.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
StackTraceElement[] elements = e.getStackTrace(); for (int i = 0; i < elements.length; i++) { StackTraceElement element = elements[i]; if (element.getClassName().equals(clazz) && element.getMethodName().equals(method)) { return i; } } throw new AssertionError( "Expected element " + clazz + "." + method + " not found in stack trace", e); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 46.8K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt
testCoverage: TestCoverage, parallelization: (Int) -> ParallelizationMethod, ): List<SmallSubprojectBucket> { // splitIntoBuckets() method expects us to split large element into N elements, // but we want to have a single bucket with N batches. // As a workaround, we repeat the bucket N times, and deduplicate the result at the end val resultIncludingDuplicates =Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Apr 10 15:09:32 GMT 2025 - 7.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
public void testRemove_unsupported() { assertThrows(UnsupportedOperationException.class, () -> collection.remove(e0())); expectUnchanged(); assertTrue("remove(present) should not remove the element", collection.contains(e0())); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testRemove_unsupportedNotPresent() { try { assertFalse(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Feb 11 21:04:02 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 1L; @Override public boolean contains(@Nullable Object element) { Preconditions.checkNotNull(element); return super.contains(element); } } Collection<Integer> nums = new CollectionThatThrowsNullPointerException<>(); Predicate<@Nullable Integer> isFalse = Predicates.in(nums);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 32.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
*/ @GwtCompatible public abstract class ImmutableTable<R, C, V> extends AbstractTable<R, C, V> implements Serializable { /** * Returns a {@code Collector} that accumulates elements into an {@code ImmutableTable}. Each * input element is mapped to one cell in the returned table, with the rows, columns, and values * generated by applying the specified functions. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 17.4K bytes - Click Count (0)