Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 117 for isLocate (0.32 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/isolate-placer.mlir

    Adrian Kuegel <******@****.***> 1648469008 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/IsolatableSerializerRegistryTest.groovy

            def string2 = "bar"
            Isolatable<?>[] isolatables = [isolatableFactory.isolate(string1), isolatableFactory.isolate(string2)]
    
            when:
            serialize(isolatables)
    
            and:
            Isolatable<?>[] newIsolatables = deserialize()
    
            then:
            newIsolatables[0].isolate() == string1
            newIsolatables[1].isolate() == string2
        }
    
        def "can serialize/deserialize isolated Boolean values"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultIsolatableFactoryTest.groovy

            expect:
            isolatableFactory.isolate(true).isolate()
            !isolatableFactory.isolate(false).isolate()
        }
    
        def "can coerce boolean value"() {
            expect:
            isolatableFactory.isolate(true).coerce(Boolean)
            !isolatableFactory.isolate(false).coerce(Boolean)
            isolatableFactory.isolate(false).coerce(String) == null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  4. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Codec.kt

    inline fun <reified T> IsolateOwner.serviceOf() = service(T::class.java)
    
    
    interface Isolate {
    
        val owner: IsolateOwner
    }
    
    
    interface WriteIsolate : Isolate {
    
        /**
         * Identities of objects that are shared within this isolate only.
         */
        val identities: WriteIdentities
    }
    
    
    interface ReadIsolate : Isolate {
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/IsolatedManagedValue.java

        }
    
        @Override
        public Object isolate() {
            return factory.fromState(targetType, state.isolate());
        }
    
        @Nullable
        @Override
        public <S> S coerce(Class<S> type) {
            if (type.isAssignableFrom(targetType)) {
                return type.cast(isolate());
            }
            return type.cast(factory.fromState(type, state.isolate()));
        }
    
        public int getFactoryId() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/services/DefaultIsolatedProjectEvaluationListenerProvider.kt

            beforeProject.isEmpty() && afterProject.isEmpty() -> null
            else -> {
                val isolate = isolate(
                    IsolatedProjectActions(beforeProject, afterProject),
                    IsolateOwners.OwnerGradle(gradle)
                )
                clear()
                IsolatedProjectEvaluationListener(gradle, isolate)
            }
        }
    
        override fun clear() {
            beforeProject.clear()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/main/java/org/gradle/workers/IsolationMode.java

        /**
         * Let Gradle decide, this is the default.
         */
        AUTO,
        /**
         * Don't attempt to isolate the work, use in-process workers.
         */
        NONE,
        /**
         * Isolate the work in its own classloader, use in-process workers.
         */
        CLASSLOADER,
        /**
         * Isolate the work in a separate process, use out-of-process workers.
         */
        PROCESS
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Contexts.kt

        protected
        abstract fun newIsolate(owner: IsolateOwner): T
    
        protected
        fun getIsolate(): T = currentIsolate.let { isolate ->
            require(isolate != null) {
                "`isolate` is only available during Task serialization."
            }
            isolate
        }
    
        protected
        fun getCodec() = currentCodec
    
        private
        val contexts = ArrayList<Pair<T?, Codec<Any?>>>()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultValueSnapshotterTest.groovy

            snapshotter.snapshot(false).is BooleanValueSnapshot.FALSE
        }
    
        def "creates snapshot for isolated boolean"() {
            expect:
            def isolated = isolatableFactory.isolate(true).isolate()
            snapshotter.snapshot(true) == snapshotter.snapshot(isolated)
            snapshotter.snapshot(false) != snapshotter.snapshot(isolated)
        }
    
        def "creates snapshot for null value"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/TaskReferenceCodec.kt

        }
    
        override suspend fun ReadContext.decode(): Task? = when (readEnum<ReferenceType>()) {
            ReferenceType.SELF_REF ->
                isolate.owner.delegate as Task
    
            ReferenceType.TASK_REF -> {
                val taskName = readString()
                isolate.owner.service(TaskContainerInternal::class.java).resolveTask(taskName)
            }
    
            ReferenceType.PROHIBITED -> {
                logUnsupported(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top