Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 139 for Synchronizer (0.15 sec)

  1. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/worker/TestWorker.java

        private TestClassProcessor processor;
        private TestResultProcessor resultProcessor;
    
        /**
         * Note that the state object is not synchronized and not thread-safe.  Any modifications to the
         * the state should ONLY be made inside the main thread or inside a command passed to the run queue
         * (which will execute on the main thread).
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AggregateFutureState.java

          synchronized (state) {
            if (state.seenExceptions == expect) {
              state.seenExceptions = update;
            }
          }
        }
    
        @Override
        int decrementAndGetRemainingCount(AggregateFutureState<?> state) {
          synchronized (state) {
            return --state.remaining;
          }
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/exceptions/DefaultMultiCauseException.java

                return false;
            }
        }
    
        @Override
        public List<? extends Throwable> getCauses() {
            return causes;
        }
    
        @Override
        public synchronized Throwable initCause(Throwable throwable) {
            causes.clear();
            causes.add(throwable);
            return null;
        }
    
        public void initCauses(Iterable<? extends Throwable> causes) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/build-process-services/src/main/java/org/gradle/internal/installation/CurrentGradleInstallation.java

            return gradleInstallation;
        }
    
        @Nullable // if no installation can be located
        public static GradleInstallation get() {
            return locate().getInstallation();
        }
    
        public synchronized static CurrentGradleInstallation locate() {
            if (instance == null) {
                instance = CurrentGradleInstallationLocator.locate();
            }
            return instance;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/exceptions/DefaultMultiCauseExceptionNoStackTrace.java

        }
    
        public DefaultMultiCauseExceptionNoStackTrace(Factory<String> messageFactory, Iterable<? extends Throwable> causes) {
            super(messageFactory, causes);
        }
    
        @Override
        public synchronized Throwable fillInStackTrace() {
            return this;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_host_send_device_context.cc

      if (!status.ok()) {
        done(status);
        return;
      }
      if (auto st = stream_->BlockHostUntilDone(); !st.ok()) {
        done_event_.SetError(absl::InternalError(absl::StrFormat(
            "failed to synchronize send operation with a stream: %s",
            st.ToString())));
        return;
      }
    
      done_event_.SetStateConcrete();
      done(absl::OkStatus());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_host_recv_device_context.cc

      if (!status.ok()) {
        done(status);
        return;
      }
      if (auto st = stream_->BlockHostUntilDone(); !st.ok()) {
        done_event_.SetError(absl::InternalError(absl::StrFormat(
            "failed to synchronize send operation with a stream: %s",
            st.ToString())));
        return;
      }
    
      done_event_.SetStateConcrete();
      done(absl::OkStatus());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          synchronized (future) {
            if (future.waiters == expect) {
              future.waiters = update;
              return true;
            }
            return false;
          }
        }
    
        @Override
        boolean casListeners(AbstractFuture<?> future, @CheckForNull Listener expect, Listener update) {
          synchronized (future) {
            if (future.listeners == expect) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
  9. guava/src/com/google/common/util/concurrent/AbstractFuture.java

          synchronized (future) {
            if (future.waiters == expect) {
              future.waiters = update;
              return true;
            }
            return false;
          }
        }
    
        @Override
        boolean casListeners(AbstractFuture<?> future, @CheckForNull Listener expect, Listener update) {
          synchronized (future) {
            if (future.listeners == expect) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  10. internal/logger/logrotate.go

    type Writer struct {
    	// opts are the configuration options for this Writer
    	opts Options
    
    	// f is the currently open file used for appends.
    	// Writes to f are only synchronized once Close() is called,
    	// or when files are being rotated.
    	f *os.File
    
    	pw *xioutil.PipeWriter
    	pr *xioutil.PipeReader
    }
    
    // Write writes p into the current file, rotating if necessary.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top