Print Qualifiers: 1,462 colocalizes_with; 1,454 contributes_to; 1,157 not
331295
def prt_qualifiers(self, prt=sys.stdout):
        """"""
        # 13 not colocalizes_with   (TBD: CHK - Seen in gene2go, but not gafs)
        #  4 not contributes_to     (TBD: CHK - Seen in gene2go, but not gafs)
        self._prt_qualifiers(self.associations, prt)
187516
function computeLinesAndColumns(tokenizer, source) {
    var sourceLength = source.length;
    var start = firstCharOffset(source);
    var lines = tokenizer.lines;
    var line = tokenizer.startLine;
    var columns = tokenizer.columns;
    var column = tokenizer.startColumn;

    if (lines === null || lines.length < sourceLength + 1) {
        lines = new SafeUint32Array(Math.max(sourceLength + 1024, MIN_BUFFER_SIZE));
        columns = new SafeUint32Array(lines.length);
    }

    for (var i = start; i < sourceLength; i++) {
        var code = source.charCodeAt(i);

        lines[i] = line;
        columns[i] = column++;

        if (code === N || code === R || code === F) {
            if (code === R && i + 1 < sourceLength && source.charCodeAt(i + 1) === N) {
                i++;
                lines[i] = line;
                columns[i] = column;
            }

            line++;
            column = 1;
        }
    }

    lines[i] = line;
    columns[i] = column;

    tokenizer.linesAnsColumnsComputed = true;
    tokenizer.lines = lines;
    tokenizer.columns = columns;
}
744842
int /* udword_ppt */readBEdword(final short[] /* ubyte_ppt[4] */ptr,
			int pos) {
		return (((((short /* udword_ppt */) ptr[pos + 0]) << 24)
				+ (((short /* udword_ppt */) ptr[pos + 1]) << 16)
				+ (((short /* udword_ppt */) ptr[pos + 2]) << 8) + ((short /* udword_ppt */) ptr[pos + 3])) << 0);
	}
232131
def printTPRegionParams(tpregion):
  
  tm = tpregion.getSelf()._tfdr
  print "------------PY  TemporalMemory Parameters ------------------"
  print "numberOfCols             =", tm.columnDimensions
  print "cellsPerColumn           =", tm.cellsPerColumn
  print "minThreshold             =", tm.minThreshold
  print "activationThreshold      =", tm.activationThreshold
  print "newSynapseCount          =", tm.maxNewSynapseCount
  print "initialPerm              =", tm.initialPermanence
  print "connectedPerm            =", tm.connectedPermanence
  print "permanenceInc            =", tm.permanenceIncrement
  print "permanenceDec            =", tm.permanenceDecrement
  print "predictedSegmentDecrement=", tm.predictedSegmentDecrement
  print
426684
def _calcSpecificity(self):
        """"""
        hashCount = 0
        qualifierCount = 0
        elementCount = int(self.name != '*')
        for q in self.qualifiers:
            if q.isHash():
                hashCount += 1
            elif q.isClass():
                qualifierCount += 1
            elif q.isAttr():
                qualifierCount += 1
            elif q.isPseudo():
                elementCount += 1
            elif q.isCombiner():
                i, h, q, e = q.selector.specificity()
                hashCount += h
                qualifierCount += q
                elementCount += e
        return self.inline, hashCount, qualifierCount, elementCount
854898
function addLeadingZeros(numField, length) {
		while (numField.toString().length < length) {
			numField = '0' + numField.toString();
		}

		return numField;
	}
