Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,399 for _Merge (0.32 sec)

  1. test/typeparam/chans.go

    			return r
    		case v, ok := <-c:
    			if !ok {
    				return r
    			}
    			r = append(r, v)
    		}
    	}
    }
    
    // _Merge merges two channels into a single channel.
    // This will leave a goroutine running until either both channels are closed
    // or the context is canceled, at which point the returned channel is closed.
    func _Merge[Elem any](ctx context.Context, c1, c2 <-chan Elem) <-chan Elem {
    	r := make(chan Elem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  2. src/cmd/covdata/merge.go

    // license that can be found in the LICENSE file.
    
    package main
    
    // This file contains functions and apis to support the "merge"
    // subcommand of "go tool covdata".
    
    import (
    	"flag"
    	"fmt"
    	"internal/coverage"
    	"internal/coverage/cmerge"
    	"internal/coverage/decodecounter"
    	"internal/coverage/decodemeta"
    	"internal/coverage/pods"
    	"os"
    )
    
    var outdirflag *string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:37 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. src/internal/coverage/cmerge/merge.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cmerge
    
    // package cmerge provides a few small utility APIs for helping
    // with merging of counter data for a given function.
    
    import (
    	"fmt"
    	"internal/coverage"
    	"math"
    )
    
    type ModeMergePolicy uint8
    
    const (
    	ModeMergeStrict ModeMergePolicy = iota
    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. 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)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/merge.go

    		}
    		for k, p := range staticSpec.Paths.Paths {
    			specToReturn.Paths.Paths[k] = p
    		}
    	}
    
    	crdSpec := &spec.Swagger{}
    	for _, s := range crdSpecs {
    		// merge specs without checking conflicts, since the naming controller prevents
    		// conflicts between user-defined CRDs
    		mergeSpec(crdSpec, s)
    	}
    
    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. 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)
  7. .space/safe-merge.json

    {
      "version": "1.0",
      "builds": [
        {
          "teamcity": {
            "configuration": "Kotlin_KotlinDev_SafeMerge",
            "url": "https://buildserver.labs.intellij.net",
            "token": "${space-safe-merge-kt}",
            "ssl-keystore": "BuildServer client"
          }
        }
      ]
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Mar 27 13:43:47 UTC 2023
    - 280 bytes
    - Viewed (0)
  8. 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)
  9. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/testdata/swagger-merge-item.json

              "description": "MergingList field.",
              "type": "array",
              "items": {
                "$ref": "#/definitions/mergeItem"
              },
              "x-kubernetes-patch-merge-key": "name",
              "x-kubernetes-patch-strategy": "merge"
            },
            "nonMergingList": {
              "description": "NonMergingList field.",
              "type": "array",
              "items": {
                "$ref": "#/definitions/mergeItem"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 20 22:35:14 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  10. .github/workflows/check-bad-merge.yml

    # See .github/workflows/CheckBadMerge.groovy for explanation
    name: Check bad merge commit
    on:
      pull_request:
        types:
         - opened
         - synchronize
    
    permissions: {}
    
    jobs:
      check_pr_commits:
        permissions:
          contents: read
        runs-on: ubuntu-latest
    
        steps:
          - name: Checkout code
            uses: actions/checkout@v4
            with:
              fetch-depth: 0
          - name: Set up JDK 11
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top