Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 748 for encoded (0.12 sec)

  1. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

        protected final Client client;
        protected final String arraySettingsIndexName;
        protected final String settingsId;
        protected final SuggestSettings settings;
    
        private static final Base64.Encoder encoder = Base64.getEncoder();
    
        protected ArraySettings(final SuggestSettings settings, final Client client, final String settingsIndexName, final String settingsId) {
            this.settings = settings;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/Base64Util.java

            }
        }
    
        /**
         * Base64でエンコードします。
         *
         * @param inData
         *            エンコードするデータ
         * @return エンコードされたデータ
         */
        public static String encode(final byte[] inData) {
            if (ArrayUtil.isEmpty(inData)) {
                return "";
            }
            final int mod = inData.length % 3;
            final int num = inData.length / 3;
            char[] outData = null;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py

    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize("compress", [True, False])
    def test_gzip_request(compress):
        n = 1000
        headers = {}
        body = [1] * n
        data = json.dumps(body).encode()
        if compress:
            data = gzip.compress(data)
            headers["Content-Encoding"] = "gzip"
        headers["Content-Type"] = "application/json"
        response = client.post("/sum", content=data, headers=headers)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 13 14:26:09 UTC 2022
    - 886 bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

        public void enc_ndr_short(int s) {
            align(2);
            Encdec.enc_uint16le((short)s, buf, index);
            advance(2);
        }
        public int dec_ndr_short() {
            align(2);
            int val = Encdec.dec_uint16le(buf, index);
            advance(2);
            return val;
        }
        public void enc_ndr_long(int l) {
            align(4);
            Encdec.enc_uint32le(l, buf, index);
            advance(4);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  5. internal/logger/logrotate.go

    			stdErrEnc.Encode(&log.Entry{
    				Level:   ErrorKind,
    				Message: msg,
    				Time:    time.Now().UTC(),
    				Trace:   &log.Trace{Message: msg},
    			})
    		}
    		if err := w.rotate(); err != nil {
    			msg := fmt.Sprintf("unable to rotate log file %v: %v", w.f.Name(), err)
    			stdErrEnc.Encode(&log.Entry{
    				Level:   ErrorKind,
    				Message: msg,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/websockets.md

    Se você precisa de algo fácil de integrar com o FastAPI, mas que seja mais robusto, suportado por Redis, PostgreSQL ou outros, verifique o <a href="https://github.com/encode/broadcaster" class="external-link" target="_blank">encode/broadcaster</a>.
    
    ///
    
    ## Mais informações
    
    Para aprender mais sobre as opções, verifique a documentação do Starlette para:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:20:59 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/error/redirect.jsp

    	redirectPage.append("/error/badrequest/");
    	response.sendRedirect(redirectPage.toString());
    } else if(!"badAuth".equals(type)) {
    	redirectPage.append("/error/notfound/?url=");
    	redirectPage.append(java.net.URLEncoder.encode(requestUri , "UTF-8"));
    	response.sendRedirect(redirectPage.toString());
    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/orig/view/error/redirect.jsp

    	redirectPage.append("/error/badrequest/");
    	response.sendRedirect(redirectPage.toString());
    } else if(!"badAuth".equals(type)) {
    	redirectPage.append("/error/notfound/?url=");
    	redirectPage.append(java.net.URLEncoder.encode(requestUri , "UTF-8"));
    	response.sendRedirect(redirectPage.toString());
    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/testing.md

    /// info | "信息"
    
    注意 `TestClient` 接收可以被转化为JSON的数据,而不是Pydantic模型。
    
    如果你在测试中有一个Pydantic模型,并且你想在测试时发送它的数据给应用,你可以使用在[JSON Compatible Encoder](encoder.md){.internal-link target=_blank}介绍的`jsonable_encoder` 。
    
    ///
    
    ## 运行起来
    
    之后,你只需要安装 `pytest`:
    
    <div class="termy">
    
    ```console
    $ pip install pytest
    
    ---> 100%
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. docs/ja/docs/advanced/websockets.md

    しかし、すべての接続がメモリ内の単一のリストで処理されるため、プロセスの実行中にのみ機能し、単一のプロセスでのみ機能することに注意してください。
    
    もしFastAPIと簡単に統合できて、RedisやPostgreSQLなどでサポートされている、より堅牢なものが必要なら、<a href="https://github.com/encode/broadcaster" class="external-link" target="_blank">encode/broadcaster</a> を確認してください。
    
    ///
    
    ## その他のドキュメント
    
    オプションの詳細については、Starletteのドキュメントを確認してください。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top