Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1951 - 1960 of 3,237 for get2 (0.02 sec)

  1. regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java

    import org.junit.Test;
    import org.junit.runner.RunWith;
    
    /**
     * OkHttp.
     *
     * https://square.github.io/okhttp/
     */
    @RunWith(AndroidJUnit4.class)
    public class OkHttpClientTest {
      @Test public void get() throws IOException {
        OkHttpClient client = new OkHttpClient();
        Request request = new Request.Builder()
            .url("https://google.com/robots.txt")
            .build();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Nov 14 17:38:22 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataCache.java

    import org.apache.maven.artifact.repository.ArtifactRepository;
    
    /**
     * MavenMetadataCache
     */
    @Deprecated
    public interface MavenMetadataCache {
    
        ResolutionGroup get(
                Artifact artifact,
                boolean resolveManagedVersions,
                ArtifactRepository localRepository,
                List<ArtifactRepository> remoteRepositories);
    
        void put(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. tests/test_allow_inf_nan_in_enforcing.py

    import pytest
    from fastapi import Body, FastAPI, Query
    from fastapi.testclient import TestClient
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.post("/")
    async def get(
        x: Annotated[float, Query(allow_inf_nan=True)] = 0,
        y: Annotated[float, Query(allow_inf_nan=False)] = 0,
        z: Annotated[float, Query()] = 0,
        b: Annotated[float, Body(allow_inf_nan=False)] = 0,
    ) -> str:
        return "OK"
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 24 19:27:37 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. tests/test_forms_single_param.py

        response = client.post("/form/", data={"username": "Rick"})
        assert response.status_code == 200, response.text
        assert response.json() == "Rick"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 05 11:24:36 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. tests/test_reponse_set_reponse_code_empty.py

        response = client.delete("/1")
        assert response.status_code == 400 and response.content
        assert response.json() == {"msg": "Status overwritten", "id": 1}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. misc/chrome/gophertool/gopher.js

        if (match) {
            return "https://golang.org/change/" + match[1];
        }
    
        if (pkgRE.test(t)) {
            // TODO: make this smarter, using a list of packages + substring matches.
            // Get the list from godoc itself in JSON format?
            return "https://golang.org/pkg/" + t;
        }
    
        return null;
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Jul 11 14:36:33 UTC 2015
    - 1.2K bytes
    - Viewed (0)
  7. .github/workflows/check-bad-merge.yml

              fetch-depth: 0
          - name: Set up JDK 17
            uses: actions/setup-java@v4
            with:
              distribution: 'temurin'
              java-version: '17'
          - name: Install Groovy
            run: sudo apt-get install groovy
          - name: List PR commits
            run: |
              git log --pretty=format:"%H" ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} > pr_commits.txt
          - name: Check PR commits
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:32:33 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. ci/official/envs/nightly_upload

    TFCI_ARTIFACT_LATEST_GCS_URI="gs://tensorflow/nightly/latest/"
    TFCI_ARTIFACT_STAGING_GCS_ENABLE=1
    TFCI_ARTIFACT_STAGING_GCS_URI="gs://tensorflow-ci-staging/staging/nightly/$(git rev-parse HEAD)/"
    
    # 2. The internal version numbers get changed
    TFCI_NIGHTLY_UPDATE_VERSION_ENABLE=1
    
    # 3. Push results to public build cache (unique cache for MacOS)
    if [[ $(uname -s) == "Darwin" ]]; then
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Jun 17 20:45:36 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/CleanAcceptedApiChanges.groovy

        @InputDirectory
        abstract DirectoryProperty getJsonFileDirectory()
    
        @TaskAction
        void clean() {
            def jsonFileManager = new AcceptedApiChangesJsonFileManager()
            jsonFileDirectory.asFile.get().listFiles()
                ?.findAll { it.name.endsWith(".json") }
                ?.each { jsonFileManager.emptyAcceptedApiChanges(it) }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 05 08:27:29 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/opensearch/extension/analysis/ProlongedSoundMarkCharFilterFactory.java

                final Settings settings) {
            super(indexSettings, name);
            final String value = settings.get("replacement");
            if (value == null || value.length() == 0) {
                replacement = '\u30fc';
            } else {
                replacement = value.charAt(0);
            }
        }
    
        @Override
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top