Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for newPoset (0.14 sec)

  1. 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)
  2. 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)
  3. subprojects/core/src/testFixtures/groovy/org/gradle/util/BinaryDiffUtils.groovy

                    int costInsert = cost[i] + 1;
                    int costDelete = newcost[i - 1] + 1;
    
                    // keep minimum cost
                    newcost[i] = Math.min(Math.min(costInsert, costDelete), costReplace);
                }
    
                // swap cost/newcost arrays
                int[] swap = cost; cost = newcost; newcost = swap;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 14 11:47:34 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  4. 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)
  5. pkg/test/framework/label/labels_test.go

    		{filter: "", labels: NewSet(Postsubmit), expected: true},
    		{filter: "", labels: NewSet(Postsubmit, CustomSetup), expected: true},
    		{filter: "$requires.kube", labels: NewSet(Postsubmit, CustomSetup), err: true},
    		{filter: "zoo", labels: NewSet(Postsubmit, CustomSetup), expected: true},
    		{filter: "postsubmit", labels: NewSet(Postsubmit), expected: true},
    		{filter: "postsubmit", labels: NewSet(CustomSetup), expected: false},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 18 17:08:05 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. test/typeparam/issue51840.go

    			return false
    		}
    	}
    	return true
    }
    
    type Set[T comparable] map[T]struct{}
    
    func NewSet[T comparable](items ...T) Set[T] {
    	return nil
    }
    
    func (s Set[T]) Equals(other Set[T]) bool {
    	return EqualMap(s, other)
    }
    
    func main() {
    	NewSet[Addr](Addr{0, 0, nil})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 19:40:04 UTC 2022
    - 635 bytes
    - Viewed (0)
Back to top