Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Links (0.25 sec)

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

          assertFalse(MoreFiles.isDirectory(NOFOLLOW_LINKS).apply(symlinkToDir));
          assertFalse(MoreFiles.isRegularFile(NOFOLLOW_LINKS).apply(symlinkToFile));
        }
      }
    
      /**
       * Creates a new file system for testing that supports the given features in addition to
       * supporting symbolic links. The file system is created initially having the following file
       * structure:
       *
    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)
  2. android/guava-tests/test/com/google/common/cache/CacheTesting.java

          }
        }
        checkEviction(cchm);
        checkExpiration(cchm);
      }
    
      /**
       * Peeks into the cache's internals to verify that its expiration queue is consistent. Verifies
       * that the next/prev links in the expiration queue are correct, and that the queue is ordered by
       * expiration time.
       */
      static void checkExpiration(Cache<?, ?> cache) {
        if (hasLocalCache(cache)) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompactLinkedHashMap.java

        this.firstEntry = ENDPOINT;
        this.lastEntry = ENDPOINT;
        if (links != null) {
          Arrays.fill(links, 0, size(), 0);
        }
        super.clear();
      }
    
      /*
       * For discussion of the safety of the following methods, see the comments near the end of
       * CompactHashMap.
       */
    
      private long[] requireLinks() {
        return requireNonNull(links);
      }
    
      private long link(int i) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheTesting.java

          }
        }
        checkEviction(cchm);
        checkExpiration(cchm);
      }
    
      /**
       * Peeks into the cache's internals to verify that its expiration queue is consistent. Verifies
       * that the next/prev links in the expiration queue are correct, and that the queue is ordered by
       * expiration time.
       */
      static void checkExpiration(Cache<?, ?> cache) {
        if (hasLocalCache(cache)) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Files.java

       * starts from a {@link File} and will return all files and directories it encounters.
       *
       * <p><b>Warning:</b> {@code File} provides no support for symbolic links, and as such there is no
       * way to ensure that a symbolic link to a directory is not followed when traversing the tree. In
       * this case, iterables created by this traverser could contain files that are outside of the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactHashMap.java

      // `size() - 1` are used and remaining elements are not. This makes iteration straightforward.
      // Removing an entry generally involves moving the last element of each array to where the removed
      // entry was, and adjusting index links accordingly.
    
      /**
       * The hashtable object. This can be either:
       *
       * <ul>
       *   <li>a byte[], short[], or int[], with size a power of two, created by
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 35.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/ByteSourceTest.java

            }
    
            for (ByteSink out : BROKEN_SINKS) {
              runFailureTest(newNormalByteSource(), out);
              assertTrue(logHandler.getStoredLogRecords().isEmpty());
    
              runFailureTest(BROKEN_CLOSE_SOURCE, out);
              assertEquals(1, getAndResetRecords(logHandler));
            }
    
            for (ByteSource in : BROKEN_SOURCES) {
              for (ByteSink out : BROKEN_SINKS) {
                runFailureTest(in, out);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/CharSourceTest.java

            }
    
            for (CharSink out : BROKEN_SINKS) {
              runFailureTest(newNormalCharSource(), out);
              assertTrue(logHandler.getStoredLogRecords().isEmpty());
    
              runFailureTest(BROKEN_CLOSE_SOURCE, out);
              assertEquals(1, getAndResetRecords(logHandler));
            }
    
            for (CharSource in : BROKEN_SOURCES) {
              for (CharSink out : BROKEN_SINKS) {
                runFailureTest(in, out);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

            }
    
            for (ByteSink out : BROKEN_SINKS) {
              runFailureTest(newNormalByteSource(), out);
              assertTrue(logHandler.getStoredLogRecords().isEmpty());
    
              runFailureTest(BROKEN_CLOSE_SOURCE, out);
              assertEquals(1, getAndResetRecords(logHandler));
            }
    
            for (ByteSource in : BROKEN_SOURCES) {
              for (ByteSink out : BROKEN_SINKS) {
                runFailureTest(in, out);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

            long value = random.nextLong();
            for (PrimitiveSink sink : sinks) {
              sink.putLong(value);
            }
          }
        },
        PUT_FLOAT() {
          @Override
          void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) {
            float value = random.nextFloat();
            for (PrimitiveSink sink : sinks) {
              sink.putFloat(value);
            }
          }
        },
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
Back to top