d2hlp

package
v0.3.37 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertStringsToMachines added in v0.3.17

func ConvertStringsToMachines(names []string) []drmaa2interface.Machine

ConvertStringsToMachines converts machine names into drmaa2 machines in which only the name is set.

func JobInfoIsUnset added in v0.3.16

func JobInfoIsUnset(ji drmaa2interface.JobInfo) bool

JobInfoIsUnset returns true when the job info struct does not filter any jobs, i.e. all fields are set to the specified unset value. Un Unset JobInfo struct is returned by drmaa2interface.CreateJobInfo().

func JobInfoMatches

func JobInfoMatches(ji drmaa2interface.JobInfo, filter drmaa2interface.JobInfo) bool

JobInfoMatches returns true when the given job info is allowed by the filter.

Types

type StringFilter added in v0.3.16

type StringFilter struct {
	// contains filtered or unexported fields
}

StringFilter implements a lookup method for strings

func NewStringFilter added in v0.3.16

func NewStringFilter(values []string) *StringFilter

NewStringFilter creates a hashmap for efficiently looking up if a value is included in the map or return a subset of a given filter.

func (*StringFilter) GetIncludedSubset added in v0.3.17

func (sf *StringFilter) GetIncludedSubset(filter []string) []string

func (*StringFilter) IsIncluded added in v0.3.16

func (sf *StringFilter) IsIncluded(filter string) bool

IsIncluded returns true when the item is found in the filter list.

Jump to

Keyboard shortcuts

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