- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 1,386 for Byte (0.02 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
byte[] buffer = new byte[20]; response.wordCount = 0; int bytesRead = response.readParameterWordsWireFormat(buffer, 0); assertEquals(0, bytesRead); } /** * Test of readBytesWireFormat method, of class SmbComQueryInformationResponse. */ @Test public void testReadBytesWireFormat() { byte[] buffer = new byte[10];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Fingerprint2011.java
seedA += part3; seedB += rotateRight(seedA, 23); output[0] = seedA + part4; output[1] = seedB + c; } /* * Compute an 8-byte hash of a byte array of length greater than 64 bytes. */ private static long fullFingerprint(byte[] bytes, int offset, int length) { // For lengths over 64 bytes we hash the end first, and then as we // loop we keep 56 bytes of state: v, w, x, y, and z.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java
* operation on the server. * * @author mbechler * */ public class Smb2IoctlResponse extends ServerMessageBlock2Response { private final byte[] outputBuffer; private int ctlCode; private byte[] fileId; private int ioctlFlags; private Decodable outputData; private Decodable inputData; private int outputLength; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
// SMB uses little-endian byte order private static void writeLong(byte[] buf, int offset, long val) { for (int i = 0; i < 8; i++) { buf[offset + i] = (byte) ((val >>> (8 * i)) & 0xFF); } } private static void writeShort(byte[] buf, int offset, int val) { buf[offset] = (byte) (val & 0xFF); buf[offset + 1] = (byte) ((val >>> 8) & 0xFF); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleGuidTest.java
@Test public void testHandleGuidInvalidBytes() { assertThrows(IllegalArgumentException.class, () -> { new HandleGuid(new byte[8]); // Wrong length }); assertThrows(IllegalArgumentException.class, () -> { new HandleGuid(new byte[20]); // Wrong length }); } @Test public void testHandleGuidEqualsAndHashCode() { UUID uuid = UUID.randomUUID();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.4K bytes - Viewed (0) -
src/bufio/bufio_test.go
func TestUnreadByteOthers(t *testing.T) { // A list of readers to use in conjunction with UnreadByte. var readers = []func(*Reader, byte) ([]byte, error){ (*Reader).ReadBytes, (*Reader).ReadSlice, func(r *Reader, delim byte) ([]byte, error) { data, err := r.ReadString(delim) return []byte(data), err }, // ReadLine doesn't fit the data/pattern easily // so we leave it out. It should be covered via
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 07 01:08:54 UTC 2025 - 51.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java
maxSetupCount = 0; } @Override int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = subCommand; dstIndex++; dst[dstIndex++] = (byte) 0x00; return 2; } @Override int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; writeInt2(searchAttributes, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java
} @Override protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; if (this.getCommand() != SMB_COM_NT_TRANSACT_SECONDARY) { dst[dstIndex++] = this.maxSetupCount; } else { dst[dstIndex++] = (byte) 0x00; // Reserved } dst[dstIndex] = (byte) 0x00; // Reserved dstIndex++;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SSPContext.java
*/ byte[] calculateMIC(byte[] data) throws CIFSException; /** * Verifies a Message Integrity Code (MIC) for the given data. * @param data the data to verify * @param mic the MIC to verify against * @throws CIFSException if the MIC verification fails or an error occurs */ void verifyMIC(byte[] data, byte[] mic) throws CIFSException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
* com.google.common.io.ByteStreams#newDataOutput()} to get a growable buffer. */ public static byte[] toByteArray(int value) { return new byte[] { (byte) (value >> 24), (byte) (value >> 16), (byte) (value >> 8), (byte) value }; } /** * Returns the {@code int} value whose big-endian representation is stored in the first 4 bytes of
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 31.4K bytes - Viewed (0)