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
URL.js336 linesDownload Raw Back to lib
1"use strict";2 3const conversions = require("webidl-conversions");4const utils = require("./utils.js");5 6const impl = utils.implSymbol;7 8class URL {9  constructor(url) {10    if (arguments.length < 1) {11      throw new TypeError("Failed to construct 'URL': 1 argument required, but only " + arguments.length + " present.");12    }13    const args = [];14    {15      let curArg = arguments[0];16      curArg = conversions["USVString"](curArg, { context: "Failed to construct 'URL': parameter 1" });17      args.push(curArg);18    }19    {20      let curArg = arguments[1];21      if (curArg !== undefined) {22        curArg = conversions["USVString"](curArg, { context: "Failed to construct 'URL': parameter 2" });23      }24      args.push(curArg);25    }26    return iface.setup(Object.create(new.target.prototype), args);27  }28 29  toJSON() {30    if (!this || !module.exports.is(this)) {31      throw new TypeError("Illegal invocation");32    }33 34    return this[impl].toJSON();35  }36 37  get href() {38    if (!this || !module.exports.is(this)) {39      throw new TypeError("Illegal invocation");40    }41 42    return this[impl]["href"];43  }44 45  set href(V) {46    if (!this || !module.exports.is(this)) {47      throw new TypeError("Illegal invocation");48    }49 50    V = conversions["USVString"](V, { context: "Failed to set the 'href' property on 'URL': The provided value" });51 52    this[impl]["href"] = V;53  }54 55  toString() {56    if (!this || !module.exports.is(this)) {57      throw new TypeError("Illegal invocation");58    }59    return this[impl]["href"];60  }61 62  get origin() {63    if (!this || !module.exports.is(this)) {64      throw new TypeError("Illegal invocation");65    }66 67    return this[impl]["origin"];68  }69 70  get protocol() {71    if (!this || !module.exports.is(this)) {72      throw new TypeError("Illegal invocation");73    }74 75    return this[impl]["protocol"];76  }77 78  set protocol(V) {79    if (!this || !module.exports.is(this)) {80      throw new TypeError("Illegal invocation");81    }82 83    V = conversions["USVString"](V, { context: "Failed to set the 'protocol' property on 'URL': The provided value" });84 85    this[impl]["protocol"] = V;86  }87 88  get username() {89    if (!this || !module.exports.is(this)) {90      throw new TypeError("Illegal invocation");91    }92 93    return this[impl]["username"];94  }95 96  set username(V) {97    if (!this || !module.exports.is(this)) {98      throw new TypeError("Illegal invocation");99    }100 101    V = conversions["USVString"](V, { context: "Failed to set the 'username' property on 'URL': The provided value" });102 103    this[impl]["username"] = V;104  }105 106  get password() {107    if (!this || !module.exports.is(this)) {108      throw new TypeError("Illegal invocation");109    }110 111    return this[impl]["password"];112  }113 114  set password(V) {115    if (!this || !module.exports.is(this)) {116      throw new TypeError("Illegal invocation");117    }118 119    V = conversions["USVString"](V, { context: "Failed to set the 'password' property on 'URL': The provided value" });120 121    this[impl]["password"] = V;122  }123 124  get host() {125    if (!this || !module.exports.is(this)) {126      throw new TypeError("Illegal invocation");127    }128 129    return this[impl]["host"];130  }131 132  set host(V) {133    if (!this || !module.exports.is(this)) {134      throw new TypeError("Illegal invocation");135    }136 137    V = conversions["USVString"](V, { context: "Failed to set the 'host' property on 'URL': The provided value" });138 139    this[impl]["host"] = V;140  }141 142  get hostname() {143    if (!this || !module.exports.is(this)) {144      throw new TypeError("Illegal invocation");145    }146 147    return this[impl]["hostname"];148  }149 150  set hostname(V) {151    if (!this || !module.exports.is(this)) {152      throw new TypeError("Illegal invocation");153    }154 155    V = conversions["USVString"](V, { context: "Failed to set the 'hostname' property on 'URL': The provided value" });156 157    this[impl]["hostname"] = V;158  }159 160  get port() {161    if (!this || !module.exports.is(this)) {162      throw new TypeError("Illegal invocation");163    }164 165    return this[impl]["port"];166  }167 168  set port(V) {169    if (!this || !module.exports.is(this)) {170      throw new TypeError("Illegal invocation");171    }172 173    V = conversions["USVString"](V, { context: "Failed to set the 'port' property on 'URL': The provided value" });174 175    this[impl]["port"] = V;176  }177 178  get pathname() {179    if (!this || !module.exports.is(this)) {180      throw new TypeError("Illegal invocation");181    }182 183    return this[impl]["pathname"];184  }185 186  set pathname(V) {187    if (!this || !module.exports.is(this)) {188      throw new TypeError("Illegal invocation");189    }190 191    V = conversions["USVString"](V, { context: "Failed to set the 'pathname' property on 'URL': The provided value" });192 193    this[impl]["pathname"] = V;194  }195 196  get search() {197    if (!this || !module.exports.is(this)) {198      throw new TypeError("Illegal invocation");199    }200 201    return this[impl]["search"];202  }203 204  set search(V) {205    if (!this || !module.exports.is(this)) {206      throw new TypeError("Illegal invocation");207    }208 209    V = conversions["USVString"](V, { context: "Failed to set the 'search' property on 'URL': The provided value" });210 211    this[impl]["search"] = V;212  }213 214  get searchParams() {215    if (!this || !module.exports.is(this)) {216      throw new TypeError("Illegal invocation");217    }218 219    return utils.getSameObject(this, "searchParams", () => {220      return utils.tryWrapperForImpl(this[impl]["searchParams"]);221    });222  }223 224  get hash() {225    if (!this || !module.exports.is(this)) {226      throw new TypeError("Illegal invocation");227    }228 229    return this[impl]["hash"];230  }231 232  set hash(V) {233    if (!this || !module.exports.is(this)) {234      throw new TypeError("Illegal invocation");235    }236 237    V = conversions["USVString"](V, { context: "Failed to set the 'hash' property on 'URL': The provided value" });238 239    this[impl]["hash"] = V;240  }241}242Object.defineProperties(URL.prototype, {243  toJSON: { enumerable: true },244  href: { enumerable: true },245  toString: { enumerable: true },246  origin: { enumerable: true },247  protocol: { enumerable: true },248  username: { enumerable: true },249  password: { enumerable: true },250  host: { enumerable: true },251  hostname: { enumerable: true },252  port: { enumerable: true },253  pathname: { enumerable: true },254  search: { enumerable: true },255  searchParams: { enumerable: true },256  hash: { enumerable: true },257  [Symbol.toStringTag]: { value: "URL", configurable: true }258});259const iface = {260  // When an interface-module that implements this interface as a mixin is loaded, it will append its own `.is()`261  // method into this array. It allows objects that directly implements *those* interfaces to be recognized as262  // implementing this mixin interface.263  _mixedIntoPredicates: [],264  is(obj) {265    if (obj) {266      if (utils.hasOwn(obj, impl) && obj[impl] instanceof Impl.implementation) {267        return true;268      }269      for (const isMixedInto of module.exports._mixedIntoPredicates) {270        if (isMixedInto(obj)) {271          return true;272        }273      }274    }275    return false;276  },277  isImpl(obj) {278    if (obj) {279      if (obj instanceof Impl.implementation) {280        return true;281      }282 283      const wrapper = utils.wrapperForImpl(obj);284      for (const isMixedInto of module.exports._mixedIntoPredicates) {285        if (isMixedInto(wrapper)) {286          return true;287        }288      }289    }290    return false;291  },292  convert(obj, { context = "The provided value" } = {}) {293    if (module.exports.is(obj)) {294      return utils.implForWrapper(obj);295    }296    throw new TypeError(`${context} is not of type 'URL'.`);297  },298 299  create(constructorArgs, privateData) {300    let obj = Object.create(URL.prototype);301    obj = this.setup(obj, constructorArgs, privateData);302    return obj;303  },304  createImpl(constructorArgs, privateData) {305    let obj = Object.create(URL.prototype);306    obj = this.setup(obj, constructorArgs, privateData);307    return utils.implForWrapper(obj);308  },309  _internalSetup(obj) {},310  setup(obj, constructorArgs, privateData) {311    if (!privateData) privateData = {};312 313    privateData.wrapper = obj;314 315    this._internalSetup(obj);316    Object.defineProperty(obj, impl, {317      value: new Impl.implementation(constructorArgs, privateData),318      configurable: true319    });320 321    obj[impl][utils.wrapperSymbol] = obj;322    if (Impl.init) {323      Impl.init(obj[impl], privateData);324    }325    return obj;326  },327  interface: URL,328  expose: {329    Window: { URL },330    Worker: { URL }331  }332}; // iface333module.exports = iface;334 335const Impl = require("./URL-impl.js");336 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai