.to_string()))?;
            let group_id: i32 = row.try_get("group_id").map_err(|e| DataError::NotFound(e.to_string()))?;
            let asset_id: Option<i32> = row.try_get("asset_id").map_err(|e| DataError::NotFound(e.to_string()))?;
            let asset_id = asset_id.map(|id| id as usize);
            let account_id: i32 = row.try_get("account_id").map_err(|e| DataError::NotFound(e.to_string()))?;
            let date: chrono::NaiveDate = row.try_get("cash_date").map_err(|e| DataError::NotFound(e.to_string()))?;
            let cash_date = date.format("%Y-%m-%d").to_string();
            transactions.push( TransactionView {
                id: id as usize,
                group_id: group_id as usize,
                asset_name: row.try_get("name").map_err(|e| DataError::NotFound(e.to_string()))?,
                asset_id,
                position: row.try_get("position").map_err(|e| DataError::NotFound(e.to_string()))?,
                trans_type: row.try_get("trans_type").map_err(|e| DataError::NotFound(e.to_string()))?,
                cash_amount: row.try_get("cash_amount").map_err(|e| DataError::NotFound(e.to_string()))?,
                cash_currency: row.try_get("cash_currency").map_err(|e| DataError::NotFound(e.to_string()))?,
                cash_date,
                note: row.try_get("note").map_err(|e| DataError::NotFound(e.to_string()))?,
                doc_path: row.try_get("path").map_err(|e| DataError::NotFound(e.to_string()))?,
                account_id: account_id as usize,
            });
        }
        Ok(transactions)
    }

    /// Change the account a transaction identified by id belongs to
    async fn change_transaction_account(&self, transaction_id: usize, old_account_id: usize, new_account_id: usize) -> Result<(), DataError> {
        sqlx::query!(
            "UPDATE account_transactions SET account_id=$3 WHERE transaction_id=$1 AND account_id=$2",
            (transaction_id as i32), (old_account_id as i32), (new_account_id as i32))
            .execute(&self.pool).await
            .map_err(|e| DataError::UpdateFailed(e.to_string()))?;
    Ok(())
    }

}
//! Warning: extreme macros

/// Creates a struct and implements `ToJson` and `Decodeable` from
/// rustc_serialize.
#[macro_export]
macro_rules! json_convertible {
    (  $(#[$attr:meta])*
       struct $name:ident { $($fname:ident : $ftype:ty),+  }  ) => {

        $(#[$attr])*
        pub struct $name {
            $($fname: $ftype),+
        }

        impl ::rustc_serialize::json::ToJson for $name {
            fn to_json(&self) -> ::rustc_serialize::json::Json {
                let mut tree = ::std::collections::BTreeMap::new();
                $( tree.insert(stringify!($fname).to_string(),
                                self.$fname.to_json()); )+
                ::rustc_serialize::json::Json::Object(tree)
            }
        }

        impl ::rustc_serialize::Decodable for $name {
            fn decode<D: ::rustc_serialize::Decoder>(d: &mut D) -> Result<$name, D::Error> {
                $( let $fname = try!(d.read_struct_field(
                    stringify!($fname), 0usize,
                    |f| ::rustc_serialize::Decodable::decode(f))); )+

                Ok($name {
                    $( $fname: $fname ),+
                })
            }
        }
    }
}
/// Create a keypress using fewer keystrokes. Provides a custom panic method.
#[macro_export]
macro_rules! keypress {
    ($modifier:


elltab-bottom .cke_dialog_ui_hbox_first .cke_dialog_ui_select > label
{
    margin-left: 0;
}

div[name=SpellTab] .wsc-spelltab-bottom .cke_dialog_ui_hbox_first .cke_dialog_ui_select div.cke_dialog_ui_input_select
{
    width: 140px !important;
}

div[name=SpellTab] .wsc-spelltab-bottom .cke_dialog_ui_hbox_first .cke_dialog_ui_select select.cke_dialog_ui_input_select,
div[name=Thesaurus] div.cke_dialog_ui_input_select select.cke_dialog_ui_input_select
{
    margin-top: 1px;
}

div[name=SpellTab] .wsc-spelltab-bottom .cke_dialog_ui_hbox_first .cke_dialog_ui_select select.cke_dialog_ui_input_select:focus,
div[name=Thesaurus] div.cke_dialog_ui_input_select select.cke_dialog_ui_input_select:focus
{
    margin-top: 0;
}

div[name=GrammTab] .cke_dialog_ui_vbox tbody > tr:first-child .cke_dialog_ui_button,
div[name=Thesaurus] .cke_dialog_ui_vbox tbody > tr:first-child .cke_dialog_ui_button
{
    margin-top: 4px !important;
}

div[name=Thesaurus] div.cke_dialog_ui_input_select
{
    width: 180px !important;
}
.cke_table-faked-selection-editor *::selection, table[data-cke-table-faked-selection-table] *::selection {
	background: transparent;
}

.cke_table-faked-selection {
	background: darkgray !important;
	color: black;
}
.cke_table-faked-selection a {
	color: black;
}
.cke_editable:focus .cke_table-faked-selection {
	/* We have to use !important here, as td might specify it's own background, thus table selection
	would not be visible. */
	background: #0076cb !important;
	color: white;
}
.cke_editable:focus .cke_table-faked-selection a {
	color: white;
}
.cke_table-faked-selection::-moz-selection, .cke_table-faked-selection ::-moz-selection {
	background: transparent;
}
.cke_table-faked-selection::selection, .cke_table-faked-selection ::selection {
	background: transparent;
}

/* Change the cursor when selecting cells (#706).
 *
 * This solution does not work in IE, Edge and Safari due to upstream isues:
 * https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/3419602/
 * https://bugs.webkit.org/show_bug.cgi?id=53341
 */
table[data-cke-table-faked-selection-table] {
	cursor: cell;
}
@charset "UTF-8";.fc-button:not(:disabled),.fc-event.fc-draggable,.fc-event[href],.fc-popover .fc-header .fc-close,a.fc-more,a[data-goto]{cursor:pointer}.fc-bg,.fc-row .fc-bgevent-skeleton,.fc-row .fc-highlight-skeleton{bottom:0}.fc{direction:ltr;text-align:left}.fc-rtl{text-align:right}body .fc{font-size:1em}.fc-highlight{background:#bce8f1;opacity:.3}.fc-bgevent{background:#8fdf82;opacity:.3}.fc-nonbusiness{background:#d7d7d7}.fc-popover{position:absolute;box-shadow:0 2px 6px rgba(0,0,0,.15)}.fc-popover .fc-header{display:flex;flex-direction:row;ju


it]) } ?: JsSpinner(context)
        }
    }

    companion object {

        val SPINNER_MODES: ValueMapper<Int> = ValueMapper<Int>("spinnerMode")
            .map("dialog", Spinner.MODE_DIALOG)
            .map("dropdown", Spinner.MODE_DROPDOWN)

    }

}package org.autojs.autojs.core.automator.filter

import org.autojs.autojs.core.automator.UiObject

/**
 * Created by Stardust on Mar 9, 2017.
 */
class StringMatchesFilter internal constructor(private val mRegex: String, private val mKeyGetter: KeyGetter) : Filter {

    // @Hint by SuperMonster003 on Oct 17, 2022.
    //  ! Kotlin method "CharSequence.matches(regex: Regex): Boolean"
    //  ! indicates whether the regular expression matches the ENTIRE input (not partial input).
    //  ! https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/matches.html
    //  ! https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex/matches.html
    //  ! https://stackoverflow.com/questions/21883629/difference-in-results-between-java-matches-vs-javascript-match
    //  ! zh-CN:
    //  ! Kotlin 的方法 "CharSequence.matches(regex: Regex): Boolean"
    //  ! 表示正则表达式是否完全匹配输入 (注意是完全而非部分匹配).
    //  ! 参考链接见上.
    override fun filter(node: UiObject) = mKeyGetter.getKey(node)?.matches(mRegex.toRegex()) ?: false

    override fun toString(): String {
        val regexStr = when (mRegex.isEmpty()) {
            true -> "(?:)"
            else -> mRegex.toRegex().toString().replace("/", "\\/")
        }
        return "${mKeyGetter}Matches(/$regexStr/)"
    }

}
package org.autojs.autojs.core.automator.filter

import org.autojs.autojs.core.automator.UiObject
import org.autojs.autojs.util.DisplayUtils.toRoundIntX
import org.autojs.autojs.util.DisplayUtils.toRoundIntY
import org.autojs.autojs.util.StringUtils.formatDouble

/**
 * Created by SuperMonster003 on Nov 19, 2022.
 */
class MetricsRangeFilter(private val mIntRangeProperty: IntRangeProperty, private val mMin: Double, private val mMax: Double) : Filter {

    interface IntRangeProperty {
        operator fun get(o: UiObject, min: Double, max: Double): Boolean
    }

    override fun filter(node: UiObject) = mIntRangeProperty[node, mMin, mMax]

    override fun toString() = "$mIntRangeProperty(${formatDouble(mMin)}, ${formatDouble(mMax)})"

    companion object {

        val LEFT = object : IntRangeProperty {
            override fun get(o: UiObject, min: Double, max: Double) = o.left() in toRoundIntX(min)..toRoundIntX(max)
            override fun toString() = "left"
        }

        val TOP = object : IntRangeProperty {
            override fun get(o: UiObject, min: Double, max: Double) = o.top() in toRoundIntY(min)..toRoundIntY(max)
            override fun toString() = "top"
        }

        val RIGHT = object : IntRangeProperty {
            override fun get(o: UiObject, min: Double, max: Double) = o.right() in toRoundIntX(min)..toRoundIntX(max)
            override fun toString() = "right"
        }

        val BOTTOM = object : IntRangeProperty {
            override fun get(o: UiObject, min: Double, max: Double) = o.bottom() in toRoundIntY(min)..toRoundIntY(max)
            override fun toString() = "bottom"
        }

        val


WAYS, "ERROR: %s not found\n", xfm_param.c_str());
			m_enable_job_routing = false;
		}
	}

	// last we look for params of the form JOB_ROUTER_ROUTE_<name> where <name> is one of the names listed in JOB_ROUTER_ROUTE_NAMES
	// This the the way submit transforms works in the schedd
	StringTokenIterator names(route_names);
	std::string knob;
	for (const char * name = names.first(); name != NULL; name = names.next()) {
		if (YourStringNoCase(name) == "NAMES") continue;
		knob = "JOB_ROUTER_ROUTE_"; knob += name;
		const char * route_str = param_unexpanded(knob.c_str());
		if ( ! route_str) continue; // this is probably in JOB_ROUTER_ENTRIES or such

		while (isspace(*route_str)) ++route_str;
		if ( ! *route_str) {
			dprintf( D_ALWAYS, "JOB_ROUTER_ROUTE_%s definition is empty, ignoring.\n", name );
			continue;
		}

		ParseRoute(route_str, name, allow_empty_requirements, new_routes);
	}

	if(!m_enable_job_routing) {
		delete new_routes;
		return;
	}

	SetRoutingTable(new_routes);

		// Whether to release the source job if the routed job
		// goes on hold
	m_release_on_hold = param_boolean("JOB_ROUTER_RELEASE_ON_HOLD", true);

	m_round_robin_selection = param_boolean("JOB_ROUTER_ROUND_ROBIN_SELECTION", false);

		// default is no maximum (-1)
	m_max_jobs = param_integer("JOB_ROUTER_MAX_JOBS",-1);

	m_max_job_mirror_update_lag = param_integer("MAX_JOB_MIRROR_UPDATE_LAG",600);

	Timeslice periodic_interval;
	periodic_interval.setMinInterval(param_integer("PERIODIC_EXPR_INTERVAL", 60));
	periodic_interval.setMaxInterval(param_integer("MAX_PERIODIC_EXPR_INTERVAL", 1200) );
	periodic_interval.setTimeslice(param_double("PERIODIC_EXPR_TIMESLICE", 0.01, 0, 1));

		// read the polling period and if one is not specified use
		// default value of 10 seconds
	m_job_router_polling_period = param_integer("JOB_ROUTER_POLLING_PERIOD",10);

		// clear previous timers
	if ( ! m_operate_as_tool) {
		if (m_job_router_polling_timer >= 0) {
			daemonCore->Cancel_Timer(m_job_router_polling_timer);
		}
		if (m_periodic_timer_id >= 0) {
			daemonCore->Cancel_Timer(m_periodic_timer_id);
		}
			// register timer handlers
		m_job_router_polling_timer = daemonCore->Register_Timer(
										0,
										m_job_router_polling_period,
										(TimerHandlercpp)&JobRouter::Poll,
										"JobRouter::Poll", this);

		if (periodic_interval.getMinInterval() > 0) {
			m_periodic_timer_id = daemonCore->Register_Timer(periodic_interval,
									(TimerHandlercpp)&JobRouter::EvalAllSrcJobPeriodicExprs,
									"JobRouter::EvalAllSrcJobPeriodicExprs",
									this);
			dprintf(D_FULLDEBUG, "JobRouter: Registered EvalAllSrcJobPeriodicExprs() to evaluate periodic expressions.\n


_value(), u64::max_value(), WithdrawReasons::all());
			Balances::set_lock(ID_1, &1, 5, u64::max_value(), WithdrawReasons::all());
			assert_ok!(<Balances as Currency<_>>::transfer(&1, &2, 1, AllowDeath));
		});
}

#[test]
fn double_locking_should_work() {
	ExtBuilder::default()
		.existential_deposit(1)
		.monied(true)
		.build()
		.execute_with(|| {
			Balances::set_lock(ID_1, &1, 5, u64::max_value(), WithdrawReasons::all());
			Balances::set_lock(ID_2, &1, 5, u64::max_value(), WithdrawReasons::all());
			assert_ok!(<Balances as Currency<_>>::transfer(&1, &2, 1, AllowDeath));
		});
}

