Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,544 for numbers (0.33 sec)

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

        BigInteger result = randomPositiveBigInteger(numBits);
        return RANDOM_SOURCE.nextBoolean() ? result : result.negate();
      }
    
      /**
       * Chooses a number in (-2^numBits, 2^numBits) at random, with density concentrated in numbers of
       * lower magnitude.
       */
      static BigInteger randomBigInteger(int numBits) {
        while (true) {
          if (RANDOM_SOURCE.nextBoolean()) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Defaults.java

      private Defaults() {}
    
      private static final Double DOUBLE_DEFAULT = 0d;
      private static final Float FLOAT_DEFAULT = 0f;
    
      /**
       * Returns the default value of {@code type} as defined by JLS --- {@code 0} for numbers, {@code
       * false} for {@code boolean} and {@code '\0'} for {@code char}. For non-primitive types and
       * {@code void}, {@code null} is returned.
       */
      @SuppressWarnings("unchecked")
      @CheckForNull
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  3. ci/official/upload.sh

    # This script uploads all staged artifacts from all previous builds in the same
    # job chain to GCS and PyPI.
    source "${BASH_SOURCE%/*}/utilities/setup.sh"
    
    # Update the version numbers for Nightly only, then fetch the version numbers
    # for choosing the final directory name. This adds "-devYYYYMMDD" to the end of
    # the version string (.devYYYYMMDD for Python; see pypi.org/project/tf-nightly)
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 24 20:52:12 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Defaults.java

      private Defaults() {}
    
      private static final Double DOUBLE_DEFAULT = 0d;
      private static final Float FLOAT_DEFAULT = 0f;
    
      /**
       * Returns the default value of {@code type} as defined by JLS --- {@code 0} for numbers, {@code
       * false} for {@code boolean} and {@code '\0'} for {@code char}. For non-primitive types and
       * {@code void}, {@code null} is returned.
       */
      @SuppressWarnings("unchecked")
      @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

          }
        }
      }
    
      /**
       * Used to delay string formatting until actually required, as it otherwise shows up in the test
       * execution profile when running an extremely large numbers of tests.
       */
      private String reportContext(List<E> expected) {
        return Platform.format(
            "expected collection %s; actual collection %s", expected, this.collection);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

        }
      }
    
      private void streamPrimesToSinkAsynchronously(final BufferedSink sink) {
        Thread thread = new Thread("writer") {
          @Override public void run() {
            try {
              sink.writeUtf8("Numbers\n");
              sink.writeUtf8("-------\n");
              for (int i = 2; i <= 997; i++) {
                System.out.println(i);
                Thread.sleep(10);
                sink.writeUtf8(String.format(" * %s = %s\n", i, factor(i)));
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 3.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Optional.java

       * Optional<Number>} (where {@code Number} is the desired output type) solves the problem:
       *
       * <pre>{@code
       * Optional<Number> optionalInt = (Optional) getSomeOptionalInt();
       * Number value = optionalInt.or(0.5); // fine
       *
       * FluentIterable<? extends Number> numbers = getSomeNumbers();
       * Optional<Number> first = (Optional) numbers.first();
       * Number value = first.or(0.5); // fine
       * }</pre>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

            wrapContentInContainer(document);
    
            String rewritten = document.body().html();
            // Turn Gradle Jira issue numbers into issue links
            rewritten = rewritten.replaceAll("GRADLE-\\d+", "<a href=\"https://issues.gradle.org/browse/$0\">$0</a>");
            // Turn Gradle Github issue numbers into issue links
            rewritten = rewritten.replaceAll("(gradle/[a-zA-Z\\-_]+)#(\\d+)", "<a href=\"https://github.com/$1/issues/$2\">$0</a>");
    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)
  9. cmd/background-newdisks-heal-ops.go

    	ItemsHealed uint64
    	ItemsFailed uint64
    
    	BytesDone   uint64
    	BytesFailed uint64
    
    	// Last object scanned.
    	Bucket string `json:"-"`
    	Object string `json:"-"`
    
    	// Numbers when current bucket started healing,
    	// for resuming with correct numbers.
    	ResumeItemsHealed uint64 `json:"-"`
    	ResumeItemsFailed uint64 `json:"-"`
    	ResumeBytesDone   uint64 `json:"-"`
    	ResumeBytesFailed uint64 `json:"-"`
    
    	// Filled on startup/restarts.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  10. docs_src/schema_extra_example/tutorial005.py

                    },
                },
                "converted": {
                    "summary": "An example with converted data",
                    "description": "FastAPI can convert price `strings` to actual `numbers` automatically",
                    "value": {
                        "name": "Bar",
                        "price": "35.4",
                    },
                },
                "invalid": {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 26 18:03:13 GMT 2023
    - 1.4K bytes
    - Viewed (0)
Back to top