Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 161 for setLong (0.78 sec)

  1. 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)
  2. src/main/java/jcifs/smb/SmbTreeImpl.java

                     */
                    if (preq.getPath() != null && preq.getPath().length() > 0) {
                        if (log.isDebugEnabled()) {
                            log.debug(String.format("Setting DFS request path from %s to %s", preq.getPath(), preq.getFullUNCPath()));
                        }
                        preq.setResolveInDfs(true);
                        preq.setPath(preq.getFullUNCPath());
                    }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        }
    
        @Test
        @DisplayName("Test hasMoreElements method")
        void testHasMoreElements() {
            // Test initial state
            assertTrue(response.hasMoreElements());
    
            // Test after setting error code (not status)
            response.setTestErrorCode(1); // Non-zero errorCode indicates error
            assertFalse(response.hasMoreElements());
    
            // Reset error and test hasMore flag
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

     *   <li>Limiting the maximum size of alphanumeric and symbol terms.</li>
     * </ul>
     *
     * <p>The {@link TextNormalizeContext} class provides a fluent API to configure the text
     * normalization process, including setting initial buffer capacity, maximum term sizes,
     * duplicate term removal, and custom space characters.
     *
     * <p>Example usage:
     * <pre>{@code
     * Reader reader = new StringReader("Example text to normalize.");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

                return entity;
            });
        }
    
        /**
         * Registers available roles and labels for use in web config forms.
         * Includes role types, label types, and label setting configuration.
         *
         * @param data the render data to register the roles and labels with
         */
        protected void registerRolesAndLabels(final RenderData data) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            ByteBuffer buffer2 = ByteBuffer.wrap(nonce2, 0, 8).order(java.nio.ByteOrder.LITTLE_ENDIAN);
            long counter1 = buffer1.getLong();
            long counter2 = buffer2.getLong();
    
            assertEquals(counter1 + 1, counter2, "CCM counter should increment between nonces");
        }
    
        @Test
        @DisplayName("Should generate multiple unique nonces without collision")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

         * @param resetDictionaries whether to reset dictionaries during reindexing
         * @param numberOfShards the number of shards for the new index
         * @param autoExpandReplicas the auto expand replicas setting for the new index
         * @return true if the reindex operation started successfully, false otherwise
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

        /**
         * SMB TRANS2 subcommand for querying file information
         */
        public static final byte TRANS2_QUERY_FILE_INFORMATION = (byte) 0x07;
        /**
         * SMB TRANS2 subcommand for setting file information
         */
        public static final byte TRANS2_SET_FILE_INFORMATION = (byte) 0x08;
    
        /**
         * Network share enumeration subcommand
         */
        public static final byte NET_SHARE_ENUM = (byte) 0x00;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/rpcTest.java

            void testUnicodeStringBasicFields() {
                // Given: A unicode string
                rpc.unicode_string unicodeString = new rpc.unicode_string();
    
                // When: Setting values
                unicodeString.length = (short) 10;
                unicodeString.maximum_length = (short) 20;
                unicodeString.buffer = new short[] { 65, 66, 67 }; // A, B, C
    
    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. docs/smb3-features/02-persistent-handles-design.md

            if (bytes.length != 16) {
                throw new IllegalArgumentException("GUID must be 16 bytes");
            }
            ByteBuffer bb = ByteBuffer.wrap(bytes);
            long mostSig = bb.getLong();
            long leastSig = bb.getLong();
            this.guid = new UUID(mostSig, leastSig);
        }
        
        public byte[] toBytes() {
            ByteBuffer bb = ByteBuffer.allocate(16);
            bb.putLong(guid.getMostSignificantBits());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
Back to top