Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 729 for streams (0.13 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project.interpolation;
    
    import javax.inject.Inject;
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.StringReader;
    import java.io.StringWriter;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

        }
    
        public void test_update_fromInputStream() throws IOException {
            // Create test input stream
            String content = "updated1\n" + "updated2\n";
            InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
    
            // Update from input stream
            protwordsFile.update(is);
    
            // Verify update
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableTable.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Spliterator;
    import java.util.function.BinaryOperator;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link Table} whose contents will never change, with many other important properties detailed
     * at {@link ImmutableCollection}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. cmd/admin-handlers-idp-config.go

    		return
    	}
    
    	// Ensure body content type is opaque to ensure that request body has not
    	// been interpreted as form data.
    	contentType := r.Header.Get("Content-Type")
    	if contentType != "application/octet-stream" {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrBadRequest), r.URL)
    		return
    	}
    
    	password := cred.SecretKey
    	reqBytes, err := madmin.DecryptData(password, io.LimitReader(r.Body, r.ContentLength))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt

          override fun contentType(): MediaType = "application/xml".toMediaType()
    
          override fun writeTo(sink: BufferedSink) {
            sink.writeUtf8("<el")
            sink.flush()
            throw IOException("failed to stream the XML")
          }
        }
    
        class ValidRequestBody : RequestBody() {
          override fun contentType(): MediaType = "application/xml".toMediaType()
    
          override fun writeTo(sink: BufferedSink) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SigningDigest.java

            update(sequence, 0, sequence.length);
            index += 8;
            if (response.command == ServerMessageBlock.SMB_COM_READ_ANDX) {
                /* SmbComReadAndXResponse reads directly from the stream into separate byte[] b.
                 */
                final SmbComReadAndXResponse raxr = (SmbComReadAndXResponse) response;
                final int length = response.length - raxr.dataLength;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/TableCollectors.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.function.BinaryOperator;
    import java.util.function.Function;
    import java.util.function.Supplier;
    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /** Collectors utilities for {@code common.collect.Table} internals. */
    @GwtCompatible
    final class TableCollectors {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

            });
        }
    
        @Override
        public int load() {
            final Map<String, Pair<Map<String, String>, List<Pair<Pattern, String>>>> relatedContentMap = new HashMap<>();
            getAvailableRelatedContentList().stream().forEach(entity -> {
                final String key = getHostKey(entity);
                Pair<Map<String, String>, List<Pair<Pattern, String>>> pair = relatedContentMap.get(key);
                if (pair == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. src/archive/tar/reader.go

    func discard(r io.Reader, n int64) error {
    	// If possible, Seek to the last byte before the end of the data section.
    	// Do this because Seek is often lazy about reporting errors; this will mask
    	// the fact that the stream may be truncated. We can rely on the
    	// io.CopyN done shortly afterwards to trigger any IO errors.
    	var seekSkipped int64 // Number of bytes skipped via Seek
    	if sr, ok := r.(io.Seeker); ok && n > 1 {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/RegularImmutableBiMap.java

            Object writeReplace() {
          return new InverseSerializedForm<>(RegularImmutableBiMap.this);
        }
    
        @J2ktIncompatible // java.io.ObjectInputStream
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
          throw new InvalidObjectException("Use InverseSerializedForm");
        }
      }
    
      @J2ktIncompatible // serialization
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top