Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 76 for Assignment (0.13 sec)

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

    import org.gradle.plugin.software.internal.Convention
    import org.gradle.plugin.software.internal.ConventionReceiver
    
    
    /**
     * A convention that applies a property assignment operation (e.g. foo = "bar").
     */
    class AssignmentRecordConvention(private val assignmentRecord: AssignmentRecord) :
        Convention<AssignmentRecordConventionReceiver> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/httpresponse/httpresponse.go

    		if ncalls > 1 {
    			return true
    		}
    
    		asg, ok := stmts[0].(*ast.AssignStmt)
    		if !ok {
    			return true // the first statement is not assignment.
    		}
    
    		resp := rootIdent(asg.Lhs[0])
    		if resp == nil {
    			return true // could not find the http.Response in the assignment.
    		}
    
    		def, ok := stmts[1].(*ast.DeferStmt)
    		if !ok {
    			return true // the following statement is not a defer.
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl-plugins/build.gradle.kts

        compileOnly(libs.inject)
    
        implementation(libs.kotlinStdlib)
        implementation(libs.futureKotlin("gradle-plugin"))
        implementation(libs.futureKotlin("sam-with-receiver"))
        implementation(libs.futureKotlin("assignment"))
    
        testImplementation(projects.logging)
        testImplementation(testFixtures(project(":kotlin-dsl")))
        testImplementation(libs.slf4jApi)
        testImplementation(libs.mockitoKotlin)
    }
    
    packageCycles {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 22:44:42 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/go/ast/commentmap.go

    //
    // NewCommentMap tries to associate a comment group to the "largest"
    // node possible: For instance, if the comment is a line comment
    // trailing an assignment, the comment is associated with the entire
    // assignment rather than just the last operand in the assignment.
    func NewCommentMap(fset *token.FileSet, node Node, comments []*CommentGroup) CommentMap {
    	if len(comments) == 0 {
    		return nil // no comments to map
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/TypeCompatibilityModelProjectionSupport.java

            if (type.getRawClass().getSuperclass() == null && type.getRawClass().getInterfaces().length == 0) {
                return type.toString();
            }
            return type + " (or assignment compatible type thereof)";
        }
    
        @Override
        public String toString() {
            return getClass().getSimpleName() + "[" + type + "]";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:51:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/context.kt

        val syntacticEnclosure: LanguageTreeElement
    
        fun findLocal(name: String): LocalValueAssignment?
    }
    
    
    data class LocalValueAssignment(val localValue: LocalValue, val assignment: ObjectOrigin)
    
    
    class AnalysisScope(
        private val previousScopeView: AnalysisScopeView?,
        override val receiver: ObjectOrigin.ReceiverOrigin,
        override val syntacticEnclosure: LanguageTreeElement
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/TimeoutFuture.java

       * SES.schedule is called. Therefore Fire.run has to check for null. However, it should be visible
       * if Fire.run is called by delegate.addListener since addListener is called after the assignment
       * to timer, and importantly this is the main situation in which we need to be able to see the
       * write.
       *
       * 2. visibility of the writes to an afterDone() call triggered by cancel():
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

       * SES.schedule is called. Therefore Fire.run has to check for null. However, it should be visible
       * if Fire.run is called by delegate.addListener since addListener is called after the assignment
       * to timer, and importantly this is the main situation in which we need to be able to see the
       * write.
       *
       * 2. visibility of the writes to an afterDone() call triggered by cancel():
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/language/LanguageTree.kt

    
    data class FunctionCall(val receiver: Expr?, val name: String, val args: List<FunctionArgument>, override val sourceData: SourceData) : Expr
    
    
    data class Assignment(val lhs: PropertyAccess, val rhs: Expr, override val sourceData: SourceData) : DataStatement
    
    
    data class LocalValue(val name: String, val rhs: Expr, override val sourceData: SourceData) : DataStatement
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. src/maps/maps.go

    }
    
    // clone is implemented in the runtime package.
    //
    //go:linkname clone maps.clone
    func clone(m any) any
    
    // Clone returns a copy of m.  This is a shallow clone:
    // the new keys and values are set using ordinary assignment.
    func Clone[M ~map[K]V, K comparable, V any](m M) M {
    	// Preserve nil in case it matters.
    	if m == nil {
    		return nil
    	}
    	return clone(m).(M)
    }
    
    // Copy copies all key/value pairs in src adding them to dst.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 20:35:05 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top