Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for newPoset (0.27 sec)

  1. src/cmd/compile/internal/ssa/func.go

    	f.Cache.freeSparseMapPos(ss)
    }
    
    // newPoset returns a new poset from the internal cache
    func (f *Func) newPoset() *poset {
    	if len(f.Cache.scrPoset) > 0 {
    		po := f.Cache.scrPoset[len(f.Cache.scrPoset)-1]
    		f.Cache.scrPoset = f.Cache.scrPoset[:len(f.Cache.scrPoset)-1]
    		return po
    	}
    	return newPoset()
    }
    
    // retPoset returns a poset to the internal cache
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/prove.go

    // and restoring factsTable.
    var checkpointFact = fact{}
    var checkpointBound = limitFact{}
    
    func newFactsTable(f *Func) *factsTable {
    	ft := &factsTable{}
    	ft.orderS = f.newPoset()
    	ft.orderU = f.newPoset()
    	ft.orderS.SetUnsigned(false)
    	ft.orderU.SetUnsigned(true)
    	ft.facts = make(map[pair]relation)
    	ft.stack = make([]fact, 4)
    	ft.limits = make(map[ID]limit)
    	ft.limitStack = make([]limitFact, 4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  3. tests/embedded_struct_test.go

    	}
    
    	if hnPost.Title != NewPost.Title {
    		t.Errorf("Should find correct value for embedded pointer type")
    	}
    
    	if hnPost.Author.Name != NewPost.Author.Name {
    		t.Errorf("Expected to get Author name %v but got: %v", NewPost.Author.Name, hnPost.Author.Name)
    	}
    
    	if !reflect.DeepEqual(NewPost.Author.Content, hnPost.Author.Content) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. pkg/registry/autoscaling/horizontalpodautoscaler/strategy.go

    	fields := map[fieldpath.APIVersion]*fieldpath.Set{
    		"autoscaling/v1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"autoscaling/v2": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"autoscaling/v2beta1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"autoscaling/v2beta2": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    	}
    
    	return fields
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 04:51:00 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. pkg/registry/admissionregistration/validatingadmissionpolicy/strategy.go

    	fields := map[fieldpath.APIVersion]*fieldpath.Set{
    		"admissionregistration.k8s.io/v1alpha1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"admissionregistration.k8s.io/v1beta1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"admissionregistration.k8s.io/v1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    	}
    
    	return fields
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. pkg/registry/flowcontrol/prioritylevelconfiguration/strategy.go

    		"flowcontrol.apiserver.k8s.io/v1beta1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"flowcontrol.apiserver.k8s.io/v1beta2": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"flowcontrol.apiserver.k8s.io/v1beta3": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"flowcontrol.apiserver.k8s.io/v1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 20:55:50 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. pkg/registry/storagemigration/storagemigration/strategy.go

    // and should not be modified by the user.
    func (strategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set {
    	fields := map[fieldpath.APIVersion]*fieldpath.Set{
    		"storagemigration.k8s.io/v1alpha1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    	}
    
    	return fields
    }
    
    // PrepareForCreate clears the status of an StorageVersion before creation.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. pkg/registry/resource/resourceclaim/strategy.go

    // status.
    func (resourceclaimStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set {
    	fields := map[fieldpath.APIVersion]*fieldpath.Set{
    		"resource.k8s.io/v1alpha2": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    	}
    
    	return fields
    }
    
    func (resourceclaimStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object) {
    	claim := obj.(*resource.ResourceClaim)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:39:24 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy.go

    func (strategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set {
    	fields := map[fieldpath.APIVersion]*fieldpath.Set{
    		"apiextensions.k8s.io/v1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"apiextensions.k8s.io/v1beta1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    	}
    
    	return fields
    }
    
    // PrepareForCreate clears the status of a CustomResourceDefinition before creation.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. pkg/registry/resource/podschedulingcontext/strategy.go

    // status.
    func (podSchedulingStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set {
    	fields := map[fieldpath.APIVersion]*fieldpath.Set{
    		"resource.k8s.io/v1alpha2": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    	}
    
    	return fields
    }
    
    func (podSchedulingStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object) {
    	scheduling := obj.(*resource.PodSchedulingContext)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:39:24 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top