Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 2,056 for sizeOf (0.05 sec)

  1. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

    import com.google.common.util.concurrent.UncheckedExecutionException;
    import junit.framework.TestCase;
    
    /**
     * {@link LoadingCache} tests for caches with a maximum size of zero.
     *
     * @author mike nonemacher
     */
    public class NullCacheTest extends TestCase {
      QueuingRemovalListener<Object, Object> listener;
    
      @Override
      protected void setUp() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/NullCacheTest.java

    import com.google.common.util.concurrent.UncheckedExecutionException;
    import junit.framework.TestCase;
    
    /**
     * {@link LoadingCache} tests for caches with a maximum size of zero.
     *
     * @author mike nonemacher
     */
    public class NullCacheTest extends TestCase {
      QueuingRemovalListener<Object, Object> listener;
    
      @Override
      protected void setUp() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/QueryResponseList.java

        }
    
        @Override
        public Map<String, Object> set(final int index, final Map<String, Object> element) {
            return parent.set(index, element);
        }
    
        @Override
        public int size() {
            return parent.size();
        }
    
        @Override
        public List<Map<String, Object>> subList(final int fromIndex, final int toIndex) {
            return parent.subList(fromIndex, toIndex);
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/view/admin/storage/admin_storage_tag_edit.jsp

    										</div>
    									</div>
    									</c:forEach>
    									<c:set var="nameKey">name${Double.valueOf(savedTags.size()/2).intValue()+1}</c:set>
    									<c:set var="valueKey">value${Double.valueOf(savedTags.size()/2).intValue()+1}</c:set>
    									<div class="form-group row">
    										<div class="col-sm-6">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 26 01:48:41 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  5. cmd/object-api-utils_test.go

    					"etag":                         "b3ff3ef3789147152fbfbc50efba4bfd-2",
    				},
    				Parts: []ObjectPartInfo{
    					{
    						Size:       39235668,
    						ActualSize: 67108864,
    					},
    					{
    						Size:       19177372,
    						ActualSize: 32891137,
    					},
    				},
    				Size: 100000001,
    			},
    			result: 100000001,
    		},
    		{
    			objInfo: ObjectInfo{
    				UserDefined: map[string]string{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/org/codelibs/fess/entity/GeoInfo.java

                            }
                        }
                    }));
    
            final QueryBuilder[] queryBuilders = geoMap.values().stream().map(list -> {
                if (list.size() == 1) {
                    return list.get(0);
                }
                if (list.size() > 1) {
                    final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
                    list.forEach(boolQuery::should);
                    return boolQuery;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

            Set<String> signatures = new HashSet<String>();
    
            for (Element tr : children(classDoc.getMethodsTable(), "tr")) {
                List<Element> cells = children(tr, "td");
                if (cells.size() != 1) {
                    throw new RuntimeException(String.format("Expected 1 cell in <tr>, found: %s", tr));
                }
                String methodName = cells.get(0).getTextContent().trim();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top