- Sort Score
- Num 10 results
- Language All
Results 611 - 620 of 2,280 for Length (0.05 seconds)
-
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
} @Test @DisplayName("Test length always returns 0") void testLength() { // Default instance assertEquals(0L, shareInfo.length()); // Instance with values - length is still 0 SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK); assertEquals(0L, info.length()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
if (contentLength > Int.MAX_VALUE) { throw IOException("Cannot buffer entire body for content length: $contentLength") } val bytes = source().use(consumer) val size = sizeMapper(bytes) if (contentLength != -1L && contentLength != size.toLong()) { throw IOException("Content-Length ($contentLength) and stream length ($size) disagree") } return bytes } /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 11.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java
} bufferIndex = Math.max(inputOffset + inputCount, bufferIndex); if (this.outputBuffer != null) { if (outputCount > this.outputBuffer.length) { throw new SMBProtocolDecodingException("Output length exceeds buffer size"); } System.arraycopy(buffer, outputOffset, this.outputBuffer, 0, outputCount); } else if (this.outputData != null) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/FileEntry.java
* * @return the last modified time in milliseconds since epoch */ long lastModified(); /** * Gets the file size. * * @return the file size in bytes */ long length();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 881 bytes - Click Count (0) -
src/test/java/jcifs/ResolverTypeTest.java
/** * Tests the total number of enum constants. */ @Test void testNumberOfEnumConstants() { // Ensure there are exactly 4 resolver types assertEquals(4, ResolverType.values().length, "There should be exactly 4 resolver types."); } /** * Tests the names of the enum constants. */ @Test void testEnumNames() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.1K bytes - Click Count (0) -
build-logic-commons/code-quality-rules/src/main/resources/classycle/classycle_report_resources.zip
showTable(title, headers, content) { text = "<h3>" + title + "</h3><p>"; if (content.length > 0) { 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;...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) -
benchmarks/src/main/java/org/elasticsearch/common/RoundingBenchmark.java
min = FORMATTER.parseMillis(r[0]); max = FORMATTER.parseMillis(r[1]); dates = new long[count]; long date = min; long diff = (max - min) / dates.length; for (int i = 0; i < dates.length; i++) { if (date >= max) { throw new IllegalStateException("made a bad date [" + date + "]"); } dates[i] = date; date += diff;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 08 16:53:28 GMT 2021 - 4.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/IpAddressUtil.java
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; final int zerosCount = 8 - leftCount - rightCount;
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/test/java/org/codelibs/fess/helper/ActivityHelperTest.java
StringBuilder sb = new StringBuilder(); for (int i = 0; i < 120; i++) { sb.append("a"); } String longScript = sb.toString(); String result = activityHelper.normalizeScript(longScript); // Should be truncated to 100 characters (97 + "...") assertEquals(100, result.length());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 11:45:43 GMT 2026 - 24.3K bytes - Click Count (0)