Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 615 for xprintf (0.1 sec)

  1. internal/s3select/sql/funceval.go

    	case float64:
    		return fmt.Sprintf("%v", x), nil
    	case int64:
    		return fmt.Sprintf("%v", x), nil
    	case string:
    		return x, nil
    	case []byte:
    		return string(x), nil
    	case bool:
    		return fmt.Sprintf("%v", x), nil
    	case nil:
    		// FIXME: verify this case is correct
    		return "NULL", nil
    	}
    	// This does not happen
    	return "", errCastFailure(fmt.Sprintf("cannot cast %v to string type", v.GetTypeString()))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  2. cmd/metrics-v3-handler.go

    }
    
    func (md metricDisplay) String() string {
    	return fmt.Sprintf("Name: %s\nType: %s\nHelp: %s\nLabels: {%s}\n", md.Name, md.Type, md.Help, strings.Join(md.Labels, ","))
    }
    
    func (md metricDisplay) TableRow() string {
    	labels := strings.Join(md.Labels, ",")
    	if labels == "" {
    		labels = ""
    	} else {
    		labels = "`" + labels + "`"
    	}
    	return fmt.Sprintf("| `%s` | `%s` | %s | %s |\n", md.Name, md.Type, md.Help, labels)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. clause/delete_test.go

    		},
    		{
    			[]clause.Interface{clause.Delete{Modifier: "LOW_PRIORITY"}, clause.From{}},
    			"DELETE LOW_PRIORITY FROM `users`", nil,
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			checkBuildClauses(t, result.Clauses, result.Result, result.Vars)
    		})
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Jun 02 01:18:01 UTC 2020
    - 608 bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NetworkExplorer.java

                        out.print("; height: 18;\" HREF=\"");
                        out.print(path);
                        out.print(name);
                        out.print("\"><b>");
                        out.print(name);
                        out.print("</b></a>");
                    }
                    else {
                        out.print(";\" HREF=\"");
                        out.print(path);
                        out.print(name);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  5. helm/minio/templates/configmap.yaml

        release: {{ .Release.Name }}
        heritage: {{ .Release.Service }}
    data:
      initialize: |-
        {{- include (print $.Template.BasePath "/_helper_create_bucket.txt") . | nindent 4 }}
      add-user: |-
        {{- include (print $.Template.BasePath "/_helper_create_user.txt") . | nindent 4 }}
      add-policy: |-
        {{- include (print $.Template.BasePath "/_helper_create_policy.txt") . | nindent 4 }}
      {{- range $idx, $policy := .Values.policies }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 17 06:04:15 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. internal/s3select/sql/statement.go

    		v, err := expr.evalNode(nil, e.tableAlias)
    		if err != nil {
    			return err
    		}
    		if expr.As != "" {
    			output, err = output.Set(expr.As, v)
    		} else {
    			output, err = output.Set(fmt.Sprintf("_%d", i+1), v)
    		}
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    func (e *SelectStatement) isPassingWhereClause(input Record) (bool, error) {
    	if e.selectAST.Where == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. clause/insert_test.go

    		{
    			[]clause.Interface{clause.Insert{Table: clause.Table{Name: "products"}, Modifier: "LOW_PRIORITY"}},
    			"INSERT LOW_PRIORITY INTO `products`", nil,
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			checkBuildClauses(t, result.Clauses, result.Result, result.Vars)
    		})
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Jun 02 01:18:01 UTC 2020
    - 737 bytes
    - Viewed (0)
  8. cmd/admin-handlers-users-race_test.go

    			newTestSuiteIAM(bt, true),
    		)
    	}
    	for i, testCase := range testCases {
    		etcdStr := ""
    		if testCase.withEtcdBackend {
    			etcdStr = " (with etcd backend)"
    		}
    		t.Run(
    			fmt.Sprintf("Test: %d, ServerType: %s%s", i+1, testCase.serverType, etcdStr),
    			func(t *testing.T) {
    				runAllIAMConcurrencyTests(testCase, &check{t, testCase.serverType})
    			},
    		)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 09:06:25 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java

            writer.print(problems.size());
            writer.print((problems.size() == 1) ? " problem was " : " problems were ");
            writer.print("encountered while building the effective toolchains");
            writer.println();
    
            for (Problem problem : problems) {
                writer.print("[");
                writer.print(problem.getSeverity());
                writer.print("] ");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. cmd/metrics-v3-types.go

    	if !ok {
    		panic(fmt.Sprintf("metric has no description: %s", name))
    	}
    
    	if len(labels)%2 != 0 {
    		panic("labels must be a list of ordered key-value pairs")
    	}
    
    	validLabels := desc.getLabelSet()
    	labelMap := make(map[string]string, len(labels)/2)
    	for i := 0; i < len(labels); i += 2 {
    		if _, ok := validLabels[labels[i]]; !ok {
    			panic(fmt.Sprintf("invalid label: %s (metric: %s)", labels[i], name))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top