Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 342 for testSqr (0.27 sec)

  1. src/math/big/nat_test.go

    				}
    			}
    		}
    	}
    }
    
    func testSqr(t *testing.T, x nat) {
    	got := make(nat, 2*len(x))
    	want := make(nat, 2*len(x))
    	got = got.sqr(x)
    	want = want.mul(x, x)
    	if got.cmp(want) != 0 {
    		t.Errorf("basicSqr(%v), got %v, want %v", x, got, want)
    	}
    }
    
    func TestSqr(t *testing.T) {
    	for _, a := range prodNN {
    		if a.x != nil {
    			testSqr(t, a.x)
    		}
    		if a.y != nil {
    			testSqr(t, a.y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 15:29:36 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/registry/generic/testing/tester.go

    	t.tester = t.tester.ClusterScope()
    	return t
    }
    
    func (t *Tester) Namer(namer func(int) string) *Tester {
    	t.tester = t.tester.Namer(namer)
    	return t
    }
    
    func (t *Tester) AllowCreateOnUpdate() *Tester {
    	t.tester = t.tester.AllowCreateOnUpdate()
    	return t
    }
    
    func (t *Tester) GeneratesName() *Tester {
    	t.tester = t.tester.GeneratesName()
    	return t
    }
    
    func (t *Tester) ReturnDeletedObject() *Tester {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 16:50:16 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileResolutionIntegrationTest.groovy

    def provider = project.provider { $expression }
    def f = files(provider)
    assert f.files as List == [file("testdir")]
    """
    
            expect:
            succeeds()
    
            where:
            expression                        | _
            "new File(projectDir, 'testdir')" | _
            "new File('testdir').toPath()"    | _
            "'testdir'"                       | _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 19:24:20 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

    public class DictionaryManagerTest extends UnitFessTestCase {
        private File testDir;
    
        private File file1;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            testDir = File.createTempFile("synonymtest", "_dir");
            testDir.delete();
            testDir.mkdirs();
            file1 = new File(testDir, "synonym.txt");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/dist/test.go

    	// this list.
    	registerStdTestSpecially := map[string]bool{
    		// testdir can run normally as part of "go test std cmd", but because
    		// it's a very large test, we register is specially as several shards to
    		// enable better load balancing on sharded builders. Ideally the build
    		// system would know how to shard any large test package.
    		"cmd/internal/testdir": true,
    	}
    
    	// Fast path to avoid the ~1 second of `go list std cmd` when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/groovy/scripts/TextResourceScriptSourceTest.java

            testDir = tmpDir.createDir("scripts");
            scriptFile = new File(testDir, "build.script");
            scriptFileUri = scriptFile.toURI();
            createJar();
        }
    
        private URI createJar() throws URISyntaxException {
            TestFile jarFile = tmpDir.getTestDirectory().file("test.jar");
            testDir.file("ignoreme").write("content");
            testDir.zipTo(jarFile);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 15 01:04:05 UTC 2023
    - 12K bytes
    - Viewed (0)
  7. cmd/kubelet/app/server_bootstrap_test.go

    	}
    	fi = getFileInfo(testDir)
    	if len(fi) != 2 {
    		t.Fatalf("Unexpected directory contents: %#v", fi)
    	}
    }
    
    func Test_buildClientCertificateManager_populateCertDir(t *testing.T) {
    	testDir, err := os.MkdirTemp("", "kubeletcert")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer func() { os.RemoveAll(testDir) }()
    
    	// when no cert is provided, write nothing to disk
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/jdk7/Jdk7SymlinkTest.groovy

            createWindowsJunction(new File(testDirectory, 'testDir'), testDirectory.createDir('symDir'))
    
            then:
            symlink.isSymlink(new File(testDirectory, 'testDir'))
    
            cleanup:
            // Need to delete the junction point manually because it's not supported by JDK
            // See: https://bugs.openjdk.java.net/browse/JDK-8069345
            new File(testDirectory, 'testDir').delete()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. istioctl/pkg/workload/workload_test.go

    			"ingressIP":  "fd00:10:96::2",
    		},
    	}
    	for _, dir := range files {
    		if !dir.IsDir() {
    			continue
    		}
    		testdir := path.Join("testdata/vmconfig", dir.Name())
    		t.Cleanup(func() {
    			for k := range generated {
    				os.Remove(path.Join(testdir, k))
    			}
    		})
    		t.Run(dir.Name(), func(t *testing.T) {
    			createClientFunc := func(client kube.CLIClient) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/UserInitScriptExecuterFixture.groovy

    abstract class UserInitScriptExecuterFixture implements MethodRule {
    
        GradleExecuter executer
        TestDirectoryProvider testDir
    
        UserInitScriptExecuterFixture(GradleExecuter executer, TestDirectoryProvider testDir) {
            this.executer = executer
            this.testDir = testDir
        }
    
        String initScriptContent() {
        }
    
        void afterBuild() {
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top