mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-08-15 20:53:00 -04:00
shadow : cont gcc
ggml-ci
This commit is contained in:
936
common/arg.cpp
936
common/arg.cpp
File diff suppressed because it is too large
Load Diff
@@ -579,8 +579,8 @@ private:
|
||||
seq.back().second = false;
|
||||
} else {
|
||||
std::string literal;
|
||||
auto is_non_literal = [&](char c) {
|
||||
return NON_LITERAL_SET.find(c) != NON_LITERAL_SET.end();
|
||||
auto is_non_literal = [&](char ch) {
|
||||
return NON_LITERAL_SET.find(ch) != NON_LITERAL_SET.end();
|
||||
};
|
||||
while (i < length) {
|
||||
if (sub_pattern[i] == '\\' && i < length - 1) {
|
||||
|
@@ -255,8 +255,8 @@ public:
|
||||
thrd = std::thread([this]() {
|
||||
while (true) {
|
||||
{
|
||||
std::unique_lock<std::mutex> lock(mtx);
|
||||
cv.wait(lock, [this]() { return head != tail; });
|
||||
std::unique_lock<std::mutex> lock_thrd(mtx);
|
||||
cv.wait(lock_thrd, [this]() { return head != tail; });
|
||||
|
||||
cur = entries[head];
|
||||
|
||||
|
Reference in New Issue
Block a user