Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1201 - 1210 of 2,167 for Batch (0.07 sec)

  1. tests/test_tutorial/test_response_model/test_tutorial003_05.py

    def test_get_redirect():
        response = client.get("/portal", params={"teleport": True}, follow_redirects=False)
        assert response.status_code == 307, response.text
        assert response.headers["location"] == "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/request/Request.java

                throw new IllegalArgumentException(error);
            }
    
            final Deferred<T> deferred = new Deferred<>();
            try {
                processRequest(client, deferred);
            } catch (final Exception e) {
                throw new SuggesterException(e);
            }
            return deferred.promise();
        }
    
        protected abstract void processRequest(Client client, Deferred<T> deferred);
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/net/MimeTypeUtil.java

                if (mimetype != null) {
                    return mimetype;
                }
                return URLConnection.guessContentTypeFromName(path);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            } finally {
                CloseableUtil.close(is);
            }
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java

            setEncoding((String) src.get(ENCODING));
            final String dataStr = (String) src.get(DATA);
            if (dataStr != null) {
                try {
                    setData(Base64Util.decode(dataStr));
                } catch (final Exception e) {
                    throw new OpenSearchAccessException("data: " + dataStr, e);
                }
            }
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. cmd/typed-errors.go

    // errMethodNotAllowed means that method is not allowed.
    var errMethodNotAllowed = errors.New("Method not allowed")
    
    // errSignatureMismatch means signature did not match.
    var errSignatureMismatch = errors.New("Signature does not match")
    
    // When upload object size is greater than 5G in a single PUT/POST operation.
    var errDataTooLarge = errors.New("Object size larger than allowed limit")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

        /**
         * Injects the mirroring information into the specified repositories. For each repository that is matched by a
         * mirror, its URL and ID will be updated to match the values from the mirror specification. Repositories without a
         * matching mirror will pass through unchanged. Note: This method must be called before
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/exbhv/ScheduledJobBhv.java

        public OptionalEntity<ScheduledJob> selectByPK(final String id) {
            Exception lastException = null;
            for (int i = 0; i < 30; i++) {
                try {
                    return super.selectByPK(id);
                } catch (final Exception e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to select a job by {}", id, e);
                    }
                    lastException = e;
    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. src/main/java/org/codelibs/fess/crawler/processor/FessResponseProcessor.java

            }
            ResultData target = resultData;
            for (final Ingester ingester : ingestFactory.getIngesters()) {
                try {
                    target = ingester.process(target, responseData);
                } catch (final Exception e) {
                    logger.warn("Failed to process Ingest[{}]", ingester.getClass().getSimpleName(), e);
                }
            }
            return target;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java

            if ( server == null ) {
                server = "\\\\";
            }
            MsrpcSamrConnect4 rpc = new MsrpcSamrConnect4(server, access, this);
            try {
                handle.sendrecv(rpc);
            }
            catch ( DcerpcException de ) {
                if ( de.getErrorCode() != DcerpcError.DCERPC_FAULT_OP_RNG_ERROR ) {
                    throw de;
                }
                MsrpcSamrConnect2 rpc2 = new MsrpcSamrConnect2(server, access, this);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java

                try (InputStream in = Files.newInputStream(userToolchainsFile.toPath())) {
                    toolchains = new PersistedToolchains(new MavenToolchainsStaxReader().read(in));
                } catch (Exception e) {
                    throw new MisconfiguredToolchainException(
                            "Cannot read toolchains file at " + userToolchainsFile.getAbsolutePath(), e);
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top