- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 326 for decodeTo (0.26 sec)
-
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
0xA5A5A5A5, fileId); byte[] packet = buildPacket(header, body, null, null); int read = resp.decode(packet, 0, false); assertTrue(read >= SMB2_HEADER_LENGTH + body.length, "Should decode at least header+body"); // Validate simple getters assertEquals((byte) 0x7, resp.getOplockLevel()); assertEquals((byte) 0x2, resp.getOpenFlags());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvPairs.java
* @author mbechler */ public final class AvPairs { private AvPairs() { } /** * Decode a list of AvPairs * * @param data the encoded AV pairs data * @return individual pairs * @throws CIFSException if decoding fails */ public static List<AvPair> decode(final byte[] data) throws CIFSException { final List<AvPair> pairs = new LinkedList<>(); int pos = 0;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosAuthData.java
* @param token the authorization data token * @param keys the Kerberos keys for decryption * @return a list of parsed authorization data * @throws PACDecodingException if the data cannot be decoded */ public static List<KerberosAuthData> parse(int authType, byte[] token, Map<Integer, KerberosKey> keys) throws PACDecodingException { List<KerberosAuthData> authorizations = new ArrayList<>();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (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();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
offset += 4; return offset - start; } /** * Decode directory lease context from buffer * * @param buffer the buffer containing the context data * @param offset offset in the buffer * @param length length of the context data */ public void decode(byte[] buffer, int offset, int length) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java
public long getFree() { return this.free * this.sectPerAlloc * this.bytesPerSect; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; bufferIndex += 4; // skip idFileSystem
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java
* @throws NdrException if encoding fails */ public abstract void encode_in(NdrBuffer buf) throws NdrException; /** * Decode the output parameters from this DCERPC message. * @param buf the buffer to decode from * @throws NdrException if decoding fails */ public abstract void decode_out(NdrBuffer buf) throws NdrException;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt
* limitations under the License. */ package okhttp3.internal.http2.hpackjson /** * Representation of one story, a set of request headers to encode or decode. This class is used * reflectively with Moshi to parse stories from files. */ data class Story( val description: String? = null, val cases: List<Case>, val fileName: String? = null, ) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
* includes both natural exceptions such as unreachable servers, as well as synthetic exceptions * when responses are of an unexpected type or cannot be decoded. * * Other exception types cancel the current call: * * * For synchronous calls made with [Call.execute], the exception is propagated to the caller. *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt
/** * Tests for round-tripping headers through hpack. * * TODO: update hpack-test-case with the output of our encoder. * This test will hide complementary bugs in the encoder and decoder, * We should test that the encoder is producing responses that are */ class HpackRoundTripTest : HpackDecodeTestBase() { internal class StoriesTestProvider : SimpleProvider() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0)