Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 3,735 for Null (0.03 sec)

  1. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

            // Act & Assert
            assertNotNull(impl, "Implementation instance should not be null");
            assertTrue(SessionSetupHandler.class.isInstance(impl), "Instance should be assignable to interface");
            assertTrue(SessionSetupHandler.class.isAssignableFrom(impl.getClass()), "Type should be assignable");
        }
    
        @Test
        @DisplayName("Edge: null is not an instance of the interface")
        void testNullIsNotInstance() {
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/persistent/HandleInfoTest.java

        public void testHandleInfoExpiration() {
            // Test durable handle expiration
            HandleInfo durableInfo = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.DURABLE_V2, 100, // 100ms timeout
                    null);
    
            assertFalse(durableInfo.isExpired());
    
            // Wait for expiration
            try {
                Thread.sleep(150);
            } catch (InterruptedException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

         */
        public static Long toLong(final Object o, final String pattern) {
            return switch (o) {
            case null -> null;
            case Long l -> l;
            case Number n -> n.longValue();
            case String s -> toLong(s);
            case java.util.Date d -> pattern != null ? Long.valueOf(new SimpleDateFormat(pattern).format(d)) : d.getTime();
            case Boolean b -> b ? 1L : 0L;
            default -> toLong(o.toString());
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java

        }
    
        @Nested
        @DisplayName("writeParameterWordsWireFormat tests")
        class WriteParameterWords {
    
            @Test
            @DisplayName("Returns 0 with null array")
            void nullArray() {
                assertEquals(0, response.writeParameterWordsWireFormat(null, 0));
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 5, 9 })
            @DisplayName("Returns 0 with valid array and various indices")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

            synchronized (Deferred.this) {
                if (response != null || error != null) {
                    return;
                }
                response = r;
    
                executeCallbacks = new ArrayList<>(doneCallbacks.size());
                Consumer<RESPONSE> callback;
                while ((callback = doneCallbacks.poll()) != null) {
                    executeCallbacks.add(callback);
                }
            }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                        isInit.set(true);
                    }
                }
            }
    
            // start
            AccessTimeoutTarget accessTimeoutTarget = null;
            TimeoutTask accessTimeoutTask = null;
            if (accessTimeout != null) {
                accessTimeoutTarget = new AccessTimeoutTarget(Thread.currentThread());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                final String filename = getDecodeText(bodyPart.getFileName());
                final String mimeType = mimeTypeHelper.getContentType(null, filename);
                if (mimeType != null) {
                    final Extractor extractor = extractorFactory.getExtractor(mimeType);
                    if (extractor != null) {
                        try (final InputStream in = bodyPart.getInputStream()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

        public void run() {
          // If either of these reads return null then we must be after a successful cancel or another
          // call to this method.
          TimeoutFuture<V> timeoutFuture = timeoutFutureRef;
          if (timeoutFuture == null) {
            return;
          }
          @RetainedLocalRef ListenableFuture<V> delegate = timeoutFuture.delegateRef;
          if (delegate == null) {
            return;
          }
    
          /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java

            return toDouble(o, null);
        }
    
        /**
         * Converts to {@link Double}.
         *
         * @param o
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@link Double}
         */
        public static Double toDouble(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)
  10. android/guava/src/com/google/common/collect/ImmutableList.java

       * comparably to {@link Collections#singletonList}, but will not accept a null element. It is
       * preferable mainly for consistency and maintainability of your code.
       *
       * @throws NullPointerException if the element is null
       */
      public static <E> ImmutableList<E> of(E e1) {
        return construct(e1);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
Back to top