Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for SetState (0.19 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/ComponentState.java

                            if (lenient != null) {
                                setState(lenient, ComponentGraphSpecificResolveState.EMPTY_STATE);
                                return true;
                            }
                        }
                    }
                }
            }
            return false;
        }
    
        public void setState(ComponentGraphResolveState state, ComponentGraphSpecificResolveState graphState) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 17K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/ResolveState.java

            ComponentState rootComponent = rootModule.getVersion(moduleVersionId, componentId);
            rootComponent.setRoot();
            rootComponent.setState(rootComponentState, ComponentGraphSpecificResolveState.EMPTY_STATE);
            rootModule.select(rootComponent);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/ModuleResolveState.java

                if (componentState.getMetadataOrNull() == null) {
                    // TODO LJA Using the root as the NodeState here is a bit of a cheat, investigate if we can track the proper NodeState
                    componentState.setState(LenientPlatformGraphResolveState.of(idGenerator, (ModuleComponentIdentifier) componentState.getComponentId(), componentState.getId(), platformState, resolveState.getRoot(), resolveState), ComponentGraphSpecificResolveState.EMPTY_STATE);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. src/net/http/server.go

    	if c.r.hasByte {
    		if _, err := c.bufr.Peek(c.bufr.Buffered() + 1); err != nil {
    			return nil, nil, fmt.Errorf("unexpected Peek failure reading buffered byte: %v", err)
    		}
    	}
    	c.setState(rwc, StateHijacked, runHooks)
    	return
    }
    
    // This should be >= 512 bytes for DetectContentType,
    // but otherwise it's somewhat arbitrary.
    const bufferBeforeChunkingSize = 2048
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeState.java

                state = LenientPlatformGraphResolveState.of(resolveState.getIdGenerator(), platformComponentIdentifier, potentialEdge.toModuleVersionId, virtualPlatformState, this, resolveState);
                potentialEdge.component.setState(state, ComponentGraphSpecificResolveState.EMPTY_STATE);
                // And now let's make sure we do not have another version of that virtual platform missing its metadata
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 58.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

          completed.assertCompletionExpected();
          assertEquals(Thread.State.TERMINATED, thread.getState());
        }
    
        void joinSuccessfully(long timeoutMillis) {
          Uninterruptibles.joinUninterruptibly(thread, timeoutMillis, MILLISECONDS);
          completed.assertCompletionExpected();
          assertEquals(Thread.State.TERMINATED, thread.getState());
        }
    
        void joinUnsuccessfully(long timeoutMillis) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 16:06:39 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          }
        }
    
        void awaitWaiting() {
          while (!isBlocked()) {
            if (getState() == State.TERMINATED) {
              throw new RuntimeException("Thread exited");
            }
            Thread.yield();
          }
        }
    
        private boolean isBlocked() {
          return getState() == Thread.State.WAITING && LockSupport.getBlocker(this) == future;
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          }
        }
    
        void awaitWaiting() {
          while (!isBlocked()) {
            if (getState() == State.TERMINATED) {
              throw new RuntimeException("Thread exited");
            }
            Thread.yield();
          }
        }
    
        private boolean isBlocked() {
          return getState() == Thread.State.WAITING && LockSupport.getBlocker(this) == future;
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  9. 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;
          else if (s == Thread.State.TERMINATED) fail("Unexpected thread termination");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ProblemReportingCrossProjectModelAccess.kt

                shouldNotBeUsed()
            }
    
            override fun getStandardOutputCapture(): StandardOutputCapture {
                shouldNotBeUsed()
            }
    
            override fun getState(): ProjectStateInternal {
                onAccess("state")
                return delegate.state
            }
    
            override fun getExtensions(): ExtensionContainerInternal {
                onAccess("extensions")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 41.1K bytes
    - Viewed (0)
Back to top