Search Options

Results per page
Sort
Preferred Languages
Advance

Results 971 - 980 of 1,534 for result2 (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListGetTester<E> extends AbstractListTester<E> {
      public void testGet_valid() {
        // This calls get() on each index and checks the result:
        expectContents(createOrderedArray());
      }
    
      public void testGet_negative() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().get(-1));
      }
    
      public void testGet_tooLarge() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

    package com.google.common.base;
    
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    
    import com.google.caliper.Benchmark;
    
    /**
     * Simple benchmark: create, start, read. This does not currently report the most useful result
     * because it's ambiguous to what extent the stopwatch benchmark is being affected by GC.
     *
     * @author Kevin Bourrillion
     */
    public class StopwatchBenchmark {
      @Benchmark
      long stopwatch(int reps) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. docs/es/docs/async.md

    ```Python
    results = await some_library()
    ```
    
    Entonces declara tus *path operation functions* con `async def` de la siguiente manera:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    /// note | Nota
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 19 18:15:21 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheBuilder.java

       * same instance, but only the returned reference has the correct generic type information to
       * ensure type safety. For best results, use the standard method-chaining idiom illustrated in the
       * class documentation above, configuring a builder and building your cache in a single statement.
       * Failure to heed this advice can result in a {@link ClassCastException} being thrown by a cache
       * operation at some <i>undefined</i> point in the future.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/SLinkedList.java

        /**
         * 配列に変換します。
         *
         * @return 配列
         */
        public Object[] toArray() {
            final Object[] result = new Object[size];
            int i = 0;
            for (Entry e = header.next; e != header; e = e.next) {
                result[i++] = e.element;
            }
            return result;
        }
    
        /**
         * 配列に変換します。
         *
         * @param array
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt

     * which collects necessary information for build scan.
     */
    fun <T : AbstractBuildScanInfoCollectingService> Project.registerBuildScanInfoCollectingService(
        /* the implementation class to collect information from task execution result */
        klass: Class<T>,
        /* which tasks we need to monitor? For example, cache-miss-monitor monitors `AbstractCompile` tasks */
        taskFilter: (Task) -> Boolean,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 24 03:34:53 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ObjectBasedValueSource.java

         * to the object graph below this root, using either 'getXXX()' or 'isXXX()'
         * accessor types to resolve the value for each successive expression part.
         * Finally, return the result of the last expression part's resolution.</p>
         *
         * <p><b>NOTE:</b> The object-graph nagivation actually takes place via the
         * {@link ReflectionValueExtractor} class.</p>
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java

    import org.codelibs.fess.es.log.exentity.UserInfo;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.cbean.result.ListResultBean;
    
    import jakarta.annotation.Resource;
    
    public class FavoriteLogService {
        @Resource
        protected SystemHelper systemHelper;
    
        @Resource
        protected UserInfoBhv userInfoBhv;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/log/ApiAdminLogAction.java

        public JsonResponse<ApiResult> files() {
            final List<Map<String, Object>> list = getLogFileItems();
            return asJson(new ApiResult.ApiLogFilesResponse().files(list).total(list.size()).status(ApiResult.Status.OK).result());
        }
    
        // GET /api/admin/log/file/{id}
        @Execute
        public StreamResponse get$file(final String id) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/SettableFuture.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link ListenableFuture} whose result can be set by a {@link #set(Object)}, {@link
     * #setException(Throwable)} or {@link #setFuture(ListenableFuture)} call. It can also, like any
     * other {@code Future}, be {@linkplain #cancel cancelled}.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 2.4K bytes
    - Viewed (0)
Back to top