Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5711 - 5720 of 9,145 for clase (3.92 sec)

  1. docs_src/dependencies/tutorial008c_py39.py

    from fastapi import Depends, FastAPI, HTTPException
    
    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("Oops, we didn't raise again, Britney 😱")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: str = Depends(get_username)):
        if item_id == "portal-gun":
            raise InternalError(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 660 bytes
    - Viewed (0)
  2. src/main/resources/fess_message_nl.properties

    # Framework Default
    # =================
    # ----------------------------------------------------------
    # Lasta Taglib
    # ------------
    errors.header = <ul class="has-error">
    errors.footer = </ul>
    errors.prefix = <li><i class="fa fa-exclamation-circle"></i>
    errors.suffix = </li>
    # ----------------------------------------------------------
    # Javax Validator
    # ---------------
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. src/main/resources/fess_message_ru.properties

    # Framework Default
    # =================
    # ----------------------------------------------------------
    # Lasta Taglib
    # ------------
    errors.header = <ul class="has-error">
    errors.footer = </ul>
    errors.prefix = <li><i class="fa fa-exclamation-circle"></i>
    errors.suffix = </li>
    # ----------------------------------------------------------
    # Javax Validator
    # ---------------
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Jul 05 02:36:47 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

     * stale).
     */
    class CacheStrategy internal constructor(
      /** The request to send on the network, or null if this call doesn't use the network. */
      val networkRequest: Request?,
      /** The cached response to return or validate; or null if this call doesn't use a cache. */
      val cacheResponse: Response?,
    ) {
      class Factory(
        private val nowMillis: Long,
        internal val request: Request,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. docs/en/docs/deployment/server-workers.md

    ///
    
    ## Multiple Workers { #multiple-workers }
    
    You can start multiple workers with the `--workers` command line option:
    
    //// tab | `fastapi`
    
    If you use the `fastapi` command:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> run --workers 4 <u style="text-decoration-style:solid">main.py</u>
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. internal/bpool/bpool.go

    	}
    }
    
    // Get gets a []byte from the BytePool, or creates a new one if none are
    // available in the pool.
    func (bp *BytePoolCap) Get() (b []byte) {
    	if bp == nil {
    		return nil
    	}
    	select {
    	case b = <-bp.c:
    		// reuse existing buffer
    	default:
    		// create new aligned buffer
    		b = reedsolomon.AllocAligned(1, bp.wcap)[0][:bp.w]
    	}
    	return b
    }
    
    // Put returns the given Buffer to the BytePool.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. cmd/s3-zip-handlers.go

    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    		defer gr.Close()
    		rc, err = file.Open(gr)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    	} else {
    		rc = io.NopCloser(bytes.NewReader([]byte{}))
    	}
    
    	defer rc.Close()
    
    	if err = setObjectHeaders(ctx, w, fileObjInfo, nil, opts); err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/pager/CharMappingPager.java

    import java.io.Serializable;
    import java.util.List;
    
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Pager class for character mapping management with pagination support.
     * Provides pagination functionality for character mapping lists.
     */
    public class CharMappingPager implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
        /** Total number of records across all pages. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/pager/StopwordsPager.java

    import java.util.List;
    
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Pager for managing stopwords pagination.
     * This class handles the state and logic for paginating through a list of stopwords,
     * including total record count, page size, and current page number.
     */
    public class StopwordsPager implements Serializable {
    
        /**
         * Constructs a new pager for stopwords.
         */
        public StopwordsPager() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/RequestHeaderService.java

    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.Resource;
    
    /**
     * Service class for managing request headers used in web crawling configurations.
     * This service provides CRUD operations for request headers that are applied
     * during web crawling to configure HTTP request behavior.
     *
     */
    public class RequestHeaderService {
    
        /**
         * Behavior for request header database operations.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top