- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getPath (0.2 sec)
-
guava-tests/test/com/google/common/io/MoreFilesFileTraverserTest.java
*/ public class MoreFilesFileTraverserTest extends TestCase { private Path rootDir; @Override public void setUp() throws IOException { rootDir = Jimfs.newFileSystem(Configuration.unix()).getPath("/tmp"); Files.createDirectory(rootDir); } @Override public void tearDown() throws IOException { rootDir.getFileSystem().close(); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 09 19:30:52 GMT 2018 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
Set<Object> observed = Sets.newIdentityHashSet(); // for the sake of weakly referenced locks. // this gets the stripes with #getAt(index) for (int i = 0; i < striped.size(); i++) { Object object = striped.getAt(i); assertNotNull(object); assertSame(object, striped.getAt(i)); // idempotent observed.add(object); } assertTrue("All stripes observed", observed.size() == striped.size());
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Feb 09 22:57:07 GMT 2022 - 8.4K bytes - Viewed (0) -
guava/src/com/google/common/cache/ReferenceEntry.java
void setValueReference(ValueReference<K, V> valueReference); /** Returns the next entry in the chain. */ @CheckForNull ReferenceEntry<K, V> getNext(); /** Returns the entry's hash. */ int getHash(); /** Returns the key for this entry. */ @CheckForNull K getKey(); /* * Used by entries that use access order. Access entries are maintained in a doubly-linked list.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
Set<Object> observed = Sets.newIdentityHashSet(); // for the sake of weakly referenced locks. // this gets the stripes with #getAt(index) for (int i = 0; i < striped.size(); i++) { Object object = striped.getAt(i); assertNotNull(object); assertSame(object, striped.getAt(i)); // idempotent observed.add(object); } assertTrue("All stripes observed", observed.size() == striped.size());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 09 22:57:07 GMT 2022 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/ReferenceEntry.java
void setValueReference(ValueReference<K, V> valueReference); /** Returns the next entry in the chain. */ @CheckForNull ReferenceEntry<K, V> getNext(); /** Returns the entry's hash. */ int getHash(); /** Returns the key for this entry. */ @CheckForNull K getKey(); /* * Used by entries that use access order. Access entries are maintained in a doubly-linked list.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 3.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java
@Footprint Object sizeOfPopulatedStriped() { locks.clear(); Striped<Lock> striped = impl.get(numStripes); for (int i : stripes) { locks.add(striped.getAt(i)); } return striped; } @Benchmark long timeConstruct(long reps) { long rvalue = 0; int numStripesLocal = numStripes; Impl implLocal = impl;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java
@Footprint Object sizeOfPopulatedStriped() { locks.clear(); Striped<Lock> striped = impl.get(numStripes); for (int i : stripes) { locks.add(striped.getAt(i)); } return striped; } @Benchmark long timeConstruct(long reps) { long rvalue = 0; int numStripesLocal = numStripes; Impl implLocal = impl;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4K bytes - Viewed (0)