sorts

package module
v0.0.0-...-40a13da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2024 License: BSD-3-Clause Imports: 15 Imported by: 1

Documentation

Overview

Copyright 2024 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Copyright 2024 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CSortbytesfilesch

func CSortbytesfilesch(fns []string, ofn string, dn string, stype string, reclen int, keyoff int, keylen int, iomem int64)

CSortbytesfilesch sort bytes files using go routines and channels fns - names of files to sort ofn - output filename dn - output directろry stype - sort tyoe reclen - record length including any separator keyoff - offset of sort key keylen - length of sort key iomem - size limit for each sort chunk

func CSortstringsfilesch

func CSortstringsfilesch(fns []string, ofn string, dn string, stype string, reclen int, keyoff int, keylen int, iomem int64)

CSortstringsfilesch sort strings files using go routines and channels fns - names of files to sort ofn - output filename dn - output directろry stype - sort tyoe reclen - record length including any separator keyoff - offset of sort key keylen - length of sort key iomem - size limit for each sort chunk

func Flfileemit

func Flfileemit(fn string, rlen int)

Flfileemit for a fixed length record file without delimiters print each record on a separate line fn - name of file rlen - record length

func Sortbytesfiles

func Sortbytesfiles(fns []string, ofn string, dn string, stype string, reclen int, keyoff int, keylen int, iomem int64)

Sortbytesfiles top level sort function called by main using byte string representation fnѕ - files to sort ofn - output file name dn - directory name for work files stype - sort algorithm reclen - record length for fixed length records keyoff - offset of key in record keylen - key length

func Sortbytesfilesch

func Sortbytesfilesch(fns []string, ofn string, dn string, stype string, reclen int, keyoff int, keylen int, iomem int64)

Sortbytesfilesch sort bytes files using go routines and channels fns - names of files to sort ofn - output filename dn - output directろry stype - sort tyoe reclen - record length including any separator keyoff - offset of sort key keylen - length of sort key iomem - size limit for each sort chunk

func Sortstringsfiles

func Sortstringsfiles(fns []string, ofn string, dn string, stype string, reclen int, keyoff int, keylen int, iomem int64)

Sortstringsfiles top level sort function called by main using string representation fnѕ - files to sort ofn - output file name dn - directory name for work files stype - sort algorithm reclen - record length for fixed length records keyoff - offset of key in record keylen - key length

func Sortstringsfilesch

func Sortstringsfilesch(fns []string, ofn string, dn string, stype string, reclen int, keyoff int, keylen int, iomem int64)

Sortstringsfilesch sort strings files using go routines and channels fns - names of files to sort ofn - output filename dn - output directろry stype - sort tyoe reclen - record length including any separator keyoff - offset of sort key keylen - length of sort key iomem - size limit for each sort chunk

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL