- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 748 for encoded (0.05 sec)
-
android/guava-tests/test/com/google/common/collect/RangeTest.java
// overlap below assertEquals(Range.closed(4, 6), range.intersection(Range.closed(2, 6))); // enclosed with same start assertEquals(Range.closed(4, 6), range.intersection(Range.closed(4, 6))); // enclosed, interior assertEquals(Range.closed(5, 7), range.intersection(Range.closed(5, 7))); // enclosed with same end assertEquals(Range.closed(6, 8), range.intersection(Range.closed(6, 8))); // equal
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.9K bytes - Viewed (0) -
docs_src/encoder/tutorial001_py310.py
from datetime import datetime from fastapi import FastAPI from fastapi.encoders import jsonable_encoder from pydantic import BaseModel fake_db = {} class Item(BaseModel): title: str timestamp: datetime description: str | None = None app = FastAPI() @app.put("/items/{id}") def update_item(id: str, item: Item): json_compatible_item_data = jsonable_encoder(item)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 430 bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrShort.java
@SuppressWarnings ( "javadoc" ) public class NdrShort extends NdrObject { public int value; public NdrShort ( int value ) { this.value = value & 0xFF; } @Override public void encode ( NdrBuffer dst ) throws NdrException { dst.enc_ndr_short(this.value); } @Override public void decode ( NdrBuffer src ) throws NdrException { this.value = src.dec_ndr_short(); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.3K bytes - Viewed (0) -
internal/event/targetid.go
func (tid TargetID) String() string { return tid.ID + ":" + tid.Name } // ToARN - converts to ARN. func (tid TargetID) ToARN(region string) ARN { return ARN{TargetID: tid, region: region} } // MarshalJSON - encodes to JSON data. func (tid TargetID) MarshalJSON() ([]byte, error) { return json.Marshal(tid.String()) } // UnmarshalJSON - decodes JSON data. func (tid *TargetID) UnmarshalJSON(data []byte) error { var s string
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.8K bytes - Viewed (0) -
internal/event/config.go
} func (filter FilterRule) isEmpty() bool { return filter.Name == "" && filter.Value == "" } // MarshalXML implements a custom marshaller to support `omitempty` feature. func (filter FilterRule) MarshalXML(e *xml.Encoder, start xml.StartElement) error { if filter.isEmpty() { return nil } type filterRuleWrapper FilterRule return e.EncodeElement(filterRuleWrapper(filter), start) } // UnmarshalXML - decodes XML data.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 16 17:28:29 UTC 2021 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmUtil.java
byte[] temp = new byte[28 + avPairsLength + 4]; Encdec.enc_uint32le(0x00000101, temp, 0); // Header Encdec.enc_uint32le(0x00000000, temp, 4); // Reserved Encdec.enc_uint64le(nanos1601, temp, 8); System.arraycopy(clientChallenge, 0, temp, 16, 8); Encdec.enc_uint32le(0x00000000, temp, 24); // Unknown if ( avPairs != null )
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 9.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/CommonServerMessageBlock.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.3K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
package okhttp3.dnsoverhttps import java.io.EOFException import java.net.InetAddress import java.net.UnknownHostException import okio.Buffer import okio.ByteString import okio.utf8Size /** * Trivial Dns Encoder/Decoder, basically ripped from Netty full implementation. */ internal object DnsRecordCodec { private const val SERVFAIL = 2 private const val NXDOMAIN = 3 const val TYPE_A = 0x0001 const val TYPE_AAAA = 0x001c
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.8K bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
If you have a Pydantic model in your test and you want to send its data to the application during testing, you can use the `jsonable_encoder` described in [JSON Compatible Encoder](encoder.md){.internal-link target=_blank}. /// ## Run it After that, you just need to install `pytest`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.4K bytes - Viewed (0)