- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 110 for setPath (0.11 sec)
-
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
assertNotNull(key); LeaseEntry entry = leaseManager.getLease(key); assertNotNull(entry); assertEquals(requestedState, entry.getLeaseState()); assertEquals(path, entry.getPath()); assertEquals(1, entry.getEpoch()); assertFalse(entry.isBreaking()); } @Test @DisplayName("Should reuse existing lease for same path") void testReuseExistingLease() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java
* * @param data the data buffer to write * @param offset the offset in the data buffer * @param length the number of bytes to write */ public void setData(final byte[] data, final int offset, final int length) { this.data = data; this.dataOffset = offset; this.dataLength = length; } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java
SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, directoryName); assertEquals(ServerMessageBlock.SMB_COM_CREATE_DIRECTORY, smbCom.getCommand()); assertEquals(directoryName, smbCom.getPath()); } @Test void testWriteParameterWordsWireFormat() { // This method is empty, so it should return 0 SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, "testDir");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java
try { resultData.setData(data.getBytes(charsetName)); } catch (final UnsupportedEncodingException e) { if (logger.isInfoEnabled()) { logger.info("Invalid charsetName: " + charsetName + ". Changed to " + Constants.UTF_8, e); } charsetName = Constants.UTF_8_CHARSET.name(); resultData.setData(data.getBytes(Constants.UTF_8_CHARSET)); }Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 13.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java
assert myResource != null : "The resource is this class itself loaded by its own classloader and must exist"; String myClasspathEntry = myResource.getPath(); myClasspathEntry = myClasspathEntry.substring(0, myClasspathEntry.length() - (myResourcePath.length() + 2)); if (myClasspathEntry.startsWith("file:")) {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
File file = new File(dir, filename); file.getParentFile().mkdirs(); FileUtils.fileWrite(file.getPath(), encoding, contents); markForDeletion(file); return file; } public String getFileContents(File file, String encoding) throws IOException {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java
+ new File(System.getProperty("basedir", "."), "src/test/remote-repo") .getAbsoluteFile() .toURI() .getPath(), new DefaultRepositoryLayout(), new ArtifactRepositoryPolicy(), new ArtifactRepositoryPolicy()); } @Override
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jan 10 08:42:00 UTC 2025 - 12K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java
* * @return an optional containing the path to the project, or empty if not specified */ @Nonnull Optional<Path> getPath(); /** * Gets the source of the project to build. * This is an alternative to specifying a path, allowing the project to be built from * a model source such as a string or input stream. *Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
*/ public void updateAccessTime() { this.lastAccessTime = System.currentTimeMillis(); } /** * Get the file path * @return the path */ public String getPath() { return path; } /** * Get the create GUID * @return the create GUID */ public HandleGuid getCreateGuid() { return createGuid; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java
final ResultData resultData = new ResultData(); resultData.setTransformerName(getName()); try (BufferedInputStream bis = new BufferedInputStream(responseData.getResponseBody())) { resultData.setData(IOUtils.toByteArray(bis)); resultData.setEncoding(responseData.getCharSet()); return resultData; } catch (final IOException e) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.8K bytes - Viewed (0)