Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 80 for Arantes (0.19 sec)

  1. android/guava/src/com/google/common/collect/GeneralRange.java

        return cmp > 0 | (cmp == 0 & getUpperBoundType() == OPEN);
      }
    
      boolean contains(@ParametricNullness T t) {
        return !tooLow(t) && !tooHigh(t);
      }
    
      /**
       * Returns the intersection of the two ranges, or an empty range if their intersection is empty.
       */
      @SuppressWarnings("nullness") // TODO(cpovirk): Add casts as needed. Will be noisy and annoying...
      GeneralRange<T> intersect(GeneralRange<T> other) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/LongMathTest.java

      @GwtIncompatible // java.math.BigInteger
      public void testMean() {
        // Odd-sized ranges have an obvious mean
        assertMean(2, 1, 3);
    
        assertMean(-2, -3, -1);
        assertMean(0, -1, 1);
        assertMean(1, -1, 3);
        assertMean((1L << 62) - 1, -1, Long.MAX_VALUE);
    
        // Even-sized ranges should prefer the lower mean
        assertMean(2, 1, 4);
        assertMean(-3, -4, -1);
        assertMean(0, -1, 2);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NetworkExplorer.java

                resp.setContentType("text/plain");
                resp.setContentType(URLConnection.guessContentTypeFromName(url));
                resp.setHeader("Content-Length", file.length() + "");
                resp.setHeader("Accept-Ranges", "Bytes");
    
                while ( ( n = in.read(buf) ) != -1 ) {
                    out.write(buf, 0, n);
                }
            }
        }
    
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 21.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                    resp.setContentType( mimeMap.getMimeType( type ));
                }
                resp.setHeader( "Content-Length", file.length() + "" );
                resp.setHeader( "Accept-Ranges", "Bytes" );
    
                while(( n = in.read( buf )) != -1 ) {
                    out.write( buf, 0, n );
                }
            }
            // TODO catch IOException
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Wed Jan 22 03:57:31 GMT 2020
    - 19.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ContiguousSet.java

    /**
     * A sorted set of contiguous values in a given {@link DiscreteDomain}. Example:
     *
     * <pre>{@code
     * ContiguousSet.create(Range.closed(5, 42), DiscreteDomain.integers())
     * }</pre>
     *
     * <p>Note that because bounded ranges over {@code int} and {@code long} values are so common, this
     * particular example can be written as just:
     *
     * <pre>{@code
     * ContiguousSet.closed(5, 42)
     * }</pre>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

         *     <li>"e(G:A:V)" - predicate filter (leaves out G:A:V from range, if hit, V can be range)</li>
         * </ul>
         * Example filter expression: {@code "h(5);s;e(org.foo:bar:1)} will cause: ranges are filtered for "top 5" (instead
         * full range), snapshots are banned if root project is not a snapshot, and if range for {@code org.foo:bar} is
         * being processed, version 1 is omitted.
         *
         * @since 4.0.0
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        double actualReportedFpp = bf.expectedFpp();
        assertEquals(expectedReportedFpp, actualReportedFpp, 0.00033);
      }
    
      /** Sanity checking with many combinations of false positive rates and expected insertions */
      public void testBasic() {
        for (double fpr = 0.0000001; fpr < 0.1; fpr *= 10) {
          for (int expectedInsertions = 1; expectedInsertions <= 10000; expectedInsertions *= 10) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

     *
     * <p>This class supports an optional fairness policy for ordering waiting producer and consumer
     * threads. By default, this ordering is not guaranteed. However, a queue constructed with fairness
     * set to {@code true} grants threads access in FIFO order. Fairness generally decreases throughput
     * but reduces variability and avoids starvation.
     *
     * <p>This class and its iterator implement all of the optional methods of the {@link
    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)
  9. android/guava/src/com/google/common/base/NullnessCasts.java

       * that conversion is safe.
       *
       * <p>This method is intended to help with usages of type parameters that have {@linkplain
       * ParametricNullness parametric nullness}. If a type parameter instead ranges over only non-null
       * types (or if the type is a non-variable type, like {@code String}), then code should almost
       * never use this method, preferring instead to call {@code requireNonNull} so as to benefit from
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 17 15:44:29 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/CharMatcher.java

        }
    
        @Override
        public boolean matches(char c) {
          return c <= '\u007f';
        }
      }
    
      /** Implementation that matches characters that fall within multiple ranges. */
      private static class RangesMatcher extends CharMatcher {
    
        private final String description;
        private final char[] rangeStarts;
        private final char[] rangeEnds;
    
    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