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 | baea5a893d1c365646a3928f5f1a44c1be6921a4 | 63a84609fb24b245838f2d0838d5141d36f09f83 | src: remove NodeCategorySet destructor
This currently crashes during environment cleanup because
the object would be torn down while there are enabled categories.
I’m not sure about the exact semantics here, but since the
object cannot be garbage collected at this point anyway
because it’s `Persistent` handle is stro... | [
{
"path": "src/node_trace_events.cc",
"patch": "@@ -21,11 +21,6 @@ using v8::Value;\n \n class NodeCategorySet : public BaseObject {\n public:\n- ~NodeCategorySet() override {\n- // Verify that the thing was properly disabled before gc\n- CHECK_NE(enabled_, true);\n- }\n-\n static void New(const ... | 2018-04-26T22:16:09 |
vercel/next.js | c17e7cb525a0375b72c25286f4e8578bd4811e9a | 1b2e61cb234065b75254046829587255afff8e11 | [docs] Fix Grammar in Step 8. (#42018) | [
{
"path": "contributing/core/developing.md",
"patch": "@@ -30,7 +30,7 @@ To develop locally:\n 1. In a new terminal, run `pnpm types` to compile declaration files from\n TypeScript.\n _Note: You may need to repeat this step if your types get outdated._\n-1. When you changes are finished commit them to... | 2022-10-27T23:29:05 |
electron/electron | 10bd2384d07325fab64f12f4d4400d4cafcdf0c4 | d0ab7e2c1e3cb6f5dfe903b978edf0a723ab3365 | Fix button order on Win32
On Windows, the button order is left to right, with the primary action on the
left (i.e. "Ok" "Cancel"). On Mac, the button order is that the primary action
is nearest to the corner. | [
{
"path": "browser/ui/message_box_win.cc",
"patch": "@@ -195,7 +195,10 @@ void MessageDialog::Layout() {\n int x = bounds.width();\n int height = buttons_[0]->GetPreferredSize().height() +\n views::kRelatedControlVerticalSpacing;\n- for (size_t i = 0; i < buttons_.size(); ++i) {\n+\n+ /... | 2013-08-30T19:08:04 |
huggingface/transformers | 950cfb0b4f6f79dbeb658100d25b5f3e3d8be04b | 1614d196e8cdcecf4518a4217ac3e97f046adbee | Fix PaliGemma Pad Token Masking During Training #35855 (#35859)
* change order of unmasking of tokens
* library import
* class setup
* test function
* refactor
* add commit message
* test modified
* explict initiliasation of weights + made model smaller
* removed sepete testing file
* fixup
* fixup core
* t... | [
{
"path": "src/transformers/models/paligemma/modeling_paligemma.py",
"patch": "@@ -383,16 +383,20 @@ def _update_causal_mask(\n if attention_mask is not None:\n causal_mask = causal_mask.clone() # copy to contiguous memory for in-place edit\n mask_length = attention_mask.sha... | 2025-02-13T09:11:44 |
nodejs/node | 1db0039c505c6081f1d0d84cc24133ed6659e539 | cac8496c2ff592198a7afd114610deccb0e178ab | src: keep track of open requests
Workers cannot shut down while requests are open, so keep a counter
that is increased whenever libuv requests are made and decreased
whenever their callback is called.
This also applies to other embedders, who may want to shut down
an `Environment` instance early.
Many thanks for Ste... | [
{
"path": "src/env-inl.h",
"patch": "@@ -371,6 +371,15 @@ inline void Environment::CloseHandle(T* handle, OnCloseCallback callback) {\n });\n }\n \n+void Environment::IncreaseWaitingRequestCounter() {\n+ request_waiting_++;\n+}\n+\n+void Environment::DecreaseWaitingRequestCounter() {\n+ request_waiting_... | 2017-09-25T20:53:17 |
vercel/next.js | 1b2e61cb234065b75254046829587255afff8e11 | 4b004957fe321ab08f4b6b4d5698f82762eaf549 | Update e2e test for app-dir edge (#42015)
This is pending changes upstream so skips for now.
Fixes:
https://github.com/vercel/next.js/actions/runs/3335334239/jobs/5520286646 | [
{
"path": "test/e2e/app-dir/index.test.ts",
"patch": "@@ -34,34 +34,36 @@ describe('app dir', () => {\n })\n afterAll(() => next.destroy())\n \n- it('should not share edge workers', async () => {\n- const controller1 = new AbortController()\n- const controller2 = new AbortController()\n... | 2022-10-27T22:57:48 |
electron/electron | 2a462cc2b79025ed7f3d85187aae8ffcadf7b4d3 | df30f130d3651a1b390e510b0a3d4eb9fa5011e8 | :lipstick: fix cpplint warning. | [
{
"path": "browser/api/atom_api_protocol.cc",
"patch": "@@ -153,7 +153,7 @@ class CustomProtocolRequestJob : public AdapterRequestJob {\n // registered handler doesn't want to deal with the request.\n class CustomProtocolHandler : public ProtocolHandler {\n public:\n- CustomProtocolHandler(ProtocolHandler... | 2013-08-30T12:24:42 |
huggingface/transformers | 9985d06add07a4cc691dc54a7e34f54205c04d40 | 4a5a7b991a5e9adae78c52bea61fd6e135728622 | skip `test_initialization` for `VitPoseBackboneModelTest` for now (#36154)
fix
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "tests/models/vitpose_backbone/test_modeling_vitpose_backbone.py",
"patch": "@@ -142,6 +142,11 @@ def setUp(self):\n def test_config(self):\n self.config_tester.run_common_tests()\n \n+ # TODO: @Pavel\n+ @unittest.skip(reason=\"currently failing\")\n+ def test_initialization(s... | 2025-02-12T17:24:24 |
nodejs/node | 560925fe22bfc23860b04704ff4cae21e4dd19ff | 5e6ca894cfc50690366a501be52e7248f3574d06 | assert: make sure throws is able to handle primitives
This fixes some possible issues with `assert.throws` and
`assert.rejects` in combination with an validation object. It will
now properly handle primitive values being thrown as error.
It also makes sure the `generatedMessage` property is properly set
if `assert.th... | [
{
"path": "lib/assert.js",
"patch": "@@ -382,16 +382,16 @@ function compareExceptionKey(actual, expected, key, message, keys) {\n const a = new Comparison(actual, keys);\n const b = new Comparison(expected, keys, actual);\n \n- const tmpLimit = Error.stackTraceLimit;\n- Error.stackTrac... | 2018-05-02T14:59:49 |
vercel/next.js | 4b004957fe321ab08f4b6b4d5698f82762eaf549 | b9140ed40b8c333ccf37dd7b71e998bcfa1e5ee8 | Google fonts multiple weights & styles (#42008)
Enable using multiple weights and styles in the same google font loader
call.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
- [ ] Implement... | [
{
"path": "packages/font/src/google/loader.ts",
"patch": "@@ -1,19 +1,18 @@\n import type { AdjustFontFallback, FontLoader } from 'next/font'\n // @ts-ignore\n+import { calculateSizeAdjustValues } from 'next/dist/server/font-utils'\n+// @ts-ignore\n import * as Log from 'next/dist/build/output/log'\n // @ts... | 2022-10-27T22:25:57 |
electron/electron | db890feb5183637279ef0013a7a059557da10c58 | 738cbd40800cf196f89ffcbe44e1e780af25472d | Don't pollute console with error stack. | [
{
"path": "renderer/api/lib/remote.coffee",
"patch": "@@ -31,8 +31,7 @@ metaToValue = (meta) ->\n when 'value' then meta.value\n when 'array' then (metaToValue(el) for el in meta.members)\n when 'error'\n- console.log meta.stack\n- throw new Error(meta.message)\n+ throw new Error(... | 2013-08-30T05:04:21 |
golang/go | d10241fcf63826d51e8d9c914ab0ad2ef9173151 | ba6bd967d2445c4322ef6e37b3144d630109cdfc | runtime: fix some typos
Change-Id: I18b9508904f19d5aa68355c937c30b5fdf35442c
Reviewed-on: https://go-review.googlesource.com/c/go/+/305249
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@gola... | [
{
"path": "src/runtime/proc.go",
"patch": "@@ -5316,7 +5316,7 @@ func preemptall() bool {\n \n // Tell the goroutine running on processor P to stop.\n // This function is purely best-effort. It can incorrectly fail to inform the\n-// goroutine. It can send inform the wrong goroutine. Even if it informs the\... | 2021-03-28T12:17:35 |
huggingface/transformers | 4a5a7b991a5e9adae78c52bea61fd6e135728622 | 1fae54c7216e144b426e753400abdc1299d4fc74 | Fix test fetcher (#36129)
* fix
* fix
* update
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "src/transformers/utils/import_utils.py",
"patch": "@@ -1927,11 +1927,16 @@ def fetch__all__(file_content):\n if \"__all__\" not in file_content:\n return []\n \n+ start_index = None\n lines = file_content.splitlines()\n for index, line in enumerate(lines):\n if line... | 2025-02-12T16:35:41 |
huggingface/transformers | 281c0c8b5b82d5b94e119ee58e7f82871c2653bc | a33ac830af0144ae7bca548cc815fa3431c44103 | adding option to save/reload scaler (#34932)
* Adding option to save/reload scaler
* Removing duplicate variable
* Adding save/reload test
* Small fixes on deterministic algorithm call
* Moving LLM test to another file to isolate its environment
* Moving back to old file and using subprocess to run test isolated
... | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -305,9 +305,9 @@ def safe_globals():\n TRAINING_ARGS_NAME = \"training_args.bin\"\n TRAINER_STATE_NAME = \"trainer_state.json\"\n OPTIMIZER_NAME = \"optimizer.pt\"\n+SCALER_NAME = \"scaler.pt\"\n OPTIMIZER_NAME_BIN = \"optimizer.bin\"\n SCHEDULER_NAME = ... | 2025-02-12T14:48:16 |
nodejs/node | 5e6ca894cfc50690366a501be52e7248f3574d06 | 5a0e37925027f415412fb5f46e33f1e9d16eddf9 | src: fix nullptr dereference for signal during startup
This fixes a test failure when running
`test/parallel/test-child-process-spawnsync-kill-signal.js`
under load. What would happen is that `SignalExit()` tries
to shutdown the tracing agent, which might not have been set
up by the point that Node.js receives the sig... | [
{
"path": "src/node.cc",
"patch": "@@ -327,7 +327,8 @@ static struct {\n }\n \n void StopTracingAgent() {\n- tracing_agent_->Stop();\n+ if (tracing_agent_)\n+ tracing_agent_->Stop();\n }\n \n tracing::Agent* GetTracingAgent() const {",
"additions": 2,
"deletions": 1,
"language... | 2018-05-09T17:52:53 |
electron/electron | 738cbd40800cf196f89ffcbe44e1e780af25472d | 11221979e55796403f27d2a15fe65d510d666087 | :lipstick: Fix protocol specs. | [
{
"path": "browser/api/atom_api_protocol.cc",
"patch": "@@ -291,7 +291,8 @@ class AdapterProtocolHandler\n // static\n v8::Handle<v8::Value> Protocol::RegisterProtocol(const v8::Arguments& args) {\n std::string scheme(*v8::String::Utf8Value(args[0]));\n- if (net::URLRequest::IsHandledProtocol(scheme))\n+... | 2013-08-30T05:04:02 |
vercel/next.js | b9140ed40b8c333ccf37dd7b71e998bcfa1e5ee8 | 0cb17627a8f1e7ec534025044d2fbeb3405920a8 | Add never return type for redirect() and notFound() (#42009)
Ensures cases like this work:
```
function username(user: null | User) {
if (!user) redirect();
return user.name;
}
```
<!--
Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possibl... | [
{
"path": "packages/next/client/components/not-found.ts",
"patch": "@@ -1,6 +1,6 @@\n export const NOT_FOUND_ERROR_CODE = 'NEXT_NOT_FOUND'\n \n-export function notFound() {\n+export function notFound(): never {\n // eslint-disable-next-line no-throw-literal\n const error = new Error(NOT_FOUND_ERROR_CODE... | 2022-10-27T22:07:59 |
golang/go | ba6bd967d2445c4322ef6e37b3144d630109cdfc | 23ffb5b9ae9e6e313df648d8bf6ab7b8f5ff0cf1 | cmd/compile/internal/ssa: strengthen phiopt pass
The current phiopt pass just transforms the following code
x := false
if b { x = true}
into
x = b
But we find code in runtime.atoi like this:
neg := false
if s[0] == '-' {
neg = true
s = s[1:]
}
The current phiopt pass does not covert it into code ... | [
{
"path": "src/cmd/compile/internal/ssa/bench_test.go",
"patch": "@@ -0,0 +1,32 @@\n+// Copyright 2020 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+package ssa\n+\n+import (\n+\t\"math/rand\"\n+\t\"testing\... | 2020-07-28T02:29:06 |
rust-lang/rust | 83ea3454dfaf7ff54171035a70a89d03085d2a9d | c580c498a1fe144d7c5b2dfc7faab1a229aa288b | Remove define_debug_via_print for ExistentialProjection | [
{
"path": "compiler/rustc_type_ir/src/ir_print.rs",
"patch": "@@ -60,7 +60,7 @@ define_display_via_print!(\n PatternKind,\n );\n \n-define_debug_via_print!(TraitRef, ExistentialTraitRef, ExistentialProjection, PatternKind);\n+define_debug_via_print!(TraitRef, ExistentialTraitRef, PatternKind);\n \n impl... | 2025-04-14T02:08:35 |
huggingface/transformers | a33ac830af0144ae7bca548cc815fa3431c44103 | 08c4959a23a07126978eae47976db10feaee889b | Fix multi gpu loss sync condition, add doc and test (#35743)
* Fix multi gpu loss sync condition, add doc and test
* rename function and class
* loss should not scale during inference
* fix typo | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -3741,7 +3741,11 @@ def compute_loss(self, model, inputs, return_outputs=False, num_items_in_batch=N\n # We don't use .loss here since the model may return tuples instead of ModelOutput.\n loss = outputs[\"loss\"] if isinstance(ou... | 2025-02-12T14:41:31 |
vercel/next.js | c8983a6b0aaba5c5f59b7e32097906a27cd01c56 | 5d2e2783d780566a21b3142acdb8448f6b60d918 | Fix page static info extractor for app dir (#42001)
We currently only fallback to the global `runtime` option if the page
actually **needs** a runtime (not statically optimizable). That happens
for SSG (ISR) and SSR for pages/. But for app/, we will always need a
`runtime` to render server components.
Also in th... | [
{
"path": "packages/next/build/analysis/get-page-static-info.ts",
"patch": "@@ -273,8 +273,9 @@ export async function getPageStaticInfo(params: {\n pageFilePath: string\n isDev?: boolean\n page?: string\n+ pageType?: 'pages' | 'app'\n }): Promise<PageStaticInfo> {\n- const { isDev, pageFilePath, nex... | 2022-10-27T21:55:35 |
nodejs/node | 5a0e37925027f415412fb5f46e33f1e9d16eddf9 | b304096a14f4b266738faeaded8ea31215528ea0 | errors: move functions to error code
This makes sure the functions are actually directly beneath the
specification of an error code.
That way it is not necessary to jump around when looking at the
functionality.
PR-URL: https://github.com/nodejs/node/pull/20486
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-... | [
{
"path": "lib/internal/errors.js",
"patch": "@@ -407,6 +407,26 @@ function isStackOverflowError(err) {\n err.message === maxStack_ErrorMessage;\n }\n \n+function oneOf(expected, thing) {\n+ assert(typeof thing === 'string', '`thing` has to be of type string');\n+ if (Array.isArray(expected)) {\n... | 2018-05-02T14:30:54 |
rust-lang/rust | d5de2fa8bba93cf5cde42b4605b6886f8660f5bf | 30f168ef811aec63124eac677e14699baa9395bd | use `realpath` in `bootstrap.py` when creating build-dir
this avoids crashes when `./build` is a symlink to a non-existent
directory. | [
{
"path": "src/bootstrap/bootstrap.py",
"patch": "@@ -1298,7 +1298,7 @@ def bootstrap(args):\n build.check_vendored_status()\n \n if not os.path.exists(build.build_dir):\n- os.makedirs(build.build_dir)\n+ os.makedirs(os.path.realpath(build.build_dir))\n \n # Fetch/build the bootstr... | 2025-04-14T13:32:34 |
golang/go | 23ffb5b9ae9e6e313df648d8bf6ab7b8f5ff0cf1 | 49dccf141f5e315739c5517b24572fff7cb13734 | runtime: overwrite existing keys for mapassign_faststr variant
Fixes #45045
Change-Id: Ifcc7bd31591870446ce3e5127489a0b887d413f1
Reviewed-on: https://go-review.googlesource.com/c/go/+/305089
Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Go Bot <g... | [
{
"path": "src/runtime/map_faststr.go",
"patch": "@@ -255,6 +255,9 @@ bucketloop:\n \t\t\t// already have a mapping for key. Update it.\n \t\t\tinserti = i\n \t\t\tinsertb = b\n+\t\t\t// Overwrite existing key, so it can be garbage collected.\n+\t\t\t// The size is already guaranteed to be set correctly.\n+... | 2021-03-26T16:29:25 |
huggingface/transformers | 08c4959a23a07126978eae47976db10feaee889b | 24405127233e1d09b69bea1321c4db920e87bd7a | Optim: APOLLO optimizer integration (#36062)
* Added APOLLO optimizer integration
* fix comment
* Remove redundancy: Modularize low-rank optimizer construction
* Remove redundancy: Remove useless comment
* Fix comment: Add typing
* Fix comment: Rewrite apollo desc | [
{
"path": "docs/source/en/trainer.md",
"patch": "@@ -443,6 +443,97 @@ trainer.train()\n \n Note layerwise optimization is a bit experimental and does not support DDP (Distributed Data Parallel), thus you can run the training script only on a single GPU. Please see [this appropriate section](https://github.c... | 2025-02-12T14:33:43 |
nodejs/node | b304096a14f4b266738faeaded8ea31215528ea0 | 4c6df73ae4e3c7ce0b2346bc38c04c6501239b02 | assert: move AssertionError into own file
This moves the `assert` parts from `internal/errors` into an own
file. `internal/errors` got bigger and bigger and it was difficult
to keep a good overview of what was going on. While doing so it
also removes the `internalAssert` function and just lazy loads
`assert`.
PR-URL:... | [
{
"path": "lib/assert.js",
"patch": "@@ -25,15 +25,12 @@ const {\n isDeepEqual,\n isDeepStrictEqual\n } = require('internal/util/comparisons');\n-const {\n- AssertionError,\n- errorCache,\n- codes: {\n- ERR_AMBIGUOUS_ARGUMENT,\n- ERR_INVALID_ARG_TYPE,\n- ERR_INVALID_RETURN_VALUE\n- }\n-} = ... | 2018-05-02T14:21:40 |
golang/go | 49dccf141f5e315739c5517b24572fff7cb13734 | 2de1f428570855bd59083a705f832e8bddc0eb51 | time: add Time.Unix{Milli,Micro} and to-Time helpers UnixMicro, UnixMilli
Adds helper functions for users working with other systems which
represent time in milliseconds or microseconds since the Unix epoch.
Fixes #44196
Change-Id: Ibc4490b52ddec94ebd0c692cb7b52a33e4536759
Reviewed-on: https://go-review.googlesource... | [
{
"path": "src/time/time.go",
"patch": "@@ -1135,6 +1135,24 @@ func (t Time) Unix() int64 {\n \treturn t.unixSec()\n }\n \n+// UnixMilli returns t as a Unix time, the number of milliseconds elapsed since\n+// January 1, 1970 UTC. The result is undefined if the Unix time in\n+// milliseconds cannot be repres... | 2021-02-17T22:13:01 |
vercel/next.js | 5d2e2783d780566a21b3142acdb8448f6b60d918 | bbe7fddf3950122e7d9d116570e52766cd48c1e9 | fix(next/dev): do not suppress error from bindings (#41989)
## Bug
Minor fix to --turbo to not to suppress errors thrown from bindings.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an e... | [
{
"path": "packages/next/cli/next-dev.ts",
"patch": "@@ -103,7 +103,7 @@ const nextDev: cliCommand = (argv) => {\n \n if (args['--turbo']) {\n // check for postcss, babelrc, swc plugins\n- return new Promise(async (resolve) => {\n+ return new Promise<void>(async (resolve) => {\n const { fi... | 2022-10-27T21:33:38 |
huggingface/transformers | 24405127233e1d09b69bea1321c4db920e87bd7a | befea8c4f00528b112541dfa7e62f4dae485b82d | multi-gpu: fix tensor device placements for various models (#35763)
* milti-gpu: fix inputs_embeds + position_embeds
Fixing the following errors in few models:
```
> hidden_states = inputs_embeds + pos_embeds
E RuntimeError: Expected all tensors to be on the same device, but found at least two devices, xp... | [
{
"path": "src/transformers/models/aria/modeling_aria.py",
"patch": "@@ -1115,7 +1115,9 @@ def _prepare_4d_causal_attention_mask_with_cache_position(\n if attention_mask is not None:\n causal_mask = causal_mask.clone() # copy to contiguous memory for in-place edit\n ... | 2025-02-12T14:28:18 |
electron/electron | f7de0e8d38fec0c8a812e48e1b3998cd4f99913f | efd2bbbede90c4667a1eb219f6c05940969e8f1b | Disable spec for window.close() since it would not be fixed for a while. | [
{
"path": "spec/api/window.coffee",
"patch": "@@ -21,7 +21,7 @@ describe 'window module', ->\n done()\n w.loadUrl 'file://' + path.join(fixtures, 'api', 'unload.html')\n \n- describe 'window.close()', ->\n+ xdescribe 'window.close()', ->\n it 'should emit unload handler', (done) ->\n ... | 2013-08-29T10:03:56 |
rust-lang/rust | 0369ccb5320da3871bc03e6b0df8afbbfac0c9b9 | 5961e5ba3daa20d98f549eb9029105ae50c13aed | Fix some grammar errors and hyperlinks in doc for `trait Allocator`
* "while until either" could also be changed to "for a while until either", but I just deleted "while".
* fixed sentence with incorrect "at" and "has/have".
* linked [*currently allocated*] similar to other methods. | [
{
"path": "library/core/src/alloc/mod.rs",
"patch": "@@ -90,7 +90,7 @@ impl fmt::Display for AllocError {\n /// # Safety\n ///\n /// Memory blocks that are [*currently allocated*] by an allocator,\n-/// must point to valid memory, and retain their validity while until either:\n+/// must point to valid memor... | 2025-04-14T13:26:43 |
nodejs/node | 4c6df73ae4e3c7ce0b2346bc38c04c6501239b02 | cf7be86cd927c99547f4774d79ea6d12d621033f | doc: update assert documentation
This adds concrete expected types to the assert documentation.
It also fixes a `changes` entry and improves some minor comments.
PR-URL: https://github.com/nodejs/node/pull/20486
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-B... | [
{
"path": "doc/api/assert.md",
"patch": "@@ -154,8 +154,8 @@ assert.deepEqual(/a/gi, new Date());\n <!-- YAML\n added: v0.5.9\n -->\n-* `value` {any}\n-* `message` {any}\n+* `value` {any} The input that is checked for being truthy.\n+* `message` {string|Error}\n \n An alias of [`assert.ok()`][].\n \n@@ -181... | 2018-05-02T14:13:16 |
golang/go | 2de1f428570855bd59083a705f832e8bddc0eb51 | 359f44910f470578b2aed43f057b6fa8b4b41bcc | net: clear completed Buffers to permit earlier collection
Fixes #45163
Change-Id: Ie034145e3818930bb19371d73ec6960cbdc55aa7
Reviewed-on: https://go-review.googlesource.com/c/go/+/303829
Run-TryBot: Baokun Lee <bk@golangcn.org>
Trust: Baokun Lee <bk@golangcn.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: I... | [
{
"path": "src/net/net.go",
"patch": "@@ -733,6 +733,7 @@ func (v *Buffers) consume(n int64) {\n \t\t\treturn\n \t\t}\n \t\tn -= ln0\n+\t\t(*v)[0] = nil\n \t\t*v = (*v)[1:]\n \t}\n }",
"additions": 1,
"deletions": 0,
"language": "Go"
}
] | 2021-03-23T03:18:50 |
huggingface/transformers | 243aeb7c4a3269902f40893058ad62afe626e16c | 8a2f062eac8266d73a46082eb495a47261b56b17 | Fix Gradient Checkpointing for Deberta & Deberta-V2 using PEFT / Adapters (#35898)
Replace In-Place Operations for Deberta and Deberta-V2 | [
{
"path": "src/transformers/models/deberta/modeling_deberta.py",
"patch": "@@ -418,10 +418,10 @@ def forward(self, input_ids=None, token_type_ids=None, position_ids=None, mask=N\n \n embeddings = inputs_embeds\n if self.position_biased_input:\n- embeddings += position_embeddings\n... | 2025-02-12T13:21:01 |
vercel/next.js | bbe7fddf3950122e7d9d116570e52766cd48c1e9 | 227c35c0e281b38ff4f36b590624ffb802f5a8c7 | Fix broken link in `@next/font` docs (#42002)
As per https://twitter.com/pbshgthm/status/1585728924499480576
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feat... | [
{
"path": "docs/api-reference/next/font.md",
"patch": "@@ -294,7 +294,7 @@ import { greatVibes, sourceCodePro400 } from '@/fonts';\n ## Next Steps\n \n <div class=\"card\">\n- <a href=\"/docs/optimizing/fonts.md\">\n+ <a href=\"/docs/basic-features/font-optimization.md\">\n <b>Font Optmization</b>\n ... | 2022-10-27T21:02:27 |
rust-lang/rust | 8dc773296cf743af20b1174050431c29ba6a7427 | 5961e5ba3daa20d98f549eb9029105ae50c13aed | Clarify why SGX code specifies linkage/symbol names for certain statics
Also update the symbol names as items have moved around a bit. The actual
name isn't that important, it just needs to be unique. But for debugging
it can be useful for it to point to the right place. | [
{
"path": "library/std/src/sys/alloc/sgx.rs",
"patch": "@@ -10,8 +10,10 @@ use crate::sys::pal::waitqueue::SpinMutex;\n // The current allocator here is the `dlmalloc` crate which we've got included\n // in the rust-lang/rust repository as a submodule. The crate is a port of\n // dlmalloc.c from C to Rust.\... | 2025-04-14T11:36:06 |
nodejs/node | 2246c3c843efd32d8c573c0228bbc289a46c28b7 | 06dc96fa7cc91c9ba4c776f73fef0e509f853ab2 | doc: add util.types.isBig{Int,Uint}64Array()
These methods are exposed, even though the BigInt64Array and
BigUint64Array types are currently behind the --harmony-bigint
command line flag.
PR-URL: https://github.com/nodejs/node/pull/20615
Fixes: https://github.com/nodejs/node/issues/20602
Reviewed-By: Gus Caplan <me@g... | [
{
"path": "doc/api/util.md",
"patch": "@@ -1025,6 +1025,44 @@ util.types.isAsyncFunction(function foo() {}); // Returns false\n util.types.isAsyncFunction(async function foo() {}); // Returns true\n ```\n \n+### util.types.isBigInt64Array(value)\n+<!-- YAML\n+added: v10.0.0\n+-->\n+\n+* Returns: {boolean}... | 2018-05-09T02:30:16 |
golang/go | 359f44910f470578b2aed43f057b6fa8b4b41bcc | 98a902323f6406d39c068d60253a0872364041ac | cmd/compile: fix long RMW bit operations on AMD64
Under certain circumstances, the existing rules for bit operations can
produce code that writes beyond its intended bounds. For example,
consider the following code:
func repro(b []byte, addr, bit int32) {
_ = b[3]
v := uint32(b[0]) | uint32(b[1])<<8 | u... | [
{
"path": "src/cmd/compile/internal/ssa/gen/AMD64.rules",
"patch": "@@ -624,6 +624,14 @@\n // Recognize bit setting (a |= 1<<b) and toggling (a ^= 1<<b)\n (OR(Q|L) (SHL(Q|L) (MOV(Q|L)const [1]) y) x) => (BTS(Q|L) x y)\n (XOR(Q|L) (SHL(Q|L) (MOV(Q|L)const [1]) y) x) => (BTC(Q|L) x y)\n+(ORLmodify [off] {sym}... | 2021-03-26T17:48:42 |
huggingface/transformers | 8fc6ecba4f09a738e02d8cb08736ac924f504c08 | d6897b46bd0fea40285baa5f3310de8ffdc4a01b | VLM: enable skipped tests (#35746)
* fix cached tests
* fix some tests
* fix pix2struct
* fix | [
{
"path": "src/transformers/models/blip_2/modeling_blip_2.py",
"patch": "@@ -579,6 +579,9 @@ def _init_weights(self, module):\n Whether or not to return a [`~utils.ModelOutput`] instead of a plain tuple.\n interpolate_pos_encoding (`bool`, *optional*, defaults to `False`):\n ... | 2025-02-12T11:55:46 |
vercel/next.js | 2e9e54b64f4162db215c26105deb192b00bd6d55 | 882f3380eef219432543e98393550f2ed65624dc | Fix typo: docs/basic-features/font-optimization.md (#41967)
change 'Optmization' -> 'Optimization' | [
{
"path": "docs/basic-features/font-optimization.md",
"patch": "@@ -152,7 +152,7 @@ Every time you call the `localFont` or Google font function, that font is hosted\n \n <div class=\"card\">\n <a href=\"/docs/basic-features/image-optimization.md\">\n- <b>Image Optmization</b>\n+ <b>Image Optimizatio... | 2022-10-27T19:39:36 |
electron/electron | c8150e570b3fb2bfdd3d6c1f7acc7ad73d71d7dc | d2b4b761ba5da2175739feccc74f15dbe34d4f1b | Version bump atom/apm to fix script/bootstrap.py on Win32 | [
{
"path": "vendor/apm",
"patch": "@@ -1 +1 @@\n-Subproject commit c1416020ea508c9be4cad6e2172836df34fab8a2\n+Subproject commit d3c7b2e8a2a0ef1f94c472008919ed42f58ba470",
"additions": 1,
"deletions": 1,
"language": "Unknown"
}
] | 2013-08-28T11:14:54 |
nodejs/node | 06dc96fa7cc91c9ba4c776f73fef0e509f853ab2 | facb2c53c2bb98d14a2f94844ceaacfc4c606e68 | doc: fix missing napi_get_typedarray_info() param
Also, make the type name notation more consistent.
PR-URL: https://github.com/nodejs/node/pull/20631
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Vs... | [
{
"path": "doc/api/n-api.md",
"patch": "@@ -1697,8 +1697,9 @@ napi_status napi_get_typedarray_info(napi_env env,\n - `[in] typedarray`: `napi_value` representing the `TypedArray` whose\n properties to query.\n - `[out] type`: Scalar datatype of the elements within the `TypedArray`.\n-- `[out] length`: `Numb... | 2018-05-09T14:24:01 |
golang/go | 374b1904750931ed09d342e3c4c6e01fdb2802aa | 11b4aee05bfe83513cf08f83091e5aef8b33e766 | io/fs: implement FileInfoToDirEntry
Implements FileInfoToDirEntry which converts an fs.FileInfo to fs.DirEntry.
Fixes #42387.
Change-Id: Ie723b6ed583c6c5ecf22bbe64e3b6496f5114254
Reviewed-on: https://go-review.googlesource.com/c/go/+/293649
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@... | [
{
"path": "src/io/fs/readdir.go",
"patch": "@@ -45,3 +45,33 @@ func ReadDir(fsys FS, name string) ([]DirEntry, error) {\n \tsort.Slice(list, func(i, j int) bool { return list[i].Name() < list[j].Name() })\n \treturn list, err\n }\n+\n+// dirInfo is a DirEntry based on a FileInfo.\n+type dirInfo struct {\n+\... | 2021-02-18T14:53:46 |
huggingface/transformers | d6897b46bd0fea40285baa5f3310de8ffdc4a01b | 1cc7ca32955f618f9dfd081d787769fb898497c1 | Add utility for Reload Transformers imports cache for development workflow #35508 (#35858)
* Reload transformers fix form cache
* add imports
* add test fn for clearing import cache
* ruff fix to core import logic
* ruff fix to test file
* fixup for imports
* fixup for test
* lru restore
* test check
* fix st... | [
{
"path": "docs/source/en/how_to_hack_models.md",
"patch": "@@ -24,7 +24,37 @@ You'll learn how to:\n - Modify a model's architecture by changing its attention mechanism.\n - Apply techniques like Low-Rank Adaptation (LoRA) to specific model components.\n \n-We encourage you to contribute your own hacks and... | 2025-02-12T11:45:11 |
electron/electron | d2b4b761ba5da2175739feccc74f15dbe34d4f1b | 018a48770a141ad516d7ac41ed17de159ffeb560 | Update node: fix #66. | [
{
"path": "vendor/node",
"patch": "@@ -1 +1 @@\n-Subproject commit 4927dc9d040aaf7f90a44f245faa2456c4a8bf4e\n+Subproject commit 67f7bb6181e9ac6e59341dcdb7188e0634702fd9",
"additions": 1,
"deletions": 1,
"language": "Unknown"
}
] | 2013-08-27T10:39:32 |
vercel/next.js | 882f3380eef219432543e98393550f2ed65624dc | 288144c7e53e10fe296c0de6b70abfe47faa4461 | docs: Update the version history in the middleware page (#41949)
Make it clear that only Next.js 13.0.0 or newer support setting request headers in a middleware.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
... | [
{
"path": "docs/advanced-features/middleware.md",
"patch": "@@ -9,6 +9,7 @@ description: Learn how to use Middleware to run code before a request is complet\n \n | Version | Changes |\n | --------- | -----------------------... | 2022-10-27T19:31:52 |
golang/go | 11b4aee05bfe83513cf08f83091e5aef8b33e766 | 5834ce1dd770c848342ec357a8317a4eb2d88aca | cmd/compile: mark R16, R17 clobbered for non-standard calls on ARM64
On ARM64, (external) linker generated trampoline may clobber R16
and R17. In CL 183842 we change Duff's devices not to use those
registers. However, this is not enough. The register allocator
also needs to know that these registers may be clobbered i... | [
{
"path": "src/cmd/compile/internal/ssa/gen/ARM64Ops.go",
"patch": "@@ -512,13 +512,14 @@ func init() {\n \t\t// auxint = offset into duffzero code to start executing\n \t\t// returns mem\n \t\t// R20 changed as side effect\n+\t\t// R16 and R17 may be clobbered by linker trampoline.\n \t\t{\n \t\t\tname: ... | 2019-06-28T13:30:36 |
nodejs/node | 5db018d1d05de039e00127a3a8adc0c3eed32e97 | 3f6450b638a1ddb6ce0aceebaae2aae86c8499f5 | v8: backport 9fb02b526f1cd3b859a530a01adb08bc0d089f4f
Refs: https://github.com/v8/v8/commit/9fb02b526f1cd3b859a530a01adb08bc0d089f4f
Original commit message:
Allow function callbacks to have Proxy as receiver.
R=verwaest@chromium.org
Bug: v8:5773
Change-Id: Ifd29a1116ee8c86b8d8d24485bbfd19e260ab66b... | [
{
"path": "common.gypi",
"patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.6',\n+ 'v8_embedder_string': '-node.7',\n \n # Enable disassembler for `--print-code... | 2018-05-07T13:36:43 |
huggingface/transformers | 1cc7ca32955f618f9dfd081d787769fb898497c1 | 0cd5e2dfd04d120c53a3c8c2ae90425ab5d015b8 | Whisper: remove redundant assisted generation tests (#34814)
* remove redundant test
* delete another test
* revert default max_length
* (wrong place, moving) | [
{
"path": "src/transformers/generation/candidate_generator.py",
"patch": "@@ -124,7 +124,7 @@ def __init__(\n # Prepare the kwargs for the assistant model\n assistant_kwargs = {}\n for key, value in model_kwargs.items(): # deepcopy crashes if we attempt to copy encoder outputs with ... | 2025-02-12T11:37:19 |
rust-lang/rust | 1ac3d6bba71fce59939e6a4d50de98e289e87b9b | 15f58c46da79399961a09db0c650a2f90f442e6b | Let CStrings be either 1 or 2 byte aligned.
Some architectures (like s390x) require strings to be 2 byte aligned.
Therefor the section name will be marked with a .2 postfix on this
architectures.
Allowing a section name with a .1 or .2 postfix will make the test pass
on either platform. | [
{
"path": "tests/assembly/cstring-merging.rs",
"patch": "@@ -5,7 +5,7 @@\n \n use std::ffi::CStr;\n \n-// CHECK: .section .rodata.str1.1,\"aMS\"\n+// CHECK: .section .rodata.str1.{{[12]}},\"aMS\"\n // CHECK: .Lanon.{{.+}}:\n // CHECK-NEXT: .asciz \"foo\"\n #[unsafe(no_mangle)]",
"additions": 1,
"del... | 2025-04-14T07:49:43 |
electron/electron | 018a48770a141ad516d7ac41ed17de159ffeb560 | fd299cb3fe5da05a25a186cd3f09104e60c4a6a4 | Add spec for heap snapshot crash (#66). | [
{
"path": "common/api/atom_api_v8_util.cc",
"patch": "@@ -3,7 +3,9 @@\n // found in the LICENSE file.\n \n #include \"common/api/object_life_monitor.h\"\n+#include \"v8/include/v8-profiler.h\"\n #include \"vendor/node/src/node.h\"\n+#include \"vendor/node/src/node_internals.h\"\n \n namespace atom {\n \n@@ ... | 2013-08-27T09:47:44 |
vercel/next.js | 191710ddfec38c22c8e0f4386a0776371dcdec4e | 0beed3563cdab846fd6b683f1ed5586de3e7d96d | Show error message when using legacy props on new `next/image` (#41930)
This PR shows a better error message when using legacy props on new
`next/image` (introduced in Next.js 13) and makes the codemod more
discoverable. | [
{
"path": "errors/manifest.json",
"patch": "@@ -346,6 +346,10 @@\n \"title\": \"next-image-unconfigured-host\",\n \"path\": \"/errors/next-image-unconfigured-host.md\"\n },\n+ {\n+ \"title\": \"next-image-upgrade-to-13\",\n+ \"path\": \"/errors/next-image... | 2022-10-27T16:17:28 |
nodejs/node | d5b259e22bdd165929e20ae211f72d71d70c9dae | 4214c2fd33bcb0d57dde87d028a69f4e3f7a8119 | doc: add parameters for Http2Stream:error event
Add parameters for the callback for the Http2Stream:error event
inline with the pattern in the rest of the documentation.
Refs: https://github.com/nodejs/help/issues/877#issuecomment-381253464
PR-URL: https://github.com/nodejs/node/pull/20610
Reviewed-By: Vse Mozhet By... | [
{
"path": "doc/api/http2.md",
"patch": "@@ -846,6 +846,8 @@ the `http2stream.rstCode` property. If the code is any value other than\n added: v8.4.0\n -->\n \n+* `error` {Error}\n+\n The `'error'` event is emitted when an error occurs during the processing of\n an `Http2Stream`.\n ",
"additions": 2,
... | 2018-05-08T19:46:57 |
golang/go | 5cec8b85e5dc75ef21b62efb6bd93f9007385e34 | 7ce361737fad30a78e47f2d12bd797efcc056b1c | net/http/httptest: wait for user ConnState hooks
Ensure that user ConnState callbacks have completed before returning
from (*httptest.Server).Close.
Fixes: #37510
Fixes: #37505
Fixes: #45237
Change-Id: I8fe7baa089fbe4f3836bf6ae9767c7b1270d1331
Reviewed-on: https://go-review.googlesource.com/c/go/+/304829
Trust: Damie... | [
{
"path": "src/net/http/httptest/server.go",
"patch": "@@ -316,6 +316,13 @@ func (s *Server) wrap() {\n \ts.Config.ConnState = func(c net.Conn, cs http.ConnState) {\n \t\ts.mu.Lock()\n \t\tdefer s.mu.Unlock()\n+\n+\t\t// Keep Close from returning until the user's ConnState hook\n+\t\t// (if any) finishes. W... | 2021-03-25T18:11:03 |
huggingface/transformers | f5fff672db338f8143181b2d8b7612060e14a7f3 | 11afab19c0e4b652855f9ed7f82aa010c4f14754 | Add pipeline parallel plan to `PretrainedConfig` and `PreTrainedModel` (#36091)
* Add `base_model_pp_plan` to `PretrainedConfig`
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
* Add `_pp_plan` to `PreTrainedModel`
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
* Ad... | [
{
"path": "src/transformers/configuration_utils.py",
"patch": "@@ -74,6 +74,8 @@ class PretrainedConfig(PushToHubMixin):\n naming of attributes.\n - **base_model_tp_plan** (`Dict[str, Any]`) -- A dict that maps sub-modules FQNs of a base model to a tensor\n parallel plan applied to the sub-m... | 2025-02-12T09:51:48 |
electron/electron | fd299cb3fe5da05a25a186cd3f09104e60c4a6a4 | c87956ef4ffb096b5c3f8197001ed55884eff837 | Upgrade apm for more logging on errors | [
{
"path": "vendor/apm",
"patch": "@@ -1 +1 @@\n-Subproject commit 731b5dd2403750e8a931712d5b5d4b835652ee9a\n+Subproject commit c1416020ea508c9be4cad6e2172836df34fab8a2",
"additions": 1,
"deletions": 1,
"language": "Unknown"
}
] | 2013-08-21T17:47:48 |
vercel/next.js | cd0af59cb155d26b4c5bede623bc0bfefb9d6777 | 010ff64c217bfe6c21bfe45eed5d99712037c743 | Make turbotrace test project as an independent package (vercel/turbo#2366)
Make the `crates/turbopack/tests/node-file-trace` as an independent `pnpm` workspace. This brings 2 advantages:
1. Developers won't be annoyed by the `installation failure` issues caused by weird dependencies in the `tests/node-file-trace`.
2.... | [
{
"path": "crates/turbopack/.gitignore",
"patch": "@@ -1 +1,2 @@\n-bench.json\n\\ No newline at end of file\n+bench.json\n+.pnpm",
"additions": 2,
"deletions": 1,
"language": "Unknown"
},
{
"path": "crates/turbopack/tests/node-file-trace.rs",
"patch": "@@ -34,8 +34,9 @@ use turbopack... | 2022-10-27T10:30:15 |
huggingface/transformers | 9b69986e8a37d5ad4200ddee1130c37a7bde4dd7 | 1b57de8dcf2ab25c1b081c23679e2c964ce3da92 | [docs] minor doc fix (#36127)
fix | [
{
"path": "examples/pytorch/multiple-choice/README.md",
"patch": "@@ -21,7 +21,7 @@ limitations under the License.\n `run_swag` allows you to fine-tune any model from our [hub](https://huggingface.co/models) (as long as its architecture as a `ForMultipleChoice` version in the library) on the SWAG dataset or... | 2025-02-11T18:31:12 |
golang/go | ada77d23ae001a8c3feac28a44dec0be578a1c48 | 2c8692d45f80f902a243732dda95f6561b72a49a | cmd/compile/internal/types2: review of examples test
The only changes between (equivalent, and reviewed) go/types/examples directory
are in examples/types.go2. The go/types/examples/types.go2 file should be updated
accordingly.
$ f=examples/types.go2; diff $f $HOME/goroot/src/go/types/$f
1d0
< // UNREVIEWED
109c108
<... | [
{
"path": "src/cmd/compile/internal/types2/examples/functions.go2",
"patch": "@@ -1,4 +1,3 @@\n-// UNREVIEWED\n // Copyright 2019 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.",
"additions": 0,
"deleti... | 2021-03-23T21:54:19 |
electron/electron | 7cc15890976184d5a862f08d0ca7dcb2e3a2b3ba | e8ecbec3a713393a5077c29f6b63ab73e82e679c | Abort when there is a error in cpplint. | [
{
"path": "script/cpplint.py",
"patch": "@@ -41,7 +41,7 @@ def list_files(directories, filters):\n def call_cpplint(files):\n cpplint = os.path.join(SOURCE_ROOT, 'vendor', 'depot_tools', 'cpplint.py')\n rules = '--filter=-build/header_guard,-build/include_what_you_use'\n- subprocess.call([sys.executabl... | 2013-08-21T13:35:41 |
huggingface/transformers | 1b57de8dcf2ab25c1b081c23679e2c964ce3da92 | 03534a92f8358beb86b376884a9f377ef5388eb6 | Make `output_dir` Optional in `TrainingArguments` #27866 (#35735)
* make output_dir optional
* inintaied a basic testing module to validate and verify the changes
* Test output_dir default to 'tmp_trainer' when unspecified.
* test existing functionality of output_dir.
* test that output dir only created w... | [
{
"path": "src/transformers/training_args.py",
"patch": "@@ -229,7 +229,7 @@ class TrainingArguments:\n command line.\n \n Parameters:\n- output_dir (`str`):\n+ output_dir (`str`, *optional*, defaults to `\"trainer_output\"`):\n The output directory where the model predicti... | 2025-02-11T17:54:36 |
vercel/next.js | 4d20beb7c55b1467347e05822c904a67b59ddb05 | 0e25f8c629819976a2189354f3da389103738baa | BREAKING CHANGE: feat(edge): split `NextCookies` to `RequestCookies` and `ResponseCookies` (#41526)
Ref: [Slack
thread](https://vercel.slack.com/archives/C035J346QQL/p1666056382299069?thread_ts=1666041444.633059&cid=C035J346QQL),
[docs update](https://github.com/vercel/front/pull/17090)
Spec: https://wicg.github.... | [
{
"path": "docs/advanced-features/middleware.md",
"patch": "@@ -148,31 +148,39 @@ To produce a response from Middleware, you should `rewrite` to a route ([Page](/\n \n ## Using Cookies\n \n-The `cookies` API extends [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) ... | 2022-10-27T07:20:39 |
rust-lang/rust | 9e99fc3a73ba3e74cc1bd7413d4ef0335130c369 | 17f72ff6684efab0b8f79a0f953774a2136e4c8b | clean "Coding conventions" chapter
- use correct code block markers
- add missing title
- rustfmt can now use edition setting in its config
... and this is set in Rust repo
- reduce visual noise
- needless repetition
- convention is to start sentence with upper case
- sembr
- whitespace
- semi-heading not adding muc... | [
{
"path": "src/doc/rustc-dev-guide/src/conventions.md",
"patch": "@@ -1,11 +1,13 @@\n+# Coding conventions\n+\n This file offers some tips on the coding conventions for rustc. This\n chapter covers [formatting](#formatting), [coding for correctness](#cc),\n [using crates from crates.io](#cio), and some tips... | 2025-04-14T06:41:22 |
golang/go | ffa9983b998cd9667dec0cc5eeb102b14696e28b | 34ef294b76cc129411a572dc1df18a44eaa5768e | cmd/compile/internal/types2: review of api_test.go
The changes between (equivalent, and reviewed) go/types/api_test.go
and api_test.go can be seen by comparing patchset 1 and 2. The actual
changes are removing the "// UNREVIEWED" marker, the addition of the
TestConvertibleTo and TestAssignableTo tests, and adjustments... | [
{
"path": "src/cmd/compile/internal/types2/api_test.go",
"patch": "@@ -1,4 +1,3 @@\n-// UNREVIEWED\n // Copyright 2013 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n@@ -22,9 +21,21 @@ func unimplemented() {\n... | 2021-03-23T19:44:17 |
electron/electron | d160da7752ce33a50fd320ae8ca448fd4a88ece8 | 0cd3f3cc40a764bedcee9cc7c9950dc052b71718 | Add script to run specs in CI, fixes #61. | [
{
"path": "script/cibuild",
"patch": "@@ -0,0 +1,8 @@\n+#!/usr/bin/env python\n+\n+import os\n+import subprocess\n+\n+\n+test = os.path.join(os.path.dirname(__file__), 'test.py')\n+subprocess.check_call([test, '--ci'])",
"additions": 8,
"deletions": 0,
"language": "Unknown"
},
{
"path": ... | 2013-08-21T03:15:22 |
huggingface/transformers | 3a5c328fd846574535222dfb4b3eb31fb6c1102f | 775252abd40ed8eb05f3b846b4e8274623134235 | Fix CI issues (#35662)
* make explicit gpu dep
* [run-slow] bamba | [
{
"path": "tests/models/bamba/test_modeling_bamba.py",
"patch": "@@ -22,6 +22,7 @@\n from transformers import AutoTokenizer, BambaConfig, is_torch_available\n from transformers.testing_utils import (\n require_torch,\n+ require_torch_gpu,\n slow,\n torch_device,\n )\n@@ -487,6 +488,7 @@ def _... | 2025-02-11T17:17:01 |
vercel/next.js | 05d4c9e729ba7cef2b386284e2285ae09445549a | e64bf9851187ac2464d6ec58471b88d41165d91c | Fix lint cli help (#41783)
<!--
Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change that you're making:
-->
## Bug
- [ ] Related issues linke... | [
{
"path": "packages/next/cli/next-lint.ts",
"patch": "@@ -116,7 +116,7 @@ const nextLint: cliCommand = async (argv) => {\n -d, --dir Array Include directory, or directories, to run ESLint - default: 'pages', 'components', and 'lib'\n --file Array Include ... | 2022-10-27T06:02:08 |
rust-lang/rust | bc9dacdf9a0f123377f6f97ab23f13f5777e4041 | 322bba0ae40dfcd9e05faa1a63b35033e9214c17 | Move `has_self` field to `hir::AssocKind::Fn`.
`hir::AssocItem` currently has a boolean `fn_has_self_parameter` field,
which is misplaced, because it's only relevant for associated fns, not
for associated consts or types. This commit moves it (and renames it) to
the `AssocKind::Fn` variant, where it belongs.
This req... | [
{
"path": "src/main_shim.rs",
"patch": "@@ -1,6 +1,6 @@\n use cranelift_frontend::{FunctionBuilder, FunctionBuilderContext};\n use rustc_hir::LangItem;\n-use rustc_middle::ty::{AssocKind, GenericArg};\n+use rustc_middle::ty::{AssocTag, GenericArg};\n use rustc_session::config::EntryFnType;\n use rustc_span:... | 2025-04-10T20:28:59 |
golang/go | 74fe516c3549e8177aa5326e6ce17efd529e3383 | 82a1e0f9d3e47ae7792cb857e950abc7103e9f39 | cmd/go: add -benchtime to cacheable test flags
Add -benchtime to the list of flags that allow caching test results.
If -benchtime is set without -bench, no benchmarks are run. The cache
does not need to be invalidated in this case.
If -benchtime is set with -bench, benchmarks are run. The cache is
invalidated due to... | [
{
"path": "src/cmd/go/alldocs.go",
"patch": "@@ -1408,8 +1408,8 @@\n //\n // The rule for a match in the cache is that the run involves the same\n // test binary and the flags on the command line come entirely from a\n-// restricted set of 'cacheable' test flags, defined as -cpu, -list,\n-// -parallel, -run... | 2021-03-24T15:14:29 |
nodejs/node | a76dfd24ec5c76d268ab2c6b6bd6a9cf36f602c6 | ac894503261e4f509eec2e10e56ff72764abd5f5 | doc: refactor mode constants parts in fs.md
1. removed extra mode constants doc.
2. creates bookmark to the common File Access Contants block.
PR-URL: https://github.com/nodejs/node/pull/20558
Fixes: https://github.com/nodejs/node/issues/20049
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Vse Mozh... | [
{
"path": "doc/api/fs.md",
"patch": "@@ -746,17 +746,9 @@ changes:\n \n Tests a user's permissions for the file or directory specified by `path`.\n The `mode` argument is an optional integer that specifies the accessibility\n-checks to be performed. The following constants define the possible values of\n-`m... | 2018-05-06T07:35:21 |
huggingface/transformers | 775252abd40ed8eb05f3b846b4e8274623134235 | 5489fea557b10fc8f21baab6e96d3b6b3b42a6c5 | Fix max size deprecated warning (#34998)
* Remove unused `max_size` variable in processor which was always `None` and triggered unnecessary deprecated warning
* Remove unused `max_size` variable in processor which was always `None` and triggered unnecessary deprecated warning
* Remove deprecated warnings and elimina... | [
{
"path": "src/transformers/models/conditional_detr/image_processing_conditional_detr.py",
"patch": "@@ -1364,7 +1364,6 @@ def preprocess(\n )\n do_pad = kwargs.pop(\"pad_and_return_pixel_mask\")\n \n- max_size = None\n if \"max_size\" in kwargs:\n logger.w... | 2025-02-11T17:14:31 |
rust-lang/rust | d891f77363a7e5e911dd570a03691d3195343044 | e6dc2e9be026e9d26296a51e496d1b25b5e0721e | Move `has_self` field to `hir::AssocKind::Fn`.
`hir::AssocItem` currently has a boolean `fn_has_self_parameter` field,
which is misplaced, because it's only relevant for associated fns, not
for associated consts or types. This commit moves it (and renames it) to
the `AssocKind::Fn` variant, where it belongs.
This req... | [
{
"path": "clippy_lints/src/bool_assert_comparison.rs",
"patch": "@@ -56,7 +56,7 @@ fn is_impl_not_trait_with_bool_out<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -\n cx.tcx.associated_items(trait_id).find_by_ident_and_kind(\n cx.tcx,\n Ident::from_str(\"Output\")... | 2025-04-10T20:28:59 |
golang/go | 82a1e0f9d3e47ae7792cb857e950abc7103e9f39 | 4d66d77cd22812de4526e3973bc3314040a939a5 | cmd/link: make symbol data writable before toc fixup
On ppc64le, we need to insert a load to restore the toc
pointer in R2 after calling into plt stubs. Sometimes the
symbol data is loaded into readonly memory. This is the
case when linking with the race detector code.
Likewise, add extra checks to ensure we can, and... | [
{
"path": "src/cmd/link/internal/ppc64/asm.go",
"patch": "@@ -121,16 +121,21 @@ func genplt(ctxt *ld.Link, ldr *loader.Loader) {\n \t\t\t// Update the relocation to use the call stub\n \t\t\tr.SetSym(stub.Sym())\n \n-\t\t\t// make sure the data is writeable\n-\t\t\tif ldr.AttrReadOnly(s) {\n-\t\t\t\tpanic(\... | 2021-03-23T20:40:54 |
nodejs/node | ac894503261e4f509eec2e10e56ff72764abd5f5 | cf44abbbfeae02505f2afe629f6cee325ef73e86 | test: fix flaky http2-flow-control test
PR-URL: https://github.com/nodejs/node/pull/20556
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com> | [
{
"path": "test/parallel/test-http2-misbehaving-flow-control-paused.js",
"patch": "@@ -70,8 +70,6 @@ server.on('stream', (stream) => {\n client.destroy();\n }));\n stream.on('end', common.mustNotCall());\n- stream.respond();\n- stream.end('ok');\n });\n \n server.listen(0, () => {",
"additions... | 2018-05-06T06:01:02 |
huggingface/transformers | 76048be419b4ca90b58330a2564ab2fc0174a6b4 | f42d46ccb406695fb57c0c669526f67fc30d1d84 | fix: typos in documentation files (#36122)
* Update tools.py
* Update text_generation.py
* Update question_answering.py | [
{
"path": "src/transformers/agents/tools.py",
"patch": "@@ -479,7 +479,7 @@ def __init__(\n if api_name is None:\n api_name = list(space_description.keys())[0]\n logger.warning(\n- f\"Since `api_name` was not defined, it was auto... | 2025-02-11T13:47:20 |
vercel/next.js | e64bf9851187ac2464d6ec58471b88d41165d91c | edba9396a80a4115f4b0b49dff2e55370f245370 | Update font links and add missing error (#41910)
Adds an error that was missing. Link to beta until the changes are live.
closes #41900
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
- [... | [
{
"path": "errors/google-fonts-missing-subsets.md",
"patch": "@@ -0,0 +1,34 @@\n+# Missing specified subset for a `@next/font/google` font\n+\n+#### Why This Error Occurred\n+\n+Preload is enabled for a font that is missing a specified subset.\n+\n+#### Possible Ways to Fix It\n+\n+Specify which subsets to ... | 2022-10-27T06:00:40 |
electron/electron | dea52ae76775632a502fa9955ac25eaa98c42c0d | 79d6e88d99730a1550f5f53472a1d273ffdfed51 | Upgrade apm for output fixes | [
{
"path": "vendor/apm",
"patch": "@@ -1 +1 @@\n-Subproject commit cbf46094b6a860746cbe29c239f771c5306490b3\n+Subproject commit 731b5dd2403750e8a931712d5b5d4b835652ee9a",
"additions": 1,
"deletions": 1,
"language": "Unknown"
}
] | 2013-08-20T16:41:10 |
rust-lang/rust | ce2aa97cd647bdfcb5859489d93526622bb388a0 | abce592029671a2f65e50901ad5fc55e42fdf930 | Move `has_self` field to `hir::AssocKind::Fn`.
`hir::AssocItem` currently has a boolean `fn_has_self_parameter` field,
which is misplaced, because it's only relevant for associated fns, not
for associated consts or types. This commit moves it (and renames it) to
the `AssocKind::Fn` variant, where it belongs.
This req... | [
{
"path": "compiler/rustc_ast_lowering/src/delegation.rs",
"patch": "@@ -85,7 +85,7 @@ impl<'hir> LoweringContext<'_, 'hir> {\n .delegation_fn_sigs\n .get(&local_def_id)\n .is_some_and(|sig| sig.has_self),\n- None => self.tcx.associa... | 2025-04-10T20:28:59 |
golang/go | 53941b6150a1f9ca01c02316c8db51024294a4c9 | 9f4d5c94b0cafc4d888b7f02e4ff12c2ff39eedc | cmd/compile: fix defer desugar keepalive arg handling buglet
Fix a bug in the go/defer desugar handling of keepalive arguments. The
go/defer wrapping code has special handling for calls whose arguments
are pointers that have been cast to "uintptr", so as to insure that
call "keepalive" machinery for such calls continu... | [
{
"path": "src/cmd/compile/internal/walk/order.go",
"patch": "@@ -1458,8 +1458,9 @@ var wrapGoDefer_prgen int\n func (o *orderState) wrapGoDefer(n *ir.GoDeferStmt) {\n \tcall := n.Call\n \n-\tvar callX ir.Node // thing being called\n-\tvar callArgs []ir.Node // call arguments\n+\tvar callX ir.Node ... | 2021-03-25T12:30:19 |
nodejs/node | 870ae722279678a6d4f49b664bd4fba2051fbf4a | 8e6601a789ec6c3657314f475f1493192a2fda2b | tools: add eslint check for skipIfEslintMissing
Add a custom eslint rule to check for `common.skipIfEslintMissing()` to
allow tests to run from source tarballs that do not include eslint.
Fix up rule tests that were failing the new check.
Refs: https://github.com/nodejs/node/issues/20336
PR-URL: https://github.com/... | [
{
"path": "test/.eslintrc.yaml",
"patch": "@@ -13,6 +13,7 @@ rules:\n node-core/prefer-common-expectserror: error\n node-core/prefer-common-mustnotcall: error\n node-core/crypto-check: error\n+ node-core/eslint-check: error\n node-core/inspector-check: error\n node-core/number-isnan: error\n ##... | 2018-04-27T19:57:52 |
huggingface/transformers | f42d46ccb406695fb57c0c669526f67fc30d1d84 | 1779f5180edfb048dad1ba406fe6cca942b47683 | Add common test for `torch.export` and fix some vision models (#35124)
* Add is_torch_greater_or_equal test decorator
* Add common test for torch.export
* Fix bit
* Fix focalnet
* Fix imagegpt
* Fix seggpt
* Fix swin2sr
* Enable torch.export test for vision models
* Enable test for video models... | [
{
"path": "src/transformers/models/beit/modeling_beit.py",
"patch": "@@ -34,7 +34,7 @@\n SemanticSegmenterOutput,\n )\n from ...modeling_utils import PreTrainedModel\n-from ...pytorch_utils import find_pruneable_heads_and_indices, prune_linear_layer\n+from ...pytorch_utils import compile_compatible_meth... | 2025-02-11T11:37:31 |
electron/electron | 22c8b55cb9cca9852754629ee55effa7452a4f51 | 7c85479e90b5d67e3094dae0db3c96342c1666fa | Fix invocation of npm on non-Cygwin | [
{
"path": "script/bootstrap.py",
"patch": "@@ -57,8 +57,13 @@ def bootstrap_brightray(url):\n \n \n def update_apm():\n+ ## NB: Without this, subprocess incorrectly searches for npm.exe\n+ npm_cmd = 'npm'\n+ if sys.platform == 'win32':\n+ npm_cmd += '.cmd'\n+\n with scoped_cwd(os.path.join('vendor',... | 2013-08-20T14:37:02 |
vercel/next.js | edba9396a80a4115f4b0b49dff2e55370f245370 | c6107a91890cbe5d8ccf822f8c14fd272bfbc8ac | test(dev): support to run test with --turbo (#41908)
<!--
Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change that you're making:
-->
This PR up... | [
{
"path": "test/development/basic/styled-components-disabled.test.ts",
"patch": "@@ -4,11 +4,15 @@ import { createNext, FileRef } from 'e2e-utils'\n import { NextInstance } from 'test/lib/next-modes/base'\n import { fetchViaHTTP } from 'next-test-utils'\n \n-describe('styled-components SWC transform', () =>... | 2022-10-27T05:56:18 |
golang/go | 9f4d5c94b0cafc4d888b7f02e4ff12c2ff39eedc | 402d784b8fc0a7914955eb168ea288338e2025ff | cmd/go: emit error when listing with -f and -json
Fixes #44738
Change-Id: Ie57ddcbe87408c9644313ec2a9ea347b4d6de76b
Reviewed-on: https://go-review.googlesource.com/c/go/+/298029
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Trust: Jay Conrod <jayconrod@google.com> | [
{
"path": "src/cmd/go/internal/list/list.go",
"patch": "@@ -335,6 +335,10 @@ var (\n var nl = []byte{'\\n'}\n \n func runList(ctx context.Context, cmd *base.Command, args []string) {\n+\tif *listFmt != \"\" && *listJson == true {\n+\t\tbase.Fatalf(\"go list -f cannot be used with -json\")\n+\t}\n+\n \tload.... | 2021-03-02T22:44:22 |
nodejs/node | 15f743165cdb61bcc4dcaf865f18931f2c883b41 | ca6b12e28df53110de7ee58699d5af099d036c67 | fs: fchmod->fchown in promises/lchown
This was a clear error.
chown should do chown, not chmod.
PR-URL: https://github.com/nodejs/node/pull/20407
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-... | [
{
"path": "lib/internal/fs/promises.js",
"patch": "@@ -390,7 +390,7 @@ async function lchown(path, uid, gid) {\n if (O_SYMLINK !== undefined) {\n const fd = await open(path,\n O_WRONLY | O_SYMLINK);\n- return fchmod(fd, uid, gid).finally(fd.close.bind(fd));\n+ return fc... | 2018-04-29T18:01:58 |
huggingface/transformers | 1779f5180edfb048dad1ba406fe6cca942b47683 | 1feebb5b4150882deabddd190a541f336f3be817 | Fix nighlty CIs: missing atols (#35903)
fix osme missing atols | [
{
"path": "tests/models/dpt/test_modeling_dpt.py",
"patch": "@@ -410,7 +410,7 @@ def test_post_processing_depth_estimation(self):\n predicted_depth.unsqueeze(0).unsqueeze(1), size=(500, 500), mode=\"bicubic\", align_corners=False\n ).squeeze()\n self.assertTrue(output_enlarged.sh... | 2025-02-11T09:49:21 |
rust-lang/rust | 601ab30d2734e67e7a483109ec27f034e7cc3aae | 121a12edc699b5f50a5ab4924f8db3ab1ce96b75 | Prevent panics when there is a cyclic dependency between closures
We didn't include them in the sorted closures list, therefore didn't analyze them, then failed to find them. | [
{
"path": "src/tools/rust-analyzer/crates/hir-ty/src/infer/closure.rs",
"patch": "@@ -23,7 +23,7 @@ use hir_def::{\n use hir_def::{Lookup, type_ref::TypeRefId};\n use hir_expand::name::Name;\n use intern::sym;\n-use rustc_hash::FxHashMap;\n+use rustc_hash::{FxHashMap, FxHashSet};\n use smallvec::{SmallVec, ... | 2025-04-14T04:12:51 |
electron/electron | beb62566e473268e9522618d374a90302d18da2e | d0b48002823f95f9ebfd2e326c2ac396c7adcf50 | [Win] Fix the command line spliting code. | [
{
"path": "app/atom_main.cc",
"patch": "@@ -13,22 +13,23 @@ int Start(int argc, char *argv[]);\n #if defined(OS_WIN)\n \n #include <windows.h> // NOLINT\n+#include <shellapi.h> // NOLINT\n \n #include \"app/atom_main_delegate.h\"\n #include \"content/public/app/startup_helper_win.h\"\n #include \"sandbox/... | 2013-08-16T10:48:02 |
vercel/next.js | c6107a91890cbe5d8ccf822f8c14fd272bfbc8ac | 0ab2bed7a3ceaf9db61ed6c07d0036f69fdeb6ce | Add data attribute to div to distinguish it (#41889)
Makes it clearer why this is added by Next.js and allows searching for
it in the docs.
You can learn more about why here:
https://beta.nextjs.org/docs/routing/linking-and-navigating#focus-and-scroll-management
<!--
Thanks for opening a PR! Your contribution... | [
{
"path": "packages/next/client/components/layout-router.tsx",
"patch": "@@ -240,7 +240,9 @@ export function InnerLayoutRouter({\n \n // Ensure root layout is not wrapped in a div as the root layout renders `<html>`\n return rootLayoutIncluded ? (\n- <div ref={focusAndScrollElementRef}>{subtree}</div... | 2022-10-27T05:51:16 |
golang/go | 402d784b8fc0a7914955eb168ea288338e2025ff | dec3d00b28657ce9e2fe725c858a46c3dd3fd594 | path/filepath: make Rel handle Windows UNC share
Fixes #41230
Change-Id: Iea15e4ae6d56328333fd22de5d78dfcad78ef1bc
Reviewed-on: https://go-review.googlesource.com/c/go/+/253197
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Trust: Alex Brainman <alex.brainman@gmail.com>
Trust: Emmanuel Odeke <emmanuel@orijtech.... | [
{
"path": "src/path/filepath/path.go",
"patch": "@@ -275,7 +275,11 @@ func Rel(basepath, targpath string) (string, error) {\n \ttarg = targ[len(targVol):]\n \tif base == \".\" {\n \t\tbase = \"\"\n+\t} else if base == \"\" && volumeNameLen(baseVol) > 2 /* isUNC */ {\n+\t\t// Treat any targetpath matching `\... | 2020-09-04T23:07:12 |
nodejs/node | 63a8436b91887ed272ef12aa79100f7232047c06 | ef37f09b47b0758987c9cd23d6054a0237cae437 | doc: fix minor typographical error in DEP0079 text
Change `backwards compatibility` to `backward compatibility`.
(It's confusing because "backwards compatible" is acceptable because
"backwards" can be used as an adverb like that. However, as an
adjective, as in "backward compatibility", only "backward" will do.
Easie... | [
{
"path": "doc/api/deprecations.md",
"patch": "@@ -722,7 +722,7 @@ Type: Runtime\n \n Using a property named `inspect` on an object to specify a custom inspection\n function for [`util.inspect()`][] is deprecated. Use [`util.inspect.custom`][]\n-instead. For backwards compatibility with Node.js prior to ver... | 2018-05-04T17:05:44 |
electron/electron | d0b48002823f95f9ebfd2e326c2ac396c7adcf50 | 91a9fe41c922922f8a2e27fb6200e2189d0ac375 | [Win] Fix conversion between wchar_t* and const wchar_t*. | [
{
"path": "app/atom_main.cc",
"patch": "@@ -12,21 +12,23 @@ int Start(int argc, char *argv[]);\n \n #if defined(OS_WIN)\n \n-#include <stringapiset.h> // NOLINT\n+#include <windows.h> // NOLINT\n \n #include \"app/atom_main_delegate.h\"\n #include \"content/public/app/startup_helper_win.h\"\n #include \"s... | 2013-08-16T08:38:09 |
huggingface/transformers | be2ac0916a7902e1683d708805270142257a254a | 9510ae39d90e17ebc8dd3ef116df45b637d5110a | [generate] shape checks in tests compatible with fixed-length caches (+ some minor fixes) (#35993)
* shape checks compatible with static cache
* add test
* tmp
* manually turn on eager attn when we want to output attn
* typo
* generalize to encoder-decoder models
* force compilation on cpu
* tmp c... | [
{
"path": "src/transformers/generation/utils.py",
"patch": "@@ -116,6 +116,16 @@\n from accelerate.hooks import AlignDevicesHook, add_hook_to_module\n \n \n+# Variable names used to hold the cache at generation time\n+ALL_CACHE_NAMES = [\n+ \"past_key_values\", # default\n+ \"cache_params\", # m... | 2025-02-10T17:50:54 |
vercel/next.js | 0ab2bed7a3ceaf9db61ed6c07d0036f69fdeb6ce | 80357700df414aa117dd18699cd44a87af00eeed | Fix more incorrect markdown langs (#41939)
## Documentation / Examples
- [ ] Make sure the linting passes by running `pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
x-ref: https://github... | [
{
"path": "docs/advanced-features/react-18/switchable-runtime.md",
"patch": "@@ -12,12 +12,13 @@ By default, Next.js uses the Node.js runtime. [Middleware](https://nextjs.org/do\n \n To configure the runtime for your whole application, you can set the experimental option `runtime` in your `next.config.js` f... | 2022-10-27T05:48:35 |
golang/go | dec3d00b28657ce9e2fe725c858a46c3dd3fd594 | ddcdbb417b47e50fc7006c9438104c5b8b5f75e4 | cmd/compile/internal/types2: review of stdlib_test.go
The changes between (equivalent, and reviewed) go/types/stdlib_test.go
and stdlib_test.go can be seen by comparing patchset 1 and 2. The actual
changes are removing the "// UNREVIEWED" marker, using the os package
instead of ioutil, and some comment adjustments. Al... | [
{
"path": "src/cmd/compile/internal/types2/stdlib_test.go",
"patch": "@@ -1,4 +1,3 @@\n-// UNREVIEWED\n // Copyright 2013 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n@@ -14,7 +13,6 @@ import (\n \t\"fmt\"\n... | 2021-03-23T19:30:18 |
nodejs/node | 0b03d91d62afba2b0e52633982dbbd0dcf3c38a6 | 7a3fc182e68cb0b860fd04cb898f283c876c6da3 | doc: fix text for DEP0085
Fix a typographical error in deprecation text. Convert run-on sentence
to two sentences (one in parentheses).
PR-URL: https://github.com/nodejs/node/pull/20519
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Luigi Pinca <luig... | [
{
"path": "doc/api/deprecations.md",
"patch": "@@ -798,8 +798,8 @@ code modification is necessary if that is done.\n \n Type: End-of-Life\n \n-The AsyncHooks Sensitive API was never documented and had various of minor\n-issues, see https://github.com/nodejs/node/issues/15572. Use the `AsyncResource`\n+The A... | 2018-05-04T17:00:19 |
huggingface/transformers | 9510ae39d90e17ebc8dd3ef116df45b637d5110a | 09261ccf12fbf0a8d31ff17d39f9db17604b2490 | fix bnb warning (#36116)
fix | [
{
"path": "src/transformers/utils/quantization_config.py",
"patch": "@@ -426,7 +426,7 @@ def __init__(\n raise ValueError(\"bnb_4bit_quant_storage must be a string or a torch.dtype\")\n \n if kwargs:\n- logger.warning(f\"Unused kwargs: {list(kwargs.keys())}. These kwargs are n... | 2025-02-10T16:34:50 |
electron/electron | 91a9fe41c922922f8a2e27fb6200e2189d0ac375 | 979ec05ed34cec2af0d45dc76b84921af85f84e9 | [Win] Fix compilation error. | [
{
"path": "browser/ui/message_box_win.cc",
"patch": "@@ -86,7 +86,7 @@ MessageDialog::MessageDialog(NativeWindow* parent_window,\n title_(UTF8ToUTF16(title)),\n widget_(NULL),\n message_box_view_(NULL) {\n- DCHECK_GT(buttons.size(), 0);\n+ DCHECK_GT(buttons.size(), 0u);\n set_owned_by_... | 2013-08-16T08:33:32 |
vercel/next.js | 9e173bf170861ded3951fed23e3c02c92e606baa | b776bb65eca823fb75421cc72d9345c9c4b1ecf5 | Fix invalid markdown lang (#41926)
## Documentation / Examples
- [x] Make sure the linting passes by running `pnpm lint`
- [x] The "examples guidelines" are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md) | [
{
"path": "docs/basic-features/font-optimization.md",
"patch": "@@ -26,40 +26,46 @@ Automatically self-host any Google Font. Fonts are included in the deployment an\n \n Import the font you would like to use from `@next/font/google` as a function. We recommend using [**variable fonts**](https://fonts.google... | 2022-10-27T02:18:27 |
golang/go | ddcdbb417b47e50fc7006c9438104c5b8b5f75e4 | 607f99904e3f5565517eee452d9153a634a66369 | cmd/compile/internal/types2: review of assignments.go
The changes between (equivalent, and reviewed) go/types/assignments.go
and assignments.go can be seen by comparing patchset 1 and 2. The actual
changes are removing the "// UNREVIEWED" marker.
The primary differences to go/types/assignments.go are:
- use of syntax... | [
{
"path": "src/cmd/compile/internal/types2/assignments.go",
"patch": "@@ -1,4 +1,3 @@\n-// UNREVIEWED\n // Copyright 2013 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n@@ -131,6 +130,8 @@ func (check *Checker... | 2021-03-23T19:03:51 |
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.