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
golang/go
dc289d3dcb59f80b9e23c7e8f237628359d21d92
2887ef499a0e01a3b6fe92bf874843f9f2d05167
io: fix spelling in documentation for io.Discard In the process of refactoring ioutil.Discard to io.Discard in CL 263141 "an" should have been changed to "a" but was likely missed in the process. This commit corrects the spelling of the documentation. Change-Id: I0609c45878291f8f01560efc3f3e6fba191e095b GitHub-Last-...
[ { "path": "src/io/io.go", "patch": "@@ -566,7 +566,7 @@ func (t *teeReader) Read(p []byte) (n int, err error) {\n \treturn\n }\n \n-// Discard is an Writer on which all Write calls succeed\n+// Discard is a Writer on which all Write calls succeed\n // without doing anything.\n var Discard Writer = discard{}...
2021-03-23T21:50:41
huggingface/transformers
e3458af72634c9c60cba4e44ac4c44dd655cee59
3dd1de39bb37887d2c883ecf82ddca6d17924875
Save checkpoint to temporary directory to handle partial saves during failures (#35580) Save checkpoint to temporary folder first Since partial/missing files due to failures throw error during load
[ { "path": "src/transformers/trainer.py", "patch": "@@ -18,6 +18,7 @@\n \n import contextlib\n import copy\n+import errno\n import functools\n import glob\n import importlib.metadata\n@@ -3128,31 +3129,41 @@ def _save_checkpoint(self, model, trial):\n self.store_flos()\n \n run_dir = self...
2025-02-06T13:48:05
vercel/next.js
e7f97c332ecc7dcaccc8ad0ad9b30474de412dec
fe5a502d51ff0d01dd0160de5a71dc5ee9bfb3a5
Fix no-store test case (#41775) <!-- Thanks for opening a PR! Your contribution is much appreciated. 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: --> x-ref: https://github.com/verc...
[ { "path": "packages/next/server/app-render.tsx", "patch": "@@ -221,7 +221,7 @@ function patchFetch(ComponentMod: any) {\n if (staticGenerationStore && isStaticGeneration) {\n if (init && typeof init === 'object') {\n if (init.cache === 'no-store') {\n- staticGenerationStore.revali...
2022-10-25T09:05:48
electron/electron
f8090dc010dad8875d9b9d0d877cf0605e60a653
d7351f102ff6c2574997857a5b4421201f3afd93
Fix the update-node script for our new style of URLs.
[ { "path": "script/update-node.py", "patch": "@@ -10,7 +10,7 @@\n \n \n SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))\n-NODE_VERSION = 'v0.10.9'\n+NODE_VERSION = 'v0.10.15'\n NODE_DIST_URL = 'https://gh-contractor-zcbenz.s3.amazonaws.com/node/dist'\n IS_POSIX = (sys.platform != 'w...
2013-07-26T11:52:47
nodejs/node
b4ca3a4dba8226ef380db20b8395fdb5cbffee19
bd201102862a194f3f5ce669e0a3c8143eafc900
doc: update examples for fs.access() PR-URL: https://github.com/nodejs/node/pull/20460 Fixes: https://github.com/nodejs/node/issues/17508 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
[ { "path": "doc/api/fs.md", "patch": "@@ -760,12 +760,35 @@ no effect on Windows (will behave like `fs.constants.F_OK`).\n \n The final argument, `callback`, is a callback function that is invoked with\n a possible error argument. If any of the accessibility checks fail, the error\n-argument will be an `Erro...
2018-05-01T23:31:28
golang/go
2887ef499a0e01a3b6fe92bf874843f9f2d05167
c59b17e5a2244f7a99c440a07a1c174344da0ad8
cmd/compile/internal/test: update abi tests for recent spec changes The internal ABI spec was recently updated to include specific language covering "past-the-end" pointers and structs containing trailing zero-sized fields. Add a unit test that makes sure we do the right thing in this case. Fix a couple comments in ot...
[ { "path": "src/cmd/compile/internal/test/abiutils_test.go", "patch": "@@ -55,7 +55,14 @@ func TestABIUtilsBasic1(t *testing.T) {\n }\n \n func TestABIUtilsBasic2(t *testing.T) {\n-\t// func(x int32, y float64) (int32, float64, float64)\n+\t// func(p1 int8, p2 int16, p3 int32, p4 int64,\n+\t// p5 float3...
2021-01-26T13:24:00
huggingface/transformers
3dd1de39bb37887d2c883ecf82ddca6d17924875
dce9970884f39e90da99cf65cff3a6ad137df542
Paligemma: fix generation with Gemma2 (#36044) * fix paligemma * nit * use `kwargs` in models that can load any LM
[ { "path": "src/transformers/models/llava/modeling_llava.py", "patch": "@@ -425,6 +425,7 @@ def forward(\n cache_position: Optional[torch.LongTensor] = None,\n logits_to_keep: Union[int, torch.Tensor] = 0,\n image_sizes: torch.Tensor = None,\n+ **lm_kwargs,\n ) -> Union[Tup...
2025-02-06T13:31:32
vercel/next.js
f2d2dde5baa273646c908c3272e379dea3b851a4
67c802ac1746d74dee7dfdc248657c3c9d2c730b
Fix revalidate during dev (#41772) Fix typo `revalidate` -> `fetchRevalidate`
[ { "path": "packages/next/client/components/static-generation-bailout.ts", "patch": "@@ -10,7 +10,7 @@ export function staticGenerationBailout(reason: string) {\n if (staticGenerationStore?.isStaticGeneration) {\n // TODO: honor the dynamic: 'force-static'\n if (staticGenerationStore) {\n- sta...
2022-10-25T08:27:02
huggingface/transformers
37faa97d9b440c69f3a83dca30397ef9ce63eea3
ed98ad35e64a73f8b04afc9a498497a0cbce66a9
Fix repo consistency (#36063) * fix 1 * fix 2 * fix modular * simplify at the same time --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>
[ { "path": "src/transformers/models/gpt_neox/modeling_gpt_neox.py", "patch": "@@ -927,11 +927,7 @@ def forward(\n hidden_states = outputs[0]\n logits = self.score(hidden_states)\n \n- if input_ids is not None:\n- batch_size, sequence_length = input_ids.shape[:2]\n- el...
2025-02-06T10:53:15
golang/go
c59b17e5a2244f7a99c440a07a1c174344da0ad8
05250429ae0e43041c9976a8451426d3ad907e5a
cmd/go: make -coverpkg=all skip test-only packages Otherwise, the added test would fail in an unnecessary way: go build example.com/cov/onlytest: no non-test Go files ... The test script is mimicking other cover_pkgall_*.txt scripts, so it similarly tests both GOPATH and module modes. Fixes #27333. Change-Id: Ie6...
[ { "path": "src/cmd/go/internal/load/test.go", "patch": "@@ -290,10 +290,12 @@ func TestPackagesAndErrors(ctx context.Context, p *Package, cover *TestCover) (p\n \t\t\tseen[p1] = true\n \t\t}\n \t\tfor _, p1 := range cover.Pkgs {\n-\t\t\tif !seen[p1] {\n-\t\t\t\tseen[p1] = true\n-\t\t\t\tpmain.Internal.Impor...
2021-01-30T11:41:29
electron/electron
51a632d7d937d9fec00de5a286eb95c6aa35278f
511b2a442225f4921750d966bad14f1789521776
Don't make use of the 'id' property when sending objects. Fixes #43.
[ { "path": "browser/atom/objects-registry.coffee", "patch": "@@ -1,11 +1,12 @@\n BrowserWindow = require 'browser-window'\n IDWeakMap = require 'id-weak-map'\n+v8Util = process.atomBinding 'v8_util'\n \n class ObjectsStore\n @stores = {}\n \n constructor: ->\n- @nextId = 0\n+ @nextId = 1\n @obj...
2013-07-26T08:39:22
nodejs/node
bd201102862a194f3f5ce669e0a3c8143eafc900
a9b0d8235d5ae11a5ae0748f05c4d290a848f1b9
src: refactor `BaseObject` internal field management - Instead of storing a pointer whose type refers to the specific subclass of `BaseObject`, just store a `BaseObject*` directly. This means in particular that one can cast to classes along the way of the inheritance chain without issues, and that `BaseObject*...
[ { "path": "src/async_wrap.cc", "patch": "@@ -123,8 +123,8 @@ RetainedObjectInfo* WrapperInfo(uint16_t class_id, Local<Value> wrapper) {\n Local<Object> object = wrapper.As<Object>();\n CHECK_GT(object->InternalFieldCount(), 0);\n \n- AsyncWrap* wrap = Unwrap<AsyncWrap>(object);\n- if (wrap == nullptr)...
2018-05-01T16:34:52
rust-lang/rust
d50a8d5fb3727277f82440524e20a67e29dead4c
092a284ba0421695f2032c947765429fd7095796
Improve `-Z crate-attr` diagnostics - Show the `#![ ... ]` in the span (to make it clear that it should not be included in the CLI argument) - Show more detailed errors when the crate has valid token trees but invalid syntax. Previously, `crate-attr=feature(foo),feature(bar)` would just say "invalid crate attr...
[ { "path": "compiler/rustc_ast/src/attr/mod.rs", "patch": "@@ -627,7 +627,7 @@ pub fn mk_doc_comment(\n Attribute { kind: AttrKind::DocComment(comment_kind, data), id: g.mk_attr_id(), style, span }\n }\n \n-pub fn mk_attr(\n+fn mk_attr(\n g: &AttrIdGenerator,\n style: AttrStyle,\n unsafety: S...
2025-03-11T04:24:08
vercel/next.js
d80eb2e0a0ba7133f7c8126ce6c97ce2a8ebfa80
9c352406eee646e1b07b401a816e104a4ef4b8e1
fix node.js 18.9 (vercel/turbo#302)
[ { "path": "packages/next-swc/crates/next-core/js/src/internal/ipc.ts", "patch": "@@ -20,7 +20,7 @@ export type Ipc<TIncoming, TOutgoing> = {\n function createIpc<TIncoming, TOutgoing>(\n port: number\n ): Ipc<TIncoming, TOutgoing> {\n- const socket = net.createConnection(port);\n+ const socket = net.cre...
2022-10-25T08:19:03
huggingface/transformers
ed98ad35e64a73f8b04afc9a498497a0cbce66a9
7aee036e54b2ccd4c7992df88a4e44c0670ff197
Fix usage of unpad_input function (#35925) Fix usage of unpad_function See https://github.com/huggingface/transformers/issues/35899 In the [commit](https://github.com/Dao-AILab/flash-attention/commit/cdbbe844b1c0bcba3362e1f8c8af4d6f6d0bf300) return type of `unpad_input` was changed. Now the code support older and ne...
[ { "path": "src/transformers/modeling_flash_attention_utils.py", "patch": "@@ -121,7 +121,7 @@ def _upad_input(\n else:\n # The -q_len: slice assumes left padding.\n attention_mask = attention_mask[:, -query_length:]\n- query_layer, indices_q, cu_seqlens_q, max_seqlen_in_batch_q = ...
2025-02-06T10:33:42
electron/electron
56b904947bf4be0b3ca80cd65c137a84595f83be
bacf11d53f9168d3eb2fdd4837c37381e4aaa551
Avoid a crash when starting a download by disallowing downloads Chromium crashes when starting a download if a content::DownloadManagerDelegate is not provided. We now provide a default implementation of content::DownloadManagerDelegate which disallows all downloads.
[ { "path": "brightray/brightray.gyp", "patch": "@@ -36,6 +36,8 @@\n 'browser/default_web_contents_delegate_mac.mm',\n 'browser/devtools_delegate.cc',\n 'browser/devtools_delegate.h',\n+ 'browser/download_manager_delegate.cc',\n+ 'browser/download_manager_delegate.h',\n ...
2013-07-24T11:56:55
rust-lang/rust
41a5d8ef3da4769bdd4349ef540110a6e80e6c1e
9f35fe47c75cf404a7ae2c64dbeaf37277106504
JumpThreading: Bail out on interp errors
[ { "path": "compiler/rustc_mir_transform/src/jump_threading.rs", "patch": "@@ -90,7 +90,11 @@ impl<'tcx> crate::MirPass<'tcx> for JumpThreading {\n };\n \n for bb in body.basic_blocks.indices() {\n- finder.start_from_switch(bb);\n+ let old_len = finder.opportunities.len(...
2024-10-07T17:31:43
nodejs/node
a9b0d8235d5ae11a5ae0748f05c4d290a848f1b9
5512fff623658bffffb5ef692c57224802545664
src: access `ContextifyContext*` more directly in property cbs PR-URL: https://github.com/nodejs/node/pull/20455 Fixes: https://github.com/nodejs/node/issues/18897 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
[ { "path": "src/node_contextify.cc", "patch": "@@ -121,7 +121,7 @@ Local<Value> ContextifyContext::CreateDataWrapper(Environment* env) {\n if (wrapper.IsEmpty())\n return scope.Escape(Local<Value>::New(env->isolate(), Local<Value>()));\n \n- Wrap(wrapper, this);\n+ wrapper->SetAlignedPointerInInterna...
2018-05-01T15:24:41
golang/go
05250429ae0e43041c9976a8451426d3ad907e5a
9b78c68a15eb2cd8075ceeaaaca9c1e63c3a894c
net/http: treat MaxBytesReader's negative limits as equivalent to zero limit Current MaxBytesReader behaviour differs from its documentation. It's not similar enough to io.LimitReader. It panics when limit (n) < -1 and returns [-1, <nil>] when limit (n) = -1. To fix that, we treat all negative limits as equivalent to ...
[ { "path": "src/net/http/request.go", "patch": "@@ -1124,6 +1124,9 @@ func readRequest(b *bufio.Reader, deleteHostHeader bool) (req *Request, err erro\n // MaxBytesReader prevents clients from accidentally or maliciously\n // sending a large request and wasting server resources.\n func MaxBytesReader(w Respo...
2021-03-21T00:18:21
vercel/next.js
333583999a613f3f83e6c414589c2e399a28274e
eed550e691ebcd7aaf1c0429efdfa9bae276b2a4
fix node.js 18.9 (#302)
[ { "path": "crates/next-core/js/src/internal/ipc.ts", "patch": "@@ -20,7 +20,7 @@ export type Ipc<TIncoming, TOutgoing> = {\n function createIpc<TIncoming, TOutgoing>(\n port: number\n ): Ipc<TIncoming, TOutgoing> {\n- const socket = net.createConnection(port);\n+ const socket = net.createConnection(port...
2022-10-25T08:19:03
huggingface/transformers
7aee036e54b2ccd4c7992df88a4e44c0670ff197
b5f327f350eaa8e53d8bdcaf14cd4a72307e1e8e
Iterative generation using Input embeds and `past_key_values` (#35890) * Iterative generation using input embeds * ruff fix * Added Testcase * Updated comment * ♻️ Refactored testcase * Skip test for these models * Continue generation using input embeds and cache * Skip generate_continue_from_embe...
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -381,9 +381,13 @@ def prepare_inputs_for_generation(\n # Exception 2: some generation methods do special slicing of input_ids, so we don't need to do it here\n # Exception 3: with synced GPUs cache_position may go out of bounds, ...
2025-02-06T10:06:05
electron/electron
b91f29429ecee365f4f896a1b87e28d1e5e52977
41f0f9bcf3a6ad71f9e7bbdb131b767ea8bac6a3
Fix updating the win32 python repo.
[ { "path": "script/bootstrap.py", "patch": "@@ -71,7 +71,7 @@ def update_win32_python():\n subprocess.check_call(['git', 'clone', PYTHON_26_URL])\n else:\n with scoped_cwd('python_26'):\n- subprocess.check_call(['git', 'pull', '--rebase'])\n+ subprocess.check_call(['git', 'pull'...
2013-07-24T10:33:49
nodejs/node
5512fff623658bffffb5ef692c57224802545664
4740e5dd8a8ced108f40dbcf8375c6fe62ca10cf
src: remove `kFlagNoShutdown` flag This was originally introduced in 3446ff417ba1e, in order to fix a hard crash. However, since the libuv 1.18.0 update, that hard crash is gone, and since f2b9805f85d3f we do not throw an error in JS land anymore either, rendering the flag unnecessary. Also, the original test that ch...
[ { "path": "src/stream_base-inl.h", "patch": "@@ -335,8 +335,7 @@ void StreamBase::AddMethods(Environment* env,\n \n env->SetProtoMethod(t, \"readStart\", JSMethod<Base, &StreamBase::ReadStartJS>);\n env->SetProtoMethod(t, \"readStop\", JSMethod<Base, &StreamBase::ReadStopJS>);\n- if ((flags & kFlagNoSh...
2018-04-28T19:33:46
golang/go
53dd0d78098a43cbca26d6807fea3d58aec64ef7
f4b918384d64dbd046f144012a60080fae16af86
net: make go resolver aware of network parameter Currently, the go resolver always send two DNS queries (A and AAAA) even if tcp4/udp4/ip4 or tcp6/udp6/ip6 is used. This can cause unwanted latencies when making IPv4-only or IPv6-only connections. This change make go resolver aware of network parameter. Now, only one ...
[ { "path": "src/net/dnsclient_unix.go", "patch": "@@ -532,7 +532,7 @@ func (r *Resolver) goLookupHostOrder(ctx context.Context, name string, order hos\n \t\t\treturn\n \t\t}\n \t}\n-\tips, _, err := r.goLookupIPCNAMEOrder(ctx, name, order)\n+\tips, _, err := r.goLookupIPCNAMEOrder(ctx, \"ip\", name, order)\n...
2021-03-15T15:27:51
huggingface/transformers
0de15c988b0d27758ce360adb2627e9ea99e91b3
694aaa7fbccb801de013a99cb558f5a20dfdc02a
Fix Audio Classification Pipeline top_k Documentation Mismatch and Bug #35736 (#35771) * added condition for top_k Doc mismatch fix * initilation of test file for top_k changes * added test for returning all labels * added test for few labels * tests/test_audio_classification_top_k.py * final fix * r...
[ { "path": "src/transformers/pipelines/audio_classification.py", "patch": "@@ -91,8 +91,11 @@ class AudioClassificationPipeline(Pipeline):\n \"\"\"\n \n def __init__(self, *args, **kwargs):\n- # Default, might be overriden by the model.config.\n- kwargs[\"top_k\"] = kwargs.get(\"top_k\"...
2025-02-05T16:25:08
vercel/next.js
67c802ac1746d74dee7dfdc248657c3c9d2c730b
e8d5de6b072009e592f7aa19d894462146d74e05
Add initial head handling in app (#41607) <!-- Thanks for opening a PR! Your contribution is much appreciated. 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 - [ ] Relat...
[ { "path": "packages/next/build/webpack/loaders/next-app-loader.ts", "patch": "@@ -13,6 +13,7 @@ export const FILE_TYPES = {\n template: 'template',\n error: 'error',\n loading: 'loading',\n+ head: 'head',\n 'not-found': 'not-found',\n } as const\n ", "additions": 1, "deletions": 0, "lan...
2022-10-25T08:09:26
rust-lang/rust
9f35fe47c75cf404a7ae2c64dbeaf37277106504
092a284ba0421695f2032c947765429fd7095796
JumpThreading: Re-enable and fix Not ops on non-booleans
[ { "path": "compiler/rustc_mir_transform/src/jump_threading.rs", "patch": "@@ -150,14 +150,6 @@ impl Condition {\n fn matches(&self, value: ScalarInt) -> bool {\n (self.value == value) == (self.polarity == Polarity::Eq)\n }\n-\n- fn inv(mut self) -> Self {\n- self.polarity = match s...
2024-10-04T12:54:09
electron/electron
bbc049ba3a81beb0df9d673c89e4993ad2bd0477
a7557a9626c59a63eb002e2ec108bcf3c1bca46a
[Win] Update node: fix console and process.stdout.
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit 3fcda842a4f08b94fdedddb955e2ff3bbb36d4e8\n+Subproject commit e797d990daefb643ce299e85f2c6e4caca38b520", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2013-07-24T07:37:40
huggingface/transformers
694aaa7fbccb801de013a99cb558f5a20dfdc02a
531d1511f5a550d3bbe9af1ea7e0a6b935d48a2f
Fix how we compute the final non-padding token for ForSequenceClassification models (#35911) * Fix how we compute the final non-padding token for Gemma (and probably other models) * .size() -> .shape[] * Propagating changes to other models * Propagating changes to other models * Change it for all ForSequen...
[ { "path": "src/transformers/models/bloom/modeling_bloom.py", "patch": "@@ -1127,21 +1127,20 @@ def forward(\n if self.config.pad_token_id is None and batch_size != 1:\n raise ValueError(\"Cannot handle batch sizes > 1 if no padding token is defined.\")\n if self.config.pad_token_...
2025-02-05T16:23:33
golang/go
f4b918384d64dbd046f144012a60080fae16af86
cd26192abab742cb2df24827226eab0e9f3683a9
test: enable fixedbugs/bug193.go for -G compiler option Temporarily disable a questionable test case in fixedbugs/bug193.go and enable the test as a whole. See the issues below for details. Updates #45114. Updates #45117. Change-Id: I1de6f8d79b592eeeec139cd92b6c9cac56a9a74b Reviewed-on: https://go-review.googlesourc...
[ { "path": "test/fixedbugs/bug193.go", "patch": "@@ -11,6 +11,8 @@ func main() {\n \tss := 1 << s\n \ty1 := float64(ss)\n \ty2 := float64(1 << s) // ERROR \"shift\"\n-\ty3 := string(1 << s) // ERROR \"shift\"\n+\t// see issues #45114, #45117\n+\t// y3 := string(1 << s) // DISABLED \"shift\"\n+\ty3 := 0\n \...
2021-03-19T01:35:53
nodejs/node
a59826403a76fcc7a6685a52ee82d19be323a699
0930d7ec05d8a0d29d7562f881ca67a959ec18a4
console: console.time() should not reset a timer when it exists PR-URL: https://github.com/nodejs/node/pull/20442 Fixes: https://github.com/nodejs/node/issues/20440 Refs: https://console.spec.whatwg.org/#time Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jerem...
[ { "path": "lib/console.js", "patch": "@@ -225,6 +225,10 @@ Console.prototype.dir = function dir(object, options) {\n Console.prototype.time = function time(label = 'default') {\n // Coerces everything other than Symbol to a string\n label = `${label}`;\n+ if (this._times.has(label)) {\n+ process.emi...
2018-05-01T00:44:41
vercel/next.js
e8d5de6b072009e592f7aa19d894462146d74e05
455161cb3cd1c3ed19e90b95e3d1ed0b23debbc4
Only import dev overlay for dev mode (#41771) * Import dev overlay for dev mode only * Remove other unused code <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right ...
[ { "path": "packages/next/build/entries.ts", "patch": "@@ -521,7 +521,7 @@ export function finalizeEntrypoint({\n name !== CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH\n ) {\n // TODO-APP: this is a temporary fix. @shuding is going to change the handling of server components\n- if (hasAppDir && ent...
2022-10-25T07:53:13
rust-lang/rust
93bee0789a45ea7d5d65bb9301c4ad5ece3abeb2
092a284ba0421695f2032c947765429fd7095796
UI tests: migrate remaining compile time `error-pattern`s to line annotations when possible.
[ { "path": "tests/incremental/const-generic-type-cycle.rs", "patch": "@@ -3,7 +3,6 @@\n //\n //@ compile-flags: -Zincremental-ignore-spans\n //@ revisions: cpass cfail\n-//@ error-pattern: cycle detected when computing type of `Bar::N`\n \n #![feature(trait_alias)]\n #![crate_type=\"lib\"]\n@@ -13,5 +12,9 @@...
2025-04-12T19:40:34
electron/electron
a7557a9626c59a63eb002e2ec108bcf3c1bca46a
85e4e99e7f7ec37496def5272efd2d4674fed1d6
Do not end the process when other exception occurs.
[ { "path": "browser/default_app/main.js", "patch": "@@ -5,11 +5,16 @@ var path = require('path');\n // Start the specified app if there is one specified in command line, otherwise\n // start the default app.\n if (argv._.length > 0) {\n- process.on('uncaughtException', function() {\n- process.exit(1);\n-...
2013-07-24T07:20:59
huggingface/transformers
7399f8021edcdc074792986539c965562d434809
0a1a8e3c7e63dd42ac5e052202d16e8bf1df0b89
[docs] fix bugs in the bitsandbytes documentation (#35868) * fix doc * update model
[ { "path": "docs/source/en/quantization/bitsandbytes.md", "patch": "@@ -208,7 +208,8 @@ from transformers import AutoModelForCausalLM, BitsAndBytesConfig\n model_id = \"bigscience/bloom-1b7\"\n \n quantization_config = BitsAndBytesConfig(\n- llm_int8_threshold=10,\n+ llm_int8_threshold=10.0,\n+ llm_...
2025-02-05T16:21:20
nodejs/node
a00f76c360a223464f330b8a19612c8a0991f6c8
6a24c0c4d6a29a223db26469d33aa0a6f0ed2a1e
doc: synchronize argument names for appendFile() The documentation used `file` for the first argument to `appendFile()` functions. However, the code and (more importantly) thrown errors referred to it as `path`. The latter is especially important because context is not provided. So you're looking for a function that t...
[ { "path": "doc/api/fs.md", "patch": "@@ -892,7 +892,7 @@ try {\n }\n ```\n \n-## fs.appendFile(file, data[, options], callback)\n+## fs.appendFile(path, data[, options], callback)\n <!-- YAML\n added: v0.6.7\n changes:\n@@ -912,7 +912,7 @@ changes:\n description: The `file` parameter can be a file descr...
2018-05-03T05:20:45
golang/go
8f19394b62a5b1651cd66eefb1bfeacc278966b9
0265b6475f08f2c23a742132db87c357fcbfa458
cmd/compile/internal/types2: refactor untyped conversions Based on https://golang.org/cl/284256 for go/types. Brings this code more in line with go/types. Adjusted various tests to match new error messages which generally are now better: for assignment errors, instead of a generic "cannot convert" we now say "cannot ...
[ { "path": "src/cmd/compile/internal/types2/api.go", "patch": "@@ -415,7 +415,8 @@ func AssertableTo(V *Interface, T Type) bool {\n // AssignableTo reports whether a value of type V is assignable to a variable of type T.\n func AssignableTo(V, T Type) bool {\n \tx := operand{mode: value, typ: V}\n-\treturn x...
2021-03-18T05:13:16
vercel/next.js
455161cb3cd1c3ed19e90b95e3d1ed0b23debbc4
2ac7e4c8400a1e73376bddbc194a5df205b4cdd4
[typescript] fix typo in edge runtime name (#41773) There's a typo, the `l` is missing in "experimenta**l**-edge", so this PR fixes it :sunglasses_+1: ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md`
[ { "path": "packages/next/server/next-typescript.ts", "patch": "@@ -114,7 +114,7 @@ const API_DOCS: Record<\n 'The `runtime` option controls the preferred runtime to render this route.',\n options: {\n '\"nodejs\"': 'Prefer the Node.js runtime.',\n- '\"experimenta-edge\"': 'Prefer the ex...
2022-10-25T07:46:58
rust-lang/rust
a404015775276f2e21e16c69fab36cc8228d51f6
175dcc7773d65c1b1542c351392080f48c05799f
std: sys: process: uefi: Use NULL stdin by default According to the docs in `Command::output`: > By default, stdout and stderr are captured (and used to provide the resulting output). Stdin is not inherited from the parent and any attempt by the child process to read from the stdin stream will result in the stream im...
[ { "path": "library/std/src/sys/process/uefi.rs", "patch": "@@ -1,4 +1,4 @@\n-use r_efi::protocols::simple_text_output;\n+use r_efi::protocols::{simple_text_input, simple_text_output};\n \n use crate::collections::BTreeMap;\n pub use crate::ffi::OsString as EnvKey;\n@@ -122,6 +122,22 @@ impl Command {\n ...
2025-04-08T06:58:42
electron/electron
85e4e99e7f7ec37496def5272efd2d4674fed1d6
767354476b6fac7a4f9e9f5552adf2cfc1a9eb19
[Win] Poll events with GetQueuedCompletionStatus, fixes #41.
[ { "path": "common/node_bindings_win.cc", "patch": "@@ -7,8 +7,11 @@\n #include <windows.h>\n \n #include \"base/logging.h\"\n-#include \"vendor/node/src/node.h\"\n-#include \"vendor/node/src/node_internals.h\"\n+\n+extern \"C\" {\n+#include \"vendor/node/deps/uv/include/uv-private/ngx-queue.h\"\n+#include \...
2013-07-23T11:19:11
huggingface/transformers
d8080d55c789acea91c40300da6deee849cd8f77
4831a94ee7d897c15f2dbf93dd039d36d9fdc61a
Fix synced multi-GPU generation with LLMs and VLMs (#35893) * Fix synced multi-GPU generation * fix copies --------- Co-authored-by: Davit Manukyan <ManukyanD> Co-authored-by: Raushan Turganbay <raushan@huggingface.co>
[ { "path": "src/transformers/models/bamba/modeling_bamba.py", "patch": "@@ -40,7 +40,13 @@\n from ...modeling_rope_utils import ROPE_INIT_FUNCTIONS\n from ...modeling_utils import ALL_ATTENTION_FUNCTIONS, PreTrainedModel\n from ...processing_utils import Unpack\n-from ...utils import add_start_docstrings, ad...
2025-02-05T10:15:11
nodejs/node
6a24c0c4d6a29a223db26469d33aa0a6f0ed2a1e
b04d0921aeaa70521dea5fcb27256c686157eb87
doc: update cli flag in crypto.md PR-URL: https://github.com/nodejs/node/pull/20400 Fixes: https://github.com/nodejs/node/issues/20385 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
[ { "path": "doc/api/crypto.md", "patch": "@@ -1585,7 +1585,8 @@ behavior.\n \n The `algorithm` is dependent on the available algorithms supported by the\n version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc.\n-On recent releases of OpenSSL, `openssl list-message-digest-algorithms` wi...
2018-04-29T10:23:29
golang/go
b8371d495bb291f61e4fa3ac1b84116c70ac1223
b182ba7fabcd233a03bb8169634605a7fac6a856
runtime: support long paths without fixup on Windows 10 >= 1607 Windows 10 >= 1607 allows CreateFile and friends to use long paths if bit 0x80 of the PEB's BitField member is set. In time this means we'll be able to entirely drop our long path hacks, which have never really worked right (see bugs below). Until that p...
[ { "path": "src/os/export_windows_test.go", "patch": "@@ -8,6 +8,7 @@ package os\n \n var (\n \tFixLongPath = fixLongPath\n+\tCanUseLongPaths = canUseLongPaths\n \tNewConsoleFile = newConsoleFile\n \tCommandLineToArgv = commandLineToArgv\n )", "additions": 1, "deletions": 0, "language"...
2021-02-11T18:10:10
vercel/next.js
9c352406eee646e1b07b401a816e104a4ef4b8e1
50ca47eb8f5c4c7c80506f74c201cc25cdc10bc3
sort errors by relevance (vercel/turbo#299)
[ { "path": "packages/next-swc/crates/next-core/js/src/dev/hmr-client.ts", "patch": "@@ -184,11 +184,19 @@ function aggregateUpdates(\n };\n }\n \n+const CRITICAL = [\"bug\", \"error\", \"fatal\"];\n+\n+function compareByList(list: any[], a: any, b: any) {\n+ const aI = list.indexOf(a) + 1 || list.length;\...
2022-10-25T07:15:51
huggingface/transformers
4831a94ee7d897c15f2dbf93dd039d36d9fdc61a
fa56dcc2ab748a2d98218b4918742e25454ef0d2
Fix Gemma2 synced multi-GPU generation (#35232) * Fix Gemma2 synced multi-GPU generation * Fix import ordering in modular_gemma2.py
[ { "path": "src/transformers/models/gemma2/modeling_gemma2.py", "patch": "@@ -41,6 +41,7 @@\n add_code_sample_docstrings,\n add_start_docstrings,\n add_start_docstrings_to_model_forward,\n+ is_torchdynamo_compiling,\n logging,\n replace_return_docstrings,\n )\n@@ -936,8 +937,13 @@ def ...
2025-02-05T09:07:50
electron/electron
7d61dcdde11161afeb3909fd75faa23848ebd1c4
e248e2ffc8e15073434b3fb62799eeb9a3063257
[Win] Write log to file in Debug build.
[ { "path": "app/atom_main_delegate.cc", "patch": "@@ -23,12 +23,16 @@ bool AtomMainDelegate::BasicStartupComplete(int* exit_code) {\n #if defined(OS_WIN)\n logging::InitLogging(\n L\"debug.log\",\n+#if defined(DEBUG)\n+ logging::LOG_TO_BOTH_FILE_AND_SYSTEM_DEBUG_LOG ,\n+#else\n logging::LO...
2013-07-23T08:37:00
nodejs/node
ab15198471cdd62b9c98619b033ac17f0f56d01e
516349d99cd64448f88899485352753f847b1ae9
tools: fix TypeError from `test.py --time` Calculated durations are timedelta objects but the FormatTime function is expecting a number in seconds. PR-URL: https://github.com/nodejs/node/pull/20368 Fixes: https://github.com/nodejs/node/issues/20341 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kam...
[ { "path": "tools/test.py", "patch": "@@ -1747,7 +1747,7 @@ def DoSkip(case):\n timed_tests.sort(lambda a, b: a.CompareTime(b))\n index = 1\n for entry in timed_tests[:20]:\n- t = FormatTime(entry.duration)\n+ t = FormatTime(entry.duration.total_seconds())\n sys.stderr.write(\"%4i...
2018-04-27T18:17:30
golang/go
d25476ebb2c645495db7ae22585a8e74171b106e
c819907754a30229da197546a36eb4a160e5908f
cmd/internal/obj/arm64: fix constant pool size calculation error The current calculation method of constant pool size is: c.pool.size = -c.pool.size & (funcAlign - 1) c.pool.size += uint32(sz) This doesn't make sense. This CL changes it as: if q.As == ADWORD { c.pool.size = roundUp(c.pool.size, 8) } c.po...
[ { "path": "src/cmd/internal/obj/arm64/asm7.go", "patch": "@@ -1200,19 +1200,16 @@ func (c *ctxt7) flushpool(p *obj.Prog, skip int) {\n // addpool128 adds a 128-bit constant to literal pool by two consecutive DWORD\n // instructions, the 128-bit constant is formed by ah.Offset<<64+al.Offset.\n func (c *ctxt7...
2021-03-04T03:41:52
vercel/next.js
eed550e691ebcd7aaf1c0429efdfa9bae276b2a4
bdda7ec0f194686592e56caa4c02f547a1e848d5
sort errors by relevance (#299)
[ { "path": "crates/next-core/js/src/dev/hmr-client.ts", "patch": "@@ -184,11 +184,19 @@ function aggregateUpdates(\n };\n }\n \n+const CRITICAL = [\"bug\", \"error\", \"fatal\"];\n+\n+function compareByList(list: any[], a: any, b: any) {\n+ const aI = list.indexOf(a) + 1 || list.length;\n+ const bI = lis...
2022-10-25T07:15:51
electron/electron
e248e2ffc8e15073434b3fb62799eeb9a3063257
9efde9577aefa7348f4274ee22f0fbadc90bab0e
Delay the unresponsive message for a second, fixes #42. It could happen that a window became responsive immediately after the unresponsive message is sent (for example, the window was blocked by showing a save as dialog), by delaying sending the unresponsive message for a second, we can give the window a chance to whe...
[ { "path": "browser/native_window.cc", "patch": "@@ -6,6 +6,7 @@\n \n #include <string>\n \n+#include \"base/message_loop.h\"\n #include \"base/utf_string_conversions.h\"\n #include \"base/values.h\"\n #include \"brightray/browser/inspectable_web_contents.h\"\n@@ -39,6 +40,7 @@ NativeWindow::NativeWindow(con...
2013-07-23T07:29:56
huggingface/transformers
fa56dcc2ab748a2d98218b4918742e25454ef0d2
8d73a38606bc342b370afe1f42718b4828d95aaa
Refactoring of ImageProcessorFast (#35069) * add init and base image processing functions * add add_fast_image_processor to transformers-cli * add working fast image processor clip * add fast image processor to doc, working tests * remove "to be implemented" SigLip * fix unprotected import * fix unpr...
[ { "path": "docs/source/en/model_doc/blip.md", "patch": "@@ -61,6 +61,11 @@ The original code can be found [here](https://github.com/salesforce/BLIP).\n [[autodoc]] BlipImageProcessor\n - preprocess\n \n+## BlipImageProcessorFast\n+\n+[[autodoc]] BlipImageProcessorFast\n+ - preprocess\n+\n <frameworkc...
2025-02-04T22:52:31
nodejs/node
a957f248aedb89aff510fa619e80f017cf318e05
24a5ac797d6eb2431d532ddb3a9e2062490a7737
benchmark: fix next-tick-depth A recent change made these benchmarks fail by always finishing with 0 iterations. Restore a counter variable. PR-URL: https://github.com/nodejs/node/pull/20461 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "benchmark/process/next-tick-depth-args.js", "patch": "@@ -8,52 +8,53 @@ const bench = common.createBenchmark(main, {\n process.maxTickDepth = Infinity;\n \n function main({ n }) {\n+ let counter = n;\n function cb4(arg1, arg2, arg3, arg4) {\n- if (--n) {\n- if (n % 4 === 0)\n+ if (-...
2018-05-02T08:12:54
golang/go
1c9e587b90172e7654db897d8c938ffc665e1673
d9691ffa37820e2a7e70679164eac29c675874b2
net: add IP.IsPrivate Adds a new method IsPrivate to check if an IP is private according to RFC 1918 & RFC 4193. Fixes #29146 Change-Id: If77b9e1746d86029df66ae9f18437b1f65a18b59 GitHub-Last-Rev: 09f4ba75988c87b90550d071866ab1d6634ef681 GitHub-Pull-Request: golang/go#42793 Reviewed-on: https://go-review.googlesource...
[ { "path": "src/net/ip.go", "patch": "@@ -128,6 +128,27 @@ func (ip IP) IsLoopback() bool {\n \treturn ip.Equal(IPv6loopback)\n }\n \n+// IsPrivate reports whether ip is a private address, according to\n+// RFC 1918 (IPv4 addresses) and RFC 4193 (IPv6 addresses).\n+func (ip IP) IsPrivate() bool {\n+\tif ip4 ...
2021-03-22T21:16:27
vercel/next.js
50ca47eb8f5c4c7c80506f74c201cc25cdc10bc3
2bc7c102285bcd9b009378fe203cd43b17dc9219
fix inconsistent asset writes (vercel/turbo#296)
[ { "path": "packages/next-swc/crates/next-core/src/nodejs/mod.rs", "patch": "@@ -46,6 +46,7 @@ async fn emit(\n ) -> Result<CompletionVc> {\n Ok(CompletionsVc::cell(\n internal_assets(intermediate_asset, intermediate_output_path)\n+ .strongly_consistent()\n .await?\n ...
2022-10-25T07:01:03
rust-lang/rust
14662fabeb69fe5ab6c6e68051bf9f80d4aaaa35
65fa0ab9246da73183b848a0c29b033779fe6f6c
docs(library/core/src/pin): fix typo "necessarily" -> "necessary"
[ { "path": "library/core/src/pin.rs", "patch": "@@ -12,7 +12,7 @@\n //! \"pinned,\" in that it has been permanently (until the end of its lifespan) attached to its\n //! location in memory, as though pinned to a pinboard. Pinning a value is an incredibly useful\n //! building block for [`unsafe`] code to be ...
2025-04-13T12:15:16
vercel/next.js
bdda7ec0f194686592e56caa4c02f547a1e848d5
37998eda7142b4a7f2850abd69f9a07cca29aef4
fix inconsistent asset writes (#296)
[ { "path": "crates/next-core/src/nodejs/mod.rs", "patch": "@@ -46,6 +46,7 @@ async fn emit(\n ) -> Result<CompletionVc> {\n Ok(CompletionsVc::cell(\n internal_assets(intermediate_asset, intermediate_output_path)\n+ .strongly_consistent()\n .await?\n .iter()\n ...
2022-10-25T07:01:03
golang/go
d9691ffa37820e2a7e70679164eac29c675874b2
a93849b9e2326cffe4c9aef656b507e2cead8e5f
cmd/compile/internal/walk: relocate a stray comment The explanatory comment and the associated version counter variable for the helper routine "wrapCall" seem to have been left behind in walk.go during the big refactoring -- move it back to where it should be, next to wrapCall in stmt.go. Also fix a small buglet in th...
[ { "path": "src/cmd/compile/internal/walk/stmt.go", "patch": "@@ -233,6 +233,24 @@ func walkIf(n *ir.IfStmt) ir.Node {\n \treturn n\n }\n \n+// Rewrite\n+//\tgo builtin(x, y, z)\n+// into\n+//\tgo func(a1, a2, a3) {\n+//\t\tbuiltin(a1, a2, a3)\n+//\t}(x, y, z)\n+// for print, println, and delete.\n+//\n+// R...
2021-03-18T15:18:44
nodejs/node
7588ceaf353af0f257d4d832bace4600edac704e
bdf5be98dd901f6c312938198439dbda0b20d517
doc: add more missing backticks Also, fix some other nits in passing (formatting, punctuation, typos, redundancy, obsoleteness). PR-URL: https://github.com/nodejs/node/pull/20438 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmai...
[ { "path": "doc/api/addons.md", "patch": "@@ -9,7 +9,7 @@ just as if they were an ordinary Node.js module. They are used primarily to\n provide an interface between JavaScript running in Node.js and C/C++ libraries.\n \n At the moment, the method for implementing Addons is rather complicated,\n-involving kno...
2018-04-29T17:46:41
huggingface/transformers
8d73a38606bc342b370afe1f42718b4828d95aaa
fe52679e74be29c6984ea15b318e0074703f5c77
Add DAB-DETR for object detection (#30803) * initial commit * encoder+decoder layer changes WIP * architecture checks * working version of detection + segmentation * fix modeling outputs * fix return dict + output att/hs * found the position embedding masking bug * pre-training version * added ...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -643,6 +643,8 @@\n title: ConvNeXTV2\n - local: model_doc/cvt\n title: CvT\n+ - local: model_doc/dab-detr\n+ title: DAB-DETR\n - local: model_doc/deformable_detr\n title: Deformable DETR\n - local: mo...
2025-02-04T17:28:27
vercel/next.js
2bc7c102285bcd9b009378fe203cd43b17dc9219
ce4a8ed6bb2e74ab3af88737c1f7856a516b95d3
use error overlay in app layouts (vercel/turbo#294)
[ { "path": "packages/next-swc/crates/next-core/js/src/dev/hot-reloader.tsx", "patch": "@@ -4,11 +4,9 @@ import type React from \"react\";\n import { useRouter, usePathname } from \"next/dist/client/components/navigation\";\n import { useEffect } from \"react\";\n import { onUpdate } from \"./hmr-client\";\n+...
2022-10-25T06:33:16
golang/go
196c33e92d86eb21fe1cb7d244ea61209b4a554e
ba6b8e75ed16b3e9ecb305399e5ec2e29778e299
cmd/compile: fix WriteFuncMap for new ABI. replaced old type-based logic with new abi-based logic; earlier versions of this CL compared them for equality. For not-in-a-register, they match everywhere tested. also modified GetFrameOffset to make it more like the one it replaces; the LocalsOffset is subtracted. Change...
[ { "path": "src/cmd/compile/internal/abi/abiutils.go", "patch": "@@ -236,16 +236,22 @@ func (a *ABIParamAssignment) SpillOffset() int32 {\n \treturn a.offset\n }\n \n-// FrameOffset returns the location that a value would spill to, if any exists.\n-// For register-allocated inputs, that is their spill offset...
2021-03-12T18:37:24
nodejs/node
bdf5be98dd901f6c312938198439dbda0b20d517
9c8b479467a5f2b68f967444fbc2f7528082ab23
n-api: test and doc napi_throw() of a primitive Ensure that napi_throw() is able to throw a primitive value, and document that it is able to throw any JavaScript value. Fixes: https://github.com/nodejs/abi-stable-node/issues/309 PR-URL: https://github.com/nodejs/node/pull/20428 Reviewed-By: Michael Dawson <michael_da...
[ { "path": "doc/api/n-api.md", "patch": "@@ -344,11 +344,11 @@ added: v8.0.0\n NODE_EXTERN napi_status napi_throw(napi_env env, napi_value error);\n ```\n - `[in] env`: The environment that the API is invoked under.\n-- `[in] error`: The `napi_value` for the `Error` to be thrown.\n+- `[in] error`: The JavaSc...
2018-04-29T20:49:30
huggingface/transformers
fe52679e74be29c6984ea15b318e0074703f5c77
014a1fa2c8e7b4a6efb7e6f7a61032e4290eff5c
Update tests regarding attention types after #35235 (#36024) * update * update * update * dev-ci * more changes * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/test_modeling_common.py", "patch": "@@ -3872,11 +3872,13 @@ def test_attn_implementation_composite_models(self):\n for name, submodule in model.named_modules():\n class_name = submodule.__class__.__name__\n if (\n- \"SdpaAttenti...
2025-02-04T17:04:47
electron/electron
4ddd1bccb4ade9fcee8efc3d21dd87eff5c313d9
36f125f3d355c38f28f6b5f30d0ca9dc6d4f945a
Fix how we detect renderer crash.
[ { "path": "browser/native_window.cc", "patch": "@@ -273,13 +273,6 @@ void NativeWindow::RendererResponsive(content::WebContents* source) {\n FOR_EACH_OBSERVER(NativeWindowObserver, observers_, OnRendererResponsive());\n }\n \n-void NativeWindow::NavigationStateChanged(const content::WebContents* source,\n...
2013-07-18T10:37:40
vercel/next.js
37998eda7142b4a7f2850abd69f9a07cca29aef4
1f6b9bd3b744b6c7714ec64e131bf21e47591407
use error overlay in app layouts (#294)
[ { "path": "crates/next-core/js/src/dev/hot-reloader.tsx", "patch": "@@ -4,11 +4,9 @@ import type React from \"react\";\n import { useRouter, usePathname } from \"next/dist/client/components/navigation\";\n import { useEffect } from \"react\";\n import { onUpdate } from \"./hmr-client\";\n+import { ReactDevO...
2022-10-25T06:33:16
golang/go
ba6b8e75ed16b3e9ecb305399e5ec2e29778e299
78afca22c9485dbd44da3b909866bbb9c1eaf440
os/exec: avoid flaky Wait in TestContextCancel This change just increases the timeout to 1 minute to avoid test flakiness. Fixes #42061 Change-Id: Id258488ee8f062cd5e68b68bb5cf11e15fdbb396 Reviewed-on: https://go-review.googlesource.com/c/go/+/303351 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go B...
[ { "path": "src/os/exec/exec_test.go", "patch": "@@ -1099,7 +1099,7 @@ func TestContextCancel(t *testing.T) {\n \t\tif _, err := io.WriteString(w, \"echo\"); err != nil {\n \t\t\tbreak\n \t\t}\n-\t\tif time.Since(start) > time.Second {\n+\t\tif time.Since(start) > time.Minute {\n \t\t\tt.Fatal(\"canceling co...
2021-03-22T04:35:49
huggingface/transformers
9855acb9c523233c73e03098f12a853ff4e04a22
9f486badd584756d60479f2fe257d9b8e8c761b9
Hotfix for `self-comment-ci.yml` (#36030) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/self-comment-ci.yml", "patch": "@@ -225,6 +225,7 @@ jobs:\n if [ $PR_MERGE_SHA != $VERIFIED_PR_MERGE_SHA ]; then\n echo \"The merged commit SHA is not the same as the verified one! Security issue detected, abort the workflow!\";\n exit -1;\n+ ...
2025-02-04T15:28:05
nodejs/node
9c8b479467a5f2b68f967444fbc2f7528082ab23
557f5702eccd48da757df9adc5385d664717a173
deps: cherry-pick 76cab5f from upstream V8 Original commit message: Fix Object.entries/.values with non-enumerable properties Iterate over all descriptors instead of bailing out early and missing enumerable properties later. Bug: chromium:836145 Change-Id: I104f7ea89480383b6b4b9204942a166bdf8e05...
[ { "path": "common.gypi", "patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.5',\n+ 'v8_embedder_string': '-node.6',\n \n # Enable disassembler for `--print-code...
2018-04-27T06:23:00
electron/electron
42a6a7d0d33f87d889cebc8d89aa37393dce6054
ec33b4d57993721a461c35c6fc810af46baa9e8c
Add two tests regarding crashes in context switching.
[ { "path": "spec/node/contexts.coffee", "patch": "@@ -0,0 +1,21 @@\n+assert = require 'assert'\n+fs = require 'fs'\n+\n+describe 'contexts', ->\n+ describe 'setTimeout in fs callback', ->\n+ it 'does not crash', (done) ->\n+ fs.readFile __filename, ->\n+ setTimeout done, 0\n+\n+ describe 'th...
2013-07-17T10:52:02
vercel/next.js
ce4a8ed6bb2e74ab3af88737c1f7856a516b95d3
395dbc940227c0492075232416549eab82ab505a
Fix format check (vercel/turbo#289)
[ { "path": "packages/next-swc/crates/next-core/js/src/entry/app-renderer.tsx", "patch": "@@ -60,7 +60,7 @@ type IpcOutgoingMessage = {\n }\n }\n \n- let html = await runOperation(renderData);\n+ const html = await runOperation(renderData);\n \n if (html == null) {\n throw new Error(...
2022-10-25T05:45:08
golang/go
78afca22c9485dbd44da3b909866bbb9c1eaf440
8fd0f83552d3ef9ca38c031bec93a36b189e3e11
runtime: fix bogus NtCurrentTeb()->TlsSlots[n] calculation on windows/arm64 runtime.save_g adds X18 to runtime.tls_g in order to have a pointer to thread local storage. X18 represents a pointer to the TEB on ARM64 and runtime.tls_g is set in runtime.wintls at initialization time. This function calls TlsAlloc to alloca...
[ { "path": "src/runtime/sys_windows_arm64.s", "patch": "@@ -573,7 +573,7 @@ TEXT runtime·wintls(SB),NOSPLIT,$0\n ok:\n \n \t// Save offset from R18 into tls_g.\n-\tLSL\t$3, R1\n-\tADD\t$TEB_TlsSlots, R1\n-\tMOVD\tR1, runtime·tls_g(SB)\n+\tLSL\t$3, R0\n+\tADD\t$TEB_TlsSlots, R0\n+\tMOVD\tR0, runtime·tls_g(SB)...
2021-03-20T02:19:33
huggingface/transformers
9f486badd584756d60479f2fe257d9b8e8c761b9
f19bfa50e7d0eedfa22f0d2d7f695b61479b6f99
Display warning for unknown quants config instead of an error (#35963) * add supports_quant_method check * fix * add test and fix suggestions * change logic slightly --------- Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com>
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -3634,7 +3634,10 @@ def from_pretrained(\n \n model_kwargs = kwargs\n \n- pre_quantized = getattr(config, \"quantization_config\", None) is not None\n+ pre_quantized = hasattr(config, \"quantization_config\")\n+ if...
2025-02-04T14:17:01
nodejs/node
392d80a617fab8630e3f017076f1f59403db6470
536b1fbd3ff38df3d5e8eb0b011820fd94f68b9d
doc: add missing periods or colons Some other formatting nits were fixed and some superfluous descriptions were simplified in passing. PR-URL: https://github.com/nodejs/node/pull/20401 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Trivikram Kama...
[ { "path": "doc/api/buffer.md", "patch": "@@ -2458,7 +2458,7 @@ added: v3.0.0\n \n * {integer} The largest size allowed for a single `Buffer` instance.\n \n-An alias for [`buffer.constants.MAX_LENGTH`][]\n+An alias for [`buffer.constants.MAX_LENGTH`][].\n \n Note that this is a property on the `buffer` modul...
2018-04-29T11:16:44
electron/electron
5f443ebbb0a8d7731d5f3fc12d561e3db8d706c8
2af41ae56dfc547865eee42ef2c6da006e9348e4
Fix .gitignore.
[ { "path": ".gitignore", "patch": "@@ -1,16 +1,14 @@\n .DS_Store\n atom-shell.zip\n version\n-build/\n-dist/\n-frameworks/\n-node/\n+/build/\n+/dist/\n+/frameworks/\n+/node/\n+/out/\n+/vendor/brightray/vendor/download/\n+/vendor/python_26/\n node_modules/\n-browser/default_app/node_modules/\n-spec/node_modul...
2013-07-17T09:07:14
vercel/next.js
1f6b9bd3b744b6c7714ec64e131bf21e47591407
c328dd4c96ac0fa5c0f7cb30c02eece504bb425f
Fix format check (#289)
[ { "path": "crates/next-core/js/src/entry/app-renderer.tsx", "patch": "@@ -60,7 +60,7 @@ type IpcOutgoingMessage = {\n }\n }\n \n- let html = await runOperation(renderData);\n+ const html = await runOperation(renderData);\n \n if (html == null) {\n throw new Error(\"no html returned...
2022-10-25T05:45:08
golang/go
8fd0f83552d3ef9ca38c031bec93a36b189e3e11
5437b5a24ba52c06d7ff627f01ed1876558959d2
cmd/compile/internal/ssa: correct sign extension for consts on riscv64 Correct sign extension handling for consts on riscv64. This fixes a bug in part exposed by CL 302609 - previously 64 bit consts were rewritten into multiple 32 bit consts and the expansion would result in sign/zero extension not being eliminated. W...
[ { "path": "src/cmd/compile/internal/ssa/gen/RISCV64.rules", "patch": "@@ -607,9 +607,9 @@\n (MOVDstore [off] {sym} ptr (MOVDconst [0]) mem) => (MOVDstorezero [off] {sym} ptr mem)\n \n // Avoid sign/zero extension for consts.\n-(MOVBreg (MOVDconst [c])) => (MOVDconst [int64(c)])\n-(MOVHreg (MOVDconst [c]))...
2021-03-20T13:58:18
huggingface/transformers
f19bfa50e7d0eedfa22f0d2d7f695b61479b6f99
a93b80588b10d567ef7d70143b6581df8e601a8b
Commont bot CI for other jobs (`generation` / `quantization`) (#35341) * quantization CI on PRs * fix * fix * add 2 members --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/self-comment-ci.yml", "patch": "@@ -30,7 +30,7 @@ jobs:\n runs-on: ubuntu-22.04\n name: Get PR number\n # For security: only allow team members to run\n- if: ${{ github.event.issue.state == 'open' && contains(fromJSON('[\"ydshieh\", \"ArthurZucker\", \"zucchini-nl...
2025-02-04T13:42:51
nodejs/node
536b1fbd3ff38df3d5e8eb0b011820fd94f68b9d
aaca38a26118c9d7d8409fa3a8643149f148641f
doc: mitigate `marked` bug PR-URL: https://github.com/nodejs/node/pull/20411 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "doc/api/net.md", "patch": "@@ -192,7 +192,8 @@ Possible signatures:\n * [`server.listen(options[, callback])`][`server.listen(options)`]\n * [`server.listen(path[, backlog][, callback])`][`server.listen(path)`]\n for [IPC][] servers\n-* [`server.listen([port[, host[, backlog]]][, callback])`][`...
2018-04-29T21:39:20
electron/electron
6045a5299f2c73c9284f028f1c2cfac58b224318
4a47ceb7306881bb86868dad2b7814cfe4146ab1
Update node: fix process.nextTick.
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit d0ccec39c367b00334d76cac10cfc8543143cb1c\n+Subproject commit 3fcda842a4f08b94fdedddb955e2ff3bbb36d4e8", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2013-07-17T02:48:00
rust-lang/rust
16334cdfd4640dbae4c3f5699d4f81ae358c715f
fda35a6da66a92b3614a0f03a721a81d3c66672f
tests: convert `tests/ui/lint/dead-code/self-assign.rs` to known-bug
[ { "path": "tests/ui/lint/dead-code/self-assign.rs", "patch": "@@ -1,19 +1,29 @@\n-// Test that dead code warnings are issued for superfluous assignments of\n-// fields or variables to themselves (issue #75356).\n-\n-//@ ignore-test FIXME(81658, 83171)\n+//! Test that dead code warnings are issued for superf...
2025-04-13T09:33:55
vercel/next.js
e107bc456156bbf2835d17e0999218ad7bfd3e21
a5d674237a7cef2f5b84fd3f138c7e84805d03a4
Throw error <a> child in <Link> (#41756) This PR improves the error message when `<a>` is a child of `<Link>`
[ { "path": "errors/invalid-new-link-with-extra-anchor.md", "patch": "@@ -0,0 +1,21 @@\n+# Invalid <Link> with <a> child\n+\n+#### Why This Error Occurred\n+\n+Starting with Next.js 13, `<Link>` renders as `<a>`, so attempting to use `<a>` as a child is invalid.\n+\n+#### Possible Ways to Fix It\n+\n+Run the ...
2022-10-25T05:39:22
huggingface/transformers
a93b80588b10d567ef7d70143b6581df8e601a8b
bc9a6d8302334ae08d505437ab3f361af777956c
Fix RMSNormGated in Zamba2 (#35943) * First commit * Finish model implementation * First commit * Finish model implementation * Register zamba2 * generated modeling and configuration * generated modeling and configuration * added hybrid cache * fix attention_mask in mamba * dropped unused loras * fix flash2 ...
[ { "path": "src/transformers/models/zamba2/configuration_zamba2.py", "patch": "@@ -64,6 +64,8 @@ class Zamba2Config(PretrainedConfig):\n Whether or not to use bias in the convolution layer of the mixer block.\n chunk_size (`int`, *optional*, defaults to 256):\n Size of the chu...
2025-02-04T13:28:04
golang/go
5437b5a24ba52c06d7ff627f01ed1876558959d2
bd8b3fe5be9e9a5a2579c013451c07d53b827c56
cmd/compile: disallow rewrite rules from declaring reserved names If I change a rule in ARM64.rules to use the variable name "b" in a conflicting way, rulegen would previously not complain, and the compiler would later give a confusing error: $ go run *.go && go build cmd/compile/internal/ssa # cmd/compile/internal...
[ { "path": "src/cmd/compile/internal/ssa/gen/ARM.rules", "patch": "@@ -173,7 +173,7 @@\n (Const(8|16|32) [val]) => (MOVWconst [int32(val)])\n (Const(32|64)F [val]) => (MOV(F|D)const [float64(val)])\n (ConstNil) => (MOVWconst [0])\n-(ConstBool [b]) => (MOVWconst [b2i32(b)])\n+(ConstBool [t]) => (MOVWconst [b2...
2021-03-22T10:35:02
electron/electron
4d1d1fee9e92503154ee6d25aeebf4a7c2ab94f0
23dd5b4da8019d37eb0d4992d933f1351ece5a59
Update node: use node's implementation of setImmediate. Fixes #35.
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit 4b4c40a51dfc3033f904756797d18b11b75e045c\n+Subproject commit d0ccec39c367b00334d76cac10cfc8543143cb1c", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2013-07-15T07:45:10
huggingface/transformers
bc9a6d8302334ae08d505437ab3f361af777956c
9afb904b158dce9870c987480423bba6f343ca4c
Fix device mismatch error in Whisper model during feature extraction (#35866) * Fix device mismatch error in whisper feature extraction * Set default device * Address code review feedback --------- Co-authored-by: eustlb <94853470+eustlb@users.noreply.github.com>
[ { "path": "src/transformers/models/whisper/feature_extraction_whisper.py", "patch": "@@ -129,18 +129,13 @@ def _torch_extract_fbank_features(self, waveform: np.array, device: str = \"cpu\")\n Compute the log-mel spectrogram of the audio using PyTorch's GPU-accelerated STFT implementation with batchi...
2025-02-04T11:23:08
vercel/next.js
c328dd4c96ac0fa5c0f7cb30c02eece504bb425f
2686d72a37e28f0795a411dd9ce458d5ecc0a58d
Use an absolute path instead of a relative path for the fallback page (#282) This fixes `http://localhost:3000/layouts/electronics` trying to load `http://localhost:3000/layouts/_chunks/*` when it shows the fallback page.
[ { "path": "crates/turbopack-dev-server/src/html.rs", "patch": "@@ -106,8 +106,8 @@ impl DevHtmlAssetVc {\n for chunk_group in &this.chunk_groups {\n for chunk in chunk_group.chunks().await?.iter() {\n let chunk_path = &*chunk.path().await?;\n- if let Some(r...
2022-10-25T05:05:37
golang/go
d8394bfc7fa728da9654f5e902df03a29d2a03ca
e0fae78e1deeaae5bc3c6a8426ece37c62445bf4
cmd/internal/obj/arm64: mark functions with small stacks NOSPLIT This change omits the stack check on arm64 when the size of a stack frame is less than obj.StackSmall. The effect is not very significant, because CL 92040 has set the leaf function with a framesize of 0 to NOFRAME, which makes the code prologue on arm6...
[ { "path": "src/cmd/internal/obj/arm64/obj7.go", "patch": "@@ -539,6 +539,12 @@ func preprocess(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {\n \t\t\t\t}\n \t\t\t}\n \n+\t\t\tif p.Mark&LEAF != 0 && c.autosize < objabi.StackSmall {\n+\t\t\t\t// A leaf function with a small stack can be marked\n+\...
2021-03-15T06:55:37
electron/electron
23dd5b4da8019d37eb0d4992d933f1351ece5a59
ce569ebf78207f7385bb725d9343d7ab7fb6d5fb
Add 'open-url' event for app API. Fixes #36.
[ { "path": "browser/api/atom_api_app.cc", "patch": "@@ -36,6 +36,12 @@ void App::OnOpenFile(bool* prevent_default, const std::string& file_path) {\n *prevent_default = Emit(\"open-file\", &args);\n }\n \n+void App::OnOpenURL(const std::string& url) {\n+ base::ListValue args;\n+ args.AppendString(url);\n+...
2013-07-10T08:10:38
vercel/next.js
395dbc940227c0492075232416549eab82ab505a
7d6212b06423b94f347579442e65ac2ade589f6e
improve node.js pool process error handling (vercel/turbo#287)
[ { "path": "packages/next-swc/crates/next-core/src/nodejs/mod.rs", "patch": "@@ -3,7 +3,7 @@ use std::{\n fmt::Write as _,\n };\n \n-use anyhow::{anyhow, bail, Result};\n+use anyhow::{anyhow, bail, Context, Result};\n use futures::{stream::FuturesUnordered, TryStreamExt};\n use indexmap::{IndexMap, Index...
2022-10-25T05:05:16
huggingface/transformers
9afb904b158dce9870c987480423bba6f343ca4c
ad3059892391debd25bb3adcfed127523db16d90
Refactor (and fix) gpt_neox (#35610) * start a nice modular * Update modular_gpt_neox.py * Update modular_gpt_neox.py * Update modular_gpt_neox.py * Update modular_gpt_neox.py * update * Update modular_gpt_neox.py * convert * fix attribute * fix attrs * oups * fix * fix * fix ...
[ { "path": "src/transformers/integrations/flex_attention.py", "patch": "@@ -17,6 +17,7 @@ def flex_attention_forward(\n attention_mask: Optional[torch.Tensor],\n scaling: Optional[float] = None,\n softcap: Optional[float] = None,\n+ head_mask: Optional[torch.Tensor] = None,\n **kwargs,\n )...
2025-02-04T10:18:43
golang/go
e0fae78e1deeaae5bc3c6a8426ece37c62445bf4
6ae3b70ef255cd7317764a12b7230f293683f2c5
runtime: fix stack alignment for Windows amd64 lib entry Windows amd64 calling convention requires 16-bytes aligned stack pointer. Before this patch, the real frame size is 0x48 (frame size) + 0x10 (frame pointer & return address), which does not satisfy the alignment requirement. _cgo_sys_thread_create eventually ca...
[ { "path": "src/runtime/rt0_windows_amd64.s", "patch": "@@ -16,24 +16,12 @@ TEXT _rt0_amd64_windows(SB),NOSPLIT,$-8\n // phase.\n // Leave space for four pointers on the stack as required\n // by the Windows amd64 calling convention.\n-TEXT _rt0_amd64_windows_lib(SB),NOSPLIT,$0x48\n-\tMOVQ\tBP, 0x20(SP)\n-\t...
2021-02-23T03:52:43
huggingface/transformers
b1954fd64abf392a60e3e007f03471db0f3cf4db
2ba040a71f26987477d56fecf451ce92340ce0af
layernorm_decay_fix (#35927) * layernorm_decay_fix * W293 fix * ruff format fix * black format * ruff format * erase last layer * add test_get_parameter_names_rmsnorm * rmsnorm fix
[ { "path": "docs/source/en/perf_train_gpu_one.md", "patch": "@@ -298,8 +298,7 @@ from transformers.trainer_pt_utils import get_parameter_names\n \n training_args = TrainingArguments(per_device_train_batch_size=4, **default_args)\n \n-decay_parameters = get_parameter_names(model, [nn.LayerNorm])\n-decay_param...
2025-02-04T10:01:49
vercel/next.js
2686d72a37e28f0795a411dd9ce458d5ecc0a58d
6f9d3b54f630ee02ea6e2c928491d3cce89eb95f
improve node.js pool process error handling (#287)
[ { "path": "crates/next-core/src/nodejs/mod.rs", "patch": "@@ -3,7 +3,7 @@ use std::{\n fmt::Write as _,\n };\n \n-use anyhow::{anyhow, bail, Result};\n+use anyhow::{anyhow, bail, Context, Result};\n use futures::{stream::FuturesUnordered, TryStreamExt};\n use indexmap::{IndexMap, IndexSet};\n use mime::...
2022-10-25T05:05:16
golang/go
6ae3b70ef255cd7317764a12b7230f293683f2c5
9f2a71b6e7b418182dd0467e7d054ccf8130c026
cmd/compile: add clobberdeadreg mode When -clobberdeadreg flag is set, the compiler inserts code that clobbers integer registers at call sites. This may be helpful for debugging register ABI. Only implemented on AMD64 for now. Change-Id: Ia203d3f891c30fd95d0103489056fe01d63a2899 Reviewed-on: https://go-review.google...
[ { "path": "src/cmd/compile/internal/amd64/ssa.go", "patch": "@@ -1242,6 +1242,13 @@ func ssaGenValue(s *ssagen.State, v *ssa.Value) {\n \t\tp.To.Reg = x86.REG_SP\n \t\tssagen.AddAux(&p.To, v)\n \t\tp.To.Offset += 4\n+\tcase ssa.OpClobberReg:\n+\t\tx := uint64(0xdeaddeaddeaddead)\n+\t\tp := s.Prog(x86.AMOVQ)...
2021-03-17T23:15:38
nodejs/node
d3255cad8e2a6ba03629903743e166401fc3597e
80624314911c6cc3740ff88eea38ff2d0f8ab60e
n-api: document the look of napi_external values Describe what JavaScript values of type `napi_external` look like in JavaScript. Fixes: https://github.com/nodejs/abi-stable-node/issues/306 PR-URL: https://github.com/nodejs/node/pull/20426 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Vse Mozhe...
[ { "path": "doc/api/n-api.md", "patch": "@@ -1051,6 +1051,9 @@ the ECMAScript Language Specification.\n In addition to types in that section, `napi_valuetype` can also represent\n `Function`s and `Object`s with external data.\n \n+A JavaScript value of type `napi_external` appears in JavaScript as a plain\n+...
2018-04-28T21:38:09
electron/electron
6a48faebe3a966b42831c7c474d403985333d67f
2282c53485c44331653c515b560133de1a97507e
Update node: fix cefode.js on Windows.
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit ac5244fcaad0f28f92d2db84c57c1c9b2de7ecb2\n+Subproject commit 13b5a98d46ce4604d5e4b984c41d896d436a8d4c", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2013-07-08T04:42:26
huggingface/transformers
9c02cb6233eddedd8ecf0d48957cb481103f93f3
5d75a25b03b25445fcf644e15b3eb515bf454ca4
Fix custom kernel for DeformableDetr, RT-Detr, GroindingDINO, OmDet-Turbo in Pytorch 2.6.0 (#35979) Updates type().is_cuda() -> .is_cuda(); .data<> -> .data_ptr<>
[ { "path": "src/transformers/kernels/deformable_detr/cuda/ms_deform_attn_cuda.cu", "patch": "@@ -36,11 +36,11 @@ at::Tensor ms_deform_attn_cuda_forward(\n AT_ASSERTM(sampling_loc.is_contiguous(), \"sampling_loc tensor has to be contiguous\");\n AT_ASSERTM(attn_weight.is_contiguous(), \"attn_weight te...
2025-02-04T09:07:25
vercel/next.js
6f9d3b54f630ee02ea6e2c928491d3cce89eb95f
467cb733085da577cb0cc858d55663940aac6e84
fix multiple chunking contextes (#288)
[ { "path": "crates/turbopack-core/src/chunk/dev.rs", "patch": "@@ -30,7 +30,7 @@ impl DevChunkingContextBuilder {\n }\n \n pub fn build(self) -> ChunkingContextVc {\n- self.context.cell().into()\n+ DevChunkingContextVc::new(Value::new(self.context)).into()\n }\n }\n ", "addition...
2022-10-25T05:04:56
golang/go
9f2a71b6e7b418182dd0467e7d054ccf8130c026
3b0d28808df261747d7561badf91498bbb5d3e3e
make.bash: this change modifies Go to correctly select a dyamic linker Alpine Linux is not the only musl-based Linux distribution. Checking for /etc/alpine-release excludes many other distributions (Oasis, KISS, Sabotage, sta.li). Not having the correct GO_LDSO set during go builds will result in the wrong linker/load...
[ { "path": "src/make.bash", "patch": "@@ -130,13 +130,12 @@ if [ \"$(uname -s)\" = \"GNU/kFreeBSD\" ]; then\n \texport CGO_ENABLED=0\n fi\n \n-# On Alpine Linux, use the musl dynamic linker/loader\n-if [ -f \"/etc/alpine-release\" ]; then\n-\tif type readelf >/dev/null 2>&1; then\n-\t\techo \"int main() { re...
2021-03-19T18:18:18
nodejs/node
80624314911c6cc3740ff88eea38ff2d0f8ab60e
20eaee5e189230e18223164b932a054d56efa214
n-api: document that native strings are copied Mention that a copy is made of the native string by the napi_create_string_* APIs. Fixes: https://github.com/nodejs/abi-stable-node/issues/304 PR-URL: https://github.com/nodejs/node/pull/20425 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Micha...
[ { "path": "doc/api/n-api.md", "patch": "@@ -1541,7 +1541,7 @@ napi_status napi_create_string_latin1(napi_env env,\n Returns `napi_ok` if the API succeeded.\n \n This API creates a JavaScript `String` object from a ISO-8859-1-encoded C\n-string.\n+string. The native string is copied.\n \n The JavaScript `Str...
2018-04-28T21:33:29