Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 36 for enterIf (0.07 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/Prompter.java

     * @since 4.0.0
     */
    @Experimental
    public interface Prompter extends Service {
        /**
         * Prompts the user for a string.
         *
         * @param message the message to display to the user
         * @return the string entered by the user
         * @throws PrompterException if an exception occurs
         */
        @Nonnull
        default String prompt(@Nullable String message) throws PrompterException {
            return prompt(message, null, null);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 3.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java

        @Test
        void testNestedEnter() throws Exception {
            MojoExecutionScope scope = new MojoExecutionScope();
    
            scope.enter();
    
            Object o1 = new Object();
            scope.seed(Object.class, o1);
            assertSame(o1, scope.scope(Key.get(Object.class), () -> null).get());
    
            scope.enter();
            Object o2 = new Object();
            scope.seed(Object.class, o2);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy

        }
    
        private boolean implementedDirectly(CtClass interf, CtClass c) {
            return c.interfaces.any { it.name == interf.name }
        }
    
        private boolean addedInterfaceIsIncubatingOrInternal(CtClass interf, CtClass c) {
            return (isIncubating(interf) && !isIncubating(c)) || isInternal(interf)
        }
    
        private boolean isIncubating(CtClass c) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.8K bytes
    - Click Count (0)
  4. internal/net/net.go

    func GetInterfaceNetStats(interf string) (procfs.NetDevLine, error) {
    	proc, err := procfs.Self()
    	if err != nil {
    		return procfs.NetDevLine{}, err
    	}
    	netDev, err := proc.NetDev()
    	if err != nil {
    		return procfs.NetDevLine{}, err
    	}
    	ndl, ok := netDev[interf]
    	if !ok {
    		return procfs.NetDevLine{}, fmt.Errorf("%v interface not found", interf)
    	}
    	return ndl, nil
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jul 17 08:14:01 GMT 2023
    - 1.2K bytes
    - Click Count (0)
  5. cmd/net.go

    func mustGetLocalIPs() (ipList []net.IP) {
    	ifs, err := net.Interfaces()
    	logger.FatalIf(err, "Unable to get IP addresses of this host")
    
    	for _, interf := range ifs {
    		addrs, err := interf.Addrs()
    		if err != nil {
    			continue
    		}
    		if runtime.GOOS == "windows" && interf.Flags&net.FlagUp == 0 {
    			continue
    		}
    
    		for _, addr := range addrs {
    			var ip net.IP
    			switch v := addr.(type) {
    			case *net.IPNet:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.6K bytes
    - Click Count (1)
  6. .teamcity/src/main/kotlin/promotion/StartReleaseCycle.kt

                    description = "Enter the git 'user.email' configuration to commit change under",
                    display = ParameterDisplay.PROMPT,
                    allowEmpty = true,
                )
                text(
                    "confirmationCode",
                    "",
                    label = "Confirmation Code",
                    description = "Enter the value 'startCycle' (no quotes) to confirm the promotion",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Mar 20 06:13:56 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/promotion/PublishRelease.kt

                    description = "Enter the git 'user.email' configuration to commit change under",
                    display = ParameterDisplay.PROMPT,
                    allowEmpty = true,
                )
                text(
                    "confirmationCode",
                    "",
                    label = "Confirmation Code",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jul 24 03:08:48 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. src/main/webapp/WEB-INF/view/common/help.jsp

    <dl>
    	<dt>Field</dt>
    	<dd>
    		You can search any field by typing the field name followed by a colon
    		":" and then the term you are looking for. If you want to find
    		documents which has "Fess" as the document title, you can enter:
    		<pre>title:Fess</pre>
    		The available fields are "url", "host", "site", "title", "content",
    		"content_length", "last_modified" and "mimetype", and they are
    		customizable.
    	</dd>
    	<dt>Sort</dt>
    	<dd>
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Mon Feb 26 14:01:31 GMT 2018
    - 2.4K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

        verifyOccupiedMethodsInAnotherThread(monitor, false, false, 0);
        monitor.enter();
        try {
          verifyOccupiedMethodsInCurrentThread(monitor, true, true, 1);
          verifyOccupiedMethodsInAnotherThread(monitor, true, false, 0);
          monitor.enter();
          try {
            verifyOccupiedMethodsInCurrentThread(monitor, true, true, 2);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

        verifyOccupiedMethodsInAnotherThread(monitor, false, false, 0);
        monitor.enter();
        try {
          verifyOccupiedMethodsInCurrentThread(monitor, true, true, 1);
          verifyOccupiedMethodsInAnotherThread(monitor, true, false, 0);
          monitor.enter();
          try {
            verifyOccupiedMethodsInCurrentThread(monitor, true, true, 2);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top