Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1391 - 1400 of 3,735 for Null (0.02 sec)

  1. guava/src/com/google/common/escape/UnicodeEscaper.java

          }
          // It is possible for this to return null because nextEscapeIndex() may
          // (for performance reasons) yield some false positives but it must never
          // give false negatives.
          char[] escaped = escape(cp);
          int nextIndex = index + (Character.isSupplementaryCodePoint(cp) ? 2 : 1);
          if (escaped != null) {
            int charsSkipped = index - unescapedChunkStart;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/BufferCacheImplTest.java

        }
    
        // Edge: releasing null must be a no-op without exceptions
        @Test
        @DisplayName("releaseBuffer(null) is a no-op and does not throw")
        void releaseNullIsNoop() {
            BufferCacheImpl impl = new BufferCacheImpl(1, 4);
            assertDoesNotThrow(() -> impl.releaseBuffer(null));
            // Subsequent get should still work
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Equivalence.java

       * {@link Equivalence#equivalent} returns {@code true} if both values are null, or if neither
       * value is null and {@link Object#equals} returns {@code true}. {@link Equivalence#hash} returns
       * {@code 0} if passed a null value.
       *
       * @since 13.0
       * @since 8.0 (in Equivalences with null-friendly behavior)
       * @since 4.0 (in Equivalences)
       */
      public static Equivalence<Object> equals() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

            assertEquals("1test user", sambaHelper.getAccountId(USER_SID));
    
        }
    
        private static final SID USER_SID = new SID() {
    
            @Override
            public SID getDomainSid() {
                return null;
            }
    
            @Override
            public int getRid() {
                return 0;
            }
    
            @Override
            public String toDisplayString() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

      public void testSetCount_removeNull_nullSupported() {
        initCollectionWithNullElement();
        assertSetCount(null, 0);
      }
    
      @CollectionFeature.Require(
          value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES},
          absent = RESTRICTS_ELEMENTS)
      public void testSetCount_addNull_nullSupported() {
        assertSetCount(null, 1);
      }
    
      @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/Cache.java

     * @param <V> the type of the cache's values, which are not permitted to be null
     * @author Charles Fry
     * @since 10.0
     */
    @DoNotMock("Use CacheBuilder.newBuilder().build()")
    @GwtCompatible
    public interface Cache<K, V> {
    
      /**
       * Returns the value associated with {@code key} in this cache, or {@code null} if there is no
       * cached value for {@code key}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java

                final BytesRef lowerTerm = termRangeQuery.getLowerTerm();
                queryBuf.append(lowerTerm != null ? "*".equals(Term.toString(lowerTerm)) ? "\\*" : Term.toString(lowerTerm) : "*");
                queryBuf.append(" TO ");
                final BytesRef upperTerm = termRangeQuery.getUpperTerm();
                queryBuf.append(upperTerm != null ? "*".equals(Term.toString(upperTerm)) ? "\\*" : Term.toString(upperTerm) : "*");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

        void constructor_shouldHandleNullPolicyHandle() {
            // Arrange
            LsaPolicyHandle nullHandle = null;
            short level = 1;
    
            // Act
            queryPolicy = new MsrpcQueryInformationPolicy(nullHandle, level, mockNdrObject);
    
            // Assert
            assertNotNull(queryPolicy);
            assertEquals(null, queryPolicy.handle);
        }
    
        @Test
        void constructor_shouldHandleNullNdrObject() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. api/maven-api-cli/src/main/mdo/core-extensions.mdo

         *
         * @return The extension id in the form {@code <groupId>:<artifactId>:<version>}, never {@code null}.
         */
        public String getId() {
            return (getGroupId() == null ? "[unknown-group-id]" : getGroupId())
                + ":" + (getArtifactId() == null ? "[unknown-artifact-id]" : getArtifactId())
                + ":" + (getVersion() == null ? "[unknown-version]" : getVersion());
        }
                ]]>
              </code>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

        }
    
        @Test
        public void testNullUsername() throws Exception {
            // Null username should be handled gracefully
            assertTrue(rateLimiter.checkAttempt(null, "192.168.1.8"), "Null username should be allowed");
    
            // Should not affect IP limiting
            rateLimiter.recordFailure(null, "192.168.1.8");
            assertTrue(rateLimiter.checkAttempt("realuser", "192.168.1.8"), "Should still track IP");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top