/dports/net-p2p/amule-devel/aMule-SVN-r11065/unittests/tests/ |
H A D | StringFunctionsTest.cpp | 86 ASSERT_EQUALS(0u, tkz1.tokenCount()); in TEST() 90 ASSERT_EQUALS(1u, tkz1.tokenCount()); in TEST() 94 ASSERT_EQUALS(1u, tkz1.tokenCount()); in TEST() 98 ASSERT_EQUALS(1u, tkz1.tokenCount()); in TEST() 104 ASSERT_EQUALS(0u, tkz2.tokenCount()); in TEST() 108 ASSERT_EQUALS(1u, tkz2.tokenCount()); in TEST() 151 ASSERT_EQUALS(0u, tkz.tokenCount()); in TEST() 155 ASSERT_EQUALS(1u, tkz.tokenCount()); in TEST() 159 ASSERT_EQUALS(1u, tkz.tokenCount()); in TEST() 163 ASSERT_EQUALS(1u, tkz.tokenCount()); in TEST() [all …]
|
/dports/net-p2p/amule/aMule-2.3.3/unittests/tests/ |
H A D | StringFunctionsTest.cpp | 86 ASSERT_EQUALS(0u, tkz1.tokenCount()); in TEST() 90 ASSERT_EQUALS(1u, tkz1.tokenCount()); in TEST() 94 ASSERT_EQUALS(1u, tkz1.tokenCount()); in TEST() 98 ASSERT_EQUALS(1u, tkz1.tokenCount()); in TEST() 104 ASSERT_EQUALS(0u, tkz2.tokenCount()); in TEST() 108 ASSERT_EQUALS(1u, tkz2.tokenCount()); in TEST() 151 ASSERT_EQUALS(0u, tkz.tokenCount()); in TEST() 155 ASSERT_EQUALS(1u, tkz.tokenCount()); in TEST() 159 ASSERT_EQUALS(1u, tkz.tokenCount()); in TEST() 163 ASSERT_EQUALS(1u, tkz.tokenCount()); in TEST() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/swiftshader/src/D3D9/ |
H A D | Direct3DVertexShader9.cpp | 24 tokenCount = 0; in Direct3DVertexShader9() 26 while(shaderToken[tokenCount] != 0x0000FFFF) in Direct3DVertexShader9() 28 …tokenCount += sw::Shader::size(shaderToken[tokenCount], (unsigned short)(shaderToken[0] & 0xFFFF))… in Direct3DVertexShader9() 31 tokenCount += 1; in Direct3DVertexShader9() 33 this->shaderToken = new unsigned long[tokenCount]; in Direct3DVertexShader9() 34 memcpy(this->shaderToken, shaderToken, tokenCount * sizeof(unsigned long)); in Direct3DVertexShader9() 107 memcpy(data, shaderToken, tokenCount * 4); in GetFunction() 110 *size = tokenCount * 4; in GetFunction()
|
H A D | Direct3DPixelShader9.cpp | 24 tokenCount = 0; in Direct3DPixelShader9() 26 while(shaderToken[tokenCount] != 0x0000FFFF) in Direct3DPixelShader9() 28 …tokenCount += sw::Shader::size(shaderToken[tokenCount], (unsigned short)(shaderToken[0] & 0xFFFF))… in Direct3DPixelShader9() 31 tokenCount += 1; in Direct3DPixelShader9() 33 this->shaderToken = new unsigned long[tokenCount]; in Direct3DPixelShader9() 34 memcpy(this->shaderToken, shaderToken, tokenCount * sizeof(unsigned long)); in Direct3DPixelShader9() 107 memcpy(data, shaderToken, tokenCount * 4); in GetFunction() 110 *size = tokenCount * 4; in GetFunction()
|
/dports/net/seda/seda-release-20020712/seda/src/seda/sandStorm/core/ |
H A D | MulticlassRateLimitingPredicate.java | 41 private double tokenCount[]; field in MulticlassRateLimitingPredicate 63 this.tokenCount = new double[NUM_CLASSES]; in MulticlassRateLimitingPredicate() 71 this.tokenCount[c] = depth*1.0; in MulticlassRateLimitingPredicate() 112 tokenCount[c] += numTokens; in accept() 113 if (tokenCount[c] > depth[c]) tokenCount[c] = depth[c]; in accept() 117 if (tokenCount[c] >= 1.0) { in accept() 118 tokenCount[c] -= 1.0; in accept() 146 return (int)tokenCount[theclass]; in getBucketSize() 155 this.tokenCount[theclass] = 0; in setTargetRate()
|
H A D | RateLimitingPredicate.java | 40 private double tokenCount; 60 this.depth = depth; this.tokenCount = depth*1.0; in accept() 89 tokenCount += numTokens; if (tokenCount > depth) tokenCount = depth; 93 if (tokenCount >= 1.0) { 94 tokenCount -= 1.0; 122 return (int)tokenCount;
|
/dports/graphics/libglvnd/libglvnd-8f3c5b17a21e2222ab3e5fd38870b915815aca49/src/util/ |
H A D | utils_misc.c | 123 size_t tokenCount = 0; in SplitString() local 135 tokenCount++; in SplitString() 139 if (tokenCount == 0) { in SplitString() 143 tokens = (char **) malloc((tokenCount + 1) * sizeof(char *) in SplitString() 149 tokenBuf = (char *) (tokens + tokenCount + 1); in SplitString() 153 tokenCount = 0; in SplitString() 157 tokens[tokenCount++] = tokenBuf; in SplitString() 160 tokens[tokenCount] = NULL; in SplitString() 162 *count = tokenCount; in SplitString()
|
/dports/security/vault/vault-1.8.2/vault/ |
H A D | activity_log_testing_util.go | 34 c.activityLog.currentSegment.tokenCount.CountByNamespaceID = tokens 110 if a.currentSegment.tokenCount == nil { 113 if a.currentSegment.tokenCount.CountByNamespaceID == nil { 123 if len(a.currentSegment.tokenCount.CountByNamespaceID) > 0 { 124 …t.Errorf("expected no token counts to be loaded. got: %v", a.currentSegment.tokenCount.CountByName… 166 func (a *ActivityLog) SetTokenCount(tokenCount *activity.TokenCount) { 169 a.currentSegment.tokenCount = tokenCount 176 return a.currentSegment.tokenCount.CountByNamespaceID
|
/dports/science/jmol/jmol-14.32.7/src/org/jmol/adapter/readers/xml/ |
H A D | XmlCmlReader.java | 114 private int tokenCount; field in XmlCmlReader 276 tokenCount = 0; in processStart2() 361 tokenCount = 0; in processStart2() 643 if (tokenCount == 0) in processEnd2() 645 if (tokenCount < 2) in processEnd2() 649 if (order > 0 && tokenCount == 2) in processEnd2() 779 tokenCount = st.countTokens(); in breakOutTokens() 780 if (tokenCount > tokens.length) in breakOutTokens() 781 tokens = new String[tokenCount]; in breakOutTokens() 793 checkAtomArrayLength(tokenCount); in breakOutAtomTokens() [all …]
|
/dports/security/opencryptoki/opencryptoki-3.11.0/usr/sbin/pkcsicsf/ |
H A D | pkcsicsf.c | 320 size_t i, tokenCount = MAX_RECORDS; in list_tokens() local 331 for (i = 0; i < tokenCount; i++) { in list_tokens() 345 if (tokenCount) in list_tokens() 346 previous = &tokens[tokenCount - 1]; in list_tokens() 348 } while (tokenCount); in list_tokens() 355 size_t i, tokenCount = MAX_RECORDS; in lookup_name() local 369 for (i = 0; i < tokenCount; i++) { in lookup_name() 376 if (tokenCount) in lookup_name() 379 } while (tokenCount); in lookup_name() 398 size_t tokenCount; in retrieve_all() local [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Security/ |
H A D | SecurityHeaderTokenResolver.cs | 18 int tokenCount; field in System.ServiceModel.Security.SecurityHeaderTokenResolver 65 …this.tokens[this.tokenCount++] = new SecurityTokenEntry(token, tokenParameters, allowedReferenceSt… in Add() 70 if (this.tokenCount == this.tokens.Length) in EnsureCapacityToAddToken() 73 Array.Copy(this.tokens, 0, newTokens, 0, this.tokenCount); in EnsureCapacityToAddToken() 120 for (int i = 0; i < this.tokenCount; i++) in ResolveSecurityKeyCore() 155 for (int i = 0; i < this.tokenCount; i++) in ResolveToken() 215 for (int i = 0; i < this.tokenCount; ++i) in ResolveToken() 253 writer.WriteLine(" TokenCount = {0},", this.tokenCount); in ToString() 254 for (int i = 0; i < this.tokenCount; i++) in ToString()
|
/dports/security/vault/vault-1.8.2/vault/external_tests/activity/ |
H A D | activity_test.go | 42 tokenCount, err := tokenCountJSON.(json.Number).Int64() 46 if tokenCount != int64(expectedTokens) { 47 t.Errorf("bad token count. expected %v, got %v", expectedTokens, tokenCount) 93 for _, tokenCount := range tokens { 94 expectedTokens += int(tokenCount)
|
/dports/textproc/py-reverend/Reverend-0.3/reverend/ |
H A D | thomas.py | 18 self.tokenCount = 0 25 return '<BayesDict: %s, %s tokens>' % (self.name, self.tokenCount) 85 dp.tokenCount += 1 131 poolCount = pool.tokenCount 132 themCount = max(self.corpus.tokenCount - poolCount, 1) 219 pool.tokenCount += wc 220 self.corpus.tokenCount += wc 230 pool.tokenCount -= 1 238 self.corpus.tokenCount -= 1
|
/dports/devel/icu/icu/source/common/ |
H A D | unames.cpp | 276 if(c>=tokenCount) { in expandName() 370 if(c>=tokenCount) { in compareName() 1305 if(c>=tokenCount) { in calcNameSetLength() 1346 uint16_t tokenCount=*tokens++; in calcGroupNameSetsLengths() local 1794 if(tokenCount>256) { in makeTokenMap() 1795 tokenCount=256; in makeTokenMap() 1799 for(i=1; i<tokenCount; ++i) { in makeTokenMap() 1906 uint16_t tokenCount; in uchar_swapNames() local 1935 if(tokenCount<=512) { in uchar_swapNames() 1936 count=tokenCount; in uchar_swapNames() [all …]
|
/dports/devel/icu-lx/icu/source/common/ |
H A D | unames.cpp | 276 if(c>=tokenCount) { in expandName() 370 if(c>=tokenCount) { in compareName() 1305 if(c>=tokenCount) { in calcNameSetLength() 1346 uint16_t tokenCount=*tokens++; in calcGroupNameSetsLengths() local 1794 if(tokenCount>256) { in makeTokenMap() 1795 tokenCount=256; in makeTokenMap() 1799 for(i=1; i<tokenCount; ++i) { in makeTokenMap() 1906 uint16_t tokenCount; in uchar_swapNames() local 1935 if(tokenCount<=512) { in uchar_swapNames() 1936 count=tokenCount; in uchar_swapNames() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/intl/icu/source/common/ |
H A D | unames.cpp | 276 if(c>=tokenCount) { in expandName() 370 if(c>=tokenCount) { in compareName() 1305 if(c>=tokenCount) { in calcNameSetLength() 1346 uint16_t tokenCount=*tokens++; in calcGroupNameSetsLengths() local 1794 if(tokenCount>256) { in makeTokenMap() 1795 tokenCount=256; in makeTokenMap() 1799 for(i=1; i<tokenCount; ++i) { in makeTokenMap() 1906 uint16_t tokenCount; in uchar_swapNames() local 1935 if(tokenCount<=512) { in uchar_swapNames() 1936 count=tokenCount; in uchar_swapNames() [all …]
|
/dports/lang/v8/v8-9.6.180.12/third_party/icu/source/common/ |
H A D | unames.cpp | 276 if(c>=tokenCount) { in expandName() 370 if(c>=tokenCount) { in compareName() 1305 if(c>=tokenCount) { in calcNameSetLength() 1346 uint16_t tokenCount=*tokens++; in calcGroupNameSetsLengths() local 1794 if(tokenCount>256) { in makeTokenMap() 1795 tokenCount=256; in makeTokenMap() 1799 for(i=1; i<tokenCount; ++i) { in makeTokenMap() 1906 uint16_t tokenCount; in uchar_swapNames() local 1935 if(tokenCount<=512) { in uchar_swapNames() 1936 count=tokenCount; in uchar_swapNames() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/intl/icu/source/common/ |
H A D | unames.cpp | 276 if(c>=tokenCount) { in expandName() 370 if(c>=tokenCount) { in compareName() 1305 if(c>=tokenCount) { in calcNameSetLength() 1346 uint16_t tokenCount=*tokens++; in calcGroupNameSetsLengths() local 1794 if(tokenCount>256) { in makeTokenMap() 1795 tokenCount=256; in makeTokenMap() 1799 for(i=1; i<tokenCount; ++i) { in makeTokenMap() 1906 uint16_t tokenCount; in uchar_swapNames() local 1935 if(tokenCount<=512) { in uchar_swapNames() 1936 count=tokenCount; in uchar_swapNames() [all …]
|
/dports/textproc/R-cran-stringi/stringi/src/icu69/common/ |
H A D | unames.cpp | 276 if(c>=tokenCount) { in expandName() 370 if(c>=tokenCount) { in compareName() 1305 if(c>=tokenCount) { in calcNameSetLength() 1346 uint16_t tokenCount=*tokens++; in calcGroupNameSetsLengths() local 1794 if(tokenCount>256) { in makeTokenMap() 1795 tokenCount=256; in makeTokenMap() 1799 for(i=1; i<tokenCount; ++i) { in makeTokenMap() 1906 uint16_t tokenCount; in uchar_swapNames() local 1935 if(tokenCount<=512) { in uchar_swapNames() 1936 count=tokenCount; in uchar_swapNames() [all …]
|
/dports/textproc/R-cran-stringi/stringi/src/icu55/common/ |
H A D | unames.cpp | 274 if(c>=tokenCount) { in expandName() 368 if(c>=tokenCount) { in compareName() 1303 if(c>=tokenCount) { in calcNameSetLength() 1344 uint16_t tokenCount=*tokens++; in calcGroupNameSetsLengths() local 1785 if(tokenCount>256) { in makeTokenMap() 1786 tokenCount=256; in makeTokenMap() 1790 for(i=1; i<tokenCount; ++i) { in makeTokenMap() 1897 uint16_t tokenCount; in uchar_swapNames() local 1926 if(tokenCount<=512) { in uchar_swapNames() 1927 count=tokenCount; in uchar_swapNames() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/icu/source/common/ |
H A D | unames.cpp | 276 if(c>=tokenCount) { in expandName() 370 if(c>=tokenCount) { in compareName() 1305 if(c>=tokenCount) { in calcNameSetLength() 1346 uint16_t tokenCount=*tokens++; in calcGroupNameSetsLengths() local 1793 if(tokenCount>256) { in makeTokenMap() 1794 tokenCount=256; in makeTokenMap() 1798 for(i=1; i<tokenCount; ++i) { in makeTokenMap() 1905 uint16_t tokenCount; in uchar_swapNames() local 1934 if(tokenCount<=512) { in uchar_swapNames() 1935 count=tokenCount; in uchar_swapNames() [all …]
|
/dports/www/firefox/firefox-99.0/intl/icu/source/common/ |
H A D | unames.cpp | 276 if(c>=tokenCount) { in expandName() 370 if(c>=tokenCount) { in compareName() 1305 if(c>=tokenCount) { in calcNameSetLength() 1346 uint16_t tokenCount=*tokens++; in calcGroupNameSetsLengths() local 1794 if(tokenCount>256) { in makeTokenMap() 1795 tokenCount=256; in makeTokenMap() 1799 for(i=1; i<tokenCount; ++i) { in makeTokenMap() 1906 uint16_t tokenCount; in uchar_swapNames() local 1935 if(tokenCount<=512) { in uchar_swapNames() 1936 count=tokenCount; in uchar_swapNames() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/icu/source/common/ |
H A D | unames.cpp | 276 if(c>=tokenCount) { in expandName() 370 if(c>=tokenCount) { in compareName() 1305 if(c>=tokenCount) { in calcNameSetLength() 1346 uint16_t tokenCount=*tokens++; in calcGroupNameSetsLengths() local 1794 if(tokenCount>256) { in makeTokenMap() 1795 tokenCount=256; in makeTokenMap() 1799 for(i=1; i<tokenCount; ++i) { in makeTokenMap() 1906 uint16_t tokenCount; in uchar_swapNames() local 1935 if(tokenCount<=512) { in uchar_swapNames() 1936 count=tokenCount; in uchar_swapNames() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/intl/icu/source/common/ |
H A D | unames.cpp | 276 if(c>=tokenCount) { in expandName() 370 if(c>=tokenCount) { in compareName() 1305 if(c>=tokenCount) { in calcNameSetLength() 1346 uint16_t tokenCount=*tokens++; in calcGroupNameSetsLengths() local 1787 if(tokenCount>256) { in makeTokenMap() 1788 tokenCount=256; in makeTokenMap() 1792 for(i=1; i<tokenCount; ++i) { in makeTokenMap() 1899 uint16_t tokenCount; in uchar_swapNames() local 1928 if(tokenCount<=512) { in uchar_swapNames() 1929 count=tokenCount; in uchar_swapNames() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/intl/icu/source/common/ |
H A D | unames.cpp | 276 if(c>=tokenCount) { in expandName() 370 if(c>=tokenCount) { in compareName() 1305 if(c>=tokenCount) { in calcNameSetLength() 1346 uint16_t tokenCount=*tokens++; in calcGroupNameSetsLengths() local 1787 if(tokenCount>256) { in makeTokenMap() 1788 tokenCount=256; in makeTokenMap() 1792 for(i=1; i<tokenCount; ++i) { in makeTokenMap() 1899 uint16_t tokenCount; in uchar_swapNames() local 1928 if(tokenCount<=512) { in uchar_swapNames() 1929 count=tokenCount; in uchar_swapNames() [all …]
|