- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 130 for ArrayCopy (0.21 sec)
-
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
System.arraycopy( password, 0, dst, dstIndex, passwordLength ); dstIndex += passwordLength; } else { // no password in tree connect dst[dstIndex++] = (byte)0x00; } dstIndex += writeString( path, dst, dstIndex ); try { System.arraycopy( service.getBytes( "ASCII" ), 0, dst, dstIndex, service.length() );
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ByteArrayAsListTest.java
} } private static Byte[] concat(Byte[] left, Byte[] right) { Byte[] result = new Byte[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 TestByteListGenerator implements TestListGenerator<Byte> { @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java
} } private static Character[] concat(Character[] left, Character[] right) { Character[] result = new Character[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 TestCharListGenerator implements TestListGenerator<Character> { @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.7K bytes - Viewed (0) -
android/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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
byte[] dk = deriveKeyAES(baseKey, cst); // Checksum key try { Mac m = Mac.getInstance("HmacSHA1"); m.init(new SecretKeySpec(dk, HMAC_KEY)); System.arraycopy(m.doFinal(input), 0, output, 0, 12); return output; } finally { Arrays.fill(dk, 0, dk.length, (byte) 0); } }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralRequestBuffer.java
int start = dstIndex; SMBUtil.writeInt2(this.maxReferralLevel, dst, dstIndex); dstIndex += 2; byte[] pathBytes = this.path.getBytes(StandardCharsets.UTF_16LE); System.arraycopy(pathBytes, 0, dst, dstIndex, pathBytes.length); dstIndex += pathBytes.length; SMBUtil.writeInt2(0, dst, dstIndex); dstIndex += 2; // null terminator return dstIndex - start; }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java
int start = bufferIndex; if ( len < 24 ) { throw new SMBProtocolDecodingException("Invalid resume key"); } this.resumeKey = new byte[24]; System.arraycopy(buffer, bufferIndex, this.resumeKey, 0, 24); bufferIndex += 24; SMBUtil.readInt4(buffer, bufferIndex); // contextLength - reserved bufferIndex += 4; return bufferIndex - start; }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java
/** * {@inheritDoc} * * @see jcifs.Encodable#encode(byte[], int) */ @Override public int encode ( byte[] dst, int dstIndex ) { int start = dstIndex; System.arraycopy(this.sourceKey, 0, dst, dstIndex, 24); dstIndex += 24; SMBUtil.writeInt4(this.chunks.length, dst, dstIndex); dstIndex += 4; dstIndex += 4; // Reserved
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java
int start = bufferIndex; this.capabilities = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; System.arraycopy(buffer, bufferIndex, this.serverGuid, 0, 16); bufferIndex += 16; this.securityMode = SMBUtil.readInt2(buffer, bufferIndex); this.dialect = SMBUtil.readInt2(buffer, bufferIndex + 2);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type1Message.java
else { flags &= ( NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED ^ 0xffffffff ); } byte[] type1 = new byte[size]; int pos = 0; System.arraycopy(NTLMSSP_SIGNATURE, 0, type1, 0, NTLMSSP_SIGNATURE.length); pos += NTLMSSP_SIGNATURE.length; writeULong(type1, pos, NTLMSSP_TYPE1); pos += 4;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Sep 02 12:55:08 UTC 2018 - 7.8K bytes - Viewed (0)