Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 691 - 700 of 3,558 for Gist (0.02 seconds)

  1. guava-tests/test/com/google/common/reflect/SubtypeTester.java

     *   @TestSubtype(suppressGetSubtype = true, suppressGetSupertype = true)
     *   public <T> Iterable<? extends T> listIsSubtypeOfIterable(List<T> list) {
     *     return isSubtype(list);
     *   }
     *
     *   @TestSubtype
     *   public List<String> intListIsNotSubtypeOfStringList(List<Integer> intList) {
     *     return notSubtype(intList);
     *   }
     * }
     *
     * public void testMySubtypes() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  2. build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt

        fun readTestClasses(content: String): Map<String, List<String>> {
            val properties = Properties()
            val ret = mutableMapOf<String, MutableList<String>>()
            properties.load(StringReader(content))
            properties.forEach { key, value ->
                val list = ret.getOrDefault(value, mutableListOf())
                list.add(key!!.toString())
                ret[value!!.toString()] = list
            }
            return ret
        }
    
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTestData.kt

        }
      }
    
      override fun toString(): String = format("Parsing: <%s> against <%s>", input!!, base!!)
    
      companion object {
        fun load(source: BufferedSource): List<WebPlatformUrlTestData> {
          val list = mutableListOf<WebPlatformUrlTestData>()
          while (true) {
            val line = source.readUtf8Line() ?: break
            if (line.isEmpty() || line.startsWith("#")) continue
    
            var i = 0
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            assertTrue(attributes.get("matrix") instanceof List);
            @SuppressWarnings("unchecked")
            final List<Object> matrix = (List<Object>) attributes.get("matrix");
            assertEquals(2, matrix.size());
    
            @SuppressWarnings("unchecked")
            final List<Object> row1 = (List<Object>) matrix.get(0);
            assertEquals(1L, row1.get(0));
            assertEquals(2L, row1.get(1));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 11K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

        /**
         * Displays the user management index page.
         *
         * @return HTML response for the user list page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            return asListHtml();
        }
    
        /**
         * Displays a paginated list of users.
         *
         * @param pageNumber the page number to display (optional)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:18:24 GMT 2026
    - 21K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            ComponentUtil.register(new CrawlingConfigHelper() {
                @Override
                public List<DataConfig> getAllDataConfigList() {
                    return new ArrayList<>(); // Always return empty for fast tests
                }
    
                @Override
                public List<DataConfig> getDataConfigListByIds(List<String> configIdList) {
                    return new ArrayList<>(); // Always return empty for fast tests
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

                }
    
                if (value instanceof List list) {
                    return list.get(index);
                }
            } catch (NumberFormatException | IndexOutOfBoundsException e) {
                return null;
            }
    
            final String message = String.format(
                    "The token '%s' at position '%d' refers to a java.util.List or an array, but the value "
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/AggConstructionContentionBenchmark.java

                case "real":
                    breakerService = new HierarchyCircuitBreakerService(Settings.EMPTY, List.of(), clusterSettings);
                    break;
                case "preallocate":
                    preallocateBreaker = true;
                    breakerService = new HierarchyCircuitBreakerService(Settings.EMPTY, List.of(), clusterSettings);
                    break;
                case "noop":
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 16 08:22:22 GMT 2021
    - 12.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/entity/ChatMessage.java

        }
    
        /**
         * Gets the list of sources referenced in the message.
         *
         * @return the list of sources
         */
        public List<ChatSource> getSources() {
            return sources;
        }
    
        /**
         * Sets the list of sources referenced in the message.
         *
         * @param sources the list of sources
         */
        public void setSources(final List<ChatSource> sources) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 04:52:31 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * TestContainerGenerator#order(List)}. Tests should use this method only if they declare
       * requirement {@link com.google.common.collect.testing.features.CollectionFeature#KNOWN_ORDER}.
       */
      protected List<E> getOrderedElements() {
        List<E> list = new ArrayList<>();
        for (E e : getSubjectGenerator().order(new ArrayList<E>(getSampleElements()))) {
          list.add(e);
        }
        return unmodifiableList(list);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top