Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 319 for DELETING (0.2 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java

                fos = new FileOutputStream(tempFile);
                CopyUtil.copy(is, fos);
            } catch (final Exception e) {
                CloseableUtil.closeQuietly(fos); // for deleting file
                FileUtil.deleteInBackground(tempFile); // clean up
                throw new CrawlingAccessException("Could not read a response body: " + responseData.getUrl(), e);
            } finally {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/util.go

    		return false
    	}
    	return len(mwhs.Items) > 0
    }
    
    // DeactivateIstioInjectionWebhook deactivates the istio-injection webhook from the given MutatingWebhookConfiguration if exists.
    // used rather than just deleting the webhook since we want to keep it around after changing the default so user can later
    // switch back to it. This is a hack but it is meant to cover a corner case where a user wants to migrate from a non-revisioned
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 17:43:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. pkg/controller/storageversiongc/gc_controller_test.go

    	if err := clientset.CoordinationV1().Leases(metav1.NamespaceSystem).Delete(context.Background(), "kube-apiserver-1", metav1.DeleteOptions{}); err != nil {
    		t.Fatalf("error deleting lease object: %v", err)
    	}
    
    	// add a delay to ensure controller had a chance to reconcile
    	time.Sleep(2 * time.Second)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 12:19:43 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  4. tests/associations_many2many_test.go

    		t.Errorf("no error should happened when deleting language, but got %v", err)
    	}
    
    	AssertAssociationCount(t, users, "Languages", 4, "after delete")
    
    	if err := DB.Model(&users).Association("Languages").Delete(users[0].Languages[0], users[1].Languages[1]); err != nil {
    		t.Errorf("no error should happened when deleting language, but got %v", err)
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  5. src/os/removeall_at.go

    	}
    
    	// Simple case: if Remove works, we're done.
    	err := Remove(path)
    	if err == nil || IsNotExist(err) {
    		return nil
    	}
    
    	// RemoveAll recurses by deleting the path base from
    	// its parent directory
    	parentDir, base := splitPath(path)
    
    	parent, err := Open(parentDir)
    	if IsNotExist(err) {
    		// If parent does not exist, base cannot exist. Fail silently
    		return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. pkg/ledger/smt_test.go

    	assert.NoError(t, err)
    	if !bytes.Equal(root, smt.root) {
    		t.Fatal("deleting a default key shouldn't modify the tree")
    	}
    }
    
    // test updating and deleting at the same time
    func TestTrieUpdateAndDelete(t *testing.T) {
    	smt := newSMT(hasher, nil, time.Minute)
    	key0 := make([]byte, 8)
    	values := getFreshData(1)
    	root, _ := smt.Update([][]byte{key0}, values)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/copy.go

    		// When calling os.Rename(), an "invalid cross-device link" error may occur
    		// if the source and destination files are on different file systems.
    		// In this case, the file is moved by copying and then deleting the source file,
    		// although it is less efficient than os.Rename().
    		klog.V(4).Infof("cannot rename %v to %v due to %v, attempting an alternative method", src, dest, err)
    		if err := CopyFile(src, dest); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 01:42:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. pkg/kubelet/util/manager/watch_based_manager_test.go

    				{"ns1", "secret1", "pod1", 1},
    				{"ns1", "secret1", "pod1", 0},
    			},
    		},
    		{
    			desc: "deleting a non-existent reference should have no effect",
    			steps: []step{
    				{"delete", "ns1", "secret1", "pod1"},
    			},
    			expects: []expect{
    				{"ns1", "secret1", "pod1", 0},
    			},
    		},
    		{
    			desc: "deleting more than adding should not lead to negative refcount",
    			steps: []step{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 09 10:05:43 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go

    }
    
    // resetConfigDir is used to cleanup the files in the folder defined in dirsToClean.
    func resetConfigDir(configPathDir string, dirsToClean []string, isDryRun bool) {
    	if !isDryRun {
    		fmt.Printf("[reset] Deleting contents of directories: %v\n", dirsToClean)
    		for _, dir := range dirsToClean {
    			if err := CleanDir(dir); err != nil {
    				klog.Warningf("[reset] Failed to delete contents of %q directory: %v", dir, err)
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/FileBackedOutputStream.java

     * in CVE number once it's available.)
     *
     * <p>Temporary files created by this stream may live in the local filesystem until either:
     *
     * <ul>
     *   <li>{@link #reset} is called (removing the data in this stream and deleting the file), or...
     *   <li>this stream (or, more precisely, its {@link #asByteSource} view) is finalized during
     *       garbage collection, <strong>AND</strong> this stream was not constructed with {@linkplain
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top