Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 180 for lazy (0.02 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/MojoExecutorStub.java

    import org.apache.maven.plugin.descriptor.PluginDescriptor;
    import org.apache.maven.project.MavenProject;
    
    /**
     */
    public class MojoExecutorStub extends MojoExecutor { // This is being lazy instead of making interface
    
        protected final List<MojoExecution> executions = Collections.synchronizedList(new ArrayList<>());
    
        public MojoExecutorStub() {
            super(null, null, null, null, null, null);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Internal.java

      @SuppressWarnings({"GoodTime-ApiWithNumericTimeUnit", "GoodTime-DecomposeToPrimitive"})
      @IgnoreJRERequirement
      static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

                )
            )
        }
    }
    
    fun configureClasspathManifestGeneration() {
        val runtimeClasspath by configurations
        val externalComponents by lazy {
            runtimeClasspath.incoming.resolutionResult.rootComponent.map { rootComponent ->
                val rootVariant = rootComponent.variants.find { it.displayName == runtimeClasspath.name }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri May 16 18:26:52 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. dbflute_fess/dfprop/dependencyInjectionMap.dfprop

        # o dbfluteBeansPackageName (NotRequired - Default null)
        #  The default attribute expression of DBFlute DI configuration for Spring and Lucy.
        #
        # @SpringOnly
        #; dbfluteBeansDefaultAttribute = default-lazy-init="true"
        # - - - - - - - - - -/
    
        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        # o isDBFluteBeansGeneratedAsJavaConfig (NotRequired - Default true since 1.1)
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 6.5K bytes
    - Viewed (0)
  5. helm/minio/templates/_helpers.tpl

    {{/*
    Helm 2.11 supports the assignment of a value to a variable defined in a different scope,
    but Helm 2.9 and 2.10 does not support it, so we need to implement this if-else logic.
    Also, we can not use a single if because lazy evaluation is not an option
    */}}
    {{- if .Values.global }}
    {{- if .Values.global.imagePullSecrets }}
    imagePullSecrets:
        {{ toYaml .Values.global.imagePullSecrets }}
    {{- else if .Values.imagePullSecrets }}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Aug 06 23:48:24 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. tensorflow/api_template.__init__.py

    if (_os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "true" or
        _os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "1"):
      import tensorflow_io_gcs_filesystem as _tensorflow_io_gcs_filesystem
    
    # Lazy-load Keras v2/3.
    _tf_uses_legacy_keras = (
        _os.environ.get("TF_USE_LEGACY_KERAS", None) in ("true", "True", "1"))
    setattr(_current_module, "keras", _KerasLazyLoader(globals()))
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        val isTeamCity = "TEAMCITY_VERSION" in System.getenv()
        val isTeamCityParallelTestsEnabled
            get() = "TEAMCITY_PARALLEL_TESTS_ENABLED" in System.getenv()
        val isCodeQl: Boolean by lazy {
            // This logic is kept here instead of `codeql-analysis.init.gradle` because that file will hopefully be removed in the future.
            // Removing that file is waiting on the GitHub team fixing an issue in Autobuilder logic.
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sat Dec 21 08:58:33 UTC 2024
    - 4.7K bytes
    - Viewed (1)
  8. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      private var client = clientTestRule.newClientBuilder().build()
    
      @StartStop
      private val server = MockWebServer()
    
      val request by lazy { Request(server.url("/")) }
    
      @Test
      fun suspendCall() {
        runTest {
          server.enqueue(MockResponse(body = "abc"))
    
          val call = client.newCall(request)
    
          call.executeAsync().use {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

        abstract val artifact: Provider<FileSystemLocation>
    
        private
        val jarArtifactRegex = Regex("""^(.*?)-\d+(\.\d+)*([.-][A-Za-z0-9]+)*\.jar$""")
    
        private val keepClassesByArtifacts: Map<String, Set<String>> by lazy {
            parameters.keepClassesByCoordinates.mapKeys { it.key.substringAfter(":") }
        }
    
        override fun transform(outputs: TransformOutputs) {
            val fileName = artifact.get().asFile.name
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 18 11:46:45 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. internal/cachevalue/cache.go

    	// Should be set before calling Get().
    	updateFn func(ctx context.Context) (T, error)
    
    	// ttl for a cached value.
    	ttl time.Duration
    
    	opts Opts
    
    	// Once can be used to initialize values for lazy initialization.
    	// Should be set before calling Get().
    	Once sync.Once
    
    	// Managed values.
    	val          atomic.Pointer[T]
    	lastUpdateMs atomic.Int64
    	updating     sync.Mutex
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top