Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 208 for shorter (0.04 seconds)

  1. internal/logger/logger.go

    	errorFmtFunc = f
    }
    
    // uniq swaps away duplicate elements in data, returning the size of the
    // unique set. data is expected to be pre-sorted, and the resulting set in
    // the range [0:size] will remain in sorted order. Uniq, following a
    // sort.Sort call, can be used to prepare arbitrary inputs for use as sets.
    func uniq(data sort.Interface) (size int) {
    	p, l := 0, data.Len()
    	if l <= 1 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

                projectAndSubmodules.add(project);
                return session.getProjects().stream() // sorted all
                        .filter(projectAndSubmodules::contains)
                        .collect(Collectors.toList()); // sorted and filtered to what we need
            } else {
                return Collections.singletonList(project);
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/MultimapBuilder.java

        return treeKeys(Ordering.natural());
      }
    
      /**
       * Uses a {@link TreeMap} sorted by the specified comparator to map keys to value collections.
       *
       * <p>The collections returned by {@link Multimap#keySet()}, {@link Multimap#keys()}, and {@link
       * Multimap#asMap()} will iterate through the keys in sorted order.
       *
       * <p>For all multimaps generated by the resulting builder, the {@link Multimap#keySet()} can be
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 18K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/MultimapBuilder.java

        return treeKeys(Ordering.natural());
      }
    
      /**
       * Uses a {@link TreeMap} sorted by the specified comparator to map keys to value collections.
       *
       * <p>The collections returned by {@link Multimap#keySet()}, {@link Multimap#keys()}, and {@link
       * Multimap#asMap()} will iterate through the keys in sorted order.
       *
       * <p>For all multimaps generated by the resulting builder, the {@link Multimap#keySet()} can be
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 18K bytes
    - Click Count (0)
  5. schema/schema.go

    		if field.DBName == "" && field.DataType != "" {
    			field.DBName = namer.ColumnName(schema.Table, field.Name)
    		}
    
    		bindName := field.BindName()
    		if field.DBName != "" {
    			// nonexistence or shortest path or first appear prioritized if has permission
    			if v, ok := schema.FieldsByDBName[field.DBName]; !ok || ((field.Creatable || field.Updatable || field.Readable) && len(field.BindNames) < len(v.BindNames)) {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            // ensure canonical order of standard lifecycles
            return lifecyclesMap.values().stream()
                    .peek(l -> Objects.requireNonNull(l.getId(), "A lifecycle must have an id."))
                    .sorted(Comparator.comparing(Lifecycle::getId, comparator))
                    .collect(Collectors.toList());
        }
    
        private Map<String, Lifecycle> lookupLifecycles() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       * depend on the element values, such as a {@link SortedSet}, or on the insertion ordering, such
       * as a {@link LinkedHashSet}. All list tests and sorted-collection tests automatically specify
       * this feature.
       */
      KNOWN_ORDER,
    
      /**
       * Indicates that a collection has a different {@link Object#toString} representation than most
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

    import com.google.common.collect.testing.TestStringSortedMapGenerator;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Generators of sorted maps and derived collections.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     * @author Jared Levy
     * @author Hayward Chan
     * @author Chris Povirk
     * @author Louis Wasserman
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  9. cmd/endpoint-ellipses.go

    	return (count >= setSizes[0] && count <= setSizes[len(setSizes)-1])
    }
    
    func commonSetDriveCount(divisibleSize uint64, setCounts []uint64) (setSize uint64) {
    	// prefers setCounts to be sorted for optimal behavior.
    	if divisibleSize < setCounts[len(setCounts)-1] {
    		return divisibleSize
    	}
    
    	// Figure out largest value of total_drives_in_erasure_set which results
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

         * all other executions until finished.
         * We also lock on a given project to forbid a forked lifecycle to be executed concurrently with the project.
         * TODO: ideally, the builder should take care of the ordering in a smarter way
         * TODO: and concurrency issues fixed with MNG-7157
         */
        protected class ProjectLock implements NoExceptionCloseable {
            final Lock acquiredAggregatorLock;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 12 14:55:55 GMT 2025
    - 21K bytes
    - Click Count (0)
Back to Top