Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 363 for area (0.17 sec)

  1. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * If we pick a function that goes /below/ that horizontal line, it means that we reduce the area
       * of the function, thus time. Thus, the RateLimiter becomes /faster/ after a period of
       * underutilization. If, on the other hand, we pick a function that goes /above/ that horizontal
       * line, then it means that the area (time) is increased, thus storedPermits are more costly than
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        testers.add(SetEqualsTester.class);
        testers.add(SetRemoveTester.class);
        // SetRemoveAllTester doesn't exist because, Sets not permitting
        // duplicate elements, there are no tests for Set.removeAll() that aren't
        // covered by CollectionRemoveAllTester.
        return testers;
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int i = 0; i < 11; i++) {
          limiter.acquire(); // #7, showing off the warmup starting from totally cold
        }
    
        // make sure the areas (times) remain the same, while permits are different
        assertEvents(
            "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #1
            "U4.50", // #2
            "R0.00, R1.38, R1.13", // #3, after that the rate changes
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

      }
    
      public static class Chars extends SampleElements<Character> {
        public Chars() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super('b', 'a', 'c', 'd', 'e');
        }
      }
    
      public static class Enums extends SampleElements<AnEnum> {
        public Enums() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.E);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

      }
    
      public static class Chars extends SampleElements<Character> {
        public Chars() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super('b', 'a', 'c', 'd', 'e');
        }
      }
    
      public static class Enums extends SampleElements<AnEnum> {
        public Enums() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.E);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/ToStringHelperTest.java

      }
    
      // all remaining test are on an inner class with various fields
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToString_oneField() {
        String toTest = MoreObjects.toStringHelper(new TestClass()).add("field1", "Hello").toString();
        assertEquals("TestClass{field1=Hello}", toTest);
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/HashBiMap.java

           * valid value. That's the best we can do, short of holding a reference to the most recently
           * seen value. And while we *could* do that, we aren't required to: Map.Entry explicitly says
           * that behavior is undefined when the backing map is modified through another API. (It even
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        g2.addEdge(N1, N3, E12);
    
        assertThat(network).isNotEqualTo(g2);
      }
    
      // Node/edge sets and node/edge connections are the same, but network properties differ.
      // (In this case the networks are considered equivalent; the property differences are irrelevant.)
      @Test
      public void equivalent_propertiesDiffer() {
        network.addEdge(N1, N2, E12);
    
        MutableNetwork<Integer, String> g2 =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 22 19:09:27 GMT 2017
    - 5.9K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

    How to contribute
    =================
    
    Thank you so much for wanting to contribute to Guava! Here are a few important
    things you should know about contributing:
    
    1.  API changes require discussion, use cases, etc. Code comes later.
    2.  Pull requests are great for small fixes for bugs, documentation, etc.
    3.  Pull requests are not merged directly into the master branch.
    4.  Code contributions require signing a Google CLA.
    
    API changes
    -----------
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * <p>This method is not type-safe, as it may be called on elements that are not mutually
       * comparable.
       *
       * @throws ClassCastException if the elements are not mutually comparable
       * @throws NullPointerException if any of {@code elements} is null
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
Back to top