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 |
|---|---|---|---|---|---|
nodejs/node | 54ae5309513b3fa3b9ffa0e03faa70cf22a0bb90 | 89344f5bee0dc566e5990c9618efbb73d6a9284d | src: readlink("/proc/self/exe") -> uv_exename()
This commit also adds error handling. A THP-enabled build terminated
with an out-of-memory error on a system without /proc because it cast
the -1 from readlink() to size_t (i.e. ULONG_MAX) and then tried to
allocate a string of that size.
PR-URL: https://github.com/node... | [
{
"path": "src/large_pages/node_large_page.cc",
"patch": "@@ -115,8 +115,12 @@ static struct text_region FindNodeTextRegion() {\n std::string exename;\n {\n char selfexe[PATH_MAX];\n- ssize_t count = readlink(\"/proc/self/exe\", selfexe, PATH_MAX);\n- exename = std::string(selfexe, count... | 2019-06-21T09:16:05 |
huggingface/transformers | 942f110c2fdc3a17b400b0eb8fea33580f723b5a | e5a860837f8a4f577b93e35677584906860bb6eb | [style] Use 'x | y' syntax for processors as well (#43189)
* Use 'x | y' syntax for type annotations
* reapply style etc
* fix type using themselves....
* fix
---------
Co-authored-by: Cyril Vallez <cyril.vallez@huggingface.co>
Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com> | [
{
"path": "pyproject.toml",
"patch": "@@ -50,16 +50,6 @@ extend-safe-fixes = [\n \"__init__.py\" = [\"E402\", \"F401\", \"F403\", \"F811\"]\n \"src/transformers/file_utils.py\" = [\"F401\"]\n \"src/transformers/utils/dummy_*.py\" = [\"F401\"]\n-# type validation does not work with `x | y` syntax, so we have... | 2026-01-09T12:23:33 |
vercel/next.js | 9e4b87d502e1e20351e111d92e70b2e54ac0351a | ae3db7ce6b0c09cc9bc3e96105cb180ace516505 | chore(deps): bump react `18.3.0-canary-1fdacbefd-20230630` (#52005)
This PR updates the vendored react dependencies using `pnpm sync-react`
### React upstream changes
- https://github.com/facebook/react/pull/27028
- https://github.com/facebook/react/pull/27027
- https://github.com/facebook/react/pull/27019
- ... | [
{
"path": "package.json",
"patch": "@@ -189,14 +189,14 @@\n \"random-seed\": \"0.3.0\",\n \"react\": \"18.2.0\",\n \"react-17\": \"npm:react@17.0.2\",\n- \"react-builtin\": \"npm:react@18.3.0-canary-1cea38448-20230530\",\n+ \"react-builtin\": \"npm:react@18.3.0-canary-1fdacbefd-20230630\",... | 2023-07-04T09:32:31 |
electron/electron | 7bd11c14f600647df43d31f3aaf54959e8a61fab | fb6f5320e7d711ed23d79bb92489457ae401415c | Update brightray to fix linking problem on Linux | [
{
"path": "vendor/brightray",
"patch": "@@ -1 +1 @@\n-Subproject commit 248d42247df0a2862144c87c313f37444895861f\n+Subproject commit d5ddb834fe5bc7d914e098ecf7c35b10b5322f54",
"additions": 1,
"deletions": 1,
"language": "Unknown"
}
] | 2016-05-18T00:42:38 |
golang/go | 5a040c5a3678857f03e77822956c916e8274b2c3 | 29b968e76638c22368f775a4347a544a096d9380 | go/token: allocate fewer times at init time
go/token has had a global "keywords" map filled at init time for years.
Overall, the package's init time cost is small, as per GODEBUG=inittrace=1:
init go/token @0.51 ms, 0.004 ms clock, 1776 bytes, 5 allocs
init go/token @0.44 ms, 0.003 ms clock, 1776 bytes, 5 allocs
i... | [
{
"path": "src/go/token/token.go",
"patch": "@@ -286,7 +286,7 @@ func (op Token) Precedence() int {\n var keywords map[string]Token\n \n func init() {\n-\tkeywords = make(map[string]Token)\n+\tkeywords = make(map[string]Token, keyword_end-(keyword_beg+1))\n \tfor i := keyword_beg + 1; i < keyword_end; i++ {... | 2022-03-09T14:57:58 |
huggingface/transformers | e5a860837f8a4f577b93e35677584906860bb6eb | 90b90fc0d9d8a6b0dd2be52d158caa5dd2f68bbe | Fix generation config validation (#43175)
* fix
* extend the test case by trying to save the model | [
{
"path": "src/transformers/generation/configuration_utils.py",
"patch": "@@ -687,7 +687,7 @@ def validate(self, strict=False):\n )\n \n # 2.5. check cache-related arguments\n- if self.use_cache is not True:\n+ if self.use_cache is False:\n # In this case, a... | 2026-01-09T11:26:35 |
nodejs/node | 3a9cb5ccb054393df131254a29ab8b1847c16751 | e5e96fbc35202b5d61e6c1b9210917f20f1a8b12 | src: fix OpenBSD build
PR-URL: https://github.com/nodejs/node/pull/28384
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Rich Trott <rtrott@gmail.com> | [
{
"path": "src/debug_utils.cc",
"patch": "@@ -26,9 +26,11 @@\n \n #endif // __POSIX__\n \n-#if defined(__linux__) || defined(__sun) || defined(__FreeBSD__)\n+#if defined(__linux__) || defined(__sun) || \\\n+ defined(__FreeBSD__) || defined(__OpenBSD__)\n #include <link.h>\n-#endif // (__linux__) || def... | 2019-06-22T12:08:35 |
huggingface/transformers | 90b90fc0d9d8a6b0dd2be52d158caa5dd2f68bbe | 727070242cc38d54ff4f542bf06d357660c75e44 | Rework check_config_attributes.py (#43191)
* rework
* fix | [
{
"path": "utils/check_config_attributes.py",
"patch": "@@ -30,340 +30,138 @@\n \n CONFIG_MAPPING = transformers.models.auto.configuration_auto.CONFIG_MAPPING\n \n+# Usually of small list of allowed attrs, but can be True to allow all\n SPECIAL_CASES_TO_ALLOW = {\n- \"AfmoeConfig\": [\n- \"global_... | 2026-01-09T11:11:05 |
electron/electron | 13bfb099a2d23c302d43e26829a8fbf7a571dc2d | f53aabaef57ab29f28a9ee7ce8eae76f1b7bd278 | Fix the toolbar showing when titleBarStyle is hidden-inset | [
{
"path": "atom/browser/native_window_mac.h",
"patch": "@@ -91,6 +91,10 @@ class NativeWindowMac : public NativeWindow {\n UpdateDraggableRegionViews(draggable_regions_);\n }\n \n+ // Set the attribute of NSWindow while work around a bug of zoom button.\n+ void SetStyleMask(bool on, NSUInteger flag)... | 2016-05-17T07:19:28 |
nodejs/node | 15674610524a1c97ba12c7f00f65cf62ca4bb800 | 99879cac865877825a5a1feda4b766a6f780573f | deps: dlloads node static linked executable
OpenSSL dlloads itself to prevent unloading, in case it might be
dynamically loaded. However when linked statically this will lead to
dloading the main executable.
Refs: https://github.com/nodejs/node/pull/21848#issuecomment-498396551
PR-URL: https://github.com/nodejs/node/... | [
{
"path": "common.gypi",
"patch": "@@ -496,6 +496,18 @@\n '-Wl,--export-dynamic',\n ],\n }],\n+ # if node is built as an executable,\n+ # the openssl mechanism for keeping itself \"dload\"-ed to ensure proper\n+ # atexit cleanup does not apply\n+ ['node_... | 2019-06-04T18:15:50 |
vercel/next.js | c53a880d880fde85c7cc707e407adb62956180ab | fdaf93d2a878c5d7800a5f4f093d2b3be73910b0 | improve dynamic reexporting (vercel/turbo#5452)
### Description
This fixes some problems when `export * from "client component"`, as
`"use client"` creates a non-enumerable Proxy object, so we need to
really redirect property access.
* `__turbopack_export_namespace__` counts as dynamic
* use Proxy to correctl... | [
{
"path": "crates/turbopack-ecmascript-runtime/js/src/build/runtime.ts",
"patch": "@@ -37,7 +37,7 @@ interface TurbopackNodeBuildContext {\n f: RequireContextFactory;\n i: EsmImport;\n s: EsmExport;\n- j: typeof cjsExport;\n+ j: typeof dynamicExport;\n v: ExportValue;\n n: typeof exportNamespace... | 2023-07-04T09:12:52 |
huggingface/transformers | 0d250f3f09fa72b2305864bcd8d329f463ace878 | 59b9cb06f4a19c6d6601cb3e96c018f170ff6808 | Fixes and compilation warning in torchao docs (#42909)
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com> | [
{
"path": "docs/source/en/quantization/torchao.md",
"patch": "@@ -86,6 +86,9 @@ Create a [`TorchAoConfig`] and specify the quantization type and `group_size` of\n \n We'll show examples for recommended quantization methods based on hardwares, e.g. A100 GPU, H100 GPU, CPU.\n \n+> [!WARNING]\n+> torchao autom... | 2026-01-09T08:27:27 |
electron/electron | e53bfad01842429acf37439a935bf4d7622f6417 | 54c654530e17062454d7d660e91e5a9f5c954c4d | Fix building on Windows | [
{
"path": "atom/browser/ui/file_dialog_win.cc",
"patch": "@@ -203,7 +203,7 @@ bool ShowOpenDialog(atom::NativeWindow* parent_window,\n options |= FOS_ALLOWMULTISELECT;\n \n FileDialog<CShellFileOpenDialog> open_dialog(\n- default_path, title, filters, options);\n+ default_path, title, button... | 2016-05-16T01:09:41 |
nodejs/node | 42081580ac6346570848d0430ca6852f4b236324 | 816db9e1927f6b6c8e283001fd788525275ede58 | src: read break_node_first_line from the inspect options
There are cases where the debug_options() on the env are
different to the options that were passed into inspector::Agent.
PR-URL: https://github.com/nodejs/node/pull/28034
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@brid... | [
{
"path": "src/node.cc",
"patch": "@@ -254,7 +254,7 @@ int Environment::InitializeInspector(\n \n profiler::StartProfilers(this);\n \n- if (options_->debug_options().break_node_first_line) {\n+ if (inspector_agent_->options().break_node_first_line) {\n inspector_agent_->PauseOnNextJavascriptStatemen... | 2019-06-19T18:44:49 |
vercel/next.js | ae3db7ce6b0c09cc9bc3e96105cb180ace516505 | 4f75c7993815dac50a6db3e078c51e6ae8d5bbdc | Memoize useRouter from next/navigation when used in Pages Router (#52177)
## What?
Ensures the router instance passed for `next/navigation` in Pages Router is a stable reference. For App Router the router instance is already a stable reference, so making this one stable too would fix #18127.
## How?
Added `React.u... | [
{
"path": "packages/next/src/client/index.tsx",
"patch": "@@ -326,6 +326,10 @@ function renderApp(App: AppComponent, appProps: AppProps) {\n function AppContainer({\n children,\n }: React.PropsWithChildren<{}>): React.ReactElement {\n+ // Create a memoized value for next/navigation router context.\n+ co... | 2023-07-04T09:11:21 |
golang/go | 604140d93111f89911e17cb147dcf6a02d2700d0 | 9faef5a6540f56af0129610db8a55b443229075f | net/url: add JoinPath, URL.JoinPath
Builds on CL 332209.
Fixes #47005
Change-Id: I82708dede05d79a196ca63f5a4e7cb5ac9a041ea
GitHub-Last-Rev: 51b735066eef74f5e67c3e8899c58f44c0383c61
GitHub-Pull-Request: golang/go#50383
Reviewed-on: https://go-review.googlesource.com/c/go/+/374654
Reviewed-by: Russ Cox <rsc@golang.org... | [
{
"path": "api/next.txt",
"patch": "@@ -3,3 +3,5 @@ pkg encoding/binary, type AppendByteOrder interface, AppendUint16([]uint8, uint1\n pkg encoding/binary, type AppendByteOrder interface, AppendUint32([]uint8, uint32) []uint8\n pkg encoding/binary, type AppendByteOrder interface, AppendUint64([]uint8, uint6... | 2022-03-04T14:49:52 |
huggingface/transformers | 6a99907c9b7dbfbae3f6c3730d4ef66c2dca02f2 | 0089b8893a4f9c9bb7dc362fb9e1b86e28628d35 | [makefile] Cleanup and improve the rules (#43171)
* clean up all rules
* update docs
* fix
* do not crash on error for one check
* change CI command
* escape
* fix | [
{
"path": ".circleci/config.yml",
"patch": "@@ -189,7 +189,11 @@ jobs:\n - run: python utils/check_config_docstrings.py\n - run: python utils/check_config_attributes.py\n - run: python utils/check_doctest_list.py\n- - run: make deps_table_check_updated\n+ ... | 2026-01-08T17:29:37 |
electron/electron | 54c654530e17062454d7d660e91e5a9f5c954c4d | 6217d497edfe9f691888db8b4fcc296882218800 | Fix linux support | [
{
"path": "atom/browser/ui/file_dialog_gtk.cc",
"patch": "@@ -44,7 +44,7 @@ class FileChooserDialog {\n filters_(filters) {\n const char* confirm_text = GTK_STOCK_OK;\n \n- if (button_label != NULL)\n+ if (!button_label.empty())\n confirm_text = button_label.c_str();\n else if (a... | 2016-05-15T06:29:13 |
nodejs/node | 816db9e1927f6b6c8e283001fd788525275ede58 | 8a10b50b6732176ac4335752045e3d7f4545443b | doc: fixup esm resolver spec formatting
PR-URL: https://github.com/nodejs/node/pull/28885
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com> | [
{
"path": "doc/api/esm.md",
"patch": "@@ -667,7 +667,7 @@ _isMain_ is **true** when resolving the Node.js application entry point.\n <details>\n <summary>Resolver algorithm specification</summary>\n \n-**ESM_RESOLVE(_specifier_, _parentURL_, _isMain_)**\n+**ESM_RESOLVE**(_specifier_, _parentURL_, _isMain_)\... | 2019-07-28T21:58:10 |
huggingface/transformers | 9255982e2ef416a5f2298609d50199554bac9ce7 | 82c3b164b0fce3cea8192506daf7c73f7216953e | [`Fp8`] Fix experts (#43154)
* fix fp8 experts
* sync index select to base indexing
* add test and comment; test will be enabled with the minimax PR
* style | [
{
"path": "src/transformers/integrations/finegrained_fp8.py",
"patch": "@@ -527,25 +527,27 @@ def __init__(self, config, block_size, dtype=torch.float8_e4m3fn):\n # Keep a handle here; actual usage happens in forward of your MoE block\n self.act_fn = ACT2FN[config.hidden_act]\n \n+ # We f... | 2026-01-08T16:37:28 |
golang/go | 3a5e3d8173df547d8360a609097fc80f01182db1 | e189b5e06d4831025758c0b152838fa1a0375525 | go/types, types2: pointer base types cannot be type constraints
Pointer types may appear in expressions *P and we don't know if
we have an indirection (P is a pointer value) or a pointer type
(P is a type) until we type-check P. Don't forget to check that
a type P must be an ordinary (not a constraint) type in this
sp... | [
{
"path": "src/cmd/compile/internal/types2/expr.go",
"patch": "@@ -1642,6 +1642,7 @@ func (check *Checker) exprInternal(x *operand, e syntax.Expr, hint Type) exprKin\n \t\t\t\tcase invalid:\n \t\t\t\t\tgoto Error\n \t\t\t\tcase typexpr:\n+\t\t\t\t\tcheck.validVarType(e.X, x.typ)\n \t\t\t\t\tx.typ = &Pointer... | 2022-03-09T22:27:25 |
vercel/next.js | 5d06b79e92fc3ea467a0da9029a259d8c4093521 | b8ae8d210ad9953f3f481ded56cbcb4a01bf495a | Support scroll: false for Link component for app router (#51869)
### What
Support `scroll={false}` for Link component in app router. This can be
used when you don't need to scroll back to top again when route url
changes. For instance hash query changes, if you want to keep the
scrolling as it is, you can use th... | [
{
"path": "packages/next/src/client/components/app-router.tsx",
"patch": "@@ -231,11 +231,7 @@ function Router({\n )\n \n const navigate: RouterNavigate = useCallback(\n- (\n- href: string,\n- navigateType: 'push' | 'replace',\n- forceOptimisticNavigation: boolean\n- ) => {\n+ (h... | 2023-07-04T08:25:25 |
electron/electron | 6217d497edfe9f691888db8b4fcc296882218800 | 84cce6c2c1af84f83d417e8d2926a8ad3c2d73dd | Fix build issues | [
{
"path": "atom/browser/ui/file_dialog_gtk.cc",
"patch": "@@ -37,12 +37,16 @@ class FileChooserDialog {\n FileChooserDialog(GtkFileChooserAction action,\n atom::NativeWindow* parent_window,\n const std::string& title,\n+ const std::string& button_... | 2016-05-15T06:02:27 |
huggingface/transformers | 82c3b164b0fce3cea8192506daf7c73f7216953e | c8bc4dea4c24037cafa38a10ffd0d583b35441a2 | Fix failing `BitModelIntegrationTest` (#43164)
* Fix failing BitModelIntegrationTest
* Change tolerance level | [
{
"path": "tests/models/bit/test_modeling_bit.py",
"patch": "@@ -277,7 +277,7 @@ def test_inference_image_classification_head(self):\n \n expected_slice = torch.tensor([[-0.6526, -0.5263, -1.4398]]).to(torch_device)\n \n- torch.testing.assert_close(outputs.logits[0, :3], expected_slice, rtol=... | 2026-01-08T16:28:50 |
nodejs/node | 779a05d5d1bfe2eeb05386f6415d36f80ca0b3b5 | 35cb9558658e587d98b6d83bfd2b1642ba2cc8c2 | http: reset parser.incoming when server response is finished
This resolves a memory leak for keep-alive connections with a naïve
approach.
Fixes: https://github.com/nodejs/node/issues/9668
PR-URL: https://github.com/nodejs/node/pull/28646
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Rich Trott... | [
{
"path": "lib/_http_server.js",
"patch": "@@ -621,6 +621,8 @@ function resOnFinish(req, res, socket, state, server) {\n assert(state.incoming.length === 0 || state.incoming[0] === req);\n \n state.incoming.shift();\n+ // Reset the .incoming property so that the request object can be gc'ed.\n+ if (soc... | 2019-07-11T22:32:21 |
golang/go | a987aaf5f7a5f64215ff75ac93a2c1b39967a8c9 | b8248fab897da9bee2211a98df1656883ccecd6d | cmd/compile: require -p flag
The -p flag specifies the import path of the package being compiled.
This CL makes it required when invoking the compiler and
adjusts tests that invoke the compiler directly to conform to this
new requirement. The go command already passes the flag, so it
is unmodified in this CL. It is ex... | [
{
"path": "src/cmd/compile/internal/base/flag.go",
"patch": "@@ -201,6 +201,10 @@ func ParseFlags() {\n \t\tExit(2)\n \t}\n \n+\tif *Flag.LowerP == \"\" {\n+\t\tlog.Fatalf(\"-p is required\")\n+\t}\n+\n \tif Flag.LowerO == \"\" {\n \t\tp := flag.Arg(0)\n \t\tif i := strings.LastIndex(p, \"/\"); i >= 0 {",
... | 2022-03-08T23:16:35 |
vercel/next.js | e17218fcba36ef148797dfefd5147e01cb29843b | b4b98e84d96a103eb4fc434faa78ffec3b220949 | fix: next.config.js with `unstable_getImgProps()` (#52153)
- Fixes #52116 | [
{
"path": "packages/next/src/client/image-component.tsx",
"patch": "@@ -30,6 +30,7 @@ import { warnOnce } from '../shared/lib/utils/warn-once'\n // @ts-ignore - This is replaced by webpack alias\n import defaultLoader from 'next/dist/shared/lib/image-loader'\n \n+// This is replaced by webpack define plugin... | 2023-07-03T23:56:36 |
electron/electron | 236810a9230bcb4bc0f4e6e0ef2a18348f272104 | bebf8eabca636b662faaf741c73ffc7aca3b6cad | 💄 Use ES6; clean up CoffeeScript conversion
:lipstick: Destructure app module
Address linting errors | [
{
"path": "lib/browser/api/browser-window.js",
"patch": "@@ -1,28 +1,24 @@\n 'use strict'\n \n-const ipcMain = require('electron').ipcMain\n-const EventEmitter = require('events').EventEmitter\n+const {ipcMain} = require('electron')\n+const {EventEmitter} = require('events')\n const {BrowserWindow} = proces... | 2016-05-14T15:41:34 |
nodejs/node | 41fa5536d179e86540756c78f7794bbd697c8697 | 4e2d1a1433d17a3b327b76aebdb3e56e90c060b1 | test: specialize OOM check for AIX
Assumption that if memory can be malloc()ed it can be used is not true
on AIX. Later access of the allocated pages can trigger SIGKILL if there
are insufficient VM pages.
Use psdanger() to better estimate available memory.
Fixes: https://github.com/nodejs/build/issues/1849
More in... | [
{
"path": "test/addons/addon.status",
"patch": "@@ -3,17 +3,3 @@ prefix addons\n [true] # This section applies to all platforms\n \n [$system==aix]\n-# https://github.com/nodejs/build/issues/1820#issuecomment-505998851\n-# https://github.com/nodejs/node/pull/28469\n-# https://github.com/nodejs/node/pull/285... | 2019-07-24T21:07:55 |
vercel/next.js | d8ad0d3cbf69457d3763eaae2ad9b74dbdc27466 | 3a87f0005ef4ded3b9083e0b7715dc2206f065f0 | Fix `modularizeImports` transform of `antd` (#52148)
`antd` should be using `kebabCase`:
https://unpkg.com/browse/antd@5.6.4/es/index.js
This addresses the problem below as I tested locally:
<img width="397" alt="CleanShot 2023-07-03 at 20 45 48@2x"
src="https://github.com/vercel/next.js/assets/3676859/73ae99b... | [
{
"path": "packages/next/src/server/config.ts",
"patch": "@@ -714,7 +714,7 @@ function assignDefaults(\n transform: 'react-bootstrap/{{member}}',\n },\n antd: {\n- transform: 'antd/es/{{member}}',\n+ transform: 'antd/es/{{kebabCase member}}',\n },\n ahooks: {\n transfor... | 2023-07-03T20:48:32 |
golang/go | b8248fab897da9bee2211a98df1656883ccecd6d | 7026eeb8cfdc5801adddaaa678fb6495a998db0e | go/types, types2: disable field accesses through type parameters
This is a feature that is not understood well enough and may have
subtle repercussions impacting future changes. Disable for Go 1.18.
The actual change is trivial: disable a branch through a flag.
The remaining changes are adjustments to tests.
Fixes #... | [
{
"path": "src/cmd/compile/internal/types2/lookup.go",
"patch": "@@ -70,7 +70,8 @@ func LookupFieldOrMethod(T Type, addressable bool, pkg *Package, name string) (o\n \t// see if there is a matching field (but not a method, those need to be declared\n \t// explicitly in the constraint). If the constraint is ... | 2022-03-09T18:01:24 |
huggingface/transformers | c8bc4dea4c24037cafa38a10ffd0d583b35441a2 | 607d24dd0ea8ebdb80d524f854b71d6059a6f667 | Support `auto_doctring` in Processors (#42101)
* remove attributes and add all missing sub processors to their auto classes
* remove all mentions of .attributes
* cleanup
* fix processor tests
* fix modular
* remove last attributes
* fixup
* fixes after merge
* fix wrong tokenizer in auto florence2
* fix miss... | [
{
"path": "docs/source/en/model_doc/align.md",
"patch": "@@ -166,6 +166,7 @@ for label, score in zip(candidate_labels, probs):\n ## AlignProcessor\n \n [[autodoc]] AlignProcessor\n+ - __call__\n \n ## AlignModel\n ",
"additions": 1,
"deletions": 0,
"language": "Markdown"
},
{
"path": ... | 2026-01-08T16:08:46 |
rust-lang/rust | 33f2cc7eda7a97e2870f9c60a229211a5f416b7a | 3fa0ec91d8f3f14f9514d45d93e6fb7fdf1ad89e | Fix line break after ":" in unpretty attribute print
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com> | [
{
"path": "compiler/rustc_macros/src/print_attribute.rs",
"patch": "@@ -21,7 +21,8 @@ fn print_fields(name: &Ident, fields: &Fields) -> (TokenStream, TokenStream, Tok\n __p.word_space(\",\");\n }\n __p.word(#string_name);\n- ... | 2025-07-05T20:21:28 |
nodejs/node | 147b9d9792fe5772b554f4be77305805f361a42d | db1c4a7592a896053a8f791d7cc38a6de5c4a059 | stream: resolve perf regression introduced by V8 7.3
This commit contains two fixes:
1. use instanceof instead of Object.getPrototypeOf, as checking an
object prototype with Object.getPrototypeOf is slower
than an instanceof check.
2. avoid parseInt(undefined, 10) to get NaN as it regressed.
PR-URL: https://git... | [
{
"path": "lib/_stream_readable.js",
"patch": "@@ -256,7 +256,8 @@ function readableAddChunk(stream, chunk, encoding, addToFront) {\n } else if (state.objectMode || chunk && chunk.length > 0) {\n if (typeof chunk !== 'string' &&\n !state.objectMode &&\n- Object.getPrototypeOf(ch... | 2019-07-24T13:56:13 |
vercel/next.js | 3a87f0005ef4ded3b9083e0b7715dc2206f065f0 | cd9372c1752d5206a4895659725edc24728418cf | Change the Server Actions feature flag to be validated at compile time (#52147)
Currently we are validating the `experimental.serverActions` flag when creating the actual entries for Server Actions, this causes two problems. One is that syntax errors caught at compilation time are still shown, even if you don't have t... | [
{
"path": "packages/next-swc/crates/core/src/server_actions.rs",
"patch": "@@ -22,6 +22,7 @@ use turbopack_binding::swc::core::{\n #[serde(deny_unknown_fields, rename_all = \"camelCase\")]\n pub struct Config {\n pub is_server: bool,\n+ pub enabled: bool\n }\n \n pub fn server_actions<C: Comments>(\n... | 2023-07-03T20:29:57 |
golang/go | 7026eeb8cfdc5801adddaaa678fb6495a998db0e | 0d33a9967540fe06f5ce7b14790e9be8da576936 | cmd/go: fix buildvcs when using older git versions
Git versions before v2.10.0 do not support --no-show-signature.
Using "-c" allows Git to ignore the configuration option if it does not
exist.
Fixes #51253
Change-Id: I2b1adaca0eb18ae31f2e1119e354ce515b00cfc2
Reviewed-on: https://go-review.googlesource.com/c/go/+/38... | [
{
"path": "src/cmd/go/internal/vcs/vcs.go",
"patch": "@@ -312,7 +312,7 @@ func gitStatus(vcsGit *Cmd, rootDir string) (Status, error) {\n \t// uncommitted files and skip tagging revision / committime.\n \tvar rev string\n \tvar commitTime time.Time\n-\tout, err = vcsGit.runOutputVerboseOnly(rootDir, \"show ... | 2022-02-27T12:52:22 |
huggingface/transformers | 607d24dd0ea8ebdb80d524f854b71d6059a6f667 | 457048fbfdba9a7dee8bd03328c62f49e57b95f9 | GemmaTokenizer: remove redundant whitespace pre-tokenizer (#43106)
* 43062: fixed redundant gemma pre_tokenizer
* 43062: fixed redundant gemma pre_tokenizer
* fixing the test for CI
* removed the test case
* Update src/transformers/models/gemma/tokenization_gemma.py
Co-authored-by: Ita Zaporozhets <31893021+itaza... | [
{
"path": "src/transformers/models/gemma/tokenization_gemma.py",
"patch": "@@ -12,7 +12,7 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n \n-from tokenizers import Tokenizer, decoders, normalizers, pre_tokenizers\n+from tokenizers import Tokeni... | 2026-01-08T15:28:38 |
electron/electron | 0b5efcbc75aab8e42ea967158c4dde335b42176b | 5ec2e8d7e503e9d40c1d75fa17304c3d3a050662 | wrong link destination | [
{
"path": "docs/faq/electron-faq.md",
"patch": "@@ -9,7 +9,7 @@ depends on the amount of work involved with upgrading.\n Only the stable channel of Chrome is used. If an important fix is in beta or dev\n channel, we will back-port it.\n \n-For more information, please see the [security introduction](../tuto... | 2016-05-14T15:36:11 |
nodejs/node | db1c4a7592a896053a8f791d7cc38a6de5c4a059 | 70bb570bfb9e35e8a2295efe7277d35437235074 | n-api: refactor a previous commit
This is a refactoring of https://github.com/nodejs/node/issues/27628
following https://github.com/nodejs/node/pull/28505.
This change factors out functions `add_last_status()` and
`add_returned_status()` so they may be reused in the tests for passing
information about the last error ... | [
{
"path": "test/js-native-api/common.c",
"patch": "@@ -0,0 +1,51 @@\n+#include <js_native_api.h>\n+#include \"common.h\"\n+\n+#include <stdio.h>\n+\n+void add_returned_status(napi_env env,\n+ const char* key,\n+ napi_value object,\n+ ch... | 2019-07-18T06:28:37 |
vercel/next.js | 11bd7725b5bec00c721033d0d1f3a74f96f3cc86 | f6a152287a8c0f7d4f8df58b014d48510788ccd7 | Add missing url hash (#52123)
<!-- 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
### Improving... | [
{
"path": "docs/01-getting-started/02-project-structure.mdx",
"patch": "@@ -63,7 +63,7 @@ This page provides an overview of the file and folder structure of a Next.js pro\n | | ... | 2023-07-03T15:36:09 |
golang/go | 0d33a9967540fe06f5ce7b14790e9be8da576936 | 7160e3252991d9462ee3a155b5504c564a6cffe5 | runtime/pprof: fix pcDeck's frame indexing
When building the inlining deck, correctly identify which is the last
frame in the deck. Otherwise, when some forms of inlining cause a PC to
expand to multiple frames, the length of the deck's two slices will
diverge.
Fixes #51567
Change-Id: I24e7ba32cb16b167f4307178b3f03c... | [
{
"path": "src/runtime/pprof/proto.go",
"patch": "@@ -530,7 +530,7 @@ func (d *pcDeck) reset() {\n // since the stack trace is already fully expanded) and the symbolizeResult\n // to the deck. If it fails the caller needs to flush the deck and retry.\n func (d *pcDeck) tryAdd(pc uintptr, frames []runtime.Fr... | 2022-03-09T15:56:04 |
huggingface/transformers | 457048fbfdba9a7dee8bd03328c62f49e57b95f9 | 3613607215bd44e5bbdbeafecd978e37a072cd02 | fix failure of llava/pixtral (#42985)
* fix failure of llava/pixtral
Signed-off-by: Wang, Yi <yi.a.wang@intel.com>
* also fix the issue of Mistral-Small-3.1-24B-Instruct-2503-only-processor tokenizer
Signed-off-by: Wang, Yi <yi.a.wang@intel.com>
* update
Signed-off-by: Wang, Yi A <yi.a.wang@intel.com>
* update
... | [
{
"path": "tests/models/llava/test_modeling_llava.py",
"patch": "@@ -33,6 +33,7 @@\n Expectations,\n cleanup,\n require_bitsandbytes,\n+ require_deterministic_for_xpu,\n require_torch,\n require_vision,\n slow,\n@@ -298,16 +299,20 @@ def tearDown(self):\n cleanup(torch_dev... | 2026-01-08T14:27:18 |
electron/electron | 3214fdd73f8dbc65e4d98be72bcbad91860bea3a | d3e359ab2d0b4c439a8b6a378766dc41244926d6 | Fix failing CI on OS X | [
{
"path": "script/bootstrap.py",
"patch": "@@ -52,9 +52,6 @@ def main():\n if PLATFORM != 'win32':\n # Download prebuilt clang binaries.\n update_clang()\n- if not args.disable_clang and args.clang_dir == '':\n- # Build with prebuilt clang.\n- set_clang_env(os.environ)\n \n setup_py... | 2016-05-14T14:11:13 |
huggingface/transformers | 3613607215bd44e5bbdbeafecd978e37a072cd02 | 93d7affdb8b1c8126e7e674124b7cb8f823bd3f8 | Fix failing `BartModelIntegrationTest` (#43160)
Fix failing BartModelIntegrationTest | [
{
"path": "tests/models/bart/test_modeling_bart.py",
"patch": "@@ -894,7 +894,7 @@ def default_tokenizer(self):\n \n @slow\n def test_inference_no_head(self):\n- model = BartModel.from_pretrained(\"facebook/bart-large\").to(torch_device)\n+ model = BartModel.from_pretrained(\"facebook/... | 2026-01-08T14:11:23 |
nodejs/node | 499533f72a2dce111d6fde9c21b90b51fff35ab6 | 31d9b2f14fe9851b530c213b92e14b4646f6d131 | crypto: fix handling of malicious getters (scrypt)
It is possible to bypass parameter validation in crypto.scrypt and
crypto.scryptSync by crafting option objects with malicious getters as
demonstrated in the regression test. After bypassing validation, any
value can be passed to the C++ layer, causing an assertion to... | [
{
"path": "lib/internal/crypto/scrypt.js",
"patch": "@@ -80,31 +80,31 @@ function check(password, salt, keylen, options) {\n if (options && options !== defaults) {\n let has_N, has_r, has_p;\n if (has_N = (options.N !== undefined)) {\n- validateUint32(options.N, 'N');\n N = options.N;\n... | 2019-07-23T13:12:32 |
golang/go | 7160e3252991d9462ee3a155b5504c564a6cffe5 | c6d9b38dd82fea8775f1dff9a4a70a017463035d | cmd/compile: mark instantiated generic functions as DUPOK
Unified IR wasn't marking instantiated generic functions as DUPOK,
even though they can appear in multiple compilation units, which
evidently interfered with cmd/link's dead code elimination logic.
Manually confirmed to fix the issue, but non-trivial to test w... | [
{
"path": "src/cmd/compile/internal/noder/reader.go",
"patch": "@@ -644,6 +644,10 @@ func (pr *pkgReader) objIdx(idx int, implicits, explicits []*types.Type) ir.Node\n \t\tname.Func = ir.NewFunc(r.pos())\n \t\tname.Func.Nname = name\n \n+\t\tif r.hasTypeParams() {\n+\t\t\tname.Func.SetDupok(true)\n+\t\t}\n+... | 2022-03-08T22:59:32 |
vercel/next.js | c87a1b12c37e94e574b91c50c3b182e3c8266fa0 | 10605a15c16ec987083c20c99d0f9c1c6e95a660 | fix: env hot reload for RSC pages (#51930)
### Issue
When you edit .env* files, the pages under app dir that using env vars are not triggering hot reload
### Fix
Triggering serverComponentChanges hot reload action when we detect env or tsconfig related change. There's a time period that we need to wait before the com... | [
{
"path": "packages/next/src/client/components/react-dev-overlay/hot-reloader-client.tsx",
"patch": "@@ -428,7 +428,7 @@ function processMessage(\n router.fastRefresh()\n dispatcher.onRefresh()\n })\n- } else {\n+ } else if (pageRes.status === 404) {... | 2023-07-03T10:11:28 |
huggingface/transformers | 93d7affdb8b1c8126e7e674124b7cb8f823bd3f8 | 2877e4e2ab41bd8934ae7691cb50a0f7a7c2fb31 | Generation config boolean defaults (#43000)
* push
* fix a few tests
* why no tests are failing, suspicious
* one tiny fix
* maybe?
* typo
* clvp has incorrect config types
* nit
* docstring and revert unrelated trainer
* forgot to revert this one
* Update src/transformers/generation/configuration_utils.py
... | [
{
"path": "src/transformers/configuration_utils.py",
"patch": "@@ -1144,11 +1144,15 @@ def register_for_auto_class(cls, auto_class=\"AutoConfig\"):\n \n def _get_generation_parameters(self) -> dict[str, Any]:\n \"\"\"\n- Gets the non-default generation parameters on the PreTrainedConfig i... | 2026-01-08T13:32:22 |
electron/electron | 7459581d1357514ad9d91518bc3517ba4105edbb | 2234307d413b06ba5c85bc5bed6ca78818bec7d6 | Fix cpplint warnings | [
{
"path": "atom/common/native_mate_converters/blink_converter.cc",
"patch": "@@ -389,29 +389,25 @@ v8::Local<v8::Value> Converter<blink::WebCache::ResourceTypeStat>::ToV8(\n v8::Isolate* isolate,\n const blink::WebCache::ResourceTypeStat& stat) {\n mate::Dictionary dict = mate::Dictionary::CreateE... | 2016-05-14T13:40:18 |
nodejs/node | 31d9b2f14fe9851b530c213b92e14b4646f6d131 | 64e4b0c0ac5073e6606b1ccd79a464f2c5925741 | crypto: add outputLength option to crypto.createHash
This change adds an outputLength option to crypto.createHash which
allows users to produce variable-length hash values using XOF hash
functons.
Fixes: https://github.com/nodejs/node/issues/28757
PR-URL: https://github.com/nodejs/node/pull/28805
Reviewed-By: Anna He... | [
{
"path": "doc/api/crypto.md",
"patch": "@@ -1785,14 +1785,19 @@ and description of each available elliptic curve.\n ### crypto.createHash(algorithm[, options])\n <!-- YAML\n added: v0.1.92\n+changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/28805\n+ description: The `ou... | 2019-07-19T00:44:31 |
golang/go | 0add0647d80f8ec794042b4608275830372fe298 | 4469557974a95b1f4bc1c700aee6779a0f15d22e | go/printer: don't print unnecesary commas for func type param lists
Type parameter lists are not ambiguous for function declarations in the
way that they are ambiguous for type declarations. Avoid printing an
extra comma to disambiguate.
Fixes #51548
Change-Id: I8ca2b21e271982013653b9e220f92ee74f577ba2
Reviewed-on: ... | [
{
"path": "src/go/printer/nodes.go",
"patch": "@@ -319,9 +319,17 @@ func (p *printer) exprList(prev0 token.Pos, list []ast.Expr, depth int, mode exp\n \t}\n }\n \n-func (p *printer) parameters(fields *ast.FieldList, isTypeParam bool) {\n+type paramMode int\n+\n+const (\n+\tfuncParam paramMode = iota\n+\tfun... | 2022-03-08T21:43:47 |
vercel/next.js | 967b876f6b8a6d7bfaef5749ee915c55ae970306 | ce69574c24526b5335f10704294023a3a1a0241e | docs: Fix broken link (#52092)
Fix a broken link in optimizing index.mdx. | [
{
"path": "docs/02-app/01-building-your-application/05-optimizing/index.mdx",
"patch": "@@ -32,7 +32,9 @@ Additionally, you can create dynamic Open Graph Images using JSX and CSS with [i\n </AppOnly>\n \n <PagesOnly>\n-The Head Component in Next.js allows you to modify the `<head>` of a page. Learn more in ... | 2023-07-02T18:20:27 |
rust-lang/rust | f74e9b0ebfacf79e318077cf959f734a24a38e93 | 4b506ca0e1821e71fd8a6c7434dc02b5bd432a34 | Always bump in the parser in `err_and_bump()`
Even when at curly braces, otherwise the parser can get stuck.
This has happened in the past in #18625, but it was just worked around instead of handling the root of the problem. Now this happened again in #20171. IMO we can't let `err_and_bump()` not bump, that's too con... | [
{
"path": "src/tools/rust-analyzer/crates/hir-def/src/macro_expansion_tests/mod.rs",
"patch": "@@ -20,21 +20,24 @@ use base_db::RootQueryDb;\n use expect_test::Expect;\n use hir_expand::{\n AstId, InFile, MacroCallId, MacroCallKind, MacroKind,\n+ builtin::quote::quote,\n db::ExpandDatabase,\n ... | 2025-07-06T00:21:43 |
huggingface/transformers | 474bbf59b3f4f77091f39625077aa25ac4bd4072 | dca084253f2bca14b5b091b38deaeec317c14acd | Fix Fuyu processor width dimension bug in `_get_num_multimodal_tokens` (#43137)
fix: image padding in image_unpadded_w | [
{
"path": "src/transformers/models/fuyu/processing_fuyu.py",
"patch": "@@ -625,7 +625,7 @@ def _get_num_multimodal_tokens(self, image_sizes=None, **kwargs):\n optimal_scale_factor = min(height_scale_factor, width_scale_factor)\n \n image_unpadded_h = min(int(image_size[0] * o... | 2026-01-08T11:41:10 |
nodejs/node | 64e4b0c0ac5073e6606b1ccd79a464f2c5925741 | 48e13d2adfa9b3b315a80aac16100b56aef94e4a | assert: avoid potentially misleading reference to object identity
Often, the word “identical” when referring to JS objects will
be read as referring to having the same object identity (which is
called “reference equality” here), but what the error message is
trying to say here is that the objects are different but yie... | [
{
"path": "lib/internal/assert/assertion_error.js",
"patch": "@@ -22,7 +22,7 @@ const kReadableOperator = {\n notStrictEqualObject:\n 'Expected \"actual\" not to be reference-equal to \"expected\":',\n notDeepEqual: 'Expected \"actual\" not to be loosely deep-equal to:',\n- notIdentical: 'Values id... | 2019-07-23T18:38:53 |
vercel/next.js | bd24a8eb24f2f6f2151607acfc76b7ccaaf19630 | 9db91ebfa04d2ebf58f58ebd1ec2c26b46b8341a | Delegate static analyzation task to the router worker (#52104)
In the dev server, we need to call `getStaticInfoIncludingLayouts` for the middleware file to extract its `matchers` field. However, that's currently executed in both app and pages workers. This method is expensive as it depends on the SWC binary to be loa... | [
{
"path": "packages/next/src/server/dev/next-dev-server.ts",
"patch": "@@ -498,14 +498,10 @@ export default class DevServer extends Server {\n })\n \n if (isMiddlewareFile(rootFile)) {\n- const staticInfo = await getStaticInfoIncludingLayouts({\n- pageFilePath: fi... | 2023-07-02T17:04:57 |
golang/go | 4469557974a95b1f4bc1c700aee6779a0f15d22e | dbbe4cca5d7069482983316694334bdf2fe6a7ec | net/http/pprof: skip TestDeltaProfile on all arm and arm64 architectures
Given that we have seen failures with the same failure mode on both
openbsd/arm and android/arm64, it seems likely that the underlying bug
affects at least all ARM-based architectures.
It appears that either these architectures are not able to s... | [
{
"path": "src/net/http/pprof/pprof_test.go",
"patch": "@@ -153,7 +153,7 @@ func mutexHog(duration time.Duration, hogger func(mu1, mu2 *sync.Mutex, start ti\n }\n \n func TestDeltaProfile(t *testing.T) {\n-\tif runtime.GOOS == \"openbsd\" && runtime.GOARCH == \"arm\" {\n+\tif strings.HasPrefix(runtime.GOARC... | 2022-02-08T20:24:33 |
rust-lang/rust | 63cfb3af37d74d312829d4e260e03128eb7e3f27 | 0d5ab3e46ce3be1e5e3c45ac0ff7d355303c4353 | mbe: Defer checks for `compile_error!` until reporting an unused macro rule
The MBE parser checks rules at initial parse time to see if their RHS
has `compile_error!` in it, and returns a list of rule indexes and LHS
spans that don't map to `compile_error!`, for use in unused macro rule
checking.
Instead, have the un... | [
{
"path": "compiler/rustc_expand/src/base.rs",
"patch": "@@ -348,6 +348,10 @@ pub trait TTMacroExpander {\n span: Span,\n input: TokenStream,\n ) -> MacroExpanderResult<'cx>;\n+\n+ fn get_unused_rule(&self, _rule_i: usize) -> Option<(&Ident, Span)> {\n+ None\n+ }\n }\n \n pu... | 2025-07-04T08:22:37 |
electron/electron | 1bac1a9028167bde392253e45a04872d2cb9060a | 847d9580b77f41036d5f3c9720746d3038035aaa | :memo: Fix styling of the context-menu docs
[ci skip] | [
{
"path": "docs/api/web-contents.md",
"patch": "@@ -319,51 +319,57 @@ Returns:\n * `x` Integer - x coodinate\n * `y` Integer - y coodinate\n * `linkURL` String - URL of the link that encloses the node the context menu\n-was invoked on.\n+ was invoked on.\n * `linkText` String - Text associated wi... | 2016-05-14T12:35:38 |
huggingface/transformers | dca084253f2bca14b5b091b38deaeec317c14acd | 0d8f1870555614693166cfceefeb0f4231c1d4be | Fix some deprecated practices in torch 2.9 (#43167)
* update to tuple
* fix
* fix | [
{
"path": "src/transformers/models/funnel/modeling_funnel.py",
"patch": "@@ -238,9 +238,9 @@ def stride_pool(\n axis_slice = (\n slice(None, -1, 2) if self.config.separate_cls and self.config.truncate_seq else slice(None, None, 2)\n )\n- enc_slice = [slice(None)] * axis + ... | 2026-01-08T11:39:58 |
rust-lang/rust | a3208108b0b2b98004dac023aaeb794c1ec9149a | 175e04331be56c5b4bdf77478434b1a5e0556770 | fix(lib-std-fs): handle `usize` overflow in `read` & `read_to_string` | [
{
"path": "library/std/src/fs.rs",
"patch": "@@ -304,7 +304,7 @@ pub struct DirBuilder {\n pub fn read<P: AsRef<Path>>(path: P) -> io::Result<Vec<u8>> {\n fn inner(path: &Path) -> io::Result<Vec<u8>> {\n let mut file = File::open(path)?;\n- let size = file.metadata().map(|m| m.len() as us... | 2025-07-04T23:10:39 |
nodejs/node | 306d240b019cc9c2fa485213d5a998fa401b7883 | 5030e81ce305cc6bc5a1e17dd0ef8a9c761f035b | doc: fix incorrect name in report docs
In diagnostic reports, the CPUs are listed in a "cpus" field.
This commit fixes the docs, which refer to the field as "osCpus"
PR-URL: https://github.com/nodejs/node/pull/28830
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: A... | [
{
"path": "doc/api/report.md",
"patch": "@@ -63,7 +63,7 @@ is provided below for reference.\n \"osRelease\": \"3.10.0-862.el7.x86_64\",\n \"osVersion\": \"#1 SMP Wed Mar 21 18:14:51 EDT 2018\",\n \"osMachine\": \"x86_64\",\n- \"osCpus\": [\n+ \"cpus\": [\n {\n \"model\": \"In... | 2019-07-24T01:05:09 |
golang/go | dbbe4cca5d7069482983316694334bdf2fe6a7ec | 67f1a436b9c4055e02d9d031c6c2e9d6c9456bf0 | cmd/dist: log OS version when testing
As a follow-up to https://golang.org/cl/371474, add the OS version to
the metadata printed for each test.
This is a redo of CL 371475. This version updates go.mod and conforms to
the changes made in the parent commit.
Fixes #50146.
Change-Id: Iba5541cc8dd2c85c1fa3a215e30c8c3f9b... | [
{
"path": "src/cmd/go.mod",
"patch": "@@ -7,13 +7,13 @@ require (\n \tgolang.org/x/arch v0.0.0-20210923205945-b76863e36670\n \tgolang.org/x/mod v0.6.0-dev.0.20211102181907-3a5865c02020\n \tgolang.org/x/sync v0.0.0-20210220032951-036812b2e83c\n+\tgolang.org/x/sys v0.0.0-20211205182925-97ca703d548d\n \tgolang... | 2021-12-13T22:34:16 |
vercel/next.js | 9db91ebfa04d2ebf58f58ebd1ec2c26b46b8341a | cc04b62f61e951962e194d18e7db8aa35d31eba3 | Docs: Fix missing typings for typescript example (#52076) | [
{
"path": "docs/02-app/01-building-your-application/01-routing/08-parallel-routes.mdx",
"patch": "@@ -303,7 +303,13 @@ Parallel Routes can be used to implement conditional routing. For example, you c\n ```tsx filename=\"app/layout.tsx\" switcher\n import { getUser } from '@/lib/auth'\n \n-export default fun... | 2023-07-01T20:15:15 |
huggingface/transformers | 0d8f1870555614693166cfceefeb0f4231c1d4be | b891c41e402d461eba961a5da9a6c1d5f341aefa | [Bug] qwen2_5_omni: cap generation length to be less than the max_position_embedding in DiT (#43068)
* qwen2_5_omni: make max_mel_frames an inference-time knob
* not fail with raising ValueError, instead make it continue to run by choosing a target_duration that's capped and aligned
* added unit tests for Token2WavS... | [
{
"path": "src/transformers/models/qwen2_5_omni/modeling_qwen2_5_omni.py",
"patch": "@@ -3676,15 +3676,24 @@ def sample(\n guidance_scale=0.5,\n sway_coefficient=-1.0,\n ):\n- noise_initialization = torch.randn([1, 30000, self.mel_dim], dtype=reference_mel_spectrogram.dtype)\n ... | 2026-01-08T11:16:47 |
golang/go | 67f1a436b9c4055e02d9d031c6c2e9d6c9456bf0 | bd77d6e24048e5a8b7b07d2d0b7cf552d21905f5 | cmd/dist: log CPU model when testing
Knowing whether test failures are correlated with specific CPU models on
has proven useful on several issues. Log it for prior to testing so it
is always available.
internal/sysinfo provides the CPU model, but it is not available in the
bootstrap toolchain, so we can't access this... | [
{
"path": "src/cmd/dist/test.go",
"patch": "@@ -218,6 +218,15 @@ func (t *tester) run() {\n \t\t}\n \t}\n \n+\tif err := t.maybeLogMetadata(); err != nil {\n+\t\tt.failed = true\n+\t\tif t.keepGoing {\n+\t\t\tlog.Printf(\"Failed logging metadata: %v\", err)\n+\t\t} else {\n+\t\t\tfatalf(\"Failed logging met... | 2021-12-13T22:32:07 |
nodejs/node | 5030e81ce305cc6bc5a1e17dd0ef8a9c761f035b | e9ea8eaf7a77cf9b6f164cef92283c5eb99688cc | n-api: add APIs for per-instance state management
Adds `napi_set_instance_data()` and `napi_get_instance_data()`, which
allow native addons to store their data on and retrieve their data from
`napi_env`. `napi_set_instance_data()` accepts a finalizer which is
called when the `node::Environment()` is destroyed.
This e... | [
{
"path": "doc/api/n-api.md",
"patch": "@@ -251,6 +251,82 @@ NAPI_MODULE_INIT() {\n }\n ```\n \n+## Environment Life Cycle APIs\n+\n+> Stability: 1 - Experimental\n+\n+[Section 8.7][] of the [ECMAScript Language Specification][] defines the concept\n+of an \"Agent\" as a self-contained environment in which ... | 2019-07-15T00:21:13 |
vercel/next.js | 5ff48177499c0e03870a6be94c303812ec2ea8db | 9f6cf08fd46b53fb4221c8691385980624f06c07 | fix app-hmr-changes.test.ts by updating next-tweet (#52046) | [
{
"path": "test/development/acceptance-app/app-hmr-changes.test.ts",
"patch": "@@ -1,5 +1,5 @@\n import { FileRef, nextTestSetup } from 'e2e-utils'\n-import { check, hasRedbox, waitFor, retry } from 'next-test-utils'\n+import { sandbox } from 'development-sandbox'\n import path from 'path'\n \n describe('Er... | 2023-06-30T23:09:09 |
huggingface/transformers | b891c41e402d461eba961a5da9a6c1d5f341aefa | 3a275d3581c0ecf962f7412aa764c2047331fd6b | [CB] Minor fix in kwargs (#43147)
* [CB] Minor fix in kwargs
* Comment | [
{
"path": "src/transformers/generation/continuous_batching/requests.py",
"patch": "@@ -242,13 +242,13 @@ def fork(self, new_request_id: str) -> \"RequestState\":\n generated_tokens=self.generated_tokens[:],\n allocated_blocks=self.allocated_blocks,\n position_offset=self.... | 2026-01-08T10:35:24 |
golang/go | bd77d6e24048e5a8b7b07d2d0b7cf552d21905f5 | c3c74777bc5dcd351af6dc4811011241efe07d21 | runtime/pprof: check if PC is reused for inlining
When describing call stacks that include inlined function calls, the
runtime uses "fake" PCs to represent the frames that inlining removed.
Those PCs correspond to real NOP instructions that the compiler inserts
for this purpose.
Describing the call stack in a protobu... | [
{
"path": "src/runtime/pprof/proto.go",
"patch": "@@ -244,6 +244,10 @@ type locInfo struct {\n \t// to represent inlined functions\n \t// https://github.com/golang/go/blob/d6f2f833c93a41ec1c68e49804b8387a06b131c5/src/runtime/traceback.go#L347-L368\n \tpcs []uintptr\n+\n+\t// results of allFrames call for th... | 2022-02-08T22:51:41 |
nodejs/node | 43e5478e2f51343b66f4d243bb4800d8e422f764 | 49eb2b8e2a1d964fe78d9dcf4bb1f6c7e967a931 | domain: use strong reference to domain while active
When an uncaught exception is thrown inside a domain, the domain is
removed from the stack as of 43a51708589ac789ce08beaeb49d6d778dfbdc49.
This means that it might not be kept alive as an object anymore,
and may be garbage collected before the `after()` hook can run,... | [
{
"path": "lib/domain.js",
"patch": "@@ -73,13 +73,18 @@ const asyncHook = createHook({\n if (current !== undefined) { // Enter domain for this cb\n // We will get the domain through current.get(), because the resource\n // object's .domain property makes sure it is not garbage collected.\n+... | 2019-06-20T02:24:14 |
vercel/next.js | 23890fb2c98a2d7b53cc208f551acd3147a7f97d | 148fb086c5e99ce227225ba06cd8398b5415491b | chore(script): fix typo in sync-react.js pull request url (#52057)
Follow up to:
- https://github.com/vercel/next.js/pull/52052 | [
{
"path": "scripts/sync-react.js",
"patch": "@@ -196,7 +196,7 @@ async function getChangelogFromGitHub(baseSha, newSha) {\n const match = /\\(#([0-9]+)\\)$/.exec(title)\n const prNum = match ? match[1] : ''\n if (prNum) {\n- changelog.push(`- https://github.com/facebook/react/pulls/... | 2023-06-30T21:49:40 |
huggingface/transformers | 3a275d3581c0ecf962f7412aa764c2047331fd6b | 3aa21543ddda64d24314f1a17d2e80ad8747a9af | [style] Rework ruff rules and update all files (#43144)
* improve ruff setup
* fix
* ruff was already bumped, no need to remove
* remove F402
* remove one more
* one more
* latest ruff
* fix
* more removed rules
* last removed exceptions
* fix copies again
* fix
* fix
* all typing
* fix copies
* consist... | [
{
"path": "benchmark_v2/framework/benchmark_runner.py",
"patch": "@@ -392,7 +392,7 @@ def save_results(self, model_name: str, results: dict, timestamp: str = \"\", summ\n os.makedirs(model_dir, exist_ok=True)\n \n # Create filename with timestamp\n- timestamp = datetime.now().strftime... | 2026-01-08T09:26:14 |
golang/go | 7419bb3ebb8ea2b9b3745cdcbaf747e4dffc52ae | d3070a767bc0ddfdca1f84e2018de1c906b817ca | internal/fuzz: fix encoding for out-of-range ints and runes
Also switch float64 NaN encoding to use hexadecimal, and accept
hexadecimal encoding for all other integer types too. (That gives us
the flexibility to change the encodings in either direction in the
future without breaking earlier Go versions.)
Out-of-range... | [
{
"path": "src/internal/fuzz/encoding.go",
"patch": "@@ -12,6 +12,7 @@ import (\n \t\"go/token\"\n \t\"math\"\n \t\"strconv\"\n+\t\"unicode/utf8\"\n )\n \n // encVersion1 will be the first line of a file with version 1 encoding.\n@@ -32,21 +33,60 @@ func marshalCorpusFile(vals ...any) []byte {\n \t\t\tfmt.F... | 2022-03-07T16:26:18 |
nodejs/node | 49eb2b8e2a1d964fe78d9dcf4bb1f6c7e967a931 | 657a78e30a000335fbcf6c6ea02aee11e8939763 | deps: backport b107214 from upstream V8
Original commit message:
[code-serializer] Handlify in CodeSerializer::Deserialize
This section potentially contains allocations and thus gc, all object
references should be handlified.
Bug: v8:9333
Change-Id: I5814e66e8b9b75a8bd952afecae7a3a27b42a642
... | [
{
"path": "deps/v8/src/snapshot/code-serializer.cc",
"patch": "@@ -303,7 +303,7 @@ MaybeHandle<SharedFunctionInfo> CodeSerializer::Deserialize(\n PrintF(\"[Deserializing from %d bytes took %0.3f ms]\\n\", length, ms);\n }\n \n- bool log_code_creation =\n+ const bool log_code_creation =\n isola... | 2019-07-24T22:55:50 |
vercel/next.js | 148fb086c5e99ce227225ba06cd8398b5415491b | efe00e941bc19e9c11db0c6b0d780ffbabce315a | chore(script): improve markdown changelog output in sync-react.js (#52052)
This makes it really easy to copy/paste the changelog into the PR description after running `sync-react.js`.
Previously, the output would link to incorrect PRs because it didn't know the PR number was from a different repo.
We know `facebook/... | [
{
"path": "scripts/sync-react.js",
"patch": "@@ -138,7 +138,7 @@ Or, run this command with no arguments to use the most recently published versio\n `GitHub reported no changes between ${baseSha} and ${newSha}.`\n )\n } else {\n- console.log('Includes the following upstream changes:\\n... | 2023-06-30T20:21:53 |
huggingface/transformers | 3aa21543ddda64d24314f1a17d2e80ad8747a9af | c7e5b749a6392ea2f42fea983af41f825b0bc78d | Fix typos: Remove duplicate duplicate words words (#43040)
Fix typos and duplicate words across codebase
- Fixed spelling: "wether" → "whether", "paramaters" → "parameters"
- Fixed grammar: "will allows" → "will allow"
- Removed duplicate words: "a a", "of of", "to to", "is is", "for for", "with with"
🤖 Generated w... | [
{
"path": "MIGRATION_GUIDE_V5.md",
"patch": "@@ -197,7 +197,7 @@ This tokenizer will behave as a Llama-like tokenizer, with an updated vocabulary\n \n **Simplified file loading:** Support is added for passing`vocab` and `merges` as file paths directly to tokenizer initialization. The tokenizer will automati... | 2026-01-08T00:41:28 |
electron/electron | bebf8eabca636b662faaf741c73ffc7aca3b6cad | 847d9580b77f41036d5f3c9720746d3038035aaa | :apple: Fix context menu positioning | [
{
"path": "atom/browser/api/atom_api_menu_mac.mm",
"patch": "@@ -46,6 +46,20 @@\n position = NSMakePoint(x, [view frame].size.height - y);\n }\n \n+ // If no preferred item is specified, try to show all of the menu items.\n+ if (!positioning_item) {\n+ int windowBottom = CGRectGetMinY([view windo... | 2016-05-13T13:06:52 |
golang/go | d3070a767bc0ddfdca1f84e2018de1c906b817ca | 291bda80e551289e0b8ed3209782ccb2a98a124b | cmd/compile/internal/types2: more consistently print "check go.mod" if language version < 1.18
If you attempt to instantiate a generic type or func and run 'go build'
with a language version < 1.18 in the 'go' directive inside the go.mod
file, cmd/compile emits a friendly message that includes the suggestion
to 'check... | [
{
"path": "src/cmd/compile/internal/types2/resolver.go",
"patch": "@@ -413,7 +413,7 @@ func (check *Checker) collectObjects() {\n \n \t\t\tcase *syntax.TypeDecl:\n \t\t\t\tif len(s.TParamList) != 0 && !check.allowVersion(pkg, 1, 18) {\n-\t\t\t\t\tcheck.softErrorf(s.TParamList[0], \"type parameters require g... | 2022-03-08T14:51:27 |
nodejs/node | 30666edd05dd7603e4e97184370cdc6cad7ce71d | c5befe30931c3a6b62f002f11c869200f05ba3aa | build: `uname -m` is amd64 on freebsd, not x86_64
Fixes: https://github.com/nodejs/node/issues/13150
PR-URL: https://github.com/nodejs/node/pull/28804
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com> | [
{
"path": "Makefile",
"patch": "@@ -806,6 +806,9 @@ UNAME_M=$(shell uname -m)\n ifeq ($(findstring x86_64,$(UNAME_M)),x86_64)\n DESTCPU ?= x64\n else\n+ifeq ($(findstring amd64,$(UNAME_M)),amd64)\n+DESTCPU ?= x64\n+else\n ifeq ($(findstring ppc64,$(UNAME_M)),ppc64)\n DESTCPU ?= ppc64\n else\n@@ -865,6 +868,... | 2019-07-22T14:34:33 |
huggingface/transformers | c7e5b749a6392ea2f42fea983af41f825b0bc78d | 2f5cc5df90e0b5e99b47460729bc1ab11b816dd1 | [docs] inference engines (#42932)
* inference servers
* feedback
* fix | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -127,8 +127,6 @@\n title: Agents\n - local: tools\n title: Tools\n- - local: transformers_as_backend\n- title: Transformers as modeling backend\n title: Inference\n - isExpanded: false\n sections:\n@@ -228,6 +226,15 @@\n - local: quan... | 2026-01-07T19:52:56 |
vercel/next.js | efe00e941bc19e9c11db0c6b0d780ffbabce315a | 636c776179ae1a2e9b2e7d7fdc7b898c39aaf431 | Enable Pages Route Module Rendering for Edge (#51894)
This adapts the new route module rendering to support edge as well.
- Added a new `routeModule` export to the Edge SSR Loader
- Updated some tests to validate page state
Fixes NEXT-1327 | [
{
"path": "packages/next/src/build/utils.ts",
"patch": "@@ -1440,7 +1440,7 @@ export async function isPageStatic({\n \n // This is present on the new route modules.\n const userland: AppRouteUserlandModule | undefined =\n- componentsResult.ComponentMod.routeModule?.userland\n+ ... | 2023-06-30T18:42:58 |
electron/electron | 8dc8f8f485292d24a318f02136b265fbcaa9d94d | 4a409b870e7bbf4fc792b7497123d35ab8dee9ac | Update libchromiumcontent: fix Release build on Windows | [
{
"path": "common.gypi",
"patch": "@@ -49,6 +49,7 @@\n 4054, #\n 4055, # 'type cast' : from data pointer 'void *' to function pointer\n 4057, # 'function' : 'volatile LONG *' differs in indirection to slightly different base types from 'unsigned long *'\n+ 4065, # ... | 2016-05-10T11:08:47 |
huggingface/transformers | 2f5cc5df90e0b5e99b47460729bc1ab11b816dd1 | 88a5623361e1b3d844daef3c6c95535d12e70056 | [docs] Deploying (#42263)
* update
* monitoring
* revert
* revert
* toctree
* fix | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -19,6 +19,8 @@\n title: Customizing model components\n - local: model_sharing\n title: Sharing\n+ - local: serialization\n+ title: Exporting to production\n - local: modular_transformers\n title: Contributing a new model... | 2026-01-07T19:32:39 |
golang/go | 0b76afc75ca687fcd9a1a8e0b19670fb8f37fecb | 6e63be7b69aab25ac66029e7dfec47303d3b7505 | crypto/rand: simplify Prime to use only rejection sampling
The old code picks a random number n and then tests n, n+2, n+4, up to
n+(1<<20) for primality before giving up and picking a new n.
(The chance of finishing the loop and picking a new n is infinitesimally
small.) This approach, called “incremental search” in ... | [
{
"path": "src/crypto/rand/util.go",
"patch": "@@ -10,28 +10,11 @@ import (\n \t\"math/big\"\n )\n \n-// smallPrimes is a list of small, prime numbers that allows us to rapidly\n-// exclude some fraction of composite candidates when searching for a random\n-// prime. This list is truncated at the point wher... | 2022-02-22T22:07:49 |
nodejs/node | c5befe30931c3a6b62f002f11c869200f05ba3aa | 748000e65cda3c18c4252896ae6f4671d20c42c7 | doc: fix type in NSS update instructions
The perl script must be fully named, correct so that the command can be
copy-pasted-run from the docs.
PR-URL: https://github.com/nodejs/node/pull/28808
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "doc/guides/updating-root-certs.md",
"patch": "@@ -31,7 +31,7 @@ version in the [tag list][].\n Update the tag in the commands below, and run:\n ```shell\n cd tools/\n-./mk-ca-bundle -v 2>_before\n+./mk-ca-bundle.pl -v 2>_before\n curl -O https://hg.mozilla.org/projects/nss/raw-file/NSS_3_41_RTM/l... | 2019-07-22T17:27:45 |
vercel/next.js | 636c776179ae1a2e9b2e7d7fdc7b898c39aaf431 | 97461f0bba86cb6ae62b6665b32f29a50993f241 | Fix font missing during server HMR (#52033)
During development, for fonts created via `next/font` the file path is already containing the hash so we can always have them cached. This fixes the problem of fonts causing FOUC in HMR.
Since I can't find an easy way to test it reliably, I recorded two screenshots using th... | [
{
"path": "packages/next/src/build/webpack/plugins/next-font-manifest-plugin.ts",
"patch": "@@ -25,7 +25,7 @@ const PLUGIN_NAME = 'NextFontManifestPlugin'\n */\n function getPreloadedFontFiles(fontFiles: string[]) {\n return fontFiles.filter((file: string) =>\n- /\\.p.(woff|woff2|eot|ttf|otf)$/.test(f... | 2023-06-30T17:11:37 |
electron/electron | 906ae043f94ff4292f5dfd941900ef93355ad9b9 | 0ad03d9ff782541caa7a9a28488e99e2cbeef6e7 | Fix crash when creating external buffer | [
{
"path": "vendor/node",
"patch": "@@ -1 +1 @@\n-Subproject commit 7d119e77b9fe893d6e791c88c9e6122957e088ca\n+Subproject commit 454e37c47804706c5524d3639f18de02f5ad18c9",
"additions": 1,
"deletions": 1,
"language": "Unknown"
}
] | 2016-05-10T06:18:11 |
golang/go | 079a027d27a9eed18c99c0c6a6e2fc70f9dd07b7 | 3bb90a278a09c889fe936b2c5053116e48312ba2 | io: add WriterTo to MultiReader
This patch allows to zerocopy using MultiReader.
This is done by MultiReader implementing WriterTo.
Each sub reader is copied using usual io copy helper and thus use
WriterTo or ReadFrom with reflection.
There is a special case for when a subreader is a MultiReader.
Instead of using c... | [
{
"path": "src/io/multi.go",
"patch": "@@ -41,6 +41,31 @@ func (mr *multiReader) Read(p []byte) (n int, err error) {\n \treturn 0, EOF\n }\n \n+func (mr *multiReader) WriteTo(w Writer) (sum int64, err error) {\n+\treturn mr.writeToWithBuffer(w, make([]byte, 1024 * 32))\n+}\n+\n+func (mr *multiReader) writeT... | 2022-03-07T12:56:01 |
huggingface/transformers | 9daee2e8bd0b5f0b07b577145267fe8d32b0d8fc | 69ec61f7d56240d1047cfcf354599211e8c712cd | use `TokenizersBackend` (#42894)
* us `TokenizersBackend`
* fixes
* pioritize mapping
* pioritize mapping
* only use mapping for some models
* fix fallback
* undo debug thing
* add case to tokenizersbackend init
* add default bos eos token to tok backend
* set bos eos
* fix more models
* mistrla idefics
* ... | [
{
"path": "docs/source/en/model_doc/parakeet.md",
"patch": "@@ -188,9 +188,9 @@ outputs = model(**inputs)\n outputs.loss.backward()\n ```\n \n-## ParakeetTokenizerFast\n+## ParakeetTokenizer\n \n-[[autodoc]] ParakeetTokenizerFast\n+[[autodoc]] ParakeetTokenizer\n \n ## ParakeetFeatureExtractor\n ",
"add... | 2026-01-07T16:49:21 |
nodejs/node | 1dc458cdd0a578093d5e84439158c799664b78cf | bd3b85bf89df16515ad79b537da02b8a6d3fba55 | crypto: increase maxmem range from 32 to 53 bits
Fixes: https://github.com/nodejs/node/issues/28755
PR-URL: https://github.com/nodejs/node/pull/28799
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <... | [
{
"path": "doc/api/crypto.md",
"patch": "@@ -2587,6 +2587,9 @@ request.\n <!-- YAML\n added: v10.5.0\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/28799\n+ description: The `maxmem` value can now be any safe integer.\n - version: v10.9.0\n pr-url: https://git... | 2019-07-21T18:14:34 |
rust-lang/rust | 9f78173bb5270e6687a9b594e3ddb922f7b11bb1 | c1ed2ac8a27bce8ccc655bd87102752d9d8015d6 | bootstrap: add change_tracker entry for removal of spellcheck:fix | [
{
"path": "src/bootstrap/src/utils/change_tracker.rs",
"patch": "@@ -446,4 +446,9 @@ pub const CONFIG_CHANGE_HISTORY: &[ChangeInfo] = &[\n severity: ChangeSeverity::Info,\n summary: \"Added new option `build.tidy-extra-checks` to specify a default value for the --extra-checks cli flag.\",\n ... | 2025-07-05T19:46:34 |
vercel/next.js | 97461f0bba86cb6ae62b6665b32f29a50993f241 | d443778163acda03a7aa3f990e0658812c71af4c | fix(create-next-app): consolidate messages to "Would you like to use" (#52011)
This PR ensure that `create-next-app` questions are all formatted the
same way:
```
Would you like to use <feature>?
```
fix NEXT-1333 | [
{
"path": "docs/01-getting-started/01-installation.mdx",
"patch": "@@ -27,11 +27,11 @@ On installation, you'll see the following prompts:\n \n ```txt filename=\"Terminal\"\n What is your project named? my-app\n-Would you like to use TypeScript with this project? No / Yes\n-Would you like to use ESLint with ... | 2023-06-30T16:11:23 |
electron/electron | 0ad03d9ff782541caa7a9a28488e99e2cbeef6e7 | 3aaff23f78e5682383a034b297c65a6e42f4341c | Suppress crashReporter test on x64 Windows for now | [
{
"path": "spec/api-crash-reporter-spec.js",
"patch": "@@ -23,6 +23,11 @@ describe('crash-reporter module', function () {\n w.destroy()\n })\n \n+ // It is not working on 64bit Windows.\n+ if (process.platform === 'win32' && process.arch === 'x64') {\n+ return\n+ }\n+\n if (process.mas) {\n ... | 2016-05-10T05:45:44 |
huggingface/transformers | 69ec61f7d56240d1047cfcf354599211e8c712cd | 6d7b10d57fa273e83d2500cc8c3c2f79636cb452 | Fix failing `DebertaV2ModelIntegrationTest` (#43136)
Fix dtype mismatch in DebertaV2ModelIntegrationTest | [
{
"path": "tests/models/deberta_v2/test_modeling_deberta_v2.py",
"patch": "@@ -301,7 +301,7 @@ def test_inference_masked_lm(self):\n \n @slow\n def test_inference_no_head(self):\n- model = DebertaV2Model.from_pretrained(\"microsoft/deberta-v2-xlarge\")\n+ model = DebertaV2Model.from_pr... | 2026-01-07T13:46:39 |
golang/go | 38174b3a3514629b84dcd76878b2f536b189dd7b | 28fab5ef21d8aef72634f9c251fbeb4039dababa | go/build: use static maps rather than an init func
go/build is one of the packages that contributes the most towards
cmd/go's init cost, which adds up to any call to the tool.
One piece of low-hanging fruit is knownOS and knownArch,
maps which are filled via an init func from a space-separated list.
Using GODEBUG=ini... | [
{
"path": "src/go/build/build.go",
"patch": "@@ -1965,18 +1965,6 @@ func (ctxt *Context) goodOSArchFile(name string, allTags map[string]bool) bool {\n \treturn true\n }\n \n-var knownOS = make(map[string]bool)\n-var knownArch = make(map[string]bool)\n-\n-func init() {\n-\tfor _, v := range strings.Fields(go... | 2022-03-06T20:31:33 |
rust-lang/rust | 4aa30b513f3b12828652fc6a6ae8cbfcc02c1d6b | 4b506ca0e1821e71fd8a6c7434dc02b5bd432a34 | Fix diverging destructuring assignments
They need to return `!`, unlike diverging ordinary assignments. See the comment in the code. | [
{
"path": "src/tools/rust-analyzer/crates/hir-ty/src/infer/expr.rs",
"patch": "@@ -731,9 +731,32 @@ impl InferenceContext<'_> {\n &Pat::Expr(expr) => {\n Some(self.infer_expr(expr, &Expectation::none(), ExprIsRead::No))\n }\n- ... | 2025-07-05T19:35:22 |
nodejs/node | 52c5287aca3650751c4fe5ae7220865dc546b6f8 | 35788c8c18ca13dcb72f82f156dea62d0d3822c3 | 2019-07-23, Version 12.7.0 (Current)
Notable changes:
* deps:
* Updated nghttp2 to 1.39.1. https://github.com/nodejs/node/pull/28448
* Updated npm to 6.10.0. https://github.com/nodejs/node/pull/28525
* esm:
* Implemented experimental "pkg-exports" proposal. A new `"exports"`
field can be added to a module's... | [
{
"path": "CHANGELOG.md",
"patch": "@@ -28,7 +28,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V12.md#12.6.0\">12.6.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V12.md#12.7.0\">12.7.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V12.md#12.6.0\"... | 2019-07-23T08:29:14 |
electron/electron | e77582baee4abf90eb982dd528f578845bb01e41 | 2497c73009caa3e6b37166d2175875596eab2e65 | Fix compilation warnings introduced by VS 2015 | [
{
"path": "atom/browser/native_window_views.cc",
"patch": "@@ -623,7 +623,9 @@ void NativeWindowViews::SetBackgroundColor(const std::string& color_name) {\n // Set the background color of native window.\n HBRUSH brush = CreateSolidBrush(skia::SkColorToCOLORREF(background_color));\n ULONG_PTR previous_... | 2016-05-10T04:09:41 |
vercel/next.js | d443778163acda03a7aa3f990e0658812c71af4c | 4bfc1eaf54c1c50194b36846f5d08e67dc521962 | Refactor ContentSources to RouteTree (#51660)
### What?
This fixes a performance problem when many pages are involved.
fixes WEB-1067
see also https://github.com/vercel/turbo/pull/5360
### Turbopack Changes
* https://github.com/vercel/turbo/pull/5416
* https://github.com/vercel/turbo/pull/5360 | [
{
"path": "Cargo.lock",
"patch": "@@ -412,7 +412,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-230628.2#57669dea96ee99b7e68da01ec7b7d286bc81b083\"\n+source = \"git+https://github.com/vercel/turbo.git?ta... | 2023-06-30T16:03:24 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.