Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 680 for Threads (0.06 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

            }
            return tmp[0] & 0xFF;
        }
    
    /**
     * Reads up to b.length bytes of data from this input stream into an array of bytes.
     *
     * @throws IOException if a network error occurs
     */
    
        public int read( byte[] b ) throws IOException {
            return read( b, 0, b.length );
        }
    
    /**
     * Reads up to len bytes of data from this input stream into an array of bytes.
     *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

       * Futures#addCallback addCallback()}.
       *
       * <p>Memory consistency effects: Actions in a thread prior to adding a listener <a
       * href="https://docs.oracle.com/javase/specs/jls/se7/html/jls-17.html#jls-17.4.5">
       * <i>happen-before</i></a> its execution begins, perhaps in another thread.
       *
       * <p>Guava implementations of {@code ListenableFuture} promptly release references to listeners
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

     * method.
     *
     * <p>The {@code standard} methods and any collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
     * @author Louis Wasserman
     */
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingSortedMultiset<E extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ConsumingQueueIterator.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An Iterator implementation which draws elements from a queue, removing them from the queue as it
     * iterates. This class is not thread safe.
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class ConsumingQueueIterator<T extends @Nullable Object> extends AbstractIterator<T> {
      private final Queue<T> queue;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jan 21 14:48:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/FinalizableSoftReference.java

    import java.lang.ref.ReferenceQueue;
    import java.lang.ref.SoftReference;
    import javax.annotation.CheckForNull;
    
    /**
     * Soft reference with a {@code finalizeReferent()} method which a background thread invokes after
     * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link
     * ReferenceQueue}.
     *
     * @author Bob Lee
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 15:09:35 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        CountDownLatch doneSignal = new CountDownLatch(1);
        Thread thread =
            new Thread(
                () -> {
                  try {
                    cache.get(key, loader);
                  } catch (UncheckedExecutionException | ExecutionException e) {
                    doneSignal.countDown();
                  }
                });
        thread.start();
    
        boolean done = doneSignal.await(1, SECONDS);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        CountDownLatch doneSignal = new CountDownLatch(1);
        Thread thread =
            new Thread(
                () -> {
                  try {
                    cache.get(key, loader);
                  } catch (UncheckedExecutionException | ExecutionException e) {
                    doneSignal.countDown();
                  }
                });
        thread.start();
    
        boolean done = doneSignal.await(1, SECONDS);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  8. .github/workflows/maven.yml

                branch=${PR_HEAD_LABEL#*:}
              else
                user=${GITHUB_REPOSITORY%/*}
                branch=${GITHUB_REF#refs/heads/}
              fi
              if [ $branch != "master" ]; then
                git ls-remote https://github.com/$user/$repo.git | grep "refs/heads/${branch}$" > /dev/null
                if [ $? -eq 0 ]; then
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Jun 03 17:58:28 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

          run = true;
        }
      }
    
      private static class TestCallable implements Callable<String> {
        @Override
        public String call() {
          return "foo";
        }
      }
    
      /** Simple same thread listening executor service that doesn't handle shutdown. */
      private static class TestListeningExecutorService extends AbstractListeningExecutorService {
    
        @Override
        public void execute(Runnable runnable) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java

        /**
         * Ctor that creates "managed" ClassWorld. This constructor is not used in "normal" circumstances.
         */
        public ClingSupport() {
            this(new ClassWorld(CORE_CLASS_REALM_ID, Thread.currentThread().getContextClassLoader()), true);
        }
    
        /**
         * Ctor to be used when running in ClassWorlds Launcher.
         */
        public ClingSupport(ClassWorld classWorld) {
            this(classWorld, false);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top