Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4771 - 4780 of 7,014 for _return (0.06 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/ModelVersionParserTest.java

            try {
                versionParser.parseVersionConstraint(constraint);
                fail("expected exception for constraint " + constraint);
                return null;
            } catch (VersionParserException e) {
                return e;
            }
        }
    
        @Test
        void testEnumeratedVersions() throws VersionParserException {
            VersionConstraint c = versionParser.parseVersionConstraint("1.0");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_files/test_tutorial003_py39.py

    from ...utils import needs_py39
    
    
    @pytest.fixture(name="app")
    def get_app():
        from docs_src.request_files.tutorial003_py39 import app
    
        return app
    
    
    @pytest.fixture(name="client")
    def get_client(app: FastAPI):
        client = TestClient(app)
        return client
    
    
    file_required = {
        "detail": [
            {
                "loc": ["body", "files"],
                "msg": "field required",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

      }
    
      @Override
      public Set<Feature<? super Collection>> getImpliedFeatures() {
        return implied;
      }
    
      public int getNumElements() {
        if (numElements == null) {
          throw new IllegalStateException(
              "A compound CollectionSize doesn't specify a number of elements.");
        }
        return numElements;
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
      @TesterAnnotation
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/WebPlatformUrlTestData.kt

              element[nameAndValue[0]] = unescape(nameAndValue[1])
              i++
            }
    
            list += element
          }
          return list
        }
    
        private fun unescape(s: String): String {
          return buildString {
            val buffer = Buffer().writeUtf8(s)
            while (!buffer.exhausted()) {
              val c = buffer.readUtf8CodePoint()
              if (c != '\\'.code) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/PredicatesTest.java

        @Override
        public boolean apply(@Nullable Integer i) {
          return (i.intValue() & 1) == 1;
        }
    
        @Override
        public int hashCode() {
          return 0x150dd;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return obj instanceof IsOdd;
        }
    
        @Override
        public String toString() {
          return "IsOdd";
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  6. docs_src/header_param_models/tutorial002_an_py310.py

        save_data: bool
        if_modified_since: str | None = None
        traceparent: str | None = None
        x_tag: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(headers: Annotated[CommonHeaders, Header()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 432 bytes
    - Viewed (0)
  7. docs_src/header_param_models/tutorial002_py39.py

        if_modified_since: Union[str, None] = None
        traceparent: Union[str, None] = None
        x_tag: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(headers: CommonHeaders = Header()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 430 bytes
    - Viewed (0)
  8. docs_src/query_params/tutorial003_py310.py

        item = {"item_id": item_id}
        if q:
            item.update({"q": q})
        if not short:
            item.update(
                {"description": "This is an amazing item that has a long description"}
            )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 374 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/SystemUtil.java

        public static String getSearchEngineHttpAddress() {
            final String value = System.getProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS);
            if (value != null) {
                return value;
            }
            return System.getProperty(Constants.FESS_ES_HTTP_ADDRESS);
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

          "Mon, 18 Aug 2014 15:16:06 GMT",
        )
      }
    
      companion object {
        fun fromArgs(vararg args: String): Main {
          return Main().apply {
            parse(args.toList())
          }
        }
    
        private fun bodyAsString(body: RequestBody?): String {
          return try {
            val buffer = Buffer()
            body!!.writeTo(buffer)
            buffer.readString(body.contentType()!!.charset()!!)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top