<commit_before>package display

/*
#include "display.h"
#include <stdlib.h>

#cgo darwin  LDFLAGS: -Wno-deprecated-declarations -framework GLUT -framework OpenGL
#cgo darwn CFLAGS: -Wno-deprecated-declarations
#cgo linux   LDFLAGS: -lGL -lSDL2
#cgo windows LDFLAGS: -lopengl32 -lSDL2
*/
import "C"

import (
	"errors"
	"log"
	"runtime"
	"sync"
	"time"
	"unsafe"
)

var initialize sync.Once

func init() {
	runtime.LockOSThread()
}

// A Config is used to choose the settings of a
// window display. Different systems may support<commit_msg>Add -Wno-deprecated-declarations to darwin's CFLAGS to make it shutup about WMCloseFunc<commit_after>package display

/*
#include "display.h"
#include <stdlib.h>

#cgo darwin CFLAGS: -Wno-deprecated-declarations
#cgo darwin  LDFLAGS: -framework GLUT -framework OpenGL
#cgo linux   LDFLAGS: -lGL -lSDL2
#cgo windows LDFLAGS: -lopengl32 -lSDL2
*/
import "C"

import (
	"errors"
	"log"
	"runtime"
	"sync"
	"time"
	"unsafe"
)

var initialize sync.Once

func init() {
	runtime.LockOSThread()
}

// A Config is used to choose the settings of a
// window display. Different systems may support
{'fraction_non_alphanumeric': 0.11456483126110124, 'fraction_numerical': 0.007104795737122558, 'mean_word_length': 4.122727272727273, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '699887', 'n_tokens_mistral': 431, 'n_tokens_neox': 411, 'n_words': 126}