repo
stringlengths
6
65
file_url
stringlengths
81
311
file_path
stringlengths
6
227
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:31:58
2026-01-04 20:25:31
truncated
bool
2 classes
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/integration/mod.rs
tests/integration/mod.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::num::NonZeroUsize; use std::panic::AssertUnwindSafe; use std::path::PathBuf; use std::sync::Arc; use file_test_runner::RunOptions; use file_test_runner::TestResult; use file_test_runner::collection::CollectedTest; use file_test_runner::collection::Collect...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/integration/jsr_tests.rs
tests/integration/jsr_tests.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_cache_dir::HttpCache; use deno_lockfile::Lockfile; use deno_lockfile::NewLockfileOptions; use deno_semver::jsr::JsrDepPackageReq; use deno_semver::package::PackageNv; use serde_json::Value; use serde_json::json; use test_util as util; use url::Url; use uti...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/integration/run_tests.rs
tests/integration/run_tests.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::io::BufReader; use std::io::Cursor; use std::io::Read; use std::io::Write; use std::process::Command; use std::process::Stdio; use std::sync::Arc; use bytes::Bytes; use hickory_proto::serialize::txt::Parser; use hickory_server::authority::AuthorityObject;...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
true
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/integration/shared_library_tests.rs
tests/integration/shared_library_tests.rs
// Copyright 2018-2025 the Deno authors. MIT license. #[cfg(all(target_os = "linux", target_arch = "x86_64"))] #[test_util::test] // https://github.com/denoland/deno/issues/18266 fn linux_shared_libraries() { use test_util as util; const EXPECTED: [&str; 7] = [ "linux-vdso.so.1", "libdl.so.2", "libgcc...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/integration/cache_tests.rs
tests/integration/cache_tests.rs
// Copyright 2018-2025 the Deno authors. MIT license. use test_util::TestContext; use test_util::TestContextBuilder; use test_util::test; // This test only runs on linux, because it hardcodes the XDG_CACHE_HOME env var // which is only used on linux. #[cfg(target_os = "linux")] #[test] fn xdg_cache_home_dir() { let...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/integration/fmt_tests.rs
tests/integration/fmt_tests.rs
// Copyright 2018-2025 the Deno authors. MIT license. use serde_json::json; use test_util as util; use test_util::itest; use test_util::test; use util::PathRef; use util::TestContext; use util::TestContextBuilder; use util::assert_contains; use util::assert_not_contains; #[test] fn fmt_test() { let context = TestCo...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/integration/init_tests.rs
tests/integration/init_tests.rs
// Copyright 2018-2025 the Deno authors. MIT license. use test_util as util; use test_util::test; use util::TestContextBuilder; use util::assert_contains; #[test] fn init_subcommand_without_dir() { let context = TestContextBuilder::for_jsr().use_temp_cwd().build(); let cwd = context.temp_dir().path(); let outp...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/integration/install_tests.rs
tests/integration/install_tests.rs
// Copyright 2018-2025 the Deno authors. MIT license. use test_util as util; use util::TestContext; use util::TestContextBuilder; use util::assert_contains; use util::assert_not_contains; use util::test; #[test] fn install_basic() { let context = TestContextBuilder::new() .use_http_server() .use_temp_cwd() ...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/integration/bench_tests.rs
tests/integration/bench_tests.rs
// Copyright 2018-2025 the Deno authors. MIT license. use serde_json::json; use test_util as util; use util::TestContext; use util::TestContextBuilder; use util::assert_contains; use util::assert_not_contains; use util::test; #[test] fn recursive_permissions_pledge() { let context = TestContext::default(); let ou...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/integration/task_tests.rs
tests/integration/task_tests.rs
// Copyright 2018-2025 the Deno authors. MIT license. // Most of the tests for this are in deno_task_shell. // These tests are intended to only test integration. use test_util as util; use util::TestContextBuilder; use util::test; // use test_util::env_vars_for_npm_tests; // use test_util::TestContext; // TODO(2.0)...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/unit_node/mod.rs
tests/unit_node/mod.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::num::NonZeroUsize; use std::sync::Arc; use file_test_runner::RunOptions; use file_test_runner::TestResult; use file_test_runner::collection::CollectOptions; use file_test_runner::collection::CollectedTest; use file_test_runner::collection::collect_tests_o...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/build.rs
tests/napi/build.rs
// Copyright 2018-2025 the Deno authors. MIT license. extern crate napi_build; fn main() { napi_build::setup(); }
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/promise.rs
tests/napi/src/promise.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::ptr; use std::ptr::addr_of_mut; use napi_sys::*; use crate::assert_napi_ok; use crate::napi_get_callback_info; use crate::napi_new_property; static mut CURRENT_DEFERRED: napi_deferred = ptr::null_mut(); extern "C" fn test_promise_new( env: napi_env, ...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/array.rs
tests/napi/src/array.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::ptr; use napi_sys::ValueType::napi_number; use napi_sys::ValueType::napi_object; use napi_sys::*; use crate::assert_napi_ok; use crate::napi_get_callback_info; use crate::napi_new_property; extern "C" fn test_array_new( env: napi_env, info: napi_cal...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/tsfn.rs
tests/napi/src/tsfn.rs
// Copyright 2018-2025 the Deno authors. MIT license. // This test performs initialization similar to napi-rs. // https://github.com/napi-rs/napi-rs/commit/a5a04a4e545f268769cc78e2bd6c45af4336aac3 use std::ffi::c_char; use std::ffi::c_void; use std::ptr; use napi_sys as sys; macro_rules! check_status_or_panic { (...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/object.rs
tests/napi/src/object.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::ptr; use napi_sys::*; use crate::assert_napi_ok; use crate::napi_get_callback_info; use crate::napi_new_property; extern "C" fn test_object_new( env: napi_env, info: napi_callback_info, ) -> napi_value { let (args, argc, _) = napi_get_callback_inf...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/finalizer.rs
tests/napi/src/finalizer.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::ptr; use napi_sys::ValueType::napi_object; use napi_sys::*; use crate::assert_napi_ok; use crate::napi_get_callback_info; use crate::napi_new_property; unsafe extern "C" fn finalize_cb( _env: napi_env, data: *mut ::std::os::raw::c_void, hint: *mut...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/date.rs
tests/napi/src/date.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::ptr; use napi_sys::ValueType::napi_number; use napi_sys::*; use crate::assert_napi_ok; use crate::napi_get_callback_info; use crate::napi_new_property; extern "C" fn create_date( env: napi_env, info: napi_callback_info, ) -> napi_value { let (args...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/lib.rs
tests/napi/src/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. #![allow(clippy::all)] #![allow(clippy::print_stdout)] #![allow(clippy::print_stderr)] #![allow(clippy::undocumented_unsafe_blocks)] use std::ffi::c_void; use napi_sys::*; pub mod array; pub mod arraybuffer; pub mod r#async; pub mod bigint; pub mod callback; pub...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/properties.rs
tests/napi/src/properties.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::ptr; use napi_sys::PropertyAttributes::*; use napi_sys::*; use crate::assert_napi_ok; use crate::cstr; static NICE: i64 = 69; fn init_constants(env: napi_env) -> napi_value { let mut constants: napi_value = ptr::null_mut(); let mut value: napi_valu...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/arraybuffer.rs
tests/napi/src/arraybuffer.rs
// Copyright 2018-2025 the Deno authors. MIT license. use napi_sys::*; use crate::assert_napi_ok; use crate::napi_get_callback_info; use crate::napi_new_property; extern "C" fn test_detached( env: napi_env, info: napi_callback_info, ) -> napi_value { let (args, argc, _) = napi_get_callback_info!(env, info, 1);...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/bigint.rs
tests/napi/src/bigint.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::ptr; use napi_sys::Status::napi_pending_exception; use napi_sys::ValueType::napi_bigint; use napi_sys::*; use crate::assert_napi_ok; use crate::cstr; use crate::napi_get_callback_info; use crate::napi_new_property; extern "C" fn is_lossless( env: napi...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/callback.rs
tests/napi/src/callback.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::ptr; use Status::napi_pending_exception; use napi_sys::ValueType::napi_function; use napi_sys::ValueType::napi_object; use napi_sys::ValueType::napi_undefined; use napi_sys::*; use crate::assert_napi_ok; use crate::napi_get_callback_info; use crate::napi...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/make_callback.rs
tests/napi/src/make_callback.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::ptr; use napi_sys::ValueType::napi_function; use napi_sys::*; use crate::assert_napi_ok; use crate::cstr; extern "C" fn make_callback( env: napi_env, info: napi_callback_info, ) -> napi_value { const MAX_ARGUMENTS: usize = 10; const RESERVED_ARG...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/typedarray.rs
tests/napi/src/typedarray.rs
// Copyright 2018-2025 the Deno authors. MIT license. use core::ffi::c_void; use std::os::raw::c_char; use std::ptr; use napi_sys::Status::napi_ok; use napi_sys::TypedarrayType; use napi_sys::ValueType::napi_number; use napi_sys::ValueType::napi_object; use napi_sys::*; use crate::assert_napi_ok; use crate::napi_get...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/coerce.rs
tests/napi/src/coerce.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::ptr; use napi_sys::*; use crate::assert_napi_ok; use crate::napi_get_callback_info; use crate::napi_new_property; extern "C" fn test_coerce_bool( env: napi_env, info: napi_callback_info, ) -> napi_value { let (args, argc, _) = napi_get_callback_in...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/env.rs
tests/napi/src/env.rs
// Copyright 2018-2025 the Deno authors. MIT license. use napi_sys::*; use crate::assert_napi_ok; use crate::napi_get_callback_info; use crate::napi_new_property; extern "C" fn get_node_global( env: napi_env, info: napi_callback_info, ) -> napi_value { let (_, argc, _) = napi_get_callback_info!(env, info, 0); ...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/primitives.rs
tests/napi/src/primitives.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::ptr; use napi_sys::*; use crate::assert_napi_ok; use crate::napi_new_property; extern "C" fn test_get_undefined( env: napi_env, _: napi_callback_info, ) -> napi_value { let mut result = ptr::null_mut(); assert_napi_ok!(napi_get_undefined(env, &m...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/error.rs
tests/napi/src/error.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::ptr; use napi_sys::*; use crate::assert_napi_ok; use crate::cstr; use crate::napi_get_callback_info; use crate::napi_new_property; extern "C" fn check_error( env: napi_env, info: napi_callback_info, ) -> napi_value { let (args, argc, _) = napi_get...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/numbers.rs
tests/napi/src/numbers.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::ptr; use napi_sys::ValueType::napi_number; use napi_sys::*; use crate::assert_napi_ok; use crate::napi_get_callback_info; use crate::napi_new_property; extern "C" fn test_int32( env: napi_env, info: napi_callback_info, ) -> napi_value { let (args,...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/mem.rs
tests/napi/src/mem.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::ptr; use napi_sys::*; use crate::assert_napi_ok; use crate::napi_new_property; extern "C" fn adjust_external_memory( env: napi_env, _: napi_callback_info, ) -> napi_value { let mut adjusted_value = 0; assert_napi_ok!(napi_adjust_external_memory...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/strings.rs
tests/napi/src/strings.rs
// Copyright 2018-2025 the Deno authors. MIT license. use napi_sys::ValueType::napi_string; use napi_sys::*; use crate::assert_napi_ok; use crate::napi_get_callback_info; use crate::napi_new_property; extern "C" fn test_utf8(env: napi_env, info: napi_callback_info) -> napi_value { let (args, argc, _) = napi_get_ca...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/object_wrap.rs
tests/napi/src/object_wrap.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::cell::RefCell; use std::collections::HashMap; use std::os::raw::c_char; use std::os::raw::c_void; use std::ptr; use napi_sys::ValueType::napi_number; use napi_sys::*; use crate::assert_napi_ok; use crate::napi_get_callback_info; use crate::napi_new_prope...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/async.rs
tests/napi/src/async.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::os::raw::c_char; use std::os::raw::c_void; use std::ptr; use napi_sys::Status::napi_ok; use napi_sys::ValueType::napi_function; use napi_sys::*; use crate::assert_napi_ok; use crate::napi_get_callback_info; use crate::napi_new_property; pub struct Baton...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/uv.rs
tests/napi/src/uv.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::mem::MaybeUninit; use std::ptr; use std::ptr::addr_of_mut; use std::ptr::null_mut; use std::time::Duration; use libuv_sys_lite::uv_async_init; use libuv_sys_lite::uv_async_t; use libuv_sys_lite::uv_close; use libuv_sys_lite::uv_handle_t; use libuv_sys_lit...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/src/symbol.rs
tests/napi/src/symbol.rs
// Copyright 2018-2025 the Deno authors. MIT license. use napi_sys::ValueType::napi_string; use napi_sys::*; use crate::assert_napi_ok; use crate::napi_get_callback_info; use crate::napi_new_property; extern "C" fn symbol_new( env: napi_env, info: napi_callback_info, ) -> napi_value { let (args, argc, _) = nap...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/napi/tests/napi_tests.rs
tests/napi/tests/napi_tests.rs
// Copyright 2018-2025 the Deno authors. MIT license. #![allow(clippy::print_stdout)] #![allow(clippy::print_stderr)] use std::process::Command; use test_util::deno_cmd; use test_util::deno_config_path; use test_util::env_vars_for_npm_tests; use test_util::http_server; use test_util::napi_tests_path; #[cfg(debug_as...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/sqlite_extension_test/tests/integration_tests.rs
tests/sqlite_extension_test/tests/integration_tests.rs
// Copyright 2018-2025 the Deno authors. MIT license. #![allow(clippy::print_stdout)] #![allow(clippy::print_stderr)] use std::path::Path; use std::process::Command; use test_util::deno_cmd; use test_util::deno_config_path; #[cfg(debug_assertions)] const BUILD_VARIANT: &str = "debug"; #[cfg(not(debug_assertions))]...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/ffi/src/lib.rs
tests/ffi/src/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. #![allow(clippy::print_stdout)] #![allow(clippy::print_stderr)] #![allow(clippy::undocumented_unsafe_blocks)] #![allow(non_upper_case_globals)] use std::os::raw::c_void; use std::sync::Mutex; use std::thread::sleep; use std::time::Duration; static BUFFER: [u8; 8]...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/ffi/tests/integration_tests.rs
tests/ffi/tests/integration_tests.rs
// Copyright 2018-2025 the Deno authors. MIT license. #![allow(clippy::print_stdout)] #![allow(clippy::print_stderr)] use std::process::Command; use pretty_assertions::assert_eq; use test_util::deno_cmd; use test_util::deno_config_path; use test_util::ffi_tests_path; #[cfg(debug_assertions)] const BUILD_VARIANT: &s...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/unit/mod.rs
tests/unit/mod.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::sync::Arc; use file_test_runner::RunOptions; use file_test_runner::TestResult; use file_test_runner::collection::CollectOptions; use file_test_runner::collection::CollectedTest; use file_test_runner::collection::collect_tests_or_exit; use file_test_runner...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/sqlite_extension/src/lib.rs
tests/sqlite_extension/src/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. //! A simple SQLite loadable extension for testing. //! //! This extension provides a `test_func(x)` function that returns its argument unchanged. use std::os::raw::c_char; use std::os::raw::c_int; use rusqlite::Connection; use rusqlite::Result; use rusqlite::ffi...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/specs/mod.rs
tests/specs/mod.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::cell::RefCell; use std::collections::BTreeMap; use std::collections::HashMap; use std::collections::HashSet; use std::panic::AssertUnwindSafe; use std::path::Path; use std::rc::Rc; use std::sync::Arc; use anyhow::Context; use file_te...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/tests/specs/node/child_process_extra_pipes/test-pipe/src/main.rs
tests/specs/node/child_process_extra_pipes/test-pipe/src/main.rs
use std::fs::File; use std::io::prelude::*; use std::os::fd::FromRawFd; fn main() { #[cfg(unix)] { let mut pipe = unsafe { File::from_raw_fd(4) }; let mut read = 0; let mut buf = [0u8; 1024]; loop { if read > 4 { assert_eq!(&buf[..5], b"start"); break; } match pip...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/coverage.rs
runtime/coverage.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::fs; use std::fs::File; use std::io::BufWriter; use std::io::Write; use std::path::PathBuf; use std::sync::Arc; use std::sync::atomic::AtomicI32; use deno_core::InspectorSessionKind; use deno_core::JsRuntime; use deno_core::JsRuntimeInspector; use deno_cor...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/lib.rs
runtime/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. pub use deno_cache; pub use deno_canvas; pub use deno_core; pub use deno_cron; pub use deno_crypto; pub use deno_fetch; pub use deno_ffi; pub use deno_fs; pub use deno_http; pub use deno_io; pub use deno_kv; pub use deno_napi; pub use deno_net; pub use deno_node; p...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/permissions.rs
runtime/permissions.rs
// Copyright 2018-2025 the Deno authors. MIT license. pub use deno_permissions::RuntimePermissionDescriptorParser;
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/fmt_errors.rs
runtime/fmt_errors.rs
// Copyright 2018-2025 the Deno authors. MIT license. //! This mod provides DenoError to unify errors across Deno. use std::borrow::Cow; use std::fmt::Write as _; use std::sync::LazyLock; use color_print::cformat; use color_print::cstr; use deno_core::error::JsError; use deno_core::error::format_frame; use deno_core::...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/code_cache.rs
runtime/code_cache.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_core::ModuleSpecifier; #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub enum CodeCacheType { EsModule, Script, } pub trait CodeCache: Send + Sync { fn get_sync( &self, specifier: &ModuleSpecifier, code_cache_type: CodeCacheType, ...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/transpile.rs
runtime/transpile.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::path::Path; use deno_ast::MediaType; use deno_ast::ParseParams; use deno_ast::SourceMapOption; use deno_core::ModuleCodeString; use deno_core::ModuleName; use deno_core::SourceMapData; use deno_error::JsErrorBox; deno_error::js_error_wrapper!( deno_ast...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/worker.rs
runtime/worker.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::collections::HashMap; use std::rc::Rc; use std::sync::Arc; #[cfg(target_os = "linux")] use std::sync::LazyLock; use std::sync::atomic::AtomicBool; use std::sync::atomic::Ordering; use std::time::Duration; use std::time::Instant; use d...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
true
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/js.rs
runtime/js.rs
// Copyright 2018-2025 the Deno authors. MIT license. #[cfg(not(feature = "include_js_files_for_snapshotting"))] pub static SOURCE_CODE_FOR_99_MAIN_JS: &str = include_str!("js/99_main.js"); #[cfg(feature = "include_js_files_for_snapshotting")] pub static PATH_FOR_99_MAIN_JS: &str = concat!(env!("CARGO_MANIFEST_DIR"...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/worker_bootstrap.rs
runtime/worker_bootstrap.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::cell::RefCell; use std::thread; use deno_core::ModuleSpecifier; use deno_core::v8; use deno_node::ops::ipc::ChildIpcSerialization; use deno_telemetry::OtelConfig; use deno_terminal::colors; use serde::Serialize; /// The execution mode for this worker. So...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/inspector_server.rs
runtime/inspector_server.rs
// Copyright 2018-2025 the Deno authors. MIT license. // Alias for the future `!` type. use core::convert::Infallible as Never; use std::cell::RefCell; use std::collections::HashMap; use std::net::SocketAddr; use std::pin::pin; use std::process; use std::rc::Rc; use std::sync::Arc; use std::task::Poll; use std::thread...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/shared.rs
runtime/shared.rs
// Copyright 2018-2025 the Deno authors. MIT license. // Utilities shared between `build.rs` and the rest of the crate. use deno_core::Extension; use deno_core::extension; extension!(runtime, deps = [ deno_webidl, deno_tls, deno_web, deno_fetch, deno_cache, deno_websocket, deno_webstorag...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/snapshot.rs
runtime/snapshot.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::io::Write; use std::path::PathBuf; use std::rc::Rc; use deno_core::Extension; use deno_core::snapshot::*; use deno_core::v8; use deno_resolver::npm::DenoInNpmPackageChecker; use deno_resolver::npm::NpmResolver; use crate::ops; use crate::ops::bootstrap::...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/tokio_util.rs
runtime/tokio_util.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::fmt::Debug; use std::str::FromStr; use deno_core::unsync::MaskFutureAsSend; #[cfg(tokio_unstable)] use tokio_metrics::RuntimeMonitor; /// Default configuration for tokio. In the future, this method may have different defaults /// depending on the platform...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/snapshot_info.rs
runtime/snapshot_info.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::sync::Arc; use deno_core::Extension; use deno_resolver::npm::DenoInNpmPackageChecker; use deno_resolver::npm::NpmResolver; use crate::ops; use crate::shared::runtime; pub fn get_extensions_in_snapshot() -> Vec<Extension> { // NOTE(bartlomieju): orderi...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/web_worker.rs
runtime/web_worker.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::cell::RefCell; use std::fmt; use std::path::PathBuf; use std::rc::Rc; use std::sync::Arc; use std::sync::atomic::AtomicBool; use std::sync::atomic::AtomicU32; use std::sync::atomic::Ordering; use std::task::Context; use std::task::Poll; use deno_cache::Ca...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
true
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/subprocess_windows/src/lib.rs
runtime/subprocess_windows/src/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. // Parts adapted from tokio, license below // MIT License // // Copyright (c) Tokio Contributors // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // i...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/subprocess_windows/src/uv_error.rs
runtime/subprocess_windows/src/uv_error.rs
// Copyright 2018-2025 the Deno authors. MIT license. // ported straight from libuv use windows_sys::Win32::Foundation::ERROR_ACCESS_DENIED; use windows_sys::Win32::Foundation::ERROR_ADDRESS_ALREADY_ASSOCIATED; use windows_sys::Win32::Foundation::ERROR_ALREADY_EXISTS; use windows_sys::Win32::Foundation::ERROR_BAD_EXE...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/subprocess_windows/src/process.rs
runtime/subprocess_windows/src/process.rs
// Copyright 2018-2025 the Deno authors. MIT license. /* Copyright Joyent, Inc. and other Node contributors. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software withou...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
true
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/subprocess_windows/src/tests.rs
runtime/subprocess_windows/src/tests.rs
// Copyright 2018-2025 the Deno authors. MIT license. // TODO
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/subprocess_windows/src/env.rs
runtime/subprocess_windows/src/env.rs
// Copyright 2018-2025 the Deno authors. MIT license. // Copyright (c) The Rust Project Contributors // Permission is hereby granted, free of charge, to any // person obtaining a copy of this software and associated // documentation files (the "Software"), to deal in the // Software without restriction, including wit...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/subprocess_windows/src/widestr.rs
runtime/subprocess_windows/src/widestr.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::ffi::OsStr; use std::fmt; use std::ops::Index; use std::ops::Range; use std::ops::RangeFrom; use std::ops::RangeTo; use std::os::windows::ffi::OsStrExt; #[derive(Clone, PartialEq, Eq)] pub struct WCString { buf: Box<[u16]>, } impl fmt::Display for WCSt...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/subprocess_windows/src/anon_pipe.rs
runtime/subprocess_windows/src/anon_pipe.rs
// Copyright 2018-2025 the Deno authors. MIT license. // Copyright (c) The Rust Project Contributors // Permission is hereby granted, free of charge, to any // person obtaining a copy of this software and associated // documentation files (the "Software"), to deal in the // Software without restriction, including wit...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/subprocess_windows/src/process_stdio.rs
runtime/subprocess_windows/src/process_stdio.rs
// Copyright 2018-2025 the Deno authors. MIT license. /* Copyright Joyent, Inc. and other Node contributors. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software withou...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/permissions/lib.rs
runtime/permissions/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::cmp::Ordering; use std::ffi::OsStr; use std::fmt; use std::fmt::Debug; use std::hash::Hash; use std::io::Write; use std::net::IpAddr; use std::net::Ipv6Addr; use std::net::SocketAddr; use std::ops::Deref; use std::path::Path; use std:...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
true
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/permissions/ipc_pipe.rs
runtime/permissions/ipc_pipe.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::ffi::OsStr; use std::io::Read; use std::io::Write; use std::io::{self}; pub struct IpcPipe(Inner); #[cfg(unix)] type Inner = std::os::unix::net::UnixStream; #[cfg(not(unix))] type Inner = std::fs::File; impl IpcPipe { /// Connect to a local IPC endpo...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/permissions/which.rs
runtime/permissions/which.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::ffi::OsStr; use std::ffi::OsString; use std::path::PathBuf; pub use which::Error; use which::sys::Sys; pub fn which_in( sys: impl WhichSys, binary_name: &str, path: Option<OsString>, cwd: PathBuf, ) -> Result<PathBuf, Error> { let sys = WhichSy...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/permissions/prompter.rs
runtime/permissions/prompter.rs
// Copyright 2018-2025 the Deno authors. MIT license. use once_cell::sync::Lazy; use parking_lot::Mutex; /// Helper function to make control characters visible so users can see the underlying filename. #[cfg(not(target_arch = "wasm32"))] fn escape_control_characters(s: &str) -> std::borrow::Cow<'_, str> { use deno_...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/permissions/runtime_descriptor_parser.rs
runtime/permissions/runtime_descriptor_parser.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::path::Path; use std::path::PathBuf; use crate::AllowRunDescriptor; use crate::AllowRunDescriptorParseResult; use crate::DenyRunDescriptor; use crate::EnvDescriptor; use crate::FfiDescriptor; use crate::ImportDescriptor; use crate::Ne...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/permissions/broker.rs
runtime/permissions/broker.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::io::BufRead; use std::io::BufReader; use std::io::Write; use std::path::PathBuf; use std::sync::OnceLock; use std::sync::atomic::AtomicU32; use parking_lot::Mutex; use super::BrokerResponse; use crate::ipc_pipe::IpcPipe; // TODO(bartlomieju): currently ...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/features/gen.rs
runtime/features/gen.rs
// Copyright 2018-2025 the Deno authors. MIT license. /// Don't modify this file manually. /// /// This file is auto-generated by the build script, modify `data.rs` instead. use crate::structs::UnstableFeatureDefinition; use crate::structs::UnstableFeatureKind; pub static UNSTABLE_FEATURES: &[UnstableFeatureDefinitio...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/features/lib.rs
runtime/features/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. mod r#gen; mod structs; use std::collections::BTreeSet; pub use r#gen::UNSTABLE_ENV_VAR_NAMES; pub use r#gen::UNSTABLE_FEATURES; pub use structs::UnstableFeatureKind; pub const JS_SOURCE: deno_core::FastStaticString = deno_core::ascii_str_include!("./gen.js");...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/features/structs.rs
runtime/features/structs.rs
// Copyright 2018-2025 the Deno authors. MIT license. #[derive(Clone, Debug)] pub enum UnstableFeatureKind { Cli, Runtime, } #[derive(Debug)] #[allow(dead_code)] pub struct UnstableFeatureDefinition { pub name: &'static str, pub flag_name: &'static str, pub help_text: &'static str, pub show_in_help: bool,...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/features/build.rs
runtime/features/build.rs
// Copyright 2018-2025 the Deno authors. MIT license. #![allow(clippy::disallowed_methods)] use std::path::Path; mod data; mod structs; fn main() { let crate_dir = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")); let mut js_list = String::from( "// Copyright 2018-2025 the Deno authors. MIT license. /...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/features/data.rs
runtime/features/data.rs
// Copyright 2018-2025 the Deno authors. MIT license. // NOTE(bartlomieju): some fields are marked as never read, even though they are // actually used in the CLI. #![allow(dead_code)] use crate::structs::UnstableFeatureKind; #[derive(Clone, Debug)] pub struct UnstableFeatureDescription { pub name: &'static str, ...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/ops/tty.rs
runtime/ops/tty.rs
// Copyright 2018-2025 the Deno authors. MIT license. #[cfg(unix)] use std::cell::RefCell; #[cfg(unix)] use std::collections::HashMap; use std::io::Error; #[cfg(windows)] use std::sync::Arc; use deno_core::OpState; #[cfg(unix)] use deno_core::ResourceId; use deno_core::op2; #[cfg(windows)] use deno_core::parking_lot:...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/ops/permissions.rs
runtime/ops/permissions.rs
// Copyright 2018-2025 the Deno authors. MIT license. use ::deno_permissions::PermissionState; use ::deno_permissions::PermissionsContainer; use deno_core::OpState; use deno_core::op2; use serde::Deserialize; use serde::Serialize; deno_core::extension!( deno_permissions, ops = [ op_query_permission, op_re...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/ops/http.rs
runtime/ops/http.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::rc::Rc; use deno_core::OpState; use deno_core::ResourceId; use deno_core::error::ResourceError; use deno_core::op2; use deno_http::http_create_conn_resource; use deno_net::io::TcpStreamResource; use deno_net::ops_tls::TlsStreamResource; pub const UNSTABL...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/ops/runtime.rs
runtime/ops/runtime.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_core::ModuleSpecifier; use deno_core::OpState; use deno_core::op2; deno_core::extension!( deno_runtime, ops = [op_main_module, op_ppid, op_internal_log], options = { main_module: ModuleSpecifier }, state = |state, options| { state.put::<Module...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/ops/mod.rs
runtime/ops/mod.rs
// Copyright 2018-2025 the Deno authors. MIT license. pub mod bootstrap; pub mod fs_events; pub mod http; pub mod permissions; pub mod runtime; pub mod tty; pub mod web_worker; pub mod worker_host; use std::sync::Arc; use deno_core::OpState; use deno_features::FeatureChecker; /// Helper for checking unstable featur...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/ops/worker_host.rs
runtime/ops/worker_host.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::cell::RefCell; use std::collections::HashMap; use std::rc::Rc; use std::sync::Arc; use deno_core::CancelFuture; use deno_core::CancelHandle; use deno_core::ModuleSpecifier; use deno_core::OpState; use deno_core::op2; use deno_core::serde::Deserialize; use...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/ops/bootstrap.rs
runtime/ops/bootstrap.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_core::OpState; use deno_core::op2; use deno_terminal::colors::ColorLevel; use serde::Serialize; use crate::BootstrapOptions; deno_core::extension!( deno_bootstrap, ops = [ op_bootstrap_args, op_bootstrap_pid, op_bootstrap_numcpus, op_...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/ops/fs_events.rs
runtime/ops/fs_events.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::cell::RefCell; use std::convert::From; use std::path::Path; use std::path::PathBuf; use std::rc::Rc; use std::sync::Arc; use deno_core::AsyncRefCell; use deno_core::CancelFuture; use deno_core::CancelHandle; use deno_core::OpState; u...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/ops/web_worker.rs
runtime/ops/web_worker.rs
// Copyright 2018-2025 the Deno authors. MIT license. mod sync_fetch; use std::cell::RefCell; use std::rc::Rc; use deno_core::CancelFuture; use deno_core::OpState; use deno_core::op2; use deno_web::JsMessageData; use deno_web::MessagePortError; pub use sync_fetch::SyncFetchError; use self::sync_fetch::op_worker_syn...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/runtime/ops/web_worker/sync_fetch.rs
runtime/ops/web_worker/sync_fetch.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::sync::Arc; use deno_core::OpState; use deno_core::futures::StreamExt; use deno_core::op2; use deno_core::url::Url; use deno_fetch::FetchError; use deno_fetch::data_url::DataUrl; use deno_web::BlobStore; use http_body_util::BodyExt; use hyper::body::Bytes;...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/rt_helper/lib.rs
ext/rt_helper/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::fs::File; use std::hash::Hash; use std::hash::Hasher; use std::io::BufReader; use std::io::Read; use std::path::Path; use std::path::PathBuf; use std::sync::Arc; #[derive(Debug, thiserror::Error, deno_error::JsError)] pub enum LoadEr...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/process/lib.rs
ext/process/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::cell::RefCell; use std::collections::HashMap; use std::ffi::OsString; use std::io::Write; #[cfg(unix)] use std::os::unix::prelude::ExitStatusExt; #[cfg(unix)] use std::os::unix::process::CommandExt; use std::path::Path; use std::path:...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
true
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/process/ipc.rs
ext/process/ipc.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::future::Future; use std::io; use std::mem; use std::pin::Pin; use std::rc::Rc; use std::sync::atomic::AtomicBool; use std::sync::atomic::AtomicUsize; use std::task::Context; use std::task::Poll; use std::task::ready; use deno_core::AsyncRefCell; use deno_...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/tls/lib.rs
ext/tls/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::io::BufRead; use std::io::BufReader; use std::io::Cursor; use std::net::IpAddr; use std::sync::Arc; use deno_error::JsErrorBox; pub use deno_native_certs; pub use rustls; use rustls::ClientConfig; use rustls::DigitallySignedStruct; use rustls::RootCertStor...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/tls/tls_key.rs
ext/tls/tls_key.rs
// Copyright 2018-2025 the Deno authors. MIT license. //! These represent the various types of TLS keys we support for both client and server //! connections. //! //! A TLS key will most often be static, and will loaded from a certificate and key file //! or string. These are represented by `TlsKey`, which is stored i...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webstorage/lib.rs
ext/webstorage/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. // NOTE to all: use **cached** prepared statements when interfacing with SQLite. use std::path::PathBuf; use deno_core::GarbageCollected; use deno_core::OpState; use deno_core::op2; pub use rusqlite; use rusqlite::Connection; use rusqlite::OptionalExtension; use ...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/cache/lib.rs
ext/cache/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::cell::RefCell; use std::path::PathBuf; use std::pin::Pin; use std::rc::Rc; use std::sync::Arc; use async_trait::async_trait; use bytes::Bytes; use deno_core::AsyncRefCell; use deno_core::AsyncResult; use deno_core::ByteString; use de...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/cache/sqlite.rs
ext/cache/sqlite.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::future::poll_fn; use std::path::PathBuf; use std::pin::Pin; use std::rc::Rc; use std::sync::Arc; use std::time::SystemTime; use std::time::UNIX_EPOCH; use deno_core::BufMutView; use deno_core::ByteString; use deno_core::Resource; use deno_core::parking_lo...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/cache/lscache.rs
ext/cache/lscache.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::cell::RefCell; use std::rc::Rc; use async_stream::try_stream; use base64::Engine; use bytes::Bytes; use deno_core::BufMutView; use deno_core::ByteString; use deno_core::Resource; use deno_core::unsync::spawn; use futures::StreamExt; use futures::TryStream...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/cache/lsc_shard.rs
ext/cache/lsc_shard.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::convert::Infallible; use bytes::Bytes; use http::Method; use http::Request; use http::Response; use http_body_util::BodyExt; use http_body_util::Either; use http_body_util::Empty; use http_body_util::combinators::UnsyncBoxBody; use hyper::HeaderMap; use h...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/node/global.rs
ext/node/global.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::rc::Rc; use deno_core::v8; use deno_core::v8::GetPropertyNamesArgs; use deno_core::v8::MapFnTo; // NOTE(bartlomieju): somehow calling `.map_fn_to()` multiple times on a function // returns two different pointers. That shouldn't be the case as `.map_fn_to...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/node/lib.rs
ext/node/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. #![deny(clippy::print_stderr)] #![deny(clippy::print_stdout)] #![allow(clippy::too_many_arguments)] use std::borrow::Cow; use std::path::Path; use deno_core::FastString; use deno_core::OpState; use deno_core::op2; use deno_core::url::Url; #[allow(unused_imports)]...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false