#[test]
fn combination_locking_should_work() {
	ExtBuilder::default()
		.existential_deposit(1)
		.monied(true)
		.build()
		.execute_with(|| {
			Balances::set_lock(ID_1, &1, u64::max_value(), 0, WithdrawReasons::none());
			Balances::set_lock(ID_2, &1, 0, u64::max_value(), WithdrawReasons::none());
			Balances::set_lock(ID_3, &1, 0, 0, WithdrawReasons::all());
			assert_ok!(<Balances as Currency<_>>::transfer(&1, &2, 1, AllowDeath));
		});
}

#[test]
fn lock_value_extension_should_work() {
	ExtBuilder::default()
		.existential_deposit(1)
		.monied(true)
		.build()
		.execute_with(|| {
			Balances::set_lock(ID_1, &1, 5, u64::max_value(), WithdrawReasons::all());
			assert_noop!(
				<Balances as Currency<_>>::transfer(&1, &2, 6, AllowDeath),
				Error::<Test, _>::LiquidityRestrictions
			);
			Balances::extend_lock(ID_1, &1, 2, u64::max_value(), WithdrawReasons::all());
			assert_noop!(
				<Balances as Currency<_>>::transfer(&1, &2, 6, AllowDeath),
				Error::<Test, _>::LiquidityRestrictions
			);
			Balances::extend_lock(ID_1, &1, 8, u64::max_value(), WithdrawReasons::all());
			assert_noop!(
				<Balances as Currency<_>>::transfer(&1, &2, 3, AllowDeath),
				Error::<Test, _>::LiquidityRestrictions
			);
		});
}

