Search Options

Results per page
Sort
Preferred Languages
Advance

Results 891 - 900 of 1,097 for asdict (0.11 sec)

  1. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

            ImmutableSet.of(3), set.intersection(ContiguousSet.create(Range.closed(3, 5), integers())));
      }
    
      public void testAsList() {
        ImmutableList<Integer> list = ContiguousSet.create(Range.closed(1, 3), integers()).asList();
        for (int i = 0; i < 3; i++) {
          assertEquals(i + 1, list.get(i).intValue());
        }
        assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.iterator()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/MoreObjects.java

       * throws a {@link NullPointerException}.
       *
       * <p>To find the first non-null element in an iterable, use {@code Iterables.find(iterable,
       * Predicates.notNull())}. For varargs, use {@code Iterables.find(Arrays.asList(a, b, c, ...),
       * Predicates.notNull())}, static importing as necessary.
       *
       * <p><b>Note:</b> if {@code first} is represented as an {@link Optional}, this can be
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    	// ReplicateIncoming - audit trail of inline replication
    	ReplicateIncoming = "replicate:incoming"
    	// ReplicateIncomingDelete - audit trail of inline replication of deletes.
    	ReplicateIncomingDelete = "replicate:incoming:delete"
    
    	// ReplicateHeal - audit trail for healing of failed/pending replications
    	ReplicateHeal = "replicate:heal"
    	// ReplicateHealDelete - audit trail of healing of failed/pending delete replications.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/response-model.md

    ## Параметр `response_model`
    
    Бывают случаи, когда вам необходимо (или просто хочется) возвращать данные, которые не полностью соответствуют объявленному типу.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/dependencies/index.md

    * Необязательный query-параметр `skip` с типом `int`, и значением по умолчанию `0`
    * Необязательный query-параметр `limit` с типом `int`, и значением по умолчанию `100`
    
    И в конце она возвращает `dict`, содержащий эти значения.
    
    /// info | "Информация"
    
    **FastAPI** добавил поддержку для `Annotated` (и начал её рекомендовать) в версии 0.95.0.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

    import jakarta.annotation.PostConstruct;
    
    /**
     * @author shinsuke
     *
     */
    public class ActivityHelper {
        protected Logger logger = null;
    
        protected String loggerName = "fess.log.audit";
    
        protected String permissionSeparator = "|";
    
        protected boolean useEcsFormat = false;
    
        protected String ecsVersion = "1.2.0";
    
        protected String ecsServiceName = "fess";
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multisets.java

    import static com.google.common.collect.CollectPreconditions.checkRemove;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    import static java.util.Arrays.asList;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Objects;
    import com.google.common.base.Predicate;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multisets.java

    import static com.google.common.collect.CollectPreconditions.checkRemove;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    import static java.util.Arrays.asList;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Objects;
    import com.google.common.base.Predicate;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/response-cookies.md

    # 响应Cookies
    
    ## 使用 `Response` 参数
    
    你可以在 *路径函数* 中定义一个类型为 `Response`的参数,这样你就可以在这个临时响应对象中设置cookie了。
    
    ```Python hl_lines="1  8-9"
    {!../../docs_src/response_cookies/tutorial002.py!}
    ```
    
    而且你还可以根据你的需要响应不同的对象,比如常用的 `dict`,数据库model等。
    
    如果你定义了 `response_model`,程序会自动根据`response_model`来过滤和转换你响应的对象。
    
    **FastAPI** 会使用这个 *临时* 响应对象去装在这些cookies信息 (同样还有headers和状态码等信息), 最终会将这些信息和通过`response_model`转化过的数据合并到最终的响应里。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. docs_src/security/tutorial004.py

        user = get_user(fake_db, username)
        if not user:
            return False
        if not verify_password(password, user.hashed_password):
            return False
        return user
    
    
    def create_access_token(data: dict, expires_delta: Union[timedelta, None] = None):
        to_encode = data.copy()
        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top