Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,760 for params (0.21 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

    import org.apache.maven.artifact.versioning.VersionRange;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. native-image-tests/src/main/kotlin/okhttp3/SampleTest.kt

    import mockwebserver3.MockWebServer
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ArgumentsSource
    
    class SampleTest {
      @JvmField @RegisterExtension
      val clientRule = OkHttpClientTestRule()
    
      @Test
      fun passingTest() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy

        private final List<Pattern> publicApiPatterns
    
        AbstractSuperClassChangesRule(Map<String, Object> params) {
            super(params)
            final List<String> publicApiPatterns = (List<String>)params['publicApiPatterns'];
            this.publicApiPatterns = publicApiPatterns.collect { Pattern.compile(it) }
        }
    
        Violation maybeViolation(final JApiCompatibility member) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java

                public ExtractData getText(InputStream in, Map<String, String> params) {
                    return null;
                }
            });
            assertEquals(1, extractorFactory.getExtractor(key).getWeight());
            extractorFactory.addExtractor(key, new Extractor() {
                @Override
                public ExtractData getText(InputStream in, Map<String, String> params) {
                    return null;
                }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Jun 18 05:49:13 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

        AbstractGradleViolationRule(Map<String, Object> params) {
            Map<String, String> acceptedApiChanges = (Map<String, String>)params.get("acceptedApiChanges")
            this.acceptedApiChanges = acceptedApiChanges ? AcceptedApiChanges.fromAcceptedChangesMap(acceptedApiChanges) : [:]
    
            // Tests will not supply these
            this.mainApiChangesJsonFile = params.get("mainApiChangesJsonFile") ? new File(params.get("mainApiChangesJsonFile") as String) : null
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.cc

    bool ValidateConstWhileParams(const TF_WhileParams& params, TF_Status* s) {
      if (params.cond_graph == nullptr || params.body_graph == nullptr ||
          params.cond_graph->parent == nullptr ||
          params.cond_graph->parent != params.body_graph->parent ||
          params.cond_graph->parent_inputs != params.body_graph->parent_inputs ||
          params.ninputs <= 0 || params.cond_inputs == nullptr ||
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

        private final ConcurrentMap<String, AtomicLong> lastTimes = new ConcurrentHashMap<>();
    
        public HostIntervalController() {
        }
    
        public HostIntervalController(final Map<String, Long> params) {
            super(params);
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.interval.impl.AbstractIntervalController#
         * delayBeforeProcessing()
         */
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py

        response = client.get("/items/", params={"item-query": "fixedquery"})
        assert response.status_code == 200
        assert response.json() == {
            "items": [{"item_id": "Foo"}, {"item_id": "Bar"}],
            "q": "fixedquery",
        }
    
    
    def test_query_params_str_validations_q_fixedquery(client: TestClient):
        response = client.get("/items/", params={"q": "fixedquery"})
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py310.py

        response = client.get("/items/", params={"item-query": "fixedquery"})
        assert response.status_code == 200
        assert response.json() == {
            "items": [{"item_id": "Foo"}, {"item_id": "Bar"}],
            "q": "fixedquery",
        }
    
    
    @needs_py310
    def test_query_params_str_validations_q_fixedquery(client: TestClient):
        response = client.get("/items/", params={"q": "fixedquery"})
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. 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));
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top