Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for wspolicy (0.23 sec)

  1. android/guava/src/com/google/common/net/HttpHeaders.java

      /**
       * The HTTP <a href="https://wicg.github.io/cross-origin-embedder-policy/#COEP-RO">{@code
       * Cross-Origin-Embedder-Policy-Report-Only}</a> header field name.
       *
       * @since 30.0
       */
      public static final String CROSS_ORIGIN_EMBEDDER_POLICY_REPORT_ONLY =
          "Cross-Origin-Embedder-Policy-Report-Only";
      /**
       * The HTTP Cross-Origin-Opener-Policy header field name.
    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)
  2. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      private <E extends Enum<E>>
          CycleDetectingLockFactory.WithExplicitOrdering<E> newInstanceWithExplicitOrdering(
              Class<E> enumClass, Policy policy) {
        return new CycleDetectingLockFactory.WithExplicitOrdering<E>(
            policy, CycleDetectingLockFactory.createNodes(enumClass));
      }
    
      public void testDeadlock_twoLocks() {
        // Establish an acquisition order of lockA -> lockB.
        lockA.lock();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (1)
  3. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

    public final class NullPointerTester {
    
      private final ClassToInstanceMap<Object> defaults = MutableClassToInstanceMap.create();
      private final List<Member> ignoredMembers = Lists.newArrayList();
    
      private ExceptionTypePolicy policy = ExceptionTypePolicy.NPE_OR_UOE;
    
      public NullPointerTester() {
        try {
          /*
           * Converter.apply has a non-nullable parameter type but doesn't throw for null arguments. For
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 22.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

             * large that doing the lookup is noticeably slower than redoing the work would be.
             *
             * Ideally we'd have a real eviction policy, but until we see a problem in practice, I hope
             * that this will suffice. I have not even benchmarked with different size limits.
             */
            if (validClasses.size() > 1000) {
              validClasses.clear();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        }
      }
    
      //////// Implementation /////////
    
      private static final LazyLogger logger = new LazyLogger(CycleDetectingLockFactory.class);
    
      final Policy policy;
    
      private CycleDetectingLockFactory(Policy policy) {
        this.policy = checkNotNull(policy);
      }
    
      /**
       * Tracks the currently acquired locks for each Thread, kept up to date by calls to {@link
    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)
  6. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          Policy.setPolicy(policy);
    
          try {
            r.run();
          } finally {
            policy.addPermission(new SecurityPermission("setPolicy"));
            Policy.setPolicy(savedPolicy);
          }
        }
      }
    
      /** Runs a runnable without any permissions. */
      public void runWithoutPermissions(Runnable r) {
        runWithPermissions(r);
      }
    
    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)
  7. android/guava/src/com/google/common/util/concurrent/Monitor.java

      /**
       * Creates a monitor with a non-fair (but fast) ordering policy. Equivalent to {@code
       * Monitor(false)}.
       */
      public Monitor() {
        this(false);
      }
    
      /**
       * Creates a monitor with the given ordering policy.
       *
       * @param fair whether this monitor should use a fair ordering policy rather than a non-fair (but
       *     fast) one
       */
      public Monitor(boolean fair) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          Policy.setPolicy(policy);
    
          try {
            r.run();
          } finally {
            policy.addPermission(new SecurityPermission("setPolicy"));
            Policy.setPolicy(savedPolicy);
          }
        }
      }
    
      /** Runs a runnable without any permissions. */
      public void runWithoutPermissions(Runnable r) {
        runWithPermissions(r);
      }
    
    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)
  9. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

          return;
        }
        Policy oldPolicy = Policy.getPolicy();
        SecurityManager oldSecurityManager = System.getSecurityManager();
        try {
          Policy.setPolicy(new PermissivePolicy());
          System.setSecurityManager(new SecurityManager());
          doTestUnloadable();
        } finally {
          System.setSecurityManager(oldSecurityManager);
          Policy.setPolicy(oldPolicy);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      private <E extends Enum<E>>
          CycleDetectingLockFactory.WithExplicitOrdering<E> newInstanceWithExplicitOrdering(
              Class<E> enumClass, Policy policy) {
        return new CycleDetectingLockFactory.WithExplicitOrdering<E>(
            policy, CycleDetectingLockFactory.createNodes(enumClass));
      }
    
      public void testDeadlock_twoLocks() {
        // Establish an acquisition order of lockA -> lockB.
        lockA.lock();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (0)
Back to top