Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,253 for Encoding (0.05 sec)

  1. src/main/java/jcifs/smb1/util/Encdec.java

     * MA 02111-1307, USA
     */
    
    package jcifs.smb1.util;
    
    import java.io.IOException;
    import java.util.Date;
    
    /**
     * Encoding and decoding utility class for SMB1 protocol.
     * Provides methods for encoding/decoding various data types in different byte orders.
     */
    public class Encdec {
    
        /**
         * Default constructor for Encdec.
         * This is a utility class with static methods.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractorTest.java

            final String encoding = xmlExtractor.getEncoding(bis);
            CloseableUtil.closeQuietly(bis);
            assertEquals("Shift_JIS", encoding);
        }
    
        public void test_getEncoding_utf8bom() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/xml/test_utf8bom.xml");
            final BufferedInputStream bis = new BufferedInputStream(in);
            final String encoding = xmlExtractor.getEncoding(bis);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt

        val s = "hello zstd world".encodeUtf8().zstdCompress()
    
        val response =
          response("https://example.com/", s) {
            header("Content-Encoding", "zstd")
          }
    
        val decompressed = zstdInterceptor.decompress(response)
        assertThat(decompressed.header("Content-Encoding")).isNull()
    
        val responseString = decompressed.body.string()
        assertThat(responseString).isEqualTo("hello zstd world")
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  4. src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java

            // Create buffer for encoding - initially allocate some space
            byte[] encodeBuffer = new byte[1024];
            NdrBuffer dst = new NdrBuffer(encodeBuffer, 0);
            info1.encode(dst);
    
            ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
            // Use the encoded buffer for decoding
            NdrBuffer src = new NdrBuffer(encodeBuffer, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MarkdownExtractor.java

        }
    
        /**
         * Gets the encoding for Markdown files.
         *
         * @return the encoding
         */
        public String getEncoding() {
            return encoding;
        }
    
        /**
         * Sets the encoding for Markdown files.
         *
         * @param encoding the encoding
         */
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/PropertiesUtil.java

            assertArgumentNotNull("props", props);
            assertArgumentNotNull("file", file);
            assertArgumentNotEmpty("encoding", encoding);
    
            final Reader reader = ReaderUtil.create(file, encoding);
    
            try {
                props.load(reader);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            } finally {
                CloseableUtil.close(reader);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/OsddHelper.java

         */
        public void setOsddPath(final String osddPath) {
            this.osddPath = osddPath;
        }
    
        /**
         * Sets the encoding.
         *
         * @param encoding the encoding
         */
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    
        /**
         * Sets the content type.
         *
         * @param contentType the content type
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/ndr/NdrObject.java

     * This abstract class defines the interface for encoding and decoding NDR data types.
     */
    public abstract class NdrObject {
    
        /**
         * Default constructor for NDR object
         */
        public NdrObject() {
            // Default constructor
        }
    
        /**
         * Encodes this NDR object into the specified buffer
         * @param dst the destination buffer for encoding
         * @throws NdrException if encoding fails
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/ndr/NdrObject.java

     * This abstract class defines the interface for encoding and decoding NDR data types.
     */
    public abstract class NdrObject {
    
        /**
         * Default constructor for NDR object
         */
        public NdrObject() {
            // Default constructor
        }
    
        /**
         * Encodes this NDR object into the specified buffer
         * @param dst the destination buffer for encoding
         * @throws NdrException if encoding fails
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            assertFileExistence(dir, filename, true);
    
            File file = new File(dir, filename);
    
            String contents = FileUtils.fileRead(file, encoding);
    
            assertEquals(contentsTest, contents);
        }
    
        public File createFile(File dir, String filename, String contents, String encoding) throws IOException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top