<commit_before>// Code generated by MockGen. DO NOT EDIT.
// Source: storage.go

// Package mock_cachex is a generated GoMock package.
package mock_cachex

import (
	gomock "github.com/golang/mock/gomock"
	reflect "reflect"
)

// MockStorage is a mock of Storage interface
type MockStorage struct {
	ctrl     *gomock.Controller
	recorder *MockStorageMockRecorder
}

// MockStorageMockRecorder is the mock recorder for MockStorage
type MockStorageMockRecorder struct {
	mock *MockStorage
}

// NewMockStorage creates a new mock instance
func NewMockStorage(ctrl *gomock.Controller) *MockStorage {
	mock := &MockStorage{ctrl: ctrl}
	mock.recorder = &MockStorageMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockStorage) EXPECT() *MockStorageMockRecorder {
	return m.recorder
}

// Get mocks base method
func (m *MockStorage) Get(key, value interface{}) error {
	ret := m.ctrl.Call(m, "Get", key, value)
	ret0, _ := ret[0].(error)
	return ret0
}

// Get indicates an expected call of Get
func (mr *MockStorageMockRecorder) Get(key, value interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockStorage)(nil).Get), key, value)
}

// Set mocks base method
func (m *MockStorage) Set(key, value interface{}) error {
	ret := m.ctrl.Call(m, "Set", key, value)
	ret0, _ := ret[0].(error)
	return ret0
}

// Set indicates an expected call of Set
func (mr *MockStorageMockRecorder) Set(key, value interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Set", reflect.TypeOf((*MockStorage)(nil).Set), key, value)
}

// MockDeletableStorage is a mock of DeletableStorage interface
type MockDeletableStorage struct {
	ctrl     *gomock.Controller
	recorder *MockDeletableStorageMockRecorder
}

// MockDeletableStorageMockRecorder is the mock recorder for MockDeletableStorage
type MockDeletableStorageMockRecorder struct {
	mock *MockDeletableStorage
}

// NewMockDeletableStorage creates a new mock instance
func NewMockDeletableStorage(ctrl *gomock.Controller) *MockDeletableStorage {
	mock := &MockDeletableStorage{ctrl: ctrl}
	mock.recorder = &MockDeletableStorageMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockDeletableStorage) EXPECT() *MockDeletableStorageMockRecorder {
	return m.recorder
}

// Get mocks base method
func (m *MockDeletableStorage) Get(key, value interface{}) error {
	ret := m.ctrl.Call(m, "Get", key, value)
	ret0, _ := ret[0].(error)
	return ret0
}

// Get indicates an expected call of Get
func (mr *MockDeletableStorageMockRecorder) Get(key, value interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockDeletableStorage)(nil).Get), key, value)
}

// Set mocks base method
func (m *MockDeletableStorage) Set(key, value interface{}) error {
	ret := m.ctrl.Call(m, "Set", key, value)
	ret0, _ := ret[0].(error)
	return ret0
}

// Set indicates an expected call of Set
func (mr *MockDeletableStorageMockRecorder) Set(key, value interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Set", reflect.TypeOf((*MockDeletableStorage)(nil).Set), key, value)
}

// Del mocks base method
func (m *MockDeletableStorage) Del(key interface{}) error {
	ret := m.ctrl.Call(m, "Del", key)
	ret0, _ := ret[0].(error)
	return ret0
}

// Del indicates an expected call of Del
func (mr *MockDeletableStorageMockRecorder) Del(key interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Del", reflect.TypeOf((*MockDeletableStorage)(nil).Del), key)
}

// MockClearableStorage is a mock of ClearableStorage interface
type MockClearableStorage struct {
	ctrl     *gomock.Controller
	recorder *MockClearableStorageMockRecorder
}

// MockClearableStorageMockRecorder is the mock recorder for MockClearableStorage
type MockClearableStorageMockRecorder struct {
	mock *MockClearableStorage
}

// NewMockClearableStorage creates a new mock instance
func NewMockClearableStorage(ctrl *gomock.Controller) *MockClearableStorage {
	mock := &MockClearableStorage{ctrl: ctrl}
	mock.recorder = &MockClearableStorageMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockClearableStorage) EXPECT() *MockClearableStorageMockRecorder {
	return m.recorder
}

