fmt::format_string<T...> fmt, T&&... args) noexcept
  {
    log(fmt, std::forward<T>(args)...);
  }
  template <typename... T>
  static void info(fmt::format_string<T...> fmt, T&&... args) noexcept
  {
    log(fmt, std::forward<T>(args)...);
  }
  template <typename... T>
  static void warn(fmt::format_string<T...> fmt, T&&... args) noexcept
  {
    error(fmt, std::forward<T>(args)...);
  }
  template <typename... T>
  static void critical(fmt::format_string<T...> fmt, T&&... args) noexcept
  {
    error(fmt, std::forward<T>(args)...);
  }
};
#else
struct logger
{
  template <typename... T>
  static void log(T&&... args)
  {
    std::ostringstream str;
    ((str << args), ...);
    object_post(NULL, "%s", str.str().c_str());
  }

  template <typename... T>
  static void error(T&&... args)
  {
    std::ostringstream str;
    ((str << args), ...);
    object_error(NULL, "%s", str.str().c_str());
  }
  template <typename... T>
  static void trace(T&&... args) noexcept
  {
    log(std::forward<T>(args)...);
  }
  template <typename... T>
  static void debug(T&&... args) noexcept
  {
    log(std::forward<T>(args)...);
  }
  template <typename... T>
  static void info(T&&... args) noexcept
  {
    log(std::forward<T>(args)...);
  }
  template <typename... T>
  static void warn(T&&... args) noexcept
  {
    error(std::forward<T>(args)...);
  }
  template <typename... T>
  static void critical(T&&... args) noexcept
  {
    error(std::forward<T>(args)...);
  }
};
#endif

static_assert(avnd::logger<max::logger>);

struct config
{
  using logger_type = max::logger;
};

}
#pragma once

/* SPDX-License-Identifier: GPL-3.0-or-later */

#include <avnd/binding/vintage/helpers.hpp>
#include <avnd/binding/vintage/vintage.hpp>
#include <avnd/introspection/input.hpp>
#include <avnd/wrappers/control_display.hpp>
#include <avnd/wrappers/controls.hpp>
#include <avnd/wrappers/metadatas.hpp>
#if __has_include(<fmt/format.h>) && !defined(AVND_DISABLE_FMT)
#include <fmt/format.h>
#else
#include <cstdlib>
#include <cstring>
#endif

namespace vintage
{

template <typename T>
struct Controls
{
  static const constexpr int32_t parameter_count = 0;
  template <typename Effect_T>
  void init(Effect_T& effect)
  {
  }
  void read(auto&&) { }
  void write(auto&&) { }
  template <typename Effect_T>
  void display(Effect_T& effect, int index, void* ptr)
  {
  }
  template <typename Effect_T>
  void name(Effect_T& effect, int index, void* ptr)
  {
  }
  template <typename Effect_T>
  void label(Effect_T& effect, int index, void* ptr)
  {
  }
  template <typename Effect_T>
  void properties(Effect_T& effect, int index, void* ptr)
  {
  }
};

template <typename T>
  requires(avnd::parameter_input_introspection<T


" style="object-fit: cover;">

<img loading="lazy" sizes="469px" srcset="https://static.wixstatic.com/media/a8856a_31b338678829430aaf29525c9b146c08~mv2.png/v1/fill/w_469,h_180,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/a8856a_31b338678829430aaf29525c9b146c08~mv2.png 1x, https://static.wixstatic.com/media/a8856a_31b338678829430aaf29525c9b146c08~mv2.png/v1/fill/w_839,h_322,al_c,lg_1,q_85,enc_avif,quality_auto/a8856a_31b338678829430aaf29525c9b146c08~mv2.png 2x" id="img_comp-mdfksjr3" src="https://static.wixstatic.com/media/a8856a_31b338678829430aaf29525c9b146c08~mv2.png/v1/fill/w_469,h_180,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/a8856a_31b338678829430aaf29525c9b146c08~mv2.png" alt="OSINT-Logo-black+purple@2x.png" class="BI8PVQ Tj01hh" width="469" height="180" style="object-fit: cover;">

Bronze Sponsor

<div data-mesh-


/////////////////////////////////
        // this is the table with stats per label and per layer
        let stateBinCount_layer_label: number[][] = netKLcoef.getStateBinCount_layer_label();
        // sanity check
        if (stateBinCount_layer_label == null) {
            console.log("ERROR: missing stateBinCount_layer_label");
            return;
        }

        let stateCountMax_layer_label = netKLcoef.getStateCountMax_layer_label();
        let stateKeyMax_layer_label = netKLcoef.getStateKeyMax_layer_label();
        let stateCountMin_layer_label = netKLcoef.getStateCountMin_layer_label();
        let stateKeyMin_layer_label = netKLcoef.getStateKeyMin_layer_label();
        let netEfficiency_N: number[] = netKLcoef.getNetEfficiency_N();
        let netEfficiency_P: number[] = netKLcoef.getNetEfficiency_P();

        // init the table
        this.reset();
        this.tableKL = <HTMLTableElement>document.createElement('table');
        this.theadKL = <HTMLTableSectionElement>this.tableKL.createTHead();
        this.tbodyKL = <HTMLTableSectionElement>this.tableKL.createTBody();

        // build the header row
        let hrow = <HTMLTableRowElement>this.theadKL.insertRow(0);
        let cell = hrow.insertCell(0);
        cell.innerHTML = "layer:";
        cell = hrow.insertCell(1);
        cell.innerHTML = "label:";
        cell = hrow.insertCell(2);
        cell.innerHTML = "KL divergence:";
        cell = hrow.insertCell(3);
        cell.innerHTML = "non-zero state count:";
        cell = hrow.insertCell(4);
        cell.innerHTML = "Max freq state:";
        cell = hrow.insertCell(5);
        cell.innerHTML = "Max freq state count:";
        cell = hrow.insertCell(6);
        cell.innerHTML = "Min freq state:";
        cell = hrow.insertCell(7);
        cell.innerHTML = "Min freq state count:";

        let hrow1;
        let cell1;
        let temp: string = null;
        for (let k1 = 0; k1 < stateBinCount_layer_label.length; k1++) {
            //count_states_result += '  layer:' + k1.toString() + ': ';
            for (let k2 = 0; k2 < stateBinCount_layer_label[k1].length; k2++) {
                hrow1 = <HTMLTableRowElement>this.tbodyKL.insertRow(0);//insertCell(cell);
                cell1 = hrow1.insertCell(0);
                cell1.innerHTML = k1.toString() + ': ';
                if (k2 == 0) {
                    cell1 = hrow1.insertCell(1);
                    cell1.innerHTML = "N:";
                    cell1 = hrow1.insertCell(2);
                    cell1.innerHTML = (Math.round(netEfficiency_N[k1] * 1000)/1000).toString() + ': ';
                } else {
                    cell1 = hrow1.insertCell(1);
                    cell1.innerHTML = "P:";
                    cell1 = hrow1.insertCell(2);
                    cell1.innerHTML = (Math.round(netEfficiency_P[k1] * 1000)/1000).toString() + ': ';
                }
                cell1 = hrow1.insertCell(3);
                cell1.innerHTML = stateBinCount_layer_label[k1][k2].toString()+ ': ';

                cell1 = hrow1.insertCell(4);
                temp = stateKeyMax_layer_label[k1][k2].substr(2,stateKeyMax_layer_label[k1][k2].length)
                cell1.innerHTML = temp + ': ';

                cell1 = hrow1.insertCell(5);
                cell1.innerHTML = stateCountMax_layer_label[k1][k2].toString() + ': ';

                cell1 = hrow1.insertCell(6);


              that.router.navigate(['/index']);

            }
          });

        }
      })
    }

  }

  ngOnDestroy() {
    console.log('personal -ngDestroy');
    this.glo.hiddenNavs = false;
  }

  //获取验证码
  getyanzheng() {
    let that = this;
    //倒计时
    that.countdown();
    that.userSer.getyanzheng( that._telephone+'', function (result) {
      if (result.yanzheng) {
        that.yanzheng= result.yanzheng;
        console.log(that.yanzheng)
      }
    })

  }

  //倒计时
  countdown(){
    let that=this;
    let d = new Date("1111/1/1,0:00:30");
    that.if_countover=true;
    let interval = setInterval(function () {
      //返回时间的秒。返回值是 0 ~30 之间的一个整数。
      that.s = d.getSeconds();
      that.yanvalue=that.s+"s后重新发送";
      that.s = that.s < 10 ? "0" + that.s : that.s;
      if (that.s == 0) {
        //倒计时结束清除interval
        clearInterval(interval);
        //变成重新发送
        that.yanvalue="重新发送";
        //生成未知的随机六位数
        that.yanzheng=that.makesix();
        // console.log(that._confirm_code);
        //时间到，验证码按钮able
        that.if_countover=false;
      }
      d.setSeconds(that.s - 1);
    },1000)
  }

  //随机生成六位数
  makesix(){
    //随机产生六位数验证码
    let range=function(start,end)
    {
      let array=[];
      for(let i=start;i<end;++i) array.push(i);
      return array;
    };
    let randomstr = range(0,6).map(function(x){
      return Math.floor(Math.random()*10);
    }).join('');
    // console.log(randomstr);
    return randomstr;
  }

}

const strategies = {
  S: function (salary) {
    return salary * 4;
  },
  A(salary) {
    return salary * 3;
  },
  B: salary => salary * 2
};
const calculateBonus = (level, salary) => {
  return strategies[level](salary);
};

console.log(calculateBonus('S', 100)); // 输出：400
console.log(calculateBonus('A', 100)); // 输出：300
console.log(calculateBonus('B', 100)); // 输出：200

import { ModelType } from '../cms';
import * as cms from '../cms';
import { Entry } from 'contentful';
import { ContentDelivery } from './content-delivery';
import { TextFields, TextDelivery } from './text';
import { CarouselDelivery, CarouselFields } from './carousel';
import { ImageDelivery, ImageFields } from './image';
import { DeliveryApi } from './delivery-api';

export class DeliveryWithFollowUp extends ContentDelivery {
  followUp: FollowUpDelivery | undefined;

  // cannot be set in constructor because there's a circular dependency Model <-> Followup
  setFollowUp(followUp: FollowUpDelivery) {
    this.followUp = followUp;
  }
}

type FollowUpFields = TextFields | CarouselFields | ImageFields;

export class FollowUpDelivery {
  constructor(
    private readonly carousel: CarouselDelivery,
    private readonly text: TextDelivery,
    private readonly image: ImageDelivery
  ) {}

