Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,624 for lazily (0.37 sec)

  1. src/cmd/compile/internal/types2/objset.go

    // object name.
    
    package types2
    
    // An objset is a set of objects identified by their unique id.
    // The zero value for objset is a ready-to-use empty objset.
    type objset map[string]Object // initialized lazily
    
    // insert attempts to insert an object obj into objset s.
    // If s already contains an alternative object alt with
    // the same name, insert leaves s unchanged and returns alt.
    // Otherwise it inserts obj and returns nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 27 23:30:38 UTC 2020
    - 928 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/providers/implicitTaskInputDependency/groovy/build.gradle

        @TaskAction
        void consume() {
            logger.quiet(message.get())
        }
    }
    
    def producer = tasks.register('producer', Producer) {
        // Set values for the producer lazily
        // Don't need to update the consumer.inputFile property. This is automatically updated as producer.outputFile changes
        outputFile = layout.buildDirectory.file('file.txt')
    }
    tasks.register('consumer', Consumer) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/providers/implicitTaskInputDependency/kotlin/build.gradle.kts

        @TaskAction
        fun consume() {
            logger.quiet(message.get())
        }
    }
    
    val producer = tasks.register<Producer>("producer") {
        // Set values for the producer lazily
        // Don't need to update the consumer.inputFile property. This is automatically updated as producer.outputFile changes
        outputFile = layout.buildDirectory.file("file.txt")
    }
    tasks.register<Consumer>("consumer") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  4. src/runtime/testdata/testwinlib/main.go

    // The idea here is to reproduce what happens when you attach a debugger to a running program.
    // It also simulate the behavior of the .Net debugger, which register its exception/continue handlers lazily.
    //
    //export Dummy
    func Dummy() int {
    	return 42
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 08 15:44:05 UTC 2022
    - 925 bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/HasConfigurableValueInternal.java

    public interface HasConfigurableValueInternal extends HasConfigurableValue {
        /**
         * Same semantics as {@link org.gradle.api.provider.HasConfigurableValue#finalizeValue()}, but finalizes the value of this object lazily, when the value is queried.
         * Implementations may then fail on subsequent changes, or generate a deprecation warning and ignore changes.
         */
        void implicitFinalizeValue();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Striped.java

      }
    
      /**
       * Creates a {@code Striped<Lock>} with lazily initialized, weakly referenced locks. Every lock is
       * reentrant.
       *
       * @param stripes the minimum number of stripes (locks) required
       * @return a new {@code Striped<Lock>}
       */
      public static Striped<Lock> lazyWeakLock(int stripes) {
        return lazy(stripes, () -> new ReentrantLock(false));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 20:55:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/execution/selection/DefaultBuildTaskSelectorTest.groovy

            e.message == "Cannot locate tasks that match ':pr:task' as project 'pr' is ambiguous in <root project>. Candidates are: 'proj', 'proj1', 'proj2', 'proj3'."
        }
    
        def "lazily resolves an exclude name to tasks in the target build"() {
            when:
            def filter = selector.resolveExcludedTaskName(target, "task")
    
            then:
            filter.build == target
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 10:15:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/lookup_test.go

    	lookup := func() {
    		for _, name := range names {
    			typ := scope.Lookup(name).Type()
    			LookupFieldOrMethod(typ, true, pkg, "m")
    		}
    	}
    
    	// Perform a lookup once, to ensure that any lazily-evaluated state is
    	// complete.
    	lookup()
    
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		lookup()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 15:31:35 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/plugins/DslObjectTest.groovy

     */
    
    package org.gradle.api.internal.plugins
    
    import org.gradle.util.TestUtil
    import spock.lang.Specification
    
    class DslObjectTest extends Specification {
        
        def "fails lazily for non dsl object"() {
            when:
            def dsl = new DslObject(new Object())
    
            then:
            notThrown(Exception)
    
            when:
            dsl.asDynamicObject
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/providers/implicitTaskInputFileDependency/groovy/build.gradle

        // Don't need to add a task dependency to the consumer task. This is automatically added
        inputFile = producer.flatMap { it.outputFile }
    }
    
    producer.configure {
        // Set values for the producer lazily
        // Don't need to update the consumer.inputFile property. This is automatically updated as producer.outputFile changes
        outputFile = layout.buildDirectory.file('file.txt')
    }
    
    // Change the build directory.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top