Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 415 for tings (0.15 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java

        }
    
        public static <T> List<T> toList(T[] things) {
            if (things == null || things.length == 0) {
                return new ArrayList<T>(0);
            }
    
            List<T> list = new ArrayList<T>(things.length);
            Collections.addAll(list, things);
            return list;
        }
    
        public static <T> Set<T> toSet(Iterable<? extends T> things) {
            if (things == null) {
                return new HashSet<T>(0);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/util/CollectionUtils.java

        }
    
        /**
         * Recursively unpacks all the given things into a flat list.
         *
         * Nulls are not removed, they are left intact.
         *
         * @param things The things to flatten
         * @return A flattened list of the given things
         */
        public static List<?> flattenCollections(Object... things) {
            return flattenCollections(Object.class, things);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 11:17:19 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy

                }
                extensions.add('things', SomeThing)
                things {
                    letter = 'a'
                    withLetter('b')
                }
                assert things.letter == Letter.B
                things.other('ABC')
                assert things.letter == Letter.A
                things.other(Letter.C)
                assert things.letter == Letter.C
                things.other('A', 'ignore')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  4. architecture/networking/controllers.md

    Often, these handlers are adding something to the queue like `client.AddEventHandler(controllers.ObjectHandler(queue.AddObject))`.
    Construction should NOT actually start running all of these things, do I/O, or block in anyway.
    
    Running the controller actually starts processing things.
    Normally, this just means running the queue.
    All informers created by `kube.Client` are kept track in the client, and started in one go with `RunAndWait` in one centralized call.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 09 17:41:25 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryIntegrationTest.groovy

                }
    
                def bag = project.objects.newInstance(Bag)
                bag.things.registerBinding(Thing, Thing)
                bag.things.registerBinding(AnotherThing, AnotherThing)
    
                bag.things {
                    a(Thing) {
                        value = 1
                    }
                    b(AnotherThing) {
                        value = "foo"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 07 02:25:12 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r30/CustomToolingModelCrossVersionSpec.groovy

            when:
            def model = withConnection { connection ->
                connection.model(CustomModel).get()
            }
    
            then:
            model.thing.is(model.thing)
            model.things[0].is(model.thing)
            model.thingsByName.child.is(model.thing)
            model.findThing("child").is(model.thing)
        }
    
        def "retains underlying object identity in model returned to client via build action"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * To be implemented by test generators of things that can contain elements. Such things include
     * both {@link Collection} and {@link Map}; since there isn't an established collective noun that
     * encompasses both of these, 'container' is used.
     *
     * @author George van den Driessche
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * To be implemented by test generators of things that can contain elements. Such things include
     * both {@link Collection} and {@link Map}; since there isn't an established collective noun that
     * encompasses both of these, 'container' is used.
     *
     * @author George van den Driessche
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

                final int[] fints = parseTime(from);
                fromHours = fints[0];
                fromMinutes = fints[1];
                final int[] tints = parseTime(to);
                toHours = tints[0];
                toMinutes = tints[1];
                final String[] values = days.split(",");
                final List<Integer> list = new ArrayList<>();
                for (final String value : values) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r82/CustomToolingModelCrossVersionSpec.groovy

    import javax.inject.Inject
    
    allprojects {
        apply plugin: CustomPlugin
    }
    
    class CustomModel implements Serializable {
        List<CustomThing> things = new ArrayList()
    
        CustomModel(int heapSizeMb) {
            for(int i = 0; i < heapSizeMb; i++) {
                things.add(new CustomThing())
            }
        }
    }
    
    class CustomThing implements Serializable {
        byte[] payload = new byte[1024 * 1024]
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top