def add(self, reference, private=False, override=False):
        assert isinstance(reference, six.string_types)
        try:
            conan_reference = ConanFileReference.loads(reference)
            name = conan_reference.name
        except ConanException:
            conan_reference = None
            name = reference

        new_requirement = Requirement(conan_reference, private, override)
        old_requirement = self.get(name)
        if old_requirement and old_requirement != new_requirement:
            self.output.warn("Duplicated requirement %s != %s"
                             % (old_requirement, new_requirement))
        else:
            self[name] = new_requirement
<comment-ja>
dataset/ETHPy150Open conan-io/conan/conans/model/requires.py/Requirements.add--crossover with--dataset/ETHPy150Open karesansui/karesansui/karesansui/gadget/guestby1memory.py/GuestBy1Memory._PUT