Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 635 for streamCh (0.06 sec)

  1. guava/src/com/google/common/collect/Maps.java

       *
       * <p><b>Note:</b> on Java 8+, it is usually better to use streams. For example:
       *
       * <pre>{@code
       * import static com.google.common.collect.ImmutableMap.toImmutableMap;
       * ...
       * ImmutableMap<Color, String> colorNames =
       *     allColors.stream().collect(toImmutableMap(c -> c, c -> c.toString()));
       * }</pre>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

            verifyTokenKeep(() -> downloadpage(form.dictId));
            return protwordsService.getProtwordsFile(form.dictId)
                    .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> {
                        file.writeOut(out);
                    })).orElseGet(() -> {
                        throwValidationError(messages -> messages.addErrorsFailedToDownloadProtwordsFile(GLOBAL),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.PrintWriter;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                return null;
            }
            validate(form, messages -> {}, this::asListHtml);
            verifyTokenKeep(this::asListHtml);
            return asStream(file.getName()).contentTypeOctetStream().stream(out -> {
                try (FileInputStream fis = new FileInputStream(file)) {
                    out.write(fis);
                }
            });
        }
    
        @Execute
        @Secured({ ROLE })
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
      }
    
      /**
       * Regression test for an edge case where closing response body in the HTTP engine doesn't release
       * the corresponding stream allocation. This test keeps those response bodies alive and reads
       * them after the redirect has completed. This forces a connection to not be reused where it would
       * be otherwise.
       *
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p><b>Java 8+ users:</b> many use cases for this method are better addressed by {@link
       * java.util.stream.Stream#filter}. This method is not being deprecated, but we gently encourage
       * you to migrate to streams.
       */
      // TODO(kevinb): how to omit that last sentence when building GWT javadoc?
      public static <E extends @Nullable Object> Set<E> filter(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  7. fastapi/applications.py

                Type[Response],
                Doc(
                    """
                    The default response class to be used.
    
                    Read more in the
                    [FastAPI docs for Custom Response - HTML, Stream, File, others](https://fastapi.tiangolo.com/advanced/custom-response/#default-response-class).
    
                    **Example**
    
                    ```python
                    from fastapi import FastAPI
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

            verifyTokenKeep(() -> downloadpage(form.dictId));
            return stemmerOverrideService.getStemmerOverrideFile(form.dictId)
                    .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> {
                        file.writeOut(out);
                    })).orElseGet(() -> {
                        throwValidationError(messages -> messages.addErrorsFailedToDownloadStemmeroverrideFile(GLOBAL),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

            verifyTokenKeep(() -> downloadpage(form.dictId));
            return kuromojiService.getKuromojiFile(form.dictId)
                    .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> {
                        file.writeOut(out);
                    })).orElseGet(() -> {
                        throwValidationError(messages -> messages.addErrorsFailedToDownloadKuromojiFile(GLOBAL),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import java.util.RandomAccess;
    import java.util.stream.Collector;
    import jsinterop.annotations.JsMethod;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT emulated version of {@link com.google.common.collect.ImmutableList}. TODO(cpovirk): more doc
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top