#[test]
fn lock_reasons_should_work() {
	ExtBuilder::default()
		.existential_deposit(1)
		.monied(true)
		.build()
		.execute_with(|| {
			Balances::set_lock(ID_1, &1, 10, u64::max_value(), WithdrawReason::Transfer.into());
			assert_noop!(
				<Balances as Currency<_>>::transfer(&1, &2, 1, AllowDeath),
				Error::<Test, _>::LiquidityRestrictions
			);
			assert_ok!(<Balances as ReservableCurrency<_>>::reserve(&1, 1));
			// NOTE: this causes a fee payment.
			assert!(<ChargeTransactionPayment<Test> as SignedExtension>::pre_dispatch(
				ChargeTransactionPayment::from(1),
				&1,
				CALL,
				info_from_weight(1),
				0,
			)
			.is_ok());

			Balances::set_lock(ID_1, &1, 10, u64::max_value(), WithdrawReason::Reserve.into());
			assert_ok!(<Balances as Currency<_>>::transfer(&1, &2,


[0] == "0" {
						// Reset.
						a.attributes = ""
						if _, err := a.buffer.WriteString("[-:-:-]"); err != nil {
							return 0, err
						}
						break
					}
					lookupColor := func(colorNumber int) string {
						if colorNumber < 0 || colorNumber > 15 {
							return "black"
						}
						return []string{
							"black",
							"maroon",
							"green",
							"olive",
							"navy",
							"purple",
							"teal",
							"silver",
							"gray",
							"red",
							"lime",
							"yellow",
							"blue",
							"fuchsia",
							"aqua",
							"white",
						}[colorNumber]
					}
				FieldLoop:
					for index, field := range fields {
						switch field {
						case "1", "01":
							if !strings.ContainsRune(a.attributes, 'b') {
								a.attributes += "b"
							}
						case "2", "02":
							if !strings.ContainsRune(a.attributes, 'd') {
								a.attributes += "d"
							}
						case "4", "04":
							if !strings.ContainsRune(a.attributes, 'u') {
								a.attributes += "u"
							}
						case "5", "05":
							if !strings.ContainsRune(a.attributes, 'l') {
								a.attributes += "l"
							}
						case "22":
							if i := strings.IndexRune(a.attributes, 'b'); i >= 0 {
								a.attributes = a.attributes[:i] + a.attributes[i+1:]
							}
							if i := strings.IndexRune(a.attributes, 'd'); i >= 0 {
								a.attributes = a.attributes[:i] + a.attributes[i+1:]
							}
						case "24":
							if i := strings.IndexRune(a.attributes, 'u'); i >= 0 {
								a.attributes = a.attributes[:i] + a.attributes[i+1:]
							}
						case "25":
							if i := strings.IndexRune(a.attributes, 'l'); i >= 0 {
								a.attributes = a.attributes[:i] + a.attributes[i+1:]
							}
						case "30", "31", "32", "33", "34", "35", "36", "37":
							colorNumber, _ := strconv.Atoi(field)
							foreground = lookupColor(colorNumber - 30)
						case "39":
							foreground = "-"
						case "40", "41", "42", "43", "44", "45", "46", "47":
							colorNumber, _ := strconv.Atoi(field)
							background = lookupColor(colorNumber - 40)
						case "49":
							background = "-"
						case "90", "91", "92", "93", "94", "95", "96", "97":
							colorNumber, _ := strconv.Atoi(field)
							foreground = lookupColor(colorNumber - 82)
						case "100", "101", "102", "103", "104", "105", "106", "107":
							colorNumber, _ := strconv.Atoi(field)
							background = lookupColor(colorNumber - 92)
						case "38", "48":
							var color string
							if len(fields) > index+1 {
								if fields[index+1] == "5" && len(fields) > index+2 { // 8-bit colors.
									colorNumber, _ := strconv.Atoi(fields[index+2])
									if colorNumber <= 15 {
										color = lookupColor(colorNumber)
									} else if colorNumber <= 231 {
										red := (colorNumber - 16) / 36
										green := ((colorNumber - 16) / 6) % 6
										blue := (colorNumber - 16) % 6
										color = fmt.Sprintf("#%02x%02x%02x", 255*red/5, 255*green/5, 255*blue/5)
									} else if colorNumber <= 255 {
										grey := 255 *


;
    isAlignY = json['isAlignY'] != null ? json['isAlignY'] : false;
    tFontWeight = json['tFontWeight'] != null ? json['tFontWeight'] : FontWeightTypeNormal;
    tFontStyle = json['tFontStyle'] != null ? fromJsonFontStyle(json['tFontStyle']) : FontStyle.normal;
    tFontSize = json['fontSize'] != null ? json['fontSize'] : DEFAULT_FONT_SIZE;
    borderRadius = json['borderRadius'] != null ? fromJsonBorderRadius(json['borderRadius']) : BorderRadius.circular(16.0);
    borderColor = json['borderColor'] != null ? fromJsonColor(json['borderColor']) : TRANSPARENT_COLOR;
    borderWidth = json['borderWidth'] != null ? json['borderWidth'] : DEFAULT_BORDER_WIDTH;
    isExpanded = json['isExpanded'] != null ? json['isExpanded'] : false;
    flex = json['flex'] != null ? json['flex'] : DEFAULT_FLEX;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    if (this.labelPadding != null) {
      data['labelPadding'] = toJsonPadding(this.labelPadding!);
    }
    if (this.text != null) {
      data['text'] = this.text;
    }
    if (this.textColor != null) {
      data['textColor'] = toJsonColor(this.textColor!);
    }
    if (this.bgColor != null) {
      data['bgColor'] = toJsonColor(this.bgColor!);
    }
    if (this.elevation != null) {
      data['elevation'] = this.elevation;
    }
    if (this.shadowColor != null) {
      data['shadowColor'] = toJsonColor(this.shadowColor!);
    }
    if (this.padding != null) {
      data['padding'] = toJsonPadding(this.padding!);
    }
    if (this.horizontalAlignment != null && this.verticalAlignment != null) {
      data['horizontalAlignment'] = this.horizontalAlignment;
      data['verticalAlignment'] = this.verticalAlignment;
    } else if (this.horizontalAlignment != null) {
      data['horizontalAlignment'] = this.horizontalAlignment;
    } else if (this.verticalAlignment != null) {
      data['verticalAlignment'] = this.verticalAlignment;
    }
    if (this.isAlignX != null) {
      data['isAlignX'] = this.isAlignX;
    }
    if (this.isAlignY != null) {
      data['isAlignY'] = this.isAlignY;
    }
    if (this.tFontWeight != null) {
      data['tFontWeight'] = this.tFontWeight;
    }
    if (this.tFontStyle != null) {
      data['tFontStyle'] = toJsonFontStyle(this.tFontStyle);
    }
    if (this.tFontSize != null) {
      data['fontSize'] = this.tFontSize;
    }
    if (this.borderRadius != null) {
      data['borderRadius'] = toJsonBorderRadius(this.borderRadius!);
    }
    if (this.borderColor != null) {
      data['borderColor'] = toJsonColor(this.borderColor!);
    }
    if (this.borderWidth != null) {
      data['borderWidth'] = this.borderWidth;
    }
    if (this.isExpanded != null) {
      data['isExpanded'] = this.isExpanded;
    }
    if (this.flex != null) {
      data['flex'] = this.flex;
    }

    return data;
  }

  Widget getDefaultChipWidget(WidgetModel widgetModel) {
    Widget childData = Chip(
      labelPadding: labelPadding ?? EdgeInsets.symmetric(horizontal: 4, vertical: 0),
      label: Text(text ?? 'Chip View'),
      labelStyle: TextStyle(
        color: textColor ?? DEFAULT_CHIP_TEXT_COLOR,
        fontSize: tFontSize ?? DEFAULT_FONT_SIZE,
        fontWeight: tFontWeight != null ? getFontWeight(tFontWeight) : FontWeight.normal,


glabel func_80A31234
/* 008C4 80A31234 27BDFFE8 */  addiu   $sp, $sp, 0xFFE8           ## $sp = FFFFFFE8
/* 008C8 80A31238 AFBF0014 */  sw      $ra, 0x0014($sp)
/* 008CC 80A3123C AFA5001C */  sw      $a1, 0x001C($sp)
/* 008D0 80A31240 948E02AC */  lhu     $t6, 0x02AC($a0)           ## 000002AC
/* 008D4 80A31244 00803025 */  or      $a2, $a0, $zero            ## $a2 = 00000000
/* 008D8 80A31248 3C1880A3 */  lui     $t8, %hi(func_80A311E0)    ## $t8 = 80A30000
/* 008DC 80A3124C 31CF0004 */  andi    $t7, $t6, 0x0004           ## $t7 = 00000000
/* 008E0 80A31250 11E00010 */  beq     $t7, $zero, .L80A31294
/* 008E4 80A31254 3C014170 */  lui     $at, 0x4170                ## $at = 41700000
/* 008E8 80A31258 271811E0 */  addiu   $t8, $t8, %lo(func_80A311E0) ## $t8 = 80A311E0
/* 008EC 80A3125C AC9802B4 */  sw      $t8, 0x02B4($a0)           ## 000002B4
/* 008F0 80A31260 84C5001C */  lh      $a1, 0x001C($a2)           ## 0000001C
/* 008F4 80A31264 AFA60018 */  sw      $a2, 0x0018($sp)
/* 008F8 80A31268 8FA4001C */  lw      $a0, 0x001C($sp)
/* 008FC 80A3126C 00052A03 */  sra     $a1, $a1,  8
/* 00900 80A31270 0C00B2DD */  jal     Flags_SetSwitch

/* 00904 80A31274 30A5003F */  andi    $a1, $a1, 0x003F           ## $a1 = 00000000
/* 00908 80A31278 8FA60018 */  lw      $a2, 0x0018($sp)
/* 0090C 80A3127C 24190032 */  addiu   $t9, $zero, 0x0032         ## $t9 = 00000032
/* 00910 80A31280 A0D902AF */  sb      $t9, 0x02AF($a2)           ## 000002AF
/* 00914 80A31284 0C041B33


,
				T: "H:mm:ss",
				f: "yyyy'ꈎ' M'ꆪ' d'ꑍ' tt h:mm",
				F: "yyyy'ꈎ' M'ꆪ' d'ꑍ' H:mm:ss",
				M: "M'ꆪ' d'ꑍ'",
				Y: "yyyy'ꈎ' M'ꆪ'"
			}
		}
	}
});

}( this ));
/*
 * Globalize Culture xh-ZA
 *
 * http://github.com/jquery/globalize
 *
 * Copyright Software Freedom Conservancy, Inc.
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * This file was generated by the Globalize Culture Generator
 * Translation: bugs found in this file need to be fixed in the generator
 */

(function( window, undefined ) {

var Globalize;

if ( typeof require !== "undefined" &&
	typeof exports !== "undefined" &&
	typeof module !== "undefined" ) {
	// Assume CommonJS
	Globalize = require( "globalize" );
} else {
	// Global variable
	Globalize = window.Globalize;
}

Globalize.addCultureInfo( "xh-ZA", "default", {
	name: "xh-ZA",
	englishName: "isiXhosa (South Africa)",
	nativeName: "isiXhosa (uMzantsi Afrika)",
	language: "xh",
	numberFormat: {
		percent: {
			pattern: ["-%n","%n"]
		},
		currency: {
			pattern: ["$-n","$ n"],
			symbol: "R"
		}
	},
	calendars: {
		standard: {
			days: {
				names: ["iCawa","uMvulo","uLwesibini","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"],
				namesShort: ["Ca","Mv","Lb","Lt","Ln","Lh","Mg"]
			},
			months: {
				names: ["Mqungu","Mdumba","Kwindla","Tshazimpuzi","Canzibe","Silimela","Khala","Thupha","Msintsi","Dwarha","Nkanga","Mnga",""]
			},
			patterns: {
				d: "yyyy/MM/dd",
				D: "dd MMMM yyyy",
				t: "hh:mm tt",
				T: "hh:mm:ss tt",
				f: "dd MMMM yyyy hh:mm tt",
				F: "dd MMMM yyyy hh:mm:ss tt",
				M: "dd MMMM",
				Y: "MMMM yyyy"
			}
		}
	}
});

}( this ));
/*
 * Globalize Culture tk-TM
 *
 * http://github.com/jquery/globalize
 *
 * Copyright Software Freedom Conservancy, Inc.
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * This file was generated by the Globalize Culture Generator
 * Translation: bugs found in this file need to be fixed in the generator
 */

(function( window, undefined ) {


WDE.DbcStore.DBCVersions.WOTLK_12340 or WDE.DbcStore.DBCVersions.TBC_8606;

        public string Path
        {
            get => path;
            set
            {
                SetProperty(ref path, value);
                IsModified = true;
            }
        }

        public bool SkipLoading
        {
            get => skipLoading;
            set
            {
                SetProperty(ref skipLoading, value);
                IsModified = true;
            }
        }

        public DBCVersions DBCVersion
        {
            get => dbcVersion;
            set
            {
                SetProperty(ref dbcVersion, value);
                IsModified = true;
            }
        }

        public DBCLocales DBCLocale
        {
            get => dbcLocale;
            set
            {
                SetProperty(ref dbcLocale, value);
                IsModified = true;
            }
        }

        private bool isModified;
        public string ShortDescription => "To get all editor features, you need to use DBC (client database) files. This should be the path to extracted DBC files, the same the server uses.";

        public bool IsModified
        {
            get => isModified;
            private set => SetProperty(ref isModified, value);
        }

        public ObservableCollection<DBCVersions> DBCVersions { get; }
        public ObservableCollection<DBCLocales> DBCLocales { get; }

        public string Name => "DBC";
        public ImageUri Icon { get; } = new ImageUri("Icons/document_table0_big.png");

        public ICommand Save { get; }
        public ICommand PickFolder { get; }

        public bool IsRestartRequired => true;
        public ConfigurableGroup Group => ConfigurableGroup.Basic;
    }
}


 '</log>';

		log_xml_idx( xml, idx );

		return idx - 1;
	};

	var dword2data = function( dword )
	{
		var d = Number( dword ).toString( 16 );
		while( d.length < 8 )
			d = '0' + d;
		return unescape( '%u' + d.substr( 4, 8 ) + '%u' + d.substr( 0, 4 ) );
	};

	this.type = function( name, obj, obj_hint )
	{
		if( typeof obj_hint == 'undefined' )
		{
			var id = "?";

			try
			{
				if( typeof obj.id != 'undefined' )
					return obj.id;
			} catch(e){}

			obj_hint = "%" + name + "%";
		}

		return obj_hint;
	};
}
/*
 * Author: demi6od <demi6d@gmail.com>
 * Date: 2013 Oct 21st
 *
 * Note: the fuzzer is designed to run using Grinder Framework, if you want to run it without using Grinder:
 * - remove all dependencies of logger element
 */

demicm.propBlackList = [
    'id','idS', 'idR', 'demicm', 'console', 'logger', 'scripts', 'LOGGER',
    'innerHTML', 'innerText', 'outerHTML', 'outerText', 'textContent',
    'parentTextEdit', 'lastElementChild', 'firstElementChild', 'nextElementSibling', 'previousElementSibling',
    'ownerDocument', 'nextSibling', 'previousSibling', 'lastChild', 'firstChild', 'childNodes', 'parentNode',
    'parentElement', 'offsetParent', 'children', 'elements', 'body', 'head', 'all', 'view', 'self', 'window',

    'location',
    'URL', 'url', 'href',
    'origin', 'host', 'protocol', 'hostname', 'port', 'pathname',
    'search', 'name', 'history', 'hash', 'onbeforeunload', 'onunload',
    'defaultView', 'Components', 'controllers',
    'style', 'attributes', 'sheet', 'styleSheets', 'classList', // TODO

    'logger',
];
if (demicm.IS_IE) {
    demicm.propBlackList.push('designMode');
}

demicm.propDic = {
    wrap: {type: 'string', normalVal: ['off', 'virtual', 'physical'], dirtyVal: ['physical'], readOnly: false},
    behavior: {type: 'string', normalVal: ['scroll', 'slide', 'alternate'], dirtyVal: ['slide'], readOnly: false},
    direction: {type: 'string', normalVal: ['right', 'left'], dirtyVal: [], readOnly: false},
    contentEditable: {type: 'string', normalVal: ['true', 'false', 'plaintext-only', 'inherit'], dirtyVal: ['true'], readOnly: false},
    accessKey: {type: 'string', normalVal: demicm.alpha, dirtyVal: [], readOnly: false},
    dir: {type: 'string', normalVal: ['ltr', 'rtl', 'auto'], dirtyVal: ['rtl'], readOnly: false},
    lang: {type: 'string', normalVal: demicm.langs, dirtyVal: [], readOnly: false},
    hreflang: {type: 'string', normalVal: demicm.langs, dirtyVal: [], readOnly: false},
    srclang: {type: 'string', normalVal: demicm.langs, dirtyVal: [], readOnly: false},
    title: {type: 'string', normalVal: ['demiTitle'], dirtyVal: [], readOnly: false},
    name: {type: 'string', normalVal: ['demicmNodeName'], dirtyVal: [], readOnly: false},
    type: {type: 'string', normalVal: demicm.inputTypes, dirtyVal: [], readOnly: false},
    wholeText: {type: 'string', normalVal: [], dirtyVal: [], readOnly: true},
    // objectSpec => non-element object
    dataset: {type: 'objectSpec', normalVal: [{id: 'user', user: 'demi6od', dateOfBirty: '1960-10-03'}], dirtyVal: [], readOnly: false},
    classList


dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,0.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .custom-select:invalid,.custom-select.is-invalid{border-color:#dc3545;padding-right:calc(.75em + 2.3125rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px,url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") #fff no-repeat center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .custom-select:invalid:focus,.custom-select.is-invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,0.25)}.was-validated .form-check-input:invalid ~ .form-check-label,.form-check-input.is-invalid ~ .form-check-label{color:#dc3545}.was-validated .form-check-input:invalid ~ .invalid-feedback,.was-validated .form-check-input:invalid ~ .invalid-tooltip,.form-check-input.is-invalid ~ .invalid-feedback,.form-check-input.is-invalid ~ .invalid-tooltip{display:block}.was-validated .custom-control-input:invalid ~ .custom-control-label,.custom-control-input.is-invalid ~ .custom-control-label{color:#dc3545}.was-validated .custom-control-input:invalid ~ .custom-control-label::before,.custom-control-input.is-invalid ~ .custom-control-label::before{border-color:#dc3545}.was-validated .custom-control-input:invalid:checked ~ .custom-control-label::before,.custom-control-input.is-invalid:checked ~ .custom-control-label::before{border-color:#e4606d;background-color:#e4606d}.was-validated .custom-control-input:invalid:focus ~ .custom-control-label::before,.custom-control-input.is-invalid:focus ~ .custom-control-label::before{box-shadow:0 0 0 .2rem rgba(220,53,69,0.25)}.was-validated .custom-control-input:invalid:focus:not(:checked) ~ .custom-control-label::before,.custom-control-input.is-invalid:focus:not(:checked) ~ .custom-control-label::before{border-color:#dc3545}.was-validated .custom-file-input:invalid ~ .custom-file-label,.custom-file-input.is-invalid ~ .custom-file-label{border-color:#dc3545}.was-validated .custom-file-input:invalid:focus ~ .custom-file-label,.custom-file-input.is-invalid:focus ~ .custom-file-label{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,0.25)}.form-inline{display:flex;flex-flow:row wrap;align-items:center}.form-inline .form-check{width:100%}@m


re

	bsr GWVA_WIND_OBJ_PRG_UPDATE_TOOLB_AND_FORM_POS

	ifd MDL_WIND_FORM

	; est-ce la toolbar ?

	btst #GWVA_WIN_BIT_ATOOLBAR,GWVA_WIND_OBJ_PROPERTIES+1(a0)
	beq.s .no_toolbar

	move.l GWVA_WIND_OBJ_TOOLBAR_SPEC_PTR(a0),a1

	save.l a0-a1
	objc_find GWVA_WFORM_OBJ_FORM_PTR(a1),#0,#7,GWVA_APP_OBJ_EVNT_MULTI_MX,GWVA_APP_OBJ_EVNT_MULTI_MY
	load.l a0-a1

	tst d0
	bmi.s .not_in_toolbar
	move #1,d2			; redraw toolbar
	bra.s .traite_click_formulaire

.not_in_toolbar:
.no_toolbar:

	cmp.w #GWVA_WIND_TYPE_FORM,GWVA_WIND_OBJ_TYPE(a0)
	bne .pas_fenetre_formulaire

	move.l GWVA_WIND_OBJ_SPEC_PTR(a0),a1

	save.l a0-a1
	objc_find GWVA_WFORM_OBJ_FORM_PTR(a1),#0,#7,GWVA_APP_OBJ_EVNT_MULTI_MX,GWVA_APP_OBJ_EVNT_MULTI_MY
	load.l a0-a1

	tst d0
	bmi .pas_d_objet

	clr d2			; redraw contents

.traite_click_formulaire:
	move.l GWVA_WFORM_OBJ_FORM_PTR(a1),a2
	move d0,d3
	mulu #L_OBJECT,d3
	add.l d3,a2

	; on teste si je suis pas slectable mais que mon pre le serait
	; et dans ce cas on fait comme si il avait cliqu dans mon pre

	btst #0,ob_flags+1(a2)
	bne.s .je_suis_selectable

	save.l a0-a2/d0/d2
	move.l GWVA_WFORM_OBJ_FORM_PTR(a1),a0	; +d0 num obj
	bsr GWVA_FIND_FATHER_OBJECT
	move d0,d1
	move.l a0,a3
	load.l a0-a2/d0/d2
	tst d7
	bmi.s .click_in_root

	btst #0,ob_flags+1(a3)
	beq.s .je_suis_pas_selectable

	move d1,d0
	move.l a3,a2	; l'objet cliqu devient le pre

.je_suis_pas_selectable:
.click_in_root:
.je_suis_selectable:
	move ob_state(a2),d3
	btst #3,d3
	bne .object_disabled

	btst #3,ob_flags+1(a2)	; ditable ? G_FTEXT G_FBOXTEXT
	beq .pas_texte_editable

	; d0 : objet
	; d2 : quoi redressiner
	; d3 : tat de l'objet avant modifs
	; a0 : window
	; a1 : ptr form struct
	; a2 : ptr objet cliqu
	save.l d0/d2/d3/a0-a2
	v_hide_c
	movem.l (sp),d0/d2/d3/a0-a2
	objc_edit GWVA_WFORM_OBJ_FORM_PTR(a1),GWVA_WFORM_OBJ_FOCUSED_TXT(a1),#0,GWVA_WFORM_OBJ_CURSOR_POS(a1),#3
	movem.l (sp),d0/d2/d3/a0-a2
	move d0,GWVA_WFORM_OBJ_FOCUSED_TXT(a


@JvmField
    val APPLICATION_VND_3GPP_SRVCC_INFO_XML = "application/vnd.3gpp.SRVCC-info+xml"

    @JvmField
    val APPLICATION_VND_3GPP_STATE_AND_EVENT_INFO_XML = "application/vnd.3gpp.state-and-event-info+xml"

    @JvmField
    val APPLICATION_VND_3GPP_USSD_XML = "application/vnd.3gpp.ussd+xml"

    @JvmField
    val APPLICATION_VND_3GPP_V2X = "application/vnd.3gpp.v2x"

    @JvmField
    val APPLICATION_VND_3GPP_V2X_LOCAL_SERVICE_INFORMATION = "application/vnd.3gpp-v2x-local-service-information"

    @JvmField
    val APPLICATION_VND_3GPP_VAE_INFO_XML = "application/vnd.3gpp.vae-info+xml"

    @JvmField
    val APPLICATION_VND_3LIGHTSSOFTWARE_IMAGESCAL = "application/vnd.3lightssoftware.imagescal"

    @JvmField
    val APPLICATION_VND_3M_POST_IT_NOTES = "application/vnd.3M.Post-it-Notes"

    @JvmField
    val APPLICATION_VND_ACCPAC_SIMPLY_ASO = "application/vnd.accpac.simply.aso"

    @JvmField
    val APPLICATION_VND_ACCPAC_SIMPLY_IMP = "application/vnd.accpac.simply.imp"

    @JvmField
    val APPLICATION_VND_ACM_ADDRESSXFER_JSON = "application/vnd.acm.addressxfer+json"

    @JvmField
    val APPLICATION_VND_ACM_CHATBOT_JSON = "application/vnd.acm.chatbot+json"

    @JvmField
    val APPLICATION_VND_ACUCOBOL = "application/vnd.acucobol"

    @JvmField
    val APPLICATION_VND_ACUCORP = "application/vnd.acucorp"

    @JvmField
    val APPLICATION_VND_ADOBE_FLASH_MOVIE = "application/vnd.adobe.flash.movie"

    @JvmField
    val APPLICATION_VND_ADOBE_FORMSCENTRAL_FCDT = "application/vnd.adobe.formscentral.fcdt"

    @JvmField
    val APPLICATION_VND_ADOBE_FXP = "application/vnd.adobe.fxp"

    @JvmField
    val APPLICATION_VND_ADOBE_PARTIAL_UPLOAD = "application/vnd.adobe.partial-upload"

    @JvmField
    val APPLICATION_VND_ADOBE_XDP_XML = "application/vnd.adobe.xdp+xml"

    @JvmField
    val APPLICATION_VND_AETHER_IMP = "application/vnd.aether.imp"

    @JvmField
    val APPLICATION_VND_AFPC_AFPLINEDATA = "application/vnd.afpc.afplinedata"

    @JvmField
    val APPLICATION_VND_AFPC_AFPLINEDATA_PAGEDEF = "application/vnd.afpc.afplinedata-pagedef"

    @JvmField
    val APPLICATION_VND_AFPC_CMOCA_CMRESOURCE = "application/vnd.afpc.cmoca-cmresource"

    @JvmField
    val APPLICATION_VND_AFPC_FOCA_CHARSET = "application/vnd.afpc.foca-charset"

    @JvmField
    val APPLICATION_VND_AFPC_FOCA_CODEDFONT = "application/vnd.afpc.foca-codedfont"

    @JvmField
    val APPLICATION_VND_AFPC_FOCA_CODEPAGE = "application/vnd.afpc.foca-codepage"

    @JvmField
    val APPLICATION_VND_AFPC_MODCA = "applica


 succeed) {
  handle_->execute();
  test_msgs::action::Fibonacci::Result::SharedPtr result =
    std::make_shared<test_msgs::action::Fibonacci::Result>();
  handle_->succeed(result);
  EXPECT_FALSE(handle_->is_canceling());
  EXPECT_FALSE(handle_->is_active());
  EXPECT_FALSE(handle_->is_executing());

  auto mock = mocking_utils::patch_and_return(
    "lib:rclcpp_action", rcl_action_update_goal_state, RCL_RET_ERROR);
  EXPECT_THROW(handle_->succeed(result), rclcpp::exceptions::RCLError);
}

TEST_F(TestServerGoalHandle, execute) {
  handle_->execute();
  EXPECT_FALSE(handle_->is_canceling());
  EXPECT_TRUE(handle_->is_active());
  EXPECT_TRUE(handle_->is_executing());

  auto mock = mocking_utils::patch_and_return(
    "lib:rclcpp_action", rcl_action_update_goal_state, RCL_RET_ERROR);
  EXPECT_THROW(handle_->execute(), rclcpp::exceptions::RCLError);
}

TEST_F(TestServerGoalHandle, rcl_action_goal_handle_get_status_error) {
  auto mock = mocking_utils::patch_and_return(
    "lib:rclcpp_action", rcl_action_goal_handle_get_status, RCL_RET_ERROR);

  EXPECT_THROW(handle_->is_canceling(), rclcpp::exceptions::RCLError);
  EXPECT_NO_THROW(handle_->is_active());
  EXPECT_THROW(handle_->is_executing(), rclcpp::exceptions::RCLError);
}
// Copyright 2018 Open Source Robotics Foundation, Inc.
//
// 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.

#include <algorithm>
#include <map>
#include <memory>
#include <random>
#include <string>
#include <utility>
#include <variant>

#include "rcl_action/action_client.h"
#include "rcl_action/wait.h"
#include "rclcpp/node_interfaces/node_base_interface.hpp"
#include "rclcpp/node_interfaces/node_logging_interface.hpp"

#include "rclcpp_action/client_base.hpp"

namespace rclcpp_action
{

struct ClientBaseData
{
  struct FeedbackReadyData
  {
    FeedbackReadyData(rcl_ret_t retIn, std::shared_ptr<void> msg)
    : ret(retIn), feedback_message(msg) {}
    rcl_ret_t ret;
    std::shared_ptr<void> feedback_message;
  };
  struct StatusReadyData
  {
    StatusReadyData(rcl_ret_t retIn, std::shared_ptr<void> msg)
    : ret(retIn), status_message(msg) {}
    rcl_ret_t ret;
    std::shared_ptr<void> status_message;
  };
  struct GoalResponseData
  {
    GoalResponseData(rcl_ret_t retIn, rmw_request_id_t header, std::shared_ptr<void> response)
    : ret(retIn), response_header(header), goal_response(response) {}
    rcl_ret_t ret;
    rmw_request_id_t response_header;
    std::shared_ptr<void> goal_response;
  };
  struct Canc


				mvars.playingParasiteAppearanceDemo = false
				end,
				option = { isExecDemoPlaying = true },
			},
		},
		Network = {
			{
				msg = "FobPeerNameResolved",
				func = function ()
					TppUiCommand.AnnounceLogView("Co-op partner connecting")
				end
			},
		},
		Nt = {
			{
				msg = "SessionDeleteMember",
				func = function ()
					TppUiCommand.AnnounceLogView("Client Player Disconnected!")
				end
			},
			{
				msg = "SessionDisconnectFromHost",
				func = function ()
					TppUiCommand.AnnounceLogView("Host Player Disconnected!")
				end
			},
		},
		nil
	}
end

function this.IsFultonCargo()
	if TppMotherBaseManagement.IsEquipDeveloped{ equipID = TppEquip.EQP_IT_Fulton_Cargo }	then
		return true
	else
		return false
	end

end

function this.IsAppearanceParasites()
	local blRetcode = false
	if svars.isAppearanceParasites == false then
		blRetcode = false
	else
		if svars.isDyingAllParasites == false then
			blRetcode = true
		else
			blRetcode = false
		end
	end
	return blRetcode
end

function this.IsMainSequence()
	local sequenceName	 = TppSequence.GetCurrentSequenceName()
	local blRetcode = false
	if sequenceName == "Seq_Game_MainGame" then
		blRetcode = true
	end
	return blRetcode
end

this.IsSequenceEnemyVehicleAction = function( isCheckAction )
	for i, params in ipairs( this.checkSettingTable ) do
		if svars.eventSequenceIndex == params.eventSequenceIndex then
			if isCheckAction == params.isCheckAction then
				return true
			end
			return false
		end
	end
	Fox.Warning(" IsSequenceEnemyVehicleAction : NoEventSequenceIndexName !! ")
	return false
end

function this.CheckTimerParasites()

	local gameObjectName	= s10090_enemy.VEHICLE_NAME.TRUCK_TARGET
	local vehiclePosition	= s10090_enemy.GetVehiclePosition( gameObjectName )

	if this.GetVehicleValue( this.ENUM_VEHICLE_VALUE_TYPE.PRESENCE, s10090_enemy.VEHICLE_NAME.TRUCK_TARGET ) == true then
		return
	end

	if DEBUG then
		if this.DEBUG_NO_PARASITES_APPEAR == true then
			return
		end
	end

	if svars.isDyingAllParasites == false then
		local inRange, outRange = this.GetPlayerRange( "InRange" )
		if this.IsPlayerInRange( vehiclePosition, inRange ) then
			local demoEndFunction = function()
				this.SetStartParasites()
				this.acpDriver_OnOffCheck()
				TppMission.UpdateObjective{ objectives = {"on_target_vehicle","on_subGoal_missiontarget"}, }
				svars.isMarkingVehicle01 = true
				TppUiCommand.InitAllEnemyRoutePoints()
			end
			if svars.isAppearanceParasites == false then

				if s10090_enemy.IsVehicleStateFulton( s10090_enemy.VEHICLE_NAME.TRUCK_TARGET ) == true then
					svars.isAppearanceParasites = true

					s10090_enemy.StartSearch()

					TppScriptBlock.LoadDemoBlock( "Demo_ParasiteAppearance" )

					s10090_sound.SetParasitesStart()

					mvars.playingParasiteAppearanceDemo = true
					s10090


 data: Vec<u8> = [0; 100000].to_vec();
        let chunk_size = 512;

        let packets = Encoder::default()
            .encode(EncodeArgs {
                id,
                encryption,
                data: &data,
                max_packet_size: chunk_size,
                signer: &NoopAuthenticator,
            })
            .unwrap();

        // All packets should be no larger than chunk size
        for (i, p) in packets.iter().enumerate() {
            let actual_size = p.to_vec().unwrap().len();
            assert!(
                actual_size <= chunk_size,
                "Serialized packet {}/{} was {} bytes instead of max size of {}",
                i + 1,
                packets.len(),
                actual_size,
                chunk_size
            );
        }
    }
}
<gh_stars>0
pub const FT_FLAGS_RETURN_DISPOSABLE: isize = 0x1;

pub const FT_FLAGS_RETURNS_MUTABLE: isize = 0x2;

pub const FT_FLAGS_RETURNS_VOID_TO_RX: isize = 0x4;

pub const FT_FLAGS_IS_COROUTINE: isize = 0x8;

pub const FT_FLAGS_ASYNC: isize = 0x10;

pub const FT_FLAGS_GENERATOR: isize = 0x20;

pub const FT_FLAGS_INSTANTIATED_TARGS: isize = 0x100;

// These flags are used for return type on FunType and parameter for FunParam
pub const MUTABLE_FLAGS_OWNED: isize = 0x40;

pub const MUTABLE_FLAGS_BORROWED: isize = 0x80;

pub const MUTABLE_FLAGS_MAYBE: isize = 0xC0;

pub const MUTABLE_FLAGS_MASK: isize = 0xC0;

pub const FP_FLAGS_ACCEPT_DISPOSABLE: isize = 0x1;

pub const FP_FLAGS_INOUT: isize = 0x2;

pub const FP_FLAGS_HAS_DEFAULT: isize = 0x4;
<reponame>lutostag/exercism
#[macro_use]
extern crate lazy_static;

use std::collections::HashMap;

const ALPHABET: &'static str = "abcdefghijklmnopqrstuvwxyz";
lazy_static! {
    static ref ATBASH_KEY: HashMap<char, char> =
        ALPHABET.chars().rev().zip(ALPHABET.chars()).collect();
}

fn filter_swap<'a>(text: &'a str) -> impl Iterator<Item = char> + 'a {
    text.chars()
        .filter(char::is_ascii_alphanumeric)
        .map(|c| c.to_ascii_lowercase())
        .map(|c| ATBASH_KEY.get(&c).unwrap_or(&c).clone())
}

/// "Decipher" with the Atbash cipher.
pub fn decode(cipher: &str) -> String {
    filter_swap(cipher).collect()
}

/// "Encipher" with the Atbash cipher.
pub fn encode(plain: &str) -> String {
    let mut spaced = String::with_capacity(plain.len());
    for (idx, c) in filter_swap(plain).enumerate() {
        spaced.push(c);
        if (idx + 1) % 5 == 0 {
            spaced.push(' ');
        }
    }
    String::from(spaced.trim())
}
// This file is generated. Do not edit
// @generated

// https://github.com/Manishearth/rust-clippy/issues/702
#![allow(unknown_lints)]
#![allow(clippy::all)]

#![cfg_attr(rustfmt, rustfmt_skip)]

#![allow(box_pointers)]
#![allow(dead_code)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(non_upper_case_globals)]
#![allow(trivial_casts)]
#![allow(unsafe_code)]
#![allow(unused_imports)]
#![allow(unused_results)]

use protobuf::Message as Message_imported_for_functions;
use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;

#[derive(Clone,Default)]
pub struct ReadRowsRequest {
    // message fields
    table_name: ::protobuf::SingularField


expr.match.needsContext,x=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function z(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return n.inArray(a,b)>-1!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;e>b;b++)if(n.contains(d[b],this))return!0}));for(b=0;e>b;b++)n.find(a,d[b],c);return c=this.pushStack(e>1?n.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(z(this,a||[],!1))},not:function(a){return this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,"string"==typeof a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=n.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||A,"string"==typeof a){if(e="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:B.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}if(f=d.getElementById(e[2]),f&&f.parentNode){if(f.id!==e[2])return A.find(a);this.length=1,this[0]=f}return this.context=d,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof c.ready?c.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};C.prototype=n.fn,A=n(d);var D=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};n.fn.extend({has:function(a){var b,c=n(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(n.contains(this,c[b]))return


"""Script for syncing files form s3 down to your local machine.

Code is heavily based on
https://github.com/rll/rllab/blob/master/scripts/sync_s3.py
"""

import sys
from flow import config
import os
import argparse
sys.path.append('.')

if __name__ == "__main__":
    parser = argparse.ArgumentParser()
    parser.add_argument('folder', type=str, default=None, nargs='?')
    parser.add_argument('--dry', action='store_true', default=False)
    parser.add_argument('--bare', action='store_true', default=False)
    args = parser.parse_args()
    remote_dir = config.AWS_S3_PATH
    local_dir = os.path.join(config.LOG_DIR, "s3")
    if args.folder:
        remote_dir = os.path.join(remote_dir, args.folder)
        local_dir = os.path.join(local_dir, args.folder)
    if args.bare:
        command = (
            ("aws s3 sync {remote_dir} {local_dir} --exclude '*' --include " +
             "'*.csv' --include '*.json' --content-type \"UTF-8\"")
            .format(local_dir=local_dir, remote_dir=remote_dir))
    else:
        command = (
            ("aws s3 sync {remote_dir} {local_dir} --exclude '*stdout.log' " +
             "--exclude '*stdouterr.log' --content-type \"UTF-8\"")
            .format(local_dir=local_dir, remote_dir=remote_dir))
    if args.dry:
        print(command)
    else:
        os.system(command)


: .1875em;
        width: 1.375em
    }
}

@keyframes animate-toast-success-long {
    0% {
        top: 1.625em;
        right: 1.375em;
        width: 0
    }

    65% {
        top: 1.25em;
        right: .9375em;
        width: 0
    }

    84% {
        top: .9375em;
        right: 0;
        width: 1.125em
    }

    100% {
        top: .9375em;
        right: .1875em;
        width: 1.375em
    }
}

body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) {
    overflow: hidden
}

body.swal2-height-auto {
    height: auto !important
}

body.swal2-no-backdrop .swal2-shown {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    background-color: transparent
}

body.swal2-no-backdrop .swal2-shown>.swal2-modal {
    box-shadow: 0 0 10px rgba(0, 0, 0, .4)
}

body.swal2-no-backdrop .swal2-shown.swal2-top {
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%)
}

body.swal2-no-backdrop .swal2-shown.swal2-top-left,
body.swal2-no-backdrop .swal2-shown.swal2-top-start {
    top: 0;
    left: 0
}

body.swal2-no-backdrop .swal2-shown.swal2-top-end,
body.swal2-no-backdrop .swal2-shown.swal2-top-right {
    top: 0;
    right: 0
}

body.swal2-no-backdrop .swal2-shown.swal2-center {
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%)
}

body.swal2-no-backdrop .swal2-shown.swal2-center-left,
body.swal2-no-backdrop .swal2-shown.swal2-center-start {
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%)
}

body.swal2-no-backdrop .swal2-shown.swal2-center-end,
body.swal2-no-backdrop .swal2-shown.swal2-center-right {
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%)
}

