Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 552 for reassignment (0.24 sec)

  1. 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)
  2. platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/conventions/ConventionsResolutionProcessor.kt

    object ConventionsResolutionProcessor {
        fun process(resolutionResult: ResolutionResult): Map<String, SoftwareTypeConventionResolutionResults> {
            val assignments = resolutionResult.assignments.groupBy { assignment ->
                getSoftwareType(assignment.lhs.receiverObject).function.simpleName
            }
            val additions = resolutionResult.additions.groupBy { addition ->
                getSoftwareType(addition.container).function.simpleName
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. test/fixedbugs/bug069.go

    package main
    
    func main() {
    	c := make(chan int);
    	ok := false;
    	var i int;
    	
    	i, ok = <-c;  // works
    	_, _ = i, ok;
    	
    	ca := new([2]chan int);
    	i, ok = <-(ca[0]);  // fails: c.go:11: bad shape across assignment - cr=1 cl=2
    	_, _ = i, ok;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 413 bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/parsing/ErrorParsingTest.kt

                        )
                    )
                )""".trimIndent()
            parse(code).assert(expected)
        }
    
        @Test
        fun `missing assignment in one of a series of assignments`() {
            val code = """
                val a = 1
                val b = 2
                val c 3
                val d = 4
                val e = 5
            """.trimIndent()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 09:41:25 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. common/config/tslint.json

            "max-line-length": {
                "options": [160]
            },
            "arrow-parens": false,
            "new-parens": true,
            "no-arg": true,
            "no-bitwise": true,
            "no-conditional-assignment": true,
            "no-consecutive-blank-lines": true,
            "no-console": {
                "severity": "warning",
                "options": ["debug", "info", "log", "time", "timeEnd", "trace"]
            },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 11 23:32:21 UTC 2019
    - 631 bytes
    - Viewed (0)
  10. src/cmd/vet/testdata/copylock/copylock.go

    // license that can be found in the LICENSE file.
    
    package copylock
    
    import "sync"
    
    func BadFunc() {
    	var x *sync.Mutex
    	p := x
    	var y sync.Mutex
    	p = &y
    	*p = *x // ERROR "assignment copies lock value to \*p: sync.Mutex"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 26 21:34:18 UTC 2021
    - 333 bytes
    - Viewed (0)
Back to top