Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 153 for Knight (0.16 sec)

  1. guava/src/com/google/common/cache/LongAdder.java

       * Returns the current sum. The returned value is NOT an atomic snapshot; invocation in
       * the absence of concurrent updates returns an accurate result, but concurrent updates that occur
       * while the sum is being calculated might not be incorporated.
       *
       * @return the sum
       */
      @Override
      public long sum() {
        long sum = base;
        Cell[] as = cells;
        if (as != null) {
          int n = as.length;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 5.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/HostSpecifier.java

        this.canonicalForm = canonicalForm;
      }
    
      /**
       * Returns a {@code HostSpecifier} built from the provided {@code specifier}, which is already
       * known to be valid. If the {@code specifier} might be invalid, use {@link #from(String)}
       * instead.
       *
       * <p>The specifier must be in one of these formats:
       *
       * <ul>
       *   <li>A domain name, like {@code google.com}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * Written by Doug Lea with assistance from members of JCP JSR-166 Expert Group and released to
       * the public domain, as explained at http://creativecommons.org/publicdomain/zero/1.0/
       *
       * Other contributors include Andrew Wright, Jeffrey Hayes, Pat Fisher, Mike Judd.
       */
    
      /**
       * An implementation of {@link ExecutorService#invokeAny} for {@link ListeningExecutorService}
       * implementations.
       */
      @SuppressWarnings({
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

       */
      /*
       * TODO(cpovirk): or we could make HOLES_FORBIDDEN a feature. Or we could declare that
       * implementations are permitted to throw IAE if a hole is requested, and we could update
       * test*Hole to permit IAE. (But might this ignore genuine bugs?) But see the TODO above
       * testLower, which could make this all unnecessary
       */
      public static Method[] getHoleMethods() {
        return new Method[] {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          boolean isPossibleChainingCall = interfaceType.isAssignableFrom(method.getReturnType());
          try {
            Object actualReturnValue = method.invoke(wrapper, passedArgs);
            // If we think this might be a 'chaining' call then we allow the return value to either
            // be the wrapper or the returnValue.
            if (!isPossibleChainingCall || wrapper != actualReturnValue) {
              assertEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          boolean isPossibleChainingCall = interfaceType.isAssignableFrom(method.getReturnType());
          try {
            Object actualReturnValue = method.invoke(wrapper, passedArgs);
            // If we think this might be a 'chaining' call then we allow the return value to either
            // be the wrapper or the returnValue.
            if (!isPossibleChainingCall || wrapper != actualReturnValue) {
              assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

      /**
       * Prevents the given methods from being run as part of the test suite.
       *
       * <p>Note: in principle this should never need to be used, but it might be useful if the
       * semantics of an implementation disagree in unforeseen ways with the semantics expected by a
       * test, or to keep dependent builds clean in spite of an erroneous test.
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Collections2.java

       * all elements are so contained, {@code true} is returned, otherwise {@code false}.
       *
       * @param self a collection which might contain all elements in {@code c}
       * @param c a collection whose elements might be contained by {@code self}
       */
      static boolean containsAllImpl(Collection<?> self, Collection<?> c) {
        for (Object o : c) {
          if (!self.contains(o)) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multiset.java

       */
      @Override
      boolean containsAll(Collection<?> elements);
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Note:</b> This method ignores how often any element might appear in {@code c}, and only
       * cares whether or not an element appears at all. If you wish to remove one occurrence in this
       * multiset for every occurrence in {@code c}, see {@link Multisets#removeOccurrences(Multiset,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/QueuesTest.java

            new LinkedBlockingDeque<Object>(10),
            new PriorityBlockingQueue<Object>(10, Ordering.arbitrary()));
      }
    
      /*
       * We need to perform operations in a thread pool, even for simple cases, because the queue might
       * be a SynchronousQueue.
       */
      private ExecutorService threadPool;
    
      @Override
      public void setUp() {
        threadPool = newCachedThreadPool();
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
Back to top