Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 197 for rpartition (0.22 sec)

  1. cluster/gce/windows/k8s-node-setup.psm1

        # 'k8s_container.<namespace_name>.<pod_name>.<container_name>'.
        "logging.googleapis.com/local_resource_id" ${"k8s_container.#{tag_suffix[4].rpartition('.')[0].split('_')[1]}.#{tag_suffix[4].rpartition('.')[0].split('_')[0]}.#{tag_suffix[4].rpartition('.')[0].split('_')[2].rpartition('-')[0]}"}
        # Rename the field 'log' to a more generic field 'message'. This way the
        # fluent-plugin-google-cloud knows to flatten the field as textPayload
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ListsTest.java

        List<List<Integer>> partitions = Lists.partition(source, 2);
    
        assertTrue(
            "partition should be RandomAccess, but not: " + partitions.getClass(),
            partitions instanceof RandomAccess);
    
        assertTrue(
            "partition[0] should be RandomAccess, but not: " + partitions.get(0).getClass(),
            partitions.get(0) instanceof RandomAccess);
    
        assertTrue(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ListsTest.java

        List<List<Integer>> partitions = Lists.partition(source, 2);
    
        assertTrue(
            "partition should be RandomAccess, but not: " + partitions.getClass(),
            partitions instanceof RandomAccess);
    
        assertTrue(
            "partition[0] should be RandomAccess, but not: " + partitions.get(0).getClass(),
            partitions.get(0) instanceof RandomAccess);
    
        assertTrue(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. pkg/kubelet/util/swap/swap_util_test.go

    		},
    		{
    			name: "with swap enabled, one partition",
    			procSwapsContent: `
    Filename				Type		Size		Used		Priority
    /dev/dm-1               partition	33554428	0		-2
    `,
    			expectedEnabled: true,
    		},
    		{
    			name: "with swap enabled, 2 partitions",
    			procSwapsContent: `
    Filename				Type		Size		Used		Priority
    /dev/dm-1               partition	33554428	0		-2
    /dev/zram0              partition	8388604		0		100
    `,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<List<Integer>> partitions = Iterators.partition(source, 1);
        assertTrue(partitions.hasNext());
        assertTrue(partitions.hasNext());
        assertEquals(ImmutableList.of(1), partitions.next());
        assertFalse(partitions.hasNext());
      }
    
      public void testPartition_singleton2() {
        Iterator<Integer> source = Iterators.singletonIterator(1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/mergelocals_test.go

    	testcases := []struct {
    		vars      []*ir.Name
    		partition map[*ir.Name][]int
    		experr    bool
    	}{
    		{
    			vars: []*ir.Name{v1, v2, v3},
    			partition: map[*ir.Name][]int{
    				v1: []int{0, 1, 2},
    				v2: []int{0, 1, 2},
    				v3: []int{0, 1, 2},
    			},
    			experr: false,
    		},
    		{
    			// invalid mls.v slot -1
    			vars: []*ir.Name{v1, v2, v3},
    			partition: map[*ir.Name][]int{
    				v1: []int{-1, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:43:53 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. internal/arn/arn.go

    	}
    	return ARN{
    		Partition:    arnPartitionMinio,
    		Service:      arnServiceIAM,
    		Region:       serverRegion,
    		ResourceType: arnResourceTypeRole,
    		ResourceID:   resourceID,
    	}, nil
    }
    
    // String - returns string representation of the ARN.
    func (arn ARN) String() string {
    	return strings.Join(
    		[]string{
    			arnPrefixArn,
    			arn.Partition,
    			arn.Service,
    			arn.Region,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top