- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 491 for Split3 (0.05 seconds)
-
src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java
} @Test @DisplayName("Test split returns null when no following message") void testSplitWithNoFollowingMessage() { // Given when(request.split()).thenReturn(null); // When CommonServerMessageBlockRequest result = request.split(); // Then assertNull(result); verify(request, times(1)).split(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
tests/helper_test.go
if !isMysql() { return false } var version string if err := DB.Raw("SELECT VERSION()").Row().Scan(&version); err != nil { return false } base := strings.SplitN(strings.TrimSpace(version), "-", 2)[0] parts := strings.Split(base, ".") if len(parts) < 2 { return false } currentMajor, err := strconv.Atoi(parts[0]) if err != nil { return false }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:27:38 GMT 2026 - 8.6K bytes - Click Count (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...
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 4.6K bytes - Click Count (0) -
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 {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Click Count (0) -
src/bufio/example_test.go
// Set the split function for the scanning operation. scanner.Split(bufio.ScanWords) // Count the words. count := 0 for scanner.Scan() { count++ } if err := scanner.Err(); err != nil { fmt.Fprintln(os.Stderr, "reading input:", err) } fmt.Printf("%d\n", count) // Output: 15 } // Use a Scanner with a custom split function (built by wrapping ScanWords) to validate
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 01 21:52:12 GMT 2024 - 5.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java
assertNotNull(arrayFields); assertEquals(2, arrayFields.length); String[] dateFields = fessConfig.getIndexAdminDateFields().split(","); assertNotNull(dateFields); assertEquals(3, dateFields.length); String[] requiredFields = fessConfig.getIndexAdminRequiredFields().split(","); assertNotNull(requiredFields);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.6K bytes - Click Count (0) -
build-logic-commons/code-quality-rules/src/main/resources/classycle/classycle_report_resources.zip
{ text += "<table border=\"1\" cellpadding=\"5\" cellspacing=\"0\">"; if (headers.length > 0) { text += "<tr>"; headerArray = headers.split(","); for (i = 0; i < headerArray.length; i++) { text += "<th>" + headerArray[i] + "</th>"; } text += "</tr>"; } rows = content.split(";"); for (i = 0; i < rows.length; i++) { if (rows[i].length > 0) { columns = rows[i].split(","); text += "<tr>"; for (j = 0; j < columns.length; j++) { text += "<td" + (number.test(columns[j]) ? " align=\"right\">" : ">") + columns[j]...Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 23.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/IpAddressUtil.java
final String[] parts = ipv6Address.split("::"); final String leftPart = parts.length > 0 && !parts[0].isEmpty() ? parts[0] : ""; final String rightPart = parts.length > 1 && !parts[1].isEmpty() ? parts[1] : ""; final int leftCount = leftPart.isEmpty() ? 0 : leftPart.split(":").length; final int rightCount = rightPart.isEmpty() ? 0 : rightPart.split(":").length;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 08:31:03 GMT 2025 - 9.4K bytes - Click Count (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
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed May 21 18:05:26 GMT 2025 - 14.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
return spliterator.tryAdvance(action); } @Override @Nullable GeneralSpliterator<E> trySplit() { Spliterator<E> split = spliterator.trySplit(); return split == null ? null : new GeneralSpliteratorOfObject<>(split); } } @IgnoreJRERequirement // *should* be redundant with the annotation on SpliteratorTester private static final class GeneralSpliteratorOfPrimitive<
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.5K bytes - Click Count (0)