Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for newEvent (0.14 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. pkg/controller/podautoscaler/horizontal.go

    			if event.outdated {
    				foundOldSample = true
    				oldSampleIndex = i
    			}
    		}
    		newEvent := timestampedScaleEvent{replicaChange, time.Now(), false}
    		if foundOldSample {
    			a.scaleUpEvents[key][oldSampleIndex] = newEvent
    		} else {
    			a.scaleUpEvents[key] = append(a.scaleUpEvents[key], newEvent)
    		}
    	} else {
    		longestPolicyPeriod = getLongestPolicyPeriod(behavior.ScaleDown)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. pkg/envoy/agent.go

    )
    
    var errAbort = errors.New("proxy aborted")
    
    const errOutOfMemory = "signal: killed"
    
    var activeConnectionCheckDelay = 1 * time.Second
    
    // NewAgent creates a new proxy agent for the proxy start-up and clean-up functions.
    func NewAgent(proxy Proxy, terminationDrainDuration, minDrainDuration time.Duration, localhost string,
    	adminPort, statusPort, prometheusPort int, exitOnZeroActiveConnections bool,
    ) *Agent {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 16:04:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top