Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for Fairs (0.19 sec)

  1. guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("abc", Strings.commonPrefix(new StringBuffer("abcdef"), "abcxyz"));
    
        // Identical valid surrogate pairs.
        assertEquals(
            "abc\uD8AB\uDCAB", Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uDCABxyz"));
        // Differing valid surrogate pairs.
        assertEquals("abc", Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uDCACxyz"));
        // One invalid pair.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("abc", Strings.commonPrefix(new StringBuffer("abcdef"), "abcxyz"));
    
        // Identical valid surrogate pairs.
        assertEquals(
            "abc\uD8AB\uDCAB", Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uDCABxyz"));
        // Differing valid surrogate pairs.
        assertEquals("abc", Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uDCACxyz"));
        // One invalid pair.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimap.java

     * map from keys to <i>nonempty</i> collections of values:
     *
     * <ul>
     *   <li>a → 1, 2
     *   <li>b → 3
     * </ul>
     *
     * ... or as a single "flattened" collection of key-value pairs:
     *
     * <ul>
     *   <li>a → 1
     *   <li>a → 2
     *   <li>b → 3
     * </ul>
     *
     * <p><b>Important:</b> although the first interpretation resembles how most multimaps are
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableTable.java

         * soon be deprecated.
         *
         * @throws IllegalArgumentException if duplicate key pairs were added
         */
        public ImmutableTable<R, C, V> build() {
          return buildOrThrow();
        }
    
        /**
         * Returns a newly-created immutable table, or throws an exception if duplicate key pairs were
         * added.
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableTable.java

         * soon be deprecated.
         *
         * @throws IllegalArgumentException if duplicate key pairs were added
         */
        public ImmutableTable<R, C, V> build() {
          return buildOrThrow();
        }
    
        /**
         * Returns a newly-created immutable table, or throws an exception if duplicate key pairs were
         * added.
         *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 17.3K bytes
    - Viewed (0)
  6. cmd/metrics-v3-types.go

    	return mg
    }
    
    // AddExtraLabels - adds extra (constant) label KV pairs to the metrics group.
    // This is a helper to initialize the `ExtraLabels` field. The argument is a
    // list of ordered label name and value pairs.
    func (mg *MetricsGroup) AddExtraLabels(labels ...string) {
    	if len(labels)%2 != 0 {
    		panic("Labels must be an ordered list of name value pairs")
    	}
    	if mg.ExtraLabels == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/Helpers.java

          Comparator<Entry<K, V>> entryComparator(@Nullable Comparator<? super K> keyComparator) {
        return new EntryComparator<K, V>(keyComparator);
      }
    
      /**
       * Asserts that all pairs of {@code T} values within {@code valuesInExpectedOrder} are ordered
       * consistently between their order within {@code valuesInExpectedOrder} and the order implied by
       * the given {@code comparator}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

          Comparator<Entry<K, V>> entryComparator(@Nullable Comparator<? super K> keyComparator) {
        return new EntryComparator<K, V>(keyComparator);
      }
    
      /**
       * Asserts that all pairs of {@code T} values within {@code valuesInExpectedOrder} are ordered
       * consistently between their order within {@code valuesInExpectedOrder} and the order implied by
       * the given {@code comparator}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/UnicodeEscaper.java

     * difference. A CharEscaper can only process Java <a
     * href="http://en.wikipedia.org/wiki/UTF-16">UTF16</a> characters in isolation and may not cope
     * when it encounters surrogate pairs. This class facilitates the correct escaping of all Unicode
     * characters.
     *
     * <p>As there are important reasons, including potential security issues, to handle Unicode
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Strings.java

        return new String(array);
      }
    
      /**
       * Returns the longest string {@code prefix} such that {@code a.toString().startsWith(prefix) &&
       * b.toString().startsWith(prefix)}, taking care not to split surrogate pairs. If {@code a} and
       * {@code b} have no common prefix, returns the empty string.
       *
       * @since 11.0
       */
      public static String commonPrefix(CharSequence a, CharSequence b) {
        checkNotNull(a);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
Back to top