Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for ptrstore (0.35 sec)

  1. pkg/controller/endpoint/endpoints_controller_test.go

    		},
    	}
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			podStore := cache.NewStore(cache.DeletionHandlingMetaNamespaceKeyFunc)
    			ns := "test"
    			addPods(podStore, ns, 1, 1, 0, tc.ipFamilies)
    			pods := podStore.List()
    			if len(pods) != 1 {
    				t.Fatalf("podStore size: expected: %d, got: %d", 1, len(pods))
    			}
    			pod := pods[0].(*v1.Pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/dump/dump_test.go

    limitations under the License.
    */
    
    package dump
    
    import (
    	"fmt"
    	"testing"
    )
    
    func ptrint(i int) *int {
    	return &i
    }
    
    func ptrstr(s string) *string {
    	return &s
    }
    
    // custom type to test Stringer interface on non-pointer receiver.
    type customString string
    
    // String implements the Stringer interface for testing invocation
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. pkg/controller/endpointslice/endpointslice_controller_test.go

    	ns := metav1.NamespaceDefault
    
    	pod1 := newPod(1, ns, true, 0, false)
    	esController.podStore.Add(pod1)
    
    	// ensure this pod will not match the selector
    	pod2 := newPod(2, ns, true, 0, false)
    	pod2.Labels["foo"] = "boo"
    	esController.podStore.Add(pod2)
    
    	standardSyncService(t, esController, ns, "testing-1")
    	expectActions(t, client.Actions(), 1, "create", "endpointslices")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/plugins/form-validator/sweden.js

    rbylånga","nacka","nora","norberg","nordanstig","nordmaling","norrköping","norrtälje","norsjö","nybro","nykvarn","nyköping","nynäshamn","nässjö","ockelbo","olofström","orsa","orust","osby","oskarshamn","ovanåker","oxelösund","pajala","partille","perstorp","piteå","ragunda","robertsfors","ronneby","rättvik","sala","salem","sandviken","sigtuna","simrishamn","sjöbo","skara","skellefteå","skinnskatteberg","skurup","skövde","smedjebacken","sollefteå","sollentuna","solna","sorsele","sotenäs","staffans...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 6.4K bytes
    - Viewed (0)
  5. pkg/registry/core/serviceaccount/storage/storage_test.go

    		StorageConfig:           etcdStorage,
    		Decorator:               generic.UndecoratedStorage,
    		DeleteCollectionWorkers: 1,
    		ResourcePrefix:          "serviceaccounts",
    	}
    	// set issuer, podStore and secretStore to allow the token endpoint to be initialised
    	rest, err := NewREST(restOptions, fakeTokenGenerator{"fake"}, nil, 0, panicGetter{}, panicGetter{}, nil, false)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. pkg/controller/job/job_controller.go

    	finalizerExpectations *uidTrackingExpectations
    
    	// A store of jobs
    	jobLister batchv1listers.JobLister
    
    	// A store of pods, populated by the podController
    	podStore corelisters.PodLister
    
    	// Jobs that need to be updated
    	queue workqueue.TypedRateLimitingInterface[string]
    
    	// Orphan deleted pods that still have a Job tracking finalizer to be removed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  7. pkg/controller/controller_utils_test.go

    	fakeClock := testingclock.NewFakeClock(fakeTime)
    	ttlPolicy := &cache.TTLPolicy{TTL: ttl, Clock: fakeClock}
    	ttlStore := cache.NewFakeExpirationStore(
    		ExpKeyFunc, nil, ttlPolicy, fakeClock)
    	return &ControllerExpectations{ttlStore}, fakeClock
    }
    
    func newReplicationController(replicas int) *v1.ReplicationController {
    	rc := &v1.ReplicationController{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  8. pkg/controller/controller_utils.go

    //	}
    //
    // Implementation:
    //	ControlleeExpectation = pair of atomic counters to track controllee's creation/deletion
    //	ControllerExpectationsStore = TTLStore + a ControlleeExpectation per controller
    //
    // * Once set expectations can only be lowered
    // * A controller isn't synced till its expectations are either fulfilled, or expire
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 12 15:34:44 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  9. src/encoding/json/decode_test.go

    		t.Run(tt.Name, func(t *testing.T) {
    			ptrstr := fmt.Sprintf("%v", tt.ptr)
    			err := Unmarshal([]byte(tt.in), tt.ptr) // tt.ptr edited here
    			if err != nil {
    				t.Errorf("%s: Unmarshal error: %v", tt.Where, err)
    			}
    			if !reflect.DeepEqual(tt.ptr, tt.out) {
    				t.Errorf("%s: Unmarshal(%#q, %T):\n\tgot:  %v\n\twant: %v", tt.Where, tt.in, ptrstr, tt.ptr, tt.out)
    			}
    		})
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (BRD x:(MOVDloadidx ptr idx      mem)) && x.Uses == 1 => @x.Block (MOVDBRloadidx ptr idx mem)
    
    // Fold bit reversal into stores.
    (MOV(D|W|H)store [off] {sym} ptr r:(BR(D|W|H) val) mem) && r.Uses == 1 => (MOV(D|W|H)BRstore (MOVDaddr <ptr.Type> [off] {sym} ptr) val mem)
    (MOV(D|W|H)storeidx ptr idx      r:(BR(D|W|H) val) mem) && r.Uses == 1 => (MOV(D|W|H)BRstoreidx ptr idx val mem)
    
    // GOPPC64<10 rules.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top