Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2661 - 2670 of 3,853 for qint (0.03 sec)

  1. docs/pt/docs/python-types.md

    //// tab | Python 3.8+
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial007.py!}
    ```
    
    ////
    
    Isso significa que:
    
    * A variável `items_t` é uma `tuple` com 3 itens, um `int`, outro `int` e uma `str`.
    * A variável `items_s` é um `set`, e cada um de seus itens é do tipo `bytes`.
    
    #### Dict
    
    Para definir um `dict`, você passa 2 parâmetros de tipo, separados por vírgulas.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 12:32:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  2. istioctl/pkg/dashboard/dashboard.go

    	client kube.CLIClient, writer io.Writer, browser bool,
    ) error {
    	// port preference:
    	// - If --listenPort is specified, use it
    	// - without --listenPort, prefer the remotePort but fall back to a random port
    	var portPrefs []int
    	if listenPort != 0 {
    		portPrefs = []int{listenPort}
    	} else {
    		portPrefs = []int{remotePort, 0}
    	}
    
    	var err error
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

        }
    
        @AfterEach
        void tearDown() throws Exception {
            this.validator = null;
        }
    
        private void assertViolations(SimpleProblemCollector result, int fatals, int errors, int warnings) {
            assertEquals(fatals, result.getFatals().size(), String.valueOf(result.getFatals()));
            assertEquals(errors, result.getErrors().size(), String.valueOf(result.getErrors()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/Stats.java

       *
       * @param values a series of values
       * @throws IllegalArgumentException if the dataset is empty
       */
      public static double meanOf(int... values) {
        checkArgument(values.length > 0);
        double mean = values[0];
        for (int index = 1; index < values.length; index++) {
          double value = values[index];
          if (isFinite(value) && isFinite(mean)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. tests/test_validate_response_dataclass.py

    from fastapi.testclient import TestClient
    from pydantic.dataclasses import dataclass
    
    app = FastAPI()
    
    
    @dataclass
    class Item:
        name: str
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/invalid", response_model=Item)
    def get_invalid():
        return {"name": "invalid", "price": "foo"}
    
    
    @app.get("/items/innerinvalid", response_model=Item)
    def get_innerinvalid():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. src/arena/arena_test.go

    // license that can be found in the LICENSE file.
    
    //go:build goexperiment.arenas
    
    package arena_test
    
    import (
    	"arena"
    	"testing"
    )
    
    type T1 struct {
    	n int
    }
    type T2 [1 << 20]byte // 1MiB
    
    func TestSmoke(t *testing.T) {
    	a := arena.NewArena()
    	defer a.Free()
    
    	tt := arena.New[T1](a)
    	tt.n = 1
    
    	ts := arena.MakeSlice[T1](a, 99, 100)
    	if len(ts) != 99 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 12 20:23:36 UTC 2022
    - 742 bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/configurations/SmokeTests.kt

    import common.requiresNotEc2Agent
    import common.toCapitalized
    import model.CIBuildModel
    import model.Stage
    
    class SmokeTests(model: CIBuildModel, stage: Stage, testJava: JvmCategory, id: String, task: String = "smokeTest", splitNumber: Int = 1) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = {
        id("${model.projectId}_SmokeTest_$id")
        name = "Smoke Tests with 3rd Party Plugins ($task) - ${testJava.version.name.toCapitalized()} Linux"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 07:23:49 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2_test.go

    	testCases := []struct {
    		name        string
    		input       [][]xlMetaV2ShallowVersion
    		quorum      int
    		reqVersions int
    		want        []xlMetaV2ShallowVersion
    	}{
    		{
    			name: "obj-on-one",
    			input: [][]xlMetaV2ShallowVersion{
    				0: {vDelMarker, vObj}, // disk 0
    				1: {vDelMarker},       // disk 1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  9. cmd/admin-heal-ops.go

    	ahs.healStatus[tracker.ID] = t
    	tracker.mu.RUnlock()
    }
    
    // Sort by zone, set and disk index
    func sortDisks(disks []madmin.Disk) {
    	sort.Slice(disks, func(i, j int) bool {
    		a, b := &disks[i], &disks[j]
    		if a.PoolIndex != b.PoolIndex {
    			return a.PoolIndex < b.PoolIndex
    		}
    		if a.SetIndex != b.SetIndex {
    			return a.SetIndex < b.SetIndex
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  10. cmd/background-newdisks-heal-ops_gen.go

    			}
    		case "QueuedBuckets":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "QueuedBuckets")
    				return
    			}
    			if cap(z.QueuedBuckets) >= int(zb0002) {
    				z.QueuedBuckets = (z.QueuedBuckets)[:zb0002]
    			} else {
    				z.QueuedBuckets = make([]string, zb0002)
    			}
    			for za0001 := range z.QueuedBuckets {
    				z.QueuedBuckets[za0001], err = dc.ReadString()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 15:42:49 UTC 2024
    - 24.6K bytes
    - Viewed (0)
Back to top