- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getOrDefault (0.55 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java
assertEquals( "getOrDefault(present, def) should return the associated value", v0(), getMap().getOrDefault(k0(), v3())); } @CollectionSize.Require(absent = ZERO) public void testGetOrDefault_presentNullDefault() { assertEquals( "getOrDefault(present, null) should return the associated value", v0(), getMap().getOrDefault(k0(), null)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java
.getOrDefault("os.name", Os.OS_NAME) .toLowerCase(Locale.ENGLISH); String actualOsArch = context.getSystemProperties() .getOrDefault("os.arch", Os.OS_ARCH) .toLowerCase(Locale.ENGLISH); String actualOsVersion = context.getSystemProperties() .getOrDefault("os.version", Os.OS_VERSION)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/StageTriggers.kt
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Nov 06 08:08:13 UTC 2024 - 5.8K bytes - Viewed (0) -
cni/pkg/install/kubeconfig.go
} protocol := model.GetOrDefault(cfg.K8sServiceProtocol, "https") cluster := &api.Cluster{ Server: fmt.Sprintf("%s://%s", protocol, net.JoinHostPort(cfg.K8sServiceHost, cfg.K8sServicePort)), } if cfg.SkipTLSVerify { // User explicitly opted into insecure. cluster.InsecureSkipTLSVerify = true } else { caFile := model.GetOrDefault(cfg.KubeCAFile, cfg.K8sServiceAccountPath+"/ca.crt")
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 4K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupRootPlugin.kt
(taskPathToReportsInExtension.keys + taskPathToReports.keys).associateWith { taskPathToReportsInExtension.getOrDefault(it, emptyList()) + taskPathToReports.getOrDefault(it, emptyList()) } } } project.gradle.serviceOf<BuildEventsListenerRegistry>().onTaskCompletion(testFilesCleanupService) }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jul 06 10:57:13 UTC 2023 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/ParamMap.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java
FessConfig fessConfig = new FessConfig.SimpleImpl() { @Override public String getSystemProperty(final String key, final String defaultValue) { return systemPropMap.getOrDefault(key, defaultValue); } @Override public boolean isCrawlerIgnoreRobotsTxt() { return false; } @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu May 09 09:48:04 UTC 2024 - 7.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractor.java
if (in == null) { throw new CrawlerSystemException("The inputstream is null."); } final String content = params.getOrDefault(ExtractData.RESOURCE_NAME_KEY, StringUtil.EMPTY); try { return new ExtractData(content); } catch (final Exception e) { throw new ExtractException(e); } }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java
this.delegateMap = delegateMap; this.entries = entries; this.size = size; } @Override public int count(@CheckForNull Object element) { return delegateMap.getOrDefault(element, 0); } @LazyInit @CheckForNull private transient ImmutableSet<E> elementSet; @Override public ImmutableSet<E> elementSet() { ImmutableSet<E> result = elementSet;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 3.3K bytes - Viewed (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt
val properties = Properties() val ret = mutableMapOf<String, MutableList<String>>() properties.load(StringReader(content)) properties.forEach { key, value -> val list = ret.getOrDefault(value, mutableListOf()) list.add(key!!.toString()) ret[value!!.toString()] = list } return ret } interface BuildBucketProvider {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 4.9K bytes - Viewed (0)