- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 93 for a_uuid (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_inherited_custom_class.py
with pytest.raises(TypeError): vars(asyncpg_uuid) return {"fast_uuid": asyncpg_uuid} class SomeCustomClass(BaseModel): model_config = {"arbitrary_types_allowed": True} a_uuid: MyUuid @field_serializer("a_uuid") def serialize_a_uuid(self, v): return str(v) @app.get("/get_custom_class") def return_some_user():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/UUID.java
} /** * Constructs a UUID from an existing rpc.uuid_t object * * @param uuid * wrapped uuid object to copy values from */ public UUID(final rpc.uuid_t uuid) { this.time_low = uuid.time_low; this.time_mid = uuid.time_mid; this.time_hi_and_version = uuid.time_hi_and_version; this.clock_seq_hi_and_reserved = uuid.clock_seq_hi_and_reserved;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/UUID.java
} /** * Constructs a UUID from an existing rpc.uuid_t object * * @param uuid the wrapped uuid object to copy values from */ public UUID(final rpc.uuid_t uuid) { time_low = uuid.time_low; time_mid = uuid.time_mid; time_hi_and_version = uuid.time_hi_and_version; clock_seq_hi_and_reserved = uuid.clock_seq_hi_and_reserved;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.1K bytes - Click Count (0) -
tests/test_pydanticv2_dataclasses_uuid_stringified_annotations.py
from __future__ import annotations import uuid from dataclasses import dataclass, field from dirty_equals import IsUUID from fastapi import FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot @dataclass class Item: id: uuid.UUID name: str price: float tags: list[str] = field(default_factory=list) description: str | None = None tax: float | None = NoneCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 16 10:16:48 GMT 2026 - 1.1K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/HandleGuidTest.java
} @Test public void testHandleGuidFromUuid() { UUID uuid = UUID.randomUUID(); HandleGuid guid1 = new HandleGuid(uuid); HandleGuid guid2 = new HandleGuid(guid1.toBytes()); assertEquals(guid1, guid2); assertEquals(uuid, guid1.getUuid()); } @Test public void testHandleGuidInvalidBytes() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java
// Construct UUID from components - Java UUID expects big-endian representation long mostSig = ((long) data1 << 32) | ((long) (data2 & 0xFFFF) << 16) | (data3 & 0xFFFF); long leastSig = data4; this.guid = new UUID(mostSig, leastSig); } /** * Create a handle GUID from existing UUID * @param uuid the UUID to wrap */ public HandleGuid(UUID uuid) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcConstants.java
*/ package jcifs.smb1.dcerpc; /** * DCE/RPC protocol constants for SMB1 compatibility */ public interface DcerpcConstants { /** * NDR syntax UUID for DCE/RPC protocol */ UUID DCERPC_UUID_SYNTAX_NDR = new UUID("8a885d04-1ceb-11c9-9fe8-08002b104860"); /** * First fragment flag - indicates first fragment of a multi-fragment message */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcConstants.java
* This interface defines the constants used in DCERPC communication including * packet types, flags, and UUID identifiers. */ public interface DcerpcConstants { /** * NDR syntax UUID for DCE/RPC protocol */ UUID DCERPC_UUID_SYNTAX_NDR = new UUID("8a885d04-1ceb-11c9-9fe8-08002b104860"); /** * First fragment flag - indicates first fragment of a multi-fragment messageCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
assertEquals(endpoint, dcerpcBinding.getEndpoint(), "Endpoint should be set correctly."); assertNotNull(dcerpcBinding.getUuid(), "UUID should be set for a valid pipe endpoint."); assertEquals("4B324FC8-1670-01D3-1278-5A47BF6EE188", dcerpcBinding.getUuid().toString(), "UUID should be parsed correctly."); assertEquals(3, dcerpcBinding.getMajor(), "Major version should be parsed correctly.");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0) -
internal/etag/reader.go
// Size - implement hash.Hash Size func (u UUIDHash) Size() int { return len(u.uuid) } // BlockSize - implement hash.Hash BlockSize func (u UUIDHash) BlockSize() int { return md5.BlockSize } var _ hash.Hash = &UUIDHash{} // NewUUIDHash - new UUIDHash func NewUUIDHash(uuid []byte) *UUIDHash { return &UUIDHash{uuid: uuid}
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 4.8K bytes - Click Count (0)