- Sort Score
- Num 10 results
- Language All
Results 1981 - 1990 of 4,689 for nulls (0.02 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
Collection<E> elements = getSampleElements(getNumElements() - 1); elements.add(null); collection = getSubjectGenerator().create(elements.toArray()); assertTrue( "A Set should equal any other Set containing the same elements," + " even if some elements are null.", getSet().equals(MinimalSet.from(elements))); } @CollectionSize.Require(absent = CollectionSize.ZERO)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.6K bytes - Click Count (0) -
android/guava/src/com/google/common/xml/ParametricNullness.java
* typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.) * <li>methods whose return type is a type variable but which can return {@code null} regardlessCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 16:20:21 GMT 2024 - 3.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
originalSystemHelper = ComponentUtil.hasComponent("systemHelper") ? ComponentUtil.getSystemHelper() : null; originalProcessHelper = ComponentUtil.hasComponent("processHelper") ? ComponentUtil.getProcessHelper() : null; originalJobHelper = ComponentUtil.hasComponent("jobHelper") ? ComponentUtil.getJobHelper() : null; // Register mock helpers ComponentUtil.register(new SystemHelper() { @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.8K bytes - Click Count (0) -
build-logic/src/main/kotlin/AlpnVersions.kt
in 191..242 -> "8.1.13.v20181017" else -> null } /** * Returns the alpn-boot version specific to this OpenJDK 8 JVM, or null if this is not a Java 8 VM. * https://github.com/xjdr/xio/blob/master/alpn-boot.gradle */ fun alpnBootVersion(): String? { val version = System.getProperty("alpn.boot.version") if (version != null) { return version }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 01 16:35:35 GMT 2026 - 1.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt
.plus(String::class, "a") .plus(String::class, null) .plus(Integer::class, null) .plus(Boolean::class, null) assertThat(tags).isEqualTo(EmptyTags) assertThat(tags.toString()).isEqualTo("{}") } @Test fun removeAbsentFromEmpty() { val tags = EmptyTags.plus(String::class, null) assertThat(tags).isEqualTo(EmptyTags)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Oct 24 11:37:46 GMT 2025 - 7.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
* Returns an arbitrary instance for {@code type}, or {@code null} if no arbitrary instance can be * determined. */ public static <T> @Nullable T get(Class<T> type) { T defaultValue = DEFAULTS.getInstance(type); if (defaultValue != null) { return defaultValue; } Class<? extends T> implementation = getImplementation(type); if (implementation != null) { return get(implementation); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 20.9K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/samr.java
} @Override public void encode_in(final NdrBuffer _dst) throws NdrException { _dst.enc_ndr_referent(this.system_name, 1); if (this.system_name != null) { _dst.enc_ndr_string(this.system_name); } _dst.enc_ndr_long(this.access_mask); } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 23.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java
} @Override public void encode_in(final NdrBuffer _dst) throws NdrException { _dst.enc_ndr_referent(system_name, 1); if (system_name != null) { _dst.enc_ndr_string(system_name); } _dst.enc_ndr_long(access_mask); } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 23.1K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
} @Test @DisplayName("Should throw exception when encoding null UUID") void testPolicyHandleEncodeNullUuidThrowsException() { // Given: A policy handle with null UUID rpc.policy_handle policyHandle = new rpc.policy_handle(); policyHandle.type = 123; policyHandle.uuid = null; // When/Then: Should throw NdrExceptionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java
public void testCount_nullAbsent() { assertEquals("multiset.count(null) didn't return 0", 0, getMultiset().count(null)); } @CollectionFeature.Require(absent = ALLOWS_NULL_QUERIES) public void testCount_null_forbidden() { assertThrows(NullPointerException.class, () -> getMultiset().count(null)); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(ALLOWS_NULL_VALUES)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.6K bytes - Click Count (0)