Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 207 for initialisation (0.17 seconds)

  1. cmd/crossdomain-xml-handler_test.go

    package cmd
    
    import (
    	"net/http"
    	"net/http/httptest"
    	"testing"
    
    	"github.com/minio/mux"
    )
    
    // Test cross domain xml handler.
    func TestCrossXMLHandler(t *testing.T) {
    	// Server initialization.
    	router := mux.NewRouter().SkipClean(true).UseEncodedPath()
    	handler := setCrossDomainPolicyMiddleware(router)
    	srv := httptest.NewServer(handler)
    
    	resp, err := http.Get(srv.URL + crossDomainXMLEntity)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Jul 08 14:31:42 GMT 2023
    - 1.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverter.java

         */
        default int getMaxReadingNum() {
            return 10;
        }
    
        /**
         * Initializes the converter.
         *
         * @throws IOException if an I/O error occurs during initialization.
         */
        void init() throws IOException;
    
        /**
         * Converts the given text into a list of readings based on the specified field and languages.
         *
         * @param text the text to be converted.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:28:21 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/cache/LongAddables.java

     */
    @GwtCompatible
    final class LongAddables {
      private static final Supplier<LongAddable> SUPPLIER;
    
      static {
        Supplier<LongAddable> supplier;
        try {
          // trigger static initialization of the LongAdder class, which may fail
          LongAdder unused = new LongAdder();
          supplier =
              new Supplier<LongAddable>() {
                @Override
                public LongAddable get() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            lenient().when(response.getOutputStream()).thenReturn(servletOutputStream);
        }
    
        @Test
        void testInit_success() throws ServletException {
            // Test successful initialization with valid configuration
            Map<String, String> initParams = new HashMap<>();
            initParams.put("jcifs.smb.client.domain", "TEST_DOMAIN");
            initParams.put("jcifs.http.domainController", "dc.test.com");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

         * Sets up encoding mappings and default encoding from filter configuration.
         *
         * @param config the filter configuration containing initialization parameters
         * @throws ServletException if an error occurs during initialization
         */
        @Override
        public void init(final FilterConfig config) throws ServletException {
            servletContext = config.getServletContext();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            when(mockConfig.getNotifyBufferSize()).thenReturn(4096);
            when(mockConfig.getTransactionBufferSize()).thenReturn(65535);
        }
    
        @Test
        @DisplayName("Test constructor initialization with basic parameters")
        void testConstructorBasic() {
            int fid = 0x1234;
            int completionFilter = FILE_NOTIFY_CHANGE_FILE_NAME;
            boolean watchTree = false;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainFactoryException.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    /**
     * Exception thrown when toolchain factory operations fail.
     *
     * <p>This exception wraps errors that occur during toolchain creation or initialization.</p>
     */
    public class ToolchainFactoryException extends MavenException {
    
        public ToolchainFactoryException(String message) {
            super(message);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/hash/LongAddables.java

     *
     * @author Louis Wasserman
     */
    final class LongAddables {
      private static final Supplier<LongAddable> SUPPLIER;
    
      static {
        Supplier<LongAddable> supplier;
        try {
          // trigger static initialization of the LongAdder class, which may fail
          LongAdder unused = new LongAdder();
          supplier =
              new Supplier<LongAddable>() {
                @Override
                public LongAddable get() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  9. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/container/LastaCrawlerContainerTest.java

        @Override
        protected String prepareConfigFile() {
            return "crawler.xml";
        }
    
        @Test
        public void test_available() {
            // Container should be available after initialization
            assertTrue(crawlerContainer.available());
        }
    
        @Test
        public void test_getComponent_crawler() {
            final Crawler crawler = crawlerContainer.getComponent("crawler");
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 16 13:52:11 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java

            super.setUp(testInfo);
            namingConvention = new MockNamingConvention();
            pagerCreator = new PagerCreator(namingConvention);
        }
    
        // Test constructor initialization
        @Test
        public void test_constructor() {
            // Verify suffix is set correctly
            assertEquals(PagerCreator.SUFFIX, "Pager");
    
            // Verify name suffix is set
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.7K bytes
    - Click Count (0)
Back to Top