Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for newobject (0.41 sec)

  1. src/cmd/compile/internal/ssa/_gen/generic.rules

    // for late-expanded calls, recognize newobject and remove zeroing and nilchecks
    (Zero (SelectN [0] call:(StaticLECall _ _)) mem:(SelectN [1] call))
    	&& isSameCall(call.Aux, "runtime.newobject")
    	=> mem
    
    (Store (SelectN [0] call:(StaticLECall _ _)) x mem:(SelectN [1] call))
    	&& isConstZero(x)
    	&& isSameCall(call.Aux, "runtime.newobject")
    	=> mem
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    		expectedRespStatus int
    	}{
    		0: {
    			expectedRespStatus: http.StatusMethodNotAllowed,
    		},
    		// Test case - 1, copy metadata from newObject1, ignore request headers.
    		1: {
    			bucketName:       bucketName,
    			newObjectName:    "newObject1",
    			copySourceHeader: url.QueryEscape(SlashSeparator + bucketName + SlashSeparator + objectName),
    			accessKey:        credentials.AccessKey,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  3. api/openapi-spec/v3/apis__admissionregistration.k8s.io__v1alpha1_openapi.json

    "description": "ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 235.4K bytes
    - Viewed (0)
  4. api/openapi-spec/v3/apis__admissionregistration.k8s.io__v1beta1_openapi.json

    "description": "ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 235.7K bytes
    - Viewed (0)
  5. pkg/controller/podautoscaler/horizontal_test.go

    		tc.Lock()
    		defer tc.Unlock()
    
    		obj := action.(core.UpdateAction).GetObject().(*autoscalingv1.Scale)
    		replicas := action.(core.UpdateAction).GetObject().(*autoscalingv1.Scale).Spec.Replicas
    		assert.Equal(t, tc.expectedDesiredReplicas, replicas, "the replica count of the RC should be as expected")
    		tc.scaleUpdated = true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  6. pkg/controller/daemon/daemon_controller_test.go

    			if action.GetSubresource() != "status" {
    				return false, nil, nil
    			}
    			if u, ok := action.(core.UpdateAction); ok {
    				updated = u.GetObject().(*apps.DaemonSet)
    			}
    			return false, nil, nil
    		})
    
    		expectSyncDaemonSets(t, manager, ds, podControl, podControl.FakePodControl.CreateLimit, 0, 0)
    
    		expectedLimit := 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  7. pkg/scheduler/schedule_one_test.go

    		if action.GetSubresource() != "binding" {
    			return false, nil, nil
    		}
    		binding := action.(clienttesting.CreateAction).GetObject().(*v1.Binding)
    		bindings[binding.Name] = binding.Target.Name
    		wg.Done()
    		return true, binding, nil
    	})
    	controllers := make(map[string]string)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_node_status_test.go

    			t.Logf("actions: %v: %+v", len(actions), actions)
    			action := actions[tc.savedNodeIndex]
    			if action.GetVerb() == "create" {
    				createAction := action.(core.CreateAction)
    				obj := createAction.GetObject()
    				require.IsType(t, &v1.Node{}, obj)
    				savedNode = obj.(*v1.Node)
    			} else if action.GetVerb() == "patch" {
    				patchAction := action.(core.PatchActionImpl)
    				var err error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  9. cmd/server_test.go

    	// Sample bucket policy.
    	bucketPolicyBuf := `{"Version":"2012-10-17","Statement":[{"Action":["s3:GetBucketLocation","s3:ListBucket"],"Effect":"Allow","Principal":{"AWS":["*"]},"Resource":["arn:aws:s3:::%s"]},{"Action":["s3:GetObject"],"Effect":"Allow","Principal":{"AWS":["*"]},"Resource":["arn:aws:s3:::%s/this*"]}]}`
    
    	// generate a random bucket Name.
    	bucketName := getRandomBucketName()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  10. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    		podReasonUpdate := false
    		for _, action := range item.fakeNodeHandler.Actions() {
    			if action.GetVerb() == "update" && action.GetResource().Resource == "pods" {
    				updateReason := action.(testcore.UpdateActionImpl).GetObject().(*v1.Pod).Status.Reason
    				podReasonUpdate = true
    				if updateReason != item.expectedReason {
    					t.Errorf("expected pod status reason: %+v, got %+v for %+v", item.expectedReason, updateReason, item.description)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
Back to top