- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 2,195 for SplitV (0.1 sec)
-
src/cmd/compile/internal/types2/typeterm_test.go
} func TestTermString(t *testing.T) { for want, x := range testTerms { if got := x.String(); got != want { t.Errorf("%v.String() == %v; want %v", x, got, want) } } } func split(s string, n int) []string { r := strings.Split(s, " ") if len(r) != n { panic("invalid test case: " + s) } return r } func testTerm(name string) *term { r, ok := testTerms[name] if !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 20 23:30:58 UTC 2021 - 5.1K bytes - Viewed (0) -
src/go/types/typeterm_test.go
} func TestTermString(t *testing.T) { for want, x := range testTerms { if got := x.String(); got != want { t.Errorf("%v.String() == %v; want %v", x, got, want) } } } func split(s string, n int) []string { r := strings.Split(s, " ") if len(r) != n { panic("invalid test case: " + s) } return r } func testTerm(name string) *term { r, ok := testTerms[name] if !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java
final StringBuilder buf = new StringBuilder(100); char split = 0; for (final String path : includedPaths.split("\n")) { if (split == 0) { split = '|'; } else { buf.append(split); } final String normalizePath = systemHelper.normalizeConfigPath(path);
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 11.7K bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/groovyapplication/multi/utilities/StringUtils.groovy.template
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 306 bytes - Viewed (0) -
src/cmd/go/testdata/mod/example.com_split-incompatible_v2.1.0-pre+incompatible.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 17 13:54:10 UTC 2021 - 347 bytes - Viewed (0) -
src/cmd/go/testdata/mod/example.com_split_v1.1.0.txt
Written by hand. Test case for getting a package that has been moved to a different module. -- .mod -- module example.com/split require example.com/split/subpkg v1.1.0 -- .info --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 09 21:00:53 UTC 2018 - 204 bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/configuration/DefaultImportsReader.java
boolean process = !StringUtils.isEmpty(line); if (process) { String[] split = line.split(":"); if (split.length == 2) { String simpleName = split[0]; List<String> fqcns = Splitter.on(';').omitEmptyStrings().splitToList(split[1]); builder.put(simpleName, fqcns); } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 4.2K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus_test.go
args: strings.Split("deployment/random-gibberish", " "), wantException: true, }, { // case 3: supplying nonexistent deployment name args: strings.Split("deployment/random-gibberish.default", " "), wantException: true, }, { // case 4: supplying nonexistent deployment name in nonexistent namespace args: strings.Split("deployment/random-gibberish.bogus", " "),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 08:28:50 UTC 2024 - 5.5K bytes - Viewed (0) -
src/regexp/example_test.go
func ExampleRegexp_Split() { a := regexp.MustCompile(`a`) fmt.Println(a.Split("banana", -1)) fmt.Println(a.Split("banana", 0)) fmt.Println(a.Split("banana", 1)) fmt.Println(a.Split("banana", 2)) zp := regexp.MustCompile(`z+`) fmt.Println(zp.Split("pizza", -1)) fmt.Println(zp.Split("pizza", 0)) fmt.Println(zp.Split("pizza", 1)) fmt.Println(zp.Split("pizza", 2)) // Output: // [b n n ] // [] // [banana]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 00:22:53 UTC 2023 - 11.1K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/date.js
e.getTime())/864e5),i=g+h/(c(f.getFullYear())?366:365),j=((i+"").split(".")[1]||"").substr(0,3);return i>=0?Math.floor(i)+(j>=915?1:0):(j*=10,Math.floor(i)+(j<=840?1:0))}function c(a){var b=new Date(a,1,28);return b.setDate(b.getDate()+1),1===b.getMonth()}a.formUtils.registerLoadedModule("date"),a.formUtils.addValidator({name:"time",validatorFunction:function(a){if(null===a.match(/^(\d{2}):(\d{2})$/))return!1;var b=parseInt(a.split(":")[0],10),c=parseInt(a.split(":")[1],10);return!(b>23||c>59)},...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 1.6K bytes - Viewed (0)