Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 3,431 for delete1 (0.22 sec)

  1. plugin/pkg/auth/authorizer/node/graph.go

    	for _, edge := range edgesToRemoveFromIndexes {
    		g.removeEdgeFromDestinationIndex_locked(edge)
    	}
    }
    
    // must be called under write lock
    // deletes edges from a given vertex type to a specific vertex
    // will delete each orphaned "from" vertex, but will never delete the "to" vertex
    func (g *Graph) deleteEdges_locked(fromType, toType vertexType, toNamespace, toName string) {
    	// get the "to" side
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 17.5K 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. operator/pkg/controller/istiocontrolplane/istiocontrolplane_controller.go

    		return reconcile.Result{}, err
    	}
    
    	deleted := iop.GetDeletionTimestamp() != nil
    	finalizers := sets.New(iop.GetFinalizers()...)
    	if deleted {
    		if !finalizers.Contains(finalizer) {
    			scope.Infof("IstioOperator %s deleted", iopName)
    			metrics.CRDeletionTotal.Increment()
    			return reconcile.Result{}, nil
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. 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)
  5. android/guava-tests/test/com/google/common/io/FilesTest.java

        assertTrue("ByteBuffers should be equal.", expected.equals(actual));
      }
    
      public void testMap_noSuchFile() throws IOException {
        // Setup
        File file = createTempFile();
        boolean deleted = file.delete();
        assertTrue(deleted);
    
        // Test
        assertThrows(FileNotFoundException.class, () -> Files.map(file));
      }
    
      public void testMap_readWrite() throws IOException {
        // Test data
        int size = 1024;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/SkipEmptyIncrementalWorkStepTest.groovy

        }
    
        def "exception thrown when sourceFiles are empty and deletes previous output, but delete fails"() {
            def previousOutputFile = file("output.txt").createFile()
            def outputFileSnapshot = snapshot(previousOutputFile)
            def ioException = new IOException("Couldn't delete file")
    
            when:
            step.execute(work, context)
    
            then:
            interaction {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:46:24 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. tests/multi_primary_keys_test.go

    	}
    
    	// Delete
    	DB.Model(&blog).Association("Tags").Delete(tag5)
    	var tags3 []Tag
    	DB.Model(&blog).Association("Tags").Find(&tags3)
    	if !compareTags(tags3, []string{"tag6"}) {
    		t.Fatalf("Should find 1 tags after Delete")
    	}
    
    	if DB.Model(&blog).Association("Tags").Count() != 1 {
    		t.Fatalf("Blog should has three tags after Delete")
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  8. pkg/controller/volume/persistentvolume/provision_test.go

    			// No deleteCalls are configured, which results into no deleter plugin available for the volume
    			test: wrapTestWithProvisionCalls([]provisionCall{provision1Success}, testSyncClaim),
    		},
    		{
    			// Provision failure - cannot save provisioned PV five times,
    			// volume delete failed - deleter returns error five times
    			name:            "11-11 - cannot save provisioned volume, deleter fails",
    			initialVolumes:  novolumes,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  9. pkg/controller/util/node/controller_utils.go

    	"k8s.io/kubernetes/pkg/controller"
    	"k8s.io/kubernetes/pkg/kubelet/util/format"
    	nodepkg "k8s.io/kubernetes/pkg/util/node"
    
    	"k8s.io/klog/v2"
    )
    
    // DeletePods will delete all pods from master running on given node,
    // and return true if any pods were deleted, or were found pending
    // deletion.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  10. pkg/volume/portworx/portworx.go

    		}}, nil
    }
    
    func (plugin *portworxVolumePlugin) NewDeleter(logger klog.Logger, spec *volume.Spec) (volume.Deleter, error) {
    	return plugin.newDeleterInternal(spec, plugin.util)
    }
    
    func (plugin *portworxVolumePlugin) newDeleterInternal(spec *volume.Spec, manager portworxManager) (volume.Deleter, error) {
    	if spec.PersistentVolume != nil && spec.PersistentVolume.Spec.PortworxVolume == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top