Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for lazily (0.45 sec)

  1. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/exceptions/DefaultMultiCauseExceptionNoStackTrace.java

    import org.gradle.internal.Factory;
    
    /**
     * A specialized version of multi cause exception that is cheaper to create
     * because we avoid to fill a stack trace, and the message MUST be generated lazily.
     */
    @Contextual
    public class DefaultMultiCauseExceptionNoStackTrace extends DefaultMultiCauseException {
        public DefaultMultiCauseExceptionNoStackTrace(Factory<String> messageFactory) {
            super(messageFactory);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileTreeIntegrationTest.groovy

    class ConfigurationCacheFileTreeIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
    
        @Issue('https://github.com/gradle/gradle/issues/19780')
        def "filter predicates and matching patterns are evaluated lazily"() {
            given:
            buildFile """
                abstract class PrintInputs extends DefaultTask {
    
                    @InputFiles
                    abstract ConfigurableFileCollection getInputFiles()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirPsiJavaClassSymbol.kt

    import org.jetbrains.kotlin.name.ClassId
    import org.jetbrains.kotlin.name.Name
    
    /**
     * Implements [KaNamedClassOrObjectSymbol] for a Java class. The underlying [firSymbol] is built lazily and only when needed. Many simple
     * properties are computed from the given [PsiClass] instead of [firSymbol]. This improves performance when "slow" properties don't need to
     * be accessed.
     */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultScriptClassPathResolver.java

            Gradle gradle
        ) {
            this.instantiator = instantiator;
            // Shared services must be provided lazily, otherwise they are instantiated too early and some cases can fail
            this.instrumentationTransformRegisterer = new InstrumentationTransformRegisterer(agentStatus, Lazy.atomic().of(gradle::getSharedServices));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

                        declarationDescriptor.upperBounds.any { it.hasReferenceOtherThan(allowedTypeParameterDescriptors) }
            }
            else -> arguments.any { typeProjection ->
                // A star projection type (lazily) built by type parameter will be yet another type with a star projection,
                // resulting in stack overflow if we keep checking allowed type parameter descriptors
                !typeProjection.isStarProjection &&
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/types.go

    	r.SetScalar(name, r.ScalarResources[name]+quantity)
    }
    
    // SetScalar sets a resource by a scalar value of this resource.
    func (r *Resource) SetScalar(name v1.ResourceName, quantity int64) {
    	// Lazily allocate scalar resource map.
    	if r.ScalarResources == nil {
    		r.ScalarResources = map[v1.ResourceName]int64{}
    	}
    	r.ScalarResources[name] = quantity
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      tensorflow::XlaCallModuleLoader* loader;
      if (auto it = xla_call_module_loaders_.find(op);
          it != xla_call_module_loaders_.end()) {
        loader = it->second.get();
      } else {
        // Lazily parse XlaCallModule's embedded HLO module and cache the loader to
        // avoid repeatedly parsing the module.
    
        std::vector<std::string> disabled_checks;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  8. cmd/kube-proxy/app/server_linux.go

    		for family, cidrs := range proxyutil.MapCIDRsByIPFamily(clusterCIDRs) {
    			localDetectors[family] = proxyutil.NewDetectLocalByCIDR(cidrs[0].String())
    		}
    		if !localDetectors[primaryIPFamily].IsImplemented() {
    			logger.Info("Detect-local-mode set to ClusterCIDR, but no cluster CIDR specified for primary IP family", "ipFamily", primaryIPFamily, "clusterCIDR", config.ClusterCIDR)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/LazyCodecTest.kt

                value.value
            }
        }
    
        @Test
        fun `forces evaluation of static Lazy fields`() {
            assertEagerEvaluationOf(LazyBean(lazy())) {
                value.value
            }
        }
    
        @Test
        fun `forces evaluation of by lazy properties`() {
            assertEagerEvaluationOf(ByLazyBean()) {
                value
            }
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/instrumentation-agent-services/src/main/java/org/gradle/internal/instrumentation/agent/DefaultAgentStatus.java

     * limitations under the License.
     */
    
    package org.gradle.internal.instrumentation.agent;
    
    import org.gradle.internal.lazy.Lazy;
    
    class DefaultAgentStatus implements AgentStatus {
    
        private static final Lazy<Boolean> IS_AGENT_INSTRUMENTATION_ENABLED = Lazy.locking().of(AgentControl::isInstrumentationAgentApplied);
    
        @Override
        public boolean isAgentInstrumentationEnabled() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top