- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for subslice (0.07 sec)
-
src/bytes/bytes.go
// SplitAfterN slices s into subslices after each instance of sep and // returns a slice of those subslices. // If sep is empty, SplitAfterN splits after each UTF-8 sequence. // The count determines the number of subslices to return: // - n > 0: at most n subslices; the last subslice will be the unsplit remainder; // - n == 0: the result is nil (zero subslices); // - n < 0: all subslices.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 35.5K bytes - Viewed (0) -
src/bytes/bytes_test.go
} var containsTests = []struct { b, subslice []byte want bool }{ {[]byte("hello"), []byte("hel"), true}, {[]byte("日本語"), []byte("日本"), true}, {[]byte("hello"), []byte("Hello, world"), false}, {[]byte("東京"), []byte("京東"), false}, } func TestContains(t *testing.T) { for _, tt := range containsTests { if got := Contains(tt.b, tt.subslice); got != tt.want {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 28 18:13:58 UTC 2025 - 62.9K bytes - Viewed (0) -
src/bytes/iter.go
} // SplitSeq returns an iterator over all subslices of s separated by sep. // The iterator yields the same subslices that would be returned by [Split](s, sep), // but without constructing a new slice containing the subslices. // It returns a single-use iterator. func SplitSeq(s, sep []byte) iter.Seq[[]byte] { return splitSeq(s, sep, 0) } // SplitAfterSeq returns an iterator over subslices of s split after each instance of sep.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 3.6K bytes - Viewed (0) -
.gitignore
**/*.swp cover.out *~ minio !*/ site/ **/*.test **/*.sublime-workspace /.idea/ /Minio.iml **/access.log vendor/ .DS_Store *.syso coverage.txt .vscode/ *.tar.bz2 parts/ prime/ stage/ .sia_temp/ config.json node_modules/ mc.* s3-check-md5* xl-meta* healing-* inspect*.zip 200M* hash-set minio.RELEASE* mc nancy inspects/* .bin/ *.gz
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon May 27 19:17:46 UTC 2024 - 802 bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java
return result; } @Override public TestSuite createTestSuite() { withFeatures(KNOWN_ORDER); TestSuite suite = super.createTestSuite(); for (TestSuite subSuite : createDerivedSuites(this)) { suite.addTest(subSuite); } return suite; } @SuppressWarnings("rawtypes") // class literals @Override protected List<Class<? extends AbstractTester>> getTesters() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 11.9K bytes - Viewed (0) -
RELEASE.md
* Allow subslicing Tensors with a single dimension. * Add option to calculate string length in Unicode characters. * Add functionality to SubSlice a tensor. * Add searchsorted (ie lower/upper_bound) op. * Add model explainability to Boosted Trees. * Support negative positions for tf.substr.
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Aug 18 20:54:38 UTC 2025 - 740K bytes - Viewed (1)