Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 133 for enter_1 (0.24 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/events/BooleanQuestionPromptEvent.java

                return PromptResult.response(BooleanUtils.toBoolean(trimmed));
            }
            String defaultString = defaultValue ? "yes" : "no";
            return PromptResult.newPrompt("Please enter 'yes' or 'no' (default: '" + defaultString + "'): ");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java

        @Inject
        private SessionScope sessionScope;
    
        protected String component() {
            return "installer";
        }
    
        @Test
        void testArtifactInstallation() throws Exception {
            sessionScope.enter();
            try {
                sessionScope.seed(MavenSession.class, mock(MavenSession.class));
    
                String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/events/BooleanQuestionPromptEventTest.groovy

            def event = new BooleanQuestionPromptEvent(123, "question?", true)
    
            expect:
            def result = event.convert(input)
            result.response == null
            result.newPrompt == "Please enter 'yes' or 'no' (default: 'yes'): "
    
            where:
            input  | _
            'bla'  | ''
            'nope' | ''
            'yep'  | ''
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

        this.withLock {
          while (headersQueue.isEmpty() && errorCode == null) {
            val doReadTimeout = callerIsIdle || doReadTimeout()
            if (doReadTimeout) {
              readTimeout.enter()
            }
            try {
              waitForIo()
            } finally {
              if (doReadTimeout) {
                readTimeout.exitAndThrowIfTimedOut()
              }
            }
          }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

        new_types.back() = rewriter.getType<tf_executor::ControlType>();
    
        llvm::SmallVector<Value, 2> new_operands;
        FilterOutBlockArgControlDep(operands, new_operands);
    
        rewriter.replaceOpWithNewOp<tf_executor::EnterOp>(
            op, new_types, new_operands, op->getAttrs());
        return success();
      }
    };
    
    class ConvertExitOp : public ConversionPattern {
     public:
      explicit ConvertExitOp(MLIRContext *context)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. src/cmd/trace/goroutinegen.go

    	if to == trace.GoSyscall {
    		start := ev.Time()
    		if from == trace.GoUndetermined {
    			// Back-date the event to the start of the trace.
    			start = ctx.startTime
    		}
    		// Write down that we've entered a syscall. Note: we might have no G or P here
    		// if we're in a cgo callback or this is a transition from GoUndetermined
    		// (i.e. the G has been blocked in a syscall).
    		gs.syscallBegin(start, goID, ev.Stack())
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

        @Inject
        private SessionScope sessionScope;
    
        protected String component() {
            return "deployer";
        }
    
        @Test
        void testArtifactInstallation() throws Exception {
            sessionScope.enter();
            try {
                sessionScope.seed(MavenSession.class, mock(MavenSession.class));
    
                String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/TransformErrorHandler.java

         * Call this when an error occurs during class loading.
         * This method only records the error but doesn't throw any exceptions.
         * The exception will be rethrown (wrapped in a ClassNotFoundException) when this thread enters or exits the class loading scope.
         * <p>
         * This may be called outside the class loading scope.
         *
         * @param className the name of the class that was loading
         * @param cause the original exception
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DynamicCallProblemReporting.kt

        }
    
        override fun leaveDynamicCall(entryPoint: Any) {
            val innermostCall = currentThreadState.callStack.pop()
            check(entryPoint == innermostCall.entryPoint) { "Mismatched enter-leave calls in DynamicCallProjectIsolationProblemReporting" }
        }
    
        override fun unreportedProblemInCurrentCall(problemKey: Any): Boolean {
            val currentThreadCallStack = currentThreadState.callStack
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java

            assertNotNull(bean.myBean);
            assertNotSame(bean.myBean.getClass(), MySessionScopedBean.class);
    
            assertThrows(OutOfScopeException.class, () -> bean.myBean.getSession());
    
            sessionScope.enter();
            sessionScope.seed(Session.class, this.session);
            assertNotNull(bean.myBean.getSession());
            assertNotNull(bean.myBean.getAnotherBean());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Apr 23 12:52:20 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top