Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for currentTask (0.27 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

          taskRunner.assertThreadHoldsLock()
          require(currentTask == this)
          activeThreads++
    
          tasksExecutor.execute {
            taskRunner.assertThreadDoesntHoldLock()
            require(currentTask == this)
            try {
              runnable.run()
              require(currentTask == this) { "unexpected current task: $currentTask" }
            } finally {
              taskRunner.lock.withLock {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

      }
    
      public void testToString() {
        final Runnable[] currentTask = new Runnable[1];
        final Executor delegate =
            new Executor() {
              @Override
              public void execute(Runnable task) {
                currentTask[0] = task;
                task.run();
                currentTask[0] = null;
              }
    
              @Override
              public String toString() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

      }
    
      public void testToString() {
        final Runnable[] currentTask = new Runnable[1];
        final Executor delegate =
            new Executor() {
              @Override
              public void execute(Runnable task) {
                currentTask[0] = task;
                task.run();
                currentTask[0] = null;
              }
    
              @Override
              public String toString() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintWriter.kt

                }
            }
        }
    
        private
        fun isInputTrackingDisabled() = !inputTrackingState.isEnabledForCurrentThread()
    
        private
        fun isExecutingWork() = workExecutionTracker.currentTask.isPresent || workExecutionTracker.isExecutingTransformAction
    
        override fun fileObserved(file: File) {
            fileObserved(file, null)
        }
    
        override fun fileObserved(file: File, consumer: String?) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  5. cmd/erasure-sets.go

    				s.erasureDisksMu.Unlock()
    				return
    			}
    
    			if currentDisk := s.erasureDisks[setIndex][diskIndex]; currentDisk != nil {
    				if !reflect.DeepEqual(currentDisk.Endpoint(), disk.Endpoint()) {
    					err = fmt.Errorf("Detected unexpected drive ordering refusing to use the drive: expecting %s, found %s, refusing to use the drive",
    						currentDisk.Endpoint(), disk.Endpoint())
    					printEndpointError(endpoint, err, false)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.7K bytes
    - Viewed (0)
Back to top