- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 282 for getData (0.03 sec)
-
tests/test_dependency_after_yield_streaming.py
yield s SessionDep = Annotated[Session, Depends(dep_session)] BrokenSessionDep = Annotated[Session, Depends(broken_dep_session)] app = FastAPI() @app.get("/data") def get_data(session: SessionDep) -> Any: data = list(session) return data @app.get("/stream-simple") def get_stream_simple(session: SessionDep) -> Any: def iter_data(): yield from ["x", "y", "z"]
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 3.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/BootstrapCoreExtensionManager.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 13.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
// Should return 0 when auto-connect fails due to missing project ID long lastModified = conn.getLastModified(); assertEquals(0, lastModified); } /** * Test that getDate() delegates to getLastModified(). */ public void test_getDate_delegatesToGetLastModified() throws Exception { URL url = new URL("gcs://mybucket/object.txt"); Handler handler = new Handler();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
*/ fun getDate(name: String): Date? = get(name)?.toHttpDateOrNull() /** * Returns the last value corresponding to the specified field parsed as an HTTP date, or null if * either the field is absent or cannot be parsed as a date. */ @IgnoreJRERequirement // Only programs that already have Instant will use this. fun getInstant(name: String): Instant? = getDate(name)?.toInstant()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/storage/StorageItem.java
* @return the item name */ public String getName() { return name; } /** * Returns the path of the item. * * @return the item path */ public String getPath() { return path; } /** * Returns whether this item is a directory. * * @return true if this item is a directory, false otherwise */ public boolean isDirectory() {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
ResourceUtil.getResource("hoge", "xml"); fail("2"); } catch (final ResourceNotFoundRuntimeException e) { System.out.println(e); assertEquals("3", "hoge.xml", e.getPath()); } System.out.println(ResourceUtil.getResource(".")); } /** * @throws Exception */ public void testGetResourceAsStreamNoException() throws Exception {
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
File file = new File(dir, filename); file.getParentFile().mkdirs(); FileUtils.fileWrite(file.getPath(), encoding, contents); markForDeletion(file); return file; } public String getFileContents(File file, String encoding) throws IOException {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
final CIFSContext tc = parent.getContext(); final URL u = locator.getURL(); FileEntry[] entries; if (u.getPath().lastIndexOf('/') != u.getPath().length() - 1) { throw new SmbException(u.toString() + " directory must end with '/'"); } if (locator.getType() != SmbConstants.TYPE_SERVER) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
} @Nonnull @Override public Optional<Path> getPath(@Nonnull Project project) { requireNonNull(project, "project" + " cannot be null"); Optional<ProducedArtifact> mainArtifact = project.getMainArtifact(); return mainArtifact.flatMap(artifactManager::getPath); } @Nonnull @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Dec 17 16:17:01 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/factory/BeanDescFactoryTest.java
} /** * */ public static class MyBean { /** * @return String */ public String getAaa() { return null; } /** * @param a * @return String */ public String getBbb(final Object a) { return null; }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.3K bytes - Viewed (0)