Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1561 - 1570 of 3,735 for Null (0.02 sec)

  1. src/main/java/org/codelibs/core/collection/EnumerationIterator.java

     */
    public class EnumerationIterator<T> implements Iterator<T> {
    
        private Enumeration<T> enumeration = null;
    
        /**
         * Returns an {@link Iterable} that wraps an {@link Enumeration} for use in a for-each statement.
         *
         * @param <T> the element type
         * @param enumeration the enumeration (must not be {@literal null})
         * @return an {@link Iterable} wrapping the enumeration
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/MethodDesc.java

         */
        Class<?> getValueClassOfMap(int index);
    
        /**
         * Returns the element type if the return type of the method is a parameterized {@link Collection}.
         *
         * @return the element type if the return type of the method is a parameterized {@link Collection}, otherwise {@literal null}
         */
        Class<?> getElementClassOfCollection();
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                        ntHash = auth.getUnicodeHash(session.transport.server.encryptionKey);
                        // prohibit HTTP auth attempts for the null session
                        if (lmHash.length == 0 && ntHash.length == 0) {
                            throw new RuntimeException("Null setup prohibited.");
                        }
                    } else if (DISABLE_PLAIN_TEXT_PASSWORDS) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt

      body: ByteString?,
      connectionIndex: Int,
      exchangeIndex: Int,
      socket: MockWebServerSocket,
      failure: IOException? = null,
    ): RecordedRequest {
      val requestUrl =
        when (requestLine.method) {
          "CONNECT" -> "${socket.scheme}://${requestLine.target}/".toHttpUrlOrNull()
          else -> null
        }
          ?: requestLine.target.toHttpUrlOrNull()
          ?: requestUrl(socket, requestLine, headers)
    
      return RecordedRequest(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 12:43:16 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt

        for (entry in list) {
          var failure: Throwable? = null
          try {
            testToAscii(entry.input!!, entry.output, entry.comment)
          } catch (e: Throwable) {
            failure = e
          }
    
          if (entry.input in knownFailures) {
            if (failure == null) failures += AssertionError("known failure didn't fail: $entry")
          } else {
            if (failure != null) failures += failure
          }
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

        val mainMethod =
          Class
            .forName(className)
            .methods
            .find { it.name == "main" }
        try {
          if (mainMethod != null) {
            if (mainMethod.parameters.isEmpty()) {
              mainMethod.invoke(null)
            } else {
              mainMethod.invoke(null, arrayOf<String>())
            }
          } else {
            System.err.println("No main for $className")
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadata.java

        /**
         * Gets the policy that applies to this metadata regarding the specified repository.
         *
         * @param repository The repository for which to determine the policy, must not be {@code null}.
         * @return The policy, never {@code null}.
         */
        ArtifactRepositoryPolicy getPolicy(ArtifactRepository repository);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

        }
    
        @Test
        @DisplayName("DOS_ERROR_CODES is non‑null and non‑empty")
        void testCodesArrayExistence() {
            assertNotNull(DosError.DOS_ERROR_CODES, "DOS_ERROR_CODES should be non‑null");
            assertTrue(DosError.DOS_ERROR_CODES.length > 0, "DOS_ERROR_CODES should contain at least one mapping");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

            if (bufferManager != null) {
                bufferManager.cleanup();
            }
            if (mocks != null) {
                mocks.close();
            }
        }
    
        @Test
        public void testGetSendRegion() throws Exception {
            RdmaMemoryRegion region = bufferManager.getSendRegion(1024);
            assertNotNull(region, "Send region should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

            if (pointer == 0) {
                return null; // NULL pointer
            }
    
            int maxCount = buf.dec_ndr_long();
            int offset = buf.dec_ndr_long();
            int actualCount = buf.dec_ndr_long();
    
            if (actualCount <= 0) {
                return "";
            }
    
            // Read wide string data (UTF-16LE)
            int byteCount = (actualCount - 1) * 2; // Exclude null terminator
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
Back to top