Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for verified (0.28 sec)

  1. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     *   <li>Before the lock is acquired, the lock is checked against the current set of acquired
     *       locks---to each of the acquired locks, an edge from the soon-to-be-acquired lock is either
     *       verified or created.
     *   <li>If a new edge needs to be created, the outgoing edges of the acquired locks are traversed
     *       to check for a cycle that reaches the lock to be acquired. If no cycle is detected, a new
    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)
  2. android/guava/src/com/google/common/net/InetAddresses.java

        return initialPart + penultimate + ":" + ultimate;
      }
    
      private static byte parseOctet(String ipString, int start, int end) {
        // Note: we already verified that this string contains only hex digits, but the string may still
        // contain non-decimal characters.
        int length = end - start;
        if (length <= 0 || length > 3) {
          throw new NumberFormatException();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

            // service or listener). Our contract says it is safe to call this method if
            // all services were NEW when it was called, and this has already been verified above, so we
            // don't propagate the exception.
            logger.get().log(Level.WARNING, "Unable to start Service " + service, e);
          }
        }
        return this;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java

          setFuture(localInputFuture);
          // TODO(cpovirk): Test that fallback is not run in this case.
          return;
        }
    
        @SuppressWarnings("unchecked") // verified safe by isInstanceOfThrowableClass
        X castThrowable = (X) throwable;
        T fallbackResult;
        try {
          fallbackResult = doFallback(localFallback, castThrowable);
        } catch (Throwable t) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          nullableValueEntry.setValue(null);
          fail("setValue on unmodifiable Map.Entry succeeded");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      /**
       * Verifies that an Iterator is unmodifiable.
       *
       * <p>This test only works with iterators that iterate over a finite set.
       */
      public static void assertIteratorIsUnmodifiable(Iterator<?> iterator) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/CollectorTester.java

          }
        };
    
        abstract <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
            A result(Collector<T, A, R> collector, Iterable<T> inputs);
      }
    
      /**
       * Verifies that the specified expected result is always produced by collecting the specified
       * inputs, regardless of how the elements are divided.
       */
      @SafeVarargs
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SetsTest.java

       * same as the given comparator.
       */
      private static <E> void verifySortedSetContents(
          SortedSet<E> set, Iterable<E> iterable, @Nullable Comparator<E> comparator) {
        assertSame(comparator, set.comparator());
        verifySetContents(set, iterable);
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

              test.put(rangeToPut2, 2);
              test.remove(rangeToRemove);
              verify(model, test);
            }
          }
        }
      }
    
      // identical to testPutTwoAndRemove,
      // verifies that putCoalescing() doesn't cause any mappings to change relative to put()
      public void testPutCoalescingTwoAndRemove() {
        for (Range<Integer> rangeToPut1 : RANGES) {
          for (Range<Integer> rangeToPut2 : RANGES) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 28K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMap.java

        @SuppressWarnings("unchecked") // we will only ever read these
        Entry<K, V>[] entries2 = (Entry<K, V>[]) entries;
        return copyOf(Arrays.asList(entries2));
      }
    
      /**
       * Verifies that {@code key} and {@code value} are non-null, and returns a new immutable entry
       * with those values.
       *
       * <p>A call to {@link Entry#setValue} on the returned entry will always throw {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          nullableValueEntry.setValue(null);
          fail("setValue on unmodifiable Map.Entry succeeded");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      /**
       * Verifies that an Iterator is unmodifiable.
       *
       * <p>This test only works with iterators that iterate over a finite set.
       */
      public static void assertIteratorIsUnmodifiable(Iterator<?> iterator) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 15K bytes
    - Viewed (0)
Back to top