mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
More package lines.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
// The path/filepath package uses either forward slashes or backslashes depending on the operating system
|
// package filepath package uses either forward slashes or backslashes depending on the operating system.
|
||||||
// To process paths such as URLs that depend on forward slashes regardless of the OS, use the path package
|
// To process paths such as URLs that depend on forward slashes regardless of the OS, use the slashpath package.
|
||||||
package filepath
|
package filepath
|
||||||
|
|
||||||
import "base:runtime"
|
import "base:runtime"
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
// The slashpath package is only to be used for paths separated by forward slashes,
|
// package slashpath is only to be used for paths separated by forward slashes, e.g. paths in URLs.
|
||||||
// e.g. paths in URLs
|
|
||||||
//
|
//
|
||||||
// This package does not deal with Windows/NT paths with volume letters or backslashes
|
// This package does not deal with Windows/NT paths with volume letters or backslashes
|
||||||
// To manipulate operating system specific paths, use the path/filepath package
|
// To manipulate operating system specific paths, use the path/filepath package
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
package spall is a package that is used for profiling using the "spall" format
|
package spall is a package that is used for profiling using the "spall" format.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
package main
|
package main
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Package reflect provides utility procedures and types to perform runtime type introspection/reflection (RTTI).
|
// package reflect provides utility procedures and types to perform runtime type introspection/reflection (RTTI).
|
||||||
//
|
//
|
||||||
// WARNING! THIS IS ADVANCED BEHAVIOUR FOR ODIN! THIS SHOULD NOT BE USED BY BEGINNERS TO ODIN!
|
// WARNING! THIS IS ADVANCED BEHAVIOUR FOR ODIN! THIS SHOULD NOT BE USED BY BEGINNERS TO ODIN!
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// package relative implements relative pointers and slices.
|
||||||
package relative_types
|
package relative_types
|
||||||
|
|
||||||
import "base:intrinsics"
|
import "base:intrinsics"
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
The SIMD support package.
|
package simd implements cross-platform SIMD support types and procedures.
|
||||||
|
|
||||||
SIMD (Single Instruction Multiple Data), is a CPU hardware feature that
|
SIMD (Single Instruction Multiple Data), is a CPU hardware feature that
|
||||||
introduce special registers and instructions which operate on multiple units
|
introduce special registers and instructions which operate on multiple units
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
// package x86 implements SIMD intrinsics specific to the Intel x86 and AMD64 architectures.
|
||||||
|
package simd_x86
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// package heap implements a generic in-place max heap on a slice for any type.
|
||||||
|
package heap
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright 2022 Dale Weiler <weilercdale@gmail.com>.
|
Copyright 2022 Dale Weiler <weilercdale@gmail.com>.
|
||||||
Made available under Odin's BSD-3 license.
|
Made available under Odin's BSD-3 license.
|
||||||
@@ -6,9 +9,6 @@
|
|||||||
Dale Weiler: Initial implementation
|
Dale Weiler: Initial implementation
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Package implements a generic max heap in-place on a slice for any type.
|
|
||||||
package heap
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Constructs a max heap in slice given by data with comparator. A max heap is
|
Constructs a max heap in slice given by data with comparator. A max heap is
|
||||||
a range of elements which has the following properties:
|
a range of elements which has the following properties:
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// package slice implements utility procedures for working with slices, including sorting and searching them.
|
||||||
package slice
|
package slice
|
||||||
|
|
||||||
import "base:intrinsics"
|
import "base:intrinsics"
|
||||||
|
|||||||
Reference in New Issue
Block a user