- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 157 for getAttribute (0.06 sec)
-
src/main/java/org/codelibs/fess/util/PrunedTag.java
final Node attr = node.getAttributes().getNamedItem(attrName); if (attr == null || !attrValue.equals(attr.getNodeValue())) { return false; } } if (id == null) { if (css == null) { return true; } final Node classAttr = node.getAttributes().getNamedItem("class");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
when(mockFile1.length()).thenReturn(1024L); when(mockFile1.lastModified()).thenReturn(1000L); when(mockFile1.isDirectory()).thenReturn(false); when(mockFile1.getAttributes()).thenReturn(0x20); when(mockFile1.createTime()).thenReturn(500L); when(mockFile1.lastAccess()).thenReturn(800L); when(mockFile2.getName()).thenReturn("dir1");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
} @Test void testGetAttributesDefault() { // Test default attributes value response = new SmbComQueryInformationResponse(mockConfig, 0L); assertEquals(0x0000, response.getAttributes()); } @Test void testGetSizeDefault() { // Test default file size value response = new SmbComQueryInformationResponse(mockConfig, 0L); assertEquals(0, response.getSize());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
fileBothDirectoryInfo.decode(buffer, 0, buffer.length); // Verify assertEquals(expectedFilename, fileBothDirectoryInfo.getFilename()); } @Test @DisplayName("Test getAttributes returns correct attributes") void testGetAttributes() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = createValidBuffer("file.txt", "FILE~1.TXT", true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileTest.java
// Arrange when(mockTreeHandle.isSMB2()).thenReturn(false); SmbComQueryInformationResponse response = mock(SmbComQueryInformationResponse.class); when(response.getAttributes()).thenReturn(SmbConstants.ATTR_NORMAL); when(mockTreeHandle.send(any(), any(SmbComQueryInformationResponse.class))).thenReturn(response); // Act & Assert assertTrue(smbFile.exists());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
java.lang.reflect.Field size = SmbComQueryInformationResponse.class.getDeclaredField("fileSize"); size.setAccessible(true); size.setInt(resp, 2048); assertEquals(0xABCD, resp.getAttributes()); assertEquals(1630000001000L, resp.getCreateTime()); assertEquals(1630000001000L, resp.getLastWriteTime()); assertEquals(2048, resp.getSize());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java
*/ @Override protected SmbResource adapt(final FileEntry e) throws MalformedURLException { return new SmbFile(getParent(), e.getName(), true, SmbConstants.TYPE_FILESYSTEM, e.getAttributes(), e.createTime(), e.lastModified(), e.lastAccess(), e.length()); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java
*/ public int getFileAttributes() { return this.fileAttributes; } /** * {@inheritDoc} * * @see jcifs.internal.SmbBasicFileInfo#getAttributes() */ @Override public int getAttributes() { return getFileAttributes(); } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacSidAttributes.java
*/ public SID getId() { return this.id; } /** * Gets the attribute flags associated with the SID. * * @return the attribute flags */ public int getAttributes() { return this.attributes; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
assertEquals(BasicFileInformation.FILE_STANDARD_INFO, fileStandardInfo.getFileInformationLevel()); } @Test @DisplayName("Test getAttributes returns 0") void testGetAttributes() { assertEquals(0, fileStandardInfo.getAttributes()); } @Test @DisplayName("Test getCreateTime returns 0") void testGetCreateTime() { assertEquals(0L, fileStandardInfo.getCreateTime());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0)