Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for runUse (0.21 sec)

  1. src/bytes/bytes_test.go

    			t.Errorf("%s(%q) = %q; want %q", funcName, tc.in, actual, tc.out)
    		}
    	}
    }
    
    func tenRunes(r rune) string {
    	runes := make([]rune, 10)
    	for i := range runes {
    		runes[i] = r
    	}
    	return string(runes)
    }
    
    // User-defined self-inverse mapping function
    func rot13(r rune) rune {
    	const step = 13
    	if r >= 'a' && r <= 'z' {
    		return ((r - 'a' + step) % 26) + 'a'
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  2. pkg/kube/inject/testdata/inputs/proxy-override-runas.yaml.34.template.gen.yaml

    Nicole LiHui <******@****.***> 1717379705 +0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  3. src/strings/strings_test.go

    	{"x \xc0\xc0 ", "x \xc0\xc0"},
    	{"x ☺\xc0\xc0 ", "x ☺\xc0\xc0"},
    	{"x ☺ ", "x ☺"},
    }
    
    func tenRunes(ch rune) string {
    	r := make([]rune, 10)
    	for i := range r {
    		r[i] = ch
    	}
    	return string(r)
    }
    
    // User-defined self-inverse mapping function
    func rot13(r rune) rune {
    	step := rune(13)
    	if r >= 'a' && r <= 'z' {
    		return ((r - 'a' + step) % 26) + 'a'
    	}
    	if r >= 'A' && r <= 'Z' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  4. src/cmd/go/go_test.go

    		tg.t.FailNow()
    	}
    }
    
    // grepStdout looks for a regular expression in the test run's
    // standard output and fails, logging msg, if it is not found.
    func (tg *testgoData) grepStdout(match, msg string) {
    	tg.t.Helper()
    	tg.doGrep(match, &tg.stdout, "output", msg)
    }
    
    // grepStderr looks for a regular expression in the test run's
    // standard error and fails, logging msg, if it is not found.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  5. src/cmd/go/internal/test/test.go

    			fmt.Printf("FAIL\t%s [setup failed]\n", p.ImportPath)
    			continue
    		}
    		builds = append(builds, buildTest)
    		runs = append(runs, runTest)
    		prints = append(prints, printTest)
    	}
    
    	// Order runs for coordinating start JSON prints.
    	ch := make(chan struct{})
    	close(ch)
    	for _, a := range runs {
    		if r, ok := a.Actor.(*runTestActor); ok {
    			r.prev = ch
    			ch = make(chan struct{})
    			r.next = ch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  6. src/testing/testing.go

    // before or after it executes. It is also sometimes necessary to control
    // which code runs on the main thread. To support these and other cases,
    // if a test file contains a function:
    //
    //	func TestMain(m *testing.M)
    //
    // then the generated test will call TestMain(m) instead of running the tests or benchmarks
    // directly. TestMain runs in the main goroutine and can do whatever setup
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/runtime/framework.go

    		panic("No QueueSort plugin is registered in the frameworkImpl.")
    	}
    
    	// Only one QueueSort plugin can be enabled.
    	return f.queueSortPlugins[0].Less
    }
    
    // RunPreFilterPlugins runs the set of configured PreFilter plugins. It returns
    // *Status and its code is set to non-success if any of the plugins returns
    // anything but Success/Skip.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/api_test.go

    		{`package c1b; var _ = int(0)`, `int(0)`, `int`, `0`},
    		{`package c1c; type T int; var _ = T(0)`, `T(0)`, `c1c.T`, `0`},
    
    		{`package c2a; var _ = rune('A')`, `'A'`, `rune`, `65`},
    		{`package c2b; var _ = rune('A')`, `rune('A')`, `rune`, `65`},
    		{`package c2c; type T rune; var _ = T('A')`, `T('A')`, `c2c.T`, `65`},
    
    		{`package c3a; var _ = float32(0.)`, `0.`, `float32`, `0`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  9. src/go/build/build.go

    	var args []string
    	arg := make([]rune, len(s))
    	escaped := false
    	quoted := false
    	quote := '\x00'
    	i := 0
    	for _, rune := range s {
    		switch {
    		case escaped:
    			escaped = false
    		case rune == '\\':
    			escaped = true
    			continue
    		case quote != '\x00':
    			if rune == quote {
    				quote = '\x00'
    				continue
    			}
    		case rune == '"' || rune == '\'':
    			quoted = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  10. src/go/types/api_test.go

    		{`package c1b; var _ = int(0)`, `int(0)`, `int`, `0`},
    		{`package c1c; type T int; var _ = T(0)`, `T(0)`, `c1c.T`, `0`},
    
    		{`package c2a; var _ = rune('A')`, `'A'`, `rune`, `65`},
    		{`package c2b; var _ = rune('A')`, `rune('A')`, `rune`, `65`},
    		{`package c2c; type T rune; var _ = T('A')`, `T('A')`, `c2c.T`, `65`},
    
    		{`package c3a; var _ = float32(0.)`, `0.`, `float32`, `0`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
Back to top