- Sort Score
- Num 10 results
- Language All
Results 991 - 1000 of 1,161 for IsEmpty (0.2 seconds)
-
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 }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 8.6K bytes - Click Count (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 }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jul 08 21:39:49 GMT 2024 - 6.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
void takeSuccessfully() { assertThat(takeUninterruptibly(queue)).isEqualTo(EXPECTED_TAKE); completed.assertCompletionExpected(); assertTrue(queue.isEmpty()); } private static void scheduleEnableReads(BlockingQueue<String> queue, long countdownInMillis) { Runnable toRun = new EnableReads(queue, countdownInMillis);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java
@Override public void store(DataStoreParams paramMap, Map<String, Object> dataMap) { assertNotNull(paramMap); assertNotNull(dataMap); assertTrue(dataMap.isEmpty()); storeCount.incrementAndGet(); } @Override public long getDocumentSize() { return storeCount.get(); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 12.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java
} // Test asMap with empty params @Test public void test_asMapEmpty() { Map<String, Object> map = dataStoreParams.asMap(); assertNotNull(map); assertTrue(map.isEmpty()); } // Test getDataMap with ParamMap @Test public void test_getDataMapWithParamMap() { Map<String, Object> innerMap = new HashMap<>(); innerMap.put("key1", "value1");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
// Get pending operations from failed channel List<CommonServerMessageBlock> pendingOps = failedChannel.getPendingOperations(); if (pendingOps.isEmpty()) { return; } log.info("Redistributing {} pending operations from failed channel", pendingOps.size()); // Create a defensive copy to avoid ConcurrentModificationExceptionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 11.6K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
* @param destZip the target zip file * @param srcFiles the mapping of relative path to the file */ private fun zip(destZip: File, srcFiles: List<Pair<String, File>>) { if (srcFiles.isEmpty()) { return } destZip.parentFile.mkdirs() ZipOutputStream(FileOutputStream(destZip), StandardCharsets.UTF_8).use { zipOutput ->Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 11 11:05:07 GMT 2026 - 14.3K bytes - Click Count (1) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jul 18 17:30:19 GMT 2025 - 11.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
FactoryMethodReturnsNullException { if (cls.isEnum()) { return; } List<? extends Invokable<?, ?>> factories = Lists.reverse(getFactories(TypeToken.of(cls))); if (factories.isEmpty()) { return; } int numberOfParameters = factories.get(0).getParameters().size(); List<ParameterNotInstantiableException> paramErrors = new ArrayList<>();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 32.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/score/QueryRescorerTest.java
queryRescorer = new QueryRescorer() { @Override public RescorerBuilder<?> evaluate(Map<String, Object> params) { if (params == null || params.isEmpty()) { return null; } return createMockRescorerBuilder(); } }; assertNull(queryRescorer.evaluate(Collections.emptyMap()));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.5K bytes - Click Count (0)