Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for isolation (0.18 sec)

  1. android/guava/src/com/google/common/io/TempFileCreator.java

        // Android isolates apps' temporary directories since Jelly Bean:
        // https://github.com/google/guava/issues/4011#issuecomment-770020802
        // So we can create files there with any permissions and still get security from the isolation.
        return new JavaIoCreator();
      }
    
      /**
       * Creates the permissions normally used for Windows filesystems, looking up the user afresh, even
    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)
  2. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       Sometimes there are multiple tests per JSR166 method when the different "normal" behaviors
     *       differ significantly. And sometimes testcases cover multiple methods when they cannot be
     *       tested in isolation.
     *   <li>The documentation style for testcases is to provide as javadoc a simple sentence or two
     *       describing the property that the testcase method purports to test. The javadocs do not say
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * under {@code directExecutor}: Not only might the wait for a lock be long, but if the running
       * thread was holding a lock, the listener may deadlock or break lock isolation.
       *
       * <p>This instance is equivalent to:
       *
       * <pre>{@code
       * final class DirectExecutor implements Executor {
       *   public void execute(Runnable r) {
       *     r.run();
       *   }
       * }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/UnicodeEscaper.java

     *
     * <p><b>Note:</b> This class is similar to {@link CharEscaper} but with one very important
     * difference. A CharEscaper can only process Java <a
     * href="http://en.wikipedia.org/wiki/UTF-16">UTF16</a> characters in isolation and may not cope
     * when it encounters surrogate pairs. This class facilitates the correct escaping of all Unicode
     * characters.
     *
     * <p>As there are important reasons, including potential security issues, to handle Unicode
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       Sometimes there are multiple tests per JSR166 method when the different "normal" behaviors
     *       differ significantly. And sometimes testcases cover multiple methods when they cannot be
     *       tested in isolation.
     *   <li>The documentation style for testcases is to provide as javadoc a simple sentence or two
     *       describing the property that the testcase method purports to test. The javadocs do not say
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Comparators.java

        return least(k, comparator.reversed());
      }
    
      /**
       * Returns the minimum of the two values. If the values compare as 0, the first is returned.
       *
       * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

      /**
       * The number of other exception types in the cache of known-good exceptions and the number of
       * other {@code ClassValue} entries for the exception type to be tested. This lets us evaluate
       * whether our solution scales to use with multiple exception types and to whether it is affected
       * by other {@code ClassValue} users. Some of the benchmarked implementations don't use one or
       * both of these mechanisms, so they will be unaffected.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 22 03:01:34 GMT 2022
    - 6.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         *
         * Thread2: calls setException(), which returns false, CASes seenExceptions to its exception,
         * and wrongly believes that its exception is new (leading it to logging it when it shouldn't)
         *
         * Our solution is for threads to CAS seenExceptions from null to a Set populated with _the
         * initial exception_, no matter which thread does the work. This ensures that seenExceptions
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        }
    
        @Override
        public E aboveSamplesGreater() {
          throw new UnsupportedOperationException();
        }
      }
    
      /*
       * TODO(cpovirk): surely we can find a less ugly solution than a class that accepts 3 parameters,
       * exposes as many getters, does work in the constructor, and has both a superclass and a subclass
       */
      public static class SortedMapSubmapTestMapGenerator<
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

      /**
       * The number of other exception types in the cache of known-good exceptions and the number of
       * other {@code ClassValue} entries for the exception type to be tested. This lets us evaluate
       * whether our solution scales to use with multiple exception types and to whether it is affected
       * by other {@code ClassValue} users. Some of the benchmarked implementations don't use one or
       * both of these mechanisms, so they will be unaffected.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 22 03:01:34 GMT 2022
    - 6.6K bytes
    - Viewed (0)
Back to top