- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 2,272 for sata (6.89 sec)
-
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
} @Test @DisplayName("Test decode with valid data") void testDecodeWithValidData() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = new byte[8]; long expectedIndexNumber = 0x123456789ABCDEF0L; // Encode test data SMBUtil.writeInt8(expectedIndexNumber, buffer, 0); // DecodeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
tests/test_pydantic_v1_error.py
@app.post("/union") def endpoint(data: Union[dict, ModelV1A]): # pragma: no cover return data def test_raises_pydantic_v1_model_in_sequence() -> None: class ModelV1A(BaseModel): name: str app = FastAPI() with pytest.raises(PydanticV1NotSupportedError): @app.post("/sequence") def endpoint(data: list[ModelV1A]): # pragma: no coverRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 2.3K bytes - Viewed (0) -
tests/test_ws_dependencies.py
client = TestClient(app) with client.websocket_connect("/") as websocket: data = json.loads(websocket.receive_text()) assert data == ["app", "index"] def test_routerindex(): client = TestClient(app) with client.websocket_connect("/router") as websocket: data = json.loads(websocket.receive_text()) assert data == ["app", "router2", "router", "routerindex"] def test_routerprefixindex():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 2.1K bytes - Viewed (0) -
tests/test_dependency_yield_scope_websockets.py
data = websocket.receive_json() assert data["is_open"] is True assert global_state["session_closed"] is True def test_request_scope() -> None: global_context.set({}) global_state = global_context.get() with client.websocket_connect("/request-scope") as websocket: data = websocket.receive_json() assert data["is_open"] is True
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 6K bytes - Viewed (0) -
tests/test_query_cookie_header_model_extra_params.py
model_config = {"extra": "allow"} @app.get("/query") async def query_model_with_extra(data: Model = Query()): return data @app.get("/header") async def header_model_with_extra(data: Model = Header()): return data @app.get("/cookie") async def cookies_model_with_extra(data: Model = Cookie()): return data def test_query_pass_extra_list(): client = TestClient(app) resp = client.get(Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 2.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
import org.apache.maven.api.annotations.ThreadSafe; /** * A container for data that is specific to a session. * All components may use this storage to associate arbitrary data with a session. * <p> * Unlike a cache, this session data is not subject to purging. For this same reason, session data should also not be * abused as a cache (i.e. for storing values that can be re-calculated) to avoid memory exhaustion.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Feb 28 23:31:09 UTC 2024 - 4.7K bytes - Viewed (0) -
tests/create_test.go
} } func TestCreateEmptySlice(t *testing.T) { data := []User{} if err := DB.Create(&data).Error; err != gorm.ErrEmptySlice { t.Errorf("no data should be created, got %v", err) } sliceMap := []map[string]interface{}{} if err := DB.Model(&User{}).Create(&sliceMap).Error; err != gorm.ErrEmptySlice { t.Errorf("no data should be created, got %v", err) } }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 09:55:20 UTC 2025 - 26.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/BloomFilterStrategies.java
this.bitCount = new LongAdder(); } // Used by serialization LockFreeBitArray(long[] data) { checkArgument(data.length > 0, "data length is zero!"); this.data = new AtomicLongArray(data); this.bitCount = new LongAdder(); long bitCount = 0; for (long value : data) { bitCount += Long.bitCount(value); } this.bitCount.add(bitCount); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jan 08 14:27:16 UTC 2025 - 10.7K bytes - Viewed (0) -
tests/test_dependency_yield_scope.py
data = response.json() assert data["func_is_open"] is False assert data["req_is_open"] is True def test_sub() -> None: response = client.get("/sub") assert response.status_code == 200 data = response.json() assert data["named_session_open"] is True assert data["session_open"] is True def test_broken_scope() -> None: with pytest.raises(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
// Create a simple message with 3 bytes of data byte[] data = new byte[] { 1, 2, 3 }; byte[] fullData = concat(messageHeader(3), data); InputStream in = new ByteArrayInputStream(fullData); SocketInputStream sis = new SocketInputStream(in); // Read the three data bytes assertEquals(1, sis.read()); assertEquals(2, sis.read());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0)