- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 1,922 for LENGTH (0.05 seconds)
-
src/main/java/jcifs/pac/ASN1Util.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.2K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameTest.java
assertEquals(4, dst[0]); // Should end with 0x00 assertEquals(0x00, dst[length - 1]); // Length should be scope length + 2 assertEquals(name.scope.length() + 2, length); } @Test void readScopeWireFormat_withNullScope_shouldReturnOne() { byte[] src = new byte[10]; src[0] = 0x00;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Ints.java
checkNotNull(array); checkPositionIndexes(fromIndex, toIndex, array.length); if (array.length <= 1) { return; } int length = toIndex - fromIndex; // Obtain m = (-distance mod length), a non-negative value less than "length". This is how many // places left to rotate. int m = -distance % length; m = (m < 0) ? m + length : m;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 31.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
byte[] smallBuffer = createValidNotificationBuffer(fileName, action); byte[] buffer = new byte[smallBuffer.length + offset + 50]; System.arraycopy(smallBuffer, 0, buffer, offset, smallBuffer.length); int bytesRead = notifyInfo.decode(buffer, offset, smallBuffer.length); assertTrue(bytesRead > 0); assertEquals(action, notifyInfo.getAction());Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
byte[] data = { 0x01, 0x02, 0x03, 0x04 }; ndrBuffer.writeOctetArray(data, 0, data.length); assertEquals(data.length, ndrBuffer.getIndex()); assertEquals(data.length, ndrBuffer.getLength()); assertArrayEquals(data, Arrays.copyOfRange(buffer, 0, data.length)); // Write with offset and length ndrBuffer.setIndex(10); byte[] partialData = { 0x05, 0x06, 0x07, 0x08, 0x09 };
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java
} maxLengthMap.put(mimeType, maxLength); } /** * Gets the maximum content length for a specific MIME type. * If no specific length is set for the MIME type, returns the default maximum length. * @param mimeType The MIME type to get the maximum length for * @return The maximum content length in bytes */ public long getMaxLength(final String mimeType) { if (StringUtil.isBlank(mimeType)) {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 3.3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java
* The priority length is the number of characters before any wildcard. * * @param pattern the path pattern * @return the priority length */ private static int calculatePriorityLength(final String pattern) { // For priority, we count the pattern length, treating * as having length 0 // and $ as having length 1 int length = 0;Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 18.5K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
* Tests the {@link PacUnicodeString#check(String)} method with a string of incorrect length. */ @Test void testCheck_withInvalidLength_throwsException() { // Length is 10 bytes, so expected string length is 5 characters PacUnicodeString pacString = new PacUnicodeString((short) 10, (short) 20, 100); String testString = "too-long"; // Length is 8 // Expect a PACDecodingException to be thrownCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java
private int length; // 4 bytes: Length of buffer /** * Create SMB2 RDMA Transform * * @param offset offset within registered buffer * @param token RDMA provider token (steering tag/memory handle) * @param length length of buffer */ public Smb2RdmaTransform(long offset, int token, int length) { this.offset = offset; this.token = token;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 3K bytes - Click Count (0) -
internal/auth/credentials.go
// If length <= 0, the access key length is chosen automatically. // // GenerateAccessKey returns an error if length is too small for a valid // access key. func GenerateAccessKey(length int, random io.Reader) (string, error) { if random == nil { random = rand.Reader } if length <= 0 { length = accessKeyMaxLen } if length < accessKeyMinLen {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.8K bytes - Click Count (0)