Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for unclosed4 (0.24 sec)

  1. src/cmd/internal/testdir/testdir_test.go

    // Single quotes and double quotes are recognized to prevent splitting within the
    // quoted region, and are removed from the resulting substrings. If a quote in s
    // isn't closed err will be set and r will have the unclosed argument as the
    // last element. The backslash is used for escaping.
    //
    // For example, the following string:
    //
    //	a b:"c d" 'e''f'  "g\""
    //
    // Would be parsed as:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  2. src/encoding/xml/marshal_test.go

    	}
    }
    
    var closeTests = []struct {
    	desc string
    	toks []Token
    	want string
    	err  string
    }{{
    	desc: "unclosed start element",
    	toks: []Token{
    		StartElement{Name{"", "foo"}, nil},
    	},
    	want: `<foo>`,
    	err:  "unclosed tag <foo>",
    }, {
    	desc: "closed element",
    	toks: []Token{
    		StartElement{Name{"", "foo"}, nil},
    		EndElement{Name{"", "foo"}},
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  3. src/go/build/build.go

    // Single quotes and double quotes are recognized to prevent splitting within the
    // quoted region, and are removed from the resulting substrings. If a quote in s
    // isn't closed err will be set and r will have the unclosed argument as the
    // last element. The backslash is used for escaping.
    //
    // For example, the following string:
    //
    //	a b:"c d" 'e''f'  "g\""
    //
    // Would be parsed as:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    // Single quotes and double quotes are recognized to prevent splitting within the
    // quoted region, and are removed from the resulting substrings. If a quote in s
    // isn't closed err will be set and r will have the unclosed argument as the
    // last element. The backslash is used for escaping.
    //
    // For example, the following string:
    //
    //	`a b:"c d" 'e''f'  "g\""`
    //
    // Would be parsed as:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  5. src/regexp/testdata/testregex.c

    T("    in the outcome. Unspecified endpoints (offset -1) are denoted by ?.\n");
    T("    Unset endpoints (offset -2) are denoted by X. {x}(o:n) denotes a\n");
    T("    matched (?{...}) expression, where x is the text enclosed by {...},\n");
    T("    o is the expression ordinal counting from 1, and n is the length of\n");
    T("    the unmatched portion of the subject string. If x starts with a\n");
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  6. okhttp/api/okhttp.api

    	public abstract fun newWebSocket (Lokhttp3/Request;Lokhttp3/WebSocketListener;)Lokhttp3/WebSocket;
    }
    
    public abstract class okhttp3/WebSocketListener {
    	public fun <init> ()V
    	public fun onClosed (Lokhttp3/WebSocket;ILjava/lang/String;)V
    	public fun onClosing (Lokhttp3/WebSocket;ILjava/lang/String;)V
    	public fun onFailure (Lokhttp3/WebSocket;Ljava/lang/Throwable;Lokhttp3/Response;)V
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  7. src/go/printer/nodes.go

    		// unparenthesized composite literals starting with
    		// a type name
    		ast.Inspect(px.X, func(node ast.Node) bool {
    			switch x := node.(type) {
    			case *ast.ParenExpr:
    				// parentheses protect enclosed composite literals
    				return false
    			case *ast.CompositeLit:
    				if isTypeName(x.Type) {
    					strip = false // do not strip parentheses
    				}
    				return false
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/api_test.go

    )
    
    // avoid imported and not used errors
    var (
    	_ = Open // os.Open
    	_ = math.Sin
    	_ = filepath.Abs
    	_ = snort.Ints
    )
    `
    
    	var tests = []struct {
    		path string // path string enclosed in "'s
    		want string
    	}{
    		{`"os"`, "."},
    		{`"io"`, "_"},
    		{`"math"`, "math"},
    		{`"path/filepath"`, "filepath"},
    		{`"sort"`, "snort"},
    	}
    
    	f := mustParse(src)
    	info := Info{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  9. src/go/types/api_test.go

    )
    
    // avoid imported and not used errors
    var (
    	_ = Open // os.Open
    	_ = math.Sin
    	_ = filepath.Abs
    	_ = snort.Ints
    )
    `
    
    	var tests = []struct {
    		path string // path string enclosed in "'s
    		want string
    	}{
    		{`"os"`, "."},
    		{`"io"`, "_"},
    		{`"math"`, "math"},
    		{`"path/filepath"`, "filepath"},
    		{`"sort"`, "snort"},
    	}
    
    	fset := token.NewFileSet()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    			args := st.templateArgs()
    			n = &Template{Name: n, Args: args}
    		}
    		return n
    	} else if (st.str[0] == 'i' || st.str[0] == 't') && len(st.str) > 1 && st.str[1] == 'l' {
    		// Brace-enclosed initializer list.
    		c := st.str[0]
    		st.advance(2)
    		var t AST
    		if c == 't' {
    			t = st.demangleType(false)
    		}
    		exprs := st.exprList('E')
    		return &InitializerList{Type: t, Exprs: exprs}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
Back to top