This file contains hidden or 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
| [package] | |
| name = "stringconcat-bench" | |
| version = "0.1.0" | |
| edition = "2024" | |
| [dev-dependencies] | |
| criterion = "0.8.2" | |
| [[bench]] | |
| name = "bench" |
This file contains hidden or 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
| --- ../glean-ro/glean-core/src/database/mod.rs 2026-09-21 10:10:30 | |
| +++ glean-core/src/database/rkv.rs 2026-09-21 14:54:27 | |
| @@ -14,6 +14,7 @@ | |
| use std::sync::RwLock; | |
| use std::time::{Duration, Instant}; | |
| +use crate::metrics::dual_labeled_counter::RECORD_SEPARATOR; | |
| use crate::ErrorKind; | |
| use malloc_size_of::MallocSizeOf; |
This file contains hidden or 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
| // This file was autogenerated by some hot garbage in the `uniffi` crate. | |
| // Trust me, you don't want to mess with it! | |
| @file:Suppress("NAME_SHADOWING") | |
| package mozilla.telemetry.glean.internal | |
| // Common helper code. | |
| // | |
| // Ideally this would live in a separate .kt file where it can be unittested etc |
This file contains hidden or 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
| { | |
| description = "An old Ruby application"; | |
| nixConfig = { | |
| extra-substituters = "https://nixpkgs-ruby.cachix.org"; | |
| extra-trusted-public-keys = | |
| "nixpkgs-ruby.cachix.org-1:vrcdi50fTolOxWCZZkw0jakOnUI1T19oYJ+PRYdK4SM="; | |
| }; | |
| inputs = { |
This file contains hidden or 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
| #!/usr/bin/env -S cargo +nightly -q -Zscript | |
| ```cargo | |
| [dependencies] | |
| cgi2 = "0.7" | |
| rusqlite = { version = "0.30.0", features = ["bundled"] } | |
| axohtml = { git = "https://github.com/badboy/axohtml", branch = "nightly-fixes" } | |
| ``` | |
| use axohtml::{dom::DOMTree, html, text, types::Metadata}; | |
| use rusqlite::Connection; |
This file contains hidden or 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
| /* Windows users might also want to consider setting | |
| * browser.tabs.drawInTitlebar to false in about:config | |
| */ | |
| /* | |
| * requires `toolkit.legacyUserProfileCustomizations.stylesheets=true` in about:config | |
| */ | |
| /* | |
| * top bar browser tabs |
This file contains hidden or 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
| From df919d2ca230ed5f5fd0f2eb4586fe72354f3bf7 Mon Sep 17 00:00:00 2001 | |
| From: Jan-Erik Rediger <jrediger@mozilla.com> | |
| Date: Wed, 13 Jul 2022 15:31:37 +0200 | |
| Subject: [PATCH] more dep updates | |
| --- | |
| gfx/wr/Cargo.lock | 76 +++++----------------------------------- | |
| gfx/wr/servo-tidy.toml | 4 --- | |
| gfx/wr/wrench/Cargo.toml | 2 +- | |
| 3 files changed, 10 insertions(+), 72 deletions(-) |
This file contains hidden or 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
| diff --git toolkit/components/glean/tests/xpcshell/test_FOGPrefs.js toolkit/components/glean/tests/xpcshell/test_FOGPrefs.js | |
| index 6cfeec020da69..227e1bbbdeee4 100644 | |
| --- toolkit/components/glean/tests/xpcshell/test_FOGPrefs.js | |
| +++ toolkit/components/glean/tests/xpcshell/test_FOGPrefs.js | |
| @@ -9,14 +9,17 @@ const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm"); | |
| // FOG needs a profile directory to put its data in. | |
| do_get_profile(); | |
| -const FOG = Cc["@mozilla.org/toolkit/glean;1"].createInstance(Ci.nsIFOG); | |
| -// We need to initialize it once, otherwise operations will be stuck in the pre-init queue. |
This file contains hidden or 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
| [package] | |
| name = "pingserver" | |
| version = "0.1.0" | |
| edition = "2018" | |
| [dependencies] | |
| tide = "0.16.0" | |
| async-std = { version = "1.8.0", features = ["attributes"] } | |
| serde = { version = "1.0.126", features = ["derive"] } | |
| chrono = "0.4.19" |
This file contains hidden or 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
| // build: c++ -std=c++14 fizzbuzz.js.cpp | |
| #include <iostream> | |
| #define function auto | |
| #define var auto | |
| class Console { | |
| public: | |
| void log(std::string msg) { | |
| std::cout << msg << std::endl; |
NewerOlder