Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 2,843 for param2 (0.05 seconds)

  1. tests/test_params_repr.py

    from fastapi.params import Body, Cookie, Header, Param, Path, Query
    
    test_data: list[Any] = ["teststr", None, ..., 1, []]
    
    
    def get_user():
        return {}  # pragma: no cover
    
    
    def test_param_repr_str():
        assert repr(Param("teststr")) == "Param(teststr)"
    
    
    def test_param_repr_none():
        assert repr(Param(None)) == "Param(None)"
    
    
    def test_param_repr_ellipsis():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_additional_status_codes/test_tutorial001.py

    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial001_py310", marks=needs_py310),
            pytest.param("tutorial001_an_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.additional_status_codes.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 934 bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          Parameter param = params.get(i);
          if (i != indexOfParamToSetToNull) {
            args[i] = getDefaultValue(param.getType());
            Assert.assertTrue(
                "Can't find or create a sample instance for type '"
                    + param.getType()
                    + "'; please provide one using NullPointerTester.setDefault()",
                args[i] != null || isNullable(param));
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/promotion/PromotionProject.kt

                password("env.ORG_GRADLE_PROJECT_sdkmanToken", "%sdkmanToken%")
                param("env.JAVA_HOME", javaHome(BuildToolBuildJvm, Os.LINUX))
                // https://github.com/gradle/gradle-private/issues/4504
                param("env.JDK8", javaHome(OpenJdk8, Os.LINUX))
                param("env.JDK11", javaHome(OpenJdk11, Os.LINUX))
                param("env.JDK17", javaHome(OpenJdk17, Os.LINUX))
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 15 19:30:24 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/projects/GradleBuildToolRootProject.kt

                subProject(UtilProject)
                subProject(UtilPerformanceProject)
            }
    
            params {
                param("enableIsolatedProjects", "false") // TODO: remove as soon as CI is compatible with enabling IP
                param("env.GRADLE_OPTS", "-Dorg.gradle.unsafe.isolated-projects=false")
            }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 03 10:41:06 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  6. .teamcity/src/main/kotlin/util/PublishKotlinDslPlugin.kt

        requirements {
            requiresOs(Os.LINUX)
        }
    
        params {
            param("env.JAVA_HOME", javaHome(BuildToolBuildJvm, Os.LINUX))
            param("env.GRADLE_PUBLISH_KEY", "%plugin.portal.publish.key%")
            param("env.GRADLE_PUBLISH_SECRET", "%plugin.portal.publish.secret%")
            param("env.PGP_SIGNING_KEY", "%pgpSigningKey%")
            param("env.PGP_SIGNING_KEY_PASSPHRASE", "%pgpSigningPassphrase%")
        }
        steps {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 19 08:02:04 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbSessionImpl.java

                }
            }
            return ctx.initSecContext(token, 0, token == null ? 0 : token.length);
        }
    
        /**
         * @param trans
         * @param tdomain
         * @param negoResp
         * @param ctx
         * @param doSigning
         * @param s
         * @return
         * @throws SmbException
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJob.java

            });
        }
    
        public void start(final Map<String, Object> params) {
            ComponentUtil.getJobManager().findJobByUniqueOf(LaJobUnique.of(getId())).ifPresent(job -> {
                if (params != null && !params.isEmpty()) {
                    job.launchNow(op -> {
                        params.forEach(op::param);
                    });
                } else {
                    job.launchNow();
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/DosFileFilterTest.java

         * This test covers various combinations of file attributes and filter attributes
         * to ensure the bitwise logic is correctly implemented.
         *
         * @param filterAttributes The attributes set for the filter.
         * @param fileAttributes The attributes of the mock file.
         * @param expectedResult The expected outcome of the accept method.
         * @throws SmbException If an SMB error occurs.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClient.java

        /**
         * Sets the initialization parameters for the crawler client.
         *
         * @param params a map containing the initialization parameters
         */
        void setInitParameterMap(Map<String, Object> params);
    
        /**
         * Executes a request and returns the response data.
         *
         * @param data the request data to be executed
         * @return the response data from the executed request
         */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top