Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 1,435 for scratch (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/util/concurrent/ListeningExecutorServiceTest.java

          recordedTasks = tasks;
          recordedTimeout = timeout;
          recordedTimeUnit = unit;
          try {
            return tasks.iterator().next().call();
          } catch (Exception e) {
            throw new ExecutionException(e);
          }
        }
    
        @Override
        public <T> List<Future<T>> invokeAll(
            Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/context/CIFSContextWrapper.java

         *
         * @see jcifs.CIFSContext#get(java.lang.String)
         */
        @Override
        public SmbResource get(final String url) throws CIFSException {
            try {
                return new SmbFile(url, this);
            } catch (final MalformedURLException e) {
                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
        /**
         *
         * {@inheritDoc}
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java

                                    try {
                                        Files.deleteIfExists(path);
                                    } catch (Exception e) {
                                        // Ignore cleanup errors
                                    }
                                });
                    } catch (Exception e) {
                        // Ignore cleanup errors
                    }
                }
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 10:39:17 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

      }
    
      private void assertSetCountNegativeOldCount() {
        try {
          getMultiset().setCount(e3(), -1, 1);
          fail("calling setCount() with a negative oldCount should throw IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
      }
    
      // Negative oldCount.
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testSetCountConditional_negativeOldCount_addSupported() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/reflect/ClassPath.java

          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            logger.log(WARNING, "malformed classpath entry: " + entry, e);
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

                try {
                    keyMatchService.store(entity);
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
                    ComponentUtil.getKeyMatchHelper().update();
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationError(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)),
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

                // The job should handle the exception internally but since QueryBuilders.rangeQuery
                // throws immediately with empty field name, we need to catch it here
                fail("Expected an exception for empty field name");
            } catch (IllegalArgumentException e) {
                // Expected exception for empty field name
                assertTrue(e.getMessage().contains("field name is null or empty"));
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

                try {
                  Object returnValue = method.invoke(delegate, args);
                  mutateDelegate();
                  return returnValue;
                } catch (InvocationTargetException e) {
                  throw e.getCause();
                } catch (IllegalAccessException e) {
                  throw new AssertionError(e);
                }
              }
    
              private void mutateDelegate() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/netbios/Lmhosts.java

                        try (FileReader r = new FileReader(f)) {
                            populate(r, tc);
                        }
                    }
                    result = this.table.get(name);
                }
            } catch (final IOException fnfe) {
                log.error("Could not read lmhosts " + tc.getConfig().getLmHostsFileName(), fnfe); //$NON-NLS-1$
            }
            return result;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

        private static Object getField(Object target, String name) {
            try {
                var f = target.getClass().getDeclaredField(name);
                f.setAccessible(true);
                return f.get(target);
            } catch (Exception e) {
                fail("access field " + name, e);
                return null;
            }
        }
    
        private static int invokeProtectedInt(Object target, String name, Object... params) {
            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top