Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 991 - 1000 of 2,371 for Try (0.03 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixturesPlugin.java

                    t.doFirst(new Action<Task>() {
                        @Override
                        public void execute(Task task) {
                            try {
                                Files.createDirectories(testfixturesDir.toPath());
                            } catch (IOException e) {
                                throw new UncheckedIOException(e);
                            }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 29 15:07:50 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

      public void testLog2Exact() {
        for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) {
          // We only expect an exception if x was not a power of 2.
          boolean isPowerOf2 = BigIntegerMath.isPowerOfTwo(x);
          try {
            assertEquals(x, ZERO.setBit(BigIntegerMath.log2(x, UNNECESSARY)));
            assertTrue(isPowerOf2);
          } catch (ArithmeticException e) {
            assertFalse(isPowerOf2);
          }
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:51:56 GMT 2026
    - 27.1K bytes
    - Click Count (0)
  3. ci/official/utilities/cleanup_summary.sh

      # In case the main script fails somehow.
      cat <<EOF
    IMPORTANT: For bazel invocations that uploaded to ResultStore (e.g. RBE), you
    can view more detailed results that are probably easier to read than this log.
    Try the links below:
    EOF
      # Find any "Streaming build results to" lines,
      # de-duplicate,
      # and print the last word from each
      awk '/Streaming build results to/ {print $NF}' "$TFCI_OUTPUT_DIR/script.log" | uniq
    }
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Jan 09 18:37:25 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  4. internal/s3select/json/errors.go

    		cause:      err,
    	}
    }
    
    func errJSONParsingError(err error) *s3Error {
    	return &s3Error{
    		code:       "JSONParsingError",
    		message:    "Encountered an error parsing the JSON file. Check the file and try again.",
    		statusCode: 400,
    		cause:      err,
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/exbhv/RoleBhv.java

            }
            return indexName;
        }
    
        @Override
        protected <RESULT extends Role> RESULT createEntity(final Map<String, Object> source, final Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setName(DfTypeUtil.toString(source.get("name")));
                result.setAttributes(source.entrySet()
                        .stream()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java

            PersistedToolchains toolchains = null;
    
            if (userToolchainsFile != null && userToolchainsFile.isFile()) {
                try (InputStream in = Files.newInputStream(userToolchainsFile.toPath())) {
                    toolchains = new PersistedToolchains(new MavenToolchainsStaxReader().read(in));
                } catch (Exception e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            CountDownLatch latch = new CountDownLatch(sessionCount);
    
            for (int i = 0; i < sessionCount; i++) {
                final int sessionIndex = i;
                executor.submit(() -> {
                    try {
                        String sessionId = "concurrent-session-" + sessionIndex;
                        byte[] salt = preauthService.generatePreauthSalt();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/log/Logger.java

         */
        protected static LoggerAdapterFactory getLoggerAdapterFactory() {
            // Check for SLF4J first (most commonly used)
            if (isClassAvailable("org.slf4j.LoggerFactory")) {
                try {
                    // Dynamically create SLF4J adapter if available
                    return new JulLoggerAdapterFactory(); // For now, fallback to JUL
                    // In future: return new Slf4jLoggerAdapterFactory();
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocBuilder.java

            superTypeBuilder = new ClassDocSuperTypeBuilder(model, listener);
        }
    
        void build(ClassDoc classDoc) {
            listener.start(String.format("class %s", classDoc.getName()));
            try {
                superTypeBuilder.build(classDoc);
                commentBuilder.build(classDoc);
                propertiesBuilder.build(classDoc);
                methodsBuilder.build(classDoc);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2K bytes
    - Click Count (0)
  10. samples/guide/src/main/java/okhttp3/recipes/PostForm.java

            .add("search", "Jurassic Park")
            .build();
        Request request = new Request.Builder()
            .url("https://en.wikipedia.org/w/index.php")
            .post(formBody)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.4K bytes
    - Click Count (0)
Back to Top