Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 998 for crinal (1.56 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      public void testDifferentOrderings_noViolations() {
        lock3.lock(); // MyOrder, ordinal() == 3
        lock01.lock(); // OtherOrder, ordinal() == 1
      }
    
      public void testExplicitOrderings_generalCycleDetection() {
        lock3.lock(); // MyOrder, ordinal() == 3
        lock01.lock(); // OtherOrder, ordinal() == 1
    
        lock3.unlock();
        PotentialDeadlockException expected =
    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)
  2. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      public void testDifferentOrderings_noViolations() {
        lock3.lock(); // MyOrder, ordinal() == 3
        lock01.lock(); // OtherOrder, ordinal() == 1
      }
    
      public void testExplicitOrderings_generalCycleDetection() {
        lock3.lock(); // MyOrder, ordinal() == 3
        lock01.lock(); // OtherOrder, ordinal() == 1
    
        lock3.unlock();
        PotentialDeadlockException expected =
    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)
  3. android/guava-tests/test/com/google/common/base/Utf8Test.java

      private static final long ONE_BYTE_ROUNDTRIPPABLE_CHARACTERS = 0x007f - 0x0000 + 1;
    
      // 128
      private static final long EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT =
          ONE_BYTE_ROUNDTRIPPABLE_CHARACTERS;
    
      // 1920 [chars 0x0080 to 0x07FF]
      private static final long TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS = 0x07FF - 0x0080 + 1;
    
      // 18,304
      private static final long EXPECTED_TWO_BYTE_ROUNDTRIPPABLE_COUNT =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/Utf8Test.java

      private static final long ONE_BYTE_ROUNDTRIPPABLE_CHARACTERS = 0x007f - 0x0000 + 1;
    
      // 128
      private static final long EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT =
          ONE_BYTE_ROUNDTRIPPABLE_CHARACTERS;
    
      // 1920 [chars 0x0080 to 0x07FF]
      private static final long TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS = 0x07FF - 0x0080 + 1;
    
      // 18,304
      private static final long EXPECTED_TWO_BYTE_ROUNDTRIPPABLE_COUNT =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/BloomFilter.java

         * input).
         */
        int ordinal();
      }
    
      /** The bit set of the BloomFilter (not necessarily power of 2!) */
      private final LockFreeBitArray bits;
    
      /** Number of hashes per element */
      private final int numHashFunctions;
    
      /** The funnel to translate Ts to bytes */
      private final Funnel<? super T> funnel;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        // internal Sync object, so this is safe since the shadowed locks are never
        // exposed or used.
        private final CycleDetectingReentrantReadLock readLock;
        private final CycleDetectingReentrantWriteLock writeLock;
    
        private final LockGraphNode lockGraphNode;
    
        private CycleDetectingReentrantReadWriteLock(LockGraphNode lockGraphNode, boolean fair) {
          super(fair);
    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)
  8. android/guava/src/com/google/common/net/HttpHeaders.java

       * @since 23.4
       */
      public static final class ReferrerPolicyValues {
        private ReferrerPolicyValues() {}
    
        public static final String NO_REFERRER = "no-referrer";
        public static final String NO_REFFERER_WHEN_DOWNGRADE = "no-referrer-when-downgrade";
        public static final String SAME_ORIGIN = "same-origin";
        public static final String ORIGIN = "origin";
        public static final String STRICT_ORIGIN = "strict-origin";
    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)
  9. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        Random random = new Random();
        int warmupPermits = 10;
        double[] coldFactorsToTest = {2.0, 3.0, 10.0};
        double[] qpsToTest = {4.0, 2.0, 1.0, 0.5, 0.1};
        for (int trial = 0; trial < 100; trial++) {
          for (double coldFactor : coldFactorsToTest) {
            for (double qps : qpsToTest) {
              // If warmupPermits = maxPermits - thresholdPermits then
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

       *
       * <p>We use this instead of java.util.BitSet because we need access to the array of longs and we
       * need compare-and-swap.
       */
      static final class LockFreeBitArray {
        private static final int LONG_ADDRESSABLE_BITS = 6;
        final AtomicLongArray data;
        private final LongAddable bitCount;
    
        LockFreeBitArray(long bits) {
          checkArgument(bits > 0, "data length is zero!");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 10.7K bytes
    - Viewed (0)
Back to top