Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 274 for dups (0.06 sec)

  1. src/net/net_windows_test.go

    		}
    		group[string(line[:i])] = string(bytes.TrimSpace(line[i+1:]))
    	}
    	processGroup()
    
    	dups := make(map[string][]string)
    	for name, addr := range want {
    		if _, ok := dups[addr]; !ok {
    			dups[addr] = make([]string, 0)
    		}
    		dups[addr] = append(dups[addr], name)
    	}
    
    nextWant:
    	for name, wantAddr := range want {
    		if haveAddr, ok := have[name]; ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. hack/lib/golang.sh

    # kube::util::read-array FOO < <(kube::golang::dups a b c a)
    #
    # ALWAYS remember to quote your subshells. Not doing so will break in
    # bash 4.3, and potentially cause other issues.
    # ------------
    
    # Returns a sorted newline-separated list containing only duplicated items.
    kube::golang::dups() {
      # We use printf to insert newlines, which are required by sort.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/doc/doc_test.go

    			`func B`,
    			`B comment`,
    		},
    		[]string{
    			`Package A doc`,
    			`Package B doc`,
    			`A doc`,
    			`A comment`,
    			`A doc`,
    		},
    	},
    
    	// No dups with -u. Issue 21797.
    	{
    		"case matching on, no dups",
    		[]string{"-u", p, `duplicate`},
    		[]string{
    			`Duplicate`,
    			`duplicate`,
    		},
    		[]string{
    			"\\)\n+const", // This will appear if the const decl appears twice.
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:16:55 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  6. 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)
  7. src/internal/poll/fd_unix.go

    			// now on.
    			dupCloexecUnsupported.Store(true)
    		default:
    			return -1, "fcntl", err
    		}
    	}
    	return dupCloseOnExecOld(fd)
    }
    
    // Dup duplicates the file descriptor.
    func (fd *FD) Dup() (int, string, error) {
    	if err := fd.incref(); err != nil {
    		return -1, "", err
    	}
    	defer fd.decref()
    	return DupCloseOnExec(fd.Sysfd)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 04:09:44 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    // "dentries".
    //
    // Writing of expected results is complicated by closures and by
    // generics, where you can have multiple functions that all share the
    // same starting line. Currently we combine up all the dups and
    // closures into the single pre-func comment.
    func updateExpected(t *testing.T, testcase string, dentries []fnInlHeur, dcsites []encodedCallSiteTab) {
    	nd := len(dentries)
    
    	ues := mkUpexState(dentries)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K 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/site/resources/images/maven-deps.svg

    maven-deps.svg...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 24 16:01:00 UTC 2024
    - 44.3K bytes
    - Viewed (0)
Back to top