Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1081 - 1090 of 1,093 for would (0.02 sec)

  1. android/guava/src/com/google/common/net/MediaType.java

            }
            parameters.put(attribute, value);
          }
          return create(type, subtype, parameters.build());
        } catch (IllegalStateException e) {
          throw new IllegalArgumentException("Could not parse '" + input + "'", e);
        }
      }
    
      private static void consumeSeparator(Tokenizer tokenizer, char c) {
        tokenizer.consumeTokenIfPresent(LINEAR_WHITE_SPACE);
        tokenizer.consumeCharacter(c);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  2. docs/ko/docs/deployment/docker.md

    * 다음과 같은 `main.py`을 생성합니다:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### 도커파일
    
    이제 같은 프로젝트 디렉터리에 다음과 같은 파일 `Dockerfile`을 생성합니다:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  3. tests/migrate_test.go

    	}
    
    	var err error
    	err = DB.Migrator().DropTable(&MissPKUser{}, &MissPKLanguage{})
    	if err != nil {
    		t.Fatalf("DropTable err:%v", err)
    	}
    	// TODO: ERROR: could not open extension control file: No such file or directory (SQLSTATE 58P01)
    	DB.Exec(`CREATE EXTENSION IF NOT EXISTS "uuid-ossp";`)
    
    	err = DB.AutoMigrate(&MissPKUser{}, &MissPKLanguage{})
    	if err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  4. docs/ja/docs/virtual-environments.md

    pydantic==2.8.0
    ```
    
    ///
    
    ## プログラムを実行する
    
    仮想環境を有効化した後、プログラムを実行できます。この際、仮想環境内のPythonと、そこにインストールしたパッケージが使用されます。
    
    <div class="termy">
    
    ```console
    $ python main.py
    
    Hello World
    ```
    
    </div>
    
    ## エディタの設定
    
    プロジェクトではおそらくエディタを使用するでしょう。コード補完やインラインエラーの表示ができるように、作成した仮想環境をエディタでも使えるよう設定してください。(多くの場合、自動検出されます)
    
    設定例:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Mar 19 12:22:33 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        filesystem.deleteRecursively(cacheDir)
        assertThat(cache["a"]).isNull()
      }
    
      /**
       * We had a long-lived bug where [DiskLruCache.trimToSize] could infinite loop if entries
       * being edited required deletion for the operation to complete.
       */
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    // works : Binky Moon, LLC
    // https://www.iana.org/domains/root/db/works.html
    works
    
    // world : Binky Moon, LLC
    // https://www.iana.org/domains/root/db/world.html
    world
    
    // wow : Amazon Registry Services, Inc.
    // https://www.iana.org/domains/root/db/wow.html
    wow
    
    // wtc : World Trade Centers Association, Inc.
    // https://www.iana.org/domains/root/db/wtc.html
    wtc
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 309.7K bytes
    - Viewed (1)
  7. docs/ja/docs/alternatives.md

    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    対応するFastAPIのパスオペレーションはこのようになります:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
     `requests.get(...)` と`@app.get(...)` には類似点が見受けられます。
    
    /// check | **FastAPI**へ与えたインスピレーション
    
    * シンプルで直感的なAPIを持っている点。
    * HTTPメソッド名を直接利用し、単純で直感的である。
    * 適切なデフォルト値を持ちつつ、強力なカスタマイズ性を持っている。
    
    ///
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.cc

      return nullptr;
    #else
      tensorflow::ServerDef server_def;
      if (!server_def.ParseFromArray(proto, static_cast<int>(proto_len))) {
        status->status = InvalidArgument(
            "Could not parse provided bytes into a ServerDef protocol buffer");
        return nullptr;
      }
    
      std::unique_ptr<tensorflow::ServerInterface> out_server;
      status->status = tensorflow::NewServer(server_def, &out_server);
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

         other widely used forms
       * Where there's a hierarchy in the types, list it via a parent
       * Highly specific magic matches get a high priority
       * General magic matches which could trigger a false-positive need
         a low one
       * The priority for containers normally need to be higher than for
         the things they contain, so they don't accidently get detected
         as what's in them
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Mar 13 08:18:01 UTC 2025
    - 320.1K bytes
    - Viewed (1)
  10. docs/ja/docs/deployment/docker.md

    * `main.py` ファイルを作成します:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile
    
    同じプロジェクト・ディレクトリに`Dockerfile`というファイルを作成します:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 44.3K bytes
    - Viewed (0)
Back to top