- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 667 for files (0.18 sec)
-
scripts/mkdocs_hooks.py
resolve_file(item=config.theme["logo"], files=files, config=config) if "favicon" in config.theme: resolve_file(item=config.theme["favicon"], files=files, config=config) resolve_files(items=config.extra_css, files=files, config=config) resolve_files(items=config.extra_javascript, files=files, config=config) return files def generate_renamed_section_items(
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 5.1K bytes - Viewed (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
By default, those files are served from a <abbr title="Content Delivery Network: A service, normally composed of several servers, that provides static files, like JavaScript and CSS. It's commonly used to serve those files from the server closer to the client, improving performance.">CDN</abbr>. But it's possible to customize it, you can set a specific CDN, or serve the files yourself.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Mon Oct 30 09:58:58 GMT 2023 - 7.5K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_an.py
} ) def test_post_file(tmp_path): path = tmp_path / "test.txt" path.write_bytes(b"<file content>") client = TestClient(app) 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_large_file(tmp_path): default_pydantic_max_size = 2**16
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 7.5K bytes - Viewed (0) -
.cm/plugins/filters/byPlatform/index.js
* @module byPlatform * @description Groups the PR's files by platform based on the file's path. * @param {string[]} files - the gitStream's files context variable * @returns {Map} - Map from platform to list of files in this PR in it * @example {{ owners | byPlatform }} */ function byPlatform(files) { const result = new Map(); files.forEach(file => { const platform = getPlatform(file); if (!result.has(platform)) {
JavaScript - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Mon Apr 22 16:47:29 GMT 2024 - 1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
import java.nio.file.FileSystems; import java.nio.file.FileVisitResult; import java.nio.file.Files; import java.nio.file.NoSuchFileException; import java.nio.file.Path; import java.nio.file.SimpleFileVisitor; import java.nio.file.attribute.BasicFileAttributes; import java.nio.file.attribute.FileTime; import java.util.EnumSet; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Jan 29 22:57:05 GMT 2024 - 27.2K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_03.py
from fastapi.testclient import TestClient from docs_src.request_files.tutorial001_03 import app client = TestClient(app) def test_post_file(tmp_path): path = tmp_path / "test.txt" path.write_bytes(b"<file content>") client = TestClient(app) with path.open("rb") as file: response = client.post("/files/", files={"file": file}) assert response.status_code == 200, response.text
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 6K bytes - Viewed (0) -
common/Makefile.common.mk
@if [ "$(LICENSE_OVERRIDE)" != "LICENSE" ]; then\ rm $(TMP)/common-files/files/LICENSE;\ fi @cp -a $(TMP)/common-files/files/* $(TMP)/common-files/files/.devcontainer $(TMP)/common-files/files/.gitattributes $(shell pwd) @rm -fr $(TMP)/common-files @$(or $(COMMONFILES_POSTPROCESS), true) check-clean-repo: @common/scripts/check_clean_repo.sh tidy-docker:
Plain Text - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Sat Mar 02 20:07:36 GMT 2024 - 5.9K bytes - Viewed (0) -
build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt
import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test import org.junit.jupiter.api.io.TempDir import java.nio.file.FileVisitResult import java.nio.file.Files import java.nio.file.Path import java.nio.file.SimpleFileVisitor import java.nio.file.attribute.BasicFileAttributes import java.util.jar.JarEntry import java.util.jar.JarOutputStream class PackageListGeneratorIntegrationTest {
Plain Text - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 4.8K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_02_an_py310.py
assert response.json() == {"message": "No upload file sent"} @needs_py310 def test_post_file(tmp_path: Path, client: TestClient): 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} @needs_py310
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 8.5K bytes - Viewed (0) -
.cm/plugins/filters/byCodeowner/index.js
* @description Groups the PR's files' by owner based on the CODEOWNERs file. * @param {string[]} files - the gitStream's files context variable * @param {Object} pr - the gitStream's pr context variable * @param {string} token - access token with repo:read scope, used to read the CODEOWNERS file * @param {string} pathToCodeOwners - path from repo root to CODEOWNERS file * @returns {Map} - Map from owner name to list of files they own
JavaScript - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Mon Apr 22 19:12:32 GMT 2024 - 2.8K bytes - Viewed (0)