Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 74 for newEvent (0.14 sec)

  1. cmd/preferredimports/preferredimports.go

    							a.failed = true
    						}
    						replacements[importName] = alias
    						if imp.Name != nil {
    							imp.Name.Name = alias
    						} else {
    							imp.Name = ast.NewIdent(alias)
    						}
    					}
    					break
    				}
    			}
    
    			if len(replacements) > 0 {
    				if *confirm {
    					fmt.Printf("%sReplacing imports with aliases in file %s\n", logPrefix, pathToFile)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/app/cmd.go

    				Sidecar:           proxyArgs.Type == model.SidecarProxy,
    				OutlierLogPath:    proxyArgs.OutlierLogPath,
    			}
    			agentOptions := options.NewAgentOptions(&proxyArgs, proxyConfig, sds)
    			agent := istioagent.NewAgent(proxyConfig, agentOptions, secOpts, envoyOptions)
    			ctx, cancel := context.WithCancel(context.Background())
    			defer cancel()
    			defer agent.Close()
    
    			// If a status port was provided, start handling status probes.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    	getNewIdent := ast.NewIdent
    	if addPosition {
    		getNewIdent = func(newName string) *ast.Ident {
    			mangledIdent := ast.NewIdent(newName)
    			if len(newName) == len(r.Name.Go) {
    				return mangledIdent
    			}
    			p := fset.Position((*r.Expr).End())
    			if p.Column == 0 {
    				return mangledIdent
    			}
    			return ast.NewIdent(fmt.Sprintf("%s /*line :%d:%d*/", newName, p.Line, p.Column))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  4. src/cmd/cgo/out.go

    		err := &ast.Field{Type: ast.NewIdent("error")}
    		l := gtype.Results.List
    		if len(l) == 0 {
    			l = []*ast.Field{err}
    		} else {
    			l = []*ast.Field{l[0], err}
    		}
    		t := new(ast.FuncType)
    		*t = *gtype
    		t.Results = &ast.FieldList{List: l}
    		gtype = t
    	}
    
    	// Go func declaration.
    	d := &ast.FuncDecl{
    		Name: ast.NewIdent(n.Mangle),
    		Type: gtype,
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  5. pkg/istio-agent/xds_proxy_test.go

    		MetadataClientCertKey:   path.Join(env.IstioSrc, "tests/testdata/certs/pilot/key.pem"),
    		MetadataClientRootCert:  path.Join(env.IstioSrc, "tests/testdata/certs/pilot/root-cert.pem"),
    	}
    	dir := t.TempDir()
    	ia := NewAgent(proxyConfig, &AgentOptions{
    		XdsUdsPath:            filepath.Join(dir, "XDS"),
    		DownstreamGrpcOptions: opts,
    	}, secOpts, envoy.ProxyConfig{TestOnly: true})
    	t.Cleanup(func() {
    		ia.Close()
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 04:48:02 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. src/go/ast/filter.go

    		i := 0
    		for _, filename := range filenames {
    			f := pkg.Files[filename]
    			i += copy(comments[i:], f.Comments)
    		}
    	}
    
    	// TODO(gri) need to compute unresolved identifiers!
    	return &File{doc, pos, NewIdent(pkg.Name), decls, minPos, maxPos, pkg.Scope, imports, nil, comments, ""}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. pkg/istio-agent/agent_test.go

    		t.Cleanup(func() {
    			_ = os.RemoveAll(dir)
    		})
    	})
    
    	t.Run("Unhealthy SDS socket - required", func(t *testing.T) {
    		// starting an unresponsive listener on the socket
    		a := NewAgent(nil, &AgentOptions{UseExternalWorkloadSDS: true}, nil, envoy.ProxyConfig{})
    		ctx, done := context.WithCancel(context.Background())
    		_, err := a.Run(ctx)
    		if err == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  8. src/cmd/fix/fix.go

    		if s.Name != nil {
    			if s.Name.Name == old {
    				s.Name.Name = new
    				fixed = true
    			}
    		} else {
    			_, thisName := path.Split(importPath(s))
    			if thisName == old {
    				s.Name = ast.NewIdent(new)
    				fixed = true
    			}
    		}
    	}
    
    	// Rename any top-level declarations.
    	for _, d := range f.Decls {
    		switch d := d.(type) {
    		case *ast.FuncDecl:
    			if d.Recv == nil && d.Name.Name == old {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 14.6K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_freebsd_riscv64.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
    	r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_freebsd_arm.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
    	r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 31.2K bytes
    - Viewed (0)
Back to top