Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 502 for Assignment (0.27 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/objectGraph/reflectObject.kt

            val referenceResolution = PropertyReferenceResolution(objectOrigin, it)
            when (val assignment = context.resolveAssignment(referenceResolution)) {
                is Assigned -> it to PropertyValueReflection(reflect(assignment.objectOrigin, context), assignment.assignmentMethod)
                else -> if (it.hasDefaultValue) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ConfigurableFileCollectionExtensionsTest.kt

    import org.hamcrest.CoreMatchers.sameInstance
    import org.hamcrest.MatcherAssert.assertThat
    
    import org.junit.Test
    
    
    class ConfigurableFileCollectionExtensionsTest {
    
        @Test
        fun `assignment to delegated property means #setFrom`() {
    
            val fileCollection = mock<ConfigurableFileCollection>()
            var delegatedProperty by fileCollection
    
            val value = mock<ConfigurableFileCollection>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 733 bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/complit.go

    		return false
    	}
    	if !isSimpleName(n.X) {
    		// not a special composite literal assignment
    		return false
    	}
    	x := n.X.(*ir.Name)
    	if !types.Identical(n.X.Type(), n.Y.Type()) {
    		// not a special composite literal assignment
    		return false
    	}
    	if x.Addrtaken() {
    		// If x is address-taken, the RHS may (implicitly) uses LHS.
    		// Not safe to do a special composite literal assignment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  4. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util-generated.h

    class ValueArray1 {
     public:
      explicit ValueArray1(T1 v1) : v1_(v1) {}
    
      template <typename T>
      operator ParamGenerator<T>() const { return ValuesIn(&v1_, &v1_ + 1); }
    
     private:
      // No implementation - assignment is unsupported.
      void operator=(const ValueArray1& other);
    
      const T1 v1_;
    };
    
    template <typename T1, typename T2>
    class ValueArray2 {
     public:
      ValueArray2(T1 v1, T2 v2) : v1_(v1), v2_(v2) {}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 187.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/readWriteAccess/FirStandaloneNormalAnalysisSourceModuleReadWriteAccessTestGenerated.java

      }
    
      @Test
      @TestMetadata("assignment.kt")
      public void testAssignment() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/readWriteAccess/assignment.kt");
      }
    
      @Test
      @TestMetadata("assignmentPlusEq.kt")
      public void testAssignmentPlusEq() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 08 22:12:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. test/fixedbugs/bug450.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 3899: 8g incorrectly thinks a variable is
    // "set and not used" and elides an assignment, causing
    // variables to end up with wrong data.
    //
    // The reason is a miscalculation of variable width.
    
    package main
    
    func bar(f func()) {
    	f()
    }
    
    func foo() {
    	f := func() {}
    	if f == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 21:10:19 UTC 2022
    - 496 bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/atomic/doc.go

    // using the sync/atomic package.
    //
    // # Analyzer atomic
    //
    // atomic: check for common mistakes using the sync/atomic package
    //
    // The atomic checker looks for assignment statements of the form:
    //
    //	x = atomic.AddUint64(&x, 1)
    //
    // which are not atomic.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 505 bytes
    - Viewed (0)
  8. src/internal/types/testdata/fixedbugs/issue54424.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    func f[P ~*T, T any]() {
    	var p P
    	var tp *T
    	tp = p // this assignment is valid
    	_ = tp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 05 14:01:09 UTC 2023
    - 262 bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/prettyPrintResults.kt

                        recurseDeeper(it)
                        appendLine()
                    }
                    appendIndented(")")
                }
    
                is Assignment -> {
                    append("Assignment [${source()}] (\n")
                    appendNextIndented("lhs = ")
                    recurseDeeper(current.lhs)
                    appendLine()
                    appendNextIndented("rhs = ")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/api/SupportsKotlinAssignmentOverloading.java

    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Marks interface that works with overloaded Kotlin assignment.
     *
     * @since 8.1
     */
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.TYPE)
    public @interface SupportsKotlinAssignmentOverloading {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1K bytes
    - Viewed (0)
Back to top