Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 353 for rpartition (0.17 sec)

  1. src/sort/zsortinterface.go

    			pdqsort(data, mid+1, b, limit)
    			b = mid
    		}
    	}
    }
    
    // partition does one quicksort partition.
    // Let p = data[pivot]
    // Moves elements in data[a:b] around, so that data[i]<p and data[j]>=p for i<newpivot and j>newpivot.
    // On return, data[newpivot] = p
    func partition(data Interface, a, b, pivot int) (newpivot int, alreadyPartitioned bool) {
    	data.Swap(a, pivot)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 13 20:16:24 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  2. src/sort/gen_sort_variants.go

    			pdqsort{{.FuncSuffix}}(data, mid+1, b, limit {{.ExtraArg}})
    			b = mid
    		}
    	}
    }
    
    // partition{{.FuncSuffix}} does one quicksort partition.
    // Let p = data[pivot]
    // Moves elements in data[a:b] around, so that data[i]<p and data[j]>=p for i<newpivot and j>newpivot.
    // On return, data[newpivot] = p
    func partition{{.FuncSuffix}}{{.TypeParam}}(data {{.DataType}}, a, b, pivot int {{.ExtraParam}}) (newpivot int, alreadyPartitioned bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-utils.go

    	fivs, err := getAllFileInfoVersions(xlMetaBuf, volume, path, allParts)
    	if err != nil {
    		return fivs, err
    	}
    
    	// If inclFreeVersions is false, partition the versions in fivs.Versions
    	// such that finally fivs.Versions has
    	// all the non-free versions and fivs.FreeVersions has all the free
    	// versions.
    	n := 0
    	for _, fi := range fivs.Versions {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/client-go/applyconfigurations/apps/v1/rollingupdatestatefulsetstrategy.go

    // with apply.
    type RollingUpdateStatefulSetStrategyApplyConfiguration struct {
    	Partition      *int32              `json:"partition,omitempty"`
    	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 28 18:01:05 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/rollingupdatestatefulsetstrategy.go

    // with apply.
    type RollingUpdateStatefulSetStrategyApplyConfiguration struct {
    	Partition      *int32              `json:"partition,omitempty"`
    	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 28 18:01:05 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/rollingupdatestatefulsetstrategy.go

    // with apply.
    type RollingUpdateStatefulSetStrategyApplyConfiguration struct {
    	Partition      *int32              `json:"partition,omitempty"`
    	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 28 18:01:05 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  7. internal/arn/arn_test.go

    	tests := []struct {
    		arn  ARN
    		want string
    	}{
    		{
    			arn: ARN{
    				Partition:    "minio",
    				Service:      "iam",
    				Region:       "us-east-1",
    				ResourceType: "role",
    				ResourceID:   "my-role",
    			},
    			want: "arn:minio:iam:us-east-1::role/my-role",
    		},
    		{
    			arn: ARN{
    				Partition:    "minio",
    				Service:      "",
    				Region:       "us-east-1",
    				ResourceType: "role",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/client-go/applyconfigurations/core/v1/awselasticblockstorevolumesource.go

    // with apply.
    type AWSElasticBlockStoreVolumeSourceApplyConfiguration struct {
    	VolumeID  *string `json:"volumeID,omitempty"`
    	FSType    *string `json:"fsType,omitempty"`
    	Partition *int32  `json:"partition,omitempty"`
    	ReadOnly  *bool   `json:"readOnly,omitempty"`
    }
    
    // AWSElasticBlockStoreVolumeSourceApplyConfiguration constructs an declarative configuration of the AWSElasticBlockStoreVolumeSource type for use with
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

            }
    
            // Perform a partition with the selected median.
            int low = from + 1, high = to; // Indexes for partitioning.
            double partition = array[from + 1]; // Choose partitioning element.
            while (true) {
              // Skip the elements smaller than the partition.
              do {
                low++;
              } while (array[low] < partition);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  10. pkg/apis/apps/v1/defaults_test.go

    						Type: appsv1.RollingUpdateStatefulSetStrategyType,
    						RollingUpdate: &appsv1.RollingUpdateStatefulSetStrategy{
    							Partition: &defaultPartition,
    						},
    					},
    					RevisionHistoryLimit: ptr.To[int32](10),
    				},
    			},
    		},
    		{
    			name: "UpdateStrategy.RollingUpdate.Partition is not lost when UpdateStrategy.Type is not set",
    			original: &appsv1.StatefulSet{
    				Spec: appsv1.StatefulSetSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top