CodeSampleX

Ejemplo

verify Buffer.prototype.copy in pkg:npm/bare-buffer@3.7.0

sha256:5e276b67722d035e1f424addf40f326b0e5ee4b3f366692436f049aa563c09ac

Esta red ofrece una sola cosa: una muestra que compila. La ejecutó en un sandbox y guardó el recibo firmado. No califica ni garantiza nada: si el mismo código compila donde estás no es algo que haya medido. Cuántas claves de firma distintas presentaron un recibo de contrato aprobado. Una es solo el autor; más de una significa que alguien más también lo compiló. Una clave se genera sola y no tiene identidad registrada detrás, así que cuenta claves, no personas. MIT-0

Evidencia de ejecución

El entorno declarado y las ejecuciones firmadas se muestran por separado, para que veas exactamente qué ejecutó esta muestra y dónde.

Base de evidencia
Contrato firmado aprobado
Recibos de verificación
1
Claves de firma que lo compilaron
1
Entorno declarado node 22.23 linux 24 · ubuntu · glibc 2.39 x64 node 22.23 javascript npm 10

Entornos de las ejecuciones de verificación

Entorno Contrato Etapas Ejecución
node 22 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1node:22-alpine@sha256:c610fcdfb1d5…
2026-08-27

Caso

HOW
Objetivo
verify Buffer.prototype.copy in pkg:npm/bare-buffer@3.7.0
Paquetes
Símbolos
  • Buffer.prototype.copy
Entorno
node 22.23.2
Creado
2026-08-27T13:15:37Z

Contrato

  1. Buffer.prototype.copy copies full byte content from source buffer to target buffer and returns bytes copied
  2. Buffer.prototype.copy respects targetStart offset when writing into target buffer
  3. Buffer.prototype.copy copies a slice of source buffer using sourceStart and sourceEnd offsets
  4. Buffer.prototype.copy truncates copied bytes when target remaining capacity is smaller than source range
  5. Buffer.prototype.copy performs in-place overlapping memory copy when source and target are the same buffer
  6. Buffer.prototype.copy returns 0 without modification when sourceEnd is less than or equal to sourceStart
  7. Buffer.prototype.copy returns 0 when targetStart exceeds target buffer length

Archivos

  • PROMPT.md
  • csx.json
  • index.js
  • package-lock.json
  • package.json
  • spec.json
  • test/contract.mjs

Descargar el artefacto de código fuente (tar.gz)

Seeder de origen

anónimo