- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 412 for Split (0.03 sec)
-
src/bufio/scan_test.go
// This splitter will fail on last entry, after s.err==EOF. split := func(data []byte, atEOF bool) (advance int, token []byte, err error) { advance, token, err = ScanWords(data, atEOF) if len(token) > 1 { if s.ErrOrEOF() != io.EOF { t.Fatal("not testing EOF") } err = testError } return } s.Split(split) for s.Scan() { } if s.Err() != testError {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java
public void test_beginDone() { String key = "test"; crawlerStatsHelper.begin(key); crawlerStatsHelper.done(key); logger.info(localLogMsg.get()); String[] values = localLogMsg.get().split("\t"); assertEquals(3, values.length); assertEquals("url:test", values[0]); assertTrue(values[1].startsWith("time:")); assertTrue(values[2].startsWith("done:"));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6K 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: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Mar 15 08:28:50 UTC 2024 - 5.5K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/strings/61901.md
all substrings of s separated by sep. - [SplitAfterSeq] returns an iterator over substrings of s split after each instance of sep. - [FieldsSeq] returns an iterator over substrings of s split around runs of whitespace characters, as defined by unicode.IsSpace. - [FieldsFuncSeq] returns an iterator
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:23:13 UTC 2024 - 580 bytes - Viewed (0) -
src/bufio/scan.go
s.maxTokenSize = max } // Split sets the split function for the [Scanner]. // The default split function is [ScanLines]. // // Split panics if it is called after scanning has started. func (s *Scanner) Split(split SplitFunc) { if s.scanCalled { panic("Split called after Scan") } s.split = split } // Split functions
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 23 09:06:30 UTC 2023 - 14.2K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint_test.go
gateways []*gateway.Gateway expectedOutFile string }{ { name: "no gateways", args: strings.Split("list", " "), gateways: []*gateway.Gateway{}, expectedOutFile: "no-gateway", }, { name: "default namespace gateway", args: strings.Split("list", " "), gateways: []*gateway.Gateway{ makeGateway(constants.DefaultNamespaceWaypoint, "default", true, true),
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Apr 04 15:53:09 UTC 2024 - 4.4K bytes - Viewed (0) -
cmd/signature-v4-parser.go
signedHdrFields := strings.Split(strings.TrimSpace(signedHdrElement), "=") if len(signedHdrFields) != 2 { return nil, ErrMissingFields } if signedHdrFields[0] != "SignedHeaders" { return nil, ErrMissingSignHeadersTag } if signedHdrFields[1] == "" { return nil, ErrMissingFields } signedHeaders := strings.Split(signedHdrFields[1], ";") return signedHeaders, ErrNone }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
} fessConfig = ComponentUtil.getFessConfig(); split(fessConfig.getSuggestFieldContents(), ",") .of(stream -> stream.filter(StringUtil::isNotBlank).forEach(contentFieldNameSet::add)); split(fessConfig.getSuggestFieldTags(), ",").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(tagFieldNameSet::add));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/JvmUtil.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/file.js
=a.substr(a.length-1,1)?parseInt(a.substr(0,a.length-1),10):parseInt(a,10)},a.formUtils.checkImageDimension=function(a,b,c){var d=!1,e={width:0,height:0},f=function(a){a=a.replace("min","").replace("max","");var b=a.split("x");e.width=b[0],e.height=b[1]?b[1]:b[0]},g=!1,h=!1,i=b.split("-");return 1===i.length?0===i[0].indexOf("min")?g=i[0]:h=i[0]:(g=i[0],h=i[1]),g&&(f(g),(a.width<e.width||a.height<e.height)&&(d=c.imageTooSmall+" ("+c.min+" "+e.width+"x"+e.height+"px)")),!d&&h&&(f(h),(a.width>e.wi...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 4.6K bytes - Viewed (0)