Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 466 for argv (0.03 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

                public class App {
                    public static void main(String... args) {
                        System.out.println("Hello World!");
                    }
                }
                """;
    
        protected Map<String, String> invoke(Path cwd, Path userHome, Collection<String> goals, Collection<String> args)
                throws Exception {
            Files.createDirectories(cwd.resolve(".mvn"));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. internal/config/errors-utils.go

    }
    
    // Msgf - Replace the current error's message
    func (u Err) Msgf(m string, args ...any) Err {
    	e := u.Clone()
    	if len(args) == 0 {
    		e.msg = m
    	} else {
    		e.msg = fmt.Sprintf(m, args...)
    	}
    	return e
    }
    
    // Hint - Replace the current error's message
    func (u Err) Hint(m string, args ...any) Err {
    	e := u.Clone()
    	e.hint = fmt.Sprintf(m, args...)
    	return e
    }
    
    // ErrFn function wrapper
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  3. docs/resiliency/resiliency-tests.sh

    	WANT='{ "before": { "color": "green", "missing": 1, "corrupted": 0 }, "after": { "color": "green", "missing": 0, "corrupted": 0 }, "args": {"file": "'${FILE}'", "dir": "'${DIR}'"} }'
    	verify_resiliency_healing "${FUNCNAME[0]}" "${WANT}"
    
    	# Remove two xl.meta's -- status becomes yellow
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Dec 21 04:24:45 GMT 2024
    - 20.5K bytes
    - Click Count (0)
  4. .github/workflows/CheckBadMerge.groovy

        ]
    
        static void main(String[] args) {
            if (args.length != 1) {
                System.err.println("Usage: groovy CheckBadMerge.groovy <commits_file>")
                System.exit(1)
            }
    
            List<String> commits = Files.readAllLines(Paths.get(args[0]))
            try {
                commits.each { checkCommit(it) }
            } finally {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jan 24 10:03:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. ci/official/utilities/convert_msys_paths_to_win_paths.py

                          help='List of variables to ignore')
      parser.add_argument('--whitelist-prefix',
                          nargs='*',
                          help='Prefix for variables to include')
      args = parser.parse_args()
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Aug 07 23:01:25 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java

        public int run(
                String[] args,
                @Nullable InputStream stdIn,
                @Nullable OutputStream stdOut,
                @Nullable OutputStream stdErr,
                boolean embedded)
                throws IOException {
            try (Invoker invoker = createInvoker()) {
                return invoker.invoke(createParser()
                        .parseInvocation(createParserRequestBuilder(args)
                                .stdIn(stdIn)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Feb 08 16:25:25 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. cmd/xl-storage-format-utils_test.go

    func Test_hashDeterministicString(t *testing.T) {
    	tests := []struct {
    		name string
    		arg  map[string]string
    	}{
    		{
    			name: "zero",
    			arg:  map[string]string{},
    		},
    		{
    			name: "nil",
    			arg:  nil,
    		},
    		{
    			name: "one",
    			arg:  map[string]string{"key": "value"},
    		},
    		{
    			name: "several",
    			arg: map[string]string{
    				xhttp.AmzRestore:                 "FAILED",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/reflect/Invokable.java

      public abstract boolean isVarArgs();
    
      /**
       * Invokes with {@code receiver} as 'this' and {@code args} passed to the underlying method and
       * returns the return value; or calls the underlying constructor with {@code args} and returns the
       * constructed instance.
       *
       * @throws IllegalAccessException if this {@code Constructor} object enforces Java language access
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  9. docs/debugging/healing-bin/main.go

    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}
    `
    	app.Flags = []cli.Flag{}
    	app.Action = func(c *cli.Context) error {
    		if !c.Args().Present() {
    			cli.ShowAppHelpAndExit(c, 1) // last argument is exit code
    		}
    
    		ht := make(map[string]map[string]any)
    		file := c.Args().Get(0)
    		if strings.HasSuffix(file, ".zip") {
    			var sz int64
    			f, err := os.Open(file)
    			if err != nil {
    				return err
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. tests/joins_test.go

    		t.Fatalf("wrong pet name")
    	}
    }
    
    func TestJoinArgsWithDB(t *testing.T) {
    	user := *GetUser("joins-args-db", Config{Pets: 2})
    	DB.Save(&user)
    
    	// test where
    	var user1 User
    	onQuery := DB.Where(&Pet{Name: "joins-args-db_pet_2"})
    	if err := DB.Joins("NamedPet", onQuery).Where("users.name = ?", user.Name).First(&user1).Error; err != nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 15K bytes
    - Click Count (0)
Back to Top