Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 757 for txt$ (0.14 sec)

  1. tests/test_tutorial/test_request_files/test_tutorial001_02.py

        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    def test_post_upload_file(tmp_path: Path, client: TestClient):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileTest.java

            void testGetName() {
                // Act & Assert
                assertEquals("file.txt", smbFile.getName());
            }
    
            @Test
            void testGetPath() {
                // Arrange
                doReturn("/share/file.txt").when(smbFile).getPath();
    
                // Act & Assert
                assertEquals("/share/file.txt", smbFile.getPath());
            }
        }
    
        @Nested
        class WhenHandlingStreams {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            assertTrue(entry2.isComplete());
            assertTrue(entry1.hasChild("document.txt"));
            assertFalse(entry1.hasChild("subfolder"));
            assertTrue(entry2.hasChild("subfolder"));
            assertFalse(entry2.hasChild("document.txt"));
    
            // Test individual change notification
            directoryLeaseManager.handleDirectoryChange(dir1, "document.txt", DirectoryChangeNotifier.DirectoryChangeType.FILE_REMOVED);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. docs/zh/docs/deployment/docker.md

    COPY ./pyproject.toml ./poetry.lock* /tmp/
    
    # (5)
    RUN poetry export -f requirements.txt --output requirements.txt --without-hashes
    
    # (6)
    FROM python:3.9
    
    # (7)
    WORKDIR /code
    
    # (8)
    COPY --from=requirements-stage /tmp/requirements.txt /code/requirements.txt
    
    # (9)
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (10)
    COPY ./app /code/app
    
    # (11)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  5. docs/site-replication/run-ssec-object-replication-with-compression.sh

    echo "Hello from encrypted world" >/tmp/data/encrypted
    touch /tmp/data/defpartsize
    shred -s 500M /tmp/data/defpartsize
    touch /tmp/data/mpartobj.txt
    shred -s 500M /tmp/data/mpartobj.txt
    echo "done"
    
    # Enable compression for site minio1
    ./mc admin config set minio1 compression enable=on extensions=".txt" --insecure
    ./mc admin config set minio1 compression allow_encryption=off --insecure
    
    # Create bucket in source cluster
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbWatchHandleTest.java

            when(fileNotifyInfo2.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_MODIFIED);
            when(fileNotifyInfo2.getFileName()).thenReturn("existingfile.txt");
    
            when(fileNotifyInfo3.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_REMOVED);
            when(fileNotifyInfo3.getFileName()).thenReturn("deletedfile.txt");
    
            // Verify actions and filenames
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (1)
  7. docs/fr/docs/deployment/versions.md

    Par exemple, disons que vous utilisez la version `0.45.0` dans votre application.
    
    Si vous utilisez un fichier `requirements.txt`, vous pouvez spécifier la version avec :
    
    ```txt
    fastapi==0.45.0
    ```
    
    ce qui signifierait que vous utiliseriez exactement la version `0.45.0`.
    
    Ou vous pourriez aussi l'épingler avec :
    
    ```txt
    fastapi>=0.45.0,<0.46.0
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. docs/zh/docs/deployment/versions.md

    ## 固定你的 `fastapi` 版本
    
    你应该做的第一件事是将你正在使用的 **FastAPI** 版本“固定”到你知道适用于你的应用程序的特定最新版本。
    
    例如,假设你在应用程序中使用版本`0.45.0`。
    
    如果你使用`requirements.txt`文件,你可以使用以下命令指定版本:
    
    ````txt
    fastapi==0.45.0
    ````
    
    这意味着你将使用版本`0.45.0`。
    
    或者你也可以将其固定为:
    
    ````txt
    fastapi>=0.45.0,<0.46.0
    ````
    
    这意味着你将使用`0.45.0`或更高版本,但低于`0.46.0`,例如,版本`0.45.2`仍会被接受。
    
    如果你使用任何其他工具来管理你的安装,例如 Poetry、Pipenv 或其他工具,它们都有一种定义包的特定版本的方法。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. docs/ru/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)!
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 44.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            info.filename = "test.txt";
            info.extFileAttributes = SmbFile.ATTR_ARCHIVE;
            info.creationTime = 1672531200000L; // 2023-01-01
            info.lastWriteTime = 1672617600000L; // 2023-01-02
            info.endOfFile = 1024;
    
            assertEquals("test.txt", info.getName());
            assertEquals(SmbFile.TYPE_FILESYSTEM, info.getType());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top