// Get mocks base method
func (m *MockClearableStorage) Get(key, value interface{}) error {
	ret := m.ctrl.Call(m, "Get", key, value)
	ret0, _ := ret[0].(error)
	return ret0
}

// Get indicates an expected call of Get
func (mr *MockClearableStorageMockRecorder) Get(key, value interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockClearableStorage)(nil).Get), key, value)
}

// Set mocks base method
func (m *MockClearableStorage) Set(key, value interface{}) error {
	ret := m.ctrl.Call(m, "Set", key, value)
	ret0, _ := ret[0].(error)
	return ret0
}

// Set indicates an expected call of Set
func (mr *MockClearableStorageMockRecorder) Set(key, value interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Set", reflect.TypeOf((*MockClearableStorage)(nil).Set), key, value)
}

// Clear mocks base method
func (m *MockClearableStorage) Clear() error {
	ret := m.ctrl.Call(m, "Clear")
	ret0, _ := ret[0].(error)
	return ret0
}

// Clear indicates an expected call of Clear
func (mr *MockClearableStorageMockRecorder) Clear() *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Clear", reflect.TypeOf((*MockClearableStorage)(nil).Clear))
}
<commit_msg>update mock_storage<commit_after>// Code generated by MockGen. DO NOT EDIT.
// Source: storage.go

// Package mock_cachex is a generated GoMock package.
package mock_cachex

import (
	gomock "github.com/golang/mock/gomock"
	reflect "reflect"
	time "time"
)

// MockStorage is a mock of Storage interface
type MockStorage struct {
	ctrl     *gomock.Controller
	recorder *MockStorageMockRecorder
}

// MockStorageMockRecorder is the mock recorder for MockStorage
type MockStorageMockRecorder struct {
	mock *MockStorage
}

// NewMockStorage creates a new mock instance
func NewMockStorage(ctrl *gomock.Controller) *MockStorage {
	mock := &MockStorage{ctrl: ctrl}
	mock.recorder = &MockStorageMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockStorage) EXPECT() *MockStorageMockRecorder {
	return m.recorder
}

// Get mocks base method
func (m *MockStorage) Get(key, value interface{}) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Get", key, value)
	ret0, _ := ret[0].(error)
	return ret0
}

// Get indicates an expected call of Get
func (mr *MockStorageMockRecorder) Get(key, value interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockStorage)(nil).Get), key, value)
}

// Set mocks base method
func (m *MockStorage) Set(key, value interface{}) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Set", key, value)
	ret0, _ := ret[0].(error)
	return ret0
}

// Set indicates an expected call of Set
func (mr *MockStorageMockRecorder) Set(key, value interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Set", reflect.TypeOf((*MockStorage)(nil).Set), key, value)
}

// MockDeletableStorage is a mock of DeletableStorage interface
type MockDeletableStorage struct {
	ctrl     *gomock.Controller
	recorder *MockDeletableStorageMockRecorder
}

// MockDeletableStorageMockRecorder is the mock recorder for MockDeletableStorage
type MockDeletableStorageMockRecorder struct {
	mock *MockDeletableStorage
}

// NewMockDeletableStorage creates a new mock instance
func NewMockDeletableStorage(ctrl *gomock.Controller) *MockDeletableStorage {
	mock := &MockDeletableStorage{ctrl: ctrl}
	mock.recorder = &MockDeletableStorageMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockDeletableStorage) EXPECT() *MockDeletableStorageMockRecorder {
	return m.recorder
}

// Get mocks base method
func (m *MockDeletableStorage) Get(key, value interface{}) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Get", key, value)
	ret0, _ := ret[0].(error)
	return ret0
}

// Get indicates an expected call of Get
func (mr *MockDeletableStorageMockRecorder) Get(key, value interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockDeletableStorage)(nil).Get), key, value)
}

// Set mocks base method
func (m *MockDeletableStorage) Set(key, value interface{}) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Set", key, value)
	ret0, _ := ret[0].(error)
	return ret0
}

// Set indicates an expected call of Set
func (mr *MockDeletableStorageMockRecorder) Set(key, value interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Set", reflect.TypeOf((*MockDeletableStorage)(nil).Set), key, value)
}

// Del mocks base method
func (m *MockDeletableStorage) Del(key interface{}) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Del", key)
	ret0, _ := ret[0].(error)
	return ret0
}

