Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for dup3 (0.31 sec)

  1. 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 entries;
          }
          @SuppressWarnings({"rawtypes", "unchecked"})
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  2. 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;
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 41.4K bytes
    - Viewed (0)
  3. api/go1.19.txt

    pkg debug/elf, const R_LARCH_SOP_PUSH_ABSOLUTE = 23 #46229
    pkg debug/elf, const R_LARCH_SOP_PUSH_ABSOLUTE R_LARCH #46229
    pkg debug/elf, const R_LARCH_SOP_PUSH_DUP = 24 #46229
    pkg debug/elf, const R_LARCH_SOP_PUSH_DUP R_LARCH #46229
    pkg debug/elf, const R_LARCH_SOP_PUSH_GPREL = 25 #46229
    pkg debug/elf, const R_LARCH_SOP_PUSH_GPREL R_LARCH #46229
    pkg debug/elf, const R_LARCH_SOP_PUSH_PCREL = 22 #46229
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 17.9K bytes
    - Viewed (1)
  4. src/cmd/api/main_test.go

    	f := strings.Join(w.scope, ", ") + ", " + fmt.Sprintf(format, args...)
    	if strings.Contains(f, "\n") {
    		panic("feature contains newlines: " + f)
    	}
    
    	if _, dup := w.features[f]; dup {
    		panic("duplicate feature inserted: " + f)
    	}
    	w.features[f] = true
    
    	if verbose {
    		log.Printf("feature: %s", f)
    	}
    }
    
    func needApproval(filename string) bool {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        try {
          ImmutableBiMap.copyOf(map);
          fail();
        } catch (IllegalArgumentException expected) {
          assertThat(expected.getMessage()).containsMatch("1|2");
          // We don't specify which of the two dups should be reported.
        }
      }
    
      public void testToImmutableBiMap() {
        Collector<Entry<String, Integer>, ?, ImmutableBiMap<String, Integer>> collector =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        try {
          ImmutableBiMap.copyOf(map);
          fail();
        } catch (IllegalArgumentException expected) {
          assertThat(expected.getMessage()).containsMatch("1|2");
          // We don't specify which of the two dups should be reported.
        }
      }
    
      // TODO(b/172823566): Use mainline testToImmutableBiMap once CollectorTester is usable to java7.
      public void testToImmutableBiMap_java7_combine() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  7. cmd/metacache-entries.go

    			// of this fashion such as
    			//  - foo-1
    			//  - foo-1/
    			// we should avoid this situation by making sure that
    			// we compare the `foo-1/` after path.Clean() to
    			// de-dup the entries.
    			if path.Clean(best.name) == path.Clean(other.name) {
    				toMerge = append(toMerge, otherIdx)
    				continue
    			}
    			if best.name > other.name {
    				toMerge = toMerge[:0]
    				best = other
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
Back to top