Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 1,922 for Try (0.01 sec)

  1. guava/src/com/google/common/hash/ChecksumHashFunction.java

        @IgnoreJRERequirement // https://github.com/mojohaus/animal-sniffer/issues/67
        static boolean updateByteBuffer(Checksum cs, ByteBuffer bb) {
          if (UPDATE_BB != null) {
            try {
              UPDATE_BB.invokeExact(cs, bb);
            } catch (Throwable e) {
              throwIfUnchecked(e);
              // This should be impossible, since `update` has no `throws` clause.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:05:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            return userInfo;
        }
    
        public OptionalEntity<UserInfo> getUserInfo(final String userCode) {
            if (StringUtil.isNotBlank(userCode)) {
                try {
                    return OptionalEntity.of(userInfoCache.get(userCode));
                } catch (final ExecutionException e) {
                    if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Serialization.java

          field.setAccessible(true);
        }
    
        void set(T instance, Object value) {
          try {
            field.set(instance, value);
          } catch (IllegalAccessException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        void set(T instance, int value) {
          try {
            field.set(instance, value);
          } catch (IllegalAccessException impossible) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

            parameters.projectStates.get()
                .filter { projectPathToLeftoverFiles.containsKey(it.key) }
                .forEach { (projectPath: String, projectExtension: TestFileCleanUpExtension) ->
                    try {
                        projectExtension.verifyTestFilesCleanup(projectPath, projectPathToLeftoverFiles.getValue(projectPath))
                    } catch (e: Exception) {
                        exceptions.add(e)
                    }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

                final PlexusConfiguration configuration, final ExpressionEvaluator evaluator, final Class<?> type)
                throws ComponentConfigurationException {
            String value = configuration.getValue();
            try {
                Object result = null;
                if (null != value && !value.isEmpty()) {
                    if (evaluator instanceof TypeAwareExpressionEvaluator) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceTester.java

      public void testReplace_absentNullValueUnsupported() {
        try {
          getMap().replace(k3(), null);
        } catch (NullPointerException tolerated) {
          // permitted not to throw because it would be a no-op
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEY_QUERIES)
      public void testReplace_absentNullKeyUnsupported() {
        try {
          getMap().replace(null, v3());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

        OutputStream out = sink.openStream();
        try {
          ByteStreams.copy(new ByteArrayInputStream(data), out);
        } finally {
          out.close();
        }
    
        assertContainsExpectedBytes();
      }
    
      public void testOpenBufferedStream() throws IOException {
        OutputStream out = sink.openBufferedStream();
        try {
          ByteStreams.copy(new ByteArrayInputStream(data), out);
        } finally {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/ByteSinkTester.java

        OutputStream out = sink.openStream();
        try {
          ByteStreams.copy(new ByteArrayInputStream(data), out);
        } finally {
          out.close();
        }
    
        assertContainsExpectedBytes();
      }
    
      public void testOpenBufferedStream() throws IOException {
        OutputStream out = sink.openBufferedStream();
        try {
          ByteStreams.copy(new ByteArrayInputStream(data), out);
        } finally {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

      public <T extends @Nullable Object> T callWithTimeout(
          Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) throws ExecutionException {
        checkNotNull(callable);
        checkNotNull(timeoutUnit);
        try {
          return callable.call();
        } catch (RuntimeException e) {
          throw new UncheckedExecutionException(e);
        } catch (Exception e) {
          restoreInterruptIfIsInterruptedException(e);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmAuthenticator.java

                return a.getNtlmPasswordAuthentication();
            }
        }
    
    
        /**
         * An application extending this class must provide an implementation for this method that returns new user
         * credentials try try when accessing SMB resources described by the <tt>getRequestingURL</tt> and
         * <tt>getRequestingException</tt> methods.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
Back to top