Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for secure (0.21 sec)

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

     */
    
    package com.google.common.io;
    
    import static com.google.common.base.StandardSystemProperty.OS_NAME;
    import static com.google.common.io.RecursiveDeleteOption.ALLOW_INSECURE;
    import static com.google.common.jimfs.Feature.SECURE_DIRECTORY_STREAM;
    import static com.google.common.jimfs.Feature.SYMBOLIC_LINKS;
    import static com.google.common.truth.Truth.assertThat;
    import static java.nio.charset.StandardCharsets.UTF_8;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hashing.java

       * MD5 (128 hash bits) hash function and the given secret key.
       *
       * <p>If you are designing a new system that needs HMAC, prefer {@link #hmacSha256} or other
       * future-proof algorithms <a
       * href="https://datatracker.ietf.org/doc/html/rfc6151#section-2.3">over {@code hmacMd5}</a>.
       *
       * @param key the secret key
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/TempFileCreator.java

        private static final String MESSAGE =
            "Guava cannot securely create temporary files or directories under SDK versions before"
                + " Jelly Bean. You can create one yourself, either in the insecure default directory"
                + " or in a more secure directory, such as context.getCacheDir(). For more information,"
                + " see the Javadoc for Files.createTempDir().";
    
    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)
  4. android/guava/src/com/google/common/hash/HashFunction.java

     *       are called <i>cryptographic hash functions</i>. But, whenever it is learned that either of
     *       these feats has become computationally feasible, the function is deemed "broken" and should
     *       no longer be used for secure purposes. (This is the likely eventual fate of <i>all</i>
     *       cryptographic hashes.)
     *   <li><b>fast:</b> perhaps self-explanatory, but often the most important consideration.
     * </ul>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/internal/Finalizer.java

     * com.google.common.base.FinalizableReference}.
     *
     * <p>While this class is public, we consider it to be *internal* and not part of our published API.
     * It is public so we can access it reflectively across class loaders in secure environments.
     *
     * <p>This class can't depend on other Guava code. If we were to load this class in the same class
     * loader as the rest of Guava, this thread would keep an indirect strong reference to the class
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacMD5");
      private static final SecretKey SHA1_KEY =
          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacSHA1");
      private static final SecretKey SHA256_KEY =
          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacSHA256");
      private static final SecretKey SHA512_KEY =
          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacSHA512");
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       */
      protected void verify(List<E> elements) {}
    
      /** Executes the test. */
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      public final void test() {
        try {
          recurse(0);
        } catch (Exception e) { // sneaky checked exception
          throw new RuntimeException(Arrays.toString(stimuli), e);
        }
      }
    
      public void testForEachRemaining() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

         * Level#SEVERE} message indicating the potential deadlock, which includes stack traces
         * illustrating the cycle in lock acquisition order.
         */
        WARN {
          @Override
          public void handlePotentialDeadlock(PotentialDeadlockException e) {
            logger.get().log(Level.SEVERE, "Detected potential deadlock", e);
          }
        },
    
        /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    thinking over all the children she knew that were of the same age
    as herself, to see if she could have been changed for any of
    them.
    
      `I'm sure I'm not Ada,' she said, `for her hair goes in such
    long ringlets, and mine doesn't go in ringlets at all; and I'm
    sure I can't be Mabel, for I know all sorts of things, and she,
    oh! she knows such a very little!  Besides, SHE'S she, and I'm I,
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java

        }
      }
    
      @Benchmark
      public boolean timeFindCaller(int reps) {
        return timeFindCaller(reps, recursionCount);
      }
    
      private boolean timeFindCaller(int reps, int recurse) {
        return recurse > 0 ? timeFindCaller(reps, recurse - 1) : mode.timeIt(reps, breakAt);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.5K bytes
    - Viewed (0)
Back to top