Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,234 for toRead (0.14 sec)

  1. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStoreBackedResultsProvider.java

        }
    
        private TestOutputStore.Reader getReader() {
            Thread thread = Thread.currentThread();
            TestOutputStore.Reader reader = readers.get(thread);
            if (reader == null) {
                reader = outputStore.reader();
                readers.put(thread, reader);
            }
            return reader;
        }
    
        @Override
        public void close() throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarder.java

            // Use a single reader thread, and make it a daemon thread so that it does not block process shutdown
            // In most cases, we try to cleanly shut down all threads. However, in this case it is difficult to disconnect a thread blocked trying to read from the
            // process' stdin, so use a daemon thread instead.
            executor = Executors.newSingleThreadExecutor(r -> {
                Thread thread = new Thread(r);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

      }
    
      /**
       * Causes this thread to call the named method, and asserts that this thread becomes blocked on
       * the lock-like object. The lock-like object must have a method equivalent to {@link
       * java.util.concurrent.locks.ReentrantLock#hasQueuedThread(Thread)}.
       */
      public void callAndAssertBlocks(String methodName, Object... arguments) throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/actor/internal/DefaultActorFactorySpec.groovy

            def actor = factory.createBlockingActor(target)
            def testThread = Thread.currentThread()
    
            when:
            actor.dispatch(new MethodInvocation(TargetObject.class.getMethod('doStuff', String.class), ['param'] as Object[]))
    
            then:
            1 * target.doStuff('param') >> {
                assert Thread.currentThread() == testThread
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

       * state: BLOCKED, WAITING, or TIMED_WAITING.
       */
      void waitForThreadToEnterWaitState(Thread thread, long timeoutMillis) {
        long startTime = System.nanoTime();
        for (; ; ) {
          Thread.State s = thread.getState();
          if (s == Thread.State.BLOCKED || s == Thread.State.WAITING || s == Thread.State.TIMED_WAITING)
            return;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

            return processRequest(uri, true);
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.client.CrawlerClient#doHead(java.lang.String)
         */
        @Override
        public ResponseData doHead(final String url) {
            try {
                final ResponseData responseData = processRequest(url, false);
                responseData.setMethod(Constants.HEAD_METHOD);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        }
      }
    
      /** Wait for the given thread to reach the {@link State#TIMED_WAITING} thread state. */
      void awaitTimedWaiting(Thread thread) {
        while (true) {
          switch (thread.getState()) {
            case BLOCKED:
            case NEW:
            case RUNNABLE:
            case WAITING:
              Thread.yield();
              break;
            case TIMED_WAITING:
              return;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ProjectLeaseRegistry.java

         * thread to run as if it were executing an isolated task.
         *
         * Does not release worker lease.
         */
        void runAsIsolatedTask();
    
        /**
         * Returns {@code true} when this registry grants multiple threads access to projects (but no more than one thread per given project)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/SynchronizedDispatchConnection.java

                LOGGER.debug("thread {}: dispatching {}", Thread.currentThread().getId(), message);
            }
            lock.lock();
            try {
                if (dispatching) {
                    // Safety check: dispatching a message should not cause the thread to dispatch another message (eg should not do any logging)
                    throw new IllegalStateException("This thread is already dispatching a message.");
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/transport/Transport.java

            Thread t = this.thread;
            if ( t != null && Thread.currentThread() != t ) {
                this.thread = null;
                try {
                    log.debug("Interrupting transport thread");
                    t.interrupt();
                    log.debug("Joining transport thread");
                    t.join(timeout);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
Back to top