Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 1,398 for Param (0.03 sec)

  1. guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.Arrays;
    import java.util.Collections;
    
    /**
     * Some microbenchmarks for the {@link MoreObjects.ToStringHelper} class.
     *
     * @author Osvaldo Doederlein
     */
    public class ToStringHelperBenchmark {
    
      @Param({"0", "1", "5"})
      int dataSize;
    
      @Param({"false", "true"})
      boolean omitNulls;
    
      enum Dataset {
        SMALL {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. tests/test_query.py

        response = client.get("/query/param")
        assert response.status_code == 200
        assert response.json() == "foo bar"
    
    
    def test_query_param_query_50():
        response = client.get("/query/param?query=50")
        assert response.status_code == 200
        assert response.json() == "foo bar 50"
    
    
    def test_query_param_required():
        response = client.get("/query/param-required")
        assert response.status_code == 422
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

        }
    
        /**
         * @param <T1>
         * @param <T2>
         *
         */
        public interface Foo<T1, T2> {
    
            /**
             * @param foo
             * @return T2
             */
            T2 foo(T1 foo);
        }
    
        /**
         *
         */
        public interface Bar extends Foo<Integer, Long> {
        }
    
        /**
         * @param <T1>
         * @param <T2>
         *
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Ordering.java

       * instead (but note that it does not guarantee which tied minimum element is returned).
       *
       * @param a value to compare, returned if less than or equal to the rest.
       * @param b value to compare
       * @param c value to compare
       * @param rest values to compare
       * @throws ClassCastException if the parameters are not <i>mutually comparable</i> under this
       *     ordering.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/SingleValueIterator.java

     *
     * @author koichik
     * @param <E>
     *            要素の型
     */
    public class SingleValueIterator<E> implements Iterator<E> {
    
        /** 反復子が返す唯一の値 */
        protected final E value;
    
        /** 反復子がさらに要素を持つ場合は{@literal true} */
        protected boolean hasNext = true;
    
        /**
         * for each構文で使用するために{@link SingleValueIterator}をラップした{@link Iterable}を返します。
         *
         * @param <E>
         *            要素の型
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/NoSuchMethodRuntimeException.java

        private final Class<?>[] argTypes;
    
        /**
         * {@link NoSuchMethodRuntimeException}を作成します。
         *
         * @param targetClass
         *            ターゲットクラス
         * @param methodName
         *            メソッド名
         * @param argTypes
         *            引数型の並び
         * @param cause
         *            原因となった例外
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/collect/StreamsBenchmark.java

     */
    public class StreamsBenchmark {
      @Param({"1", "10", "100", "1000", "10000"})
      private int size;
    
      enum CollectionType {
        ARRAY_LIST(ArrayList::new),
        LINKED_LIST(LinkedList::new);
    
        final Supplier<Collection<Object>> supplier;
    
        private CollectionType(Supplier<Collection<Object>> supplier) {
          this.supplier = supplier;
        }
      }
    
      @Param private CollectionType source;
    
      enum Operation {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilder.java

        /**
         * Builds the effective toolchains for the specified toolchains sources.
         *
         * @param session the {@link Session}, must not be {@code null}
         * @param installationToolchainsFile The {@link Source} pointing to the installation toolchains, must not be {@code null}
         * @param userToolchainsSource The {@link Source} pointing to the user toolchains, must not be {@code null}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Execution.java

        } // -- java.util.List<String> getGoals()
    
        /**
         * Method removeGoal.
         *
         * @param string a string object.
         */
        public void removeGoal(String string) {
            getGoals().remove(string);
        } // -- void removeGoal( String )
    
        /**
         * Set configuration to pass to the goals.
         *
         * @param configuration a configuration object.
         */
        public void setConfiguration(Object configuration) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/InheritanceAssembler.java

         * objects from the parent.
         *
         * @param child The child model into which to merge the values inherited from the parent, must not be
         *            <code>null</code>.
         * @param parent The (read-only) parent model from which to inherit the values, may be <code>null</code>.
         * @param request The model building request that holds further settings, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top