- Sort Score
- Result 10 results
- Languages All
Results 1401 - 1410 of 2,196 for mmap (0.04 sec)
-
guava-tests/test/com/google/common/hash/HashingTest.java
public void testConsistentHash_probabilities() { AtomicLongMap<Integer> map = AtomicLongMap.create(); Random r = new Random(9); for (int i = 0; i < ITERS; i++) { countRemaps(r.nextLong(), map); } for (int shard = 2; shard <= MAX_SHARDS; shard++) { // Rough: don't exceed 1.2x the expected number of remaps by more than 20 assertTrue(map.get(shard) <= 1.2 * ITERS / shard + 20); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 09 17:40:09 UTC 2024 - 26.3K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
// TODO support list n := match.GetMatcherTree().GetInput().GetName() var m map[string]*matcher.Matcher_OnMatch equality := "=" switch v := match.GetMatcherTree().GetTreeType().(type) { case *matcher.Matcher_MatcherTree_ExactMatchMap: m = v.ExactMatchMap.Map case *matcher.Matcher_MatcherTree_PrefixMatchMap: m = v.PrefixMatchMap.Map equality = "^" case *matcher.Matcher_MatcherTree_CustomMatch:
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 29 12:37:14 UTC 2023 - 18.1K bytes - Viewed (0) -
internal/bucket/replication/replication.go
} // replication config should have at least one rule if len(c.Rules) == 0 { return errReplicationNoRule } // Validate all the rules in the replication config targetMap := make(map[string]struct{}) priorityMap := make(map[string]struct{}) var legacyArn bool for _, r := range c.Rules { if _, ok := targetMap[r.Destination.Bucket]; !ok { targetMap[r.Destination.Bucket] = struct{}{} }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 28 17:44:56 UTC 2024 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java
.total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result()); } // GET /api/admin/user/setting/{id} @Execute public JsonResponse<ApiResult> get$setting(final String id) { return asJson(new ApiResult.ApiConfigResponse().setting(userService.getUser(id).map(this::createEditBody).orElseGet(() -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/go/GoAction.java
*/ package org.codelibs.fess.app.web.go; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.util.Map; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.lang.StringUtil; import org.codelibs.core.net.URLUtil; import org.codelibs.fess.Constants;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/OplockTests.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.tests; import java.io.IOException; import java.net.UnknownHostException; import java.util.Collection; import java.util.Map; import org.junit.Assume; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters; import jcifs.CIFSContext;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 6.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java
* under the License. */ package org.apache.maven.artifact.deployer; import javax.inject.Inject; import javax.inject.Named; import java.io.File; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import org.apache.maven.RepositoryUtils; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.metadata.ArtifactMetadata;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.4K bytes - Viewed (0) -
compat/maven-compat/src/main/mdo/paramdoc.mdo
</association> </field> </fields> <codeSegments> <codeSegment> <version>1.0.0</version> <code><![CDATA[ private java.util.Map expressionsBySyntax; public java.util.Map getExpressionsBySyntax() { if ( expressionsBySyntax == null ) { expressionsBySyntax = new java.util.HashMap();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
schema/pool.go
package schema import ( "reflect" "sync" ) // sync pools var ( normalPool sync.Map poolInitializer = func(reflectType reflect.Type) FieldNewValuePool { v, _ := normalPool.LoadOrStore(reflectType, &sync.Pool{ New: func() interface{} { return reflect.New(reflectType).Interface() }, }) return v.(FieldNewValuePool) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 11 13:37:44 UTC 2022 - 345 bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java
* @return this request * @since 3.3.0 */ MavenExecutionRequest setToolchains(Map<String, List<ToolchainModel>> toolchains); /** * * @return all toolchains grouped by type, never {@code null} * @since 3.3.0 */ Map<String, List<ToolchainModel>> getToolchains(); /** * @since 3.3.0
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.4K bytes - Viewed (0)