Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 413 for exercise (0.22 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/BuildScriptVisibilityIntegrationTest.groovy

    println "root: " + doSomethingElse(10)
    """
            file("child1/build.gradle") << """
    println "child: " + doSomething(11)
    println "child: " + doSomethingElse(11)
    """
    
            expect:
            // Invoke twice to exercise script caching
            succeeds()
            outputContains("root: {10}")
            outputContains("root: [10]")
            outputContains("child: {11}")
            outputContains("child: [11]")
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/samples/readme-templates/library-summary.adoc.template

    * Run the build and view the test report
    * Customize the Jar files the build produces
    
    Now you could complete this exercise by trying to compile some ${language.raw} code that uses the library you just built.
    
    == Next steps
    
    Building a library is just one aspect of reusing code across project boundaries.
    From here, you may be interested in:
    
     - link:{userManualPath}/building_java_projects.html[Building Java & JVM projects]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 781 bytes
    - Viewed (0)
  3. docs/LICENSE

              Licensor authorizes You to exercise the Licensed Rights in
              all media and formats whether now known or hereafter created,
              and to make technical modifications necessary to do so. The
              Licensor waives and/or agrees not to assert any right or
              authority to forbid You from making technical modifications
              necessary to exercise the Licensed Rights, including
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 10 16:50:06 UTC 2021
    - 18.2K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_badtest.txt

    ! go test badtest/badvar
    ! stdout ^ok
    stdout ^FAIL\tbadtest/badvar
    
    ! go test notest
    ! stdout ^ok
    stderr '^notest.hello.go:6:1: syntax error: non-declaration statement outside function body' # Exercise issue #7108
    
    -- badtest/badexec/x_test.go --
    package badexec
    
    func init() {
    	panic("badexec")
    }
    
    -- badtest/badsyntax/x.go --
    package badsyntax
    
    -- badtest/badsyntax/x_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 06 15:47:54 UTC 2020
    - 805 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    		evalExecutingMetrics:        true,
    		clk:                         clk,
    		counter:                     counter,
    		seatDemandIntegratorSubject: seatDemandIntegratorSubject,
    	}.exercise(t)
    }
    
    // TestWindup exercises a scenario with the windup problem.
    // That is, a flow that can not use all the seats that it is allocated
    // for a while.  During that time, the queues that serve that flow
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  6. test/fixedbugs/bug243.go

    	go func() {
    		for {
    			var conn, _ = listen.Accept()
    			_ = conn
    		}
    	}()
    
    	var conn, _ = Dial("tcp", "", listen.Addr().Error())
    	_ = conn
    }
    
    // Simulated net interface to exercise bug
    // without involving a real network.
    type T chan int
    
    var global T
    
    func Listen(x, y string) (T, string) {
    	global = make(chan int)
    	return global, y
    }
    
    func (t T) Addr() error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 893 bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/plugin/NonImperativeBuildScriptEvaluationIntegrationTest.groovy

                }
            """
    
            buildScript """
                apply from: "scriptPlugin1.gradle"
                apply from: "scriptPlugin2.gradle"
            """
    
            then:
            // Invoke twice to exercise script caching
            succeeds "fromScriptPlugin1", "fromScriptPlugin2"
            succeeds "fromScriptPlugin1", "fromScriptPlugin2"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 15 00:59:45 UTC 2015
    - 1.5K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testshared/testdata/global/main.go

    		panic("testLargeOffset: address mismatch")
    	}
    }
    
    func main() {
    	testLoop()
    
    	// SSA rules commonly merge offsets into addresses. These
    	// tests access global data in different ways to try
    	// and exercise different SSA rules.
    	testMediumOffset()
    	testLargeOffset()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. src/runtime/testdata/testprog/badtraceback.go

    	debug.SetGCPercent(-1)
    	// Out of an abundance of caution, also make sure that there are
    	// no GCs actively in progress.
    	runtime.GC()
    
    	// Run badLR1 on its own stack to minimize the stack size and
    	// exercise the stack bounds logic in the hex dump.
    	go badLR1()
    	select {}
    }
    
    //go:noinline
    func badLR1() {
    	// We need two frames on LR machines because we'll smash this
    	// frame's saved LR.
    	badLR2(0)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 06 23:02:28 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  10. src/os/user/lookup_plan9.go

    func init() {
    	userImplemented = false
    	groupImplemented = false
    	groupListImplemented = false
    }
    
    var (
    	// unused variables (in this implementation)
    	// modified during test to exercise code paths in the cgo implementation.
    	userBuffer  = 0
    	groupBuffer = 0
    )
    
    func current() (*User, error) {
    	ubytes, err := os.ReadFile("/dev/user")
    	if err != nil {
    		return nil, fmt.Errorf("user: %s", err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 07 16:09:09 UTC 2022
    - 1.3K bytes
    - Viewed (0)
Back to top