Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3701 - 3710 of 7,014 for _return (0.06 sec)

  1. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

       */
      public static <V extends @Nullable Object> ListenableFuture<V> listenInPoolThread(
          Future<V> future) {
        if (future instanceof ListenableFuture) {
          return (ListenableFuture<V>) future;
        }
        return new ListenableFutureAdapter<>(future);
      }
    
      /**
       * Submits a blocking task for the given {@link Future} to provide {@link ListenableFuture}
       * functionality.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java

      private static MultiInputStream tenMillionEmptySources() throws IOException {
        return new MultiInputStream(Collections.nCopies(10_000_000, ByteSource.empty()).iterator());
      }
    
      private static ByteSource newByteSource(final int start, final int size) {
        return new ByteSource() {
          @Override
          public InputStream openStream() {
            return new ByteArrayInputStream(newPreFilledByteArray(start, size));
          }
        };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/ForwardingCache.java

      public void invalidateAll() {
        delegate().invalidateAll();
      }
    
      @Override
      public long size() {
        return delegate().size();
      }
    
      @Override
      public CacheStats stats() {
        return delegate().stats();
      }
    
      @Override
      public ConcurrentMap<K, V> asMap() {
        return delegate().asMap();
      }
    
      @Override
      public void cleanUp() {
        delegate().cleanUp();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

      public FakeTicker advance(long time, TimeUnit timeUnit) {
        return advance(timeUnit.toNanos(time));
      }
    
      /** Advances the ticker value by {@code nanoseconds}. */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
      public FakeTicker advance(long nanoseconds) {
        nanos.addAndGet(nanoseconds);
        return this;
      }
    
      /**
       * Advances the ticker value by {@code duration}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java

    @Inherited
    public @interface Parameter {
        /**
         * name of the bean property used to get/set the field: by default, field name is used.
         * @return the name of the bean property
         */
        @Nonnull
        String name() default "";
    
        /**
         * alias supported to get parameter value.
         * @return the alias
         */
        @Nonnull
        String alias() default "";
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Feb 05 09:45:47 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

            tmp += getChecked(validator, future, exceptionType).hashCode();
          } catch (Exception e) {
            tmp += e.hashCode();
          }
        }
        return tmp;
      }
    
      private static GetCheckedTypeValidator nonCachingWithoutConstructorCheckValidator() {
        return NonCachingWithoutConstructorCheckValidator.INSTANCE;
      }
    
      private enum NonCachingWithoutConstructorCheckValidator implements GetCheckedTypeValidator {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 22 03:01:34 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  7. docs_src/body_updates/tutorial001.py

    }
    
    
    @app.get("/items/{item_id}", response_model=Item)
    async def read_item(item_id: str):
        return items[item_id]
    
    
    @app.put("/items/{item_id}", response_model=Item)
    async def update_item(item_id: str, item: Item):
        update_item_encoded = jsonable_encoder(item)
        items[item_id] = update_item_encoded
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 906 bytes
    - Viewed (0)
  8. docs_src/body_updates/tutorial002_py310.py

        "baz": {"name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": []},
    }
    
    
    @app.get("/items/{item_id}", response_model=Item)
    async def read_item(item_id: str):
        return items[item_id]
    
    
    @app.patch("/items/{item_id}", response_model=Item)
    async def update_item(item_id: str, item: Item):
        stored_item_data = items[item_id]
        stored_item_model = Item(**stored_item_data)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 1010 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/exception/ClSQLException.java

        /**
         * メッセージコードを返します。
         *
         * @return メッセージコード
         */
        public String getMessageCode() {
            return messageCode;
        }
    
        /**
         * 引数の配列を返します。
         *
         * @return 引数の配列
         */
        public Object[] getArgs() {
            return args;
        }
    
        /**
         * SQLを返します。
         *
         * @return SQL
         */
        public String getSql() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

            }
        }
    
        public List<String> getExplicitlyActivatedIds() {
            return activatedIds;
        }
    
        public List<String> getExplicitlyDeactivatedIds() {
            return deactivatedIds;
        }
    
        public List getIdsActivatedByDefault() {
            return defaultIds;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top