Search Options

Results per page
Sort
Preferred Languages
Advance

Results 841 - 850 of 1,444 for scratch (0.06 sec)

  1. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

          this.algorithmName = algorithmName;
          this.hashFn = hashFn;
        }
    
        public MessageDigest getMessageDigest() {
          try {
            return MessageDigest.getInstance(algorithmName);
          } catch (NoSuchAlgorithmException e) {
            throw new AssertionError(e);
          }
        }
    
        public HashFunction getHashFunction() {
          return hashFn;
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

        assertEquals(RUNTIME_EXCEPTION, expected);
      }
    
      public void testGetUnchecked_error() {
        try {
          getUnchecked(ERROR_FUTURE);
        } catch (Error expected) {
          assertEquals(ERROR, expected);
          return;
        }
        fail();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java

    import java.util.List;
    
    /**
     * CleanArgument
     */
    public class CleanArgument {
        public static String[] cleanArgs(String[] args) {
            try {
                return doCleanArgs(args);
            } catch (RuntimeException e) {
                for (String a : args) {
                    System.out.println("Arg: '" + a + "'");
                }
                throw e;
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

            try {
                Files.createDirectories(destination.toPath().getParent());
                Files.copy(file.toPath(), destination.toPath());
            } catch (IOException e) {
                throw new RepositoryMetadataStoreException("Error copying POM to the local repository.", e);
            }
        }
    
        public String toString() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            ToolchainsBuildingRequest request = new DefaultToolchainsBuildingRequest();
            request.setGlobalToolchainsSource(new StringSource(""));
    
            try {
                toolchainBuilder.build(request);
            } catch (ToolchainsBuildingException e) {
                assertEquals(
                        "1 problem was encountered while building the effective toolchains" + LS
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

        protected byte[] decodeBase64(String base64String) {
            if (base64String == null) {
                return null;
            }
            try {
                return BASE64_DECODER.decode(base64String);
            } catch (IllegalArgumentException e) {
                if (e.getCause() instanceof DecodingException) {
                    return BASE64URL_DECODER.decode(base64String.trim());
                }
                throw e;
            }
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

                                    versionToIncubating.getOrPut(version) { mutableSetOf() }.addAll(incubating)
                                }
                            } catch (e: Exception) {
                                throw Exception("Unable to parse $sourceFile", e)
                            }
                        }
                    }
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

                try {
                    Files.write(docInfo.toPath(), Collections.singleton(String.format("<meta name=\"adoc-src-path\" content=\"%s\">", relativePath)), StandardOpenOption.CREATE);
                } catch (IOException e) {
                    throw new UncheckedIOException(e);
                }
            });
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 28 06:35:34 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/InputStreamThread.java

                            outputCallback.accept(line);
                        }
                        if (list.size() > bufferSize) {
                            list.remove(0);
                        }
                    }
                } catch (final Exception e) {
                    running = false;
                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to process an input stream.", e);
                    }
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java

            try {
                userService.changePassword(username, form.newPassword);
                saveInfo(messages -> messages.addSuccessChangedPassword(GLOBAL));
            } catch (final Exception e) {
                logger.warn("Failed to change password for {}", username, e);
                throwValidationError(messages -> messages.addErrorsFailedToChangePassword(GLOBAL), toIndexPage);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top