- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,193 for decoding (0.05 sec)
-
src/main/java/jcifs/internal/util/SMBUtil.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.util; import jcifs.SmbConstants; /** * SMB protocol utility class providing low-level data encoding and decoding operations. * Contains methods for reading and writing various data types (integers, strings, timestamps) * in SMB protocol format, handling endianness and data type conversions. * * @author mbechler */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
cmd/streaming-v4-unsigned.go
} return &s3UnsignedChunkedReader{ trailers: req.Trailer, reader: bufio.NewReader(req.Body), buffer: make([]byte, 64*1024), }, ErrNone } // Represents the overall state that is required for decoding a // AWS Signature V4 chunked reader. type s3UnsignedChunkedReader struct { reader *bufio.Reader trailers http.Header buffer []byte offset int err error debug bool }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Apr 03 14:55:52 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java
*/ @Override public int getGrantedCredits() { return getCredit(); } /** * {@inheritDoc} * * @throws SMBProtocolDecodingException if there is an error decoding the response * * @see jcifs.internal.smb2.ServerMessageBlock2#haveResponse(byte[], int, int) */ @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 8.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java
* @return the decoded text or empty string if decoding fails */ protected String getDecodeText(final String value) { if (value == null) { return StringUtil.EMPTY; } try { return MimeUtility.decodeText(value); } catch (final UnsupportedEncodingException e) { logger.warn("Invalid encoding.", e); return StringUtil.EMPTY; }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java
} /** * Decodes a wide string pointer from NDR format. * * @param buf the NDR buffer * @return the decoded string (or null if NULL pointer) * @throws NdrException if decoding fails */ private String decodeWideStringPointer(NdrBuffer buf) throws NdrException { int pointer = buf.dec_ndr_long(); if (pointer == 0) { return null; // NULL pointer }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
// Decode to new instance (decode reads 36 bytes, encode writes 40) FileBasicInfo decoded = new FileBasicInfo(); int decodedBytes = decoded.decode(buffer, 0, 36); // Verify encoding/decoding assertEquals(40, encodedBytes); // encode writes 40 bytes (includes padding) assertEquals(36, decodedBytes); // decode reads 36 bytes (no padding)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/test/java/jcifs/smb/SmbRandomAccessFileTest.java
assertEquals((byte) 0xFF, raf.readByte()); assertEquals(0xFF, raf.readUnsignedByte()); } @Test @DisplayName("readShort/UnsignedShort/Char: big-endian decoding") void read_twoByteVariants() throws Exception { SmbRandomAccessFile raf = spy(newInstance("r", false, false, false)); doAnswer(inv -> { byte[] b = inv.getArgument(0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java
* * @param <T> the type of the decoded response data * @param responseType the class of the expected response type * @return decoded data * @throws SmbException if decoding fails or the response type is incompatible */ @SuppressWarnings("unchecked") public <T extends Decodable> T getOutputData(final Class<T> responseType) throws SmbException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
FileEndOfFileInformation fileInfo = new FileEndOfFileInformation(endOfFile); // Test encoding byte[] buffer = new byte[8]; int encoded = fileInfo.encode(buffer, 0); assertEquals(8, encoded); // Test decoding FileEndOfFileInformation decoded = new FileEndOfFileInformation(); int decodedBytes = decoded.decode(buffer, 0, 8);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java
// Extract bucket name from host bucketName = url.getHost() != null ? url.getHost() : StringUtil.EMPTY; // Extract object name from path, removing leading slash if present and decoding URL encoding final String path = url.getPath(); if (path != null && !path.isEmpty()) { final String pathWithoutLeadingSlash = path.startsWith("/") ? path.substring(1) : path;Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 9.6K bytes - Viewed (0)