Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for quote (0.2 sec)

  1. src/cmd/cgo/gcc.go

    	arg := make([]rune, len(s))
    	escaped := false
    	quoted := false
    	quote := '\x00'
    	i := 0
    	for _, r := range s {
    		switch {
    		case escaped:
    			escaped = false
    		case r == '\\':
    			escaped = true
    			continue
    		case quote != 0:
    			if r == quote {
    				quote = 0
    				continue
    			}
    		case r == '"' || r == '\'':
    			quoted = true
    			quote = r
    			continue
    		case unicode.IsSpace(r):
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    are discarded from the raw string value.
    </p>
    
    <p>
    Interpreted string literals are character sequences between double
    quotes, as in <code>&quot;bar&quot;</code>.
    Within the quotes, any character may appear except newline and unescaped double quote.
    The text between the quotes forms the
    value of the literal, with backslash escapes interpreted as they
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/99-minor/net/http/46443.md

    [Cookie] now preserves double quotes surrounding a cookie value.
    The new [Cookie.Quoted] field indicates whether the [Cookie.Value]
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Apr 19 14:33:17 GMT 2024
    - 155 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/swig/swig_test.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package swig
    
    import (
    	"cmd/internal/quoted"
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"regexp"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    )
    
    func TestStdio(t *testing.T) {
    	testenv.MustHaveCGO(t)
    	mustHaveSwig(t)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/input.go

    	os.Exit(1)
    }
    
    // expectText is like Error but adds "got XXX" where XXX is a quoted representation of the most recent token.
    func (in *Input) expectText(args ...interface{}) {
    	in.Error(append(args, "; got", strconv.Quote(in.Stack.Text()))...)
    }
    
    // enabled reports whether the input is enabled by an ifdef, or is at the top level.
    func (in *Input) enabled() bool {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg strconv, func ParseFloat(string, int) (float64, error)
    pkg strconv, func ParseInt(string, int, int) (int64, error)
    pkg strconv, func ParseUint(string, int, int) (uint64, error)
    pkg strconv, func Quote(string) string
    pkg strconv, func QuoteRune(int32) string
    pkg strconv, func QuoteRuneToASCII(int32) string
    pkg strconv, func QuoteToASCII(string) string
    pkg strconv, func Unquote(string) (string, error)
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  7. doc/go_spec.html

    are discarded from the raw string value.
    </p>
    
    <p>
    Interpreted string literals are character sequences between double
    quotes, as in <code>&quot;bar&quot;</code>.
    Within the quotes, any character may appear except newline and unescaped double quote.
    The text between the quotes forms the
    value of the literal, with backslash escapes interpreted as they
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  8. api/next/46443.txt

    pkg net/http, type Cookie struct, Quoted bool #46443...
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Apr 19 00:32:19 GMT 2024
    - 53 bytes
    - Viewed (0)
  9. src/bytes/bytes_test.go

    	{"TrimLeft", "abba", "b", "abba"},
    	{"TrimRight", "abba", "a", "abb"},
    	{"TrimRight", "abba", "b", "abba"},
    	{"Trim", "<tag>", "<>", "tag"},
    	{"Trim", "* listitem", " *", "listitem"},
    	{"Trim", `"quote"`, `"`, "quote"},
    	{"Trim", "\u2C6F\u2C6F\u0250\u0250\u2C6F\u2C6F", "\u2C6F", "\u0250\u0250"},
    	{"Trim", "\x80test\xff", "\xff", "test"},
    	{"Trim", " Ġ ", " ", "Ġ"},
    	{"Trim", " Ġİ0", "0 ", "Ġİ"},
    	//empty string tests
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top