Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 477 for Thread (0.08 seconds)

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

       * instance. This method is guaranteed to only be called once.
       *
       * <p>By default this returns a new {@link ScheduledExecutorService} with a single thread pool
       * that sets the name of the thread to the {@linkplain #serviceName() service name}. Also, the
       * pool will be {@linkplain ScheduledExecutorService#shutdown() shut down} when the service
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

              }
            } else {
              // In the case of a concurrent remove, we might observe a zero value, which means another
              // thread is about to remove (element, existingCounter) from the map. Rather than wait,
              // we can just do that work here.
              AtomicInteger newCounter = new AtomicInteger(occurrences);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 08 22:42:14 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  3. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/NotThreadSafe.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * This annotation indicates that the annotated type is <strong>not</strong> threadsafe
     * and should only be used by a single thread.
     *
     * @see ThreadSafe
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.CLASS)
    @Target(ElementType.TYPE)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 10 21:43:27 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        public void finalizeReferent() {
          finalizeReferentCalled = true;
        }
      }
    
      /**
       * Keeps a weak reference to the underlying reference queue. When this reference is cleared, we
       * know that the background thread has stopped and released its strong reference.
       */
      private WeakReference<ReferenceQueue<Object>> queueReference;
    
      @Test
      public void testThatFinalizerStops() {
        weaklyReferenceQueue();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/eventbus/AllowConcurrentEvents.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Marks an event subscriber method as being thread-safe. This annotation indicates that EventBus
     * may invoke the event subscriber simultaneously from multiple threads.
     *
     * <p>This does not mark the method, and so should be used in combination with {@link Subscribe}.
     *
     * @author Cliff Biffle
     * @since 10.0
     */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  6. .gitignore

    .java-version
    
    # macOS
    # ----
    .DS_Store
    
    # HPROF
    # -----
    *.hprof
    
    # Work dirs
    # ---------
    /incoming-distributions
    /intTestHomeDir
    
    # Logs
    # ----
    /*.log
    
    # Thread dumps for troubleshooting
    *.threaddump
    # ps output for cleaning up leaking Java processes
    *.psoutput
    
    # oh-my-zsh gradle plugin
    .gradletasknamecache
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Nov 11 20:35:18 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java

            l2.forEach(l1::putIfAbsent);
            return l1;
        }
    
        // gather artifactIds which are not unique so that the respective thread names can be extended with the groupId
        public Set<String> duplicateIds() {
            if (duplicateIds == null) {
                synchronized (this) {
                    if (duplicateIds == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 28 12:11:25 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/UncaughtExceptionHandlersTest.java

      private RuntimeWrapper runtimeMock;
    
      @Override
      protected void setUp() {
        runtimeMock = mock(RuntimeWrapper.class);
      }
    
      public void testExiter() {
        new Exiter(runtimeMock).uncaughtException(new Thread(), new Exception());
        verify(runtimeMock).exit(1);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Feb 10 21:03:40 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        cache.getUnchecked("a");
        shouldWait.set(true);
    
        CountDownLatch computationStarted = new CountDownLatch(1);
        CountDownLatch computationComplete = new CountDownLatch(1);
        new Thread(
                new Runnable() {
                  @Override
                  public void run() {
                    computationStarted.countDown();
                    cache.getUnchecked("b");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

                while (true) {
                    try {
                        failure.set(null);
                        systemRegistry.cleanUp();
                        Thread commandThread = new Thread(() -> {
                            try {
                                systemRegistry.execute(reader.readLine(
                                        context.cwd.get().getFileName().toString() + " mvnsh> ",
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 10.1K bytes
    - Click Count (0)
Back to Top