Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for getLong (0.14 sec)

  1. src/test/java/jcifs/ConfigTest.java

        }
    
        @Test
        @DisplayName("Should get long property with default value")
        void testGetLongWithDefault() {
            assertEquals(1234567890123L, Config.getLong(testProperties, "test.long", 0L));
            assertEquals(987654321L, Config.getLong(testProperties, "nonexistent.long", 987654321L));
        }
    
        @Test
        @DisplayName("Should get InetAddress property with default value")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

            // The last 8 bytes are read as big-endian (network byte order for the high/low parts)
            ByteBuffer bb2 = ByteBuffer.wrap(bytes, 8, 8).order(java.nio.ByteOrder.BIG_ENDIAN);
            long data4 = bb2.getLong();
    
            // Construct UUID from components - Java UUID expects big-endian representation
            long mostSig = ((long) data1 << 32) | ((long) (data2 & 0xFFFF) << 16) | (data3 & 0xFFFF);
            long leastSig = data4;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/DfsTest.java

            configMockedStatic = mockStatic(Config.class);
            lenient().when(Config.getBoolean("jcifs.smb1.smb.client.dfs.strictView", false)).thenReturn(false);
            lenient().when(Config.getLong("jcifs.smb1.smb.client.dfs.ttl", 300)).thenReturn(300L);
            lenient().when(Config.getBoolean("jcifs.smb1.smb.client.dfs.disabled", false)).thenReturn(false);
        }
    
        @AfterEach
        void tearDown() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Config.java

         * @param def the default value to return if key is not found or cannot be parsed
         * @return the long value of the property or the default value
         */
        public static long getLong(final Properties props, final String key, long def) {
            final String s = props.getProperty(key);
            if (s != null) {
                try {
                    def = Long.parseLong(s);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbPipeHandle.java

         *
         * @return this pipe's input stream
         * @throws CIFSException if an error occurs getting the input stream
         */
        InputStream getInput() throws CIFSException;
    
        /**
         * Gets the output stream for writing to this pipe.
         *
         * @return this pipe's output stream
         * @throws CIFSException if an error occurs getting the output stream
         */
        OutputStream getOutput() throws CIFSException;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbPipeHandleTest.java

        }
    
        /**
         * Tests that the getter for the input stream returns the correct stream.
         * @throws CIFSException if an error occurs while getting the stream.
         */
        @Test
        public void testGetInputStream() throws CIFSException {
            assertEquals(mockInputStream, smbPipeHandle.getInput(), "getInput() should return the correct input stream.");
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/InfoTest.java

            fileAttr.setInt(resp, 0xABCD);
            java.lang.reflect.Field lastWrite = SmbComQueryInformationResponse.class.getDeclaredField("lastWriteTime");
            lastWrite.setAccessible(true);
            lastWrite.setLong(resp, 1630000000000L);
            java.lang.reflect.Field size = SmbComQueryInformationResponse.class.getDeclaredField("fileSize");
            size.setAccessible(true);
            size.setInt(resp, 2048);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/log/LogType.java

        /** Indicates checking the last modified date of a resource. */
        CHECK_LAST_MODIFIED,
        /** Indicates the resource has not been modified. */
        NOT_MODIFIED,
        /** Indicates getting content from a resource. */
        GET_CONTENT,
        /** Indicates a redirect location was found. */
        REDIRECT_LOCATION,
        /** Indicates processing a response. */
        PROCESS_RESPONSE,
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. README.md

    ## Website
    
    [fess.codelibs.org](https://fess.codelibs.org/)
    
    ## Issues/Questions
    
    [discuss.codelibs.org](https://discuss.codelibs.org/c/FessEN/)
    
    ## Getting Started
    
    There are 2 ways to try Fess. The first is to download and install yourself. The second is to use [Docker](https://www.docker.com/products/docker-engine).
    
    ### Download and Install/Run
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 00:28:33 UTC 2025
    - 7.8K bytes
    - Viewed (2)
  10. src/main/java/org/codelibs/core/log/JclLoggerAdapter.java

         * Creates a new instance of JclLoggerAdapter.
         *
         * @param name the logger name
         */
        public JclLoggerAdapter(final Class<?> clazz) {
            sourceClass = clazz.getName();
            logger = LogFactory.getLog(clazz);
        }
    
        @Override
        public boolean isFatalEnabled() {
            return logger.isFatalEnabled();
        }
    
        @Override
        public void fatal(final String message) {
            logger.fatal(message);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top