repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
huggingface/transformers
acde6c7d9d753531c7a8b4aa211115688e3b6851
bb825dde7373269b4f11f9efa1a44385bda7da01
🌐 [i18n-KO] Translated `model_doc/patchtsmixer.md` to Korean (#33587) * docs: ko: model_doc/patchtsmixer.md * feat: nmt draft * fix: manual edits * fix: resolve suggestions Co-authored-by: HyeokJun SHIN <96534680+jun048098@users.noreply.github.com> * fix: resolve suggestions --------- Co-authored...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -749,6 +749,8 @@\n title: Autoformer\n - local: in_translation\n title: (번역중) Informer\n+ - local: model_doc/patchtsmixer\n+ title: PatchTSMixer\n - local: in_translation\n title: (번역중) Time Series Transfor...
2024-10-09T00:11:48
golang/go
a9ccd2d79574eead8c20d2bca4562cf2fd412787
d92f8add32f79efe7e46af55172d4c703a778938
go/build: skip string literal while findEmbed The findEmbed function looking for comment by readbyte, however it might have constant or variables that contains comment. Maybe we should use ast parser in the future. Fixes #43373 Change-Id: I92544384fc4c11363d8b2f6b9898c8dea1602767 Reviewed-on: https://go-review.googl...
[ { "path": "src/go/build/read.go", "patch": "@@ -171,6 +171,41 @@ func (r *importReader) findEmbed(first bool) bool {\n \t\tcase ' ', '\\t':\n \t\t\t// leave startLine alone\n \n+\t\tcase '\"':\n+\t\t\tstartLine = false\n+\t\t\tfor r.err == nil {\n+\t\t\t\tif r.eof {\n+\t\t\t\t\tr.syntaxError()\n+\t\t\t\t}\n...
2020-12-26T02:13:57
vercel/next.js
084ad964a0ed9af5c7594f40b73ca77ed1b460be
e16c74bcaa43618ff596e2e1e33ce8ea1d6b0892
Fix static info parsing when export data fetching method as variable (#40317) Fix the ssr/ssg detection when you export a nextjs data fetching method as a variable instead of an async function. - [x] Add case support in `checkExports` - [x] Add unit tests for `getPageStaticInfo`
[ { "path": "packages/next/build/analysis/get-page-static-info.ts", "patch": "@@ -53,6 +53,19 @@ export function checkExports(swcAST: any): { ssr: boolean; ssg: boolean } {\n }\n }\n \n+ if (\n+ node.type === 'ExportDeclaration' &&\n+ node.declaration?.type === 'Vari...
2022-09-07T16:28:15
ollama/ollama
5cfc1c39f3d5822b0c0906f863f6df45c141c33b
f0ad49ea17d587cce7f4b2c6a6ccb3139ec083c8
model: fix build (#10416)
[ { "path": "model/models/llama4/model.go", "patch": "@@ -39,7 +39,7 @@ func New(c fs.Config) (model.Model, error) {\n \t\t\t\t`[^\\r\\n\\p{L}\\p{N}]?[\\p{Lu}\\p{Lt}\\p{Lm}\\p{Lo}\\p{M}]*[\\p{Ll}\\p{Lm}\\p{Lo}\\p{M}]+(?i:'s|'t|'re|'ve|'m|'ll|'d)?|[^\\r\\n\\p{L}\\p{N}]?[\\p{Lu}\\p{Lt}\\p{Lm}\\p{Lo}\\p{M}]+[\\p...
2025-04-26T02:24:48
rust-lang/rust
be20f62a204605d798b858ce7f9b32f52f3eab08
ebe880468089e775ea6c9c62eb5710177f173003
silence `clippy::eq_op` while checking This error occurs when the RISC-V "A" Extension is being tested.
[ { "path": "library/stdarch/crates/std_detect/src/detect/os/linux/riscv.rs", "patch": "@@ -23,6 +23,7 @@ pub(crate) fn detect_features() -> cache::Initializer {\n //\n // [hwcap]: https://github.com/torvalds/linux/blob/master/arch/riscv/include/asm/hwcap.h\n let auxv = auxvec::auxv().expect(\"rea...
2025-03-21T05:32:09
huggingface/transformers
bb825dde7373269b4f11f9efa1a44385bda7da01
1d458437dd2dba6ef3e9464c86082e1ad3228931
🌐 [i18n-KO] Translated `model_doc/autoformer.md` to Korean (#33574) * docs: ko: model_doc/autoformer.md * feat: nmt draft * fix: manual edits * fix: resolve suggestions
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -745,11 +745,13 @@\n title: (번역중) 강화학습 모델\n - isExpanded: false\n sections:\n+ - local: model_doc/autoformer\n+ title: Autoformer\n - local: in_translation\n title: (번역중) Informer\n - local: in_translation\...
2024-10-09T00:11:19
nodejs/node
94e8d2a5ff410a51ee0845782801844babea6031
69f7ce9cea1cc9b250365e6291bceda87c24473f
test: fix unrelated variable name changes PR-URL: https://github.com/nodejs/node/pull/18823 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "test/parallel/test-process-geteuid-getegid.js", "patch": "@@ -44,5 +44,5 @@ assert.notStrictEqual(newgid, oldgid);\n \n const olduid = process.geteuid();\n process.seteuid('nobody');\n-const newAsyncId = process.geteuid();\n-assert.notStrictEqual(newAsyncId, olduid);\n+const newuid = process.gete...
2018-02-16T20:06:25
vercel/next.js
512539821def893471f12852e9626d6ffb4f8556
12e5f19a84682e2cbf0d97cc8d6e661dd8f70d65
fix runtime code for server rendered content source (vercel/turbo#315) move transition into turbopack
[ { "path": "packages/next-swc/crates/next-core/src/next_client/mod.rs", "patch": "@@ -1,15 +1,27 @@\n+pub(crate) mod runtime_reference;\n+\n use anyhow::{anyhow, Result};\n-use turbo_tasks::ValueToString;\n+use serde::{Deserialize, Serialize};\n+use turbo_tasks::{debug::ValueDebugFormat, trace::TraceRawVcs, ...
2022-09-07T13:56:10
golang/go
d92f8add32f79efe7e46af55172d4c703a778938
cab120218382c78fb4263566a38df78aa3653f72
archive/tar: fix typo in comment Change-Id: Ifcc565b34b3c3bb7ee62bb0525648a5d2895bf0b Reviewed-on: https://go-review.googlesource.com/c/go/+/282013 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Alberto Donizetti <alb.donizetti@gmail.com>
[ { "path": "src/archive/tar/strconv.go", "patch": "@@ -28,7 +28,7 @@ func isASCII(s string) bool {\n }\n \n // toASCII converts the input to an ASCII C-style string.\n-// This a best effort conversion, so invalid characters are dropped.\n+// This is a best effort conversion, so invalid characters are dropped...
2021-01-07T09:45:36
ollama/ollama
7ba9fa9c7d0bc73abacca88d6827d973d7ba92cf
8bf11b84c1870b88e9e1568041ee837a062aa2c0
fixes for maverick
[ { "path": "convert/convert_llama4.go", "patch": "@@ -45,8 +45,8 @@ func (p *llama4Model) KV(t *Tokenizer) ggml.KV {\n \t\t}\n \t}\n \n-\tkv[\"llama4.intermediate_size\"] = p.TextModel.IntermediateSizeMLP\n-\tkv[\"llama4.intermediate_size_moe\"] = p.TextModel.IntermediateSize\n+\tkv[\"llama4.feed_forward_len...
2025-04-21T17:45:56
rust-lang/rust
ebe880468089e775ea6c9c62eb5710177f173003
a083e2a6c8a5753e36b44417d11bcc7c3b71f0e9
sse42: Add unsafe blocks around unsafe function calls to fix the `unsafe_op_in_unsafe_fn` lint
[ { "path": "library/stdarch/crates/core_arch/src/x86/sse42.rs", "patch": "@@ -126,14 +126,14 @@ pub fn _mm_cmpistrm<const IMM8: i32>(a: __m128i, b: __m128i) -> __m128i {\n /// multiple lines\";\n /// let needle = b\"\\r\\n\\t\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\";\n ///\n-/// let a = _mm_loadu_si128(needl...
2025-03-22T22:37:41
huggingface/transformers
1d458437dd2dba6ef3e9464c86082e1ad3228931
47da2c528bb74317627d4629d83b222c53c45a93
🌐 [i18n-KO] Translated `model_doc/mamba.md` to Korean (#33626) * docs: ko: model_doc/mamba.md * fix: resolve suggestions Co-authored-by: Ahnjj_DEV <ahnjj.dev@gmail.com> * fix: resolve suggestions * fix: resolve suggestions --------- Co-authored-by: Ahnjj_DEV <ahnjj.dev@gmail.com>
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -432,6 +432,8 @@\n title: (번역중) LUKE\n - local: in_translation\n title: (번역중) M2M100\n+ - local: model_doc/mamba\n+ title: Mamba\n - local: in_translation\n title: (번역중) MarianMT\n - local: in_transla...
2024-10-09T00:11:11
nodejs/node
7748865cd3322ff9421458ccc862291eb26cec62
61e3e6d56feefcd88f2baeb59c31c327835a8d90
module: fix main lookup regression from #18728 PR-URL: https://github.com/nodejs/node/pull/18788 Refs: https://github.com/nodejs/node/pull/18728 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "src/module_wrap.cc", "patch": "@@ -544,7 +544,7 @@ const PackageConfig& GetPackageConfig(Environment* env,\n }\n \n auto entry = env->package_json_cache.emplace(path,\n- PackageConfig { Exists::Yes, IsValid::Yes, has_main, \"\" });\n+ PackageConfig { Exists::Yes, IsValid::Yes, has_m...
2018-02-14T20:55:49
golang/go
091414b5b7ced2f6ce1cc9d37e12f62c9a00ef0e
9b55088d6b49fd4bb4832589a1b7e8629de2800c
io/fs: correct WalkDirFunc documentation The documentation was copied from filepath.WalkFunc, and the copy was not fully adjusted to the new circumstances. Fixes #43536 Change-Id: I09687c7656e6938ebd9fc1e1643d34be88cf141d Reviewed-on: https://go-review.googlesource.com/c/go/+/282172 Trust: Ian Lance Taylor <iant@gol...
[ { "path": "src/io/fs/walk.go", "patch": "@@ -17,16 +17,11 @@ var SkipDir = errors.New(\"skip this directory\")\n // WalkDirFunc is the type of the function called by WalkDir to visit\n // each file or directory.\n //\n-// The path argument contains the argument to Walk as a prefix.\n-// That is, if Walk is ...
2021-01-07T00:25:48
ollama/ollama
54055a6dae0588d178eb355a8c36051d1b6e98a5
340448d2d1689f707d7644bc8ca018e0db015c9c
fix test
[ { "path": "sample/samplers_test.go", "patch": "@@ -74,7 +74,6 @@ func modelHelper(t testing.TB) model.BytePairEncoding {\n \t\tt.Fatal(err)\n \t}\n \n-\ttypes := make([]uint32, len(vocab))\n \ttokens := make([]string, len(vocab))\n \tfor token, id := range vocab {\n \t\ttokens[id] = token\n@@ -86,7 +85,7 @@...
2025-04-25T23:15:08
rust-lang/rust
a083e2a6c8a5753e36b44417d11bcc7c3b71f0e9
1c136ddc5a3f232031c706425fbcecf2d6f4154f
Minor correction to __m512d documentation. A 512-bit register is f64x8, not f64x4. Likely a copy-paste error from the _m256d documentation, which seems correct.
[ { "path": "library/stdarch/crates/core_arch/src/x86/mod.rs", "patch": "@@ -340,7 +340,7 @@ types! {\n ///\n /// Note that unlike `__m512i`, the integer version of the 512-bit\n /// registers, this `__m512d` type has *one* interpretation. Each instance\n- /// of `__m512d` always corresponds to...
2025-03-24T21:01:24
vercel/next.js
6f051b1b8e371ec4800ece3dd961d4cd22f54419
f70f29633bbc01807b21fa7def83b1f32dc214c8
fix runtime code for server rendered content source (#315) move transition into turbopack
[ { "path": "crates/next-core/src/next_client/mod.rs", "patch": "@@ -1,15 +1,27 @@\n+pub(crate) mod runtime_reference;\n+\n use anyhow::{anyhow, Result};\n-use turbo_tasks::ValueToString;\n+use serde::{Deserialize, Serialize};\n+use turbo_tasks::{debug::ValueDebugFormat, trace::TraceRawVcs, ValueToString};\n ...
2022-09-07T13:56:10
huggingface/transformers
2e8de976bdd99319451ffdcbc5beda8b6f2808b5
2fe77783c32b72a02cda1f7f9074426170d68b86
🌐 [i18n-KO] Translated `main_classes/quantization.md` to Korean (#33959) * docs: ko: main_classes/quantization.md * feat: nmt draft * fix: resolve suggestions Co-authored-by: Ahnjj_DEV <ahnjj.dev@gmail.com> * fix: resolve suggestions Co-authored-by: Ahnjj_DEV <ahnjj.dev@gmail.com> * fix: resolve sug...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -298,8 +298,8 @@\n title: (번역중) Pipelines\n - local: in_translation\n title: (번역중) Processors\n- - local: in_translation\n- title: (번역중) Quantization\n+ - local: main_classes/quantization\n+ title: 양자화\n - local: in_tr...
2024-10-09T00:10:41
nodejs/node
ff471da1a81b325508b265290f7b49649030f4a6
463d1a490f2ed4679f8805fa57084b4445ea40d6
doc: fix a typo in util.isDeepStrictEqual PR-URL: https://github.com/nodejs/node/pull/18775 Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Vse Mozhet By...
[ { "path": "doc/api/util.md", "patch": "@@ -627,7 +627,7 @@ added: v9.0.0\n * `val2` {any}\n * Returns: {boolean}\n \n-Returns `true` if there is deep strict equality between `val` and `val2`.\n+Returns `true` if there is deep strict equality between `val1` and `val2`.\n Otherwise, returns `false`.\n \n See ...
2018-02-14T07:18:04
golang/go
9b55088d6b49fd4bb4832589a1b7e8629de2800c
fa90aaca7d523eaf81c02b48a412cad4ebc57817
doc/go1.16: add release note for disallowing non-ASCII import paths golang.org/cl/251878 disallowed non-ASCII characters in import paths, in module mode. They were already disallowed in module paths, so this change just extended the restriction to the package subdirectory of the module. Update the release notes to ale...
[ { "path": "doc/go1.16.html", "patch": "@@ -164,6 +164,12 @@ <h4 id=\"modules\">Modules</h4>\n non-reproducible builds.\n </p>\n \n+<p><!-- golang.org/issue/43052 -->\n+ The <code>go</code> command now disallows non-ASCII import paths in module\n+ mode. Non-ASCII module paths have already been disallowed...
2021-01-07T02:59:10
ollama/ollama
ced7d0e53df146200c322ccc7f3493aa32f627e1
a0dba0f8aefad9a843b59040857f4a04021c54e1
fix parameter count
[ { "path": "fs/ggml/ggml.go", "patch": "@@ -33,7 +33,7 @@ func (kv KV) Kind() string {\n }\n \n func (kv KV) ParameterCount() uint64 {\n-\treturn keyValue[uint64](kv, \"general.parameter_count\")\n+\treturn keyValue(kv, \"general.parameter_count\", uint64(0))\n }\n \n func (kv KV) FileType() fileType {", ...
2025-04-23T23:07:11
rust-lang/rust
7f141985ff337926639db092b2ecb5b05a763cd7
ca514c1a13b419606fe051ec897a25a07dc7aa26
search.js: use @type instead of @ts-expect-error
[ { "path": "src/librustdoc/html/static/js/search.js", "patch": "@@ -3153,26 +3153,22 @@ class DocSearch {\n }\n }\n };\n- // @ts-expect-error\n+ /** @type {string[]} */\n const type = [];\n onEachBtwn(\n ...
2025-03-24T23:24:07
huggingface/transformers
2fe77783c32b72a02cda1f7f9074426170d68b86
1ed98773e563ebe7322d1f5b501c6fe0bde1427c
🌐 [i18n-KO] Translated `rag.md` to Korean (#33989) * fix: toctree edits * feat: nmt-draft * fix: edit Inline TOC
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -478,8 +478,8 @@\n title: (번역중) ProphetNet\n - local: in_translation\n title: (번역중) QDQBert\n- - local: in_translation\n- title: (번역중) RAG\n+ - local: model_doc/rag\n+ title: RAG(검색 증강 생성)\n - local: in...
2024-10-09T00:10:26
vercel/next.js
e16c74bcaa43618ff596e2e1e33ce8ea1d6b0892
16655c79249383861723b26c6c4ae55ca12d75db
chore: turn off debug mode on issue validator (#40301) The issue validator GitHub action has been running in the background for a while, and the output looks good: https://github.com/vercel/next.js/actions/workflows/validate_issue.yml This PR switches off debug mode and will start commenting on improper bug reports...
[ { "path": ".github/workflows/validate_issue.yml", "patch": "@@ -15,4 +15,3 @@ jobs:\n run: node ./.github/actions/issue-validator/index.mjs\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n- DEBUG: 1", "additions": 0, "deletions": 1, "language": "YAML" } ]
2022-09-07T13:19:54
nodejs/node
b74a6da5d004fa43f88475d95b1ca910206eccb7
f25104e1364cf7c56ae4a09a86b64a87de326ec3
child_process: fix stdio sockets creation `readable` and `writable` properties can be passed directly to the `net.Socket` constructor. This change also avoids an unnecessary call to `read(0)` on the `stdin` socket. This behavior was disclosed when trying to merge `libuv@1.19.0` and specifically this commit: https://gi...
[ { "path": "lib/internal/child_process.js", "patch": "@@ -238,17 +238,7 @@ function flushStdio(subprocess) {\n \n \n function createSocket(pipe, readable) {\n- var s = new net.Socket({ handle: pipe });\n-\n- if (readable) {\n- s.writable = false;\n- s.readable = true;\n- } else {\n- s.writable = ...
2018-02-06T17:31:14
golang/go
fa90aaca7d523eaf81c02b48a412cad4ebc57817
7cee66d4cb6e726c6c37798583ac0b86c8743f82
cmd/compile: fix late expand_calls leaf type for OpStructSelect/OpArraySelect For the example in #43551, before late call expansion, the OpArg type is decomposed to int64. But the late call expansion is currently decompose it to "x.Key" instead. This CL make expand_calls decompose further for struct { 1-field type } ...
[ { "path": "src/cmd/compile/internal/ssa/expand_calls.go", "patch": "@@ -194,7 +194,8 @@ func expandCalls(f *Func) {\n \t\t\t\t}\n \t\t\t\tbreak\n \t\t\t}\n-\t\t\tif leaf.Op == OpIData {\n+\t\t\tswitch leaf.Op {\n+\t\t\tcase OpIData, OpStructSelect, OpArraySelect:\n \t\t\t\tleafType = removeTrivialWrapperTyp...
2021-01-07T14:45:00
rust-lang/rust
a9135c16348785e372f16402ed70f192906c874f
a03fdf1441813ec0e2438fae7244ceaa5c8d00cc
Temporary fix: change the feature gate of VEX variants
[ { "path": "library/stdarch/crates/std_detect/src/detect/arch/x86.rs", "patch": "@@ -197,15 +197,15 @@ features! {\n /// AVX-512 P2INTERSECT\n @FEATURE: #[stable(feature = \"simd_x86\", since = \"1.27.0\")] avx512fp16: \"avx512fp16\";\n /// AVX-512 FP16 (FLOAT16 instructions)\n- @FEATURE: #[un...
2025-03-24T21:39:19
ollama/ollama
d26c18e25c493ca55add9713ed151081c8de7ecf
8d376acc9b3e6796a12e6462c530b1bff3dc2f90
fix token type
[ { "path": "fs/config.go", "patch": "@@ -8,6 +8,6 @@ type Config interface {\n \tBool(string, ...bool) bool\n \n \tStrings(string, ...[]string) []string\n-\tUints(string, ...[]uint32) []uint32\n+\tInts(string, ...[]int32) []int32\n \tFloats(string, ...[]float32) []float32\n }", "additions": 1, "delet...
2025-04-23T19:40:05
huggingface/transformers
1ed98773e563ebe7322d1f5b501c6fe0bde1427c
79af52ad9a0af4ade91cabf18427f2b8f19271a5
🌐 [i18n-KO] Translated `gpt_neox_japanese.md` to Korean (#33894) * docs: ko: gpt_neox_japanese.md * Update _toctree.yml * fix: manual edits * Update docs/source/ko/model_doc/gpt_neox_japanese.md Co-authored-by: Sungmin Oh <fabxoe.kor@gmail.com> * Update docs/source/ko/model_doc/gpt_neox_japanese.md ...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -400,8 +400,8 @@\n title: (번역중) GPT Neo\n - local: in_translation\n title: (번역중) GPT NeoX\n- - local: in_translation\n- title: (번역중) GPT NeoX Japanese\n+ - local: model_doc/gpt_neox_japanese\n+ title: GPT Neo...
2024-10-09T00:08:06
vercel/next.js
fbf1c97eac7769be7a6fc038217176298bcfd1ee
abbe3b0ad48f94522ff17e55f47fa54432c54772
Add experimental proxy timeout option (#40289) <!-- Thanks for opening a PR! Your contribution is much appreciated. In order to make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> ## Bug ...
[ { "path": "packages/next/server/config-schema.ts", "patch": "@@ -320,6 +320,10 @@ const configSchema = {\n profiling: {\n type: 'boolean',\n },\n+ proxyTimeout: {\n+ minimum: 0,\n+ type: 'number',\n+ },\n runtime: {\n // automatic t...
2022-09-07T03:14:08
nodejs/node
916cfeca774e83925466f9a171f11c9bc73e4756
ec9e7922bb72ce17b453d345232a0e725883a470
lib,src: audit process.env in lib/ for setuid binary Wrap SafeGetenv() in util binding with the purpose of protecting the cases when env vars are accessed with the privileges of another user in jsland. PR-URL: https://github.com/nodejs/node/pull/18511 Fixes: https://github.com/nodejs/node/issues/9160 Reviewed-By: Jam...
[ { "path": "lib/module.js", "patch": "@@ -34,6 +34,7 @@ const {\n internalModuleReadJSON,\n internalModuleStat\n } = process.binding('fs');\n+const { safeGetenv } = process.binding('util');\n const internalModule = require('internal/module');\n const preserveSymlinks = !!process.binding('config').preserv...
2018-02-01T16:13:35
rust-lang/rust
ca514c1a13b419606fe051ec897a25a07dc7aa26
714be45b974ae16a010503587e4628bc72fd107b
search.js: fix signature of pushText
[ { "path": "src/librustdoc/html/static/js/search.js", "patch": "@@ -2901,7 +2901,7 @@ class DocSearch {\n const whereClause = new Map();\n \n const fnParamNames = obj.paramNames || [];\n- // @ts-expect-error\n+ /** @type {string[]} */\n const queryPar...
2025-03-24T23:20:51
golang/go
7cee66d4cb6e726c6c37798583ac0b86c8743f82
e60cffa4ca9ae726d96b53817d82d98402017772
cmd/go: add documentation for Embed fields in go list output This change the struct fields for EmbedPatterns and EmbedFiles to the Package struct listed in the go list documentation that specifies the fields available to the go list template. Fixes #43081 Change-Id: I89c325a9d6292a6ce484ee588b172d2f84e2333a Reviewed...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -840,6 +840,10 @@\n // TestGoFiles []string // _test.go files in package\n // XTestGoFiles []string // _test.go files outside package\n //\n+// // Embedded files\n+// EmbedPatterns []string // //go:embed patterns\n+//...
2021-01-07T03:13:45
huggingface/transformers
79af52ad9a0af4ade91cabf18427f2b8f19271a5
d49999ce11c5096957c59d4fb6aec412e077511a
🌐 [i18n-KO] Translated `bertweet.md` to Korean (#33891) * docs: ko: bertweet.md * Update _toctree.yml * fix: manual edits * Update docs/source/ko/model_doc/bertweet.md Co-authored-by: HyeokJun SHIN <96534680+jun048098@users.noreply.github.com> --------- Co-authored-by: HyeokJun SHIN <96534680+jun048...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -328,8 +328,8 @@\n title: (번역중) BertGeneration\n - local: in_translation\n title: (번역중) BertJapanese\n- - local: in_translation\n- title: (번역중) Bertweet\n+ - local: model_doc/bertweet\n+ title: Bertweet\n ...
2024-10-09T00:07:13
vercel/next.js
b8d913295f9e2ed48ecdbd6d221444a486ea3dc9
6cc8dc38dfaf52ed4607854f1242adfe5985ed5e
docs: fix numbering in middleware docs (#40276) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for ...
[ { "path": "docs/advanced-features/middleware.md", "patch": "@@ -93,9 +93,9 @@ export const config = {\n Configured matchers:\n \n 1. MUST start with `/`\n-1. can include named parameters: `/about/:path` matches `/about/a` and `/about/b` but not `/about/a/c`\n-1. can have modifiers on named parameters (start...
2022-09-07T00:08:00
huggingface/transformers
d49999ce11c5096957c59d4fb6aec412e077511a
573942d96a3f371a9ff24e1878826f20621efc19
🌐 [i18n-KO] Translated `feature_extractor.md` to Korean (#33775) * docs: ko: feature_extractor.md * feat: nmt draft * fix: manual edits
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -306,8 +306,8 @@\n title: Trainer\n - local: deepspeed\n title: DeepSpeed\n- - local: in_translation\n- title: (번역중) Feature Extractor\n+ - local: main_classes/feature_extractor\n+ title: 특성 추출기\n - local: in_translati...
2024-10-09T00:06:56
rust-lang/rust
8af647c04dbd300518f85619c9e9ce7a94d558c4
1af16cd135dd4e62f8e68abfb0587b57eb16ce6e
search.js: remove another Map.has() and @ts-expect-error
[ { "path": "src/librustdoc/html/static/js/search.js", "patch": "@@ -2583,9 +2583,9 @@ class DocSearch {\n if ((elem.id === null && parsedQuery.totalElems > 1 && elem.typeFilter === -1\n && elem.generics.length === 0 && elem.bindings.size === 0)\n || elem.typeFilter...
2025-03-24T22:36:16
nodejs/node
1bd32087eee4b7fc59732aeb6e1003737ac98f07
15bb8437fd0a0eb07845ccf746c9ecb47fcfcb25
doc: fix deprecation number PR-URL: https://github.com/nodejs/node/pull/18818 Refs: https://github.com/nodejs/node/commit/efb32592e1b78ec2559e1a409faa049e756a9501 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "doc/api/deprecations.md", "patch": "@@ -893,8 +893,8 @@ Use [`asyncResource.runInAsyncScope()`][] API instead which provides a much\n safer, and more convenient, alternative. See\n https://github.com/nodejs/node/pull/18513 for more details.\n \n-<a id=\"DEP0098\"></a>\n-### DEP0098: async context...
2018-02-16T15:07:23
golang/go
e60cffa4ca9ae726d96b53817d82d98402017772
6da2d3b7d7f9c0063bc4128c2453db65c96f5299
html/template: attach functions to namespace The text/template functions are stored in a data structure shared by all related templates, so do the same with the original, unwrapped, functions on the html/template side. For #39807 Fixes #43295 Change-Id: I9f64a0a601f1151c863a2833b5be2baf649b6cef Reviewed-on: https://...
[ { "path": "src/html/template/exec_test.go", "patch": "@@ -1776,3 +1776,23 @@ func TestRecursiveExecute(t *testing.T) {\n \t\tt.Fatal(err)\n \t}\n }\n+\n+// Issue 43295.\n+func TestTemplateFuncsAfterClone(t *testing.T) {\n+\ts := `{{ f . }}`\n+\twant := \"test\"\n+\torig := New(\"orig\").Funcs(map[string]int...
2020-12-21T19:21:59
vercel/next.js
e8ff2738b3552043437f954e42372bfd1903d08d
d53e2f2f3715e18f2c69a2be6f79b1299828ccd0
Fix test hydration check in Safari 10.1 (#40285) This removes the optional chaining inside of the `executeAsync` as that is treated literally when passed to the browser and Safari 10.1 doesn't support optional chaining. fixes: https://github.com/vercel/next.js/runs/8213273664?check_suite_focus=true fixes: http...
[ { "path": "test/lib/next-webdriver.ts", "patch": "@@ -118,7 +118,8 @@ export default async function webdriver(\n if (\n document.documentElement.innerHTML.indexOf('__NEXT_DATA__') === -1 &&\n // @ts-ignore next exists on window if it's a Next.js page.\n- typeof (window a...
2022-09-06T19:17:54
ollama/ollama
214a7678eab94a6acf88fd1682f8fe6733ba555d
4892872c184a8fa81baaedf9669bf94e4a278964
fix superfluous call to WriteHeader the first call to http.ResponseWriter.Write implicitly calls WriteHeader with http.StatusOK if it hasn't already been called. once WriteHeader has been called, subsequent calls has no effect. Write is called when JSON encoding progressUpdateJSON{}. calls to http.ResponseWriter.Write...
[ { "path": "server/internal/registry/server.go", "patch": "@@ -73,8 +73,13 @@ type statusCodeRecorder struct {\n func (r *statusCodeRecorder) WriteHeader(status int) {\n \tif r._status == 0 {\n \t\tr._status = status\n+\t\tr.ResponseWriter.WriteHeader(status)\n \t}\n-\tr.ResponseWriter.WriteHeader(status)\n+...
2025-04-24T20:09:39
huggingface/transformers
573942d96a3f371a9ff24e1878826f20621efc19
04b4e441dcd0ed966e158c66dac870e67cab8ea8
Fix `trainer_seq2seq.py`'s `__init__` type annotations (#34021) * Fix `trainer_seq2seq.py`'s `__init__` type annotations * Update src/transformers/trainer_seq2seq.py Co-authored-by: Lysandre Debut <hi@lysand.re> * Fix issue pointed out by `muellerzr` --------- Co-authored-by: Lysandre Debut <hi@lysand.r...
[ { "path": "src/transformers/trainer_seq2seq.py", "patch": "@@ -24,11 +24,16 @@\n from .generation.configuration_utils import GenerationConfig\n from .integrations.deepspeed import is_deepspeed_zero3_enabled\n from .trainer import Trainer\n-from .utils import logging\n+from .utils import is_datasets_availabl...
2024-10-08T20:43:30
rust-lang/rust
1af16cd135dd4e62f8e68abfb0587b57eb16ce6e
49bf6ca79eb7379e367578cba910d1e1cbacc7d1
search.js(query parser): rethrow error if it isn't a string array only errors that are string arrays are intended to be shown to the user, other errors are bugs, and will be shown in the console as usual.
[ { "path": "src/librustdoc/html/static/js/search.js", "patch": "@@ -2489,9 +2489,13 @@ class DocSearch {\n }\n } catch (err) {\n query = newParsedQuery(userQuery);\n- // is string list\n- // @ts-expect-error\n- query.error = err;\n+ ...
2025-03-24T22:31:39
golang/go
6da2d3b7d7f9c0063bc4128c2453db65c96f5299
df81a15819d5b264e6451976a2884953e8d28b20
cmd/link: fix typo in asm.go targetting -> targeting Change-Id: Ie1752b1293426fe908799731acb352408db98d85 GitHub-Last-Rev: 4cf2a211b97655a178f842d20c08ac26002df898 GitHub-Pull-Request: golang/go#43564 Reviewed-on: https://go-review.googlesource.com/c/go/+/282272 Trust: Than McIntosh <thanm@google.com> Reviewed-by: Ia...
[ { "path": "src/cmd/link/internal/arm64/asm.go", "patch": "@@ -1041,7 +1041,7 @@ func gensymlate(ctxt *ld.Link, ldr *loader.Loader) {\n }\n \n // machoLabelName returns the name of the \"label\" symbol used for a\n-// relocation targetting s+off. The label symbols is used on darwin\n+// relocation targeting ...
2021-01-07T14:25:35
nodejs/node
caee112e52b64f4bc1118c4a5fa5ad7b4211efea
4d3c3f039af08b954fbbba1e9a50979ffc98592b
test: remove assert.doesNotThrow() There is actually no reason to use `assert.doesNotThrow()` in the tests. If a test throws, just let the error bubble up right away instead of first catching it and then rethrowing it. PR-URL: https://github.com/nodejs/node/pull/18669 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> R...
[ { "path": "test/addons-napi/test_general/test.js", "patch": "@@ -81,7 +81,7 @@ const y = {};\n test_general.wrap(y);\n test_general.removeWrap(y);\n // Wrapping twice succeeds if a remove_wrap() separates the instances\n-assert.doesNotThrow(() => test_general.wrap(y));\n+test_general.wrap(y);\n \n // Ensure...
2018-02-09T01:32:04
huggingface/transformers
1909def2de013deadd67b418b49d24957c53ae87
4f2bf135aff70bcb231fba1ad6723564ec6103d6
fix awq tests due to ipex backend (#34011) fix awq tests
[ { "path": "src/transformers/integrations/awq.py", "patch": "@@ -13,9 +13,13 @@\n # limitations under the License.\n \"AWQ (Activation aware Weight Quantization) integration file\"\n \n+import importlib\n+\n+from packaging import version\n+\n from ..activations import ACT2FN\n from ..modeling_utils import Pr...
2024-10-08T13:56:05
vercel/next.js
b78ede609996370e4c43faaf36c66c10688a8e27
7df0c410fce3983d32a66cc32c75b2cb70ad5273
fix benchmark compare actions (vercel/turbo#318) The benchmark github action didn't correctly copy and use the executables used in benchmarks via CARGO_BIN_EXE_*. This adds a CARGO_BIN_EXE_* runtime override to the github action to allow to use correct executable. It will show correct results for next-dev benchmarks...
[ { "path": "packages/next-swc/crates/next-dev/benches/mod.rs", "patch": "@@ -195,11 +195,14 @@ impl Bundler for Turbopack {\n }\n \n fn start_server(&self, test_dir: &Path) -> (Child, String) {\n- let mut proc = Command::new(std::env!(\"CARGO_BIN_EXE_next-dev\"))\n- .args([test_dir....
2022-09-06T17:34:51
rust-lang/rust
1a8ddee65c2a36941d8fe3806beff727a3834d1e
4510e86a41388733675465a8647d4235f3bf2023
Add target maintainer information for powerpc64-unknown-linux-musl We intend to fix the outstanding issues on the target and eventually promote it to tier 2. We have the capacity to maintain this target in the future and already perform regular builds of rustc for this target. Currently, all host tools except miri bu...
[ { "path": "src/bootstrap/configure.py", "patch": "@@ -249,6 +249,11 @@ def v(*args):\n \"target.mips64el-unknown-linux-muslabi64.musl-root\",\n \"mips64el-unknown-linux-muslabi64 install directory\",\n )\n+v(\n+ \"musl-root-powerpc64\",\n+ \"target.powerpc64-unknown-linux-musl.musl-root\",\n+ ...
2025-03-24T22:01:11
golang/go
df81a15819d5b264e6451976a2884953e8d28b20
4787e906cff56ae23028df12c68331745651ec9e
runtime: check mips64 VDSO clock_gettime return code We introduced VDSO feature for mips64x in Go1.14, however Linux kernel didn't ship VDSO safe fallback until 4.13. This CL checks vdso return code it may fix this issue. name old time/op new time/op delta Now 174ns ± 0% 176ns ± 0% +1.20% (p=...
[ { "path": "src/runtime/sys_linux_mips64x.s", "patch": "@@ -250,6 +250,14 @@ noswitch:\n \tBEQ\tR25, fallback\n \n \tJAL\t(R25)\n+\t// check on vdso call return for kernel compatibility\n+\t// see https://golang.org/issues/39046\n+\t// if we get any error make fallback permanent.\n+\tBEQ\tR2, R0, finish\n+\t...
2020-11-18T02:28:18
nodejs/node
efb32592e1b78ec2559e1a409faa049e756a9501
3b9cc424a4240c10003dca71c5a7478232e3d0d8
src: deprecate legacy node::MakeCallback The legacy MakeCallback functions do not provide a mechanism to propagate async context. This means that any native modules using these directly is likely breaking async debugging & tracing tools. For example it is possible that such a module will cause incorrect async stack tr...
[ { "path": "doc/api/deprecations.md", "patch": "@@ -893,6 +893,15 @@ Use [`asyncResource.runInAsyncScope()`][] API instead which provides a much\n safer, and more convenient, alternative. See\n https://github.com/nodejs/node/pull/18513 for more details.\n \n+<a id=\"DEP0098\"></a>\n+### DEP0098: async contex...
2018-01-25T02:09:53
ollama/ollama
40b10eee6d62a32578ca7e884fb73d4c8bc644a0
424f648632c925ce14a75018c4dcab395e035993
api: fix ImageData struct comment to expect raw image bytes (#10386)
[ { "path": "api/types.go", "patch": "@@ -76,7 +76,7 @@ type GenerateRequest struct {\n \t// this request.\n \tKeepAlive *Duration `json:\"keep_alive,omitempty\"`\n \n-\t// Images is an optional list of base64-encoded images accompanying this\n+\t// Images is an optional list of raw image bytes accompanying t...
2025-04-24T03:13:51
huggingface/transformers
4f2bf135aff70bcb231fba1ad6723564ec6103d6
f4b741d674973744c5b642a9f790fc8fb944f98d
Fix typing issue (#34012)
[ { "path": "src/transformers/modeling_gguf_pytorch_utils.py", "patch": "@@ -15,7 +15,7 @@\n # limitations under the License.\n \n import re\n-from typing import Optional\n+from typing import Dict, Optional\n \n import numpy as np\n from tqdm import tqdm\n@@ -242,7 +242,7 @@ def reverse_reshape_bias(weights: ...
2024-10-08T13:15:40
rust-lang/rust
49bf6ca79eb7379e367578cba910d1e1cbacc7d1
e9a5470aabcf9dbfd8c463b3156332d75a3881ea
search.js: add undef2null and eliminate more @ts-expect-error
[ { "path": "src/librustdoc/html/static/js/search.js", "patch": "@@ -33,6 +33,20 @@ function onEachBtwn(arr, func, funcBtwn) {\n }\n }\n \n+/**\n+ * Convert any `undefined` to `null`.\n+ *\n+ * @template T\n+ * @param {T|undefined} x\n+ * @returns {T|null}\n+ */\n+function undef2null(x) {\n+ if (x !== ...
2025-03-24T22:05:35
vercel/next.js
a309b1a56b8c8d139c40d85be5374f0a0e782451
9e82fc14aa01f76a604c0a6af087d77d4fd1616a
fix benchmark compare actions (#318) The benchmark github action didn't correctly copy and use the executables used in benchmarks via CARGO_BIN_EXE_*. This adds a CARGO_BIN_EXE_* runtime override to the github action to allow to use correct executable. It will show correct results for next-dev benchmarks too, e. g. ...
[ { "path": "crates/next-dev/benches/mod.rs", "patch": "@@ -195,11 +195,14 @@ impl Bundler for Turbopack {\n }\n \n fn start_server(&self, test_dir: &Path) -> (Child, String) {\n- let mut proc = Command::new(std::env!(\"CARGO_BIN_EXE_next-dev\"))\n- .args([test_dir.to_str().unwrap(),...
2022-09-06T17:34:51
golang/go
4787e906cff56ae23028df12c68331745651ec9e
c9658bee93c169f6efd4654576bf8e9a920ec1de
crypto/x509: rollback new CertificateRequest fields In general, we don't want to encourage reading them from CSRs, and applications that really want to can parse the Extensions field. Note that this also fixes a bug where the error of parseKeyUsageExtension was not handled in parseCertificateRequest. Fixes #43477 Up...
[ { "path": "api/go1.16.txt", "patch": "@@ -1,15 +1,6 @@\n pkg archive/zip, method (*ReadCloser) Open(string) (fs.File, error)\n pkg archive/zip, method (*Reader) Open(string) (fs.File, error)\n pkg crypto/x509, method (SystemRootsError) Unwrap() error\n-pkg crypto/x509, type CertificateRequest struct, BasicC...
2021-01-05T19:52:00
huggingface/transformers
f4b741d674973744c5b642a9f790fc8fb944f98d
17806d11bae2e1520d67ea8efd1c461476da3b6c
Fixup DeepSpeed things (#34007)
[ { "path": "src/transformers/trainer.py", "patch": "@@ -229,6 +229,7 @@\n if is_accelerate_available():\n from accelerate import Accelerator, skip_first_batches\n from accelerate import __version__ as accelerate_version\n+ from accelerate.state import AcceleratorState\n from accelerate.utils i...
2024-10-08T13:04:24
nodejs/node
28dc56dc716681162fcaf07bc11ac657a7df471e
138bdf6114242d3db26b887650bad009e0efae1b
fs: fix typo in promises.lchmod & lchown PR-URL: https://github.com/nodejs/node/pull/18783 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "lib/fs.js", "patch": "@@ -2896,7 +2896,7 @@ const promises = {\n if (constants.O_SYMLINK !== undefined) {\n const fd = await promises.open(path,\n constants.O_WRONLY | constants.O_SYMLINK);\n- return promises.fschmod(fd, mode).finally(fd.close.b...
2018-02-14T16:02:12
ollama/ollama
424f648632c925ce14a75018c4dcab395e035993
2eb1fb3231063365408155d2fffce9d62ad3c5ee
increase default context length to 4096 (#10364) * increase default context length to 4096 We lower the default numParallel from 4 to 2 and use these "savings" to double the default context length from 2048 to 4096. We're memory neutral in cases when we previously would've used numParallel == 4, but we add the follo...
[ { "path": "cmd/cmd.go", "patch": "@@ -1407,6 +1407,7 @@ func NewCLI() *cobra.Command {\n \t\t\t\tenvVars[\"OLLAMA_LLM_LIBRARY\"],\n \t\t\t\tenvVars[\"OLLAMA_GPU_OVERHEAD\"],\n \t\t\t\tenvVars[\"OLLAMA_LOAD_TIMEOUT\"],\n+\t\t\t\tenvVars[\"OLLAMA_CONTEXT_LENGTH\"],\n \t\t\t})\n \t\tdefault:\n \t\t\tappendEnvD...
2025-04-22T23:33:24
rust-lang/rust
7c55782e0c1d01dfd7ceab3b4e682c12e24308d8
27e95f95e6dfcc1effa1f106c90fe53ab2236b76
rustc_session: Add a helper function for obtaining staticlib prefix and suffix
[ { "path": "compiler/rustc_codegen_ssa/src/back/link.rs", "patch": "@@ -1494,11 +1494,7 @@ fn print_native_static_libs(\n | NativeLibKind::Unspecified => {\n let verbatim = lib.verbatim;\n if sess.target.is_like_msvc {\n- let (pre...
2025-03-24T21:00:10
vercel/next.js
71ad0dd0b0f69c56215f7f0bbda798139ffb3d40
5f95b6b05031201b04d89cee7b6161296bbe7058
Add prefetch to new router (#39866) Follow-up to #37551 Implements prefetching for the new router. There are multiple behaviors related to prefetching so I've split them out for each case. The list below each case is what's prefetched: Reference: - Checkmark checked → it's implemented. - RSC Payload → Rendered serve...
[ { "path": "packages/next/client/components/app-router.client.tsx", "patch": "@@ -1,4 +1,5 @@\n-import React, { useEffect } from 'react'\n+import type { PropsWithChildren, ReactElement, ReactNode } from 'react'\n+import React, { useEffect, useMemo, useCallback } from 'react'\n import { createFromReadableStre...
2022-09-06T17:29:09
huggingface/transformers
17806d11bae2e1520d67ea8efd1c461476da3b6c
fb360a6c7a21c2c53a34809adfc706e5b6ec3af0
Improve modular converter (#33991) * improve modular * style * Update modular_model_converter.py * pretty print warning * style * Support to remove unused classes as part of added dependencies as well * nits * correct bug * add example * style * Add documentation
[ { "path": "docs/source/en/modular_transformers.md", "patch": "@@ -52,6 +52,7 @@ For example:\n reference it (in case of addition) or completely remove it (in case of deletion).\n - If a class inherits from another, for example: class GemmaModel(LlamaModel):, dependencies are automatically \n inferred. A...
2024-10-08T12:53:58
golang/go
c9658bee93c169f6efd4654576bf8e9a920ec1de
4c668b25c6517ff12b61c11cad1f22ddc89a9791
cmd/go: make module suggestion more friendly We are trying to avoid by not automatically updating go.mod. The suggestion should be that users actually add the dependencies they need, and the command in an easily copy-pastable form now. Fixes: #43430 Change-Id: I2227dab498fcd8d66184c94ebe9e776629ccadfd Reviewed-on: h...
[ { "path": "src/cmd/go/internal/modload/import.go", "patch": "@@ -31,10 +31,6 @@ type ImportMissingError struct {\n \tModule module.Version\n \tQueryErr error\n \n-\t// inAll indicates whether Path is in the \"all\" package pattern,\n-\t// and thus would be added by 'go mod tidy'.\n-\tinAll bool\n-\n \t// ...
2020-12-31T03:42:39
nodejs/node
138bdf6114242d3db26b887650bad009e0efae1b
d8ec49ed9d0acbce329edac5938a455c3a1ea4c3
doc: update crypo Certficate class. Update the dead link to <keygen> documentation. Add a link to mozilla developper documentation because W3C deleted the reference to this element. Add a note to inform <keygen> element is deprecated since HTML 5.2. PR-URL: https://github.com/nodejs/node/pull/18721 Fixes: https://gi...
[ { "path": "doc/api/crypto.md", "patch": "@@ -42,7 +42,10 @@ added: v0.11.8\n -->\n \n SPKAC is a Certificate Signing Request mechanism originally implemented by\n-Netscape and now specified formally as part of [HTML5's `keygen` element][].\n+Netscape and was specified formally as part of [HTML5's `keygen` e...
2018-02-11T19:55:16
rust-lang/rust
43653c1835d59de69c6a5977b52df4708e6fddca
4510e86a41388733675465a8647d4235f3bf2023
linker: Fix staticlib naming for UEFI It uses `libname.a` instead of the standard MSVC naming `name.lib`. Naming for import libraries isn't touched.
[ { "path": "compiler/rustc_codegen_ssa/src/back/link.rs", "patch": "@@ -1494,7 +1494,12 @@ fn print_native_static_libs(\n | NativeLibKind::Unspecified => {\n let verbatim = lib.verbatim;\n if sess.target.is_like_msvc {\n- Some(for...
2025-03-23T19:13:52
ollama/ollama
4e535e618846ffb00a2a6714c07847d6d2951453
40b8fdbdcacb41b9cf42869051df765f66750036
server/internal/registry: make pull send errors with Error field (#10326) Previously, the pull handler would send an error message in the Status field, this prevented the client from using the message as a signal to stop. In the case of the "run" command, it would follow the pull with a "show" which would print a near...
[ { "path": "server/internal/registry/server.go", "patch": "@@ -244,6 +244,7 @@ func (s *Local) handleDelete(_ http.ResponseWriter, r *http.Request) error {\n }\n \n type progressUpdateJSON struct {\n+\tError string `json:\"error,omitempty,omitzero\"`\n \tStatus string `json:\"status,omitempt...
2025-04-19T01:12:28
huggingface/transformers
fb360a6c7a21c2c53a34809adfc706e5b6ec3af0
3b44d2f0424ce46411fd0b6beb72aaafdf10c361
BatchFeature.to() supports non-tensor keys (#33918) * Fix issue in oneformer preprocessing * [run slow] oneformer * [run_slow] oneformer * Make the same fixes in DQA and object detection pipelines * Fix BatchFeature.to() instead * Revert pipeline-specific changes * Add the same check in Pixtral's met...
[ { "path": "src/transformers/feature_extraction_utils.py", "patch": "@@ -237,10 +237,10 @@ def to(self, *args, **kwargs) -> \"BatchFeature\":\n # We cast only floating point tensors to avoid issues with tokenizers casting `LongTensor` to `FloatTensor`\n for k, v in self.items():\n ...
2024-10-08T12:43:32
golang/go
4c668b25c6517ff12b61c11cad1f22ddc89a9791
d2131704a6fda781bd3b823dbe8f57741663f466
runtime/metrics: fix panic message for Float64Histogram The panic message erroneously refers to float64 values. Change-Id: I83380f41d6c28a72bc69a94b9bcdf9d42b1503c1 Reviewed-on: https://go-review.googlesource.com/c/go/+/281236 Trust: Michael Knyszek <mknyszek@google.com> Run-TryBot: Michael Knyszek <mknyszek@google.c...
[ { "path": "src/runtime/metrics/value.go", "patch": "@@ -63,7 +63,7 @@ func (v Value) Float64() float64 {\n // If v.Kind() != KindFloat64Histogram, this method panics.\n func (v Value) Float64Histogram() *Float64Histogram {\n \tif v.kind != KindFloat64Histogram {\n-\t\tpanic(\"called Float64 on non-float64 m...
2021-01-06T18:22:17
rust-lang/rust
c123adf860b008f703b325d013e7c7c0cc707d56
90f5eab952728ac6edcf529a171f7de5c25e5d49
rustdoc js: add nonundef and use it to remove a ts-expect-error
[ { "path": "src/librustdoc/html/static/js/rustdoc.d.ts", "patch": "@@ -6,8 +6,10 @@\n declare global {\n /** Map from crate name to directory structure, for source view */\n declare var srcIndex: Map<string, rustdoc.Dir>;\n- /** Defined and documented in `main.js` */\n+ /** Defined and document...
2025-03-24T20:57:07
nodejs/node
755e07cb738558841880e32795b6f1df4005c5b9
f1fc426cce9db230cb83866871f355afa0b92d3b
test: remove unnecessary timer The timer in NAPI's test_callback_scope/test-resolve-async.js can be removed. If the test fails, it will timeout on its own. The extra timer increases the chances of the test being flaky. PR-URL: https://github.com/nodejs/node/pull/18719 Fixes: https://github.com/nodejs/node/issues/1870...
[ { "path": "test/addons-napi/test_callback_scope/test-resolve-async.js", "patch": "@@ -1,13 +1,6 @@\n 'use strict';\n \n const common = require('../../common');\n-const assert = require('assert');\n const { testResolveAsync } = require(`./build/${common.buildType}/binding`);\n \n-let called = false;\n-testRe...
2018-02-11T22:07:39
ollama/ollama
1d99451ad705478c0a22262ad38b5a403b61c291
09bb2e30f69489b2bd5138fa81d9dbb54c1d2f19
server/internal/client/ollama: handle some network errors gracefully (#10317)
[ { "path": "server/internal/client/ollama/registry.go", "patch": "@@ -223,8 +223,21 @@ type Registry struct {\n \tChunkingThreshold int64\n \n \t// Mask, if set, is the name used to convert non-fully qualified names\n-\t// to fully qualified names. If empty, [DefaultMask] is used.\n+\t// to fully qualified n...
2025-04-17T19:43:09
vercel/next.js
5f95b6b05031201b04d89cee7b6161296bbe7058
5c2faad36eba644e4bb283ed54101dd6ec306a88
Improved route resolution in next-app-loader (#40109) This PR implements the logic to make next-app-loader able to match multiple routes. The app loader is refactored to construct the tree recursively instead of within a loop, as there could be multiple branches. Similarly, when entering a new layout level or branc...
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -51,7 +51,7 @@ jobs:\n run: sudo ethtool -K eth0 tx off rx off\n \n - name: Check non-docs only change\n- run: echo ::set-output name=DOCS_CHANGE::$(node scripts/run-for-change.js --not --type docs --exec echo 'nope')\n+ ...
2022-09-06T17:03:21
huggingface/transformers
3b44d2f0424ce46411fd0b6beb72aaafdf10c361
e2001c341322c308ec663a37d91b725a1fdde7e8
Image pipelines spec compliance (#33899) * Update many similar visual pipelines * Add input tests * Add ImageToText as well * Add output tests * Add output tests * Add output tests * OutputElement -> Output * Correctly test elements * make fixup * fix typo in the task list * Fix VQA testi...
[ { "path": "src/transformers/pipelines/depth_estimation.py", "patch": "@@ -1,3 +1,4 @@\n+import warnings\n from typing import List, Union\n \n import numpy as np\n@@ -50,12 +51,12 @@ def __init__(self, *args, **kwargs):\n requires_backends(self, \"vision\")\n self.check_model_type(MODEL_FOR_D...
2024-10-08T12:34:28
golang/go
0e286579c5c49660ff01fc7db5f2747958869ce9
9546596d771711a4844b91de4680ad739819cbdc
[dev.typeparams] go/types: import typexpr.go from dev.go2go Changes from dev.go2go (compare with patchset 1): + Update stale comments. + Fix a bug in structType where check.atEnd closed over the loop variable, resulting in incorrect error positions. + Fix a bug in the CallExpr clause of typInternal where it didn...
[ { "path": "src/go/types/call.go", "patch": "@@ -567,3 +567,11 @@ Error:\n \tx.mode = invalid\n \tx.expr = e\n }\n+\n+// instantiatedOperand reports an error of x is an uninstantiated (generic) type and sets x.typ to Typ[Invalid].\n+func (check *Checker) instantiatedOperand(x *operand) {\n+\tif x.mode == typ...
2020-12-16T22:02:07
ollama/ollama
3457a315b241d5d2ada9958d22cc5effb2643a7e
ed4e1393149e1ba5e8fbf5b6629d2658342e39d9
server/internal/client/ollama: cleanup use of multiple counters (#10304) The completed and received counters must work in tandem and the code should better reflect that. Previously, the act of updating them was 2-3 lines of code duplicated in multiple places. This consolidates them into a single update closure for eas...
[ { "path": "server/internal/client/ollama/registry.go", "patch": "@@ -431,14 +431,13 @@ func (r *Registry) Push(ctx context.Context, name string, p *PushParams) error {\n //\n // It always calls update with a nil error.\n type trackingReader struct {\n-\tl *Layer\n \tr io.Reader\n-\tupdate func(n i...
2025-04-16T21:33:40
nodejs/node
0e7b61229aa602e55c5fb034a63d7da97eecff3b
0ed9ea861b847579478457b7f5aab430fb6d77cb
src: refactor WriteWrap and ShutdownWraps Encapsulate stream requests more: - `WriteWrap` and `ShutdownWrap` classes are now tailored to the streams on which they are used. In particular, for most streams these are now plain `AsyncWrap`s and do not carry the overhead of unused libuv request data. - Provide gene...
[ { "path": "benchmark/net/tcp-raw-c2s.js", "patch": "@@ -118,7 +118,7 @@ function client(type, len) {\n fail(err, 'write');\n }\n \n- function afterWrite(err, handle, req) {\n+ function afterWrite(err, handle) {\n if (err)\n fail(err, 'write');\n ", "additions": 1, "deletions": 1,...
2018-02-08T03:59:10
huggingface/transformers
0dbc7090bac3fb50f679a8a93516bdc67019c997
a3add29097b5d0aadb57020507240b29d47dd7b3
Processors: don't default padding side (#33942) * don't default padding side * fix
[ { "path": "src/transformers/models/idefics3/processing_idefics3.py", "patch": "@@ -235,9 +235,6 @@ def __call__(\n **kwargs,\n )\n \n- # Temporary fix for \"padding_side\" in init_kwargs\n- output_kwargs[\"text_kwargs\"].pop(\"padding_side\", None)\n-\n image_seq_le...
2024-10-08T08:58:49
vercel/next.js
5c2faad36eba644e4bb283ed54101dd6ec306a88
fa08a17768cd6934d7d1ef944849c54a162ee799
docs: update get-static-paths.md (#40205) I found that `fallback: true` behaves like `fallback: blocking` when client-side page transition, but document doesn't mention the behavior. I tried following. * created a SSG page which has getStaticPaths and getStaticProps, and the getStaticProps is too slow(something like ...
[ { "path": "docs/api-reference/data-fetching/get-static-paths.md", "patch": "@@ -121,6 +121,7 @@ If `fallback` is `true`, then the behavior of `getStaticProps` changes in the fo\n \n - The paths returned from `getStaticPaths` will be rendered to `HTML` at build time by `getStaticProps`.\n - The paths that ha...
2022-09-06T16:16:49
golang/go
d2131704a6fda781bd3b823dbe8f57741663f466
3e1e13ce6d1271f49f3d8ee359689145a6995bad
net/http/httputil: fix deadlock in DumpRequestOut Fix a deadlock in DumpRequestOut which can occur if the request is cancelled between response being sent and it being processed. Also: * Ensure we don't get a reader leak when an error is reported by the transport before the body is consumed. * Add leaked goroutine ...
[ { "path": "src/net/http/httputil/dump.go", "patch": "@@ -138,6 +138,8 @@ func DumpRequestOut(req *http.Request, body bool) ([]byte, error) {\n \t\tselect {\n \t\tcase dr.c <- strings.NewReader(\"HTTP/1.1 204 No Content\\r\\nConnection: close\\r\\n\\r\\n\"):\n \t\tcase <-quitReadCh:\n+\t\t\t// Ensure delegat...
2020-05-07T10:08:08
nodejs/node
b2e20b002bcc36cc027f7121b99cb0376a6f9af7
18d23aa36e7f91bbc8dc6eb5972d2663a3a3df35
fs: extract binding error handling into a helper PR-URL: https://github.com/nodejs/node/pull/18642 Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "lib/fs.js", "patch": "@@ -108,6 +108,20 @@ function copyObject(source) {\n return target;\n }\n \n+function handleErrorFromBinding(ctx) {\n+ if (ctx.errno !== undefined) { // libuv error numbers\n+ const err = errors.uvException(ctx);\n+ Error.captureStackTrace(err, handleErrorFromBindi...
2018-02-08T14:24:08
ollama/ollama
56dc316a57f07fbed80723d1ecd589da0906018e
2fec73eef6e9482f606f185ebb2ae4f75ad1a37c
Give tests more time to run (#10306) Fix flake failures on windows
[ { "path": "server/sched_test.go", "patch": "@@ -355,7 +355,7 @@ func TestRequestsMultipleLoadedModels(t *testing.T) {\n }\n \n func TestGetRunner(t *testing.T) {\n-\tctx, done := context.WithTimeout(context.Background(), 200*time.Millisecond)\n+\tctx, done := context.WithTimeout(context.Background(), 3*time...
2025-04-16T20:37:00
huggingface/transformers
a3add29097b5d0aadb57020507240b29d47dd7b3
bead0fa8dca2407f05f1a422e6d9ec9fee82a07b
Add support for __all__ and potentilly deleting functions (#33859) * Add support for __all__ and potentailly deleting functions * updates * update * nits * remove dummies * fix warning * fixup * style * update * fixup * skip copied from when # skip * remove log * bring dummies back ...
[ { "path": "docs/source/en/modular_transformers.md", "patch": "@@ -118,4 +118,60 @@ Additionally, you may find a list of examples here:\n \n ## What it is not\n \n-It is not a replacement for the modeling code (yet?), and if your model is not based on anything else that ever existed, then you can add a `mode...
2024-10-08T08:19:17
vercel/next.js
fa08a17768cd6934d7d1ef944849c54a162ee799
8698b4927cdf82773812ae2461919255644945db
fix(cli): delete temp file after extraction (#40259) Follow-up on the review comment https://github.com/vercel/next.js/pull/40182#discussion_r963036314 since the PR was merged. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contrib...
[ { "path": "packages/create-next-app/helpers/examples.ts", "patch": "@@ -5,7 +5,7 @@ import { Stream } from 'stream'\n import { promisify } from 'util'\n import { join } from 'path'\n import { tmpdir } from 'os'\n-import { createWriteStream } from 'fs'\n+import { createWriteStream, promises as fs } from 'fs'...
2022-09-06T11:29:25
rust-lang/rust
de6e2d7e92a0f7f2aeceea4a1b300f04c614480b
ad0b41cf44176d984ab99d473e962af5da796398
Remove fields that are dead since the removal of type ascription syntax Since `{ ident: ident }` is a parse error, these fields are dead.
[ { "path": "src/closures.rs", "patch": "@@ -176,7 +176,6 @@ fn rewrite_closure_with_block(\n .first()\n .map(|attr| attr.span.to(body.span))\n .unwrap_or(body.span),\n- could_be_bare_literal: false,\n };\n let block = crate::expr::rewrite_block_with_visitor(...
2025-03-23T21:00:39
golang/go
3e1e13ce6d1271f49f3d8ee359689145a6995bad
0b0d004983b5f06d7e8ae2084fc7d6612f1aa869
cmd/go: set cfg.BuildMod to "readonly" by default with no module root modload.Init now sets the default value for -mod if it wasn't set explicitly. This happens before go.mod is loaded, so modload.LoadModFile sets the default value again in order to enable automatic vendoring. Previously, cfg.BuildMod wasn't set at a...
[ { "path": "src/cmd/go/internal/modload/import.go", "patch": "@@ -58,7 +58,7 @@ func (e *ImportMissingError) Error() string {\n \t\tif e.QueryErr != nil {\n \t\t\treturn fmt.Sprintf(\"cannot find module providing package %s: %v\", e.Path, e.QueryErr)\n \t\t}\n-\t\tif cfg.BuildMod == \"mod\" {\n+\t\tif cfg.Bu...
2020-12-21T23:06:35
nodejs/node
18d23aa36e7f91bbc8dc6eb5972d2663a3a3df35
e9ba0cfd46d75d21e9e2359e40710c3ee46a296a
src: do not redefine private for GenDebugSymbols Redefining private breaks any private inheritance in the included files. We can simply declare GenDebugSymbols() as friends in related classes to gain the access that we need. PR-URL: https://github.com/nodejs/node/pull/18653 Reviewed-By: Anna Henningsen <anna@addaleax...
[ { "path": "src/base_object.h", "patch": "@@ -70,6 +70,7 @@ class BaseObject {\n // offsets and generate debug symbols for BaseObject, which assumes that the\n // position of members in memory are predictable. For more information please\n // refer to `doc/guides/node-postmortem-support.md`\n+ friend ...
2018-02-08T19:34:50
ollama/ollama
2fec73eef6e9482f606f185ebb2ae4f75ad1a37c
1e7f62cb429e5a962dd9c448e7b1b3371879e48b
fix write gguf padding
[ { "path": "convert/convert_llama.go", "patch": "@@ -28,12 +28,12 @@ type llamaModel struct {\n \tNumKeyValueHeads uint32 `json:\"num_key_value_heads\"`\n \tRopeTheta float32 `json:\"rope_theta\"`\n \tRopeScaling struct {\n-\t\tType string `json:\"type\...
2025-04-11T20:39:51
rust-lang/rust
848b0da34fa20d0ff5d12d1d4f506affc765534b
90f5eab952728ac6edcf529a171f7de5c25e5d49
Remove fields that are dead since the removal of type ascription syntax Since `{ ident: ident }` is a parse error, these fields are dead.
[ { "path": "compiler/rustc_ast/src/ast.rs", "patch": "@@ -545,14 +545,6 @@ pub struct Block {\n pub rules: BlockCheckMode,\n pub span: Span,\n pub tokens: Option<LazyAttrTokenStream>,\n- /// The following *isn't* a parse error, but will cause multiple errors in following stages.\n- /// ```c...
2025-03-23T21:00:39
huggingface/transformers
bead0fa8dca2407f05f1a422e6d9ec9fee82a07b
d6ba1ac041ac0b07bc589dd82a67cfb76f75d0f9
Cache: slight change in naming (#32421) * squash * codestyle * Update src/transformers/cache_utils.py Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> * propagate changes to all cache classes * + whisper * fix tests * more fixes * add deprecation warning * fix copies * add...
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -64,16 +64,27 @@ def get_seq_length(self, layer_idx: Optional[int] = 0) -> int:\n # TODO: deprecate this function in favor of `cache_position`\n raise NotImplementedError(\"Make sure to implement `get_seq_length` in a subclass.\")\n \...
2024-10-08T07:43:40
vercel/next.js
8698b4927cdf82773812ae2461919255644945db
a33d502297129602ff1321a2021eaeeab8b895e9
fix: apply default export interop to `next/config` (#40224) The `next/config` code generated is incompatible with the `type: "module"` setting in `package.json`. This PR makes sure that we append the same interop code to the output `shared/lib/runtime-config` file as other re-exported modules: https://github.com/verc...
[ { "path": "packages/next/taskfile.js", "patch": "@@ -2084,12 +2084,12 @@ export default async function (task) {\n await task.watch('telemetry/**/*.+(js|ts|tsx)', 'telemetry', opts)\n await task.watch('trace/**/*.+(js|ts|tsx)', 'trace', opts)\n await task.watch(\n- 'shared/lib/{amp,config,constants,...
2022-09-06T02:13:56
golang/go
81f4f0e912775d11df35220ea598e54c272073fd
4a9d9adea4d071927de01e5aa07b215cf1464be9
[dev.regabi] cmd/compile: remove race-y check in Name.Canonical The backend doesn't synchronize compilation of functions with their enclosed function literals, so it's not safe to double-check that IsClosureVar isn't set on the underlying Name. Plenty of frontend stuff would blow-up if this was wrong anyway, so it sho...
[ { "path": "src/cmd/compile/internal/ir/name.go", "patch": "@@ -341,9 +341,6 @@ func (n *Name) SetVal(v constant.Value) {\n func (n *Name) Canonical() *Name {\n \tif n.IsClosureVar() {\n \t\tn = n.Defn.(*Name)\n-\t\tif n.IsClosureVar() {\n-\t\t\tbase.Fatalf(\"recursive closure variable: %v\", n)\n-\t\t}\n \t...
2021-01-05T19:53:00
nodejs/node
e9ba0cfd46d75d21e9e2359e40710c3ee46a296a
80ac941407235e9ce950c5db97494898ec10f360
test: add crypto check to test-benchmark-tls Currently when building --without-ssl a 'ERR_NO_CRYPTO' error is reported. This is not currently being picked up by the crypto-check lint rule as it does not actually require any crypto modules directly, but instead this is done by common/benchmark. PR-URL: https://github...
[ { "path": "test/sequential/test-benchmark-tls.js", "patch": "@@ -2,6 +2,9 @@\n \n const common = require('../common');\n \n+if (!common.hasCrypto)\n+ common.skip('missing crypto');\n+\n if (!common.enoughTestMem)\n common.skip('Insufficient memory for TLS benchmark test');\n ", "additions": 3, "d...
2018-02-12T06:28:41
ollama/ollama
ccb7eb81357c6612705c6b67306616e2bc57acf7
0fe487e7325cd72b8b06e758c2a03842c557dbda
ggml: Free ggml_backend_buffer_t when releasing buffer When ggml_backend_buffer_free() is called, the device memory is released but not all backends consistently release the actual ggml_backend_buffer_t in system RAM, causing a memory leak. Bug #10040
[ { "path": "llama/patches/0001-cuda.patch", "patch": "@@ -1,47 +0,0 @@\n-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001\n-From: jmorganca <jmorganca@gmail.com>\n-Date: Thu, 6 Jun 2024 23:55:47 -0700\n-Subject: [PATCH] cuda\n-\n----\n- ggml/src/ggml-backend.cpp | 1 -\n- ggml/src...
2025-04-14T19:12:36
rust-lang/rust
484362e3f809ec77eae394603e587ec49a9348e7
c80d9b8d67a78ed19be86f9d129a57922c7dc86e
Mark a fixed test
[ { "path": "tests/ui/associated-type-bounds/dedup-normalized-2-higher-ranked.current.stderr", "patch": "@@ -1,12 +1,12 @@\n error[E0283]: type annotations needed\n- --> $DIR/dedup-normalized-2-higher-ranked.rs:23:5\n+ --> $DIR/dedup-normalized-2-higher-ranked.rs:28:5\n |\n LL | impls(rigid);\n | ...
2025-03-21T18:04:34
huggingface/transformers
d6ba1ac041ac0b07bc589dd82a67cfb76f75d0f9
46f146a2b52f1db8b4dcf3c28a71eee60ce95c79
🌐 [i18n-KO] Translated `gemma.md` to Korean (#33936) * docs: ko: gemma.md * feat: nmt draft * fix: manual edits
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -392,6 +392,8 @@\n title: (번역중) FSMT\n - local: in_translation\n title: (번역중) Funnel Transformer\n+ - local: model_doc/gemma\n+ title: Gemma\n - local: in_translation\n title: (번역중) GPT\n - local: in_...
2024-10-07T22:59:14
vercel/next.js
6f352357fb432b954930d6aeae890b5e0fd2e6aa
6e2738241fe6b6d2eaae6bcf634e5a20db414ef7
Ensure path can be specified for clearPreviewData (#40238) As updated in https://github.com/vercel/next.js/pull/38313 this ensures the `path` option can also be passed to `clearPreviewData` to properly clear the preview cookies. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests a...
[ { "path": "packages/next/server/api-utils/index.ts", "patch": "@@ -2,6 +2,7 @@ import type { IncomingMessage } from 'http'\n import type { BaseNextRequest } from '../base-http'\n \n import { NextApiRequest, NextApiResponse } from '../../shared/lib/utils'\n+import type { CookieSerializeOptions } from 'next/d...
2022-09-05T20:37:08
rust-lang/rust
e06d50cf327aed841de4394b7183aa815bb3ed9e
90f5eab952728ac6edcf529a171f7de5c25e5d49
Revert "Rollup merge of #136127 - WaffleLapkin:dyn_ptr_unwrap_cast, r=compiler-errors" This reverts commit 84c2050bf63f734246572345aedca9edb2abe96e, reversing changes made to a96fa317d78c78a9de996afd317603c6970efc0d.
[ { "path": "compiler/rustc_hir_typeck/src/coercion.rs", "patch": "@@ -41,8 +41,8 @@ use rustc_abi::ExternAbi;\n use rustc_attr_parsing::InlineAttr;\n use rustc_errors::codes::*;\n use rustc_errors::{Applicability, Diag, struct_span_code_err};\n+use rustc_hir as hir;\n use rustc_hir::def_id::{DefId, LocalDefI...
2025-03-24T16:21:31
huggingface/transformers
46f146a2b52f1db8b4dcf3c28a71eee60ce95c79
1ecca92f0362c3149d1eb7da078229d91430321c
🌐 [i18n-KO] Translated `vit.md` to Korean (#33884) * docs: ko: model_doc/vit.md * feat: nmt draft * fix: manual edits * fix: manual edits * Update docs/source/ko/model_doc/vit.md Co-authored-by: Yijun Lee <119404328+yijun-lee@users.noreply.github.com> * Update docs/source/ko/model_doc/vit.md Co-a...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -606,8 +606,8 @@\n - local: in_translation\n title: (번역중) VideoMAE\n - local: in_translation\n- title: (번역중) Vision Transformer (ViT)\n- - local: in_translation\n+ title: Vision Transformer (ViT)\n+ - local: mo...
2024-10-07T22:35:11
nodejs/node
e782715d0a1c33f98212bdc064b4b4eea198e605
b6000d828525f991341bd69fc4550e1316d4c81c
string_decoder: fix regressions There are libraries which invoke StringDecoder using .call and .inherits, which directly conflicts with making StringDecoder be a class which can only be invoked with the new keyword. Revert to declaring it as a function. StringDecoder#lastNeed was not defined, redefine it using the ne...
[ { "path": "lib/string_decoder.js", "patch": "@@ -56,47 +56,61 @@ for (var i = 0; i < encodings.length; ++i)\n // StringDecoder provides an interface for efficiently splitting a series of\n // buffers into a series of JS strings without breaking apart multi-byte\n // characters.\n-class StringDecoder {\n- c...
2018-02-12T06:21:19
golang/go
6b37b15d9520f9fa2b819e66a37fac4b2d08da78
9eef49cfa6eb016e3b20df189e540c6c5a71f365
runtime: don't take allglock in tracebackothers tracebackothers is called from fatal throw/panic. A fatal throw may be taken with allglock held (notably in the allocator when allglock is held), which would cause a deadlock in tracebackothers when we try to take allglock again. Locking allglock here is also often a lo...
[ { "path": "src/runtime/mgcmark.go", "patch": "@@ -132,7 +132,6 @@ fail:\n \tprintln(\"gp\", gp, \"goid\", gp.goid,\n \t\t\"status\", readgstatus(gp),\n \t\t\"gcscandone\", gp.gcscandone)\n-\tunlock(&allglock) // Avoid self-deadlock with traceback.\n \tthrow(\"scan missed a g\")\n }\n ", "additions": 0, ...
2020-11-17T16:55:53
vercel/next.js
6e2738241fe6b6d2eaae6bcf634e5a20db414ef7
77e7529dfe493081a84b95c27ebaa1bc265d2396
Update to use specific swc version for PR stats (#40237) Currently we use one dev swc build for running release/PR stats although the latest swc build could be incompatible with previous tags/commits being compared against so this updates to use the specific version related to that tag. This also updates to omit the s...
[ { "path": ".github/actions/next-stats-action/src/index.js", "patch": "@@ -72,11 +72,15 @@ if (!allowedActions.has(actionInfo.actionName) && !actionInfo.isRelease) {\n }\n /* eslint-disable-next-line */\n actionInfo.commitId = await getCommitId(diffRepoDir)\n+ let mainNextSwcVersion\n \n i...
2022-09-05T20:30:21