Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,029 for tcRange (0.2 sec)

  1. src/cmd/compile/internal/typecheck/stmt.go

    		t := n.Cond.Type()
    		if t != nil && !t.IsBoolean() {
    			base.Errorf("non-bool %L used as if condition", n.Cond)
    		}
    	}
    	Stmts(n.Body)
    	Stmts(n.Else)
    	return n
    }
    
    // range
    func tcRange(n *ir.RangeStmt) {
    	n.X = Expr(n.X)
    
    	// delicate little dance.  see tcAssignList
    	if n.Key != nil {
    		if !ir.DeclaredBy(n.Key, n) {
    			n.Key = AssignExpr(n.Key)
    		}
    		checkassign(n.Key)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:10:54 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/typecheck.go

    		return tcCheckNil(n)
    
    	case ir.OSELECT:
    		tcSelect(n.(*ir.SelectStmt))
    		return n
    
    	case ir.OSWITCH:
    		tcSwitch(n.(*ir.SwitchStmt))
    		return n
    
    	case ir.ORANGE:
    		tcRange(n.(*ir.RangeStmt))
    		return n
    
    	case ir.OTYPESW:
    		n := n.(*ir.TypeSwitchGuard)
    		base.Fatalf("use of .(type) outside type switch")
    		return n
    
    	case ir.ODCLFUNC:
    		tcFunc(n.(*ir.Func))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

                seenApiChanges.add(change)
                return Violation.accept(member, "${rejection.getHumanExplanation()}. Reason for accepting this: <b>Upgraded property</b>")
            }
    
            def acceptanceJson = new AcceptedApiChange(
                change.type,
                change.member,
                '[ADD YOUR CUSTOM REASON HERE]',
                change.changes
            )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/UnsupportedConfigurationMutationTest.groovy

            then:
            failure.assertHasCause("Cannot change dependencies of dependency configuration ':impl:compile' after it has been resolved.")
    
            when:
            fails("impl:modifyParentConfigDuringTaskExecution")
    
            then:
            failure.assertHasCause("Cannot change dependencies of dependency configuration ':impl:compile' after it has been included in dependency resolution.")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:59:50 UTC 2024
    - 17.6K bytes
    - Viewed (2)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractCrossTaskIncrementalCompilationIntegrationTest.groovy

            when:
            impl.snapshot()
            source api: ["class A { /* change */ }"]
            run "impl:${language.compileTaskName}"
    
            then:
            impl.noneRecompiled() //because after earlier change to B, class A is no longer a dependency
        }
    
        def "doesn't recompile if external dependency has ABI incompatible change but not on class we use"() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:55:46 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractClassChangeIncrementalCompilationIntegrationTest.groovy

        }
    
        def "detects change of an isolated source class with an inner class"() {
            source """class A {
                class InnerA {}
            }"""
            source "class B {}"
    
            outputs.snapshot { run language.compileTaskName }
    
            when:
            source """class A {
                class InnerA { /* change */ }
            }"""
            run language.compileTaskName
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/GroovyJavaJointIncrementalCompilationIntegrationTest.groovy

            'Change Java files in joint compilation'    | ['G', 'J']            | ['G', 'J.changed']            | 'Incremental compilation of' | ['J']                 | ['G', 'J.changed']            | 'UP-TO-DATE'                 | []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  8. src/syscall/syscall_bsd.go

    		n = 0
    	}
    	return n, nil
    }
    
    //sys	kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error)
    
    func Kevent(kq int, changes, events []Kevent_t, timeout *Timespec) (n int, err error) {
    	var change, event unsafe.Pointer
    	if len(changes) > 0 {
    		change = unsafe.Pointer(&changes[0])
    	}
    	if len(events) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  9. plugin/pkg/admission/gc/gc_admission_test.go

    		checkError func(error) bool
    	}{
    		{
    			name:       "super-user, create, no objectref change",
    			username:   "super",
    			resource:   api.SchemeGroupVersion.WithResource("pods"),
    			newObj:     &api.Pod{},
    			checkError: expectNoError,
    		},
    		{
    			name:       "super-user, create, objectref change",
    			username:   "super",
    			resource:   api.SchemeGroupVersion.WithResource("pods"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/CrossTaskClassChangesIncrementalCompilationIntegrationTest.groovy

        }
    
        // This test checks the current behavior, not necessarily the desired one.
        // If all classes are compiled by the same compile task, we do not know if a
        // change is an abi change or not. Hence, an abi change is always assumed.
        def "does recompile on non-abi changes inside one project"() {
            source impl: ["class A { }", "class B { A a; }", "class C { B b; }"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12.6K bytes
    - Viewed (0)
Back to top