Returns the size of this store. Note that if you set up
a {@linkplain #filter(Predicate) filter}, the first call to
this method will require a scan to the whole store.

@return the number of (possibly filtered) triples of this store.
174190
public long size() throws IOException {
		if (filter == null) return size;
		if (filteredSize == - 1) {
			long c = 0;
			final long[] triple = new long[3];
			final ByteBuffer iteratorByteBuffer = ByteBuffer.allocateDirect(BUFFER_SIZE).order(ByteOrder.nativeOrder());
			for(int i = 0; i < DISK_CHUNKS; i++) {
				if (filter == null) c += count[i];
				else {
					flushAll();
					@SuppressWarnings("resource")
					final ReadableByteChannel channel = new FileInputStream(file[i]).getChannel();
					iteratorByteBuffer.clear().flip();
					for(int j = 0; j < count[i]; j++) {
						triple[0] = readLong(iteratorByteBuffer, channel);
						triple[1] = readLong(iteratorByteBuffer, channel);
						triple[2] = readLong(iteratorByteBuffer, channel);
						if (hashMask == 0) readLong(iteratorByteBuffer, channel);
						if (filter.evaluate(triple)) c++;
					}
					channel.close();
				}
			}

			filteredSize = c;
		}
		return filteredSize;
	}
729339
public int getRequestSize() {
        if (records == null) {
            return 1;
        }

        int size = 1;
        for (RecordRequest record : records) {
            size += record.getRequestSize();
        }

        return size;
    }
370058
public int size() {
		int ret = anyMethodRouter.size();

		for (MethodlessRouter<T> router : routers.values()) {
			ret += router.size();
		}

		return ret;
	}
1262950
@Nonnegative
  public static int getSize (@Nullable final Enumeration <?> aEnumeration)
  {
    int ret = 0;
    if (aEnumeration != null)
      while (aEnumeration.hasMoreElements ())
      {
        aEnumeration.nextElement ();
        ++ret;
      }
    return ret;
  }
506140
public Criteria size(int size) {
        this.criteriaType = RelationalOperator.SIZE;
        this.right = ValueNode.toValueNode(size);
        return this;
    }
1037002
@Override
    public int size() {
        try {
            lockAllSegments();
            int size = 0;
            for (LinkedHashMapSegment<K, V> seg : segments) {
                size += seg.size();
            }
            return size;
        } finally {
            unlockAllSegments();
        }
    }
1037648
public final int size() {
        int overallSize = 0;
        if (subSets != null) {
            for (int i = 0; i < subSets.length; i++) {
                overallSize = overallSize + subSets[i].size();
            }
        }
        return overallSize;
    }
514929
public long totalSize() {
        long retval=0;
        for(int i=0; i < index; i++)
            retval+=total_size_visitor.applyAsLong(messages[i], this);
        return retval;
    }
583433
def size
      SIZE_DETERMINERS.each do |predicate, get_size|
        next unless predicate.call
        size = get_size.call
        return size unless size == [0, 0]
      end
    rescue Exception => ex
      raise ex if @unsafe
      Terminal.default_size
    end
481023
public int getResponseSize() {
        if (records == null) {
            return 1;
        }

        int size = 1;
        for (RecordResponse record : records) {
            size += record.getResponseSize();
        }

        return size;
    }
1334230
public final long getDiscardableSize()
    {
        long result = 0;
        result = result + _storedItemManager.getStatistics().getDiscardableSize();
        result = result + _unstoredItemManager.getStatistics().getDiscardableSize();
        return result;
    }
428083
@Override
    public long getTotalSize() {
        if (totalSize == HasTotalSize.NOT_DEPLETED && !hasNext()) {
            totalSize = hasTotalSize == null ? HasTotalSize.NOT_DEPLETED : hasTotalSize.getTotalSize();
        }
        return totalSize;
    }
523064
public int getSize() {
        return (java.lang.Integer) getStateHelper().eval(PropertyKeys.size, Integer.MIN_VALUE);

    }
628867
public int getSize() {
		int dataSize = size;

		for (int i = 0; i < getChildCount(); i++) {
			dataSize += ((ObjectGraphNode) getChildAt(i)).getSize();
		}

		return dataSize;
	}
995899
public int getSize() {
		InnerList iList = ref.get();
		return iList != null ? iList.getList().size() : 0;
	}
721066
public int size()
    {
        int count = 0;

        if (subMaps != null)
        {
            for (int i = 0; i < subMaps.length; i++)
            {
                count += subMaps[i].size();
            }
        }
        return count;
    }
20657
public static long getRealSize(Resource res, ResourceFilter filter) {
	if (res.isFile()) {
	    return res.length();
	}
	else if (res.isDirectory()) {
	    long size = 0;
	    Resource[] children = filter == null ? res.listResources() : res.listResources(filter);
	    for (int i = 0; i < children.length; i++) {
		size += getRealSize(children[i]);
	    }
	    return size;
	}

	return 0;
    }