Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 933 for Extract (0.23 sec)

  1. pkg/controller/deployment/rollback.go

    			// Gives up rollback
    			return dc.updateDeploymentAndClearRollbackTo(ctx, d)
    		}
    	}
    	for _, rs := range allRSs {
    		v, err := deploymentutil.Revision(rs)
    		if err != nil {
    			logger.V(4).Info("Unable to extract revision from deployment's replica set", "replicaSet", klog.KObj(rs), "err", err)
    			continue
    		}
    		if v == rollbackTo.Revision {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  2. platforms/software/resources-s3/src/test/groovy/org/gradle/internal/resource/transport/aws/s3/S3ResourceResolverTest.groovy

            then:
            results == ['some.jar', expected]
    
            where:
            prefix           | expected
            'root/SNAPSHOT'  | 'SNAPSHOT'
            'root/SNAPSHOT/' | 'SNAPSHOT'
        }
    
        def "should extract file name from s3 listing"() {
            ObjectListing objectListing = Mock()
            S3ObjectSummary objectSummary = Mock()
            objectSummary.getKey() >> listing
            objectListing.getObjectSummaries() >> [objectSummary]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/config/kubeconfig.go

    )
    
    func init() {
    	utilruntime.Must(webhookadmission.AddToScheme(scheme))
    	utilruntime.Must(v1.AddToScheme(scheme))
    	utilruntime.Must(v1alpha1.AddToScheme(scheme))
    }
    
    // LoadConfig extract the KubeConfigFile from configFile
    func LoadConfig(configFile io.Reader) (string, error) {
    	var kubeconfigFile string
    	if configFile != nil {
    		// we have a config so parse it.
    		data, err := io.ReadAll(configFile)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. platforms/software/platform-base/src/test/groovy/org/gradle/language/base/internal/ComponentTypeModelRuleExtractorTest.groovy

        Class<?> ruleClass = Rules
    
        def "applies ComponentModelBasePlugin and creates component type rule"() {
            def mockRegistry = Mock(ModelRegistry)
    
            when:
            def registration = extract(ruleDefinitionForMethod(ruleName))
    
            then:
            registration.ruleDependencies == [plugin]
    
            when:
            apply(registration, mockRegistry)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops_pass.cc

    // `max_iterations` are reached. Returns failure if resource ops decomposition
    // does not converge after `max_iterations`.
    // TODO(prakalps): This can be useful to a lot of other passes in bridge.
    // Extract out as a separate utility.
    LogicalResult ApplyPatternsLocallyUntilConverged(
        Operation* op_with_regions, FrozenRewritePatternSet& patterns,
        int max_iterations) {
      bool changed = true;
      int iteration = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 08 20:01:13 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. security/pkg/server/ca/server.go

    	return response, nil
    }
    
    func recordCertsExpiry(keyCertBundle *util.KeyCertBundle) {
    	rootCertExpiry, err := keyCertBundle.ExtractRootCertExpiryTimestamp()
    	if err != nil {
    		serverCaLog.Errorf("failed to extract root cert expiry timestamp (error %v)", err)
    	}
    	rootCertExpiryTimestamp.Record(rootCertExpiry)
    
    	rootCertPem, err := util.ParsePemEncodedCertificate(keyCertBundle.GetRootCertPem())
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 17:35:26 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/TypeCompatibilityModelProjectionSupport.java

    import org.gradle.model.internal.type.ModelType;
    
    import javax.annotation.concurrent.ThreadSafe;
    import java.util.Collections;
    
    import static org.gradle.model.internal.manage.schema.extract.PrimitiveTypes.isPrimitiveType;
    
    @ThreadSafe
    public abstract class TypeCompatibilityModelProjectionSupport<M> implements ModelProjection {
    
        private final ModelType<M> type;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:51:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/componentconfigs/checksums.go

    	hash := sha256.New()
    
    	// Since maps are not ordered we need to make sure we order them somehow so we'll always get the same checksums
    	// for the same config maps. The solution here is to extract the keys into a slice and sort them.
    	// Then iterate over that slice to fetch the values to be hashed.
    	keys := []string{}
    	for key := range cm.Data {
    		keys = append(keys, key)
    	}
    	sort.Strings(keys)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 17 14:40:46 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  9. tensorflow/c/generate-pc.sh

        echo -e "-h, --help\tdisplay this message"
    }
    
    [ $# == 0 ] && usage && exit 0
    
    # read the options
    ARGS=$(getopt -o p:l:v:h --long prefix:,libdir:,version:,help -n $0 -- "$@")
    eval set -- "$ARGS"
    
    # extract options and their arguments into variables.
    while true ; do
        case "$1" in
            -h|--help) usage ; exit ;;
            -p|--prefix)
                case "$2" in
                    "") shift 2 ;;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Aug 04 07:01:14 UTC 2019
    - 2.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultProvider.java

                return null;
            }
        }
    
        @Nullable
        private Class<T> inferTypeFromCallableGenericArgument() {
            // We could do a better job of figuring this out
            // Extract the type for common case that is quick to calculate
            for (Type superType : value.getClass().getGenericInterfaces()) {
                if (superType instanceof ParameterizedType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top