  // TODO we should detect cycles to avoid infinite recursion
  fromFields(
    followUp: Entry<FollowUpFields> | undefined,
    context: cms.Context
  ): Promise<cms.FollowUp | undefined> {
    if (!followUp) {
      return Promise.resolve(undefined);
    }
    switch (DeliveryApi.getContentModel(followUp)) {
      case ModelType.CAROUSEL:
        // here followUp already has its fields se


[[TMP36:%.+]] = getelementptr inbounds [[T2]], [[T2]]* [[GEPC]], i32 0, i32 6
// CHECK-DAG:   [[TMP37:%.+]] = bitcast i32* [[TMP36]] to i8*
// CHECK-DAG:   call void @llvm.memset.p0i8.i64(i8* align 8 [[TMP37]], i8 0, i64 4, i1 false)
// CHECK-DAG:   [[TMP39:%.+]] = bitcast i16* [[VLA]] to i8*
// CHECK-DAG:   store i8* [[TMP39]], i8** [[TMP38:%[^,]+]],
// CHECK-DAG:   [[TMP38]] = getelementptr inbounds [[T2]], [[T2]]* [[GEPVLA:%[^,]+]], i32 0, i32 0
// CHECK-DAG:   [[TMP39:%.+]] = bitcast i16* [[VLA]] to i8*
// CHECK-DAG:   store i8* [[TMP39]], i8** [[TMP38:%[^,]+]],
// CHECK-DAG:   [[TMP38]] = getelementptr inbounds [[T2]], [[T2]]* [[GEPVLA]], i32 0, i32 1
// CHECK-DAG:   [[GEPVLA]] = getelementptr inbounds [2 x [[T2]]], [2 x [[T2]]]* [[RD_IN2]], i64 0, i64
// CHECK-DAG:   [[TMP40:%.+]] = mul nuw i64 [[VLA_SIZE]], 2
// CHECK-DAG:   [[TMP41:%.+]] = udiv exact i64 [[TMP40]], ptrtoint (i16* getelementptr (i16, i16* null, i32 1) to i64)
// CHECK-DAG:   [[TMP42:%.+]] = getelementptr inbounds [[T2]], [[T2]]* [[GEPVLA]], i32 0, i32 2
// CHECK-DAG:   store i64 [[TMP40]], i64* [[TMP42]],
// CHECK-DAG:   [[TMP43:%.+]] = getelementptr inbounds [[T2]], [[T2]]* [[GEPVLA]], i32 0, i32 3
// CHECK-DAG:   store i8* bitcast (void (i8*, i8*)* @[[VLAINIT:.+]] to i8*), i8** [[TMP43]],
// CHECK-DAG:   [[TMP44:%.+]] = getelementptr inbounds [[T2]], [[T2]]* [[GEPVLA]], i32 0, i32 4
// CHECK-DAG:   store i8* null, i8** [[TMP44]],
// CHECK-DAG:   [[TMP45:%.+]] = getelementptr inbounds [[T2]], [[T2]]* [[GEPVLA]], i32 0, i32 5
// CHECK-DAG:   store i8* bitcast (void (i8*, i8*)* @[[VLACOMB:.+]] to i8*), i8** [[TMP45]],
// CHECK-DAG:   [[TMP46:%.+]] = getelementptr inbounds [[T2]], [[T2]]* [[GEPVLA]], i32 0, i32 6
// CHECK-DAG:   store i32 1, i32* [[TMP46]],
// CHECK:       [[TMP47:%.+]] = bitcast [2 x [[T2]]]* [[RD_IN2]] to i8*
// CHECK:       [[TMP48:%.+]] = call i8* @__kmpc_taskred_init(i32 [[GTID]], i32 2, i8* [[TMP47]])
// CHECK:       store i8* [[TMP48]], i8** [[TD2]],
// CHECK:       call void @__kmpc_end_taskgroup(%struct.ident_t* {{[^,]+}}, i32 [[GTID]])
// CHECK:       call void @__kmpc_end_taskgroup(%struct.ident_t* {{[^,]+}}, i32 [[GTID]])

// CHECK-DAG: define internal void @[[AINIT]](i8* noalias %{{.+}}, i8* noalias %{


, consts::M_MOD);
      unlinkParamAndMIDI(mCurrentLearningMIDIKey);
      unlearnFlash = 60;
    }
    ImGui::PopStyleColor(colPushCount);
  }
  ImGui::PopFont();
  float NextWindowYPosition = firstRowHeight + menuBarHeight;

  ParameterGUI::endPanel();

  // Draw preset window
  // -----------------------------------------------
  ImGui::PushFont(titleFont);
  ParameterGUI::beginPanel("    PRESETS", 0, NextWindowYPosition, windowWidth / 4, secondRowHeight,
                           flags);
  ImGui::PopFont();
  ImGui::PushFont(bodyFont);
  int numColumns = 12;
  if (ImGui::GetContentRegionAvail().x / fontScale < 300) numColumns = 6;
  ecInterface::ECdrawPresetHandler(mPresets.get(), numColumns, 3);
  ImGui::PopFont();
  ParameterGUI::endPanel();

  // Draw recorder window
  // ---------------------------------------------
  ImGui::PushFont(titleFont);
  ParameterGUI::beginPanel("    RECORDER", windowWidth / 4, NextWindowYPosition, windowWidth / 4,
                           secondRowHeight, flags);
  ImGui::PopFont();
  ImGui::PushFont(bodyFont);
  drawRecorderWidget(&mRecorder, audioIO().framesPerSecond(), audioIO().channelsOut() <= 1 ? 1 : 2,
                     soundOutput);
  if (ImGui::Button("Change Output Path")) {
    result = NFD_PickFolder(NULL, &outPath);

    if (result == NFD_OKAY) {
      std::string temp = outPath;
      jsonWriteToConfig(temp, consts::SOUND_OUTPUT_PATH_KEY);
      setSoundOutputPath(outPath);
    }
  }
  ImGui::PopFont();
  ParameterGUI::endPanel();

  // Draw LFO parameters window
  // ---------------------------------------
  ImGui::PushFont(titleFont);
  ParameterGUI::beginPanel("    LFO CONTROLS", windowWidth / 2, NextWindowYPosition,
                           windowWidth / 2, secondRowHeight, flags);
  ImGui::PopFont();
  ImGui::PushFont(bodyFont);
  for (int index = 0; index < consts::NUM_LFOS; index++) {
    bool no_learn = false;
    // THIS WILL DRAW THE MAIN LFO
    colPushCount = 0;
    if (mCurrentLearningMIDIKey.getType() == consts::M_LFO &&
        mCurrentLearningMIDIKey.getKeysIndex() == index && mIsLinkingParamAndMIDI) {
      ImGui::PushStyleColor(ImGuiCol_FrameBg, (ImVec4)*ECgreen);
      ImGui::PushStyleColor(ImGuiCol_FrameBgHovered, (ImVec4)*ECgreen);
      colPushCount += 2;
    } else if (mCurrentLearningMIDIKey.getType() == consts::M_LFO &&
               mCurrentLearningMIDIKey.getKeysIndex() == index && (unlearnFlash % 20) > 10) {
      ImGui::PushStyleColor(ImGuiCol_FrameBg, (ImVec4)*ECred);
      ImGui::PushStyleColor(ImGuiCol_FrameBgHovered, (ImVec4)*ECred);
      colPushCount += 2;
    }

    // WARNING, hacky as fuck.
    // This is to tell the drawRangeSlider that this
    // is the last parameter to check. This allows
    // mLasyKeyDown.readyToTrig to be set to false.
    if (index == consts::NUM_LFOS - 1) mLastKeyDown.lastParamCheck = true;

    int x_offset = granulator.LFOParameters[index]->drawLFOControl(&mMIDILearn, &mLastKeyDown);
    if (mMIDILearn.mParamAdd) {
      // This inits. the onMidiMessage loop to listen
      // for midi input. This first MIDI input to come
      // through will be linke


rmPlus)
			case "entities":
				parseMapPlus(p, &obj.Entities, parseEntityPlus)
			case "entity_populations":
				parseMapPlus(p, &obj.EntityPopulations, parseEntityPopulationPlus)
			case "historical_eras":
				parseArrayPlus(p, &obj.HistoricalEras, parseHistoricalEraPlus)
			case "historical_event_collections":
				parseMapPlus(p, &obj.HistoricalEventCollections, parseHistoricalEventCollectionPlus)
			case "historical_event_relationship_supplements":
				parseArrayPlus(p, &obj.HistoricalEventRelationshipSupplements, parseHistoricalEventRelationshipSupplementPlus)
			case "historical_event_relationships":
				parseArrayPlus(p, &obj.HistoricalEventRelationships, parseHistoricalEventRelationshipPlus)
			case "historical_events":
				parseMapPlus(p, &obj.HistoricalEvents, parseHistoricalEventPlus)
			case "historical_figures":
				parseMapPlus(p, &obj.HistoricalFigures, parseHistoricalFigurePlus)
			case "identities":
				parseMapPlus(p, &obj.Identities, parseIdentityPlus)
			case "landmasses":
				parseMapPlus(p, &obj.Landmasses, parseLandmassPlus)
			case "mountain_peaks":
				parseMapPlus(p, &obj.MountainPeaks, parseMountainPeakPlus)
			case "musical_forms":
				parseMapPlus(p, &obj.MusicalForms, parseMusicalFormPlus)
			case "name":
				data, err := p.Value()
				if err != nil {
					return nil, err
				}
				obj.Name_ = txt(data)
			case "poetic_forms":
				parseMapPlus(p, &obj.PoeticForms, parsePoeticFormPlus)
			case "regions":
				parseMapPlus(p, &obj.Regions, parseRegionPlus)
			case "rivers":
				parseArrayPlus(p, &obj.Rivers, parseRiverPlus)
			case "sites":
				parseMapPlus(p, &obj.Sites, parseSitePlus)
			case "underground_regions":
				parseMapPlus(p, &obj.UndergroundRegions, parseUndergroundRegionPlus)
			case "world_constructions":
				parseMapPlus(p, &obj.WorldConstructions, parseWorldConstructionPlus)
			case "written_contents":
				parseMapPlus(p, &obj.WrittenContents, parseWrittenContentPlus)
			default:
				// fmt.Println("unknown field", n)
				p.Skip()
			}

		case util.EndElement:
			obj.CheckFields()
			return obj, nil
		}
	}
}
func parseEntity(p *util.XMLParser) (*Entity, error) {
	var obj = NewEntity()

	for {
		t, n, err := p.Token()
		if err != nil {
			return nil, err
		}
		switch t {
		case util.StartElement:
			switch n {
			case "honor":
				v, _ := parseHonor(p)
				obj.Honor = append(obj.Honor, v)
			case "id":
				data, err := p.Value()
				if err != nil {
					return nil, err
				}
				obj.Id_ = num(data)
			case "name":
				data, err := p.Value()
				if err != nil {
					return nil, err
				}
				obj.Name_ = txt(data)
			default:
				// fmt.Println("unknown field", n)
				p.Skip()
			}

		case util.EndElement:
			obj.CheckFields()
			return obj, nil
		}
	}
}
func parseEntityPlus(p *util.XMLParser, obj *Entity) (*Entity, error) {
	if obj == nil {
		obj = NewEntity()
	}

	for {
		t, n, err :=


惠，学生报pte 有优惠，想加群下方链接：

![](https://mmbiz.qpic.cn/sz_mmbiz_jpg/DicRqXXQJ6fWaOQhXOf0cibja9IiaN9XvbmuZfhZj5ufFf22ViaiaArTUr5dm7JlRwLpBlYsf38Xu76Dsnq3xxzBr1A/640?wx_fmt=jpeg&from=appmsg "")

![图片](https://mmbiz.qpic.cn/sz_mmbiz_jpg/DicRqXXQJ6fXFlWiaGLukicZa30CPQibNT2Cu261kSHeQxBEYHMlPrYiabs5q6LVx7ex8jS0Q5MYOWZmVnCR7YFtBqg/640?wx_fmt=jpeg&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1 "")
## 2. 需要入星球的可以私聊优惠

星球里有什么？
```
1、维护更新src、cnxd、cnnxd专项漏洞知识库，包含原理、挖掘技巧、实战案例2、fafo/零零信安高级会员key3、POC及CXXD及CNNXD通用报告详情分享思路4、知识星球专属微信“内部圈子交流群”5、分享src挖掘技巧tips6、最新新鲜工具分享7、不定期有工作招聘内推（工作/护网内推）8、攻防演练资源分享(免杀，溯源，钓鱼等)9、19个专栏会持续更新~提前续费有优惠，好用不贵很实惠
```

![图片](https://mmbiz.qpic.cn/sz_mmbiz_jpg/DicRqXXQJ6fXFlWiaGLukicZa30CPQibNT2Csh9A9qkO6QC8Cg4TpA0aP7D0RR0YJ5bhWYWeNtLibia6DaCvkQwnz00A/640?wx_fmt=jpeg&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1 "")

## 3、其他合作（合法合规）

1、承接各种安全项目，需要攻防团队或岗位招聘都可代发、代招（灰黑勿扰）；

2、各位安全老板需要文章推广的请私聊，承接合法合规推广文章发布，可直发、可按产品编辑推广；
合作、推广代发、安全项目、岗位代招均可发布![图片](https://mmbiz.qpic.cn/sz_mmbiz_png/DicRqXXQJ6fUnGo23GUq3ovbSwOYN8EMeElSz5gB5YUZyF295hXmx2ibZd8Il3WYxrY7JoEKLXXMlTD7LftvibzuQ/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1 "")

#  广西金中软件集团有限公司智慧医养服务平台Uploads存在任意文件上传漏洞
清晨  摸鱼划水   2025-04-22 03:55

FOFA
```
body="Content/css/Login/images/gtx-main-bg00004.png"
```

POC


elf, layer: torch.nn.Module, moe_runner_config: MoeRunnerConfig
    ):
        self.moe_runner_config = moe_runner_config

    def apply(
        self,
        layer: torch.nn.Module,
        dispatch_output: StandardDispatchOutput,
    ) -> CombineInput:
        from sglang.srt.layers.moe.token_dispatcher import StandardCombineInput

        x = dispatch_output.hidden_states
        topk_output = dispatch_output.topk_output

        topk_weights, topk_ids, _ = topk_output
        if _is_hip:
            topk_weights = topk_weights.to(
                torch.float32
            )  # aiter's moe_sorting requires topk_weights to be FP32

        if hasattr(torch, "float4_e2m1fn_x2"):
            w13_weight = layer.w13_weight.view(torch.float4_e2m1fn_x2)
            w2_weight = layer.w2_weight.view(torch.float4_e2m1fn_x2)
        else:
            w13_weight = layer.w13_weight
            w2_weight = layer.w2_weight

        output = fused_moe(
            x,
            w13_weight,
            w2_weight,
            topk_weights,
            topk_ids,
            quant_type=QuantType.per_1x32,
            w1_scale=layer.w13_weight_scale,
            w2_scale=layer.w2_weight_scale,
            activation=(
                ActivationType.Silu
                if self.moe_runner_config.activation == "silu"
                else ActivationType.Gelu
            ),
            doweight_stage1=False,
        )
        return StandardCombineInput(hidden_states=output)


  ],
  "zte kis 3": [
    "ZT"
  ],
  "pct-l29": [
    "HU"
  ],
  "z798bl": [
    "ZT"
  ],
  "z799vl": [
    "ZT"
  ],
  "z899vl": [
    "ZT"
  ],
  "z828tl": [
    "ZT"
  ],
  "zte-z792": [
    "ZT"
  ],
  "z792": [
    "ZT"
  ],
  "z812": [
    "ZT"
  ],
  "zte-z812": [
    "ZT"
  ],
  "z815": [
    "ZT"
  ],
  "z831": [
    "ZT"
  ],
  "zuum_e60": [
    "ZU"
  ],
  "zuum_e40": [
    "ZU"
  ],
  "zuum m50": [
    "ZU"
  ],
  "stellar z": [
    "ZU"
  ],
  "stedi": [
    "ZU"
  ],
  "magno": [
    "ZU"
  ],
  "magno plus": [
    "ZU"
  ],
  "magno c": [
    "ZU"
  ],
  "covet": [
    "ZU"
  ],
  "covet z": [
    "ZU"
  ],
  "covet_pro_lite": [
    "ZU"
  ],
  "covet pro": [
    "ZU"
  ],
  "z986dl": [
    "ZT"
  ],
  "goophone s4 mega": [
    "G0"
  ],
  "goophone i9": [
    "G0"
  ],
  "gresso regal": [
    "82"
  ],
  "urbano progresso": [
    "KY"
  ],
  "goophone i6": [
    "G0"
  ],
  "primo gm3": [
    "WA"
  ],
  "primo gh7i": [
    "WA"
  ],
  "primo gf7": [
    "WA"
  ],
  "nokia g11": [
    "NK"
  ],
  "panasonic p50": [
    "PA"
  ],
  "panasonic p75": [
    "PA"
  ],
  "panasonic p77": [
    "PA"
  ],
  "passion p11": [
    "QY"
  ],
  "passion p7": [
    "QY"
  ],
  "passion p8": [
    "QY"
  ],
  "passion p9": [
    "QY"
  ],
  "zte b2017g": [
    "ZT"
  ],
  "zte a2018": [
    "ZT"
  ],
  "z999": [
    "ZT"
  ],
  "zte b2016": [
    "ZT"
  ],
  "zte a2019g pro": [
    "ZT"
  ],
  "zte a2015": [
    "ZT"
  ],
  "axonphone a1": [
    "ZT"
  ],
  "zte-blade": [
    "ZT"
  ],
  "zte 2050": [
    "ZT"
  ],
  "zte blade a0620": [
    "ZT"
  ],
  "blade a3 2019-t": [
    "ZT"
  ],
  "blade a310": [
    "ZT"
  ],
  "zte blade a452": [


s null, not balanced */
		if (root == null) {
			return false;
		}
		/* Find height of both left and right subtree */
		int heightOfLeftTree = findHeight(root.left);
		int heightOfRightSubTree = findHeight(root.right);
		/* If difference is either 0 or 1, we are good */
		return Math.abs(heightOfLeftTree - heightOfRightSubTree) < 2;
	}

	/**
	 * Method to find the height of tree when a node is given
	 *
	 * @param node
	 * @return {@link int}
	 */
	private static <T> int findHeight(TreeNode<T> node) {
		/* If node is null, height is 0 */
		if (node == null) {
			return 0;
		}
		/* Find height of left tree and right tree recursively */
		int left = findHeight(node.left);
		int right = findHeight(node.right);
		/* Which ever is greater add 1 to it */
		return left > right ? left + 1 : right + 1;
	}

}
/**
 * Cracking-The-Coding-Interview
 * Problem_07.java
 */
package com.deepak.ctci.Ch06_Math_And_Logic_Puzzles;

import java.util.Random;

/**
 *
 Problem Statement :
 *
 * In the new post-apocalyptic world, the world queen is desperately
 * concerned about the birth rate. Therefore, she declares that all
 * families should ensure that they have one girl or else they face
 * massive fines. If all families abide by this policy, that is,
 * they continue to have children until they have one girl,
 * at which point they immediately stop. What will the gender ratio
 * of the new generation be?. Assume that the odds of someone having
 * a boy or girl is equal. Solve this logically then write a simulation of it.
 *
 *

 *
 * @author Deepak
 */
public class Problem_07 {

	/**
	 * There are no unit tests for this because, every time
	 * ratio will be different since random generation is
	 * involved here
	 *
	 * @param args
	 */
	public static void main(String[] args) {
		System.out.println("Ration for Girls v/s Boys => " + runFamilies(100) * 100);
	}

	/**
	 * Method to run the logic on n number of families
	 *
	 * @param numberOfFamilies
	 * @return {@link double}
	 */
	public static double runFamilies(int numberOfFamilies) {
		int boys = 0;
		int girls = 0;
		/* Find the genders for each family and calculate percentage */
		for (int i = 0; i < numberOfFamilies; i++) {
			int[] genders = runOneFamily();
			boys += genders[0];
			girls += genders[1];
		}
		return girls / (double) (boys + girls);
	}

	/**
	 * Method to run one family
	 *
	 * @return {@link int[]}
	 */
	public static int[] runOneFamily() {
		int boys = 0;
		int girls = 0;
		Random random = new Random();
		/* Keep going until girl child is born */
		while (girls == 0) {
			/* If true, it's a boy else a girl */
			boolean nextChild = random.nextBoolean();
			if (nextChild) {
				boys++;
			} else {
				girls++;
			}
		}
		/* Create an integer for count of both */
		int[] genders = {boys, girls};
		return genders;
	}

}
/**
 * Cracking-The-Coding-Interview
 * Problem_09.java
 */
package com.deepak.ctci.Ch01_Arrays_And_Strings;

/**
 *
 Problem Statement :
 *
 * Assume you have a method isSubstring which checks
 * if one word is a substring of another. Given two


extends State<ReaderSettingPage> {
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return ChangeNotifierProvider(
      create: (_) => ComicViewerSettingModel(),
      builder: (context, child) {
        return Scaffold(
          appBar: AppBar(
            title: Text(S.of(context).SettingPageMainReadingTitle),
          ),
          body: ListView(
            children: [
              ListTile(
                title: Text("阅读方向"),
                subtitle: Text(
                    "${Provider.of<ComicViewerSettingModel>(context).direction ? '横向阅读' : '纵向阅读'}"),
                onTap: () {
                  Provider.of<ComicViewerSettingModel>(context, listen: false)
                      .direction = !Provider.of<ComicViewerSettingModel>(
                          context,
                          listen: false)
                      .direction;
                },
              ),
              ListTile(
                title: Text('横向阅读方向'),
                subtitle: Text(
                    '${Provider.of<ComicViewerSettingModel>(context).reverse ? '从右到左' : '从左到右'}'),
                enabled:
                    Provider.of<ComicViewerSettingModel>(context).direction,
                onTap: () {
                  Provider.of<ComicViewerSettingModel>(context, listen: false)
                      .reverse = !Provider.of<ComicViewerSettingModel>(context,
                          listen: false)
                      .reverse;
                },
              ),
              ListTile(
                title: Text('翻页动画设置'),
                subtitle: Text(
                    '${Provider.of<ComicViewerSettingModel>(context).animation ? '启用动画' : '禁用动画'}'),
                enabled:
                    Provider.of<ComicViewerSettingModel>(context).direction,
                onTap: () {
                  Provider.of<ComicViewerSettingModel>(context, listen: false)
                      .animation = !Provider.of<ComicViewerSettingModel>(
                          context,
                          listen: false)
                      .animation;
                },
              ),
              Divider(),
              ListTile(
                title: Text("章节末尾显示吐槽"),
                subtitle: Text("选择章节末尾是否显示吐槽（重进阅读器启用）"),
                trailing: Switch(
                  value: Provider.of<ComicViewerSettingModel>(context).enableViewpoint,
                  onChanged: (state) {
                    Provider.of<ComicViewerSettingModel>(context, listen: false)
                        .enableViewpoint = state;
                  },
                ),
              ),
              Divider(),
              ListTile(
                title: Text('碰撞体积'),
                subtitle: Slider(
                  min: 0,
                  max: 200,
                  value: Provider.of<ComicViewerSettingModel>(context).hitBox,
                  onChanged: (value) {
                    Provider.of<ComicViewerSettingModel>(context, listen: false)
                        .hitBox = value;
                  },
                ),
              ),
              Divider(),
              ListTile(
                title: Text("翻页距离"),
                subtitle: Slider(
                  label: "垂直翻页使用固定距离翻页法，在这调整翻页距离",
                  min: 100,
                  max: 1000,
                  value: Provider.of<ComicViewerSettingModel>(context).range,
                  onChanged: (value) {
                    Provider.of<ComicViewerSettingModel>(context, listen: false)
                        .range = value;
                  },
                ),
              ),
              Divider(),
              ListTile(
                title: Text('阅读器背景自动夜间模式'),
                subtitle: Text('启用后不管你选择了任何背景颜色，在进入夜间模式后均会自动变成黑色'),
                trailing: Switch(
                  value: Provider.of<ComicViewerSettingModel>(context).autoDark,
                  onChanged: (value) {
                    Provider.of<ComicViewerSettingModel>(context, listen: false)
                        .autoDark = value;
                  },
                ),
              ),
              Container(


 OrderID | UserID

    /*
     開発者から見たときにqueryForUser関数に渡すIdの種類が、UserIdであることが直感的にわかりやすい。
     しかし、どのidも型はすべてstringなので、予期しないtype(CompanyID,OrderIDまたはstirng)の値も渡すことが
     できてしまう。
    */
    let id: CompanyID = 'a12345'
    queryForUser(id) //OK !!!

    function queryForUser(id: UserID){
        //...
    }

    //名前的型(型のブランド化)
    type CompanyID2 = string & {readonly brand: unique symbol}
    type OrderID2 = string& {readonly brand: unique symbol}
    type UserID2 = string& {readonly brand: unique symbol}
    type ID2 = CompanyID2 | OrderID2 | UserID2

    function CompanyID2(id: string){
        return id as CompanyID2
    }

    function OrderID2(id: string){
        return id as OrderID2
    }

    function UserID2(id: string){
        return id as UserID2
    }

    let companyId = CompanyID2('4adfasdr4')
    let orderId = OrderID2('ads9fa9dsf')
    let userId = UserID2('4w5wl4ejhh5l')

    queryForUser2(userId)// OK
    queryForUser2(companyId) //NG 'CompanyID2' の引数を型 'UserID2' のパラメーターに割り当てることはできません。

    function queryForUser2(id: UserID2){
        //...
    }

}export class Cocina {

id: number;
/**
    * direccion de la cocina
    */
  direccion: string;

constructor(id:number,  direc:string){
this.id=id;
this.direccion= direc;
}

}import * as actions from './actions';

//  Reducer code
export type LoginState = {
    isLoggingIn: boolean,
    isPartiallyLoggedIn: boolean,
    isLoggedIn: boolean,
    exception?: Error,
    accessToken?: string,
    loginId?: string,
};

export const initialState: LoginState = {
    isLoggedIn: false,
    isPartiallyLoggedIn: false,
    isLoggingIn: false
};

const reducer = (state: LoginState = initialState, action: actions.Action): LoginState => {
    switch (action.type) {
        case actions.types.SUBMIT_LOGIN_REQUEST:
            return {...state,
                isLoggingIn: true,
                isPartiallyLoggedIn: false,
                isLoggedIn: false,
                exception: undefined,
                accessToken: undefined,
                loginId: undefined,
            };
        case actions.types.SUBMIT_LOGIN_SUCCESS:
            return {...state,
                isLoggingIn: false,
                isPartiallyLoggedIn: false,
                isLoggedIn: true,
                accessToken: action.accessToken,
                loginId: action.loginId,
                exception: undefined,
            };
        case actions.types.SUBMIT_LOGIN_FAIL:
            return {...state,
                isLoggedIn: false,
                isPartiallyLoggedIn: false,
                isLoggingIn: false,
                exception: action.error,
                accessToken: undefined,
                loginId: undefined,
            };
        default:
            return state;
    }
};

export default reducer;import {Handler} from "../Handler";

/**
 * http 请求 异常处理器
 */
export abstract class HttpExceptionHandler implements Handler {

    handle = (e: any): void => {

        const {httpStatus} = e;

        switch (httpStatus) {

            case 400:


10001;\n\ttop: 0;\n\tright: 0;\n\tleft: 0;\n\t// prevent vue show to use display:none and reseting\n\t// the circle animation loop\n\tdisplay: flex !important;\n\talign-items: center;\n\tjustify-content: center;\n\twidth: 100%;\n\theight: $header-height;\n\toverflow: hidden;\n\ttransition: opacity 250ms,\n\t\tvisibility 250ms;\n\n\t// replace display by visibility\n\t&.invisible[style*='display:none'],\n\t&.invisible[style*='display: none'] {\n\t\tvisibility: hidden;\n\t}\n\n\t.modal-title {\n\t\toverflow-x: hidden;\n\t\tbox-sizing: border-box;\n\t\twidth: 100%;\n\t\tpadding: 0 #{$clickable-area * 3} 0 12px; // maximum actions is 3\n\t\ttransition: padding ease 100ms;\n\t\twhite-space: nowrap;\n\t\ttext-overflow: ellipsis;\n\t\tcolor: #fff;\n\t\tfont-size: $icon-margin;\n\t\tmargin-bottom: 0;\n\t}\n\n\t// On wider screens the title can be centered\n\t@media only screen and (min-width: $breakpoint-mobile) {\n\t\t.modal-title {\n\t\t\tpadding-left: #{$clickable-area * 3}; // maximum actions is 3\n\t\t\ttext-align: center;\n\t\t}\n\t}\n\n\t.icons-menu {\n\t\tposition: absolute;\n\t\tright: 0;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: flex-end;\n\n\t\t.header-close {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\tbox-sizing: border-box;\n\t\t\tmargin: math.div($header-height - $clickable-area, 2);\n\t\t\tpadding: 0;\n\t\t}\n\n\t\t.play-pause-icons {\n\t\t\tposition: relative;\n\t\t\twidth: $header-height;\n\t\t\theight: $header-height;\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t\tcursor: pointer;\n\t\t\tborder: none;\n\t\t\tbackground-color: transparent;\n\t\t\t&:hover,\n\t\t\t&:focus {\n\t\t\t\t.play-pause-icons__play,\n\t\t\t\t.play-pause-icons__pause {\n\t\t\t\t\topacity: $opacity_full;\n\t\t\t\t\tborder-radius: math.div($clickable-area, 2);\n\t\t\t\t\tbackground-color: $icon-focus-bg;\n\t\t\t\t}\n\t\t\t}\n\t\t\t&__play,\n\t\t\t&__pause {\n\t\t\t\tbox-sizing: border-box;\


#pragma once

#include "PhysShape.h"

class b2Body;
class b2Fixture;

namespace bbe
{
	class Game;
	template<typename T> class Vector2_t;
	using Vector2 = Vector2_t<float>;
	template<typename Vec> class Rectangle_t;
	using Rectangle = Rectangle_t<bbe::Vector2>;

	class PhysRectangle : public PhysShape
	{
	private:
		float m_width = 0;
		float m_height = 0;

		void init(Game* context, float x, float y, float width, float height, float angle);

	public:

		PhysRectangle(Game* context, float x, float y, float width, float height, float angle = 0);
		PhysRectangle(Game* context, const Vector2& vec, float width, float height, float angle = 0);
		PhysRectangle(Game* context, float x, float y, const Vector2& dim, float angle = 0);
		PhysRectangle(Game* context, const Vector2& vec, const Vector2& dim, float angle = 0);
		PhysRectangle(Game* context, const Rectangle &rect, float angle = 0);

		float getX() const override;
		float getY() const override;
		Vector2 getCenterOfMass() const override;
		float getWidth() const;
		float getHeight() const;
		Vector2 getDim() const;
	};
}


_ch(' ');
                }
                '\r' => {
                    cursor.lpos = cursor.pos;
                    cursor.pos.x = 0;
                    cursor.pos.y += 1;
                }
                c @ _ => {
                    term[(cursor.pos.x, cursor.pos.y)].set_ch(c);
                    cursor.lpos = cursor.pos;
                    cursor.pos.x += 1;
                }
            }
            if cursor.pos.x >= term.cols() - 1 {
                term[(cursor.lpos.x, cursor.lpos.y)].set_bg(Color::Default);
                cursor.lpos = cursor.pos;
                cursor.pos.x = 0;
                cursor.pos.y += 1;
            }
            if cursor.pos.y >= term.rows() - 1 {
                term[(cursor.lpos.x, cursor.lpos.y)].set_bg(Color::Default);
                cursor.lpos = cursor.pos;
                cursor.pos.x = 0;
                cursor.pos.y = 0;
            }
            term[(cursor.lpos.x, cursor.lpos.y)].set_bg(Color::Default);
            term[(cursor.pos.x, cursor.pos.y)].set_bg(cursor.color);
            term.swap_buffers().unwrap();
        }
    }
}
// This should fail even without validation
// Some optimizations remove ZST accesses, thus masking this UB.
// compile-flags: -Zmir-opt-level=0 -Zmiri-disable-validation

