Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 194 for testDir (0.16 sec)

  1. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/tasks/TemplateProjectGeneratorTask.groovy

        @OutputDirectory
        File destDir
    
        @InputDirectory
        @PathSensitive(PathSensitivity.RELATIVE)
        File templateDirectory
    
        @InputDirectory
        @Optional
        @PathSensitive(PathSensitivity.RELATIVE)
        File sharedTemplateDirectory
    
        TemplateProjectGeneratorTask() {
            destDir = project.layout.buildDirectory.dir("$name").get().asFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jul 06 10:57:13 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/cover_pkgall_imports.txt

    }
    
    -- $GOPATH/src/example.com/cov/withtest/withtest.go --
    package withtest
    
    func Bar() {}
    
    -- $GOPATH/src/example.com/cov/withtest/withtest_test.go --
    package withtest
    
    import "testing"
    
    func TestBar(t *testing.T) {
    	Bar()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 23 18:14:47 UTC 2021
    - 870 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/library/cidr_test.go

    	"github.com/google/cel-go/common/types/ref"
    	"github.com/stretchr/testify/require"
    	"k8s.io/apimachinery/pkg/util/sets"
    	apiservercel "k8s.io/apiserver/pkg/cel"
    	"k8s.io/apiserver/pkg/cel/library"
    )
    
    func testCIDR(t *testing.T, expr string, expectResult ref.Val, expectRuntimeErr string, expectCompileErrs []string) {
    	env, err := cel.NewEnv(
    		library.IP(),
    		library.CIDR(),
    	)
    	if err != nil {
    		t.Fatalf("%v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:09 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/testfixtures/internal/NativeServicesTestFixture.java

    import java.io.File;
    
    public class NativeServicesTestFixture {
        // Collect this early, as the process' current directory can change during embedded test execution
        private static final TestFile TEST_DIR = new TestFile(new File(".").toURI());
        static NativeServices nativeServices;
        static boolean initialized;
    
        public static synchronized void initialize() {
            if (!initialized) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/DestinationRootCopySpecCodec.kt

            write(value.delegate)
        }
    
        override suspend fun ReadContext.decode(): DestinationRootCopySpec {
            val destDir = read() as? File
            val delegate = read() as CopySpecInternal
            val spec = DestinationRootCopySpec(fileResolver, delegate)
            destDir?.let(spec::into)
            return spec
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/cover_test_pkgselect.txt

    package bar
    
    import "example/foo"
    
    func BarFunc() int {
    	return foo.FooFunc2()
    }
    
    -- bar/bar_test.go --
    package bar_test
    
    import (
    	"example/bar"
    	"testing"
    )
    
    func TestBar(t *testing.T) {
    	if bar.BarFunc() != 42 {
    		t.Fatalf("bad")
    	}
    }
    
    -- baz/baz.go --
    package baz
    
    func BazFunc() int {
    	return -42
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  7. testing/performance/src/templates/project-with-source/build.xml

        </target>
    
        <target name="compile">
            <mkdir dir="\${classes.dir}"/>
            <javac srcdir="\${src.dir}" destdir="\${classes.dir}"/>
        </target>
    
        <target name="compileTest" depends="compile">
            <mkdir dir="\${test.classes.dir}"/>
            <javac srcdir="\${test.src.dir}" destdir="\${test.classes.dir}">
                <classpath>
                    <path location="\${classes.dir}"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. src/crypto/cipher/ctr_test.go

    func inc(b []byte) {
    	for i := len(b) - 1; i >= 0; i++ {
    		b[i]++
    		if b[i] != 0 {
    			break
    		}
    	}
    }
    
    func xor(a, b []byte) {
    	for i := range a {
    		a[i] ^= b[i]
    	}
    }
    
    func TestCTR(t *testing.T) {
    	for size := 64; size <= 1024; size *= 2 {
    		iv := make([]byte, size)
    		ctr := cipher.NewCTR(noopBlock(size), iv)
    		src := make([]byte, 1024)
    		for i := range src {
    			src[i] = 0xff
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 21:38:36 UTC 2015
    - 1.1K bytes
    - Viewed (0)
  9. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/PluginUnderTestMetadataReading.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testkit.runner.internal;
    
    import org.gradle.testkit.runner.InvalidPluginMetadataException;
    import org.gradle.util.internal.GUtil;
    
    import java.io.File;
    import java.net.URL;
    import java.util.ArrayList;
    import java.util.List;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. test/fixedbugs/issue5755.dir/a.go

    func Test7(s []uint8) I { return foo7(s) }
    func Test8(s []int32) I { return foo8(s) }
    func Test9(s int) I     { return foo9(s) }
    
    type bar map[int]int
    
    func (b bar) F() { return }
    
    func TestBar() I { return bar{1: 2} }
    
    type baz int
    
    func IsBaz(x interface{}) bool { _, ok := x.(baz); return ok }
    
    type baz2 int
    
    func IsBaz2(x interface{}) bool {
    	switch x.(type) {
    	case baz2:
    		return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 28 21:29:13 UTC 2013
    - 1.3K bytes
    - Viewed (0)
Back to top