Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for dupes (0.17 sec)

  1. pilot/pkg/model/telemetry_test.go

    							t.Fatal(err)
    						}
    						cfg := &wrappers.StringValue{}
    						if err := w.GetConfig().GetConfiguration().UnmarshalTo(cfg); err != nil {
    							t.Fatal(err)
    						}
    						if _, dupe := res[f.GetName()]; dupe {
    							t.Fatalf("duplicate filter found: %v", f.GetName())
    						}
    						res[f.GetName()] = cfg.GetValue()
    					}
    				}
    			}
    			tcp, ok := got.([]*listener.Filter)
    			if ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    							"values": map[string]interface{}{
    								"dups": []interface{}{1, 2, 2, 3, 1000, 2000, 3},
    							},
    						}}},
    				expectError{applyPatchOperation{
    					"add another list with duplicates",
    					myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{
    						"values": map[string]interface{}{
    							"dups":  []interface{}{1, 2, 2, 3, 1000, 2000},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/v1beta3/conversion.go

    		}
    		return args[i].Name < args[j].Name
    	})
    	return args
    }
    
    // convertFromArgs takes a slice of arguments and returns an argument map.
    // Duplicate argument keys will be de-duped, where later keys will take precedence.
    func convertFromArgs(in []kubeadm.Arg) map[string]string {
    	if in == nil {
    		return nil
    	}
    	args := make(map[string]string, len(in))
    	for _, arg := range in {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 06:41:07 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableMap.java

          Set<Object> seenKeys = new HashSet<>();
          BitSet dups = new BitSet(); // slots that are overridden by a later duplicate key
          for (int i = size - 1; i >= 0; i--) {
            Object key = requireNonNull(localAlternatingKeysAndValues[2 * i]);
            if (!seenKeys.add(key)) {
              dups.set(i);
            }
          }
          if (dups.isEmpty()) {
            return localAlternatingKeysAndValues;
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/analyzers_test.go

    			{msg.ReferencedResourceNotFound, "Sidecar other/maps-to-different-ns"},
    			{msg.ConflictingSidecarWorkloadSelectors, "Sidecar default/dupe-1"},
    			{msg.ConflictingSidecarWorkloadSelectors, "Sidecar default/dupe-2"},
    			{msg.ConflictingSidecarWorkloadSelectors, "Sidecar default/overlap-1"},
    			{msg.ConflictingSidecarWorkloadSelectors, "Sidecar default/overlap-2"},
    		},
    	},
    	{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMap.java

          Set<K> seen = new HashSet<>();
          BitSet dups = new BitSet(); // slots that are overridden by a later duplicate key
          for (int i = size - 1; i >= 0; i--) {
            if (!seen.add(entries[i].getKey())) {
              dups.set(i);
            }
          }
          if (dups.isEmpty()) {
            return null;
          }
          @SuppressWarnings({"rawtypes", "unchecked"})
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 30 14:39:16 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  7. common/Makefile.common.mk

    lint-links:
    	@${FINDFILES} -name '*.md' -print0 | ${XARGS} awesome_bot --skip-save-results --allow_ssl --allow-timeout --allow-dupe --allow-redirect --white-list ${MARKDOWN_LINT_ALLOWLIST}
    
    lint-sass:
    	@${FINDFILES} -name '*.scss' -print0 | ${XARGS} sass-lint -c common/config/sass-lint.yml --verbose
    
    lint-typescript:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 14:37:27 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. src/net/http/transfer.go

    	// Hardening against HTTP request smuggling
    	if len(contentLens) > 1 {
    		// Per RFC 7230 Section 3.3.2, prevent multiple
    		// Content-Length headers if they differ in value.
    		// If there are dups of the value, remove the dups.
    		// See Issue 16490.
    		first := textproto.TrimString(contentLens[0])
    		for _, ct := range contentLens[1:] {
    			if first != textproto.TrimString(ct) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  9. src/net/http/pattern.go

    	if method != "" && method != "CONNECT" && rest != cleanPath(rest) {
    		return nil, errors.New("non-CONNECT pattern with unclean path can never match")
    	}
    
    	seenNames := map[string]bool{} // remember wildcard names to catch dups
    	for len(rest) > 0 {
    		// Invariant: rest[0] == '/'.
    		rest = rest[1:]
    		off = len(s) - len(rest)
    		if len(rest) == 0 {
    			// Trailing slash.
    			p.segments = append(p.segments, segment{wild: true, multi: true})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 16:36:30 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. src/internal/poll/fd_unix.go

    		return syscall.Fstat(fd.Sysfd, s)
    	})
    }
    
    // dupCloexecUnsupported indicates whether F_DUPFD_CLOEXEC is supported by the kernel.
    var dupCloexecUnsupported atomic.Bool
    
    // DupCloseOnExec dups fd and marks it close-on-exec.
    func DupCloseOnExec(fd int) (int, string, error) {
    	if syscall.F_DUPFD_CLOEXEC != 0 && !dupCloexecUnsupported.Load() {
    		r0, err := unix.Fcntl(fd, syscall.F_DUPFD_CLOEXEC, 0)
    		if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 04:09:44 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top