fn main() {
    for i in 0..10 { // Try many times as this might work by chance.
        let x = i as u8;
        let x = &x as *const _ as *const [u32; 0];
        // This must fail because alignment is violated. Test specifically for loading ZST.
        let _x = unsafe { *x }; //~ERROR alignment 4 is required
    }
}
use crate::{
    ast::node::TypeNode,
    crocoi::{CrocoiNode, ICodegen, INodeResult, ISymbol},
    error::CrocoError,
};

impl CrocoiNode for TypeNode {
    fn crocoi(&mut self, _codegen: &mut ICodegen) -> Result<INodeResult, CrocoError> {
        Ok(INodeResult::Value(ISymbol::CrocoType(self.value.clone())))
    }
}
<filename>benches/bench.rs<gh_stars>100-1000
#![feature(test)]
extern crate test;

use tempfile::tempdir;
use terminus_store;
use terminus_store::layer::StringTriple;
use test::Bencher;

#[bench]
fn bench_add_string_triple(b: &mut Bencher) {
    let dir = tempdir().unwrap();
    let sync_store = terminus_store::open_sync_directory_store(dir.path());
    let layer_builder = sync_store.create_base_layer().unwrap();
    let mut count = 1;
    b.iter(|| {
        layer_builder
            .add_string_triple(StringTriple::new_value(
                &count.to_string(),
                &count.to_string(),
                &count.to_string(),
            ))
            .unwrap();
        count += 1;
    });
}
//! Implement Device

