Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 1,662 for Gist (0.02 sec)

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

            mockResponse(this.mockConnection, code, message, headers, errorStream);
        }
    
        /**
         * Helper method to mock the response of a specific HttpURLConnection instance.
         */
        private void mockResponse(HttpURLConnection conn, int code, String message, Map<String, List<String>> headers, InputStream stream)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

        }
      }
    
      override fun loadForRequest(url: HttpUrl): List<Cookie> {
        val cookieHeaders =
          try {
            // The RI passes all headers. We don't have 'em, so we don't pass 'em!
            cookieHandler.get(url.toUri(), emptyMap<String, List<String>>())
          } catch (e: IOException) {
            Platform.get().log("Loading cookies failed for " + url.resolve("/...")!!, WARN, e)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

                    if (line.length() > 0 && !line.startsWith("#")) {
                        list.add(line.trim());
                    }
                }
            } catch (final Exception e) {
                throw new SuggestSettingsException("Failed to load default badwords.", e);
            }
            defaultWords = list.toArray(new String[list.size()]);
        }
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 03:02:17 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/Resources.java

       */
      public static List<String> readLines(URL url, Charset charset) throws IOException {
        // don't use asCharSource(url, charset).readLines() because that returns
        // an immutable list, which would change the behavior of this method
        return readLines(
            url,
            charset,
            new LineProcessor<List<String>>() {
              final List<String> result = new ArrayList<>();
    
              @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

        private static final Logger logger = LogManager.getLogger(DictionaryManager.class);
    
        /** List of dictionary creators for handling different dictionary types */
        protected List<DictionaryCreator> creatorList = new ArrayList<>();
    
        /**
         * Default constructor for DictionaryManager.
         * Creates a new dictionary manager with an empty creator list.
         */
        public DictionaryManager() {
            // Default constructor
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java

        // We post the event, but our Executor will not deliver it until instructed.
        bus.post(EVENT);
    
        List<String> events = catcher.getEvents();
        assertTrue("No events should be delivered synchronously.", events.isEmpty());
    
        // Now we find the task in our Executor and explicitly activate it.
        List<Runnable> tasks = executor.getTasks();
        assertEquals("One event dispatch task should be queued.", 1, tasks.size());
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java

       * Callers of TestContainerGenerator.order need to be prepared for implementations to return a new
       * collection.
       */
      @SuppressWarnings("CanIgnoreReturnValueSuggester")
      @Override
      public List<AnEnum> order(List<AnEnum> insertionOrder) {
        sort(insertionOrder);
        return insertionOrder;
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java

                    return null;
                }
            };
    
            assertNull(extractorFactory.getExtractor("test"));
            final List<String> list = new ArrayList<String>();
            list.add("test");
            extractorFactory.addExtractor(list, extractor);
            assertEquals(extractor, extractorFactory.getExtractor("test"));
        }
    
        public void test_getExtractor() {
            String key;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt

        url: HttpUrl,
        cookies: List<Cookie>,
      )
    
      /**
       * Load cookies from the jar for an HTTP request to [url]. This method returns a possibly
       * empty list of cookies for the network request.
       *
       * Simple implementations will return the accepted cookies that have not yet expired and that
       * [match][Cookie.matches] [url].
       */
      fun loadForRequest(url: HttpUrl): List<Cookie>
    
      companion object {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

            return dataHelper.getAccessResultMap(sessionId).get(url);
        }
    
        /**
         * Gets a list of access results for the specified URL.
         *
         * @param url the URL
         * @param hasData whether the result should have data
         * @return the list of access results
         */
        @Override
        public List<AccessResultImpl<Long>> getAccessResultList(final String url, final boolean hasData) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top