- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 1,021 for streams (2.15 sec)
-
src/main/java/org/codelibs/fess/app/service/RoleService.java
op.setRefreshPolicy(Constants.TRUE); }); userBhv.selectCursor(cb -> cb.query().setRoles_Equal(role.getId()), entity -> { entity.setRoles( stream(entity.getRoles()).get(stream -> stream.filter(s -> !s.equals(role.getId())).toArray(n -> new String[n]))); userBhv.insertOrUpdate(entity); }); } /** * Sets up the list condition for the role query.
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java
this.useFilename = useFilename; } /** * Sets whether to use the filename for MIME type detection when the stream is octet-stream. * * @param useFilenameOnOctetStream true to use the filename for MIME type detection when the stream is octet-stream; false otherwise. */ public void setUseFilenameOnOctetStream(final boolean useFilenameOnOctetStream) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/GeoInfo.java
final String[] geoFields = fessConfig.getQueryGeoFieldsAsArray(); final Map<String, List<QueryBuilder>> geoMap = new HashMap<>(); StreamUtil.stream(request.getParameterMap()) .of(stream -> stream.filter(e -> e.getKey().startsWith("geo.") && e.getKey().endsWith(".point")).forEach(e -> { final String key = e.getKey(); for (final String geoField : geoFields) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.api.admin.dict; import java.util.stream.Collectors; import java.util.stream.Stream; import org.codelibs.fess.app.web.api.ApiResult; import org.codelibs.fess.app.web.api.admin.FessApiAdminAction; import org.codelibs.fess.dict.DictionaryFile;
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 2.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
} } /** * Retrieve a stream of the project's artifacts */ private Stream<Artifact> getProjectArtifacts(MavenProject project) { Stream<org.apache.maven.artifact.Artifact> artifacts = Stream.concat( Stream.concat( // pom artifact Stream.of(new ProjectArtifact(project)),Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Dec 15 11:20:38 UTC 2025 - 24.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ReaderUtil.java
/** * Creates a {@link Reader} to read from a file with the specified encoding. * * @param is * the input stream (must not be {@literal null}) * @param encoding * the encoding of the input stream (must not be {@literal null} or empty) * @return a {@link Reader} to read from the file */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/stream/StreamUtilTest.java
}); } public void test_ofNull() { assertEquals(0, (int) StreamUtil.stream().get(s -> s.toArray().length)); Object[] o = {}; assertEquals(0, (int) StreamUtil.stream(o).get(s -> s.toArray().length)); Map<Object, Object> map = new HashMap<Object, Object>(); assertEquals(0, (int) StreamUtil.stream(map).get(s -> s.toArray().length)); } public void test_ofMap() {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.7K bytes - Viewed (0) -
tests/test_dependency_after_yield_streaming.py
@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"] return StreamingResponse(iter_data()) @app.get("/stream-session") def get_stream_session(session: SessionDep) -> Any: def iter_data(): yield from session
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java
} /** * Traverses resources contained in a ZIP file input stream. * <p> * Of the resources in the input stream, only those with paths starting with the specified prefix are traversed. * The handler receives the entry name with the prefix removed. For example, if the prefix is <code>/aaa/bbb/</code> * and the input stream contains a resource <code>/aaa/bbb/ccc/ddd/eee.txt</code>, the handler receivesRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.2K bytes - Viewed (0)