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
76fbd6167364fb98e3ebe946cfc16b5b84d4240e
95196512b6163dbeff2e7ce5cea65072305905f2
net/http: do not cancel request context on response body read When sending a Request with a non-context deadline, we create a context with a timeout. This context is canceled when closing the response body, and also if a read from the response body returns an error (including io.EOF). Cancelling the context in Respon...
[ { "path": "src/net/http/client.go", "patch": "@@ -965,7 +965,6 @@ func (b *cancelTimerBody) Read(p []byte) (n int, err error) {\n \tif err == nil {\n \t\treturn n, nil\n \t}\n-\tb.stop()\n \tif err == io.EOF {\n \t\treturn n, err\n \t}", "additions": 0, "deletions": 1, "language": "Go" }, { ...
2021-11-08T19:23:27
nodejs/node
0d21299384a81bdcc9051dad088f2fc103eb59bd
2b89ac6818615820ed7d4d6944106c0b590c21d2
process: load internal/async_hooks before inspector hooks registration Otherwise the exports of `internal/async_hooks` may be undefined when the inspector async hooks are registered. PR-URL: https://github.com/nodejs/node/pull/26866 Fixes: https://github.com/nodejs/node/issues/26798 Refs: https://github.com/nodejs/no...
[ { "path": "lib/internal/async_hooks.js", "patch": "@@ -89,16 +89,6 @@ const emitDestroyNative = emitHookFactory(destroy_symbol, 'emitDestroyNative');\n const emitPromiseResolveNative =\n emitHookFactory(promise_resolve_symbol, 'emitPromiseResolveNative');\n \n-// Setup the callbacks that node::AsyncWrap...
2019-03-22T17:33:33
electron/electron
dd8ef33e42e46bf5d80776b77ab457d1761bbc33
1392873cbc2c522877448cec2990c73517f29912
docs: webContents.savePage is placed at wrong place
[ { "path": "docs/api/web-contents.md", "patch": "@@ -678,17 +678,6 @@ is in 32bit ARGB format).\n \n End subscribing for frame presentation events.\n \n-## Instance Properties\n-\n-`WebContents` objects also have the following properties:\n-\n-### `webContents.devToolsWebContents`\n-\n-Get the `WebContents` ...
2015-11-19T13:10:50
rust-lang/rust
e3c21dd88b760aefa39fb72bcc34299ca913967d
55d436467c351b56253deeba209ae2553d1c243f
Remove a panicking branch in `BorrowedCursor::advance`
[ { "path": "library/core/src/io/borrowed_buf.rs", "patch": "@@ -281,10 +281,10 @@ impl<'a> BorrowedCursor<'a> {\n /// Panics if there are less than `n` bytes initialized.\n #[inline]\n pub fn advance(&mut self, n: usize) -> &mut Self {\n- let filled = self.buf.filled.strict_add(n);\n- ...
2025-06-17T11:08:36
huggingface/transformers
7a1aeec36e3ad667d3ff864778c33d14c483d590
297a41a6cf3e853291453b17fd6933146bd9a9ca
Fixes in check_model_inputs, GPTBigCodeModel and ImageGPTModel (#40811) * misc fixes * fix * Update src/transformers/models/imagegpt/modeling_imagegpt.py * Apply suggestion from @IlyasMoutawwakil * pickup use_cache from args input as well * fix
[ { "path": "src/transformers/models/gpt_bigcode/modeling_gpt_bigcode.py", "patch": "@@ -472,14 +472,7 @@ def forward(\n raise ValueError(\"batch_size has to be defined and > 0\")\n \n if use_cache and past_key_values is None:\n- past_key_values = EncoderDecoderCache(DynamicCach...
2025-10-06T14:34:24
golang/go
95196512b6163dbeff2e7ce5cea65072305905f2
ecd2e140ec54feca9afbda7726345e09cd380eea
runtime/pprof: mark TestCPUProfileMultithreadMagnitude as flaky The Linux kernel starting in 5.9 and fixed in 5.16 has a bug that can break CPU timer signal delivery on new new threads if the timer interrupt fires during handling of the clone system call. Broken CPU timer signal deliver will skew CPU profile results ...
[ { "path": "src/runtime/pprof/pprof_test.go", "patch": "@@ -116,6 +116,30 @@ func TestCPUProfileMultithreadMagnitude(t *testing.T) {\n \t\tt.Skip(\"issue 35057 is only confirmed on Linux\")\n \t}\n \n+\t// Linux [5.9,5.16) has a kernel bug that can break CPU timers on newly\n+\t// created threads, breaking o...
2021-11-10T22:35:13
nodejs/node
cd3a9eebca8d4914d1599855d813ea68ed3135cc
0c89a21f96b43d1094e01f40e6d850155163127d
https: remove usage of public require('util') Use `require('internal/util/debuglog').debuglog` and `Object.setPrototypeOf` instead of `require('util').debuglog` and `require('util').inherits`. Refs: https://github.com/nodejs/node/issues/26546 PR-URL: https://github.com/nodejs/node/pull/26772 Reviewed-By: Ruben Bridg...
[ { "path": "lib/https.js", "patch": "@@ -25,16 +25,14 @@ require('internal/util').assertCrypto();\n \n const tls = require('tls');\n const url = require('url');\n-const util = require('util');\n const { Agent: HttpAgent } = require('_http_agent');\n const {\n Server: HttpServer,\n _connectionListener,\n ...
2019-03-19T10:24:30
vercel/next.js
b5f7f8448560d4ec6bc875cbffe3aa18da8971cf
642328545117f202aee2c9d290fdd5d7b0c2f5b2
Refactor require hooks (#48506) Same purpose as #48297, but without the React channel branching logic to make it easier to land. Since we have #48478 reverted, we only need to consider `pages` and `app` inside the require hook. > This PR aims to improve the current require hook by implementing two key changes. F...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -280,30 +280,10 @@ export default async function build(\n \n const publicDir = path.join(dir, 'public')\n const isAppDirEnabled = !!config.experimental.appDir\n- const initialRequireHookFilePath = require.resolve(\n- 'next/di...
2023-04-21T22:19:51
huggingface/transformers
297a41a6cf3e853291453b17fd6933146bd9a9ca
ae60c77689d8e9f4cd765e88047064fa41458ca7
Use canonical get_size_with_aspect_ratio (with max_size) from transformers.image_transforms to fix #37939 (#41284) * Use canonical get_size_with_aspect_ratio (with max_size) from transformers.image_transforms to fix #37939 * Fix import sorting/style * Fix import order * Refactor: use canonical get_size_with_aspect_...
[ { "path": "src/transformers/models/conditional_detr/image_processing_conditional_detr.py", "patch": "@@ -22,8 +22,10 @@\n \n import numpy as np\n \n+from transformers.image_transforms import get_size_with_aspect_ratio\n+\n from ...feature_extraction_utils import BatchFeature\n-from ...image_processing_utils...
2025-10-06T14:15:56
nodejs/node
afce91219359654b44df29e6ec1b730e2a73a919
f0f26cedccdb8e5d891bff2949651ea8c3a839c1
assert: improve performance to instantiate errors This improves the performance for AssertionError by deactivating duplicated stack frame creation. PR-URL: https://github.com/nodejs/node/pull/26738 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michaël Zasso ...
[ { "path": "lib/internal/assert/assertion_error.js", "patch": "@@ -300,6 +300,9 @@ class AssertionError extends Error {\n stackStartFn\n } = options;\n \n+ const limit = Error.stackTraceLimit;\n+ Error.stackTraceLimit = 0;\n+\n if (message != null) {\n super(String(message));\n ...
2019-03-20T14:48:59
golang/go
ecd2e140ec54feca9afbda7726345e09cd380eea
b1b6d928bd4fb368f8ada0a554fc85405e7a3688
runtime: drop cgoTraceback call assumptions from CgoPprof tests the CgoPprof tests currently assume that calls to their cgoTraceback functions are primarily for generating pprof samples and exit early after receiving two calls. This is a fragile assumption, as cgoTraceback will be called for _any_ signal received, he...
[ { "path": "src/runtime/crash_cgo_test.go", "patch": "@@ -302,12 +302,7 @@ func testCgoPprof(t *testing.T, buildArg, runArg, top, bottom string) {\n \t\tt.Fatal(err)\n \t}\n \n-\t// pprofCgoTraceback is called whenever CGO code is executing and a signal\n-\t// is received. Disable signal preemption to increa...
2021-11-12T16:16:43
vercel/next.js
8089d0a3bb33ccfea3d379c4572aa1561bcb77c1
b61305afcc9f915e1d6ea76636ddcbbb67f122dc
Revert "Reland app-router: new client-side cache semantics" (#48688) Reverts vercel/next.js#48685 Temporary Revert again to investigate the hang job fix NEXT-1011
[ { "path": "packages/next/src/client/components/app-router.tsx", "patch": "@@ -25,7 +25,6 @@ import {\n ACTION_REFRESH,\n ACTION_RESTORE,\n ACTION_SERVER_PATCH,\n- PrefetchKind,\n } from './router-reducer/router-reducer-types'\n import { createHrefFromUrl } from './router-reducer/create-href-from-url'...
2023-04-21T20:36:28
rust-lang/rust
a1aac53d6fa72e89efd4881dcf80a8b74469c201
3341b654638a7b7d03ca66c5290651f5751110eb
Never make type mismatch diagnostic stable, even when there is a fix We show fixes now even for experimental diagnostics anyway, and it has false positives.
[ { "path": "src/tools/rust-analyzer/crates/ide-diagnostics/src/handlers/type_mismatch.rs", "patch": "@@ -39,7 +39,7 @@ pub(crate) fn type_mismatch(ctx: &DiagnosticsContext<'_>, d: &hir::TypeMismatch<\n cov_mark::hit!(type_mismatch_range_adjustment);\n Some(salient_token_range)\n });\n- ...
2025-06-17T09:48:19
electron/electron
9db4af4cf32c1867d2461f9f084149df944f36d1
0c2d769b8a96364552a9e48311adf23cdc06e4ae
Fix platform label to uppercase (ko)
[ { "path": "docs-translations/ko-KR/api/browser-window.md", "patch": "@@ -207,7 +207,7 @@ __참고__: OS X에선 이 이벤트가 그저 `moved` 이벤트의 별칭(alias\n \n 윈도우가 HTML API에 의해 풀 스크린 모드에서 해제될 때 발생하는 이벤트입니다.\n \n-### Event: 'app-command' _Windows_\n+### Event: 'app-command' _WINDOWS_\n \n [App Command](https://msdn.microsoft....
2015-11-18T14:36:20
huggingface/transformers
ae60c77689d8e9f4cd765e88047064fa41458ca7
6bf6e36d3b0aad137b33c0ebcea54bc19d8ea34a
Fix flash_attention.py: wrong argument passing for attn_implementation (#41347) * Fix flash_attention.py: wrong argument passing for attn_implementation The name of the attn type argument for `_flash_attention_forward()` should be `implementation`, instead of `attn_implementation` which currently uses in the function...
[ { "path": "src/transformers/modeling_flash_attention_utils.py", "patch": "@@ -545,7 +545,7 @@ def _flash_attention_forward(\n max_length_q: Optional[int] = None,\n max_length_k: Optional[int] = None,\n target_dtype: Optional[torch.dtype] = None,\n- implementation: Optional[str] = None,\n+ ...
2025-10-06T13:36:40
nodejs/node
f0f26cedccdb8e5d891bff2949651ea8c3a839c1
e96e3f9eb0610168b0b06977664c0e713571b066
n-api: remove code from error name This is a first step to align the n-api errors towards errors created in JS. The stack still has to be updated to add the error code. PR-URL: https://github.com/nodejs/node/pull/26738 Fixes: https://github.com/nodejs/node/issues/26669 Fixes: https://github.com/nodejs/node/issues/202...
[ { "path": "src/js_native_api_v8.cc", "patch": "@@ -1532,33 +1532,6 @@ static inline napi_status set_error_code(napi_env env,\n RETURN_STATUS_IF_FALSE(env,\n set_maybe.FromMaybe(false),\n napi_generic_failure);\n-\n- // now update the name to be \"...
2019-03-18T14:43:11
golang/go
b1b6d928bd4fb368f8ada0a554fc85405e7a3688
5d24203c394e6b64c42a9f69b990d94cb6c8aad4
cmd/compile: fix missing transformEarlyCall for OXDOT in subster.node Like OFUNCINST, in case of OXDOT call expression, the arguments need to be transformed earlier, so any needed CONVIFACE nodes are exposed. Fixes #49538 Change-Id: I275ddf6f53a9cadc8708e805941cdf7bdffabba9 Reviewed-on: https://go-review.googlesourc...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -1095,6 +1095,9 @@ func (subst *subster) node(n ir.Node) ir.Node {\n \t\t\tcase ir.OXDOT:\n \t\t\t\t// This is the case of a bound call on a typeparam,\n \t\t\t\t// which will be handled in the dictPass.\n+\t\t\t\t// As with OFUNCINST, we m...
2021-11-12T06:27:07
vercel/next.js
b61305afcc9f915e1d6ea76636ddcbbb67f122dc
4354edadf4d519e7cb3f5ab1d565c35acecb2751
Reland app-router: new client-side cache semantics (#48685) Reland vercel/next.js#48383 fix NEXT-1011
[ { "path": "packages/next/src/client/components/app-router.tsx", "patch": "@@ -25,6 +25,7 @@ import {\n ACTION_REFRESH,\n ACTION_RESTORE,\n ACTION_SERVER_PATCH,\n+ PrefetchKind,\n } from './router-reducer/router-reducer-types'\n import { createHrefFromUrl } from './router-reducer/create-href-from-url'...
2023-04-21T19:39:06
electron/electron
0c2d769b8a96364552a9e48311adf23cdc06e4ae
6058c7e14dbf41f8cee8a63ffda867302023463c
Fix platform label to uppercase
[ { "path": "docs/api/browser-window.md", "patch": "@@ -232,7 +232,7 @@ Emitted when the window enters full screen state triggered by html api.\n \n Emitted when the window leaves full screen state triggered by html api.\n \n-### Event: 'app-command' _Windows_\n+### Event: 'app-command' _WINDOWS_\n \n Emitted...
2015-11-18T14:35:36
huggingface/transformers
6bf6e36d3b0aad137b33c0ebcea54bc19d8ea34a
4903cd40874b53b40c53a2e7c7ba54bee16e811f
[testing] update `test_longcat_generation_cpu` (#41368) * fix * Update tests/models/longcat_flash/test_modeling_longcat_flash.py Co-authored-by: Pablo Montalvo <39954772+molbap@users.noreply.github.com> --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> Co-authored-by: Pablo Montalvo <39954772+mo...
[ { "path": "tests/models/longcat_flash/test_modeling_longcat_flash.py", "patch": "@@ -435,16 +435,16 @@ def test_shortcat_generation(self):\n @require_large_cpu_ram\n def test_longcat_generation_cpu(self):\n # takes absolutely forever and a lot RAM, but allows to test the output in the CI\n- ...
2025-10-06T13:21:29
nodejs/node
3fe1e80896d69b2125e3a264d0707fdbc6f37740
bfbce289c33b12aafb82bd5b45bcb4412850b28f
lib: validate Error.captureStackTrace() calls This adds a custom eslint rule to verify that `Error.captureStackTrace()` is only called if necessary. In most cases the helper function should be used instead. PR-URL: https://github.com/nodejs/node/pull/26738 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Matteo Col...
[ { "path": "lib/.eslintrc.yaml", "patch": "@@ -15,6 +15,8 @@ rules:\n # Config specific to lib\n - selector: \"NewExpression[callee.name=/Error$/]:not([callee.name=/^(AssertionError|NghttpError)$/])\"\n message: \"Use an error exported by the internal/errors module.\"\n+ - selector: \"CallEx...
2019-03-18T02:47:55
rust-lang/rust
7d10a149f146436d59dab4e723922c588c48ef14
69886cfe8a2d67660e61790952c6a00ceec69846
fix: Reload workspaces when cargo configs change
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/handlers/notification.rs", "patch": "@@ -239,7 +239,7 @@ pub(crate) fn handle_did_change_configuration(\n let (config, e, _) = config.apply_change(change);\n this.config_errors = e.is_empty().not().th...
2025-06-17T09:02:20
golang/go
5d24203c394e6b64c42a9f69b990d94cb6c8aad4
8b66b3d49f931715c52b4ed71bc1dc935132c30f
internal/fuzz: set timeout for each exec of fuzz target This change sets a timeout of 10 seconds on each execution of the fuzz target, both during fuzzing and during minimization. This is not currently customizable by the user, but issue #48157 tracks this work. Deadlocks will be considered non-recoverable errors, an...
[ { "path": "src/cmd/go/testdata/script/test_fuzz_minimize.txt", "patch": "@@ -67,7 +67,7 @@ rm testdata\n ! go test -fuzz=FuzzMinimizerNonrecoverable -run=FuzzMinimizerNonrecoverable -fuzztime=10000x .\n ! stdout '^ok'\n ! stdout 'minimizing'\n-stdout -count=1 'fuzzing process terminated unexpectedly: exit s...
2021-11-10T21:22:08
vercel/next.js
4354edadf4d519e7cb3f5ab1d565c35acecb2751
a06fef09060ab977bf2ffd2a6b229f5e566c4273
fix snapshots broken by prettier (also fix .prettierignore) (#48586) ### What? Fix snapshots that were no longer fulfilling the original purpose after prettier had its way. The `.prettierignore` also had the old `target/` directory (prior to the `Cargo.toml` move in #48198) so running `pnpm prettier-fix` formatt...
[ { "path": ".prettierignore", "patch": "@@ -1,31 +1,39 @@\n-node_modules\n-**/.next/**\n-**/_next/**\n-**/dist/**\n+# Build artifacts\n+.next/\n+.turbo/\n+_next/\n+__tmp__/\n+dist/\n+node_modules/\n+target/\n+compiled/\n+\n+lerna.json\n+test-timings.json\n+pnpm-lock.yaml\n+\n packages/next/src/bundles/webpac...
2023-04-21T18:52:08
huggingface/transformers
089d573aca1ed3b3e4ef09b56966822e2794846c
c27b67f0cdf043982dc299a6595dbc44ef29da58
Fix typo in model proposal template (#41352)
[ { "path": "templates/adding_a_new_model/ADD_NEW_MODEL_PROPOSAL_TEMPLATE.md", "patch": "@@ -491,7 +491,7 @@ precision of 0.001! Since it is normal that the exact same model written\n in different libraries can give a slightly different output depending on\n the library framework, we accept an error tolerance...
2025-10-06T13:06:50
golang/go
95d06576702c54139796f3e24e2eec4b135b1a09
23adc139bf1c0c099dd075da076f5a1f3ac700d4
test/recover4.go: use mprotect to create a hole instead of munmap Currently the recover4 test, which recovers from a panic created from a fault, generates a fault by creating a hole in a mapping. It does this via munmap. However, it's possible the runtime can create a new mapping that ends up in that hole, for example...
[ { "path": "test/recover4.go", "patch": "@@ -24,12 +24,13 @@ import (\n \t\"log\"\n \t\"runtime/debug\"\n \t\"syscall\"\n-\t\"unsafe\"\n )\n \n func memcopy(dst, src []byte) (n int, err error) {\n \tdefer func() {\n-\t\terr = recover().(error)\n+\t\tif r, ok := recover().(error); ok {\n+\t\t\terr = r\n+\t\t}...
2021-11-12T05:04:32
vercel/next.js
52fcc5971712a0e1946901c730e8e1a04224072e
f779f10f3821999a55bb045708372dcb85939f71
Revert "app-router: new client-side cache semantics" (#48678) Reverts vercel/next.js#48383 fix NEXT-1011 revert and re-land later
[ { "path": "packages/next/src/client/components/app-router.tsx", "patch": "@@ -25,7 +25,6 @@ import {\n ACTION_REFRESH,\n ACTION_RESTORE,\n ACTION_SERVER_PATCH,\n- PrefetchKind,\n } from './router-reducer/router-reducer-types'\n import { createHrefFromUrl } from './router-reducer/create-href-from-url'...
2023-04-21T17:21:58
huggingface/transformers
c27b67f0cdf043982dc299a6595dbc44ef29da58
a89bdcf5f1398aa926099221ed13610ed6fce7a8
:rotating_light: [`v5`] Remove relative position embeddings (for bert like models) (#41170) * remove from modeling files * remaining changes * style / copies * revert deprecated models and fixup some models * oops
[ { "path": "examples/modular-transformers/modeling_dummy_bert.py", "patch": "@@ -42,7 +42,6 @@ def __init__(self, config):\n self.LayerNorm = nn.LayerNorm(config.hidden_size, eps=config.layer_norm_eps)\n self.dropout = nn.Dropout(config.hidden_dropout_prob)\n # position_ids (1, len po...
2025-10-06T12:21:41
golang/go
23adc139bf1c0c099dd075da076f5a1f3ac700d4
e9f0381a807d1797e0b5969a29f4a3666a73c9e3
reflect: keep pointer in aggregate-typed args live in Call When register ABI is used, reflect.Value.Call prepares the call arguments in a memory representation of the argument registers. It has special handling to keep the pointers in arguments live. Currently, this handles pointer-typed arguments. But when an argumen...
[ { "path": "src/internal/abi/abi.go", "patch": "@@ -44,6 +44,24 @@ type RegArgs struct {\n \tReturnIsPtr IntArgRegBitmap\n }\n \n+func (r *RegArgs) Dump() {\n+\tprint(\"Ints:\")\n+\tfor _, x := range r.Ints {\n+\t\tprint(\" \", x)\n+\t}\n+\tprintln()\n+\tprint(\"Floats:\")\n+\tfor _, x := range r.Floats {\n+...
2021-11-12T00:58:23
electron/electron
bcdd0952f8decce11bf30723422142cf624e3440
9e67dc385b6b6632251de98a35bdfda4e343639b
docs: Fix typo
[ { "path": "docs/api/protocol.md", "patch": "@@ -103,7 +103,7 @@ Registers a protocol of `scheme` that will send a `String` as a response. The\n \n Registers a protocol of `scheme` that will send an HTTP request as a response.\n The `callback` should be called with an object that has the `url`, `method`,\n-`...
2015-11-18T09:56:50
vercel/next.js
8fd9a39152178d8232ed372ab80e2724683f6aaa
abbf35264332010bc7bd2308bb684dfb085fac3a
Fix writeConfigurationDefaults.ts to correctly suggest changes in monorepos (#48668) Closes #48653. It should either modify the TS config to add the Next.js plugin, or output a log if it can't (to avoid overriding the base config). <img width="920" alt="CleanShot-2023-04-21-Klqel8BO@2x" src="https://user-images....
[ { "path": "packages/next/src/lib/typescript/writeConfigurationDefaults.ts", "patch": "@@ -195,55 +195,59 @@ export async function writeConfigurationDefaults(\n \n // Enable the Next.js typescript plugin.\n if (isAppDirEnabled) {\n- if (userTsConfig.compilerOptions) {\n- // Check if the config or...
2023-04-21T15:51:27
huggingface/transformers
a89bdcf5f1398aa926099221ed13610ed6fce7a8
0452f28544f3626273d25f07f83c0e5f7da2d47a
Fixing a typo for BLT model (#41325)
[ { "path": "docs/source/en/model_doc/blt.md", "patch": "@@ -25,7 +25,7 @@ rendered properly in your Markdown viewer.\n </div>\n </div>\n \n-# Byte Lantet Transformer (BLT)\n+# Byte Latent Transformer (BLT)\n \n ## Overview\n ", "additions": 1, "deletions": 1, "language": "Markdown" } ]
2025-10-06T12:16:45
rust-lang/rust
703856f123ab1f7d77a7e7607ef1271aff2bba45
a38a9a626253c330e06ce2132ec8aa6ba7c5e1b7
fix: Copy lockfiles into target directory before invoking `cargo metadata`
[ { "path": "src/tools/rust-analyzer/crates/project-model/src/cargo_workspace.rs", "patch": "@@ -7,7 +7,7 @@ use anyhow::Context;\n use base_db::Env;\n use cargo_metadata::{CargoOpt, MetadataCommand};\n use la_arena::{Arena, Idx};\n-use paths::{AbsPath, AbsPathBuf, Utf8PathBuf};\n+use paths::{AbsPath, AbsPath...
2025-06-17T05:40:50
golang/go
e9f0381a807d1797e0b5969a29f4a3666a73c9e3
7bed3c7975780cad3c0adcf548d8b2d324a09265
cmd/link: don't unmap output file at error exit When the link exits on error it currently calls Out.Close, which will munmap the output buffer and close the file. This may be called in concurrent phase where other goroutines may be writing to the output buffer. The munmap can race with the write, causing it to write t...
[ { "path": "src/cmd/link/internal/ld/lib.go", "patch": "@@ -1103,7 +1103,6 @@ func hostlinksetup(ctxt *Link) {\n \t\t*flagTmpdir = dir\n \t\townTmpDir = true\n \t\tAtExit(func() {\n-\t\t\tctxt.Out.Close()\n \t\t\tos.RemoveAll(*flagTmpdir)\n \t\t})\n \t}", "additions": 0, "deletions": 1, "language...
2021-11-11T21:51:08
nodejs/node
bfbce289c33b12aafb82bd5b45bcb4412850b28f
1ed3c54ecbd72a33693e5954f86bcc9fd9b1cc09
lib: refactor Error.captureStackTrace() usage When using `Errors.captureStackFrames` the error's stack property is set again. This adds a helper function that wraps this functionality in a simple API that does not only set the stack including the `code` property but it also improves the performance to create the error...
[ { "path": "lib/_http_outgoing.js", "patch": "@@ -34,16 +34,19 @@ const {\n symbols: { async_id_symbol }\n } = require('internal/async_hooks');\n const {\n- ERR_HTTP_HEADERS_SENT,\n- ERR_HTTP_INVALID_HEADER_VALUE,\n- ERR_HTTP_TRAILER_INVALID,\n- ERR_INVALID_HTTP_TOKEN,\n- ERR_INVALID_ARG_TYPE,\n- ERR...
2019-03-18T01:29:39
vercel/next.js
42255cbde62aaae746e965685b5676ca745cf0ef
a56e12a510548a3dbf885779ed9fa987fd7fecb4
fix(ecmascript): displayname for styled_components (vercel/turbo#4653) ### Description WEB-670 We need to supply filename for the display_name calculation.
[ { "path": "crates/turbopack-ecmascript/src/transform/mod.rs", "patch": "@@ -5,7 +5,7 @@ use std::{\n collections::hash_map::DefaultHasher,\n fmt::Debug,\n hash::{Hash, Hasher},\n- path::Path,\n+ path::{Path, PathBuf},\n sync::Arc,\n };\n \n@@ -295,7 +295,7 @@ impl EcmascriptInputTransf...
2023-04-21T15:15:26
huggingface/transformers
9db58abd6e21c34dbb44068432f2e4b146ab472b
db711210d29cead8ae6b376778ab51f5d3b7c4e5
Check model inputs - hidden states (#40994) * update all models * fix copies * skip aria tests * update other models * skip should be in test, not tester * i think this is more descriptive as a name * find and replace for new models
[ { "path": "examples/modular-transformers/modeling_dummy_bert.py", "patch": "@@ -657,7 +657,7 @@ class PreTrainedModel\n for layer, heads in heads_to_prune.items():\n self.encoder.layer[layer].attention.prune_heads(heads)\n \n- @check_model_inputs\n+ @check_model_inputs()\n @aut...
2025-10-06T09:48:52
golang/go
7bed3c7975780cad3c0adcf548d8b2d324a09265
c3c4a2bf6589f8c1e046149356fb5456b34a0df1
net: use Done rather than comparing with context.Background Fixes #49023 Change-Id: I3de70f8a25f4ba8a0fb8bb96581371e33fde2f7a GitHub-Last-Rev: b7ec9405adc77ec513df344f2ad33801feb2d3ca GitHub-Pull-Request: golang/go#49024 Reviewed-on: https://go-review.googlesource.com/c/go/+/356471 Reviewed-by: Ian Lance Taylor <iant...
[ { "path": "src/net/fd_unix.go", "patch": "@@ -91,12 +91,11 @@ func (fd *netFD) connect(ctx context.Context, la, ra syscall.Sockaddr) (rsa sysc\n \t}\n \n \t// Start the \"interrupter\" goroutine, if this context might be canceled.\n-\t// (The background context cannot)\n \t//\n \t// The interrupter goroutin...
2021-11-11T21:45:45
huggingface/transformers
db711210d29cead8ae6b376778ab51f5d3b7c4e5
163601c6197e2addccd30d9bf450f664766f2e71
Fix trainer for py3.9 (#41359) fix
[ { "path": "src/transformers/trainer.py", "patch": "@@ -5206,7 +5206,7 @@ def _fsdp_qlora_plugin_updates(self):\n self.model.hf_quantizer.quantization_config.bnb_4bit_quant_storage, override=True\n )\n \n- def _get_num_items_in_batch(self, batch_samples: list, device: t...
2025-10-06T09:36:05
vercel/next.js
abbf35264332010bc7bd2308bb684dfb085fac3a
680564c7b556c6f45a2c77fe29f40a587ebc2e3b
misc: fix flaky prefetch test (#48666) <!-- 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(s) that you're making: ## For Contributors ### ...
[ { "path": "test/e2e/app-dir/app-prefetch/prefetching.test.ts", "patch": "@@ -82,7 +82,9 @@ createNextDescribe(\n })\n await browser.eval('location.href = \"/\"')\n \n- await browser.eval('window.nd.router.prefetch(\"/static-page\")')\n+ await browser.eval(\n+ 'window.nd.router.p...
2023-04-21T14:59:55
nodejs/node
1ed3c54ecbd72a33693e5954f86bcc9fd9b1cc09
c757cb1b9870de9297df736d5e831b7eb627644a
errors: update error name This updates all Node.js errors by removing the `code` being part of the `name` property. Instead, the name is just changed once on instantiation, the stack is accessed to create the stack as expected and then the `name` property is set back to it's original form. PR-URL: https://github.com/...
[ { "path": "lib/internal/assert/assertion_error.js", "patch": "@@ -388,12 +388,25 @@ class AssertionError extends Error {\n }\n \n this.generatedMessage = !message;\n- this.name = 'AssertionError [ERR_ASSERTION]';\n+ Object.defineProperty(this, 'name', {\n+ value: 'AssertionError [ERR_ASSE...
2019-03-16T11:09:14
electron/electron
47d7f2c0503231054a80a5c2a3769cf01ddcfbbb
9ca022c98a30788d2074a585128b7df8106c6c7b
Fix cpplint warning
[ { "path": "atom/browser/api/atom_api_session.cc", "patch": "@@ -357,10 +357,10 @@ void Session::DisableNetworkEmulation() {\n base::Passed(&conditions)));\n }\n \n-void Session::SetCertVerifyProc(v8::Local<v8::Value> val, mate::Arguments* args) {\n+void Session::SetCertVerifyProc(v8::Local<...
2015-11-18T03:45:15
golang/go
10d3b1355184320f6d9623cb35e848e5af7c29ed
c622d1d3f68369ec5f8ce9694fa27e7acb025004
cmd/compile: ensure stenciled function bodies are nonempty Our compiler gets confused between functions that were declared with no body, and those which have a body but it is empty. Ensure that when stenciling, we generate a nonempty body. The particular test that causes this problem is in cmd/compile/internal/gc/ma...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -802,6 +802,12 @@ func (g *genInst) genericSubst(newsym *types.Sym, nameNode *ir.Name, shapes []*t\n \n \t// Make sure name/type of newf is set before substituting the body.\n \tnewf.Body = subst.list(gf.Body)\n+\tif len(newf.Body) == 0 {\n...
2021-11-11T16:45:02
huggingface/transformers
55b172b8eb839300e697e91911eac66db7441316
1ec0b544140feec6a6ff804932bd83c03851732b
🚨 Bump to Python 3.10 and rework how we check 3rd-party libraries existence (#41268) * cleanup * add check * fix * remove all global variables * fix * add lru caches everywhere * fix * fix * style * improve * reorder all functions * fix order * improve * fix * fix * fix
[ { "path": "setup.py", "patch": "@@ -143,7 +143,7 @@\n \"pytest-timeout\",\n \"pytest-xdist\",\n \"pytest-order\",\n- \"python>=3.9.0\",\n+ \"python>=3.10.0\",\n \"ray[tune]>=2.7.0\",\n \"regex!=2019.12.17\",\n \"requests\",", "additions": 1, "deletions": 1, "languag...
2025-10-06T09:04:19
vercel/next.js
8050a6c8e056efb336f15f6fa5be789cd040574d
658c6005343f2c95ed6acb3837d4ee60d762923b
Fix typo in fetchType annotation (#48646) `fetch-get` and `fetch-set` were typos. They should be `cache-get` and `cache-set`
[ { "path": "packages/next/src/server/lib/incremental-cache/fetch-cache.ts", "patch": "@@ -118,7 +118,7 @@ export default class FetchCache implements CacheHandler {\n const start = Date.now()\n const fetchParams: NextFetchCacheParams = {\n internal: true,\n- fetchType: 'fetc...
2023-04-21T13:10:32
nodejs/node
cc89e68e729e0c96da63764d01ac87e9e5ab1c50
6e9551e1b1b7e204b1e5497606c43dae59a16523
test: fix pummel/test-tls-session-timeout The test does not work with TLS 1.3 nor should it. Force TLS version 1.2. While at it, some refactoring: * refresh the tmp directory in case it doesn't exist! * add an assert.strictEqual() check on the client return `code` value which must be zero * use arrow functions for...
[ { "path": "test/pummel/test-tls-session-timeout.js", "patch": "@@ -29,6 +29,7 @@ if (!common.hasCrypto)\n common.skip('missing crypto');\n \n const tmpdir = require('../common/tmpdir');\n+tmpdir.refresh();\n \n doTest();\n \n@@ -56,7 +57,8 @@ function doTest() {\n key: key,\n cert: cert,\n ca:...
2019-03-22T17:48:33
electron/electron
e432abfb4272c9822bad5ac1ac157f9a99aa755b
341341bf28178481cfc17262395d94f7af7f5c98
Add certificate-error event
[ { "path": "atom/browser/api/atom_api_app.cc", "patch": "@@ -17,6 +17,7 @@\n #include \"atom/common/native_mate_converters/callback.h\"\n #include \"atom/common/native_mate_converters/net_converter.h\"\n #include \"atom/common/native_mate_converters/file_path_converter.h\"\n+#include \"atom/common/native_mat...
2015-11-18T02:39:25
golang/go
c622d1d3f68369ec5f8ce9694fa27e7acb025004
eb68e3367bf8d55bb98eb002cef35455f5be3c5f
go/build: skip rune literals when looking for go:embed Fixes #49514 Change-Id: Id687eead731ba49974f11d2e5b489f11eff7d07b Reviewed-on: https://go-review.googlesource.com/c/go/+/363275 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Revie...
[ { "path": "src/embed/internal/embedtest/embed_test.go", "patch": "@@ -60,6 +60,11 @@ func testDir(t *testing.T, f embed.FS, name string, expect ...string) {\n \t}\n }\n \n+// Tests for issue 49514.\n+var _ = '\"'\n+var _ = '\\''\n+var _ = '🦆'\n+\n func TestGlobal(t *testing.T) {\n \ttestFiles(t, global, \"...
2021-11-11T04:28:45
nodejs/node
91be64b9d3a898fd9a611368b84e888de57cd087
01a129635cad8f645b7b2aa12526eeb2ba826527
repl: remove usage of require('util') in `repl/history` Use `require('internal/util/debuglog').debuglog` instead of `require('util').debuglog`. Refs: https://github.com/nodejs/node/issues/26546 PR-URL: https://github.com/nodejs/node/pull/26819 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M S...
[ { "path": "lib/internal/repl/history.js", "patch": "@@ -4,8 +4,7 @@ const { Interface } = require('readline');\n const path = require('path');\n const fs = require('fs');\n const os = require('os');\n-const util = require('util');\n-const debug = util.debuglog('repl');\n+const debug = require('internal/util...
2019-03-20T14:17:02
electron/electron
1022179a1ff78c9622538ec150517ffcedffb78c
312a79165be96dcde56e6f7d270f0ff7d4c65a76
Improve exception messages from remote calls Spent a while tracking down `Error processing argument -1`, caused by a missing param (`app.exit()` now takes an exit code.) Improve the rpc-server so that it prints the function name when possible, so it's much easier to identify which remote call is causing the error.
[ { "path": "atom/browser/lib/rpc-server.coffee", "patch": "@@ -103,13 +103,25 @@ unwrapArgs = (sender, args) ->\n # Call a function and send reply asynchronously if it's a an asynchronous\n # style function and the caller didn't pass a callback.\n callFunction = (event, func, caller, args) ->\n- if v8Util.g...
2015-11-18T01:36:37
huggingface/transformers
0947b9042c7eae073b0e4f641f65c13647705a30
e11a00a16f925b7d3b52f5007bdce3464edb361f
Fixed tiny incorrect import in `gemma3` (#41354) Fixed tiny import issue in gemma3
[ { "path": "src/transformers/models/gemma3/modular_gemma3.py", "patch": "@@ -44,7 +44,7 @@\n eager_attention_forward,\n )\n from ..paligemma.modeling_paligemma import (\n- PaligemmaCausalLMOutputWithPast,\n+ PaliGemmaCausalLMOutputWithPast,\n PaliGemmaForConditionalGeneration,\n PaliGemmaMo...
2025-10-06T08:55:42
vercel/next.js
658c6005343f2c95ed6acb3837d4ee60d762923b
db0086703e2e94106be204dafc9dd1b5fbd4847d
app-router: new client-side cache semantics (#48383) This PR implements new cache semantics for the app router on the client. ## Context Currently, on the App Router, every Link navigation is prefetched and kept forever in the cache. This means that once you visit it, you will always see the same version of th...
[ { "path": "packages/next/src/client/components/app-router.tsx", "patch": "@@ -25,6 +25,7 @@ import {\n ACTION_REFRESH,\n ACTION_RESTORE,\n ACTION_SERVER_PATCH,\n+ PrefetchKind,\n } from './router-reducer/router-reducer-types'\n import { createHrefFromUrl } from './router-reducer/create-href-from-url'...
2023-04-21T12:29:39
golang/go
eb68e3367bf8d55bb98eb002cef35455f5be3c5f
46b2fc05a2681a9dd3b606176e738d786b0c2176
runtime: fix typo Change filepath reference from cmd/internal/ld/symtab.go to cmd/link/internal/ld/symtab.go. Change-Id: Icb207a2e2c82d3976787d2d5cfb0f8005696f738 GitHub-Last-Rev: 428d99c6ca97db79b7d8cdf24843df3492a9aeb0 GitHub-Pull-Request: golang/go#49518 Reviewed-on: https://go-review.googlesource.com/c/go/+/36327...
[ { "path": "src/runtime/symtab.go", "patch": "@@ -408,7 +408,7 @@ type pcHeader struct {\n \n // moduledata records information about the layout of the executable\n // image. It is written by the linker. Any changes here must be\n-// matched changes to the code in cmd/internal/ld/symtab.go:symtab.\n+// match...
2021-11-11T07:10:52
huggingface/transformers
e11a00a16f925b7d3b52f5007bdce3464edb361f
1bc75db9bdb54c3fe1042c298690cf37132fe2bc
`JetMoe` Fix jetmoe after #40132 (#41324) * update * up
[ { "path": "src/transformers/models/jetmoe/modeling_jetmoe.py", "patch": "@@ -490,10 +490,10 @@ class JetMoeDecoderLayer(GradientCheckpointingLayer):\n def __init__(self, config: JetMoeConfig, layer_idx: Optional[int] = None):\n super().__init__()\n self.hidden_size = config.hidden_size\n...
2025-10-04T09:02:13
nodejs/node
ee429e4b2ce9da8fdcbd075433cae4a9e1d248f1
41ba699973388f7ff7464e1606457c630a8189f9
test: fix test-console-stdio-setters to test setters test-console-stdio-setters needs to test against the global console in order to test the setters for the lazy-loaded _stdout and _stderr properties. PR-URL: https://github.com/nodejs/node/pull/26796 Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com> Reviewed-By: ...
[ { "path": "test/parallel/test-console-stdio-setters.js", "patch": "@@ -4,17 +4,15 @@\n const common = require('../common');\n \n const { Writable } = require('stream');\n-const { Console } = require('console');\n \n const streamToNowhere = new Writable({ write: common.mustCall() });\n const anotherStreamToN...
2019-03-20T04:05:59
electron/electron
0e8ab0688d00e476c0baa9b74ce5c5cfc3d37de2
0dd14ad204d9951f63a0c4b24e5c511a5a82b807
Fix wrong markdown
[ { "path": "docs/api/browser-window.md", "patch": "@@ -232,7 +232,7 @@ Emitted when the window enters full screen state triggered by html api.\n \n Emitted when the window leaves full screen state triggered by html api.\n \n-### Event: 'app-command' __Windows__\n+### Event: 'app-command' _Windows_\n \n Emitt...
2015-11-18T00:43:28
vercel/next.js
db0086703e2e94106be204dafc9dd1b5fbd4847d
e95216004957d1c86dae8f786ef0765fd2ce56ea
Upgrade `@types/react` to latest 18.x (#48645) Required for https://github.com/vercel/next.js/pull/48641 [React 18 types changelog](https://github.com/DefinitelyTyped/DefinitelyTyped/pull/56210) Revealed some bugs in `React.Children` typings that were hidden due to `{}` being part of `ReactNode` before 18.x types. ...
[ { "path": "package.json", "patch": "@@ -86,13 +86,13 @@\n \"@types/jest\": \"24.0.13\",\n \"@types/node\": \"14.14.31\",\n \"@types/node-fetch\": \"2.6.1\",\n- \"@types/react\": \"16.9.17\",\n- \"@types/react-dom\": \"16.9.4\",\n+ \"@types/react\": \"18.0.37\",\n+ \"@types/react-dom\...
2023-04-21T09:33:23
golang/go
46b2fc05a2681a9dd3b606176e738d786b0c2176
3e94140465984ff6c8d658051d022e8eacf057c3
runtime: adjust TestPhysicalMemoryUtilization to handle large page sizes Currently TestPhysicalMemoryUtilization can fail on systems with large physical page sizes like 64 KiB because all the of the holes to be scavenged are not aligned to the page size. The holes themselves are 64 KiB so this is actually quite likely...
[ { "path": "src/runtime/testdata/testprog/gc.go", "patch": "@@ -140,13 +140,26 @@ func GCPhys() {\n \t// returned to the OS.\n \n \tconst (\n+\t\t// The total amount of memory we're willing to allocate.\n \t\tallocTotal = 32 << 20\n-\t\tallocChunk = 64 << 10\n-\t\tallocs = allocTotal / allocChunk\n \n \t...
2021-11-11T17:31:36
huggingface/transformers
1bc75db9bdb54c3fe1042c298690cf37132fe2bc
c2b3cc3e64b9fdb6259d3b170f0ac8101fa751e7
Fix lr_scheduler_parsing (#41322) * fix * fix
[ { "path": "src/transformers/training_args.py", "patch": "@@ -298,7 +298,7 @@ class TrainingArguments:\n `max_steps` is reached.\n lr_scheduler_type (`str` or [`SchedulerType`], *optional*, defaults to `\"linear\"`):\n The scheduler type to use. See the documentation of [`Sche...
2025-10-03T15:51:17
nodejs/node
d117e41e50667d7a36259bfc69416216bdf74eae
bca23f2ee71ddaf4f4393652de75dbb7fbc27f1d
src: do not make `Resize(0)`’d buffers base `nullptr` This fixes issues in which APIs that accept pointers created this way treat `nullptr` and a zero-length buffer differently. We already do something similar for our `Malloc()` implementation. PR-URL: https://github.com/nodejs/node/pull/26731 Fixes: https://github.c...
[ { "path": "src/env-inl.h", "patch": "@@ -759,8 +759,10 @@ inline AllocatedBuffer::AllocatedBuffer(Environment* env, uv_buf_t buf)\n : env_(env), buffer_(buf) {}\n \n inline void AllocatedBuffer::Resize(size_t len) {\n- char* new_data = env_->Reallocate(buffer_.base, buffer_.len, len);\n- CHECK_IMPLIES...
2019-03-18T11:13:29
vercel/next.js
e95216004957d1c86dae8f786ef0765fd2ce56ea
cc684d02bc878e69636594355aefab229972b463
Update Mux example logo to new Mux brand (#48654) <!-- 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(s) that you're making: ## For Contributors ...
[ { "path": "examples/with-mux-video/public/mux.svg", "patch": "@@ -1,64 +1,17 @@\n-<svg width=\"71\" height=\"25\" viewBox=\"0 0 71 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n-<g clip-path=\"url(#clip0)\">\n-<path opacity=\"0.7\" d=\"M66.7332 22.6532C67.6983 23.6231 69.215 23.6231 70.1112 22.6...
2023-04-20T23:45:43
golang/go
3e94140465984ff6c8d658051d022e8eacf057c3
48f1cde942959e2fc3c56973a2986c24d554c82c
runtime/debug: make TestFreeOSMemory more robust FreeOSMemory relies on the function FreeOSMemory increasing HeapReleased as opposed to the background scavenger, because it reads memory stats *after* the free of a large allocation. However, before that even happens, the background scavenger can swoop in and release al...
[ { "path": "src/runtime/debug/garbage_test.go", "patch": "@@ -6,6 +6,7 @@ package debug_test\n \n import (\n \t\"internal/testenv\"\n+\t\"os\"\n \t\"runtime\"\n \t. \"runtime/debug\"\n \t\"testing\"\n@@ -87,21 +88,65 @@ func TestReadGCStats(t *testing.T) {\n \t}\n }\n \n-var big = make([]byte, 1<<20)\n+var b...
2021-11-10T22:03:28
huggingface/transformers
c2b3cc3e64b9fdb6259d3b170f0ac8101fa751e7
5abfa43f0252f7e069c2de99fe940138eb33600f
Fix jamba (#41309) * reactivate tests * first pass * fix * fix bias * fix and simplify * finally fix this stupid bug * add skips * remove bad stuff * fix copies * simplify
[ { "path": "src/transformers/models/bamba/modeling_bamba.py", "patch": "@@ -140,6 +140,12 @@ def __init__(self, config: BambaConfig, batch_size, dtype=torch.float16, device=\n self.key_cache = [torch.tensor([[]] * batch_size, device=device) for _ in range(config.num_hidden_layers)]\n self.val...
2025-10-03T14:54:19
nodejs/node
245c96e7e5c86260833a6fcfaaa013cdbb5ccf71
d81ea10f662c6fb4b8fcee93eea4a9ded3abc608
perf_hooks: load internal/errors eagerly Since `internal/errors` is loaded by many builtin modules and is currently the first module loaded during bootstrap, it is fine to load it eagerly. We just need to make sure that `internal/errors` itself load other modules lazily. PR-URL: https://github.com/nodejs/node/pull/26...
[ { "path": "lib/perf_hooks.js", "patch": "@@ -36,6 +36,15 @@ const { AsyncResource } = require('async_hooks');\n const L = require('internal/linkedlist');\n const kInspect = require('internal/util').customInspectSymbol;\n \n+const {\n+ ERR_INVALID_CALLBACK,\n+ ERR_INVALID_ARG_VALUE,\n+ ERR_INVALID_ARG_TYP...
2019-03-19T10:17:49
vercel/next.js
652ba8a0ecd0fd71ad4b39da175a2d017de1aa60
a7b0ae3c3c5e4e2e8ec4f4de261084364d61d36f
Fix version bump
[ { "path": "lerna.json", "patch": "@@ -16,5 +16,5 @@\n \"registry\": \"https://registry.npmjs.org/\"\n }\n },\n- \"version\": \"13.3.1-canary.15\"\n+ \"version\": \"13.3.1-canary.16\"\n }", "additions": 1, "deletions": 1, "language": "JSON" }, { "path": "packages/create-next...
2023-04-20T21:47:31
golang/go
d60a4e69f16f5bc958094af206ac7e47f6bc8b04
f1935c52703e4482c5047b4b35276e965896df7c
spec: fix a broken link Thanks for jtagcat@ for finding this. Change-Id: If7324808edbae19ec8bf503b04e0426f3fb3b47a Reviewed-on: https://go-review.googlesource.com/c/go/+/363394 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: ...
[ { "path": "doc/go1.17_spec.html", "patch": "@@ -258,7 +258,7 @@ <h3 id=\"Operators_and_punctuation\">Operators and punctuation</h3>\n \n <p>\n The following character sequences represent <a href=\"#Operators\">operators</a>\n-(including <a href=\"#assign_op\">assignment operators</a>) and punctuation:\n+(in...
2021-11-11T16:36:15
huggingface/transformers
217ff1e4ef6b006d601d0fa834c2bd68c79b66cd
5339f72b9bf2433de4692699a98440e842b4f11e
AutoAWQ tests (#41295) * initial commit * fix * fix multi gpu * fix expected output * fix * latest * add comment * Apply style fixes --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
[ { "path": "conftest.py", "patch": "@@ -89,7 +89,7 @@ def pytest_configure(config):\n config.addinivalue_line(\"markers\", \"torch_compile_test: mark test which tests torch compile functionality\")\n config.addinivalue_line(\"markers\", \"torch_export_test: mark test which tests torch export function...
2025-10-03T13:17:10
electron/electron
9c69416e322ca62930956030540a3cedf582a006
312a79165be96dcde56e6f7d270f0ff7d4c65a76
Fix sizing of Mac OS X tray icon after image change - Consolidate logic that applies view dimensions into a function - Use `NSVariableStatusItemLength` instead of trying to sync status item width - Use modern Obj-C syntax `@[], @{}` in a few places - Recompute view bounds after updating image in `setImage:`
[ { "path": "atom/browser/ui/tray_icon_cocoa.mm", "patch": "@@ -40,33 +40,37 @@ - (id)initWithImage:(NSImage*)image icon:(atom::TrayIconCocoa*)icon {\n trayIcon_ = icon;\n isHighlightEnable_ = YES;\n \n- // Get the initial size.\n- NSStatusBar* statusBar = [NSStatusBar systemStatusBar];\n- NSRect frame...
2015-11-17T21:43:55
rust-lang/rust
a31e1f12d9c0fa1b8f5d19aa989f0e2236de3bb8
940726b6f733d2746f9aaa08b88f0d0aa08a938e
miri: bless tests These error messages include lines of the standard library which have changed and so need updated.
[ { "path": "src/tools/miri/tests/fail/stacked_borrows/drop_in_place_retag.stderr", "patch": "@@ -1,8 +1,8 @@\n error: Undefined Behavior: trying to retag from <TAG> for Unique permission at ALLOC[0x0], but that tag only grants SharedReadOnly permission for this location\n --> RUSTLIB/core/src/ptr/mod.rs:LL...
2025-03-03T03:23:29
nodejs/node
d81ea10f662c6fb4b8fcee93eea4a9ded3abc608
82b3ee776ba87481b5fa3d00cbe7f3c4f32c3ec3
events: load internal/errors eagerly Since `internal/errors` is loaded by many builtin modules and is currently the first module loaded during bootstrap, it is fine to load it eagerly. We just need to make sure that `internal/errors` itself load other modules lazily. PR-URL: https://github.com/nodejs/node/pull/26771 ...
[ { "path": "lib/events.js", "patch": "@@ -23,6 +23,12 @@\n \n var spliceOne;\n \n+const {\n+ ERR_INVALID_ARG_TYPE,\n+ ERR_OUT_OF_RANGE,\n+ ERR_UNHANDLED_ERROR\n+} = require('internal/errors').codes;\n+\n function EventEmitter() {\n EventEmitter.init.call(this);\n }\n@@ -42,17 +48,9 @@ EventEmitter.proto...
2019-03-19T10:15:44
vercel/next.js
a7b0ae3c3c5e4e2e8ec4f4de261084364d61d36f
ec385decd31f2b2d53bf4511f0868dd6fe64f193
implement /_next/image for local requests (#48622) ### What? Adds image optimization to the next/image api for local requests ### Why? More similarity to production. Smaller image downloads from the browser ### How? see also https://github.com/vercel/turbo/pull/4649 fixes WEB-935 ### Turbopack upd...
[ { "path": "packages/next-swc/crates/next-core/src/lib.rs", "patch": "@@ -9,7 +9,6 @@ mod babel;\n mod embed_js;\n pub mod env;\n mod fallback;\n-mod image;\n pub mod manifest;\n mod next_build;\n pub mod next_client;", "additions": 0, "deletions": 1, "language": "Rust" }, { "path": "pack...
2023-04-20T18:03:44
golang/go
f1935c52703e4482c5047b4b35276e965896df7c
8ce1a953fb125ab390e816540d7f6c304ee7e52b
obj/riscv: fix link to risc-v dwarf register numbers The repository name and structure in the RISC-V GitHub org has been modified, rendering the existing link invalid. This updates to point at the new location of the RISC-V DWARF specification. Change occured in https://github.com/riscv-non-isa/riscv-elf-psabi-doc/pu...
[ { "path": "src/cmd/internal/obj/riscv/cpu.go", "patch": "@@ -183,7 +183,7 @@ const (\n \tREGG = REG_G\n )\n \n-// https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md#dwarf-register-numbers\n+// https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-dwarf.adoc#dwarf-registe...
2021-11-11T15:02:13
rust-lang/rust
940726b6f733d2746f9aaa08b88f0d0aa08a938e
3d128856ce0cc12437285aad4f9b89958f044814
miri: fix build It isn't clear why the `Deref` impl isn't found for this in a stage two build, but presumably relates to `rustc_middle::ty::RawList` containing an extern type and `Deref` not yet being relaxed to `PointeeSized` (this is technically a breaking change but unlikely to be one and will be tested in a follow...
[ { "path": "src/tools/miri/src/shims/native_lib.rs", "patch": "@@ -72,7 +72,7 @@ trait EvalContextExtPriv<'tcx>: crate::MiriInterpCxExt<'tcx> {\n }\n // Functions with no declared return type (i.e., the default return)\n // have the output_type `Tuple([])`.\n- t...
2025-05-07T08:24:35
electron/electron
b4eca40d07fbbe7165c8623b268144349e159814
456154a6a25ad4220b40f32c3be512e341d79bf6
Improve grammar * Improve grammar * Standardize docs * Fix typos
[ { "path": "docs-translations/ko-KR/README.md", "patch": "@@ -7,7 +7,7 @@\n * [네이티브 Node 모듈 사용하기](tutorial/using-native-node-modules.md)\n * [메인 프로세스 디버깅하기](tutorial/debugging-main-process.md)\n * [Selenium 과 WebDriver 사용하기](tutorial/using-selenium-and-webdriver.md)\n-* [개발자 콘솔 확장기능](tutorial/devtools-extens...
2015-11-17T18:09:51
nodejs/node
82b3ee776ba87481b5fa3d00cbe7f3c4f32c3ec3
d3a62fe7fc683bf74b3e9c743f73471f0167bd15
repl: check colors with .getColorDepth() PR-URL: https://github.com/nodejs/node/pull/26261 Fixes: https://github.com/nodejs/node/issues/26187 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Rich Trott <rtrott@...
[ { "path": "lib/repl.js", "patch": "@@ -504,7 +504,9 @@ function REPLServer(prompt,\n self.writer = options.writer || exports.writer;\n \n if (options.useColors === undefined) {\n- options.useColors = self.terminal;\n+ options.useColors = self.terminal && (\n+ typeof self.outputStream.getColor...
2019-02-22T12:13:52
vercel/next.js
ec385decd31f2b2d53bf4511f0868dd6fe64f193
8ab6c4ca92ac1ba18f7d2373df47a3e33c3e4f38
replace defined values and add `__NEXT_HAS_REWRITES` define (#48628) ### What? This fixes a problem when the router fails to load the correct JS file from the page_loader and opts out to full refresh ### Why? The router behaves incorrect when `__NEXT_HAS_REWRITES` is missing in turbopack ### How? see ...
[ { "path": "Cargo.lock", "patch": "@@ -400,7 +400,7 @@ dependencies = [\n [[package]]\n name = \"auto-hash-map\"\n version = \"0.1.0\"\n-source = \"git+https://github.com/vercel/turbo.git?tag=turbopack-230419.4#816fab82aba04ab4bb06867e46bc1105986b82ab\"\n+source = \"git+https://github.com/vercel/turbo.git?ta...
2023-04-20T18:02:39
golang/go
8ce1a953fb125ab390e816540d7f6c304ee7e52b
84277bfd07dad771b9978149bdaed8aa16ed8982
io: add error check to TeeReader Example Change-Id: I0b94bdced47483c6412e9979ce2d103fbfc52afb Reviewed-on: https://go-review.googlesource.com/c/go/+/353729 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Carlos Amedee <carlo...
[ { "path": "src/io/example_test.go", "patch": "@@ -142,7 +142,9 @@ func ExampleTeeReader() {\n \tr = io.TeeReader(r, os.Stdout)\n \n \t// Everything read from r will be copied to stdout.\n-\tio.ReadAll(r)\n+\tif _, err := io.ReadAll(r); err != nil {\n+\t\tlog.Fatal(err)\n+\t}\n \n \t// Output:\n \t// some io...
2021-10-02T14:50:31
huggingface/transformers
5339f72b9bf2433de4692699a98440e842b4f11e
42bcc81ba250ced6f96b248f8e85938c438c68de
🚨 [unbloating] unify `TypedDict` usage in processing (#40931) * just squash commits into one * fix style
[ { "path": "docs/source/en/auto_docstring.md", "patch": "@@ -292,7 +292,7 @@ The `@auto_docstring` decorator automatically generates docstrings by:\n \n 8. Unrolling kwargs typed with the unpack operator. For specific methods (defined in `UNROLL_KWARGS_METHODS`) or classes (defined in `UNROLL_KWARGS_CLASSES`...
2025-10-03T12:17:59
rust-lang/rust
126c5e936a10d48278ab12dda6772a42c741cc6f
388a99ea2601518a0253e1f4fcbce85e5965017c
bootstrap: address lint failures Unexpected Clippy lint triggering is fixed in upcoming commits but is necessary for `cfg(bootstrap)`.
[ { "path": "src/bootstrap/src/core/build_steps/test.rs", "patch": "@@ -2575,7 +2575,7 @@ fn prepare_cargo_test(\n // by `Cargo::new` and that actually makes things go wrong.\n if builder.kind != Kind::Miri {\n let mut dylib_paths = builder.rustc_lib_paths(compiler);\n- dylib_paths.push...
2025-03-03T01:41:13
nodejs/node
d3a62fe7fc683bf74b3e9c743f73471f0167bd15
99523758dc5d076b8f34259961291d7db2e6d497
readline: support TERM=dumb When TERM=dumb and .isTTY=true don't use ANSI escape codes and ignore all keys, except 'escape', 'return' and 'ctrl-c'. PR-URL: https://github.com/nodejs/node/pull/26261 Fixes: https://github.com/nodejs/node/issues/26187 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Ja...
[ { "path": "lib/readline.js", "patch": "@@ -34,7 +34,6 @@ const {\n const { validateString } = require('internal/validators');\n const { inspect } = require('util');\n const { emitExperimentalWarning } = require('internal/util');\n-const { Buffer } = require('buffer');\n const EventEmitter = require('events'...
2019-02-22T12:07:43
vercel/next.js
8ab6c4ca92ac1ba18f7d2373df47a3e33c3e4f38
3a83c6b313ac34df312b3e94f7d069cc3ea985e5
Exclude app from `_devPagesManifest.js` in turbopack (#48633) ### What? Seems I accidentally included the app root when I initially added it, but apps never have a page loader, so they should be excluded I also cleaned up the manifest a bit, and it now perfectly matches the one in next.js Fixes WEB-926
[ { "path": "packages/next-swc/crates/next-core/src/manifest.rs", "patch": "@@ -5,7 +5,10 @@ use serde::Serialize;\n use turbo_binding::{\n turbo::{tasks::TryJoinIterExt, tasks_fs::File},\n turbopack::{\n- core::asset::AssetContentVc,\n+ core::{\n+ asset::AssetContentVc,\n+ ...
2023-04-20T16:23:07
golang/go
84277bfd07dad771b9978149bdaed8aa16ed8982
73a4bbb0df36d85d1ab8cb12d220d1d56e4049ec
runtime: fix C compilation error in TestCgoTracebackGoroutineProfile Use C89 declaration. Also fix indentation. Change-Id: Ib974eb32ac95610d0b0eca00ca3b139b388c73bd Reviewed-on: https://go-review.googlesource.com/c/go/+/363356 Trust: Cherry Mui <cherryyz@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> TryBot...
[ { "path": "src/runtime/testdata/testprogcgo/gprof_c.c", "patch": "@@ -21,9 +21,10 @@ void gprofCgoContext(void *arg) {\n \n void gprofCgoTraceback(void *arg) {\n \t// spend some time here so the P is more likely to be retaken.\n- \tfor (volatile int i = 0; i < 123456789; i++);\n+\tvolatile int i;\n+\tfor (i...
2021-11-11T17:52:45
huggingface/transformers
42bcc81ba250ced6f96b248f8e85938c438c68de
cd4422922e1dbca89edef1b9b597b1c296634e3a
Minor security fix for `ssh-runner.yml` (#41317) security issue Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/ssh-runner.yml", "patch": "@@ -33,14 +33,17 @@ jobs:\n steps:\n - name: Get runner to use\n shell: bash\n+ env:\n+ NUM_GPUS: ${{ github.event.inputs.num_gpus }}\n+ RUNNER_TYPE: ${{ github.event.inputs.runner_type }}\n run: |\n- ...
2025-10-03T12:14:34
electron/electron
3b826ed1a5ff0e99e7b266290597ef47dfc9d4f3
202d2eeb8a794b875b02046d64e2f3b2a6dc16bb
Update brightray: fix #3458
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit d788bdfe0bcd4672e62ed0e777876e76897e4613\n+Subproject commit 57472ef51d5bd70c65c5e304ba4626395b5d92aa", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2015-11-17T03:22:14
nodejs/node
99523758dc5d076b8f34259961291d7db2e6d497
5f032a7a269b66d48505869b0ae4fb1db403b118
console: don't use ANSI escape codes when TERM=dumb PR-URL: https://github.com/nodejs/node/pull/26261 Fixes: https://github.com/nodejs/node/issues/26187 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Rich Tro...
[ { "path": "lib/internal/console/constructor.js", "patch": "@@ -346,7 +346,7 @@ const consoleMethods = {\n clear() {\n // It only makes sense to clear if _stdout is a TTY.\n // Otherwise, do nothing.\n- if (this._stdout.isTTY) {\n+ if (this._stdout.isTTY && process.env.TERM !== 'dumb') {\n ...
2019-02-22T12:00:36
golang/go
73a4bbb0df36d85d1ab8cb12d220d1d56e4049ec
666fc173c02ff3004ac9ef867aa4eec7e243dde3
cmd/compile: fix missing ddd when building call for function instantiation closure When building a call expression for function instantiation closure, if it's a variadic function, the CallExpr.IsDDD must be set for typecheck to work properly. Otherwise, there will be a mismatch between the arguments type and the funct...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -515,6 +515,7 @@ func (g *genInst) buildClosure(outer *ir.Func, x ir.Node) ir.Node {\n \n \t// Build call itself.\n \tvar innerCall ir.Node = ir.NewCallExpr(pos, ir.OCALL, target.Nname, args)\n+\tinnerCall.(*ir.CallExpr).IsDDD = typ.IsVaria...
2021-11-11T08:29:38
vercel/next.js
acd3b25ef533e1b55b71185880c39d55e5740a51
1f6a45d2e0a2e98fc5897ec6de51f39a901badf3
remove amp error in app dir (#48620) Follow up for #48489 As config is dropped and we can only check server components previously. We can remove it now
[ { "path": "packages/next/src/server/app-render/app-render.tsx", "patch": "@@ -713,15 +713,6 @@ export async function renderToHTMLOrFlight(\n `The default export of notFound is not a React Component in ${segment}`\n )\n }\n-\n- if (\n- !isClientReference(layoutOr...
2023-04-20T14:18:57
huggingface/transformers
cd4422922e1dbca89edef1b9b597b1c296634e3a
59eba49237c78a145c65cf4de9370965d5510d74
Add modular detector (#41289) * doc * doc * no remote code * safe-ize the release + remove remote * fixes * add some documentation as well
[ { "path": "docs/source/en/internal/model_debugging_utils.md", "patch": "@@ -352,3 +352,87 @@ Skipped : 124/323 (38.4%)\n 📄 JSON saved to /home/pablo/git/transformers/scan_test_inputs_embeds.json\n \n ```\n+\n+## Modular model detector\n+\n+### Code similarity analyzer - for model adders\n+\n+This utility a...
2025-10-03T12:11:10
electron/electron
83dfef2e662b800b517a166f000fece8264a66b9
5b8e94ca288d59d4ae8187d02e623bd29edaa93c
Fix missed changes
[ { "path": "docs-translations/ko-KR/tutorial/mac-app-store-submission-guide.md", "patch": "@@ -82,7 +82,7 @@ productbuild --component \"$APP_PATH\" /Applications --sign \"$INSTALLER_KEY\" \"$RES\n \n ### 어플리케이션을 업로드하고 심사용 앱으로 제출\n \n-어플리케이션 사인을 완료한 후 iTunes Connect에 업로드하기 위해 Application Loader를 사용할 수 있습니다.\n...
2015-11-17T01:53:24
nodejs/node
20fab5f5d49e952451e47c0d819268364ea5c7c5
5a3623af746b90b7c2b43d447a3ad345374bd498
util: require `isNativeError` from internalBinding PR-URL: https://github.com/nodejs/node/pull/23081 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Revi...
[ { "path": "lib/internal/util.js", "patch": "@@ -12,9 +12,7 @@ const {\n arrow_message_private_symbol: kArrowMessagePrivateSymbolIndex,\n decorated_private_symbol: kDecoratedPrivateSymbolIndex\n } = internalBinding('util');\n-const {\n- isNativeError\n-} = require('internal/util/types');\n+const { isNat...
2019-03-19T05:09:42
golang/go
8c73f80400d04a320165f4c1e535524cc50e20b4
47b3ab5ede452a88c2da4c5eaf092b2d707d2ff4
runtime: bypass scheduler when doing traceback for goroutine profile When acquire a goroutine profile, we stop the world then acquire a stack trace for each goroutine. When cgo traceback is used, the traceback code may call the cgo traceback function using cgocall. As the world is stopped, cgocall will be blocked at e...
[ { "path": "src/runtime/crash_cgo_test.go", "patch": "@@ -702,3 +702,11 @@ func TestNeedmDeadlock(t *testing.T) {\n \t\tt.Fatalf(\"want %s, got %s\\n\", want, output)\n \t}\n }\n+\n+func TestCgoTracebackGoroutineProfile(t *testing.T) {\n+\toutput := runTestProg(t, \"testprogcgo\", \"GoroutineProfile\")\n+\tw...
2021-11-10T00:50:47
rust-lang/rust
183458263b0aea42a6ea8b8417117abcae178679
5d17987d7189a883c3c42a6eb17255e2ea060d6f
tests: bless remaining tests These tests just need blessing, they don't have any interesting behaviour changes. Some of these tests have new errors because `LegacyReceiver` cannot be proven to be implemented now that it is also testing for `MetaSized` - but this is just a consequence of the other errors in the test.
[ { "path": "tests/incremental/hashes/trait_defs.rs", "patch": "@@ -30,7 +30,7 @@ trait TraitVisibility { }\n #[cfg(not(any(cfail1,cfail4)))]\n #[rustc_clean(cfg=\"cfail2\")]\n #[rustc_clean(cfg=\"cfail3\")]\n-#[rustc_clean(cfg=\"cfail5\", except=\"opt_hir_owner_nodes\")]\n+#[rustc_clean(cfg=\"cfail5\", excep...
2025-02-03T15:54:25
huggingface/transformers
de3ee737cf0e47f96c4723b919e920f0b291bd30
b914445f77a94956d1d6543686a329ec2708cc35
Fix README.md error when installing from source (#41303)
[ { "path": "README.md", "patch": "@@ -111,10 +111,10 @@ git clone https://github.com/huggingface/transformers.git\n cd transformers\n \n # pip\n-pip install .[torch]\n+pip install '.[torch]'\n \n # uv\n-uv pip install .[torch]\n+uv pip install '.[torch]'\n ```\n \n ## Quickstart", "additions": 2, "de...
2025-10-02T23:08:27
vercel/next.js
8055b118809325d93225748a81d218bf888fe12e
a3c8d5948321b80b1eaa07ae50459fce57f42c2c
fix(ecmascript): eval assignop to the ident (vercel/turbo#4609) ### Description - closes WEB-889 When there is a variable with `+=` assignop only to the given ident ``` var css = ''; for (var i = 0; i < length; i++) { var partRule = this.rules[i]; if (typeof partRule === 'string') { ...
[ { "path": "crates/turbopack-ecmascript/src/analyzer/graph.rs", "patch": "@@ -320,21 +320,23 @@ impl EvalContext {\n JsValue::concat(values)\n }\n \n+ fn eval_ident(&self, i: &Ident) -> JsValue {\n+ let id = i.to_id();\n+ if let Some(imported) = self.imports.get_import(&id) {\n+ ...
2023-04-20T14:00:33
rust-lang/rust
cb711504bd70afab7bfcc3700ccb39edcb9b26c9
3c3ba37ba57b66ccced0d9c41e1f0c0f48868a20
tests: update tests with unconstrained parameters With the addition of new bounds to the unconstrained parameters, there are more errors which just need blessed.
[ { "path": "tests/ui/layout/unconstrained-param-ice-137308.rs", "patch": "@@ -15,4 +15,6 @@ impl<C: ?Sized> A for u8 { //~ ERROR: the type parameter `C` is not constrained\n }\n \n #[rustc_layout(debug)]\n-struct S([u8; <u8 as A>::B]); //~ ERROR: the type has an unknown layout\n+struct S([u8; <u8 as A>::B]);...
2025-01-22T18:10:22
nodejs/node
ab3f7afacc0b8d76737935649e23c72ef61502c8
296712602b4cba785ccda72623c0cbe3b4584abb
console: fix trace function A recent refactoring made the slight mistake of calling `trace()` instead of `this.trace()`. PR-URL: https://github.com/nodejs/node/pull/26764 Fixes: https://github.com/nodejs/node/issues/26763 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: ...
[ { "path": "lib/internal/console/constructor.js", "patch": "@@ -331,7 +331,7 @@ const consoleMethods = {\n name: 'Trace',\n message: this[kFormatForStderr](args)\n };\n- Error.captureStackTrace(err, trace);\n+ Error.captureStackTrace(err, this.trace);\n this.error(err.stack);\n },...
2019-03-19T00:56:32
golang/go
c49627e81b05f23f97544fc6bfae3347296b4a06
79e03a9281ba03f9f79904f074e2e343f2140bdd
cmd/compile: use canonical stringslice/ representations in abiutils A chunk of code in abiutils was synthesizing the internals of a Go string type as "struct { unsafe.Pointer, uintptr }" instead of the more canonical representation "struct { *uint8, int }" used elsewhere in the compiler. The abiutils type was being pu...
[ { "path": "src/cmd/compile/internal/abi/abiutils.go", "patch": "@@ -715,19 +715,20 @@ func setup() {\n \tsynthOnce.Do(func() {\n \t\tfname := types.BuiltinPkg.Lookup\n \t\tnxp := src.NoXPos\n-\t\tunsp := types.Types[types.TUNSAFEPTR]\n-\t\tui := types.Types[types.TUINTPTR]\n+\t\tbp := types.NewPtr(types.Typ...
2021-11-10T20:36:25
huggingface/transformers
41e5abac5cb49983a08ddef3e8645d6efd23c8f3
da3c7d1d36a7f4df7c6227ffc82d2bb5d3fa4a57
FIX: Bug in PEFT integration delete_adapter method (#41252) The main content of this PR is to fix a bug in the delete_adapter method of the PeftAdapterMixin. Previously, it did not take into account auxiliary modules from PEFT, e.g. those added by modules_to_save. This PR fixes this oversight. Note that the PR uses a...
[ { "path": "src/transformers/integrations/peft.py", "patch": "@@ -15,7 +15,6 @@\n import importlib\n import inspect\n import re\n-import warnings\n from typing import Any, Optional, Union\n \n from packaging import version\n@@ -70,14 +69,9 @@ class PeftAdapterMixin:\n more details about adapters and inje...
2025-10-02T16:36:57
electron/electron
571b595571401ee9c1c694445e572bc05c5311d5
8ff0b050f878157bcdc38c29a4dfb49ec5f2c016
Fix Tag Typo We should probably have tests for Windows notifications ;-)
[ { "path": "brightray/browser/win/windows_toast_notification.cc", "patch": "@@ -157,7 +157,7 @@ bool WindowsToastNotification::SetXmlText(\n \n bool WindowsToastNotification::SetXmlImage(\n IXmlDocument* doc, std::string icon_path) {\n- ScopedHString tag(L\"imag\");\n+ ScopedHString tag(L\"image\");\n ...
2015-11-16T15:41:37
vercel/next.js
a3c8d5948321b80b1eaa07ae50459fce57f42c2c
d3234cb1acb303c2c8275b2bb7c968a9f178dc7d
handle chunk register in the sync runtime.none correctly (vercel/turbo#4648) ### Description Using an async function in the sync runtime.none will swallow the error into a rejected Promise instead of rethrowing it.
[ { "path": "crates/turbopack-dev/js/src/runtime.js", "patch": "@@ -1388,15 +1388,15 @@ function markChunkListAsRuntime(chunkListPath) {\n /**\n * @param {ChunkRegistration} chunkRegistration\n */\n-async function registerChunk([chunkPath, chunkModules, runtimeParams]) {\n+function registerChunk([chunkPath,...
2023-04-20T13:52:47