- Sort Score
- Result 10 results
- Languages All
Results 1391 - 1400 of 3,758 for null (0.02 sec)
-
src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java
*/ @Test void testNoNullRefConstant() { assertNotNull(NdrException.NO_NULL_REF, "NO_NULL_REF constant should not be null."); assertEquals("ref pointer cannot be null", NdrException.NO_NULL_REF, "NO_NULL_REF constant should have the expected value."); } /** * Test the INVALID_CONFORMANCE static field.Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/sql/DriverManagerUtil.java
*/ public static void registerDriver(final Class<Driver> driverClass) { assertArgumentNotNull("driverClass", driverClass); registerDriver(ClassUtil.newInstance(driverClass)); } /** * Registers a JDBC driver. * * @param driver * The JDBC driver to register. Must not be {@literal null}. */Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.2K bytes - Viewed (0) -
tests/default_value_test.go
import ( "testing" "time" "gorm.io/gorm" ) func TestDefaultValue(t *testing.T) { type Harumph struct { gorm.Model Email string `gorm:"not null;index:,unique"` Name string `gorm:"notNull;default:foo"` Name2 string `gorm:"size:233;not null;default:'foo'"` Name3 string `gorm:"size:233;notNull;default:''"` Age int `gorm:"default:18"` Created time.Time `gorm:"default:2000-01-02"`
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Apr 08 03:29:55 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java
private static final Object OBJECT = new Object(); public void testNewReference() throws Exception { assertEquals(null, Atomics.newReference().get()); } public void testNewReference_withInitialValue() throws Exception { assertEquals(null, Atomics.newReference(null).get()); assertEquals(OBJECT, Atomics.newReference(OBJECT).get()); } public void testNewReferenceArray_withLength() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/BigDecimalConversionUtil.java
return toBigDecimal(o, null); } /** * Converts to {@link BigDecimal}. * * @param o * The object to convert * @param pattern * The pattern string * @return The converted {@link BigDecimal} */ public static BigDecimal toBigDecimal(final Object o, final String pattern) { if (o == null) { return null;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolver.java
* * @param session The repository session, must not be {@code null}. * @param artifactCoordinates The artifact coordinates for which the version needs to be resolved, must not be {@code null} * @return The version result, never {@code null}. * @throws VersionResolverException If the metaversion could not be resolved. */ @NonnullRegistered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
this.text = String.join(SuggestConstants.TEXT_SEPARATOR, text); this.readings = readings; this.fields = fields != null ? fields : new String[] {}; this.tags = tags != null ? tags : new String[] {}; if (roles == null || roles.length == 0) { this.roles = new String[] { SuggestConstants.DEFAULT_ROLE }; } else { this.roles = new String[roles.length];
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 25.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SambaHelperTest.java
assertEquals("1test user", sambaHelper.getAccountId(USER_SID)); } private static final SID USER_SID = new SID() { @Override public SID getDomainSid() { return null; } @Override public int getRid() { return 0; } @Override public String toDisplayString() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/Cache.java
* @param <V> the type of the cache's values, which are not permitted to be null * @author Charles Fry * @since 10.0 */ @DoNotMock("Use CacheBuilder.newBuilder().build()") @GwtCompatible public interface Cache<K, V> { /** * Returns the value associated with {@code key} in this cache, or {@code null} if there is no * cached value for {@code key}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
} @Test @DisplayName("setOverrideTimeout should handle null value") void testSetOverrideTimeoutNull() { testRequest.setOverrideTimeout(5000); testRequest.setOverrideTimeout(null); assertNull(testRequest.getOverrideTimeout()); } } @Nested @DisplayName("Cancel Request Tests")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0)