Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Scale (0.12 sec)

  1. guava-tests/test/com/google/common/math/QuantilesTest.java

        assertThrows(IllegalArgumentException.class, () -> intermediate.indexes(1, 11, 3));
      }
    
      public void testScale_indexes_collection_negative() {
        Quantiles.Scale intermediate = Quantiles.scale(10);
        assertThrows(
            IllegalArgumentException.class, () -> intermediate.indexes(ImmutableList.of(1, -1, 3)));
      }
    
      public void testScale_indexes_collection_tooHigh() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/QuantilesTest.java

        assertThrows(IllegalArgumentException.class, () -> intermediate.indexes(1, 11, 3));
      }
    
      public void testScale_indexes_collection_negative() {
        Quantiles.Scale intermediate = Quantiles.scale(10);
        assertThrows(
            IllegalArgumentException.class, () -> intermediate.indexes(ImmutableList.of(1, -1, 3)));
      }
    
      public void testScale_indexes_collection_tooHigh() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                    final BufferedImage thumbnail = new BufferedImage(thumbnailWidth, thumbnailHeight, image.getType());
                    thumbnail.getGraphics().drawImage(image.getScaledInstance(thumbnailWidth, thumbnailHeight, Image.SCALE_AREA_AVERAGING), 0,
                            0, thumbnailWidth, thumbnailHeight, null);
                    ImageIO.write(thumbnail, fessConfig.getThumbnailHtmlImageFormat(), outputFile);
                    image.flush();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

            document.prependChild(new DocumentType("html", "", ""));
            document.head().
                    append("<meta charset='utf-8'>").
                    append("<meta name='viewport' content='width=device-width, initial-scale=1'>").
                    append("<title>Gradle @version@ Release Notes</title>").
                    append("<link rel='stylesheet' type='text/css' href='https://assets.gradle.com/lato/css/lato-font.css'/>");
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 25 04:49:56 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

    public final class GcFinalization {
      private GcFinalization() {}
    
      /**
       * 10 seconds ought to be long enough for any object to be GC'ed and finalized. Unless we have a
       * gigantic heap, in which case we scale by heap size.
       */
      private static long timeoutSeconds() {
        // This class can make no hard guarantees.  The methods in this class are inherently flaky, but
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/GcFinalization.java

    public final class GcFinalization {
      private GcFinalization() {}
    
      /**
       * 10 seconds ought to be long enough for any object to be GC'ed and finalized. Unless we have a
       * gigantic heap, in which case we scale by heap size.
       */
      private static long timeoutSeconds() {
        // This class can make no hard guarantees.  The methods in this class are inherently flaky, but
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSet.java

            < ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY) {
          return inputElementsIncludingAnyDuplicates;
        }
        // Guess the size is "halfway between" all duplicates and no duplicates, on a log scale.
        return Math.max(
            ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY,
            IntMath.sqrt(inputElementsIncludingAnyDuplicates, RoundingMode.CEILING));
      }
    
    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)
Back to top