- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 703 for encodeTo (0.05 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt
* double-duty to make sure the counting and content are consistent, particularly when it comes * to awkward operations like measuring the encoded length of header strings, or the * length-in-digits of an encoded integer. */ @Throws(IOException::class) private fun writeOrCountBytes( sink: BufferedSink?, countBytes: Boolean, ): Long { var sink = sink
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SearchHelperTest.java
new RequestParameter("lang", new String[] { "en", "ja" }) }; String encoded = searchHelper.serializeParameters(params); assertNotNull(encoded); byte[] compressed = Base64.getUrlDecoder().decode(encoded); byte[] jsonBytes = searchHelper.gzipDecompress(compressed); String json = new String(jsonBytes); assertTrue(json.contains("q"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19.2K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/ndr/NdrHyper.java
* * @param value the hyper integer value */ public NdrHyper(final long value) { this.value = value; } @Override public void encode(final NdrBuffer dst) throws NdrException { dst.enc_ndr_hyper(this.value); } @Override public void decode(final NdrBuffer src) throws NdrException { this.value = src.dec_ndr_hyper(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/ndr/NdrLong.java
* * @param value the long integer value */ public NdrLong(final int value) { this.value = value; } @Override public void encode(final NdrBuffer dst) throws NdrException { dst.enc_ndr_long(this.value); } @Override public void decode(final NdrBuffer src) throws NdrException { this.value = src.dec_ndr_long(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.5K bytes - Click Count (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http2.hpackjson /** * Representation of one story, a set of request headers to encode or decode. This class is used * reflectively with Moshi to parse stories from files. */ data class Story( val description: String? = null, val cases: List<Case>, val fileName: String? = null, ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt
* When that limit is exceeded, the web socket is gracefully shut down. */ fun queueSize(): Long /** * Attempts to enqueue `text` to be UTF-8 encoded and sent as a the data of a text (type `0x1`) * message. * * This method returns true if the message was enqueued. Messages that would overflow the outgoing
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:45:14 GMT 2026 - 6.1K bytes - Click Count (0) -
docs/de/docs/tutorial/testing.md
Wenn Sie ein Pydantic-Modell in Ihrem Test haben und dessen Daten während des Testens an die Anwendung senden möchten, können Sie den `jsonable_encoder` verwenden, der in [JSON-kompatibler Encoder](encoder.md) beschrieben wird. /// ## Tests ausführen { #run-it } Danach müssen Sie nur noch `pytest` installieren.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 6.6K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/websockets.md
``` /// tip 上面的應用是一個極簡範例,用來示範如何處理並向多個 WebSocket 連線廣播訊息。 但請注意,因為所有狀態都在記憶體中的單一 list 裡管理,它只會在該程序執行期間生效,且僅適用於單一程序。 如果你需要一個容易與 FastAPI 整合、但更健壯,且可由 Redis、PostgreSQL 等後端支援的方案,請參考 [encode/broadcaster](https://github.com/encode/broadcaster)。 /// ## 更多資訊 { #more-info } 想了解更多選項,請參考 Starlette 的文件: * [`WebSocket` 類別](https://www.starlette.dev/websockets/)。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/ndr/NdrSmall.java
* @param value the small integer value (will be masked to 0-255 range) */ public NdrSmall(final int value) { this.value = value & 0xFF; } @Override public void encode(final NdrBuffer dst) throws NdrException { dst.enc_ndr_small(this.value); } @Override public void decode(final NdrBuffer src) throws NdrException { this.value = src.dec_ndr_small(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (0) -
cmd/admin-handlers-pools.go
return } status, err := pools.Status(r.Context(), idx) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } adminLogIf(r.Context(), json.NewEncoder(w).Encode(&status)) } func (a adminAPIHandlers) ListPools(w http.ResponseWriter, r *http.Request) { ctx := r.Context()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.1K bytes - Click Count (0)