Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,606 for nmatch (0.34 sec)

  1. internal/store/batch.go

    	"fmt"
    	"sync"
    )
    
    // ErrBatchFull indicates that the batch is full
    var ErrBatchFull = errors.New("batch is full")
    
    type key interface {
    	string | int | int64
    }
    
    // Batch represents an ordered batch
    type Batch[K key, T any] struct {
    	keys  []K
    	items map[K]T
    	limit uint32
    
    	sync.Mutex
    }
    
    // Add adds the item to the batch
    func (b *Batch[K, T]) Add(key K, item T) error {
    	b.Lock()
    	defer b.Unlock()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Oct 07 15:07:38 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/jsonmergepatch/patch.go

    */
    
    package jsonmergepatch
    
    import (
    	"fmt"
    	"reflect"
    
    	"gopkg.in/evanphx/json-patch.v4"
    	"k8s.io/apimachinery/pkg/util/json"
    	"k8s.io/apimachinery/pkg/util/mergepatch"
    )
    
    // Create a 3-way merge patch based-on JSON merge patch.
    // Calculate addition-and-change patch between current and modified.
    // Calculate deletion patch between original and modified.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/util/MatchersTest.groovy

    class MatchersTest extends Specification {
    
        def "matches regex"() {
            expect:
            matchesRegexp("foo.*").matches(match)
    
            and:
            !matchesRegexp(Pattern.compile("foo.*")).matches(noMatch)
    
            where:
            match     | noMatch
            "foo"     | "fo"
            "foo bar" | " foo"
            "fooo"    | "xxxx"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 22 14:16:41 UTC 2013
    - 1.1K bytes
    - Viewed (0)
  4. pkg/controller/garbagecollector/patch.go

    // owner reference array.
    type jsonMergePatchFunc func(*node) ([]byte, error)
    
    // patch tries strategic merge patch on item first, and if SMP is not supported, it fallbacks to JSON merge
    // patch.
    func (gc *GarbageCollector) patch(item *node, smp []byte, jmp jsonMergePatchFunc) (*metav1.PartialObjectMetadata, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 13:33:52 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/types/patch.go

    // Similarly to above, these are constants to support HTTP PATCH utilized by
    // both the client and server that didn't make sense for a whole package to be
    // dedicated to.
    type PatchType string
    
    const (
    	JSONPatchType           PatchType = "application/json-patch+json"
    	MergePatchType          PatchType = "application/merge-patch+json"
    	StrategicMergePatchType PatchType = "application/strategic-merge-patch+json"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 04 21:51:48 UTC 2019
    - 1K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    Michael Hudgins <******@****.***> 1695048765 +0000
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/watch/watch.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package watch
    
    import (
    	"fmt"
    	"sync"
    
    	"k8s.io/klog/v2"
    
    	"k8s.io/apimachinery/pkg/runtime"
    )
    
    // Interface can be implemented by anything that knows how to watch and report changes.
    type Interface interface {
    	// Stop tells the producer that the consumer is done watching, so the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:06:22 UTC 2024
    - 8.1K bytes
    - Viewed (1)
  8. istioctl/pkg/writer/envoy/configdump/listener.go

    			})
    			for _, match := range matches {
    				if includeConfigType {
    					name := fmt.Sprintf("listener/%s", l.Name)
    					fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\n", name, strings.Join(addresses, ","), port, match.match, match.destination)
    				} else {
    					fmt.Fprintf(w, "%v\t%v\t%v\t%v\n", strings.Join(addresses, ","), port, match.match, match.destination)
    				}
    			}
    		} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/envoyfilter/cluster_patch.go

    		hostMatches = hosts
    	}
    
    	if cMatch.Subset != "" && cMatch.Subset != subset {
    		return false
    	}
    
    	if cMatch.Service != "" && !hostContains(hostMatches, host.Name(cMatch.Service)) {
    		return false
    	}
    
    	// FIXME: Ports on a cluster can be 0. the API only takes uint32 for ports
    	// We should either make that field in API as a wrapper type or switch to int
    	if cMatch.PortNumber != 0 && int(cMatch.PortNumber) != port {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. tests/integration/pilot/testdata/gateway-api-crd.yaml

                        `test.example.com` and `*.example.com` would both match. On the other
                        hand, `example.com` and `test.example.net` would not match.
    
    
                      Hostnames that are prefixed with a wildcard label (`*.`) are interpreted
                      as a suffix match. That means that a match for `*.example.com` would match
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 02:01:51 UTC 2024
    - 912.2K bytes
    - Viewed (0)
Back to top