body.swal2-no-backdrop .swal2-shown.swal2-bottom {
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%)
}

body.swal2-no-backdrop .swal2-shown.swal2-bottom-left,
body.swal2-no-backdrop .swal2-shown.swal2-bottom-start {
    bottom: 0;
    left: 0
}

body.swal2-no-backdrop .swal2-shown.swal2-bottom-end,
body.swal2-no-backdrop .swal2-shown.swal2-bottom-right {
    right: 0;
    bottom: 0
}

.swal2-container {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: row;
    align-items: ce


观念。

> 事实/价值的两分是当代人最广泛接受的一对反思范畴, 无论在学院里, 还是在日常论理中, 我们到处听到这个两分, 听到人们谈论事实判断和价值判断——“这是银元”是个事实判断, “银元是好东西”是个价值判断。
>
> 在伦理学方向上,人们谈论事实与价值;休谟问:我们怎么能从是跳到应当?
>
> 并没有两个世界,一个事实世界,一个价值世界,我们也不掌握把价值贴到事实上的魔法。我们原本并不生活在赤裸裸的事实当中,然后在这些事实上增添上价值或感情色彩。有价值的世界是我们的原生世界。

## 展开阐述

“事实与价值二分法”是现代思想中的一个核心区分，它深刻地影响了我们对知识、伦理和社会科学的理解。它主张存在两种根本不同类型的判断：关于客观世界是什么样子的“事实判断”，以及表达主观好恶、评价或规范的“价值判断”。

### 思想根源
这一区分的经典源头是苏格兰哲学家休谟提出的“是-应当问题”（Is-Ought Problem）。休谟观察到，许多论证常常在描述“是什么”（is）之后，悄然跳跃到规定“应该是什么”（ought），而这两种陈述之间存在一道无法单靠逻辑跨越的鸿沟。

### 核心观念与影响
1.  **两个世界**：这种二分法倾向于将世界设想为两个领域：一个是由客观、中立、可验证的事实构成的“事实世界”，另一个是由主观、多变、无法被证实的“价值世界”组成。
2.  **价值中立**：受此影响，尤其是在社会科学领域，研究者被要求保持“价值中立”，即在研究中只陈述事实，避免掺入个人的价值评价，以追求科学的客观性。
3.  **事实的说话方式**：为了实现这种分离，论证和科学研究需要采用一种“事实的说话方式”，即尽量使用不含评价色彩的“薄瘠概念”（如“4000元”）来代替充满评价和情感的“厚实概念”（如“太贵了”），从而使陈述能够被不同立场的人共同接受为事实依据。

### 文本的批判
原文作者对这一二分法的普遍滥用提出了批判：
- **原生世界本为一体**：我们并非生活在一个赤裸裸的事实世界中，然后再主观地“赋予”其价值。在我们的“原生世界”里，事实与价值是直接


sionManager.getSessionKey();
    final params = {
      if (sessionKey == null) 'user_id': chat.chatContext.currentUserId,
      'SB-User-Agent': _sbUserAgentHeader,
      'SB-SDK-USER-AGENT': _sbSdkUserAgentHeader,
      'expiring_session':
          chat.eventManager.getSessionHandler() != null ? '1' : '0',
      'include_extra_data': chat.extraData.join(','),
      'include_poll_details': '1',
    };
    params.addAll(await _getWebSocketParams(
        userId: chat.chatContext.currentUser?.userId ?? ''));

    final url =
        '${chat.chatContext.wsHost}/?${Uri(queryParameters: params).query}';

    runZonedGuarded(() {
      sbLog.d(StackTrace.current, 'webSocketClient?.connect()');

      chat.statManager.startWsConnectStat(hostUrl: url);
      if (chat.chatContext.reconnectTask != null) {
        chat.chatContext.reconnectTask?.url = url;
      }

      webSocketClient.connect(
        url: url,
        accessToken: chat.chatContext.accessToken,
        sessionKey: sessionKey,
        reconnect: true,
      );

      reconnectTimer?.cancel();
      reconnectTimer = null;
    }, (e, s) {
      sbLog.e(StackTrace.current, 'e: $e');

      if (e is SendbirdException) {
        chat.statManager.endWsConnectStat(
          hostUrl: url,
          success: false,
          errorCode: e.code,
          errorDescription: e.message,
          accumTrial: chat.chatContext.reconnectTask?.retryCount ?? 1,
          connectionId: chat.chatContext.reconnectTask?.id ?? const Uuid().v1(),
        );
      } else {
        final exception = WebSocketFailedException(message: e.toString());

        chat.statManager.endWsConnectStat(
          hostUrl: url,
          success: false,
          errorCode: exception.code,
          errorDescription: exception.message,
          accumTrial: chat.chatContext.reconnectTask?.retryCount ?? 1,
          connectionId: chat.chatContext.reconnectTask?.id ?? const Uuid().v1(),
        );
      }
    });
  }

