- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 1,693 for byte2 (0.03 sec)
-
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
request = new Smb2CreateRequest(mockConfig, longPath); byte[] buffer = new byte[2048]; int bytesWritten = request.writeBytesWireFormat(buffer, 0); assertTrue(bytesWritten > 0); // Verify name length field at offset 46 (after 44 bytes of fixed fields + 2 for name offset) byte[] nameBytes = longPath.getBytes(StandardCharsets.UTF_16LE);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0) -
src/bytes/bytes_test.go
{"TrimRight", []byte("☺"), "☺", []byte{}}, {"TrimPrefix", nil, "", nil}, {"TrimPrefix", []byte{}, "", []byte{}}, {"TrimPrefix", []byte{'a'}, "a", []byte{}}, {"TrimPrefix", []byte("☺"), "☺", []byte{}}, {"TrimSuffix", nil, "", nil}, {"TrimSuffix", []byte{}, "", []byte{}}, {"TrimSuffix", []byte{'a'}, "a", []byte{}}, {"TrimSuffix", []byte("☺"), "☺", []byte{}}, }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 28 18:13:58 UTC 2025 - 62.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SocketInputStream.java
return tmp[0] & 0xFF; } @Override public synchronized int read(final byte[] b) throws IOException { return read(b, 0, b.length); } /* This method will not return until len bytes have been read * or the stream has been closed. */ @Override public synchronized int read(final byte[] b, int off, int len) throws IOException { if (len == 0) { return 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java
/** * Decodes a security descriptor from a byte buffer. * * @param buffer the byte buffer containing the security descriptor data * @param bufferIndex the starting offset in the buffer * @param len the length of data to decode * @return the number of bytes decoded * @throws IOException if an I/O error occurs during decoding */
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/dcerpc/DcerpcHandle.java
* @throws IOException * @throws DcerpcException * @throws NdrException */ private byte[] receiveMoreFragments(final DcerpcMessage msg, byte[] in) throws IOException, DcerpcException, NdrException { int off = msg.ptype == 2 ? msg.length : 24; final byte[] fragBytes = new byte[this.max_recv]; final NdrBuffer fragBuf = new NdrBuffer(fragBytes, 0); while (!msg.isFlagSet(DCERPC_LAST_FRAG)) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0) -
cmd/xl-storage-format-v1_gen.go
return } return } // MarshalMsg implements msgp.Marshaler func (z BitrotAlgorithm) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendUint(o, uint(z)) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *BitrotAlgorithm) UnmarshalMsg(bts []byte) (o []byte, err error) { { var zb0001 uint zb0001, bts, err = msgp.ReadUintBytes(bts) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Dec 15 22:50:12 UTC 2024 - 41.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnectResponse.java
/** * Context name for durable handle reconnect response */ public static final String CONTEXT_NAME = "DHnC"; private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); // The response structure is empty (0 bytes) for reconnect // No data is returned in a successful reconnect response /** * Create a new durable handle reconnect response */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2K bytes - Viewed (0) -
cmd/bootstrap-peer-server_gen.go
o = msgp.AppendString(o, z.Checksum) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *ServerSystemConfig) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zb0001 uint32 zb0001, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { err = msgp.WrapError(err) return } for zb0001 > 0 { zb0001--
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jun 21 14:49:49 UTC 2024 - 7K 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) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.java
// Write context name System.arraycopy(CONTEXT_NAME_BYTES, 0, dst, dstIndex, 4); dstIndex += 4; // Padding to align data to 8-byte boundary dstIndex += 4; // Write durable handle request data (16 bytes of reserved) for (int i = 0; i < 16; i++) { dst[dstIndex + i] = 0; } dstIndex += 16; return dstIndex - start; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.6K bytes - Viewed (0)