Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for conds (0.02 sec)

  1. finisher_api.go

    // First finds the first record ordered by primary key, matching given conditions conds
    func (db *DB) First(dest interface{}, conds ...interface{}) (tx *DB) {
    	tx = db.Limit(1).Order(clause.OrderByColumn{
    		Column: clause.Column{Table: clause.CurrentTable, Name: clause.PrimaryKey},
    	})
    	if len(conds) > 0 {
    		if exprs := tx.Statement.BuildCondition(conds[0], conds[1:]...); len(exprs) > 0 {
    			tx.Statement.AddClause(clause.Where{Exprs: exprs})
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  2. cmd/postpolicyform.go

    			}
    		case []interface{}: // Handle array types.
    			if len(condt) != 3 { // Return error if we have insufficient elements.
    				return parsedPolicy, fmt.Errorf("Malformed conditional fields %s of type %s found in POST policy form", condt, reflect.TypeOf(condt).String())
    			}
    			switch toLowerString(condt[0]) {
    			case policyCondEqual, policyCondStartsWith:
    				for _, v := range condt { // Pre-check all values for type.
    					if !isString(v) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/arch/arm.go

    // codes, such as ".P.W". An initial period is ignored.
    func ParseARMCondition(cond string) (uint8, bool) {
    	return parseARMCondition(cond, armLS, armSCOND)
    }
    
    func parseARMCondition(cond string, ls, scond map[string]uint8) (uint8, bool) {
    	cond = strings.TrimPrefix(cond, ".")
    	if cond == "" {
    		return arm.C_SCOND_NONE, true
    	}
    	names := strings.Split(cond, ".")
    	bits := uint8(0)
    	for _, name := range names {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 23 15:18:14 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. istioctl/pkg/waypoint/waypoint.go

    				for _, cond = range gwc.Status.Conditions {
    					if cond.Type == string(gateway.GatewayConditionProgrammed) && string(cond.Status) == "True" {
    						programmed = true
    						break
    					}
    				}
    			}
    			if ctx.Namespace() == "" {
    				fmt.Fprintf(w, "%s\t%s\t%s\t%s\t%s\t%s\n", gwc.Namespace, gwc.Name, cond.Status, cond.Type, cond.Reason, cond.Message)
    			} else {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/parse.go

    //
    //	{label:} WORD[.cond] [ arg {, arg} ] (';' | '\n')
    //
    // It adds any labels to p.pendingLabels and returns the word, cond,
    // operand list, and true. If there is an error or EOF, it returns
    // ok=false.
    //
    // line may reuse the memory from scratch.
    func (p *Parser) line(scratch [][]lex.Token) (word, cond string, operands [][]lex.Token, ok bool) {
    next:
    	// Skip newlines.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/asm.go

    func (p *Parser) append(prog *obj.Prog, cond string, doLabel bool) {
    	if cond != "" {
    		switch p.arch.Family {
    		case sys.ARM:
    			if !arch.ARMConditionCodes(prog, cond) {
    				p.errorf("unrecognized condition code .%q", cond)
    				return
    			}
    
    		case sys.ARM64:
    			if !arch.ARM64Suffix(prog, cond) {
    				p.errorf("unrecognized suffix .%q", cond)
    				return
    			}
    
    		case sys.AMD64, sys.I386:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. src/cmd/cgo/ast.go

    	case *ast.ReturnStmt:
    		f.walk(n.Results, ctxExpr, visit)
    	case *ast.BranchStmt:
    	case *ast.BlockStmt:
    		f.walk(n.List, context, visit)
    	case *ast.IfStmt:
    		f.walk(n.Init, ctxStmt, visit)
    		f.walk(&n.Cond, ctxExpr, visit)
    		f.walk(n.Body, ctxStmt, visit)
    		f.walk(n.Else, ctxStmt, visit)
    	case *ast.CaseClause:
    		if context == ctxTypeSwitch {
    			context = ctxType
    		} else {
    			context = ctxExpr
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 14 15:47:06 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                String passwd = cliRequest.commandLine.getOptionValue(CLIManager.ENCRYPT_PASSWORD);
    
                if (passwd == null) {
                    Console cons = System.console();
                    char[] password = (cons == null) ? null : cons.readPassword("Password: ");
                    if (password != null) {
                        // Cipher uses Strings
                        passwd = String.copyValueOf(password);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  9. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

      istioctl ztunnel-config connections --node ambient-worker
    
      # Retrieve summary of connections for a given Ztunnel instance.
      istioctl ztunnel-config connections <ztunnel-name[.namespace]>
    `,
    		Aliases: []string{"cons"},
    		Args:    common.validateArgs,
    		RunE: runConfigDump(ctx, common, func(cw *ztunnelDump.ConfigWriter) error {
    			filter := ztunnelDump.ConnectionsFilter{
    				Namespace: workloadsNamespace,
    				Direction: direction,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 19:17:45 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  10. cmd/server-main.go

    		Value: func() time.Duration {
    			if orchestrated {
    				return 30 * time.Second
    			}
    			return 10 * time.Minute
    		}(),
    		EnvVar: "MINIO_DNS_CACHE_TTL",
    	},
    	cli.IntFlag{
    		Name:   "max-idle-conns-per-host",
    		Usage:  "set a custom max idle connections per host value",
    		Hidden: true,
    		Value:  2048,
    		EnvVar: "MINIO_MAX_IDLE_CONNS_PER_HOST",
    	},
    	cli.StringSliceFlag{
    		Name:  "ftp",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
Back to top