Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 159 for nargs (0.02 sec)

  1. 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
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                    args[index] = ByteConversionUtil.toByte(args[index]);
                    return true;
                } else if (paramTypes[index] == short.class) {
                    args[index] = ShortConversionUtil.toShort(args[index]);
                    return true;
                } else if (paramTypes[index] == int.class) {
                    args[index] = IntegerConversionUtil.toInteger(args[index]);
                    return true;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

                    String commandName,
                    List<String> args,
                    Logger logger,
                    MessageBuilderFactory messageBuilderFactory) {
                this.command = requireNonNull(command, "command");
                this.commandName = requireNonNull(commandName, "commandName");
                this.args = requireNonNull(args, "args");
                this.logger = requireNonNull(logger, "logger");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. 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 != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. 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
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. 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)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            _ * propMetaData.type >> new TypeMetaData(args.type ?: 'SomeType')
            _ * propMetaData.readable >> (args.containsKey('readable') ? args.readable : true)
            _ * propMetaData.writeable >> (args.containsKey('writeable') ? args.writeable : false)
            return propDoc
        }
    
        def methodDoc(Map<String, ?> args = [:], String name) {
            MethodDoc methodDoc = Mock()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.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()
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. 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)
  10. 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
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top