Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 127 for decodeId (0.72 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

        }
    
        /**
         * Decodes a base64 encoded ID back to the original object name.
         *
         * @param id the encoded ID to decode
         * @return the decoded object name
         */
        protected static String decodeId(final String id) {
            if (id == null) {
                return StringUtil.EMPTY;
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Encdec.java

            dst[di] = (byte) (i >> 24 & 0xFF);
            return 4;
        }
    
        /*
         * Decode integers
         */
    
        /**
         * Decodes a 16-bit unsigned integer from big-endian byte order.
         *
         * @param src the source byte array
         * @param si the starting index in the source array
         * @return the decoded short value
         */
        public static short dec_uint16be(final byte[] src, final int si) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/Encdec.java

            dst[di] = (byte) (i >> 24 & 0xFF);
            return 4;
        }
    
        /* Decode integers
         */
    
        /**
         * Decodes a 16-bit unsigned integer from big-endian byte order.
         *
         * @param src the source byte array
         * @param si the starting index in the source array
         * @return the decoded short value
         */
        public static short dec_uint16be(final byte[] src, final int si) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            assertEquals(40, bytesWritten);
    
            // Decode to verify encoding
            FileBasicInfo decoded = new FileBasicInfo();
            decoded.decode(buffer, offset, 36);
    
            assertEquals(TEST_CREATE_TIME, decoded.getCreateTime());
            assertEquals(TEST_LAST_ACCESS_TIME, decoded.getLastAccessTime());
            assertEquals(TEST_LAST_WRITE_TIME, decoded.getLastWriteTime());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            // Decode
            FileEndOfFileInformation decoded = new FileEndOfFileInformation();
            int decodedBytes = decoded.decode(buffer, 0, 8);
            assertEquals(8, decodedBytes);
    
            // Verify the round trip preserves the value
            // Note: We can't directly access endOfFile field, but toString contains it
            assertEquals(original.toString(), decoded.toString());
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

                int decoded = decodedContext.decode(buffer, 0, encoded);
    
                assertEquals(encoded, decoded);
                assertArrayEquals(originalCiphers, decodedContext.getCiphers());
            }
    
            @Test
            @DisplayName("Should encode and decode correctly with multiple ciphers")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                // Decode
                PreauthIntegrityNegotiateContext decoded = new PreauthIntegrityNegotiateContext();
                int decodedSize = decoded.decode(buffer, 0, encodedSize);
    
                // Verify
                assertEquals(encodedSize, decodedSize);
                assertArrayEquals(hashAlgos, decoded.getHashAlgos());
                assertArrayEquals(salt, decoded.getSalt());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

                    notifications.add(notification);
                }
            }
        }
    
        /**
         * Decodes a single notification from the NDR buffer.
         *
         * @param buf the NDR buffer
         * @return the decoded notification
         * @throws NdrException if decoding fails
         */
        private WitnessNotificationResponse decodeNotification(NdrBuffer buf) throws NdrException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            List<AvPair> pairs = AvPairs.decode(fullData);
    
            assertNotNull(pairs, "Decoded pairs should not be null");
            assertEquals(1, pairs.size(), "Should have decoded one pair");
    
            AvPair pair = pairs.get(0);
            assertEquals(AvPair.MsvAvFlags, pair.getType(), "Pair type should be MsvAvFlags");
            assertTrue(pair instanceof AvFlags, "Should be decoded as AvFlags");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            // Decode
            FileRenameInformation2 decoded = new FileRenameInformation2();
            int bytesRead = decoded.decode(buffer, 0, bytesWritten);
    
            // Verify round trip
            assertEquals(bytesWritten, bytesRead);
            assertEquals(original.size(), decoded.size());
            assertEquals(original.getFileInformationLevel(), decoded.getFileInformationLevel());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top