- Sort Score
- Result 10 results
- Languages All
Results 2191 - 2200 of 4,107 for Subject (0.07 sec)
-
guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java
bulkGetSet = ImmutableList.copyOf(limit(cycle(asList), 10)); } @Footprint Object sizeOfStriped() { return impl.get(numStripes); } // a place to put the locks in sizeOfPopulatedStriped so they don't get GC'd before we measure final List<Lock> locks = new ArrayList<>(numStripes); @Footprint Object sizeOfPopulatedStriped() { locks.clear(); Striped<Lock> striped = impl.get(numStripes);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java
@Override public MavenMetadata setPath(Path path) { return new LocalSnapshotMetadata(metadata, path, timestamp); } public Object getKey() { return getGroupId() + ':' + getArtifactId() + ':' + getVersion(); } public static Object getKey(Artifact artifact) { return artifact.getGroupId() + ':' + artifact.getArtifactId() + ':' + artifact.getBaseVersion(); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/PatternFilenameFilter.java
/** * Constructs a pattern file name filter object. * * @param patternStr the pattern string on which to filter file names * @throws PatternSyntaxException if pattern compilation fails (runtime) */ public PatternFilenameFilter(String patternStr) { this(Pattern.compile(patternStr)); } /** * Constructs a pattern file name filter object. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java
import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.features.MapFeature; import java.util.Map; import org.junit.Ignore; /** * Tester for {@link Map#remove(Object, Object)}. Can't be invoked directly; please see {@link * com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Louis Wasserman */ @GwtCompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java
@ElementTypesAreNonnullByDefault final class DirectExecutorService extends AbstractListeningExecutorService { /** Lock used whenever accessing the state variables (runningTasks, shutdown) of the executor */ private final Object lock = new Object(); /* * Conceptually, these two variables describe the executor being in * one of three states: * - Active: shutdown == false * - Shutdown: runningTasks > 0 and shutdown == true
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java
checkNotNull(timeoutUnit); return target; // ha ha } @CanIgnoreReturnValue // TODO(kak): consider removing this @Override @ParametricNullness public <T extends @Nullable Object> T callWithTimeout( Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) throws ExecutionException { checkNotNull(callable); checkNotNull(timeoutUnit); try { return callable.call();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java
Map<E, Integer> delegateMap, ImmutableList<Entry<E>> entries, long size) { this.delegateMap = delegateMap; this.entries = entries; this.size = size; } @Override public int count(@CheckForNull Object element) { return delegateMap.getOrDefault(element, 0); } @LazyInit @CheckForNull private transient ImmutableSet<E> elementSet; @Override public ImmutableSet<E> elementSet() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/bsbhv/BsFavoriteLogBhv.java
} @Override public FavoriteLogDbm asDBMeta() { return FavoriteLogDbm.getInstance(); } @Override protected <RESULT extends FavoriteLog> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) { try { final RESULT result = entityType.newInstance(); result.setCreatedAt(toLocalDateTime(source.get("createdAt")));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/bsbhv/BsRoleBhv.java
return "role"; } @Override public RoleDbm asDBMeta() { return RoleDbm.getInstance(); } @Override protected <RESULT extends Role> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) { try { final RESULT result = entityType.newInstance(); result.setName(DfTypeUtil.toString(source.get("name")));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsbhv/BsBadWordBhv.java
} @Override public BadWordDbm asDBMeta() { return BadWordDbm.getInstance(); } @Override protected <RESULT extends BadWord> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) { try { final RESULT result = entityType.newInstance(); result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.4K bytes - Viewed (0)