Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 896 for Streams (0.03 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java

         * @param crawlerClientFactory The CrawlerClientFactory to register.
         */
        public synchronized void register(final CrawlerClientFactory crawlerClientFactory) {
            clientMap.entrySet().stream().forEach(e -> load(crawlerClientFactory, e.getKey(), e.getValue()));
            clientFactoryList.add(crawlerClientFactory);
            if (clientFactoryList.size() > maxClientFactorySize) {
                clientFactoryList.remove(0);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

        if (path.endsWith(".gif")) return "image/gif";
        if (path.endsWith(".html")) return "text/html; charset=utf-8";
        if (path.endsWith(".txt")) return "text/plain; charset=utf-8";
        return "application/octet-stream";
      }
    
      public static void main(String[] args) throws Exception {
        if (args.length != 4) {
          System.out.println("Usage: SampleServer <keystore> <password> <root file> <port>");
          return;
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jan 02 02:50:44 UTC 2019
    - 4.7K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java

    public class LayeredMavenOptions<O extends MavenOptions> extends LayeredOptions<O> implements MavenOptions {
        public static MavenOptions layerMavenOptions(Collection<MavenOptions> options) {
            List<MavenOptions> o = options.stream().filter(Objects::nonNull).toList();
            if (o.isEmpty()) {
                throw new IllegalArgumentException("No options specified (or all were null)");
            } else if (o.size() == 1) {
                return o.get(0);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                // Verify some expected plugins are included
                boolean hasCompilerPlugin =
                        upgrades.stream().anyMatch(upgrade -> "maven-compiler-plugin".equals(upgrade.artifactId()));
                boolean hasExecPlugin =
                        upgrades.stream().anyMatch(upgrade -> "maven-exec-plugin".equals(upgrade.artifactId()));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Converter.java

     *       converter.reverse().convertAll(bs)}.
     *   <li>Use {@code converter} or {@code converter.reverse()} anywhere a {@link
     *       java.util.function.Function} is accepted (for example {@link java.util.stream.Stream#map
     *       Stream.map}).
     *   <li><b>Do not</b> call {@link #doForward} or {@link #doBackward} directly; these exist only to
     *       be overridden.
     * </ul>
     *
     * <h3>Example</h3>
     *
     * {@snippet :
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.transformation.impl;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.List;
    import java.util.Objects;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/io/xpp3/MavenToolchainsXpp3Reader.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.toolchain.model.io.xpp3;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    
    import org.apache.maven.toolchain.model.PersistedToolchains;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat May 31 10:30:45 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

                    SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC, SmbConstants.FILE_WRITE_DATA,
                    SmbConstants.DEFAULT_SHARING);
    
            // Close the stream
            outputStream.close();
    
            // When & Then - after close, tmp is null so write(int) will throw NullPointerException
            // This is the actual behavior of the implementation
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                    return true;
                }
            }
            return false;
        }
    
        /**
         * Download a design file.
         * @param form The file access form.
         * @return The stream response.
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public StreamResponse download(final FileAccessForm form) {
            final File file = getTargetFile(form.fileName).get();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  10. docs/smb3-features/03-multi-channel-design.md

            return channels.stream()
                .min(Comparator.comparingLong(ChannelInfo::getRequestsPending))
                .orElseThrow();
        }
        
        private ChannelInfo selectWeightedRandom(Collection<ChannelInfo> channels) {
            // Calculate total weight
            int totalWeight = channels.stream()
                .mapToInt(ChannelInfo::getScore)
                .sum();
            
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top