Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 504 for contentions (0.2 sec)

  1. src/runtime/pprof/pprof_test.go

    						runtimeInternal = true
    					}
    				}
    			}
    			if match && !runtimeInternal {
    				contentions += s.Value[0]
    				delay += s.Value[1]
    			}
    		}
    		return
    	}
    
    	blockMutex(t)
    	contentions, delay := readProfile()
    	if contentions == 0 || delay == 0 {
    		t.Fatal("did not see expected function in profile")
    	}
    	runtime.SetMutexProfileFraction(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  2. src/runtime/pprof/pprof.go

    //
    // # Mutex profile
    //
    // The mutex profile tracks contention on mutexes, such as [sync.Mutex],
    // [sync.RWMutex], and runtime-internal locks.
    //
    // Stack traces correspond to the end of the critical section causing
    // contention. For example, a lock held for a long time while other goroutines
    // are waiting to acquire the lock will report contention when the lock is
    // finally unlocked (that is, at [sync.Mutex.Unlock]).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/conventions/conventions.kt

        Convention<AdditionRecordConventionReceiver> {
        override fun apply(receiver: AdditionRecordConventionReceiver) {
            receiver.receive(dataAdditionRecord)
        }
    }
    
    
    /**
     * A convention that applies a nested object access operation (e.g. foo { }).
     */
    class NestedObjectAccessConvention(private val nestedObjectAccessRecord: NestedObjectAccessRecord) :
        Convention<NestedObjectAccessRecordConventionReceiver> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/plugin/software/internal/Convention.java

     * limitations under the License.
     */
    
    package org.gradle.plugin.software.internal;
    
    /**
     * Represents a reusable convention declared for a software type.
     *
     * @param <T> the type of the receiver of the convention
     *
     * @since 8.9
     */
    public interface Convention<T extends ConventionReceiver> {
        void apply(T receiver);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 904 bytes
    - Viewed (0)
  5. istioctl/pkg/writer/ztunnel/configdump/connections.go

    		if filter.Direction != "outbound" {
    			for _, c := range wl.Connections.Inbound {
    				fmt.Fprintf(w, "%v\tInbound\t%v\t%v\t%v\n", name, lookupIP(c.ActualDst), lookupIP(c.Src), c.OriginalDst)
    			}
    		}
    		if filter.Direction != "inbound" {
    			for _, c := range wl.Connections.Outbound {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeConventionIntegrationTest.groovy

            "everything has convention and is set"             | setAll("convention", "convention") | setAll("test", "baz") | """id = test\nbar = baz"""
        }
    
        def "sensible error when conventions are set more than once (#testCase)"() {
            given:
            withSoftwareTypePlugins().prepareToExecute()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 12:50:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/sharing_build_logic_between_subprojects.adoc

    └── settings.gradle.kts
    ----
    <1> Create the `myproject.java-conventions` convention plugin.
    <2> Applies the `myproject.java-conventions` convention plugin.
    =====
    [.multi-language-sample]
    =====
    [source, groovy]
    ----
    .
    ├── buildSrc
    │   ├── src
    │   │   └──main
    │   │      └──groovy
    │   │         └──myproject.java-conventions.gradle  // <1>
    │   └── build.gradle
    ├── api
    │   ├── src
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 12:58:46 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ProjectExtensions.kt

                ?: Factory {
                    // Find convention
                    // Reflective look up to still support plugins that inlined this function once conventions will be removed
                    this::class.java.methods.firstOrNull { it.name == "getConvention" }?.invoke(this)?.let { convention ->
                        convention::class.java.getMethod("findPlugin", Class::class.java).invoke(convention, T::class.java)
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 09:50:04 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheConventionMappingIntegrationTest.groovy

                    archiveFileName.convention("something")
                }
            """
    
            expect: 'convention mapping is ignored'
            configurationCacheRun 'myTask'
    
            and: 'convention mapping is ignored just the same'
            configurationCacheRun 'myTask'
        }
    
        def "restores convention mapped task input property explicitly set to null"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/implementing_gradle_plugins_precompiled.adoc

    Convention properties are properties that are initialized with default values but can be overridden:
    
    ====
    include::sample[dir="snippets/plugins/greeting/kotlin", files="buildSrc/src/main/kotlin/greetings.gradle.kts[tags=convention]"]
    include::sample[dir="snippets/plugins/greeting/groovy", files="buildSrc/src/main/groovy/greetings.gradle[tags=convention]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top