Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 611 for thread_ (0.08 sec)

  1. src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java

            final ClassLoader context = Thread.currentThread().getContextClassLoader();
            try {
                final ClassLoader cl = new URLClassLoader(new URL[0], getClass().getClassLoader());
                Thread.currentThread().setContextClassLoader(cl);
                assertThat(ClassLoaderUtil.getClassLoader(TestCase.class), is(sameInstance(cl)));
            } finally {
                Thread.currentThread().setContextClassLoader(context);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/Platform.java

    @ElementTypesAreNonnullByDefault
    final class Platform {
      private Platform() {}
    
      /** Returns a thread-local 1024-char array. */
      static char[] charBufferFromThreadLocal() {
        // requireNonNull accommodates Android's @RecentlyNullable annotation on ThreadLocal.get
        return requireNonNull(DEST_TL.get());
      }
    
      /**
       * A thread-local destination buffer to keep us from creating new buffers. The starting size is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

      /** The maximum size of [buffer]. */
      val bufferMaxSize: Long,
    ) {
      /** The thread that currently has access to upstream. Possibly null. Guarded by this. */
      var upstreamReader: Thread? = null
    
      /**
       * A buffer for [upstreamReader] to use when pulling bytes from upstream. Only the
       * [upstreamReader] thread may access this buffer.
       */
      val upstreamBuffer = Buffer()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

                    }
                    return toReturn;
                  }
                }
                return super.loadClass(name);
              }
            };
        oldClassLoader = Thread.currentThread().getContextClassLoader();
        Thread.currentThread().setContextClassLoader(classReloader);
        abstractFutureClass = classReloader.loadClass(AbstractFuture.class.getName());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

                    }
                    return toReturn;
                  }
                }
                return super.loadClass(name);
              }
            };
        oldClassLoader = Thread.currentThread().getContextClassLoader();
        Thread.currentThread().setContextClassLoader(classReloader);
        abstractFutureClass = classReloader.loadClass(AbstractFuture.class.getName());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

            SmbClient client = new SmbClient() {
                @Override
                protected ResponseData getResponseData(final String uri, final boolean includeContent) {
                    try {
                        Thread.sleep(10000);
                    } catch (InterruptedException e) {
                        throw new CrawlingAccessException(e);
                    }
                    return null;
                }
            };
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

      private final CountDownLatch exitRun = new CountDownLatch(1);
    
      private Thread executionThread;
      private Throwable thrownByExecutionThread;
      private final Executor exceptionCatchingExecutor =
          new Executor() {
            @Override
            public void execute(Runnable command) {
              executionThread = new Thread(command);
              executionThread.setUncaughtExceptionHandler(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt

          return failFastResponse!!
        }
    
        val result = responseQueue.take()
    
        // If take() returned because we're shutting down, then enqueue another dead letter so that any
        // other threads waiting on take() will also return.
        if (result == DEAD_LETTER) responseQueue.add(DEAD_LETTER)
    
        return result
      }
    
      override fun peek(): MockResponse {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

              protected void doStart() {
                new Thread() {
                  @Override
                  public void run() {
                    notifyStarted();
                    // We need to wait for the main thread to leave the ServiceManager.startAsync call
                    // to
                    // ensure that the thread running the failure callbacks is not the main thread.
                    Uninterruptibles.awaitUninterruptibly(afterStarted);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. fess-crawler-lasta/src/main/resources/crawler.xml

    	<include path="crawler/log.xml"/>
    	<include path="crawler/sitemaps.xml"/>
    
    	<!-- Crawler -->
    	<component name="crawler" class="org.codelibs.fess.crawler.Crawler" instance="prototype" >
    	</component>
    
    	<!-- Crawler Thread -->
    	<component name="crawlerThread" class="org.codelibs.fess.crawler.CrawlerThread" instance="prototype" >
    	</component>
    
    	<!-- Entity -->
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Nov 28 13:40:25 UTC 2017
    - 1.7K bytes
    - Viewed (0)
Back to top