Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for newEvent (0.29 sec)

  1. cmd/event-notification.go

    		args.EventName == event.ObjectRemovedDeleteMarkerCreated ||
    		args.EventName == event.ObjectRemovedNoOP
    
    	if !isRemovedEvent {
    		newEvent.S3.Object.ETag = args.Object.ETag
    		newEvent.S3.Object.Size = args.Object.Size
    		newEvent.S3.Object.ContentType = args.Object.ContentType
    		newEvent.S3.Object.UserMetadata = make(map[string]string, len(args.Object.UserDefined))
    		for k, v := range args.Object.UserDefined {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/ThrottlingOutputEventListener.java

        @Override
        public void onOutput(OutputEvent newEvent) {
            synchronized (lock) {
                queue.add(newEvent);
    
                if (queue.size() == 10000) {
                    renderNow();
                    return;
                }
    
                if (newEvent instanceof InteractiveEvent) {
                    renderNow();
                    return;
                }
    
                if (newEvent instanceof EndOutputEvent) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    					pkgName = cand.Name.Name
    				}
    			}
    		}
    		if pkgName == "." {
    			return ast.NewIdent(t.Obj().Name())
    		}
    		return &ast.SelectorExpr{
    			X:   ast.NewIdent(pkgName),
    			Sel: ast.NewIdent(t.Obj().Name()),
    		}
    	case *types.Struct:
    		return ast.NewIdent(t.String())
    	case *types.Interface:
    		return ast.NewIdent(t.String())
    	default:
    		return nil
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. src/go/types/generate_test.go

    // isIdent reports whether x is an identifier with the given name.
    func isIdent(x ast.Node, name string) bool {
    	return asIdent(x, name) != nil
    }
    
    // newIdent returns a new identifier with the given position and name.
    func newIdent(pos token.Pos, name string) *ast.Ident {
    	id := ast.NewIdent(name)
    	id.NamePos = pos
    	return id
    }
    
    // insert inserts x at list[at] and moves the remaining elements up.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  5. src/go/doc/example.go

    			// Copy the FuncDecl, as it may be used elsewhere.
    			newF := *f
    			newF.Name = ast.NewIdent("main")
    			newF.Body, comments = stripOutputComment(f.Body, comments)
    			d = &newF
    		}
    		decls = append(decls, d)
    	}
    
    	// Copy the File, as it may be used elsewhere.
    	f := *file
    	f.Name = ast.NewIdent("main")
    	f.Decls = decls
    	f.Comments = comments
    	return &f
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  6. src/go/doc/reader.go

    	origPos := newField.Type.Pos()
    	_, origRecvIsPtr := newField.Type.(*ast.StarExpr)
    	newIdent := &ast.Ident{NamePos: origPos, Name: recvTypeName}
    	var typ ast.Expr = newIdent
    	if !embeddedIsPtr && origRecvIsPtr {
    		newIdent.NamePos++ // '*' is one character
    		typ = &ast.StarExpr{Star: origPos, X: newIdent}
    	}
    	newField.Type = typ
    
    	// copy existing receiver field list and set new receiver field
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  7. pkg/istio-agent/agent.go

    }
    
    // NewAgent hosts the functionality for local SDS and XDS. This consists of the local SDS server and
    // associated clients to sign certificates (when not using files), and the local XDS proxy (including
    // health checking for VMs and DNS proxying).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top