Team Ai
Datasetpublic

Brunobkr/llama.cpp_AlgMor24_github

ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes3.1kdownloads
index.d.ts85 linesDownload Raw Back to dist
1declare const SYMBOL_STATE: unique symbol;2 3interface GetState {4    <A extends any[], R>(spy: SpyInternalImpl<A, R>): SpyInternalImplState<A, R>;5    <A extends any[], R>(spy: SpyInternal<A, R>): SpyInternalState<A, R>;6}7declare let spies: Set<SpyImpl<any[], any>>;8declare let getInternalState: GetState;9type ReturnError = ['error', any];10type ReturnOk<R> = ['ok', R];11type ResultFn<R> = ReturnError | ReturnOk<R>;12interface SpyInternal<A extends any[] = any[], R = any> {13    (this: any, ...args: A): R;14    [SYMBOL_STATE]: SpyInternalState<A, R>;15}16interface SpyInternalImpl<A extends any[] = any[], R = any> extends SpyInternal<A, R> {17    [SYMBOL_STATE]: SpyInternalImplState<A, R>;18}19interface SpyInternalState<A extends any[] = any[], R = any> {20    called: boolean;21    callCount: number;22    calls: A[];23    results: ResultFn<R>[];24    resolves: R extends PromiseLike<infer V> ? ResultFn<V>[] : never;25    reset(): void;26    impl: ((...args: A) => R) | undefined;27    next: ResultFn<R>[];28}29interface SpyInternalImplState<A extends any[] = any[], R = any> extends SpyInternalState<A, R> {30    getOriginal(): (...args: A) => R;31    willCall(cb: (...args: A) => R): this;32    restore(): void;33}34interface Spy<A extends any[] = any[], R = any> extends SpyInternalState<A, R> {35    (this: any, ...args: A): R;36    returns: R[];37    length: number;38    nextError(error: any): this;39    nextResult(result: R): this;40}41interface SpyImpl<A extends any[] = any[], R = any> extends Spy<A, R> {42    getOriginal(): (...args: A) => R;43    willCall(cb: (...args: A) => R): this;44    restore(): void;45}46declare function createInternalSpy<A extends any[], R>(cb?: ((...args: A) => R) | {47    new (...args: A): R;48}): SpyInternal<A, R>;49 50interface SpyFn<A extends any[] = any[], R = any> extends Spy<A, R> {51    new (...args: A): R extends void ? any : R;52    (...args: A): R;53}54declare function spy<A extends any[], R>(cb?: ((...args: A) => R) | {55    new (...args: A): R;56}): SpyFn<A, R>;57 58type Procedure = (...args: any[]) => any;59type Methods<T> = {60    [K in keyof T]: T[K] extends Procedure ? K : never;61}[keyof T];62type Getters<T> = {63    [K in keyof T]: T[K] extends Procedure ? never : K;64}[keyof T];65type Constructors<T> = {66    [K in keyof T]: T[K] extends new (...args: any[]) => any ? K : never;67}[keyof T];68declare function internalSpyOn<T, K extends string & keyof T>(obj: T, methodName: K | {69    getter: K;70} | {71    setter: K;72}, mock?: Procedure): SpyInternalImpl<any[], any>;73declare function spyOn<T, S extends Getters<Required<T>>>(obj: T, methodName: {74    setter: S;75}, mock?: (arg: T[S]) => void): SpyImpl<[T[S]], void>;76declare function spyOn<T, G extends Getters<Required<T>>>(obj: T, methodName: {77    getter: G;78}, mock?: () => T[G]): SpyImpl<[], T[G]>;79declare function spyOn<T, M extends Constructors<Required<T>>>(object: T, method: M): Required<T>[M] extends new (...args: infer A) => infer R ? SpyImpl<A, R> : never;80declare function spyOn<T, M extends Methods<Required<T>>>(obj: T, methodName: M, mock?: T[M]): Required<T>[M] extends (...args: infer A) => infer R ? SpyImpl<A, R> : never;81 82declare function restoreAll(): void;83 84export { type Spy, type SpyFn, type SpyImpl, type SpyInternal, type SpyInternalImpl, createInternalSpy, getInternalState, internalSpyOn, restoreAll, spies, spy, spyOn };85 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai