Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 525 for args (0.04 sec)

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/core/exception/ClRuntimeException.java

         * @param messageCode message code
         * @param args arguments for messages
         * @param cause cause of exception
         */
        public ClRuntimeException(final String messageCode, final Object[] args, final Throwable cause) {
            super(cause);
            this.messageCode = messageCode;
            this.args = args;
            simpleMessage = MessageFormatter.getSimpleMessage(messageCode, args);
            message = "[" + messageCode + "]" + simpleMessage;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. internal/config/lambda/target/webhook.go

    }
    
    // Only called from init()
    func (target *WebhookTarget) initWebhook() error {
    	args := target.args
    	transport := target.transport
    
    	if args.ClientCert != "" && args.ClientKey != "" {
    		manager, err := certs.NewManager(context.Background(), args.ClientCert, args.ClientKey, tls.LoadX509KeyPair)
    		if err != nil {
    			return err
    		}
    		manager.ReloadOnSignal(syscall.SIGHUP) // allow reloads upon SIGHUP
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:39:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java

        /** メッセージの引数 */
        protected final Object[] args;
    
        /**
         * {@link ClIllegalArgumentException}を作成します。
         *
         * @param argName
         *            引数の名前
         * @param messageCode
         *            メッセージコード
         * @param args
         *            引数の配列
         */
        public ClIllegalArgumentException(final String argName, final String messageCode, final Object[] args) {
            this(argName, messageCode, args, null);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. 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)
  8. istioctl/pkg/dashboard/dashboard_test.go

    	cases := []testutil.TestCase{
    		{ // case 0
    			Args:           strings.Split("--browser=false", " "),
    			ExpectedRegexp: regexp.MustCompile("Access to Istio web UIs"),
    		},
    		{ // case 1
    			Args:           strings.Split("invalid --browser=false", " "),
    			ExpectedRegexp: regexp.MustCompile(`unknown dashboard "invalid"`),
    			WantException:  true,
    		},
    		{ // case 2
    			Args:           strings.Split("controlz --browser=false", " "),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Nov 21 01:17:24 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top