- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 3,253 for classof (0.08 sec)
-
android/guava/src/com/google/common/cache/LongAdder.java
* * <p>This class is usually preferable to {@link AtomicLong} when multiple threads update a common * sum that is used for purposes such as collecting statistics, not for fine-grained synchronization * control. Under low update contention, the two classes have similar characteristics. But under * high contention, expected throughput of this class is significantly higher, at the expense of
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 5.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
// TODO: Add another constructor parameter indicating whether the class under test is ordered, and // check the order if so. // TODO: Refactor to share code with SetTestBuilder etc. @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class MapInterfaceTest<K extends @Nullable Object, V extends @Nullable Object> extends TestCase { /** A key type that is not assignable to any classes but Object. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
checkSerialization(Predicates.instanceOf(Integer.class)); } @J2ktIncompatible @GwtIncompatible // Predicates.subtypeOf public void testSubtypeOf_apply() { Predicate<Class<?>> isInteger = Predicates.subtypeOf(Integer.class); assertTrue(isInteger.apply(Integer.class)); assertFalse(isInteger.apply(Float.class)); assertThrows(NullPointerException.class, () -> isInteger.apply(null)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 32.4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java
import java.util.LinkedList; /** * Tests the speed of iteration of different iteration methods for collections. * * @author David Richter */ public class IteratorBenchmark { @Param({"0", "1", "16", "256", "4096", "65536"}) int size; // use concrete classes to remove any possible polymorphic overhead? Object[] array; ArrayList<Object> arrayList; LinkedList<Object> linkedList; @BeforeExperiment
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/ElementOrderTest.java
import java.util.Comparator; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; /** Tests for ordering the elements of graphs. */ @RunWith(JUnit4.class) public final class ElementOrderTest { // Node order tests @Test public void nodeOrder_none() { MutableGraph<Integer> graph = GraphBuilder.directed().nodeOrder(unordered()).build();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 8.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractService.java
@WeakOuter private final class IsStartableGuard extends Guard { IsStartableGuard() { super(AbstractService.this.monitor); } @Override public boolean isSatisfied() { return state() == NEW; } } private final Guard isStoppable = new IsStoppableGuard(); @WeakOuter private final class IsStoppableGuard extends Guard { IsStoppableGuard() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 20.7K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicate.java
* Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions * or method references instead of classes, leaving your code easier to migrate in the future. * * <p>The {@link Predicates} class provides common predicates and related utilities. * * <p>See the Guava User Guide article on <a
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 3.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy
repository.store(destinationFile.get().asFile) Date stop = new Date() TimeDuration elapsedTime = TimeCategory.minus(stop, start) Logging.getLogger(this.getClass()).lifecycle( "Parsed $counter classes in ${elapsedTime}") } def parse(File sourceFile, ClassMetaDataRepository<gradlebuild.docs.dsl.source.model.ClassMetaData> repository) { if (!sourceFile.name.endsWith('.java')) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Jan 08 12:45:57 UTC 2024 - 4.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java
* {@link DependencyScope#TEST TEST} or {@link DependencyScope#TEST_ONLY TEST_ONLY} * {@linkplain Dependency#getScope() scope}. An {@code --add-reads} option may need * to be generated for compiling and running the test classes that use such dependencies.</p> * * @param dependency path to the dependency for which to get the module name * @return module name of the dependency at the given path, or empty if the dependency is not modular
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 6.2K bytes - Viewed (0) -
docs/en/docs/tutorial/sql-databases.md
### Create Multiple Models In **SQLModel**, any model class that has `table=True` is a **table model**. And any model class that doesn't have `table=True` is a **data model**, these ones are actually just Pydantic models (with a couple of small extra features). 🤓 With SQLModel, we can use **inheritance** to **avoid duplicating** all the fields in all the cases. #### `HeroBase` - the base class
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 14.7K bytes - Viewed (0)