Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,922 for try (0.18 sec)

  1. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            return hash;
        }
    
        public String encodeSimilarDocHash(final String hash) {
            if (hash != null && !hash.startsWith(SIMILAR_DOC_HASH_PREFIX)) {
                try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
                    try (GZIPOutputStream gos = new GZIPOutputStream(baos)) {
                        gos.write(hash.getBytes(Constants.UTF_8));
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/PurgeLogJob.java

            // purge crawling sessions
            try {
                crawlingInfoService.deleteBefore(systemHelper.getCurrentTimeAsLong());
            } catch (final Exception e) {
                logger.error("Failed to purge crawling sessions.", e);
                resultBuf.append(e.getMessage()).append("\n");
            }
    
            // purge search logs
            try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

            } else {
                try {
                    tempFile = File.createTempFile("tikaExtractor-", ".out");
                } catch (final IOException e) {
                    throw new ExtractException("Could not create a temp file.", e);
                }
                contentLength = tempFile.length();
            }
    
            try {
                final PrintStream originalOutStream = System.out;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25K bytes
    - Viewed (0)
  4. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

            Set<String> existingClasses = new TreeSet<>(); // Using TreeSet for natural ordering
            String existingContent = "";
    
            // Try to read existing content
            try {
                FileObject inputFile = processingEnv.getFiler().getResource(StandardLocation.CLASS_OUTPUT, "", path);
                try (BufferedReader reader = new BufferedReader(new InputStreamReader(inputFile.openInputStream()))) {
                    String line;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 16 06:25:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

            if ( getType() == TYPE_NAMED_PIPE ) { // try opening the pipe for reading?
                return true;
            }
            return exists(); // try opening and catch sharing violation?
        }
    
    
        @Override
        public boolean canWrite () throws SmbException {
            if ( getType() == TYPE_NAMED_PIPE ) { // try opening the pipe for writing?
                return true;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/UpgradeUtil.java

            final String filePath = indexConfigPath + "/" + indexName + "/" + path;
            try {
                final String source = FileUtil.readUTF8(filePath);
                try (CurlResponse response =
                        ComponentUtil.getCurlHelper().post("/_configsync/file").param("path", path).body(source).execute()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

      private void assertSetCountIncreasingFailure(E element, int count) {
        try {
          setCountNoCheckReturnValue(element, count);
          fail("a call to multiset.setCount() to increase an element's count should throw");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      private void assertSetCountDecreasingFailure(E element, int count) {
        try {
          setCountNoCheckReturnValue(element, count);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

        }
    
        // DELETE /api/admin/elevateword/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            try {
                elevateWordService.getElevateWord(id).ifPresent(entity -> {
                    try {
                        elevateWordService.delete(entity);
                        suggestHelper.deleteElevateWord(entity.getSuggestWord(), false);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

                throws CIFSException {
            try ( SmbTransportImpl trans = getTransport() ) {
                if ( response != null ) {
                    response.clearReceived();
                    response.setExtendedSecurity(this.extendedSecurity);
                }
    
                try {
                    if ( params.contains(RequestParam.NO_TIMEOUT) ) {
                        this.expiration = -1;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/Striped64.java

          if ((as = cells) != null && (n = as.length) > 0) {
            if ((a = as[(n - 1) & h]) == null) {
              if (busy == 0) { // Try to attach new Cell
                Cell r = new Cell(x); // Optimistically create
                if (busy == 0 && casBusy()) {
                  boolean created = false;
                  try { // Recheck under lock
                    Cell[] rs;
                    int m, j;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top