Add an ATR to a reader node.
549717
def AddATR(self, readernode, atr):
        """"""
        capchild = self.AppendItem(readernode, atr)
        self.SetPyData(capchild, None)
        self.SetItemImage(
            capchild, self.cardimageindex, wx.TreeItemIcon_Normal)
        self.SetItemImage(
            capchild, self.cardimageindex, wx.TreeItemIcon_Expanded)
        self.Expand(capchild)
        return capchild
686186
def visit_augassign(self, node, parent):
        """"""
        newnode = nodes.AugAssign(
            self._bin_op_classes[type(node.op)] + "=",
            node.lineno,
            node.col_offset,
            parent,
        )
        newnode.postinit(
            self.visit(node.target, newnode), self.visit(node.value, newnode)
        )
        return newnode
838023
public void addReaderListener(ReaderListener readerListener) {
        if (readerListener == null) {
            return;
        }
        synchronized (listeners) {
            if (!listeners.contains(readerListener)) {
                listeners.add(readerListener);
            }
        }
    }
1271883
def visit_augassign(self, node):
        """"""
        return "%s %s %s" % (node.target.accept(self), node.op, node.value.accept(self))
1085085
protected void addReceiverAnnotations(ExecutableElement member, TypeMirror rcvrType,
            List<? extends AnnotationMirror> annotationMirrors, Content tree) {
        writer.addReceiverAnnotationInfo(member, rcvrType, annotationMirrors, tree);
        tree.addContent(Contents.SPACE);
        tree.addContent(utils.getTypeName(rcvrType, false));
        LinkInfoImpl linkInfo = new LinkInfoImpl(configuration, RECEIVER_TYPE, rcvrType);
        tree.addContent(writer.getTypeParameterLinks(linkInfo));
        tree.addContent(Contents.SPACE);
        tree.addContent("this");
    }
276883
def on_add(self, item):
        """"""
        super(Tels, self).on_add(list_views.PseudoAccesCategorie(item))
1325964
def update(self, observable, actions):
        """"""
        (addedreaders, removedreaders) = actions
        for reader in addedreaders:
            remotereader = RemoteReader(reader)
            self.remotereaders[reader.name] = remotereader
            name = "".join(reader.name.split(' '))
            name = ":pyscard.smartcard.readers." + "".join(name.split('.'))
            uri = self.daemon.connect(remotereader, name)
        for reader in removedreaders:
            remotereader = self.remotereaders[reader.name]
            self.daemon.disconnect(remotereader)
            del self.remotereaders[reader.name]
        self.pn.listall()
156996
public void addPatternFromReader(Reader r) throws IOException {
		BufferedReader br = new BufferedReader(r);
		String line;
		// We dont want \n and commented line
		Pattern MY_PATTERN = Pattern.compile("^([A-z0-9_]+)([~]?)\\s+(.*)$");
		while ((line = br.readLine()) != null) {
			Matcher m = MY_PATTERN.matcher(line);
			if (m.matches()) {
			    if (m.group(2).length() > 0) {
			        // process line as simple template
			        this.addPattern(m.group(1), simpleTemplateToRegEx(m.group(3)));
			    }
			    else {
			        this.addPattern(m.group(1), m.group(3));
			    }
			}
		}
		br.close();
	}
563702
function setSensorRead(en, r) {
	r.readEn = en; if(en) {
		if(r.readTmr) clearInterval(r.readTmr);
		r.dataParser = onSensorData.bind(r);
		r.readTmr = setInterval(r.queryLoop, 80);
		r.queryLoop();
	} else {
		if(r.readTmr) clearInterval(r.readTmr);
		r.dataParser = r.readTmr = null;
	}
}
863221
def add_node_attribute(self, node, attr):
        
        self.node_attr[node] = self.node_attr[node] + [attr]
730921
def add_reader(self, fd, callback):
        "  "
        h = msvcrt.get_osfhandle(fd)
        self._read_fds[h] = callback
610263
public void add(Reader reader) throws IOException
    {
        BufferedReader buffered = new BufferedReader(reader);
        String line = buffered.readLine();
        while (line != null)
        {
            String[] split = line.split(delimiter);
            if (split.length != 2)
                throw new IllegalArgumentException();
            add(split[0].trim(), MentionType.getType(split[1].trim()));
            line = buffered.readLine();
        }
        // System.out.println("Size is now " + entities.size());
    }
337502
def _add_res(line):
    '''
    
    '''
    global resource
    fields = line.strip().split()

    if resource:
        ret.append(resource)
        resource = {}

    resource["resource name"] = fields[0]
    resource["local role"] = fields[1].split(":")[1]
    resource["local volumes"] = []
    resource["peer nodes"] = []
665907
def addRNAQuantification(self, datafields):
        
        self._rnaValueList.append(datafields)
        if len(self._rnaValueList) >= self._batchSize:
            self.batchaddRNAQuantification()
726256
def load_reader(reader_configs, **reader_kwargs):
    """"""
    reader_info = read_reader_config(reader_configs)
    reader_instance = reader_info['reader'](config_files=reader_configs, **reader_kwargs)
    return reader_instance
676671
def add_node(self, node, weight=1):
        """"""
        self._nodes.add(node)
        self._weights[node] = weight
        self._rebuild_circle()
60170
private void addAnchor(DeprecatedAPIListBuilder builder, int type, Content htmlTree) {
        if (builder.hasDocumentation(type)) {
            htmlTree.addContent(getMarkerAnchor(ANCHORS[type]));
        }
    }