Flag this instance for investigation.
493674
def set_flag(self, info, code=None):
        """"""
        self.flag = True
        self.flag_info += info
        if code is not None:
            self.flag_code = code
1145680
def set_flag(self, request, val, fld):
        """"""
        if val is not None:
            val = bool(val)
            request.set(fld, val)
809158
def _request_check(self, address):
        """"""
        server = self._servers.get(address)

        # "server" is None if another thread removed it from the topology.
        if server:
            server.request_check()
964716
def flags(self, index):
        """"""
        column = index.column()

        if index.isValid():
            if column in [C.COL_START, C.COL_END]:
#                return Qt.ItemFlags(Qt.ItemIsEnabled | Qt.ItemIsSelectable)
                return Qt.ItemFlags(Qt.ItemIsEnabled)
            else:
                return Qt.ItemFlags(Qt.ItemIsEnabled | Qt.ItemIsSelectable)
#                return Qt.ItemFlags(Qt.ItemIsEnabled)
        else:
            return Qt.ItemFlags(Qt.ItemIsEnabled)
1185849
function() {
          each(this.assertions, function(assertion){
            if (assertion.defer) assertion.run().report(), hook('afterAssertion', assertion)
          })
        }
1263693
def _FlagIsRegistered(self, flag_obj):
    
    flag_dict = self.FlagDict()
    # Check whether flag_obj is registered under its long name.
    name = flag_obj.name
    if flag_dict.get(name, None) == flag_obj:
      return True
    # Check whether flag_obj is registered under its short name.
    short_name = flag_obj.short_name
    if (short_name is not None and
        flag_dict.get(short_name, None) == flag_obj):
      return True
    return False
1056959
def _is_flag_group(obj):
    
    return (
        isinstance(obj, h5py.Group) and
        isinstance(obj.get("active"), h5py.Dataset) and
        isinstance(obj.get("known"), h5py.Dataset)
    )
496959
def watch_firings(self, flag):
        """"""
        lib.EnvSetDefruleWatchFirings(self._env, int(flag), self._rule)
1061879
public function flag($reason = null)
    {
        $this->props['isValid'] = false;
        $this->classAdd($this->props['attribsContainer'], 'has-error');
        if ($this->attribs['type'] == 'file' && isset($this->form->currentValues[ $this->attribs['name'] ])) {
            $fileInfo = $this->form->currentValues[ $this->attribs['name'] ];
            \unlink($fileInfo['tmp_name']);
            unset($this->form->currentValues[ $this->attribs['name'] ]);
        }
        if (!\is_null($reason)) {
            $this->props['invalidReason'] = $reason;
        }
        return;
    }
1365456
def override_if_not_in_args(flag, argument, args):
  """"""
  if flag not in args:
    args.extend([flag, argument])
191968
def inspection(self, column=None, value=None, **kwargs):
        
        return self._resolve_call('PCS_INSPECTION', column, value, **kwargs)
1092723
def resolved_flag(bag):
    
    if 'DOI-Resolved' in bag.info:
        logger_bagit.info("bagit resolved_flag: true")
        return True
    logger_bagit.info("bagit resolved_flag: false")
    return False
442330
public static void assertIOThread(Thread t, boolean flag) {
        if (flag) {
            assert t.equals(Thread.currentThread()) : "Management NOT on IO thread when expected";  // XXX testing
        } else {
            assert !(t.equals(Thread.currentThread())) : "Management on IO thread when not expected";  // XXX testing
        }
    }
826918
def development_mode=(flag)
      self[:development_mode] = flag
      self.level = Logger::DEBUG
      if new_logger
        new_logger.level = self.level if self.logger.respond_to?(:level=)
      end
    end
1282680
def flag_is_related(self, flag):
        '''
        
        '''
        same_worksheet = flag.worksheet == self.worksheet
        if isinstance(flag.location, (tuple, list)):
            return (flag.location[0] >= self.start[0] and flag.location[0] < self.end[0] and
                    flag.location[1] >= self.start[1] and flag.location[1] < self.end[1] and
                    same_worksheet)
        else:
            return same_worksheet
901426
def __IsFlagFileDirective(self, flag_string):
    """"""
    if isinstance(flag_string, type('')):
      if flag_string.startswith('--flagfile='):
        return 1
      elif flag_string == '--flagfile':
        return 1
      elif flag_string.startswith('-flagfile='):
        return 1
      elif flag_string == '-flagfile':
        return 1
      else:
        return 0
    return 0
1073881
def qualify(*flags)
      flags.each { |flag| set_flag(flag) }
      # propagate to restrictions
      if @restrictions then @restrictions.each { |prop| prop.qualify(*flags) } end
    end