Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 190 for args2 (0.78 sec)

  1. src/main/java/org/codelibs/core/log/Logger.java

         * @param args
         *            引数
         * @return フォーマットされたメッセージ文字列
         */
        public static LogMessage format(final String messageCode, final Object... args) {
            assertArgumentNotEmpty("messageCode", messageCode);
    
            final char messageType = messageCode.charAt(0);
            final String message = MessageFormatter.getSimpleMessage(messageCode, args);
            switch (messageType) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  2. internal/s3select/sql/funceval.go

    		return nil, errIncorrectSQLFunctionArgumentType(err)
    	}
    
    	// Assemble other arguments
    	arg2, arg3 := e.From, e.For
    	// Check if the second form of substring is being used
    	if e.From == nil {
    		arg2, arg3 = e.Arg2, e.Arg3
    	}
    
    	// Evaluate the FROM argument
    	v2, err := arg2.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    	}
    	inferTypeForArithOp(v2)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  3. callbacks/preload.go

    	preloadMap := map[string]map[string][]interface{}{}
    	setPreloadMap := func(name, value string, args []interface{}) {
    		if _, ok := preloadMap[name]; !ok {
    			preloadMap[name] = map[string][]interface{}{}
    		}
    		if value != "" {
    			preloadMap[name][value] = args
    		}
    	}
    
    	for name, args := range preloads {
    		preloadFields := strings.Split(name, ".")
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. cmd/local-locker.go

    	// lock on all resources at once.
    	for i, resource := range args.Resources {
    		l.lockMap[resource] = []lockRequesterInfo{
    			{
    				Name:            resource,
    				Writer:          true,
    				Source:          args.Source,
    				Owner:           args.Owner,
    				UID:             args.UID,
    				Timestamp:       UTCNow(),
    				TimeLastRefresh: UTCNow(),
    				Group:           len(args.Resources) > 1,
    				Quorum:          args.Quorum,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/input.go

    	var args [][]Token
    	// One macro argument per iteration. Collect them all and check counts afterwards.
    	for argNum := 0; ; argNum++ {
    		tokens, tok := in.collectArgument(macro)
    		args = append(args, tokens)
    		if tok == ')' {
    			break
    		}
    	}
    	// Zero-argument macros are tricky.
    	if len(macro.args) == 0 && len(args) == 1 && args[0] == nil {
    		args = nil
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  6. internal/event/target/kafka.go

    	}
    
    	config.Net.KeepAlive = 60 * time.Second
    	config.Net.SASL.User = args.SASL.User
    	config.Net.SASL.Password = args.SASL.Password
    	initScramClient(args, config) // initializes configured scram client.
    	config.Net.SASL.Enable = args.SASL.Enable
    
    	tlsConfig, err := saramatls.NewConfig(args.TLS.ClientTLSCert, args.TLS.ClientTLSKey)
    	if err != nil {
    		target.loggerOnce(context.Background(), err, target.ID().String())
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  7. internal/event/target/nats.go

    	}
    
    	if target.stanConn != nil {
    		if target.args.Streaming.Async {
    			_, err = target.stanConn.PublishAsync(target.args.Subject, data, nil)
    		} else {
    			err = target.stanConn.Publish(target.args.Subject, data)
    		}
    	} else {
    		if target.jstream != nil {
    			_, err = target.jstream.Publish(target.args.Subject, data)
    		} else {
    			err = target.natsConn.Publish(target.args.Subject, data)
    		}
    	}
    	return err
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  8. internal/event/target/mysql.go

    		}
    	}
    
    	if args.DSN == "" {
    		config := mysql.Config{
    			User:                 args.User,
    			Passwd:               args.Password,
    			Net:                  "tcp",
    			Addr:                 args.Host.String() + ":" + args.Port,
    			DBName:               args.Database,
    			AllowNativePasswords: true,
    			CheckConnLiveness:    true,
    		}
    
    		args.DSN = config.FormatDSN()
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  9. internal/event/target/postgresql.go

    func NewPostgreSQLTarget(id string, args PostgreSQLArgs, loggerOnce logger.LogOnce) (*PostgreSQLTarget, error) {
    	params := []string{args.ConnectionString}
    	if args.ConnectionString == "" {
    		params = []string{}
    		if !args.Host.IsEmpty() {
    			params = append(params, "host="+args.Host.String())
    		}
    		if args.Port != "" {
    			params = append(params, "port="+args.Port)
    		}
    		if args.Username != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  10. cmd/endpoint-ellipses.go

    // This applies to even distributed setup syntax as well.
    func GetAllSets(setDriveCount uint64, args ...string) ([][]string, error) {
    	var setArgs [][]string
    	if !ellipses.HasEllipses(args...) {
    		var setIndexes [][]uint64
    		// Check if we have more one args.
    		if len(args) > 1 {
    			var err error
    			setIndexes, err = getSetIndexes(args, []uint64{uint64(len(args))}, setDriveCount, nil)
    			if err != nil {
    				return nil, err
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
Back to top