- Sort Score
- Result 10 results
- Languages All
Results 671 - 680 of 836 for isEmpty (0.1 sec)
-
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
} } } @Throws(UnknownHostException::class) private fun throwBestFailure( hostname: String, failures: List<Exception>, ): List<InetAddress> { if (failures.isEmpty()) { throw UnknownHostException(hostname) } val failure = failures[0] if (failure is UnknownHostException) { throw failure }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Oct 31 09:27:31 UTC 2024 - 9.8K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
} } } private fun prepareScenariosStep(testProject: String, scenarios: List<Scenario>, os: Os): BuildSteps.() -> Unit { if (scenarios.isEmpty()) { throw IllegalArgumentException("Scenarios list must not be empty for $testProject") } val csvLines = scenarios.map { "${it.className};${it.scenario}" } val action = "include"
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Feb 19 11:22:56 UTC 2024 - 15.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
} final List<AliasMetadata> list = response.getAliases().get(s); if (list == null) { return true; } return list.isEmpty(); }).forEach(s -> { if (logger.isInfoEnabled()) { logger.info("Delete index: {}", s); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 14.6K bytes - Viewed (0) -
internal/config/lambda/target/webhook.go
ClientKey string `json:"clientKey"` } // Validate WebhookArgs fields func (w WebhookArgs) Validate() error { if !w.Enable { return nil } if w.Endpoint.IsEmpty() { return errors.New("endpoint empty") } if w.ClientCert != "" && w.ClientKey == "" || w.ClientCert == "" && w.ClientKey != "" { return errors.New("cert and key must be specified as a pair") } return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 08 21:39:49 UTC 2024 - 6.7K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 21.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat(Doubles.join(",", EMPTY)).isEmpty(); assertThat(Doubles.join(",", ARRAY1)).isEqualTo("1.0"); assertThat(Doubles.join(",", (double) 1, (double) 2)).isEqualTo("1.0,2.0"); assertThat(Doubles.join("", (double) 1, (double) 2, (double) 3)).isEqualTo("1.02.03.0"); } public void testJoinNonTrivialDoubles() { assertThat(Doubles.join(",", EMPTY)).isEmpty();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
* limitations under the License. */ package okhttp3.internal.ws import assertk.assertThat import assertk.assertions.isBetween import assertk.assertions.isCloseTo import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import assertk.assertions.isFalse import assertk.assertions.isInstanceOf import assertk.assertions.isLessThan import assertk.assertions.isNotNull import assertk.assertions.isNull
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 35.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
return keyOrNull(higherEntry(key)); } @Override @CheckForNull public Entry<K, V> firstEntry() { return isEmpty() ? null : entrySet().asList().get(0); } @Override @CheckForNull public Entry<K, V> lastEntry() { return isEmpty() ? null : entrySet().asList().get(size() - 1); } /** * Guaranteed to throw an exception and leave the map unmodified. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0) -
cmd/admin-handlers-site-replication.go
} else { policy, perr := policy.ParseConfig(bytes.NewReader(item.Policy)) if perr != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, perr), r.URL) return } if policy.IsEmpty() { err = globalSiteReplicationSys.PeerAddPolicyHandler(ctx, item.Name, nil, item.UpdatedAt) } else { err = globalSiteReplicationSys.PeerAddPolicyHandler(ctx, item.Name, policy, item.UpdatedAt) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 19.4K bytes - Viewed (0)