Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for cleanArgs (0.24 sec)

  1. maven-embedder/src/test/java/org/apache/maven/cli/CleanArgumentTest.java

        void cleanArgsShouldRemoveWrongSurroundingQuotes() {
            String[] args = {"\"-Dfoo=bar", "\"-Dfoo2=bar two\""};
            String[] cleanArgs = CleanArgument.cleanArgs(args);
            assertEquals(args.length, cleanArgs.length);
            assertEquals("-Dfoo=bar", cleanArgs[0]);
            assertEquals("-Dfoo2=bar two", cleanArgs[1]);
        }
    
        @Test
        void testCleanArgsShouldNotTouchCorrectlyQuotedArgumentsUsingDoubleQuotes() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java

                cleaned.add(currentArg.toString());
            }
    
            int cleanedSz = cleaned.size();
    
            String[] cleanArgs;
    
            if (cleanedSz == 0) {
                cleanArgs = args;
            } else {
                cleanArgs = cleaned.toArray(new String[0]);
            }
    
            return cleanArgs;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 12:51:05 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

        public CommandLine parse(String[] args) throws ParseException {
            // We need to eat any quotes surrounding arguments...
            String[] cleanArgs = CleanArgument.cleanArgs(args);
    
            CommandLineParser parser = new DefaultParser();
    
            return parser.parse(options, cleanArgs);
        }
    
        public void displayHelp(PrintStream stdout) {
            stdout.println();
    
            PrintWriter pw = new PrintWriter(stdout);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/check.go

    	check.delayed = check.delayed[:top]
    }
    
    // cleanup runs cleanup for all collected cleaners.
    func (check *Checker) cleanup() {
    	// Don't use a range clause since Named.cleanup may add more cleaners.
    	for i := 0; i < len(check.cleaners); i++ {
    		check.cleaners[i].cleanup()
    	}
    	check.cleaners = nil
    }
    
    func (check *Checker) record(x *operand) {
    	// convert x into a user-friendly set of values
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  5. src/go/types/check.go

    	check.delayed = check.delayed[:top]
    }
    
    // cleanup runs cleanup for all collected cleaners.
    func (check *Checker) cleanup() {
    	// Don't use a range clause since Named.cleanup may add more cleaners.
    	for i := 0; i < len(check.cleaners); i++ {
    		check.cleaners[i].cleanup()
    	}
    	check.cleaners = nil
    }
    
    func (check *Checker) record(x *operand) {
    	// convert x into a user-friendly set of values
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. docs/en/docs/async.md

    But in this case, if you could bring the 8 ex-cashier/cooks/now-cleaners, and each one of them (plus you) could take a zone of the house to clean it, you could do all the work in **parallel**, with the extra help, and finish much sooner.
    
    In this scenario, each one of the cleaners (including you) would be a processor, doing their part of the job.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 23K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/named.go

    	switch t.underlying.(type) {
    	case nil:
    		if t.TypeArgs().Len() == 0 {
    			panic("nil underlying")
    		}
    	case *Named:
    		t.under() // t.under may add entries to check.cleaners
    	}
    	t.check = nil
    }
    
    // Obj returns the type name for the declaration defining the named type t. For
    // instantiated types, this is same as the type name of the origin type.
    func (t *Named) Obj() *TypeName {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  8. src/go/types/named.go

    	switch t.underlying.(type) {
    	case nil:
    		if t.TypeArgs().Len() == 0 {
    			panic("nil underlying")
    		}
    	case *Named:
    		t.under() // t.under may add entries to check.cleaners
    	}
    	t.check = nil
    }
    
    // Obj returns the type name for the declaration defining the named type t. For
    // instantiated types, this is same as the type name of the origin type.
    func (t *Named) Obj() *TypeName {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. cmd/kubelet/app/server.go

    		}
    	}
    	return &kubelet.Dependencies{
    		Auth:                nil, // default does not enforce auth[nz]
    		CAdvisorInterface:   nil, // cadvisor.New launches background processes (bg http.ListenAndServe, and some bg cleaners), not set here
    		Cloud:               nil, // cloud provider might start background processes
    		ContainerManager:    nil,
    		KubeClient:          nil,
    		HeartbeatClient:     nil,
    		EventClient:         nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    static String quoteArgument(String) throws CommandLineException; public static String toString(String[]); public static String[] translateCommandline(String) throws Exception; public int size(); public Object clone(); public void clear(); public void clearArgs(); public Commandline$Marker createMarker(); public void setWorkingDirectory(String); public java.io.File getWorkingDirectory(); public Process execute() throws CommandLineException; public java.util.Properties getSystemEnvVars() throws Exception;...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 16 20:15:40 UTC 2007
    - 164.6K bytes
    - Viewed (0)
Back to top