- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 1,610 for _arrays (0.04 seconds)
-
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
} /** constructor creates array of given size with all elements zero */ public void testConstructor() { AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); for (int i = 0; i < SIZE; i++) { assertBitEquals(0.0, aa.get(i)); } } /** constructor with null array throws NPE */ public void testConstructor2NPE() { double[] a = null;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 14.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/MoreObjects.java
import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.annotations.GwtCompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.lang.reflect.Array; import java.util.Arrays; import java.util.Collection; import java.util.Map; import java.util.Objects; import org.jspecify.annotations.Nullable; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 05 17:38:41 GMT 2026 - 16.2K bytes - Click Count (0) -
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())); assertThat(ourType.getOwnerType()).isNull(); } public void testNewParameterizedType_nonStaticLocalClass() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 15.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java
assertEquals("r", outputs2[2]); } @Test public void test_defensiveCopy_nullArrays() { // Test that defensive copy handles null arrays correctly SynonymItem item1 = new SynonymItem(1, new String[] { "a" }, new String[] { "x" }); // Set to null item1.setNewInputs(null); item1.setNewOutputs(null); // Should return null, not crash
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8K bytes - Click Count (1) -
android/guava/src/com/google/common/math/Quantiles.java
if (toLessThanMid == midLessThanFrom) { // Either array[to] < array[mid] < array[from] or array[from] <= array[mid] <= array[to]. swap(array, mid, from); } else if (toLessThanMid != toLessThanFrom) { // Either array[from] <= array[to] < array[mid] or array[mid] <= array[to] < array[from]. swap(array, from, to); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 30.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
return standardSize(); } @Override public Object[] toArray() { return standardToArray(); } @Override public <T> T[] toArray(T[] array) { return standardToArray(array); } } @AndroidIncompatible // test-suite builders public static Test suite() { TestSuite suite = new TestSuite();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/SidResolverTest.java
@Test void testGetLocalGroupsMap_Success() throws CIFSException { Map<SID, List<SID>> expectedMap = new HashMap<>(); List<SID> group1Members = Arrays.asList(mockSid1, mockSid2); List<SID> group2Members = Arrays.asList(mockSid3); expectedMap.put(mockDomainSid, group1Members); expectedMap.put(mockSid1, group2Members);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 15.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
* they're defined above -- including logic to add and subtract 1 to map between the values stored * in the predecessor/successor arrays and the indexes in the elements array that they identify. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 14:59:07 GMT 2025 - 8.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
import static org.junit.jupiter.api.Assertions.assertNotSame; import static org.junit.jupiter.api.Assertions.assertThrows; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Arrays; import org.junit.jupiter.api.Test; class HMACT64Test { private static final byte[] TEST_KEY = "testkey".getBytes(); private static final byte[] LONG_TEST_KEY = new byte[80]; // Longer than 64 bytesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java
import java.net.Socket; import java.security.GeneralSecurityException; import java.security.KeyManagementException; import java.security.KeyStore; import java.security.NoSuchAlgorithmException; import java.util.Arrays; import java.util.Collections; import java.util.List; import javax.net.ssl.SSLContext; import javax.net.ssl.SSLSocket; import javax.net.ssl.SSLSocketFactory; import javax.net.ssl.TrustManager;
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Mar 14 21:57:42 GMT 2019 - 6.5K bytes - Click Count (0)