Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2111 - 2120 of 3,253 for classof (0.18 sec)

  1. docs/zh/docs/tutorial/extra-data-types.md

    * `datetime.timedelta`:
        * 一个 Python `datetime.timedelta`.
        * 在请求和响应中将表示为 `float` 代表总秒数。
        * Pydantic 也允许将其表示为 "ISO 8601 时间差异编码", <a href="https://docs.pydantic.dev/latest/concepts/serialization/#json_encoders" class="external-link" target="_blank">查看文档了解更多信息</a>。
    * `frozenset`:
        * 在请求和响应中,作为 `set` 对待:
            * 在请求中,列表将被读取,消除重复,并将其转换为一个 `set`。
            * 在响应中 `set` 将被转换为 `list` 。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. tests/test_tuples.py

    from dirty_equals import IsDict
    from fastapi import FastAPI, Form
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class ItemGroup(BaseModel):
        items: List[Tuple[str, str]]
    
    
    class Coordinate(BaseModel):
        x: float
        y: float
    
    
    @app.post("/model-with-tuple/")
    def post_model_with_tuple(item_group: ItemGroup):
        return item_group
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

    import org.w3c.dom.Node;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /**
     * Converts a javadoc link into docbook.
     */
    public class JavadocLinkConverter {
        private static final Pattern LINK_PATTERN = Pattern.compile("(?s)\\s*([\\w\\.]*)(#(\\w+)(\\((.*)\\))?)?.*");
        private static final Pattern TYPE_PATTERN = Pattern.compile("(\\w+)\\s*(.*?)\\s*");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ldap/LdapUser.java

    import org.codelibs.fess.mylasta.action.FessUserBean;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalThing;
    
    public class LdapUser implements FessUser {
    
        private static final long serialVersionUID = 1L;
    
        protected Hashtable<String, String> env;
    
        protected String name;
    
        protected String[] permissions = null;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

     * Reader implementations, this compares the performance of the different options.
     */
    // These benchmarks allocate a lot of data so use a large heap
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    public class CharStreamsCopyBenchmark {
      enum CopyStrategy {
        OLD {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            CharBuffer buf = CharStreams.createBuffer();
            long total = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractBiMapTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMapTester<K, V> {
    
      @Override
      protected BiMap<K, V> getMap() {
        return (BiMap<K, V>) super.getMap();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/LruHashSet.java

    package org.codelibs.core.collection;
    
    import java.util.AbstractSet;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import java.util.Set;
    
    /**
     * @author shinsuke
     *
     */
    public class LruHashSet<E> extends AbstractSet<E> implements Set<E>, java.io.Serializable {
        private static final long serialVersionUID = 1L;
    
        private final LruHashMap<E, Object> map;
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

     * Reader implementations, this compares the performance of the different options.
     */
    // These benchmarks allocate a lot of data so use a large heap
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    public class CharStreamsCopyBenchmark {
      enum CopyStrategy {
        OLD {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            CharBuffer buf = CharStreams.createBuffer();
            long total = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

    import jcifs.internal.fscc.FileBasicInfo;
    import jcifs.internal.fscc.FileInformation;
    import jcifs.internal.smb1.trans.SmbComTransaction;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * 
     */
    public class Trans2SetFileInformation extends SmbComTransaction {
    
        private final int fid;
        private final FileInformation info;
    
    
        /**
         * @param config
         * @param fid
         * @param info
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jLogger.java

    import org.codehaus.plexus.logging.Logger;
    
    /**
     * Adapt an SLF4J logger to a Plexus logger, ignoring Plexus logger API parts that are not classical and
     * probably not really used.
     *
     * @since 3.1.0
     */
    public class Slf4jLogger implements Logger {
    
        private org.slf4j.Logger logger;
        private String projectId;
    
        public Slf4jLogger(org.slf4j.Logger logger) {
            this.logger = logger;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top