Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 71 for compiler (0.31 sec)

  1. guava/src/com/google/common/base/Verify.java

     *       class or its <i>trusted</i> dependencies is badly broken), this is what ordinary Java
     *       assertions are for. Note that assertions are not enabled by default; they are essentially
     *       considered "compiled comments."
     *   <li>An explicit {@code if/throw} (as illustrated below) is always acceptable; we still
     *       recommend using our {@link VerifyException} exception type. Throwing a plain {@link
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/StatsAccumulator.java

          min = value;
          max = value;
          if (!isFinite(value)) {
            sumOfSquaresOfDeltas = NaN;
          }
        } else {
          count++;
          if (isFinite(value) && isFinite(mean)) {
            // Art of Computer Programming vol. 2, Knuth, 4.2.2, (15) and (16)
            double delta = value - mean;
            mean += delta / count;
            sumOfSquaresOfDeltas += delta * (value - mean);
          } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Predicates.java

      /**
       * Returns a predicate that evaluates to {@code true} if the {@code CharSequence} being tested
       * contains any match for the given regular expression pattern. The test used is equivalent to
       * {@code Pattern.compile(pattern).matcher(arg).find()}
       *
       * @throws IllegalArgumentException if the pattern is invalid
       * @since 3.0
       */
      @GwtIncompatible // Only used by other GWT-incompatible code.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/StatsTesting.java

              .doubleValue();
    
      /**
       * Returns a stream of a million primitive doubles. The stream is parallel, which should cause
       * {@code collect} calls to run in multithreaded mode, so testing the combiner as well as the
       * supplier and accumulator.
       */
      static DoubleStream megaPrimitiveDoubleStream() {
        return DoubleStream.iterate(0.0, x -> x + 1.0).limit(MEGA_STREAM_COUNT).parallel();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 23.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

          // different from each other. If buildKeepingLast() collapsed duplicates, that might end up
          // not being true.
          Pattern pattern = Pattern.compile("Multiple entries with same key: four=(.*) and four=(.*)");
          assertThat(expected).hasMessageThat().matches(pattern);
          Matcher matcher = pattern.matcher(expected.getMessage());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Collections2.java

       *
       * <p><i>Notes:</i> This is an implementation of the algorithm for Lexicographical Permutations
       * Generation, described in Knuth's "The Art of Computer Programming", Volume 4, Chapter 7,
       * Section 7.2.1.2. The iteration order follows the lexicographical order. This means that the
       * first permutation will be in ascending order, and the last will be in descending order.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      }
    
      @Generates
      Comparable<?> generateComparable() {
        return generateString();
      }
    
      @Generates
      Pattern generatePattern() {
        return Pattern.compile(generateString());
      }
    
      @Generates
      Charset generateCharset() {
        return pickInstance(Charset.availableCharsets().values(), Charsets.UTF_8);
      }
    
      @Generates
      Locale generateLocale() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  8. guava-gwt/pom.xml

      <build>
        <plugins>
          <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
              <excludes>
                <!-- Yes, we want to exclude ForceGuavaCompilation 4 times: -->
                <!-- (And we might as well exclude DummyJavadocClass 3 times (though it would be harmless to include).) -->
                <!-- 1. Don't compile it (since that requires a *non-test* dep on gwt-user. -->
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 15:00:55 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/SplitterTest.java

        Iterable<String> words = Splitter.on(Pattern.compile("\\b")).split(string);
        assertThat(words).containsExactly("foo", "<", "bar", ">", "bletch").inOrder();
      }
    
      @GwtIncompatible // java.util.regex.Pattern
      public void testPatternSplitWordBoundary_singleCharInput() {
        String string = "f";
        Iterable<String> words = Splitter.on(Pattern.compile("\\b")).split(string);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

      }
    
      public void testValueSetHashTableExpansion() {
        LinkedHashMultimap<String, Integer> multimap = LinkedHashMultimap.create();
        for (int z = 1; z <= 100; z++) {
          multimap.put("a", z);
          // The Eclipse compiler (and hence GWT) rejects a parameterized cast.
          @SuppressWarnings("unchecked")
          LinkedHashMultimap<String, Integer>.ValueSet valueSet =
              (LinkedHashMultimap.ValueSet) multimap.backingMap().get("a");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 18.6K bytes
    - Viewed (0)
Back to top