- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 664 for encoder (0.04 sec)
-
src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java
} @Override public int getContextType() { return CONTEXT_ID; } /** * Get the context data * * @return encoded context data */ public byte[] getData() { // Encode the context data byte[] data = new byte[20]; // 2 + 2 + 4 + 4 + 4 + 4 int idx = 0; SMBUtil.writeInt2(transformCount, data, idx); idx += 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
/** * When lastWriteTime is zero the encoded unsigned time must be all 1s. */ @Test @DisplayName("edge: writeParameterWordsWireFormat with lastWriteTime=0") void testWriteParameterWordsZeroUTime() { SmbComClose close = new SmbComClose(42, 0L); byte[] buffer = new byte[6]; close.writeParameterWordsWireFormat(buffer, 0); // first two bytes encode fid 42
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
assertEquals(expectedLength, ndrBuffer.getIndex()); // Test null string (should encode as 0 length) ndrBuffer.reset(); ndrBuffer.enc_ndr_referent(null, 2); // Use referent to encode null assertEquals(4, ndrBuffer.getIndex()); assertEquals(4, ndrBuffer.getLength()); assertEquals(0, Encdec.dec_uint32le(buffer, 0)); // Should be 0 for null referent } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrObject.java
*/ public NdrObject() { // Default constructor } /** * Encodes this NDR object into the specified buffer * @param dst the destination buffer for encoding * @throws NdrException if encoding fails */ public abstract void encode(NdrBuffer dst) throws NdrException; /** * Decodes this NDR object from the specified buffer
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrObject.java
*/ public NdrObject() { // Default constructor } /** * Encodes this NDR object into the specified buffer * @param dst the destination buffer for encoding * @throws NdrException if encoding fails */ public abstract void encode(NdrBuffer dst) throws NdrException; /** * Decodes this NDR object from the specified buffer
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/DomUtil.java
} catch (final UnsupportedEncodingException ex) { throw new IORuntimeException(ex); } } /** * Encodes the value of an attribute. * * @param s * The attribute value. * @return The encoded attribute value. */ public static String encodeAttrQuot(final String s) { if (s == null) { return null; }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
* @return The string encoded in <code>application/x-www-form-urlencoded</code> format. */ public static String encode(final String s, final String enc) { assertArgumentNotEmpty("s", s); assertArgumentNotEmpty("enc", enc); try { return URLEncoder.encode(s, enc); } catch (final UnsupportedEncodingException e) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
return buf.toString(); } /** * URL-encodes text for use in text fragment parameters. * * @param text the text to encode * @return the URL-encoded text */ private String encodeToString(final String text) { return URLEncoder.encode(text, Constants.CHARSET_UTF_8); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
assertEquals(1, SMBUtil.readInt2(buffer, 8)); assertEquals(1, SMBUtil.readInt2(buffer, 10)); } /** * Test that a large file lock (bit 0x10 set) is encoded and decoded correctly. */ @ParameterizedTest @ValueSource(ints = { 0x10, 0x11 }) void largeFileFlagSet_and_decoded_according_to_type(int type) throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
transformHeader.setFlags(0x0001); transformHeader.setSessionId(testSessionId); byte[] buffer = new byte[52]; // When int encoded = transformHeader.encode(buffer, 0); // Then assertEquals(52, encoded); // Verify protocol ID (first 4 bytes) - 0xFD534D42 in little-endian assertEquals((byte) 0x42, buffer[0]); assertEquals((byte) 0x4D, buffer[1]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0)