Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for idents (0.11 sec)

  1. src/go/printer/testdata/parser.go

    }
    
    func (p *parser) makeIdentList(list []ast.Expr) []*ast.Ident {
    	idents := make([]*ast.Ident, len(list))
    	for i, x := range list {
    		ident, isIdent := x.(*ast.Ident)
    		if !isIdent {
    			pos := x.(ast.Expr).Pos()
    			p.errorExpected(pos, "identifier")
    			ident = &ast.Ident{pos, "_", nil}
    		}
    		idents[i] = ident
    	}
    	return idents
    }
    
    func (p *parser) parseFieldDecl(scope *ast.Scope) *ast.Field {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  2. src/go/parser/parser.go

    	}
    
    	doc := p.leadComment
    	var idents []*ast.Ident
    	var typ ast.Expr
    	x := p.parseTypeName(nil)
    	if ident, _ := x.(*ast.Ident); ident != nil {
    		switch {
    		case p.tok == token.LBRACK:
    			// generic method or embedded instantiated type
    			lbrack := p.pos
    			p.next()
    			p.exprLev++
    			x := p.parseExpr()
    			p.exprLev--
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  3. src/go/types/api_test.go

    	}
    
    	// Collect all identifiers by name.
    	idents := make(map[string][]*ast.Ident)
    	ast.Inspect(f, func(n ast.Node) bool {
    		if id, ok := n.(*ast.Ident); ok {
    			idents[id.Name] = append(idents[id.Name], id)
    		}
    		return true
    	})
    
    	for _, test := range tests {
    		test := test
    		t.Run(test.name, func(t *testing.T) {
    			if got := len(idents[test.name]); got != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/api_test.go

    	}
    
    	// Collect all identifiers by name.
    	idents := make(map[string][]*syntax.Name)
    	syntax.Inspect(f, func(n syntax.Node) bool {
    		if id, ok := n.(*syntax.Name); ok {
    			idents[id.Value] = append(idents[id.Value], id)
    		}
    		return true
    	})
    
    	for _, test := range tests {
    		test := test
    		t.Run(test.name, func(t *testing.T) {
    			if got := len(idents[test.name]); got != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    	c.bool = c.Ident("bool")
    	c.byte = c.Ident("byte")
    	c.int8 = c.Ident("int8")
    	c.int16 = c.Ident("int16")
    	c.int32 = c.Ident("int32")
    	c.int64 = c.Ident("int64")
    	c.uint8 = c.Ident("uint8")
    	c.uint16 = c.Ident("uint16")
    	c.uint32 = c.Ident("uint32")
    	c.uint64 = c.Ident("uint64")
    	c.uintptr = c.Ident("uintptr")
    	c.float32 = c.Ident("float32")
    	c.float64 = c.Ident("float64")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/img/userguide-ides.png

    userguide-ides.png...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 28 05:56:09 UTC 2023
    - 65.3K bytes
    - Viewed (0)
  7. src/go/printer/nodes.go

    				// won't indent again. If we didn't (ws == indent), identList will
    				// indent if the identList spans multiple lines, and it will outdent
    				// again at the end (and still ws == indent). Thus, a subsequent indent
    				// by a linebreak call after a type, or in the next multi-line identList
    				// will do the right thing.
    				p.identList(par.Names, ws == indent)
    				p.print(blank)
    			}
    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. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapter.java

    import org.gradle.tooling.Failure;
    import org.gradle.tooling.events.FinishEvent;
    import org.gradle.tooling.events.OperationDescriptor;
    import org.gradle.tooling.events.OperationResult;
    import org.gradle.tooling.events.OperationType;
    import org.gradle.tooling.events.PluginIdentifier;
    import org.gradle.tooling.events.ProgressEvent;
    import org.gradle.tooling.events.ProgressListener;
    import org.gradle.tooling.events.StartEvent;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 67.5K bytes
    - Viewed (0)
  9. docs/bucket/notifications/README.md

    MinIO supports persistent event store. The persistent store will backup events if MySQL connection goes offline and then replays the stored events when the broken connection comes back up. The event store can be configured by setting a directory path in `queue_dir` field, and the maximum number of events, which can be stored in a `queue_dir`, in `queue_limit` field. For example, `queue_dir` can be set to `/home/events` and `queue_limit` can be set to `1000`. By default, the `queue_limit` is set...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    	events.Clear()
    
    	// When we delete, we should get back to the original state, not delete all instances
    	deleteConfigs([]*config.Config{se1}, store, t)
    	events.WaitOrFail(t, "xds full")
    	expectServiceInstances(t, sd, se1, 0, expected)
    }
    
    // TestServiceDiscoveryServiceUpdate test various add/update/delete events for ServiceEntry
    // nolint: lll
    func TestServiceDiscoveryServiceUpdate(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
Back to top