Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for callbackasm (0.25 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/invocation/GradleLifecycleIntegrationTest.groovy

                include("a")
    
                // register lifecycle callbacks first
                gradle.lifecycle.beforeProject { println("lifecycle: gradle.lifecycle.beforeProject '\${it.path}'") }
                gradle.lifecycle.afterProject { println("lifecycle: gradle.lifecycle.afterProject '\${it.path}'") }
    
                // register eager callbacks
                gradle.allprojects { println("lifecycle: gradle.allprojects '\${it.path}'") }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 16:52:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ScopedFingerprintWriter.kt

    
    internal
    class ScopedFingerprintWriter<T>(
        private val writeContext: DefaultWriteContext
    ) : Closeable {
        override fun close() {
            // we synchronize access to all resources used by callbacks
            // in case there was still an event being dispatched at closing time.
            synchronized(writeContext) {
                unsafeWrite(null)
                writeContext.close()
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleLifecycleIntegrationTest.groovy

        def setup() {
            settingsFile << """
                rootProject.name = 'root'
            """
        }
    
        def "runs lifecycle callbacks only on reconfigured projects"() {
            given:
            withSomeToolingModelBuilderPluginInBuildSrc()
            settingsFile << """
                include("a")
                include("b")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

        private Collection<WeakMojoExecutionListener> getProvidedListeners() {
            // the same instance can be provided multiple times under different Key's
            // deduplicate instances to avoid redundant beforeXXX/afterXXX callbacks
            IdentityHashMap<WeakMojoExecutionListener, Object> listeners = new IdentityHashMap<>();
            for (Object provided : getScopeState().provided.values()) {
                if (provided instanceof WeakMojoExecutionListener) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. subprojects/diagnostics/src/main/java/org/gradle/api/reporting/dependencies/HtmlDependencyReportTask.java

        }
    
        @Inject
        protected  VersionParser getVersionParser() {
            throw new UnsupportedOperationException();
        }
    
        /**
         * Required for decorating reports container callbacks for tracing user code application.
         *
         * @since 5.1
         */
        @Inject
        protected CollectionCallbackActionDecorator getCallbackActionDecorator() {
            throw new UnsupportedOperationException();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:33:20 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/services/internal/RegisteredBuildServiceProvider.java

         * The callback runs even if the service wasn't created.
         * This provider is used as a callback argument.
         * <p>
         * The service will only be stopped after completing all registered callbacks.
         *
         * @param stopAction the callback
         */
        public void beforeStopping(Consumer<? super RegisteredBuildServiceProvider<T, P>> stopAction) {
            synchronized (instanceLock) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 09:24:00 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. callbacks/query.go

    package callbacks
    
    import (
    	"fmt"
    	"reflect"
    	"strings"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    )
    
    func Query(db *gorm.DB) {
    	if db.Error == nil {
    		BuildQuerySQL(db)
    
    		if !db.DryRun && db.Error == nil {
    			rows, err := db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    			if err != nil {
    				db.AddError(err)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:51:44 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. callbacks/preload.go

    package callbacks
    
    import (
    	"fmt"
    	"reflect"
    	"sort"
    	"strings"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    )
    
    // parsePreloadMap extracts nested preloads. e.g.
    //
    //	// schema has a "k0" relation and a "k7.k8" embedded relation
    //	parsePreloadMap(schema, map[string][]interface{}{
    //		clause.Associations: {"arg1"},
    //		"k1":                {"arg2"},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. docs/en/docs/release-notes.md

    * `dependencies`: to include ✨ router-level dependencies ✨ that apply to all the *path operations* in a router. Up to now, this was only possible with `include_router`.
    * `callbacks`: OpenAPI callbacks that apply to all the *path operations* in this router.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 15:07:37 UTC 2024
    - 395.4K bytes
    - Viewed (0)
  10. cmd/metacache-set.go

    	minDisks       int
    	reportNotFound bool
    
    	// perDiskLimit will limit each disk to return n objects.
    	// If <= 0 all results will be returned until canceled.
    	perDiskLimit int
    
    	// Callbacks with results:
    	// If set to nil, it will not be called.
    
    	// agreed is called if all disks agreed.
    	agreed func(entry metaCacheEntry)
    
    	// partial will be called when there is disagreement between disks.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 30.4K bytes
    - Viewed (0)
Back to top