- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 275 for encodedCh (0.12 seconds)
-
docs/en/docs/tutorial/encoder.md
{* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *} In this example, it would convert the Pydantic model to a `dict`, and the `datetime` to a `str`. The result of calling it is something that can be encoded with the Python standard [`json.dumps()`](https://docs.python.org/3/library/json.html#json.dumps).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 1.6K bytes - Click Count (0) -
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/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
context.setNotificationFilter(0x1F); // Test encoding and decoding roundtrip byte[] buffer = new byte[context.size()]; int encoded = context.encode(buffer, 0); assertEquals(context.size(), encoded); DirectoryLeaseContext decodedContext = new DirectoryLeaseContext(new Smb2LeaseKey(), 0, DirectoryCacheScope.IMMEDIATE_CHILDREN);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 14.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/xml/DomUtil.java
throw new IORuntimeException(ex); } } /** * Encodes the value of an attribute. * * @param s * The attribute value. * @return The encoded attribute value. */ public static String encodeAttrQuot(final String s) { if (s == null) { return null; } final char[] content = s.toCharArray();
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 10.1K bytes - Click Count (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
assertThat(header.constructed).isFalse() assertThat(header.length).isEqualTo(201) } assertThat(derReader.hasNext()).isFalse() } @Test fun `decode length encoded with leading zero byte`() { val buffer = Buffer() .writeByte(0b00000010) .writeByte(0b10000010) .writeByte(0b00000000) .writeByte(0b01111111)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 31.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
* @param s * The string to be converted. Must not be {@literal null} or empty. * @param enc * The encoding scheme. Must not be {@literal null} or empty. * @return The string encoded in <code>application/x-www-form-urlencoded</code> format. */ public static String encode(final String s, final String enc) { assertArgumentNotEmpty("s", s); assertArgumentNotEmpty("enc", enc);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 6.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java
public Smb2RdmaTransformCapabilitiesContext() { } @Override public int getContextType() { return CONTEXT_ID; } /** * Get the context data * * @return encoded context data */ public byte[] getData() { // Encode the context data byte[] data = new byte[20]; // 2 + 2 + 4 + 4 + 4 + 4 int idx = 0;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 4.4K bytes - Click Count (0) -
fastapi/encoders.py
""" ), ] = True, ) -> Any: """ Convert any object to something that can be encoded in JSON. This is used internally by FastAPI to make sure anything you return can be encoded as JSON before it is sent to the client. You can also use it yourself, for example to convert objects before saving them in a database that supports only JSON.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 10.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/DocumentUtil.java
* Only encodes characters that are not considered URL-safe according to CharUtil. * * @param url the URL to encode * @return the encoded URL with non-URL-safe characters properly encoded */ public static String encodeUrl(final String url) { final String enc = LaRequestUtil.getOptionalRequest() .filter(req -> req.getCharacterEncoding() != null)Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 7.2K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
.build(), ).post(query.toRequestBody(DNS_MESSAGE)) } else { val encoded = query.base64Url().replace("=", "") val requestUrl = dnsUrl.newBuilder().addQueryParameter("dns", encoded).build() url(requestUrl) } }.build() class Builder { internal var client: OkHttpClient? = null
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 8.6K bytes - Click Count (0)