Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for dedupe (0.05 sec)

  1. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                    final String[] deduped = dedupe(elements);
                    return new AbstractSet<String>() {
                      @Override
                      public int size() {
                        return deduped.length;
                      }
    
                      @Override
                      public Iterator<String> iterator() {
                        return MinimalCollection.of(deduped).iterator();
                      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                    final String[] deduped = dedupe(elements);
                    return new AbstractSet<String>() {
                      @Override
                      public int size() {
                        return deduped.length;
                      }
    
                      @Override
                      public Iterator<String> iterator() {
                        return MinimalCollection.of(deduped).iterator();
                      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    fun KtDeclaration.isDocumentedAsSince(version: String) =
        docComment?.isSince(version) == true
    
    
    private
    fun KDoc.isSince(version: String) =
        text.contains("@since $version")
    
    
    // TODO:kotlin-dsl dedupe with KotlinTypeStrings.primitiveTypeStrings
    private
    val primitiveTypeStrings =
        mapOf(
            "java.lang.Object" to "Any",
            "java.lang.String" to "String",
            "java.lang.Character" to "Char",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 04 08:05:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Streams.java

        R apply(double from, long index);
      }
    
      /**
       * Returns the last element of the specified stream, or {@link java.util.Optional#empty} if the
       * stream is empty.
       *
       * <p>Equivalent to {@code stream.reduce((a, b) -> b)}, but may perform significantly better. This
       * method's runtime will be between O(log n) and O(n), performing better on <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Queues.java

       *
       * @param deque the deque to be wrapped in a synchronized view
       * @return a synchronized view of the specified deque
       * @since 15.0
       */
      @J2ktIncompatible // Synchronized
      public static <E extends @Nullable Object> Deque<E> synchronizedDeque(Deque<E> deque) {
        return Synchronized.deque(deque, null);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. cni/pkg/plugin/sidecar_redirect.go

    }
    
    func splitPorts(portsString string) []string {
    	return strings.Split(portsString, ",")
    }
    
    func dedupPorts(ports []string) []string {
    	dedup := make(map[string]bool)
    	keys := []string{}
    
    	for _, port := range ports {
    		if !dedup[port] {
    			dedup[port] = true
    			keys = append(keys, port)
    		}
    	}
    	return keys
    }
    
    func parsePort(portStr string) (uint16, error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Queues.java

       *
       * @param deque the deque to be wrapped in a synchronized view
       * @return a synchronized view of the specified deque
       * @since 15.0
       */
      @J2ktIncompatible // Synchronized
      public static <E extends @Nullable Object> Deque<E> synchronizedDeque(Deque<E> deque) {
        return Synchronized.deque(deque, null);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Streams.java

        R apply(double from, long index);
      }
    
      /**
       * Returns the last element of the specified stream, or {@link java.util.Optional#empty} if the
       * stream is empty.
       *
       * <p>Equivalent to {@code stream.reduce((a, b) -> b)}, but may perform significantly better. This
       * method's runtime will be between O(log n) and O(n), performing better on <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  9. docs/bigdata/README.md

    mapreduce.fileoutputcommitter.algorithm.version=2 # Use the latest committer version
    mapreduce.job.reduce.slowstart.completedmaps=0.99 # 99% map, then reduce
    mapreduce.reduce.shuffle.input.buffer.percent=0.9 # Min % buffer in RAM
    mapreduce.reduce.shuffle.merge.percent=0.9 # Minimum % merges in RAM
    mapreduce.reduce.speculative=false # Disable speculation for reducing
    mapreduce.task.io.sort.factor=999 # Threshold before writing to disk
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 14.7K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

        private Map<String, Map<String, Map<String, MavenProject>>> allProjects;
        private Path projectLocalRepository;
        // projectId -> Deque<lifecycle>
        private final Map<String, Deque<String>> lifecycles = new ConcurrentHashMap<>();
    
        @Inject
        ReactorReader(MavenSession session) {
            this.session = session;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top