- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 698 for CSession (0.05 seconds)
-
src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java
*/ package jcifs.smb1.netbios; import java.io.IOException; import java.io.InputStream; /** * NetBIOS session request packet for establishing sessions. * This packet is sent to request a NetBIOS session with a remote host. */ public class SessionRequestPacket extends SessionServicePacket { private final Name calledName, callingName; SessionRequestPacket() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Packaging.java
* </ul> * * <h2>Usage Example</h2> * * <pre> * {@code * Session session = ... // Obtain a Maven session * Packaging packaging = session.requirePackaging("jar"); * System.out.println(packaging.getId()); // Outputs "jar" * } * </pre> * * @see org.apache.maven.api.Session#requirePackaging(String) * @see org.apache.maven.api.Project#getPackaging()
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java
// The result should contain Session Id with the generated session ID assertNotNull(thumbnailJob.sessionId); assertTrue(result.contains("Session Id:")); // The test cannot actually start the process since it requires many dependencies // The execute method catches the exception and returns the session ID } // Test execute with custom session ID @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/PythonJob.java
public String execute() { final StringBuilder resultBuf = new StringBuilder(); if (sessionId == null) { // create session id sessionId = RandomStringUtils.randomAlphabetic(15); } resultBuf.append("Session Id: ").append(sessionId).append("\n"); if (jobExecutor != null) { jobExecutor.addShutdownListener(() -> ComponentUtil.getProcessHelper().destroyProcess(sessionId));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 8.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java
* @see org.apache.maven.api.Session#isVersionSnapshot(String) */ boolean isSnapshot(); /** * {@return coordinates with the same identifiers as this artifact}. * This is a shortcut for {@code session.createArtifactCoordinates(artifact)}. * * @see org.apache.maven.api.Session#createArtifactCoordinates(Artifact) */ @NonnullCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jun 26 07:56:58 GMT 2025 - 4.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmContext.java
private static final String S2C_SIGN_CONSTANT = "session key to server-to-client signing key magic constant"; private static final String S2C_SEAL_CONSTANT = "session key to server-to-client sealing key magic constant"; private static final String C2S_SIGN_CONSTANT = "session key to client-to-server signing key magic constant"; private static final String C2S_SEAL_CONSTANT = "session key to client-to-server sealing key magic constant";Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 17.3K bytes - Click Count (1) -
tests/associations_test.go
coupon := &Coupon{ AppliesToProduct: []*CouponProduct{ {ProductId: "full-save-association-product1"}, }, AmountOff: 10, PercentOff: 0.0, } err := DB. Session(&gorm.Session{FullSaveAssociations: true}). Create(coupon).Error if err != nil { t.Errorf("Failed, got error: %v", err) } if DB.First(&Coupon{}, "id = ?", coupon.ID).Error != nil {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 13.3K bytes - Click Count (0) -
tests/hooks_test.go
} DB.Model(&product).Session(&gorm.Session{SkipHooks: true}).Updates(Product3{Code: "L1216"}) if product.Price != 320 || product.Code != "L1216" { t.Errorf("invalid data after update, got %+v", product) } var result2 Product3 DB.First(&result2, product.ID) AssertEqual(t, result2, product) product2 := Product3{Name: "Product", Price: 0} DB.Session(&gorm.Session{SkipHooks: true}).Create(&product2)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jun 17 03:59:06 GMT 2024 - 16.7K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/advanced-dependencies.md
有些特定條件的使用情境,可能會受益於舊行為(在送出回應之前執行含有 `yield` 的相依的結束程式碼)。 例如,假設你在含有 `yield` 的相依中只用資料庫 session 來驗證使用者,而這個 session 之後並未在「路徑操作函式」中使用,僅在相依中使用,且回應需要很長時間才會送出,例如一個慢速傳送資料的 `StreamingResponse`,但它並沒有使用資料庫。 在這種情況下,資料庫 session 會一直被保留到回應傳送完畢為止,但如果你根本不會用到它,就沒有必要一直持有它。 可能會像這樣: {* ../../docs_src/dependencies/tutorial013_an_py310.py *} 結束程式碼(自動關閉 `Session`)在: {* ../../docs_src/dependencies/tutorial013_an_py310.py ln[19:21] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 8.4K bytes - Click Count (0) -
finisher_api.go
if !selectedUpdate { tx.Statement.Selects = append(tx.Statement.Selects, "*") } updateTx := tx.callbacks.Update().Execute(tx.Session(&Session{Initialized: true})) if updateTx.Error == nil && updateTx.RowsAffected == 0 && !updateTx.DryRun && !selectedUpdate { return tx.Session(&Session{SkipHooks: true}).Clauses(clause.OnConflict{UpdateAll: true}).Create(value) } return updateTx } return }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 22.9K bytes - Click Count (0)