- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 772 for CSession (0.07 sec)
-
tests/update_has_one_test.go
} var user3 User DB.Preload("Account").Find(&user3, "id = ?", user.ID) CheckUser(t, user2, user3) lastUpdatedAt := user2.Account.UpdatedAt time.Sleep(time.Second) if err := DB.Session(&gorm.Session{FullSaveAssociations: true}).Save(&user).Error; err != nil { t.Fatalf("errors happened when update: %v", err) } var user4 User DB.Preload("Account").Find(&user4, "id = ?", user.ID)
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Jul 14 06:55:54 UTC 2022 - 3.6K bytes - Viewed (0) -
association.go
mapv.SetMapIndex(key, reflect.ValueOf(ref.PrimaryValue)) } } association.Error = association.DB.Session(&Session{ NewDB: true, }).Model(child.Interface()).Create(mapv.Interface()).Error case schema.Many2Many: association.Error = association.DB.Session(&Session{ NewDB: true, }).Model(child.Interface()).Create(mapv.Interface()).Error for _, key := range mapv.MapKeys() {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Oct 26 12:09:12 UTC 2025 - 23.6K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultSessionTest.java
MavenSession ms = new MavenSession(null, rss, mer, null); DefaultSession session = new DefaultSession(ms, mock(RepositorySystem.class), Collections.emptyList(), null, null, null); assertEquals( RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE, assertThrows(IllegalStateException.class, session::getRootDirectory) .getMessage()); } @Test
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
docs_src/websockets/tutorial002_py39.py
return HTMLResponse(html) async def get_cookie_or_token( websocket: WebSocket, session: Union[str, None] = Cookie(default=None), token: Union[str, None] = Query(default=None), ): if session is None and token is None: raise WebSocketException(code=status.WS_1008_POLICY_VIOLATION) return session or token @app.websocket("/items/{item_id}/ws") async def websocket_endpoint(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
* synchronization of the project's artifact state. * * @param session the current build session * @param project the project to attach the artifact to * @param path the path to the artifact file */ default void attachArtifact(@Nonnull Session session, @Nonnull Project project, @Nonnull Path path) { String name = path.getFileName().toString();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jan 30 23:29:13 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
} return nonce; } /** * Generate a secure random nonce for initial session setup. * This method can be used when enhanced randomness is required, * such as during initial key exchange or session establishment. * * @return randomized nonce appropriate for the dialect */ public byte[] generateSecureNonce() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
assertFalse(Arrays.equals(signingKey300, signingKey311)); } @Test @DisplayName("Should handle different session key sizes") void testDeriveKeys_DifferentSessionKeySizes() { // Test with various session key sizes int[] keySizes = { 8, 16, 24, 32, 64, 128 }; int dialect = Smb2Constants.SMB2_DIALECT_0311; for (int size : keySizes) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEventCatapult.java
@Override public void fire(ExecutionEvent.Type eventType, MavenSession session, MojoExecution mojoExecution) { fire(eventType, session, mojoExecution, null); } @Override public void fire( ExecutionEvent.Type eventType, MavenSession session, MojoExecution mojoExecution, Exception exception) { ExecutionListener listener = session.getRequest().getExecutionListener(); if (listener != null) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComLogoffAndX.java
/** * SMB1 Logoff AndX request message. * * This command is used to terminate a user session that was * previously established with a Session Setup AndX command. */ public class SmbComLogoffAndX extends AndXServerMessageBlock { /** * Creates a new SMB1 logoff request to end a user session. * * @param config the CIFS configuration * @param andx the next command in the AndX chain, or nullRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java
protected long maxAccessCount = 0; /** * Returns the session ID. * @return The session ID. */ public String getSessionId() { return sessionId; } /** * Sets the session ID. * @param sessionId The session ID. */ public void setSessionId(final String sessionId) { this.sessionId = sessionId; }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 8.9K bytes - Viewed (0)