Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 218 for Didn (0.16 sec)

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

    public class MultisetCountTester<E> extends AbstractMultisetTester<E> {
    
      public void testCount_0() {
        assertEquals("multiset.count(missing) didn't return 0", 0, getMultiset().count(e3()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testCount_1() {
        assertEquals("multiset.count(present) didn't return 1", 1, getMultiset().count(e0()));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testCount_3() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

    public class MultisetCountTester<E> extends AbstractMultisetTester<E> {
    
      public void testCount_0() {
        assertEquals("multiset.count(missing) didn't return 0", 0, getMultiset().count(e3()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testCount_1() {
        assertEquals("multiset.count(present) didn't return 1", 1, getMultiset().count(e0()));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testCount_3() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

              "multiset.remove(absent, 2) didn't return 0 or throw an exception",
              0,
              getMultiset().remove(e3(), 2));
        } catch (UnsupportedOperationException ok) {
        }
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_occurrences_0() {
        int oldCount = getMultiset().count(e0());
        assertEquals(
            "multiset.remove(E, 0) didn't return the old count",
            oldCount,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

              "multiset.remove(absent, 2) didn't return 0 or throw an exception",
              0,
              getMultiset().remove(e3(), 2));
        } catch (UnsupportedOperationException ok) {
        }
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_occurrences_0() {
        int oldCount = getMultiset().count(e0());
        assertEquals(
            "multiset.remove(E, 0) didn't return the old count",
            oldCount,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  5. operator/cmd/mesh/profile-diff_test.go

    	t.Helper()
    
    	if c.expectedString != "" && !strings.Contains(output, c.expectedString) {
    		t.Fatalf("Output didn't match for 'istioctl %s'\n got %v\nwant: %v", c.args, output, c.expectedString)
    	}
    
    	if c.notExpected != "" && strings.Contains(output, c.notExpected) {
    		t.Fatalf("Output didn't match for 'istioctl %s'\n got %v\nDON'T want: %v", c.args, output, c.expectedString)
    	}
    
    	if c.shouldFail {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  6. cmd/admin-handlers-pools.go

    		if byID {
    			var err error
    			idx, err = strconv.Atoi(pool)
    			if err != nil {
    				// We didn't find any matching pools, invalid input
    				writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errInvalidArgument), r.URL)
    				return
    			}
    		} else {
    			idx = globalEndpoints.GetPoolIdx(pool)
    			if idx == -1 {
    				// We didn't find any matching pools, invalid input
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  7. docs/en/docs/benchmarks.md

        * If you didn't use FastAPI and used Starlette directly (or another tool, like Sanic, Flask, Responder, etc) you would have to implement all the data validation and serialization yourself. So, your final application would still have the same overhead as if it was...
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java

        try {
          getMultiset().add(e0(), 2);
          fail("unsupported multiset.add(E, int) didn't throw exception");
        } catch (UnsupportedOperationException required) {
        }
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddOccurrencesNegative() {
        try {
          getMultiset().add(e0(), -1);
          fail("multiset.add(E, -1) didn't throw an exception");
        } catch (IllegalArgumentException required) {
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  9. istioctl/pkg/util/testutil/util.go

    		t.Fatalf("Output didn't match for '%s %s'\n got %v\nwant: %v", cmd.Name(),
    			strings.Join(c.Args, " "), output, c.ExpectedRegexp)
    	}
    
    	if c.GoldenFilename != "" {
    		util.CompareContent(t, []byte(output), c.GoldenFilename)
    	}
    
    	if c.WantException {
    		if fErr == nil {
    			t.Fatalf("Wanted an exception for 'istioctl %s', didn't get one, output was %q",
    				strings.Join(c.Args, " "), output)
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        isInterruptibleRegistered.await();
        RuntimeException expected = assertThrows(RuntimeException.class, () -> task.interruptTask());
        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("I bet you didn't think Thread.interrupt could throw");
        // We need to wait for the runner to exit.  It used to be that the runner would get stuck in the
        // busy loop when interrupt threw.
        runner.join(TimeUnit.SECONDS.toMillis(10));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.6K bytes
    - Viewed (0)
Back to top