Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,909 for size0 (0.03 sec)

  1. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

        public void test1() throws Exception {
            DisposableUtil.add(new TestDisposable("a"));
            assertThat(DisposableUtil.disposables.size(), is(1));
            DisposableUtil.dispose();
            assertThat(count, is(1));
            assertThat(names, is("a"));
            assertThat(DisposableUtil.disposables.size(), is(0));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test2() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

            "cache-control",
            "no-store",
            "user-agent",
            "OkHttp",
          )
        val headerMap = headers.toMultimap()
        assertThat(headerMap["cache-control"]!!.size).isEqualTo(2)
        assertThat(headerMap["user-agent"]!!.size).isEqualTo(1)
      }
    
      @Test fun toMultimapUsesCanonicalCase() {
        val headers =
          Headers.headersOf(
            "cache-control",
            "no-store",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        int initialSize = collection.size();
        assertTrue("remove(present) should return true", collection.remove(e0()));
        assertEquals(
            "remove(present) should decrease a collection's size by one.",
            initialSize - 1,
            collection.size());
        expectMissing(e0());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

            if (synonymItemList == null) {
                reload(null);
            }
    
            if (offset >= synonymItemList.size() || offset < 0) {
                return new PagingList<>(Collections.<SynonymItem> emptyList(), offset, size, synonymItemList.size());
            }
    
            int toIndex = offset + size;
            if (toIndex > synonymItemList.size()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            assertEquals("false", depArtifact.getProperty("includesDependencies", null));
            assertEquals(4, depArtifact.getProperties().size());
    
            assertEquals("compile", dep2.getScope());
            assertFalse(dep2.isOptional());
            assertEquals(0, dep2.getExclusions().size());
            depArtifact = dep2.getArtifact();
            assertEquals("ut.simple", depArtifact.getGroupId());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        assertEquals(size, collection.size());
        if (size > 0) {
          assertFalse(collection.isEmpty());
        } else {
          assertTrue(collection.isEmpty());
        }
        assertEquals(size, Iterables.size(collection));
        assertEquals(size, Iterators.size(collection.iterator()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/CreateForm.java

    import jakarta.validation.constraints.Min;
    import jakarta.validation.constraints.Size;
    
    /**
     * @author codelibs
     * @author Keiichi Watanabe
     */
    public class CreateForm {
    
        @ValidateTypeFailure
        public Integer crudMode;
    
        @Required
        @Size(max = 1000)
        public String regularName;
    
        @Required
        @Size(max = 1000)
        public String duplicateHostName;
    
        @Required
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterables.java

        // no equals and hashCode; it would break the contract!
      }
    
      /** Returns the number of elements in {@code iterable}. */
      public static int size(Iterable<?> iterable) {
        return (iterable instanceof Collection)
            ? ((Collection<?>) iterable).size()
            : Iterators.size(iterable.iterator());
      }
    
      /**
       * Returns {@code true} if {@code iterable} contains any element {@code o} for which {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/DocMapTest.java

            value.put(keys.get(3), "str");
            docMap = new DocMap(value);
            assertFalse(docMap.isEmpty());
    
            Set<Map.Entry<String, Object>> actual = docMap.entrySet();
            assertTrue(actual.size() == keys.size());
            docMap.clear();
    
            assertTrue(docMap.isEmpty());
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. internal/hash/sha256/sh256.go

    // New initializes a new sha256.New()
    func New() hash.Hash { return sha256.New() }
    
    // Sum256 returns the SHA256 checksum of the data.
    func Sum256(data []byte) [sha256.Size]byte { return sha256.Sum256(data) }
    
    // Size is the size of a SHA256 checksum in bytes.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 26 06:31:35 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top