Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for forms (0.16 sec)

  1. src/cmd/asm/internal/lex/tokenizer.go

    	"unicode"
    
    	"cmd/asm/internal/flags"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    // A Tokenizer is a simple wrapping of text/scanner.Scanner, configured
    // for our purposes and made a TokenReader. It forms the lowest level,
    // turning text from readers into tokens.
    type Tokenizer struct {
    	tok  ScanToken
    	s    *scanner.Scanner
    	base *src.PosBase
    	line int
    	file *os.File // If non-nil, file descriptor to close.
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 04 20:35:21 GMT 2022
    - 3K bytes
    - Viewed (0)
  2. internal/s3select/sql/funceval.go

    }
    
    func handleUTCNow() (*Value, error) {
    	return FromTimestamp(time.Now().UTC()), nil
    }
    
    func handleSQLSubstring(r Record, e *SubstringFunc, tableAlias string) (val *Value, err error) {
    	// Both forms `SUBSTRING('abc' FROM 2 FOR 1)` and
    	// SUBSTRING('abc', 2, 1) are supported.
    
    	// Evaluate the string argument
    	v1, err := e.Expr.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  3. internal/s3select/sql/parser.go

    type JSONPathElement struct {
    	Key            *ObjectKey `parser:"  @@"`               // ['name'] and .name forms
    	Index          *int       `parser:"| \"[\" @Int \"]\""` // [3] form
    	ObjectWildcard bool       `parser:"| @\".*\""`          // .* form
    	ArrayWildcard  bool       `parser:"| @\"[*]\""`         // [*] form
    }
    
    // JSONPath represents a keypath.
    // Instances should be treated idempotent and not change once created.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    	if objectAPI == nil {
    		return
    	}
    
    	sizeStr := r.Form.Get(peerRESTSize)
    	durationStr := r.Form.Get(peerRESTDuration)
    	concurrentStr := r.Form.Get(peerRESTConcurrent)
    	storageClass := strings.TrimSpace(r.Form.Get(peerRESTStorageClass))
    	customBucket := strings.TrimSpace(r.Form.Get(peerRESTBucket))
    	autotune := r.Form.Get("autotune") == "true"
    	noClear := r.Form.Get("noclear") == "true"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  5. src/cmd/cgo/gcc.go

    	// If we see an error at not-num-const:xxx, the corresponding name is not a number constant.
    	// If we see an error at not-str-lit:xxx, the corresponding name is not a string literal.
    	//
    	// The specific input forms are chosen so that they are valid C syntax regardless of
    	// whether name denotes a type or an expression.
    
    	var b bytes.Buffer
    	b.WriteString(builtinProlog)
    	b.WriteString(f.Preamble)
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  6. cmd/sts-handlers.go

    		writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, err)
    		return
    	}
    
    	if r.Form.Get(stsVersion) != stsAPIVersion {
    		writeSTSErrorResponse(ctx, w, ErrSTSMissingParameter, fmt.Errorf("Invalid STS API version %s, expecting %s", r.Form.Get(stsVersion), stsAPIVersion))
    		return
    	}
    
    	action := r.Form.Get(stsAction)
    	switch action {
    	case assumeRole:
    	default:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  7. cmd/signature-v4.go

    	for k, v := range req.Form {
    		if !defaultSigParams.Contains(k) {
    			query[k] = v
    		}
    	}
    
    	// Get the encoded query.
    	encodedQuery := query.Encode()
    
    	// Verify if date query is same.
    	if req.Form.Get(xhttp.AmzDate) != query.Get(xhttp.AmzDate) {
    		return ErrSignatureDoesNotMatch
    	}
    	// Verify if expires query is same.
    	if req.Form.Get(xhttp.AmzExpires) != query.Get(xhttp.AmzExpires) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  8. internal/config/policy/plugin/config.go

    	if err != nil {
    		return false, err
    	}
    
    	// Handle large OPA responses when OPA URL is of
    	// form http://localhost:8181/v1/data/httpapi/authz
    	type opaResultAllow struct {
    		Result struct {
    			Allow bool `json:"allow"`
    		} `json:"result"`
    	}
    
    	// Handle simpler OPA responses when OPA URL is of
    	// form http://localhost:8181/v1/data/httpapi/authz/allow
    	type opaResult struct {
    		Result bool `json:"result"`
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  9. 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 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  10. cmd/postpolicyform.go

    			default:
    				// Condition should be valid.
    				return parsedPolicy, fmt.Errorf("Unknown type %s of conditional field value %s found in POST policy form",
    					reflect.TypeOf(condt).String(), condt)
    			}
    		default:
    			return parsedPolicy, fmt.Errorf("Unknown field %s of type %s found in POST policy form",
    				condt, reflect.TypeOf(condt).String())
    		}
    	}
    	return parsedPolicy, nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
Back to top