Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for prop (0.17 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        executor.execute(task);
        assertEquals(1, numCalls.get());
      }
    
      /*
       * Under Android, MyError propagates up and fails the test?
       *
       * TODO(b/218700094): Does this matter to prod users, or is it just a feature of our testing
       * environment? If the latter, maybe write a custom Executor that avoids failing the test when it
       * sees an Error?
       */
      @AndroidIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/FilesTest.java

        assertFalse(Files.equal(asciiFile, temp));
    
        assertTrue(Files.asByteSource(asciiFile).contentEquals(Files.asByteSource(asciiFile)));
    
        // 0-length files have special treatment (/proc, etc.)
        assertTrue(Files.equal(asciiFile, new BadLengthFile(asciiFile, 0)));
      }
    
      public void testNewReader() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FilesTest.java

        assertFalse(Files.equal(asciiFile, temp));
    
        assertTrue(Files.asByteSource(asciiFile).contentEquals(Files.asByteSource(asciiFile)));
    
        // 0-length files have special treatment (/proc, etc.)
        assertTrue(Files.equal(asciiFile, new BadLengthFile(asciiFile, 0)));
      }
    
      public void testNewReader() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

        // shutDown or runOneIteration) run concurrently with one another.
        // TODO(lukes): why don't we use ListenableFuture to sequence things? Then we could drop the
        // lock.
        private final ReentrantLock lock = new ReentrantLock();
    
        @WeakOuter
        class Task implements Runnable {
          @Override
          public void run() {
            lock.lock();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  5. android/pom.xml

                  <compilerArgs combine.children="append">
                    <!-- https://errorprone.info/docs/installation#maven -->
                    <!-- TODO(cpovirk): Enable NullArgumentForNonNullParameter for
                         prod code. It's disabled automatically for "test code"
                         (which is good: our tests have intentional violations), but
                         Error Prone doesn't know it's building test code unless we
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/LongMathTest.java

               * -4294967296L = -9223372036854775808L!
               *
               * To be clear, this bug affects not the test's computation of the expected result but the
               * _actual prod code_. But it probably affects only unusual cases.
               */
              continue;
            }
            BigInteger expectedResult = valueOf(a).multiply(valueOf(b));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Files.java

       * behavior that the {@link File} API does not already account for. For example, on NTFS it will
       * report {@code "txt"} as the extension for the filename {@code "foo.exe:.txt"} even though NTFS
       * will drop the {@code ":.txt"} part of the name when the file is actually created on the
       * filesystem due to NTFS's <a href="https://goo.gl/vTpJi4">Alternate Data Streams</a>.
       *
       * @since 11.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

              }
            }
          }
          // measure probability and assert it's within margin of error
          for (int j = 0; j < hashBits; j++) {
            double prob = (double) diff[j] / (double) (diff[j] + same[j]);
            Assert.assertEquals(0.50d, prob, epsilon);
          }
        }
      }
    
      /**
       * Test for 2-bit characteristics. A characteristic is a delta in the input which is repeated in
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        executor.execute(task);
        assertEquals(1, numCalls.get());
      }
    
      /*
       * Under Android, MyError propagates up and fails the test?
       *
       * TODO(b/218700094): Does this matter to prod users, or is it just a feature of our testing
       * environment? If the latter, maybe write a custom Executor that avoids failing the test when it
       * sees an Error?
       */
      @AndroidIncompatible
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashMap.java

    @ElementTypesAreNonnullByDefault
    class CompactHashMap<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMap<K, V> implements Serializable {
      /*
       * TODO: Make this a drop-in replacement for j.u. versions, actually drop them in, and test the
       * world. Figure out what sort of space-time tradeoff we're actually going to get here with the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 35.8K bytes
    - Viewed (0)
Back to top