647635
private void makeTailoredCEs() {
        CollationWeights primaries = new CollationWeights();
        CollationWeights secondaries = new CollationWeights();
        CollationWeights tertiaries = new CollationWeights();
        long[] nodesArray = nodes.getBuffer();
        if(DEBUG) {
            System.out.println("\nCollationBuilder.makeTailoredCEs()");
        }

        for(int rpi = 0; rpi < rootPrimaryIndexes.size(); ++rpi) {
            int i = rootPrimaryIndexes.elementAti(rpi);
            long node = nodesArray[i];
            long p = weight32FromNode(node);
            int s = p == 0 ? 0 : Collation.COMMON_WEIGHT16;
            int t = s;
            int q = 0;
            boolean pIsTailored = false;
            boolean sIsTailored = false;
            boolean tIsTailored = false;
            if(DEBUG) {
                System.out.printf("\nprimary     %x\n", alignWeightRight((int)p));
            }
            int pIndex = p == 0 ? 0 : rootElements.findPrimary(p);
            int nextIndex = nextIndexFromNode(node);
            while(nextIndex != 0) {
                i = nextIndex;
                node = nodesArray[i];
                nextIndex = nextIndexFromNode(node);
                int strength = strengthFromNode(node);
                if(strength == Collator.QUATERNARY) {
                    assert(isTailoredNode(node));
                    if(DEBUG) {
                        System.out.print("      quat+     ");
                    }
                    if(q == 3) {
                        // C++ U_BUFFER_OVERFLOW_ERROR
                        throw new UnsupportedOperationException("quaternary tailoring gap too small");
                    }
                    ++q;
                } else {
                    if(strength == Collator.TERTIARY) {
                        if(isTailoredNode(node)) {
                            if(DEBUG) {
                                System.out.print("    ter+        ");
                            }
                            if(!tIsTailored) {
                                // First tailored tertiary node for [p, s].
                                int tCount = countTailoredNodes(nodesArray, nextIndex,
                                                                    Collator.TERTIARY) + 1;
                                int tLimit;
                                if(t == 0) {
                                    // Gap at the beginning of the tertiary CE range.
                                    t = rootElements.getTertiaryBoundary() - 0x100;
                                    tLimit = (int)rootElements.getFirstTertiaryCE() & Collation.ONLY_TERTIARY_MASK;
                                } else if(!pIsTailored && !sIsTailored) {
                                    // p and s are root weights.
                                    tLimit = rootElements.getTertiaryAfter(pIndex, s, t);
                                } else if(t == Collation.BEFORE_WEIGHT16) {
                                    tLimit = Collation.COMMON_WEIGHT16;
                                } else {
                                    // [p, s] is tailored.
                                    assert(t == Collation.COMMON_WEIGHT16);
                                    tLimit = rootElements.getTertiaryBoundary();
                                }
                                assert(tLimit == 0x4000 || (tLimit & ~Collation.ONLY_TERTIARY_MASK) == 0);
                                tertiaries.initForTertiary();
                                if(!tertiaries.allocWeights(t, tLimit, tCount)) {
                                    // C++ U_BUFFER_OVERFLOW_ERROR
                                    throw new UnsupportedOperationException("tertiary tailoring gap too small");
                                }
                                tIsTailored = true;
                            }
                            t = (int)tertiaries.nextWeight();
                            assert(t != 0xffffffff);
                        } else {
                            t = weight16FromNode(node);
                            tIsTailored = false;
                            if(DEBUG) {
                                System.out.printf("    ter     %x\n", alignWeightRight(t));
                            }
                        }
                    } else {
                        if(strength == Collator.SECONDARY) {
                            if(isTailoredNode(node)) {
                                if(DEBUG) {
                                    System.out.print("  sec+          ");
                                }
                                if(!sIsTailored) {
                                    // First tailored secondary node for p.
                                    int sCount = countTailoredNodes(nodesArray, nextIndex,
                                                                        Collator.SECONDARY) + 1;
                                    int sLimit;
                                    if(s == 0) {
                                        // Gap at the beginning of the secondary CE range.
                                        s = rootElements.getSecondaryBoundary() - 0x100;
                                        sLimit = (int)(rootElements.getFirstSecondaryCE() >> 16);
                                    } else if(!pIsTailored) {
                                        // p is a root primary.
                                        sLimit = rootElements.getSecondaryAfter(pIndex, s);
                                    } else if(s == Collation.BEFORE_WEIGHT16) {
                                        sLimit = Collation.COMMON_WEIGHT16;
                                    } else {
                                        // p is a tailored primary.
                                        assert(s == Collation.COMMON_WEIGHT16);
                                        sLimit = rootElements.getSecondaryBoundary();
                                    }
                                    if(s == Collation.COMMON_WEIGHT16) {
                                        // Do not tailor into the getSortKey() range of
                                        // compressed common secondaries.
                                        s = rootElements.getLastCommonSecondary();
                                    }
                                    secondaries.initForSecondary();
                                    if(!secondaries.allocWeights(s, sLimit, sCount)) {
                                        // C++ U_BUFFER_OVERFLOW_ERROR
                                        if(DEBUG) {
                                            System.out.printf("!secondaries.allocWeights(%x, %x, sCount=%d)\n",
                                                    alignWeightRight(s), alignWeightRight(sLimit),
                                                    alignWeightRight(sCount));
                                        }
                                        throw new UnsupportedOperationException("secondary tailoring gap too small");
                                    }
                                    sIsTailored = true;
                                }
                                s = (int)secondaries.nextWeight();
                                assert(s != 0xffffffff);
                            } else {
                                s = weight16FromNode(node);
                                sIsTailored = false;
                                if(DEBUG) {
                                    System.out.printf("  sec       %x\n", alignWeightRight(s));
                                }
                            }
                        } else /* Collator.PRIMARY */ {
                            assert(isTailoredNode(node));
                            if(DEBUG) {
                                System.out.print("pri+            ");
                            }
                            if(!pIsTailored) {
                                // First tailored primary node in this list.
                                int pCount = countTailoredNodes(nodesArray, nextIndex,
                                                                    Collator.PRIMARY) + 1;
                                boolean isCompressible = baseData.isCompressiblePrimary(p);
                                long pLimit =
                                    rootElements.getPrimaryAfter(p, pIndex, isCompressible);
                                primaries.initForPrimary(isCompressible);
                                if(!primaries.allocWeights(p, pLimit, pCount)) {
                                    // C++ U_BUFFER_OVERFLOW_ERROR  // TODO: introduce a more specific UErrorCode?
                                    throw new UnsupportedOperationException("primary tailoring gap too small");
                                }
                                pIsTailored = true;
                            }
                            p = primaries.nextWeight();
                            assert(p != 0xffffffffL);
                            s = Collation.COMMON_WEIGHT16;
                            sIsTailored = false;
                        }
                        t = s == 0 ? 0 : Collation.COMMON_WEIGHT16;
                        tIsTailored = false;
                    }
                    q = 0;
                }
                if(isTailoredNode(node)) {
                    nodesArray[i] = Collation.makeCE(p, s, t, q);
                    if(DEBUG) {
                        System.out.printf("%016x\n", nodesArray[i]);
                    }
                }
            }
        }
    }
