- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 6,307 for session (0.05 sec)
-
tests/preload_test.go
func TestPreloadGoroutine(t *testing.T) { var wg sync.WaitGroup wg.Add(10) for i := 0; i < 10; i++ { go func() { defer wg.Done() var user2 []User tx := DB.Where("id = ?", 1).Session(&gorm.Session{}) if err := tx.Preload("Team").Find(&user2).Error; err != nil { t.Error(err) } }() } wg.Wait() } func TestPreloadWithDiffModel(t *testing.T) {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:00:47 UTC 2024 - 15.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryFactory.java
@Nonnull RemoteRepository createRemote(@Nonnull Repository repository); @Nonnull List<RemoteRepository> aggregate( @Nonnull Session session, @Nonnull List<RemoteRepository> dominant, @Nonnull List<RemoteRepository> recessive, boolean processRecessive);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu May 02 15:10:38 UTC 2024 - 1.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java
ExecutionEvent ee = (ExecutionEvent) arg; InternalMavenSession session = InternalMavenSession.from(ee.getSession().getSession()); Collection<Listener> listeners = session.getListeners(); if (!listeners.isEmpty()) { Event event = new DefaultEvent(session, ee); for (Listener listener : listeners) { listener.onEvent(event);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
callbacks/preload.go
return err } default: return gorm.ErrInvalidData } } else { tx := db.Table("").Session(&gorm.Session{Context: db.Statement.Context, SkipHooks: db.Statement.SkipHooks}) tx.Statement.ReflectValue = db.Statement.ReflectValue tx.Statement.Unscoped = db.Statement.Unscoped
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:52:33 UTC 2024 - 11.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java
* {@link org.apache.maven.api.toolchain.PersistedToolchains}. * * @since 4.0.0 * @see org.apache.maven.api.services.ProjectBuilder#build(Session, Source) * @see org.apache.maven.api.services.SettingsBuilder#build(Session, Source, Source, Source) * @see org.apache.maven.api.services.ToolchainsBuilder#build(Session, Source, Source) */ @Experimental public interface Source { /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
}).ifPresent(p -> searchRequestBuilder.setPreference(p)).orElse(() -> LaRequestUtil.getOptionalRequest().map(r -> { final HttpSession session = r.getSession(false); if (session != null) { return session.getId(); } final String preference = r.getParameter("preference"); if (preference != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 11.9K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java
} } @Override public void delete(final String sessionId) { deleteBySessionId(sessionId); } @Override public void offerAll(final String sessionId, final List<OpenSearchUrlQueue> urlQueueList) { if (logger.isDebugEnabled()) { logger.debug("Offering URL: Session ID: {}, UrlQueue: {}", sessionId, urlQueueList); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 13.4K bytes - Viewed (0) -
fastapi/exceptions.py
websocket: WebSocket, session: Annotated[str | None, Cookie()] = None, item_id: str, ): if session is None: raise WebSocketException(code=status.WS_1008_POLICY_VIOLATION) await websocket.accept() while True: data = await websocket.receive_text() await websocket.send_text(f"Session cookie is: {session}")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 4.9K bytes - Viewed (0) -
migrator/migrator.go
} } return } func (m Migrator) GetQueryAndExecTx() (queryTx, execTx *gorm.DB) { queryTx = m.DB.Session(&gorm.Session{}) execTx = queryTx if m.DB.DryRun { queryTx.DryRun = false execTx = m.DB.Session(&gorm.Session{Logger: &printSQLLogger{Interface: m.DB.Logger}}) } return queryTx, execTx } // AutoMigrate auto migrate values
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Apr 26 07:15:49 UTC 2024 - 29K bytes - Viewed (0) -
docs/sts/assume-role.go
if sessionPolicyFile != "" { var policy string if f, err := os.Open(sessionPolicyFile); err != nil { log.Fatalf("Unable to open session policy file: %v", err) } else { defer f.Close() bs, err := io.ReadAll(f) if err != nil { log.Fatalf("Error reading session policy file: %v", err) } policy = string(bs) } stsOpts.Policy = policy } if expiryDuration != 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Aug 17 01:24:54 UTC 2024 - 4.4K bytes - Viewed (0)