- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 443 for Encodings (0.04 sec)
-
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
*/ package jcifs.smb1.dcerpc.ndr; import java.io.UnsupportedEncodingException; import java.util.HashMap; import jcifs.smb1.util.Encdec; /** * NDR (Network Data Representation) buffer for encoding and decoding DCE/RPC messages. * This class provides methods for reading and writing primitive types and strings * in NDR format for DCE/RPC communication. */ public class NdrBuffer { int referent;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PermissionHelper.java
} return null; } return permission; } /** * Decodes a search role format string back to a permission string. * Reverses the encoding process to restore original permission format. * * @param value the encoded permission string to decode * @return the decoded permission string, or null if the input is blank or invalid */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
class NameQueryResponseTest { @Mock private Configuration mockConfig; private NameQueryResponse nameQueryResponse; @BeforeEach void setUp() { // Mock the OEM encoding configuration with lenient stubbing // since not all tests need this stub lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); // Initialize NameQueryResponse before each testRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java
// + 1 byte 0x00 // + context System.arraycopy(context, 0, suffix, label.length + 1, context.length); // + 4 byte (== r bits) big endian encoding of L suffix[suffix.length - 1] = (byte) 128; final DerivationParameters param = new KDFCounterParameters(sessionKey, null /* prefix */, suffix /* suffix */, r /* r */); gen.init(param);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
assertEquals((byte) 0x00, next.maxSetupCount, "Max setup count must be 0"); // Information level defaults to BOTH_DIRECTORY_INFO (0x104) — check via parameters encoding byte[] buf = new byte[2 + 2 + 2 + 4 + 2 + filename.length() + 1]; int n = next.writeParametersWireFormat(buf, 0); assertEquals(buf.length, n, "Parameter bytes written should match expected length");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
* * @return maximum number of sessions on a single connection */ int getSessionLimit(); /** * * Property {@code jcifs.encoding} (string, default {@code Cp850}) * * @return OEM encoding to use */ String getOemEncoding(); /** * Gets the local timezone for time-related operations * * @return local timezone */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
assertEquals(expected, result); } @Test void testReadString_Oem() { response.useUnicode = false; String expected = "test"; // Simulate OEM encoding with a null terminator byte[] src = (expected + "\0").getBytes(StandardCharsets.UTF_8); String result = response.readString(src, 0, src.length); // The method should remove the null terminator
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
int result = nodeStatusRequest.writeBodyWireFormat(dst, 10); // Assert assertTrue(result > 0); // Verify the hex code was temporarily set to 0x00 // The first byte after the name encoding should reflect this } @Test void readBodyWireFormat_shouldAlwaysReturnZero() { // Arrange nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java
* The class uses {@link DOMParser} to parse HTML documents and {@link XPathAPI} to execute XPath queries. * It also provides methods to add custom features and properties to the {@link DOMParser}. * </p> * <p> * The encoding of the HTML document is automatically detected using a regular expression that matches the charset attribute in the meta tag. * </p> * */ public class HtmlXpathExtractor extends AbstractXmlExtractor { /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Oct 04 08:47:19 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
void testEncode() { // Create instance with known value long endOfFile = 0x123456789ABCDEFL; FileEndOfFileInformation info = new FileEndOfFileInformation(endOfFile); // Create buffer for encoding byte[] buffer = new byte[16]; int bytesWritten = info.encode(buffer, 0); // Verify bytes written assertEquals(8, bytesWritten); // Verify encoded value
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0)