Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 712 for removeable (0.17 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveAllTester.java

      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAllAbsentKey() {
        assertEmpty(multimap().removeAll(k3()));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAllPresentKey() {
        assertContentsAnyOrder(multimap().removeAll(k0()), v0());
        expectMissing(e0());
      }
    
      @CollectionSize.Require(absent = ZERO)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/testcase.go

    			ExpectAnnotations: map[string]string{
    				"removelabel.example.com/key1":                      "value1",
    				"mutation.webhook.admission.k8s.io/round_0_index_0": mutationAnnotationValue(configurationName, "removelabel.example.com", true),
    				"patch.webhook.admission.k8s.io/round_0_index_0":    patchAnnotationValue(configurationName, "removelabel.example.com", `[{"op": "remove", "path": "/metadata/labels/remove"}]`),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 47.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveAllTester.java

      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAllAbsentKey() {
        assertEmpty(multimap().removeAll(k3()));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAllPresentKey() {
        assertContentsAnyOrder(multimap().removeAll(k0()), v0());
        expectMissing(e0());
      }
    
      @CollectionSize.Require(absent = ZERO)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java

        collection = getSubjectGenerator().create(arrayAndDuplicate.elements);
        E duplicate = arrayAndDuplicate.duplicate;
    
        assertTrue(
            "removeAll(intersectingCollection) should return true",
            getList().removeAll(MinimalCollection.of(duplicate)));
        assertFalse(
            "after removeAll(e), a collection should not contain e even "
                + "if it initially contained e more than once.",
            getList().contains(duplicate));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java

        collection = getSubjectGenerator().create(arrayAndDuplicate.elements);
        E duplicate = arrayAndDuplicate.duplicate;
    
        assertTrue(
            "removeAll(intersectingCollection) should return true",
            getList().removeAll(MinimalCollection.of(duplicate)));
        assertFalse(
            "after removeAll(e), a collection should not contain e even "
                + "if it initially contained e more than once.",
            getList().contains(duplicate));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/robustio/robustio.go

    func ReadFile(filename string) ([]byte, error) {
    	return readFile(filename)
    }
    
    // RemoveAll is like os.RemoveAll, but on Windows retries errors that may occur
    // if an executable file in the directory has recently been executed.
    //
    // (See golang.org/issue/19491.)
    func RemoveAll(path string) error {
    	return removeAll(path)
    }
    
    // IsEphemeralError reports whether err is one of the errors that the functions
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  7. pkg/volume/local/local_test.go

    }
    
    func TestCanSupport(t *testing.T) {
    	tmpDir, plug := getPlugin(t)
    	defer os.RemoveAll(tmpDir)
    
    	if !plug.CanSupport(getTestVolume(false, tmpDir, false, nil)) {
    		t.Errorf("Expected true")
    	}
    }
    
    func TestGetAccessModes(t *testing.T) {
    	tmpDir, plug := getPersistentPlugin(t)
    	defer os.RemoveAll(tmpDir)
    
    	modes := plug.GetAccessModes()
    	if !volumetest.ContainsAccessMode(modes, v1.ReadWriteOnce) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 10:53:39 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/BroadcastDispatchTest.groovy

            dispatch1.removeAll([]).is(dispatch1)
            dispatch1.removeAll([listener2, listener3]).is(dispatch1)
    
            def dispatch2 = dispatch1.add(listener1)
            dispatch2.removeAll([]).is(dispatch2)
            dispatch2.removeAll([listener2, listener3]).is(dispatch2)
    
            def dispatch3 = dispatch2.add(listener2)
            dispatch3.removeAll([]).is(dispatch3)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  9. pkg/kubelet/config/file_test.go

    		t.Fatalf("expected %#v, got %#v", expected, update)
    	}
    }
    
    func mkTempDir(prefix string) (string, error) {
    	return os.MkdirTemp(os.TempDir(), prefix)
    }
    
    func removeAll(dir string, t *testing.T) {
    	if err := os.RemoveAll(dir); err != nil {
    		t.Fatalf("unable to remove dir %s: %v", dir, err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  10. pkg/util/removeall/removeall_test.go

    				"file2",
    				"err/",
    				"err/file3",
    			},
    			true,
    		},
    	}
    
    	for _, test := range tests {
    		tmpDir, err := utiltesting.MkTmpdir("removeall-" + test.name + "-")
    		if err != nil {
    			t.Fatalf("Can't make a tmp dir: %v", err)
    		}
    		defer os.RemoveAll(tmpDir)
    		// Create the directory structure
    		for _, item := range test.items {
    			if strings.HasSuffix(item, "/") {
    				item = strings.TrimRight(item, "/")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 20:35:13 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top