551837
private int readCorner1(int numRows, int numColumns) {
    int currentByte = 0;
    if (readModule(numRows - 1, 0, numRows, numColumns)) {
      currentByte |= 1;
    }
    currentByte <<= 1;
    if (readModule(numRows - 1, 1, numRows, numColumns)) {
      currentByte |= 1;
    }
    currentByte <<= 1;
    if (readModule(numRows - 1, 2, numRows, numColumns)) {
      currentByte |= 1;
    }
    currentByte <<= 1;
    if (readModule(0, numColumns - 2, numRows, numColumns)) {
      currentByte |= 1;
    }
    currentByte <<= 1;
    if (readModule(0, numColumns - 1, numRows, numColumns)) {
      currentByte |= 1;
    }
    currentByte <<= 1;
    if (readModule(1, numColumns - 1, numRows, numColumns)) {
      currentByte |= 1;
    }
    currentByte <<= 1;
    if (readModule(2, numColumns - 1, numRows, numColumns)) {
      currentByte |= 1;
    }
    currentByte <<= 1;
    if (readModule(3, numColumns - 1, numRows, numColumns)) {
      currentByte |= 1;
    }
    return currentByte;
  }
643280
function prependUntilLength (str, len, char) {
  if (str.length >= len) 
    return str
  else 
    return prependUntilLength(str=char+str, len, char)
}
798785
private void printAggregatedInfo(GetWorkerReportOptions options) {
    mIndentationLevel = 0;
    print(String.format("Capacity information for %s workers: ",
        options.getWorkerRange().toString().toLowerCase()));

    mIndentationLevel++;
    print("Total Capacity: " + FormatUtils.getSizeFromBytes(mSumCapacityBytes));
    mIndentationLevel++;
    for (Map.Entry<String, Long> totalBytesTier : mSumCapacityBytesOnTierMap.entrySet()) {
      long value = totalBytesTier.getValue();
      print("Tier: " + totalBytesTier.getKey()
          + "  Size: " + FormatUtils.getSizeFromBytes(value));
    }
    mIndentationLevel--;

    print("Used Capacity: "
        + FormatUtils.getSizeFromBytes(mSumUsedBytes));
    mIndentationLevel++;
    for (Map.Entry<String, Long> usedBytesTier : mSumUsedBytesOnTierMap.entrySet()) {
      long value = usedBytesTier.getValue();
      print("Tier: " + usedBytesTier.getKey()
          + "  Size: " + FormatUtils.getSizeFromBytes(value));
    }
    mIndentationLevel--;

    if (mSumCapacityBytes != 0) {
      int usedPercentage = (int) (100L * mSumUsedBytes / mSumCapacityBytes);
      print(String.format("Used Percentage: " + "%s%%", usedPercentage));
      print(String.format("Free Percentage: " + "%s%%", 100 - usedPercentage));
    }
  }
