<commit_before>// Copyright © 2013, <NAME>
// Use of this source code is governed by a LGPLv2.1
// license that can be found in the LICENSE file.
//
// Authors:
// <NAME> <<EMAIL>>

// +build linux

package lxc

const (
	// WaitForever timeout
	WaitForever int = iota - 1
	// DontWait timeout
	DontWait
)

const (
	// CloneKeepName means do not edit the rootfs to change the hostname
	CloneKeepName int = 1 << iota
	// CloneKeepMACAddr means do not change the mac address on network interfaces
	CloneKeepMACAddr
	// CloneSnapshot means snapshot the original filesystem(s)
	CloneSnapshot
)

const (
	errAlreadyDefined                = "container %q already defined"
	errAlreadyFrozen                 = "container %q is already frozen"
	errAlreadyRunning                = "container %q is already running"
	errAttachFailed                  = "attaching to the container %q failed"
	errClearingCgroupItemFailed      = "clearing cgroup item for the container %q failed (key: %s)"
	errCloneFailed                   = "cloning the container %q failed"
	errCloseAllFdsFailed             = "setting close_all_fds flag for container %q failed"
	errCreateFailed                  = "creating the container %q failed"
	errCreateSnapshotFailed          = "snapshotting the container %q failed"<commit_msg>add new enums defined by LXC C API<commit_after>// Copyright © 2013, <NAME>
// Use of this source code is governed by a LGPLv2.1
// license that can be found in the LICENSE file.
//
// Authors:
// <NAME> <<EMAIL>>

// +build linux

package lxc

const (
	// WaitForever timeout
	WaitForever int = iota - 1
	// DontWait timeout
	DontWait
)

const (
	// CloneKeepName means do not edit the rootfs to change the hostname
	CloneKeepName int = 1 << iota
	// CloneKeepMACAddr means do not change the mac address on network interfaces
	CloneKeepMACAddr
	// CloneSnapshot means snapshot the original filesystem(s)
	CloneSnapshot
	// CloneKeepBdevType means use the same bdev type
	CloneKeepBdevType
	// CloneMaybeSnapshot means snapshot only if bdev supports it, else copy
	CloneMaybeSnapshot
)

const (
	errAlreadyDefined                = "container %q already defined"
	errAlreadyFrozen                 = "container %q is already frozen"
	errAlreadyRunning                = "container %q is already running"
	errAttachFailed                  = "attaching to the container %q failed"
	errClearingCgroupItemFailed      = "clearing cgroup item for the container %q failed (key: %s)"
	errCloneFailed                   = "cloning the container %q failed"
	errCloseAllFdsFailed             = "setting close_all_fds flag for container %q failed"
	errCreateFailed                  = "creating the container %q failed"
	errCreateSnapshotFailed          = "snapshotting the container %q failed"
{'fraction_non_alphanumeric': 0.06897797038642109, 'fraction_numerical': 0.00577825929938606, 'mean_word_length': 2.8525730180806677, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1574696', 'n_tokens_mistral': 807, 'n_tokens_neox': 782, 'n_words': 301}