- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 589 for Decoder (0.06 sec)
-
cmd/metacache_gen_test.go
var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodemetacache Msgsize() is inaccurate") } vn := metacache{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 2.3K bytes - Viewed (0) -
tests/test_security_http_basic_optional.py
assert response.json() == {"detail": "Invalid authentication credentials"} def test_security_http_basic_non_basic_credentials(): payload = b64encode(b"johnsecret").decode("ascii") auth_header = f"Basic {payload}" response = client.get("/users/me", headers={"Authorization": auth_header}) assert response.status_code == 401, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
} public void testRoundTripHashCodeUsingBaseEncoding() { HashCode hash1 = Hashing.sha1().hashString("foo", US_ASCII); HashCode hash2 = HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(hash1.toString())); assertEquals(hash1, hash2); } public void testObjectHashCode() { HashCode hashCode42 = HashCode.fromInt(42); assertEquals(42, hashCode42.hashCode()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 13.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/ExchangeCodec.kt
import okhttp3.Headers import okhttp3.Request import okhttp3.Response import okhttp3.Route import okhttp3.internal.connection.RealCall import okio.Sink import okio.Source /** Encodes HTTP requests and decodes HTTP responses. */ interface ExchangeCodec { /** The connection or CONNECT tunnel that owns this codec. */ val carrier: Carrier /** Returns an output stream where the request body can be streamed. */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3K bytes - Viewed (0) -
docs/em/docs/advanced/response-directly.md
# ๐จ ๐จ ๐ ๐โ ๐ โ **FastAPI** *โก ๐ ๏ธ* ๐ ๐ช ๐ ๐จ ๐ ๐ โช๏ธโก๏ธ โซ๏ธ: `dict`, `list`, Pydantic ๐ท, ๐ฝ ๐ท, โ๏ธ. ๐ข, **FastAPI** ๐ ๐ ๐ ๐ ๐จ ๐ฒ ๐ป โ๏ธ `jsonable_encoder` ๐ฌ [๐ป ๐ ๐ข](../tutorial/encoder.md){.internal-link target=_blank}. โคด๏ธ, โ ๐, โซ๏ธ ๐ ๐ฎ ๐ ๐ป-๐ ๐ฝ (โ `dict`) ๐ `JSONResponse` ๐ ๐ โ๏ธ ๐จ ๐จ ๐ฉโ๐ป. โ๏ธ ๐ ๐ช ๐จ `JSONResponse` ๐ โช๏ธโก๏ธ ๐ *โก ๐ ๏ธ*. โซ๏ธ ๐ช โ , ๐ผ, ๐จ ๐ ๐ โ๏ธ ๐ช. ## ๐จ `Response`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.6K bytes - Viewed (0) -
docs/zh/docs/how-to/general.md
ๅจๆๆกฃ็้ขไธญๆพ็คบๅผ็จ็**่ทฏๅพๆไฝ**๏ผ่ฏท้ ่ฏป [ๆ็จ - ่ทฏๅพๆไฝ้ ็ฝฎ - ๅผ็จ](../tutorial/path-operation-configuration.md#deprecate-a-path-operation){.internal-link target=_blank} ๆๆกฃใ ## ๅฐไปปไฝๆฐๆฎ่ฝฌๆขไธบ JSON ๅ ผๅฎนๆ ผๅผ ่ฆๅฐไปปไฝๆฐๆฎ่ฝฌๆขไธบ JSON ๅ ผๅฎนๆ ผๅผ๏ผ่ฏท้ ่ฏป [ๆ็จ - JSON ๅ ผๅฎน็ผ็ ๅจ](../tutorial/encoder.md){.internal-link target=_blank} ๆๆกฃใ ## OpenAPI ๅ ๆฐๆฎ - ๆๆกฃ ่ฆๆทปๅ OpenAPI ็ๅ ๆฐๆฎ๏ผๅ ๆฌ่ฎธๅฏ่ฏใ็ๆฌใ่็ณปๆนๅผ็ญ๏ผ่ฏท้ ่ฏป [ๆ็จ - ๅ ๆฐๆฎๅๆๆกฃ URL](../tutorial/metadata.md){.internal-link target=_blank} ๆๆกฃใ ## OpenAPI ่ชๅฎไน URL
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Apr 22 23:41:09 UTC 2024 - 2.1K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt
} return result } /** * Checks if `expected` and `observed` are equal when viewed as a set and headers are * deduped. * * TODO: See if duped headers should be preserved on decode and verify. */ private fun assertSetEquals( message: String, expected: List<Header>, observed: List<Header>, ) { assertThat(LinkedHashSet(observed), message)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java
final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper(); body.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s)) .filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n"))); return asJson(new ApiResult.ApiConfigResponse().setting(body).status(ApiResult.Status.OK).result()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 9.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTesterJvm.kt
if (uri.toString() != component.urlString("")) { fail("Encoding $component $codePoint using $encoding") } return } // If the URI has more escaping than the HttpURL, check that the decoded values still match. val uriEscaped = uriEscapedCodePoints.indexOf(codePointString) != -1 if (uriEscaped) { if (uri.toString() == httpUrl.toString()) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java
* @param passwordHashHex * NT password hash, hex encoded */ public NtlmNtHashAuthenticator ( String domain, String username, String passwordHashHex ) { this(domain, username, Hex.decode(passwordHashHex)); } private NtlmNtHashAuthenticator ( byte[] passwordHash ) { super(); this.ntHash = passwordHash; } /** * {@inheritDoc} *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 2.5K bytes - Viewed (0)