1339615
def _can_use_numexpr(op, op_str, a, b, dtype_check):
    
    if op_str is not None:

        # required min elements (otherwise we are adding overhead)
        if np.prod(a.shape) > _MIN_ELEMENTS:

            # check for dtype compatibility
            dtypes = set()
            for o in [a, b]:
                if hasattr(o, 'get_dtype_counts'):
                    s = o.get_dtype_counts()
                    if len(s) > 1:
                        return False
                    dtypes |= set(s.index)
                elif isinstance(o, np.ndarray):
                    dtypes |= {o.dtype.name}

            # allowed are a superset
            if not len(dtypes) or _ALLOWED_DTYPES[dtype_check] >= dtypes:
                return True

    return False
1127033
public void mTokens() throws RecognitionException {
        // BELScript.g:1:8: ( T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | T__77 | T__78 | T__79 | T__80 | T__81 | T__82 | T__83 | T__84 | T__85 | T__86 | T__87 | T__88 | T__89 | T__90 | T__91 | T__92 | T__93 | T__94 | T__95 | T__96 | T__97 | T__98 | T__99 | T__100 | T__101 | T__102 | T__103 | T__104 | T__105 | T__106 | T__107 | T__108 | T__109 | T__110 | T__111 | T__112 | T__113 | T__114 | T__115 | T__116 | T__117 | T__118 | T__119 | T__120 | T__121 | T__122 | T__123 | T__124 | T__125 | T__126 | T__127 | T__128 | T__129 | T__130 | DOCUMENT_COMMENT | STATEMENT_COMMENT | DOCUMENT_KEYWORD | STATEMENT_GROUP_KEYWORD | IDENT_LIST | VALUE_LIST | OBJECT_IDENT | QUOTED_VALUE | OPEN_PAREN | CLOSE_PAREN | NS_PREFIX | NEWLINE | WS )
        int alt17=120;
        alt17 = dfa17.predict(input);
        switch (alt17) {
            case 1 :
                // BELScript.g:1:10: T__24
                {
                mT__24(); 

                }
                break;
            case 2 :
                // BELScript.g:1:16: T__25
                {
                mT__25(); 

                }
                break;
            case 3 :
                // BELScript.g:1:22: T__26
                {
                mT__26(); 

                }
                break;
            case 4 :
                // BELScript.g:1:28: T__27
                {
                mT__27(); 

                }
                break;
            case 5 :
                // BELScript.g:1:34: T__28
                {
                mT__28(); 

                }
                break;
            case 6 :
                // BELScript.g:1:40: T__29
                {
                mT__29(); 

                }
                break;
            case 7 :
                // BELScript.g:1:46: T__30
                {
                mT__30(); 

                }
                break;
            case 8 :
                // BELScript.g:1:52: T__31
                {
                mT__31(); 

                }
                break;
            case 9 :
                // BELScript.g:1:58: T__32
                {
                mT__32(); 

                }
                break;
            case 10 :
                // BELScript.g:1:64: T__33
                {
                mT__33(); 

                }
                break;
            case 11 :
                // BELScript.g:1:70: T__34
                {
                mT__34(); 

                }
                break;
            case 12 :
                // BELScript.g:1:76: T__35
                {
                mT__35(); 

                }
                break;
            case 13 :
                // BELScript.g:1:82: T__36
                {
                mT__36(); 

                }
                break;
            case 14 :
                // BELScript.g:1:88: T__37
                {
                mT__37(); 

                }
                break;
            case 15 :
                // BELScript.g:1:94: T__38
                {
                mT__38(); 

                }
                break;
            case 16 :
                // BELScript.g:1:100: T__39
                {
                mT__39(); 

                }
                break;
            case 17 :
                // BELScript.g:1:106: T__40
                {
                mT__40(); 

                }
                break;
            case 18 :
                // BELScript.g:1:112: T__41
                {
                mT__41(); 

                }
                break;
            case 19 :
                // BELScript.g:1:118: T__42
                {
                mT__42(); 

                }
                break;
            case 20 :
                // BELScript.g:1:124: T__43
                {
                mT__43(); 

                }
                break;
            case 21 :
                // BELScript.g:1:130: T__44
                {
                mT__44(); 

                }
                break;
            case 22 :
                // BELScript.g:1:136: T__45
                {
                mT__45(); 

                }
                break;
            case 23 :
                // BELScript.g:1:142: T__46
                {
                mT__46(); 

                }
                break;
            case 24 :
                // BELScript.g:1:148: T__47
                {
                mT__47(); 

                }
                break;
            case 25 :
                // BELScript.g:1:154: T__48
                {
                mT__48(); 

                }
                break;
            case 26 :
                // BELScript.g:1:160: T__49
                {
                mT__49(); 

                }
                break;
            case 27 :
                // BELScript.g:1:166: T__50
                {
                mT__50(); 

                }
                break;
            case 28 :
                // BELScript.g:1:172: T__51
                {
                mT__51(); 

                }
                break;
            case 29 :
                // BELScript.g:1:178: T__52
                {
                mT__52(); 

                }
                break;
            case 30 :
                // BELScript.g:1:184: T__53
                {
                mT__53(); 

                }
                break;
            case 31 :
                // BELScript.g:1:190: T__54
                {
                mT__54(); 

                }
                break;
            case 32 :
                // BELScript.g:1:196: T__55
                {
                mT__55(); 

                }
                break;
            case 33 :
                // BELScript.g:1:202: T__56
                {
                mT__56(); 

                }
                break;
            case 34 :
                // BELScript.g:1:208: T__57
                {
                mT__57(); 

                }
                break;
            case 35 :
                // BELScript.g:1:214: T__58
                {
                mT__58(); 

                }
                break;
            case 36 :
                // BELScript.g:1:220: T__59
                {
                mT__59(); 

                }
                break;
            case 37 :
                // BELScript.g:1:226: T__60
                {
                mT__60(); 

                }
                break;
            case 38 :
                // BELScript.g:1:232: T__61
                {
                mT__61(); 

                }
                break;
            case 39 :
                // BELScript.g:1:238: T__62
                {
                mT__62(); 

                }
                break;
            case 40 :
                // BELScript.g:1:244: T__63
                {
                mT__63(); 

                }
                break;
            case 41 :
                // BELScript.g:1:250: T__64
                {
                mT__64(); 

                }
                break;
            case 42 :
                // BELScript.g:1:256: T__65
                {
                mT__65(); 

                }
                break;
            case 43 :
                // BELScript.g:1:262: T__66
                {
                mT__66(); 

                }
                break;
            case 44 :
                // BELScript.g:1:268: T__67
                {
                mT__67(); 

                }
                break;
            case 45 :
                // BELScript.g:1:274: T__68
                {
                mT__68(); 

                }
                break;
            case 46 :
                // BELScript.g:1:280: T__69
                {
                mT__69(); 

                }
                break;
            case 47 :
                // BELScript.g:1:286: T__70
                {
                mT__70(); 

                }
                break;
            case 48 :
                // BELScript.g:1:292: T__71
                {
                mT__71(); 

                }
                break;
            case 49 :
                // BELScript.g:1:298: T__72
                {
                mT__72(); 

                }
                break;
            case 50 :
                // BELScript.g:1:304: T__73
                {
                mT__73(); 

                }
                break;
            case 51 :
                // BELScript.g:1:310: T__74
                {
                mT__74(); 

                }
                break;
            case 52 :
                // BELScript.g:1:316: T__75
                {
                mT__75(); 

                }
                break;
            case 53 :
                // BELScript.g:1:322: T__76
                {
                mT__76(); 

                }
                break;
            case 54 :
                // BELScript.g:1:328: T__77
                {
                mT__77(); 

                }
                break;
            case 55 :
                // BELScript.g:1:334: T__78
                {
                mT__78(); 

                }
                break;
            case 56 :
                // BELScript.g:1:340: T__79
                {
                mT__79(); 

                }
                break;
            case 57 :
                // BELScript.g:1:346: T__80
                {
                mT__80(); 

                }
                break;
            case 58 :
                // BELScript.g:1:352: T__81
                {
                mT__81(); 

                }
                break;
            case 59 :
                // BELScript.g:1:358: T__82
                {
                mT__82(); 

                }
                break;
            case 60 :
                // BELScript.g:1:364: T__83
                {
                mT__83(); 

                }
                break;
            case 61 :
                // BELScript.g:1:370: T__84
                {
                mT__84(); 

                }
                break;
            case 62 :
                // BELScript.g:1:376: T__85
                {
                mT__85(); 

                }
                break;
            case 63 :
                // BELScript.g:1:382: T__86
                {
                mT__86(); 

                }
                break;
            case 64 :
                // BELScript.g:1:388: T__87
                {
                mT__87(); 

                }
                break;
            case 65 :
                // BELScript.g:1:394: T__88
                {
                mT__88(); 

                }
                break;
            case 66 :
                // BELScript.g:1:400: T__89
                {
                mT__89(); 

                }
                break;
            case 67 :
                // BELScript.g:1:406: T__90
                {
                mT__90(); 

                }
                break;
            case 68 :
                // BELScript.g:1:412: T__91
                {
                mT__91(); 

                }
                break;
            case 69 :
                // BELScript.g:1:418: T__92
                {
                mT__92(); 

                }
                break;
            case 70 :
                // BELScript.g:1:424: T__93
                {
                mT__93(); 

                }
                break;
            case 71 :
                // BELScript.g:1:430: T__94
                {
                mT__94(); 

                }
                break;
            case 72 :
                // BELScript.g:1:436: T__95
                {
                mT__95(); 

                }
                break;
            case 73 :
                // BELScript.g:1:442: T__96
                {
                mT__96(); 

                }
                break;
            case 74 :
                // BELScript.g:1:448: T__97
                {
                mT__97(); 

                }
                break;
            case 75 :
                // BELScript.g:1:454: T__98
                {
                mT__98(); 

                }
                break;
            case 76 :
                // BELScript.g:1:460: T__99
                {
                mT__99(); 

                }
                break;
            case 77 :
                // BELScript.g:1:466: T__100
                {
                mT__100(); 

                }
                break;
            case 78 :
                // BELScript.g:1:473: T__101
                {
                mT__101(); 

                }
                break;
            case 79 :
                // BELScript.g:1:480: T__102
                {
                mT__102(); 

                }
                break;
            case 80 :
                // BELScript.g:1:487: T__103
                {
                mT__103(); 

                }
                break;
            case 81 :
                // BELScript.g:1:494: T__104
                {
                mT__104(); 

                }
                break;
            case 82 :
                // BELScript.g:1:501: T__105
                {
                mT__105(); 

                }
                break;
            case 83 :
                // BELScript.g:1:508: T__106
                {
                mT__106(); 

                }
                break;
            case 84 :
                // BELScript.g:1:515: T__107
                {
                mT__107(); 

                }
                break;
            case 85 :
                // BELScript.g:1:522: T__108
                {
                mT__108(); 

                }
                break;
            case 86 :
                // BELScript.g:1:529: T__109
                {
                mT__109(); 

                }
                break;
            case 87 :
                // BELScript.g:1:536: T__110
                {
                mT__110(); 

                }
                break;
            case 88 :
                // BELScript.g:1:543: T__111
                {
                mT__111(); 

                }
                break;
            case 89 :
                // BELScript.g:1:550: T__112
                {
                mT__112(); 

                }
                break;
            case 90 :
                // BELScript.g:1:557: T__113
                {
                mT__113(); 

                }
                break;
            case 91 :
                // BELScript.g:1:564: T__114
                {
                mT__114(); 

                }
                break;
            case 92 :
                // BELScript.g:1:571: T__115
                {
                mT__115(); 

                }
                break;
            case 93 :
                // BELScript.g:1:578: T__116
                {
                mT__116(); 

                }
                break;
            case 94 :
                // BELScript.g:1:585: T__117
                {
                mT__117(); 

                }
                break;
            case 95 :
                // BELScript.g:1:592: T__118
                {
                mT__118(); 

                }
                break;
            case 96 :
                // BELScript.g:1:599: T__119
                {
                mT__119(); 

                }
                break;
            case 97 :
                // BELScript.g:1:606: T__120
                {
                mT__120(); 

                }
                break;
            case 98 :
                // BELScript.g:1:613: T__121
                {
                mT__121(); 

                }
                break;
            case 99 :
                // BELScript.g:1:620: T__122
                {
                mT__122(); 

                }
                break;
            case 100 :
                // BELScript.g:1:627: T__123
                {
                mT__123(); 

                }
                break;
            case 101 :
                // BELScript.g:1:634: T__124
                {
                mT__124(); 

                }
                break;
            case 102 :
                // BELScript.g:1:641: T__125
                {
                mT__125(); 

                }
                break;
            case 103 :
                // BELScript.g:1:648: T__126
                {
                mT__126(); 

                }
                break;
            case 104 :
                // BELScript.g:1:655: T__127
                {
                mT__127(); 

                }
                break;
            case 105 :
                // BELScript.g:1:662: T__128
                {
                mT__128(); 

                }
                break;
            case 106 :
                // BELScript.g:1:669: T__129
                {
                mT__129(); 

                }
                break;
            case 107 :
                // BELScript.g:1:676: T__130
                {
                mT__130(); 

                }
                break;
            case 108 :
                // BELScript.g:1:683: DOCUMENT_COMMENT
                {
                mDOCUMENT_COMMENT(); 

                }
                break;
            case 109 :
                // BELScript.g:1:700: STATEMENT_COMMENT
                {
                mSTATEMENT_COMMENT(); 

                }
                break;
            case 110 :
                // BELScript.g:1:718: DOCUMENT_KEYWORD
                {
                mDOCUMENT_KEYWORD(); 

                }
                break;
            case 111 :
                // BELScript.g:1:735: STATEMENT_GROUP_KEYWORD
                {
                mSTATEMENT_GROUP_KEYWORD(); 

                }
                break;
            case 112 :
                // BELScript.g:1:759: IDENT_LIST
                {
                mIDENT_LIST(); 

                }
                break;
            case 113 :
                // BELScript.g:1:770: VALUE_LIST
                {
                mVALUE_LIST(); 

                }
                break;
            case 114 :
                // BELScript.g:1:781: OBJECT_IDENT
                {
                mOBJECT_IDENT(); 

                }
                break;
            case 115 :
                // BELScript.g:1:794: QUOTED_VALUE
                {
                mQUOTED_VALUE(); 

                }
                break;
            case 116 :
                // BELScript.g:1:807: OPEN_PAREN
                {
                mOPEN_PAREN(); 

                }
                break;
            case 117 :
                // BELScript.g:1:818: CLOSE_PAREN
                {
                mCLOSE_PAREN(); 

                }
                break;
            case 118 :
                // BELScript.g:1:830: NS_PREFIX
                {
                mNS_PREFIX(); 

                }
                break;
            case 119 :
                // BELScript.g:1:840: NEWLINE
                {
                mNEWLINE(); 

                }
                break;
            case 120 :
                // BELScript.g:1:848: WS
                {
                mWS(); 

                }
                break;

        }

    }
