Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 190 for Dapper (0.42 sec)

  1. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

    import java.io.File;
    
    /**
     * Android-incompatible tests for {@link FileBackedOutputStream}.
     *
     * @author Chris Nokleberg
     */
    @AndroidIncompatible // Finalization probably just doesn't happen fast enough?
    public class FileBackedOutputStreamAndroidIncompatibleTest extends IoTestCase {
    
      public void testFinalizeDeletesFile() throws Exception {
        byte[] data = newPreFilledByteArray(100);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Jun 08 21:20:23 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  2. .github/ISSUE_TEMPLATE/bug_report.yaml

            demonstrating the bug.
          render: java
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: Expected Behavior
          description: What did you expect to happen?
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: Actual Behavior
          description: What actually happened?
        validations:
          required: true
    
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 27 19:53:41 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

        /*
         * For example, if concentration=2.0, the following takes the square root of
         * the uniformly-distributed random integer, then truncates any fractional
         * part, so higher integers would appear (in this case linearly) more often
         * than lower ones.
         */
        return (int) Math.pow(a, 1.0 / concentration);
      }
    
      @AfterExperiment
      void tearDown() {
        double req = requests.get();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CloseablesTest.java

      // exception.
      private void setupCloseable(boolean shouldThrow) throws IOException {
        mockCloseable = mock(Closeable.class);
        if (shouldThrow) {
          doThrow(new IOException("This should only appear in the logs. It should not be rethrown."))
              .when(mockCloseable)
              .close();
        }
      }
    
      private void doClose(Closeable closeable, boolean swallowException) throws IOException {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Strings.java

       *   <li>{@code padStart("2010", 3, '0')} returns {@code "2010"}
       * </ul>
       *
       * <p>See {@link java.util.Formatter} for a richer set of formatting capabilities.
       *
       * @param string the string which should appear at the end of the result
       * @param minLength the minimum length the resulting string must have. Can be zero or negative, in
       *     which case the input string is always returned.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

    import java.util.Map.Entry;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Basic implementation of the {@link SetMultimap} interface. It's a wrapper around {@link
     * AbstractMapBasedMultimap} that converts the returned collections into {@code Sets}. The {@link
     * #createCollection} method must return a {@code Set}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/BiMap.java

      @Override
      Set<V> values();
    
      /**
       * Returns the inverse view of this bimap, which maps each of this bimap's values to its
       * associated key. The two bimaps are backed by the same data; any changes to one will appear in
       * the other.
       *
       * <p><b>Note:</b>There is no guaranteed correspondence between the iteration order of a bimap and
       * that of its inverse.
       *
       * @return the inverse view of this bimap
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

          List<QueryOp<T>> queries) {
        this.constructions = constructions;
        this.constructionAsymptotics = constructionAsymptotics;
        this.queries = queries;
      }
    
      /**
       * A Comparable wrapper around a String which executes callbacks on calls to hashCode, equals, and
       * compareTo.
       */
      private static class CountsHashCodeAndEquals implements Comparable<CountsHashCodeAndEquals> {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Verify.java

     *       (such as by passing an invalid argument), use the utilities of the {@link Preconditions}
     *       class instead.
     *   <li>If checking an <i>impossible</i> condition (which <i>cannot</i> happen unless your own
     *       class or its <i>trusted</i> dependencies is badly broken), this is what ordinary Java
     *       assertions are for. Note that assertions are not enabled by default; they are essentially
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedMap.java

       * keys and values are the result of applying the provided mapping functions to the input
       * elements.
       *
       * <p>If the mapped keys contain duplicates (according to the comparator), the values are merged
       * using the specified merging function. Entries will appear in the encounter order of the first
       * occurrence of the key.
       *
       * @since 21.0
       */
      public static <T extends @Nullable Object, K, V>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
Back to top