- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 1,196 for percent (0.09 sec)
-
guava/src/com/google/common/base/FinalizableReferenceQueue.java
/** * Try to load Finalizer in its own class loader. If Finalizer's thread had a direct reference to * our class loader (which could be that of a dynamically loaded web application or OSGi bundle), * it would prevent our class loader from getting garbage collected. */ static class DecoupledLoader implements FinalizerLoader { private static final String LOADING_ERROR =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jul 11 20:51:36 UTC 2024 - 13.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/MultipleSetContainsBenchmark.java
sets[i] = ImmutableSet.of(); } else if (setSize < emptySetProportion + singletonSetProportion) { sets[i] = ImmutableSet.of(PRESENT); } else { sets[i] = ImmutableSet.of(PRESENT, new Object()); } if (rng.nextDouble() < hitRate) { queries[i] = PRESENT; } else { queries[i] = ABSENT; } } } @Benchmark public boolean contains(int reps) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
@CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemove_occurrences_present() { assertEquals( "multiset.remove(present, 2) didn't return the old count", 1, getMultiset().remove(e0(), 2)); assertFalse( "multiset contains present after multiset.remove(present, 2)", getMultiset().contains(e0())); assertEquals(0, getMultiset().count(e0())); } @CollectionSize.Require(SEVERAL)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.9K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ParentTest.java
/** * Tests {@code Parent}. * */ class ParentTest { @Test void testHashCodeNullSafe() { new Parent().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Parent().equals(null)); new Parent().equals(new Parent()); } @Test void testEqualsIdentity() { Parent thing = new Parent();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
istioctl/cmd/root_test.go
func TestHideInheritedFlags(t *testing.T) { const ( parentFlag0 = "parent-flag0" parentFlag1 = "parent-flag1" parentFlag2 = "parent-flag2" childFlag2 = "child-flag2" ) parent := &cobra.Command{Use: "parent"} _ = parent.PersistentFlags().String(parentFlag0, "", parentFlag0) _ = parent.PersistentFlags().String(parentFlag1, "", parentFlag1) _ = parent.PersistentFlags().String(parentFlag2, "", parentFlag2) var out bytes.Buffer
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 15 17:59:55 UTC 2021 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocMap.java
private static final String LANG_KEY = "lang"; private final Map<String, Object> parent; public DocMap(final Map<String, Object> parent) { this.parent = parent; } @Override public int size() { return parent.size(); } @Override public boolean isEmpty() { return parent.isEmpty(); } @Override public boolean containsKey(final Object key) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.8K bytes - Viewed (0) -
cmd/data-scanner.go
if !into.Compacted { var foundAny bool parent := thisHash for parent != hashPath(f.updateCache.Info.Name) { e := f.updateCache.find(parent.Key()) if e == nil || e.Compacted { foundAny = true break } next := f.updateCache.searchParent(parent) if next == nil { foundAny = true break } parent = *next } if !foundAny {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 21:10:34 UTC 2024 - 48.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java
parent = null; } public ResolutionNode(Artifact artifact, List<ArtifactRepository> remoteRepositories, ResolutionNode parent) { this.artifact = artifact; this.remoteRepositories = remoteRepositories; depth = parent.depth + 1; parents = new ArrayList<>(); parents.addAll(parent.parents); parents.add(parent.getKey()); this.parent = parent;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java
/** * Creates a new class realm with the specified parent and imports. * * @param baseRealmId The base id to use for the new realm, must not be {@code null}. * @param type The type of the class realm, must not be {@code null}. * @param parent The parent realm for the new realm, may be {@code null}. * @param parentImports The packages/types to import from the parent realm, may be {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy
} public static def leftShift(Node parent, Closure cl) { DomBuilder builder = new DomBuilder(parent) cl.delegate = builder cl.call() return builder.elements[0] } public static void leftShift(Node parent, Node node) { parent.appendChild(parent.ownerDocument.importNode(node, true)) } public static void addFirst(Node parent, Closure cl) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Aug 11 15:32:19 UTC 2022 - 2.8K bytes - Viewed (0)