Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,410 for deleteSV (0.18 sec)

  1. internal/bucket/replication/rule.go

    	errInvalidDeleteMarkerReplicationStatus   = Errorf("Delete marker replication status is invalid")
    	errDestinationSourceIdentical             = Errorf("Destination bucket cannot be the same as the source bucket.")
    	errDeleteReplicationMissing               = Errorf("Delete replication must be specified")
    	errInvalidDeleteReplicationStatus         = Errorf("Delete replication is either enable|disable")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 24 23:22:20 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/base/public/runtime.h

      TFE_Context* GetTFEContext() const { return ctx_.get(); }
    
      // Runtime is not copyable
      Runtime(const Runtime&) = delete;
      Runtime& operator=(const Runtime&) = delete;
    
      struct TFEContextDeleter {
        void operator()(TFE_Context* p) const { TFE_DeleteContext(p); }
      };
      std::unique_ptr<TFE_Context, TFEContextDeleter> ctx_;
    };
    
    }  // namespace cc
    }  // namespace experimental
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 12 19:37:48 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  3. pkg/proxy/conntrack/conntrack_test.go

    	fakeexec "k8s.io/utils/exec/testing"
    )
    
    var success = func() ([]byte, []byte, error) { return []byte("1 flow entries have been deleted"), nil, nil }
    var nothingToDelete = func() ([]byte, []byte, error) {
    	return []byte(""), nil, fmt.Errorf("conntrack v1.4.2 (conntrack-tools): 0 flow entries have been deleted")
    }
    
    type testCT struct {
    	execCT
    
    	fcmd *fakeexec.FakeCmd
    }
    
    func makeCT(result fakeexec.FakeAction) *testCT {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:08:36 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. pkg/controller/namespace/namespace_controller.go

    	listerSynced cache.InformerSynced
    	// namespaces that have been queued up for processing by workers
    	queue workqueue.TypedRateLimitingInterface[string]
    	// helper to delete all resources in the namespace when the namespace is deleted.
    	namespacedResourcesDeleter deletion.NamespacedResourcesDeleterInterface
    }
    
    // NewNamespaceController creates a new NamespaceController
    func NewNamespaceController(
    	ctx context.Context,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. pkg/proxy/node.go

    		klog.FlushAndExit(klog.ExitFlushTimeout, 1)
    	}
    }
    
    // OnNodeDelete is a handler for Node deletes.
    func (n *NodePodCIDRHandler) OnNodeDelete(node *v1.Node) {
    	n.logger.Error(nil, "Current Node is being deleted", "node", klog.KObj(node))
    }
    
    // OnNodeSynced is a handler for Node syncs.
    func (n *NodePodCIDRHandler) OnNodeSynced() {}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/dra/claiminfo.go

    	info, exists := cache.claimInfo[namespace+"/"+claimName]
    	return info, exists
    }
    
    // delete deletes a specific claim info object from the cache.
    func (cache *claimInfoCache) delete(claimName, namespace string) {
    	delete(cache.claimInfo, namespace+"/"+claimName)
    }
    
    // hasPodReference checks if there is at least one claim
    // that is referenced by the pod with the given UID
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. pkg/controller/job/tracking_utils.go

    			uids.set.Delete(deleteKey)
    		}
    		uids.Unlock()
    	}
    }
    
    // DeleteExpectations deletes the UID set.
    func (u *uidTrackingExpectations) deleteExpectations(logger klog.Logger, jobKey string) {
    	set := u.getSet(jobKey)
    	if set != nil {
    		if err := u.store.Delete(set); err != nil {
    			logger.Error(err, "Could not delete tracking annotation UID expectations", "key", jobKey)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 14 05:40:02 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. operator/pkg/metrics/monitoring.go

    	)
    
    	// ResourceDeletionTotal indicates the number of resources deleted
    	// by the operator in response to CR update or delete operation (like
    	// ingress-gateway which was enabled could be disabled and this requires
    	// deleting ingress-gateway deployment).
    	ResourceDeletionTotal = monitoring.NewSum(
    		"resource_deletion_total",
    		"Number of resources deleted by the operator",
    	)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 7K bytes
    - Viewed (0)
  9. test/typeparam/mapsimp.dir/a.go

    	for k := range m2 {
    		delete(m1, k)
    	}
    }
    
    // Intersect removes all keys from m1 that are not present in m2.
    // Keys in m2 that are not in m1 are ignored. The values in m2 are ignored.
    func Intersect[K comparable, V any](m1, m2 map[K]V) {
    	for k := range m1 {
    		if _, ok := m2[k]; !ok {
    			delete(m1, k)
    		}
    	}
    }
    
    // Filter deletes any key/value pairs from m for which f returns false.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 24 22:17:33 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  10. tests/main_test.go

    	if count1 <= 0 {
    		t.Errorf("Should find some users")
    	}
    
    	if DB.Where("name = ?", "jinzhu; delete * from users").First(&User{}).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	DB.Model(&User{}).Count(&count2)
    	if count1 != count2 {
    		t.Errorf("No user should not be deleted by invalid SQL")
    	}
    }
    
    func TestSetAndGet(t *testing.T) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
Back to top