// Del indicates an expected call of Del
func (mr *MockDeletableStorageMockRecorder) Del(key interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Del", reflect.TypeOf((*MockDeletableStorage)(nil).Del), key)
}

// MockClearableStorage is a mock of ClearableStorage interface
type MockClearableStorage struct {
	ctrl     *gomock.Controller
	recorder *MockClearableStorageMockRecorder
}

// MockClearableStorageMockRecorder is the mock recorder for MockClearableStorage
type MockClearableStorageMockRecorder struct {
	mock *MockClearableStorage
}

// NewMockClearableStorage creates a new mock instance
func NewMockClearableStorage(ctrl *gomock.Controller) *MockClearableStorage {
	mock := &MockClearableStorage{ctrl: ctrl}
	mock.recorder = &MockClearableStorageMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockClearableStorage) EXPECT() *MockClearableStorageMockRecorder {
	return m.recorder
}

// Get mocks base method
func (m *MockClearableStorage) Get(key, value interface{}) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Get", key, value)
	ret0, _ := ret[0].(error)
	return ret0
}

// Get indicates an expected call of Get
func (mr *MockClearableStorageMockRecorder) Get(key, value interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockClearableStorage)(nil).Get), key, value)
}

// Set mocks base method
func (m *MockClearableStorage) Set(key, value interface{}) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Set", key, value)
	ret0, _ := ret[0].(error)
	return ret0
}

// Set indicates an expected call of Set
func (mr *MockClearableStorageMockRecorder) Set(key, value interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Set", reflect.TypeOf((*MockClearableStorage)(nil).Set), key, value)
}

// Clear mocks base method
func (m *MockClearableStorage) Clear() error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Clear")
	ret0, _ := ret[0].(error)
	return ret0
}

// Clear indicates an expected call of Clear
func (mr *MockClearableStorageMockRecorder) Clear() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Clear", reflect.TypeOf((*MockClearableStorage)(nil).Clear))
}

// MockSetWithTTLableStorage is a mock of SetWithTTLableStorage interface
type MockSetWithTTLableStorage struct {
	ctrl     *gomock.Controller
	recorder *MockSetWithTTLableStorageMockRecorder
}

// MockSetWithTTLableStorageMockRecorder is the mock recorder for MockSetWithTTLableStorage
type MockSetWithTTLableStorageMockRecorder struct {
	mock *MockSetWithTTLableStorage
}

// NewMockSetWithTTLableStorage creates a new mock instance
func NewMockSetWithTTLableStorage(ctrl *gomock.Controller) *MockSetWithTTLableStorage {
	mock := &MockSetWithTTLableStorage{ctrl: ctrl}
	mock.recorder = &MockSetWithTTLableStorageMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockSetWithTTLableStorage) EXPECT() *MockSetWithTTLableStorageMockRecorder {
	return m.recorder
}

// Get mocks base method
func (m *MockSetWithTTLableStorage) Get(key, value interface{}) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Get", key, value)
	ret0, _ := ret[0].(error)
	return ret0
}

// Get indicates an expected call of Get
func (mr *MockSetWithTTLableStorageMockRecorder) Get(key, value interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockSetWithTTLableStorage)(nil).Get), key, value)
}

// Set mocks base method
func (m *MockSetWithTTLableStorage) Set(key, value interface{}) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Set", key, value)
	ret0, _ := ret[0].(error)
	return ret0
}

// Set indicates an expected call of Set
func (mr *MockSetWithTTLableStorageMockRecorder) Set(key, value interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Set", reflect.TypeOf((*MockSetWithTTLableStorage)(nil).Set), key, value)
}

// SetWithTTL mocks base method
func (m *MockSetWithTTLableStorage) SetWithTTL(key, value interface{}, TTL time.Duration) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SetWithTTL", key, value, TTL)
	ret0, _ := ret[0].(error)
	return ret0
}

// SetWithTTL indicates an expected call of SetWithTTL
func (mr *MockSetWithTTLableStorageMockRecorder) SetWithTTL(key, value, TTL interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetWithTTL", reflect.TypeOf((*MockSetWithTTLableStorage)(nil).SetWithTTL), key, value, TTL)
}

{'fraction_non_alphanumeric': 0.12022590893046241, 'fraction_numerical': 0.0040240028238616304, 'mean_word_length': 5.346774193548387, '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': '2459631', 'n_tokens_mistral': 4652, 'n_tokens_neox': 4640, 'n_words': 1248}