334634
def p_qualifierDeclaration(p):
    # pylint: disable=line-too-long
      # noqa: E501
    qualtype = p[3]
    dt, is_array, array_size, value = qualtype
    qualname = p[2]
    scopes = p[4]
    if len(p) == 5:
        flist = []
    else:
        flist = p[5]

    flavors = _build_flavors(p[0], flist)

    p[0] = CIMQualifierDeclaration(
        qualname, dt, value=value, is_array=is_array, array_size=array_size,
        scopes=scopes, **flavors)
349294
def compile_with_value(self, func, args=None, owner=None):
        ''''''
        # format args
        if args is None:
            args = []

        # cast numpy.ndarray into theano.tensor
        theano_args = [self.cast2theano_var(a, 'extheano.jit.Compiler-arg-%d' % i)
                       for a, i in zip(args, range(len(args)))]

        # compiled value with symbol
        return self.compile_with_symbol(func, theano_args, owner)
327611
def count(expr, where=None):
    
    op = expr.op()
    if isinstance(op, ops.DistinctColumn):
        result = ops.CountDistinct(op.args[0], where).to_expr()
    else:
        result = ops.Count(expr, where).to_expr()

    return result.name('count')
821503
void buildPT_T() {
    int numTags = tagIndex.size();
    m_TT = new double[numTags][numTags];
    m_T = new double[numTags];
    double[] tmp = new double[numTags];
    for (IntTaggedWord word : words) {
      double tot = 0.0;
      for (int t = 0; t < numTags; t++) {
        IntTaggedWord iTW = new IntTaggedWord(word.word, t);
        tmp[t] = seenCounter.getCount(iTW);
        tot += tmp[t];
      }
      if (tot < 10) {
        continue;
      }
      for (int t = 0; t < numTags; t++) {
        for (int t2 = 0; t2 < numTags; t2++) {
          if (tmp[t2] > 0.0) {
            double c = tmp[t] / tot;
            m_T[t] += c;
            m_TT[t2][t] += c;
          }
        }
      }
    }
  }
