Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 252 for assignments (0.29 sec)

  1. test/writebarrier.go

    func f23a() {
    	t23 = T23{} // ERROR "write barrier"
    }
    
    func f23b() {
    	// also test partial assignments
    	t23 = T23{a: 1} // ERROR "write barrier"
    }
    
    func f23c() {
    	t23 = T23{} // no barrier (dead store)
    	// also test partial assignments
    	t23 = T23{p: &i23} // ERROR "write barrier"
    }
    
    var g int
    
    func f24() **int {
    	p := new(*int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 23 19:46:36 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  2. test/reorder.go

    // run
    
    // Copyright 2011 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.
    
    // Test reordering of assignments.
    
    package main
    
    import "fmt"
    
    func main() {
    	p1()
    	p2()
    	p3()
    	p4()
    	p5()
    	p6()
    	p7()
    	p8()
    	p9()
    	p10()
    	p11()
    }
    
    var gx []int
    
    func f(i int) int {
    	return gx[i]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jan 16 23:19:26 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. test/fixedbugs/bug242.go

    // run
    
    // Copyright 2010 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.
    
    // Test order of evaluation in tuple assignments.
    
    package main
    
    var i byte = 0
    var a [30]byte
    
    func f() *byte {
    	i++
    	return &a[i-1]
    }
    func gbyte() byte {
    	i++
    	return 'a' + i - 1
    }
    func gint() byte {
    	i++
    	return i - 1
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 2.1K bytes
    - Viewed (0)
  4. cluster/addons/calico-policy-controller/ippool-crd.yaml

              spec:
                description: IPPoolSpec contains the specification for an IPPool resource.
                properties:
                  blockSize:
                    description: The block size to use for IP address assignments from
                      this pool. Defaults to 26 for IPv4 and 112 for IPv6.
                    type: integer
                  cidr:
                    description: The pool CIDR.
                    type: string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 20:48:43 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/conventions/ConventionApplicationHandler.kt

            referencedSoftwareTypes: List<SoftwareTypeConventionResolutionResults>
        ): List<AssignmentRecord> =
            referencedSoftwareTypes.flatMap { softwareType ->
                softwareType.assignments.map { assignmentRecord ->
                    assignmentRecord.copy(
                        lhs = assignmentRecord.lhs.copy(receiverObject = transfer(assignmentRecord.lhs.receiverObject)),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/dra/state/checkpoint.go

    )
    
    var _ checkpointmanager.Checkpoint = &DRAManagerCheckpoint{}
    
    const checkpointVersion = "v1"
    
    // DRAManagerCheckpoint struct is used to store pod dynamic resources assignments in a checkpoint
    type DRAManagerCheckpoint struct {
    	Version  string             `json:"version"`
    	Entries  ClaimInfoStateList `json:"entries,omitempty"`
    	Checksum checksum.Checksum  `json:"checksum"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 15:23:10 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  7. test/escape_field.go

    // Copyright 2015 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.
    
    // Test escape analysis with respect to field assignments.
    
    package escape
    
    var sink interface{}
    
    type X struct {
    	p1 *int
    	p2 *int
    	a  [2]*int
    }
    
    type Y struct {
    	x X
    }
    
    func field0() {
    	i := 0 // ERROR "moved to heap: i$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 12 08:31:49 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

      // buffer.
      TFE_TensorHandle* handle_;
      // The dtype of the variable's buffer (input dtype for assignments, output
      // dtype of read operations).
      TF_DataType type_;
    };
    
    // Creates a TFE_TensorHandle with value `v`.
    TensorHandlePtr FloatTensorHandle(float v, TF_Status* status);
    
    // Creates a rank-one TFE_TensorHandle with value `v`.
    TensorHandlePtr VectorFloatTensorHandle(const std::vector<float>& v,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 09 01:12:35 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/EvaluationFailureMessageGenerator.kt

            is ErrorReason.ReadOnlyPropertyAssignment -> "assignment to read-only property '${errorReason.property.name}"
            ErrorReason.UnitAssignment -> "assignment of a Unit value"
            ErrorReason.UnresolvedAssignmentLhs -> "unresolved assignment target"
            ErrorReason.UnresolvedAssignmentRhs -> "unresolved assigned value"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. src/cmd/vet/doc.go

    To list the available checks, run "go tool vet help":
    
    	appends          check for missing values after append
    	asmdecl          report mismatches between assembly files and Go declarations
    	assign           check for useless assignments
    	atomic           check for common mistakes using the sync/atomic package
    	bools            check for common mistakes involving boolean operators
    	buildtag         check //go:build and // +build directives
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 00:17:30 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top