Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1081 - 1090 of 1,299 for else (0.1 seconds)

  1. scripts/translate.py

    ) -> None:
        translatable_langs = get_llm_translatable()
        if language:
            if language in translatable_langs:
                print(json.dumps([language]))
                return
            else:
                raise typer.Exit(code=1)
        print(json.dumps(translatable_langs))
    
    
    @app.command()
    def commands_json(
        command: Annotated[str | None, typer.Option(envvar="COMMAND")] = None,
    ) -> None:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:05:53 GMT 2025
    - 34.1K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/behind-a-proxy.md

    ### About `root_path` { #about-root-path }
    
    Keep in mind that the server (Uvicorn) won't use that `root_path` for anything else than passing it to the app.
    
    But if you go with your browser to <a href="http://127.0.0.1:8000/app" class="external-link" target="_blank">http://127.0.0.1:8000/app</a> you will see the normal response:
    
    ```JSON
    {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  3. tests/sql_builder_test.go

    	for rows.Next() {
    		var name string
    		var total int64
    		rows.Scan(&name, &total)
    
    		if name == users[0].Name && total != 3 {
    			t.Errorf("Should have one user having name %v", users[0].Name)
    		} else if name == users[1].Name && total != 1 {
    			t.Errorf("Should have two users having name %v", users[1].Name)
    		}
    	}
    }
    
    func TestQueryRaw(t *testing.T) {
    	users := []*User{
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  4. cmd/object-handlers-common.go

    	for remaining := toDel; len(remaining) > 0; toDel = remaining {
    		if len(toDel) > maxDeleteList {
    			remaining = toDel[maxDeleteList:]
    			toDel = toDel[:maxDeleteList]
    		} else {
    			remaining = nil
    		}
    		vc, _ := globalBucketVersioningSys.Get(bucket)
    		deletedObjs, errs := o.DeleteObjects(ctx, bucket, toDel, ObjectOptions{
    			PrefixEnabledFn:  vc.PrefixEnabled,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jul 23 12:36:06 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  5. doc/go_spec.html

    	printString("x is nil")
    } else if i, isInt := v.(int); isInt {
    	printInt(i)                            // type of i is int
    } else if i, isFloat64 := v.(float64); isFloat64 {
    	printFloat64(i)                        // type of i is float64
    } else if i, isFunc := v.(func(int) float64); isFunc {
    	printFunction(i)                       // type of i is func(int) float64
    } else {
    	_, isBool := v.(bool)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
  6. cmd/sts-handlers_test.go

    				Policy:    string(allow2BucketsPolicyBytes),
    			},
    		}
    		value, err = assumeRole.Retrieve()
    		if err != nil {
    			c.Fatalf("err calling assumeRole: %v", err)
    		}
    	} else {
    		// Create a regular user and attach consoleAdmin policy
    		err := s.adm.AddUser(ctx, "foobar", "foobar123")
    		if err != nil {
    			c.Fatalf("could not create user")
    		}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 103.4K bytes
    - Click Count (1)
  7. cmd/erasure-healing-common_test.go

    	for diskIndex := range erasureDisks {
    		if _, ok := diskFailures[diskIndex]; ok {
    			if !partNeedsHealing(dataErrsPerDisk[diskIndex]) {
    				t.Errorf("Disk expected to be healed, driveIndex: %d", diskIndex)
    			}
    		} else {
    			if partNeedsHealing(dataErrsPerDisk[diskIndex]) {
    				t.Errorf("Disk not expected to be healed, driveIndex: %d", diskIndex)
    			}
    		}
    	}
    }
    
    func TestCommonParities(t *testing.T) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  8. cmd/admin-router.go

    				return
    			}
    		}
    
    		// Apply http tracing "middleware" based on presence of flag.
    		var f2 http.HandlerFunc
    		if handlerFlags.Has(traceAllFlag) {
    			f2 = httpTraceAll(f)
    		} else {
    			f2 = httpTraceHdrs(f)
    		}
    
    		// call the final handler
    		f2(w, r)
    	}
    
    	// Enable compression of responses based on presence of flag.
    	if !handlerFlags.Has(noGZFlag) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                    Element child = buildChildren.get(i);
                    if ("pluginManagement".equals(child.name())) {
                        pluginManagementIndex = i;
                    } else if ("plugins".equals(child.name())) {
                        pluginsIndex = i;
                    }
                }
    
                assertTrue(pluginsIndex >= 0, "plugins should be present");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  10. lib/fips140/v1.1.0-rc1.zip

    corresponding coefficient. if u.IsOdd() == no { rshift1(u, 0) if A.IsOdd() == yes || B.IsOdd() == yes { rshift1(A, A.add(m)) rshift1(B, B.add(a)) } else { rshift1(A, 0) rshift1(B, 0) } } else { // v.IsOdd() == no rshift1(v, 0) if C.IsOdd() == yes || D.IsOdd() == yes { rshift1(C, C.add(m)) rshift1(D, D.add(a)) } else { rshift1(C, 0) rshift1(D, 0) } } if v.IsZero() == yes { return u, A, nil } } } //go:norace func rshift1(a *Nat, carry uint) { size := len(a.limbs) aLimbs := a.limbs[:size] for i := range...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:27:41 GMT 2025
    - 663K bytes
    - Click Count (0)
Back to Top