Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 552 for reassignment (0.16 sec)

  1. 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)
  2. pkg/kubelet/cm/memorymanager/state/state.go

    		for container, blocks := range as[pod] {
    			clone[pod][container] = append([]Block{}, blocks...)
    		}
    	}
    	return clone
    }
    
    // Reader interface used to read current memory/pod assignment state
    type Reader interface {
    	// GetMachineState returns Memory Map stored in the State
    	GetMachineState() NUMANodeMap
    	// GetMemoryBlocks returns memory assignments of a container
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 08 23:10:00 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  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. src/cmd/compile/internal/walk/complit.go

    	if n.X == nil || n.Y == nil {
    		// not a special composite literal assignment
    		return false
    	}
    	if n.X.Type() == nil || n.Y.Type() == nil {
    		// not a special composite literal assignment
    		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()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  9. test/fixedbugs/issue23188.go

    // license that can be found in the LICENSE file.
    
    // Test order of evaluation of index operations.
    
    package main
    
    func main() {
    	arr := []int{1, 2}
    
    	// The spec says that in an assignment statement the operands
    	// of all index expressions and pointer indirections on the
    	// left, and the expressions on the right, are evaluated in
    	// the usual order. The usual order means function calls and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 10 21:30:26 UTC 2018
    - 943 bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/fromLanguageTree/LanguageTreeToDom.kt

    import org.gradle.internal.declarativedsl.dom.data.NodeData
    import org.gradle.internal.declarativedsl.dom.data.ValueData
    import org.gradle.internal.declarativedsl.language.Assignment
    import org.gradle.internal.declarativedsl.language.Block
    import org.gradle.internal.declarativedsl.language.BlockElement
    import org.gradle.internal.declarativedsl.language.ErroneousStatement
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top