Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 1,024 for sizeof (0.07 sec)

  1. android/guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

        Multimap<String, Integer> filtered = filterValues(keyFiltered, VALUE_PREDICATE);
        assertEquals(1, filtered.size());
        assertTrue(filtered.containsEntry("foo", 1));
        assertTrue(filtered.keySet().retainAll(asList("cat", "dog")));
        assertEquals(0, filtered.size());
      }
    
      // TODO(jlevy): Many more tests needed.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/failureurl/EditForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * @author codelibs
     * @author Keiichi Watanabe
     */
    public class EditForm {
    
        public String webConfigName;
    
        public String fileConfigName;
    
        @ValidateTypeFailure
        public String pageNumber;
    
        @ValidateTypeFailure
        public Integer crudMode;
    
        @Required
        @Size(max = 1000)
        public String id;
    
        @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)
  3. docs_src/extra_models/tutorial003_py310.py

        type: str = "car"
    
    
    class PlaneItem(BaseItem):
        type: str = "plane"
        size: int
    
    
    items = {
        "item1": {"description": "All my friends drive a low rider", "type": "car"},
        "item2": {
            "description": "Music is my aeroplane, it's my aeroplane",
            "type": "plane",
            "size": 5,
        },
    }
    
    
    @app.get("/items/{item_id}", response_model=Union[PlaneItem, CarItem])
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 644 bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

     *
     * <ul>
     *   <li>size: The length of the byte array to hash.
     * </ul>
     *
     * @author Colin Decker
     */
    public class ChecksumBenchmark {
    
      // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons.
      private static final int RANDOM_SEED = new Random().nextInt();
    
      @Param({"10", "1000", "100000", "1000000"})
      private int size;
    
      private byte[] testBytes;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 16:53:43 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Streams.java

        // TODO(lowasser): consider an implementation that can support SUBSIZED
        boolean isParallel = false;
        int characteristics = Spliterator.ORDERED | Spliterator.SIZED | Spliterator.NONNULL;
        long estimatedSize = 0L;
        ImmutableList.Builder<Spliterator<? extends T>> splitrsBuilder =
            new ImmutableList.Builder<>(streams.length);
        for (Stream<? extends T> stream : streams) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  6. tests/test_datastructures.py

    @pytest.mark.anyio
    async def test_upload_file():
        stream = io.BytesIO(b"data")
        file = UploadFile(filename="file", file=stream, size=4)
        assert await file.read() == b"data"
        assert file.size == 4
        await file.write(b" and more data!")
        assert await file.read() == b""
        assert file.size == 19
        await file.seek(0)
        assert await file.read() == b"data and more data!"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableCollection.java

        return object != null && delegate.contains(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> targets) {
        return delegate.containsAll(targets);
      }
    
      public int size() {
        return delegate.size();
      }
    
      @Override
      public boolean isEmpty() {
        return delegate.isEmpty();
      }
    
      @Override
      public Object[] toArray() {
        return delegate.toArray();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                        queryLog = queryLogReader.read();
                        if (queryLog == null && !queryLogs.isEmpty() || queryLogs.size() >= docPerReq) {
                            final SuggestIndexResponse res = indexFromQueryLog(queryLogs.toArray(new QueryLog[queryLogs.size()]));
                            errors.addAll(res.getErrors());
                            numberOfSuggestDocs += res.getNumberOfSuggestDocs();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java

            final int from;
            final int size;
            if (cb.isFetchScopeEffective()) {
                from = cb.getPageStartIndex();
                size = cb.getFetchSize();
            } else {
                from = 0;
                size = 10;
            }
            builder.setFrom(from);
            builder.setSize(size);
            final EsAbstractConditionBean esCb = (EsAbstractConditionBean) cb;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractBehavior.java

            final int from;
            final int size;
            if (cb.isFetchScopeEffective()) {
                from = cb.getPageStartIndex();
                size = cb.getFetchSize();
            } else {
                from = 0;
                size = 10;
            }
            builder.setFrom(from);
            builder.setSize(size);
            final EsAbstractConditionBean esCb = (EsAbstractConditionBean) cb;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
Back to top