//------------------------------//
// WebSocket Event Listener
//------------------------------//
  void _onWebSocketConnected() {
    // Nothing to do here.
  }

  void _onWebSocketClosed() {
    chat.commandManager.clearCompleterMap();

    final closeCode = webSocketClient.getCloseCode();
    if (closeCode != null) {
      chat.statManager.appendWsDisconnectStat(
        success: true,
        errorCode: SendbirdError.webSocketConnectionClosed,
        errorDescription: "cause=$closeCode",
      );
    }
  }

  Future<void> _onWebSocketData(dynamic data) async {
    if (data == null) return;

    String commandString;
    if (data.runtimeType == String) {
      commandString = (data as String);
    } else {
      commandString =
          const Utf8Decoder(allowMalformed: true).convert(data as List<int>);
    }

    if (commandString.isEmpty) return;
    List<Command> commands = CommandManager.parseCommandsString(commandString);
    if (commands.isEmpty) return;

    runZonedGuarded(() async {
      try {
        for (final command in commands) {
          await chat.commandManager.processCommand(command);
        }
      } catch (e) {
        sbLog.e(StackTrace.current, 'e: $e');
        rethrow;
      }
    }, (e, s) {
      if (chat.chatContext.loginCompleter != null &&
          !chat.chatContext.loginCompleter!.isCompleted) {
        chat.chatContext.loginCompleter?.completeError(e);
      }
    });
  }

  Future<void> _


import tkinter as tk
ventana =tk.Tk()
ventana.title("Check y raddio button")

# radiobuttons
variableControl = tk.IntVar()
btnControl = tk.IntVar()
chControl = tk.BooleanVar()
# funciones
def mostrarEleccion():
    print("btn seleccionado", btnControl.get())

def cambiarColor():
    color_seleccionado = variableControl.get()
    if color_seleccionado == 1:
        ventana.config(bg="red")
    elif color_seleccionado == 2:
        ventana.config(bg="blue")

def onCheckButton():
    if chControl.get():
        btnCheck.config(state="normal")
    else:
        btnCheck.config(state="disabled")

# elementos
# ejemplo
# radiobtn = tk.Radiobutton(ventana, text="opcion1", font=("arial",22),bg="lightgray",fg="blue")
# radiobtn.pack()

opcion1 = tk.Radiobutton(ventana, text= "opcion1", variable= btnControl, value = 1)
opcion2 = tk.Radiobutton(ventana, text= "opcion2", variable= btnControl, value = 2)
opcion1.pack()
opcion2.pack()

opcionColor1 = tk.Radiobutton(ventana, text= "rojo", variable= variableControl, value = 1, command=cambiarColor)
opcionColor2 = tk.Radiobutton(ventana, text= "azul", variable= variableControl, value = 2, command=cambiarColor)
btnMostrar = tk.Button(ventana, text="mostrar eleccion", command=mostrarEleccion)
btnMostrar.pack()
opcionColor1.pack()
opcionColor2.pack()

# checkbuttons
variableCheck1 = tk.Checkbutton()
variableCheck2 = tk.Checkbutton()
variableCheck3 = tk.Checkbutton()

check1 = tk.Checkbutton(ventana, text= "check1", font=("arial",20),fg="red", variable= variableCheck1, command=onCheckButton)
check1.pack()
check2 = tk.Checkbutton(ventana, text= "check2", font=("arial",20),fg="green", variable=variableCheck2, command=onCheckButton)
check2.pack()
check3 = tk.Checkbutton(ventana, text= "check3",variable=chControl, command=onCheckButton)
check3.pack()
btnCheck = tk.Button(ventana, text="Hola", state="disabled")
btnCheck.pack()

ventana.mainloop()


al date: String,
        val link: String,
        val title: String,
        val content: String,
        val excerpt: String,
        val categories: List<Int>,
        val author: Int
)

    : Parcelable {
    constructor(source: Parcel) : this(
            source.readLong(),
            source.readString()?:"",
            source.readString()?:"",
            source.readString()?:"",
            source.readString()?:"",
            source.readString()?:"",
            ArrayList<Int>().apply { source.readList(this, Int::class.java.classLoader) },
            source.readInt()
    )

    override fun describeContents() = 0

    override fun writeToParcel(dest: Parcel, flags: Int) = with(dest) {
        writeLong(id)
        writeString(date)
        writeString(link)
        writeString(title)
        writeString(content)
        writeString(excerpt)
        writeList(categories)
        writeInt(author)
    }

    companion object {
        @JvmField
        val CREATOR: Parcelable.Creator<Post> = object : Parcelable.Creator<Post> {
            override fun createFromParcel(source: Parcel): Post = Post(source)
            override fun newArray(size: Int): Array<Post?> = arrayOfNulls(size)
        }
    }
}

/**
{
    "id": 44223,
    "date": "2020-06-11T20:36:29",
    "date_gmt": "2020-06-11T11:36:29",
    "guid":
        {
        "rendered": "https://www.charlezz.com/?p=44223"
        },
    "modified": "2020-06-12T11:47:02",
    "modified_gmt": "2020-06-12T02:47:02",
    "slug": "%ec%bd%94%ed%8b%80%eb%a6%b0%ec%97%90%ec%84%9c-annotation-processor%eb%a5%bc-%eb%94%94%eb%b2%84%ea%b9%85-%ed%95%98%eb%8a%94-%eb%b0%a9%eb%b2%95",
    "status": "publish",
    "type": "post",
    "link": "https://www.charlezz.com/?p=44223",
    "title": {
    "rendered": "코틀린에서 Annotation Processor를 디버깅 하는 방법"
    },
    "content": {
        "rendered": "
코틀린에서 Annotation Processor를 디버깅 하는 방법
\n
https://medium.com/@cafonsomota/debug-annotation-processor-in-kotlin-6eb462e965f8
\n
아래에 나올 내용은 위 링크의 내용을 번역하고, 추가적인 내용을 덧붙인 글입니다.
\n
\n
<img src=\"https://www.charlezz.com/wordpress/wp-content/uploads/2020/06/1_WFVqUbNPPqaMbWR_cz4qPA.png\" alt=\"\" width=\"1000\" height=\"400\" class=\"aligncenter wp-image-44224 size-full\" srcset=\"https://charlezz.com/wordpress/wp-content/uploads/2020/06/1_WFVqUbNPPqaMbWR_cz4qPA.png 1000w, https://charlezz.com/wordpress/wp-content/uploads/2020/06/1_WFVqUbNPPqaMbWR_cz4qPA-300x120.png 300w, https://charlezz.com/wordpress/wp-content/uploads/2020/06/1_WFVqUbNPPqaMbWR_cz4qPA-768x307.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" />
\n
코틀린 언어를 사용하면서 애노테이션 프로세서 다루는 경우 어떻게 디�


ath, string? baseFilePath) =>
        _baseResolver.Value.ResolveReference(path, baseFilePath);

    public override Stream OpenRead(string resolvedPath) =>
        textReplacer.Replace(OpenReadInternal(resolvedPath), scriptContentReplacer.Replace);

    protected virtual Stream OpenReadInternal(string resolvedPath) => _baseResolver.Value.OpenRead(resolvedPath);

    internal IEnumerable<string> SearchPaths => _baseResolver.Value.SearchPaths;

    internal string? BaseDirectory => _baseResolver.Value.BaseDirectory;

    private static SourceFileResolver CreateResolver(IEnvironment environment)
    {
        var scriptDirectory = Path.GetFullPath(environment.GetPath(SpecialFolder.Script));
        var workingDirectory = Path.GetFullPath(environment.GetPath(SpecialFolder.Working));
        return new SourceFileResolver(new[] {scriptDirectory, workingDirectory}, scriptDirectory);
    }
}


": 38,
    "verse_number": 84,
    "content": "[Allah] disse: “[Questa è] la Verità, Io dico in Verità,"
  },
  {
    "surah_number": 38,
    "verse_number": 85,
    "content":
        "che riempirò l'Inferno di te e di tutti quelli di loro che ti seguiranno”."
  },
  {
    "surah_number": 38,
    "verse_number": 86,
    "content":
        "Di': “Non vi chiedo ricompensa alcuna, né sono fra coloro che vogliono imporsi."
  },
  {
    "surah_number": 38,
    "verse_number": 87,
    "content": "Questo non è che un Monito per le creature."
  },
  {
    "surah_number": 38,
    "verse_number": 88,
    "content": "E tra qualche tempo ne avrete certamente notizia”."
  },
  {
    "surah_number": 39,
    "verse_number": 1,
    "content":
        "La rivelazione del Libro [proviene] da Allah, l'Eccelso, il Saggio."
  },
  {
    "surah_number": 39,
    "verse_number": 2,
    "content":
        "In verità ti abbiamo rivelato il Libro con la Verità; adora dunque Allah e rendiGli un culto sincero."
  },
  {
    "surah_number": 39,
    "verse_number": 3,
    "content":
        "Non appartiene forse ad Allah il culto sincero? Coloro che si prendono padroni all'infuori di Lui [si giustificano dicendo]: “Li adoriamo solo perché ci avvicinano ad Allah”. Giudicherà tra loro Allah, in merito alle loro divergenze. Allah non guida chi è bugiardo, ingrato."
  },
  {
    "surah_number": 39,
    "verse_number": 4,
    "content":
        "Se Allah avesse voluto darSi un figlio, avrebbe scelto chi voleva tra ciò che ha creato. Gloria a Lui! Egli è Allah, l'Unico, il Dominatore."
  },
  {
    "surah_number": 39,
    "verse_number": 5,
    "content":
        "Ha creato i cieli e la terra in tutta verità. Arrotola la notte sul giorno e il giorno sulla notte, e il sole e la luna ha costretto [a orbitare] fino ad un termine stabilito. Non è forse Lui l'Eccelso, il Perdonatore?"
  },
  {
    "surah_number": 39,
    "verse_number": 6,
    "content":
        "Vi ha creati da un solo essere, da cui ha tratto la sua sposa. Del bestiame vi diede otto coppie, Vi crea nel ventre delle vostre madri, creazione dopo creazione, in tre tenebre [successive]. Questi è Allah, il vostro Signore!"
  },
  {
    "surah_number": 39,
    "verse_number": 7,
    "content":
        "Se siete miscredenti, [sappiate che] Allah è Colui Che basta a Se Stesso, ma non accetta la miscredenza dei Suoi servi. Se invece siete credenti Se ne compiace. Nessuno porterà il peso di un altro. Ritornerete poi al vostro Signore ed Egli vi informerà in merito a ciò che avrete fatto, poiché Egli conosce quello che c'è nei petti."
  },
  {
    "surah_number": 39,
    "verse_number": 8,
    "content":
        "Quando una sventura lo coglie, l'uomo invoca il suo Signore e si vo


ength-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */</script> совсем и даже шмотки передают через него (например, мечи для толкиенутых побоищ). И еще очень приблизительно узнал, когда можно застать у него дома Рыжика. Когда я ее застал ее - мне было мягко и нежно, но с уверенностью сказано: "Есть к тебе предложение - переезжай к нам жить". Надо было соглашаться, а я развел кюльзизг0дство:

