Home
last modified time | relevance | path

Searched refs:sourceCount (Results 1 – 25 of 189) sorted by relevance

12345678

/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/gopkg.in/olivere/elastic.v3/
H A Dreindexer_test.go15 if sourceCount <= 0 {
35 if ret.Success != sourceCount {
53 if targetCount != sourceCount {
67 if sourceCount <= 0 {
88 if ret.Success != sourceCount {
106 if targetCount != sourceCount {
118 if sourceCount <= 0 {
138 if ret.Success != sourceCount {
148 if calls != sourceCount {
167 if sourceCount <= 0 {
[all …]
H A Dupdate_by_query_test.go111 sourceCount, err := client.Count(testIndexName).Do()
115 if sourceCount <= 0 {
116 t.Fatalf("expected more than %d documents; got: %d", 0, sourceCount)
126 if res.Updated != sourceCount {
127 t.Fatalf("expected %d; got: %d", sourceCount, res.Updated)
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.amd64/src/org/graalvm/compiler/replacements/amd64/
H A DAMD64StringSubstitutions.java65 public static int indexOf(char[] source, int sourceOffset, int sourceCount, in indexOf() argument
69 if (fromIndex >= sourceCount) { in indexOf()
70 return (targetCount == 0 ? sourceCount : -1); in indexOf()
81 if (sourceCount - fromIndex < targetCount) { in indexOf()
85 assert sourceCount - fromIndex > 0 && targetCount > 0; in indexOf()
89 …int indexOfResult = AMD64ArrayIndexOf.indexOf1Char(sourcePointer, sourceCount - fromIndex, target[… in indexOf()
96 …OfResult = AMD64ArrayIndexOf.indexOfTwoConsecutiveChars(sourcePointer, sourceCount - fromIndex, ta… in indexOf()
102 int haystackLength = sourceCount - (fromIndex + (targetCount - 2)); in indexOf()
126 final int sourceCount = source.length(); in indexOf() local
127 if (fromIndex >= sourceCount) { in indexOf()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.amd64/src/org/graalvm/compiler/replacements/amd64/
H A DAMD64StringSubstitutions.java65 public static int indexOf(char[] source, int sourceOffset, int sourceCount, in indexOf() argument
69 if (fromIndex >= sourceCount) { in indexOf()
70 return (targetCount == 0 ? sourceCount : -1); in indexOf()
81 if (sourceCount - fromIndex < targetCount) { in indexOf()
87 … return AMD64ArrayIndexOf.indexOf1Char(source, sourceCount, totalOffset, target[targetOffset]); in indexOf()
89 int haystackLength = sourceCount - (targetCount - 2); in indexOf()
115 final int sourceCount = source.length(); in indexOf() local
116 if (fromIndex >= sourceCount) { in indexOf()
126 return AMD64ArrayIndexOf.indexOf1Char(sourceArray, sourceCount, fromIndex, (char) ch); in indexOf()
H A DAMD64StringUTF16Substitutions.java118 …public static int indexOfUnsafe(byte[] source, int sourceCount, byte[] target, int targetCount, in… in indexOfUnsafe() argument
122 …ReplacementsUtil.runtimeAssert(sourceCount >= targetCount, "StringUTF16.indexOfUnsafe invalid args… in indexOfUnsafe()
124 …return AMD64ArrayIndexOf.indexOf1Char(source, sourceCount, fromIndex, StringUTF16Substitutions.get… in indexOfUnsafe()
126 int haystackLength = sourceCount - (targetCount - 2); in indexOfUnsafe()
147 …public static int indexOfLatin1Unsafe(byte[] source, int sourceCount, byte[] target, int targetCou… in indexOfLatin1Unsafe() argument
151 …ReplacementsUtil.runtimeAssert(sourceCount >= targetCount, "StringUTF16.indexOfLatin1Unsafe invali… in indexOfLatin1Unsafe()
153 …return AMD64ArrayIndexOf.indexOf1Char(source, sourceCount, fromIndex, (char) Byte.toUnsignedInt(ta… in indexOfLatin1Unsafe()
155 int haystackLength = sourceCount - (targetCount - 2); in indexOfLatin1Unsafe()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.amd64/src/org/graalvm/compiler/replacements/amd64/
H A DAMD64StringSubstitutions.java65 public static int indexOf(char[] source, int sourceOffset, int sourceCount, in indexOf() argument
69 if (fromIndex >= sourceCount) { in indexOf()
70 return (targetCount == 0 ? sourceCount : -1); in indexOf()
81 if (sourceCount - fromIndex < targetCount) { in indexOf()
88 …int indexOfResult = AMD64ArrayIndexOf.indexOf1Char(sourcePointer, sourceCount - fromIndex, target[… in indexOf()
95 …OfResult = AMD64ArrayIndexOf.indexOfTwoConsecutiveChars(sourcePointer, sourceCount - fromIndex, ta… in indexOf()
101 int haystackLength = sourceCount - (fromIndex + (targetCount - 2)); in indexOf()
125 final int sourceCount = source.length(); in indexOf() local
126 if (fromIndex >= sourceCount) { in indexOf()
138 … int result = AMD64ArrayIndexOf.indexOf1Char(sourcePointer, sourceCount - fromIndex, (char) ch); in indexOf()
H A DAMD64StringUTF16Substitutions.java123 …public static int indexOfUnsafe(byte[] source, int sourceCount, byte[] target, int targetCount, in… in indexOfUnsafe() argument
127 …ReplacementsUtil.runtimeAssert(sourceCount >= targetCount, "StringUTF16.indexOfUnsafe invalid args… in indexOfUnsafe()
131 …int indexOfResult = AMD64ArrayIndexOf.indexOf1Char(sourcePointer, sourceCount - fromIndex, StringU… in indexOfUnsafe()
138 …OfResult = AMD64ArrayIndexOf.indexOfTwoConsecutiveChars(sourcePointer, sourceCount - fromIndex, St… in indexOfUnsafe()
145 int haystackLength = sourceCount - (fromIndex + (targetCount - 2)); in indexOfUnsafe()
167 …public static int indexOfLatin1Unsafe(byte[] source, int sourceCount, byte[] target, int targetCou… in indexOfLatin1Unsafe() argument
171 …ReplacementsUtil.runtimeAssert(sourceCount >= targetCount, "StringUTF16.indexOfLatin1Unsafe invali… in indexOfLatin1Unsafe()
175 …int indexOfResult = AMD64ArrayIndexOf.indexOf1Char(sourcePointer, sourceCount - fromIndex, (char) … in indexOfLatin1Unsafe()
182 …OfResult = AMD64ArrayIndexOf.indexOfTwoConsecutiveChars(sourcePointer, sourceCount - fromIndex, (c… in indexOfLatin1Unsafe()
188 int haystackLength = sourceCount - (fromIndex + (targetCount - 2)); in indexOfLatin1Unsafe()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.amd64/src/org/graalvm/compiler/replacements/amd64/
H A DAMD64StringSubstitutions.java60 public static int indexOf(char[] source, int sourceOffset, int sourceCount, in indexOf() argument
64 if (injectBranchProbability(UNLIKELY_PROBABILITY, fromIndex >= sourceCount)) { in indexOf()
65 return (targetCount == 0 ? sourceCount : -1); in indexOf()
76 if (injectBranchProbability(UNLIKELY_PROBABILITY, sourceCount - fromIndex < targetCount)) { in indexOf()
82 … return AMD64ArrayIndexOf.indexOf1Char(source, sourceCount, totalOffset, target[targetOffset]); in indexOf()
84 int haystackLength = sourceCount - (targetCount - 2); in indexOf()
110 final int sourceCount = source.length(); in indexOf() local
111 if (injectBranchProbability(UNLIKELY_PROBABILITY, fromIndex >= sourceCount)) { in indexOf()
121 return AMD64ArrayIndexOf.indexOf1Char(sourceArray, sourceCount, fromIndex, (char) ch); in indexOf()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.amd64/src/org/graalvm/compiler/replacements/amd64/
H A DAMD64StringSubstitutions.java69 public static int indexOf(char[] source, int sourceOffset, int sourceCount, in indexOf() argument
73 if (injectBranchProbability(UNLIKELY_PROBABILITY, fromIndex >= sourceCount)) { in indexOf()
74 return (targetCount == 0 ? sourceCount : -1); in indexOf()
85 if (injectBranchProbability(UNLIKELY_PROBABILITY, sourceCount - fromIndex < targetCount)) { in indexOf()
91 … return AMD64ArrayIndexOf.indexOf1Char(source, sourceCount, totalOffset, target[targetOffset]); in indexOf()
93 int haystackLength = sourceCount - (targetCount - 2); in indexOf()
119 final int sourceCount = source.length(); in indexOf() local
120 if (injectBranchProbability(UNLIKELY_PROBABILITY, fromIndex >= sourceCount)) { in indexOf()
130 return AMD64ArrayIndexOf.indexOf1Char(sourceArray, sourceCount, fromIndex, (char) ch); in indexOf()
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/olivere/elastic/
H A Dupdate_by_query_test.go129 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
133 if sourceCount <= 0 {
134 t.Fatalf("expected more than %d documents; got: %d", 0, sourceCount)
144 if res.Updated != sourceCount {
145 t.Fatalf("expected %d; got: %d", sourceCount, res.Updated)
159 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
163 if sourceCount <= 0 {
164 t.Fatalf("expected more than %d documents; got: %d", 0, sourceCount)
H A Dreindex_test.go286 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
290 if sourceCount <= 0 {
317 if res.Total != sourceCount {
318 t.Errorf("expected %d, got %d", sourceCount, res.Total)
323 if res.Created != sourceCount {
324 t.Errorf("expected %d, got %d", sourceCount, res.Created)
334 if targetCount != sourceCount {
342 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
346 if sourceCount <= 0 {
400 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
[all …]
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/olivere/elastic/
H A Dupdate_by_query_test.go129 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
133 if sourceCount <= 0 {
134 t.Fatalf("expected more than %d documents; got: %d", 0, sourceCount)
144 if res.Updated != sourceCount {
145 t.Fatalf("expected %d; got: %d", sourceCount, res.Updated)
159 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
163 if sourceCount <= 0 {
164 t.Fatalf("expected more than %d documents; got: %d", 0, sourceCount)
H A Dreindex_test.go273 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
277 if sourceCount <= 0 {
299 if res.Total != sourceCount {
300 t.Errorf("expected %d, got %d", sourceCount, res.Total)
305 if res.Created != sourceCount {
306 t.Errorf("expected %d, got %d", sourceCount, res.Created)
313 if targetCount != sourceCount {
328 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
332 if sourceCount <= 0 {
378 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.amd64/src/org/graalvm/compiler/replacements/amd64/
H A DAMD64StringSubstitutions.java64 public static int indexOf(char[] source, int sourceOffset, int sourceCount, in indexOf() argument
68 if (fromIndex >= sourceCount) { in indexOf()
69 return (targetCount == 0 ? sourceCount : -1); in indexOf()
80 if (sourceCount - fromIndex < targetCount) { in indexOf()
84 assert sourceCount - fromIndex > 0 && targetCount > 0; in indexOf()
88 …int result = AMD64StringIndexOfNode.optimizedStringIndexPointer(sourcePointer, sourceCount - fromI… in indexOf()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.amd64/src/org/graalvm/compiler/replacements/amd64/
H A DAMD64StringSubstitutions.java64 public static int indexOf(char[] source, int sourceOffset, int sourceCount, in indexOf() argument
68 if (fromIndex >= sourceCount) { in indexOf()
69 return (targetCount == 0 ? sourceCount : -1); in indexOf()
80 if (sourceCount - fromIndex < targetCount) { in indexOf()
84 assert sourceCount - fromIndex > 0 && targetCount > 0; in indexOf()
88 …int result = AMD64StringIndexOfNode.optimizedStringIndexPointer(sourcePointer, sourceCount - fromI… in indexOf()
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/gopkg.in/olivere/elastic.v5/
H A Dreindex_test.go273 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
277 if sourceCount <= 0 {
299 if res.Total != sourceCount {
300 t.Errorf("expected %d, got %d", sourceCount, res.Total)
305 if res.Created != sourceCount {
306 t.Errorf("expected %d, got %d", sourceCount, res.Created)
313 if targetCount != sourceCount {
328 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
332 if sourceCount <= 0 {
378 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
[all …]
/dports/textproc/gitlab-elasticsearch-indexer/gitlab-elasticsearch-indexer-ef1440548effec15831eda2d246dacc43233cefb/vendor/github.com/olivere/elastic/
H A Dreindex_test.go286 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
290 if sourceCount <= 0 {
317 if res.Total != sourceCount {
318 t.Errorf("expected %d, got %d", sourceCount, res.Total)
323 if res.Created != sourceCount {
324 t.Errorf("expected %d, got %d", sourceCount, res.Created)
334 if targetCount != sourceCount {
342 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
346 if sourceCount <= 0 {
400 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
[all …]
H A Dupdate_by_query_test.go132 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
136 if sourceCount <= 0 {
137 t.Fatalf("expected more than %d documents; got: %d", 0, sourceCount)
147 if res.Updated != sourceCount {
148 t.Fatalf("expected %d; got: %d", sourceCount, res.Updated)
162 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
166 if sourceCount <= 0 {
167 t.Fatalf("expected more than %d documents; got: %d", 0, sourceCount)
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/olivere/elastic/v7/
H A Dreindex_test.go286 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
290 if sourceCount <= 0 {
317 if res.Total != sourceCount {
318 t.Errorf("expected %d, got %d", sourceCount, res.Total)
323 if res.Created != sourceCount {
324 t.Errorf("expected %d, got %d", sourceCount, res.Created)
334 if targetCount != sourceCount {
342 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
346 if sourceCount <= 0 {
400 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
[all …]
H A Dupdate_by_query_test.go132 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
136 if sourceCount <= 0 {
137 t.Fatalf("expected more than %d documents; got: %d", 0, sourceCount)
147 if res.Updated != sourceCount {
148 t.Fatalf("expected %d; got: %d", sourceCount, res.Updated)
162 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
166 if sourceCount <= 0 {
167 t.Fatalf("expected more than %d documents; got: %d", 0, sourceCount)
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/gopkg.in/olivere/elastic.v5/
H A Dreindex_test.go273 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
277 if sourceCount <= 0 {
299 if res.Total != sourceCount {
300 t.Errorf("expected %d, got %d", sourceCount, res.Total)
305 if res.Created != sourceCount {
306 t.Errorf("expected %d, got %d", sourceCount, res.Created)
313 if targetCount != sourceCount {
328 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
332 if sourceCount <= 0 {
378 sourceCount, err := client.Count(testIndexName).Do(context.TODO())
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/
H A DConstantStringIndexOfSnippets.java205 if (fromIndex >= sourceCount) { in indexOfConstant()
206 return (targetCount == 0 ? sourceCount : -1); in indexOfConstant()
216 int sourceEnd = sourceCount - targetCountLess1; in indexOfConstant()
259 public static int utf16IndexOfConstant(byte[] source, int sourceCount, in utf16IndexOfConstant() argument
263 if (fromIndex >= sourceCount) { in utf16IndexOfConstant()
264 return (targetCount == 0 ? sourceCount : -1); in utf16IndexOfConstant()
274 int sourceEnd = sourceCount - targetCountLess1; in utf16IndexOfConstant()
317 public static int latin1IndexOfConstant(byte[] source, int sourceCount, in latin1IndexOfConstant() argument
321 if (fromIndex >= sourceCount) { in latin1IndexOfConstant()
322 return (targetCount == 0 ? sourceCount : -1); in latin1IndexOfConstant()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/
H A DConstantStringIndexOfSnippets.java201 if (fromIndex >= sourceCount) { in indexOfConstant()
202 return (targetCount == 0 ? sourceCount : -1); in indexOfConstant()
212 int sourceEnd = sourceCount - targetCountLess1; in indexOfConstant()
255 public static int utf16IndexOfConstant(byte[] source, int sourceCount, in utf16IndexOfConstant() argument
259 if (fromIndex >= sourceCount) { in utf16IndexOfConstant()
260 return (targetCount == 0 ? sourceCount : -1); in utf16IndexOfConstant()
270 int sourceEnd = sourceCount - targetCountLess1; in utf16IndexOfConstant()
313 public static int latin1IndexOfConstant(byte[] source, int sourceCount, in latin1IndexOfConstant() argument
317 if (fromIndex >= sourceCount) { in latin1IndexOfConstant()
318 return (targetCount == 0 ? sourceCount : -1); in latin1IndexOfConstant()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/
H A DConstantStringIndexOfSnippets.java205 if (fromIndex >= sourceCount) { in indexOfConstant()
206 return (targetCount == 0 ? sourceCount : -1); in indexOfConstant()
216 int sourceEnd = sourceCount - targetCountLess1; in indexOfConstant()
259 public static int utf16IndexOfConstant(byte[] source, int sourceCount, in utf16IndexOfConstant() argument
263 if (fromIndex >= sourceCount) { in utf16IndexOfConstant()
264 return (targetCount == 0 ? sourceCount : -1); in utf16IndexOfConstant()
274 int sourceEnd = sourceCount - targetCountLess1; in utf16IndexOfConstant()
317 public static int latin1IndexOfConstant(byte[] source, int sourceCount, in latin1IndexOfConstant() argument
321 if (fromIndex >= sourceCount) { in latin1IndexOfConstant()
322 return (targetCount == 0 ? sourceCount : -1); in latin1IndexOfConstant()
[all …]
/dports/misc/bibletime/bibletime-2.11.2/src/backend/
H A Dbtsourcesthread.cpp32 int const sourceCount = sourceNames.count(); in run() local
33 std::unique_ptr<int[]> failedSources{new int[sourceCount]}; in run()
36 for (int i = 0; i < sourceCount; ++i) { in run()
50 emit percentComplete(10 + 90 * ((i + 1.0) / sourceCount)); in run()

12345678