Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1331 - 1340 of 1,782 for scratch (0.05 seconds)

  1. android/guava/src/com/google/common/util/concurrent/WrappingExecutorService.java

       */
      protected Runnable wrapTask(Runnable command) {
        Callable<Object> wrapped = wrapTask(callable(command, null));
        return () -> {
          try {
            wrapped.call();
          } catch (Exception e) {
            restoreInterruptIfIsInterruptedException(e);
            throwIfUnchecked(e);
            throw new RuntimeException(e);
          }
        };
      }
    
      /**
       * Wraps a collection of tasks.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

            }
            dstIndex += writeString(path, dst, dstIndex);
            try {
                System.arraycopy(service.getBytes("ASCII"), 0, dst, dstIndex, service.length());
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
            dstIndex += service.length();
            dst[dstIndex] = (byte) '\0';
            dstIndex++;
    
            return dstIndex - start;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            try {
                Field field = SmbComWrite.class.getDeclaredField(fieldName);
                field.setAccessible(true);
                return field.get(obj);
            } catch (Exception e) {
                throw new RuntimeException("Failed to access field " + fieldName, e);
            }
        }
    
        /**
         * Test that the constructor initializes all fields correctly
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DependenciesGraphTask.java

                    getLogger().info("API call response status: " + response.getStatusLine().getStatusCode());
                    getLogger().debug(EntityUtils.toString(response.getEntity()));
                } catch (Exception e) {
                    throw new GradleException("Failed to call API endpoint to submit updated dependency graph", e);
                }
            }
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

        } catch (UnsupportedOperationException expected) {
        }
        try {
          unmod.putAll(singletonMap(4, "four"));
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          unmod.remove(4);
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/joblog/ApiAdminJoblogAction.java

            jobLogService.getJobLog(id).ifPresent(entity -> {
                try {
                    jobLogService.delete(entity);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToDeleteCrudTable(GLOBAL, buildThrowableMessage(e)));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/app/service/CrawlingInfoServiceTest.java

        @Test
        public void test_setupStoreCondition_nullInput() {
            try {
                crawlingInfoService.setupStoreCondition(null);
                fail("Should throw FessSystemException for null input");
            } catch (final FessSystemException e) {
                assertEquals("Crawling Session is null.", e.getMessage());
            }
        }
    
        @Test
        public void test_crawlingInfoPager_initialization() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

      public void testSet_unsupportedByEmptyList() {
        try {
          getList().set(0, e3());
          fail("set() should throw UnsupportedOperationException or IndexOutOfBoundsException");
        } catch (UnsupportedOperationException | IndexOutOfBoundsException expected) {
        }
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @ListFeature.Require(SUPPORTS_SET)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top