Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,284 for mergeFn (0.19 sec)

  1. pkg/proto/merge/merge.go

    var options = []OptionFn{
    	// Workaround https://github.com/golang/protobuf/issues/1359, merge duration properly
    	MergeFunctionOptionFn((&durationpb.Duration{}).ProtoReflect().Descriptor().FullName(), ReplaceMergeFn),
    }
    
    func Merge(dst, src proto.Message) {
    	merge(dst, src, options...)
    }
    
    // Merge Code of proto.Merge with modifications to support custom types
    func merge(dst, src proto.Message, opts ...OptionFn) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 21 17:31:22 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  2. src/mdo/merger.vm

                    Map<String, String> merged = new HashMap<>();
                    merged.putAll(sourceDominant ? target.get${capField}() : source.get${capField}());
                    merged.putAll(sourceDominant ? source.get${capField}() : target.get${capField}());
                    builder.${field.name}(merged);
            #if ( $locationTracking )
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Sep 05 16:06:44 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  3. src/internal/coverage/cmerge/merge.go

    	overflow bool
    }
    
    func (cm *Merger) SetModeMergePolicy(policy ModeMergePolicy) {
    	cm.policy = policy
    }
    
    // MergeCounters takes the counter values in 'src' and merges them
    // into 'dst' according to the correct counter mode.
    func (m *Merger) MergeCounters(dst, src []uint32) (error, bool) {
    	if len(src) != len(dst) {
    		return fmt.Errorf("merging counters: len(dst)=%d len(src)=%d", len(dst), len(src)), false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 23:26:34 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/profile/merge.go

    func (p *Profile) Compact() *Profile {
    	p, _ = Merge([]*Profile{p})
    	return p
    }
    
    // Merge merges all the profiles in profs into a single Profile.
    // Returns a new profile independent of the input profiles. The merged
    // profile is compacted to eliminate unused samples, locations,
    // functions and mappings. Profiles must have identical profile sample
    // and period types or the merge will fail. profile.Period of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/merge.go

    	}
    	for k, v := range source.Paths.Paths {
    		if dest.Paths.Paths == nil {
    			dest.Paths.Paths = make(map[string]spec.PathItem, len(source.Paths.Paths))
    		}
    		dest.Paths.Paths[k] = v
    	}
    }
    
    // MergeSpecsV3 merges OpenAPI v3 specs for CRDs
    // Conflicts belonging to the meta.v1 or autoscaling.v1 group versions are skipped as all CRDs reference those types
    // Other conflicts will result in an error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 16 14:08:01 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java

     */
    package org.apache.maven.model.merge;
    
    import java.util.Map;
    import java.util.Objects;
    
    /**
     * The domain-specific model merger for the Maven POM, overriding generic code from parent class when necessary with
     * more adapted algorithms.
     *
     */
    public class MavenModelMerger extends org.apache.maven.internal.impl.model.MavenModelMerger {
    
        /**
         * Merges the specified source object into the given target object.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/KotlinComposableProvider.kt

        /**
         * Merges the given [providers] into a single provider. When possible, mergers will try to create a provider that is more efficient
         * compared to the naive sequential composite provider. Not all providers might be mergeable, or there might be multiple separate sets
         * of providers that can be merged individually, so the resulting provider may be a composite provider.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. src/internal/profile/merge.go

    import (
    	"fmt"
    	"sort"
    	"strconv"
    	"strings"
    )
    
    // Merge merges all the profiles in profs into a single Profile.
    // Returns a new profile independent of the input profiles. The merged
    // profile is compacted to eliminate unused samples, locations,
    // functions and mappings. Profiles must have identical profile sample
    // and period types or the merge will fail. profile.Period of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 17 19:35:56 UTC 2020
    - 11.3K bytes
    - Viewed (0)
  9. src/cmd/covdata/merge.go

    func (m *mstate) Usage(msg string) {
    	if len(msg) > 0 {
    		fmt.Fprintf(os.Stderr, "error: %s\n", msg)
    	}
    	fmt.Fprintf(os.Stderr, "usage: go tool covdata merge -i=<directories> -o=<dir>\n\n")
    	flag.PrintDefaults()
    	fmt.Fprintf(os.Stderr, "\nExamples:\n\n")
    	fmt.Fprintf(os.Stderr, "  go tool covdata merge -i=dir1,dir2,dir3 -o=outdir\n\n")
    	fmt.Fprintf(os.Stderr, "  \tmerges all files in dir1/dir2/dir3\n")
    	fmt.Fprintf(os.Stderr, "  \tinto output dir outdir\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:37 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/incremental/compilerapi/constants/ConstantToDependentsMappingMergerTest.groovy

            ConstantToDependentsMapping mapping = merger.merge(newMapping, oldMapping, ["a", "b"] as Set)
    
            then:
            mapping.getConstantDependentsForClass("a").accessibleDependentClasses == ["1"] as Set
            mapping.getConstantDependentsForClass("b").accessibleDependentClasses == [] as Set
        }
    
        def "does not remove classes that are not in new mapping from mapping on merge"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top