Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 55 for Knight (0.21 sec)

  1. guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

    import java.lang.reflect.Method;
    import junit.framework.TestCase;
    
    /**
     * Tests that all package-private {@code writeReplace} methods are overridden in any existing
     * subclasses. Without such overrides, optimizers might put a {@code writeReplace}-containing class
     * and its subclass in different packages, causing the serialization system to fail to invoke {@code
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

    import java.lang.reflect.Method;
    import junit.framework.TestCase;
    
    /**
     * Tests that all package-private {@code writeReplace} methods are overridden in any existing
     * subclasses. Without such overrides, optimizers might put a {@code writeReplace}-containing class
     * and its subclass in different packages, causing the serialization system to fail to invoke {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/ParametricNullness.java

     *       where the {@code ...} contains the names of all the other {@code ParametricNullness}
     *       annotations in Guava. Or you might prefer to omit Guava from your {@code AnnotatedPackages}
     *       list.
     *   <li><a href="https://developers.google.com/j2objc">J2ObjC</a>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/ParametricNullness.java

     *       where the {@code ...} contains the names of all the other {@code ParametricNullness}
     *       annotations in Guava. Or you might prefer to omit Guava from your {@code AnnotatedPackages}
     *       list.
     *   <li><a href="https://developers.google.com/j2objc">J2ObjC</a>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java

          Runnable runnable, @ParametricNullness V result) {
        return new TrustedListenableFutureTask<>(Executors.callable(runnable, result));
      }
    
      /*
       * In certain circumstances, this field might theoretically not be visible to an afterDone() call
       * triggered by cancel(). For details, see the comments on the fields of TimeoutFuture.
       *
       * <p>{@code volatile} is required for j2objc transpiling:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 5.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Interners.java

            } else {
              /* Someone beat us to it! Trying again...
               *
               * Technically this loop not guaranteed to terminate, so theoretically (extremely
               * unlikely) this thread might starve, but even then, there is always going to be another
               * thread doing progress here.
               */
            }
          }
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

               * can be used with collections that may contain null. This collection is a collection of
               * non-null Entry objects (Entry objects that might contain null values but are not
               * themselves null), so we can treat it as a plain `Object[]`.
               */
              @SuppressWarnings("nullness")
              Object[] result = standardToArray();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Apr 22 01:15:23 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/AbstractCache.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>This implementation of {@code getAllPresent} lacks any insight into the internal cache data
       * structure, and is thus forced to return the query keys instead of the cached keys. This is only
       * possible with an unsafe cast which requires {@code keys} to actually be of type {@code K}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
  9. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 5.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

        return new CompactLinkedHashSet<>(expectedSize);
      }
    
      private static final int ENDPOINT = -2;
    
      // TODO(user): predecessors and successors should be collocated (reducing cache misses).
      // Might also explore collocating all of [hash, next, predecessor, successor] fields of an
      // entry in a *single* long[], though that reduces the maximum size of the set by a factor of 2
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.5K bytes
    - Viewed (0)
Back to top