Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 252 for assignments (0.25 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util-generated.h.pump

    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_;
    };
    
    $range i 2..n
    $for i [[
    $range j 1..i
    
    template <$for j, [[typename T$j]]>
    class ValueArray$i {
     public:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util-generated.h.pump

    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_;
    };
    
    $range i 2..n
    $for i [[
    $range j 1..i
    
    template <$for j, [[typename T$j]]>
    class ValueArray$i {
     public:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/ScriptBlockBuilder.java

     */
    
    package org.gradle.buildinit.plugins.internal;
    
    import org.gradle.api.Action;
    
    import javax.annotation.Nullable;
    
    public interface ScriptBlockBuilder {
        /**
         * Adds a property assignment statement to this block
         */
        void propertyAssignment(@Nullable String comment, String propertyName, Object propertyValue, boolean assignOperator);
    
        /**
         * Adds a method invocation statement to this block
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 04 03:37:40 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. test/fixedbugs/bug161.go

    // license that can be found in the LICENSE file.
    
    package P
    
    const a = 0;
    
    func f(a int) {
    	a = 0;
    }
    
    /*
    bug161.go:8: operation LITERAL not allowed in assignment context
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 295 bytes
    - Viewed (0)
  5. src/internal/types/testdata/examples/types.go

    type T2[P any] struct {
    	f struct {
    		g P
    	}
    }
    
    var x1 T1[struct{ g int }]
    var x2 T2[int]
    
    func _() {
    	// This assignment is invalid because the types of x1, x2 are T1(...)
    	// and T2(...) respectively, which are two different defined types.
    	x1 = x2 // ERROR "assignment"
    
    	// This assignment is valid because the types of x1.f and x2.f are
    	// both struct { g int }; the type parameters act like type aliases
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:16:04 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  6. src/cmd/vet/testdata/atomic/atomic.go

    // This file contains tests for the atomic checker.
    
    package atomic
    
    import "sync/atomic"
    
    func AtomicTests() {
    	x := uint64(1)
    	x = atomic.AddUint64(&x, 1) // ERROR "direct assignment to atomic value"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 20 15:46:42 UTC 2019
    - 364 bytes
    - Viewed (0)
  7. src/internal/types/testdata/fixedbugs/issue67547.go

    }
    
    func _[P struct{ x int }]() {
    	var x struct{ x int }
    	type A = P
    	var _ A = x // assignment must be valid
    }
    
    func _[P struct{ x int }]() {
    	type A = P
    	var x A
    	var _ struct{ x int } = x // assignment must be valid
    }
    
    func _[P []int | struct{}]() {
    	type A = []int
    	var a A
    	var p P
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. test/fixedbugs/issue24470.go

    // Verify that we get "use of .(type) outside type switch"
    // before any other (misleading) errors. Test case from issue.
    
    package p
    
    func f(i interface{}) {
    	if x, ok := i.(type); ok { // ERROR "assignment mismatch|outside type switch"
    		_ = x
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 05 18:46:36 UTC 2021
    - 434 bytes
    - Viewed (0)
  9. test/fixedbugs/bug144.go

    package main
    
    const c = 1;
    
    func main() {
    	c := 0;
    	_ = c;
    }
    
    /*
    bug144.go:8: left side of := must be a name
    bug144.go:8: operation LITERAL not allowed in assignment context
    bug144.go:8: illegal types for operand: AS
    	ideal
    	int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 404 bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/readWriteAccess/FirIdeNormalAnalysisSourceModuleReadWriteAccessTestGenerated.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.5K bytes
    - Viewed (0)
Back to top