- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for newEvent (0.2 sec)
-
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/TestStartEventTest.groovy
def canCreateCopyWithNonNullParentId() { TestStartEvent event = new TestStartEvent(200L) expect: def newEvent = event.withParentId('parent') newEvent != event newEvent.startTime == 200L newEvent.parentId == 'parent' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 1K bytes - Viewed (0) -
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) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/ThrottlingOutputEventListener.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 3.9K bytes - Viewed (0) -
pkg/envoy/agent_test.go
return nil } // TestStartExit starts a proxy and ensures the agent exits once the proxy exits func TestStartExit(t *testing.T) { ctx := context.Background() done := make(chan struct{}) a := NewAgent(TestProxy{}, 0, 0, "", 0, 0, 0, true) go func() { a.Run(ctx) done <- struct{}{} }() <-done } // TestStartTwiceStop applies three configs and validates that cleanups are called in order
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Oct 19 20:22:09 UTC 2023 - 4.3K bytes - Viewed (0) -
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) -
src/go/types/struct.go
pos := f.Type.Pos() // position of type, for errors name := embeddedFieldIdent(f.Type) if name == nil { check.errorf(f.Type, InvalidSyntaxTree, "embedded field type %s has no name", f.Type) name = ast.NewIdent("_") name.NamePos = pos addInvalid(name) continue } add(name, true) // struct{p.T} field has position of T // Because we have a name, typ must be of the form T or *T, where T is the name
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.1K bytes - Viewed (0) -
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)