Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for hugger (0.18 sec)

  1. internal/logger/logger.go

    package logger
    
    import (
    	"context"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"go/build"
    	"path/filepath"
    	"reflect"
    	"runtime"
    	"sort"
    	"strings"
    	"time"
    
    	"github.com/minio/highwayhash"
    	"github.com/minio/madmin-go/v3"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/pkg/v2/logger/message/log"
    )
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/bigger-applications.md

    ```Python hl_lines="1  3" title="app/routers/users.py"
    {!../../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    ### *➡ 🛠️* ⏮️ `APIRouter`
    
    & ⤴️ 👆 ⚙️ ⚫️ 📣 👆 *➡ 🛠️*.
    
    ⚙️ ⚫️ 🎏 🌌 👆 🔜 ⚙️ `FastAPI` 🎓:
    
    ```Python hl_lines="6  11  16" title="app/routers/users.py"
    {!../../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    👆 💪 💭 `APIRouter` "🐩 `FastAPI`" 🎓.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/bigger-applications.md

    ```Python hl_lines="1  3" title="app/routers/users.py"
    {!../../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    ### *Path operations* with `APIRouter`
    
    And then you use it to declare your *path operations*.
    
    Use it the same way you would use the `FastAPI` class:
    
    ```Python hl_lines="6  11  16" title="app/routers/users.py"
    {!../../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/bigger-applications.md

    你可以导入它并通过与 `FastAPI` 类相同的方式创建一个「实例」:
    
    ```Python hl_lines="1  3" title="app/routers/users.py"
    {!../../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    ### 使用 `APIRouter` 的*路径操作*
    
    然后你可以使用它来声明*路径操作*。
    
    使用方式与 `FastAPI` 类相同:
    
    ```Python hl_lines="6  11  16" title="app/routers/users.py"
    {!../../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    你可以将 `APIRouter` 视为一个「迷你 `FastAPI`」类。
    
    所有相同的选项都得到支持。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  5. internal/config/storageclass/storage-class.go

    package storageclass
    
    import (
    	"context"
    	"encoding/json"
    	"fmt"
    	"strconv"
    	"strings"
    	"sync"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/env"
    )
    
    // Standard constants for all storage class
    const (
    	// Reduced redundancy storage class
    	RRS = "REDUCED_REDUNDANCY"
    	// Standard storage class
    	STANDARD = "STANDARD"
    )
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  6. docs/en/docs/async.md

    * **Machine Learning**: it normally requires lots of "matrix" and "vector" multiplications. Think of a huge spreadsheet with numbers and multiplying all of them together at the same time.
    * **Deep Learning**: this is a sub-field of Machine Learning, so, the same applies. It's just that there is not a single spreadsheet of numbers to multiply, but a huge set of them, and in many cases, you use a special processor to build and / or use those models.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  7. cmd/notification.go

    			g.errs[index].Err = nil
    			if err := f(); err != nil {
    				g.errs[index].Err = err
    				// Last iteration log the error.
    				if i == g.retryCount-1 {
    					reqInfo := (&logger.ReqInfo{}).AppendTags("peerAddress", addr.String())
    					ctx := logger.SetReqInfo(ctx, reqInfo)
    					peersLogOnceIf(ctx, err, addr.String())
    				}
    				// Wait for a minimum of 100ms and dynamically increase this based on number of attempts.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

                    logger.info("Copying from {} to {}", oldIndex, index);
                    if (!client.reindex(oldIndex, index, false)) {
                        logger.warn("Failed to copy from {} to {}", oldIndex, index);
                    }
                } else if (logger.isDebugEnabled()) {
                    if (!client.existsIndex(oldIndex)) {
                        logger.debug("{} does not exist.", oldIndex);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sat Apr 13 11:43:03 GMT 2024
    - 46.9K bytes
    - Viewed (0)
  9. cmd/server-main.go

    func serverCmdArgs(ctx *cli.Context) []string {
    	v, _, _, err := env.LookupEnv(config.EnvArgs)
    	if err != nil {
    		logger.FatalIf(err, "Unable to validate passed arguments in %s:%s",
    			config.EnvArgs, os.Getenv(config.EnvArgs))
    	}
    	if v == "" {
    		v, _, _, err = env.LookupEnv(config.EnvVolumes)
    		if err != nil {
    			logger.FatalIf(err, "Unable to validate passed arguments in %s:%s",
    				config.EnvVolumes, os.Getenv(config.EnvVolumes))
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  10. cmd/generic-handlers.go

    // criticalErrorHandler handles panics and fatal errors by
    // `panic(logger.ErrCritical)` as done by `logger.CriticalIf`.
    //
    // It should be always the first / highest HTTP handler.
    func setCriticalErrorHandler(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		defer func() {
    			if rec := recover(); rec == logger.ErrCritical { // handle
    				stack := debug.Stack()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
Back to top