Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for convol (0.17 sec)

  1. android/guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

        assertEquals(control(NE, 1), entry(NE, 1));
        assertFalse(control(NE, 1).equals(entry(NE, 2)));
        assertFalse(entry(NE, 1).equals(control("bar", 1)));
        assertFalse(entry(NE, 1).equals(new Object()));
        assertFalse(entry(NE, 1).equals(null));
      }
    
      public void testHashCode() {
        assertEquals(control("foo", 1).hashCode(), entry("foo", 1).hashCode());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

              // passes, and there is still a little endianness bug lurking around.
            }
          }
    
          Control control = new Control();
          Hasher controlSink = control.newHasher(1024);
    
          Iterable<Hasher> sinksAndControl =
              Iterables.concat(sinks, Collections.singleton(controlSink));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/annotations/Beta.java

     * work during upgrades. However it is generally inadvisable for <i>libraries</i> (which get
     * included on users' CLASSPATHs, outside the library developers' control) to do so.
     *
     * @author Kevin Bourrillion
     */
    @Retention(RetentionPolicy.CLASS)
    @Target({
      ElementType.ANNOTATION_TYPE,
      ElementType.CONSTRUCTOR,
      ElementType.FIELD,
      ElementType.METHOD,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  4. guava-testlib/README.md

    are subject to change. They can be modified in any way, or even
    removed, at any time. If your code is a library itself (i.e. it is
    used on the CLASSPATH of users outside your own control), you should
    not use beta APIs, unless you [repackage] them. **If your
    code is a library, we strongly recommend using the [Guava Beta Checker] to
    ensure that you do not use any `@Beta` APIs!**
    
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertTrue(Iterators.all(list.iterator(), predicate));
        list.add("pants");
        assertFalse(Iterators.all(list.iterator(), predicate));
      }
    
      public void testFind_firstElement() {
        Iterable<String> list = Lists.newArrayList("cool", "pants");
        Iterator<String> iterator = list.iterator();
        assertEquals("cool", Iterators.find(iterator, Predicates.equalTo("cool")));
        assertEquals("pants", iterator.next());
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterable<String> list = newArrayList("cool", "pants");
        assertEquals("cool", Iterables.find(list, Predicates.equalTo("cool")));
        assertEquals("pants", Iterables.find(list, Predicates.equalTo("pants")));
        try {
          Iterables.find(list, Predicates.alwaysFalse());
          fail();
        } catch (NoSuchElementException e) {
        }
        assertEquals("cool", Iterables.find(list, Predicates.alwaysTrue()));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

            "!@#$%^*()_+=-/?\\|]}[{,.;:"
                + "abcdefghijklmnopqrstuvwxyz"
                + "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
                + "1234567890";
        assertEquals(s, xmlEscaper.escape(s));
    
        // Test ASCII control characters.
        for (char ch = 0; ch < 0x20; ch++) {
          if (ch == '\t' || ch == '\n' || ch == '\r') {
            // Only these whitespace chars are permitted in XML,
            if (shouldEscapeWhitespaceChars) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 4.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LongAdder.java

     *
     * <p>This class is usually preferable to {@link AtomicLong} when multiple threads update a common
     * sum that is used for purposes such as collecting statistics, not for fine-grained synchronization
     * control. Under low update contention, the two classes have similar characteristics. But under
     * high contention, expected throughput of this class is significantly higher, at the expense of
     * higher space consumption.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 5.5K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      int takeIndex;
      /** items index for next put, offer, or add. */
      int putIndex;
      /** Number of items in the queue */
      private int count;
    
      /*
       * Concurrency control uses the classic two-condition algorithm
       * found in any textbook.
       */
    
      /** Monitor guarding all access */
      final Monitor monitor;
    
      /** Guard for waiting takes */
      private final Monitor.Guard notEmpty;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/CharMatcher.java

        return JavaLowerCase.INSTANCE;
      }
    
      /**
       * Determines whether a character is an ISO control character as specified by {@link
       * Character#isISOControl(char)}.
       *
       * <p>All ISO control codes are on the BMP and thus supported by this API.
       *
       * @since 19.0 (since 1.0 as constant {@code JAVA_ISO_CONTROL})
       */
      public static CharMatcher javaIsoControl() {
        return JavaIsoControl.INSTANCE;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top