Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for Regions (0.14 sec)

  1. src/runtime/mgcscavenge.go

    // findScavengeCandidate will not return a region smaller than min pages in size,
    // or that is min pages or greater in size but not aligned to min. min must be
    // a non-zero power of 2 <= maxPagesPerPhysPage.
    //
    // max is a hint for how big of a region is desired. If max >= pallocChunkPages, then
    // findScavengeCandidate effectively returns entire free and unscavenged regions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  2. src/runtime/mheap.go

    		if arenaBase < zeroedBase {
    			// We extended into the non-zeroed part of the
    			// arena, so this region needs to be zeroed before use.
    			//
    			// zeroedBase is monotonically increasing, so if we see this now then
    			// we can be sure we need to zero this memory region.
    			//
    			// We still need to update zeroedBase for this arena, and
    			// potentially more arenas.
    			needZero = true
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewrite.go

    	for v.Op == OpOffPtr || v.Op == OpAddPtr {
    		v = v.Args[0]
    	}
    	return v.Op == OpSP || v.Op == OpLocalAddr
    }
    
    // disjoint reports whether the memory region specified by [p1:p1+n1)
    // does not overlap with [p2:p2+n2).
    // A return value of false does not imply the regions overlap.
    func disjoint(p1 *Value, n1 int64, p2 *Value, n2 int64) bool {
    	if n1 == 0 || n2 == 0 {
    		return true
    	}
    	if p1 == p2 {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    		},
    		{
    			name: "should return correct az if node has only region label",
    			pods: []*corev1.Pod{pod1, pod2},
    			nodes: []*corev1.Node{
    				generateNode("node1", map[string]string{NodeRegionLabel: "region1"}),
    				generateNode("node2", map[string]string{NodeRegionLabel: "region2"}),
    			},
    			wantAZ: map[*corev1.Pod]string{
    				pod1: "region1//",
    				pod2: "region2//",
    			},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    	}
    	if err != nil {
    		apiErr.Description = fmt.Sprintf("%s (%s)", apiErr.Description, err)
    	}
    	if region := globalSite.Region(); region != "" {
    		if errCode == ErrAuthorizationHeaderMalformed {
    			apiErr.Description = fmt.Sprintf("The authorization header is malformed; the region is wrong; expecting '%s'.", region)
    			return apiErr
    		}
    	}
    	return apiErr
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (1)
  6. cmd/test-utils_test.go

    	if accessKeyID == "" || secretAccessKey == "" {
    		return errors.New("Presign cannot be generated without access and secret keys")
    	}
    
    	region := globalSite.Region()
    	date := UTCNow()
    	scope := getScope(date, region)
    	credential := fmt.Sprintf("%s/%s", accessKeyID, scope)
    
    	// Set URL query.
    	query := req.URL.Query()
    	query.Set("X-Amz-Algorithm", signV4Algorithm)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  7. pkg/registry/core/pod/strategy_test.go

    							RequiredDuringSchedulingIgnoredDuringExecution: []api.PodAffinityTerm{
    								{
    									LabelSelector: &metav1.LabelSelector{
    										MatchLabels: map[string]string{
    											"region": "Asia",
    										},
    									},
    									MatchLabelKeys:    []string{"country"},
    									MismatchLabelKeys: []string{"city"},
    								},
    							},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  8. pkg/workloadapi/workload.pb.go

    	// that match less (or, eventually, none) preferences.
    	// For instance, with `[NETWORK, REGION, ZONE]`, we will send to:
    	// 1. Endpoints matching `[NETWORK, REGION, ZONE]`
    	// 2. Endpoints matching `[NETWORK, REGION]`
    	// 3. Endpoints matching `[NETWORK]`
    	// 4. Any endpoints
    	LoadBalancing_FAILOVER LoadBalancing_Mode = 2
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/serviceregistry_test.go

    			pod: func() *v1.Pod {
    				p := basePod.DeepCopy()
    				p.Labels[model.LocalityLabel] = "r.z.s"
    				return p
    			}(),
    			node: baseNode,
    			expected: &core.Locality{
    				Region:  "r",
    				Zone:    "z",
    				SubZone: "s",
    			},
    		},
    		{
    			name: "node specific label",
    			pod:  basePod,
    			node: func() *v1.Node {
    				p := baseNode.DeepCopy()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  10. src/time/time.go

    	name, offset, _, _, _ = t.loc.lookup(t.unixSec())
    	return
    }
    
    // ZoneBounds returns the bounds of the time zone in effect at time t.
    // The zone begins at start and the next zone begins at end.
    // If the zone begins at the beginning of time, start will be returned as a zero Time.
    // If the zone goes on forever, end will be returned as a zero Time.
    // The Location of the returned times will be the same as t.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
Back to top