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/ext/io/fs.rs
ext/io/fs.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::fmt::Formatter; use std::io; use std::path::Path; #[cfg(unix)] use std::process::Stdio as StdStdio; use std::rc::Rc; use std::time::SystemTime; use std::time::UNIX_EPOCH; use deno_core::BufMutView; use deno_core::BufView; use deno_co...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/io/winpipe.rs
ext/io/winpipe.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::io; use std::os::windows::io::RawHandle; use std::sync::atomic::AtomicU32; use std::sync::atomic::Ordering; use rand::RngCore; use rand::thread_rng; use winapi::shared::minwindef::DWORD; use winapi::um::errhandlingapi::GetLastError; use winapi::um::fileapi...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/io/pipe.rs
ext/io/pipe.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::io; use std::pin::Pin; use std::process::Stdio; pub type RawPipeHandle = super::RawIoHandle; // The synchronous read end of a unidirectional pipe. pub struct PipeRead { file: std::fs::File, } // The asynchronous read end of a unidirectional pipe. pub s...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/crypto/export_key.rs
ext/crypto/export_key.rs
// Copyright 2018-2025 the Deno authors. MIT license. use base64::Engine; use base64::prelude::BASE64_URL_SAFE_NO_PAD; use const_oid::AssociatedOid; use const_oid::ObjectIdentifier; use deno_core::ToJsBuffer; use deno_core::op2; use elliptic_curve::sec1::ToEncodedPoint; use p256::pkcs8::DecodePrivateKey; use rsa::pkcs...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/crypto/key.rs
ext/crypto/key.rs
// Copyright 2018-2025 the Deno authors. MIT license. use aws_lc_rs::agreement::Algorithm as RingAlgorithm; use aws_lc_rs::digest; use aws_lc_rs::hkdf; use aws_lc_rs::hmac::Algorithm as HmacAlgorithm; use aws_lc_rs::signature::EcdsaSigningAlgorithm; use aws_lc_rs::signature::EcdsaVerificationAlgorithm; use serde::Dese...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/crypto/lib.rs
ext/crypto/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::num::NonZeroU32; use aes_kw::KekAes128; use aes_kw::KekAes192; use aes_kw::KekAes256; use aws_lc_rs::digest; use aws_lc_rs::hkdf; use aws_lc_rs::hmac::Algorithm as HmacAlgorithm; use aws_lc_rs::hmac::Key as HmacKey; use aws_lc_rs::pbkdf2; use base64::Engi...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/crypto/x448.rs
ext/crypto/x448.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_core::ToJsBuffer; use deno_core::op2; use ed448_goldilocks::Scalar; use ed448_goldilocks::curve::MontgomeryPoint; use elliptic_curve::pkcs8::PrivateKeyInfo; use elliptic_curve::subtle::ConstantTimeEq; use rand::RngCore; use rand::rngs::OsRng; use spki::der...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/crypto/decrypt.rs
ext/crypto/decrypt.rs
// Copyright 2018-2025 the Deno authors. MIT license. use aes::cipher::BlockDecryptMut; use aes::cipher::KeyIvInit; use aes::cipher::block_padding::Pkcs7; use aes_gcm::AeadInPlace; use aes_gcm::KeyInit; use aes_gcm::Nonce; use aes_gcm::aead::generic_array::ArrayLength; use aes_gcm::aead::generic_array::typenum::U12; u...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/crypto/ed25519.rs
ext/crypto/ed25519.rs
// Copyright 2018-2025 the Deno authors. MIT license. use aws_lc_rs::signature::Ed25519KeyPair; use aws_lc_rs::signature::KeyPair; use base64::Engine; use base64::prelude::BASE64_URL_SAFE_NO_PAD; use deno_core::ToJsBuffer; use deno_core::op2; use elliptic_curve::pkcs8::PrivateKeyInfo; use rand::RngCore; use rand::rngs...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/crypto/shared.rs
ext/crypto/shared.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use deno_core::JsBuffer; use deno_core::ToJsBuffer; use elliptic_curve::sec1::ToEncodedPoint; use p256::pkcs8::DecodePrivateKey; use rsa::RsaPrivateKey; use rsa::pkcs1::DecodeRsaPrivateKey; use rsa::pkcs1::EncodeRsaPublicKey; use serde::Deser...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/crypto/import_key.rs
ext/crypto/import_key.rs
// Copyright 2018-2025 the Deno authors. MIT license. use base64::Engine; use deno_core::JsBuffer; use deno_core::ToJsBuffer; use deno_core::op2; use elliptic_curve::pkcs8::PrivateKeyInfo; use p256::pkcs8::EncodePrivateKey; use rsa::pkcs1::UintRef; use rsa::pkcs8::der::Encode; use serde::Deserialize; use serde::Serial...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/crypto/generate_key.rs
ext/crypto/generate_key.rs
// Copyright 2018-2025 the Deno authors. MIT license. use aws_lc_rs::rand::SecureRandom; use aws_lc_rs::signature::EcdsaKeyPair; use deno_core::ToJsBuffer; use deno_core::op2; use deno_core::unsync::spawn_blocking; use elliptic_curve::rand_core::OsRng; use num_traits::FromPrimitive; use once_cell::sync::Lazy; use rsa:...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/crypto/encrypt.rs
ext/crypto/encrypt.rs
// Copyright 2018-2025 the Deno authors. MIT license. use aes::cipher::BlockEncryptMut; use aes::cipher::KeyIvInit; use aes::cipher::StreamCipher; use aes::cipher::block_padding::Pkcs7; use aes_gcm::AeadInPlace; use aes_gcm::KeyInit; use aes_gcm::Nonce; use aes_gcm::aead::generic_array::ArrayLength; use aes_gcm::aead:...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/crypto/x25519.rs
ext/crypto/x25519.rs
// Copyright 2018-2025 the Deno authors. MIT license. use base64::prelude::BASE64_URL_SAFE_NO_PAD; use curve25519_dalek::montgomery::MontgomeryPoint; use deno_core::ToJsBuffer; use deno_core::op2; use elliptic_curve::pkcs8::PrivateKeyInfo; use elliptic_curve::subtle::ConstantTimeEq; use rand::RngCore; use rand::rngs::...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webidl/lib.rs
ext/webidl/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. deno_core::extension!(deno_webidl, esm = ["00_webidl.js"],);
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webidl/benches/dict.rs
ext/webidl/benches/dict.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_bench_util::bench_js_sync; use deno_bench_util::bench_or_profile; use deno_bench_util::bencher::Bencher; use deno_bench_util::bencher::benchmark_group; use deno_core::Extension; fn setup() -> Vec<Extension> { deno_core::extension!( deno_webidl_bench...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/telemetry/lib.rs
ext/telemetry/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. #![allow(clippy::too_many_arguments)] #![expect(unexpected_cfgs)] use std::borrow::Cow; use std::cell::RefCell; use std::collections::HashMap; use std::env; use std::ffi::c_void; use std::fmt::Debug; use std::pin::Pin; use std::rc::Rc; use std::sync::Arc; use std:...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
true
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/fetch/lib.rs
ext/fetch/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. pub mod dns; mod fs_fetch_handler; mod proxy; #[cfg(test)] mod tests; use std::borrow::Cow; use std::cell::RefCell; use std::cmp::min; use std::convert::From; use std::future; use std::future::Future; use std::net::IpAddr; use std::path::Path; #[cfg(not(windows))]...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
true
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/fetch/tests.rs
ext/fetch/tests.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::net::SocketAddr; use std::sync::Arc; use std::sync::atomic::AtomicUsize; use std::sync::atomic::Ordering::SeqCst; use bytes::Bytes; use fast_socks5::server::Config as Socks5Config; use fast_socks5::server::Socks5Socket; use http_body_util::BodyExt; use to...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/fetch/fs_fetch_handler.rs
ext/fetch/fs_fetch_handler.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::rc::Rc; use deno_core::CancelFuture; use deno_core::OpState; use deno_core::futures::FutureExt; use deno_core::futures::TryFutureExt; use deno_core::futures::TryStreamExt; use deno_core::url::Url; use deno_error::JsErrorBox; use deno...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/fetch/dns.rs
ext/fetch/dns.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::future::Future; use std::io; use std::net::SocketAddr; use std::pin::Pin; use std::sync::Arc; use std::task::Poll; use std::task::{self}; use std::vec; use hickory_resolver::name_server::TokioConnectionProvider; use hyper_util::client::legacy::connect::dns...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/fetch/proxy.rs
ext/fetch/proxy.rs
// Copyright 2018-2025 the Deno authors. MIT license. //! Parts of this module should be able to be replaced with other crates //! eventually, once generic versions appear in hyper-util, et al. use std::env; use std::future::Future; use std::net::IpAddr; #[cfg(not(windows))] use std::path::PathBuf; use std::pin::Pin;...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/webidl.rs
ext/webgpu/webidl.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; #[allow(clippy::disallowed_types)] use std::collections::HashSet; use deno_core::WebIDL; use deno_core::cppgc::Ref; use deno_core::v8; use deno_core::webidl::ContextFn; use deno_core::webidl::IntOptions; use deno_core::webidl::WebIdlConverter...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/lib.rs
ext/webgpu/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. #![cfg(not(target_arch = "wasm32"))] #![warn(unsafe_op_in_unsafe_fn)] use std::cell::RefCell; use std::rc::Rc; use std::sync::Arc; use deno_core::GarbageCollected; use deno_core::OpState; use deno_core::cppgc::SameObject; use deno_core::op2; use deno_core::v8; pub...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/device.rs
ext/webgpu/device.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::cell::RefCell; use std::num::NonZeroU64; use std::rc::Rc; use deno_core::GarbageCollected; use deno_core::cppgc::SameObject; use deno_core::cppgc::make_cppgc_object; use deno_core::op2; use deno_core::v8; use deno_core::webidl::WebId...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/bind_group.rs
ext/webgpu/bind_group.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use deno_core::GarbageCollected; use deno_core::WebIDL; use deno_core::cppgc::Ref; use deno_core::op2; use deno_core::v8::Local; use deno_core::v8::PinScope; use deno_core::v8::Value; use deno_core::webidl::ContextFn; use deno_core::webidl::W...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/bind_group_layout.rs
ext/webgpu/bind_group_layout.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_core::GarbageCollected; use deno_core::WebIDL; use deno_core::op2; use crate::Instance; use crate::error::GPUGenericError; use crate::texture::GPUTextureViewDimension; pub struct GPUBindGroupLayout { pub instance: Instance, pub id: wgpu_core::id::Bin...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/byow.rs
ext/webgpu/byow.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::cell::RefCell; use std::ffi::c_void; #[cfg(any( target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "openbsd" ))] use std::ptr::NonNull; use deno_core::FromV8; use deno_core::GarbageCollected; use deno_core::OpState; use d...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/texture.rs
ext/webgpu/texture.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::sync::OnceLock; use deno_core::GarbageCollected; use deno_core::WebIDL; use deno_core::op2; use deno_core::webidl::WebIdlInterfaceConverter; use deno_error::JsErrorBox; use wgpu_types::AstcBlock; use wgpu_types::AstcChannel; use wgpu_types::Extent3d; use ...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/compute_pipeline.rs
ext/webgpu/compute_pipeline.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_core::GarbageCollected; use deno_core::WebIDL; use deno_core::cppgc::Ref; use deno_core::op2; use deno_core::webidl::WebIdlInterfaceConverter; use indexmap::IndexMap; use crate::Instance; use crate::bind_group_layout::GPUBindGroupLayout; use crate::error:...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/surface.rs
ext/webgpu/surface.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::cell::RefCell; use deno_core::_ops::make_cppgc_object; use deno_core::GarbageCollected; use deno_core::WebIDL; use deno_core::cppgc::Member; use deno_core::cppgc::Ref; use deno_core::op2; use deno_core::v8; use deno_core::v8::TracedReference; use deno_cor...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/query_set.rs
ext/webgpu/query_set.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_core::GarbageCollected; use deno_core::WebIDL; use deno_core::op2; use deno_core::webidl::WebIdlInterfaceConverter; use deno_error::JsErrorBox; use crate::Instance; use crate::error::GPUGenericError; pub struct GPUQuerySet { pub instance: Instance, p...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/command_buffer.rs
ext/webgpu/command_buffer.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_core::GarbageCollected; use deno_core::WebIDL; use deno_core::op2; use crate::Instance; use crate::error::GPUGenericError; pub struct GPUCommandBuffer { pub instance: Instance, pub id: wgpu_core::id::CommandBufferId, pub label: String, } impl Drop...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/adapter.rs
ext/webgpu/adapter.rs
// Copyright 2018-2025 the Deno authors. MIT license. #[allow(clippy::disallowed_types)] use std::collections::HashSet; use std::rc::Rc; use deno_core::GarbageCollected; use deno_core::OpState; use deno_core::V8TaskSpawner; use deno_core::WebIDL; use deno_core::cppgc::SameObject; use deno_core::op2; use deno_core::v8...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/error.rs
ext/webgpu/error.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::fmt::Display; use std::fmt::Formatter; use std::sync::Mutex; use std::sync::OnceLock; use deno_core::JsRuntime; use deno_core::V8TaskSpawner; use deno_core::cppgc::make_cppgc_object; use deno_core::v8; use wgpu_core::binding_model::CreateBindGroupError; u...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/render_pass.rs
ext/webgpu/render_pass.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::cell::RefCell; use std::num::NonZeroU64; use deno_core::GarbageCollected; use deno_core::WebIDL; use deno_core::cppgc::Ref; use deno_core::op2; use deno_core::v8; use deno_core::v8::Local; use deno_core::v8::Value; use deno_core::web...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/compute_pass.rs
ext/webgpu/compute_pass.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::cell::RefCell; use deno_core::GarbageCollected; use deno_core::WebIDL; use deno_core::cppgc::Ref; use deno_core::op2; use deno_core::v8; use deno_core::webidl::IntOptions; use deno_core::webidl::Nullable; use deno_core::webidl::WebId...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/render_bundle.rs
ext/webgpu/render_bundle.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::cell::RefCell; use std::num::NonZeroU64; use deno_core::GarbageCollected; use deno_core::WebIDL; use deno_core::cppgc::Ref; use deno_core::op2; use deno_core::v8; use deno_core::webidl::IntOptions; use deno_core::webidl::Nullable; us...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/command_encoder.rs
ext/webgpu/command_encoder.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::cell::RefCell; use std::num::NonZero; #[cfg(target_vendor = "apple")] use std::sync::OnceLock; use deno_core::GarbageCollected; use deno_core::WebIDL; use deno_core::cppgc::Ref; use deno_core::op2; use deno_core::v8; use deno_core::w...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/buffer.rs
ext/webgpu/buffer.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::cell::RefCell; use std::rc::Rc; use std::time::Duration; use deno_core::GarbageCollected; use deno_core::WebIDL; use deno_core::futures::channel::oneshot; use deno_core::op2; use deno_core::v8; use deno_core::webidl::WebIdlInterfaceConverter; use deno_err...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/render_pipeline.rs
ext/webgpu/render_pipeline.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_core::GarbageCollected; use deno_core::WebIDL; use deno_core::cppgc::Ref; use deno_core::op2; use deno_core::webidl::Nullable; use deno_core::webidl::WebIdlInterfaceConverter; use indexmap::IndexMap; use crate::Instance; use crate::bind_group_layout::GPUB...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/shader.rs
ext/webgpu/shader.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_core::GarbageCollected; use deno_core::WebIDL; use deno_core::cppgc::make_cppgc_object; use deno_core::op2; use deno_core::v8; use deno_core::webidl::WebIdlInterfaceConverter; use wgpu_core::pipeline; use crate::Instance; use crate::error::GPUGenericError...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/queue.rs
ext/webgpu/queue.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::cell::RefCell; use std::rc::Rc; use std::time::Duration; use deno_core::GarbageCollected; use deno_core::WebIDL; use deno_core::cppgc::Ref; use deno_core::futures::channel::oneshot; use deno_core::op2; use deno_error::JsErrorBox; use crate::Instance; use...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/sampler.rs
ext/webgpu/sampler.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_core::GarbageCollected; use deno_core::WebIDL; use deno_core::op2; use deno_core::webidl::WebIdlInterfaceConverter; use crate::Instance; use crate::error::GPUGenericError; pub struct GPUSampler { pub instance: Instance, pub id: wgpu_core::id::Sampler...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/webgpu/pipeline_layout.rs
ext/webgpu/pipeline_layout.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_core::GarbageCollected; use deno_core::WebIDL; use deno_core::cppgc::Ref; use deno_core::op2; use deno_core::webidl::WebIdlInterfaceConverter; use crate::Instance; use crate::error::GPUGenericError; pub struct GPUPipelineLayout { pub instance: Instance...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/fs/lib.rs
ext/fs/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. mod interface; mod ops; mod std_fs; pub use deno_io::fs::FsError; pub use deno_maybe_sync as sync; pub use deno_maybe_sync::MaybeSend; pub use deno_maybe_sync::MaybeSync; pub use crate::interface::FileSystem; pub use crate::interface::FileSystemRc; pub use crate:...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/fs/interface.rs
ext/fs/interface.rs
// Copyright 2018-2025 the Deno authors. MIT license. use core::str; use std::borrow::Cow; use std::path::PathBuf; use std::rc::Rc; use deno_io::fs::File; use deno_io::fs::FsResult; use deno_io::fs::FsStat; use deno_maybe_sync::MaybeSend; use deno_maybe_sync::MaybeSync; use deno_permissions::CheckedPath; use deno_per...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/fs/std_fs.rs
ext/fs/std_fs.rs
// Copyright 2018-2025 the Deno authors. MIT license. #![allow(clippy::disallowed_methods)] use std::borrow::Cow; use std::fs; use std::io; use std::io::ErrorKind; use std::io::Read; use std::io::Write; use std::path::Path; use std::path::PathBuf; use std::rc::Rc; use deno_core::unsync::spawn_blocking; use deno_io::...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/fs/ops.rs
ext/fs/ops.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::cell::RefCell; use std::error::Error; use std::fmt::Formatter; use std::io; use std::io::SeekFrom; use std::path::Path; use std::path::PathBuf; use std::path::StripPrefixError; use std::rc::Rc; use boxed_error::Boxed; use deno_core::...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
true
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/web/lib.rs
ext/web/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. mod blob; mod broadcast_channel; mod compression; mod console; mod message_port; mod stream_resource; mod timers; mod url; mod urlpattern; use std::borrow::Cow; use std::cell::RefCell; use std::sync::Arc; pub use blob::BlobError; pub use compression::Compression...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/web/url.rs
ext/web/url.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_core::JsBuffer; use deno_core::OpState; use deno_core::op2; use deno_core::url::Url; use deno_core::url::form_urlencoded; use deno_core::url::quirks; use deno_error::JsErrorBox; /// Parse `href` with a `base_href`. Fills the out `buf` with URL components....
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/web/message_port.rs
ext/web/message_port.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::cell::RefCell; use std::future::poll_fn; use std::rc::Rc; use deno_core::CancelFuture; use deno_core::CancelHandle; use deno_core::DetachedBuffer; use deno_core::OpState; use deno_core::RcRef; use deno_core::Resource; use deno_core::...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/web/broadcast_channel.rs
ext/web/broadcast_channel.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::cell::RefCell; use std::rc::Rc; use std::sync::Arc; use deno_core::JsBuffer; use deno_core::OpState; use deno_core::ResourceId; use deno_core::op2; use deno_core::parking_lot::Mutex; use tokio::sync::broadcast; use tokio::sync::broadcast::error::SendError...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/web/stream_resource.rs
ext/web/stream_resource.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::cell::RefCell; use std::cell::RefMut; use std::ffi::c_void; use std::future::Future; use std::future::poll_fn; use std::marker::PhantomData; use std::mem::MaybeUninit; use std::pin::Pin; use std::rc::Rc; use std::task::Context; use std...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/web/compression.rs
ext/web/compression.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::cell::RefCell; use std::io::Write; use deno_core::op2; use flate2::Compression; use flate2::write::DeflateDecoder; use flate2::write::DeflateEncoder; use flate2::write::GzDecoder; use flate2::write::GzEncoder; use flate2::write::ZlibDecoder; use flate2::w...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/web/console.rs
ext/web/console.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_core::op2; use deno_core::v8; #[op2] pub fn op_preview_entries<'s>( scope: &mut v8::PinScope<'s, '_>, object: &v8::Object, slow_path: bool, ) -> v8::Local<'s, v8::Value> { let (entries, is_key_value) = object.preview_entries(scope); match entries...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/web/blob.rs
ext/web/blob.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::cell::RefCell; use std::collections::HashMap; use std::fmt::Debug; use std::rc::Rc; use std::sync::Arc; use async_trait::async_trait; use deno_core::JsBuffer; use deno_core::OpState; use deno_core::ToJsBuffer; use deno_core::op2; 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/web/timers.rs
ext/web/timers.rs
// Copyright 2018-2025 the Deno authors. MIT license. //! This module helps deno implement timers and performance APIs. use std::time::Duration; use std::time::Instant; use std::time::SystemTime; use std::time::UNIX_EPOCH; use deno_core::OpState; use deno_core::op2; pub struct StartTime(Instant); impl Default for ...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/web/urlpattern.rs
ext/web/urlpattern.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_core::op2; use urlpattern::quirks; use urlpattern::quirks::MatchInput; use urlpattern::quirks::StringOrInit; use urlpattern::quirks::UrlPattern; deno_error::js_error_wrapper!(urlpattern::Error, UrlPatternError, "TypeError"); #[op2] #[serde] pub fn op_url...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/web/benches/url_ops.rs
ext/web/benches/url_ops.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_bench_util::bench_js_sync; use deno_bench_util::bench_or_profile; use deno_bench_util::bencher::Bencher; use deno_bench_util::bencher::benchmark_group; use deno_core::Extension; fn setup() -> Vec<Extension> { deno_core::extension!( bench_setup, ...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/web/benches/timers_ops.rs
ext/web/benches/timers_ops.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_bench_util::bench_js_async; use deno_bench_util::bench_or_profile; use deno_bench_util::bencher::Bencher; use deno_bench_util::bencher::benchmark_group; use deno_core::Extension; #[derive(Clone)] struct Permissions; fn setup() -> Vec<Extension> { deno_...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/web/benches/encoding.rs
ext/web/benches/encoding.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_bench_util::bench_js_sync; use deno_bench_util::bench_or_profile; use deno_bench_util::bencher::Bencher; use deno_bench_util::bencher::benchmark_group; use deno_core::Extension; #[derive(Clone)] struct Permissions; fn setup() -> Vec<Extension> { deno_c...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/http/response_body.rs
ext/http/response_body.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::io::Write; use std::pin::Pin; use std::rc::Rc; use std::task::ready; use brotli::enc::encode::BrotliEncoderOperation; use brotli::enc::encode::BrotliEncoderParameter; use brotli::enc::encode::BrotliEncoderStateStruct; use brotli::writer::StandardAlloc; use...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/http/lib.rs
ext/http/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::cell::RefCell; use std::cmp::min; use std::error::Error; use std::future::Future; use std::future::Pending; use std::future::pending; use std::io; use std::io::Write; use std::mem::replace; use std::mem::take; use std::net::SocketAddr...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
true
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/http/request_properties.rs
ext/http/request_properties.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::net::Ipv4Addr; use std::net::SocketAddr; use std::net::SocketAddrV4; use std::rc::Rc; use deno_core::OpState; use deno_core::ResourceId; use deno_error::JsErrorBox; use deno_net::raw::NetworkStream; use deno_net::raw::NetworkStreamAdd...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/http/http_next.rs
ext/http/http_next.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::cell::RefCell; use std::ffi::c_void; use std::future::Future; use std::future::poll_fn; use std::io; use std::pin::Pin; use std::ptr::null; use std::rc::Rc; use bytes::Bytes; use bytes::BytesMut; use cache_control::CacheControl; use d...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
true
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/http/fly_accept_encoding.rs
ext/http/fly_accept_encoding.rs
// Copyright 2018 Yoshua Wuyts. All rights reserved. MIT license. // Copyright 2018-2025 the Deno authors. MIT license. // Forked from https://github.com/superfly/accept-encoding/blob/1cded757ec7ff3916e5bfe7441db76cdc48170dc/ // Forked to support both http 0.3 and http 1.0 crates. use itertools::Itertools; /// A list...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/http/reader_stream.rs
ext/http/reader_stream.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::pin::Pin; use std::sync::Arc; use std::sync::atomic::AtomicBool; use std::sync::atomic::Ordering; use std::task::Context; use std::task::Poll; use bytes::Bytes; use deno_core::futures::Stream; use pin_project::pin_project; use tokio::io::AsyncRead; use to...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/http/service.rs
ext/http/service.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::cell::Cell; use std::cell::Ref; use std::cell::RefCell; use std::cell::RefMut; use std::future::Future; use std::mem::ManuallyDrop; use std::pin::Pin; use std::rc::Rc; use std::sync::OnceLock; use std::task::Context; use std::task::Po...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/http/compressible.rs
ext/http/compressible.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::str::FromStr; use phf::phf_set; // Data obtained from https://github.com/jshttp/mime-db/blob/fa5e4ef3cc8907ec3c5ec5b85af0c63d7059a5cd/db.json // Important! Keep this list sorted alphabetically. static CONTENT_TYPES: phf::Set<&'static [u8]> = phf_set! { ...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/http/request_body.rs
ext/http/request_body.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::pin::Pin; use std::rc::Rc; use std::task::Poll; use std::task::ready; use bytes::Bytes; use deno_core::AsyncRefCell; use deno_core::AsyncResult; use deno_core::BufView; use deno_core::RcRef; use deno_core::Resource; use deno_core::fut...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/http/network_buffered_stream.rs
ext/http/network_buffered_stream.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::future::poll_fn; use std::io; use std::mem::MaybeUninit; use std::pin::Pin; use std::task::Poll; use std::task::ready; use bytes::Bytes; use tokio::io::AsyncRead; use tokio::io::AsyncWrite; use tokio::io::ReadBuf; const MAX_PREFIX_SIZE: usize = 256; ///...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/http/benches/compressible.rs
ext/http/benches/compressible.rs
// Copyright 2018-2025 the Deno authors. MIT license. use bencher::Bencher; use bencher::benchmark_group; use bencher::benchmark_main; use deno_http::compressible::is_content_compressible; fn compressible_simple_hit(b: &mut Bencher) { b.iter(|| { is_content_compressible("text/plain"); }) } fn compressible_com...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/websocket/stream.rs
ext/websocket/stream.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::io::ErrorKind; use std::pin::Pin; use std::task::Poll; use std::task::ready; use bytes::Buf; use bytes::Bytes; use deno_net::raw::NetworkStream; use h2::RecvStream; use h2::SendStream; use hyper::upgrade::Upgraded; use hyper_util::rt::TokioIo; use tokio::i...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/ext/websocket/lib.rs
ext/websocket/lib.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::cell::Cell; use std::cell::RefCell; use std::future::Future; use std::rc::Rc; use bytes::Bytes; use deno_core::AsyncMutFuture; use deno_core::AsyncRefCell; use deno_core::ByteString; use deno_core::CancelHandle; use deno_core::CancelT...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/node.rs
cli/node.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_resolver::cjs::analyzer::DenoCjsCodeAnalyzer; use deno_resolver::npm::DenoInNpmPackageChecker; use node_resolver::DenoIsBuiltInNodeModuleChecker; use node_resolver::analyze::CjsModuleExportAnalyzer; use crate::npm::CliNpmResolver; use crate::sys::CliSys; ...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/module_loader.rs
cli/module_loader.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::cell::RefCell; use std::collections::HashMap; use std::collections::HashSet; use std::future::Future; use std::path::Path; use std::path::PathBuf; use std::pin::Pin; use std::rc::Rc; use std::str; use std::sync::Arc; use std::sync::at...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
true
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/cdp.rs
cli/cdp.rs
// Copyright 2018-2025 the Deno authors. MIT license. /// <https://chromedevtools.github.io/devtools-protocol/tot/> use deno_core::serde_json::Value; use serde::Deserialize; use serde::Deserializer; use serde::Serialize; /// <https://chromedevtools.github.io/devtools-protocol/tot/Runtime/#method-awaitPromise> #[deriv...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/build.rs
cli/build.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::env; use std::io::Write; use std::path::Path; use deno_runtime::*; fn compress_decls(out_dir: &Path) { let decls = [ "lib.deno_webgpu.d.ts", "lib.deno.ns.d.ts", "lib.deno.unstable.d.ts", "lib.deno.window.d.ts", "lib.deno.worker.d.ts...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/file_fetcher.rs
cli/file_fetcher.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::sync::Arc; use deno_ast::MediaType; use deno_cache_dir::GlobalOrLocalHttpCache; use deno_cache_dir::file_fetcher::BlobData; use deno_cache_dir::file_fetcher::CacheSetting; use deno_cache_dir::file_fetcher::File; use deno_cache_dir::file_fetcher::SendError...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
true
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/worker.rs
cli/worker.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::cell::RefCell; use std::path::PathBuf; use std::rc::Rc; use std::sync::Arc; use deno_ast::ModuleSpecifier; use deno_core::Extension; use deno_core::OpState; use deno_core::error::CoreError; use deno_core::error::JsError; use deno_core::futures::FutureExt;...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/registry.rs
cli/registry.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_core::error::AnyError; use deno_core::serde_json; use deno_core::url::Url; use deno_runtime::deno_fetch; use serde::de::DeserializeOwned; use crate::http_util; use crate::http_util::HttpClient; #[derive(serde::Deserialize)] #[serde(rename_all = "camelCas...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/integration_tests_runner.rs
cli/integration_tests_runner.rs
// Copyright 2018-2025 the Deno authors. MIT license. pub fn main() { // this file exists to cause the executable to be built when running cargo test }
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/type_checker.rs
cli/type_checker.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::collections::HashMap; use std::collections::HashSet; use std::collections::VecDeque; use std::path::PathBuf; use std::rc::Rc; use std::sync::Arc; use deno_ast::MediaType; use deno_ast::ModuleSpecifier; use deno_config::deno_json::CompilerOptionTypesDeseri...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
true
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/resolver.rs
cli/resolver.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_resolver::npm::DenoInNpmPackageChecker; use node_resolver::DenoIsBuiltInNodeModuleChecker; use crate::npm::CliNpmResolver; use crate::sys::CliSys; pub type CliCjsTracker = deno_resolver::cjs::CjsTracker<DenoInNpmPackageChecker, CliSys>; pub type CliIsC...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/graph_util.rs
cli/graph_util.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::collections::HashSet; use std::path::PathBuf; use std::sync::Arc; use deno_config::deno_json; use deno_config::deno_json::CompilerOptionTypesDeserializeError; use deno_config::deno_json::NodeModulesDirMode; use deno_config::workspace...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
true
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/main.rs
cli/main.rs
// Copyright 2018-2025 the Deno authors. MIT license. mod args; mod cache; mod cdp; mod factory; mod file_fetcher; mod graph_container; mod graph_util; mod http_util; mod jsr; mod lsp; mod module_loader; mod node; mod npm; mod ops; mod registry; mod resolver; mod standalone; mod task_runner; mod tools; mod tsc; mod ty...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
true
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/http_util.rs
cli/http_util.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::sync::Arc; use boxed_error::Boxed; use deno_cache_dir::file_fetcher::RedirectHeaderParseError; use deno_core::error::AnyError; use deno_core::futures::StreamExt; use deno_core::serde; use deno_core::serde_json; use deno_core::url::Url; use deno_error::JsE...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/graph_container.rs
cli/graph_container.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::sync::Arc; use deno_ast::ModuleSpecifier; use deno_config::glob::FilePatterns; use deno_config::glob::PathOrPatternSet; use deno_core::error::AnyError; use deno_core::parking_lot::RwLock; use deno_graph::ModuleGraph; use deno_runtime::colors; use deno_run...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/npm.rs
cli/npm.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::collections::HashSet; use std::path::PathBuf; use std::rc::Rc; use std::sync::Arc; use dashmap::DashMap; use deno_core::error::AnyError; use deno_core::serde_json; use deno_core::url::Url; use deno_error::JsErrorBox; use deno_lib::ve...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/jsr.rs
cli/jsr.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::sync::Arc; use dashmap::DashMap; use deno_core::serde_json; use deno_graph::JsrPackageReqNotFoundError; use deno_graph::packages::JsrPackageInfo; use deno_graph::packages::JsrPackageVersionInfo; use deno_graph::packages::JsrPackageVersionResolver; use den...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/factory.rs
cli/factory.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::future::Future; use std::path::Path; use std::path::PathBuf; use std::sync::Arc; use deno_bundle_runtime::BundlePlatform; use deno_cache_dir::GlobalOrLocalHttpCache; use deno_cache_dir::npm::NpmCacheDir; use deno_config::workspace::W...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
true
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/task_runner.rs
cli/task_runner.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::collections::HashMap; use std::ffi::OsStr; use std::ffi::OsString; use std::path::Path; use std::path::PathBuf; use std::rc::Rc; use deno_core::anyhow::Context; use deno_core::error::AnyError; use deno_core::futures::future::LocalBoxFuture; use deno_task_...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/util/unix.rs
cli/util/unix.rs
// Copyright 2018-2025 the Deno authors. MIT license. /// Raise soft file descriptor limit to hard file descriptor limit. /// This is the difference between `ulimit -n` and `ulimit -n -H`. pub fn raise_fd_limit() { #[cfg(unix)] // TODO(bartlomieju): #[allow(clippy::undocumented_unsafe_blocks)] unsafe { let...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/util/file_watcher.rs
cli/util/file_watcher.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::cell::RefCell; use std::collections::HashSet; use std::future::Future; use std::io::IsTerminal; use std::path::PathBuf; use std::rc::Rc; use std::sync::Arc; use std::time::Duration; use deno_config::glob::PathOrPatternSet; use deno_core::error::AnyError; ...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/util/path.rs
cli/util/path.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::borrow::Cow; use std::path::Path; use deno_ast::MediaType; use deno_ast::ModuleSpecifier; use deno_config::glob::PathGlobMatch; use deno_config::glob::PathOrPattern; use deno_config::glob::PathOrPatternSet; /// Checks if the path has an extension Deno su...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/util/archive.rs
cli/util/archive.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::fs; use std::path::Path; use std::path::PathBuf; use std::process::Command; use deno_core::anyhow::Context; use deno_core::anyhow::bail; use deno_core::error::AnyError; fn unzip_with_shell( archive_path: &Path, archive_data: &[u8], dest_path: &Path...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/util/fs.rs
cli/util/fs.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::io::Error; use std::io::ErrorKind; use std::path::Path; use std::path::PathBuf; use deno_config::glob::FileCollector; use deno_config::glob::FilePatterns; use deno_config::glob::PathOrPattern; use deno_config::glob::PathOrPatternSet; use deno_config::glob...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/util/watch_env_tracker.rs
cli/util/watch_env_tracker.rs
// Copyright 2018-2025 the Deno authors. MIT license. use std::collections::HashMap; use std::collections::HashSet; use std::env; use std::ffi::OsString; use std::path::Path; use std::path::PathBuf; use std::sync::Arc; use std::sync::Mutex; use std::sync::OnceLock; use deno_terminal::colors; #[derive(Debug, Clone)] ...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false
denoland/deno
https://github.com/denoland/deno/blob/7222e85d435b977de1ab810db067b86f29e6444f/cli/util/v8.rs
cli/util/v8.rs
// Copyright 2018-2025 the Deno authors. MIT license. use deno_lib::util::v8::construct_v8_flags; pub mod convert; #[inline(always)] pub fn get_v8_flags_from_env() -> Vec<String> { std::env::var("DENO_V8_FLAGS") .ok() .map(|flags| flags.split(',').map(String::from).collect::<Vec<String>>()) .unwrap_or_...
rust
MIT
7222e85d435b977de1ab810db067b86f29e6444f
2026-01-04T15:31:58.521149Z
false