- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 294 for Maps (0.03 seconds)
-
guava/src/com/google/common/collect/Synchronized.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.collect.Maps.transformValues; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 56.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/FluentIterable.java
* @since 14.0 */ @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now. public final <V> ImmutableMap<@NonNull E, V> toMap(Function<? super E, V> valueFunction) { return Maps.toMap((Iterable<@NonNull E>) getDelegate(), valueFunction); } /** * Creates an index {@code ImmutableListMultimap} that contains the results of applying aCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 34.7K bytes - Click Count (0) -
doc/go_mem.html
can lead to inconsistent values not corresponding to a single write. When the values depend on the consistency of internal (pointer, length) or (pointer, type) pairs, as can be the case for interface values, maps, slices, and strings in most Go implementations, such races can in turn lead to arbitrary memory corruption. </p> <p> Examples of incorrect synchronization are given in the
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Aug 05 15:41:37 GMT 2025 - 26.6K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashFunction.java
import com.google.errorprone.annotations.Immutable; import java.nio.ByteBuffer; import java.nio.charset.Charset; import org.jspecify.annotations.Nullable; /** * A hash function is a collision-averse pure function that maps an arbitrary block of data to a * number called a <i>hash code</i>. * * <h3>Definition</h3> * * <p>Unpacking this definition: * * <ul>
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.9K bytes - Click Count (0) -
guava/src/com/google/common/hash/HashFunction.java
import com.google.errorprone.annotations.Immutable; import java.nio.ByteBuffer; import java.nio.charset.Charset; import org.jspecify.annotations.Nullable; /** * A hash function is a collision-averse pure function that maps an arbitrary block of data to a * number called a <i>hash code</i>. * * <h3>Definition</h3> * * <p>Unpacking this definition: * * <ul>
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing.google; import static com.google.common.collect.Maps.immutableEntry; import static java.util.Collections.singleton; import static java.util.Collections.unmodifiableList; import static junit.framework.TestCase.assertEquals; import static junit.framework.TestCase.assertTrue;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 14.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
addAll(set, elements); return set; } public static <E extends @Nullable Object> Set<E> copyToSet(E[] elements) { return copyToSet(asList(elements)); } // Would use Maps.immutableEntry public static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> mapEntry( K key, V value) { return singletonMap(key, value).entrySet().iterator().next(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 17.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
*/ package com.google.common.collect; import static com.google.common.collect.Lists.newArrayList; import static com.google.common.collect.Lists.transform; import static com.google.common.collect.Maps.immutableEntry; import static com.google.common.collect.Multimaps.synchronizedMultimap; import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.collect.Sets.newHashSet;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 18.7K bytes - Click Count (0) -
src/archive/tar/writer_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package tar import ( "bytes" "encoding/hex" "errors" "internal/obscuretestdata" "io" "io/fs" "maps" "os" "path" "slices" "sort" "strings" "testing" "testing/fstest" "testing/iotest" "time" ) func bytediff(a, b []byte) string { const ( uniqueA = "- " uniqueB = "+ "
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static com.google.common.collect.Maps.immutableEntry; import static com.google.common.truth.Truth.assertThat; import static java.util.Collections.singleton; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 15.1K bytes - Click Count (0)