Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 376 for Targs (0.02 sec)

  1. internal/logger/console.go

    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.quiet(msg+"\n", args...)
    	default:
    		if len(msg) != 0 && len(args) == 0 {
    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.pretty(msg+"\n", args...)
    	}
    }
    
    // Fatal prints only fatal error message with no stack trace
    // it will be called for input validation failures
    func Fatal(err error, msg string, data ...interface{}) {
    	fatal(err, msg, data...)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. internal/arn/arn_test.go

    			}
    		})
    	}
    }
    
    func TestNewIAMRoleARN(t *testing.T) {
    	type args struct {
    		resourceID   string
    		serverRegion string
    	}
    	tests := []struct {
    		name    string
    		args    args
    		want    ARN
    		wantErr bool
    	}{
    		{
    			name: "valid resource ID must succeed",
    			args: args{
    				resourceID:   "my-role",
    				serverRegion: "us-east-1",
    			},
    			want: ARN{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/ClSQLException.java

        private final String messageCode;
    
        private final Object[] args;
    
        private final String sql;
    
        /**
         * {@link ClSQLException}を作成します。
         *
         * @param messageCode
         *            メッセージコード
         * @param args
         *            引数の並び
         */
        public ClSQLException(final String messageCode, final Object[] args) {
            this(messageCode, args, null, 0, null, null);
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. internal/dsync/dsync-server_test.go

    	lockServers = make([]*lockServer, numberOfNodes)
    )
    
    func getLockArgs(r *http.Request) (args LockArgs, err error) {
    	buf, err := io.ReadAll(r.Body)
    	if err != nil {
    		return args, err
    	}
    	_, err = args.UnmarshalMsg(buf)
    	return args, err
    }
    
    type lockServerHandler struct {
    	lsrv *lockServer
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 23 16:46:37 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/EmptyArgumentException.java

         *
         * @param argName
         *            引数の名前
         * @param messageCode
         *            メッセージコード
         * @param args
         *            引数の配列
         */
        public EmptyArgumentException(final String argName, final String messageCode, final Object[] args) {
            this(argName, messageCode, args, null);
        }
    
        /**
         * {@link EmptyArgumentException}を作成します。
         *
         * @param argName
         *            引数の名前
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. cmd/local-locker.go

    	now := UTCNow()
    	for i, resource := range args.Resources {
    		l.lockMap[resource] = []lockRequesterInfo{
    			{
    				Name:            resource,
    				Writer:          true,
    				Source:          args.Source,
    				Owner:           args.Owner,
    				UID:             args.UID,
    				Timestamp:       now.UnixNano(),
    				TimeLastRefresh: now.UnixNano(),
    				Group:           len(args.Resources) > 1,
    				Quorum:          *args.Quorum,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. internal/config/identity/plugin/config.go

    		RoleARN:     roleArn,
    	}
    	if err = args.Validate(); err != nil {
    		return args, err
    	}
    	return args, nil
    }
    
    // New - initializes Authorization Management Plugin.
    func New(shutdownCtx context.Context, args Args) *AuthNPlugin {
    	if args.URL == nil || args.URL.Scheme == "" && args.AuthToken == "" {
    		return nil
    	}
    	plugin := AuthNPlugin{
    		args:        args,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java

    public class CleanArgument {
        public static String[] cleanArgs(String[] args) {
            try {
                return doCleanArgs(args);
            } catch (RuntimeException e) {
                for (String a : args) {
                    System.out.println("Arg: '" + a + "'");
                }
                throw e;
            }
        }
    
        private static String[] doCleanArgs(String[] args) {
            List<String> cleaned = new ArrayList<>();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/CleanArgumentTest.java

        @Test
        void cleanArgs() {
            String[] args = {
                "\"",
            };
            CleanArgument.cleanArgs(args);
        }
    
        @Test
        void cleanArgsShouldRemoveWrongSurroundingQuotes() {
            String[] args = {"\"-Dfoo=bar", "\"-Dfoo2=bar two\""};
            String[] cleanArgs = CleanArgument.cleanArgs(args);
            assertEquals(args.length, cleanArgs.length);
            assertEquals("-Dfoo=bar", cleanArgs[0]);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. chainable_api.go

    //	db.Distinct("name").Find(&results)
    //	// Select distinct name/age pairs from users
    //	db.Distinct("name", "age").Find(&results)
    func (db *DB) Distinct(args ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.Distinct = true
    	if len(args) > 0 {
    		tx = tx.Select(args[0], args[1:]...)
    	}
    	return
    }
    
    // Select specify fields that you want when querying, creating, updating
    //
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top