Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 428 for 5000 (0.01 seconds)

  1. cmd/net.go

    	if i := strings.Index(host, "%"); i > -1 {
    		host = host[:i]
    	}
    	return net.ParseIP(host) != nil
    }
    
    // extractHostPort - extracts host/port from many address formats
    // such as, ":9000", "localhost:9000", "http://localhost:9000/"
    func extractHostPort(hostAddr string) (string, string, error) {
    	var addr, scheme string
    
    	if hostAddr == "" {
    		return "", "", errors.New("unable to process empty address")
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.6K bytes
    - Click Count (1)
  2. internal/s3select/csv/reader.go

    	for range runtime.GOMAXPROCS(0) {
    		go func() {
    			for in := range r.input {
    				if len(in.input) == 0 {
    					in.dst <- nil
    					continue
    				}
    				dst := r.csvDstPool.Get()
    				if len(dst) < 1000 {
    					dst = make([][]string, 0, 1000)
    				}
    
    				cr := newReader(bytes.NewBuffer(in.input))
    				all := dst[:0]
    				err := func() error {
    					// Read all records until EOF or another error.
    					for {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  3. internal/event/targetlist.go

    	"github.com/minio/pkg/v3/workers"
    )
    
    const (
    	logSubsys = "notify"
    
    	// The maximum allowed number of concurrent Send() calls to all configured notifications targets
    	maxConcurrentAsyncSend = 50000
    )
    
    // Target - event target interface
    type Target interface {
    	ID() TargetID
    	IsActive() (bool, error)
    	Save(Event) error
    	SendFromStore(store.Key) error
    	Close() error
    	Store() TargetStore
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      public void testBuildKeepingLast_shortTable() {
        Builder<Integer, String> builder = ImmutableMap.builder();
        Map<Integer, String> expected = new LinkedHashMap<>();
        for (int i = 0; i < 1000; i++) {
          // Truncate to even key, so we have put(0, "0") then put(0, "1"). Half the entries are
          // duplicates.
          Integer key = i & ~1;
          String value = String.valueOf(i);
          builder.put(key, value);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 36.7K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt

        val request =
          Request
            .Builder()
            .url(server.url("/"))
            .post(sleepingRequestBody(250))
            .build()
        val call = client.newCall(request)
        call.timeout().timeout(2000, TimeUnit.MILLISECONDS)
        val response = call.execute()
        Thread.sleep(250)
        response.body.source().readUtf8()
        response.close()
        assertThat(call.isCanceled()).isFalse()
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  6. docs/ru/docs/advanced/behind-a-proxy.md

    Если клиент обратится к `/items`, по умолчанию произойдёт редирект на `/items/`.
    
    Но до установки опции `--forwarded-allow-ips` редирект может вести на `http://localhost:8000/items/`.
    
    Однако приложение может быть доступно по `https://mysuperapp.com`, и редирект должен вести на `https://mysuperapp.com/items/`.
    
    Указав `--proxy-headers`, FastAPI сможет редиректить на корректный адрес. 😎
    
    ```
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  7. docs/ja/docs/deployment/server-workers.md

            ```Python
            import uvicorn.workers.UvicornWorker
            ```
    
    * `--bind`: GunicornにリッスンするIPとポートを伝えます。コロン(`:`)でIPとポートを区切ります。
        * Uvicornを直接実行している場合は、`--bind 0.0.0.0:80` (Gunicornのオプション)の代わりに、`--host 0.0.0.0`と `--port 80`を使います。
    
    出力では、各プロセスの**PID**(プロセスID)が表示されているのがわかります(単なる数字です)。
    
    以下の通りです:
    
    * Gunicornの**プロセス・マネージャー**はPID `19499`(あなたの場合は違う番号でしょう)で始まります。
    * 次に、`Listening at: http://0.0.0.0:80`を開始します。
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Aug 06 04:48:30 GMT 2024
    - 11.2K bytes
    - Click Count (0)
  8. src/archive/zip/reader_test.go

    0000460 18 a6 83 1b e3 9f ad 79 fe fd 1b 8b f1 fc 41 6f
    0000470 d4 13 1f e3 b8 83 ba 64 92 e7 eb e4 77 05 8f ba
    0000480 fa 3b 00 00 ff ff 50 4b 07 08 a6 18 b1 91 5e 04
    0000490 00 00 e4 47 00 00 50 4b 01 02 14 00 14 00 08 00
    00004a0 08 00 00 00 00 00 a6 18 b1 91 5e 04 00 00 e4 47
    00004b0 00 00 0a 00 00 00 00 00 00 00 00 00 00 00 00 00
    00004c0 00 00 00 00 62 69 67 67 65 72 2e 7a 69 70 50 4b
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Oct 17 20:10:27 GMT 2025
    - 56.5K bytes
    - Click Count (0)
  9. docs/ko/docs/fastapi-cli.md

    ## `fastapi run`
    
    `fastapi run` 명령을 실행하면 기본적으로 프로덕션 모드로 FastAPI가 시작됩니다.
    
    기본적으로 **자동 재시작(auto-reload)** 기능이 비활성화되어 있습니다. 또한, 사용 가능한 모든 IP 주소인 `0.0.0.0`에서 연결을 대기하므로 해당 컴퓨터와 통신할 수 있는 모든 사람이 공개적으로 액세스할 수 있습니다. 이는 일반적으로 컨테이너와 같은 프로덕션 환경에서 실행하는 방법입니다.
    
    애플리케이션을 배포하는 방식에 따라 다르지만, 대부분 "종료 프록시(termination proxy)"를 활용해 HTTPS를 처리하는 것이 좋습니다. 배포 서비스 제공자가 이 작업을 대신 처리해줄 수도 있고, 직접 설정해야 할 수도 있습니다.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        HashBiMap<String, String> bimap = HashBiMap.create(map);
        assertEquals("dollar", bimap.get("canada"));
        assertEquals("canada", bimap.inverse().get("dollar"));
      }
    
      private static final int N = 1000;
    
      public void testBashIt() throws Exception {
        BiMap<Integer, Integer> bimap = HashBiMap.create(N);
        BiMap<Integer, Integer> inverse = bimap.inverse();
    
        for (int i = 0; i < N; i++) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
Back to Top