Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 4,438 for Updatef (0.14 sec)

  1. pkg/ledger/smt_test.go

    		if !bytes.Equal(newValues[i], value) {
    			t.Fatal("trie not updated")
    		}
    	}
    
    	newKeys := getFreshData(5)
    	newValues = getFreshData(5)
    	_, err = smt.Update(newKeys, newValues)
    	assert.NoError(t, err)
    	for i, key := range newKeys {
    		value, _ := smt.Get(key)
    		if !bytes.Equal(newValues[i], value) {
    			t.Fatal("trie not updated")
    		}
    	}
    }
    
    func TestSmtDelete(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceentry/controller.go

    	// if not full push needed, at least one service unchanged
    	if !fullPush {
    		s.edsUpdate(serviceInstances)
    		return
    	}
    
    	// When doing a full push, the non DNS added, updated, unchanged services trigger an eds update
    	// so that endpoint shards are updated.
    	allServices := make([]*model.Service, 0, len(addedSvcs)+len(updatedSvcs)+len(unchangedSvcs))
    	allServices = append(allServices, addedSvcs...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/apps/v1beta1/generated.proto

      // for updates. During a rolling update, all pods from ordinal Replicas-1 to
      // Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched.
      // This is helpful in being able to do a canary based deployment. The default value is 0.
      optional int32 partition = 1;
    
      // maxUnavailable is the maximum number of pods that can be unavailable during the update.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  4. pkg/controller/tainteviction/taint_eviction.go

    	// the number of workers up making it a parameter of Run() function.
    
    	// NodeUpdateChannelSize defines the size of channel for node update events.
    	NodeUpdateChannelSize = 10
    	// UpdateWorkerSize defines the size of workers for node update or/and pod update.
    	UpdateWorkerSize     = 8
    	podUpdateChannelSize = 1
    	retries              = 5
    )
    
    type nodeUpdateItem struct {
    	nodeName string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. pkg/scheduler/internal/queue/events.go

    	// AssignedPodUpdate is the event when a pod is updated that causes pods with matching affinity
    	// terms to be more schedulable.
    	AssignedPodUpdate = framework.ClusterEvent{Resource: framework.Pod, ActionType: framework.Update, Label: "AssignedPodUpdate"}
    	// UnscheduledPodUpdate is the event when an unscheduled pod is updated.
    	UnscheduledPodUpdate = framework.ClusterEvent{Resource: framework.Pod, ActionType: framework.Update, Label: "UnschedulablePodUpdate"}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. pkg/registry/rbac/clusterrole/policybased/storage_test.go

    					return
    				}
    				if fakeStorage.updated != 0 {
    					t.Errorf("unexpected calls to underlying storage.Update: %d", fakeStorage.updated)
    					return
    				}
    			}
    
    			if tc.expectAuthz != (authzCalled > 0) {
    				t.Fatalf("expected authz=%v, saw %d calls", tc.expectAuthz, authzCalled)
    			}
    		})
    	}
    }
    
    type fakeStorage struct {
    	updated int
    	created int
    	rest.StandardStorage
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 09 13:47:19 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    // update walks through all existing objects, finds the corresponding update
    // function based on name and kind, and replaces those objects that have an
    // update function. The rest is left unchanged.
    func update(t *testing.T, objects []metav1.Object, updates change) []metav1.Object {
    	var updated []metav1.Object
    
    	for _, obj := range objects {
    		switch in := obj.(type) {
    		case *resourcev1alpha2.ResourceClaim:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/Striped64.java

      /**
       * Computes the function of current and new value. Subclasses should open-code this update
       * function for most uses, but the virtualized form is needed within retryUpdate.
       *
       * @param currentValue the current value (of either base or a cell)
       * @param newValue the argument from a user update call
       * @return result of the update function
       */
      abstract long fn(long currentValue, long newValue);
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/Striped64.java

      /**
       * Computes the function of current and new value. Subclasses should open-code this update
       * function for most uses, but the virtualized form is needed within retryUpdate.
       *
       * @param currentValue the current value (of either base or a cell)
       * @param newValue the argument from a user update call
       * @return result of the update function
       */
      abstract long fn(long currentValue, long newValue);
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. hack/testdata/CRD/foo-updated-subfield.yaml

    Nikhita Raghunath <******@****.***> 1506872372 +0530
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 01 15:43:24 UTC 2017
    - 203 bytes
    - Viewed (0)
Back to top