- Sort Score
- Num 10 results
- Language All
Results 621 - 630 of 995 for put (0.01 seconds)
-
android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java
mapsImpl = mapEnums.get(implName); elems = new CollectionBenchmarkSampleData(elements); contents = new HashMap<>(); for (Element key : elems.getValuesInSet()) { contents.put(key, key); } map = mapsImpl.create(contents); } @Benchmark @Footprint(exclude = Element.class) public Map<Element, Element> create() throws Exception { return mapsImpl.create(contents); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3.4K bytes - Click Count (0) -
buildscripts/test-timeout.sh
pkill minio || true pkill -9 minio || true purge "$WORK_DIR" if [ $# -ne 0 ]; then exit $# fi } catch function gen_put_request() { hdr_sleep=$1 body_sleep=$2 echo "PUT /testbucket/testobject HTTP/1.1" sleep $hdr_sleep echo "Host: foo-header" echo "User-Agent: curl/8.2.1" echo "Accept: */*" echo "Content-Length: 30" echo "" sleep $body_sleep echo "random line 0"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Dec 02 13:21:17 GMT 2024 - 2.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
Integer frequency = backingMap.getOrDefault(element, 0); if (occurrences == 0) { return frequency; } checkArgument(occurrences <= Integer.MAX_VALUE - frequency); backingMap.put(element, frequency + occurrences); return frequency; } @Override Iterator<E> elementIterator() { return Multisets.elementIterator(entryIterator()); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests that all package-private {@code writeReplace} methods are overridden in any existing * subclasses. Without such overrides, optimizers might put a {@code writeReplace}-containing class * and its subclass in different packages, causing the serialization system to fail to invoke {@code * writeReplace} when serializing an instance of the subclass. For an example of this problem, seeCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 01 03:07:54 GMT 2025 - 5.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6.2K bytes - Click Count (0) -
docs/compression/README.md
| `application/x-xz` | All files with these extensions and mime types are excluded from compression, even if compression is enabled for all types. ## To test the setup To test this setup, practice put calls to the server using `mc` and use `mc ls` on the data directory to view the size of the object. ## Explore Further
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 5.2K bytes - Click Count (0) -
docs/bucket/replication/DESIGN.md
### Replication of object version and metadata
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 14.7K bytes - Click Count (0) -
guava/src/com/google/common/cache/LocalCache.java
@Override public @Nullable V put(K key, V value) { checkNotNull(key); checkNotNull(value); int hash = hash(key); return segmentFor(hash).put(key, hash, value, false); } @Override public @Nullable V putIfAbsent(K key, V value) { checkNotNull(key); checkNotNull(value); int hash = hash(key); return segmentFor(hash).put(key, hash, value, true); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 19:35:11 GMT 2025 - 148.9K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
restrictions.add(Restriction.EVERYTHING); } } cached = new VersionRange(version, restrictions); CACHE_SPEC.put(spec, cached); return cached; } private static Restriction parseRestriction(String spec) throws InvalidVersionSpecificationException { boolean lowerBoundInclusive = spec.startsWith("[");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 19K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java
@BeforeEach void onSetup() throws Exception { MockitoAnnotations.initMocks(this); Map<String, ToolchainFactory> factories = new HashMap<>(); factories.put("basic", toolchainFactoryBasicType); factories.put("rare", toolchainFactoryRareType); when(lookup.lookupMap(ToolchainFactory.class)).thenReturn(factories); when(lookup.lookupMap(org.apache.maven.toolchain.ToolchainFactory.class))Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 11K bytes - Click Count (0)