Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1951 - 1960 of 3,637 for throwIf (0.07 seconds)

  1. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                encodeCallCount++;
                if (throwOnEncode) {
                    throw new RuntimeException("Test encode error");
                }
                if (dst == null) {
                    throw new IllegalArgumentException("Destination buffer cannot be null");
                }
                if (dstIndex < 0) {
                    throw new IllegalArgumentException("Destination index cannot be negative");
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ReleaseNotesIndexGenerator.java

            try (FileWriter indexFileWriter = new FileWriter(indexFile)) {
                indexFileWriter.write(generateFile(versions, Files.readString(indexTemplate.toPath())));
            }
        }
    
        @VisibleForTesting
        static String generateFile(Set<QualifiedVersion> versionsSet, String template) throws IOException {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java

                throws TransferFailedException {
            addTransfer("getTransfer " + resource.getName());
            super.getTransfer(resource, destination, input, closeInput, maxSize);
        }
    
        @Override
        public void get(String resourceName, File destination)
                throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java

         * Test concurrent registration of searchers from multiple threads.
         * Verifies that CopyOnWriteArrayList handles concurrent modifications safely.
         */
        @Test
        public void test_concurrentSearcherRegistration() throws Exception {
            final int numThreads = 10;
            final int searchersPerThread = 5;
            final CountDownLatch startLatch = new CountDownLatch(1);
            final CountDownLatch endLatch = new CountDownLatch(numThreads);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/score/ScoreBoosterTest.java

    import org.junit.jupiter.api.TestInfo;
    
    public class ScoreBoosterTest extends UnitFessTestCase {
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            super.tearDown(testInfo);
        }
    
        // Basic test to verify test framework is working
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/opensearch/query/StoredLtrQueryBuilderTest.java

    public class StoredLtrQueryBuilderTest extends UnitFessTestCase {
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            super.tearDown(testInfo);
        }
    
        // Basic test to verify test framework is working
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/FessLastaDocTest.java

        //                                                                           =========
        /*
        @Test
        public void test_component() throws Exception {
            // ## Arrange ##
            String appWebPkg = ".app.web.";
            String actionSuffix = "Action";
    
            // ## Act ##
            policeStoryOfJavaClassChase((srcFile, clazz) -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionListener.java

     * @since 3.1.2
     */
    public interface MojoExecutionListener {
        void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException;
    
        void afterMojoExecutionSuccess(MojoExecutionEvent event) throws MojoExecutionException;
    
        void afterExecutionFailure(MojoExecutionEvent event);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/math/Stats.java

       * Double#NEGATIVE_INFINITY} only, the result is {@link Double#NEGATIVE_INFINITY}.
       *
       * <p>If you only want to calculate the mean, use {@link #meanOf} instead of creating a {@link
       * Stats} instance.
       *
       * @throws IllegalStateException if the dataset is empty
       */
      public double mean() {
        checkState(count != 0);
        return mean;
      }
    
      /**
       * Returns the sum of the values.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 25.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/io/CopyUtil.java

     * </p>
     * <p>
     * Any {@link IOException} thrown by these methods is wrapped and thrown as an {@link IORuntimeException}.
     * </p>
     *
     * @author koichik
     */
    public abstract class CopyUtil {
    
        /**
         * Do not instantiate.
         */
        protected CopyUtil() {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 45.2K bytes
    - Click Count (0)
Back to Top