<commit_before>package main

import (
	"math/big"
)

func initRFixnum() *RObject {
	obj := &RObject{}
	obj.name = "RFixnum"
	obj.ivars = make(map[string]Object)
	obj.class = nil
	obj.methods = make(map[string]*RMethod)

	// RFixnum method initialization
	obj.methods["new"] = &RMethod{gofunc: RFixnum_new}
	obj.methods["="] = &RMethod{gofunc: RFixnum_assign}
	obj.methods["+"] = &RMethod{gofunc: RFixnum_add}
	obj.methods["-"] = &RMethod{gofunc: RFixnum_sub}
	obj.methods["*"] = &RMethod{gofunc: RFixnum_mul}
	obj.methods["/"] = &RMethod{gofunc: RFixnum_div}
	obj.methods["atomic_add"] = &RMethod{gofunc: RFixnum_atomic_add}
	obj.methods["to_s"] = &RMethod{gofunc: RFixnum_to_s}
	obj.methods["to_f"] = &RMethod{gofunc: RFixnum_to_f}
	obj.methods["inspect"] = &RMethod{gofunc: RFixnum_to_s}
	obj.methods["times"] = &RMethod{gofunc: RFixnum_times}

	return obj
}

// Fixnum.new(int=0)
// v = [int64]
func RFixnum_new(vm *GobiesVM, env *ThreadEnv, receiver Object, v []Object) Object {
	val := big.NewInt(0)
	if len(v) == 1 {
		val = v[0].(*big.Int)
	}

	obj := &RObject{}
	obj.class = vm.consts["RFixnum"]
	obj.val.fixnum = val
	if env == nil {
		obj.rev = vm.rev
	} else {<commit_msg>Avoid direct access to value via pointer<commit_after>package main

import (
	"math/big"
)

func initRFixnum() *RObject {
	obj := &RObject{}
	obj.name = "RFixnum"
	obj.ivars = make(map[string]Object)
	obj.class = nil
	obj.methods = make(map[string]*RMethod)

	// RFixnum method initialization
	obj.methods["new"] = &RMethod{gofunc: RFixnum_new}
	obj.methods["="] = &RMethod{gofunc: RFixnum_assign}
	obj.methods["+"] = &RMethod{gofunc: RFixnum_add}
	obj.methods["-"] = &RMethod{gofunc: RFixnum_sub}
	obj.methods["*"] = &RMethod{gofunc: RFixnum_mul}
	obj.methods["/"] = &RMethod{gofunc: RFixnum_div}
	obj.methods["atomic_add"] = &RMethod{gofunc: RFixnum_atomic_add}
	obj.methods["to_s"] = &RMethod{gofunc: RFixnum_to_s}
	obj.methods["to_f"] = &RMethod{gofunc: RFixnum_to_f}
	obj.methods["inspect"] = &RMethod{gofunc: RFixnum_to_s}
	obj.methods["times"] = &RMethod{gofunc: RFixnum_times}

	return obj
}

// Fixnum.new(int=0)
// v = [int64]
func RFixnum_new(vm *GobiesVM, env *ThreadEnv, receiver Object, v []Object) Object {
	val := big.NewInt(0)
	if len(v) == 1 {
		val.Add(val, v[0].(*big.Int))
	}

	obj := &RObject{}
	obj.class = vm.consts["RFixnum"]
	obj.val.fixnum = val
	if env == nil {
		obj.rev = vm.rev
	} else {
{'fraction_non_alphanumeric': 0.18200749687630155, 'fraction_numerical': 0.0049979175343606835, 'mean_word_length': 5.050377833753148, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '479919', 'n_tokens_mistral': 1052, 'n_tokens_neox': 1037, 'n_words': 180}