Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 853 for Extract (0.32 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.h

    CreateTPUClusterFormationPass(bool strict_clusters = false);
    
    // Creates a pass that extracts outside compilation (Host ops inside device
    // cluster) at head/tail of Device cluster to run before/after XLA computation.
    std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>>
    CreateExtractHeadTailOutsideCompilationPass();
    
    // Creates a pass that extract outside compilation (Host ops inside cevice
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. pkg/slices/slices.go

    // by a single field. If you need to have multiple fields, see the ExampleSort.
    func SortBy[E any, A constraints.Ordered](x []E, extract func(a E) A) []E {
    	if len(x) <= 1 {
    		return x
    	}
    	SortFunc(x, func(a, b E) int {
    		return cmp.Compare(extract(a), extract(b))
    	})
    	return x
    }
    
    // Sort sorts a slice of any ordered type in ascending order.
    // The slice is modified in place but returned.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top