Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2471 - 2480 of 3,758 for null (0.08 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

        }
    
        @Test
        @DisplayName("Test with null buffer in read methods")
        void testReadMethodsWithNullBuffer() {
            trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo);
    
            // All read methods should handle null buffer gracefully
            assertEquals(0, trans2SetFileInfo.readSetupWireFormat(null, 0, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        }
    
        @Test
        @DisplayName("Should handle null negotiate contexts")
        void testNullNegotiateContexts() throws Exception {
            // Given
            setResponseAsReceived(response);
            setPrivateField(response, "dialectRevision", 0x0311);
    
            NegotiateContextResponse[] contexts = new NegotiateContextResponse[] { null, createValidPreauthResponse(), null };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

        }
    
        // Test validation with valid cron expressions
        public void test_validCronExpressions() {
            TestBean bean = new TestBean();
    
            // Test null value (should be valid)
            bean.setCronExpression(null);
            Set<ConstraintViolation<TestBean>> violations = validator.validate(bean);
            assertTrue(violations.isEmpty());
    
            // Test empty string (should be valid)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

            assertEquals(0, response.getDataCount());
        }
    
        @Test
        @DisplayName("Test entry management")
        void testEntryManagement() {
            // Test with null entries
            response.setResults(null);
            assertNull(response.getResults());
    
            // Test with empty entries
            FileEntry[] emptyEntries = new FileEntry[0];
            response.setResults(emptyEntries);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            default -> "0x" + Hexdump.toHexString(questionType, 4);
            };
            recordTypeString = switch (recordType) {
            case A -> "A";
            case NS -> "NS";
            case NULL -> "NULL";
            case NB -> "NB";
            case NBSTAT -> "NBSTAT";
            default -> "0x" + Hexdump.toHexString(recordType, 4);
            };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/eventbus/SubscriberRegistry.java

          Collection<Subscriber> eventMethodsInListener = entry.getValue();
    
          CopyOnWriteArraySet<Subscriber> eventSubscribers = subscribers.get(eventType);
    
          if (eventSubscribers == null) {
            CopyOnWriteArraySet<Subscriber> newSet = new CopyOnWriteArraySet<>();
            eventSubscribers =
                MoreObjects.firstNonNull(subscribers.putIfAbsent(eventType, newSet), newSet);
          }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NameServicePacket.java

            default -> "0x" + Hexdump.toHexString(this.questionType, 4);
            };
            recordTypeString = switch (this.recordType) {
            case A -> "A";
            case NS -> "NS";
            case NULL -> "NULL";
            case NB -> "NB";
            case NBSTAT -> "NBSTAT";
            default -> "0x" + Hexdump.toHexString(this.recordType, 4);
            };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

            }
    
            @Test
            @DisplayName("Should handle null expiration")
            void testNullExpiration() {
                Long expiration = 1000L;
                echoResponse.setExpiration(expiration);
                assertEquals(expiration, echoResponse.getExpiration());
    
                echoResponse.setExpiration(null);
    
                assertNull(echoResponse.getExpiration());
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            }
        }
    
        public void test_execute_withNullQuery() {
            // Test that execute handles null query
            QueryContext context = new QueryContext("test", false);
    
            try {
                boostQueryCommand.execute(context, null, 1.0f);
                fail("Should have thrown exception");
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        assertSame(toBeSupplied, objectSupplier.get()); // idempotent
      }
    
      public void testOfInstanceSuppliesNull() {
        Supplier<@Nullable Integer> nullSupplier = Suppliers.ofInstance(null);
        assertNull(nullSupplier.get());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Thread
      @SuppressWarnings("DoNotCall")
      public void testExpiringMemoizedSupplierThreadSafe() throws Throwable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top