- Sort Score
- Result 10 results
- Languages All
Results 871 - 880 of 1,848 for LENGTH (0.18 sec)
-
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
} @Test @DisplayName("length(): delegates to SmbFile.length()") void length_delegates() throws Exception { SmbRandomAccessFile raf = newInstance("r", false, false, false); SmbFile file = (SmbFile) getField(raf, "file"); when(file.length()).thenReturn(42L); assertEquals(42L, raf.length()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
buffer.putInt(512); // Bytes per sector byte[] bufferArray = buffer.array(); // When int bytesConsumed = fileFsFullSizeInfo.decode(bufferArray, 0, bufferArray.length); // Then assertEquals(32, bytesConsumed); assertEquals(1048576L * 8 * 512, fileFsFullSizeInfo.getCapacity()); assertEquals(524288L * 8 * 512, fileFsFullSizeInfo.getFree());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java
return StringUtil.isNotBlank(qName) ? qName : localName; } @Override public void characters(final char[] ch, final int offset, final int length) { if (buf != null) { buf.append(new String(ch, offset, length)); } } @Override public void endElement(final String uri, final String localName, final String qName) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 13:19:40 UTC 2025 - 34.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java
* @param config the SMB configuration * @param pipeName the name of the pipe to call * @param data the data buffer to write to the pipe * @param off the offset in the data buffer * @param len the length of data to write */ public TransCallNamedPipe(final Configuration config, final String pipeName, final byte[] data, final int off, final int len) { super(config, SMB_COM_TRANSACTION, TRANS_CALL_NAMED_PIPE);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java
* * @param config the configuration to use * @param fid the file ID of the named pipe * @param data the data buffer to send * @param off the offset in the data buffer * @param len the length of data to send */ public TransTransactNamedPipe(final Configuration config, final int fid, final byte[] data, final int off, final int len) { super(config, SMB_COM_TRANSACTION, TRANS_TRANSACT_NAMED_PIPE);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
return ".*" + Pattern.quote(p.substring(GsaConfigParser.CONTAINS.length())) + ".*"; } if (p.startsWith(GsaConfigParser.REGEXP)) { return p.substring(GsaConfigParser.REGEXP.length()); } if (p.startsWith(GsaConfigParser.REGEXP_CASE)) { return p.substring(GsaConfigParser.REGEXP_CASE.length()); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 08:30:43 UTC 2025 - 36.6K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
// Given String testString = "Hello"; byte[] buffer = new byte[testString.length()]; // When - Manual string encoding using individual bytes byte[] strBytes = testString.getBytes(); System.arraycopy(strBytes, 0, buffer, 0, strBytes.length); // Then String decoded = new String(buffer); assertEquals(testString, decoded); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java
if (loginReqParams.length() > 0) { httpPost.setEntity(parseRequestParameters(loginReqParams.toString(), responseParams, encoding)); } httpRequest = httpPost; } else { final StringBuilder buf = new StringBuilder(100); buf.append(loginUrl); if (loginReqParams.length() > 0) { if (loginUrl.indexOf('?') >= 0) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.3K bytes - Viewed (1) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java
assertNotNull(data.getResponseBody()); try (InputStream is = data.getResponseBody()) { byte[] buffer = new byte[content.length]; int bytesRead = is.read(buffer); assertEquals(content.length, bytesRead); assertTrue(Arrays.equals(content, buffer)); } catch (IOException e) { fail("IOException should not occur: " + e.getMessage());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
assertNull(directoryLeaseManager.getCachedDirectoryListing(directoryPath)); // Setup mock files when(mockFile1.getName()).thenReturn("file1.txt"); when(mockFile1.length()).thenReturn(1024L); when(mockFile1.lastModified()).thenReturn(1000L); when(mockFile1.isDirectory()).thenReturn(false); when(mockFile1.getAttributes()).thenReturn(0x20);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0)