use spin::RwLock;
use rcore_fs::dev::*;

#[cfg(target_arch = "x86_64")]
use crate::arch::driver::ide;

pub struct MemBuf(RwLock<&'static mut [u8]>);

impl MemBuf {
    pub unsafe fn new(begin: unsafe extern fn(), end: unsafe extern fn()) -> Self {
        use core::slice;
        MemBuf(RwLock::new(slice::from_raw_parts_mut(begin as *mut u8, end as usize - begin as usize)))
    }
}

imp


  "RU": "Russland",
  "RW": "Rwanda",
  "BL": "Saint-Barthélemy",
  "SH": "St. Helena",
  "KN": "St. Kitts og Nevis",
  "LC": "St. Lucia",
  "MF": "Saint-Martin",
  "PM": "Saint-Pierre og Miquelon",
  "VC": "St. Vincent og Grenadinane",
  "WS": "Samoa",
  "SM": "San Marino",
  "ST": "São Tomé og Príncipe",
  "SA": "Saudi-Arabia",
  "SN": "Senegal",
  "RS": "Serbia",
  "SC": "Seychellane",
  "SL": "Sierra Leone",
  "SG": "Singapore",
  "SX": "Sint Maarten",
  "SK": "Slovakia",
  "SI": "Slovenia",
  "SB": "Salomonøyane",
  "SO": "Somalia",
  "ZA": "Sør-Afrika",
  "GS": "Sør-Georgia og Sør-Sandwichøyane",
  "KR": "Sør-Korea",
  "SS": "Sør-Sudan",
  "ES": "Spania",
  "LK": "Sri Lanka",
  "SD": "Sudan",
  "SR": "Surinam",
  "SJ": "Svalbard og Jan Mayen",
  "SZ": "Eswatini",
  "SE": "Sverige",
  "CH": "Sveits",
  "SY": "Syria",
  "TW": "Taiwan",
  "TJ": "Tadsjikistan",
  "TZ": "Tanzania",
  "TH": "Thailand",
  "TG": "Togo",
  "TK": "Tokelau",
  "TO": "Tonga",
  "TT": "Trinidad og Tobago",
  "TN": "Tunisia",
  "TR": "Tyrkia",
  "TM": "Turkmenistan",
  "TC": "Turks- og Caicosøyane",
  "TV": "Tuvalu",
  "VI": "De amerikanske jomfruøyane",
  "UG": "Uganda",
  "UA": "Ukraina",
  "AE": "Dei sameinte arabiske emirata",
  "GB": "Storbritannia",
  "US": "USA",
  "UY": "Uruguay",
  "UZ": "Usbekistan",
  "VU": "Vanuatu",
  "VA": "Vatikanstaten",
  "VE": "Venezuela",
  "VN": "Vietnam",
  "WF": "Wallis og Futuna",
  "WW": "Verdensomspennende",
  "EH": "Vest-Sahara",
  "YE": "Jemen",
  "ZM": "Zambia",
  "ZW": "Zimbabwe",
  "search": "Søk",
};
Map<String, String> ar = {
  "AF": "أفغانستان",
  "AX": "جزر أولاند",
  "AL": "ألبانيا",
  "DZ": "الجزائر",
  "AS": "ساموا الأمريكية",
  "AD": "أ


onst std::function<TypePtr(TypePtr)> type_map) const {
  auto update_args = [&](const std::vector<Argument>& args) {
    std::vector<Argument> new_args;
    new_args.reserve(args.size());
    for(const Argument& arg : args) {
      new_args.emplace_back(arg.cloneWithType(type_map(arg.type())));
    }
    return new_args;
  };
  return FunctionSchema(
      name(),
      overload_name(),
      update_args(arguments()),
      update_args(returns()),
      is_vararg(),
      is_varret());
}

// covariant subtyping of list of Arguments
inline bool isSubtypeOfList(
    ArrayRef<Argument> child,
    ArrayRef<Argument> parent,
    std::ostream* why_not) {
  if (child.size() != parent.size()) {
    return false;
  }
  for (const auto i : c10::irange(child.size())) {
    const Argument& c = child[i];
    const Argument& p = parent[i];
    if (c.name() != p.name()) {
      return false;
    }
    if (!c.type()->isSubtypeOfExt(*p.type(), why_not)) {
      return false;
    }
  }
  return true;
}

inline bool FunctionSchema::isSubtypeOf(
    const FunctionSchema& rhs,
    bool as_method,
    std::ostream* why_not) const {
  size_t start = as_method ? 1 : 0;
  // functions are contravariant in arguments but covariant in returns
  return isSubtypeOfList(
             ArrayRef<Argument>(rhs.arguments()).slice(start),
             ArrayRef<Argument>(arguments()).slice(start),
             why_not) &&
      isSubtypeOfList(returns(), rhs.returns(), why_not);
}

} // namespace c10


], ordertau, orderdelta);
  if (fabs(BasisFunPar[i][0] - 2.0) < 0.01)
    return ExpTerm(tau, delta, BasisFunPar[i][1], BasisFunPar[i][2],
                   BasisFunPar[i][3], BasisFunPar[i][4], ordertau, orderdelta);
  if (fabs(BasisFunPar[i][0] - 3.0) < 0.01)
    return GaussTerm(tau, delta, BasisFunPar[i][1], BasisFunPar[i][2],
                     BasisFunPar[i][3], BasisFunPar[i][5], BasisFunPar[i][6],
                     BasisFunPar[i][7], BasisFunPar[i][8], ordertau,
                     orderdelta);
}

int main(int argc, char *argv[]) {
  // Critical temperature and density:
  double Tc = 1.086, Rhoc = 0.319;

  // Matrix that contains the parameters of the FEOS correlation
  double **BasisFunPar;
  int NTerms = 21, NParameters = 9;

  BasisFunPar = new double *[NTerms];
  for (int i = 0; i < NTerms; i++)
    BasisFunPar[i] = new double[NParameters];

  // TermID, n, t, d, l, eta, beta, gamma, epsilon
  BasisFunPar[0][0] = 1.0;
  BasisFunPar[0][1] = 0.0156060840;
  BasisFunPar[0][2] = 1.000;
  BasisFunPar[0][3] = 4.0;
  BasisFunPar[0][4] = 0.0;
  BasisFunPar[0][5] = 0.00;
  BasisFunPar[0][6] = 0.00;
  BasisFunPar[0][7] = 0.00;
  BasisFunPar[0][8] = 0.00;
  BasisFunPar[1][0] = 1.0;
  BasisFunPar[1][1] = 1.7917527000;
  BasisFunPar[1][2] = 0.304;
  BasisFunPar[1][3] = 1.0;
  BasisFunPar[1][4] = 0.0;
  BasisFunPar[1][5] = 0.00;
  BasisFunPar[1][6] = 0.00;
  BasisFunPar[1][7] = 0.00;
  BasisFunPar[1][8] = 0.00;
  BasisFunPar[2][0] = 1.0;
  BasisFunPar[2][1] = -1.9613228000;
  BasisFunPar[2][2] = 0.583;
  BasisFunPar[2][3] = 1.0;
  BasisFunPar[2][4] = 0.0;
  BasisFunPar[2][5] = 0.00;
  BasisFunPar[2][6] = 0.00;
  BasisFunPar[2][7] = 0.00;
  BasisFunPar[2][8] = 0.00;
  BasisFunPar[3][0] = 1.0;
  BasisFunPar[3][1] = 1.3045604000;
  BasisFunPar[3][2] = 0.662;
  BasisFunPar[3][3] = 2.0;
  BasisFunPar[3][4] = 0.0;
  BasisFunPar[3][5] = 0.00;
  BasisFunPar[3][6] = 0.00;
  BasisFunPar[


Used for snowy surfaces that aren't slippery (SSE)
        SnowIce = 0x0E,                 // Used for Summit and PS2 Ice Transformation
        GameWatch = 0x0F,               // Used for all Flat Zone platforms
        SubspaceIce = 0x10,             // Used some places in Subspace (Purple floor where the door to Tabuu is)
        Checkered = 0x11,               // Used for Green Greens's checkerboard platforms and the present skin of rolling crates
        SpikesTargetTestOnly = 0x12,    // Used for Spike Hazards in Target Test levels and collision hazard #1 for SSE stages. Crashes or has no effect on stages not using a target test module
        Hazard2SSEOnly = 0x13,          // Used for hitboxes on certain SSE levels (180002). Crashes or has no effect on versus stages.
        Hazard3SSEOnly = 0x14,          // Used for hitboxes on certain SSE levels. Crashes or has no effect on versus stages.
        Electroplankton = 0x15,         // Used for Hanenbow leaves
        Cloud = 0x16,                   // Used for clouds on Summit and Skyworld
        Subspace = 0x17,                // Used for Subspace levels, Tabuu's Residence
        Stone = 0x18,                   // Used for Spear Pillar upper level
        UnknownDustless = 0x19,         // Unknown, doesn't generate dust clouds when landing
        MarioBros = 0x1A,               // Used for Mario Bros.
        Grate = 0x1B,                   // Used for Delfino Plaza's main platform
        Sand = 0x1C


###### `value`Required

- *Type:* cdktf.IResolvable | typing.List[DataAwsEc2TransitGatewayRouteTablesFilter]

---

##### `put_timeouts`

```python
def put_timeouts(
  read: str = None
) -> None
```

###### `read`Optional

- *Type:* str

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.16.0/docs/data-sources/ec2_transit_gateway_route_tables#read DataAwsEc2TransitGatewayRouteTables#read}.

---

##### `reset_filter`

```python
def reset_filter() -> None
```

##### `reset_id`

```python
def reset_id() -> None
```

##### `reset_region`

```python
def reset_region() -> None
```

##### `reset_tags`

```python
def reset_tags() -> None
```

##### `reset_timeouts`

```python
def reset_timeouts() -> None
```

#### Static Functions

| **Name** | **Description** |
| --- | --- |
| is_construct | Checks if `x` is a construct. |
| is_terraform_element | *No description.* |
| is_terraform_data_source | *No description.* |
| generate_config_for_import | Generates CDKTF code for importing a DataAwsEc2TransitGatewayRoute


,%%ymm7,%%ymm2          \n"
      "vpminuw     %%ymm3,%%ymm7,%%ymm3          \n"
      "vpsllw      %%xmm6,%%ymm0,%%ymm0          \n"
      "vpsllw      %%xmm6,%%ymm1,%%ymm1          \n"
      "vpsllw      %%xmm6,%%ymm2,%%ymm2          \n"
      "vpsllw      %%xmm6,%%ymm3,%%ymm3          \n"
      "vpermd      %%ymm0,%%ymm5,%%ymm0          \n"
      "vpermd      %%ymm1,%%ymm5,%%ymm1          \n"
      "vpermd      %%ymm2,%%ymm5,%%ymm2          \n"
      "vpermd      %%ymm3,%%ymm5,%%ymm3          \n"
      "vpunpcklwd  %%ymm1,%%ymm2,%%ymm4          \n"  // BG(low)
      "vpunpckhwd  %%ymm1,%%ymm2,%%ymm1          \n"  // BG(hi)
      "vpunpcklwd  %%ymm3,%%ymm0,%%ymm2          \n"  // RA(low)
      "vpunpckhwd  %%ymm3,%%ymm0,%%ymm0          \n"  // RA(hi)
      "vpunpckldq  %%ymm2,%%ymm4,%%ymm3          \n"  // BGRA(1)
      "vpunpckhdq  %%ymm2,%%ymm4,%%ymm4          \n"  // BGRA(3)
      "vpunpckldq  %%ymm0,%%ymm1,%%ymm2          \n"  // BGRA(2)
      "vpunpckhdq  %%ymm0,%%ymm1,%%ymm1          \n"  // BGRA(4)
      "vmovdqu     %%ymm3,(%4)                   \n"
      "vmovdqu     %%ymm2,0x20(%4)               \n"
      "vmovdqu     %%ymm4,0x40(%4)               \n"
      "vmovdqu     %%ymm1,0x60(%4)               \n"
      "lea         0x20(%0),%0                   \n"
      "lea         0x80(%4),%4                   \n"
      "subl        $0x10,%5                      \n"
      "jg          1b                            \n"
      "vzeroupper                                \n"
      : "+r"(src_r),     // %0
        "+r"(src_g),     // %1
        "+r"(src_b),     // %2
        "+r"(src_a),     // %3
        "+r"(dst_ar64),  // %4
#if defined(__i386__)
        "+m"(width)  // %5
#else
        "+rm"(width)          // %5
#endif
      : "m"(shift),            // %6
        "m"(mask),             // %7
        "m"(MergeAR64Permute)  // %8
      : "memory", "cc", "xmm0", "xmm1", "xmm2", "xmm3", "xmm4", "xmm5", "xmm6",
        "xmm7");
}
#endif

