Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 65 of 65 for stringList (0.33 sec)

  1. src/go/types/generate_test.go

    		renameSelectorExprs(f,
    			"syntax.Pos->token.Pos", "syntax.LitKind->token.Token",
    			"syntax.IntLit->token.INT", "syntax.FloatLit->token.FLOAT",
    			"syntax.ImagLit->token.IMAG", "syntax.RuneLit->token.CHAR",
    			"syntax.StringLit->token.STRING") // must happen before renaming identifiers
    		renameIdents(f, "syntax->ast")
    	},
    	"package.go":       nil,
    	"pointer.go":       nil,
    	"predicates.go":    nil,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/parser.go

    	if d.Path == nil {
    		p.syntaxError("missing import path")
    		p.advance(_Semi, _Rparen)
    		return d
    	}
    	if !d.Path.Bad && d.Path.Kind != StringLit {
    		p.syntaxErrorAt(d.Path.Pos(), "import path must be a string")
    		d.Path.Bad = true
    	}
    	// d.Path.Bad || d.Path.Kind == StringLit
    
    	return d
    }
    
    // ConstSpec = IdentifierList [ [ Type ] "=" ExpressionList ] .
    func (p *parser) constDecl(group *Group) Decl {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  3. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h

    //
    // Please note that ValuesIn copies the values from the containers
    // passed in and keeps them to generate tests in RUN_ALL_TESTS().
    //
    // Examples:
    //
    // This instantiates tests from test case StringTest
    // each with C-string values of "foo", "bar", and "baz":
    //
    // const char* strings[] = {"foo", "bar", "baz"};
    // INSTANTIATE_TEST_CASE_P(StringSequence, SrtingTest, ValuesIn(strings));
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 74.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h

    //
    // Please note that ValuesIn copies the values from the containers
    // passed in and keeps them to generate tests in RUN_ALL_TESTS().
    //
    // Examples:
    //
    // This instantiates tests from test case StringTest
    // each with C-string values of "foo", "bar", and "baz":
    //
    // const char* strings[] = {"foo", "bar", "baz"};
    // INSTANTIATE_TEST_CASE_P(StringSequence, SrtingTest, ValuesIn(strings));
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 74.1K bytes
    - Viewed (0)
  5. src/reflect/all_test.go

    			t.Errorf("%d: %s exported=%v, want %v", i, typ.Name(), got, test.want)
    		}
    	}
    }
    
    func TestTypeStrings(t *testing.T) {
    	type stringTest struct {
    		typ  Type
    		want string
    	}
    	stringTests := []stringTest{
    		{TypeOf(func(int) {}), "func(int)"},
    		{FuncOf([]Type{TypeOf(int(0))}, nil, false), "func(int)"},
    		{TypeOf(XM{}), "reflect_test.XM"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top