Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 3,278 for nulls (0.22 sec)

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            if (entry == null)
                return false;
    
            LeaseManager.LeaseEntry leaseEntry = baseLeaseManager.getLease(entry.getLeaseKey());
            return leaseEntry != null && leaseEntry.hasReadCache();
        }
    
        /**
         * Get cached directory listing
         *
         * @param directoryPath directory path
         * @return list of cached files or null
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/HandlerTest.java

            factoryField.setAccessible(true);
            factoryField.set(null, null);
    
            // Clear the protocol handlers cache
            Field handlersField = Handler.class.getDeclaredField("PROTOCOL_HANDLERS");
            handlersField.setAccessible(true);
            @SuppressWarnings("unchecked")
            Map<String, URLStreamHandler> handlers = (Map<String, URLStreamHandler>) handlersField.get(null);
            handlers.clear();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            // Test constructor with null message
            FessSystemException exception = new FessSystemException((String) null);
    
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullCause() {
            // Test constructor with null cause
            String message = "Test with null cause";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

            return toFloat(o, null);
        }
    
        /**
         * Converts to {@link Float}.
         *
         * @param o
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@link Float}
         */
        public static Float toFloat(final Object o, final String pattern) {
            if (o == null) {
                return null;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            this.sessionKey = sessionKey != null ? sessionKey.clone() : null;
            this.preauthIntegrityHash = preauthHash != null ? preauthHash.clone() : null;
    
            // Generate unique session ID for key management
            this.sessionId = String.format("smb-enc-%d-%d", System.currentTimeMillis(), secureRandom.nextLong());
    
            if (keyManager != null) {
                // Store keys securely
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java

        assertNull("get(notPresent) should return null", get(k3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testGet_nullNotContainedButAllowed() {
        assertNull("get(null) should return null", get(null));
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
      public void testGet_nullNotContainedAndUnsupported() {
        try {
          assertNull("get(null) should return null or throw", get(null));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            // Create item and then set inputs to null via reflection or subclass
            CharMappingItem item = new CharMappingItem(1L, new String[] { "temp" }, "output") {
                @Override
                public String getInputsValue() {
                    // Simulate null inputs scenario
                    if (getInputs() == null) {
                        return super.getInputsValue();
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java

        assertNull("getOrDefault(absent, null) should return null", getMap().getOrDefault(k3(), null));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testGetOrDefault_absentNull() {
        assertEquals(
            "getOrDefault(null, def) should return the default value",
            v3(),
            getMap().getOrDefault(null, v3()));
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/BooleanFunctionTest.java

            BooleanFunction<String> isNotEmpty = s -> s != null && !s.isEmpty();
    
            assertTrue(isNotEmpty.apply("test"));
            assertTrue(isNotEmpty.apply("a"));
            assertFalse(isNotEmpty.apply(""));
            assertFalse(isNotEmpty.apply(null));
        }
    
        public void test_apply_integer() {
            BooleanFunction<Integer> isPositive = n -> n != null && n > 0;
    
            assertTrue(isPositive.apply(1));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

            // Test with both URLs as null
            String parentUrl = null;
            String url = null;
            ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url);
    
            assertNotNull(exception);
            assertEquals("Not Found: null Parent: null", exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withEmptyUrls() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top