Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 208 for SET (0.01 sec)

  1. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                defaultRoleList.add(name);
            }));
        }
    
        /**
         * Builds a set of roles from the request.
         * @param searchRequestType The type of the search request.
         * @return A set of roles.
         */
        public Set<String> build(final SearchRequestType searchRequestType) {
            final Set<String> roleSet = new HashSet<>();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. fastapi/encoders.py

                    if isinstance(obj, encoder_type):
                        return encoder_instance(obj)
        if include is not None and not isinstance(include, (set, dict)):
            include = set(include)
        if exclude is not None and not isinstance(exclude, (set, dict)):
            exclude = set(exclude)
        if isinstance(obj, BaseModel):
            obj_dict = obj.model_dump(
                mode="json",
                include=include,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_cookie_param_models/test_tutorial001.py

        client = TestClient(mod.app)
        return client
    
    
    def test_cookie_param_model(client: TestClient):
        with client as c:
            c.cookies.set("session_id", "123")
            c.cookies.set("fatebook_tracker", "456")
            c.cookies.set("googall_tracker", "789")
            response = c.get("/items/")
        assert response.status_code == 200
        assert response.json() == {
            "session_id": "123",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. docs_src/path_operation_advanced_configuration/tutorial004_py39.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
    
    
    @app.post("/items/", response_model=Item, summary="Create an item")
    async def create_item(item: Item):
        """
        Create an item with all the information:
    
        - **name**: each item must have a name
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 712 bytes
    - Viewed (0)
  5. apache-maven/src/assembly/maven/bin/mvn.cmd

    @REM Fallback to current working directory if not found.
    
    set "EXEC_DIR=%CD%"
    set "WDIR=%EXEC_DIR%"
    
    @REM Look for the --file switch and start the search for the .mvn directory from the specified
    @REM POM location, if supplied.
    
    set FILE_ARG=
    :arg_loop
    if "%~1" == "-f" (
      set "FILE_ARG=%~2"
      shift
      goto process_file_arg
    )
    if "%~1" == "--file" (
      set "FILE_ARG=%~2"
      shift
      goto process_file_arg
    )
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 10 16:40:06 UTC 2025
    - 10.7K bytes
    - Viewed (3)
  6. tests/test_request_params/test_cookie/test_required_str.py

                }
            ]
        }
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-str", "/model-required-str"],
    )
    def test_required_str(path: str):
        client = TestClient(app)
        client.cookies.set("p", "hello")
        response = client.get(path)
        assert response.status_code == 200
        assert response.json() == {"p": "hello"}
    
    
    # =====================================================================================
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

            }
          } else {
            // set on the future completed
            assertFalse(cancellationSuccess.get());
            assertTrue(setFutureSetSuccess.get());
            assertTrue(setFutureCompletionSuccess.get());
          }
          // reset for next iteration
          setFutureSetSuccess.set(false);
          setFutureCompletionSuccess.set(false);
          cancellationSuccess.set(false);
          finalResults.clear();
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                        }
                    } else if (line.startsWith(DISABLE_URL_ENCODE)) {
                        urlEncodeDisabled.set(true);
                    }
                }));
    
                // set excluded urls
                urlEncodeDisabled.set(false);
                split(excludedUrlsStr, "[\r\n]").of(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).forEach(line -> {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

         * Processes allowed SIDs (Security Identifiers) and adds them to the SID set.
         * If the SID is a group, it recursively processes all group members.
         *
         * @param file the SMB1 file
         * @param sid the SID to process
         * @param sidSet the set of SIDs to add to
         */
        protected void processAllowedSIDs(final SmbFile file, final SID sid, final Set<SID> sidSet) {
            if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  10. fastapi/param_functions.py

                allowed by the alias or set of aliases defined.
                """
            ),
        ] = None,
        serialization_alias: Annotated[
            Union[str, None],
            Doc(
                """
                'Blacklist' validation step. The vanilla parameter field will be the
                single one of the alias' or set of aliases' fields and all the other
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 63K bytes
    - Viewed (0)
Back to top