- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 515 for csession (0.05 seconds)
-
callbacks/callmethod.go
package callbacks import ( "reflect" "gorm.io/gorm" ) func callMethod(db *gorm.DB, fc func(value interface{}, tx *gorm.DB) bool) { tx := db.Session(&gorm.Session{NewDB: true}) if called := fc(db.Statement.ReflectValue.Interface(), tx); !called { switch db.Statement.ReflectValue.Kind() { case reflect.Slice, reflect.Array: db.Statement.CurDestIndex = 0 for i := 0; i < db.Statement.ReflectValue.Len(); i++ {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Feb 18 01:20:29 GMT 2023 - 846 bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactoryRequest.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 7.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployer.java
/** * @param session the repository session * @param repository the repository to deploy to * @param artifacts the collection of artifacts to deploy * @throws ArtifactDeployerException if the deployment failed * @throws IllegalArgumentException if an argument is {@code null} or invalid */ default void deploy( @Nonnull Session session,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 16:43:07 GMT 2024 - 2.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java
CacheKey(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session) { groupId = plugin.getGroupId(); artifactId = plugin.getArtifactId(); version = plugin.getVersion(); workspace = RepositoryUtils.getWorkspace(session); localRepo = session.getLocalRepository(); this.repositories = new ArrayList<>(repositories.size());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.9K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java
File pom = getProject("project-basic"); MavenSession session = createMavenSession(pom); assertEquals("project-basic", session.getCurrentProject().getArtifactId()); assertEquals("1.0", session.getCurrentProject().getVersion()); List<MojoExecution> executionPlan = getExecutions(calculateExecutionPlan(session, "resources:resources")); assertEquals(1, executionPlan.size());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 22.9K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java
project = session.getCurrentProject(); plugin = project.getPlugin("org.apache.maven.its.plugins:maven-it-plugin"); pluginDescriptor = pluginManager.loadPlugin( plugin, session.getCurrentProject().getRemotePluginRepositories(), session.getRepositorySession()); pluginManager.getPluginRealm(session, pluginDescriptor);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 8.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java
return (ValidationReportLevel) session.getData() .computeIfAbsent(ValidationReportLevel.class, () -> parseValidationReportLevel(session)); } private ValidationReportLevel parseValidationReportLevel(RepositorySystemSession session) { String level = ConfigUtils.getString(session, null, Constants.MAVEN_PLUGIN_VALIDATION);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:32 GMT 2025 - 17.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/MavenPluginManager.java
* null}. * @param session The repository session to use for resolving the plugin's main artifact, must not be {@code null}. * @return The plugin descriptor, never {@code null}. */ PluginDescriptor getPluginDescriptor( Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session)Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java
static DependencyCoordinatesFactoryRequest build( @Nonnull Session session, String groupId, String artifactId, String version, String classifier, String extension, String type) { return DependencyCoordinatesFactoryRequest.builder() .session(requireNonNull(session, "session cannot be null")) .groupId(groupId)
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 12.1K bytes - Click Count (0) -
tests/test_dependency_after_yield_websockets.py
session = Session() try: yield session finally: session.open = False def dep_session() -> Any: with acquire_session() as s: yield s def broken_dep_session() -> Any: with acquire_session() as s: s.open = False yield s SessionDep = Annotated[Session, Depends(dep_session)]Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2K bytes - Click Count (0)