- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 1,610 for _arrays (0.09 seconds)
-
android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
} static void testSort(long[] input, long[] expected) { input = Arrays.copyOf(input, input.length); UnsignedLongs.sort(input); assertThat(input).isEqualTo(expected); } static void testSort(long[] input, int from, int to, long[] expected) { input = Arrays.copyOf(input, input.length); UnsignedLongs.sort(input, from, to); assertThat(input).isEqualTo(expected);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
} @Test @DisplayName("Parse handles null mechanisms array") void testNullMechanisms() { NegTokenInit init = new NegTokenInit(null, 0, null, null); assertNull(init.getMechanisms()); // Should not throw when converting to byte array assertDoesNotThrow(() -> init.toByteArray()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/CollectorTester.java
import static junit.framework.Assert.assertTrue; import com.google.common.annotations.GwtCompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Objects; import java.util.function.BiPredicate; import java.util.stream.Collector; import org.jspecify.annotations.NullMarked;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu May 15 21:47:56 GMT 2025 - 6.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Then - Nonces should be unique (SMB3 compliant: random + counter) assertFalse(Arrays.equals(nonce1, nonce2), "Nonces should be different"); assertFalse(Arrays.equals(nonce2, nonce3), "Nonces should be different"); assertFalse(Arrays.equals(nonce1, nonce3), "Nonces should be different"); // Nonces should have proper sizeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
Iterable<String> iterable = emptyList(); String[] array = Iterables.toArray(iterable, String.class); assertThat(array).isEmpty(); } @GwtIncompatible // Iterables.toArray(Iterable, Class) public void testToArraySingleton() { Iterable<String> iterable = singletonList("a"); String[] array = Iterables.toArray(iterable, String.class); assertThat(array).isEqualTo(new String[] {"a"}); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.5K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java
* lies outside the stated safe range. Subclasses should override this method to provide * generalized escaping for characters. * * <p>Note that arrays returned by this method must not be modified once they have been returned. * However it is acceptable to return the same array multiple times (even for different input * characters). *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSetTest.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(); } } @AndroidIncompatible // test-suite builders public static Test suite() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.1K bytes - Click Count (0) -
android/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 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
assertArrayEquals(new byte[] { 0x05, 0x06, 0x07, 0x08 }, responseBuffer); } @Test @DisplayName("Test with empty buffers") void testWithEmptyBuffers() { // Test with empty byte arrays byte[] emptyRequestBuffer = new byte[0]; byte[] emptyResponseBuffer = new byte[0];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
} try { suggester.settings().array().delete(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS); split(fessConfig.getSuggestFieldIndexContents(), ",").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(field -> { try { suggester.settings().array().add(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS, field);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 22.3K bytes - Click Count (0)