Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 323 for farm (0.41 sec)

  1. src/go/types/stmt.go

    			rhs = guard.Rhs[0]
    
    		default:
    			check.error(s, InvalidSyntaxTree, "incorrect form of type switch guard")
    			return
    		}
    
    		// rhs must be of the form: expr.(type) and expr must be an ordinary interface
    		expr, _ := rhs.(*ast.TypeAssertExpr)
    		if expr == nil || expr.Type != nil {
    			check.error(s, InvalidSyntaxTree, "incorrect form of type switch guard")
    			return
    		}
    		var x operand
    		check.expr(nil, &x, expr.X)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  2. src/cmd/distpack/pack.go

    //
    //   - a binary distribution (tgz or zip) for the current GOOS and GOARCH
    //   - a source distribution that is independent of GOOS/GOARCH
    //   - the module mod, info, and zip files for a distribution in module form
    //     (as used by GOTOOLCHAIN support in the go command).
    //
    // Distpack is typically invoked by the -distpack flag to make.bash.
    // A cross-compiled distribution for goos/goarch can be built using:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. fastapi/params.py

            return f"{self.__class__.__name__}({self.default})"
    
    
    class Form(Body):
        def __init__(
            self,
            default: Any = Undefined,
            *,
            default_factory: Union[Callable[[], Any], None] = _Unset,
            annotation: Optional[Any] = None,
            media_type: str = "application/x-www-form-urlencoded",
            alias: Optional[str] = None,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  4. cmd/object-api-options.go

    	var partNumber int
    	var err error
    	if pn := r.Form.Get(xhttp.PartNumber); pn != "" {
    		partNumber, err = strconv.Atoi(pn)
    		if err != nil {
    			return opts, err
    		}
    		if isMaxPartID(partNumber) {
    			return opts, errInvalidMaxParts
    		}
    		if partNumber <= 0 {
    			return opts, errInvalidArgument
    		}
    	}
    
    	vid := strings.TrimSpace(r.Form.Get(xhttp.VersionID))
    	if vid != "" && vid != nullVersionID {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. cmd/object-multipart-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	uploadID := r.Form.Get(xhttp.UploadID)
    	partIDString := r.Form.Get(xhttp.PartNumber)
    
    	partID, err := strconv.Atoi(partIDString)
    	if err != nil || partID <= 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidPart), r.URL)
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/schema-extra-example.md

        {!> ../../../docs_src/schema_extra_example/tutorial002.py!}
        ```
    
    ## `examples` in JSON Schema - OpenAPI
    
    When using any of:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    you can also declare a group of `examples` with additional information that will be added to their **JSON Schemas** inside of **OpenAPI**.
    
    ### `Body` with `examples`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. cmd/generic-handlers.go

    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/mcontext"
    )
    
    const (
    	// Maximum allowed form data field values. 64MiB is a guessed practical value
    	// which is more than enough to accommodate any form data fields and headers.
    	requestFormDataSize = 64 * humanize.MiByte
    
    	// For any HTTP request, request body should be not more than 16GiB + requestFormDataSize
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 01:01:15 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/symbolizer/symbolizer.go

    // applied to simplify the name.
    func looksLikeDemangledCPlusPlus(demangled string) bool {
    	// Skip java names of the form "class.<init>".
    	if strings.Contains(demangled, ".<") {
    		return false
    	}
    	// Skip Go names of the form "foo.(*Bar[...]).Method".
    	if strings.Contains(demangled, "]).") {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. security/pkg/nodeagent/sds/sdsservice.go

    			_, err := st.GenerateSecret(security.WorkloadKeyCertResourceName)
    			if err != nil {
    				sdsServiceLog.Warnf("failed to warm certificate: %v", err)
    				return err
    			}
    
    			_, err = st.GenerateSecret(security.RootCertReqResourceName)
    			if err != nil {
    				sdsServiceLog.Warnf("failed to warm root certificate: %v", err)
    				return err
    			}
    
    			return nil
    		})
    	}()
    
    	return ret
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 25 00:20:04 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.py

                        "summary": "Create File",
                        "operationId": "create_file_files__post",
                        "requestBody": {
                            "content": {
                                "multipart/form-data": {
                                    "schema": {
                                        "$ref": "#/components/schemas/Body_create_file_files__post"
                                    }
                                }
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top