Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 484 for listFn (0.05 sec)

  1. src/main/java/org/codelibs/fess/app/service/JobLogService.java

        }
    
        public void deleteByJobStatus(final List<String> jobStatusList) {
            jobLogBhv.queryDelete(cb -> {
                cb.query().setJobStatus_InScope(jobStatusList);
            });
        }
    
        public void updateStatus() {
            final long expiry = ComponentUtil.getSystemHelper().getCurrentTimeAsLong() - expiredJobInterval;
            final List<JobLog> list = jobLogBhv.selectList(cb -> {
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/user/exentity/User.java

            final List<String> list = new ArrayList<>();
            list.add(fessConfig.getRoleSearchUserPrefix() + getName());
            stream(getRoles()).of(stream -> stream.forEach(s -> list.add(fessConfig.getRoleSearchRolePrefix() + decode(s))));
            stream(getGroups()).of(stream -> stream.forEach(s -> list.add(fessConfig.getRoleSearchGroupPrefix() + decode(s))));
            return list.toArray(new String[list.size()]);
        }
    
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. fastapi/_compat.py

    # Reassign variable to make it reexported for mypy
    PYDANTIC_VERSION = P_VERSION
    PYDANTIC_V2 = PYDANTIC_VERSION.startswith("2.")
    
    
    sequence_annotation_to_type = {
        Sequence: list,
        List: list,
        list: list,
        Tuple: tuple,
        tuple: tuple,
        Set: set,
        set: set,
        FrozenSet: frozenset,
        frozenset: frozenset,
        Deque: deque,
        deque: deque,
    }
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. tests/test_typing_python39.py

    from .utils import needs_py310
    
    
    @needs_py310
    def test_typing():
        types = {
            list[int]: [1, 2, 3],
            dict[str, list[int]]: {"a": [1, 2, 3], "b": [4, 5, 6]},
            set[int]: [1, 2, 3],  # `set` is converted to `list`
            tuple[int, ...]: [1, 2, 3],  # `tuple` is converted to `list`
        }
        for test_type, expect in types.items():
            app = FastAPI()
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 709 bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

        }
    
        private static List<String> split(final String s, final String separator) {
            final List<String> list = new ArrayList<>(2);
            StringBuilder sb = new StringBuilder();
            int pos = 0;
            final int end = s.length();
            while (pos < end) {
                if (s.startsWith(separator, pos)) {
                    if (sb.length() > 0) {
                        list.add(sb.toString());
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

                final List<Integer> list = new ArrayList<>();
                for (final String value : values) {
                    try {
                        list.add(Integer.parseInt(value.trim()));
                    } catch (final NumberFormatException e) {}
                }
                this.days = new int[list.size()];
                for (int i = 0; i < list.size(); i++) {
                    this.days[i] = list.get(i);
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. .github/actions/people/app/main.py

        author: Union[Author, None] = None
    
    
    class Replies(BaseModel):
        nodes: List[CommentsNode]
    
    
    class DiscussionsCommentsNode(CommentsNode):
        replies: Replies
    
    
    class Comments(BaseModel):
        nodes: List[CommentsNode]
    
    
    class DiscussionsComments(BaseModel):
        nodes: List[DiscussionsCommentsNode]
    
    
    class DiscussionsNode(BaseModel):
        number: int
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:13:50 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. tests/test_openapi_separate_input_output_schemas.py

        @app.post("/items/", responses={402: {"model": Item}})
        def create_item(item: Item) -> Item:
            return item
    
        @app.post("/items-list/")
        def create_item_list(item: List[Item]):
            return item
    
        @app.get("/items/")
        def read_items() -> List[Item]:
            return [
                Item(
                    name="Portal Gun",
                    description="Device to travel through the multi-rick-verse",
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

            });
        }
    
        @Override
        public int load() {
            final Map<String, Pair<Map<String, String>, List<Pair<Pattern, String>>>> relatedContentMap = new HashMap<>();
            getAvailableRelatedContentList().stream().forEach(entity -> {
                final String key = getHostKey(entity);
                Pair<Map<String, String>, List<Pair<Pattern, String>>> pair = relatedContentMap.get(key);
                if (pair == null) {
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java

        // GET /api/admin/storage/list/{id}
        // POST /api/admin/storage/list/{id}
        @Execute
        public JsonResponse<ApiResult> list(final OptionalThing<String> id) {
            final List<Map<String, Object>> list = getFileItems(id.isPresent() ? decodePath(id.get()) : null);
            try {
                return asJson(new ApiResult.ApiStorageResponse().items(list).status(ApiResult.Status.OK).result());
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top