Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 1,922 for Try (0.03 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

        private void cleanProjectLocalRepository(MavenProject project) {
            try {
                Path artifactPath = getProjectLocalRepo()
                        .resolve(project.getGroupId())
                        .resolve(project.getArtifactId())
                        .resolve(project.getVersion());
                if (Files.isDirectory(artifactPath)) {
                    try (Stream<Path> paths = Files.list(artifactPath)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmContext.java

        private static final Logger log = LoggerFactory.getLogger(NtlmContext.class);
    
        /**
         * 
         */
        public static ASN1ObjectIdentifier NTLMSSP_OID;
    
        static {
            try {
                NTLMSSP_OID = new ASN1ObjectIdentifier("1.3.6.1.4.1.311.2.2.10");
            }
            catch ( IllegalArgumentException e ) {
                log.error("Failed to parse OID", e);
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

            cfg.setEscapeDisabled(false);
            cfg.setQuoteDisabled(false);
            @SuppressWarnings("resource")
            final CsvReader csvReader = new CsvReader(reader, cfg);
            try {
                List<String> list;
                csvReader.readValues(); // ignore header
                while ((list = csvReader.readValues()) != null) {
                    final String suggestWord = getValue(list, 0);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

        assertEquals("Hashing.sha512()", Hashing.sha512().toString());
      }
    
      private static void assertMessageDigestHashing(byte[] input, String algorithmName) {
        try {
          MessageDigest digest = MessageDigest.getInstance(algorithmName);
          assertEquals(
              HashCode.fromBytes(digest.digest(input)), ALGORITHMS.get(algorithmName).hashBytes(input));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy

            if (currentlyBuilding.contains(className)) {
                throw new RuntimeException("Cycle building $className. Currently building $currentlyBuilding")
            }
            currentlyBuilding.addLast(className)
            try {
                ClassMetaData classMetaData = classMetaData.find(className)
                if (!classMetaData) {
                    if (!className.contains('.internal.')) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

        }
    
        @PreDestroy
        public void destroy() {
            sessionCache.entrySet().stream().map(e -> e.getValue().waitingQueue).forEach(q -> q.forEach(urlQueue -> {
                try {
                    insert(urlQueue);
                } catch (final Exception e) {
                    logger.warn("Failed to restore " + urlQueue, e);
                }
            }));
        }
    
        public void clearCache() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/LongMathTest.java

      public void testLog2Exact() {
        for (long x : POSITIVE_LONG_CANDIDATES) {
          // We only expect an exception if x was not a power of 2.
          boolean isPowerOf2 = LongMath.isPowerOfTwo(x);
          try {
            assertEquals(x, 1L << LongMath.log2(x, UNNECESSARY));
            assertTrue(isPowerOf2);
          } catch (ArithmeticException e) {
            assertFalse(isPowerOf2);
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

      @CanIgnoreReturnValue
      private boolean setCount(E element, int count) {
        return getMultiset().setCount(element, getMultiset().count(element), count);
      }
    
      private void assertSetCountNegativeOldCount() {
        try {
          getMultiset().setCount(e3(), -1, 1);
          fail("calling setCount() with a negative oldCount should throw IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/sql/DriverManagerUtil.java

         *
         * @param driver
         *            登録するJDBCドライバ。{@literal null}であってはいけません
         */
        public static void registerDriver(final Driver driver) {
            assertArgumentNotNull("driver", driver);
    
            try {
                DriverManager.registerDriver(driver);
            } catch (final SQLException e) {
                throw new SQLRuntimeException(e);
            }
        }
    
        /**
         * JDBCドライバを登録解除します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

        @Override
        public List<FileNotifyInformation> watch () throws CIFSException {
            if ( !this.handle.isValid() ) {
                throw new SmbException("Watch was broken by tree disconnect");
            }
            try ( SmbTreeHandleImpl th = this.handle.getTree() ) {
    
                CommonServerMessageBlockRequest req;
                NotifyResponse resp = null;
                if ( th.isSMB2() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.5K bytes
    - Viewed (0)
Back to top