Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 450 for deletes (0.17 sec)

  1. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

        write(out, data, 0, 100, true);
        final File file = out.getFile();
        assertEquals(100, file.length());
        assertTrue(file.exists());
        out.close();
    
        // Make sure that finalize deletes the file
        out = null;
    
        // times out and throws RuntimeException on failure
        GcFinalization.awaitDone(
            new GcFinalization.FinalizationPredicate() {
              @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 08 21:20:23 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

        write(out, data, 0, 100, true);
        final File file = out.getFile();
        assertEquals(100, file.length());
        assertTrue(file.exists());
        out.close();
    
        // Make sure that finalize deletes the file
        out = null;
    
        // times out and throws RuntimeException on failure
        GcFinalization.awaitDone(
            new GcFinalization.FinalizationPredicate() {
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Jun 08 21:20:23 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/MoreFilesTest.java

            assertEquals(
                "contents of directory " + path + " not deleted with delete method " + this,
                0,
                MoreFiles.listFiles(path).size());
          }
        },
        DELETE_RECURSIVELY {
          @Override
          public void delete(Path path, RecursiveDeleteOption... options) throws IOException {
            MoreFiles.deleteRecursively(path, options);
          }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multisets.java

       *
       * <p>In contrast, {@code multisetToModify.retainAll(multisetToRetain)} keeps all occurrences of
       * elements that appear at all in {@code multisetToRetain}, and deletes all occurrences of all
       * other elements.
       *
       * @return {@code true} if {@code multisetToModify} was changed as a result of this operation
       * @since 10.0
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

            return next;
          }
    
          @Override
          public String toString() {
            return "Iterators.consumingIterator(...)";
          }
        };
      }
    
      /**
       * Deletes and returns the next value from the iterator, or returns {@code null} if there is no
       * such value.
       */
      @CheckForNull
      static <T extends @Nullable Object> T pollNext(Iterator<T> iterator) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/FileBackedOutputStream.java

            memory = new MemoryOutput();
          } else {
            memory.reset();
          }
          out = memory;
          if (file != null) {
            File deleteMe = file;
            file = null;
            if (!deleteMe.delete()) {
              throw new IOException("Could not delete: " + deleteMe);
            }
          }
        }
      }
    
      @Override
      public synchronized void write(int b) throws IOException {
        update(1);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/FilesTest.java

        assertTrue("ByteBuffers should be equal.", expected.equals(actual));
      }
    
      public void testMap_noSuchFile() throws IOException {
        // Setup
        File file = createTempFile();
        boolean deleted = file.delete();
        assertTrue(deleted);
    
        // Test
        assertThrows(FileNotFoundException.class, () -> Files.map(file));
      }
    
      public void testMap_readWrite() throws IOException {
        // Test data
        int size = 1024;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

        /** The key of the message: Deleted failure urls. */
        public static final String SUCCESS_failure_url_delete_all = "{success.failure_url_delete_all}";
    
        /** The key of the message: Deleted {0} file. */
        public static final String SUCCESS_delete_file = "{success.delete_file}";
    
        /** The key of the message: Started job {0}. */
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 119.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            try {
                urlFilterService.delete(sessionId);
            } catch (final Exception e) {
                logger.warn("Failed to delete url filters: {}", sessionId, e);
            }
            try {
                urlQueueService.delete(sessionId);
            } catch (final Exception e) {
                logger.warn("Failed to delete url queues: {}", sessionId, e);
            }
            try {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            }
    
            final List<Map<String, Object>> afterList = readJobLog(NAME_PREFIX);
            assertEquals(0, afterList.size()); // check if logs are successfully deleted
        }
    
        /**
         * Test for CrawlingInfo
         * */
        private void testReadCrawlingInfo() {
            final List<Map<String, Object>> logList = readCrawlingInfo(webConfigId);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top