Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 346 for Duplicates (0.11 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

      SUPPORTS_REMOVE,
      FAILS_FAST_ON_CONCURRENT_MODIFICATION,
      /**
       * Indicates that the constructor or factory method of a map, usually an immutable map, throws an
       * {@link IllegalArgumentException} when presented with duplicate keys instead of discarding all
       * but one.
       */
      REJECTS_DUPLICATES_AT_CREATION,
    
      GENERAL_PURPOSE(SUPPORTS_PUT, SUPPORTS_REMOVE);
    
      private final Set<Feature<? super Map>> implied;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        @DisplayName("Should fail validation with duplicate preauth contexts")
        void testDuplicatePreauthContexts() throws Exception {
            // Given
            setResponseAsReceived(response);
            setPrivateField(response, "dialectRevision", 0x0311);
    
            NegotiateContextResponse[] contexts = new NegotiateContextResponse[] { createValidPreauthResponse(), createValidPreauthResponse() // Duplicate
            };
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListMultimapPutTester<K, V> extends AbstractListMultimapTester<K, V> {
      // MultimapPutTester tests non-duplicate values, but ignores ordering
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAddsValueAtEnd() {
        for (K key : sampleKeys()) {
          for (V value : sampleValues()) {
            resetContainer();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java

                requireNonNull(type, "type");
                requireNonNull(component, "component");
                if (components.put(type, component) != null) {
                    throw new IllegalStateException("Duplicate mapping for type: " + type.getName());
                }
                return this;
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  5. CHANGELOG/CHANGELOG-1.6.md

    * Made multi-scheduler graduated to Beta and then v1. ([#38871](https://github.com/kubernetes/kubernetes/pull/38871), [@k82cn](https://github.com/k82cn))
    * Fixed forming resolver search line for pods: exclude duplicates, obey libc limitations, logging and eventing appropriately. ([#29666](https://github.com/kubernetes/kubernetes/pull/29666), [@vefimova](https://github.com/vefimova))
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 304K bytes
    - Click Count (0)
  6. internal/bucket/lifecycle/tag.go

    }
    
    var (
    	errInvalidTagKey   = Errorf("The TagKey you have provided is invalid")
    	errInvalidTagValue = Errorf("The TagValue you have provided is invalid")
    
    	errDuplicatedXMLTag = Errorf("duplicated XML Tag")
    	errUnknownXMLTag    = Errorf("unknown XML Tag")
    )
    
    // UnmarshalXML - decodes XML data.
    func (tag *Tag) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 2.4K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/ListIndexOfTester.java

      public void testIndexOf_duplicate() {
        E[] array = createSamplesArray();
        array[getNumElements() / 2] = e0();
        collection = getSubjectGenerator().create(array);
        assertEquals(
            "indexOf(duplicate) should return index of first occurrence", 0, getList().indexOf(e0()));
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ListLastIndexOfTester.java

      public void testLastIndexOf_duplicate() {
        E[] array = createSamplesArray();
        array[getNumElements() / 2] = e0();
        collection = getSubjectGenerator().create(array);
        assertEquals(
            "lastIndexOf(duplicate) should return index of last occurrence",
            getNumElements() / 2,
            getList().lastIndexOf(e0()));
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

    import org.apache.maven.model.v4.MavenStaxReader;
    
    /**
     * A utility class that analyzes Maven POM files to identify memory usage patterns and potential memory optimizations.
     * This analyzer focuses on identifying duplicate strings and their memory impact across different paths in the POM structure.
     *
     * <p>The analyzer processes POM files recursively, tracking string occurrences and their locations within the POM structure.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

          K key = checkNotNull(entry.getKey());
          V previous = delegate.put(key, checkNotNull(entry.getValue()));
          if (throwIfDuplicateKeys && previous != null) {
            throw new IllegalArgumentException("duplicate key: " + key);
          }
        }
        this.delegate = Collections.unmodifiableMap(delegate);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 4K bytes
    - Click Count (0)
Back to Top