- Sort Score
- Result 10 results
- Languages All
Results 851 - 860 of 2,306 for Mmap (0.02 sec)
-
cmd/xl-storage-format-utils.go
// branch fi.Data = inData.find(fi.DataDir) } return fi, nil } // hashDeterministicString will return a deterministic hash for the map values. // Trivial collisions are avoided, but this is by no means a strong hash. func hashDeterministicString(m map[string]string) uint64 { // Seed (random) crc := uint64(0xc2b40bbac11a7295) // Xor each value to make order independent for k, v := range m {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SingletonImmutableMapMapInterfaceTest.java
*/ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import java.util.Map; @GwtCompatible public class SingletonImmutableMapMapInterfaceTest extends AbstractImmutableMapMapInterfaceTest<String, Integer> { @Override protected Map<String, Integer> makePopulatedMap() { return ImmutableMap.of("one", 1); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 09 02:18:08 UTC 2022 - 1.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
.map(Profile::getId); final Stream<String> settingsProfiles = session.getSettings().getProfiles().stream().map(org.apache.maven.settings.Profile::getId); final Stream<String> superPomProfiles = superPomModels.values().stream() .flatMap(p -> p.getProfiles().stream()) .map(Profile::getId);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (1) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java
import com.google.common.collect.testing.features.MapFeature; import java.util.ConcurrentModificationException; import java.util.Iterator; import java.util.Map.Entry; import org.junit.Ignore; /** * A generic JUnit test which tests {@code clear()} operations on a map. Can't be invoked directly; * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author George van den Driessche * @author Chris Povirk
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/UndirectedMultiNetworkConnections.java
private UndirectedMultiNetworkConnections(Map<E, N> incidentEdges) { super(incidentEdges); } static <N, E> UndirectedMultiNetworkConnections<N, E> of() { return new UndirectedMultiNetworkConnections<>( new HashMap<E, N>(INNER_CAPACITY, INNER_LOAD_FACTOR)); } static <N, E> UndirectedMultiNetworkConnections<N, E> ofImmutable(Map<E, N> incidentEdges) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 3.7K bytes - Viewed (0) -
cmd/xl-storage-format-v1_gen.go
if err != nil { err = msgp.WrapError(err) return } } } return } // EncodeMsg implements msgp.Encodable func (z *ChecksumInfo) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 3 // write "PartNumber" err = en.Append(0x83, 0xaa, 0x50, 0x61, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72) if err != nil { return } err = en.WriteInt(z.PartNumber) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 41.2K bytes - Viewed (0) -
cmd/xl-storage-format-utils_test.go
func Test_hashDeterministicString(t *testing.T) { tests := []struct { name string arg map[string]string }{ { name: "zero", arg: map[string]string{}, }, { name: "nil", arg: nil, }, { name: "one", arg: map[string]string{"key": "value"}, }, { name: "several", arg: map[string]string{ xhttp.AmzRestore: "FAILED",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 7.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java
import com.google.common.collect.testing.features.MapFeature; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.junit.Ignore; /** * A generic JUnit test which tests {@link Map#forEach}. Can't be invoked directly; please see * {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Louis Wasserman */ @GwtCompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/InternersTest.java
Interners.newBuilder().weak().concurrencyLevel(concurrencyLevel).build(); InternerImpl<Object> internerImpl = (InternerImpl<Object>) interner; assertEquals(Strength.WEAK, internerImpl.map.keyStrength()); assertEquals(concurrencyLevel, internerImpl.map.concurrencyLevel); } public void testWeak_afterGC() throws InterruptedException { Integer canonical = new Integer(5); Integer not = new Integer(5);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 4K bytes - Viewed (0) -
prepare_stmt.go
*sql.Stmt Transaction bool prepared chan struct{} prepareErr error } type PreparedStmtDB struct { Stmts map[string]*Stmt Mux *sync.RWMutex ConnPool } func NewPreparedStmtDB(connPool ConnPool) *PreparedStmtDB { return &PreparedStmtDB{ ConnPool: connPool, Stmts: make(map[string]*Stmt), Mux: &sync.RWMutex{}, } } func (db *PreparedStmtDB) GetDBConn() (*sql.DB, error) {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:02:05 UTC 2024 - 6.6K bytes - Viewed (0)