- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 632 for encodeId (0.06 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/internal/smb1/trans2/Trans2SetFileInformationTest.java
assertEquals(fid & 0xFFFF, actualFid); } @Test @DisplayName("Test writeDataWireFormat") void testWriteDataWireFormat() { // Setup mock to return encoded size when(mockFileInfo.encode(any(byte[].class), anyInt())).thenReturn(40); trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo); byte[] buffer = new byte[512];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K 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/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
// Test encoding/decoding byte[] encoded = nic.encode(); assertNotNull(encoded); assertEquals(Smb2ChannelCapabilities.NETWORK_INTERFACE_INFO_SIZE, encoded.length); NetworkInterfaceInfo decoded = NetworkInterfaceInfo.decode(encoded, 0); assertEquals(nic.getInterfaceIndex(), decoded.getInterfaceIndex());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java
* Create username/password credentials with specified domain * * @param domain the authentication domain * @param username the username * @param passwordHashHex * NT password hash, hex encoded */ public NtlmNtHashAuthenticator(final String domain, final String username, final String passwordHashHex) { this(domain, username, Hex.decode(passwordHashHex)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 2.6K 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) -
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) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
) fun keyPair(): KeyPair = keyPair /** * Returns the certificate encoded in [PEM format][rfc_7468]. * * [rfc_7468]: https://tools.ietf.org/html/rfc7468 */ fun certificatePem(): String = certificate.certificatePem() /** * Returns the private key encoded in [PKCS #8][rfc_5208] [PEM format][rfc_7468]. * * [rfc_5208]: https://tools.ietf.org/html/rfc5208
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 21.6K bytes - Viewed (0) -
src/main/java/jcifs/spnego/SpnegoToken.java
*/ public void setMechanismListMIC(final byte[] mechanismListMIC) { this.mechanismListMIC = mechanismListMIC; } /** * Encodes this SPNEGO token to a byte array * @return the encoded token bytes */ public abstract byte[] toByteArray(); /** * Parses the provided token bytes to populate this SPNEGO token * @param token the token bytes to parse
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K 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)