Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 86 for scopes (0.19 sec)

  1. android/guava/src/com/google/common/escape/CharEscaperBuilder.java

        }
        return result;
      }
    
      /**
       * Convert this builder into a char escaper which is just a decorator around the underlying array
       * of replacement char[]s.
       *
       * @return an escaper that escapes based on the underlying array.
       */
      public Escaper toEscaper() {
        return new CharArrayDecorator(toArray());
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 4K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

      /**
       * The number of other exception types in the cache of known-good exceptions and the number of
       * other {@code ClassValue} entries for the exception type to be tested. This lets us evaluate
       * whether our solution scales to use with multiple exception types and to whether it is affected
       * by other {@code ClassValue} users. Some of the benchmarked implementations don't use one or
       * both of these mechanisms, so they will be unaffected.
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 22 03:01:34 GMT 2022
    - 6.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

        List<String> haveSameHashes2 = Arrays.asList(str1, str2);
        List<CountsHashCodeAndEquals> result =
            Lists.newArrayList(
                Lists.transform(
                    Lists.cartesianProduct(Collections.nCopies(power, haveSameHashes2)),
                    strs ->
                        new CountsHashCodeAndEquals(
                            String.join("", strs),
                            () -> counter.hashCode++,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Resources.java

                return true;
              }
    
              @Override
              public List<String> getResult() {
                return result;
              }
            });
      }
    
      /**
       * Copies all bytes from a URL to an output stream.
       *
       * @param from the URL to read from
       * @param to the output stream
       * @throws IOException if an I/O error occurs
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/Cache.java

       * otherwise create, cache and return" pattern.
       *
       * @since 11.0
       */
      void put(K key, V value);
    
      /**
       * Copies all of the mappings from the specified map to the cache. The effect of this call is
       * equivalent to that of calling {@code put(k, v)} on this map once for each mapping from key
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  6. LICENSE

          granted to You under this License for that Work shall terminate
          as of the date such litigation is filed.
    
       4. Redistribution. You may reproduce and distribute copies of the
          Work or Derivative Works thereof in any medium, with or without
          modifications, and in Source or Object form, provided that You
          meet the following conditions:
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 22 18:59:39 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertThat(Lists.<Object>cartesianProduct(x, y))
            .containsExactly(exp1, exp2, exp3, exp4)
            .inOrder();
      }
    
      public void testCartesianProductTooBig() {
        List<String> list = Collections.nCopies(10000, "foo");
        try {
          Lists.cartesianProduct(list, list, list, list, list);
          fail("Expected IAE");
        } catch (IllegalArgumentException expected) {
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

          checkNotNull(value);
          checkArgument(!range.isEmpty(), "Range must not be empty, but was %s", range);
          entries.add(Maps.immutableEntry(range, value));
          return this;
        }
    
        /** Copies all associations from the specified range map into this builder. */
        @CanIgnoreReturnValue
        public Builder<K, V> putAll(RangeMap<K, ? extends V> rangeMap) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSet.java

         * log n) on average.
         *
         * <p>The online hash flooding detecting in RegularSetBuilderImpl.add can detect e.g. many
         * exactly matching hash codes, which would cause construction to take O(n^2), but can't detect
         * e.g. hash codes adversarially designed to go into ascending table locations, which keeps
         * construction O(n) (as desired) but then can have O(n) queries later.
         *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        }
      }
    
      public void testConcatPeformingFiniteCycle() {
        Iterable<Integer> iterable = asList(1, 2, 3);
        int n = 4;
        FluentIterable<Integer> repeated = FluentIterable.concat(Collections.nCopies(n, iterable));
        assertThat(repeated).containsExactly(1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3).inOrder();
      }
    
      interface X {}
    
      interface Y {}
    
      static class A implements X, Y {}
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
Back to top