- Sort Score
- Result 10 results
- Languages All
Results 2611 - 2620 of 3,758 for null (0.03 sec)
-
api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Nullable.java
*/ package org.apache.maven.api.annotations; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; /** * The annotated element can be {@code null}. * * @see Nonnull * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.RUNTIME)
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Dec 10 21:43:27 UTC 2024 - 1.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Ascii.java
/* The ASCII control characters, per RFC 20. */ /** * Null ('\0'): The all-zeros character which may serve to accomplish time fill and media fill. * Normally used as a C string terminator. * * <p>Although RFC 20 names this as "Null", note that it is distinct from the C/C++ "NULL" * pointer. * * @since 8.0 */ public static final byte NUL = 0; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 21.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java
subscriber = createSubscriber(); EventBus bus = new EventBus(); bus.register(subscriber); bus.post(EVENT); } @Override protected void tearDown() throws Exception { subscriber = null; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LongAdderTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Unit tests for {@link LongAdder}. */ @NullUnmarked public class LongAdderTest extends TestCase { /** * No-op null-pointer test for {@link LongAdder} to override the {@link PackageSanityTests} * version, which checks package-private methods that we don't want to have to annotate as {@code * Nullable} because we don't want diffs from jsr166e.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/BaseComparable.java
this.s = s; } @Override public int hashCode() { // delegate to 's' return s.hashCode(); } @Override public boolean equals(@Nullable Object other) { if (other == null) { return false; } else if (other instanceof BaseComparable) { return s.equals(((BaseComparable) other).s); } else { return false; } } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilterTest.java
@Test void testEquals() { OrArtifactFilter filter1 = new OrArtifactFilter(); OrArtifactFilter filter2 = new OrArtifactFilter(Arrays.asList(newSubFilter())); assertFalse(filter1.equals(null)); assertTrue(filter1.equals(filter1)); assertEquals(filter1.hashCode(), filter1.hashCode()); assertFalse(filter1.equals(filter2)); assertFalse(filter2.equals(filter1)); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/SomeClassThatDoesNotUseNullable.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.testing.anotherpackage; /** Does not check null, but should not matter since it's in a different package. */ @SuppressWarnings("unused") // For use by NullPointerTester public class SomeClassThatDoesNotUseNullable { void packagePrivateButDoesNotCheckNull(String s) {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Apr 21 02:27:51 UTC 2017 - 1.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandleTest.java
// When MsrpcSamrCloseHandle msrpcSamrCloseHandle = new MsrpcSamrCloseHandle(mockPolicyHandle); // Then assertNotNull(msrpcSamrCloseHandle, "MsrpcSamrCloseHandle object should not be null"); assertEquals(0, msrpcSamrCloseHandle.getPtype(), "ptype should be 0"); assertEquals(MsrpcSamrCloseHandle.DCERPC_FIRST_FRAG | MsrpcSamrCloseHandle.DCERPC_LAST_FRAG, msrpcSamrCloseHandle.getFlags(),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacLogonInfo.java
final SID sid = pointers[i] != 0 ? pacStream.readSid() : null; extraSidAtts[i] = new PacSidAttributes(sid, attributes[i]); } } // ID for resource domain (used with relative IDs to get SIDs) SID resourceDomainId = null; if (resourceDomainIdPointer != 0) { resourceDomainId = pacStream.readSid();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
SmbConstants.DEFAULT_SHARING); // When & Then assertThrows(NullPointerException.class, () -> outputStream.write(null)); assertThrows(NullPointerException.class, () -> outputStream.write(null, 0, 10)); } @Test void testWriteInvalidOffsetAndLength() throws IOException, CIFSException { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)