Skip to content

Commit 33e085c

Browse files
yannhampaullegranddc
authored andcommitted
chore: add missing license headers
1 parent 56ae791 commit 33e085c

6 files changed

Lines changed: 18 additions & 0 deletions

File tree

libdd-trace-utils/src/change_buffer/buffer.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2025-Present Datadog, Inc. https://www.datadoghq.com/
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
use crate::change_buffer::utils::*;
25
use crate::change_buffer::{ChangeBufferError, Result};
36

libdd-trace-utils/src/change_buffer/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2025-Present Datadog, Inc. https://www.datadoghq.com/
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//! Change buffer.
25
//!
36
//! A change buffer is a contiguous shared memory area between libdatadog and an external runtime.

libdd-trace-utils/src/change_buffer/operation.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2025-Present Datadog, Inc. https://www.datadoghq.com/
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//! Change buffer operations.
25
//!
36
//! Operations are encoded in the change buffer, and provides an API on spans and their parts.

libdd-trace-utils/src/change_buffer/span_header.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2025-Present Datadog, Inc. https://www.datadoghq.com/
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
/// Fixed-layout span header for direct JS DataView access.
25
///
36
/// JS creates a DataView over each span's header in WASM linear memory and writes fields directly.

libdd-trace-utils/src/change_buffer/trace.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2025-Present Datadog, Inc. https://www.datadoghq.com/
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
#[derive(Default)]
25
pub struct Trace<T> {
36
pub meta: Vec<(T, T)>,

libdd-trace-utils/src/change_buffer/utils.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2025-Present Datadog, Inc. https://www.datadoghq.com/
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
pub trait FromBytes: Sized {
25
type Bytes: ?Sized;
36
fn from_bytes(bytes: &[u8]) -> Self;

0 commit comments

Comments
 (0)