Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for fooBar (0.18 sec)

  1. android/guava/src/com/google/common/base/Ascii.java

       * the sequence will be returned as a string with no changes to the content.
       *
       * <p>Examples:
       *
       * <pre>{@code
       * Ascii.truncate("foobar", 7, "..."); // returns "foobar"
       * Ascii.truncate("foobar", 5, "..."); // returns "fo..."
       * }</pre>
       *
       * <p><b>Note:</b> This method <i>may</i> work with certain non-ASCII text but is not safe for use
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

     * Tests for the MessageDigestHashFunction.
     *
     * @author Kurt Alfred Kluever
     */
    public class MessageDigestHashFunctionTest extends TestCase {
      private static final ImmutableSet<String> INPUTS = ImmutableSet.of("", "Z", "foobar");
    
      // From "How Provider Implementations Are Requested and Supplied" from
      // http://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/ObjectsTest.java

    public class ObjectsTest extends TestCase {
    
      public void testEqual() throws Exception {
        assertTrue(Objects.equal(1, 1));
        assertTrue(Objects.equal(null, null));
    
        // test distinct string objects
        String s1 = "foobar";
        String s2 = new String(s1);
        assertTrue(Objects.equal(s1, s2));
    
        assertFalse(Objects.equal(s1, null));
        assertFalse(Objects.equal(null, s1));
        assertFalse(Objects.equal("foo", "bar"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/Utf8Test.java

      }
    
      public void testEncodedLength_invalidStrings() {
        testEncodedLengthFails(newString(MIN_HIGH_SURROGATE), 0);
        testEncodedLengthFails("foobar" + newString(MIN_HIGH_SURROGATE), 6);
        testEncodedLengthFails(newString(MIN_LOW_SURROGATE), 0);
        testEncodedLengthFails("foobar" + newString(MIN_LOW_SURROGATE), 6);
        testEncodedLengthFails(newString(MIN_HIGH_SURROGATE, MIN_HIGH_SURROGATE), 0);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

            }
            return Multisets.difference(multiset1, multiset2);
          }
        };
      }
    
      private static final ImmutableMultiset<String> ELEMENTS_TO_FILTER_OUT =
          ImmutableMultiset.of("foobar", "bazfoo", "foobar", "foobar");
    
      private static final Predicate<String> PREDICATE =
          Predicates.not(Predicates.in(ELEMENTS_TO_FILTER_OUT));
    
      private static TestStringMultisetGenerator filteredGenerator() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 9.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

            }
            return Multisets.difference(multiset1, multiset2);
          }
        };
      }
    
      private static final ImmutableMultiset<String> ELEMENTS_TO_FILTER_OUT =
          ImmutableMultiset.of("foobar", "bazfoo", "foobar", "foobar");
    
      private static final Predicate<String> PREDICATE =
          Predicates.not(Predicates.in(ELEMENTS_TO_FILTER_OUT));
    
      private static TestStringMultisetGenerator filteredGenerator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 9.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

        assertTrue(toTest, toTest.matches(".*\\{\\}"));
      }
    
      public void testConstructor_stringObject() {
        String toTest = MoreObjects.toStringHelper("FooBar").toString();
        assertEquals("FooBar{}", toTest);
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToStringHelper_localInnerClass() {
        // Local inner classes have names ending like "Outer.$1Inner"
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

    /**
     * Tests for the MacHashFunction.
     *
     * @author Kurt Alfred Kluever
     */
    public class MacHashFunctionTest extends TestCase {
    
      private static final ImmutableSet<String> INPUTS = ImmutableSet.of("", "Z", "foobar");
    
      private static final SecretKey MD5_KEY =
          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacMD5");
      private static final SecretKey SHA1_KEY =
          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacSHA1");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

    /**
     * Tests for the MacHashFunction.
     *
     * @author Kurt Alfred Kluever
     */
    public class MacHashFunctionTest extends TestCase {
    
      private static final ImmutableSet<String> INPUTS = ImmutableSet.of("", "Z", "foobar");
    
      private static final SecretKey MD5_KEY =
          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacMD5");
      private static final SecretKey SHA1_KEY =
          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacSHA1");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

     * Tests for the MessageDigestHashFunction.
     *
     * @author Kurt Alfred Kluever
     */
    public class MessageDigestHashFunctionTest extends TestCase {
      private static final ImmutableSet<String> INPUTS = ImmutableSet.of("", "Z", "foobar");
    
      // From "How Provider Implementations Are Requested and Supplied" from
      // http://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.2K bytes
    - Viewed (0)
Back to top