- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 1,343 for arrayOf (0.17 sec)
-
guava-tests/test/com/google/common/base/PreconditionsTest.java
assertThat(throwable).hasMessageThat().isEmpty(); } else { assertThat(throwable) .hasMessageThat() .isEqualTo(Strings.lenientFormat("", Arrays.copyOfRange(params, 2, params.length))); } } /** * Returns an array containing parameters for invoking a checkArgument, checkNotNull or checkState * method reflectively * * @param firstParam The first parameter
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 19K bytes - Viewed (0) -
doc/go1.17_spec.html
var a [10]int s1 := a[3:7] // underlying array of s1 is array a; &s1[2] == &a[5] s2 := s1[1:4] // underlying array of s2 is underlying array of s1 which is array a; &s2[1] == &a[5] s2[1] = 42 // s2[1] == s1[2] == a[5] == 42; they all refer to the same underlying array element </pre> <h4>Full slice expressions</h4> <p>
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 10 18:25:45 UTC 2024 - 211.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java
return standardRetainAll(collection); } @Override public Object[] toArray() { return standardToArray(); } @Override public <T> T[] toArray(T[] array) { return standardToArray(array); } @Override public String toString() { return standardToString(); } @Override public boolean equals(@Nullable Object object) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 11.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
} if (type.isArray()) { TypeToken<?> componentType = requireNonNull(type.getComponentType()); Object array = Array.newInstance(componentType.getRawType(), 1); Array.set(array, 0, generate(componentType)); return array; } Method emptyGenerate = EMPTY_GENERATORS.get(rawType); if (emptyGenerate != null) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
ntlm.username.toUpperCase().equals( username.toUpperCase() )) { if( hashesExternal && ntlm.hashesExternal ) { return Arrays.equals( ansiHash, ntlm.ansiHash ) && Arrays.equals( unicodeHash, ntlm.unicodeHash ); /* This still isn't quite right. If one npa object does not have external
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 22.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Collections2.java
final int[] o; int j; PermutationIterator(List<E> list) { this.list = new ArrayList<>(list); int n = list.size(); c = new int[n]; o = new int[n]; Arrays.fill(c, 0); Arrays.fill(o, 1); j = Integer.MAX_VALUE; } @Override @CheckForNull protected List<E> computeNext() { if (j <= 0) { return endOfData(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 22.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
} public void testCopyOf_emptyArray() { String[] array = new String[0]; Set<String> set = copyOf(array); assertEquals(Collections.<String>emptySet(), set); assertSame(this.<String>of(), set); } public void testCopyOf_arrayOfOneElement() { String[] array = new String[] {"a"}; Set<String> set = copyOf(array); assertEquals(singleton("a"), set); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
} if (type.isArray()) { TypeToken<?> componentType = requireNonNull(type.getComponentType()); Object array = Array.newInstance(componentType.getRawType(), 1); Array.set(array, 0, generate(componentType)); return array; } Method emptyGenerate = EMPTY_GENERATORS.get(rawType); if (emptyGenerate != null) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.1K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
import com.google.common.reflect.TypeToken; import com.google.common.util.concurrent.UncheckedExecutionException; import com.google.j2objc.annotations.Weak; import java.lang.reflect.Method; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.concurrent.ConcurrentMap;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:16:45 UTC 2024 - 10.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
* * 2. `other[size] = null` is unsound. We could "fix" this by requiring callers to pass in an * array with a nullable element type. But probably they usually want an array with a non-nullable * type. That said, we could *accept* a `@Nullable T[]` (which, given that we treat arrays as * covariant, would still permit a plain `T[]`) and return a plain `T[]`. But of course that would
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 12 16:59:15 UTC 2024 - 18.8K bytes - Viewed (0)