Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 531 - 540 of 1,215 for stream (0.08 seconds)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin.descriptor;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.nio.file.Files;
    import java.util.ArrayList;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/LoggerUsageTask.java

        @SkipWhenEmpty
        public FileCollection getClassDirectories() {
            return getProject().getExtensions().getByType(JavaPluginExtension.class)
                .getSourceSets()
                .stream()
                // Don't pick up all source sets like the java9 ones as logger-check doesn't support the class format
                .filter(
                    sourceSet -> sourceSet.getName().equals(SourceSet.MAIN_SOURCE_SET_NAME)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 17 08:59:22 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/TopKSelector.java

    import java.util.List;
    import java.util.stream.Stream;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An accumulator that selects the "top" {@code k} elements added to it, relative to a provided
     * comparator. "Top" can mean the greatest or the lowest elements, specified in the factory used to
     * create the {@code TopKSelector} instance.
     *
     * <p>If your input data is available as a {@link Stream}, prefer passing {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

         * <p>
         * Uses the thread-local Kryo instance to serialize the object along with
         * its class information. The serialized data is written to a byte array
         * output stream.
         * </p>
         *
         * @param obj the object to serialize
         * @return the serialized object as a byte array
         * @throws IORuntimeException if an I/O error occurs during serialization
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:54:09 GMT 2026
    - 10.5K bytes
    - Click Count (3)
  5. docs/resiliency/nginx.conf

        sendfile        on;
        keepalive_timeout  65;
    
        # include /etc/nginx/conf.d/*.conf;
    
        upstream minio {
            server minio1:9000;
            server minio2:9000;
            server minio3:9000;
            server minio4:9000;
        }
    
        upstream console {
            ip_hash;
            server minio1:9001;
            server minio2:9001;
            server minio3:9001;
            server minio4:9001;
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Dec 21 04:24:45 GMT 2024
    - 3K bytes
    - Click Count (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

         *
         * @return The created OpenSearch client.
         */
        protected Client createClient() {
            final String[] hosts =
                    split(address, ",").get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).toArray(n -> new String[n]));
            final Settings settings = Settings.builder().putList("http.hosts", hosts).build();
            return new HttpClient(settings, null);
        }
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Nov 23 02:01:26 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

            |curl 'https://api.example.com/upload' \
            |  -H 'Content-Type: application/octet-stream' \
            |  --data-binary '00010203'
            """.trimMargin(),
          )
      }
    
      @Test
      fun curlPostWithBinaryBodyOmitted() {
        val binaryData = "1020".decodeHex()
        val body = binaryData.toRequestBody("application/octet-stream".toMediaType())
    
        val request =
          Request
            .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 24.6K bytes
    - Click Count (0)
  8. .github/workflows/mint/nginx.conf

        keepalive_timeout  65;
    
        # include /etc/nginx/conf.d/*.conf;
    
        upstream minio {
            server minio1:9000 max_fails=1 fail_timeout=10s;
            server minio2:9000 max_fails=1 fail_timeout=10s;
            server minio3:9000 max_fails=1 fail_timeout=10s;
            server minio4:9000 max_fails=1 fail_timeout=10s;
        }
    
        upstream console {
            ip_hash;
            server minio1:9001;
            server minio2:9001;
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 15 16:52:29 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  9. internal/grid/grid_test.go

    	start := time.Now()
    	stream, err := handler.Call(t.Context(), remoteConn, &testRequest{Num: 1, String: testPayload})
    	errFatal(err)
    	go func() {
    		defer close(stream.Requests)
    		for i := range payloads {
    			// t.Log("sending new client request")
    			stream.Requests <- &testRequest{Num: i, String: testPayload}
    		}
    	}()
    	var n int
    	err = stream.Results(func(resp *testResponse) error {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 36.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/xml/DocumentBuilderUtil.java

        }
    
        /**
         * Parses the XML.
         *
         * @param builder
         *            {@link DocumentBuilder}; must not be {@literal null}.
         * @param is
         *            Input stream; must not be {@literal null}.
         * @return {@link Document}
         */
        public static Document parse(final DocumentBuilder builder, final InputStream is) {
            assertArgumentNotNull("builder", builder);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top