classics

package
v0.0.0-...-1278c99 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package algo 位图

Package algo 一致性哈希算法

Package algo 表达式求值

Package algo lru 缓存淘汰算法

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BracketsMatch

func BracketsMatch()

BracketsMatch 括号匹配

func CaculatePostfix

func CaculatePostfix()

CaculatePostfix 前序表达式求值

func InfixToPostfix

func InfixToPostfix()

InfixToPostfix 中序转前序表达式

Types

type BitMap

type BitMap struct {
	Buf []int
}

BitMap 位图

type ConsistentHash

type ConsistentHash struct {
}

ConsistentHash 一致性哈希算法

type IFileStatus

type IFileStatus interface {
	// contains filtered or unexported methods
}

type Status

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

func (*Status) GetNum

func (s *Status) GetNum(index int) int

Jump to

Keyboard shortcuts

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