- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 1,703 for byte (0.02 sec)
-
guava/src/com/google/common/hash/HashingInputStream.java
* the bytes read. */ @Override @CanIgnoreReturnValue public int read(byte[] bytes, int off, int len) throws IOException { int numOfBytesRead = in.read(bytes, off, len); if (numOfBytesRead != -1) { hasher.putBytes(bytes, off, numOfBytesRead); } return numOfBytesRead; } /** * mark() is not supported for HashingInputStream * * @return {@code false} always */ @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Longs.java
* @throws IllegalArgumentException if {@code bytes} has fewer than 8 elements */ public static long fromByteArray(byte[] bytes) { checkArgument(bytes.length >= BYTES, "array too small: %s < %s", bytes.length, BYTES); return fromBytes( bytes[0], bytes[1], bytes[2], bytes[3], bytes[4], bytes[5], bytes[6], bytes[7]); } /** * Returns the {@code long} value whose byte representation is the given 8 bytes, in big-endianRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
} public void testReset() throws Exception { byte[] data = newPreFilledByteArray(100); FileBackedOutputStream out = new FileBackedOutputStream(Integer.MAX_VALUE); ByteSource source = out.asByteSource(); out.write(data); assertTrue(Arrays.equals(data, source.read())); out.reset(); assertTrue(Arrays.equals(new byte[0], source.read())); out.write(data);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LockResponse.java
*/ @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBSigningDigestTest.java
} @Test @DisplayName("Test sign method with different offsets") void testSignWithDifferentOffsets() { // Arrange byte[] largeData = new byte[100]; for (int i = 0; i < largeData.length; i++) { largeData[i] = (byte) i; } // Test with different offsets int[] offsets = { 0, 10, 50, 90 }; for (int offset : offsets) { // ActRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java
} @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java
super(config); } @Override protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex; buffer[bufferIndex] = (byte) 0x00; // Reserved bufferIndex++; buffer[bufferIndex++] = (byte) 0x00; // Reserved buffer[bufferIndex++] = (byte) 0x00; // Reserved this.totalParameterCount = SMBUtil.readInt4(buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
} @Override public byte[] calculateMIC(final byte[] data) throws CIFSException { if (!this.completed) { throw new CIFSException("Context is not established"); } return this.mechContext.calculateMIC(data); } /** * {@inheritDoc} * * @see jcifs.smb.SSPContext#verifyMIC(byte[], byte[]) */ @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransCallNamedPipe.java
maxSetupCount = (byte) 0x00; setupCount = 2; } @Override int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = subCommand; dstIndex++; dst[dstIndex++] = (byte) 0x00; // this says "Transaction priority" in netmon dst[dstIndex++] = (byte) 0x00; // no FID dst[dstIndex++] = (byte) 0x00; return 4; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java
this.maxSetupCount = 0; } @Override protected int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = getSubCommand(); dstIndex++; dst[dstIndex++] = (byte) 0x00; return 2; } @Override protected int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0)