- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 56 for Predict (0.04 sec)
-
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
// Given Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L); // When int creditCost = request.getCreditCost(); // Then assertEquals(1, creditCost, "Credit cost should always be 1 for cancel requests"); } @Test @DisplayName("Test isResponseAsync returns false") void testIsResponseAsync() { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2Constants.java
*/ public static final int SMB2_GLOBAL_CAP_DFS = 0x1; /** * Server supports leasing */ public static final int SMB2_GLOBAL_CAP_LEASING = 0x2; /** * Server supports multi-credit operations */ public static final int SMB2_GLOBAL_CAP_LARGE_MTU = 0x4; /** * Server supports multi-channel connections */ public static final int SMB2_GLOBAL_CAP_MULTI_CHANNEL = 0x8;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
verify(mockDigest, never()).verify(any(), anyInt(), anyInt(), anyInt(), any()); } } @Nested @DisplayName("Credit Management Tests") class CreditManagementTests { @Test @DisplayName("Should get granted credits from credit field") void testGetGrantedCredits() { int credits = 15; echoResponse.setCredit(credits);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
Thread.currentThread().interrupt(); throw new IOException("Interrupted waiting for send credit", e); } } if (!rdmaConnection.canSend()) { throw new IOException("Timeout waiting for RDMA send credit"); } } @Override public void disconnect() throws IOException { try {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
CONTRIBUTING.md
pull requests directly into the master branch. Instead, once a pull request is ready for merging, we'll make the appropriate changes in the internal codebase and, when the change is synced out, give the pull request author credit for the commit. Contributor License Agreement ----------------------------- Contributions to any Google project must be accompanied by a Contributor
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 15 18:43:50 UTC 2025 - 4K bytes - Viewed (0) -
docs/en/docs/release-notes.md
yield # Clean up the ML models and release the resources ml_models.clear() app = FastAPI(lifespan=lifespan) @app.get("/predict") async def predict(x: float): result = ml_models["answer_to_everything"](x) return {"result": result} ``` **Note**: This is the recommended way going forward, instead of using `startup` and `shutdown` events.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 19:06:15 UTC 2025 - 586.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
SMBUtil.writeInt2(64, buffer, headerStart + 4); // Credit charge SMBUtil.writeInt2(1, buffer, headerStart + 6); // Status SMBUtil.writeInt4(0, buffer, headerStart + 8); // Command (READ = 0x0008) SMBUtil.writeInt2(0x0008, buffer, headerStart + 12); // Credit request/response SMBUtil.writeInt2(1, buffer, headerStart + 14); // Flags
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt
if (plan is FailedPlan) return plan.result // Connect TCP asynchronously. tcpConnectsInFlight += plan val taskName = "$okHttpName connect ${routePlanner.address.url.redact()}" taskRunner.newQueue().schedule( object : Task(taskName) { override fun runOnce(): Long { val connectResult = try { plan.connectTcp()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
// Protocol ID System.arraycopy(new byte[] { (byte) 0xFE, 'S', 'M', 'B' }, 0, buffer, bufferIndex, 4); // Header length SMBUtil.writeInt2(64, buffer, bufferIndex + 4); // Credit charge SMBUtil.writeInt2(1, buffer, bufferIndex + 6); // Status SMBUtil.writeInt4(0, buffer, bufferIndex + 8); // Command - SMB2_SET_INFO (0x0011)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
void testGetCreditCost() { assertEquals(1, testRequest.getCreditCost()); } @Test @DisplayName("setRequestCredits should set credit value") void testSetRequestCredits() { int credits = 10; testRequest.setRequestCredits(credits); assertEquals(credits, testRequest.getCredit()); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0)