Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for enter_0 (0.14 sec)

  1. .github/workflows/scorecard.yml

              #   - See https://github.com/ossf/scorecard-action#publishing-results.
              # For private repositories:
              #   - `publish_results` will always be set to `false`, regardless
              #     of the value entered here.
              publish_results: true
    
          # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
          # format to the repository Actions tab.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 04 17:53:21 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/events/YesNoQuestionPromptEventTest.groovy

            def event = new YesNoQuestionPromptEvent(123, "question?")
    
            expect:
            def result = event.convert(input)
            result.response == null
            result.newPrompt == "Please enter 'yes' or 'no': "
    
            where:
            input   | _
            ''      | _
            'bla'   | _
            'y'     | _
            'Y'     | _
            'ye'    | _
            'YES'   | _
            'n'     | _
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Identities.kt

        fun putInstance(id: Int, instance: Any) {
            instanceIds[id] = instance
        }
    }
    
    
    class CircularReferences {
    
        private
        val refs = ReferenceOpenHashSet<Any>()
    
        fun enter(reference: Any) {
            require(refs.add(reference))
        }
    
        operator fun contains(reference: Any) =
            refs.contains(reference)
    
        fun leave(reference: Any) {
            require(refs.remove(reference))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 20:48:51 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/events/YesNoQuestionPromptEvent.java

            String trimmed = text.trim();
            if (YES_NO_CHOICES.contains(trimmed)) {
                return PromptResult.response(BooleanUtils.toBoolean(trimmed));
            }
            return PromptResult.newPrompt("Please enter 'yes' or 'no': ");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top