Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 1,022 for Streams (0.04 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

            return Plugin.newBuilder()
                    .groupId("org.apache.maven.plugins")
                    .artifactId(artifactId)
                    .executions(Arrays.stream(goals)
                            .map(goal -> PluginExecution.newBuilder()
                                    .id("default-" + goal)
                                    .goals(List.of(goal))
                                    .build())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparator.java

        }
    
        private long calculateWeight(MavenProject project) {
            // Calculate maximum weight of downstream dependencies
            long maxDownstreamWeight = dependencyGraph.getDownstreamProjects(project, false).stream()
                    .mapToLong(this::getProjectWeight)
                    .max()
                    .orElse(0L);
    
            // Weight = 1 + max downstream weight (similar to Takari Smart Builder)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Aug 06 12:03:40 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

            return Plugin.newBuilder()
                    .groupId("org.apache.maven.plugins")
                    .artifactId(artifactId)
                    .executions(Arrays.stream(goals)
                            .map(goal -> PluginExecution.newBuilder()
                                    .id("default-" + goal)
                                    .goals(List.of(goal))
                                    .build())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSet.java

      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code
       * ImmutableSet}. Elements appear in the resulting set in the encounter order of the stream; if
       * the stream contains duplicates (according to {@link Object#equals(Object)}), only the first
       * duplicate in encounter order will appear in the result.
       *
       * @since 21.0
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Nov 07 16:09:47 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

                        }
                        throw e1;
                    }
                    return asStream("es_" + ComponentUtil.getSystemHelper().getCurrentTimeAsLong() + ".json").contentTypeOctetStream()
                            .stream(out -> {
                                try (final InputStream in = new FileInputStream(tempFile)) {
                                    out.write(in);
                                } finally {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

    import java.util.List;
    import java.util.Queue;
    import java.util.concurrent.ConcurrentLinkedQueue;
    import java.util.concurrent.ExecutionException;
    import java.util.function.IntConsumer;
    import java.util.stream.IntStream;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Test Java8 map.compute in concurrent cache context. */
    @NullUnmarked
    public class LocalCacheMapComputeTest extends TestCase {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/ParameterUtil.java

            final Pattern properyPattern = Pattern.compile(ComponentUtil.getFessConfig().getAppEncryptPropertyPattern());
            final PrimaryCipher cipher = ComponentUtil.getPrimaryCipher();
            ParameterUtil.parse(value).entrySet().stream().map(e -> {
                final String k = e.getKey();
                final String v = e.getValue();
                if (properyPattern.matcher(k).matches() && !v.startsWith(CIPHER_PREFIX)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. internal/http/transports.go

    		TLSClientConfig:       &tlsClientConfig,
    		ForceAttemptHTTP2:     s.EnableHTTP2,
    		// Go net/http automatically unzip if content-type is
    		// gzip disable this feature, as we are always interested
    		// in raw stream.
    		DisableCompression: true,
    	}
    
    	// https://github.com/golang/go/issues/23559
    	// https://github.com/golang/go/issues/42534
    	// https://github.com/golang/go/issues/43989
    	// https://github.com/golang/go/issues/33425
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 08 17:51:53 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. internal/deadlineconn/deadlineconn.go

    import (
    	"context"
    	"net"
    	"sync"
    	"sync/atomic"
    	"time"
    )
    
    // updateInterval is the minimum time between deadline updates.
    const updateInterval = 250 * time.Millisecond
    
    // DeadlineConn - is a generic stream-oriented network connection supporting buffered reader and read/write timeout.
    type DeadlineConn struct {
    	net.Conn
    	readDeadline            time.Duration // sets the read deadline on a connection.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Dec 02 13:21:17 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableBiMap.java

    import java.io.ObjectInputStream;
    import java.util.Arrays;
    import java.util.Comparator;
    import java.util.Map;
    import java.util.function.BinaryOperator;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import java.util.stream.Collectors;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link BiMap} whose contents will never change, with many other important properties detailed
     * at {@link ImmutableCollection}.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 22.7K bytes
    - Viewed (0)
Back to top