GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix cpplint warning for src/node_crypto.cc:153 Using sizeof(type). by rudi-cilibrasi · Pull Request #196 · nodejs/node

Conversation

@rudi-cilibrasi

@rudi-cilibrasi rudi-cilibrasi commented Dec 22, 2014

Copy link
Copy Markdown

Use sizeof(varname) instead if possible [runtime/sizeof]

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Rudi Cilibrasi added 2 commits December 22, 2014 00:52
Rudi Cilibrasi
Fix cpplint warning for src/node_crypto.cc:153 Using sizeof(type).
e3afb8b
Use sizeof(varname) instead if possible [runtime/sizeof]
Rudi Cilibrasi
This variation is also safe because all pointers are the same size.
71ed97f
@bnoordhuis

bnoordhuis commented Dec 22, 2014

Copy link
Copy Markdown
Member

Changing the sizeof changes the meaning of the check, or at least how a human reader would interpret it. I think it'd better to just squelch the warning with // NOLINT(runtime/sizeof).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cjihrig

cjihrig commented Dec 22, 2014

Copy link
Copy Markdown
Contributor

Closing in favor of #197

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cjihrig cjihrig closed this Dec 22, 2014
@nodejs-github-bot

nodejs-github-bot commented Feb 4, 2020

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/28927/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot

nodejs-github-bot commented Feb 4, 2020

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/28928/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot

nodejs-github-bot commented Feb 4, 2020

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/28930/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot

nodejs-github-bot commented Feb 5, 2020

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/28932/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot

nodejs-github-bot commented Feb 5, 2020

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/28943/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot

nodejs-github-bot commented Feb 5, 2020

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/28945/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot

nodejs-github-bot commented Feb 6, 2020

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/28948/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@snyk-bot snyk-bot mentioned this pull request Jan 20, 2023
[Snyk] Upgrade globals from 10.1.0 to 13.19.0 Supermajestcd/node#4
Open
@maverick3312 maverick3312 mentioned this pull request Sep 28, 2023
[Snyk] Upgrade globals from 10.1.0 to 13.21.0 maverick3312/node#3
Open
@gr00nd gr00nd mentioned this pull request Feb 6, 2024
[Snyk] Upgrade globals from 10.1.0 to 13.24.0 gr00nd/node#10
Open
@sliftist sliftist mentioned this pull request May 7, 2024
http.request regression > v16 regression, 400 Bad Request is thrown when GET http.request has a payload #52880
Closed
eti-p-doray pushed a commit to eti-p-doray/node that referenced this pull request Aug 28, 2024
@gahaas @victorgomes
Reland: [v8] Stop using deprecated fields of v8::FastApiCallbackOptio…
4ee3d3a
…ns (nodejs#196)

* Reland: [v8] Stop using deprecated fields of v8::FastApiCallbackOptions

Two fields on the v8::FastApiCallbackOptions struct were deprecated
recently, fallback and wasm_memory. This PR removes uses of these two
fields in node.js.

This change is a refactoring and does not add new features. Therefore
existing tests should be sufficient.

* return correct type
syg pushed a commit to syg/node that referenced this pull request May 5, 2025
@gahaas pthier
Reland: [v8] Stop using deprecated fields of v8::FastApiCallbackOptio…
e9d2810
…ns (nodejs#196)

* Reland: [v8] Stop using deprecated fields of v8::FastApiCallbackOptions

Two fields on the v8::FastApiCallbackOptions struct were deprecated
recently, fallback and wasm_memory. This PR removes uses of these two
fields in node.js.

This change is a refactoring and does not add new features. Therefore
existing tests should be sufficient.

* return correct type
bakkot pushed a commit to bakkot/node that referenced this pull request May 11, 2026
@gahaas pthier
Reland: [v8] Stop using deprecated fields of v8::FastApiCallbackOptio…
6ef6138
…ns (nodejs#196)

* Reland: [v8] Stop using deprecated fields of v8::FastApiCallbackOptions

Two fields on the v8::FastApiCallbackOptions struct were deprecated
recently, fallback and wasm_memory. This PR removes uses of these two
fields in node.js.

This change is a refactoring and does not add new features. Therefore
existing tests should be sufficient.

* return correct type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@rudi-cilibrasi @bnoordhuis @cjihrig @nodejs-github-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.