Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for literal (0.16 sec)

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

    	nameAddr := p.address(operands[0])
    	if !p.validSymbol("TEXT", &nameAddr, false) {
    		return
    	}
    	name := symbolName(&nameAddr)
    	next := 1
    
    	// Next operand is the optional text flag, a literal integer.
    	var flag = int64(0)
    	if len(operands) == 3 {
    		flag = p.evalInteger("TEXT", operands[1])
    		next++
    	}
    
    	// Issue an error if we see a function defined as ABIInternal
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  2. internal/s3select/sql/parser.go

    // Types with custom Capture interface for parsing
    
    // Boolean is a type for a parsed Boolean literal
    type Boolean bool
    
    // Capture interface used by participle
    func (b *Boolean) Capture(values []string) error {
    	*b = Boolean(strings.EqualFold(values[0], "true"))
    	return nil
    }
    
    // LiteralString is a type for parsed SQL string literals
    type LiteralString string
    
    // Capture interface used by participle
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  3. src/builtin/builtin.go

    //	String: the number of bytes in v.
    //	Channel: the number of elements queued (unread) in the channel buffer;
    //	         if v is nil, len(v) is zero.
    //
    // For some arguments, such as a string literal or a simple array expression, the
    // result can be a constant. See the Go language specification's "Length and
    // capacity" section for details.
    func len(v Type) int
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/parse.go

    		if p.atRegisterShift() {
    			// ARM shifted register such as R1<<R2 or R1>>2.
    			a.Type = obj.TYPE_SHIFT
    			a.Offset = p.registerShift(tok.String(), prefix)
    			if p.peek() == '(' {
    				// Can only be a literal register here.
    				p.next()
    				tok := p.next()
    				name := tok.String()
    				if !p.atStartOfRegister(name) {
    					p.errorf("expected register; found %s", name)
    				}
    				a.Reg, _ = p.registerReference(name)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    	// literal to evaluate the arguments at the right time.
    	//    defer func() func() {
    	//            _cgo0 := p
    	//            return func() {
    	//                    _cgoCheckPointer(_cgo0, nil)
    	//                    C.f(_cgo0)
    	//            }
    	//    }()()
    	// This works because the defer statement evaluates the first
    	// function literal in order to get the function to call.
    
    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/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrLexerInvalidOperator: {
    		Code:           "LexerInvalidOperator",
    		Description:    "The SQL expression contains an invalid literal.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrLexerInvalidLiteral: {
    		Code:           "LexerInvalidLiteral",
    		Description:    "The SQL expression contains an invalid operator.",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  7. internal/s3select/sql/evaluate.go

    	switch e.getFunctionName() {
    	case aggFnCount, aggFnAvg, aggFnMax, aggFnMin, aggFnSum:
    		return e.getAggregate()
    	default:
    		return e.evalSQLFnNode(r, tableAlias)
    	}
    }
    
    // evalNode on a literal value is independent of the node being an
    // aggregation or a row function - it always returns a value.
    func (e *LitValue) evalNode(_ Record) (res *Value, err error) {
    	switch {
    	case e.Int != nil:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  8. src/cmd/cgo/godefs.go

    // However, we can't do that in cases where the lexer would not insert
    // a semicolon. We only have to worry about cases that can occur in an
    // expression passed through gofmt, which means composite literals and
    // (due to the printer possibly inserting newlines because of position
    // information) operators.
    var gofmtLineReplacer = strings.NewReplacer(
    	// Want to replace \n without ; after everything from
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  9. cmd/object-multipart-handlers.go

    				etag = etag[len(etag)-32:]
    			}
    		}
    	}
    
    	// We must not use the http.Header().Set method here because some (broken)
    	// clients expect the ETag header key to be literally "ETag" - not "Etag" (case-sensitive).
    	// Therefore, we have to set the ETag directly as map entry.
    	w.Header()[xhttp.ETag] = []string{"\"" + etag + "\""}
    	hash.TransferChecksumHeader(w, r)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  10. cmd/object-handlers.go

    	}
    
    	setPutObjHeaders(w, objInfo, false)
    	// We must not use the http.Header().Set method here because some (broken)
    	// clients expect the x-amz-copy-source-version-id header key to be literally
    	// "x-amz-copy-source-version-id"- not in canonicalized form, preserve it.
    	if srcOpts.VersionID != "" {
    		w.Header()[strings.ToLower(xhttp.AmzCopySourceVersionID)] = []string{srcOpts.VersionID}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
Back to top