- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 45 for parenthesized (0.56 sec)
-
src/go/doc/testdata/a0.go
// - note 1 continues on this 3rd line // NOTE(foo): 2 of 4 // NOTE(bar): 3 of 4 /* NOTE(bar): 4 of 4 */ // - this is the last line of note 4 // // // NOTE(bam): This note which contains a (parenthesized) subphrase // must appear in its entirety. // NOTE(xxx) The ':' after the marker and uid is optional. // NOTE(): NO uid - should not show up.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 1.1K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue48008.go
case chan T /* ERROR "cannot use generic type" */ : case T /* ERROR "cannot use generic type" */ , *T /* ERROR "cannot use generic type" */ : } } // Make sure a parenthesized nil is ok. func _(x interface{}) { switch x.(type) { case ((nil)), int: } } // Make sure we look for the predeclared nil. func _(x interface{}) { type nil int switch x.(type) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 1.4K bytes - Viewed (0) -
src/internal/types/testdata/check/decls2/decls2b.go
type T7 struct {} func (T7) m1() {} func ((T7)) m2() {} func ((*T7)) m3() {} func (x *(T7),) m4() {} func (x (*(T7)),) m5() {} func (x ((*((T7)))),) m6() {} // Check that methods with parenthesized receiver are actually present (issue #23130). var ( _ = T7.m1 _ = T7.m2 _ = (*T7).m3 _ = (*T7).m4 _ = (*T7).m5 _ = (*T7).m6
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 1.9K bytes - Viewed (0) -
src/regexp/syntax/simplify_test.go
// The empty string must be preserved inside parens in order // to make submatches work right, so these tests are less // interesting than they might otherwise be. String inserts // explicit (?:) in place of non-parenthesized empty strings, // to make them easier to spot for other parsers. {`(a|b|c|)`, `([a-c]|(?:))`}, {`(a|b|)`, `([ab]|(?:))`}, {`(|)`, `()`}, {`a()`, `a()`}, {`(()|())`, `(()|())`}, {`(a|)`, `(a|(?:))`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 16 16:02:30 UTC 2023 - 4K bytes - Viewed (0) -
src/strconv/atoc.go
// component. If the second N is unsigned, a + sign is required between the two components // as indicated by the ±. If the second N is NaN, only a + sign is accepted. // The form may be parenthesized and cannot contain any spaces. // The resulting complex number consists of the two components converted by ParseFloat. // // The errors that ParseComplex returns have concrete type [*NumError] // and include err.Num = s.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 05 00:24:26 UTC 2024 - 3.1K bytes - Viewed (0) -
src/cmd/go/internal/modcmd/why.go
package or module. Subsequent lines give a path through the import graph, one package per line. If the package or module is not referenced from the main module, the stanza will display a single parenthesized note indicating that fact. For example: $ go mod why golang.org/x/text/language golang.org/x/text/encoding # golang.org/x/text/language rsc.io/quote rsc.io/sampler golang.org/x/text/language
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 01 21:32:23 UTC 2023 - 3.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/return.go
*syntax.AssignStmt, *syntax.CallStmt: // no chance case *syntax.LabeledStmt: return check.isTerminating(s.Stmt, s.Label.Value) case *syntax.ExprStmt: // calling the predeclared (possibly parenthesized) panic() function is terminating if call, ok := syntax.Unparen(s.X).(*syntax.CallExpr); ok && check.isPanic[call] { return true } case *syntax.ReturnStmt: return true case *syntax.BranchStmt:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 4.4K bytes - Viewed (0) -
src/go/types/return.go
*ast.RangeStmt: // no chance case *ast.LabeledStmt: return check.isTerminating(s.Stmt, s.Label.Name) case *ast.ExprStmt: // calling the predeclared (possibly parenthesized) panic() function is terminating if call, ok := ast.Unparen(s.X).(*ast.CallExpr); ok && check.isPanic[call] { return true } case *ast.ReturnStmt: return true case *ast.BranchStmt:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 4.2K bytes - Viewed (0) -
test/ken/rob2.go
} else { token = 'A' } } } func Expect(c int) { if token != c { print("parse error: expected ", c, "\n") panic("parse") } NextToken() } // Parse a non-parenthesized list up to a closing paren or EOF func ParseList() *Slist { var slist, retval *Slist slist = new(Slist) slist.list.car = nil slist.list.cdr = nil slist.isatom = false slist.isstring = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 05:24:24 UTC 2012 - 4.3K bytes - Viewed (0) -
src/internal/types/testdata/examples/types.go
I0 I1[bool] m(string) } func _() { var x I3 x.m0() x.m1(true) x.m("foo") } type _ struct { ( /* ERROR "cannot parenthesize" */ int8) ( /* ERROR "cannot parenthesize" */ *int16) *( /* ERROR "cannot parenthesize" */ int32) List[int] int8 /* ERROR "int8 redeclared" */ *int16 /* ERROR "int16 redeclared" */ List /* ERROR "List redeclared" */ [int] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 23:16:04 UTC 2023 - 8.4K bytes - Viewed (0)