Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 2,574 for retorno (0.08 sec)

  1. docs/pt/docs/tutorial/path-params.md

    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// tip | "Dica"
    
    
    
    ///
    
    	Você também poderia acessar o valor `"lenet"` com `ModelName.lenet.value`
    
    #### Retorne *membros de enumeration*
    
    Você pode retornar *membros de enum* da sua *rota de operação*, em um corpo JSON aninhado (por exemplo um `dict`).
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. cmd/metrics.go

    	objLayer := newObjectLayerFn()
    	// Service not initialized yet
    	if objLayer == nil {
    		return
    	}
    
    	dataUsageInfo, err := loadDataUsageFromBackend(GlobalContext, objLayer)
    	if err != nil {
    		return
    	}
    	// data usage has not captured any data yet.
    	if dataUsageInfo.LastUpdate.IsZero() {
    		return
    	}
    
    	for bucket, usageInfo := range dataUsageInfo.BucketsUsage {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. cmd/metrics-v3.go

    		collectors[mg.CollectorPath] = mg
    	}
    
    	// Helper function to register a collector and return a gatherer for it.
    	mustRegister := func(c ...prometheus.Collector) prometheus.Gatherer {
    		subRegistry := prometheus.NewRegistry()
    		for _, col := range c {
    			subRegistry.MustRegister(col)
    		}
    		r.MustRegister(subRegistry)
    		return subRegistry
    	}
    
    	// Register all collectors and create gatherers for them.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Aug 02 00:55:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/annotation/Secured.java

     */
    @Target({ ElementType.METHOD, ElementType.TYPE })
    @Retention(RetentionPolicy.RUNTIME)
    @Inherited
    @Documented
    public @interface Secured {
        /**
         * Returns the list of security configuration attributes (e.g. ROLE_USER, ROLE_ADMIN).
         *
         * @return String[] The secure method attributes
         */
        String[] value();
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/cmd/cgo/ast.go

    	case []ast.Spec:
    		for _, s := range n {
    			f.walk(s, context, visit)
    		}
    	}
    }
    
    // If x is of the form (T), unparen returns unparen(T), otherwise it returns x.
    func unparen(x ast.Expr) ast.Expr {
    	if p, isParen := x.(*ast.ParenExpr); isParen {
    		x = unparen(p.X)
    	}
    	return x
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Oct 14 15:47:06 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. cmd/data-usage_test.go

    			if err != nil {
    				return
    			}
    			sizeS.totalSize = s.Size()
    			sizeS.versions++
    			return
    		}
    		return
    	}
    
    	weSleep := func() bool { return false }
    	xls := xlStorage{drivePath: base, diskInfoCache: cachevalue.New[DiskInfo]()}
    	xls.diskInfoCache.InitOnce(time.Second, cachevalue.Opts{}, func(ctx context.Context) (DiskInfo, error) {
    		return DiskInfo{Total: 1 << 40, Free: 1 << 40}, nil
    	})
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. cmd/erasure_test.go

    	var err error
    	for i := range diskPaths {
    		disks[i], diskPaths[i], err = newXLStorageTestSetup(tb)
    		if err != nil {
    			return nil, err
    		}
    		err = disks[i].MakeVol(context.Background(), "testbucket")
    		if err != nil {
    			return nil, err
    		}
    	}
    	return &erasureTestSetup{dataBlocks, parityBlocks, blockSize, diskPaths, disks}, nil
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  8. statement.go

    							return []clause.Expression{clause.And(conds...)}
    						}
    						return nil
    					}
    				}
    
    				conds = append(conds, clause.IN{Column: clause.PrimaryColumn, Values: args})
    			}
    		}
    	}
    
    	if len(conds) > 0 {
    		return []clause.Expression{clause.And(conds...)}
    	}
    	return nil
    }
    
    // Build build sql with clauses names
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	opts, err := getOpts(ctx, r, bucket, object)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	getObjectInfo := objectAPI.GetObjectInfo
    
    	// Check for auth type to return S3 compatible error.
    	// type to return the correct error (NoSuchKey vs AccessDenied)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  10. cmd/xl-storage-format_test.go

    	testCasesFailure := []struct {
    		totalSize int64
    		partSize  int64
    		partIndex int
    		err       error
    	}{
    		// partSize is 0, returns error.
    		{10, 0, 1, errPartSizeZero},
    		// partIndex is 0, returns error.
    		{10, 1, 0, errPartSizeIndex},
    		// Total size is -1, returns error.
    		{-2, 10, 1, errInvalidArgument},
    	}
    
    	for i, testCaseFailure := range testCasesFailure {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top