Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,273 for have (0.15 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

    import java.lang.reflect.Method;
    import java.util.Locale;
    import junit.framework.TestCase;
    
    /**
     * Since annotations have some reusability issues that force copy and paste all over the place, it's
     * worth having a test to ensure that all our Feature enums have their annotations correctly set up.
     *
     * @author George van den Driessche
     */
    public class FeatureEnumTest extends TestCase {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

            }
    
            int have = this.handle.sendrecv(buf, off, length, inB, getMaxRecv());
    
            int fraglen = Encdec.dec_uint16le(inB, 8);
            if ( fraglen > getMaxRecv() ) {
                throw new IOException("Unexpected fragment length: " + fraglen);
            }
    
            while ( have < fraglen ) {
                int r = this.handle.recv(inB, have, fraglen - have);
                if ( r == 0 ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jan 26 11:51:07 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

      /*
       * Ideally, this class would have exposed only constructors that require a non-null cause. See
       * https://github.com/jspecify/jspecify-reference-checker/blob/61aafa4ae52594830cfc2d61c8b113009dbdb045/src/main/java/com/google/jspecify/nullness/NullSpecTransfer.java#L789
       * and https://github.com/jspecify/jspecify/issues/490.
       *
       * (That would also have ensured that its cause was always an Error, rather than possibly another
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

         *       thread
         *   <li>If this field's value == null because of unsafe publication, we know that it isn't the
         *       object associated with our thread, because if it was the publication wouldn't have been
         *       unsafe and we'd have seen our thread as the value. This state is also why a new
         *       ThreadConfinedTaskQueue object must be created for each inline execution, because
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

       * we're guaranteed to have properly initialized the subclass.
       */
      final void init() {
        /*
         * requireNonNull is safe because this is called from the constructor after `futures` is set but
         * before releaseResources could be called (because we have not yet set up any of the listeners
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractIterator.java

      /** Constructor for use by subclasses. */
      protected AbstractIterator() {}
    
      private enum State {
        /** We have computed the next element and haven't returned it yet. */
        READY,
    
        /** We haven't yet computed or have already returned the element. */
        NOT_READY,
    
        /** We have reached the end of the data and are finished. */
        DONE,
    
        /** We've suffered an exception and are kaput. */
        FAILED,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/HashCode.java

       */
      byte[] getBytesInternal() {
        return asBytes();
      }
    
      /**
       * Returns whether this {@code HashCode} and that {@code HashCode} have the same value, given that
       * they have the same number of bits.
       */
      abstract boolean equalsSameBits(HashCode that);
    
      /**
       * Creates a 32-bit {@code HashCode} representation of the given int value. The underlying bytes
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ListMultimap.java

       *
       * <p>Because the values for a given key may have duplicates and follow the insertion ordering,
       * this method returns a {@link List}, instead of the {@link java.util.Collection} specified in
       * the {@link Multimap} interface.
       */
      @Override
      List<V> get(@ParametricNullness K key);
    
      /**
       * {@inheritDoc}
       *
       * <p>Because the values for a given key may have duplicates and follow the insertion ordering,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Callables.java

        return () -> listeningExecutorService.submit(callable);
      }
    
      /**
       * Wraps the given callable such that for the duration of {@link Callable#call} the thread that is
       * running will have the given name.
       *
       * @param callable The callable to wrap
       * @param nameSupplier The supplier of thread names, {@link Supplier#get get} will be called once
       *     for each invocation of the wrapped callable.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ConcurrencyDependencyGraph.java

        /**
         * @return set of projects that have yet to be processed successfully by the build.
         */
        public Set<MavenProject> getUnfinishedProjects() {
            Set<MavenProject> unfinished = new HashSet<>(projectBuilds.getProjects());
            unfinished.removeAll(finishedProjects);
            return unfinished;
        }
    
        /**
         * @return set of projects that have been successfully processed by the build.
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.1K bytes
    - Viewed (0)
Back to top