- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 309 for encodeId (0.27 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
} /** * Encodes an object name to a URL-safe base64 string. * * @param objectName the object name to encode * @return base64 encoded string */ protected static String encodeId(final String objectName) { if (objectName == null) { return StringUtil.EMPTY; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
// Encode multiple times byte[] buffer1 = new byte[100]; byte[] buffer2 = new byte[100]; byte[] buffer3 = new byte[100]; int encoded1 = request.encode(buffer1, 0); int encoded2 = request.encode(buffer2, 0); int encoded3 = request.encode(buffer3, 0); // All should produce same result assertEquals(encoded1, encoded2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/util/Encdec.java
private static final int TIME_1970_MILLIS_64LE = 8; /** * */ private Encdec() { } /* * Encode integers */ /** * Encodes a 16-bit unsigned integer in big-endian byte order. * * @param s the short value to encode * @param dst the destination byte array * @param di the starting index in the destination array
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
byte[] dst = new byte[buffer.size()]; int bytesEncoded = buffer.encode(dst, 0); assertEquals(buffer.size(), bytesEncoded); // Verify encoded data ByteBuffer bb = ByteBuffer.wrap(dst).order(ByteOrder.LITTLE_ENDIAN); assertEquals(maxReferralLevel, bb.getShort()); // Verify path encoding (UTF-16LE)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Encdec.java
* Time encoding type: 1970 epoch, 64-bit milliseconds, little-endian. */ public static final int TIME_1970_MILLIS_64LE = 8; /* Encode integers */ /** * Encodes a 16-bit unsigned integer in big-endian byte order. * * @param s the short value to encode * @param dst the destination byte array * @param di the starting index in the destination array
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
request.setAttribute(key, query); } return query; }).orElse(null); } /** * Encodes a string to URL-safe Base64 format. * * @param value the string to encode * @return Base64 encoded string, or empty string if value is null */ public static String base64(final String value) { if (value == null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
int encoded = context.encode(largeBuffer, 0); assertEquals(2 + 200, encoded); // 2 for count + 100*2 for ciphers EncryptionNegotiateContext decoded = new EncryptionNegotiateContext(); try { int decodedSize = decoded.decode(largeBuffer, 0, encoded); assertEquals(encoded, decodedSize);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameTest.java
// Should encode all 15 characters assertTrue(length >= 34); assertEquals(0x20, dst[0]); } @Test void readWireFormat_withTrailingSpaces_shouldTrimCorrectly() { // Prepare encoded data for "TEST " (with trailing spaces) byte[] src = new byte[100]; src[0] = 0x20; // Encode "TEST" correctly
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java
dstOut.enc_ndr_long(1); // Non-null pointer for totalentries totalentries.encode(dstOut); // Encode the totalentries dstOut.enc_ndr_long(0); // Simulate retval // Use the encoded data for decoding NdrBuffer srcOut = new NdrBuffer(encodeBufferOut, 0); decodedEnumEx.decode_out(srcOut); assertEquals(0, decodedEnumEx.retval); assertEquals(info.level, decodedEnumEx.info.level);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
int encoded = lock.encode(smallBuffer, 0); assertEquals(24, encoded); assertEquals(100L, SMBUtil.readInt8(smallBuffer, 0)); assertEquals(200L, SMBUtil.readInt8(smallBuffer, 8)); assertEquals(1, SMBUtil.readInt4(smallBuffer, 16)); } @ParameterizedTest @DisplayName("Should encode consistently with various flag values")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0)