Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for secure (0.17 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. 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)
  4. 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)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      @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);
        }
      }
    
      private void recurse(int level) {
        // We're going to reuse the stimuli array 3^steps times by overwriting it
        // in a recursive loop.  Sneaky.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      public <T extends @Nullable Object> T[] toArray(T[] array) {
        return snapshot().toArray(array);
      }
    
      /*
       * We'd love to use 'new ArrayList(this)' or 'list.addAll(this)', but
       * either of these would recurse back to us again!
       */
      private List<E> snapshot() {
        List<E> list = Lists.newArrayListWithExpectedSize(size());
        for (Multiset.Entry<E> entry : entrySet()) {
          E element = entry.getElement();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/OrderingTest.java

       * combinations of methods, then checks compare(), binarySearch() and so
       * forth on each one.
       */
    
      // should periodically try increasing this, but it makes the test run long
      private static final int RECURSE_DEPTH = 2;
    
      public void testCombinationsExhaustively_startingFromNatural() {
        testExhaustively(Ordering.<String>natural(), "a", "b", "d");
      }
    
      @GwtIncompatible // too slow
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/OrderingTest.java

       * combinations of methods, then checks compare(), binarySearch() and so
       * forth on each one.
       */
    
      // should periodically try increasing this, but it makes the test run long
      private static final int RECURSE_DEPTH = 2;
    
      public void testCombinationsExhaustively_startingFromNatural() {
        testExhaustively(Ordering.<String>natural(), "a", "b", "d");
      }
    
      @GwtIncompatible // too slow
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      public <T extends @Nullable Object> T[] toArray(T[] array) {
        return snapshot().toArray(array);
      }
    
      /*
       * We'd love to use 'new ArrayList(this)' or 'list.addAll(this)', but
       * either of these would recurse back to us again!
       */
      private List<E> snapshot() {
        List<E> list = Lists.newArrayListWithExpectedSize(size());
        for (Multiset.Entry<E> entry : entrySet()) {
          E element = entry.getElement();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/HttpHeaders.java

      public static final String UPGRADE = "Upgrade";
      /**
       * The HTTP <a href="https://w3c.github.io/webappsec-upgrade-insecure-requests/#preference">{@code
       * Upgrade-Insecure-Requests}</a> header field name.
       *
       * @since 28.1
       */
      public static final String UPGRADE_INSECURE_REQUESTS = "Upgrade-Insecure-Requests";
    
      /** The HTTP {@code User-Agent} header field name. */
      public static final String USER_AGENT = "User-Agent";
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
Back to top