Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 161 for setLong (0.25 sec)

  1. src/test/java/jcifs/http/HandlerTest.java

            URLStreamHandlerFactory mockFactory = mock(URLStreamHandlerFactory.class);
            assertDoesNotThrow(() -> Handler.setURLStreamHandlerFactory(mockFactory),
                    "Setting the factory for the first time should not throw an exception.");
        }
    
        @Test
        void testSetURLStreamHandlerFactory_ThrowsIllegalStateExceptionOnSecondAttempt() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

         * @param limitOfDocumentSize The limit of document size.
         */
        public void setLimitOfDocumentSize(final long limitOfDocumentSize) {
            if (logger.isInfoEnabled()) {
                logger.info("Setting document size limit: index={}, sizeLimit={}", indexName, limitOfDocumentSize);
            }
            this.limitOfDocumentSize = limitOfDocumentSize;
        }
    
        /**
         * Sets the query builder.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSetInformationResponse.java

    package jcifs.internal.smb1.com;
    
    import jcifs.Configuration;
    import jcifs.internal.smb1.ServerMessageBlock;
    
    /**
     * Response for SMB1 COM_SET_INFORMATION command.
     *
     * This response indicates the success or failure of setting file
     * attributes and last write time.
     *
     * @author mbechler
     */
    public class SmbComSetInformationResponse extends ServerMessageBlock {
    
        /**
         * Constructs a set information response.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. 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)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java

    import java.util.Map;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    
    /**
     * Helper class for managing content length limits based on MIME types.
     * It allows setting default and MIME type-specific maximum content lengths.
     * The class provides methods to add, retrieve, and manage these limits.
     */
    public class ContentLengthHelper {
        /**
         * Constructs a new ContentLengthHelper.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbResourceTest.java

                // Given
                int newAttributes = 0x01; // FILE_ATTRIBUTE_READONLY
    
                // When/Then
                assertDoesNotThrow(() -> mockResource.setAttributes(newAttributes), "Setting attributes should not throw exception");
                verify(mockResource).setAttributes(newAttributes);
            }
        }
    
        @Nested
        @DisplayName("File Time Tests")
        class FileTimeTests {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

            @DisplayName("setFlag should add specified flags")
            void testSetFlag() {
                // Test setting a new flag
                message.flags = 0;
                message.setFlag(DcerpcConstants.RPC_C_PF_BROADCAST);
                assertTrue(message.isFlagSet(DcerpcConstants.RPC_C_PF_BROADCAST));
    
                // Test setting an already existing flag
                message.flags = DcerpcConstants.RPC_C_PF_BROADCAST;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AccessTimeoutTarget.java

                }
                runningThread.interrupt();
                ThreadUtil.sleepQuietly(1000L);
                count++;
            }
        }
    
        /**
         * Stops the timeout target by setting the running flag to false.
         */
        public void stop() {
            if (logger.isDebugEnabled()) {
                logger.debug("Timeout target has been stopped.");
            }
            running.set(false);
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. dbflute_fess/dfprop/replaceSchemaMap.dfprop

        #  Elements of this map are as below:
        #   o key of map: User Definition Name (userDefName)
        #   o url: (NotRequired - Default same as one of main schema)
        #   o schema: (NotRequired - Default treated as no schema setting)
        #   o user: (Required)
        #   o password: password plainly or path to password file (with default password)
        #       e.g. foo or df:dfprop/system-password.txt|foo
        #       (NotRequired - Default '')
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/suggest/ApiAdminSuggestAction.java

            body.documentWordsNum = suggestHelper.getDocumentWordsNum();
            body.queryWordsNum = suggestHelper.getQueryWordsNum();
            return asJson(new ApiResult.ApiConfigResponse().setting(body).status(ApiResult.Status.OK).result());
        }
    
        /**
         * Deletes all suggest words from the system.
         *
         * @return JSON response indicating success or failure
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top