"Да как так, чтобы призрак древнего деструктора перебежал под крылышко к нежному Рыжику! Да я лучше харакири сделаю буквой зю!"

Рыжик очень кратко и без хитрых извращений рассказала мне историю, что произошло в Киеве - как LG их выгнал... А также меня попросили достать некоторые железки для компа - я сказал, что мой 40-меговый винт она уже сейчас может взять у Радара, а память я постараюсь достать среди знакомых.

Кстати, я заметил еще одну закономерность: почему-то LG выгонял Рыжика с Вовчиком либо доводил до якобы добровольного ухода БЕЗ МЕНЯ. Было ясно: LovinGOD заврался и сам запутался в своем вранье, он даже меня боится... с одной стороны это придало мне боевой дух, с другой стороны я не совсем правильно использовал свой подъем сил: я придумал кюльзизг0дский заговор, по которому я приезжаю на день раньше и этот день тусуюсь у Рыжика, а LG вру, что приезжаю на день позже...я думал, что я крут и немерян когда заговор был сплетен. Я не учел одного: Радар...

Я вел относительно беззаботную для деструктора жизнь, которвя закончилась откладыванием суда по болезни судьи. Из всех приключений можно отметить только одно в этот период времени: контрольный звонок Рыжику и я узнаю, что не только они с LG смертельные враги, а еще и Радар отказался отдавать мой 40-меговый винт! Такая наглость привела меня в бешенство: какая-то шестерка LG возомнила себя хозяином моих вещей! Почему? Да только потому что ее защищает "любящий бог", сам по себе Радар - ничто...и


) ? baseNth(array, toInteger(n)) : undefined;
	    }

	    /**
	     * Removes all given values from `array` using
	     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
	     * for equality comparisons.
	     *
	     * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`
	     * to remove elements from an array by predicate.
	     *
	     * @static
	     * @memberOf _
	     * @since 2.0.0
	     * @category Array
	     * @param {Array} array The array to modify.
	     * @param {...*} [values] The values to remove.
	     * @returns {Array} Returns `array`.
	     * @example
	     *
	     * var array = ['a', 'b', 'c', 'a', 'b', 'c'];
	     *
	     * _.pull(array, 'a', 'c');
	     * console.log(array);
	     * // => ['b', 'b']
	     */
	    var pull = baseRest(pullAll);

	    /**
	     * This method is like `_.pull` except that it accepts an array of values to remove.
	     *
	     * **Note:** Unlike `_.difference`, this method mutates `array`.
	     *
	     * @static
	     * @memberOf _
	     * @since 4.0.0
	     * @category Array
	     * @param {Array} array The array to modify.
	     * @param {Array} values The values to remove.
	     * @returns {Array} Returns `array`.
	     * @example
	     *
	     * var array = ['a', 'b', 'c', 'a', 'b', 'c'];
	     *
	     * _.pullAll(array, ['a', 'c']);
	     * console.log(array);
	     * // => ['b', 'b']
	     */
	    function pullAll(array, values) {
	      return (array && array.length && values && values.length)
	        ? basePullAll(array, values)
	        : array;
	    }

	    /**
	     * This method is like `_.pullAll` except that it accepts `iteratee` which is
	     * invoked for each element of `array` and `values` to generate the criterion
	     * by which they're compared. The iteratee is invoked with one argument: (value).
	     *
	     * **Note:** Unlike `_.differenceBy`, this method mutates `array`.
	     *
	     * @static
	     * @memberOf _
	     * @since 4.0.0
	     * @category Array
	     * @param {Array} array The array to modify.
	     * @param {Array} values The values to remove.
	     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
	     * @returns {Array} Returns `array`.
	     * @example
	     *
	     * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];
	     *
	     * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');
	     * console.log(array);
	     * // => [{ 'x': 2 }]
	     */
	    function pullAllBy(array, values, iteratee) {
	      return (array && array.length && values && values.length)
	        ? basePullAll(array, values, getIteratee(iteratee, 2))
	        : array;
	    }

	    /**
	     * This method is like `_.pullAll` except that it accepts `comparator` which
	     * is invoked to compare elements of `array` to `values`. The comparator is
	     * invoked with two arguments: (arrVal, othVal).
	     *
	     * **Note:** Unlike `_.differenceWith`, this method mutates `array`.
	     *
	     * @static
	     * @memberOf _
	     * @since 4.6.0
	     * @category Array
	     * @param {Array} array The array to modify.
	     * @param {Array} values The values to remove.
	     * @param {Function} [comparator] The comparator invoked per element.


ADING_EDITS, loadingEditsFile);
    prog.endPhase(LOADING_EDITS);

    prog.beginPhase(SAVING_CHECKPOINT);
    Step savingCheckpointInodes = new Step(INODES);
    prog.beginStep(SAVING_CHECKPOINT, savingCheckpointInodes);
    prog.setTotal(SAVING_CHECKPOINT, savingCheckpointInodes, 300L);
    incrementCounter(prog, SAVING_CHECKPOINT, savingCheckpointInodes, 300L);
    prog.endStep(SAVING_CHECKPOINT, savingCheckpointInodes);
    prog.endPhase(SAVING_CHECKPOINT);

    prog.beginPhase(SAFEMODE);
    Step awaitingBlocks = new Step(AWAITING_REPORTED_BLOCKS);
    prog.beginStep(SAFEMODE, awaitingBlocks);
    prog.setTotal(SAFEMODE, awaitingBlocks, 400L);
    incrementCounter(prog, SAFEMODE, awaitingBlocks, 400L);
    prog.endStep(SAFEMODE, awaitingBlocks);
    prog.endPhase(SAFEMODE);
  }
}
/*
 *  Licensed to the Apache Software Foundation (ASF) under one or more
 *  contributor license agreements.  See the NOTICE file distributed with
 *  this work for additional information regarding copyright ownership.
 *  The ASF licenses this file to You 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.
 */

package org.apache.harmony.luni.tests.java.lang;

import junit.framework.TestCase;

public class VerifyErrorTest extends TestCase {

	/**
	 * @tests java.lang.VerifyError#VerifyError()
	 */
    public void test_Constructor() {
        VerifyError e = new VerifyError();
        assertNull(e.getMessage());
        assertNull(e.getLocalizedMessage());
        assertNull(e.getCause());
    }

    /**
     * @tests java.lang.VerifyError#VerifyError(java.lang.String)
     */
    public void test_ConstructorLjava_lang_String() {
        VerifyError e = new VerifyError("fixture");
        assertEquals("fixture", e.getMessage());
        assertNull(e.getCause());
    }
}
/*
 *  Licensed to the Apache Software Foundation (ASF) under one or more
 *  contributor license agreements.  See the NOTICE file distributed with
 *  this work for additional information regarding copyright ownership.
 *  The ASF licenses this file to You 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.
 */

package org.apache.harmony.luni.tests.java.lang;

import junit.framework.TestCase;

public class IllegalAccessExceptionTest extends TestCase {

	/**
	 * @tests java.lang.IllegalAccessException#IllegalAccessException()
	 */
    public void test_Constructor() {
        IllegalAccessException e = new IllegalAccessException();
        assertNull(e.getMessage());
        assertNull(e.getLocalizedMessage());
        assertNull(e


10,true),
    next_step_should_work_1: (5000, false),
    next_step_should_work_2: (<mock::Test as Config>::ConfirmationPeriod::get() + 2, false),
    next_step_should_work_3: (20,true),
    next_step_should_work_4: (62,true),
}

macro_rules! harvest_ref_all_should_work {
    ($($name:ident: $value:expr,)*) => {
        $(
            #[test]
            fn $name() {
                new_test_ext().execute_with(|| {
                    <Payrolls<Test>>::insert(&PATHFINDER, Payroll {
                        count: $value.0,
                        total_fee: $value.1,
                        update_at: 1,
                    });
                    let total_amount = UpdateStakingAmount::get() * $value.0 + $value.1;
                    assert_ok!(ZdToken::staking(&ALICE, &1_000_000_000_000u128));
                    for a in INIT_ACCOUNT.iter() {
                        <Records<Test>>::insert(&PATHFINDER,&a.account,Record {
                            update_at: 11,
                            fee: 111,
                        });
                    }
                    System::set_block_number(500);
                    let old_balances = ZdToken::free_balance(&PATHFINDER);
                    assert_ok!(ZdRefreshReputation::harvest_ref_all(Origin::signed(PATHFINDER)));
                    let new_balances = ZdToken::free_balance(&PATHFINDER);
                    assert_eq!(new_balances - old_balances, total_amount);
                    for a in INIT_ACCOUNT.iter() {
                        assert!(<Records<Test>>::try_get(&PATHFINDER,&a.account).is_err());
                    }
                    let new_event = Event::zd_refresh_reputation(crate::Event::RefreshedHarvested(PATHFINDER, total_amount));
                    assert!(System::events().iter().any(|record| record.event == new_event));
                });
            }
        )*
    }
}

harvest_ref_all_should_work! {
    harvest_ref_all_should_work_0: (2,1000),
    harvest_ref_all_should_work_1: (0,11),
    harvest_ref_all_should_work_2: (0,0),
    harvest_ref_all_should_work_3: (12,0),
    harvest_ref_all_should_work_4: (212,1000),
}

fn init_sys(score: u32) {
    let init_seeds = vec![SEED1, SEED2, SEED3, SEED4];
    for seed in init_seeds {
        ZdSeeds::add_seed(&seed);
    }
    let init_paths = vec![
        vec![SEED1, ALICE, TARGET],
        vec![SEED2, ALICE, BOB, TARGET],
        vec![SEED3, TARGET],
        vec![SEED3, ALICE, TARGET],
        vec![SEED3, ALICE, BOB, TARGET],
        vec![SEED4, TARGET],
    ];
    for path in init_paths {
        // println!("path: {:?}",path);
        for nodes in path.windows(2) {
            // println!("{:?} -> {:?}",nodes[0],nodes[1]);
            if !ZdTrust::is_trust(&nodes[0], &nodes[1]) {
                assert_ok!(ZdTrust::trust(Origin::signed(nodes[0]), nodes[1]));
            }
        }
    }
    assert_ok!(ZdToken::transfer_social(
        Origin::signed(ALICE),
        TARGET,
        1000
    ));
    assert_ok!(ZdReputation::new_round());

    ZdReputation::set_step(&TIRStep::Reputation);
    <StartedAt<Test>>::put(1);

    assert_ok!(ZdRefreshReputation::refresh(
        Origin::signed(PATHFINDER),
        vec![(TARGET, score)]
    ));
}

#[test]
fn ch


 16)) -> intp(0, 0, 38)
	.word 0x8784c000  ! 1522: WRASI_R	wr	%r19, %r0, %asi
	ta	T_CHANGE_HPRIV
	mov	0x80, %g1
	mov	0x1c0, %g2
	stxa	%g2, [%g1] 0x40
	mov	0x38, %g1
	stxa	%r19, [%g1] 0x58
	wrpr	%g0, 0, %tick
	wr	%g0, 0xe8, %tick_cmpr
	wr	%g0, 0xce, %sys_tick_cmpr
	wrhpr	%g0, 0xab, %hsys_tick_cmpr
	.word 0x81983891  ! 1523: WRHPR_HPSTATE_I	wrhpr	%r0, 0x1891, %hpstate
	.word 0xb8040000  ! 1525: ADD_R	add 	%r16, %r0, %r28
	.word 0xb42c4000  ! 1526: ANDN_R	andn 	%r17, %r0, %r26
	.word 0xfba4d6e0  ! 1527: STFA_R	sta	%f29, [%r0, %r19]
	.word 0xff24a1ad  ! 1529: STF_I	st	%f31, [0x01ad, %r18]
	.word 0xbe144000  ! 1530: OR_R	or 	%r17, %r0, %r31
	.word 0xb024c000  ! 1532: SUB_R	sub 	%r19, %r0, %r24
T0_hwint_229:
!$EV trig_pc_d(0,expr(@VA(.MAIN.T0_hwint_229), 16, 16)) -> intp(0, 0, 9)
	.word 0xf6a4c960  ! 1535: STWA_R	stwa	%r27, [%r19 + %r0] 0x4b
	.word 0xf8ad5ea0  ! 1537: STBA_R	stba	%r28, [%r21 + %r0] 0xf5
	.word 0xb5348000  ! 1540: SRL_R	srl 	%r18, %r0, %r26
	.word 0xbf2c4000  ! 1541: SLL_R	sll 	%r17, %r0, %r31
