Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 406 for getByte (0.04 sec)

  1. src/main/java/jcifs/util/SecureKeyManager.java

            // This is a placeholder - real implementation should use proper KDF
            byte[] derived = new byte[length];
    
            // Combine inputs
            byte[] labelBytes = label.getBytes(java.nio.charset.StandardCharsets.UTF_8);
            byte[] input = new byte[baseKey.length + labelBytes.length + (context != null ? context.length : 0)];
    
            int pos = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

         */
        protected static String encodeId(final String objectName) {
            if (objectName == null) {
                return StringUtil.EMPTY;
            }
            return new String(Base64.getUrlEncoder().encode(objectName.getBytes(Constants.UTF_8_CHARSET)), Constants.UTF_8_CHARSET);
        }
    
        /**
         * Decodes a base64 encoded ID back to the original object name.
         *
         * @param id the encoded ID to decode
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                        final String converted = URLEncoder.encode(target, Constants.UTF_8);
                        if (target.equals(converted)) {
                            encodedBuf.append(Base64.getUrlEncoder().encodeToString(target.getBytes(Constants.CHARSET_UTF_8)));
                        } else {
                            encodedBuf.append(converted);
                        }
                    } catch (final UnsupportedEncodingException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

         *
         * @param u the URL string to process
         * @param encoding the character encoding to use for URL decoding
         * @return the processed site path, abbreviated if necessary
         */
        default String getSite(final String u, final String encoding) {
            if (StringUtil.isBlank(u)) {
                return StringUtil.EMPTY; // empty
            }
    
            String url = u;
            int idx = url.indexOf("://");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

        }
    
        /**
         * Returns the type identifier for this dictionary file.
         *
         * @return the string "mapping" identifying this as a character mapping file
         */
        @Override
        public String getType() {
            return MAPPING;
        }
    
        /**
         * Returns the file path of this character mapping dictionary.
         *
         * @return the file path as a string
         */
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                            * fessConfig.getThumbnailHtmlImageThumbnailWidthAsInteger().floatValue() / width);
                    final BufferedImage thumbnail = new BufferedImage(thumbnailWidth, thumbnailHeight, image.getType());
                    thumbnail.getGraphics()
                            .drawImage(image.getScaledInstance(thumbnailWidth, thumbnailHeight, Image.SCALE_AREA_AVERAGING), 0, 0,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            SMBUtil.writeInt2(24, buffer, 10); // DataOffset
            SMBUtil.writeInt4(32, buffer, 12); // DataLength (standard lease only)
    
            // Write name
            System.arraycopy("DLse".getBytes(), 0, buffer, 16, 4);
    
            // Write lease key
            Smb2LeaseKey key = new Smb2LeaseKey();
            key.encode(buffer, 24);
    
            // Write lease state
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

                buf.enc_ndr_long(0); // NULL pointer
            } else {
                buf.enc_ndr_long(1); // Non-NULL pointer
    
                // Convert to UTF-16LE (wide string)
                byte[] wideBytes = str.getBytes(StandardCharsets.UTF_16LE);
                int charCount = str.length();
    
                // NDR string structure: MaximumCount, Offset, ActualCount, then data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbResourceLocator.java

         *         <code>TYPE_PRINTER</code> or <code>TYPE_COMM</code>.
         * @throws CIFSException if the type cannot be determined
         */
        int getType() throws CIFSException;
    
        /**
         * Determines whether this resource represents a workgroup reference.
         *
         * @return whether this is a workgroup reference
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

    class TransTransactNamedPipeTest {
    
        @Mock
        private Configuration mockConfig;
    
        private static final int TEST_FID = 0x1234;
        private static final byte[] TEST_DATA = "Test pipe data".getBytes(StandardCharsets.UTF_8);
        private static final int TEST_OFFSET = 0;
        private static final int TEST_LENGTH = TEST_DATA.length;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top