Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,701 for generations (0.17 sec)

  1. src/internal/trace/testdata/generators/go122-syscall-steal-proc-gen-boundary.go

    // license that can be found in the LICENSE file.
    
    // Tests syscall P stealing at a generation boundary.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g := t.Generation(1)
    
    	// One goroutine is exiting with a syscall. It already
    	// acquired a new P.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/branchelim.go

    	}
    }
    
    // elimIf converts the one-way branch starting at dom in f to a conditional move if possible.
    // loadAddr is a set of values which are used to compute the address of a load.
    // Those values are exempt from CMOV generation.
    func elimIf(f *Func, loadAddr *sparseSet, dom *Block) bool {
    	// See if dom is an If with one arm that
    	// is trivial and succeeded by the other
    	// successor of dom.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 30 17:46:51 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/generators/go122-syscall-steal-proc-gen-boundary-reacquire-new-proc.go

    // license that can be found in the LICENSE file.
    
    // Tests syscall P stealing at a generation boundary.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g := t.Generation(1)
    
    	// One goroutine is exiting with a syscall. It already
    	// acquired a new P.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/tls.go

    	actualWildcard, _ := getActualWildcardAndLocalHost(node)
    	// TLS matches are composed of runtime and static predicates.
    	// Static predicates can be evaluated during the generation of the config. Examples: gateway, source labels, etc.
    	// Runtime predicates cannot be evaluated during config generation. Instead the proxy must be configured to
    	// evaluate them. Examples: SNI hosts, source/destination subnets, etc.
    	//
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/compare/sds/util.go

    	Destination(string) SecretItemBuilder
    	State(string) SecretItemBuilder
    	Build() (SecretItem, error)
    }
    
    // secretItemBuilder implements SecretItemBuilder, and acts as an intermediate before SecretItem generation
    type secretItemBuilder struct {
    	name   string
    	data   string
    	source string
    	dest   string
    	state  string
    	SecretMeta
    }
    
    // Name sets the name field on a secretItemBuilder
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 06 15:14:48 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/types_test.go

    					},
    				},
    			},
    		},
    	}
    
    	ni := fakeNodeInfo()
    	gen := ni.Generation
    	for _, pod := range pods {
    		ni.AddPod(pod)
    		if ni.Generation <= gen {
    			t.Errorf("Generation is not incremented. Prev: %v, current: %v", gen, ni.Generation)
    		}
    		gen = ni.Generation
    	}
    
    	expected.Generation = ni.Generation
    	if !reflect.DeepEqual(expected, ni) {
    		t.Errorf("expected: %#v, got: %#v", expected, ni)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  7. pkg/registry/apps/deployment/strategy.go

    	newDeployment.Status = oldDeployment.Status
    
    	pod.DropDisabledTemplateFields(&newDeployment.Spec.Template, &oldDeployment.Spec.Template)
    
    	// Spec updates bump the generation so that we can distinguish between
    	// scaling events and template changes, annotation updates bump the generation
    	// because annotations are copied from deployments to their replica sets.
    	if !apiequality.Semantic.DeepEqual(newDeployment.Spec, oldDeployment.Spec) ||
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 16 21:07:13 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  8. pkg/registry/networking/networkpolicy/strategy_test.go

    	netPol := makeNetworkPolicy(true, true, false)
    
    	Strategy.PrepareForCreate(context.Background(), netPol)
    
    	if netPol.Generation != 1 {
    		t.Errorf("Create: Test failed. Network Policy Generation should be 1, got %d",
    			netPol.Generation)
    	}
    
    	errs := Strategy.Validate(context.Background(), netPol)
    	if len(errs) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/background-tasks.md

    To see an example, check the [Project Generators](../project-generation.md){.internal-link target=_blank}, they all include Celery already configured.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. pkg/registry/core/replicationcontroller/storage/storage_test.go

    	}
    	controller, _ := ctrl.(*api.ReplicationController)
    
    	// Generation initialization
    	if controller.Generation != 1 || controller.Status.ObservedGeneration != 0 {
    		t.Fatalf("Unexpected generation number %v, status generation %v", controller.Generation, controller.Status.ObservedGeneration)
    	}
    
    	// Updates to spec should increment the generation number
    	controller.Spec.Replicas++
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 16 06:57:01 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top