Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 3,758 for null (0.03 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

        int expectedHashCode = 0;
        for (E element : elements) {
          expectedHashCode += (element == null) ? 0 : element.hashCode();
        }
    
        elements.add(null);
        collection = getSubjectGenerator().create(elements.toArray());
        assertEquals(
            "A Set's hashCode() should be the sum of those of its elements (with "
                + "a null element counting as having a hash of zero).",
            expectedHashCode,
            getSet().hashCode());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

        }
    
        /**
         * Get the access token from the request.
         * @param request The request.
         * @return The access token.
         */
        public String getAccessTokenFromRequest(final HttpServletRequest request) {
            final String token = request.getHeader("Authorization");
            if (token != null) {
                final String[] values = token.trim().split(" ");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

        initMapWithNullValue();
    
        getMap().forcePut(k1(), null);
    
        expectContents(mapEntry(k1(), (V) null));
    
        assertFalse(getMap().containsKey(k0()));
    
        assertTrue(getMap().containsKey(k1()));
        assertTrue(getMap().inverse().containsKey(null));
        assertNull(getMap().get(k1()));
        assertEquals(k1(), getMap().inverse().get(null));
        assertEquals(1, getMap().size());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

        int initialSize = collection.size();
        assertTrue("remove(null) should return true", collection.remove(null));
        assertEquals(
            "remove(present) should decrease a collection's size by one.",
            initialSize - 1,
            collection.size());
        expectMissing((E) null);
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 21:04:02 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/zip/ZipFileUtil.java

        /**
         * Returns an input stream for reading the contents of the specified Zip file entry.
         *
         * @param file
         *            Zip file. Must not be {@literal null}.
         * @param entry
         *            Zip file entry. Must not be {@literal null}.
         * @return An input stream for reading the contents of the specified Zip file entry.
         */
        public static InputStream getInputStream(final ZipFile file, final ZipEntry entry) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         */
        @Override
        public CommonServerMessageBlockRequest split() {
            return null;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#createCancel()
         */
        @Override
        public CommonServerMessageBlockRequest createCancel() {
            return null;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
Back to top