Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 178 for 1014 (0.05 seconds)

  1. docs/zh/docs/deployment/docker.md

    如果你的 FastAPI 是单个文件,例如没有`./app`目录的`main.py`,则你的文件结构可能如下所示:
    
    ```
    .
    ├── Dockerfile
    ├── main.py
    └── requirements.txt
    ```
    
    然后你只需更改相应的路径即可将文件复制到`Dockerfile`中:
    
    ```{ .dockerfile .annotate hl_lines="10  13" }
    FROM python:3.9
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)
    COPY ./main.py /code/
    
    # (2)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Aug 12 21:47:53 GMT 2024
    - 31.2K bytes
    - Click Count (0)
  2. src/cmd/asm/internal/asm/testdata/riscv64validation.s

    	CADDI4SPN $-1, SP, X10				// ERROR "must be in range [0, 1023]"
    	CADDI4SPN $0, SP, X10				// ERROR "immediate cannot be zero"
    	CADDI4SPN $6, SP, X10				// ERROR "must be a multiple of 4"
    	CADDI4SPN $1024, SP, X10			// ERROR "must be in range [0, 1023]"
    	CSLLI	$63, X5, X6				// ERROR "rd must be the same as rs1"
    	CSLLI	$-1, X5					// ERROR "must be in range [0, 63]"
    	CSLLI	$0, X5					// ERROR "immediate cannot be zero"
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 13 12:17:37 GMT 2025
    - 42.1K bytes
    - Click Count (0)
  3. docs/ko/docs/deployment/docker.md

    ```
    .
    ├── Dockerfile
    ├── main.py
    └── requirements.txt
    ```
    
    그러면 여러분들은 `Dockerfile` 내에 있는 파일을 복사하기 위해 그저 상응하는 경로를 바꾸기만 하면 됩니다:
    
    ```{ .dockerfile .annotate hl_lines="10  13" }
    FROM python:3.9
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)
    COPY ./main.py /code/
    
    # (2)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 42.7K bytes
    - Click Count (0)
  4. src/bufio/bufio_test.go

    	}
    }
    
    func createTestInput(n int) []byte {
    	input := make([]byte, n)
    	for i := range input {
    		// 101 and 251 are arbitrary prime numbers.
    		// The idea is to create an input sequence
    		// which doesn't repeat too frequently.
    		input[i] = byte(i % 251)
    		if i%101 == 0 {
    			input[i] ^= byte(i / 101)
    		}
    	}
    	return input
    }
    
    func TestReaderWriteTo(t *testing.T) {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  5. cmd/object-api-listobjects_test.go

    		// Setting a non-existing directory to be prefix (10-11).
    		{"empty-bucket", "europe/france/", "", "", 1, ListObjectsInfo{}, nil, true},
    		{"empty-bucket", "africa/tunisia/", "", "", 1, ListObjectsInfo{}, nil, true},
    		// Testing on empty bucket, that is, bucket without any objects in it (12).
    		{"empty-bucket", "", "", "", 0, ListObjectsInfo{}, nil, true},
    		// Setting maxKeys to negative value (13-14).
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 76.1K bytes
    - Click Count (0)
  6. docs/ja/docs/deployment/docker.md

    ```
    .
    ├── Dockerfile
    ├── main.py
    └── requirements.txt
    ```
    
    そうすれば、`Dockerfile`の中にファイルをコピーするために、対応するパスを変更するだけでよいです:
    
    ```{ .dockerfile .annotate hl_lines="10  13" }
    FROM python:3.9
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)
    COPY ./main.py /code/
    
    # (2)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Aug 12 21:47:53 GMT 2024
    - 44.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Sets.java

         * is just more than the set's size.  We augment the test by
         * assuming that sets have fast contains() performance, and other
         * collections don't.  See
         * https://github.com/google/guava/issues/1013
         */
        if (collection instanceof Set && collection.size() > set.size()) {
          return Iterators.removeAll(set.iterator(), collection);
        } else {
          return removeAllImpl(set, collection.iterator());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 81.6K bytes
    - Click Count (0)
  8. cmd/object-api-multipart_test.go

    		// Asserting for Invalid UploadID (Test number 9).
    		{bucketNames[0], objectNames[0], "abc", []CompletePart{}, "", InvalidUploadID{UploadID: "abc"}, false},
    		// Test case with invalid Part Etag (Test number 10-11).
    		{bucketNames[0], objectNames[0], uploadIDs[0], []CompletePart{{ETag: "abc"}}, "", InvalidPart{}, false},
    		{bucketNames[0], objectNames[0], uploadIDs[0], []CompletePart{{ETag: "abcz"}}, "", InvalidPart{}, false},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 89.4K bytes
    - Click Count (0)
  9. CHANGELOG/CHANGELOG-1.22.md

    - github.com/go-openapi/jsonreference: [v0.19.3 → v0.19.5](https://github.com/go-openapi/jsonreference/compare/v0.19.3...v0.19.5)
    - github.com/go-openapi/swag: [v0.19.5 → v0.19.14](https://github.com/go-openapi/swag/compare/v0.19.5...v0.19.14)
    - github.com/godbus/dbus/v5: [v5.0.3 → v5.0.4](https://github.com/godbus/dbus/v5/compare/v5.0.3...v5.0.4)
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Tue Dec 13 12:43:45 GMT 2022
    - 454.1K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.29.md

    - github.com/cyphar/filepath-securejoin: [v0.2.3 → v0.2.4](https://github.com/cyphar/filepath-securejoin/compare/v0.2.3...v0.2.4)
    - github.com/docker/docker: [v20.10.21+incompatible → v20.10.24+incompatible](https://github.com/docker/docker/compare/v20.10.21...v20.10.24)
    - github.com/emicklei/go-restful/v3: [v3.9.0 → v3.11.0](https://github.com/emicklei/go-restful/v3/compare/v3.9.0...v3.11.0)
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Wed Mar 12 00:36:01 GMT 2025
    - 429.6K bytes
    - Click Count (1)
Back to Top