Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for newPoset (0.28 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. src/cmd/compile/internal/ssa/poset.go

    	nodes     []posetNode       // nodes (in all DAGs)
    	roots     []uint32          // list of root nodes (forest)
    	noneq     map[uint32]bitset // non-equal relations
    	undo      []posetUndo       // undo chain
    }
    
    func newPoset() *poset {
    	return &poset{
    		values:    make(map[ID]uint32),
    		constants: make(map[int64]uint32, 8),
    		nodes:     make([]posetNode, 1, 16),
    		roots:     make([]uint32, 0, 4),
    		noneq:     make(map[uint32]bitset),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 17:23:05 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  4. cni/pkg/install/testdata/kubeconfig-newhost

    Ben Leggett <******@****.***> 1691716743 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 11 01:19:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. 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)
  6. src/internal/types/testdata/fixedbugs/issue60460.go

    func (R1) m(R[int]) {}
    
    // Test case from issue.
    
    func _() {
    	r := newTestRules()
    	NewSet(r)
    	r2 := newTestRules2()
    	NewSet(r2)
    }
    
    type Set[T any] struct {
    	rules Rules[T]
    }
    
    func NewSet[T any](rules Rules[T]) Set[T] {
    	return Set[T]{
    		rules: rules,
    	}
    }
    
    func (s Set[T]) Copy() Set[T] {
    	return NewSet(s.rules)
    }
    
    type Rules[T any] interface {
    	Hash(T) int
    	Equivalent(T, T) bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 30 20:19:38 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. 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)
  8. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/stripmeta.go

    	if ok {
    		if vs == nil {
    			panic(fmt.Sprintf("Found unexpected nil manager which should never happen: %s", manager))
    		}
    		newSet := vs.Set().Difference(f.stripSet)
    		if newSet.Empty() {
    			delete(managed, manager)
    		} else {
    			managed[manager] = fieldpath.NewVersionedSet(newSet, vs.APIVersion(), vs.Applied())
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. pkg/registry/networking/ingress/strategy.go

    	fields := map[fieldpath.APIVersion]*fieldpath.Set{
    		"extensions/v1beta1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"networking.k8s.io/v1beta1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"networking.k8s.io/v1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    	}
    
    	return fields
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 01:42:41 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. 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)
Back to top