Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 754 for Streams (0.13 sec)

  1. android/guava/src/com/google/common/collect/Serialization.java

          Map<K, V> map, ObjectOutputStream stream) throws IOException {
        stream.writeInt(map.size());
        for (Map.Entry<K, V> entry : map.entrySet()) {
          stream.writeObject(entry.getKey());
          stream.writeObject(entry.getValue());
        }
      }
    
      /**
       * Populates a map by reading an input stream, as part of deserialization. See {@link #writeMap}
       * for the data format.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

        /**
         * Returns the input stream for the Maven execution, if running in embedded mode.
         *
         * @return an {@link Optional} containing the input stream, or empty if not applicable
         */
        @Nonnull
        default Optional<InputStream> stdIn() {
            return Optional.ofNullable(parserRequest().stdIn());
        }
    
        /**
         * Returns the output stream for the Maven execution, if running in embedded mode.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/entity/GeoInfo.java

            final String[] geoFields = fessConfig.getQueryGeoFieldsAsArray();
            final Map<String, List<QueryBuilder>> geoMap = new HashMap<>();
    
            StreamUtil.stream(request.getParameterMap())
                    .of(stream -> stream.filter(e -> e.getKey().startsWith("geo.") && e.getKey().endsWith(".point")).forEach(e -> {
                        final String key = e.getKey();
                        for (final String geoField : geoFields) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

            if (StringUtil.isBlank(slackWebhookUrls)) {
                return;
            }
            final String body = toSlackMessage(discloser);
            StreamUtil.split(slackWebhookUrls, "[,\\s]").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(url -> {
                try (CurlResponse response = Curl.post(url).header("Content-Type", "application/json").body(body).execute()) {
                    if (response.getHttpStatusCode() == 200) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/GroupService.java

            });
    
            userBhv.selectCursor(cb -> cb.query().setGroups_Equal(group.getId()), entity -> {
                entity.setGroups(
                        stream(entity.getGroups()).get(stream -> stream.filter(s -> !s.equals(group.getId())).toArray(n -> new String[n])));
                userBhv.insertOrUpdate(entity);
            });
    
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            assertTrue(ex.getMessage() != null && ex.getMessage().contains("Not connected"));
        }
    
        static java.util.stream.Stream<Arguments> npePublicGetters() {
            return java.util.stream.Stream.of(Arguments.of("getTreeType()", (org.junit.jupiter.api.function.Executable) () -> {
                CIFSContext ctx = mock(CIFSContext.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/CredentialsInternalTest.java

    import static org.mockito.Mockito.lenient;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verifyNoMoreInteractions;
    
    import java.util.stream.Stream;
    
    import javax.security.auth.Subject;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/util/Base64Test.java

    package jcifs.smb1.util;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    import java.util.stream.Stream;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/InputStreamUtil.java

                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Gets a byte array from an {@link InputStream}.
         * <p>
         * The input stream is not closed.
         * </p>
         *
         * @param is the input stream (must not be {@literal null})
         * @return the byte array
         */
        public static final byte[] getBytes(final InputStream is) {
            assertArgumentNotNull("is", is);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

      override fun finishRequest() {
        stream!!.sink.close()
      }
    
      override fun readResponseHeaders(expectContinue: Boolean): Response.Builder? {
        val stream = stream ?: throw IOException("stream wasn't created")
        val headers = stream.takeHeaders(callerIsIdle = expectContinue)
        val responseBuilder = readHttp2HeadersList(headers, protocol)
        return if (expectContinue && responseBuilder.code == HTTP_CONTINUE) {
          null
        } else {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top