Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 413 for existing (0.03 sec)

  1. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

     * operations at random. Each thread keeps track of the per-key deltas that it's directly
     * responsible for; after all threads have completed, we sum the per-key deltas and compare to the
     * existing multiset values.
     *
     * @author mike nonemacher
     */
    
    @NullUnmarked
    public class ConcurrentHashMultisetBasherTest extends TestCase {
    
      public void testAddAndRemove_concurrentHashMap() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

    import java.util.concurrent.TimeoutException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An {@link ExecutorService} that returns {@link ListenableFuture} instances. To create an instance
     * from an existing {@link ExecutorService}, call {@link
     * MoreExecutors#listeningDecorator(ExecutorService)}.
     *
     * @author Chris Povirk
     * @since 10.0
     */
    @DoNotMock(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

    import jcifs.smb1.util.Hexdump;
    
    class SmbComNTCreateAndX extends AndXServerMessageBlock {
    
        // share access specified in SmbFile
    
        // create disposition
    
        /* Creates a new file or supersedes the existing one
         */
    
        static final int FILE_SUPERSEDE = 0x0;
    
        /* Open the file or fail if it does not exist
         * aka OPEN_EXISTING
         */
    
        static final int FILE_OPEN = 0x1;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/pathmap/ApiAdminPathmapAction.java

            }
            return asJson(new ApiResult.ApiUpdateResponse().id(entity.getId()).created(true).status(ApiResult.Status.OK).result());
        }
    
        // PUT /api/admin/pathmap/setting
        /**
         * Updates an existing path mapping setting.
         *
         * @param body path mapping setting data to update
         * @return JSON response with updated setting ID and status
         */
        @Execute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/relatedcontent/ApiAdminRelatedcontentAction.java

            });
    
            return asJson(new ApiUpdateResponse().id(relatedContent.getId()).created(true).status(Status.OK).result());
        }
    
        // PUT /api/admin/relatedcontent/setting
        /**
         * Updates an existing related content setting.
         *
         * @param body related content setting data to update
         * @return JSON response with updated setting ID and status
         */
        @Execute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/context/SingletonContextTest.java

            assertNotNull(getSingletonInstanceViaReflection()); // Should be initialized now
        }
    
        @Test
        void testGetInstanceReturnsExistingInstance() throws CIFSException {
            // Test getInstance returns the existing instance
            SingletonContext.init(null);
            CIFSContext firstInstance = SingletonContext.getInstance();
            CIFSContext secondInstance = SingletonContext.getInstance();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

            String asString = dataStoreParams.getAsString("complexKey");
            assertNotNull(asString);
            assertTrue(asString.contains("nested"));
        }
    
        // Test overwriting existing values
        public void test_overwriteValues() {
            dataStoreParams.put("key1", "originalValue");
            assertEquals("originalValue", dataStoreParams.get("key1"));
    
            dataStoreParams.put("key1", "newValue");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

                throwValidationError(messages -> messages.addErrorsCrudFailedToCreateInstance(GLOBAL), this::asEditHtml);
            });
            return redirect(getClass());
        }
    
        /**
         * Updates an existing key match.
         *
         * @param form the edit form
         * @return HTML response after update
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse update(final EditForm form) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            assertEquals(0b0001, message.getFlags(), "Flag 0b0001 should be set.");
    
            message.setFlag(0b0100, true);
            assertEquals(0b0101, message.getFlags(), "Flag 0b0100 should be added to existing flags.");
    
            // Test clearing a flag
            message.setFlag(0b0001, false);
            assertEquals(0b0100, message.getFlags(), "Flag 0b0001 should be cleared.");
    
            message.setFlag(0b0100, false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

            }
        }
    
        // Test getScriptEngine with non-existent name
        public void test_getScriptEngine_nonExistentName() {
            try {
                scriptEngineFactory.getScriptEngine("nonexistent");
                fail("Should throw ScriptEngineException for non-existent engine");
            } catch (ScriptEngineException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top