Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1291 - 1300 of 3,662 for Void (0.03 sec)

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

            @Test
            @DisplayName("Negative maxBuffers throws immediately in constructor")
            void negativeMaxBuffersThrows() {
                assertThrows(NegativeArraySizeException.class, () -> new BufferCacheImpl(-1, 10));
            }
    
            @Test
            @DisplayName("Negative maxSize throws when allocating a new buffer")
            void negativeMaxSizeThrowsOnAllocation() {
                BufferCacheImpl impl = new BufferCacheImpl(0, -7);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      public void testEqualsTrue() {
        new EqualsTester()
            .addEqualityGroup(multimap(), getSubjectGenerator().create(getSampleElements().toArray()))
            .testEquals();
      }
    
      public void testEqualsFalse() {
        List<Entry<K, V>> targetEntries = new ArrayList<>(getSampleElements());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveAllTester.java

      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAllAbsentKey() {
        assertEmpty(multimap().removeAll(k3()));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAllPresentKey() {
        assertContentsAnyOrder(multimap().removeAll(k0()), v0());
        expectMissing(e0());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClear() {
        getMap().clear();
        assertTrue("After clear(), a map should be empty.", getMap().isEmpty());
        assertEquals(0, getMap().size());
        assertFalse(getMap().entrySet().iterator().hasNext());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
      public void testClearConcurrentWithEntrySetIteration() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapToStringTester<K, V> extends AbstractMapTester<K, V> {
      public void testToString_minimal() {
        assertNotNull("toString() should not return null", getMap().toString());
      }
    
      @CollectionSize.Require(ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_size0() {
        assertEquals("emptyMap.toString should return {}", "{}", getMap().toString());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateRequest.java

         */
        public int getMinVersion() {
            return minVersion;
        }
    
        /**
         * Set minimum protocol version
         *
         * @param minVersion minimum version
         */
        public void setMinVersion(int minVersion) {
            this.minVersion = minVersion;
        }
    
        /**
         * Get maximum protocol version
         *
         * @return maximum version
         */
        public int getMaxVersion() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertEquals("1.024EB", MemoryUtil.byteCountToDisplaySize(FileUtils.ONE_EB));
        }
    
        public void test_getUsedMemory() {
            assertTrue(MemoryUtil.getUsedMemory() >= 0);
        }
    
        public void test_sizeOf() throws Exception {
            // System.out.println("size: " + getObjectSize(""));
            assertEquals(24L, MemoryUtil.sizeOf(Integer.MAX_VALUE));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/entity/SearchRenderData.java

         */
        public void setDocumentItems(final List<Map<String, Object>> documentItems) {
            this.documentItems = documentItems;
        }
    
        /**
         * Sets the facet response containing aggregated search facets.
         *
         * @param facetResponse The facet response
         */
        public void setFacetResponse(final FacetResponse facetResponse) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTransportInternalTest.java

        private jcifs.DfsReferralData referral;
    
        @BeforeEach
        void resetMocks() {
            Mockito.reset(transport, ctx, session, referral);
        }
    
        // Happy path: hasCapability returns based on provided capability codes
        @ParameterizedTest
        @DisplayName("hasCapability returns expected values for various caps")
        @ValueSource(ints = { -1, 0, 1, 1024 })
        void hasCapability_variousCaps(int cap) throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

            void testConstructorZero() {
                // Given/When: Creating NdrShort with zero
                NdrShort ndrShort = new NdrShort(0);
    
                // Then: Value should be zero
                assertEquals(0, ndrShort.value);
            }
    
            @Test
            @DisplayName("Should handle maximum byte value correctly")
            void testConstructorMaxByte() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top