- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 284 for arrayCopy (0.05 sec)
-
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java
throw new SMBProtocolDecodingException("Lease V2 context data too short: " + len); } // Read lease V2 data (52 bytes) byte[] keyBytes = new byte[16]; System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16); this.leaseKey = new Smb2LeaseKey(keyBytes); bufferIndex += 16; this.leaseState = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java
// Expected format: buffer format (0x04) + path string (null terminated) byte[] expected = new byte[directoryName.length() + 2]; expected[0] = 0x04; // Buffer format System.arraycopy(directoryName.getBytes(StandardCharsets.UTF_8), 0, expected, 1, directoryName.length()); expected[directoryName.length() + 1] = 0x00; // Null terminator byte[] dst = new byte[100];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
public static <T extends @Nullable Object> T[] concat( T[] first, T[] second, Class<@NonNull T> type) { T[] result = newArray(type, first.length + second.length); arraycopy(first, 0, result, 0, first.length); arraycopy(second, 0, result, first.length, second.length); return result; } /** * Returns a new array that prepends {@code element} to {@code array}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java
expected[0] = 0x04; // buffer format System.arraycopy(dirName.getBytes(), 0, expected, 1, dirName.length()); expected[dirName.length() + 1] = 0x00; // null terminator byte[] dst = new byte[100]; int len = sdd.writeBytesWireFormat(dst, 0); assertEquals(expected.length, len); byte[] result = new byte[len]; System.arraycopy(dst, 0, result, 0, len);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
byte[] addr = new byte[4]; System.arraycopy(data, offset + 4, addr, 0, 4); return InetAddress.getByAddress(addr); } else if (family == 23) { // AF_INET6 byte[] addr = new byte[16]; System.arraycopy(data, offset + 8, addr, 0, 16); return InetAddress.getByAddress(addr); } } catch (Exception e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java
if (defaultWords == null) { updateDefaultBadwords(); } final String[] concat = new String[defaultWords.length + badWords.length]; System.arraycopy(badWords, 0, concat, 0, badWords.length); System.arraycopy(defaultWords, 0, concat, badWords.length, defaultWords.length); return concat; } /** * Add a bad word. * @param badWord Bad word */
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing; import static java.lang.System.arraycopy; import com.google.common.annotations.GwtCompatible; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.jspecify.annotations.NullMarked;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
// Set server GUID (16 bytes) byte[] testGuid = new byte[16]; for (int i = 0; i < 16; i++) { testGuid[i] = (byte) (i + 1); } System.arraycopy(testGuid, 0, buffer, bufferIndex + 4, 16); // Set security mode (2 bytes) int testSecurityMode = 0x0003; SMBUtil.writeInt2(testSecurityMode, buffer, bufferIndex + 20);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java
} } private static Double[] concat(Double[] left, Double[] right) { Double[] result = new Double[left.length + right.length]; System.arraycopy(left, 0, result, 0, left.length); System.arraycopy(right, 0, result, left.length, right.length); return result; } public abstract static class TestDoubleListGenerator implements TestListGenerator<Double> { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0)