Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 438 for kwargs (0.05 seconds)

  1. docs/resiliency/resiliency-tests.sh

    	WANT='{ "before": { "color": "green", "missing": 1, "corrupted": 0 }, "after": { "color": "green", "missing": 0, "corrupted": 0 }, "args": {"file": "'${FILE}'", "dir": "'${DIR}'"} }'
    	verify_resiliency_healing "${FUNCNAME[0]}" "${WANT}"
    
    	# Remove two xl.meta's -- status becomes yellow
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Dec 21 04:24:45 GMT 2024
    - 20.5K bytes
    - Click Count (0)
  2. statement.go

    			}
    
    			if len(args) > 0 && strings.Contains(s, "@") {
    				// looks like a named query
    				return []clause.Expression{clause.NamedExpr{SQL: s, Vars: args}}
    			}
    
    			if strings.Contains(strings.TrimSpace(s), " ") {
    				// looks like a where condition
    				return []clause.Expression{clause.Expr{SQL: s, Vars: args}}
    			}
    
    			if len(args) == 1 {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  3. .github/workflows/CheckBadMerge.groovy

        ]
    
        static void main(String[] args) {
            if (args.length != 1) {
                System.err.println("Usage: groovy CheckBadMerge.groovy <commits_file>")
                System.exit(1)
            }
    
            List<String> commits = Files.readAllLines(Paths.get(args[0]))
            try {
                commits.each { checkCommit(it) }
            } finally {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jan 24 10:03:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java

        public int run(
                String[] args,
                @Nullable InputStream stdIn,
                @Nullable OutputStream stdOut,
                @Nullable OutputStream stdErr,
                boolean embedded)
                throws IOException {
            try (Invoker invoker = createInvoker()) {
                return invoker.invoke(createParser()
                        .parseInvocation(createParserRequestBuilder(args)
                                .stdIn(stdIn)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Feb 08 16:25:25 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/reflect/Invokable.java

      public abstract boolean isVarArgs();
    
      /**
       * Invokes with {@code receiver} as 'this' and {@code args} passed to the underlying method and
       * returns the return value; or calls the underlying constructor with {@code args} and returns the
       * constructed instance.
       *
       * @throws IllegalAccessException if this {@code Constructor} object enforces Java language access
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  6. cmd/endpoint-ellipses_test.go

    		t.Run("", func(t *testing.T) {
    			argPatterns := make([]ellipses.ArgPattern, len(testCase.args))
    			for i, arg := range testCase.args {
    				patterns, err := ellipses.FindEllipsesPatterns(arg)
    				if err != nil {
    					t.Fatalf("Unexpected failure %s", err)
    				}
    				argPatterns[i] = patterns
    			}
    
    			gotIndexes, err := getSetIndexes(testCase.args, testCase.totalSizes, testCase.envOverride, argPatterns)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_events/test_tutorial002.py

    import pytest
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(name="app", scope="module")
    def get_app():
        with pytest.warns(DeprecationWarning):
            from docs_src.events.tutorial002_py39 import app
        yield app
    
    
    def test_events(app: FastAPI):
        with TestClient(app) as client:
            response = client.get("/items/")
            assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  8. docs/debugging/healing-bin/main.go

    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}
    `
    	app.Flags = []cli.Flag{}
    	app.Action = func(c *cli.Context) error {
    		if !c.Args().Present() {
    			cli.ShowAppHelpAndExit(c, 1) // last argument is exit code
    		}
    
    		ht := make(map[string]map[string]any)
    		file := c.Args().Get(0)
    		if strings.HasSuffix(file, ".zip") {
    			var sz int64
    			f, err := os.Open(file)
    			if err != nil {
    				return err
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  9. .github/workflows/pylint-presubmit.yml

            pip install pylint==2.13.9 numpy wheel
        - name: Run PyLint on changed files
          run: |
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Dec 01 09:57:00 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. tests/joins_test.go

    		t.Fatalf("wrong pet name")
    	}
    }
    
    func TestJoinArgsWithDB(t *testing.T) {
    	user := *GetUser("joins-args-db", Config{Pets: 2})
    	DB.Save(&user)
    
    	// test where
    	var user1 User
    	onQuery := DB.Where(&Pet{Name: "joins-args-db_pet_2"})
    	if err := DB.Joins("NamedPet", onQuery).Where("users.name = ?", user.Name).First(&user1).Error; err != nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 15K bytes
    - Click Count (0)
Back to Top