Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 551 - 560 of 811 for optionally (0.08 seconds)

  1. android/guava/src/com/google/common/collect/Iterators.java

       *
       * @since 11.0
       */
      public static <T> Optional<T> tryFind(Iterator<T> iterator, Predicate<? super T> predicate) {
        checkNotNull(iterator);
        checkNotNull(predicate);
        while (iterator.hasNext()) {
          T t = iterator.next();
          if (predicate.apply(t)) {
            return Optional.of(t);
          }
        }
        return Optional.absent();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Iterators.java

       *
       * @since 11.0
       */
      public static <T> Optional<T> tryFind(Iterator<T> iterator, Predicate<? super T> predicate) {
        checkNotNull(iterator);
        checkNotNull(predicate);
        while (iterator.hasNext()) {
          T t = iterator.next();
          if (predicate.apply(t)) {
            return Optional.of(t);
          }
        }
        return Optional.absent();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  3. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

     * Attempts to {@code put} an element into a full queue will result in the operation blocking;
     * attempts to {@code take} an element from an empty queue will similarly block.
     *
     * <p>This class supports an optional fairness policy for ordering waiting producer and consumer
     * threads. By default, this ordering is not guaranteed. However, a queue constructed with fairness
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java

    import org.codelibs.fess.mylasta.action.FessUserBean;
    import org.codelibs.fess.rank.fusion.SearchResult.SearchResultBuilder;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.dbflute.optional.OptionalThing;
    import org.junit.jupiter.api.Test;
    
    /**
     * Concurrency and thread-safety tests for RankFusionProcessor.
     * Tests the improvements made to thread safety using CopyOnWriteArrayList.
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/request-files.md

    Isso não é uma limitação do **FastAPI**, é parte do protocolo HTTP.
    
    ///
    
    ## Upload de Arquivo Opcional { #optional-file-upload }
    
    Você pode tornar um arquivo opcional usando anotações de tipo padrão e definindo um valor padrão de `None`:
    
    {* ../../docs_src/request_files/tutorial001_02_an_py310.py hl[9,17] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

      /** Returns a plan to attempt. */
      @Throws(IOException::class)
      fun plan(): Plan
    
      /**
       * Returns true if there's more route plans to try.
       *
       * @param failedConnection an optional connection that was resulted in a failure. If the failure
       *     is recoverable, the connection's route may be recovered for the retry.
       */
      fun hasNext(failedConnection: RealConnection? = null): Boolean
    
      /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:58:02 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/NetServerEnumIterator.java

         * @param wildcard
         *            wildcard pattern for filtering servers
         * @param searchAttributes
         *            attributes to search for
         * @param filter
         *            optional resource name filter
         * @throws CIFSException
         *            if enumeration fails
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

         * @throws PACDecodingException if a PAC decoding error occurs
         */
        @Test
        void testGettersWithNull() throws IOException, PACDecodingException {
            // Build a token with no optional fields
            ASN1EncodableVector vector = new ASN1EncodableVector();
            DERSequence sequence = new DERSequence(vector);
            byte[] encoded = new DERTaggedObject(false, BERTags.APPLICATION, 1, sequence).getEncoded();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/tutorial/query-params.md

    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    但如果你改為造訪:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    函式中的參數值會是:
    
    * `skip=20`:因為你在 URL 中設定了它
    * `limit=10`:因為那是預設值
    
    ## 選用參數 { #optional-parameters }
    
    同樣地,你可以將預設值設為 `None` 來宣告選用的查詢參數:
    
    {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *}
    
    在這種情況下,函式參數 `q` 為選用,且預設為 `None`。
    
    /// check | 注意
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

    import org.codelibs.fess.exception.UserRoleLoginException;
    import org.codelibs.fess.helper.CrawlingConfigHelper;
    import org.codelibs.fess.helper.PermissionHelper;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.di.util.LdiFileUtil;
    import org.lastaflute.web.login.LoginManager;
    import org.lastaflute.web.response.ActionResponse;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 13:57:12 GMT 2026
    - 10.9K bytes
    - Click Count (0)
Back to Top