Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1311 - 1320 of 3,735 for Null (0.05 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt

    @SuppressSignatureCheck
    sealed class ConnectionEvent {
      abstract val timestampNs: Long
      open val connection: Connection?
        get() = null
    
      /** Returns if the event closes this event, or null if this is no open event. */
      open fun closes(event: ConnectionEvent): Boolean? = null
    
      val name: String
        get() = javaClass.simpleName
    
      data class ConnectStart(
        override val timestampNs: Long,
        val route: Route,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/TestLogHandler.kt

      override fun apply(
        base: Statement,
        description: Description,
      ): Statement =
        object : Statement() {
          override fun evaluate() {
            beforeEach(null)
            try {
              base.evaluate()
            } finally {
              afterEach(null)
            }
          }
        }
    
      fun takeAll(): List<String> {
        val list = mutableListOf<String>()
        logs.drainTo(list)
        return list
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java

            assertEquals(Byte.valueOf("1"), NumberConversionUtil.convertPrimitiveWrapper(byte.class, "1"));
            assertEquals(Byte.valueOf("0"), NumberConversionUtil.convertPrimitiveWrapper(byte.class, null));
        }
    
        /**
         * @throws Exception
         */
        public void testFindFractionDelimeter() throws Exception {
            final String delim = NumberConversionUtil.findDecimalSeparator(Locale.JAPAN);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/GroupRepositoryMetadata.java

        }
    
        @Override
        public String getGroupId() {
            return groupId;
        }
    
        @Override
        public String getArtifactId() {
            return null;
        }
    
        @Override
        public String getBaseVersion() {
            return null;
        }
    
        public void addPluginMapping(String goalPrefix, String artifactId) {
            addPluginMapping(goalPrefix, artifactId, artifactId);
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/EmptyIteratorTest.java

                    assertNull(iterator1.next(), "First instance next() should return null");
                    assertNull(iterator2.next(), "Second instance next() should return null");
                    assertNull(iterator3.next(), "Third instance next() should return null");
                } catch (CIFSException e) {
                    throw new RuntimeException(e);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMultimap.java

         *     is null. The builder is left in an invalid state.
         */
        @CanIgnoreReturnValue
        public Builder<K, V> putAll(K key, Iterable<? extends V> values) {
          if (key == null) {
            throw new NullPointerException("null key in entry: null=" + Iterables.toString(values));
          }
          Iterator<? extends V> valuesItr = values.iterator();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

                assertNull(exception.getMessage());
            });
        }
    
        @Test
        @DisplayName("Should handle null cause gracefully")
        void testNullCause() {
            // When/Then
            assertDoesNotThrow(() -> {
                RuntimeCIFSException exception = new RuntimeCIFSException((Throwable) null);
                assertNull(exception.getCause());
            });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

      public void testNullMap() {
        assertThrows(NullPointerException.class, () -> ArrayBasedEscaperMap.create(null));
      }
    
      public void testEmptyMap() {
        Map<Character, String> map = ImmutableMap.of();
        ArrayBasedEscaperMap fem = ArrayBasedEscaperMap.create(map);
        // Non-null array of zero length.
        assertThat(fem.getReplacementArray()).isEmpty();
      }
    
      public void testMapLength() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 15:41:04 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

                final CredentialsInternal renewed = renewable.renew();
                if (renewed != null) {
                    this.creds = renewed;
                    return true;
                }
            }
            final NtlmAuthenticator auth = NtlmAuthenticator.getDefault();
            if (auth != null) {
                final NtlmPasswordAuthenticator newAuth =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerPrivate.java

    public interface ToolchainManagerPrivate {
    
        /**
         * Retrieves every toolchains of given type available in user settings.
         *
         * @param type the type, must not be {@code null}
         * @param context the Maven session, must not be {@code null}
         * @since 3.0 (addition of the <code>MavenSession</code> parameter)
         */
        ToolchainPrivate[] getToolchainsForType(String type, MavenSession context) throws MisconfiguredToolchainException;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top