Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 252 for assignments (0.39 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/support/LazyGroovySupport.java

    import org.gradle.api.file.ConfigurableFileCollection;
    import org.gradle.api.provider.Property;
    import org.gradle.internal.instantiation.generator.AsmBackedClassGenerator;
    
    /**
     * An interface used to support lazy assignment for types like {@link Property} and {@link ConfigurableFileCollection} in Groovy DSL.
     * Call to this interface is generated via {@link AsmBackedClassGenerator}.
     */
    public interface LazyGroovySupport {
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. test/fixedbugs/issue52953.go

    // run
    
    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 52953: miscompilation for composite literal assignment
    // when LHS is address-taken.
    
    package main
    
    type T struct {
    	Field1 bool
    }
    
    func main() {
    	var ret T
    	ret.Field1 = true
    	var v *bool = &ret.Field1
    	ret = T{Field1: *v}
    	check(ret.Field1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 18 18:24:59 UTC 2022
    - 488 bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/KtFe10CompilerPluginsProvider.kt

        override fun isPluginOfTypeRegistered(module: KtSourceModule, pluginType: CompilerPluginType): Boolean {
            val extension = when (pluginType) {
                CompilerPluginType.ASSIGNMENT -> AssignResolutionAltererExtension
                else -> return false
            }
            return extension.getInstances(module.project).isNotEmpty()
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Apr 27 14:05:02 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. test/fixedbugs/bug096.go

    	b := &A{0, 1};
    	_, _ = a, b;
    }
    
    /*
    uetli:~/Source/go1/test/bugs gri$ 6g bug096.go && 6l bug096.6 && 6.out
    Trace/BPT trap
    uetli:~/Source/go1/test/bugs gri$
    */
    
    /*
    It appears that the first assignment changes the size of A from open
    into a fixed array.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 483 bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/assignment/internal/KotlinDslAssignment.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.kotlin.dsl.assignment.internal
    
    import org.gradle.internal.deprecation.DeprecationLogger
    
    
    /**
     * This class is used in `kotlin-dsl` plugin from 4.0.2 to 4.1.0. To be removed in Gradle 9.0.
     */
    @Suppress("unused")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/UnmanagedModelProjectionTest.groovy

            projection.getTypeDescriptions(Stub(MutableModelNode)) as List == [description]
    
            where:
            type     | description
            String   | "java.lang.String (or assignment compatible type thereof)"
            Object   | "java.lang.Object"
            Runnable | "java.lang.Runnable"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/decls1.go

    )
    
    // Various more complex expressions
    var (
    	u1 = x /* ERROR "not an interface" */ .(int)
    	u2 = iface.([]int)
    	u3 = iface.(a /* ERROR "not a type" */ )
    	u4, ok = iface.(int)
    	u5, ok2, ok3 = iface /* ERROR "assignment mismatch" */ .(int)
    )
    
    // Constant expression initializations
    var (
    	v1 = 1 /* ERROR "mismatched types untyped int and untyped string" */ + "foo"
    	v2 = c + 255
    	v3 = c + 256 /* ERROR "overflows" */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. test/fixedbugs/issue54632.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // The inliner would erroneously scan the caller function's body for
    // reassignments *before* substituting the inlined function call body,
    // which could cause false positives in deciding when it's safe to
    // transitively inline indirect function calls.
    
    package main
    
    func main() {
    	bug1()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 24 14:31:08 UTC 2022
    - 609 bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoSimple/AssignmentResolverTest.kt

                assertIs<ObjectOrigin.ConstantOrigin>(valueOrigin)
                assertEquals("shared", valueOrigin.literal.value)
            }
        }
    
        @Test
        fun `reports assignment pointing to unassigned property`() {
            assignmentTrace(
                schema.resolve(
                    """
                    val c1 = c(1) { }
                    val c2 = c(2) { }
                    c2.d = c1.d
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:53:44 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/objectGraph/AssignmentResolver.kt

                            } else {
                                // We should never come across a situation where an assignment already exists that is in a higher generation,
                                // but if we do, just pull the emergency stop handle as this is indicative of a bug rather than a user error.
                                error("Unexpected assignment in higher generation")
                            }
                        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top