#ifdef HAS_MERGEXR64ROW_AVX2
void MergeXR64Row_AVX2(const uint16_t* src_r,
                       const uint16_t* src_g,
                       const uint16_t* src_b,
                       uint16_t* dst_ar64,
                       int depth,
                       int width) {
  int shift = 16 - depth;
  int mask = (1 << depth) - 1;
  mask = (mask << 16) + mask;
  asm volatile(

      "sub         %0,%1


	index: Int32
			isHardened?: boolean // defaults to true
		}>
	}>,
): BIP44T => {
	const purpose = bip44Purpose
	const coinType = bip44CoinType(input.coinType ?? RADIX_COIN_TYPE)
	const account = bip44Account(input.account ?? 0)
	const change = bip44Change(input.change ?? 0)
	const addressIndex = bip44Component({
		index: input.address.index,
		isHardened: input.address.isHardened ?? true,
		level: 5,
		name: 'address index',
	})
	const pathComponents = [purpose, coinType, account, change, addressIndex]

	const bip32 = BIP32.unsafeCreate(pathComponents)
	return {
		...bip32,
		purpose,
		coinType,
		account,
		change,
		addressIndex,
		pathComponents,
	}
}

const fromComponents = (
	bip32Components: BIP32PathComponentT[],
): Result<HDPathRadixT, Error> =>
	BIP32.create(bip32Components).andThen(bip32 =>
		radixPathFromString(bip32.toString()),
	)

const createRadixPath = (
	input: Readonly<{
		account?: Int32 // defaults to `0'`
		change?: BIP44ChangeIndex // defaults to `0`
		address: Readonly<{
			index: Int32
			isHardened?: boolean // defaults to true
		}>
	}>,
): HDPathRadixT => create(input) as HDPathRadixT

const validateBIP44Component = (
	expected: Readonly<{
		index?: Int32
		isHardened: boolean
		level: number
		name?: string
	}>,
	component: BIP32PathComponentT,
): Result<BIP32PathComponentT, Error> => {
	if (component.level !== expected.level)
		return err(new Error('Wrong level in BIP44 path'))
	if (component.isHardened !== expected.isHardened)
		return err(
			new Error(
				`Wrong hardened value, expected component at level ${
					component.level
				} to${
					expected.isHardened ? '' : ' NOT'
				} be hardened, but it is${component.isHardened ? '' : ' NOT'}.`,
			),
		)
	if (expected.name) {
		if (component.name !== expected.name)
			return err(new Error('Wrong name'))
	}
	if (expected.index) {
		if (component.index !== expected.index) {
			return err(
				new Error(
					`Wrong index, component.index: ${
						component.index
					}, expected.index: ${
						expected.index
					}, whole expected: ${JSON.stringify(
						expected,
						null,
						4,
					)}, component: ${JSON.stringify(component, null, 4)}`,
				),
			)
		}
	}
	return ok(component)
}

const validateBIP44Purpose = validateBIP44Component.bind(null, bip44Purpose)
const validateBIP44CoinType = validateBIP44Component.bind(null, {
	...bip44CoinType(0),
	index: undefined,
})
const validateBIP44Account = validateBIP44Component.bind(null, {
	...bip44Account(0),
	index: undefined,
})
const validateBIP44Change = validateBIP44Component.bind(null, {
	...bip44Change(0),
	index: undefined,
})

const fromString = (path: string): Result<BIP44T, Error> =>
	BIP32.fromString(path).andThen(
		(bip32: BIP32T): Result<BIP44T, Error> => {
			const components = bip32.pathComponents
			if (components.length !== 5)
				return err(
					new Error(
						`We require BIP44 to have five components: purpose / cointype / account / change / address`,
					),
				)


print()

	return fmt.Sprintf("v5:query:%s", fingerprint)
}

// findMissingRangesWithStep identifies time ranges not covered by cached buckets with step alignment
func (bc *bucketCache) findMissingRangesWithStep(buckets []*cachedBucket, startMs, endMs uint64, stepMs uint64) []*qbtypes.TimeRange {
	// When step is 0 or window is too small to be cached, use simple algorithm
	if stepMs == 0 || (startMs+stepMs) > endMs {
		return bc.findMissingRangesBasic(buckets, startMs, endMs)
	}

	// When no buckets exist, handle partial windows specially
	if len(buckets) == 0 {
		missing := make([]*qbtypes.TimeRange, 0, 3)

		currentMs := startMs

		// Check if start is not aligned - add partial window
		if startMs%stepMs != 0 {
			nextAggStart := startMs - (startMs % stepMs) + stepMs
			missing = append(missing, &qbtypes.TimeRange{
				From: startMs,
				To:   min(nextAggStart, endMs),
			})
			currentMs = nextAggStart
		}

		// Add the main range if needed
		if currentMs < endMs {
			missing = append(missing, &qbtypes.TimeRange{
				From: currentMs,
				To:   endMs,
			})
		}

		return missing
	}

	// Check if already sorted before sorting
	needsSort := false
	for i := 1; i < len(buckets); i++ {
		if buckets[i].StartMs < buckets[i-1].StartMs {
			needsSort = true
			break
		}
	}

	if needsSort {
		slices.SortFunc(buckets, func(a, b *cachedBucket) int {
			if a.StartMs < b.StartMs {
				return -1
			}
			if a.StartMs > b.StartMs {
				return 1
			}
			return 0
		})
	}

	// Pre-allocate with reasonable capacity
	missing := make([]*qbtypes.TimeRange, 0, len(buckets)+2)

	currentMs := startMs

	// Check if start is not aligned - add partial window
	if startMs%stepMs != 0 {
		nextAggStart := startMs - (startMs % stepMs) + stepMs
		missing = append(missing, &qbtypes.TimeRange{
			From: startMs,
			To:   min(nextAggStart, endMs),
		})
		currentMs = nextAggStart
	}

	for _, bucket := range buckets {
		// Skip buckets that end before current position
		if bucket.EndMs <= currentMs {
			continue
		}
		// Stop processing if we've reached the end time
		if bucket.StartMs >= endMs {
			break
		}

		// Align bucket boundaries to step intervals
		alignedBucketStart := bucket.StartMs
		if bucket.StartMs%stepMs != 0 {
			// Round up to next step boundary
			alignedBucketStart = bucket.StartMs - (bucket.StartMs % stepMs) + stepMs
		}

		// Add gap before this bucket if needed
		if currentMs < alignedBucketStart && currentMs < endMs {
			missing = append(missing, &qbtypes.TimeRange{
				From: currentMs,
				To:   min(alignedBucketStart, endMs),
			})
		}

		// Update current position to the end of this bucket
		// But ensure it's aligned to step boundary
		bucketEnd := min(bucket.EndMs, endMs)
		if bucketEnd%stepMs != 0 && bucketEnd < endMs {
			// Round down to step boundary
			bucketEnd = bucketEnd - (bucketEnd % stepMs)
		}
		currentMs = max(currentMs, bucketEnd)
	}

	// Add final gap if needed
	if currentMs < endMs {
		missing = append(missing, &qbtypes.TimeRange{
			From: currentMs,
			To:   endMs,
		})
	}

	// Don't merge ranges - keep partial windows separate for proper handling
	return missing
}

// findMissingRangesBa


Check does the kubeconfig file (~/.kube/config) exist and has correct permissions and is the Kubernetes cluster reachable and has Ready nodes by running 'kubectl get nodes' ",
			err,
		).WithExecutedCommand(cmd)
	}
	return string(out), nil
}

func UiGetNamespace(cmd *cobra.Command, defaultNamespace string) string {
	var namespace string
	var err error

	if cmd.Flag("namespace").Changed {
		namespace, err = cmd.Flags().GetString("namespace")
		ui.ExitOnError("getting namespace", err)
	} else {
		namespace = ui.TextInput("Please provide namespace for Control Plane", defaultNamespace)
	}

	return namespace
}

func RunDockerCommand(args []string) (output string, cliErr *CLIError) {
	out, err := process.Execute("docker", args...)
	if err != nil {
		return "", NewCLIError(
			TKErrDockerCommandFailed,
			"Docker command failed",
			"Check is the Docker service installed and running on your computer by executing 'docker info' ",
			err,
		).WithExecutedCommand(strings.Join(append([]string{"docker"}, args...), " "))
	}
	return string(out), nil
}

func DockerRunTestkubeAgent(options HelmOptions, cfg config.Data, dockerContainerName, dockerImage string) *CLIError {
	// use config if set
	if cfg.CloudContext.AgentKey != "" && options.Master.AgentToken == "" {
		options.Master.AgentToken = cfg.CloudContext.AgentKey
	}

	if options.Master.AgentToken == "" {
		return NewCLIError(
			TKErrInvalidInstallConfig,
			"Invalid install config",
			"Provide the agent token by setting the '--agent-token' flag",
			errors.New("agent key is required"))
	}

	args := prepareTestkubeProDockerArgs(options, dockerContainerName, dockerImage)
	output, err := RunDockerCommand(args)
	if err != nil {
		return err
	}

	ui.Debug("Docker command output:")
	ui.Debug("Arguments", args...)

	ui.Debug("Docker run testkube output", output)

	return nil
}

// prepareTestkubeProDockerArgs prepares docker arguments for Testkube Pro running.
func prepareTestkubeProDockerArgs(options HelmOptions, dockerContainerName, dockerImage string) []string {
	args := []string{
		"run",
		"--name", dockerContainerName,
		"--privileged",
		"-d",
		"-e", "CLOUD_URL=" + options.Master.URIs.Agent,
		"-e", "AGENT_KEY=" + options.Master.AgentToken,
		dockerImage,
	}

	return args
}

// prepareTestkubeUpgradeDockerArgs prepares docker arguments for Testkube Upgrade running.
func prepareTestkubeUpgradeDockerArgs(options HelmOptions, dockerContainerName, latestVersion string) []string {
	args := []string{
		"exec",
		dockerContainerName,
		"helm",
		"upgrade",
		// These arguments are similar to Docker entrypoint script
		"testkube",
		"testkube/testkube",
		"--namespace",
		"testkube",
		"--set",
		"testkube-api.minio.enabled=false",
		"--set",
		"mongodb.enabled=false",
		"--set",
		"testkube-api.cloud.key=" + options.Master.AgentToken,
		"--set",
		"testkube-api.cloud.url=" + options.Master.URIs.Agent,
		"--set",
		"testkube-api.dockerImageVersion=" + latestVersion,
	}

	return args
}

