- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 447 for Selection (0.1 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
// When smbComRename = new SmbComRename(config, oldFileName, newFileName); // Then assertEquals(ServerMessageBlock.SMB_COM_RENAME, smbComRename.getCommand()); // Use reflection to verify private fields Field oldFileNameField = SmbComRename.class.getDeclaredField("oldFileName"); oldFileNameField.setAccessible(true); assertEquals(oldFileName, oldFileNameField.get(smbComRename));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
// Restore system properties and clean up static state System.setProperties(originalSystemProperties); resetHandlerState(); } /** * Resets the static state of the Handler class using reflection. * This is crucial for ensuring that tests are isolated from each other. */ private void resetHandlerState() throws Exception { // Reset the static factory field
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
buffer.putShort((short) 0); // AceCount buffer.putShort((short) 0); // Padding return buffer.array(); } /** * Helper method to set error code using reflection */ private void setErrorCode(NtTransQuerySecurityDescResponse response, int errorCode) throws Exception { // Navigate through the inheritance hierarchy to find the errorCode field
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java
} /** * Delete a stopwords entry. * * @param form the edit form containing the entry ID to delete * @return HTML response redirecting to the list page after successful deletion */ @Execute @Secured({ ROLE }) public HtmlResponse delete(final EditForm form) { verifyCrudMode(form.crudMode, CrudMode.DETAILS, form.dictId);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 20.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
assertTrue(true); } // Test FilePurgeVisitor postVisitDirectory public void test_FilePurgeVisitor_postVisitDirectory() throws IOException { // Test empty directory deletion logic File emptyDir = new File(tempDir, "empty"); emptyDir.mkdirs(); assertTrue(emptyDir.exists()); // Simulate the behavior of postVisitDirectory - delete empty directories
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtStatus.java
int NT_STATUS_OBJECT_PATH_SYNTAX_BAD = 0xC000003b; /** The process cannot access the file because it is being used by another process */ int NT_STATUS_SHARING_VIOLATION = 0xC0000043; /** The file is pending deletion */ int NT_STATUS_DELETE_PENDING = 0xC0000056; /** There are currently no logon servers available to service the logon request */ int NT_STATUS_NO_LOGON_SERVERS = 0xC000005e;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 14.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
when { this.isEmpty() -> emptyList() this.size == 1 -> Collections.singletonList(this[0]) // Collection.toArray returns Object[] (covariant). // It is faster than creating real T[] via reflection (Arrays.copyOf). else -> (this as java.util.Collection<*>).toArray().asList().unmodifiable() as List<T> } /** Returns an immutable list containing [elements]. */ @SafeVarargs
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
/* * The kerberos session key is not accessible via the JGSS API. IBM and * Oracle both implement a similar API to make an ExtendedGSSContext * available. That API is accessed via reflection to make this independent * of the runtime JRE */ if (EXT_GSS_CONTEXT_CLASS == null || INQUIRE_SEC_CONTEXT == null || INQUIRE_TYPE_SESSION_KEY == null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
assertInstanceOf(SmbShareInfo.class, entries[1]); assertEquals("normal_share", entries[1].getName()); assertEquals(8, entries[1].getType()); } // Helper method to set DfsEnumArray using reflection private void setDfsEnumArray(MsrpcDfsRootEnum target, netdfs.DfsEnumArray200 array) throws Exception { Field eField = netdfs.DfsEnumStruct.class.getDeclaredField("e"); eField.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java
} /** * Deletes a synonym dictionary item by ID. * * @param dictId the dictionary ID * @param id the ID of the synonym item to delete * @return JSON response indicating the deletion status */ // DELETE /api/admin/dict/synonym/setting/{dictId}/{id} @Execute public JsonResponse<ApiResult> delete$setting(final String dictId, final long id) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.3K bytes - Viewed (0)