- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,124 for byte (0.04 sec)
-
guava/src/com/google/common/primitives/Bytes.java
* @param arrays zero or more {@code byte} arrays * @return a single array containing all the values from the source arrays, in order */ public static byte[] concat(byte[]... arrays) { int length = 0; for (byte[] array : arrays) { length += array.length; } byte[] result = new byte[length]; int pos = 0; for (byte[] array : arrays) { System.arraycopy(array, 0, result, pos, array.length);
Registered: 2024-06-12 16:38 - Last Modified: 2024-02-15 16:12 - 14.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Bytes.java
* @param arrays zero or more {@code byte} arrays * @return a single array containing all the values from the source arrays, in order */ public static byte[] concat(byte[]... arrays) { int length = 0; for (byte[] array : arrays) { length += array.length; } byte[] result = new byte[length]; int pos = 0; for (byte[] array : arrays) { System.arraycopy(array, 0, result, pos, array.length);
Registered: 2024-06-12 16:38 - Last Modified: 2024-02-15 16:12 - 14.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
0x13579bdf, null, "df9b5713"), new ExpectedHashCode( new byte[] {(byte) 0xcd, (byte) 0xab, (byte) 0x00, (byte) 0x00}, 0x0000abcd, null, "cdab0000"), new ExpectedHashCode( new byte[] { (byte) 0xef, (byte) 0xcd, (byte) 0xab, (byte) 0x00,
Registered: 2024-06-12 16:38 - Last Modified: 2023-09-06 17:04 - 13.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
ByteArrayDataInput in = ByteStreams.newDataInput(bytes); byte[] actual = new byte[bytes.length]; in.readFully(actual); assertThat(actual).isEqualTo(bytes); } public void testNewDataInput_readFullyAndThenSome() { ByteArrayDataInput in = ByteStreams.newDataInput(bytes); byte[] actual = new byte[bytes.length * 2]; IllegalStateException ex =
Registered: 2024-06-12 16:38 - Last Modified: 2023-09-06 17:04 - 21.9K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/AbstractCodecTest.groovy
byte[] encode(Closure<Encoder> closure) { def bytes = new ByteArrayOutputStream() encodeTo(bytes, closure) return bytes.toByteArray() } byte[] truncate(Closure<Encoder> closure) { def bytes = new ByteArrayOutputStream() encodeTo(bytes, closure) def result = bytes.toByteArray() if (result.length < 2) {
Registered: 2024-06-12 18:38 - Last Modified: 2024-04-15 16:06 - 14.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
return new String(chars); } private static byte[] toByteArray(int... bytes) { byte[] realBytes = new byte[bytes.length]; for (int i = 0; i < bytes.length; i++) { realBytes[i] = (byte) bytes[i]; } return realBytes; } private static void assertWellFormed(int... bytes) { assertTrue(Utf8.isWellFormed(toByteArray(bytes))); }
Registered: 2024-06-12 16:38 - Last Modified: 2024-02-09 15:49 - 12.7K bytes - Viewed (0) -
platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HashCode.java
private static void longToBytes(long value, byte[] bytes, int offset) { bytes[offset] = (byte) (value & 0xFF); bytes[offset + 1] = (byte) ((value >>> 8) & 0xFF); bytes[offset + 2] = (byte) ((value >>> 16) & 0xFF); bytes[offset + 3] = (byte) ((value >>> 24) & 0xFF); bytes[offset + 4] = (byte) ((value >>> 32) & 0xFF); bytes[offset + 5] = (byte) ((value >>> 40) & 0xFF);
Registered: 2024-06-12 18:38 - Last Modified: 2023-12-14 19:25 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/HashCode.java
Registered: 2024-06-12 16:38 - Last Modified: 2021-04-20 18:43 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
Registered: 2024-06-12 16:38 - Last Modified: 2021-04-20 18:43 - 12.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
* @param context The local security context. */ public void setContext(byte[] context) { this.context = context; } public byte[] toByteArray() { try { String targetName = getTarget(); byte[] challenge = getChallenge(); byte[] context = getContext(); byte[] targetInformation = getTargetInformation(); int flags = getFlags();
Registered: 2024-06-12 15:45 - Last Modified: 2019-03-22 20:39 - 12.6K bytes - Viewed (0)