This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://github.com/facebook/hermes/blob/main/lib/Platform/Intl/PlatformIntlApple.mm#L319-L353 | |
vm::CallResult<std::vector<std::u16string>> canonicalizeLocaleList( | |
vm::Runtime &runtime, | |
const std::vector<std::u16string> &locales) { | |
// 1. If locales is undefined, then | |
// a. Return a new empty List | |
// Not needed, this validation occurs closer to VM in 'normalizeLocales'. | |
// 2. Let seen be a new empty List. | |
std::vector<std::u16string> seen; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
╭────┬────────────────────────┬──────┬─────────┬────────────────╮ | |
│ # │ name │ type │ size │ modified │ | |
├────┼────────────────────────┼──────┼─────────┼────────────────┤ | |
│ 0 │ ar-icu4c-line.txt │ file │ 22.7 KB │ 3 hours ago │ | |
│ 1 │ ar-icu4c-word.txt │ file │ 48.6 KB │ 3 hours ago │ | |
│ 2 │ ar-icu4x-line-utf8.txt │ file │ 23.8 KB │ 3 hours ago │ | |
│ 3 │ ar-icu4x-line.txt │ file │ 22.9 KB │ 3 hours ago │ | |
│ 4 │ ar-icu4x-word-utf8.txt │ file │ 50.5 KB │ 3 hours ago │ | |
│ 5 │ ar-icu4x-word.txt │ file │ 48.6 KB │ 3 hours ago │ | |
│ 6 │ ar.txt │ file │ 35.1 KB │ 3 hours ago │ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/zibi/projects/icu4x〉rg 'Result<\(\)' -g "!{ffi/**}" -g "!{coverage/**}" ./ 11/02/2022 08:50:06 AM | |
./components/collections/src/codepointinvlist/cpinvlist.rs | |
864: fn test_serde_with_postcard_roundtrip() -> Result<(), postcard::Error> { | |
./components/collections/src/codepointtrie/cptrie.rs | |
996: fn test_serde_with_postcard_roundtrip() -> Result<(), postcard::Error> { | |
./components/list/src/provider.rs | |
274: ) -> Result<(), DataError> { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const display = false; | |
const pretty = false; | |
let input = { | |
"title": { | |
"display": "Lorem Ipsum", | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Current Library Structure in the repo | |
// | |
├─ components/ | |
│ ├─ component1/ | |
│ │ ├─ src/ | |
│ ├─ component2/ | |
│ │ ├─ src/ | |
│ │ ├─ data/ | |
│ │ │ ├─ from_unicode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call plug#begin('~/.vim/plugged') | |
" Collection of common configurations for the Nvim LSP client | |
Plug 'neovim/nvim-lspconfig' | |
" Completion framework | |
Plug 'hrsh7th/nvim-cmp', { 'branch': 'main' } | |
" LSP completion source for nvim-cmp | |
Plug 'hrsh7th/cmp-nvim-lsp', { 'branch': 'main' } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Changed NumberLiteral to be a float+precision | |
// Added Variant::default | |
// Separated Arguments and Options on a FunctionReference | |
// Added KeyValuePair used in FunctionReference and maybe in MessageReference | |
// Added optional MessageReference if we decide to go for it | |
export type Message = MessageValue; | |
export type MessageValue = Single | Multi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class DateTimeFormat { | |
public: | |
Result<DateTimeFormat, ()> tryNew(string aLocale, options aOptions); | |
string format(date aDate); | |
protected: | |
DateTimeFormat(string aLocale, ffi::DateTimeFormatData aData); | |
UniquePtr<ffi::DateTimeFormatData> mData; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const execSync = require('child_process').execSync; | |
const fs = require('fs'); | |
let data = fs.readFileSync('./gh-pages/data/M1/snapshot.json'); | |
let snapshot = JSON.parse(data); | |
let dtdEntities = new Set(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document url-prefix("https://chat.mozilla.org/") { | |
.mx_RoomTile_avatar_container img { | |
width: 14px; | |
height: 14px; | |
} | |
.mx_BaseAvatar_initial { | |
width: 14px !important; | |
height: 14px !important; | |
font-size: 10px !important; | |
line-height: 14px !important; |
NewerOlder