- Sort Score
- Num 10 results
- Language All
Results 631 - 640 of 4,214 for wget (0.08 seconds)
-
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt
val isMacOsX = OperatingSystem.current().isMacOsX val isIntel: Boolean = architecture == "x86_64" || architecture == "x86" val isSlowInternetConnection get() = System.getProperty("slow.internet.connection", "false")!!.toBoolean() val agentNum: Int get() { if (System.getenv().containsKey("USERNAME")) { val agentNumEnv = System.getenv("USERNAME").replaceFirst("tcagent", "")
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 25 08:51:12 GMT 2026 - 4.9K bytes - Click Count (1) -
tests/test_param_in_path_and_dependency.py
return True @app.get("/users/{user_id}", dependencies=[Depends(user_exists)]) async def read_users(user_id: int): pass client = TestClient(app) def test_read_users(): response = client.get("/users/42") assert response.status_code == 200, response.text def test_openapi_schema(): response = client.get("/openapi.json") assert response.json() == snapshot(Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 3.6K bytes - Click Count (0) -
tests/test_response_model_data_filter.py
async def create_user(user: UserCreate): return user @app.get("/pets/{pet_id}", response_model=PetOut) async def read_pet(pet_id: int): user = UserDB( email="******@****.***", hashed_password="secrethashed", ) pet = PetDB(name="Nibbler", owner=user) return pet @app.get("/pets/", response_model=list[PetOut]) async def read_pets(): user = UserDB(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.7K bytes - Click Count (0) -
tests/test_security_oauth2_authorization_code_bearer_scopes_openapi_simple.py
return token app = FastAPI(dependencies=[Depends(get_token)]) @app.get("/admin", dependencies=[Security(get_token, scopes=["read", "write"])]) async def read_admin(): return {"message": "Admin Access"} client = TestClient(app) def test_read_admin(): response = client.get("/admin", headers={"Authorization": "Bearer faketoken"}) assert response.status_code == 200, response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2.6K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy
provider.parse(sourceFile.get().asFile) transformDocument(provider.document) provider.write(destFile.get().asFile) } private def transformDocument(Document mainDocbookTemplate) { ClassMetaDataRepository<ClassMetaData> classRepository = new SimpleClassMetaDataRepository<ClassMetaData>() classRepository.load(classMetaDataFile.get().asFile)
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 9.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/exbhv/UserBhv.java
try { final RESULT result = entityType.newInstance(); result.setName(DfTypeUtil.toString(source.get(NAME))); result.setPassword(DfTypeUtil.toString(source.get(PASSWORD))); result.setGroups(toStringArray(source.get(GROUPS))); result.setRoles(toStringArray(source.get(ROLES))); result.setAttributes(source.entrySet() .stream()Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 2.8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt
else ApiSourceFile.Java(sourceFile, sourceRoot) } } private val JApiClass.sourceFilePath: String get() = if (isKotlin) kotlinSourceFilePath else javaSourceFilePath private val JApiClass.javaSourceFilePath: String get() = fullyQualifiedName .replace(".", "/") .replace(innerClassesPartRegex, "") + ".java" private
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 3.8K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java
}; List<Future<Boolean>> futureList = executor.invokeAll(ImmutableList.of(task), 10, MILLISECONDS); Future<Boolean> future = futureList.get(0); assertFalse(taskDone); assertTrue(future.isDone()); assertThrows(CancellationException.class, future::get); } public void testSameThreadScheduledExecutor() throws ExecutionException, InterruptedException { taskDone = false; Callable<Integer> task =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 3.3K bytes - Click Count (0) -
guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java
}; List<Future<Boolean>> futureList = executor.invokeAll(ImmutableList.of(task), 10, MILLISECONDS); Future<Boolean> future = futureList.get(0); assertFalse(taskDone); assertTrue(future.isDone()); assertThrows(CancellationException.class, future::get); } public void testSameThreadScheduledExecutor() throws ExecutionException, InterruptedException { taskDone = false; Callable<Integer> task =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 3.3K bytes - Click Count (0) -
tests/test_stream_cancellation.py
] app = FastAPI() @app.get("/stream-raw", response_class=StreamingResponse) async def stream_raw() -> AsyncIterable[str]: """Async generator with no internal await - would hang without checkpoint.""" i = 0 while True: yield f"item {i}\n" i += 1 @app.get("/stream-jsonl") async def stream_jsonl() -> AsyncIterable[int]:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 2.7K bytes - Click Count (0)