- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 1,610 for _arrays (0.09 seconds)
-
guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
array[i] = counter.getAndIncrement(); } builder.addAll(ImmutableIntArray.copyOf(array)); } }, ADD_LARGER_ARRAY { @Override void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) { int[] array = new int[random.nextInt(200) + 200]; for (int i = 0; i < array.length; i++) { array[i] = counter.getAndIncrement(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 20.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
byte[] longFileId = new byte[32]; Arrays.fill(longFileId, (byte) 0xCD); request.setFileId(longFileId); Arrays.fill(buffer, (byte) 0); bytesWritten = request.writeBytesWireFormat(buffer, 0); assertEquals(48, bytesWritten); assertArrayEquals(Arrays.copyOfRange(longFileId, 0, 16), Arrays.copyOfRange(buffer, 8, 24)); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.Arrays; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; @DisplayName("Smb2LeaseKey Tests") class Smb2LeaseKeyTest { @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java
throw new IllegalArgumentException("Lease key must be 16 bytes, got " + key.length); } this.key = Arrays.copyOf(key, LEASE_KEY_SIZE); } /** * Get the lease key bytes * * @return copy of the 16-byte lease key */ public byte[] getKey() { return Arrays.copyOf(key, LEASE_KEY_SIZE); } /** * Write the lease key to a buffer *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 3.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
/** * Implementation class of {@link BeanDesc}. * * @author higa */ public class BeanDescImpl implements BeanDesc { /** Empty object array */ protected static final Object[] EMPTY_ARGS = new Object[0]; /** Empty class array */ protected static final Class<?>[] EMPTY_PARAM_TYPES = new Class<?>[0]; /** The class of the bean */ protected final Class<?> beanClass;Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 25.8K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
assertEquals(Integer.MIN_VALUE, serverData.sessKey); assertEquals(Integer.MIN_VALUE, serverData.scapabilities); } /** * Test large byte arrays */ @Test @DisplayName("Test large byte arrays") public void testLargeByteArrays() { // Test with large encryption key byte[] largeKey = new byte[256]; for (int i = 0; i < largeKey.length; i++) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17K bytes - Click Count (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
} /** * Gets the array of supported authentication mechanisms * @return the mechanisms array */ public ASN1ObjectIdentifier[] getMechanisms() { return this.mechanisms; } /** * Sets the array of supported authentication mechanisms * @param mechanisms the mechanisms to set */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashing.java
} else { return new int[buckets]; } } static void tableClear(Object table) { if (table instanceof byte[]) { Arrays.fill((byte[]) table, (byte) 0); } else if (table instanceof short[]) { Arrays.fill((short[]) table, (short) 0); } else { Arrays.fill((int[]) table, 0); } } /** * Returns {@code table[index]}, where {@code table} is actually a {@code byte[]}, {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 7.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
} public void testCreation_arrayOfArray() { String[] array = new String[] {"a"}; List<String[]> list = ImmutableList.<String[]>of(array); assertEquals(singletonList(array), list); } public void testCopyOf_emptyArray() { String[] array = new String[0]; List<String> list = ImmutableList.copyOf(array); assertEquals(emptyList(), list); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
}); } /** * Returns the array of supported web protocols. * * @return array of web protocol strings with colon suffix (e.g., "http:", "https:") */ public String[] getWebProtocols() { return webProtocols; } /** * Returns the array of supported file protocols. * * @return array of file protocol strings with colon suffix (e.g., "file:", "ftp:")Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 13:59:25 GMT 2026 - 12.4K bytes - Click Count (1)