Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 353 for rpartition (0.13 sec)

  1. pkg/apis/apps/v1beta1/defaults_test.go

    				Spec: appsv1beta1.StatefulSetSpec{
    					Template: defaultTemplate,
    					UpdateStrategy: appsv1beta1.StatefulSetUpdateStrategy{
    						RollingUpdate: &appsv1beta1.RollingUpdateStatefulSetStrategy{
    							Partition:      &defaultPartition,
    							MaxUnavailable: ptr.To(intstr.FromInt32(1)),
    						},
    					},
    				},
    			},
    			expected: &appsv1beta1.StatefulSet{
    				Spec: appsv1beta1.StatefulSetSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/CollectionUtilsTest.groovy

        }
    
        def "partitioning"() {
            when:
            def pair = partition([1, 2, 3], { it % 2 == 0 })
    
            then:
            pair.left == [2]
            pair.right == [1, 3]
        }
    
        def "partitioning empty collection"() {
            when:
            def pair = partition([], { it })
    
            then:
            pair.left == []
            pair.right == []
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Iterables.java

       * <p><b>Note:</b> if {@code iterable} is a {@link List}, use {@link Lists#partition(List, int)}
       * instead.
       *
       * @param iterable the iterable to return a partitioned view of
       * @param size the desired size of each partition (the last may be smaller)
       * @return an iterable of unmodifiable lists containing the elements of {@code iterable} divided
       *     into partitions
       * @throws IllegalArgumentException if {@code size} is nonpositive
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  4. fastapi/security/utils.py

    
    def get_authorization_scheme_param(
        authorization_header_value: Optional[str],
    ) -> Tuple[str, str]:
        if not authorization_header_value:
            return "", ""
        scheme, _, param = authorization_header_value.partition(" ")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Nov 13 14:26:09 UTC 2022
    - 293 bytes
    - Viewed (0)
  5. pkg/controller/volume/attachdetach/util/util_test.go

    						{
    							Name: migratedVolume,
    							VolumeSource: v1.VolumeSource{
    								GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{
    									PDName:    "test-disk",
    									FSType:    "ext4",
    									Partition: 0,
    									ReadOnly:  false,
    								},
    							},
    						},
    					},
    				},
    			},
    			wantPersistentVolume: &v1.PersistentVolume{
    				ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 05:42:38 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  6. src/debug/dwarf/testdata/ranges.c

    // gcc -g -O2 -freorder-blocks-and-partition
    
    const char *arr[10000];
    const char *hot = "hot";
    const char *cold = "cold";
    
    __attribute__((noinline))
    void fn(int path) {
    	int i;
    
    	if (path) {
    		for (i = 0; i < sizeof arr / sizeof arr[0]; i++) {
    			arr[i] = hot;
    		}
    	} else {
    		for (i = 0; i < sizeof arr / sizeof arr[0]; i++) {
    			arr[i] = cold;
    		}
    	}
    }
    
    int main(int argc, char *argv[]) {
    	fn(argc);
    	return 0;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 22 14:06:09 UTC 2016
    - 415 bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PersistentVolume.json

          "capacityKey": "0"
        },
        "gcePersistentDisk": {
          "pdName": "pdNameValue",
          "fsType": "fsTypeValue",
          "partition": 3,
          "readOnly": true
        },
        "awsElasticBlockStore": {
          "volumeID": "volumeIDValue",
          "fsType": "fsTypeValue",
          "partition": 3,
          "readOnly": true
        },
        "hostPath": {
          "path": "pathValue",
          "type": "typeValue"
        },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PersistentVolume.json

          "capacityKey": "0"
        },
        "gcePersistentDisk": {
          "pdName": "pdNameValue",
          "fsType": "fsTypeValue",
          "partition": 3,
          "readOnly": true
        },
        "awsElasticBlockStore": {
          "volumeID": "volumeIDValue",
          "fsType": "fsTypeValue",
          "partition": 3,
          "readOnly": true
        },
        "hostPath": {
          "path": "pathValue",
          "type": "typeValue"
        },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/HEAD/core.v1.PersistentVolume.yaml

        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      accessModes:
      - accessModesValue
      awsElasticBlockStore:
        fsType: fsTypeValue
        partition: 3
        readOnly: true
        volumeID: volumeIDValue
      azureDisk:
        cachingMode: cachingModeValue
        diskName: diskNameValue
        diskURI: diskURIValue
        fsType: fsTypeValue
        kind: kindValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:26:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/storage.k8s.io.v1beta1.VolumeAttachment.yaml

    spec:
      attacher: attacherValue
      nodeName: nodeNameValue
      source:
        inlineVolumeSpec:
          accessModes:
          - accessModesValue
          awsElasticBlockStore:
            fsType: fsTypeValue
            partition: 3
            readOnly: true
            volumeID: volumeIDValue
          azureDisk:
            cachingMode: cachingModeValue
            diskName: diskNameValue
            diskURI: diskURIValue
            fsType: fsTypeValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:26:35 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top