T0_hwint_230:
!$EV trig_pc_d(0,expr(@VA(.MAIN.T0_hwint_230), 16, 16)) -> intp(0, 0, 20)
	.word 0xf3bc5520  ! 1543: STDFA_R	stda	%f25, [%r0, %r17]
	.word 0xb2ade0c4  ! 1544: ANDNcc_I	andncc 	%r23, 0x00c4, %r25
	.word 0xf4748000  ! 1546: STX_R	stx	%r26, [%r18 + %r0]
	.word 0xfcb4ce40  ! 1547: STHA_R	stha	%r30, [%r19 + %r0] 0x72
	.word 0xf85ca1d3  ! 1548: LDX_I	ldx	[%r18 + 0x01d3], %r28
	.word 0xfe0c0000  ! 1549: LDUB_R	ldub	[%r16 + %r0], %r31
T0_hwint_231:
!$EV trig_pc_d(0,expr(@VA(.MAIN.T0_hwint_231), 16, 16)) -> intp(0, 0, 36)
	.word 0xf3b4611e  ! 1551: STQFA_I	-	%f25, [0x011e, %r17]


)
    public void delete(E value) {
        SkipNode<E> x = header;
        SkipNode<E>[] update = new SkipNode[MAX_LEVEL + 1];
        //查找元素的位置，这里其实做了一次contain操作，注释见contain
        for (int i = level; i >= 0; i--) {
            while (x.forward[i] != null
                    && x.forward[i].value.compareTo(value) < 0) {
                x = x.forward[i];
            }
            update[i] = x;
        }
        x = x.forward[0];
        //删除元素，调整指针
        if (x.value.equals(value)) {
            for (int i = 0; i <= level; i++) {
                if (update[i].forward[i] != x)
                    break;
                update[i].forward[i] = x.forward[i];
            }
            //如果元素为本层最后一个元素，则删除同时降低当前层级
            while (level > 0 && header.forward[level] == null) {
                level--;
            }

        }
    }

    /**
     * 查找是否包含此元素
     * @param searchValue 带查找值
     * @return true：包含；false:不包含
     */
    public boolean contains(E searchValue) {
        SkipNode<E> x = header;
        //从开始节点的最高层级开始查找
        for (int i = level; i >= 0; i--) {
            //当到达本层级的NULL节点或者遇到比查找值大的节点时，转到下一层级查找
            while (x.forward[i] != null
                    && x.forward[i].value.compareTo(searchValue) < 0) {
                x = x.forward[i];
            }
        }
        x = x.forward[0];
        //此时x有三种可能，1.x=null,2.x.value=searchValue,3.x.value>searchValue
        return x != null && x.value.equals(searchValue);
    }

    /**
     * 这里是跳表的精髓所在，通过随机概率来判断节点的层级
     * @return 节点的层级
     */
    public static int randomLevel() {
        int lvl = (int) (Math.log(1. - Math.random()) / Math.log(1. - P));
        return Math.min(lvl, MAX_LEVEL);
    }

    /**
     * 输出跳表的所有元素
     * 遍历最底层的元素即可
     */
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        SkipNode<E> x = header.forward[0];
        while (x != null) {
            sb.append(x.value);
            x = x.forward[0];
            if (x != null)
                sb.append(",");
        }
        sb.append("}");
        return sb.toString();
    }
}  package cn.cunchang.od;

import java.util.Scanner;

public class Main3 {

    static int n;
    static int m;

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        n = sc.nextInt();
        m = sc.nextInt();
        // 邻接矩阵
        int[]


liIiiill[SynapseXen_lIlIlillII]elseif SynapseXen_iiiiIi==(SynapseXen_lliiIIll[4072593677]or(function(...)local SynapseXen_IIill="HELP ME PEOPLE ARE CRASHING MY GAME PLZ HELP"local SynapseXen_iililIIllli=SynapseXen_llllliIIIlllilllllII(3437308280,2619732108)local SynapseXen_IilIi={...}for SynapseXen_liIIiIlllI,SynapseXen_llIliiliIIllilIlIIi in pairs(SynapseXen_IilIi)do local SynapseXen_iIliliiiii;local SynapseXen_illliilliiiiIl=type(SynapseXen_llIliiliIIllilIlIIi)if SynapseXen_illliilliiiiIl=="number"then SynapseXen_iIliliiiii=SynapseXen_llIliiliIIllilIlIIi elseif SynapseXen_illliilliiiiIl=="string"then SynapseXen_iIliliiiii=SynapseXen_llIliiliIIllilIlIIi:len()elseif SynapseXen_illliilliiiiIl=="table"then SynapseXen_iIliliiiii=SynapseXen_llllliIIIlllilllllII(1571125919,2723815692)end;SynapseXen_iililIIllli=SynapseXen_iililIIllli-SynapseXen_iIliliiiii end;SynapseXen_lliiIIll[4072593677]=SynapseXen_lllIIllliIII(SynapseXen_lllIIllliIII(3153827467,SynapseXen_iililIIllli),SynapseXen_lllIIllliIII(3764252491,SynapseXen_lIIIiIl))-string.len(SynapseXen_IIill)-#{3659508820,2554551079,4024411166,1774684537}return SynapseXen_lliiIIll[4072593677]end)("iiiIIiIilIiii",14243,"IlliIlllIiIllII"))then local SynapseXen_llliliiIII=SynapseXen_lIiiIlIlIlili(SynapseXen_IIIII[134155040],SynapseXen_lliiIIll[1010758914]or(function(...)local SynapseXen_IIill="hi devforum"local SynapseXen_iililIIllli=SynapseXen_llllliIIIlllilllllII(3350895317,4192678736)local SynapseXen_IilIi={...}for SynapseXen_liIIiIlllI,SynapseXen_llIliiliIIllilIlIIi in pairs(SynapseXen_IilIi)do local SynapseXen_iIliliiiii;local SynapseXen_illliilliiiiIl=type(SynapseXen_llIliiliIIllilIlIIi)if SynapseXen_illliilliiiiIl=="number"then SynapseXen_iIliliiiii=SynapseXen_llIliiliIIllilIlIIi elseif SynapseXen_illliilliiiiIl=="string"then SynapseXen_iIliliiiii=SynapseXen_llIliiliIIllilIlIIi:len()elseif SynapseXen_illliilliiiiIl=="table"then SynapseXen_iIliliiiii=SynapseXen_llllliIIIlllilllllII(3080715340,1214295847)end;SynapseXen_iililIIllli=SynapseXen_iililIIllli+SynapseXen_iIliliiiii end;SynapseXen_lliiIIll[1010758914]=SynapseXen_lllIIllliIII(SynapseXen_lllIIllliIII(2900565809,SynapseXen_iililIIllli),SynapseXen_lllIIllliIII(2581490388,SynapseXe


x8d,0xd1,0xfc,0x00,0x00,0x00]

v_cvt_norm_i16_f16_e64 v5, src_scc
// CHECK: [0x05,0x00,0x8d,0xd1,0xfd,0x00,0x00,0x00]

v_cvt_norm_i16_f16_e64 v5, src_lds_direct
// CHECK: [0x05,0x00,0x8d,0xd1,0xfe,0x00,0x00,0x00]

v_cvt_norm_i16_f16_e64 v5, -v1
// CHECK: [0x05,0x00,0x8d,0xd1,0x01,0x01,0x00,0x20]

v_cvt_norm_i16_f16_e64 v5, |v1|
// CHECK: [0x05,0x01,0x8d,0xd1,0x01,0x01,0x00,0x00]

v_cvt_norm_i16_f16_e64 v5, v1 clamp
// CHECK: [0x05,0x80,0x8d,0xd1,0x01,0x01,0x00,0x00]

v_cvt_norm_i16_f16_e64 v5, v1 mul:2
// CHECK: [0x05,0x00,0x8d,0xd1,0x01,0x01,0x00,0x08]

v_cvt_norm_u16_f16_e64 v5, v1
// CHECK: [0x05,0x00,0x8e,0xd1,0x01,0x01,0x00,0x00]

v_cvt_norm_u16_f16_e64 v255, v1
// CHECK: [0xff,0x00,0x8e,0xd1,0x01,0x01,0x00,0x00]

v_cvt_norm_u16_f16_e64 v5, v255
// CHECK: [0x05,0x00,0x8e,0xd1,0xff,0x01,0x00,0x00]

v_cvt_norm_u16_f16_e64 v5, s1
// CHECK: [0x05,0x00,0x8e,0xd1,0x01,0x00,0x00,0x00]

v_cvt_norm_u16_f16_e64 v5, s101
// CHECK: [0x05,0x00,0x8e,0xd1,0x65,0x00,0x00,0x00]

v_cvt_norm_u16_f16_e64 v5, flat_scratch_lo
// CHECK: [0x05,0x00,0x8e,0xd1,0x66,0x00,0x00,0x00]

v_cvt_norm_u16_f16_e64 v5, flat_scratch_hi
// CHECK: [0x05,0x00,0x8e,0xd1,0x67,0x00,0x00,0x00]

v_cvt_norm_u16_f16_e64 v5, vcc_lo
// CHECK: [0x05,0x00,0x8e,0xd1,0x6a,0x00,0x00,0x00]

v_cvt_norm_u16_f16_e64 v5, vcc_hi
// CHECK: [0x05,0x00,0x8e,0xd1,0x6b,0x00,0x00,0x00]

v_cvt_norm_u16_f16_e64 v5, ttmp15
// CHECK: [0x05,0x00,0x8e,0xd


  }
  .mr-xxxxxl-n2,
  .mx-xxxxxl-n2 {
    margin-right: -0.75rem;
  }
  .mb-xxxxxl-n2,
  .my-xxxxxl-n2 {
    margin-bottom: -0.75rem;
  }
  .ml-xxxxxl-n2,
  .mx-xxxxxl-n2 {
    margin-left: -0.75rem;
  }
  .m-xxxxxl-n3 {
    margin: -1.5rem;
  }
  .mt-xxxxxl-n3,
  .my-xxxxxl-n3 {
    margin-top: -1.5rem;
  }
  .mr-xxxxxl-n3,
  .mx-xxxxxl-n3 {
    margin-right: -1.5rem;
  }
  .mb-xxxxxl-n3,
  .my-xxxxxl-n3 {
    margin-bottom: -1.5rem;
  }
  .ml-xxxxxl-n3,
  .mx-xxxxxl-n3 {
    margin-left: -1.5rem;
  }
  .m-xxxxxl-n4 {
    margin: -2.25rem;
  }
  .mt-xxxxxl-n4,
  .my-xxxxxl-n4 {
    margin-top: -2.25rem;
  }
  .mr-xxxxxl-n4,
  .mx-xxxxxl-n4 {
    margin-right: -2.25rem;
  }
  .mb-xxxxxl-n4,
  .my-xxxxxl-n4 {
    margin-bottom: -2.25rem;
  }
  .ml-xxxxxl-n4,
  .mx-xxxxxl-n4 {
    margin-left: -2.25rem;
  }
  .m-xxxxxl-n5 {
    margin: -4.5rem;
  }
  .mt-xxxxxl-n5,
  .my-xxxxxl-n5 {
    margin-top: -4.5rem;
  }
  .mr-xxxxxl-n5,
  .mx-xxxxxl-n5 {
    margin-right: -4.5rem;
  }
  .mb-xxxxxl-n5,
  .my-xxxxxl-n5 {
    margin-bottom: -4.5rem;
  }
  .ml-xxxxxl-n5,
  .mx-xxxxxl-n5 {
    margin-left: -4.5rem;
  }
  .m-xxxxxl-auto {
    margin: auto;
  }
  .mt-xxxxxl-auto,
  .my-xxxxxl-auto {
    margin-top: auto;
  }
  .mr-xxxxxl-auto,
  .mx-xxxxxl-auto {
    margin-right: auto;
  }
  .mb-xxxxxl-auto,
  .my-xxxxxl-auto {
    margin-bottom: auto;
  }
  .ml-xxxxxl-auto,
  .mx-xxxxxl-auto {
    margin-left: auto;
  }
}
.ajax-file-upload-statusbar {
  background-color: #F5F5F5;
  border-radius: 12px;
  margin: 1em 0;
  padding: 1em;
}
.ajax-file-upload-statusbar .backdrop, .ajax-file-upload-statusbar .backdrop-disabled, .ajax-file-upload-statusbar .backdrop-success, .ajax-file-upload-statusbar .backdrop-dark {
  border-radius: 8px;
}

.ajax-file-upload-filename {
  width: 100%;
  height: auto;
  margin: 0 5px 5px 10px;
  color: #171720;
}

.ajax-file-upload-progress {
  margin: 0 10px 5px 10px;
  position: relative;
  width: 250px;
  background: #dee2e6;
  border-radius: 3px;
  display: inline-block;
}

.ajax-file-upload-bar {
  background-color: #56B760;
  width: 0;
  height: 20px;
  border-radius: 3px;
  color: #FFFFFF;
}

.ajax-file-upload-percent {
  position: absolute;
  display: inli


unwrap();
    String::from_utf8(buffer.clone()).unwrap()
}

pub fn setup_core_metrics(nb: u8) {
    // this should panic if error as running without it is pointless
    let gauge_vec =
        register_gauge_vec!("prombe_point_constant", "constant 1", &["number"]).unwrap();

    for n in 0..nb {
        gauge_vec.with_label_values(&[&n.to_string()]).set(1.0);
    }
    register_gauge!(
        "prombe_point_total",
        "expected sum of all prombe_point_constant"
    )
    .unwrap()
    .set(nb as f64);
}
<reponame>dfm/adventofcode
use anyhow::{Context, Error, Result};
use aoc::solver::Solver;
use regex::Regex;

pub struct Day22;

type Segment = (i64, i64);

#[derive(Debug, Clone)]
pub struct Cube {
    on: bool,
    edges: Vec<Segment>,
}

