Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 119 for notifiers (0.12 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DefaultDaemonConnectionTest.groovy

            received.await()
            daemonConnection.stop()
    
            then:
            1 * handler.onInput(input1) >> { received.countDown(); throw new RuntimeException() }
            0 * handler._
        }
    
        def "notifies disconnect handler on disconnect"() {
            Runnable handler = Mock()
            def received = new CountDownLatch(1)
    
            when:
            daemonConnection.onDisconnect(handler)
            connection.disconnect()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/renderers/callables/KtDestructuringDeclarationRenderer.kt

    import org.jetbrains.kotlin.analysis.api.KaSession
    import org.jetbrains.kotlin.analysis.api.renderer.declarations.KaDeclarationRenderer
    import org.jetbrains.kotlin.analysis.api.renderer.declarations.modifiers.renderers.KaRendererKeywordFilter
    import org.jetbrains.kotlin.analysis.api.symbols.KaDestructuringDeclarationSymbol
    import org.jetbrains.kotlin.analysis.utils.printer.PrettyPrinter
    import org.jetbrains.kotlin.lexer.KtTokens
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 23 17:29:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/cmd/trace/gen.go

    // from a trace. Each method in this interface is a handler for a kind of event
    // that is interesting to render in the UI via the JSON trace.
    type generator interface {
    	// Global parts.
    	Sync() // Notifies the generator of an EventSync event.
    	StackSample(ctx *traceContext, ev *trace.Event)
    	GlobalRange(ctx *traceContext, ev *trace.Event)
    	GlobalMetric(ctx *traceContext, ev *trace.Event)
    
    	// Goroutine parts.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/base/KtKeywordsRenderer.kt

    package org.jetbrains.kotlin.analysis.api.renderer.base
    
    import org.jetbrains.kotlin.analysis.api.KaSession
    import org.jetbrains.kotlin.analysis.api.annotations.KaAnnotated
    import org.jetbrains.kotlin.analysis.api.renderer.declarations.modifiers.renderers.KaRendererKeywordFilter
    import org.jetbrains.kotlin.analysis.utils.printer.PrettyPrinter
    import org.jetbrains.kotlin.lexer.KtKeywordToken
    
    public class KaKeywordsRenderer private constructor(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ScopedServiceRegistry.java

        ) {
            super(displayName, parents);
            addServiceValidator(scope, strict);
        }
    
        /**
         * Validator implements a special type of service ({@link AnnotatedServiceLifecycleHandler})
         * that gets notified about all existing and further service registrations.
         */
        private void addServiceValidator(Class<? extends Scope> scope, boolean strict) {
            add(new ServiceScopeValidator(scope, strict));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 04:43:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccessTest.groovy

            1 * lock.writeFile(_) >> { Runnable r -> r.run() }
            1 * initAction.initialize(lock) >> { throw failure }
    
            then:
            1 * lock.close()
            0 * _
        }
    
        def "notifies handler when lock is acquired and released"() {
            def action = Mock(Supplier)
            def onOpen = Mock(Consumer)
            def onClose = Mock(Consumer)
            def lock = Mock(FileLock)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/modifiers/renderers/KtRendererVisibilityModifierProvider.kt

     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.renderer.declarations.modifiers.renderers
    
    import org.jetbrains.kotlin.analysis.api.KaSession
    import org.jetbrains.kotlin.analysis.api.symbols.*
    import org.jetbrains.kotlin.analysis.api.symbols.markers.KaSymbolWithVisibility
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/JavaLibraryInitIntegrationTest.groovy

    import org.gradle.buildinit.plugins.fixtures.ScriptDslFixture
    import org.gradle.buildinit.plugins.internal.modifiers.BuildInitDsl
    import org.gradle.buildinit.plugins.internal.modifiers.BuildInitTestFramework
    import org.gradle.test.precondition.Requires
    import org.gradle.test.preconditions.UnitTestPreconditions
    
    import static org.gradle.buildinit.plugins.internal.modifiers.BuildInitDsl.KOTLIN
    import static org.hamcrest.CoreMatchers.allOf
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 11.8K bytes
    - Viewed (1)
  9. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BasicTypeInitIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.buildinit.plugins
    
    import org.gradle.buildinit.plugins.fixtures.ScriptDslFixture
    
    import static org.gradle.buildinit.plugins.internal.modifiers.BuildInitDsl.KOTLIN
    import static org.gradle.util.internal.TextUtil.toPlatformLineSeparators
    
    
    class BasicTypeInitIntegrationTest extends AbstractInitIntegrationSpec {
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. src/runtime/mgclimit.go

    	return now-l.lastUpdate.Load() > gcCPULimiterUpdatePeriod
    }
    
    // addAssistTime notifies the limiter of additional assist time. It will be
    // included in the next update.
    func (l *gcCPULimiterState) addAssistTime(t int64) {
    	l.assistTimePool.Add(t)
    }
    
    // addIdleTime notifies the limiter of additional time a P spent on the idle list. It will be
    // subtracted from the total CPU time in the next update.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top