Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1401 - 1410 of 2,371 for Try (0.02 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/FilePermissionsTask.java

            this.projectLayout = projectLayout;
            setDescription("Checks java source files for correct file permissions");
        }
    
        private static boolean isExecutableFile(File file) {
            try {
                Set<PosixFilePermission> permissions = Files.getFileAttributeView(file.toPath(), PosixFileAttributeView.class)
                    .readAttributes()
                    .permissions();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.9K bytes
    - Click Count (0)
  2. helm/minio/templates/_helper_create_svcacct.txt

        fi
      else
        echo "Svcacct '$SVCACCT' already exists."
      fi
      #clean up credentials files.
      rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP
    }
    
    # Try connecting to MinIO instance
    {{- if .Values.tls.enabled }}
    scheme=https
    {{- else }}
    scheme=http
    {{- end }}
    connectToMinio $scheme
    
    {{ if .Values.svcaccts }}
    {{ $global := . }}
    # Create the svcaccts
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Mar 28 23:20:50 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

          assertTrue(startUpCalled);
          assertFalse(runCalled);
          assertFalse(shutDownCalled);
          runCalled = true;
          assertEquals(State.RUNNING, state());
    
          enterRun.countDown();
          try {
            exitRun.await();
          } catch (InterruptedException e) {
            throw new RuntimeException(e);
          }
        }
    
        @Override
        protected void shutDown() {
          assertTrue(startUpCalled);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/job/AllJobScheduler.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("Updating job schedule: name={}", scheduledJob.getName());
                    }
                    try {
                        jobHelper.register(scheduledJob);
                    } catch (final Exception e) {
                        logger.warn("Failed to update schedule: job={}", scheduledJob, e);
                    }
                });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilder.java

                build(extensionDoc);
                classDoc.addClassExtension(extensionDoc);
            }
        }
    
        private void build(ClassExtensionDoc extensionDoc) {
            Document doc;
            try {
                doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
            } catch (ParserConfigurationException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponse.java

        protected int readDataWireFormat(final byte[] buffer, int bufferIndex, final int len) {
            final int start = bufferIndex;
    
            if (this.getErrorCode() != 0) {
                return 4;
            }
    
            try {
                this.securityDescriptor = new SecurityDescriptor();
                bufferIndex += this.securityDescriptor.decode(buffer, bufferIndex, len);
            } catch (final IOException ioe) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. scripts/translation_fixer.py

    
    def process_one_page(path: Path) -> bool:
        """
        Fix one translated document by comparing it to the English version.
    
        Returns True if processed successfully, False otherwise.
        """
    
        try:
            lang_code = path.parts[1]
            if lang_code == "en":
                print(f"Skipping English document: {path}")
                return True
    
            en_doc_path = Path("docs") / "en" / Path(*path.parts[2:])
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

                    return "";
                }
    
                @Override
                public boolean isLdapIgnoreNetbiosName() {
                    return true;
                }
            });
            try {
                assertEquals("guest", permissionHelper.encode("{role}guest"));
                assertEquals("guest", permissionHelper.encode("guest"));
            } finally {
                ComponentUtil.setFessConfig(fessConfig);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

                builder.setProxy(session.getProxySelector().getProxy(remoteRepo));
                remoteRepo = builder.build();
            }
            request.setRepository(remoteRepo);
    
            DeployResult result;
            try {
                result = repoSystem.deploy(session, request);
            } catch (DeploymentException e) {
                throw new ArtifactDeploymentException(e.getMessage(), e);
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

        proxySelector.proxies.add(proxyA)
        proxySelector.proxies.add(proxyB)
        val routeSelector = newRouteSelector(address)
        proxySelector.assertRequests(address.url.toUri())
    
        // First try the IP addresses of the first proxy, in sequence.
        assertThat(routeSelector.hasNext()).isTrue()
        dns[PROXY_A_HOST] = dns.allocate(2)
        val selection1 = routeSelector.next()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 20.3K bytes
    - Click Count (0)
Back to Top