Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 104 for accurate (0.41 sec)

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

       *
       * @param reference any array of the desired type
       * @param length the length of the new array
       */
      /*
       * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
       * would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard
       * about arrays for now, as they're a mess. (We previously discussed this in the review of
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Stopwatch.java

     * Stopwatch} requires object allocation and additional method calls, which can reduce the accuracy
     * of the elapsed times reported. {@code Stopwatch} is still suitable for logging and metrics where
     * reasonably accurate values are sufficient. If the uncommon case that you need to maximize
     * accuracy, use {@code System.nanoTime()} directly instead.
     *
     * <p>Basic usage:
     *
     * <pre>{@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Nov 15 21:38:09 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LongAdder.java

      public void decrement() {
        add(-1L);
      }
    
      /**
       * Returns the current sum. The returned value is NOT an atomic snapshot; invocation in
       * the absence of concurrent updates returns an accurate result, but concurrent updates that occur
       * while the sum is being calculated might not be incorporated.
       *
       * @return the sum
       */
      @Override
      public long sum() {
        long sum = base;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 5.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

      }
    
      public void testServiceStartupTimes_selfStartingServices() {
        // This tests to ensure that:
        // 1. service times are accurate when the service is started by the manager
        // 2. service times are recorded when the service is not started by the manager (but they may
        // not be accurate).
        final Service b =
            new NoOpDelayedService(353) {
              @Override
              protected void doStart() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/TempFileCreator.java

            };
          }
        }
    
        private static String getUsername() {
          /*
           * https://github.com/google/guava/issues/6634: ProcessHandle has more accurate information,
           * but that class isn't available under all environments that we support. We use it if
           * available and fall back if not.
           */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  6. licenses/github.com/hashicorp/golang-lru/v2/LICENSE

    then You may include the notice in a location (such as a LICENSE file in a
    relevant directory) where a recipient would be likely to look for such a
    notice.
    
    You may add additional accurate notices of copyright ownership.
    
    Exhibit B - "Incompatible With Secondary Licenses" Notice
    
          This Source Code Form is "Incompatible
          With Secondary Licenses", as defined by
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Feb 03 20:21:32 GMT 2023
    - 15.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

         * close *estimate* of the actual number of bits set. It's not possible to do better than an
         * estimate without locking. Note that the number, if not exactly accurate, is *always*
         * underestimating, never overestimating.
         */
        long bitCount() {
          return bitCount.sum();
        }
    
        LockFreeBitArray copy() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 10.7K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        assertThat(inputStream.read()).isEqualTo('A'.code)
        assertThat(inputStream.read()).isEqualTo('B'.code)
        assertThat(inputStream.read()).isEqualTo('C'.code)
        try {
          inputStream.read() // if Content-Length was accurate, this would return -1 immediately
          fail<Any>()
        } catch (expected: SocketTimeoutException) {
        }
        val urlConnection2 = server.url("/").toUrl().openConnection()
        val in2 = urlConnection2.getInputStream()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  9. licenses/github.com/hashicorp/errwrap/LICENSE

    You may include the notice in a location (such as a LICENSE file in a relevant
    directory) where a recipient would be likely to look for such a notice.
    
    You may add additional accurate notices of copyright ownership.
    
    Exhibit B - “Incompatible With Secondary Licenses” Notice
    
          This Source Code Form is “Incompatible
          With Secondary Licenses”, as defined by
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Oct 26 02:47:39 GMT 2019
    - 15.6K bytes
    - Viewed (0)
  10. licenses/github.com/hashicorp/hcl/LICENSE

    You may include the notice in a location (such as a LICENSE file in a relevant
    directory) where a recipient would be likely to look for such a notice.
    
    You may add additional accurate notices of copyright ownership.
    
    Exhibit B - “Incompatible With Secondary Licenses” Notice
    
          This Source Code Form is “Incompatible
          With Secondary Licenses”, as defined by
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Oct 26 02:47:39 GMT 2019
    - 15.6K bytes
    - Viewed (0)
Back to top