- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 2,280 for Length (0.05 seconds)
-
guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java
public final Entry<AnEnum, String>[] createArray(int length) { return (Entry<AnEnum, String>[]) new Entry<?, ?>[length]; } @Override public final AnEnum[] createKeyArray(int length) { return new AnEnum[length]; } @Override public final String[] createValueArray(int length) { return new String[length]; } /** Returns the elements sorted in natural order. */ @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
SecurityBlob blob = new SecurityBlob(data); // Assert assertSame(data, blob.get(), "get() should expose the same array reference passed in"); assertEquals(data.length, blob.length(), "length() should match underlying array length"); assertEquals("deadbeef", blob.toString(), "toString() should reflect underlying content"); assertEquals(data.hashCode(), blob.hashCode(), "hashCode should equal the array's hashCode");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
schema/index.go
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed May 21 02:35:56 GMT 2025 - 3.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
} Arrays.fill(sortedElements, uniques, length, null); if (maybeExpand && uniques * 4 > length * 3) { // lots of nonduplicated elements, expand the array by 50% sortedElements = Arrays.copyOf(sortedElements, IntMath.saturatedAdd(length, length / 2 + 1)); } int[] sortedCounts = new int[sortedElements.length]; for (int i = 0; i < length; i++) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 35.2K bytes - Click Count (0) -
src/test/java/jcifs/EncodableTest.java
Arguments.of(makeSeq(10), 2, 5, 3), // middle slice, non-zero dst index Arguments.of(makeSeq(4), 4, 0, 0), // zero-length slice at end Arguments.of(makeSeq(16), 7, 3, 0), // small slice from middle Arguments.of(makeSeq(16), 0, 0, 5) // zero-length with non-zero dst index ); } // Creates a deterministic byte sequence [0,1,2,...,n-1]
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
* * @param remoteKey remote memory key * @param address remote memory address * @param length length of memory region */ public void addRdmaChannelInfo(int remoteKey, long address, int length) { this.rdmaChannelInfo = new RdmaChannelInfo(remoteKey, address, length); this.channel = Smb2Constants.SMB2_CHANNEL_RDMA_V1; } /** * Get RDMA channel informationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java
public final Entry<AnEnum, String>[] createArray(int length) { return (Entry<AnEnum, String>[]) new Entry<?, ?>[length]; } @Override public final AnEnum[] createKeyArray(int length) { return new AnEnum[length]; } @Override public final String[] createValueArray(int length) { return new String[length]; } /** Returns the elements sorted in natural order. */ @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
assertEquals(32, derived1.length, "Derived key should have correct length"); assertEquals(32, derived2.length, "Derived key should have correct length"); assertEquals(32, derived3.length, "Derived key should have correct length"); assertFalse(Arrays.equals(derived1, derived2), "Different labels should produce different keys");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Booleans.java
*/ public static boolean[] concat(boolean[]... arrays) { long length = 0; for (boolean[] array : arrays) { length += array.length; } boolean[] result = new boolean[checkNoOverflow(length)]; int pos = 0; for (boolean[] array : arrays) { System.arraycopy(array, 0, result, pos, array.length); pos += array.length; } return result; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 25 15:01:23 GMT 2025 - 20.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
byte[] data = { 0x01, 0x02, 0x03, 0x04 }; ndrBuffer.writeOctetArray(data, 0, data.length); assertEquals(data.length, ndrBuffer.getIndex()); assertEquals(data.length, ndrBuffer.getLength()); assertArrayEquals(data, Arrays.copyOfRange(buffer, 0, data.length)); // Write with offset and length ndrBuffer.setIndex(10); byte[] partialData = { 0x05, 0x06, 0x07, 0x08, 0x09 };
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0)