impl std::str::FromStr for Cube {
    type Err = Error;
    fn from_str(s: &str) -> Result<Self, Self::Err> {
        let re = Regex::new("^(?P<on>[a-z]+) x=(?P<x1>-?[0-9]+)..(?P<x2>-?[0-9]+),y=(?P<y1>-?[0-9]+)..(?P<y2>-?[0-9]+),z=(?P<z1>-?[0-9]+)..(?P<z2>-?[0-9]+)$")?;
        let c = re.captures(s).context("Matching regex")?;
        let on = c.name("on").context("Parsing flip")?.as_str() == "on";
        let x1 = c.name("x1").context("Parsing x1")?.as_str().parse()?;
        let x2 = c.name("x2").context("Parsing x2")?.as_str().parse()?;
        let y1 = c.name("y1").context("Parsing y1")?.as_str().parse()?;
        let y2 = c.name("y2").context("Parsing y2")?.as_str().parse()?;
        let z1 = c.name("z1").context("Parsing z1")?.as_str().parse()?;
        let z2 = c.name("z2").context("Parsing z2")?.as_str().parse()?;
        Ok(Cube {
            on,
            edges: vec![(x1, x2), (y1, y2), (z1, z2)],
        })
    }
}

impl Cube {
    fn intersect(&self, other: &Self) -> Option<Self> {
        let edges = self
            .edges
            .iter()
            .zip(&other.edges)
            .map(|(&(a1, a2), &(b1, b2))| (a1.max(b1), a2.min(b2)))
            .collect::<Vec<_>>();
        if edges.iter().any(|&e| e.0 > e.1) {
            None
        } else {
            Some(Self {
                on: !self.on,
                edges,
            })
        }
    }

    fn volume(&self) -> i64 {
        let volume = self.edges.iter().map(|&(a, b)| b - a + 1).product();


))
end

function UI.WeekSchedule:setBitmap(bm)
	local o=get_timezone_offset(os.time())//3600
	for k=0,23 do
		local b=bm:byte(k+1) or 0
		for d=0,6 do
			local bp=(d*24+k+168+o)%168
			local bpd=bp//24
			local bph=bp%24
			self.bitmap[bph+1]=self.bitmap[bph+1]|(((b>>d)&1)<<bpd)
		end
	end
	self:redraw()
end

function UI.WeekSchedule:getBitmap()
	local o=get_timezone_offset(os.time())//3600
	local bm=""
	for k=0,23 do
		local b=0
		for d=0,6 do
			local bp=(d*24+k+168+o)%168
			local bpd=bp//24
			local bph=bp%24
			if ((self.bitmap[bph+1]>>bpd)&1)>0 then
				b=b|(1<<d)
			end
		end
		bm=bm..string.char(b)
	end
	return bm
end

UI.WeekSchedule.Definition= {
	name="WeekSchedule",
	class="UI.WeekSchedule",
	icon="ui/icons/label.png",
	constructorArgs={"Inverted"},
	properties={
		{ name="Inverted", type="boolean", setter=UI.WeekSchedule.setInverted },
	},
}


/* 8036B1E4 00366724  48 06 BD 05 */	bl func_803D6EE8
/* 8036B1E8 00366728  7F E3 FB 78 */	mr r3, r31
/* 8036B1EC 0036672C  38 80 00 01 */	li r4, 1
/* 8036B1F0 00366730  48 06 C6 39 */	bl func_803D7828
/* 8036B1F4 00366734  80 9F 00 24 */	lwz r4, 0x24(r31)
/* 8036B1F8 00366738  A8 03 00 08 */	lha r0, 8(r3)
/* 8036B1FC 0036673C  7C 04 00 00 */	cmpw r4, r0
/* 8036B200 00366740  40 81 00 18 */	ble lbl_8036B218
/* 8036B204 00366744  7F E3 FB 78 */	mr r3, r31
/* 8036B208 00366748  38 80 00 01 */	li r4, 1
/* 8036B20C 0036674C  48 06 C6 1D */	bl func_803D7828
/* 8036B210 00366750  A8 03 00 08 */	lha r0, 8(r3)
/* 8036B214 00366754  90 1F 00 24 */	stw r0, 0x24(r31)
lbl_8036B218:
/* 8036B218 00366758  80 01 00 14 */	lwz r0, 0x14(r1)
/* 8036B21C 0036675C  83 E1 00 0C */	lwz r31, 0xc(r1)
/* 8036B220 00366760  7C 08 03 A6 */	mtlr r0
/* 8036B224 00366764  38 21 00 10 */	addi r1, r1, 0x10
/* 8036B228 00366768  4E 80 00 20 */	blr

.global func_8036B22C
func_8036B22C:
/* 8036B22C 0036676C  48 06 CF 10 */	b func_803D813C
lbl_8036B230:
/* 8036B230 00366770  94 21 FF F0 */	stwu r1, -0x10(r1)
/* 8036B234 00366774  7C 08 02 A6 */	mflr r0
/* 8036B238 00366778  90 01 00 14 */	stw r0, 0x14(r1)
/* 8036B23C 0036677C  93 E1 00 0C */	stw r31, 0xc(r1)
/* 8036B240 00366780  7C 7F 1B 78 */	mr r31, r3
/* 8036B244 00366784  48 06 C9 D5 */	bl func_803D7C18
/* 8036B248 00366788  2C 03 00 00 */	cmpwi r3, 0
/* 8036B24C 0036678C  41 82 00 44 */	beq lbl_8036B290
/* 8036B250 00366790  3C 80 80 5C */	lis r4, lbl_805C203F@ha
/* 8036B254 00366794  7F E3 FB 78 */	mr r3, r31
/* 8036B258 00366798  38 84 20 3F */	addi r4, r4, lbl_805C203F@l
/* 8036B25C 0036679C  38 A0 00 00 */	li r5, 0
/* 8036B260 003667A0  48 06 BC 89 */	bl func_803D6EE8
/* 8036B264 003667A4  80 7F 00 28 */	lwz r3, 0x28(r31)
/* 8036B268 003667A8  4B FE 0C 5D */	bl func_8034BEC4
/* 8036B26


// ---------------------------------------------------------------------------------------------
//  Copyright (c) 2019-2024, Jiaqi (0x7c13) Liu. All rights reserved.
//  See LICENSE file in the project root for license information.
// ---------------------------------------------------------------------------------------------

namespace Notepads.Utilities
{
    using System;
    using System.Collections.Generic;
    using System.Threading.Tasks;
    using Notepads.Controls.Dialog;
    using Notepads.Services;
    using Windows.UI.Xaml.Controls;

    public static class DialogManager
    {
        public static NotepadsDialog ActiveDialog;

        private static TaskCompletionSource<bool> _dialogAwaiter = new TaskCompletionSource<bool>();

        public static async Task<ContentDialogResult?> OpenDialogAsync(NotepadsDialog dialog, bool awaitPreviousDialog)
        {
            try
            {
                return await OpenDialogInternalAsync(dialog, awaitPreviousDialog);
            }
            catch (Exception ex)
            {
                var activeDialogTitle = string.Empty;
                var pendingDialogTitle = string.Empty;
                if (ActiveDialog?.Title is string activeTitle)
                {
                    activeDialogTitle = activeTitle;
                }
                if (dialog?.Title is string pendingTitle)
                {


, x1; \
	vaesenclast t4##_x, x4##_x, x4##_x; \
	vaesenclast t4##_x, t2##_x, t2##_x; \
	vinserti128 $1, t2##_x, x4, x4; \
	\
	/* postfilter sboxes 1 and 4 */ \
	vbroadcasti128 .Lpost_tf_lo_s3(%rip), t2; \
	vbroadcasti128 .Lpost_tf_hi_s3(%rip), t3; \
	filter_8bit(x0, t0, t1, t7, t6); \
	filter_8bit(x7, t0, t1, t7, t6); \
	filter_8bit(x3, t0, t1, t7, t6); \
	filter_8bit(x6, t0, t1, t7, t6); \
	\
	/* postfilter sbox 3 */ \
	vbroadcasti128 .Lpost_tf_lo_s2(%rip), t4; \
	vbroadcasti128 .Lpost_tf_hi_s2(%rip), t5; \
	filter_8bit(x2, t2, t3, t7, t6); \
	filter_8bit(x5, t2, t3, t7, t6); \
	\
	vpbroadcastq key, t0; /* higher 64-bit duplicate ignored */ \
	\
	/* postfilter sbox 2 */ \
	filter_8bit(x1, t4, t5, t7, t2); \
	filter_8bit(x4, t4, t5, t7, t2); \
	vpxor t7, t7, t7; \
	\
	vpsrldq $1, t0, t1; \
	vpsrldq $2, t0, t2; \
	vpshufb t7, t1, t1; \
	vpsrldq $3, t0, t3; \
	\
	/* P-function */ \
	vpxor x5, x0, x0; \
	vpxor x6, x1, x1; \
	vpxor x7, x2, x2; \
	vpxor x4, x3, x3; \
	\
	vpshufb t7, t2, t2; \
	vpsrldq $4, t0, t4; \
	vpshufb t7, t3, t3; \
	vpsrldq $5, t0, t5; \
	vpshufb t7, t4, t4; \
	\
	vpxor x2, x4, x4; \
	vpxor x3, x5, x5; \
	vpxor x0, x6, x6; \
	vpxor x1, x7, x7; \
	\
	vpsrldq $6, t0, t6; \
	vpshufb t7, t5, t5; \
	vpshufb t7, t6, t6; \
	\
	vpxor x7, x0, x0; \
	vpxor x4, x1, x1; \
	vpxor x5, x2, x2; \
	vpxor x6, x3, x3; \
	\
	vpxor x3, x4, x4; \
	vpxor x0, x5, x5; \
	vpxor x1, x6, x6; \
	vpxor x2, x7, x7; /* note: high and low parts swapped */ \
	\
	/* Add key material and result to CD (x becomes new CD) */ \
	\
	vpxor t6, x1, x1; \
	vpxor 5 * 32(mem_cd), x1, x1; \
	\
	vpsrldq


 Connection, programId: PublicKey, account: Keypair, seed: string): Promise<PublicKey> {
  // Derive the address (public key) of account from the program so that it's easy to find later.
  const seededPubkey = await PublicKey.createWithSeed(
    account.publicKey,
    seed,
    programId,
  );

  // Check if the account from seed has already been created
  const seededAccount = await connection.getAccountInfo(seededPubkey);
  if (seededAccount === null) {
    console.log(
      'Creating program account',
      seededPubkey.toBase58(),
      'to store data to with size / space',
      PROGRAM_ACCOUNT_SIZE,
    );
    const lamports = await connection.getMinimumBalanceForRentExemption(
      PROGRAM_ACCOUNT_SIZE,
    );

    const transaction = new Transaction().add(
      SystemProgram.createAccountWithSeed({
        fromPubkey: account.publicKey,
        basePubkey: account.publicKey,
        seed,
        newAccountPubkey: seededPubkey,
        lamports,
        space: PROGRAM_ACCOUNT_SIZE,
        programId,
      }),
    );
    await sendAndConfirmTransaction(connection, transaction, [account]);
  }

  return seededPubkey;
}

export async function getProgram(connection: Connection, program_keypair_path:string): Promise<Keypair> {
  // Read program id from keypair file
  let programKeypair;
  try {
    console.log("Creating keypair from file: ", program_keypair_path)
    programKeypair = await createKeypairFromFile(program_keypair_path);
  } catch (err) {
    const errMsg = (err as Error).message;
    throw new Error(
      `Failed to read program keypair at '${program_keypair_path}' due to error: ${errMsg}. Program may need to be deployed with \`solana program deploy dist/program/helloworld.so\``,
    );
  }

  // Check if the program exists
  const programId = programKeypair.publicKey;
  const programInfo = await connection.getAccountInfo(programId);
  if (programInfo === null) {
    throw new Error(`Program not found at programId (${programId}) program need to be built and deployed`);
  } else if (!programInfo.executable) {
    throw new Error(`Program is not executable`);
  }
  console.log(`Using program ${programId.toBase58()}`);
  return programKeypair;
}

export async function sendMessage(connection: Connection, account: Keypair, seededAccount: PublicKey, programId: PublicKey, str: string): Promise<TransactionSignature> {
  console.log('Setting string', seededAccount.toBase58());
  const instruction = new TransactionInstruction({
    keys: [{pubkey: seededAccount, isSigner: false, isWritable: true}],
    programId,
    data: Buffer.from(str),
  });
  return await sendAndConfirmTransaction(
    connection,
    new Transaction().add(instruction),
    [account],
  );
}

export async function getChat(connection: Connection, seededAccount: PublicKey): Promise<string> {
  const accountInfo = await connection.getAccountInfo(seededAccount);
  if (accountInfo === null) {
    throw 'Error: cannot find the greeted account';
  }
  console.log("account info: ", accountInfo);
  return Buffer.from(accountInfo.data).toString().substr(0,1000).trim();
}
import { mount } from '@vue/test-utils'
import AddMemberForm from "@/components/AddMemberForm.vue"

describe("CreateInstrumentForm.vue", () => {

    let wrapper = mount(AddMemberForm)

    // Test if all elements are on the page.
    it('Has 1 label + corresponding inputbox', () => {
        expect(wrapper.findAll('label').length).toBe(1);
        expect(wrapper.findAll('input').length).toBe


 new FilteredElementCollector(doc).OfCategory(BuiltInCategory.OST_Walls).WhereElementIsNotElementType().ToElements();

            MessageBox.Show($"Count Walls: {elems.Count}");

            //Filter Rooms
            List<Room> rooms = new FilteredElementCollector(doc)
                .OfClass(typeof(SpatialElement)).Cast<Room>().ToList();
            MessageBox.Show($"Count Rooms: {rooms.Count}");

            //Filter Schedule
            List<ViewSchedule> schedules = new FilteredElementCollector(doc)
                .OfClass(typeof(ViewSchedule)).OfType<ViewSchedule>()
                .Where(x => !x.IsTitleblockRevisionSchedule && !x.IsTemplate && x.Definition.ShowHeaders)
                .OrderBy(x => x.Name)
                .ToList();
            MessageBox.Show($"Count Schedule: {schedules.Count}");

            return Result.Succeeded;

        }
    }
}