Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 677 for assignments (1.01 sec)

  1. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/expressionTypeProvider/FirIdeDependentAnalysisScriptSourceModuleHLExpressionTypeTestGenerated.java

      @TestDataPath("$PROJECT_ROOT")
      public class Assignment {
        @Test
        public void testAllFilesPresentInAssignment() {
          KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment"), Pattern.compile("^(.+)\\.kts$"), null, true);
        }
      }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 15 07:21:33 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/expressionTypeProvider/FirIdeNormalAnalysisScriptSourceModuleHLExpressionTypeTestGenerated.java

      @TestDataPath("$PROJECT_ROOT")
      public class Assignment {
        @Test
        public void testAllFilesPresentInAssignment() {
          KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment"), Pattern.compile("^(.+)\\.kts$"), null, true);
        }
      }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 15 07:21:33 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. test/fixedbugs/bug289.go

    // https://code.google.com/p/gofrontend/issues/detail?id=1
    
    package main
    
    func f1() {
    	a, b := f() // ERROR "assignment mismatch|does not match|cannot initialize"
    	_, _ = a, b
    }
    
    func f2() {
    	var a, b int
    	a, b = f() // ERROR "assignment mismatch|does not match|cannot assign"
    	_, _ = a, b
    }
    
    func f() int {
    	return 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 28 14:28:33 UTC 2023
    - 495 bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/resolution/DefaultDocumentResolutionContainer.kt

        }
    
        private
        fun propertyResolution(statement: Assignment) = when (val assignment = trace.assignmentResolution(statement)) {
            is ResolutionTrace.ResolutionOrErrors.Resolution -> {
                val receiver = assignment.result.lhs.receiverObject
                if (strictReceiverChecks && receiver is ObjectOrigin.ImplicitThisReceiver && !receiver.isCurrentScopeReceiver) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeClassSourceGenerator.java

            String assignment;
            switch (upgradedPropertyType) {
                case REGULAR_FILE_PROPERTY:
                case DIRECTORY_PROPERTY:
                    assignment = ".fileValue(arg0)";
                    break;
                case CONFIGURABLE_FILE_COLLECTION:
                    assignment = ".setFrom(arg0)";
                    break;
                case LIST_PROPERTY:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:11:23 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyAssignmentIntegrationTest.groovy

    class PropertyAssignmentIntegrationTest extends AbstractIntegrationSpec {
    
        private static final String RESULT_PREFIX = "Result: "
    
        def "test Groovy eager object types assignment for #description"() {
            def inputDeclaration = "$inputType input"
            groovyBuildFile(inputDeclaration, inputValue, "=")
    
            expect:
            runAndAssert("myTask", expectedResult)
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 28 14:39:49 UTC 2023
    - 36.6K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/kotlinDsl/assignment/kotlin/settings.gradle.kts

    rootProject.name = "assignment"...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 32 bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinDslAssignmentIntegrationTest.kt

        @Test
        fun `can use assignment for properties in init scripts`() {
            val initScript = withInitScriptWithAssignment()
    
            // Expect
            build("-I", initScript.absolutePath).apply {
                assertOutputContains("Init property value: Hello world")
            }
        }
    
        @Test
        fun `can use assignment for properties in settings scripts`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  9. src/reflect/value.go

    	default:
    		// Value is direct, and so is the interface.
    		e.Data = v.ptr
    	}
    	// Now, fill in the type portion. We're very careful here not
    	// to have any operation between the e.word and e.typ assignments
    	// that would let the garbage collector observe the partially-built
    	// interface value.
    	e.Type = t
    	return i
    }
    
    // unpackEface converts the empty interface i to a Value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  10. hack/verify-non-mutating-validation.sh

    foundMutation=${#mutationOutput}
    # when there's no match, there is a newline
    if [ "$foundMutation" -gt "1" ]; then
      echo "${mutationOutput}"
      echo "It looks like an assignment of a value using the old object.  This is a heuristic check.  If a mutation is happening in validation please fix it."
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 08 18:37:55 UTC 2021
    - 2K bytes
    - Viewed (0)
Back to top