Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2591 - 2600 of 3,989 for Null (0.04 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt

    class AsyncRequestBody : RequestBody() {
      private val requestBodySinks: BlockingQueue<BufferedSink> = LinkedBlockingQueue()
    
      override fun contentType(): MediaType? = null
    
      override fun writeTo(sink: BufferedSink) {
        requestBodySinks.add(sink)
      }
    
      override fun isDuplex(): Boolean = true
    
      @Throws(InterruptedException::class)
      fun takeSink(): BufferedSink {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Case.kt

     * single story.  This class is used reflectively with Moshi to parse stories.
     */
    data class Case(
      val seqno: Int = 0,
      val wire: ByteString? = null,
      val headers: List<Map<String, String>>,
    ) : Cloneable {
      val headersList: List<Header>
        get() {
          val result = mutableListOf<Header>()
          for (inputHeader in headers) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LongAdderTest.java

    import static com.google.common.truth.Truth.assertThat;
    
    import junit.framework.TestCase;
    
    /** Unit tests for {@link LongAdder}. */
    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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 04:11:29 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 20 11:19:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbAuthException.java

     */
    
    public class SmbAuthException extends SmbException {
    
        SmbAuthException( int errcode ) {
            super( errcode, null );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/GoalSupport.java

            this.messageBuilderFactory = messageBuilderFactory;
            this.secDispatcher = secDispatcher;
        }
    
        protected boolean configExists() throws IOException {
            return secDispatcher.readConfiguration(false) != null;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/ActivationFileTest.java

    class ActivationFileTest {
    
        @Test
        void testHashCodeNullSafe() {
            new ActivationFile().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new ActivationFile().equals(null));
    
            new ActivationFile().equals(new ActivationFile());
        }
    
        @Test
        void testEqualsIdentity() {
            ActivationFile thing = new ActivationFile();
            assertTrue(thing.equals(thing));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/ActivationTest.java

     */
    class ActivationTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Activation().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Activation().equals(null));
    
            new Activation().equals(new Activation());
        }
    
        @Test
        void testEqualsIdentity() {
            Activation thing = new Activation();
            assertTrue(thing.equals(thing));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/CiManagementTest.java

     */
    class CiManagementTest {
    
        @Test
        void testHashCodeNullSafe() {
            new CiManagement().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new CiManagement().equals(null));
    
            new CiManagement().equals(new CiManagement());
        }
    
        @Test
        void testEqualsIdentity() {
            CiManagement thing = new CiManagement();
            assertTrue(thing.equals(thing));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/DeploymentRepositoryTest.java

        @Test
        void testHashCodeNullSafe() {
            new DeploymentRepository().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new DeploymentRepository().equals(null));
    
            new DeploymentRepository().equals(new DeploymentRepository());
        }
    
        @Test
        void testEqualsIdentity() {
            DeploymentRepository thing = new DeploymentRepository();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top