Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1131 - 1140 of 3,883 for void (0.03 sec)

  1. android/guava-tests/test/com/google/common/io/ByteSinkTest.java

     */
    public class ByteSinkTest extends IoTestCase {
    
      private final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSink sink;
    
      @Override
      protected void setUp() throws Exception {
        sink = new TestByteSink();
      }
    
      public void testOpenBufferedStream() throws IOException {
        OutputStream out = sink.openBufferedStream();
        assertTrue(sink.wasStreamOpened());
        assertFalse(sink.wasStreamClosed());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testRemove_supportedPresent() {
        assertTrue(getMap().remove(k0(), v0()));
        expectMissing(e0());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_supportedPresentKeyWrongValue() {
        assertFalse(getMap().remove(k0(), v3()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_supportedWrongKeyPresentValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/ByteSinkTest.java

     */
    public class ByteSinkTest extends IoTestCase {
    
      private final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSink sink;
    
      @Override
      protected void setUp() throws Exception {
        sink = new TestByteSink();
      }
    
      public void testOpenBufferedStream() throws IOException {
        OutputStream out = sink.openBufferedStream();
        assertTrue(sink.wasStreamOpened());
        assertFalse(sink.wasStreamClosed());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsentity/BsRelatedContent.java

            return convertEmptyToNull(content);
        }
    
        public void setContent(String value) {
            registerModifiedProperty("content");
            this.content = value;
        }
    
        public String getCreatedBy() {
            checkSpecifiedProperty("createdBy");
            return convertEmptyToNull(createdBy);
        }
    
        public void setCreatedBy(String value) {
            registerModifiedProperty("createdBy");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutIfAbsent_supportedAbsent() {
        assertNull(
            "putIfAbsent(notPresent, value) should return null", getMap().putIfAbsent(k3(), v3()));
        expectAdded(e3());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_supportedPresent() {
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

    public class Murmur3Hash32Test extends TestCase {
      public void testKnownIntegerInputs() {
        assertHash(593689054, murmur3_32().hashInt(0));
        assertHash(-189366624, murmur3_32().hashInt(-42));
        assertHash(-1134849565, murmur3_32().hashInt(42));
        assertHash(-1718298732, murmur3_32().hashInt(Integer.MIN_VALUE));
        assertHash(-1653689534, murmur3_32().hashInt(Integer.MAX_VALUE));
      }
    
      public void testKnownLongInputs() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:29:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/EnumsTest.java

      }
    
      public void testGetIfPresent_caseSensitive() {
        assertThat(Enums.getIfPresent(TestEnum.class, "cHEETO")).isAbsent();
        assertThat(Enums.getIfPresent(TestEnum.class, "Honda")).isAbsent();
        assertThat(Enums.getIfPresent(TestEnum.class, "poodlE")).isAbsent();
      }
    
      public void testGetIfPresent_whenNoMatchingConstant() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java

    /**
     * Tests {@code License}.
     *
     */
    class LicenseTest {
    
        @Test
        void testHashCodeNullSafe() {
            new License().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new License().equals(null));
    
            new License().equals(new License());
        }
    
        @Test
        void testEqualsIdentity() {
            License thing = new License();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/pager/KeyMatchPager.java

        }
    
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        public void setAllRecordCount(final int allRecordCount) {
            this.allRecordCount = allRecordCount;
        }
    
        public int getAllPageCount() {
            return allPageCount;
        }
    
        public void setAllPageCount(final int allPageCount) {
            this.allPageCount = allPageCount;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/pager/ReqHeaderPager.java

        }
    
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        public void setAllRecordCount(final int allRecordCount) {
            this.allRecordCount = allRecordCount;
        }
    
        public int getAllPageCount() {
            return allPageCount;
        }
    
        public void setAllPageCount(final int allPageCount) {
            this.allPageCount = allPageCount;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top