Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 360 for outReg (0.12 sec)

  1. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/loopLabel.kt

    fun test() {
    
        <expr>outer@</expr>while(true) {
            inner@while(false) {
                break@outer
            }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 121 bytes
    - Viewed (0)
  2. test/method7.go

    	interface{ m1(string) }.m1(x, "d")
    	want += " m1(d)"
    
    	g := struct{ T }.m2
    	g(struct{ T }{})
    	want += " m2()"
    
    	if got != want {
    		panic("got" + got + ", want" + want)
    	}
    
    	h := (*Outer).M
    	got := h(&Outer{&Inner{"hello"}})
    	want := "hello"
    	if got != want {
    		panic("got " + got + ", want " + want)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 26 17:05:06 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  3. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/differentTargets/break.txt

        expression = if (cond()) {
                        break
                    } else if (cond()) {
                        break@outer
                    }
        type = kotlin.Unit
      hasEscapingJumps = true
      hasJumps = true
      hasMultipleJumpKinds = false
      hasMultipleJumpTargets = true
      jumpExpressions = [
        break,
        break@outer
      ]
      returnValueType = null
      valuedReturnExpressions = []
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 489 bytes
    - Viewed (0)
  4. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/differentTargets/break.kt

    fun test() {
        outer@ while (cond()) {
            consume(1)
            while (cond()) {
                consume(2)
                <expr>if (cond()) {
                    break
                } else if (cond()) {
                    break@outer
                }</expr>
            }
        }
    }
    
    fun consume(obj: Any?) {}
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Mar 14 10:53:11 UTC 2024
    - 316 bytes
    - Viewed (0)
  5. src/go/ast/scope.go

    // in the scope and a link to the immediately surrounding (outer)
    // scope.
    //
    // Deprecated: use the type checker [go/types] instead; see [Object].
    type Scope struct {
    	Outer   *Scope
    	Objects map[string]*Object
    }
    
    // NewScope creates a new scope nested in the outer scope.
    func NewScope(outer *Scope) *Scope {
    	const n = 4 // initial scope capacity
    	return &Scope{outer, make(map[string]*Object, n)}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/runtime/embedded_test.go

    	codec := serializer.NewCodecFactory(s).LegacyCodec(externalGV)
    
    	inner := &runtimetesting.EmbeddedTest{
    		ID: "inner",
    	}
    	outer := &runtimetesting.EmbeddedTest{
    		ID:     "outer",
    		Object: runtime.NewEncodable(codec, inner),
    	}
    
    	wire, err := runtime.Encode(codec, outer)
    	if err != nil {
    		t.Fatalf("Unexpected encode error '%v'", err)
    	}
    
    	t.Logf("Wire format is:\n%v\n", string(wire))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 06 16:07:10 UTC 2020
    - 9.2K bytes
    - Viewed (0)
  7. test/typeparam/issue53406.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	f[int]()
    }
    
    func f[T1 any]() {
    	var x Outer[T1, int]
    	x.M()
    }
    
    type Outer[T1, T2 any] struct{ Inner[T2] }
    
    type Inner[_ any] int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 22 16:25:18 UTC 2022
    - 354 bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/rule/describe/MethodModelRuleDescriptorTest.groovy

        }
    
        def "inner classes are described"() {
            when:
            def sb = new StringBuilder()
            MethodModelRuleDescriptor.of(weakMethod(Outer.Inner, "noArgs")).describeTo(sb)
    
            then:
            sb.toString() == 'MethodModelRuleDescriptorTest.Outer.Inner#noArgs()'
        }
    
        private WeaklyTypeReferencingMethod weakMethod(Class type, String name) {
            def declaringType = ModelType.of(type)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/configuration/project/LifecycleProjectEvaluatorIntegrationTest.groovy

        }
    
        def "nested afterEvaluate action is executed after outer action completes"() {
            given:
    
            buildFile """
                afterEvaluate {
                    println "> Outer"
                    afterEvaluate {
                        println "Inner"
                    }
                    println "< Outer"
                }
            """
    
            when:
            succeeds 'help'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. test/fixedbugs/issue20029.go

    // The ambiguously live variable here is the hiter
    // for the inner range loop.
    
    package main
    
    import "runtime"
    
    func f(m map[int]int) {
    outer:
    	for i := 0; i < 10; i++ {
    		for k := range m {
    			if k == 5 {
    				continue outer
    			}
    		}
    		runtime.GC()
    		break
    	}
    	runtime.GC()
    }
    func main() {
    	m := map[int]int{1: 2, 2: 3, 3: 4}
    	f(m)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 20 23:47:43 UTC 2017
    - 583 bytes
    - Viewed (0)
Back to top