Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2971 - 2980 of 7,590 for CLASS (0.02 sec)

  1. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     */
    class DefaultSettingsValidatorTest {
    
        private DefaultSettingsValidator validator;
    
        @BeforeEach
        void setUp() throws Exception {
            validator = new DefaultSettingsValidator(new DefaultSettingsBuilder());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. docs/zh/docs/fastapi-cli.md

    **FastAPI CLI** 是一个命令行程序,你可以用它来部署和运行你的 FastAPI 应用程序,管理你的 FastAPI 项目,等等。
    
    当你安装 FastAPI 时(例如使用 `pip install FastAPI` 命令),会包含一个名为 `fastapi-cli` 的软件包,该软件包在终端中提供 `fastapi` 命令。
    
    要在开发环境中运行你的 FastAPI 应用,你可以使用 `fastapi dev` 命令:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:single">main.py</u>
    <font color="#3465A4">INFO    </font> Using path <font color="#3465A4">main.py</font>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/cors.md

    # CORS(跨域资源共享)
    
    <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS" class="external-link" target="_blank">CORS 或者「跨域资源共享」</a> 指浏览器中运行的前端拥有与后端通信的 JavaScript 代码,而后端处于与前端不同的「源」的情况。
    
    ## 源
    
    源是协议(`http`,`https`)、域(`myapp.com`,`localhost`,`localhost.tiangolo.com`)以及端口(`80`、`443`、`8080`)的组合。
    
    因此,这些都是不同的源:
    
    * `http://localhost`
    * `https://localhost`
    * `http://localhost:8080`
    
    即使它们都在 `localhost` 中,但是它们使用不同的协议或者端口,所以它们都是不同的「源」。
    
    ## 步骤
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

    import java.util.TreeMap;
    import java.util.regex.MatchResult;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /**
     * Checks adoc files for broken links.
     */
    @CacheableTask
    public abstract class FindBrokenInternalLinks extends DefaultTask {
    
        private final Pattern linkPattern = Pattern.compile("<<([^,>]+)[^>]*>>");
        private final Pattern linkWithHashPattern = Pattern.compile("([a-zA-Z_0-9-.]*)#(.*)");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 08:08:05 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

    import org.codelibs.fess.crawler.log.LogType;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * @author shinsuke
     *
     */
    public class LogHelperImpl implements LogHelper {
    
        private static final Logger logger = LoggerFactory.getLogger(LogHelperImpl.class);
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.helper.LogHelper#log(org.codelibs.fess.crawler.log.LogType,
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Hashing.java

     */
    @ElementTypesAreNonnullByDefault
    public final class Hashing {
      /**
       * Returns a general-purpose, <b>temporary-use</b>, non-cryptographic hash function. The algorithm
       * the returned function implements is unspecified and subject to change without notice.
       *
       * <p><b>Warning:</b> a new random seed for these functions is chosen each time the {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                result[0] = key.toString();
                result[1] = value.toString();
    
                return result;
            }
        } // class PropertiesReader
    
        /**
         * This class is used to write properties lines.
         */
        public static class PropertiesWriter extends FilterWriter {
            private boolean typed;
    
            /**
             * Constructor.
             *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  8. docs_src/path_operation_configuration/tutorial005.py

    from typing import Set, Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: Set[str] = set()
    
    
    @app.post(
        "/items/",
        response_model=Item,
        summary="Create an item",
        response_description="The created item",
    )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 741 bytes
    - Viewed (0)
  9. android-test-app/src/main/kotlin/okhttp/android/testapp/TestApplication.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp.android.testapp
    
    import android.app.Application
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 702 bytes
    - Viewed (0)
  10. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/MockWebServerInstance.kt

     * limitations under the License.
     */
    package mockwebserver3.junit5.internal
    
    import okhttp3.ExperimentalOkHttpApi
    
    @ExperimentalOkHttpApi
    annotation class MockWebServerInstance(
      val name: String,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 764 bytes
    - Viewed (0)
Back to top