- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 457 for hege (0.01 seconds)
-
guava/src/com/google/common/collect/ConcurrentHashMultiset.java
// we can just do that work here. AtomicInteger newCounter = new AtomicInteger(occurrences); if ((countMap.putIfAbsent(element, newCounter) == null) || countMap.replace(element, existingCounter, newCounter)) { return 0; } break; } } // If we're still here, there was a race, so just try again. } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 22.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
return Ordering.explicit(new ArrayList<>(elementsPlus)); } /* * All the ContiguousSet generators below manually reject nulls here. In principle, we'd like to * defer that to Range, since it's ContiguousSet.create() that's used to create the sets. However, * that gets messy here, and we already have null tests for Range. */ /*
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 15.9K bytes - Click Count (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts
tasks.validatePlugins { enableStricterValidation = true } // Remove gradleApi() and gradleTestKit() as we want to compile/run against Gradle modules // TODO consider splitting `java-gradle-plugin` to provide only what's necessary here configurations.all { withDependencies { remove(project.dependencies.gradleApi()) remove(project.dependencies.gradleTestKit()) } }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 13 11:01:20 GMT 2026 - 6.2K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java
// to the given dividend, so that we don't have half of our divisions being // trivial because the divisor is bigger than the dividend. // Using remainder here does not give us a uniform distribution but it should // not have a big impact on the measurement. private static long randomDivisor(long dividend) { long r = randomSource.nextLong(); if (dividend == -1) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.4K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy
} def acceptanceJson = new AcceptedApiChange( change.type, change.member, '[ADD YOUR CUSTOM REASON HERE]', change.changes ) Violation violation = Violation.error( member, rejection.getHumanExplanation() + """. <details>Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 22 12:18:18 GMT 2026 - 10K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
// Then, run the actual tests under each alternative classloader: /* * Under Java 8, there is no need to test the no-VarHandle case here: It's already tested by the * main AbstractFutureTest, which uses the default AtomicHelper, which we verified above to be * UnsafeAtomicHelper. */ if (!isJava8()) { runTestMethod(NO_VAR_HANDLE);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 7.4K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Chars.java
private Chars() {} /** * The number of bytes required to represent a primitive {@code char} value. * * <p>Prefer {@link Character#BYTES} instead. */ // We don't use Character.BYTES here because it's not available under J2KT. public static final int BYTES = Character.SIZE / Byte.SIZE; /** * Returns a hash code for {@code value}; obsolete alternative to {@link * Character#hashCode(char)}. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
} /** * Tests that the method {@code putEdge} will silently add the missing nodes to the graph, then * add the edge connecting them. We are not using the proxy methods here as we want to test {@code * putEdge} when the end-points are not elements of the graph. */ @Test public void putEdge_nodesNotInGraph() { assume().that(graphIsMutable()).isTrue();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Oct 06 20:14:55 GMT 2025 - 13.2K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashCode.java
* changes to it will <i>not</i> be reflected in this {@code HashCode} object or any other arrays * returned by this method. */ // TODO(user): consider ByteString here, when that is available public abstract byte[] asBytes(); /** * Copies bytes from this hash code into {@code dest}. * * @param dest the byte array into which the hash code will be written
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 12.6K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java
* APIs are offered that don't). * <li>Can't be passed directly to methods that expect {@code double[]} (though the most common * utilities do have replacements here). * <li>Dependency on {@code com.google.common} / Guava. * </ul> * * <p>Advantages compared to {@link com.google.common.collect.ImmutableList ImmutableList}{@code * <Double>}: * * <ul>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 22.7K bytes - Click Count (0)