- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 112 for setSize (0.05 sec)
-
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
*/ public final long getEndOfFile() { return this.endOfFile; } /** * {@inheritDoc} * * @see jcifs.internal.SmbBasicFileInfo#getSize() */ @Override public final long getSize() { return getEndOfFile(); } /** * Get the file attributes * @return the fileAttributes */ public final int getFileAttributes() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBasicInfo.java
public long getLastWriteTime() { return this.lastWriteTime; } @Override public long getLastAccessTime() { return this.lastAccessTime; } @Override public long getSize() { return 0L; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
HandleInfo info = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.DURABLE_V2, 120000, null); assertNull(info.getFile()); Object mockFile = new Object(); info.setFile(mockFile); assertEquals(mockFile, info.getFile()); } @Test public void testToString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java
ZipArchiveEntry entry = null; long contentSize = 0; while ((entry = (ZipArchiveEntry) ais.getNextEntry()) != null) { contentSize += entry.getSize(); if (maxContentSize != -1 && contentSize > maxContentSize) { throw new MaxLengthExceededException("Extracted size is " + contentSize + " > " + maxContentSize); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java
TarArchiveEntry entry = null; long contentSize = 0; while ((entry = (TarArchiveEntry) ais.getNextEntry()) != null) { contentSize += entry.getSize(); if (maxContentSize != -1 && contentSize > maxContentSize) { throw new MaxLengthExceededException("Extracted size is " + contentSize + " > " + maxContentSize); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
} @Test @DisplayName("seToIoe maps Interrupted cause to InterruptedIOException") void seToIoeInterruptedMapping() { SmbException se = new SmbException("x", new jcifs.util.transport.TransportException(new InterruptedException("boom"))); IOException ioe = SmbFileInputStream.seToIoe(se); assertTrue(ioe instanceof InterruptedIOException);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
*/ public Object getFile() { return file; } /** * Set the associated file object * @param file the file object */ public void setFile(Object file) { this.file = file; } /** * Update the file ID after successful create response * @param newFileId the new 16-byte file ID */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
if (inheritedFilter != null && !inheritedFilter.include(dependencyArtifact)) { return null; } if (Artifact.SCOPE_SYSTEM.equals(effectiveScope)) { dependencyArtifact.setFile(new File(dependency.getSystemPath())); } dependencyArtifact.setDependencyFilter(createDependencyFilter(dependency, inheritedFilter)); return dependencyArtifact; }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 26 10:49:22 UTC 2025 - 30.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java
// We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal // with multiple local repository implementations yet. artifact.setFile(artifactFile); if (artifactFile.exists()) { artifact.setResolved(true); } return artifact; } @Override
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.7K bytes - Viewed (0)