Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 751 - 760 of 1,174 for asStream (0.31 seconds)

  1. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

                Trans2FindFirst2Response resp = inv.getArgument(1);
                // First response content
                FE[] res = java.util.Arrays.stream(batches.get(0)).map(FE::new).toArray(FE[]::new);
                setField(resp, jcifs.internal.smb1.trans.SmbComTransactionResponse.class, "results", res);
                setField(resp, Trans2FindFirst2Response.class, "sid", 42);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbCopyUtilTest.java

                SmbFile dest = mock(SmbFile.class);
                CIFSContext ctx = ctxWithIgnore(false);
                when(src.getContext()).thenReturn(ctx);
    
                // Force failure before any stream construction
                when(src.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenThrow(new SmbException("boom"));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/io/OutputStreamUtil.java

            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Flushes the {@link OutputStream}.
         *
         * @param out the output stream
         */
        public static void flush(final OutputStream out) {
            if (out == null) {
                return;
            }
            try {
                out.flush();
            } catch (final IOException e) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt

        assertThat(buffer.isProbablyUtf8(100L)).isTrue()
        assertThat(buffer.readUtf8()).isEqualTo("hello ".repeat(1024))
      }
    
      /** Confirm [isProbablyUtf8] doesn't attempt to read the entire stream. */
      @Test fun doesNotReadEntireSource() {
        val unlimitedSource =
          object : Source {
            override fun read(
              sink: Buffer,
              byteCount: Long,
            ): Long {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Oct 06 22:47:06 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. docs/orchestration/docker-compose/nginx.conf

    worker_processes  auto;
    
    error_log  /var/log/nginx/error.log warn;
    pid        /var/run/nginx.pid;
    
    events {
        worker_connections  4096;
    }
    
    http {
        include       /etc/nginx/mime.types;
        default_type  application/octet-stream;
    
        log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                          '$status $body_bytes_sent "$http_referer" '
                          '"$http_user_agent" "$http_x_forwarded_for"';
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Mar 05 06:32:39 GMT 2022
    - 3K bytes
    - Click Count (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin.descriptor;
    
    import javax.xml.stream.XMLInputFactory;
    import javax.xml.stream.XMLStreamException;
    import javax.xml.stream.XMLStreamReader;
    
    import java.io.BufferedInputStream;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java

     */
    package org.codelibs.fess.app.web.api.admin.keymatch;
    
    import static org.codelibs.fess.app.web.admin.keymatch.AdminKeymatchAction.getKeyMatch;
    
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.app.pager.KeyMatchPager;
    import org.codelibs.fess.app.service.KeyMatchService;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/query/StoredLtrQueryBuilder.java

    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    
    import org.apache.lucene.search.Query;
    import org.opensearch.core.ParseField;
    import org.opensearch.core.common.io.stream.NamedWriteable;
    import org.opensearch.core.common.io.stream.StreamOutput;
    import org.opensearch.core.xcontent.ObjectParser;
    import org.opensearch.core.xcontent.XContentBuilder;
    import org.opensearch.core.xcontent.XContentParser;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java

     * under the License.
     */
    package org.apache.maven.repository.internal.scopes;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.stream.Collectors;
    
    import org.apache.maven.api.DependencyScope;
    import org.apache.maven.repository.internal.artifact.MavenArtifactProperties;
    import org.eclipse.aether.impl.scope.BuildScopeMatrixSource;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 9.2K bytes
    - Click Count (0)
  10. compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

        }
    
        @Override
        public String getLocation() {
            return location;
        }
    
        /**
         * Gets the content of this source.
         *
         * @return The underlying character stream, never {@code null}.
         */
        public String getContent() {
            return content;
        }
    
        @Override
        public String toString() {
            return getLocation();
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top