- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 1,751 for LENGTH (0.35 sec)
-
guava-tests/test/com/google/common/io/SourceSinkFactories.java
if (initialBytes == null) { return checkNotNull(bytes); } else { byte[] result = new byte[initialBytes.length + bytes.length]; System.arraycopy(initialBytes, 0, result, 0, initialBytes.length); System.arraycopy(bytes, 0, result, initialBytes.length, bytes.length); return result; } } @Override public byte[] getSinkContents() throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 17.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringListMultimapGenerator.java
public final Entry<String, String>[] createArray(int length) { return (Entry<String, String>[]) new Entry<?, ?>[length]; } @Override public final String[] createKeyArray(int length) { return new String[length]; } @Override public final String[] createValueArray(int length) { return new String[length]; } /** Returns the original element list, unchanged. */ @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java
public final Entry<String, String>[] createArray(int length) { return (Entry<String, String>[]) new Entry<?, ?>[length]; } @Override public final String[] createKeyArray(int length) { return new String[length]; } @Override public final String[] createValueArray(int length) { return new String[length]; } /** Returns the original element list, unchanged. */ @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 3K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeResolver.java
checkArgument( fromUpperBounds.length == toUpperBounds.length && fromLowerBounds.length == toLowerBounds.length, "Incompatible type: %s vs. %s", fromWildcardType, to); for (int i = 0; i < fromUpperBounds.length; i++) { populateTypeMappings(mappings, fromUpperBounds[i], toUpperBounds[i]); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java
private final long sourceOffset; private final long targetOffset; private final int length; /** * Constructs a server copy chunk descriptor * @param soff the source file offset * @param toff the target file offset * @param len the length of data to copy */ public SrvCopychunk(final long soff, final long toff, final int len) { this.sourceOffset = soff;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
// Act byte[] result = NtlmUtil.computeResponse(key, serverChallenge, clientData, 0, clientData.length); // Assert: result = mac(16) + clientData assertEquals(16 + clientData.length, result.length); assertArrayEquals(clientData, Arrays.copyOfRange(result, 16, 16 + clientData.length)); } @Test @DisplayName("getLMv2Response(byte[]): delegates to computeResponse")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
* - Byte 1: High bit of 17-bit length field * - Bytes 2-3: Lower 16 bits of length field */ private static byte[] messageHeader(int length) { byte[] h = new byte[4]; h[0] = (byte) SessionServicePacket.SESSION_MESSAGE; h[1] = (byte) ((length >> 16) & 0x01); h[2] = (byte) ((length >> 8) & 0xFF); h[3] = (byte) (length & 0xFF); return h; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
cmd/object_api_suite_test.go
length = int64(len(uploadContent)) _, err = obj.PutObject(context.Background(), "bucket", "object", mustGetPutObjReader(t, bytes.NewBufferString(uploadContent), length, "", ""), opts) if err != nil { t.Fatalf("%s: <ERROR> %s", instanceType, err) } var bytesBuffer bytes.Buffer err = GetObject(context.Background(), obj, "bucket", "object", 0, length, &bytesBuffer, "", opts) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
// Then - Verify keys are derived and different assertNotNull(signingKey300); assertNotNull(signingKey311); assertEquals(16, signingKey300.length); assertEquals(16, signingKey311.length); assertFalse(Arrays.equals(signingKey300, signingKey311)); } @Test @DisplayName("Should handle different session key sizes")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/DES.java
final int length = cipherText.length; if (length % 8 != 0) { // DES requires 8-byte blocks throw new IllegalArgumentException("Array must be a multiple of 8 bytes for DES encryption"); } final byte[] clearText = new byte[length]; final int count = length / 8; for (int i = 0; i < count; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0)