Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 143 for rpartition (0.19 sec)

  1. cluster/addons/fluentd-gcp/fluentd-gcp-configmap.yaml

            # '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
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 26 07:09:07 UTC 2018
    - 18.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. android/guava-tests/test/com/google/common/math/StatsTesting.java

        PairedStatsAccumulator accumulator = new PairedStatsAccumulator();
        List<List<Double>> xPartitions = Lists.partition(xValues, partitionSize);
        List<List<Double>> yPartitions = Lists.partition(yValues, partitionSize);
        for (int index = 0; index < xPartitions.size(); index++) {
          accumulator.addAll(createPairedStatsOf(xPartitions.get(index), yPartitions.get(index)));
        }
        return accumulator;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 09 22:49:56 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/sort/zsortfunc.go

    		if wasBalanced && wasPartitioned && hint == increasingHint {
    			if partialInsertionSort_func(data, a, b) {
    				return
    			}
    		}
    
    		// Probably the slice contains many duplicate elements, partition the slice into
    		// elements equal to and elements greater than the pivot.
    		if a > 0 && !data.Less(a-1, pivot) {
    			mid := partitionEqual_func(data, a, b, pivot)
    			a = mid
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 13 20:16:24 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  9. src/slices/zsortanyfunc.go

    		if wasBalanced && wasPartitioned && hint == increasingHint {
    			if partialInsertionSortCmpFunc(data, a, b, cmp) {
    				return
    			}
    		}
    
    		// Probably the slice contains many duplicate elements, partition the slice into
    		// elements equal to and elements greater than the pivot.
    		if a > 0 && !(cmp(data[a-1], data[pivot]) < 0) {
    			mid := partitionEqualCmpFunc(data, a, b, pivot, cmp)
    			a = mid
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 23:33:29 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TopKSelector.java

          }
        }
      }
    
      /**
       * Partitions the contents of buffer in the range [left, right] around the pivot element
       * previously stored in buffer[pivotValue]. Returns the new index of the pivot element,
       * pivotNewIndex, so that everything in [left, pivotNewIndex] is ≤ pivotValue and everything in
       * (pivotNewIndex, right] is greater than pivotValue.
       */
      private int partition(int left, int right, int pivotIndex) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top