- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for sep (0.01 sec)
-
src/bytes/iter.go
// SplitAfterSeq returns an iterator over subslices of s split after each instance of sep. // The iterator yields the same subslices that would be returned by [SplitAfter](s, sep), // but without constructing a new slice containing the subslices. // It returns a single-use iterator. func SplitAfterSeq(s, sep []byte) iter.Seq[[]byte] { return splitSeq(s, sep, len(sep)) } // FieldsSeq returns an iterator over subslices of s split around runs of
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 3.6K bytes - Viewed (0) -
src/bytes/iter_test.go
} } } func BenchmarkSplitSeqSingleByteSeparator(b *testing.B) { sep := []byte("/") for range b.N { for range SplitSeq(benchInputHard, sep) { } } } func BenchmarkSplitSeqMultiByteSeparator(b *testing.B) { sep := []byte("hello") for range b.N { for range SplitSeq(benchInputHard, sep) { } } } func BenchmarkSplitAfterSeqEmptySeparator(b *testing.B) { for range b.N {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue May 06 02:08:23 UTC 2025 - 1.1K bytes - Viewed (0) -
schema/utils.go
var embeddedCacheKey = "embedded_cache_store" func ParseTagSetting(str string, sep string) map[string]string { settings := map[string]string{} names := strings.Split(str, sep) for i := 0; i < len(names); i++ { j := i if len(names[j]) > 0 { for { if names[j][len(names[j])-1] == '\\' { i++ names[j] = names[j][0:len(names[j])-1] + sep + names[i] names[i] = "" } else { break } }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Feb 13 06:16:26 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
} /** * @throws Exception */ @Test public void testToDate_SpecificLocale() throws Exception { final Date date = toDate("SEP 7, 2010", Locale.US); assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07")); } /** * @throws Exception */ @Test
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 9.4K bytes - Viewed (0)