- Sort Score
- Result 10 results
- Languages All
Results 851 - 860 of 945 for useEmpty (0.31 sec)
-
internal/event/target/elasticsearch.go
Password string `json:"password"` } // Validate ElasticsearchArgs fields func (a ElasticsearchArgs) Validate() error { if !a.Enable { return nil } if a.URL.IsEmpty() { return errors.New("empty URL") } if a.Format != "" { f := strings.ToLower(a.Format) if f != event.NamespaceFormat && f != event.AccessFormat { return errors.New("format value unrecognized") }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 15K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
// When byte[] result = Strings.getBytes(input, StandardCharsets.UTF_8); // Then assertNotNull(result, "Result should never be null"); if (input == null || input.isEmpty()) { assertEquals(0, result.length, "Null or empty input should produce empty array"); } else { assertTrue(result.length > 0, "Non-empty input should produce non-empty array");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
void testNotifyResponseInterface() { // Then assertTrue(response instanceof NotifyResponse); assertNotNull(response.getNotifyInformation()); assertTrue(response.getNotifyInformation().isEmpty()); } @Test @DisplayName("Should handle maximum buffer size") void testMaximumBufferSize() throws Exception { // Given - large buffer with many notifications
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
return toByteArray(this); } /** * Checks whether the SID is empty (no sub-authorities). * * @return whether the SID is empty (no sub-authorities) */ public boolean isEmpty() { return this.sub_authority_count == 0; } /** * Checks whether the SID is blank (all sub-authorities zero). * * @return whether the SID is blank (all sub-authorities zero)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16K 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("Deleting disabled index (no aliases): index={}", s); }Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 21.6K bytes - Viewed (3) -
src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java
cb.query().setConfigId_Equal(configId); cb.query().setErrorCount_GreaterEqual(count); cb.fetchFirst(fessConfig.getPageFailureUrlMaxFetchSizeAsInteger()); }); if (list.isEmpty()) { return Collections.emptyList(); } Pattern pattern = null; if (StringUtil.isNotBlank(ignoreFailureType)) { pattern = Pattern.compile(ignoreFailureType);
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 19.5K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
val calls = connection.calls val index = calls.indexOfFirst { it.get() == this@RealCall } check(index != -1) calls.removeAt(index) this.connection = null if (calls.isEmpty()) { connection.idleAtNs = System.nanoTime() if (connectionPool.connectionBecameIdle(connection)) { return connection.socket() } } return null }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 19.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Longs.java
* Character.MAX_RADIX} * @throws NullPointerException if {@code string} is {@code null} * @since 19.0 */ public static @Nullable Long tryParse(String string, int radix) { if (checkNotNull(string).isEmpty()) { return null; } if (radix < Character.MIN_RADIX || radix > Character.MAX_RADIX) { throw new IllegalArgumentException( "radix must be between MIN_RADIX and MAX_RADIX but was " + radix);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 29K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
} private static <E> ImmutableSortedMultiset<E> copyOfSortedEntries( Comparator<? super E> comparator, Collection<Entry<E>> entries) { if (entries.isEmpty()) { return emptyMultiset(comparator); } ImmutableList.Builder<E> elementsBuilder = new ImmutableList.Builder<>(entries.size()); long[] cumulativeCounts = new long[entries.size() + 1]; int i = 0;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 35.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterators.java
queue.add(new IndexedIterator<>(peekingIterator(iterator), index++)); } } } @Override public boolean hasNext() { return !queue.isEmpty(); } @Override @ParametricNullness public T next() { IndexedIterator<T> nextIndexed = queue.remove(); PeekingIterator<T> nextIter = nextIndexed.iterator;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 12:42:11 UTC 2025 - 51.4K bytes - Viewed (0)