Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 718 for CStream (0.12 sec)

  1. fastapi/responses.py

    
    class UJSONResponse(JSONResponse):
        """
        JSON response using the high-performance ujson library to serialize data to JSON.
    
        Read more about it in the
        [FastAPI docs for Custom Response - HTML, Stream, File, others](https://fastapi.tiangolo.com/advanced/custom-response/).
        """
    
        def render(self, content: Any) -> bytes:
            assert ujson is not None, "ujson must be installed to use UJSONResponse"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharSourceTest.java

    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.Reader;
    import java.io.StringWriter;
    import java.io.Writer;
    import java.util.EnumSet;
    import java.util.List;
    import java.util.stream.Stream;
    import junit.framework.TestSuite;
    
    /**
     * Tests for the default implementations of {@code CharSource} methods.
     *
     * @author Colin Decker
     */
    public class CharSourceTest extends IoTestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

        server.enqueue(
          MockResponse.Builder()
            .body(
              """
              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/event-stream")
            .build(),
        )
        val request =
          Request.Builder()
            .url(server.url("/"))
            .build()
        val response = client.newCall(request).execute()
        processResponse(response, listener)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.java

            ASN1Sequence authSequence;
            try {
                try ( ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token)) ) {
                    authSequence = ASN1Util.as(ASN1Sequence.class, stream);
                }
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbPipeHandle.java

        /**
         * @return the pipe
         */
        SmbPipeResource getPipe ();
    
    
        /**
         * 
         * @return this pipe's input stream
         * @throws CIFSException
         */
        InputStream getInput () throws CIFSException;
    
    
        /**
         * 
         * @return this pipe's output stream
         * @throws CIFSException
         */
        OutputStream getOutput () throws CIFSException;
    
    
        /**
         * {@inheritDoc}
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.concurrent.atomic.AtomicReference;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import org.codelibs.core.io.FileUtil;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.misc.Pair;
    import org.codelibs.core.misc.Tuple3;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/exbhv/RoleBhv.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.es.user.exbhv;
    
    import java.util.Map;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    
    import org.codelibs.core.misc.Pair;
    import org.codelibs.fess.es.user.bsbhv.BsRoleBhv;
    import org.codelibs.fess.es.user.exentity.Role;
    import org.codelibs.fess.util.ComponentUtil;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

    import java.nio.file.FileSystem;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.Collections;
    import java.util.List;
    import java.util.stream.Stream;
    
    import com.google.common.jimfs.Configuration;
    import com.google.common.jimfs.Jimfs;
    import org.apache.commons.cli.CommandLine;
    import org.apache.commons.cli.CommandLineParser;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

                    }
                }
            });
    
            ModelBuildingResult result = builder.build(request);
            Dependency dep = result.getEffectiveModel().getDelegate().getDependencyManagement().getDependencies().stream()
                    .filter(d -> "test:mydep:jar".equals(d.getManagementKey()))
                    .findFirst()
                    .get();
            assertEquals("0.2", dep.getVersion());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

            final CrawlingInfoHelper crawlingInfoHelper = ComponentUtil.getCrawlingInfoHelper();
            final LanguageHelper languageHelper = ComponentUtil.getLanguageHelper();
            final List<Map<String, Object>> docList = body.documents.stream().map(doc -> {
                if (!doc.containsKey(indexFieldContentLength)) {
                    long contentLength = 0;
                    if (doc.get(indexFieldTitle) instanceof final String title) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top