- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 1,072 for Decode (0.12 seconds)
-
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
// Call the decode method ndrLong.decode(mockNdrBuffer); // Verify that dec_ndr_long was called exactly once verify(mockNdrBuffer, times(1)).dec_ndr_long(); // Verify that the value field was updated correctly assertEquals(decodedValue, ndrLong.value, "Decode should correctly assign the value returned by dec_ndr_long.");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/util/Encdec.java
* @return the decoded float value */ public static float dec_floatbe(final byte[] src, final int si) { return Float.intBitsToFloat(dec_uint32be(src, si)); } /* * Encode and decode doubles */ /** * Encodes a double value in little-endian byte order. * * @param d the double value to encode * @param dst the destination byte arrayCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java
int decodedValue = 200; when(mockNdrBuffer.dec_ndr_small()).thenReturn(decodedValue); // Create an NdrSmall object (initial value doesn't matter for decode) NdrSmall ndrSmall = new NdrSmall(0); // Call the decode method ndrSmall.decode(mockNdrBuffer); // Verify that dec_ndr_small was called verify(mockNdrBuffer, times(1)).dec_ndr_small();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/rpc.java
_dst = _dst.derive(_nodei); for (int _i = 0; _i < _nodes; _i++) { _dst.enc_ndr_small(this.node[_i]); } } @Override public void decode(NdrBuffer _src) throws NdrException { _src.align(4); this.time_low = _src.dec_ndr_long(); this.time_mid = (short) _src.dec_ndr_short();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
byte[] buffer = new byte[originalContext.size()]; originalContext.encode(buffer, 0); // Create a new context and decode DirectoryLeaseContext decodedContext = new DirectoryLeaseContext(new Smb2LeaseKey(), 0, DirectoryCacheScope.IMMEDIATE_CHILDREN); decodedContext.decode(buffer, 0, buffer.length); // Verify decoded valuesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 10.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoResponse.java
public void setInterfaces(List<NetworkInterfaceInfo> interfaces) { this.interfaces = interfaces; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(byte[] buffer, int bufferIndex, int len) { int start = bufferIndex; int end = start + len; interfaces.clear();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 2.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileInternalInfo.java
*/ public long getIndexNumber() { 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; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.6K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/samr.java
public void encode_in(final NdrBuffer _dst) throws NdrException { this.handle.encode(_dst); _dst.enc_ndr_long(this.access_mask); this.sid.encode(_dst); } @Override public void decode_out(final NdrBuffer _src) throws NdrException { this.domain_handle.decode(_src); this.retval = _src.dec_ndr_long(); } } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 23.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java
public void encode_in(final NdrBuffer _dst) throws NdrException { handle.encode(_dst); _dst.enc_ndr_long(access_mask); sid.encode(_dst); } @Override public void decode_out(final NdrBuffer _src) throws NdrException { domain_handle.decode(_src); retval = _src.dec_ndr_long(); } } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 23.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/rpc.java
_dst = _dst.derive(_nodei); for (int _i = 0; _i < _nodes; _i++) { _dst.enc_ndr_small(node[_i]); } } @Override public void decode(NdrBuffer _src) throws NdrException { _src.align(4); time_low = _src.dec_ndr_long(); time_mid = (short) _src.dec_ndr_short(); time_hi_and_version = (short) _src.dec_ndr_short();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.2K bytes - Click Count (0)