- Sort Score
- Result 10 results
- Languages All
Results 1221 - 1230 of 3,758 for null (0.02 sec)
-
src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java
assertTrue(fessUserBean.hasRole("user")); assertTrue(fessUserBean.hasRole("manager")); assertFalse(fessUserBean.hasRole("guest")); // Test with null check assertFalse(fessUserBean.hasRole(null)); } public void test_hasRoles() { // Test with no roles testUser.setRoleNames(new String[] {});
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
// manually add elements to avoid expansion // 1/3 null keys, 1/3 null values int originalCount = 1024; InternalEntry<Object, Object, ?> entry = null; for (int i = 0; i < originalCount; i++) { Object key = new Object(); Object value = (i % 3 == 0) ? null : new Object(); int hash = map.hash(key); if (i % 3 == 1) { key = null; }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 35.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
// manually add elements to avoid expansion // 1/3 null keys, 1/3 null values int originalCount = 1024; InternalEntry<Object, Object, ?> entry = null; for (int i = 0; i < originalCount; i++) { Object key = new Object(); Object value = (i % 3 == 0) ? null : new Object(); int hash = map.hash(key); if (i % 3 == 1) { key = null; }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 35.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java
assertFalse(exception.aborted()); } public void test_constructor_withAllNullParameters() { // Test with all null parameters except abort String url = null; String message = null; Exception cause = null; boolean abort = true; DataStoreCrawlingException exception = new DataStoreCrawlingException(url, message, cause, abort);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt
val sslContextClass = Class.forName("sun.security.ssl.SSLContextImpl") val context = readFieldOrNull(sslSocketFactory, sslContextClass, "context") ?: return null readFieldOrNull(context, X509TrustManager::class.java, "trustManager") } catch (e: ClassNotFoundException) { null } catch (e: RuntimeException) { // Throws InaccessibleObjectException (added in JDK9) on JDK 17 due to
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
* the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}. * * @param message message to use upon assertion failure */ protected void expectNullKeyMissingWhenNullKeysUnsupported(String message) { try { assertFalse(message, getMap().containsKey(null)); } catch (NullPointerException tolerated) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
} @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ @Test public void testToDate_Null() throws Exception { assertThat(toDate(null), is(nullValue())); } /** * @throws Exception */ @TestRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 9.4K bytes - Viewed (0) -
src/packaging/common/scripts/preinst
# Create fess group if not existing if ! getent group "$FESS_GROUP" > /dev/null 2>&1 ; then echo -n "Creating $FESS_GROUP group..." addgroup --quiet --system "$FESS_GROUP" echo " OK" fi # Create fess user if not existing if ! id $FESS_USER > /dev/null 2>&1 ; then echo -n "Creating $FESS_USER user..." adduser --quiet \Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Dec 01 09:48:15 UTC 2016 - 2.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
assertNotSame(component, component2); } /** * Test creation with null component name */ public void test_create_nullComponentName() { factory.setComponentName(null); try { factory.create(); fail("Should throw exception for null component name"); } catch (Exception e) { // Expected behavior
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
if (data == null) { throw new CIFSException("Data cannot be null"); } return compress(data, 0, data.length, algorithm); } @Override public byte[] compress(byte[] data, int offset, int length, int algorithm) throws CIFSException { if (data == null) { throw new CIFSException("Data cannot be null"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0)