- Sort Score
- Result 10 results
- Languages All
Results 801 - 810 of 1,848 for LENGTH (0.12 sec)
-
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java
// Field validation // ---------------------------------------------------------------------- /** * Asserts: * <p/> * <ul> * <li><code>string.length != null</code> * <li><code>string.length > 0</code> * </ul> */ private static boolean validateStringNotEmpty( SettingsProblemCollector problems, String fieldName, String string, String sourceHint) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
byte[] buffer = new byte[10]; int len = 10; int result = response.readDataWireFormat(buffer, 0, len); assertEquals(len, result, "readDataWireFormat should return the length when pipeIn is null."); } /** * Tests the readDataWireFormat method when the pipe has a valid input stream. */ @Test void testReadDataWireFormat_withPipeIn() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
String reqPath = "\\\\server\\share\\path"; // Use valid consumed value within string bounds (reqPath.length() = 19) int consumed = Math.min(19, reqPath.length()); data1 = DfsReferralDataImpl.fromReferral(mockReferral, reqPath, System.currentTimeMillis() + 10000, consumed);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
assertThrows(IllegalArgumentException.class, () -> { new DurableHandleReconnect(new byte[8]); // Wrong length }); assertThrows(IllegalArgumentException.class, () -> { new DurableHandleReconnect(new byte[20]); // Wrong length }); } @Test public void testHandleType() { assertEquals(0, HandleType.NONE.getValue());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
void testWriteBytesDoesNotOverflow() { byte[] buffer = new byte[100]; // Fill buffer with known values for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) 0xFF; } int startIndex = 50; echoRequest.writeBytesWireFormat(buffer, startIndex);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
internal/s3select/message.go
func newRecordsMessage(payload []byte) []byte { return genMessage(recordsHeader, payload) } // payloadLenForMsgLen computes the length of the payload in a record // message given the total length of the message. func payloadLenForMsgLen(messageLength int) int { headerLength := len(recordsHeader) payloadLength := messageLength - 4 - 4 - 4 - headerLength - 4 return payloadLength }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 15.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/s3/S3ClientTest.java
fail(); } catch (ChildUrlsException e) { String[] values = e.getChildUrlList().stream().map(d -> d.getUrl()).sorted().toArray(n -> new String[n]); assertEquals(3, values.length); assertEquals("s3://fess/dir1/", values[0]); assertEquals("s3://fess/dir3/", values[1]); assertEquals("s3://fess/file1.txt", values[2]); }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 07:57:44 UTC 2025 - 20.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java
* <li>Crawl-delay directive</li> * <li>Sitemap directive</li> * <li>Comment support (#)</li> * <li>Priority-based matching (longest match wins, Allow beats Disallow at equal length)</li> * </ul> * * <p>References:</p> * <ul> * <li><a href="https://datatracker.ietf.org/doc/html/rfc9309">RFC 9309 - Robots Exclusion Protocol</a></li>
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 12:52:01 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
logger.debug("Create thumbnail task: {}", task); } return task; } /** * Sets the directory name length for thumbnail storage. * @param directoryNameLength The directory name length. */ public void setDirectoryNameLength(final int directoryNameLength) { this.directoryNameLength = directoryNameLength; } /**
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 13.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java
System.arraycopy(this.clientGuid, 0, dst, dstIndex, 16); dstIndex += 16; SMBUtil.writeInt2(this.securityMode, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.dialects.length, dst, dstIndex); dstIndex += 2; for (final int dialect : this.dialects) { SMBUtil.writeInt2(dialect, dst, dstIndex); dstIndex += 2; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0)