netlog_viewer/netlog_viewer/log_view_painter.js
function getSymbolicString(bitmask, valueToName, zeroName) {
    const matchingFlagNames = [];

    for (const k in valueToName) {
      if (bitmask & valueToName[k]) {
        matchingFlagNames.push(k);
      }
    }

    // If no flags were matched, returns a special value.
    if (matchingFlagNames.length === 0) {
      return zeroName;
    }

    return matchingFlagNames.join(' | ');
  }
function getSymbolicString(bitmask, valueToName, zeroName) {
    const matchingFlagNames = [];

    for (const k in valueToName) {
      if (bitmask & valueToName[k]) {
        matchingFlagNames.push(k);
      }
    }

    // If no flags were matched, returns a special value.
    if (matchingFlagNames.length === 0) {
      return zeroName;
    }

    return matchingFlagNames.join(' | ');
  }
function getSymbolicString ( bitmask , valueToName , zeroName ) { const matchingFlagNames = [ ] ; for ( const k in valueToName ) { if ( bitmask & valueToName [ k ] ) { matchingFlagNames . push ( k ) ; } } // If no flags were matched, returns a special value. if ( matchingFlagNames . length === 0 ) { return zeroName ; } return matchingFlagNames . join ( ' | ' ) ; }
Returns a string representing the flags composing the given bitmask.
Returns a string representing the flags composing the given bitmask .