- Sort Score
- Num 10 results
- Language All
Results 2841 - 2850 of 4,168 for get (0.02 seconds)
-
compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java
assertEquals(Problem.Severity.ERROR, problems.get(0).getSeverity(), "First problem should be ERROR"); assertEquals("Error message", problems.get(0).getMessage(), "First problem should have correct message"); assertEquals(Problem.Severity.WARNING, problems.get(1).getSeverity(), "Second problem should be WARNING"); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Jul 20 20:19:43 GMT 2025 - 2.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/ChatMessage.java
String titleValue = toStringOrNull(doc.get("title")); if (titleValue == null || titleValue.isEmpty()) { titleValue = toStringOrNull(doc.get("content_title")); } this.title = titleValue; this.url = toStringOrNull(doc.get("url")); this.docId = toStringOrNull(doc.get("doc_id")); this.snippet = toStringOrNull(doc.get("content_description"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 04:52:31 GMT 2026 - 10.1K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/length/ReplaceKeyInLength.java
return "length"; } @Override public void transformTest(ObjectNode lengthParent) { ObjectNode lengthNode = (ObjectNode) lengthParent.get(getKeyToFind()); JsonNode previousValue = lengthNode.get(requiredChildKey()); lengthNode.remove(requiredChildKey()); lengthNode.set(getNewChildKey(), previousValue); }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.4K bytes - Click Count (0) -
tests/test_pydanticv2_dataclasses_uuid_stringified_annotations.py
app = FastAPI() @app.get("/item", response_model=Item) async def read_item(): return { "id": uuid.uuid4(), "name": "Island In The Moon", "price": 12.99, "description": "A place to be playin' and havin' fun", "tags": ["breater"], } client = TestClient(app) def test_annotations(): response = client.get("/item")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 16 10:16:48 GMT 2026 - 1.1K bytes - Click Count (0) -
tests/test_callable_endpoint.py
def main(some_arg, q: str | None = None): return {"some_arg": some_arg, "q": q} endpoint = partial(main, "foo") app = FastAPI() app.get("/")(endpoint) client = TestClient(app) def test_partial(): response = client.get("/?q=bar") data = response.json()
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 426 bytes - Click Count (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts
// This should be unified with publish-public-libraries if possible doLast { repoDir.get().asFileTree.matching { include("**/maven-metadata.xml") }.forEach { it.writeText(it.readText().replace("\\Q<lastUpdated>\\E\\d+\\Q</lastUpdated>\\E".toRegex(), "<lastUpdated>${Year.now().value}0101000000</lastUpdated>")) } repoDir.get().asFileTree.matching { include("**/*.module") }.forEach { val content = it.readText()Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 13 11:01:20 GMT 2026 - 6.2K bytes - Click Count (0) -
tests/test_tutorial/test_behind_a_proxy/test_tutorial001_01.py
base_url="https://example.com", follow_redirects=False, ) def test_redirect() -> None: response = client.get("/items") assert response.status_code == 307 assert response.headers["location"] == "https://example.com/items/" def test_no_redirect() -> None: response = client.get("/items/") assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 545 bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/TypeDeriver.java
} root.accept(new TypeDeriverVisitor(registry)); @SuppressWarnings("unchecked") Map<String, String> collectedProcessorTypes = (Map<String, String>) context.get(TypeCollector.CONTEXT_KEY); if (collectedProcessorTypes != null) { root.accept(new ProcessorTypeMerger(collectedProcessorTypes)); } if (logger.isDebugEnabled()) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Mar 28 11:22:05 GMT 2026 - 8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt
} }, ) check(latch.await(10, TimeUnit.SECONDS)) { "Timed out waiting for count." } val failure = failureRef.get() if (failure != null) { throw RuntimeException(failure) } return countRef.get() } private fun updateReports() { val latch = CountDownLatch(1) newWebSocket( "/updateReports?agent=$USER_AGENT",Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java
assertEquals(2.0f, queryFieldConfig.additionalDefaultList.get(0).getSecond()); assertEquals("field2", queryFieldConfig.additionalDefaultList.get(1).getFirst()); assertEquals(1.5f, queryFieldConfig.additionalDefaultList.get(1).getSecond()); assertEquals("field3", queryFieldConfig.additionalDefaultList.get(2).getFirst());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 33.6K bytes - Click Count (0)