Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 249 for exercise (0.07 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/apiextensions-apiserver/test/integration/change_test.go

    			t.Error(err)
    		}
    	}
    
    	// Set up 10 watchers for custom resource.
    	// We can't exercise them in a loop the same way as get requests, as watchcache
    	// can reject them with 429 and Retry-After: 1 if it is uninitialized and even
    	// though 429 is automatically retried, with frequent watchcache terminations and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:59:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/GroovyCompileProblemsIntegrationTest.groovy

            when:
            fails(":compileGroovy")
    
            then:
            // If the joint compilation is working correctly, we should exercise the JdkJavaCompiler and we should have detailed problems events
            verifyAll(receivedProblem(0)) {
                fqid == 'compilation:java:java-compilation-error'
                details == "';' expected"
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 16:25:50 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/os/user/lookup_stubs.go

    package user
    
    import (
    	"fmt"
    	"os"
    	"runtime"
    	"strconv"
    )
    
    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) {
    	uid := currentUID()
    	// $USER and /etc/passwd may disagree; prefer the latter if we can get it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 07 16:09:09 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  10. src/runtime/runtime_linux_test.go

    import (
    	. "runtime"
    	"syscall"
    	"testing"
    	"time"
    	"unsafe"
    )
    
    var pid, tid int
    
    func init() {
    	// Record pid and tid of init thread for use during test.
    	// The call to LockOSThread is just to exercise it;
    	// we can't test that it does anything.
    	// Instead we're testing that the conditions are good
    	// for how it is used in init (must be on main thread).
    	pid, tid = syscall.Getpid(), syscall.Gettid()
    	LockOSThread()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 20:20:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top