- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 559 for evicting (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java
} @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutIfAbsent_supportedPresent() { assertEquals( "putIfAbsent(present, value) should return existing value", v0(), getMap().putIfAbsent(k0(), v3())); expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testPutIfAbsent_unsupportedAbsent() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 4.9K bytes - Click Count (0) -
internal/bpool/bpool.go
// Get gets a []byte from the BytePool, or creates a new one if none are // available in the pool. func (bp *BytePoolCap) Get() (b []byte) { if bp == nil { return nil } select { case b = <-bp.c: // reuse existing buffer default: // create new aligned buffer b = reedsolomon.AllocAligned(1, bp.wcap)[0][:bp.w] } return b } // Put returns the given Buffer to the BytePool. func (bp *BytePoolCap) Put(b []byte) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectHelper.java
artifact.setFile(artifactFile); artifact.setResolved(true); attachArtifact(project, artifact); } /** * Add an attached artifact or replace the file for an existing artifact. * * @see MavenProject#addAttachedArtifact(org.apache.maven.artifact.Artifact) * @param project project reference. * @param artifact artifact to add or replace. */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.3K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
} }); // To start, fill up the cache. // Each miss both increments the counter and causes the map to grow by one, // so until evictions begin, the size of the map is the greatest return // value seen so far while (cache.getUnchecked(nextRandomKey()) < maximumSize) {} requests.set(0); misses.set(0); } @BenchmarkCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java
if (Files.exists(normal)) { jtc.setJavaHome(Paths.get(javahome.getValue()).normalize().toString()); } else { throw new MisconfiguredToolchainException( "Non-existing JDK home configuration at " + normal.toAbsolutePath()); } return jtc; } @Override public ToolchainPrivate createDefaultToolchain() {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.1K bytes - Click Count (0) -
misc/ios/detect.go
mps := detectMobileProvisionFiles(udids) if len(mps) == 0 { fail("did not find mobile provision matching device udids %q", udids) } fmt.Println("# Available provisioning profiles below.") fmt.Println("# NOTE: Any existing app on the device with the app id specified by GOIOS_APP_ID") fmt.Println("# will be overwritten when running Go programs.") for _, mp := range mps { fmt.Println() f, err := os.CreateTemp("", "go_ios_detect_")
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Oct 19 23:33:30 GMT 2023 - 3.2K bytes - Click Count (0) -
ci/official/utilities/setup.sh
for env_file in ${TFCI//,/ }; do source "./ci/official/envs/$env_file" done set -u echo '==TFCI==: Evaluated the following TFCI variables from $TFCI:' export -p | grep TFCI # Load those stored pre-existing TFCI_ vars, if any if [[ -s "$FROM_ENV" ]]; then echo '==TFCI==: NOTE: Loading the following env parameters, which were' echo 'already set in the shell environment. If you want to disable this'Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Jan 09 18:37:25 GMT 2025 - 6.2K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md
4. **Edge Cases**: Null, empty, and boundary conditions are covered 5. **Resources**: Test resources are properly managed and cleaned up ## Contributing When adding new tests: 1. Follow the existing naming convention: `test_<method>_<scenario>_<expectedResult>` 2. Add clear JavaDoc comments explaining the test purpose 3. Ensure tests are independent and can run in any order
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Wed Nov 19 08:55:01 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java
} return asJson(new ApiResult.ApiUpdateResponse().id(entity.getId()).created(true).status(ApiResult.Status.OK).result()); } /** * Updates an existing role setting. * * @param body the role data to update * @return JSON response containing the updated role setting ID */ // PUT /api/admin/role/setting @ExecuteCreated: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java
aliases.putAll(step.aliases); } private Map<String, BuildStep> merge(Map<String, BuildStep> org, Map<String, BuildStep> add) { // all new phases should be added after the existing ones List<BuildStep> lasts = org.values().stream().filter(b -> b.successors.isEmpty()).toList(); List<BuildStep> firsts =
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 28 12:11:25 GMT 2025 - 6.1K bytes - Click Count (0)