- Sort Score
- Num 10 results
- Language All
Results 571 - 580 of 1,917 for empty (0.02 seconds)
-
src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java
*/ public class CustomSizeValidator implements ConstraintValidator<CustomSize, CharSequence> { /** * Default constructor. */ public CustomSizeValidator() { // Empty constructor } private int min = 0; private int max = Integer.MAX_VALUE; private String message; @Override public void initialize(final CustomSize constraintAnnotation) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java
*/ @Test public void testGuessContentType() { exception.expect(EmptyArgumentException.class); exception.expectMessage(is("[ECL0010]argument[path] is null or empty string.")); MimeTypeUtil.guessContentType(null); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.7K bytes - Click Count (0) -
internal/bucket/replication/tag.go
errInvalidTagValue = Errorf("The TagValue you have provided is invalid") ) func (tag Tag) String() string { return tag.Key + "=" + tag.Value } // IsEmpty returns whether this tag is empty or not. func (tag Tag) IsEmpty() bool { return tag.Key == "" } // Validate checks this tag. func (tag Tag) Validate() error { if len(tag.Key) == 0 || utf8.RuneCountInString(tag.Key) > 128 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.6K bytes - Click Count (0) -
src/main/java/jcifs/BufferCache.java
* * @author mbechler * * <p>This interface is intended for internal use.</p> */ public interface BufferCache { /** * Gets a buffer from the cache or creates a new one if the cache is empty. * * @return a buffer from the cache, or a new one */ byte[] getBuffer(); /** * Return a buffer to the cache * * @param buf the buffer to return to the cache for reuseCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
bean.setCronExpression(null); Set<ConstraintViolation<TestBean>> violations = validator.validate(bean); assertTrue(violations.isEmpty()); // Test empty string (should be valid) bean.setCronExpression(""); violations = validator.validate(bean); assertTrue(violations.isEmpty()); // Test blank string (should be valid)
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
.put(Locale.class, Locale.US) .put(Optional.class, Optional.empty()) .put(OptionalInt.class, OptionalInt.empty()) .put(OptionalLong.class, OptionalLong.empty()) .put(OptionalDouble.class, OptionalDouble.empty()) .put(UUID.class, UUID.randomUUID()) // common.base .put(CharMatcher.class, CharMatcher.none())
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 21.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
} @GwtIncompatible // SerializableTester public void testSerialization() { ContiguousSet<Integer> empty = ContiguousSet.create(Range.closedOpen(1, 1), integers()); assertTrue(empty instanceof EmptyContiguousSet); reserializeAndAssert(empty); ContiguousSet<Integer> regular = ContiguousSet.create(Range.closed(1, 3), integers()); assertTrue(regular instanceof RegularContiguousSet);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 19.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
* Removes and returns the least element of this queue, or returns {@code null} if the queue is * empty. */ @CanIgnoreReturnValue public @Nullable E pollFirst() { return poll(); } /** * Removes and returns the least element of this queue. * * @throws NoSuchElementException if the queue is empty */ @CanIgnoreReturnValue public E removeFirst() { return remove(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
private TestingExecutors() {} /** * Returns a {@link ScheduledExecutorService} that never executes anything. * * <p>The {@code shutdownNow} method of the returned executor always returns an empty list despite * the fact that everything is still technically awaiting execution. The {@code getDelay} method * of any {@link ScheduledFuture} returned by the executor will always return the max long value
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 6.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
setField(cmd, "locks", new LockingAndXRange[] { new LockingAndXRange(false) }); setField(cmd, "largeFile", false); // create a buffer that is empty, readBytesWireFormat should throw byte[] buffer = new byte[0]; assertThrows(ArrayIndexOutOfBoundsException.class, () -> cmd.readBytesWireFormat(buffer, 0)); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0)