Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4941 - 4950 of 7,014 for _return (0.05 sec)

  1. docs_src/body_nested_models/tutorial007_py39.py

    
    class Offer(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        items: list[Item]
    
    
    @app.post("/offers/")
    async def create_offer(offer: Offer):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 570 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsFileConfigCQ.java

        //                                                                       =============
        @Override
        public String asTableDbName() {
            return "file_config";
        }
    
        @Override
        public String xgetAliasName() {
            return "file_config";
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 165.3K bytes
    - Viewed (0)
  3. src/main/resources/fess_env_suggest.properties

    # SMTP server settings for main: host:port
    mail.smtp.server.main.host.and.port = localhost:25
    
    # The prefix of subject to show test environment or not
    mail.subject.test.prefix = 
    
    # The common return path of all mail
    mail.return.path = root@localhost
    
    
    # ========================================================================================
    #                                                                                      DB
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/RootAction.java

        //                                                                      ==============
        @Execute
        public HtmlResponse index() {
            if (isLoginRequired()) {
                return redirectToLogin();
            }
    
            return asHtml(virtualHost(path_IndexJsp)).useForm(SearchForm.class, op -> {
                op.setup(form -> {
                    buildFormParams(form);
                });
            }).renderWith(data -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/help/HelpAction.java

        //                                                                      ==============
    
        @Execute
        public HtmlResponse index() {
            if (isLoginRequired()) {
                return redirectToLogin();
            }
    
            return asHtml(virtualHost(path_HelpJsp)).useForm(SearchForm.class, op -> {
                op.setup(form -> {
                    buildFormParams(form);
                });
            }).renderWith(data -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/FessLastaDocTest.java

            // ## Act ##
            policeStoryOfJavaClassChase((srcFile, clazz) -> {
                if (clazz.isInterface() || Modifier.isAbstract(clazz.getModifiers())) { // e.g. BaseAction
                    return;
                }
                final String className = clazz.getName();
                if (className.contains(appWebPkg) && className.endsWith(actionSuffix)) {
                    // ## Assert ##
                    markHere("exists");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/InetAddressOrder.kt

     * https://datatracker.ietf.org/doc/html/rfc8305#section-4
     */
    fun reorderForHappyEyeballs(addresses: List<InetAddress>): List<InetAddress> {
      if (addresses.size < 2) {
        return addresses
      }
    
      val (ipv6, ipv4) = addresses.partition { it is Inet6Address }
    
      return if (ipv6.isEmpty() || ipv4.isEmpty()) {
        addresses
      } else {
        interleave(ipv6, ipv4)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt

      val proxies: MutableList<Proxy> = mutableListOf()
    
      fun addProxy(proxy: Proxy): FakeProxySelector {
        proxies.add(proxy)
        return this
      }
    
      override fun select(uri: URI): List<Proxy> {
        // Don't handle 'socket' schemes, which the RI's Socket class may request (for SOCKS).
        return if (uri.scheme == "http" || uri.scheme == "https") proxies else listOf(Proxy.NO_PROXY)
      }
    
      override fun connectFailed(
        uri: URI,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. helm/minio/templates/_helper_custom_command.txt

          exit 1 ;
        fi ;
        sleep 2 ; # 1 second intervals between attempts
        $MC_COMMAND ;
        STATUS=$? ;
      done ;
      set -e ; # reset `e` as active
      return 0
    }
    
    # runCommand ($@)
    # Run custom mc command
    runCommand() {
      ${MC} "$@"
      return $?
    }
    
    # Try connecting to MinIO instance
    {{- if .Values.tls.enabled }}
    scheme=https
    {{- else }}
    scheme=http
    {{- end }}
    connectToMinio $scheme
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 19 20:34:14 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/ThreadUtil.java

            if (millis < 1L) {
                return;
            }
            try {
                Thread.sleep(millis);
            } catch (final InterruptedException e) {
                throw new InterruptedRuntimeException(e);
            }
        }
    
        public static void sleepQuietly(final long millis) {
            if (millis < 1L) {
                return;
            }
            try {
                Thread.sleep(millis);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top