MCPcopy Create free account

hub / github.com/dachev/node-cld / functions

Functions252 in github.com/dachev/node-cld

↓ 1 callersFunctionstrto64
For now, long long is 64-bit on all the platforms we care about, so these functions can simply pass the call to strto[u]ll.
chromium/base/strtoint.h:62
FunctionANNOTATE_UNPROTECTED_READ
chromium/base/dynamic_annotations.h:328
MethodAdd
chromium/encodings/compact_lang_det/subsetsequence.cc:160
MethodAddClosePair
chromium/encodings/compact_lang_det/tote.h:55
FunctionBackOneUTF8
Back up one UTF-8 character
chromium/encodings/compact_lang_det/compact_lang_det_impl.cc:1578
MethodBiHashV25
BIGRAM Pick up 1..8 bytes and hash them via mask/shift/add. NO pre/post OVERSHOOTS up to 3 bytes For runtime use of tables
chromium/encodings/compact_lang_det/cldutil.cc:94
MethodCheapSqueezeInplace
Remove portions of text that have a high density of spaces, or that are overly repetitive, squeezing the remaining text in-place to the front of the i
chromium/encodings/compact_lang_det/compact_lang_det_impl.cc:969
FunctionCheckNotNull
chromium/base/logging.h:1073
MethodCheckOpString
chromium/base/logging.h:426
MethodCld
src/cld.h:14
MethodCrashReason
chromium/base/crash.h:13
MethodDemoteNotTop40
Demote all languages except Top40 and plus_one Do this just before sorting chunk_tote results
chromium/encodings/compact_lang_det/cldutil.cc:897
MethodDetect
src/cld.cc:131
MethodDetectLanguage
chromium/encodings/compact_lang_det/compact_lang_det.cc:14
FunctionDetectLanguageOfUnicodeText
Detects a language of the UTF-16 encoded zero-terminated text. Returns: Language enum.
chromium/encodings/compact_lang_det/win/cld_unicodetext.cc:38
MethodDetectLanguageSummaryV25
Result vector must be exactly three items
chromium/encodings/compact_lang_det/compact_lang_det_impl.cc:2090
MethodDetectLanguageVersion
Return version text string String is "code_version - data_scrape_date"
chromium/encodings/compact_lang_det/compact_lang_det.cc:59
MethodDoBigramScoreV3
BIGRAM, using hash table, always advancing by 1 char Caller supplies table, such as &kCjkBiTable_obj or &kGibberishTable_obj Score all bigrams in isrc
chromium/encodings/compact_lang_det/cldutil.cc:504
MethodDoCarries
chromium/encodings/compact_lang_det/subsetsequence.cc:129
MethodDoOctaScoreV3
OCTAGRAM, using hash table, always advancing by 1 word Caller supplies table, such as &kLongWord8Table_obj Score all words in isrc, using languages th
chromium/encodings/compact_lang_det/cldutil.cc:678
MethodDoQuadScoreV3
QUADGRAM, using hash table, advancing by 2/4/8/16 chars Caller supplies table, such as &kQuadTable_obj or &kGibberishTable_obj Score up to n quadgrams
chromium/encodings/compact_lang_det/cldutil.cc:562
MethodDoUniScoreV3
UNIGRAM, using UTF-8 property table, advancing by 1/2/4/8 chars Caller supplies table, such as compact_lang_det_generated_ctjkvz_b1_obj Score up to n
chromium/encodings/compact_lang_det/cldutil.cc:425
MethodDump
chromium/encodings/compact_lang_det/tote.cc:128
FunctionDumpInts
chromium/encodings/compact_lang_det/subsetsequence.cc:52
FunctionDumpUint8s
chromium/encodings/compact_lang_det/subsetsequence.cc:60
FunctionEntityToBuffer
Src points to '&' Writes entity value to dst. Returns take(src), put(dst) byte counts
chromium/encodings/compact_lang_det/win/cld_htmlutils_windows.cc:9
FunctionExtLanguageDeclaredName
Given the Language, returns its Language enum spelling, for use by programs that create C declarations, e.g. "KOREAN" "UNKNOWN_LANGUAGE" if the input
chromium/encodings/compact_lang_det/ext_lang_enc.cc:257
MethodExtract
Extract representative pattern of exactly N values into dst[0..n-1] This routine may be called multiple times, but it may downsample as a side effect,
chromium/encodings/compact_lang_det/subsetsequence.cc:198
FunctionFlagHint
chromium/encodings/compact_lang_det/compact_lang_det_impl.cc:748
FunctionFlagShort
chromium/encodings/compact_lang_det/compact_lang_det_impl.cc:747
MethodFlush
Collapse tail end by simple median across disparate-weight values, dropping or duplicating last value if need be. This routine is idempotent.
chromium/encodings/compact_lang_det/subsetsequence.cc:175
MethodGetClosePair
chromium/encodings/compact_lang_det/tote.h:64
MethodGetIncrCount
chromium/encodings/compact_lang_det/tote.h:63
FunctionGetLScriptFromNumberOrName
Convert "en-Latn-GB" to ULScript_Latin
chromium/encodings/compact_lang_det/ext_lang_enc.cc:497
FunctionGetLanguageFromNumberOrName
Convert "en-Latn-GB" to ENGLISH Normalize to PORTUGUESE, not PORTUGUESE_B nor PORTUGUESE_P Consider for later: NORWEGIAN, NORWEGIAN_N Consider for lat
chromium/encodings/compact_lang_det/ext_lang_enc.cc:289
MethodGetNormalizedScore
Calculate ratio of score per 1KB vs. expected score per 1KB
chromium/encodings/compact_lang_det/cldutil.cc:812
MethodGetOneScriptSpan
Copy next run of same-script non-tag letters to buffer [NUL terminated] Buffer has leading space and all text is lowercased
chromium/encodings/compact_lang_det/getonescriptspan.cc:346
MethodGetReliability
Calculate reliablity of len bytes of script lscript with chunk_tote
chromium/encodings/compact_lang_det/cldutil.cc:839
MethodGetUTF8LetterScriptNum
Gets lscript number for letters; always returns 0 (common script) for non-letters
chromium/encodings/compact_lang_det/getonescriptspan.cc:566
MethodInit
src/cld.cc:14
MethodInit
chromium/encodings/compact_lang_det/subsetsequence.cc:79
FunctionIsContinuationByte
chromium/encodings/compact_lang_det/getonescriptspan.h:30
FunctionIsUTF8ContinueByte
Useful single-byte tests
chromium/encodings/compact_lang_det/cldutil.h:1192
FunctionIsUTF8HighByte
chromium/encodings/compact_lang_det/cldutil.h:1194
MethodKey
chromium/encodings/compact_lang_det/tote.h:66
FunctionLanguageCodeISO639_1
chromium/languages/internal/languages.cc:253
FunctionLanguageCodeISO639_2
chromium/languages/internal/languages.cc:261
FunctionLanguageCodeWithDialects
chromium/languages/internal/languages.cc:269
FunctionLgProb5
Return one of five probabilities in an entry CURRENTLY UNUSED
chromium/encodings/compact_lang_det/cldutil.h:991
FunctionLogAtLevel
A non-macro interface to the log facility; (useful when the logging level is not a compile-time constant).
chromium/base/logging.h:1060
MethodLogMessageData
chromium/base/logging.h:994
MethodLogMessageVoidify
chromium/base/logging.h:1132
MethodLogStream
chromium/base/logging.h:876
MethodLowerScriptSpan
Force Latin, Cyrillic, Greek scripts to be lowercase
chromium/encodings/compact_lang_det/getonescriptspan.cc:535
FunctionMakeCheckOpString
chromium/base/logging.h:454
MethodMaxSize
chromium/encodings/compact_lang_det/tote.h:65
MethodMedian3
Return median of seq_[sub] .. seq_[sub+2], favoring middle element
chromium/encodings/compact_lang_det/subsetsequence.cc:69
FunctionMyExtLanguageCode
Returns "0" for too small
chromium/encodings/compact_lang_det/cldutil.h:968
MethodNewLevel
Compress level k by 3x, creating level k+1
chromium/encodings/compact_lang_det/subsetsequence.cc:95
MethodNormalizationAPI
Creates fully initialized NormalizationAPI object. Loads DLL and binds all referenced functions.
chromium/encodings/compact_lang_det/win/normalizedunicodetext.cc:33
MethodNormalize
chromium/encodings/compact_lang_det/win/normalizedunicodetext.cc:86
FunctionNormalizeLanguage
Merge together some languages, such as bo/hr/sr Croatian Latin and Serbian Cyrillic now.
chromium/encodings/compact_lang_det/ext_lang_enc.cc:536
MethodNormalizedUnicodeText
chromium/encodings/compact_lang_det/win/normalizedunicodetext.cc:81
MethodNullStream
Initialize the LogStream so the messages can be written somewhere (they'll never be actually displayed). This will be needed if a NullStream& is impli
chromium/base/logging.h:1372
MethodNullStreamFatal
chromium/base/logging.h:1397
MethodOctaHash40
OCTAGRAM wrapper with surrounding spaces Pick up 1..24 bytes plus pre/post space and hash them via mask/shift/add UNDERSHOOTS 1 byte, OVERSHOOTS up to
chromium/encodings/compact_lang_det/cldutil.cc:339
MethodOctaHash40underscore
OCTAGRAM wrapper with surrounding underscores (offline use) Pick up 1..24 bytes plus pre/post space and hash them via mask/shift/add UNDERSHOOTS 1 byt
chromium/encodings/compact_lang_det/cldutil.cc:357
FunctionOneCharLen
chromium/encodings/compact_lang_det/win/cld_unilib_google3.cc:14
FunctionPrintTopLang
chromium/encodings/compact_lang_det/compact_lang_det_impl.cc:1461
MethodProcessProbV25Tote
BIGRAM, QUADGRAM, OCTAGRAM score one => tote Input: 4-byte entry of 3 language numbers and one probability subscript, plus an accumulator tote. (langu
chromium/encodings/compact_lang_det/cldutil.cc:402
MethodProcessProbV25UniTote
UNIGRAM score one => tote Input: 1-byte entry of subscript into unigram probs, plus an accumulator tote. Output: running sums in tote updated
chromium/encodings/compact_lang_det/cldutil.cc:387
MethodQuadHashV25
QUADGRAM wrapper with surrounding spaces Pick up 1..12 bytes plus pre/post space and hash them via mask/shift/add UNDERSHOOTS 1 byte, OVERSHOOTS up to
chromium/encodings/compact_lang_det/cldutil.cc:184
MethodQuadHashV25Underscore
QUADGRAM wrapper with surrounding underscores (offline use) Pick up 1..12 bytes plus pre/post '_' and hash them via mask/shift/add OVERSHOOTS up to 3
chromium/encodings/compact_lang_det/cldutil.cc:198
MethodReliabilityDelta
Return reliablity of result 0..100 for top two scores delta==0 is 0% reliable, delta==fully_reliable_thresh is 100% reliable (on a scale where +1 is a
chromium/encodings/compact_lang_det/cldutil.cc:765
MethodReliabilityMainstream
Return reliablity of result 0..100 for top score vs. mainsteam score Values are score per 1024 bytes of input ratio = max(top/mainstream, mainstream/t
chromium/encodings/compact_lang_det/cldutil.cc:790
MethodScriptScanner
chromium/encodings/compact_lang_det/getonescriptspan.cc:263
MethodSetGramCount
chromium/encodings/compact_lang_det/tote.h:30
MethodSetIncrCount
chromium/encodings/compact_lang_det/tote.h:31
MethodSetKey
chromium/encodings/compact_lang_det/tote.h:70
MethodSetScore
chromium/encodings/compact_lang_det/tote.h:72
MethodSetValue
chromium/encodings/compact_lang_det/tote.h:71
FunctionSite
Construct a logging site from a logging level and epoch.
chromium/base/vlog_is_on.h:115
MethodSkipToFrontOfSpan
Get to the first real non-tag letter or entity that is a letter Sets script of that letter Return len if no more letters
chromium/encodings/compact_lang_det/getonescriptspan.cc:286
MethodSubsetSequence
chromium/encodings/compact_lang_det/subsetsequence.h:19
FunctionTEST_F
chromium/encodings/compact_lang_det/compact_lang_det_unittest_small.cc:141
MethodTestCompactLangDetPlain
Detect language of plaintext src
chromium/encodings/compact_lang_det/compact_lang_det_unittest_small.cc:110
MethodTestExtCompactLangDetPlain
Detect extended language of plaintext src
chromium/encodings/compact_lang_det/compact_lang_det_unittest_small.cc:122
MethodTote
Take a set of <key, value> pairs and tote them up. After explicitly sorting, retrieve top key, value pairs
chromium/encodings/compact_lang_det/tote.cc:13
MethodToteWithReliability
Take a set of <key, value> pairs and tote them up. After explicitly sorting, retrieve top key, value pairs
chromium/encodings/compact_lang_det/tote.cc:142
MethodTryToNormalizeText
chromium/encodings/compact_lang_det/win/normalizedunicodetext.cc:94
FunctionUTF8GenericScan
chromium/encodings/compact_lang_det/win/cld_utf8utils_google3.cc:13
FunctionUTF8GenericScan
chromium/encodings/compact_lang_det/win/cld_utf8utils_windows.cc:11
FunctionUnicodeLScriptName
chromium/encodings/compact_lang_det/letterscript_enum.cc:108
FunctionVLogEnabled
Determine whether verbose logging should occur at a given log site. TODO(llansing): Find a way to eliminate FLAGS_silent_init from this function whil
chromium/base/vlog_is_on.h:131
MethodValue
chromium/encodings/compact_lang_det/tote.h:67
Functionatoi32
Although it returns an int, atoi() is implemented in terms of strtol, and so has differing overflow and underflow behavior. atol is the same.
chromium/base/strtoint.h:76
Functionatoi64
chromium/base/strtoint.h:80
Functionbit_cast
chromium/base/casts.h:146
Functionbit_cast
chromium/base/basictypes.h:320
Functioncopy_n
chromium/base/stl_decl_msvc.h:34
← previousnext →101–200 of 252, ranked by callers