515390
@Override
    public int print(
        ChronoDisplay formattable,
        Appendable buffer,
        AttributeQuery attributes,
        Set<ElementPosition> positions, // optional
        boolean quickPath
    ) throws IOException {

        BigDecimal value =
            formattable.get(this.element).setScale(
                this.scale,
                RoundingMode.FLOOR);
        String digits = value.toPlainString();
        int p = 0;
        int s = 0;
        int separator = -1;
        int n = digits.length();

        for (int i = 0; i < n; i++) {
            char c = digits.charAt(i);
            if (c == '.') {
                separator = i;
            } else if (separator >= 0) {
                s++;
            } else {
                p++;
            }
        }

        int delta = this.precision - this.scale - p;

        if (delta < 0) {
            throw new IllegalArgumentException(
                "Integer part of element value exceeds fixed format width: "
                + digits);
        }

        StringBuilder sb = new StringBuilder(this.precision + 1);

        for (int i = 0; i < delta; i++) {
            sb.append('0');
        }

        for (int i = 0; i < p; i++) {
            sb.append(digits.charAt(i));
        }

        this.decimalSeparator.print(formattable, sb, attributes, positions, quickPath);

        for (int i = 0; i < s; i++) {
            sb.append(digits.charAt(p + 1 + i));
        }

        for (int i = 0; i < this.scale - s; i++) {
            sb.append('0');
        }

        digits = sb.toString();

        char zeroChar = (
            quickPath
                ? this.zeroDigit
                : attributes.get(Attributes.ZERO_DIGIT, Character.valueOf('0')).charValue());

        if (zeroChar != '0') {
            int diff = zeroChar - '0';
            char[] characters = digits.toCharArray();

            for (int i = 0; i < characters.length; i++) {
                char c = characters[i];
                if ((c >= '0') && (c <= '9')) {
                    characters[i] = (char) (c + diff);
                }
            }

            digits = new String(characters);
        }

        int start = -1;
        int printed = digits.length();

        if (buffer instanceof CharSequence) {
            start = ((CharSequence) buffer).length();
        }

        buffer.append(digits);

        if (
            (start != -1)
            && (printed > 0)
            && (positions != null)
        ) {
            positions.add(new ElementPosition(this.element, start, start + printed));
        }

        return printed;

    }