- Sort Score
- Result 10 results
- Languages All
Results 591 - 600 of 1,386 for Byte (1.29 sec)
-
src/test/java/jcifs/internal/TreeConnectResponseTest.java
void testWriteBytesWireFormat() throws Exception { // Given byte[] buffer = new byte[100]; // When int bytesWritten = (int) invokeMethod(response, "writeBytesWireFormat", new Class[] { byte[].class, int.class }, buffer, 0); // Then assertEquals(0, bytesWritten, "Should write 0 bytes for response"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java
} @Override public void write(final int b) throws IOException { tmp[0] = (byte) b; write(tmp, 0, 1); } @Override public void write(final byte[] b) throws IOException { write(b, 0, b.length); } @Override public void write(final byte[] b, final int off, int len) throws IOException { if (len < 0) { len = 0; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileInternalInfo.java
return this.indexNumber; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException { this.indexNumber = SMBUtil.readInt8(buffer, bufferIndex); return 8; } /** * {@inheritDoc} *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
import java.util.Arrays; public class Smb2LeaseKey { private final byte[] key; // 16-byte lease key private static final SecureRandom random = new SecureRandom(); public Smb2LeaseKey() { this.key = new byte[16]; random.nextBytes(this.key); } public Smb2LeaseKey(byte[] key) { if (key.length != 16) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
src/bufio/scan_test.go
func TestSplitError(t *testing.T) { // Create a split function that delivers a little data, then a predictable error. numSplits := 0 const okCount = 7 errorSplit := func(data []byte, atEOF bool) (advance int, token []byte, err error) { if atEOF { panic("didn't get enough data") } if numSplits >= okCount { return 0, nil, testError } numSplits++ return 1, data[0:1], nil }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
log.error("Failed to create builtin SIDs", se); } } /** * Convert a sid_t to byte array * * @param sid the RPC sid_t structure to convert * @return byte encoded form */ public static byte[] toByteArray(final rpc.sid_t sid) { final byte[] dst = new byte[1 + 1 + 6 + sid.sub_authority_count * 4]; int di = 0; dst[di] = sid.revision; di++;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/SerializeUtil.java
assertArgumentNotNull("obj", obj); final byte[] binary = fromObjectToBinary(obj); return fromBinaryToObject(binary); } /** * Converts an object to a byte array. * * @param obj the object to serialize (must not be {@literal null}) * @return the byte array of the object */ public static byte[] fromObjectToBinary(final Object obj) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleInternal.java
*/ int recv(byte[] buf, int off, int length) throws IOException; /** * Send data to the pipe * * @param buf buffer containing data to send * @param off offset in the buffer * @param length length of data to send * @throws IOException if an I/O error occurs */ void send(byte[] buf, int off, int length) throws IOException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/bufio/scan.go
} // Split functions // ScanBytes is a split function for a [Scanner] that returns each byte as a token. func ScanBytes(data []byte, atEOF bool) (advance int, token []byte, err error) { if atEOF && len(data) == 0 { return 0, nil, nil } return 1, data[0:1], nil } var errorRune = []byte(string(utf8.RuneError)) // ScanRunes is a split function for a [Scanner] that returns each
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed May 21 18:05:26 UTC 2025 - 14.2K bytes - Viewed (0)