Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 79 for testmovk (0.16 sec)

  1. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

        assertEquals(-1, counter.read(new byte[30]));
        assertEquals(20, counter.getCount());
      }
    
      @SuppressWarnings("CheckReturnValue") // calling read() to skip a byte
      public void testMark() throws Exception {
        assertTrue(counter.markSupported());
        assertEquals(10, counter.read(new byte[10]));
        assertEquals(10, counter.getCount());
        counter.mark(5);
        counter.read();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. src/internal/gover/gover_test.go

    	{"1.21.0", Version{"1", "21", "0", "", ""}},
    	{"1.24", Version{"1", "24", "", "", ""}},
    	{"1.24rc3", Version{"1", "24", "", "rc", "3"}},
    	{"1.24.0", Version{"1", "24", "0", "", ""}},
    	{"1.999testmod", Version{"1", "999", "", "testmod", ""}},
    	{"1.99999999999999999", Version{"1", "99999999999999999", "", "", ""}},
    }
    
    func TestLang(t *testing.T) { test1(t, langTests, "Lang", Lang) }
    
    var langTests = []testCase1[string, string]{
    	{"1.2rc3", "1.2"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4TestClassDetectionIntegrationTest.groovy

                    public class NonStaticInner {
                        @Test public void ok() { }
                    }
    
                    public class NonStaticInnerTestCase extends TestCase {
                        public void testOk() { }
                    }
                }
            """.stripIndent()
            writeCustomRunnerClass('CustomRunnerOrExtension')
            buildFile << """
                apply plugin: 'java'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewrite_test.go

    package ssa
    
    import "testing"
    
    // We generate memmove for copy(x[1:], x[:]), however we may change it to OpMove,
    // because size is known. Check that OpMove is alias-safe, or we did call memmove.
    func TestMove(t *testing.T) {
    	x := [...]byte{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40}
    	copy(x[1:], x[:])
    	for i := 1; i < len(x); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 21:57:02 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  5. src/net/http/request_test.go

    		b.Fatalf("Failed to copy %d bytes: %v", n, err)
    	}
    
    	run(b, func(b *testing.B, mode testMode) {
    		runFileAndServerBenchmarks(b, mode, f, n)
    	}, []testMode{http1Mode, https1Mode, http2Mode})
    }
    
    func runFileAndServerBenchmarks(b *testing.B, mode testMode, f *os.File, n int64) {
    	handler := HandlerFunc(func(rw ResponseWriter, req *Request) {
    		defer req.Body.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  6. test/typeparam/list2.go

    		panic(fmt.Sprintf("e.value = %d, want 1", e.Value))
    	}
    	if e.Next() != nil {
    		panic(fmt.Sprintf("e.Next() != nil"))
    	}
    	if e.Prev() != nil {
    		panic(fmt.Sprintf("e.Prev() != nil"))
    	}
    }
    
    func TestMove() {
    	l := _New[int]()
    	e1 := l.PushBack(1)
    	e2 := l.PushBack(2)
    	e3 := l.PushBack(3)
    	e4 := l.PushBack(4)
    
    	l.MoveAfter(e3, e3)
    	checkListPointers(l, []*(_Element[int]){e1, e2, e3, e4})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions/matcher_test.go

    	}
    
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			m := NewMatcher(&fakeCelFilter{
    				evaluations: tc.evaluations,
    				throwError:  tc.throwError,
    			}, tc.failPolicy, "webhook", "test", "testhook")
    			ctx := context.TODO()
    			matchResult := m.Match(ctx, fakeVersionedAttr, nil, nil)
    
    			if matchResult.Error != nil {
    				if len(tc.expectError) == 0 {
    					t.Fatal(matchResult.Error)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 15 00:53:08 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modfetch/coderepo_test.go

    	},
    	{
    		// redirect to static hosting proxy
    		vcs:     "mod",
    		path:    "swtch.com/testmod",
    		rev:     "v1.0.0",
    		version: "v1.0.0",
    		// NO name or short - we intentionally ignore those in the proxy protocol
    		time:  time.Date(1972, 7, 18, 12, 34, 56, 0, time.UTC),
    		gomod: "module \"swtch.com/testmod\"\n",
    	},
    	{
    		// redirect to googlesource
    		vcs:         "git",
    		path:        "golang.org/x/text",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 20:10:14 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  9. src/regexp/testdata/testregex.c

    {
    	if (test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_OK|TEST_PASS|TEST_SUMMARY))
    	{
    		state.extracted = 1;
    		if (test & TEST_OK)
    		{
    			state.passed++;
    			if ((test & TEST_VERIFY) && !(test & (TEST_ACTUAL|TEST_BASELINE|TEST_FAIL|TEST_PASS|TEST_SUMMARY)))
    			{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  10. src/cmd/distpack/test.go

    				log.Fatalf("unexpected source archive file: %s (generated by dist)", f.Name)
    			}
    		}
    	}
    }
    
    func testZip(a *Archive) { test("binary", a, zipRules) }
    func testMod(a *Archive) { test("module", a, modRules) }
    
    func test(kind string, a *Archive, rules []testRule) {
    	ok := true
    	have := make([]bool, len(rules))
    	for _, f := range a.Files {
    		for i, r := range rules {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 22:29:19 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top