Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1631 - 1640 of 3,758 for null (0.08 sec)

  1. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

        }
    
        @Test
        @DisplayName("run method handles null URL gracefully")
        void testRunWithNullUrl() {
            TestLocking t = new TestLocking();
            t.url = null; // Null URL
            t.numIter = 0; // No iterations to avoid NPE
    
            // Should not throw exception
            assertDoesNotThrow(() -> t.run(), "run() should handle null URL gracefully");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertThrows(NullPointerException.class, () -> future.addListener(null, directExecutor()));
      }
    
      public void testNullExecutor() {
        assertThrows(NullPointerException.class, () -> future.addListener(doNothing(), null));
      }
    
      public void testNullTimeUnit() throws Exception {
        future.set(1);
        assertThrows(NullPointerException.class, () -> future.get(0, null));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

            .addEqualityGroup(
                LENGTH_EQUIVALENCE.<@Nullable String>wrap(null),
                LENGTH_EQUIVALENCE.<@Nullable String>wrap(null))
            .addEqualityGroup(Equivalence.equals().wrap("hello"))
            .addEqualityGroup(Equivalence.equals().<@Nullable Object>wrap(null))
            .testEquals();
      }
    
      public void testWrap_get() {
        String test = "test";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/EquivalenceTest.java

            .addEqualityGroup(
                LENGTH_EQUIVALENCE.<@Nullable String>wrap(null),
                LENGTH_EQUIVALENCE.<@Nullable String>wrap(null))
            .addEqualityGroup(Equivalence.equals().wrap("hello"))
            .addEqualityGroup(Equivalence.equals().<@Nullable Object>wrap(null))
            .testEquals();
      }
    
      public void testWrap_get() {
        String test = "test";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/transport/ResponseTest.java

            Long expiration = 123456789L;
            when(mockResponse.getExpiration()).thenReturn(expiration);
            assertEquals(expiration, mockResponse.getExpiration());
    
            // Test null expiration
            when(mockResponse.getExpiration()).thenReturn(null);
            assertNull(mockResponse.getExpiration());
    
            // Verify the method was called
            verify(mockResponse, times(2)).getExpiration();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

        void testReadMethodsReturnZero() {
            Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(10);
            assertEquals(0, cmd.readSetupWireFormat(null, 0, 0));
            assertEquals(0, cmd.readParametersWireFormat(null, 0, 0));
            assertEquals(0, cmd.readDataWireFormat(null, 0, 0));
        }
    
        @Test
        @DisplayName("toString includes information level in hex")
        void testToString() {
            int level = 0xABC;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                assertNotNull(readRequest);
            }
    
            @Test
            @DisplayName("Should accept null file ID in constructor")
            void testConstructorWithNullFileId() {
                assertDoesNotThrow(() -> new Smb2ReadRequest(mockConfig, null, outputBuffer, 0));
            }
    
            @Test
            @DisplayName("Should accept empty file ID in constructor")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Types.java

          @Nullable Type ownerType, Class<?> rawType, Type... arguments) {
        if (ownerType == null) {
          return newParameterizedType(rawType, arguments);
        }
        // ParameterizedTypeImpl constructor already checks, but we want to throw NPE before IAE
        checkNotNull(arguments);
        checkArgument(rawType.getEnclosingClass() != null, "Owner type for unenclosed %s", rawType);
        return new ParameterizedTypeImpl(ownerType, rawType, arguments);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  9. docs/smb3-features/05-rdma-smb-direct-design.md

            // Clean up all pooled regions
            RdmaMemoryRegion region;
            
            while ((region = availableSendRegions.poll()) != null) {
                region.close();
                totalReleased.incrementAndGet();
            }
            
            while ((region = availableReceiveRegions.poll()) != null) {
                region.close();
                totalReleased.incrementAndGet();
            }
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

        }
    
        public void test_constructorWithScheduledJob_nullToString() {
            // Test with scheduled job that returns null from toString
            ScheduledJob scheduledJob = new ScheduledJob() {
                @Override
                public String toString() {
                    return null;
                }
            };
    
            JobNotFoundException exception = new JobNotFoundException(scheduledJob);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top