func StreamDockerLogs(dockerContainerName string) *CLIError {
	// Create a Docker client
	cli, err := client.NewClientWithOpts(client.FromEnv, client.WithAPIVersionNegotiation())
	if err != nil {
		retur


itive(true)
                ),
                stream = true
            ),
            modelType = cc.unitmesh.devti.llm2.model.ModelType.Default
        )

        // Verify configuration properties
        assertEquals("DeepSeek", deepSeekConfig.name)
        assertEquals("https://api.deepseek.com/v1/chat/completions", deepSeekConfig.url)
        assertEquals("test-token", deepSeekConfig.auth.token)
        assertEquals(4096, deepSeekConfig.maxTokens)
        assertTrue(deepSeekConfig.customRequest.stream)
    }

    fun testGLMConfiguration() {
        val settings = AutoDevSettingsState()

        // Simulate creating a GLM configuration
        val glmConfig = LlmConfig(
            name = "GLM",
            description = "Created by Quick Setup - GLM (智谱清言)",
            url = "https://open.bigmodel.cn/api/paas/v4/chat/completions",
            auth = cc.unitmesh.devti.llm2.model.Auth(type = "Bearer", token = "test-token"),
            maxTokens = 4096,
            customRequest = cc.unitmesh.devti.llm2.model.CustomRequest(
                headers = emptyMap(),
                body = mapOf(
                    "model" to kotlinx.serialization.json.JsonPrimitive("glm-4"),
                    "temperature" to kotlinx.serialization.json.JsonPrimitive(0.0),
                    "stream" to kotlinx.serialization.json.JsonPrimitive(true)
                ),
                stream = true
            ),
            modelType = cc.unitmesh.devti.llm2.model.ModelType.Default
        )

        // Verify configuration properties
        assertEquals("GLM", glmConfig.name)
        assertEquals("https://open.bigmodel.cn/api/paas/v4/chat/completions", glmConfig.url)
        assertEquals("test-token", glmConfig.auth.token)
        assertEquals(4096, glmConfig.maxTokens)
        assertTrue(glmConfig.customRequest.stream)
    }

    fun testQwenConfiguration() {
        val settings = AutoDevSettingsState()

        // Simulate creating a Qwen configuration
        val qwenConfig = LlmConfig(
            name = "Qwen",
            description = "Created by Quick Setup - Qwen (通义千问)",
            url = "https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation",
            auth = cc.unitmesh.devti.llm2.model.Auth(type = "Bearer", token = "test-token"),
            maxTokens = 4096,
            customRequest = cc.unitmesh.devti.llm2.model.CustomRequest(
                headers = emptyMap(),
                body = mapOf(
                    "model" to kotlinx.serialization.json.JsonPrimitive("qwen-turbo"),
                    "temperature" to kotlinx.serialization.json.JsonPrimitive(0.0),
                    "stream" to kotlinx.serialization.json.JsonPrimitive(true)
                ),
                stream = true
            ),
            modelType = cc.unitmesh.devti.llm2.model.ModelType.Default
        )

        // Verify configuration properties
        assertEquals("Qwen", qwenConfig.name)
        assertEquals("https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation", qwenConfig.url)
        assertEquals("test-token", qwenConfig.auth.token)
        assertEquals(4096, qwenConfig.maxTokens)
        assertTrue(qwenConfig.customRequest.stream)
    }

    fun testMoonshotConfiguration() {
        val settings = AutoDevSettingsState()

        // Simulate creating a Moonshot configuration
        val moonshotConfig = LlmConfig(
            name = "Moonshot",
            description = "Created by Quick Setup - Moonshot (月之暗面)",
            url = "http


+\x12\x18\n" +
	"\x14PP13_SEL_EVENTPRED_0\x10,\x12\x18\n" +
	"\x14PP13_SEL_EVENTPRED_1\x10-\x12\x18\n" +
	"\x14PP13_SEL_EVENTPRED_2\x10.\x12\x18\n" +
	"\x14PP13_SEL_EVENTPRED_3\x10/\x12\x18\n" +
	"\x14PP13_SEL_EVENTPRED_4\x100\x12\x18\n" +
	"\x14PP13_SEL_EVENTPRED_5\x101\x12\x18\n" +
	"\x14PP13_SEL_EVENTPRED_6\x102\x12\x18\n" +
	"\x14PP13_SEL_EVENTPRED_7\x103\x12\x18\n" +
	"\x14PP13_SEL_EVENTPRED_8\x104\x12\x18\n" +
	"\x14PP13_SEL_EVENTPRED_9\x105\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_10\x106\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_11\x107\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_12\x108\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_13\x109\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_14\x10:\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_15\x10;\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_16\x10<\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_17\x10=\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_18\x10>\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_19\x10?\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_20\x10@\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_21\x10A\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_22\x10B\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_23\x10C\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_24\x10D\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_25\x10E\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_26\x10F\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_27\x10G\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_28\x10H\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_29\x10I\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_30\x10J\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_31\x10K\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_32\x10L\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_33\x10M\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_34\x10N\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_35\x10O\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_36\x10P\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_37\x10Q\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_38\x10R\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_39\x10S\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_40\x10T\x12\x19\n" +
	"\x15PP13_SEL_EVENTPRED_41\x10U\x12\x19\n" +
	"\x15


.@tocbase,0
.previous
.align	4
.ecp_nistz256_sqr_mont:
	stdu	1,-128(1)
	mflr	0
	std	22,48(1)
	std	23,56(1)
	std	24,64(1)
	std	25,72(1)
	std	26,80(1)
	std	27,88(1)
	std	28,96(1)
	std	29,104(1)
	std	30,112(1)
	std	31,120(1)

	ld	24,0(4)
	ld	25,8(4)
	ld	26,16(4)
	ld	27,24(4)

	li	11,-1
	srdi	11,11,32
	li	12,1
	orc	12,12,11

	bl	__ecp_nistz256_sqr_mont

	mtlr	0
	ld	22,48(1)
	ld	23,56(1)
	ld	24,64(1)
	ld	25,72(1)
	ld	26,80(1)
	ld	27,88(1)
	ld	28,96(1)
	ld	29,104(1)
	ld	30,112(1)
	ld	31,120(1)
	addi	1,1,128
	blr
.long	0
.byte	0,12,4,0,0x80,10,2,0
.long	0
.size	.ecp_nistz256_sqr_mont,.-.ecp_nistz256_sqr_mont
.size	ecp_nistz256_sqr_mont,.-.ecp_nistz256_sqr_mont

.globl	ecp_nistz256_add
.type	ecp_nistz256_add,@function
.section	".opd","aw"
.align	3
ecp_nistz256_add:
.quad	.ecp_nistz256_add,.TOC.@tocbase,0
.previous
.align	4
.ecp_nistz256_add:
	stdu	1,-128(1)
	mflr	0
	std	28,96(1)
	std	29,104(1)
	std	30,112(1)
	std	31,120(1)

	ld	7,0(4)
	ld	28,  0(5)
	ld	8,8(4)
	ld	29,  8(5)
	ld	9,16(4)
	ld	30,  16(5)
	ld	10,24(4)
	ld	31,  24(5)

	li	11,-1
	srdi	11,11,32
	li	12,1
	orc	12,12,11

	bl	__ecp_nistz256_add

	mtlr	0
	ld	28,96(1)
	ld	29,104(1)
	ld	30,112(1)
	ld	31,120(1)
	addi	1,1,128
	blr
.long	0
.byte	0,12,4,0,0x80,4,3,0
.long	0
.size	.ecp_nistz256_add,.-.ecp_nistz256_add
.size	ecp_nistz256_add,.-.ecp_nistz256_add

.globl	ecp_nistz256_div_by_2
.type	ecp_nistz256_div_by_2,@function
.section	".opd","aw"
.align	3
ecp_nistz256_div_by_2:
.quad	.ecp_nistz256_div_by_2,.TOC.@tocbase,0
.previous
.align	4
.ecp_nistz256


CommandsLexerT__1           = 2
	CommandsLexerT__2           = 3
	CommandsLexerT__3           = 4
	CommandsLexerT__4           = 5
	CommandsLexerT__5           = 6
	CommandsLexerT__6           = 7
	CommandsLexerT__7           = 8
	CommandsLexerCOMMAND        = 9
	CommandsLexerFLAG           = 10
	CommandsLexerARROW          = 11
	CommandsLexerEQUAL_ASSIGN   = 12
	CommandsLexerEQUALS         = 13
	CommandsLexerNOT_EQUALS     = 14
	CommandsLexerIN             = 15
	CommandsLexerLESS           = 16
	CommandsLexerLESS_EQUALS    = 17
	CommandsLexerGREATER_EQUALS = 18
	CommandsLexerGREATER        = 19
	CommandsLexerLOGICAL_AND    = 20
	CommandsLexerLOGICAL_OR     = 21
	CommandsLexerLBRACKET       = 22
	CommandsLexerRPRACKET       = 23
	CommandsLexerLBRACE         = 24
	CommandsLexerRBRACE         = 25
	CommandsLexerLPAREN         = 26
	CommandsLexerRPAREN         = 27
	CommandsLexerDOT            = 28
	CommandsLexerCOMMA          = 29
	CommandsLexerMINUS          = 30
	CommandsLexerEXCLAM         = 31
	CommandsLexerQUESTIONMARK   = 32
	CommandsLexerCOLON          = 33
	CommandsLexerPLUS           = 34
	CommandsLexerSTAR           = 35
	CommandsLexerSLASH          = 36
	CommandsLexerPERCENT        = 37
	CommandsLexerCEL_TRUE       = 38
	CommandsLexerCEL_FALSE      = 39
	CommandsLexerNUL            = 40
	CommandsLexerWHITESPACE     = 41
	CommandsLexerCOMMENT        = 42
	CommandsLexerNUM_FLOAT      = 43
	CommandsLexerNUM_INT        = 44
	CommandsLexerNUM_UINT       = 45
	CommandsLexerSTRING         = 46
	CommandsLexerBYTES          = 47
	CommandsLexerIDENTIFIER     = 48
	CommandsLexerESC_IDENTIFIER = 49
)
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.3
// 	protoc        v5.27.1
// source: cel/expr/conformance/test/simple.proto

package test

import (
	expr "cel.dev/expr"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type SimpleTestFile struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description   string                 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Section       []*SimpleTestSection   `protobuf:"bytes,3,rep,name=section,proto3" json:"section,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SimpleTestFile) Reset() {
	*x = SimpleTestFile{}
	mi := &file_cel_expr_conformance_test_simple_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SimpleTestFile)


8($s0)          ## 80937360
/* 00CA8 8092D278 86460198 */  lh      $a2, 0x0198($s2)           ## 00000198
.L8092D27C:
/* 00CAC 8092D27C 3C108093 */  lui     $s0, %hi(D_80937358)       ## $s0 = 80930000
/* 00CB0 8092D280 3C118093 */  lui     $s1, %hi(D_8093734C)       ## $s1 = 80930000
/* 00CB4 8092D284 2631734C */  addiu   $s1, $s1, %lo(D_8093734C)  ## $s1 = 8093734C
/* 00CB8 8092D288 10000116 */  beq     $zero, $zero, .L8092D6E4
/* 00CBC 8092D28C 26107358 */  addiu   $s0, $s0, %lo(D_80937358)  ## $s0 = 80937358
.L8092D290:
/* 00CC0 8092D290 28C10130 */  slti    $at, $a2, 0x0130
/* 00CC4 8092D294 1420004F */  bne     $at, $zero, .L8092D3D4
/* 00CC8 8092D298 24C8FED0 */  addiu   $t0, $a2, 0xFED0           ## $t0 = FFFFFED0
/* 00CCC 8092D29C 2401000B */  addiu   $at, $zero, 0x000B         ## $at = 0000000B
/* 00CD0 8092D2A0 15010025 */  bne     $t0, $at, .L8092D338
/* 00CD4 8092D2A4 24090005 */  addiu   $t1, $zero, 0x0005         ## $t1 = 00000005
/* 00CD8 8092D2A8 3C028094 */  lui     $v0, %hi(D_80938C9C)       ## $v0 = 80940000
/* 00CDC 8092D2AC 8C428C9C */  lw      $v0, %lo(D_80938C9C)($v0)
/* 00CE0 8092D2B0 3C014220 */  lui     $at, 0x4220                ## $at = 42200000
/* 00CE4 8092D2B4 44811000 */  mtc1    $at, $f2                   ## $f2 = 40.00
/* 00CE8 8092D2B8 C4500008 */  lwc1    $f16, 0x0008($v0)          ## 80940008
/* 00CEC 8092D2BC 3C118093 */  lui     $s1, %hi(D_8093734C)       ## $s1 = 80930000
/* 00CF0 8092D2C0 2631734C */  addiu   $s1, $s1, %lo(D_8093734C)  ## $s1 = 8093734C
/* 00CF4 8092D2C4 46028480 */  add.s   $f18, $f16, $f2
/* 00CF8 8092D2C8 3C0142B4 */  lui     $at, 0x42B4                ## $at = 42B40000
/* 00CFC 8092D2CC 44813000 */  mtc1    $at, $f6                   ## $f6 = 90.00
/* 00D00 8092D2D0 3C0141A0 */  lui     $at, 0x41A0                ## $at = 41A00000
/* 00D04 8092D2D4 E6320000 */  swc1    $f18, 0x0000($s1)          ## 8093734C
/* 00D08 8092D2D8 C444000C */  lwc1    $f4, 0x000C($v0)           ## 8094000C
/* 00D0C 8092D2DC 3C108093 */  lui     $s0, %hi(D_80937358)       ## $s0 = 80930000
/* 00D10 8092D2E0 26107358 */  addiu


, -83, 5), 'Челябинск', [-6,-83], 1],
    ['a2_1', 'Kurgan', genkrug(0, -91, 1.5), 'Курган', [-3,-91], 1],
    ['a2_1', 'Omsk', genkrug(0, -103, 5), 'Омск', [-6,-103], 1],
    ['a2', 'Novosibirsk', genkrug(0, -116, 6), 'Новосибирск', [7,-116], 1],
    ['a2', 'Kemerovo', genkrug(0, -130, 2), 'Кемерово', [4,-133], 1],
    ['a2', 'Krasnoyarsk', genkrug(0, -142, 4), 'Красноярск', [5,-142], 1]
  ];
  // белые круги над трассами
  var MCITIES_b = [
    ['a1', 'Minsk', null, 'Минск', [0,43], 1],
    ['a1', 'Vilnus', null, 'Вильнюс', [0,67], 1],
    ['a2', 'Smolensk', genkrug(0, 26.5, 1.5), 'Смоленск', [-7,31], 1],
    ['a2', 'Kaliningrad', genkrug(0, 84, 1.5), 'Калининград', [4,84], 1],
    ['a2_1', 'Rzhev', genkrug(14.85, 22, 0.1), 'Ржев', [13,22], 1],
    ['a2', 'Velikie_Luki', genkrug(20.4, 30.2, 0.1), 'Великие Луки', [22,30.2], 1],
    ['a2', 'Pskov', genkrug(27, 40, 1), 'Псков', [29,40], 1],
    ['a2', 'Tver', genkrug(26.5, 9.23, 2), 'Тверь', [29,6], 1],
    ['a2', 'Velikiy_Novgorod', genkrug(35.3, 12.3, 2), 'Великий Новгород', [22,18], 1],
    ['a2', 'Petrozavodsk', genkrug(69, 5, 1.5), 'Петрозаводск', [72,3], 1],
    ['a2', 'Murmansk', genkrug(116, 22, 2), 'Мурманск', [116,17], 1],
    ['a2', 'Saint-Petersburg', null, 'Санкт-Петерсбург', [55,35], 1],
    ['a2', 'Yaroslavl', genkrug(33.5, -10, 3), 'Ярославль', [35,-5], 1],
    ['a2', 'Vologda', genkrug(44.5, -13.22, 1.5), 'Вологда', [48,-9], 1],
    ['a2', 'Arkhangelsk', genkrug(55.5, -16.5, 1.5), 'Архангельск', [61,-16], 1],
    ['a2', 'Vladimir', genkrug(23.3, -15.8, 1.5), 'Владимир', [10,-11], 1],
    ['a2', 'Ivanovo', genkrug(30.09, -20.4, 2), 'Иваново', [32,-24], 1],
    ['a2', 'Nizhniy_Novgorod', genkrug(25.75, -34, 5), 'Нижний Новгород', [32,-33], 1],
    ['a2', 'Cheboksary', genkrug(34.08, -45, 3), 'Чебоксары', [38,-42], 1],
    ['a2','Yoshkar-Ola', genkrug(75, -51, 1), 'Йошкар-Ола', [70,-47], 1],
    ['a2', 'Kirov', genkrug(93, -57.32


 record %zu", ctr);
            goto err;
        }
        if (!TEST_true(test_record(&rec, &refdata[ctr], 0))) {
            TEST_info("Record %zu decryption test failed", ctr);
            goto err;
        }

        OPENSSL_free(rec.data);
        OPENSSL_free(key);
        OPENSSL_free(iv);
        OPENSSL_free(seq);
        rec.data = NULL;
        key = NULL;
        iv = NULL;
        seq = NULL;
    }

    TEST_note("PASS: %zu records tested", ctr);
    ret = 1;

 err:
    OPENSSL_free(rec.data);
    OPENSSL_free(key);
    OPENSSL_free(iv);
    OPENSSL_free(seq);
    SSL_free(s);
    SSL_CTX_free(ctx);
    return ret;
}

int setup_tests(void)
{
    ADD_TEST(test_tls13_encryption);
    return 1;
}


"\"driverid\":\"1\","+
			"\"day\":1,"+
			"\"tradingdate\":\"20150615\","+
			"\"stime\":\"083010\","+
			"\"etime\":\"083415\","+
			"\"psamcount\":1,"+
			"\"psamno\":\"1\","+
			"\"mileage\":\"1\","+
			"\"waitingtime\":\"0830\","+
			"\"airmileage\":\"1\","+
			"\"tradetype\":1,"+
			"\"amountsreceivable\":\"1\","+
			"\"realamount\":\"1\","+
			"\"cardbalance\":\"1\","+
			"\"wlcardtype\":1,"+
			"\"cardtype\":1,"+
			"\"usrtradecount\":1,"+
			"\"tertradecount\":1,"+
			"\"psamcardnum\":\"1\","+
			"\"tradeauthcode\":1,"+
			"\"opernum\":1,"+
			"\"callcharge\":\"1\","+
			"\"fuelsurcharge\":\"1\","+
			"\"otherexpenses\":\"1\"}";
			break;

			//请求结束上传计价器数据
		case 20:
			aa = "{\"msgid\":24901, \"subpacket\":0, \"encryption\":0, \"bodysize\":80, \"terminal\":\"123456789\", \"seq\":1," +
			"\"framenum\":1,"+
			"\"slat\":22587878,"+
			"\"slng\":113454545,"+
			"\"elat\":23568787,"+
			"\"elng\":112457878,"+
			"\"taxseq\":1,"+
			"\"driverid\":\"1\","+
			"\"day\":1,"+
			"\"tradingdate\":\"20150615\","+
			"\"stime\":\"083010\","+
			"\"etime\":\"083415\","+
			"\"psamcount\":1,"+
			"\"psamno\":\"1\","+
			"\"mileage\":\"1\","+
			"\"waitingtime\":\"0830\","+
			"\"airmileage\":\"1\","+
			"\"tradetype\":1,"+
			"\"amountsreceivable\":\"1\","+
			"\"realamount\":\"1\","+
			"\"cardbalance\":\"1\","+
			"\"wlcardtype\":1,"+
			"\"cardtype\":1,"+
			"\"usrtradecount\":1,"+
			"\"tertradecount\":1,"+
			"\"psamcardnum\":\"1\","+
			"\"tradeauthcode\":1,"+
			"\"opernum\":1,"+
			"\"callcharge\":\"1\","+
			"\"fuelsurcharge\":\"1\","+
			"\"otherexpenses\":\"1\"}";
			break;

			//请求结束上传计价器数据
		case 21:
			aa = "{\"msgid\":24902, \"subpacket\":0, \"encryption\":0, \"bodysize\":80, \"terminal\":\"123456789\", \"seq\":1," +
			"\"slat\":22587878,"+
			"\"slng\":113454545,"+
			"\"elat\":23568787,"+
			"\"elng\":112457878,"+
			"\"taxseq\":1,"+
			"\"driverid\":\"1\","+
			"\"day\":1,"+
			"\"tradingdate\":\"20150615\","+
			"\"stime\":\"083010\","+
			"\"etime\":\"083415\","+
			"\"psamcount\":1,"+
			"\"psamno\":\"1\","+
			"\"mileage\":\"1\","+
			"\"waitingtime\":\"0830\","+
			"\"airmileage\":\"1\","+
			"\"tradetype\":1,"+
			"\"amount


,
                          option_name: libc::c_int,
                          option_value: *const libc::c_void,
                          option_len: socklen_t) -> libc::c_int;
    #[no_mangle]
    fn usrsctp_recvv(so: *mut socket, dbuf: *mut libc::c_void, len: size_t,
                     from: *mut sockaddr, fromlen: *mut socklen_t,
                     info: *mut libc::c_void, infolen: *mut socklen_t,
                     infotype: *mut libc::c_uint, msg_flags: *mut libc::c_int)
     -> ssize_t;
    #[no_mangle]
    fn usrsctp_bind(so: *mut socket, name: *mut sockaddr, namelen: socklen_t)
     -> libc::c_int;
    #[no_mangle]
    fn usrsctp_listen(so: *mut socket, backlog: libc::c_int) -> libc::c_int;
    #[no_mangle]
    fn usrsctp_close(so: *mut socket);
    #[no_mangle]
    fn usrsctp_finish() -> libc::c_int;
    #[no_mangle]
    fn usrsctp_set_non_blocking(_: *mut socket, _: libc::c_int)
     -> libc::c_int;
    #[no_mangle]
    fn usrsctp_set_upcall(so: *mut socket,
                          upcall:
                              Option<unsafe extern "C" fn(_: *mut socket,
                                                          _:
                                                              *mut libc::c_void,
                                                          _: libc::c_int)
                                         -> ()>, arg: *mut libc::c_void)
     -> libc::c_int;
    #[no_mangle]
    fn usrsctp_get_events(so: *mut socket) -> libc::c_int;
    #[no_mangle]
    fn usrsctp_sysctl_set_sctp_no_csum_on_loopback(value: uint32_t)
     -> libc::c_int;
    #[no_mangle]
    fn usrsctp_sysctl_set_sctp_blackhole(value: uint32_t) -> libc::c_int;
    #[no_mangle]
    fn usrsctp_sysctl_set_sctp_debug_on(value: uint32_t) -> libc::c_int;
    #[no_mangle]
    fn debug_printf_stack(format: *const libc::c_char, _: ...);
}
pub type size_t = libc::c_ulong;
pub type __uint8_t = libc::c_uchar;
pub type __uint16_t = libc::c_ushort;
pub type __uint32_t = libc::c_uint;
pub type __ssize_t = libc::c_long;
pub type __socklen_t = libc::c_uint;
pub type ssize_t = __ssize_t;
pub type socklen_t = __socklen_t;
pub type __socket_type = libc::c_uint;
pub const SOCK_NONBLOCK: __socket_type = 2048;
pub const SOCK_CLOEXEC: __socket_type = 524288;
pub const SOCK_PACKET: __socket_type = 10;
pub const SOCK_DCCP: __socket_type = 6;
pub const SOCK_SEQPACKET: __socket_type = 5;
pub const SOCK_RDM: __socket_type = 4;
pub const SOCK_RAW: __socket_type


Json(dynamic json, {bool growable = false,}) {
    final map = <String, List<IoK8sApiEventsV1EventList>>{};
    if (json is Map && json.isNotEmpty) {
      // ignore: parameter_assignments
      json = json.cast<String, dynamic>();
      for (final entry in json.entries) {
        map[entry.key] = IoK8sApiEventsV1EventList.listFromJson(entry.value, growable: growable,);
      }
    }
    return map;
  }

  /// The list of required keys that must be present in a JSON.
  static const requiredKeys = <String>{
    'items',
  };
}

//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12

// ignore_for_file: unused_element, unused_import
// ignore_for_file: always_put_required_named_parameters_first
// ignore_for_file: constant_identifier_names
// ignore_for_file: lines_longer_than_80_chars

part of models.k8s;

class IoK8sApiAppsV1DaemonSetSpec {
  /// Returns a new [IoK8sApiAppsV1DaemonSetSpec] instance.
  IoK8sApiAppsV1DaemonSetSpec({
    this.minReadySeconds,
    this.revisionHistoryLimit,
    required this.selector,
    required this.template,
    this.updateStrategy,
  });

  /// The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).
  ///
  /// Please note: This property should have been non-nullable! Since the specification file
  /// does not include a default value (using the "default:" property), however, the generated
  /// source code must fall back to having a nullable type.
  /// Consider adding a "default:" property in the specification file to hide this note.
  ///
  int? minReadySeconds;

  /// The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
  ///
  /// Please note: This property should have been non-nullable! Since the specification file
  /// does not include a default value (using the "default:" property), however, the generated
  /// source code must fall back to having a nullable type.
  /// Consider adding a "default:" property in the specification file to hide this note.
  ///
  int? revisionHistoryLimit;

  IoK8sApimachineryPkgApisMetaV1LabelSelector selector;

  IoK8sApiCoreV1PodTemplateSpec template;

  ///
  /// Please note: This property should have been non-nullable! Since the specification file
  /// does not include a default value (using the "default:" property), however, the generated
  /// source code must fall back to having a nullable type.
  /// Consider adding a "default:" property in the specification file to hide this note.
  ///
  IoK8sApiAppsV1DaemonSetUpdateStrategy? updateStrategy;

  @override
  bool operator ==(Object other) => identical(this, other) || other is IoK8sApiAppsV1DaemonSetSpec &&
    other.minReadySeconds == minReadySeconds &&
    other.revisionHistoryLimit == revisionHistoryLimit &&
    other.selector == selector &&
    other.template == template &&
    other.updateStrategy == updateStrategy;

  @override
  int get hashCode =>
    // ignore: unnecessary_parenthesis
    (minReadySeconds == null ? 0 : minReadySeconds!.hashCode) +
    (revisionHistoryLimit == null ? 0 : revisionHistoryLimit!.hashCode) +
    (selector.hashCode) +
    (template.hashCode)


4/sgml/entities.html
	 *
	 * @param input the (unescaped) input string
	 * @return the escaped string
	 */
	public static String htmlEscapeHex(String input) {
		if (input == null) {
			return null;
		}
		StringBuilder escaped = new StringBuilder(input.length() * 2);
		for (int i = 0; i < input.length(); i++) {
			char character = input.charAt(i);
			if (characterEntityReferences.isMappedToReference(character)) {
				escaped.append(HtmlCharacterEntityReferences.HEX_REFERENCE_START);
				escaped.append(Integer.toString((int) character, 16));
				escaped.append(HtmlCharacterEntityReferences.REFERENCE_END);
			}
			else {
				escaped.append(character);
			}
		}
		return escaped.toString();
	}

	/**
	 * Turn HTML character references into their plain text UNICODE equivalent.
	 *
Handles complete character set defined in HTML 4.01 recommendation
	 * and all reference types (decimal, hex, and entity).
	 *
Correctly converts the following formats:
	 *

	 * &#Entity; - (Example: &amp;) case sensitive
	 * &#Decimal; - (Example: &#68;)

	 * &#xHex; - (Example: &#xE5;) case insensitive

	 *

	 * Gracefully handles malformed character references by copying original
	 * characters as is when encountered.

	 *
Reference:
	 *
	 * http://www.w3.org/TR/html4/sgml/entities.html
	 *
	 * @param input the (escaped) input string
	 * @return the unescaped string
	 */
	public static String htmlUnescape(String input) {
		if (input == null) {
			return null;
		}
		return new HtmlCharacterEntityDecoder(characterEntityReferences, input).decode();
	}

}
package org.frameworkset.elasticsearch.client;

import java.util.Iterator;
import java.util.List;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;

/*
 * Copyright 2014 Apache Software Foundation.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

public class RoundRobinList {

	private final List<ESAddress> elements;

	private Iterator<ESAddress> iterator;
	private String message;

	public RoundRobinList(List<ESAddress> elements) {
		this.elements = elements;
		message = "All elasticsearch server "+elements.toString()+" can't been connected.";
		iterator = this.elements.iterator();
	}

//	public synchronized T get() {
//		T address = null;
//		while (iterator.hasNext()) {
//			address = iterator.next();
//			if (address.ok())
//				break;
//		}
//		if (address != null) {
//			return address;
//
//		}
//		else {
//			iterator = elements.iterator();
//			while (iterator.hasNext()) {
//				address = iterator.next();
//				if (address.ok())
//					break;
//			}
//			return address;
//		}
//
//


;
    }

    ul,
    ol {
      margin-inline-start: var(--space-s);
    }

    ul:not(.main-nav-list):not(.tag-list):not(ul li ul) > li + li,
    ol li + li {
      margin-block-start: var(--space-xs);
    }
    iframe {
      display: block;
      margin-inline: auto;
      max-width: 100%;
    }
    figure {
      img:not(.about-photo):not(.inset-image-wrapper img) {
        max-width: 80%;
        margin-inline: auto;
        margin-bottom: var(--space-2xs);
        &.small {
          width: min(15rem, 100%);
        }
      }
      figcaption {
        font-style: italic;
        font-size: var(--step--1);
        text-align: center;
      }
    }

    .content-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
      align-items: center;
      justify-items: center;

      gap: 1rem;
      img,
      video {
        width: 100%;
      }
    }
  }

  .p-author {
    display: none;
  }

  &.summary .content-inner {
    padding-block-end: 0;
  }

  .post-subtitle {
    font-size: var(--step-1);
    font-family: var(--heading-font-family);
  }

  ul:not([class]) li {
    list-style: var(--bullet);
    padding-inline-start: var(--space-2xs);
    margin-inline-start: var(--space-xs);
  }

  .recent-posts li {
    list-style: var(--bullet);
    padding-inline-start: var(--space-2xs);
  }

  &[data-type] {
    position: relative;

    .grid {
      align-items: start;
    }
  }

  &.summary[data-type]::after {
    font-size: var(--step-1);
    position: absolute;
    bottom: 1rem;
    right: 1rem;
  }

  &.summary[data-type="book"]::after {
    content: "📚";
  }
  &.summary[data-type="podcast"]::after {
    content: "🎙";
  }
  &.summary[data-type="music"]::after {
    content: "🎧";
  }
  &.summary[data-type="video"]::after {
    content: "🎥";
  }
  &.summary[data-type="game"]::after {
    content: "🎮";
  }
  &.summary[data-type="recipe"]::after {
    content: "👩🏻🍳";
  }
  &.summary[data-type="website"]::after {
    content: "💻";
  }
  &.summary[data-type="link"]::after {
    content: "🔗";
  }
}

.about-photo {
  float: right;
  aspect-ratio: 1;
  width: min(30%, 15rem);
  height: auto;
  shape-outside: circle(50%);
  border-radius: 50%;
  margin-inline-start: 1rem;
  background: var(--photo-bg);
}

.skyscraper,
.palmtree {
  display: none;
}

.sidebar {
  container-type: inline-size;

  .main-nav {
    color: var(--link-color);
    font-size: clamp(1rem, 1.2615rem + 0.75vw, 1.9531rem);
    max-inline-size: var(--max-inline-size);
    margin-inline: auto;

    &-list {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      text-align: center;
      gap: var(--space-3xs-2xs);
      ma


;@ EaCalc : Get '(a0)' into r8:
  and r2,r8,#0x000f
  orr r2,r2,#0x8 ;@ A0-7
  ldr r8,[r7,r2,lsl #2]
;@ EaRead : Read '(a0)' (address in r8) into r0:
  add lr,pc,#4
  mov r0,r8
  ldr pc,[r7,#0x68] ;@ Call read8(r0) handler

  and r11,r11,#7  ;@ mem - do mod 8

  mov r1,#1
  tst r0,r1,lsl r11 ;@ Do arithmetic
  bicne r10,r10,#0x40000000
  orreq r10,r10,#0x40000000 ;@ Get Z flag

  bic r1,r0,r1,lsl r11 ;@ Clear bit

;@ EaWrite: Write r1 into '(a0)' (address in r8):
  add lr,pc,#4
  mov r0,r8
  ldr pc,[r7,#0x74] ;@ Call write8(r0,r1) handler

  ldrh r8,[r4],#2 ;@ Fetch next opcode
  subs r5,r5,#12 ;@ Subtract cycles
  ldrge pc,[r6,r8,asl #2] ;@ Jump to opcode handler
  b CycloneEnd

;@ ---------- [0198] bclr d0, (a0)+ uses Op0198 ----------
Op0198:
  str r5,[r7,#0x5c] ;@ Save Cycles

;@ EaCalc : Get register index into r11:
  and r11,r8,#0x0e00
;@ EaRead : Read register[r11] into r11:
  ldr r11,[r7,r11,lsr #7]

;@ EaCalc : Get '(a0)+' into r8:
  and r2,r8,#0x000f
  ldr r8,[r7,r2,lsl #2]
  add r3,r8,#1 ;@ Post-increment An
  str r3,[r7,r2,lsl #2]
;@ EaRead : Read '(a0)+' (address in r8) into r0:
  add lr,pc,#4
  mov r0,r8
  ldr pc,[r7,#0x68] ;@ Call read8(r0) handler

  and r11,r11,#7  ;@ mem - do mod 8

  mov r1,#1
  tst r0,r1,lsl r11 ;@ Do arithmetic
  bicne r10,r10,#0x40000000
  orreq r10,r10,#0x40000000 ;@ Get Z flag

  bic r1,r0,r1,lsl r11 ;@ Clear bit

;@ EaWrite: Write r1 into '(a0)+' (address in r8):
  add lr,pc,#4
  mov r0,r8
  ldr pc,[r7,#0x74] ;@ Call write8(r0,r1) handler

  ldrh r8,[r4],#2 ;@ Fetch next opcode
  subs r5,r5,#12 ;@ Subtract cycles
  ldrge pc,[r6,r8,asl #2] ;@ Jump to opcode handler
  b CycloneEnd

;@ ---------- [019f] bclr d0, (a7)+ uses Op019f ----------
Op019f:
  str r5,[r7,#0x5c] ;@ Save Cycles

;@ EaCalc : Get register index into r11:
  and r11,r8,#0x0e00
;@ EaRead : Read register[r11] into r11:
  ldr r11,[r7,r11,lsr #7]

;@ EaCalc : Get '(a7)+' into r8:
  ldr r8,[r7,#0x3c] ;@ A7


ThrowCompletion(error).
  module->RecordError(isolate, exception);

  // 5. Set module.[[AsyncEvaluating]] to false.
  module->set_async_evaluating(false);

  // 6. For each Module m of module.[[AsyncParentModules]], do
  for (int i = 0; i < module->AsyncParentModuleCount(); i++) {
    Handle<SourceTextModule> m = module->GetAsyncParentModule(isolate, i);

    //  a. If module.[[DFSIndex]] is not equal to module.[[DFSAncestorIndex]],
    //     then
    if (module->dfs_index() != module->dfs_ancestor_index()) {
      //   i. Assert: m.[[DFSAncestorIndex]] is equal to
      //      module.[[DFSAncestorIndex]].
      DCHECK_EQ(m->dfs_ancestor_index(), module->dfs_ancestor_index());
    }
    //  b. Perform ! AsyncModuleExecutionRejected(m, error).
    AsyncModuleExecutionRejected(isolate, m, exception);
  }

  // 7. If module.[[TopLevelCapability]] is not undefined, then
  if (!module->top_level_capability().IsUndefined(isolate)) {
    //  a. Assert: module.[[DFSIndex]] is equal to module.[[DFSAncestorIndex]].
    DCHECK(module->dfs_index() == module->dfs_ancestor_index());

    //  b. Perform ! Call(module.[[TopLevelCapability]].[[Reject]],
    //                    undefined, «error»).
    Handle<JSPromise> capability(
        JSPromise::cast(module->top_level_capability()), isolate);
    JSPromise::Reject(capability, exception);
  }

  // 8. Return undefined.
}

void SourceTextModule::ExecuteAsyncModule(Isolate* isolate,
                                          Handle<SourceTextModule> module) {
  // 1. Assert: module.[[Status]] is "evaluating" or "evaluated".
  CHECK(module->status() == kEvaluating || module->status() == kEvaluated);

  // 2. Assert: module.[[Async]] is true.
  DCHECK(module->async());

  // 3. Set module.[[AsyncEvaluating]] to true.
  module->set_async_evaluating(true);

  // 4. Let capability be ! NewPromiseCapability(%Promise%).
  Handle<JSPromise> capability = isolate->factory()->NewJSPromise();

  // 5. Let stepsFulfilled be the steps of a CallAsyncModuleFulfilled
  Handle<JSFunction> steps_fulfilled(
      isolate->native_context()->call_async_module_fulfilled(), isolate);

  ScopedVector<Handle<Object>> empty_argv(0);

  // 6. Let onFulfilled be CreateBuiltinFunction(stepsFulfilled,
  //                                             «[[Module]]»).
  // 7. Set onFulfilled.[[Module]] to module.
  Handle<JSBoundFunction> on_fulfilled =
      isolate->factory()
          ->NewJSBoundFunction(steps_fulfilled, module, empty_argv)
          .ToHandleChecked();

  // 8. Let stepsRejected be the steps of a CallAsyncModuleRejected.
  Handle<JSFunction> steps_rejected(
      isolate->native_context()->call_async_module_rejected(), isolate);

  // 9. Let onRejected be CreateBuiltinFunction(stepsRejected, «[[Module]]»).
  // 10. Set onRejected.[[Module]] to module.
  Handle<JSBoundFunction> on_rejected =
      isolate->factory()
          ->NewJSBoundFunction(steps_rejected, module, empty_argv)
          .ToHandleChecked();

  // 11. Perform ! PerformPromiseThen(capability.[[Promise]],
  //                                  onFulfilled, onRejected).
  Handle<Object> argv[] = {on_fulfilled, on_rejected};
  Execution::CallBuiltin(isolate, isolate->promise_then(), capability,


237-8.237a8.2 8.2 0 0 0-2.41-5.828 8.18 8.18 0 0 0-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.2 8.2 0 0 0 1.259 4.384l.196.312-.832 3.04zm9.49-4.554c-.062-.103-.227-.165-.475-.289s-1.465-.723-1.692-.806-.392-.124-.557.124-.64.806-.784.971-.289.186-.536.062-1.046-.385-1.991-1.229c-.736-.657-1.233-1.468-1.378-1.715s-.015-.382.109-.505c.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413s.041-.31-.021-.434-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.9.9 0 0 0-.66.31c-.226.248-.866.847-.866 2.066s.887 2.396 1.011 2.562 1.746 2.666 4.23 3.739c.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179"})})})},{name:"woocommerce",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M19 2H5C3.3 2 2 3.3 2 5v11c0 1.7 1.3 3 3 3h4l6 3-1-3h5c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3m-1.6 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7s-.3.4-.6.4-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6q.75 0 .9.9c.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2q.3.3.3.6c0 .3 0 .4-.1.5"})})})},{name:"wordpress",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M12.158 12.786 9.46 20.625a9 9 0 0 0 5.526-.144 1 1 0 0 1-.065-.124zM3.009 12a8.99 8.99 0 0 0 5.067 8.092L3.788 8.341A8.95 8.95 0 0 0 3.009 12m15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.


rel='dns-prefetch' href='//fonts.googleapis.com' />
<link href='https://fonts.gstatic.com' crossorigin rel='preconnect' />
<link rel="alternate" type="application/rss+xml" title="La Razón » Feed" href="https://larazon.pe/feed/" />
<link rel="alternate" type="application/rss+xml" title="La Razón » Feed de comentarios" href="https://larazon.pe/comments/feed/" />
<link rel="alternate" type="application/rss+xml" title="La Razón » Faenón de Toledo y Graña le costó S/1,400 millones al Estado peruano Feed de comentarios" href="https://larazon.pe/faenon-de-toledo-y-grana-le-costo-s-1400-millones-al-estado-peruano/feed/" />
<style type="text/css">
img.wp-smiley,
img.emoji {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	margin: 0 .07em !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
}
</style>
<link rel='stylesheet' id='wp-block-library-css' href='https://larazon.pe/wp-includes/css/dist/block-library/style.min.css?ver=5.5.1' type='text/css' media='all' />
<link data-minify="1" rel='stylesheet' id='td-plugin-multi-purpose-css' href='https://larazon.pe/wp-content/cache/min/1/wp-content/plugins/td-composer/td-multi-purpose/style-94673d6cc8e1c8491a53b81a0a31fa2f.css' type='text/css' media='all' />
<link crossorigin="anonymous" rel='stylesheet' id='google-fonts-style-css' href='https://fonts.googleapis.com/css?family=Open+Sans%3A400%2C600%2C700%7CRoboto%3A400%2C500%2C700&display=swap&ver=10.3.6.1' type='text/css' media='all' />
<link data-minify="1" rel='stylesheet' id='td-theme-css' href='https://larazon.pe/wp-content/cache/min/1/wp-content/themes/Newspaper/style-89c04b3dd8822391e7cabe8adbbb177c.css' type='text/css' media='all' />
<style id='td-theme-inline-css' type='text/css'>

        @media (max-width: 767px) {
            .td-header-desktop-wrap {
                display: none;
            }
        }
        @media (min-width: 767px) {
            .td-header-mobile-wrap {
                display: none;
            }
        }

</style>
<link data-minify="1" rel='stylesheet' id='scss-css' href='https://larazon.pe/wp-content/cache/min/1/wp-content/cache/busting/1/sccss-36c21cb1b8b886f71fde3a96492ec9db.css' type='text/css' media='all' />
<link data-minify="1" rel='stylesheet' id='td-legacy-framework-front-style-css' href='https://larazon.pe/wp-content/cache/min/1/wp-content/plugins/td-composer/legacy/Newspaper/assets


ctor for unpack2x16snorm(x) */
  public readonly unpack2x16snormInterval = this.unpack2x16snormIntervalImpl.bind(this);

  private unpack2x16unormIntervalImpl(n: number): FPVector {
    assert(
      n >= kValue.u32.min && n <= kValue.u32.max,
      'unpack2x16unormInterval only accepts values on the bounds of u32'
    );
    const op = (n: number): FPInterval => {
      return this.divisionInterval(n, 65535);
    };

    this.unpackDataU32[0] = n;
    return [op(this.unpackDataU16[0]), op(this.unpackDataU16[1])];
  }

  /** Calculate an acceptance interval vector for unpack2x16unorm(x) */
  public readonly unpack2x16unormInterval = this.unpack2x16unormIntervalImpl.bind(this);

  private unpack4x8snormIntervalImpl(n: number): FPVector {
    assert(
      n >= kValue.u32.min && n <= kValue.u32.max,
      'unpack4x8snormInterval only accepts values on the bounds of u32'
    );
    const op = (n: number): FPInterval => {
      return this.maxInterval(this.divisionInterval(n, 127), -1);
    };
    this.unpackDataU32[0] = n;
    return [
      op(this.unpackDataI8[0]),
      op(this.unpackDataI8[1]),
      op(this.unpackDataI8[2]),
      op(this.unpackDataI8[3]),
    ];
  }

  /** Calculate an acceptance interval vector for unpack4x8snorm(x) */
  public readonly unpack4x8snormInterval = this.unpack4x8snormIntervalImpl.bind(this);

  private unpack4x8unormIntervalImpl(n: number): FPVector {
    assert(
      n >= kValue.u32.min && n <= kValue.u32.max,
      'unpack4x8unormInterval only accepts values on the bounds of u32'
    );
    const op = (n: number): FPInterval => {
      return this.divisionInterval(n, 255);
    };

    this.unpackDataU32[0] = n;
    return [
      op(this.unpackDataU8[0]),
      op(this.unpackDataU8[1]),
      op(this.unpackDataU8[2]),
      op(this.unpackDataU8[3]),
    ];
  }

  /** Calculate an acceptance interval vector for unpack4x8unorm(x) */
  public readonly unpack4x8unormInterval = this.unpack4x8unormIntervalImpl.bind(this);
}

// Pre-defined values that get used multiple times in _constants' initializers. Cannot use FPTraits members, since this
// executes before they are defined.
const kAbstractAnyInterval = new FPInterval(
  'abstract',
  Number.NEGATIVE_INFINITY,
  Number.POSITIVE_INFINITY
);
const kAbstractZeroInterval = new FPInterval('abstract', 0);

class FPAbstractTraits extends FPTraits {
  private static _constants: FPConstants = {
    positive: {
      min: kValue.f64.positive.min,
      max: kValue.f64.positive.max,
      infinity: kValue.f64.infinity.positive,
      nearest_max: kValue.f64.positive.nearest_max,
      less_than_one: kValue.f64.positive.less_than_one,
      subnormal: {
        min: kValue.f64.subnormal.positive.min,
        max: kValue.f64.subnormal.positive.max,
      },
      pi: {
        whole: kValue.f64.positive.pi.whole,
        three_quarters: kValue.f64.positive.pi.three_quarters,
        half: kValue.f64.positive.pi.half,
        third: kValue.f64.positive.pi.third,
        quarter: kValue.f64.positive.pi.quarter,
        sixth: kValue.f64