from typing import TYPE_CHECKING, Any

if TYPE_CHECKING:
    from litestar.types import Scope

__all__ = (
    "delete_aa_scope_state",
    "get_aa_scope_state",
    "set_aa_scope_state",
)

_SCOPE_NAMESPACE = "_aa_connection_state"

def get_aa_scope_state(scope: "Scope", key: str, default: Any = None, pop: bool = False) -> Any:
    """Get an internal value from connection scope state.

    Note:
        If called with a default value, this method behaves like to `dict.set_default()`, both setting the key in the
        namespace to the default value, and returning it.

        If called without a default value, the method behaves like `dict.get()`, returning ``None`` if the key does not
        exist.

    Args:
        scope: The connection scope.
        key: Key to get from internal namespace in scope state.
        default: Default value to return.
        pop: Boolean flag dictating whether the value should be deleted from the state.

    Returns:
        Value mapped to ``key`` in internal connection scope namespace.
    """
    namespace = scope.setdefault(_SCOPE_NAMESPACE, {})  # type: ignore[misc]
    return namespace.pop(key, default) if pop else namespace.get(key, default)  # pyright: ignore[reportUnknownVariableType,reportUnknownMemberType]

def set_aa_scope_state(scope: "Scope", key: str, value: Any) -> None:
    """Set an internal value in connection scope state.

    Args:
        scope: The connection scope.
        key: Key to set under internal namespace in scope state.
        value: Value for key.
    """
    scope.setdefault(_SCOPE_NAMESPACE, {})[key] = value  # type: ignore[misc]

def delete_aa_scope_state(scope: "Scope", key: str) -> None:
    """Delete an internal value from connection scope state.

    Args:
        scope: The connection scope.
        key: Key to set under internal namespace in scope state.
    """
    del scope.setdefault(_SCOPE_NAMESPACE, {})[key]  # type: ignore[misc]


end

	function m.header(prj)
		p.w('// !$*UTF8*$!')
		p.push('{')
		p.w('archiveVersion = 1;')
		p.w('classes = {')
		p.w('};')
		p.w('objectVersion = 46;')
		p.


/help/Map.ID.html">Map.ID imageID,
                     HelpSet hs,
                     java.util.Locale locale)

SearchTOCItem

public SearchTOCItem(SearchItem item)

Method Detail

addSearchHit

public void addSearchHit(SearchHit si)

Adds a SearchHit.

getURL

public java.net.URL getURL()

Description copied from class: TreeItem

Returns the URL for the item.

Overrides:
getURL in class TreeItem

getConfidence

public double getConfidence()

getConfidences

public java.util.Enumeration getConfidences()

inTOC

public boolean inTOC()

getSearchHits

public java.util.Enumeration getSearchHits()

hitCount

public int hitCount()

<TABLE BORDER="0" CELLPADDING="0" CELLSPACI


cation  *Location   `json:"src_location"`
	DstLocation  *Location   `json:"dest_location"`
	StartTime    time.Time   `json:"start_time"`
}

type Location struct {
	City      string `json:"city"`
	Continent string `json:"continent"`
	Country   string `json:"country"`
	Region    string `json:"region"`
}

type Resource struct {
	Labels *Label `json:"labels"`
	Type   string `json:"type"`
}

type Label struct {
	Location       string `json:"location"`
	ProjectID      string `json:"project_id"`
	SubnetworkID   string `json:"subnetwork_id"`
	SubnetworkName string `json:"subnetwork_name"`
}

func (m *GCELogLine) GetVMName() (host string, err error) {
	defer func() {
		if r := recover(); r != nil {
			if j, e := json.Marshal(m); e != nil {
				err = e
			} else {
				err = fmt.Errorf("%v -> %s", r, string(j))
			}
		}
	}()

	if m.IsIn() {
		host = m.Payload.SrcInstance.VMName
	} else {
		host = m.Payload.DestInstance.VMName
	}

	return host, nil
}

func (m *GCELogLine) IsValid() bool {
	if m.Payload != nil {
		return m.Payload.EndTime.After(time.Now().Add(RECV_WINDOW))
	}

	return false
}

func (m *GCELogLine) IsIn() bool {
	return m.Payload.SrcInstance != nil && m.Payload.SrcInstance.VMName != ""
}

func (m *GCELogLine) IsInternal() bool {
	return (m.Payload.SrcInstance != nil && m.Payload.SrcInstance.VMName != "") && (m.Payload.DestInstance != nil && m.Payload.DestInstance.VMName != "")
}

func (m *GCELogLine) ToJson() []byte {
	j, _ := json.Marshal(m)
	return j
}

func (m *GCELogLine) ToFlow(log logger.ContextL, flowSample uint32) (in *kt.JCHF, err error) {
	defer func() {
		if r := recover(); r != nil {
			if j, e := json.Marshal(m); e != nil {
				err = e
			} else {
				err = fmt.Errorf("%v -> %s", r, string(j))
			}
		}
	}()

	in = kt.NewJCHF()
	in.CustomStr = make(map[string]string)
	in.CustomInt = make(map[string]int32)
	in.CustomBigInt = make(map[string]int64)
	in.EventType = kt.KENTIK_EVENT_TYPE
	in.Provider = kt.ProviderVPC
	in.SampleRate = flowSample
	vmname, _ := m.GetVMName()
	in.DeviceName = vmname

	in.CustomStr["kt.from"] = kt.FromGCP
	in.CustomStr["type"] = GCP_VPC_TYPE
	in.CustomStr["insert_id"] = m.InsertID
	in.CustomStr["log_name"] = m.LogName
	in.CustomBigInt["rcv_time"] = m.RecvTs.Unix()
	in.ApplySample = true

	m.Payload.Save(in)
	m.Resource.Save(in)

	return in, err
}

func (l *Label) Save(in *kt.JCHF) {
	if l == nil {
		return
	}

	in.CustomStr["label_location"] = l.Location
	in.CustomStr["label_project_id"] = l.ProjectID
	in.CustomStr["label_subnetwork_id"] = l.SubnetworkID
	in.CustomStr["label_subnetwork_name"] = l.SubnetworkName
}

func (r *Resource) Save(in *kt.JCHF) {


ShoulderRadius(), iR, t.getAftShoulderLength());
					gl.glPushMatrix();
					gl.glRotated(270, 0, 1.0, 0);
					glu.gluDisk(q, t.getAftShoulderRadius(), t.getAftRadius(), LOD, 2);
					gl.glPopMatrix();
				}
				gl.glPopMatrix();
			}

			//Render Fore edge
			gl.glPushMatrix();
			gl.glRotated(180, 0, 1.0, 0);
			if (which == Surface.EDGES) {
				gl.glRotated(90, 0, 1.0, 0);
				glu.gluDisk(q, Math.max(0, t.getForeRadius() - t.getThickness()), t.getForeRadius(), LOD, 2);
			} else {
				gl.glRotated(270, 0, 1.0, 0);
				glu.gluDisk(q, Math.max(0, t.getForeRadius() - t.getThickness()), t.getForeRadius(), LOD, 2);
			}
			gl.glPopMatrix();

			// Render Fore shoulder
			if (t.getForeShoulderLength() > 0) {
				gl.glPushMatrix();
				gl.glRotated(180, 0, 1.0, 0);
				//gl.glTranslated(t.getLengthAerodynamic(), 0, 0);
				double iR = (t.isFilled() || t.isForeShoulderCapped()) ? 0 : t.getForeShoulderRadius() - t.getForeShoulderThickness();
				if (which == Surface.EDGES) {
					renderTube(gl, Surface.OUTSIDE, t.getForeShoulderRadius(), iR, t.getForeShoulderLength());
					renderTube(gl, Surface.EDGES, t.getForeShoulderRadius(), iR, t.getForeShoulderLength());
					gl.glPushMatrix();
					gl.glRotated(90, 0, 1.0, 0);
					glu.gluDisk(q, t.getForeShoulderRadius(), t.getForeRadius(), LOD, 2);
					gl.glPopMatrix();

				} else {
					renderTube(gl, Surface.INSIDE, t.getForeShoulderRadius(), iR, t.getForeShoulderLength());
					gl.glPushMatrix();
					gl.glRotated(270, 0, 1.0, 0);
					glu.gluDisk(q, t.getForeShoulderRadius(), t.getForeRadius(), LOD, 2);
					gl.glPopMatrix();
				}
				gl.glPopMatrix();
			}

		}

	}

	private void renderTube(final GL2 gl, final Surface which, final double oR, final double iR, final double len) {
		gl.glPushMatrix();
		//outside
		gl.glRotated(90, 0, 1.0, 0);
		if (which == Surface.OUTSIDE)
			glu.gluCylinder(q, oR, oR, len, LOD, 1);

		//edges
		gl.glRotated(180, 0, 1.0, 0);
		if (which == Surface.EDGES)
			glu.gluDisk(q, iR, oR, LOD, 2);

		gl.glRotated(180, 0, 1.0, 0);
		gl.glTranslated(0, 0, len);
		if (which == Surface.EDGES)
			glu.gluDisk(q, iR, oR, LOD, 2);

		//inside
		if (which == Surface.INSIDE) {
			glu.gluQuadricOrientation(q, GLU.GLU_INSIDE);
			glu.gluCylinder(q, iR, iR, -len, LOD, 1);
			glu.gluQuadricOrientation(q, GLU.GLU_OUTSIDE);
		}
		gl.glPopMatrix();
	}

	private void renderTube(GL2 gl, BodyTube t, Surf


/***********************************************************************
    created:    Fri Apr 22 2011
    author:     Paul D Turner <paul@cegui.org.uk>
*************************************************************************/
/***************************************************************************
 *   Copyright (C) 2004 - 2011 Paul D Turner & The CEGUI Development Team
 *
 *   Permission is hereby granted, free of charge, to any person obtaining
 *   a copy of this software and associated documentation files (the
 *   "Software"), to deal in the Software without restriction, including
 *   without limitation the rights to use, copy, modify, merge, publish,
 *   distribute, sublicense, and/or sell copies of the Software, and to
 *   permit persons to whom the Software is furnished to do so, subject to
 *   the following conditions:
 *
 *   The above copyright notice and this permission notice shall be
 *   included in all copies or substantial portions of the Software.
 *
 *   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 *   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 *   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 *   IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
 *   OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 *   ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 *   OTHER DEALINGS IN THE SOFTWARE.
 ***************************************************************************/
#ifndef _Sample_InventorySample_h_
#define _Sample_InventorySample_h_

#include "Sample.h"

class InventorySample : public Sample
{
public:
    InventorySample();
    virtual ~InventorySample() {}

    // method to initialse the samples windows and events.
    bool initialise(CEGUI::GUIContext* guiContext) override;

    // method to perform any required cleanup operations.
    void deinitialise() override;
};

#endif  // end of guard _Sample_InventorySample_h_


-1) p');
    assertSpecificityEquals([0, 0, 1, 0], ':lang(nl-be)');
  }
});
/**
 * @license
 * Copyright The Closure Library Authors.
 * SPDX-License-Identifier: Apache-2.0
 */

/**
 * @fileoverview SafeHtml factory methods for creating object tags for
 * loading Silverlight files.
 */

goog.provide('goog.html.silverlight');

goog.require('goog.html.SafeHtml');
goog.require('goog.html.TrustedResourceUrl');
goog.require('goog.html.flash');
goog.require('goog.string.Const');

/**
 * Attributes and param tag name attributes not allowed to be overriden
 * when calling createObjectForSilverlight().
 *
 * While values that should be specified as params are probably not
 * recognized as attributes, we block them anyway just to be sure.
 * @const {!Array<string>}
 * @private
 */
goog.html.silverlight.FORBIDDEN_ATTRS_AND_PARAMS_ON_SILVERLIGHT_ = [
  'data',          // Always set to a fixed value.
  'source',        // Specifies the URL for the Silverlight file.
  'type',          // Always set to a fixed value.
  'typemustmatch'  // Always set to a fixed value.
];

/**
 * Creates a SafeHtml representing an object tag, for loading Silverlight files.
 *
 * The following attributes are set to these fixed values:
 * - data: data:application/x-silverlight-2,
 * - type: application/x-silverlight-2
 * - typemustmatch: "" (the empty string, meaning true for a boolean attribute)
 *
 * @param {!goog.html.TrustedResourceUrl} source The value of the source param.
 * @param {?Object<string, string>=} opt_params Mapping used to generate child
 *     param tags. Each tag has a name and value attribute, as defined in
 *     mapping. Only names consisting of [a-zA-Z0-9-] are allowed. Value of
 *     null or undefined causes the param tag to be omitted.
 * @param {?Object<string, ?goog.html.SafeHtml.AttributeValue>=} opt_attributes
 *     Mapping from other attribute names to their values. Only attribute names
 *     consisting of [a-zA-Z0-9-] are allowed. Value of null or undefined causes
 *     the attribute to be omitted.
 * @return {!goog.html.SafeHtml} The SafeHtml content with the object tag.
 * @throws {Error} If invalid attribute or param name, or attribute or param
 *     value is provided. Also if opt_attributes or opt_params contains any of
 *     the attributes set to fixed values, documented above, or contains source.
 *
 */
goog.html.silverlight.createObject = function(
    source, opt_params, opt_attributes) {
  goog.html.flash.verifyKeysNotInMaps(
      goog.html.silverlight.FORBIDDEN_ATTRS_AND_PARAMS_ON_SILVERLIGHT_,
      opt_attributes, opt_params);

  // We don't set default for Silverlight's EnableHtmlAccess and
  // AllowHtmlPopupwindow because their default changes depending on whether
  // a file loaded from the same domain.
  var paramTags = goog.html.flash.combineParams({'source': source}, opt_params);
  var fixedAttributes = {
    'data': goog.html.TrustedResourceUrl.fromConstant(
        goog.string.Const.from('data:application/x-silverlight-2,')),
    'type': 'application/x-silverlight-2',
    'typemustmatch': ''
  };
  var attributes =
      goog.html.SafeHtml.combineAttributes(fixedAttributes, {}, opt_attributes);

  return goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(
      'object', attributes, paramTags);
};
/**
 * @license
 * Copyright Th


造。因此：

   城市工作必须重新部署。城市工作在目前我们全部工作中的比重必须提高，领导注意必须更多更大地立即转到城市方面来。

   对资产阶级的反攻及内部“三反”斗争，必须作严密计划与具体部署，必须有明确的方针与政策。

   （乙）在对资产阶级进行此种斗争时，同样必须按照二中全会和中央迭次指示所规定的路线，即依靠工人阶级，团结城市一切劳动人民，争取与团结青年学生、文教界及其他小资产阶级，并注意利用矛盾，保护与争取一切可能合作的正当工商业者，打击一切非法行贿、诈骗、偷税、盗窃国家资财或情报以及行贿勾引工作人员共同贪污的资产阶级分子。使一切与公家发生关系而有这些行为的不法分子，受到应得的打击和制裁。党必须坚决领导与放手发动广大工人，首先是机关及企业内部与商人有关系的群众、店员群众及其他有关商人，大张旗鼓、雷厉风行地发动群众检举及坦白运动，并充分利用一切坦白分子检举不法商人及内部贪污分子。因此：

   （一）必须召开工商联代表会议，响应周[1]副主席及全国人民政协的号召，发动代表及各行业工商业者坦白、检举。

   （二）召开店员工人代表大会；发动广大店员参加这一斗争，号召店员检举，争取犯有此种错误或参加舞弊行为的人迅速坦白。

   （三）为组织此种斗争的统一战线，地方人民政协可召集与推动各民主党派、民主人土及工商联领导人士开会。首先在他们中间号召参加“三反”斗争，号召坦白检举，争取尽先解决他们自身可能有的问题，使他们中的大多数能参加这一斗争。在学校教职员、文化界结合思想改造学习，发动他们宣传检举，参加这个斗争，不要让他们置身事外。宗教界已开始有人要求参加，要求其内部民主及革


   if start_time <= m['timestamp'] <= end_time
            ]

            # Calculate statistics
            df = pd.DataFrame(period_metrics)

            report = {
                'period': {
                    'start': start_time,
                    'end': end_time
                },
                'performance': {
                    'avg_return': df['performance'].apply(
                        lambda x: x['return']
                    ).mean(),
                    'success_rate': df['performance'].apply(
                        lambda x: x['success_rate']
                    ).mean(),
                    'trade_count': df['performance'].apply(
                        lambda x: x['trade_count']
                    ).sum()
                },
                'system': {
                    'avg_cpu': df['system'].apply(
                        lambda x: x['cpu_usage']
                    ).mean(),
                    'avg_memory': df['system'].apply(
                        lambda x: x['memory_usage']
                    ).mean()
                },
                'alerts': df['alerts'].explode().value_counts().to_dict()
            }

            return report

        except Exception as e:
            self.logger.error(f"Report generation failed: {str(e)}")
            raise

async def main(config_path: str):
    """Main monitoring function"""
    # Load configuration
    config_manager = ConfigManager(config_path)
    config = config_manager.get_all()

    # Setup logging
    logger = CryptoAgentLogger(config)

    try:
        # Initialize monitor
        monitor = AgentMonitor(config, logger)

        # Initialize agent connection
        agent = CryptoAgent(config, logger)

        while True:
            # Collect metrics
            metrics = await monitor.collect_metrics(agent)

            # Check alerts
            await monitor.check_alerts(metrics)

            # Generate periodic report
            if datetime.now().minute == 0:  # Every hour
                report = await monitor.generate_report(
                    datetime.now() - timedelta(hours=1),
                    datetime.now()
                )
                logger.info(f"Hourly Report: {report}")

            # Wait for next iteration
            await asyncio.sleep(config['monitoring']['interval'])

    except Exception as e:
        logger.error(f"Monitoring script failed: {str(e)}")
        raise

if __name__ == "__main__":
    parser = argparse.ArgumentParser()
    parser.add_argument('--config', default='config/config.yaml')
    args = parser.parse_args()

    asyncio.run(main(args.config))


from django.urls import path
from . import views

urlpatterns = [
    # README.md 보여주기
    path('', views.index),
    # CSV 데이터를 DataFrame으로 변환 후 반환하기 위함
    path('my_data/', views.my_data),
    # CSV 데이터의 결측치 전처리
    path('my_data_has_null/', views.my_data_has_null),
    # 평균나이 계산
    path('mean_age/', views.mean_age),
    # 내장 메서드 sort()
    path('normal_sort/', views.normal_sort),
    # 우선순위큐
    path('priority_queue/', views.priority_queue),
    # 버블정렬
    path('bubble_sort/', views.bubble_sort),
]


7rem -0.8rem;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  color: #007ace; }
  .Polaris-Button--plain:hover, .Polaris-Button--plain:focus, .Polaris-Button--plain:active {
    fill: #084e8a;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    color: #084e8a; }
  .Polaris-Button--plain:focus > .Polaris-Button__Content::after {
    opacity: 1; }
  .Polaris-Button--plain.Polaris-Button--fullWidth {
    margin-left: 0;
    margin-right: 0; }
  .Polaris-Button--plain.Polaris-Button--disabled {
    background: none; }
  .Polaris-Button--plain.Polaris-Button--sizeSlim {
    margin-top: -0.4rem;
    margin-bottom: -0.4rem; }
  .Polaris-Button--plain.Polaris-Button--sizeLarge {
    margin: -1.1rem -2rem; }
  .Polaris-Button--plain.Polaris-Button--iconOnly {
    fill: #637381;
    margin: -0.8rem; }
    .Polaris-Button--plain.Polaris-Button--iconOnly:focus, .Polaris-Button--plain.Polaris-Button--iconOnly:active {
      fill: #637381;
      background: rgba(33, 43, 54, 0.1); }
    .Polaris-Button--plain.Polaris-Button--iconOnly:hover, .Polaris-Button--plain.Polaris-Button--iconOnly:active {
      fill: #212b36; }
    .Polaris-Button--plain.Polaris-Button--iconOnly > .Polaris-Button__Content::after {
      display: none; }
    .Polaris-Button--plain.Polaris-Button--iconOnly.Polaris-Button--disabled {
      fill: #c4cdd5; }
  .Polaris-Button--plain > .Polaris-Button__Content::after {
    position: absolute;
    top: -2px;
    bottom: -2px;
    left: -5px;
    right: -5px;
    display: block;
    background: rgba(33, 43, 54, 0.1);
    border-radius: 3px;
    transition: opacity 200ms cubic-bezier(0.64, 0, 0.35, 1);
    content: '';
    opacity: 0; }
  .Polaris-Button--plain .Polaris-Button__Icon {
    margin-left: 0;
    margin-right: 0; }

.Polaris-Button--sizeSlim {
  min-height: 3rem;
  padding: 0.4rem 1.2rem; }

.Polaris-Button--sizeLarge {
  min-height: 4.4rem;
  min-width: 4.4rem;
  padding: 1.1rem 2.4rem; }
  .Polaris-Button--sizeLarge .Polaris-Button__Content {
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 2rem;
    text-transform: initial;
    letter-spacing: initial; }
    @media (min-width: 40em) {
      .Polaris-Button--sizeLarge .Polaris-Button__Content {
        font-size: 1.6rem; } }

.Polaris-Button--fullWidth {
  display: block;
  width: 100%; }

.Polaris-Button--iconOnly {
  padding-left: 0.8rem;
  padding-right: 0.8rem; }
  .Polaris-Button--iconOnly.Polaris-Button--sizeLarge {


    /* HCLK = SYSCLK */
	    RCC->CFGR |= (uint32_t)RCC_CFGR_HPRE_DIV1;

	    /* PCLK2 = HCLK */
	    RCC->CFGR |= (uint32_t)RCC_CFGR_PPRE2_DIV1;

	    /* PCLK1 = HCLK */
	    RCC->CFGR |= (uint32_t)RCC_CFGR_PPRE1_DIV2;

	    /*  PLL configuration: PLLCLK = HSE * 9 = 72 MHz */
	    RCC->CFGR &= (uint32_t)((uint32_t)~(RCC_CFGR_PLLSRC | RCC_CFGR_PLLXTPRE |
	                                        RCC_CFGR_PLLMULL));
	    RCC->CFGR |= (uint32_t)(RCC_CFGR_PLLSRC_PREDIV1 | RCC_CFGR_PLLMULL9);
	    /* Enable PLL */
	    RCC->CR |= RCC_CR_PLLON;

	    /* Wait till PLL is ready */
	    while((RCC->CR & RCC_CR_PLLRDY) == 0)
	    {
	    }

	    /* Select PLL as system clock source */
	    RCC->CFGR &= (uint32_t)((uint32_t)~(RCC_CFGR_SW));
	    RCC->CFGR |= (uint32_t)RCC_CFGR_SW_PLL;

	    /* Wait till PLL is used as system clock source */
	    while ((RCC->CFGR & (uint32_t)RCC_CFGR_SWS) != (uint32_t)RCC_CFGR_SWS_PLL)
	    {
	    }
	  }
	  else
	  { /* If HSE fails to start-up, the application will have wrong clock
	         configuration. User can add here some code to deal with this error */
	  }
	#endif /* PLL_SOURCE_HSI */
}

/**
  * @}
  */

/**
  * @}
  */

/**
  * @}
  */

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/


/tpp/level/location/mafr/block_large/factory/mafr_factory_asset.fox2", true)
					end,
					option = { isExecDemoPlaying = true },
				},
				{
					msg = "radio_on",
					func = function()
						Gimmick.ResetGimmickData( "mafr_mdeq001_vrtn001_gim_i0000|TppSharedGimmick_mafr_mdeq001_vrtn001", "/Assets/tpp/level/location/mafr/block_large/factory/mafr_factory_asset.fox2" )
					end,
					option = { isExecDemoPlaying = true },
				},
			},
		}
	end,

	OnEnter = function()
		if (svars.isDamagedPlh == true) then
			TppSequence.SetNextSequence( "Seq_Game_SearchTarget" )

			TppScriptBlock.LoadDemoBlock("volginDemoName")
		else
			s10110_demo.PlayBedDemo( func )

			svars.isInTunnel = true
			TppScriptBlock.Load( "npc_block", "Volgin", true )

			TppDataUtility.SetVisibleDataFromIdentifier( "GimmickIdentifier", "bed_before", true, true)
			TppDataUtility.SetEnableDataFromIdentifier( "GimmickIdentifier", "Wall_bed_after", false )

			TppDataUtility.SetEnableDataFromIdentifier( "GimmickIdentifier", "Wall_door", false )

			TppDataUtility.SetEnableDataFromIdentifier( "GimmickIdentifier", "Wall_tunnel", false )
			TppDataUtility.SetEnableDataFromIdentifier( "GimmickIdentifier", "Wall_tunnel_after", false )
			TppDataUtility.SetEnableDataFromIdentifier( "GimmickIdentifier", "Wall_rock", false )

		end
	end,

	OnLeave = function()
		TppMission.UpdateCheckPoint( "CHK_FinishBedDemo" )

	end,

}

sequences.Seq_Game_SearchTarget = {

	Messages = function( self )
		return
		StrCode32Table {
			GameObject = {
				{
					msg = "BreakGimmick",
					func = function ( cpGameObjectId, gameObjectName )
						if gameObjectName == StrCode32( WatorTower ) then

							Fox.Log("WatorTimerStart")
							mvars.isBreakWTTR = true
						elseif gameObjectName == StrCode32( "mafr_stfr001_gim_n0002|srt_mafr_stfr001" ) then

							Gimmick.BreakGimmick(TppGameObject.GAME_OBJECT_TYPE_EVENT_ANIMATION, "mafr_stfr001_vrtn002_gim_n0001|srt_mafr_stfr001_vrtn002","/Assets/tpp/level/location/mafr/block_large/factory/mafr_factory_asset.fox2", 0)
						else
							Fox.Log("break_other_gimmick")
						end
					end,
				},
				{
					msg = "Damage" ,
					func = function ( gameObjectId , attackId , attackGameObjectId )
						Fox.Log("gameObjectId = "..gameObjectId.." !!")
						if gameObjectId == GameObject.GetGameObjectId("TppHostage2GameObjectLocator") and TppDamage.IsActiveByAttackId( attackId ) == true then
							if attackGameObjectId == 0 then
								Fox.Log(" from PC !! ")
								mvars.BoyIsDead = true
								TppMission.ReserveGameOver( TppDefine.GAME_OVER_TYPE.TARGET_DEAD, TppDefine.GAME_OVER_RADIO.TARGET_DEAD )
							else
								Fox.Log(" from not PC !! ")
							end

						else
							Fox.Log("damage Character is not Target boy ...")
						end
					end
				},

			},
			Timer = {
				{
					msg = "Finish",
					sender = "BrokenWatorTower",
					func = function()

						Fox.Log("finish_WatorTower_breaking")
					end
				},
			},
			Trap = {
				{
					msg = "Ent


/* GIO - GLib Input, Output and Streaming Library
 *
 * Copyright (C) 2006-2007 Red Hat, Inc.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General
 * Public License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 * Author: Alexander Larsson <alexl@redhat.com>
 *         David Zeuthen <davidz@redhat.com>
 */

#ifndef __G_UNIX_MOUNT_H__
#define __G_UNIX_MOUNT_H__

#include <gio/giotypes.h>

#include "gunixmounts.h"

G_BEGIN_DECLS

#define G_TYPE_UNIX_MOUNT        (_g_unix_mount_get_type ())
#define G_UNIX_MOUNT(o)          (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_UNIX_MOUNT, GUnixMount))
#define G_UNIX_MOUNT_CLASS(k)    (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_UNIX_MOUNT, GUnixMountClass))
#define G_IS_UNIX_MOUNT(o)       (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_UNIX_MOUNT))
#define G_IS_UNIX_MOUNT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_UNIX_MOUNT))

typedef struct _GUnixMountClass GUnixMountClass;

struct _GUnixMountClass
{
  GObjectClass parent_class;
};

GType        _g_unix_mount_get_type       (void) G_GNUC_CONST;

GUnixMount * _g_unix_mount_new            (GVolumeMonitor  *volume_monitor,
                                           GUnixMountEntry *mount_entry,
                                           GUnixVolume     *volume);
gboolean     _g_unix_mount_has_mount_path (GUnixMount      *mount,
                                           const char      *mount_path);
void         _g_unix_mount_unset_volume   (GUnixMount      *mount,
                                           GUnixVolume     *volume);
void         _g_unix_mount_unmounted      (GUnixMount      *mount);

G_END_DECLS

#endif /* __G_UNIX_MOUNT_H__ */


o_anim_del2500 {
    animation-delay: 2500ms;
}

// Odoo dropdown menu
.o_dropdown_menu {
    @extend .dropdown-menu;
}

// Override web_editor's rules
.o_table tr {
    border-color: $table-border-color;
}

// Disables the offset on dropdown to match relative position in mobile/offcanvas.
.o_dropdown_without_offset {
    transform: none !important;
}
.o_tag {
    font-size: var(--Tag-font-size, #{$font-size-sm});
    max-width: var(--Tag-max-width, 100%);

    @for $size from 1 through length($o-colors) {
        &.o_tag_color_#{$size - 1} {
            $-bg: adjust-color(nth($o-colors, $size), $lightness: 25%, $saturation: 15%);
            $-color: adjust-color(nth($o-colors, $size), $lightness: -40%, $saturation: -15%);

            &, &::after {
                @include o-print-color($-bg, background-color, bg-opacity);
                @include o-print-color($-color, color, text-opacity);
            }
        }
    }
}.o_datetime_picker {
    --DateTimePicker__Cell-size-md: 3rem;
    --DateTimePicker__Cell-size-lg: 5rem;
    --DateTimePicker__Template-rows: 3;
    --DateTimePicker__Template-columns: 4;
    --DateTimePicker__Day-template-rows: 6;

    // Header
    .o_datetime_picker_header .o_header_part {
        text-transform: none;
    }

    // Day

    .o_date_item_cell {
        position: relative;
        border-radius: 0;
    }

    .o_current,
    .o_selected {
        color: $o-component-active-color;
    }

    .o_selected:not(.o_select_start):not(.o_select_end) {
        background: $o-component-active-bg;
    }

    .o_current,
    .o_highlight_start:not(.o_selected),
    .o_highlight_end:not(.o_selected),
    .o_select_start,
    .o_select_end {
        &:before {
            content: "";
            position: absolute;
            box-shadow: inset 0 0 0 1px $o-component-active-border;
            width: 100%;
            aspect-ratio: 1;
            border-radius: 100%;
            z-index: 1;
        }
    }

    .o_select_start,
    .o_select_end {
        &:before {
            background: mix(lighten($o-component-active-border, 10%), $o-component-active-bg, 15%);
        }

        &:after {
            content: "";
            position: absolute;
            background: transparent;
            width: 50%;
            aspect-ratio: 1/2;
        }

        &:not(.o_select_end):after {
            right: 0;
            background: $o-component-active-bg;
        }

        &:not(.o_select_start):after {
            right: 50%;
            background: $o-component-active-bg;
        }
    }

    .o_today:not(.o_out_of_range) span {
        position: relative;

        &::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: $spacer * -0.25;
            transform: translateX(-50%);
            width: 0.95em;
            height: 0.2em;
            border-radius: $border-radius-pill;
            background: $danger;
        }
    }

    .o_out_of_range {


129;

#[derive(Default, Clone, Copy)]
struct FsmAction {
    next: FsmIndex,
    offset: i32,
}

#[derive(Clone)]
struct FsmColumn {
    ts: [FsmAction; FSM_COLUMN_SIZE],
}

impl FsmColumn {
    fn new() -> Self {
        Self {
            ts: [Default::default(); FSM_COLUMN_SIZE]
        }
    }
}

struct Regex {
    cs: Vec<FsmColumn>
}

#[derive(Debug, Copy, Clone)]
enum Atom {
    Any,
    EndLine,
    Char(char),
}

#[derive(Debug)]
enum Token {
    Atom(Atom),
    Star(Atom),
}

fn lexer(src: &str) -> Vec<Token> {
    let bytes = src.as_bytes();

    let mut result = Vec::new();
    let mut i = 0;
    while i < bytes.len() {
        let atom = match bytes[i] as char {
            '.'       => Atom::Any,
            '$'       => Atom::EndLine,
            '*' | '+' => panic!("Invalid target for quantifier"),
            x         => Atom::Char(x),
        };

        i += 1;

        match bytes.get(i).map(|x| *x as char) {
            Some('*') => {
                i += 1;
                result.push(Token::Star(atom));
            }
            Some('+') => {
                i += 1;
                result.push(Token::Atom(atom));
                result.push(Token::Star(atom));
            }
            _ => {
                result.push(Token::Atom(atom));
            }
        };
    }
    result
}

fn compile_atom(atom: &Atom, success: FsmIndex) -> FsmColumn {
    use Atom::*;

    let mut column = FsmColumn::new();

    match atom {
        Any => {
            for i in 32..127 {
                column.ts[i] = FsmAction {
                    next: success,
                    offset: 1,
                };
            }
        },
        EndLine => {
            column.ts[FSM_LINEEND] = FsmAction {
                next: success,
                offset: 1,
            };
        }
        Char(x) => {
            column.ts[*x as usize] = FsmAction {
                next: success,
                offset: 1,
            };
        }
    }

    column
}

impl Regex {
    fn compile(src: &str) -> Self {
        let tokens = lexer(src);
        let mut fsm = Self { cs: Vec::new() };
        fsm.cs.push(FsmColumn::new()); // default failed state

        for token in tokens.iter() {
            let current_state = fsm.cs.len();
            let next_state = fsm.cs.len() + 1;

            match token {
                Token::Atom(atom) => {
                    let column = compile_atom(atom, next_state);
                    fsm.cs.push(column);
                },

                Token::Star(atom) => {
                    let mut column = compile_atom(atom, current_state);
                    for action in column.ts.iter_mut() {
                        if action.next == 0 {
                            action.next = next_state;
                        } else {
                            assert!(action.next == current_state);
                        }
                    }
                    fsm.cs.push(column);
                }
            }
        }

        fsm
    }

    fn match_str(&self, input: &str) -> bool {
        let mut state = 1;
        let mut head = 0;
        let chars = input.chars().collect::<Vec<_>>();


rictions`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List serverKeyRestrictionsDescriptor = $convert.base64Decode(
    'ChVTZXJ2ZXJLZXlSZXN0cmljdGlvbnMSHwoLYWxsb3dlZF9pcHMYASADKAlSCmFsbG93ZWRJcH'
    'M=');

@$core.Deprecated('Use androidKeyRestrictionsDescriptor instead')
const AndroidKeyRestrictions$json = {
  '1': 'AndroidKeyRestrictions',
  '2': [
    {
      '1': 'allowed_applications',
      '3': 1,
      '4': 3,
      '5': 11,
      '6': '.google.api.apikeys.v2.AndroidApplication',
      '10': 'allowedApplications'
    },
  ],
};

/// Descriptor for `AndroidKeyRestrictions`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List androidKeyRestrictionsDescriptor = $convert.base64Decode(
    'ChZBbmRyb2lkS2V5UmVzdHJpY3Rpb25zElwKFGFsbG93ZWRfYXBwbGljYXRpb25zGAEgAygLMi'
    'kuZ29vZ2xlLmFwaS5hcGlrZXlzLnYyLkFuZHJvaWRBcHBsaWNhdGlvblITYWxsb3dlZEFwcGxp'
    'Y2F0aW9ucw==');

@$core.Deprecated('Use androidApplicationDescriptor instead')
const AndroidApplication$json = {
  '1': 'AndroidApplication',
  '2': [
    {'1': 'sha1_fingerprint', '3': 1, '4': 1, '5': 9, '10': 'sha1Fingerprint'},
    {'1': 'package_name', '3': 2, '4': 1, '5': 9, '10': 'packageName'},
  ],
};

/// Descriptor for `AndroidApplication`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List androidApplicationDescriptor = $convert.base64Decode(
    'ChJBbmRyb2lkQXBwbGljYXRpb24SKQoQc2hhMV9maW5nZXJwcmludBgBIAEoCVIPc2hhMUZpbm'
    'dlcnByaW50EiEKDHBhY2thZ2VfbmFtZRgCIAEoCVILcGFja2FnZU5hbWU=');

@$core.Deprecated('Use iosKeyRestrictionsDescriptor instead')
const IosKeyRestrictions$json = {
  '1': 'IosKeyRestrictions',
  '2': [
    {
      '1': 'allowed_bundle_ids',
      '3': 1,
      '4': 3,
      '5': 9,
      '10': 'allowedBundleIds'
    },
  ],
};

/// Descriptor for `IosKeyRestrictions`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List iosKeyRestrictionsDescriptor = $convert.base64Decode(
    'ChJJb3NLZXlSZXN0cmljdGlvbnMSLAoSYWxsb3dlZF9idW5kbGVfaWRzGAEgAygJUhBhbGxvd2'
    'VkQnVuZGxlSWRz');

@$core.Deprecated('Use apiTargetDescriptor instead')
const ApiTarget$json = {
  '1': 'ApiTarget


#include "libforest/gbi_extensions.h"
#include "PR/gbi.h"
#include "evw_anime.h"
#include "c_keyframe.h"
#include "ac_npc.h"
#include "ef_effect_control.h"

u8 mus_win_mark_tex[] ATTRIBUTE_ALIGN(32) = {
#include "assets/mus_win_mark_tex.inc"
};

Vtx mus_mark_v[] = {
#include "assets/mus_mark_v.inc"
};

Gfx mus_mark_before[] = {
    gsDPPipeSync(),
    gsDPSetOtherMode(G_AD_NOTPATTERN | G_CD_MAGICSQ | G_CK_NONE | G_TC_FILT | G_TF_BILERP | G_TT_NONE | G_TL_TILE |
                         G_TD_CLAMP | G_TP_PERSP | G_CYC_1CYCLE | G_PM_NPRIMITIVE,
                     G_AC_THRESHOLD | G_ZS_PIXEL | G_RM_XLU_SURF | G_RM_XLU_SURF2),
    gsSPTexture(65535, 65535, 0, G_TX_RENDERTILE, G_ON),
    gsDPSetCombineLERP(PRIMITIVE, ENVIRONMENT, TEXEL0, ENVIRONMENT, 0, 0, 0, TEXEL0, PRIMITIVE, ENVIRONMENT, TEXEL0,
                       ENVIRONMENT, 0, 0, 0, TEXEL0),
    gsSPLoadGeometryMode(G_SHADE | G_CULL_BACK | G_SHADING_SMOOTH | G_DECAL_LEQUAL),
    gsDPSetTextureLUT(G_TT_NONE),
    gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, mus_win_mark_tex),
    gsDPSetTile(G_IM_FMT_IA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_MIRROR | G_TX_WRAP, 4, G_TX_NOLOD,
                G_TX_MIRROR | G_TX_WRAP, 4, G_TX_NOLOD),
    gsDPLoadSync(),
    gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 127, 1024),
    gsDPPipeSync(),
    gsDPSetTile(G_IM_FMT_IA, G_IM_SIZ_8b, 2, 0, G_TX_RENDERTILE, 0, G_TX_MIRROR | G_TX_WRAP, 4, G_TX_NOLOD,
                G_TX_MIRROR | G_TX_WRAP, 4, G_TX_NOLOD),
    gsDPSetTileSize(G_TX_RENDERTILE, 0, 0, 60, 60),
    gsSPEndDisplayList(),
};

Gfx mus_mark_model[] = {
    gsSPVertex(mus_mark_v, 4, 0),
    gsSP2Triangles(0, 1, 2, 0, 1, 3, 2, 0),
    gsSPEndDisplayList(),
};


# -*- coding: utf-8 -*-
import unittest

from domain_parser import domain_parser

class DomainParserTestCase(unittest.TestCase):

    def test_google(self):
        """Is google.com properly parsed?"""
        assert domain_parser.parse_domain(
                'http://www.google.com') == ('com', 'google', 'www')

    def test_guardian(self):
        """Is 'co.uk', which is wildcarded in the TLD list, parsed properly?"""
        assert domain_parser.parse_domain(
                'http://www.guardian.co.uk') == ('co.uk', 'guardian', 'www')

    def test_no_scheme(self):
        """Is 'www.google.com', which doesn't include the scheme ('http'), parsed properly?"""
        assert domain_parser.parse_domain(
                'www.google.com') == ('com', 'google', 'www')

    def test_secure_scheme(self):
        """Is 'https://www.google.com', which include 'https' instead of 'http', parsed properly?"""
        assert domain_parser.parse_domain(
                'https://www.google.com') == ('com', 'google', 'www')

    def test_internationalized_domain_name(self):
        """Is 'маил.гоогле.рф', which is entirely composed of non-latin characters, parsed properly?"""
        # Should always pass when run with Python 3.
        assert domain_parser.parse_domain(
                'http://маил.гоогле.рф') == ('рф', 'гоогле', 'маил')


CS field
        ! align cache line boundary at this point for optimum performance
        sta %l4, [%g0] 2         ! write to disable Icache
        mov %l0, %psr            ! delay + restore condition codes
        or %l1, %l1, %l1         ! delay + catch rf parity error on l1
        or %l2, %l2, %l2         ! delay + catch rf parity error on l2
        sta %l3, [%g0] 2         ! write to re-enable Icache after rett
        nop                      ! delay to ensure first insn after gets cached
        jmp %l1
        rett %l2
#else
        jmpl    %l1, %g0         ! PC
        rett    %l2              ! nPC
#endif
        .size __gnat_return_from_trap, . - __gnat_return_from_trap

        .section ".rodata"
        .align  8
double_zero:
        .double 0.0
        .size double_zero, . - double_zero

        /* There are symbols which are only used when tasking is used
           (fp_context_switch and common_handler) or for multiprocessor targets
           (slave_stack_table and __gnat_initialize_slave). These are
           defined as weak symbols so that they will be replaced by the actual
           variables when using the Ravenscar run times and the multiprocessor
           support. */

        .weak   fp_context_switch
        .weak   common_handler

#if defined (LEON3)
        .weak   __gnat_idle_stack_table
        .weak   __gnat_initialize_slave
#endif


#ABT_R14]	@ Store abort address.
	mrs	lr, spsr		@ Get SPSR
	str	lr, [r13, #ABT_SPSR]	@ Store SPSR
	str	r0, [r13, #ABT_R0]	@ Store R0 to use as temp register.
	mov	r0, r13			@ SP to R0
	mrs	lr, cpsr		@ Change to SVC mode.
	bic	lr, #ARM_MODE_MASK
	orr	lr, lr, #ARM_MODE_SVC
	msr	cpsr_fc, r14
	@ FIXME: Ensure 8-byte stack here.
	str	lr, [sp, #-8]!	@ NOTE: Switched mode! Save LR_SVC 2 words down from SP_SVC.
transfer_pabt_state_to_svc: 	@ Move data saved on PABT stack to SVC stack.
	ldr	lr, [r0, #ABT_R14]
	str	lr, [sp, #4]
	@ Stack state: |LR_SVC<-|LR_PABT|{original SP_SVC}|
	ldr	lr, [r0, #ABT_SPSR]
	ldr	r0, [r0, #ABT_R0]
	stmfd	sp!, {r0-r3,r12,lr}
	@ Stack state:  |R0<-|R1|R2|R3|R12|PABT_SPSR|LR_SVC|LR_PABT|{original SP_SVC}|
	push_user_sp_lr sp	@ NOTE: These must be pushed to avoid trashing if preempted
	@ Stack state:  |SP_USR<-|LR_USR|R0|R1|R2|R3|R12|PABT_SPSR|LR_SVC|LR_PABT|{original SP_SVC}|
read_pabt_state:
	cp15_read_ifsr r1	@ Reads FSR on ARMv5, IFSR on ARMv6-v7. Fault status information
	cp15_read_ifar r2	@ Reads FAR on ARMv5, IFAR on ARMv6-v7. Fault address information
	@ All abort state and (FAR/FSR) saved. Can safely enable irqs here, if need be.
	ldr	r3, [sp, #28]		@ Load PABT_SPSR
	can_abort_enable_irqs r0, r3	@ Judge if irqs can be enabled depending on prev state.
	bne	1f			@ Branch here based on previous irq judgement.
	enable_irqs r3
1:
	ldr	r3, [sp, #28]		@ Load PABT_SPSR to r3, the spsr for the aborted mode
	ldr	r0, [sp, #36]		@ Load LR_PABT - 4 saved previously. (Address that aborted)
	mov	lr, pc
	ldr	pc, =prefetch_abort_handler @ Jump to function outside this page.
	disable_irqs r0			@ Disable irqs to avoid corrupting spsr.
					@ (i.e. an interrupt could overwrite spsr with current psr)
	ldmfd	sp, {sp, lr}^		@ Restore user sp and lr which might have been corrupt on preemption
	nop				@ User reg mod requires nop
	add	sp, sp, #8		@ Update SP.
	ldmfd	sp!, {r0-r3,r12,lr}	@ Restore previous context. (note, lr has spsr)
	msr	spsr_cxsf, r14		@ Restore spsr register from lr.
	@ Stack state: |LR_SVC<-|LR_PREV(PABT)|{original SP_SVC}|
	ldmfd	r13!, {r14, pc}^	@ Return, restoring cpsr. Note r14 gets r14_svc,
					@ and pc gets lr_dabt. Saved at #4 and #8 offsets
					@ down from where svc stack had left.
END_PROC(arm_prefetch_abort_exception_reentrant)

/*
 * vect_dabt
 *
 * Upon Entry:
 * - R14_abt:	Address of next instruction after aborted instruction
 * - PC:	0x00000010
 * - IRQs are disabled (CPSR[7] = 1)
 *
 *
 * PURPOSE:
 * Used for handling instructions that caused *memory aborts* during


l List<CallSiteTypeInformation> _callsToAnalyze =
      <CallSiteTypeInformation>[];

  ClosureTracerVisitor(
    this.tracedElements,
    ApplyableTypeInformation tracedType,
    InferrerEngine inferrer,
  ) : super(tracedType, inferrer) {
    assert(
      tracedElements.every((f) => !f.isAbstract),
      "Tracing abstract methods: "
      "${tracedElements.where((f) => f.isAbstract)}",
    );
  }

  @override
  ApplyableTypeInformation get tracedType =>
      super.tracedType as ApplyableTypeInformation;

  void run() {
    analyze();
    if (!continueAnalyzing) return;
    _callsToAnalyze.forEach(_analyzeCall);
    for (FunctionEntity element in tracedElements) {
      inferrer.types.strategy.forEachParameter(element, (Local parameter) {
        ElementTypeInformation info = inferrer.types.getInferredTypeOfParameter(
          parameter,
        );
        info.disableInferenceForClosures = false;
      });
    }
  }

  void _tagAsFunctionApplyTarget([String? reason]) {
    tracedType.mightBePassedToFunctionApply = true;
    if (debug.verbose) {
      print("Closure $tracedType might be passed to apply: $reason");
    }
  }

  void _registerCallForLaterAnalysis(CallSiteTypeInformation info) {
    _callsToAnalyze.add(info);
  }

  void _analyzeCall(CallSiteTypeInformation info) {
    final selector = info.selector!;
    for (var functionElement in tracedElements) {
      if (!selector.callStructure.signatureApplies(
        functionElement.parameterStructure,
      )) {
        continue;
      }
      inferrer.updateParameterInputs(
        info,
        functionElement,
        info.arguments,
        selector,
        remove: false,
        addToQueue: false,
      );
    }
  }

  @override
  void visitClosureCallSiteTypeInformation(
    ClosureCallSiteTypeInformation info,
  ) {
    super.visitClosureCallSiteTypeInformation(info);
    if (info.closure == currentUser) {
      _registerCallForLaterAnalysis(info);
    } else {
      bailout('Passed to a closure');
    }
  }

  @override
  void visitStaticCallSiteTypeInformation(StaticCallSiteTypeInformation info) {
    super.visitStaticCallSiteTypeInformation(info);
    MemberEntity called = info.calledElement;
    if (inferrer.closedWorld.commonElements.isForeign(called)) {
      final name = called.name!;
      if (name == Identifiers.js || name == Identifiers.dartClosureToJS) {
        bailout('Used in JS ${info.debugName}');
      } else if (name == Identifiers.rawDartFunctionRef) {
        bailout('Escaped raw function reference');
      }
    }

    final selector = info.selector;
    if (called.isGetter &&
        selector != null &&
        selector.isCall &&
        inferrer.types.getInferredTypeOfMember(called) == currentUser) {
      // This node can be a closure call as well. For example, `foo()`
      // where `foo` is a getter.
      _registerCallForLaterAnalysis(info);
    }

    final arguments = info.arguments;
    if (_checkIfFunctionApply(called) &&
        arguments != null &&
        arguments.contains(currentUser)) {
      _tagAsFunctionApplyTarget("static call");
    }
  }

  bool _checkIfFunctionApply(MemberEntity element) {
    return inferrer.closedWorld.commonElements.isFunctionApplyMethod(element);
  }

  @override
  void visitDynamicCallSiteTypeInformation(
    DynamicCallSiteTypeInformation info,
  ) {
    super.visitDynamicCallSiteTypeInformation(info);
    final selector = info.selector!;
    final user = currentUser;
    if (selector.isCall) {
      if (info.arguments!.contains(user))


percentage((51 - 514)/ 513) 0;
}

.icon-custom-BotWLink {
  background-position: percentage((52 - 514)/ 513) 0;
}

.icon-custom-BotWZelda {
  background-position: percentage((53 - 514)/ 513) 0;
}

.icon-custom-Bowser {
  background-position: percentage((54 - 514)/ 513) 0;
}

.icon-custom-Bowsette {
  background-position: percentage((55 - 514)/ 513) 0;
}

.icon-custom-BowsetteRed {
  background-position: percentage((56 - 514)/ 513) 0;
}

.icon-custom-Branch {
  background-position: percentage((57 - 514)/ 513) 0;
}

.icon-custom-Brian {
  background-position: percentage((58 - 514)/ 513) 0;
}

.icon-custom-Broccoli {
  background-position: percentage((59 - 514)/ 513) 0;
}

.icon-custom-Bronzor {
  background-position: percentage((60 - 514)/ 513) 0;
}

.icon-custom-BSBoy {
  background-position: percentage((61 - 514)/ 513) 0;
}

.icon-custom-BSGirl {
  background-position: percentage((62 - 514)/ 513) 0;
}

.icon-custom-Bubblen {
  background-position: percentage((63 - 514)/ 513) 0;
}

.icon-custom-Bubbles {
  background-position: percentage((64 - 514)/ 513) 0;
}

.icon-custom-BulletBill {
  background-position: percentage((65 - 514)/ 513) 0;
}

.icon-custom-Buttercup {
  background-position: percentage((66 - 514)/ 513) 0;
}

.icon-custom-Cactuar {
  background-position: percentage((67 - 514)/ 513) 0;
}

.icon-custom-Cadence {
  background-position: percentage((68 - 514)/ 513) 0;
}

.icon-custom-CaptainNovolin {
  background-position: percentage((69 - 514)/ 513) 0;
}

.icon-custom-CarlSagan42 {
  background-position: percentage((70 - 514)/ 513) 0;
}

.icon-custom-CasualZelda {
  background-position: percentage((71 - 514)/ 513) 0;
}

.icon-custom-MarvintheCat {
  background-position: percentage((72 - 514)/ 513) 0;
}

.icon-custom-CatBoo {
  background-position: percentage((73 - 514)/ 513) 0;
}

.icon-custom-CatgirlHidari {
  background-position: percentage((74 - 514)/ 513) 0;
}

.icon-custom-CD-iLink {
  background-position: percentage((75 - 514)/ 513) 0;
}

.icon-custom-Celes {
  background-position: percentage((76 - 514)/ 513) 0;
}

.icon-custom-CentaurEnos {
  background-position: percentage((77 - 514)/ 513) 0;
}

.icon-custom-Charizard {
  background-position: percentage((78 - 514)/ 513) 0;
}

.icon-custom-CheepCheep {
  background-position: percentage((79 - 514)/ 513) 0;
}

.icon-custom-ChefPepper {
  background-position: percentage((80 - 514)/ 513) 0;
}

.icon-custom-Chibity {
  background-position: percentage((81 - 514)/ 513) 0;
}

.icon-custom-Chrizzz {
  background-position: percentage((82 - 514)/ 513) 0;
}

.icon-custom-Cinna {
  background-position: percentage((83 - 514)/ 513) 0;
}

.icon-custom-Cirno {
  background-position: percentage((84 - 514)/ 513) 0;
}

.icon-custom-Clifford {
  background-position: percentage((85 -


Label.TextColor = Theme.CurrentTheme.MainTitleColor;
            TimeLabel.TextColor = Theme.CurrentTheme.MainSubtitleColor;
            ContentLabel.TextColor = Theme.CurrentTheme.MainTextColor;
            DefaultContentConstraintSize = ContentConstraint.Constant;

            this.WhenAnyValue(x => x.ViewModel)
                .Where(x => x != null)
                .Subscribe(x =>
	            {
	                TitleLabel.Text = x.Title;
	                ContentLabel.Text = x.Description;
	                TimeLabel.Text = x.UpdatedString;
	                ContentConstraint.Constant = string.IsNullOrEmpty(x.Description) ? 0f : DefaultContentConstraintSize;
	                MainImageView.SetAvatar(x.Avatar);
	            });
        }

        protected override void Dispose(bool disposing)
        {
            ReleaseDesignerOutlets();
            base.Dispose(disposing);
        }
    }
}


ff", "lua_abilities/snapfire_lil_shredder_lua/modifier_snapfire_lil_shredder_lua_debuff", LUA_MODIFIER_MOTION_NONE )

--------------------------------------------------------------------------------
-- Ability Start
function snapfire_lil_shredder_lua:OnSpellStart()
	-- unit identifier
	local caster = self:GetCaster()

	-- load data
	local duration = self:GetDuration()

	-- addd buff
	caster:AddNewModifier(
		caster, -- player source
		self, -- ability source
		"modifier_snapfire_lil_shredder_lua", -- modifier name
		{ duration = duration } -- kv
	)
end


runtime_error(message.str());
                      }

                      // Emit the item to the subscriber
                      ctx->subscriber->on_next(std::move(res));
                    }
                  }));
            });
        })
        .subscribe(
          [](FakeVoid) {/* ignore: subscriber.on_next is invoked during RX pipeline processing */},
          [ctx](std::exception_ptr error) {
            ctx->subscriber->on_error(error);
            ctx->subscriber = std::nullopt;
          },
          [ctx]() {
            ctx->subscriber->on_completed();
            ctx->subscriber = std::nullopt;
          }
        );
    });
}
#include <pep/castor/Participant.hpp>
#include <pep/castor/StudyDataPoint.hpp>
#include <pep/castor/SurveyDataPoint.hpp>
#include <pep/castor/SurveyPackageInstance.hpp>
#include <pep/castor/RepeatingDataInstance.hpp>
#include <pep/castor/Ptree.hpp>

namespace pep {
namespace castor {

const std::string Participant::RELATIVE_API_ENDPOINT = "participant";
const std::string Participant::EMBEDDED_API_NODE_NAME = "participants";

Participant::Participant(std::shared_ptr<Study> study, JsonPtr json)
  : SimpleCastorChildObject<Participant, Study>(study, json),
  mProgress(GetFromPtree<int>(*json, "progress")),
  mStatus(GetFromPtree<std::string>(*json, "status")),
  mUpdatedOn(std::make_unique<boost::property_tree::ptree>(GetFromPtree<boost::property_tree::ptree>(*json, "updated_on"))) {}

rxcpp::observable<std::shared_ptr<Participant>> Participant::CreateNew(std::shared_ptr<Study> study, const std::string& participantId, const std::string& siteId) {
  auto connection = study->getConnection();
  auto request = connection->makePost(study->makeUrl() + "/" + RELATIVE_API_ENDPOINT,
    "{\"participant_id\": \"" + participantId + "\",\"site_id\": \"" + siteId + "\"}");
  return connection->sendCastorRequest(request).map([study](JsonPtr response) {
    return Participant::Create(study, response);
    });
}

rxcpp::observable<std::shared_ptr<StudyDataPoint>> Participant::getStudyDataPoints() {
  return StudyDataPoint::RetrieveForParent(SharedFrom(*this));
}

rxcpp::observable<std::shared_ptr<RepeatingDataInstance>> Participant::getRepeatingDataInstances() {
  return RepeatingDataInstance::RetrieveForParent(SharedFrom(*this))
    .on_error_resume_next(&RepeatingDataInstance::ConvertNotFoundToEmpty);
}

const boost::property_tree::ptree& Participant::getUpdatedOn() const {
  return *mUpdatedOn;
}

}
}
#pragma once

#include <optional>

#include <boost/property_tree/ptree.hpp>

namespace pep {
namespace castor {

namespace detail {

/*! \brief Helper struct for the GetFromPtree<> function.
 *  \remark Partial specializations provide specialized processing for specific value types.
 */
template <typename T>
struct PtreeAccess {
  using ReturnType = T;

  static ReturnType Get(const boost::property_tree::ptree& ptree, const std::string& path) {
    return ptree.get<T>(path);
  }
};

template <>
struct PtreeAccess<std::string> {
  using ReturnType = std::string;

  static ReturnType Get(const boost::property_tree::ptree& ptree, const std::string& path);
};

template <>
struct PtreeAccess<boost::property_tree::ptree> {
  using ReturnType = const boost::property_tree::ptree&;

private:
  static ReturnType GetImpl(const boost::property_tree::ptree& parent, const s


using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;

namespace ModelExporter
{
    public class Program
    {
        public static async Task Main(string[] args)
        {

            // test var md = (new RecastBuilder()).Build(args[0]);
            if (args.Length > 0)
            {
                Storage.VoxelBase = args[0];
            }
            if (args.Length > 1)
            {
                Storage.OrleansBase = args[1];
            }

            // Set the current path to the assembly location if env != dev.
            // The views are not at the same path between dev and prod.
            var environment = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT");
            const string devEnvironment = "Development";
            var isDev = environment == devEnvironmen


时，固定列失效的问题([#2847](https://github.com/arco-design/arco-design/pull/2847))

## 2.61.1

2024-03-22

### 🐛 问题修复

- 修复rtl切换时fixedClassName错误的问题([#2602](https://github.com/arco-design/arco-design/pull/2602))
- 修复 `Table` 组件动态变化 scrollY 可能报错的问题([#2599](https://github.com/arco-design/arco-design/pull/2599))

## 2.61.0

2024-03-15

### 🐛 问题修复

- 修复 `Table` 由于 ReactKey 缺失导致的控制台警告。([#2592](https://github.com/arco-design/arco-design/pull/2592))

## 2.60.2

2024-03-01

### 💎 功能优化

- `Table` 组件虚拟滚动开启时支持展开行和树形数据。([#2553](https://github.com/arco-design/arco-design/pull/2553))

## 2.60.0

2024-02-23

### 🐛 问题修复

- 修复`Table`组件`scrollbar-color`属性导致宽度计算错误的问题。([#2533](https://github.com/arco-design/arco-design/pull/2533))

### 🆎 类型修正

- `Table` 组件 column 属性 TS 定义调整([#2531](https://github.com/arco-design/arco-design/pull/2531))

## 2.58.1

2024-01-05

### 🐛 问题修复

- 修复`Table`组件`loading`配置不生效的问题([#2474](https://github.com/arco-design/arco-design/pull/2474))

## 2.56.1

2023-11-24

### 🐛 问题修复

- 兼容`Table`组件在同一个生命周期内 `column` 中的 `sortOrder` 开始不受控，之后又受控的情况。([#2379](https://github.com/arco-design/arco-design/pull/2379))

## 2.56.0

2023-11-17

### 🐛 问题修复

- 优化 `Table` 组件 `data` 和 `columns` 空数据的定义方式，避免无限重绘。([#2370](https://github.com/arco-design/arco-design/pull/2370))

## 2.55.2

2023-11-10

### 🐛 问题修复

- 修复 `Table` 的 `columns` 中未指定 `dataIndex` 也未指定`key`时， `col key` 可能会重复的问题。([#2353](https://github.com/arco-design/arco-design/pull/2353))
- 修复`Table`开启虚拟滚动后，横向滚动样式问题 。([#2353](https://github.com/arco-design/arco-design/pull/2353))
- 修复`Table` 的 `scroll.x={max-content}`，`scroll.y={true}`


 through the roleDefinitionId property.
// returns a *RequestInformation when successful
func (m *EntitlementManagementRoleEligibilityScheduleInstancesItemRoleDefinitionRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilityScheduleInstancesItemRoleDefinitionRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
    requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)
    if requestConfiguration != nil {
        if requestConfiguration.QueryParameters != nil {
            requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters))
        }
        requestInfo.Headers.AddAll(requestConfiguration.Headers)
        requestInfo.AddRequestOptions(requestConfiguration.Options)
    }
    requestInfo.Headers.TryAdd("Accept", "application/json")
    return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
// returns a *EntitlementManagementRoleEligibilityScheduleInstancesItemRoleDefinitionRequestBuilder when successful
func (m *EntitlementManagementRoleEligibilityScheduleInstancesItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilityScheduleInstancesItemRoleDefinitionRequestBuilder) {
    return NewEntitlementManagementRoleEligibilityScheduleInstancesItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
// Code generated by Microsoft Kiota - DO NOT EDIT.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

package rolemanagement

import (
    "context"
    i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go"
    iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models"
    ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors"
)

// EntitlementManagementRoleAssignmentScheduleInstancesItemRoleDefinitionRequestBuilder provides operations to manage the roleDefinition property of the microsoft.graph.unifiedRoleScheduleInstanceBase entity.
type EntitlementManagementRoleAssignmentScheduleInstancesItemRoleDefinitionRequestBuilder struct {
    i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
// EntitlementManagementRoleAssignmentScheduleInstancesItemRoleDefinitionRequestBuilderGetQueryParameters detailed information for the roleDefinition object that is referenced through the roleDefinitionId property.
type EntitlementManagementRoleAssignmentScheduleInstancesItemRoleDefinitionRequestBuilderGetQueryParameters struct {
    // Expand related entities
    Expand []string `uriparametername:"%24expand"`
    // Select properties to be returned
    Select []string `uriparametername:"%24select"`
}
// EntitlementManagementRoleAssignmentScheduleInstancesItemRoleDefinitionRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type EntitlementManagementRoleAssignmentScheduleInstancesItemRoleDefinitionRequestBuilderGetRequestConfiguration struct {
    // Request headers
    Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437


   ; Bildschirmspeicher kurz
               movea.l   MyMemtop,a1         ; vor MemTop kopieren !
               suba.l    #$8000,a1           ;
               move.l    #1000,d0
ScSaveLoop:    movem.l   (a0)+,d1-d7/a2
               movem.l   d1-d7/a2,(a1)
               lea.l     32(a1),a1           ; 32 Bytes transportieren
               dbf       d0,ScSaveLoop
               movem.l   (sp)+,d0-d7/a0-a6
               rts
;---------------------------------------------------------
ScreenCopy:
               movem.l   d0-d7,-(sp)         ;
               movea.l   BasAdd,a0           ; Bildschirmspeicher wieder
               movea.l   MyMemtop,a1         ; zurckkopieren
               suba.l    #$8000,a1           ;
               move.w    #160,d0             ; Alte Breite in BYTE D0
               move.w    #200,d1             ; Alte Hhe            D1
;>               cmpi.w    #2,Reso             ;
;>               bne       CopyNoHigh          ;
;>               move.w    #80,d0              ; High-Reso
;>               move.w    #400,d1             ;
CopyNoHigh:    clr.l     d2                  ;
               move.w    BpL,d2              ; Neue Bytes Pro Line  D3
               sub.w     d0,d2               ; Differenz Neue-Alte
               asr.w     #2,d0               ; /4 -> Longs
               subq.w    #1,d0               ; wegen dbf -> LONGs to copy
               subq.w    #1,d1               ; Lines to Copy
               subq.w    #1,d2               ; Rest zu lschen

CopyLoop:      move.w    d0,d3               ;
Copy_1:        move.l    (a1)+,(a0)+         ; Alten Schirm kopieren
               dbf       d3,Copy_1           ;
               move.w    d2,d3               ;
               blt.s     noendclear          ; can be negative beacuse, reasons
Copy_2:        clr.b     (a0)+               ;
               dbf       d3,Copy_2           ; Zeile bis Ende lschen
noendclear:
               dbf       d1,CopyLoop         ;

               bsr       CallClearScreen
               bsr       ResetCursor         ; CursorAddr bestimmen
               movem.l   (sp)+,d0-d7
               rts
;#####################################################################
; Neue CursorAddresse bestimmen
;
ResetCursor:   movea.l   LineA,a0            ;
               move.l    BasAdd,v_cur_add(a0)     ;  Neue Addresse
               move.w    v_cur_y(a0),d0      ;    = V_bas_add
               mulu.w    v_cel_wr(a0),d0     ;
               add.l     d0,v_cur_add(a0)    ;      + y * cel_wr
               move.w    v_cur_x(a0),d0      ;
               bclr.l    #0,d0               ;      + x^1 * v_planes
               mulu.w    v_planes(a0),d0     ;
               add.l     d0,v_cur_add(a0)    ;      + x^1 * planes
               move.w    v_cur_x(a0),d0      ;
               andi.l    #$fffe,d0           ;
               add.w     d0,v_cur_add(a0)    ;      + x&1
               clr.l     d0                  ;
               move.w    v_cur_of(a0),d0     ;
               add.l     d0,v_cur_add(a0)    ;      + cursor_offset
               rts
;#############################################################
;#
;# INTRO GrowBox Effekt und Sound
;#
;#############################################################

Intro:         bsr       ScreenSave
               pea       SoundTab(pc)        ; Sound abspielen


/* Copyright 2019 Garret G. (TheRoyalSweatshirt)
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Note:  Matrix is a little wacky with the rotary encoder click mapping being
 * on the opposite side of the board.  Remember to pay attention to
 * the 13th column where the lone key mapped for rotary encoder click (K132).
*/

#pragma once

#include "quantum.h"

#define LAYOUT( \
         K10, K20, K30, K40, K50, K60, K70, K80, K90, K100, K110, K120, \
         K11, K21, K31, K41, K51, K61, K71, K81, K91, K101, K111, K121, \
    K132, K12, K22, K32, K42, K52, K62, K72, K82, K92, K102, K112, K122, \
    K03, K13, K23, K33, K43, K53, K63, K73, K83, K93, K103, K113, K123, \
    K04, K14, K24, K34, K44, K54, K64, K74, K84, K94, K104, K114, K124, \
    K05, K15, K25, K35, K45, K55, K65, K75, K85, K95, K105, K115, K125 \
) { \
    { KC_NO, K10, K20, K30, K40, K50, K60, K70, K80, K90, K100, K110, K120, KC_NO }, \
    { KC_NO, K11, K21, K31, K41, K51, K61, K71, K81, K91, K101, K111, K121, KC_NO }, \
    { KC_NO, K12, K22, K32, K42, K52, K62, K72, K82, K92, K102, K112, K122, K132  }, \
    { K03,   K13, K23, K33, K43, K53, K63, K73, K83, K93, K103, K113, K123, KC_NO }, \
    { K04,   K14, K24, K34, K44, K54, K64, K74, K84, K94, K104, K114, K124, KC_NO }, \
    { K05,   K15, K25, K35, K45, K55, K65, K75, K85, K95, K105, K115, K125, KC_NO } \
}


gear  = 1
			ratio = 0.5
		end
		if self.vehicle.vcaGearRatioT > 0 and ratio > self.vehicle.vcaGearRatioT then
			ratio = self.vehicle.vcaGearRatioT
		end
		local maxSpeed  = ratio * self.vehicle.vcaMaxSpeed

		if motorRpm < self.minRpm and self.vcaFakeTimer == nil then
			self.vcaFakeRpm   = fakeRpmS
			self.vcaFakeTimer = 100
		end

		if self.vehicle.vcaClutchDisp ~= 0 then
			self.vehicle.vcaClutchDisp = 0
		end

		local peakPowerNRpmL = 1
		local peakPowerNRpmH = 1
		if self.vcaMaxPowerRpmL ~= nil and self.vcaMaxPowerRpmL < self.maxRpm then
			peakPowerNRpmL    = self.vcaMaxPowerRpmL / self.maxRpm
		end
		if self.vcaMaxPowerRpmH ~= nil and self.vcaMaxPowerRpmH < self.maxRpm then
			peakPowerNRpmH    = self.vcaMaxPowerRpmH / self.maxRpm
		end

		if     self.vehicle.vcaHandthrottle > 0 then
			newMinRpm = math.max( self.minRpm, idleRpm * 0.95 )
			newMaxRpm = math.min( self.maxRpm, idleRpm * 1.05 )
		elseif motorPtoRpm > 0 and self.vehicle.vcaHandthrottle < 0 then
			newMinRpm = math.max( self.minRpm, idleRpm * 0.95 )
			newMaxRpm = math.min( self.maxRpm, idleRpm * 1.05 )
		elseif motorPtoRpm > 0 then
			newMinRpm = math.max( self.minRpm, motorPtoRpm * 0.95 )
			newMaxRpm = math.min( self.maxRpm, motorPtoRpm * 1.05 )
		else
			newMinRpm = self.minRpm
			newMaxRpm = self.maxRpm
		end

		if self.vcaAutoStop or self.vehicle:vcaGetNeutral() then
			-- neutral => do not increase RPM
		elseif self.vehicle.spec_combine ~= nil then
			-- increase RPM for combine
			if     speed  > 2   then
				-- not stopped => increase RPM
				self.vcaIncreaseRpm = math.max( lastIncreaseRpm, g_currentMission.time + 5000 )
			elseif curAcc > 0.1 then
				-- accelerating => increase RPM for a short time
				self.vcaIncreaseRpm = math.max( lastIncreaseRpm, g_currentMission.time + 2000 )
			elseif lastIncreaseRpm > g_currentMission.time then
				self.vcaIncreaseRpm = lastIncreaseRpm
			end
		elseif speed  > 2   then
			-- not stopped => increase RPM
			self.vcaIncreaseRpm = math.max( lastIncreaseRpm, g_currentMission.time + 1000 )
		elseif curAcc > 0.1 then
			-- accelerating => increase RPM
			self.vcaIncreaseRpm = math.max( lastIncreaseRpm, g_currentMission.time + 1000 )
		elseif lastIncreaseRpm > g_currentMission.time then
			self.vcaIncreaseRpm = lastIncreaseRpm
		end

		local minReducedRpm = math.min( math.max( newMinRpm, self.minRpm + 0.1 * rpmRange ), newMaxRpm )
		if self.vehicle.spec_combine ~= nil then
			minReducedRpm = math.min( math.max( newMinRpm, self.minRpm + 0.6 * rpmRange ), newMaxRpm )
		elseif hasActiveWorkArea then
			minReducedRpm = math.min( math


/* Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; version 2 of the License.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */

#ifndef SQL_DB_INCLUDED
#define SQL_DB_INCLUDED

#include "hash.h"                               /* HASH */

class THD;

bool schema_is_restricted_for_sctx(const char *schema,
                                   Security_context *sctx);

int mysql_create_db(THD *thd, char *db, HA_CREATE_INFO *create, bool silent);
bool mysql_alter_db(THD *thd, const char *db, HA_CREATE_INFO *create);
bool mysql_rm_db(THD *thd,char *db,bool if_exists, bool silent);
bool mysql_upgrade_db(THD *thd, LEX_STRING *old_db);
bool mysql_change_db(THD *thd, const LEX_STRING *new_db_name,
                     bool force_switch);

bool mysql_opt_change_db(THD *thd,
                         const LEX_STRING *new_db_name,
                         LEX_STRING *saved_db_name,
                         bool force_switch,
                         bool *cur_db_changed);
bool my_dboptions_cache_init(void);
void my_dboptions_cache_free(void);
bool check_db_dir_existence(const char *db_name);
bool load_db_opt(THD *thd, const char *path, HA_CREATE_INFO *create);
bool load_db_opt_by_name(THD *thd, const char *db_name,
                         HA_CREATE_INFO *db_create_info);
CHARSET_INFO *get_default_db_collation(THD *thd, const char *db_name);
bool my_dbopt_init(void);
void my_dbopt_cleanup(void);

#define MY_DB_OPT_FILE "db.opt"

#endif /* SQL_DB_INCLUDED */


19
	faligndata	%f14, %f0, %f30			! FGA
	stda		%f16, [%o0] ASI_BLK_P		! MS	Group20
	ldd		[%o1 + 0x018], %f6		! AX
	faligndata	%f0, %f2, %f16			! FGA	Group11 (7-cycle stall)
	ldd		[%o1 + 0x020], %f8		! MS
	faligndata	%f2, %f4, %f18			! FGA	Group12
	ldd		[%o1 + 0x028], %f10		! MS
	faligndata	%f4, %f6, %f20			! FGA	Group13
	ldd		[%o1 + 0x030], %f12		! MS
	faligndata	%f6, %f8, %f22			! FGA	Group14
	ldd		[%o1 + 0x038], %f14		! MS
	faligndata	%f8, %f10, %f24			! FGA	Group15
	cmp		%g1, 0				! A0
	be,pt		%icc, 1f			! BR
	 add		%o0, 0x40, %o0			! A1
	ldd		[%o1 + 0x040], %f0		! MS
1:	faligndata	%f10, %f12, %f26		! FGA	Group16
	faligndata	%f12, %f14, %f28		! FGA	Group17
	faligndata	%f14, %f0, %f30			! FGA	Group18
	stda		%f16, [%o0] ASI_BLK_P		! MS
	add		%o0, 0x40, %o0			! A0
	add		%o1, 0x40, %o1			! A1
	membar		#Sync				! MS	Group26 (7-cycle stall)

	/* Now we copy the (len modulo 64) bytes at the end.
	 * Note how we borrow the %f0 loaded above.
	 *
	 * Also notice how this code is careful not to perform a
	 * load past the end of the src buffer just like similar
	 * code found in U3memcpy_toosmall processing.
	 */
U3memcpy_loopend:
	and		%o2, 0x3f, %o2			! A0	Group
	andcc		%o2, 0x38, %g2			! A0	Group
	be,pn		%icc, U3memcpy_endcruft		! BR
	 subcc		%g2, 0x8, %g2			! A1
	be,pn		%icc, U3memcpy_endcruft		! BR	Group
	 cmp		%g1, 0				! A0

	be,a,pt		%icc, 1f			! BR	Group
	 ldd		[%o1 + 0x00], %f0		! MS

1:	ldd		[%o1 + 0x08], %f2		! MS	Group
	add		%o1, 0x8, %o1			! A0
	sub		%o2, 0x8, %o2			! A1
	subcc		%g2, 0x8, %g2			! A0	Group
	faligndata	%f0, %f2, %f8			! FGA	Group
	std		%f8, [%o0 + 0x00]		! MS	(XXX does it stall here? XXX)
	be,pn		%icc, U3memcpy_endcruft		! BR
	 add		%o0, 0x8, %o0			! A0
	ldd		[%o1 + 0x08], %f0		! MS	Group
	add		%o1, 0x8, %o1			! A0
	sub		%o2, 0x8, %o2			! A1
	subcc		%g2, 0x8, %g2			! A0	Group
	faligndata	%f2, %f0, %f8			! FGA
	std


     }
> `````

> `````js
> async function g(){let x = async function f(foo = [h, {m: t(await bar)}]){}    }
> `````

> `````js
> ({ yield: 1 })
> `````

> `````js
> yield(100)
> `````

> `````js
> function* gf() { yield 'foo' }
> `````

> `````js
> unction* gf() { var a = yield 'foo'; }
> `````

> `````js
> var gfe = function* rgfe() { switch (1) { case yield* 'foo': break; } }
> `````

> `````js
> function* gf() { switch (1) { case yield* 'foo': break; } }
> `````

> `````js
> var o = { *gf() { switch (1) { case yield: break; } } }
> `````

> `````js
> function * yield() { }
> `````

> `````js
> function * gen() { (yield) ? yield : yield }
> `````

> `````js
> function *a(){yield typeof 0}
> `````

> `````js
> function *a(){yield 2e308}
> `````

> `````js
> function *a(){({get b(){yield}})}
> `````

> `````js
> function *a(){({set b(yield){}})}
> `````

> `````js
> function* g(){ x ? yield : y }
> `````

> `````js
> async function a(){     async ([y] = [{m: 5 + t(await bar)}]);     }
> `````

> `````js
> (function * () { x = class extends (a ? null : yield) { } });
> `````

> `````js
> (function * () { ({ [yield]: x } = { }) });
> `````

> `````js
> function *g() { yield void x }
> `````

> `````js
> function* g1() { (yield 1) }
> `````

> `````js
> function* gf() { class C { *yield() { } } }
> `````

> `````js
> function* gf() { var fe = function yield() { } }
> `````

> `````js
> function f() { class C { yield() { } } }
> `````

> `````js
> function *gf(){ function yield(){}; }
> `````

> `````js
> ({x} = yield) => {}
> `````

> `````js
> function* gf() { var yield; }
> `````

> `````js
> function* gf() { +yield; }
> `````

> `````js
> function* gf() { +yield 2; }
> `````

> `````js
> o = {await(){}}
> `````

> `````js
> async function f(){ await await foo; }
> `````

> `````js
> function* gf() { yield++; }
> `````

> `````js
> function*g(){ function yield(){}; }
> `````

> `````js
> function*g() { for ({yield = 0} in 0); }
> `````

### Templates

#### with_strict_dirctive

`````js
'use strict'; #
`````

#### simple

`````js
#
`````

#### function declaration

`````js
function not_gen() { # }}
`````

#### function generator

`````js
function * gen() { function not_gen() { # }}
`````

## Output

### Hybrid CST

```javascript
{
    "kind": 122,
    "directives": [
        {
            "kind": 201392131,
            "text": "use strict",
            "rawText": "'use strict'",
            "flags": 4194400,
            "start": 0,
            "end": 12
        }
    ],
    "statements": [
        {
            "kind": 120,
            "expression": {
                "kind": 67174651,
                "text": "#",
                "flags": 96,
                "start": 13,
                "end": 15
            },
            "flags": 16,
            "start": 13,
            "end": 15
        }
    ],
    "isModule": false,
    "source": "'use strict'; #",
    "fileName": "__root__",
    "flags": 0,
    "start": 0,
    "end": 15
}
```

### Print


---------------
; Writing data in flash (4 + 256 bytes)
; ------------------------------------------------
; void SPI_writebytes(unsigned char *buffer)
_SPI_writebytes::
	pop		bc
	pop		hl
	push	hl
	push	bc

	ld		c, #PORTSPI
	ld		a, #0x7F
	out		(#PORTCFG), a			; /CS = 0	11 T-States
	.rept 260						; was 260
	outi							; 			16 T-States
	.endm
	ld		a, #0xFF
	out		(#PORTCFG), a			; /CS = 1
	ret


ldNumber();
    switch (field) {
    case 1:
      var value = msg.getBossprogressMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.BossProgress.deserializeBinaryFromReader, 0, new proto.BossProgress());
         });
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.RaidRecord.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.RaidRecord.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.RaidRecord} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.RaidRecord.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getBossprogressMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.BossProgress.serializeBinaryToWriter);
  }
};

/**
 * map<int32, BossProgress> BossProgress = 1;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<number,!proto.BossProgress>}
 */
proto.RaidRecord.prototype.getBossprogressMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<number,!proto.BossProgress>} */ (
      jspb.Message.getMapField(this, 1, opt_noLazyCreate,
      proto.BossProgress));
};

/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.RaidRecord} returns this
 */
proto.RaidRecord.prototype.clearBossprogressMap = function() {
  this.getBossprogressMap().clear();
  return this;
};

/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.UserFightAttr.repeatedFields_ = [4,5,9];

if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.UserFightAttr.prototype.toObject = function(opt_includeInstance) {
  return proto.UserFightAttr.toObject(opt_includeInstance, this);
};

/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.UserFightAttr} msg The msg instance to transform.
 * @return {!Object}
 * @suppress


5072D8 00502818  48 00 08 19 */	bl func_80507AF0
/* 805072DC 0050281C  38 7B 00 70 */	addi r3, r27, 0x70
/* 805072E0 00502820  4B FE 33 F9 */	bl func_804EA6D8
/* 805072E4 00502824  7C 7C 1B 78 */	mr r28, r3
lbl_805072E8:
/* 805072E8 00502828  2C 1C 00 00 */	cmpwi r28, 0
/* 805072EC 0050282C  40 82 FE E8 */	bne lbl_805071D4
/* 805072F0 00502830  39 61 00 20 */	addi r11, r1, 0x20
/* 805072F4 00502834  48 01 02 89 */	bl func_8051757C
/* 805072F8 00502838  80 01 00 24 */	lwz r0, 0x24(r1)
/* 805072FC 0050283C  7C 08 03 A6 */	mtlr r0
/* 80507300 00502840  38 21 00 20 */	addi r1, r1, 0x20
/* 80507304 00502844  4E 80 00 20 */	blr

.global func_80507308
func_80507308:
/* 80507308 00502848  94 21 FF E0 */	stwu r1, -0x20(r1)
/* 8050730C 0050284C  7C 08 02 A6 */	mflr r0
/* 80507310 00502850  90 01 00 24 */	stw r0, 0x24(r1)
/* 80507314 00502854  93 E1 00 1C */	stw r31, 0x1c(r1)
/* 80507318 00502858  93 C1 00 18 */	stw r30, 0x18(r1)
/* 8050731C 0050285C  93 A1 00 14 */	stw r29, 0x14(r1)
/* 80507320 00502860  7C 7D 1B 78 */	mr r29, r3
/* 80507324 00502864  38 60 00 02 */	li r3, 2
/* 80507328 00502868  4B FE 2C 2D */	bl func_804E9F54
/* 8050732C 0050286C  2C 03 00 00 */	cmpwi r3, 0
/* 80507330 00502870  7C 7E 1B 78 */	mr r30, r3
/* 80507334 00502874  41 82 01 0C */	beq lbl_80507440
/* 80507338 00502878  7F A3 EB 78 */	mr r3, r29
/* 8050733C 0050287C  48 00 23 5D */	bl func_80509698
/* 80507340 00502880  2C 03 00 00 */	cmpwi r3, 0
/* 80507344 00502884  7C 7F 1B 78 */	mr r31, r3
/* 80507348 00502888  40 82 00 84 */	bne lbl_805073CC
/* 8050734C 0050288C  7F A3 EB 78 */	mr r3, r29
/* 80507350 00502890  48 00 21 75 */	bl func_805094C4
/* 80507354 00502894  2C 03 00 00 */	cmpwi r3, 0
/* 80507358 00502898  7C 7F 1B 78 */	mr r31, r3
/* 8050735C 0050289C  40 82 00 38 */	bne lbl_80507394
/* 80507360 005028A0  7F C3 F3 78 */	mr r3, r30
/* 80507364 005028A4  7F A4 EB 78 */	mr r4, r29
/* 80507368 005028A8  38 A0 00 14 */	li r5, 0x


		int j = i85(i);
		i = j+1;
		j = i86(i);
		i = j+1;
		return i;
	}

	/*@ public normal_behavior
	  @ requires i < 2147483633;
	  @ ensures \result == \old(i)+14;
	  @*/
	public int h44(int i){
		int j = i87(i);
		i = j+1;
		j = i88(i);
		i = j+1;
		return i;
	}

	/*@ public normal_behavior
	  @ requires i < 2147483633;
	  @ ensures \result == \old(i)+14;
	  @*/
	public int h45(int i){
		int j = i89(i);
		i = j+1;
		j = i90(i);
		i = j+1;
		return i;
	}

	/*@ public normal_behavior
	  @ requires i < 2147483633;
	  @ ensures \result == \old(i)+14;
	  @*/
	public int h46(int i){
		int j = i91(i);
		i = j+1;
		j = i92(i);
		i = j+1;
		return i;
	}

	/*@ public normal_behavior
	  @ requires i < 2147483633;
	  @ ensures \result == \old(i)+14;
	  @*/
	public int h47(int i){
		int j = i93(i);
		i = j+1;
		j = i94(i);
		i = j+1;
		return i;
	}

	/*@ public normal_behavior
	  @ requires i < 2147483633;
	  @ ensures \result == \old(i)+14;
	  @*/
	public int h48(int i){
		int j = i95(i);
		i = j+1;
		j = i96(i);
		i = j+1;
		return i;
	}

	/*@ public normal_behavior
	  @ requires i < 2147483633;
	  @ ensures \result == \old(i)+14;
	  @*/
	public int h49(int i){
		int j = i97(i);
		i = j+1;
		j = i98(i);
		i = j+1;
		return i;
	}

	/*@ public normal_behavior
	  @ requires i < 2147483633;
	  @ ensures \result == \old(i)+14;
	  @*/
	public int h50(int i){
		int j = i99(i);
		i = j+1;
		j = i100(i);
		i = j+1;
		return i;
	}

	/*@ public normal_behavior
	  @ requires i < 2147483633;
	  @ ensures \result == \old(i)+14;
	  @*/
	public int h51(int i){
		int j = i101(i);
		i = j+1;
		j = i102(i);
		i = j+1;
		return i;
	}

	/*@ public normal_behavior
	  @ requires i < 2147483633;
	  @ ensures \result == \old(i)+14;
	  @*/
	public int h52(int i){
		int j = i103(i);
		i = j+1;
		j = i104(i);
		i = j+1;
		return i;
	}

	/*@ public normal_behavior
	  @ requires i < 2147483633;
	  @ ensures \result == \old(i)+14;
	  @*/
	public int h53(int i){
		int j = i105(i);
		i = j+1;
		j = i106(i);
		i = j+1;
		return i;
	}

	/*@ public normal_behavior
	  @ requires i < 2147483633;
	  @ ensures \result == \old(i)+14;
	  @*/
	public int h54(int


c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 *
 *  WSO2 Inc. 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 io.ballerina.compiler.internal.diagnostics;

import io.ballerina.tools.diagnostics.DiagnosticCode;
import io.ballerina.tools.diagnostics.DiagnosticSeverity;

/**
 * Represents a diagnostic warning code.
 *
 * @since 2.0.0
 */
public enum DiagnosticWarningCode implements DiagnosticCode {

    // The member represents a generic syntax warning
    // We should use this only when we can't figure out the exact warning
    WARNING_SYNTAX_WARNING("BCE10000", "warning.syntax.warning"),

    // Missing tokens in documentation
    WARNING_MISSING_HASH_TOKEN("BCE10001", "warning.missing.hash.token"),
    WARNING_MISSING_SINGLE_BACKTICK_TOKEN("BCE10002", "warning.missing.single.backtick.token"),
    WARNING_MISSING_DOUBLE_BACKTICK_TOKEN("BCE10003", "warning.missing.double.backtick.token"),
    WARNING_MISSING_TRIPLE_BACKTICK_TOKEN("BCE10004", "warning.missing.triple.backtick.token"),
    WARNING_MISSING_IDENTIFIER_TOKEN("BCE10005", "warning.missing.identifier.token"),
    WARNING_MISSING_OPEN_PAREN_TOKEN("BCE10006", "warning.missing.open.paren.token"),
    WARNING_MISSING_CLOSE_PAREN_TOKEN("BCE10007", "warning.missing.close.paren.token"),
    WARNING_MISSING_HYPHEN_TOKEN("BCE10008", "warning.missing.hyphen.token"),
    WARNING_MISSING_PARAMETER_NAME("BCE10009", "warning.missing.parameter.name"),
    WARNING_MISSING_CODE_REFERENCE("BCE10010", "warning.missing.code.reference"),

    // Invalid nodes in documentation
    WARNING_INVALID_BALLERINA_NAME_REFERENCE("BCE10100", "warning.invalid.ballerina.name.reference"),
    WARNING_CANNOT_HAVE_DOCUMENTATION_INLINE_WITH_A_CODE_REFERENCE_BLOCK("BCE10101",
            "warning.cannot.have.documentation.inline.with.a.code.reference.block"),
    WARNING_INVALID_ESCAPE_SEQUENCE("BCE10102", "warning.invalid.escape.sequence"),
    ;

    final String diagnosticId;
    final String messageKey;

    DiagnosticWarningCode(String diagnosticId, String messageKey) {
        this.diagnosticId = diagnosticId;
        this.messageKey = messageKey;
    }

    @Override
    public DiagnosticSeverity severity() {
        return DiagnosticSeverity.WARNING;
    }

    @Override
    public String diagnosticId() {
        return diagnosticId;
    }

    @Override
    public String messageKey() {
        return messageKey;
    }

    public boolean equals(DiagnosticCode code) {
        return this.messageKey.equals(code.messageKey());
    }
}
/*
 * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 *
 * WSO2 Inc. 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


var r=no.getDirection();void 0===r&&(r="LR");var i=_t().state,a=i.nodeSpacing||50,o=i.rankSpacing||50,s=new zt.a.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:"TB",nodesep:a,ranksep:o,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));c.info(no.getRootDocV2()),no.extract(no.getRootDocV2()),c.info(no.getRootDocV2()),vo(s,void 0,no.getRootDocV2(),!0);var u=Object(h.select)('[id="'.concat(e,'"]')),l=Object(h.select)("#"+e+" g");Ye(l,s,["barb"],"statediagram",e);var f=u.node().getBBox(),d=f.width+16,p=f.height+16;u.attr("class","statediagram");var y=u.node().getBBox();W(u,p,1.75*d,i.useMaxWidth);var g="".concat(y.x-8," ").concat(y.y-8," ").concat(d," ").concat(p);if(c.debug("viewBox ".concat(g)),u.attr("viewBox",g),!i.htmlLabels)for(var v=document.querySelectorAll('[id="'+e+'"] .edgeLabel .label'),m=0;m<v.length;m++){var b=v[m],_=b.getBBox(),x=document.createElementNS("http://www.w3.org/2000/svg","rect");x.setAttribute("rx",0),x.setAttribute("ry",0),x.setAttribute("width",_.width),x.setAttribute("height",_.height),b.insertBefore(x,b.firstChild)}};function ko(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var wo="",Eo="",To=[],Co=[],So=[],Ao=function(){for(var t=!0,e=0;e<So.length;e++)So[e].processed,t=t&&So[e].processed;return t},Mo={parseDirective:function(t,e,n){fs.parseDirective(this,t,e,n)},getConfig:function(){return _t().journey},clear:function(){To.length=0,Co.length=0,Eo="",wo="",So.length=0},setTitle:function(t){wo=t},getTitle:function(){return wo},addSection:function(t){Eo=t,To.push(t)},getSections:function(){return To},getTasks:function(){for(var t=Ao(),e=0;!t&&e<100;)t=Ao(),e++;return Co.push.apply(Co,So),Co},addTask:function(t,e){var n=e.substr(1).split(":"),r=0,i=[];1===n.length?(r=Number(n[0]),i=[]):(r=Number(n[0]),i=n[1].split(","));var a=i.map((function(t){return t.trim()})),o={section:Eo,type:Eo,people:a,task:t,score:r};So.push(o)},addTaskOrg:function(t){var e={section:Eo,type:Eo,description:t,task:t,classes:[]};Co.push(e)},getActors:function(){return t=[],Co.forEach((function(e){e.people&&t.push.apply(t,ko(e.people))})),ko(new Set(


            }
        }
        out("Test passed");
    }

    static void out() {
        out("");
    }

    static void out(String s) {
        System.out.println(s); System.out.flush();
    }

    /**
     * Returns true if at least one soundcard is correctly installed
     * on the system.
     */
    public static boolean isSoundcardInstalled() {
        boolean result = false;
        try {
            Mixer.Info[] mixers = AudioSystem.getMixerInfo();
            if (mixers.length > 0) {
                result = AudioSystem.getSourceDataLine(null) != null;
            }
        } catch (Exception e) {
            System.err.println("Exception occured: "+e);
        }
        if (!result) {
            System.err.println("Soundcard does not exist or sound drivers not installed!");
            System.err.println("This test requires sound drivers for execution.");
        }
        return result;
    }

}
/*
 * Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * This code is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 only, as
 * published by the Free Software Foundation.
 *
 * This code is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * version 2 for more details (a copy is included in the LICENSE file that
 * accompanied this code).
 *
 * You should have received a copy of the GNU General Public License version
 * 2 along with this work; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 * or visit www.oracle.com if you need additional information or have any
 * questions.
 */

/*
 * @test
 *
 * @summary converted from VM Testbase vm/mlvm/indy/func/jvmti/redefineClassInBootstrap.
 * VM Testbase keywords: [feature_mlvm, jvmti, redefine, quarantine, noJFR]
 * VM Testbase comments: 8013267
 * VM Testbase readme:
 * DESCRIPTION
 *     Test calls a boostrap and a target methods via InvokeDynamic call, monitoring that
 *     a method in the debuggee class (Dummy0.redefineNow()) is called (monitoring is done
 *     via MethodEntry event). At this moment, Dummy0 class is redefined using RedefineClasses
 *     function to Dummy1 class (in its classfile every occurence of "Dummy1" is replaced with
 *     "Dummy0") and PopFrame function is called to reenter the method.
 *     The test verifies that:
 *     - When class is redefined in bootstrap method frame, a new bootstrap method is called after PopFrame()
 *     CR 6929027
 *
 * @library /vmTestbase
 *          /test/lib
 *
 * @comment build dummy class
 * @build vm.mlvm.indy.func.jvmti.redefineClassInBootstrap.INDIFY_Dummy0
 *
 * @comment compile newclass to bin/newclass
 * @run driver nsk.share.ExtraClassesBuilder newclass
 * @run driver vm.mlvm.share.IndifiedClassesBuilder bin/newclass
 *
 *
 * @comment build test class and indify classes
 * @build vm.mlvm.indy.func.jvmti.share.IndyRedefineTest
 * @run driver vm.mlvm.share.IndifiedClassesBuilder
 *
 * @run main/othervm/native
 *      -agentlib:IndyRedefineClass=verbose=~pathToNewByteCode=./bin/newclass
 *      vm.mlvm.indy.func.jvmti.share.IndyRedefineTest
 *      -dummyClassName=vm.mlvm.indy.func.jvmti.redefineClassInBootstrap.INDIFY_Dummy0
 */

/*
 * Copyright (c) 2018, 2020,


in-top: -1px;
}

tr.alt {
    background: #f6f6f6;
}

.row1 {
    background: #EDF3FE;
}

.row2 {
    background: #fff;
}

/* SORTABLE TABLES */

thead th {
    padding: 2px 5px;
    line-height: normal;
}

thead th a:link, thead th a:visited {
    color: #666;
}

thead th.sorted {
    background: #c5c5c5 url(../img/nav-bg-selected.gif) top left repeat-x;
}

thead th.sorted .text {
    padding-right: 42px;
}

table thead th .text span {
    padding: 2px 5px;
    display:block;
}

table thead th .text a {
    display: block;
    cursor: pointer;
    padding: 2px 5px;
}

table thead th.sortable:hover {
    background: #fff url(../img/nav-bg-reverse.gif) 0 -5px repeat-x;
}

thead th.sorted a.sortremove {
    visibility: hidden;
}

table thead th.sorted:hover a.sortremove {
    visibility: visible;
}

table thead th.sorted .sortoptions {
    display: block;
    padding: 4px 5px 0 5px;
    float: right;
    text-align: right;
}

table thead th.sorted .sortpriority {
    font-size: .8em;
    min-width: 12px;
    text-align: center;
    vertical-align: top;
}

table thead th.sorted .sortoptions a {
    width: 14px;
    height: 12px;
    display: inline-block;
}

table thead th.sorted .sortoptions a.sortremove {
    background: url(../img/sorting-icons.gif) -4px -5px no-repeat;
}

table thead th.sorted .sortoptions a.sortremove:hover {
    background: url(../img/sorting-icons.gif) -4px -27px no-repeat;
}

table thead th.sorted .sortoptions a.ascending {
    background: url(../img/sorting-icons.gif) -5px -50px no-repeat;
}

table thead th.sorted .sortoptions a.ascending:hover {
    background: url(../img/sorting-icons.gif) -5px -72px no-repeat;
}

table thead th.sorted .sortoptions a.descending {
    background: url(../img/sorting-icons.gif) -5px -94px no-repeat;
}

table thead th.sorted .sortoptions a.descending:hover {
    background: url(../img/sorting-icons.gif) -5px -115px no-repeat;
}

/* ORDERABLE TABLES */

table.orderable tbody tr td:hover {
    cursor: move;
}

table.orderable tbody tr td:first-child {
    padding-left: 14px;
    background-image: url(../img/nav-bg-grabber.gif);
    background-repeat: repeat-y;
}

table.orderable-initalized .order-cell, body>tr>td.order-cell {
    display: none;
}

/* FORM DEFAULTS */

input, textarea, select, .form-row p, form .button {
    margin: 2px 0;
    padding: 2px 3px;
    vertical-align: middle;
    font-family: "Lucida Grande", Verdana, Arial, sans-serif;
    font-weight: normal;
    font-size: 11px;
}

textarea {
    vertical-align: top !important;
}


 '--------';
    }

    private isItemLevel(result: string) {
        return result.startsWith('Item Level:');
    }

    private isAffixEnder(line: any) {
        if (!line) {
            return false;
        }
        if (line === "Shaper Item") {
            return true;
        }
        if (line === "Elder Item") {
            return true;
        }
        if (line === "Place into an Abyssal Socket on an Item or into an allocated Jewel Socket on the Passive Skill Tree. Right click to remove from the Socket.") {
            return true;
        }
        if (line.startsWith("Note:")) {
            return true;
        }
        return false;
    }
}
import 'jest';
import { intersectionEquality } from './intersection-equality';

describe('intersectionEquality', () => {
  const alwaysFalse = () => false;
  const alwaysTrue = () => true;
  const evens = (a: number, b: number) => ((a % 2) === 0) && ((b % 2) === 0);

  test.each([
    [[], [], [], alwaysFalse],
    [[0], [], [], alwaysFalse],
    [[], [0], [], alwaysFalse],
    [[0], [0], [], alwaysFalse],
    [[0], [1], [], alwaysFalse],
    [[1], [0], [], alwaysFalse],
    [[1], [1], [], alwaysFalse],
  ])('expect intersectionEquality(%p, %p, alwaysFalse) to be %p', (a, b, expected, fn) => {
    const result = intersectionEquality(a, b, fn);
    expect(result).toStrictEqual(expected);
  });

  test.each([
    [[], [], [], alwaysTrue],
    [[0], [], [], alwaysTrue],
    [[], [0], [], alwaysTrue],
    [[0], [0], [0], alwaysTrue],
    [[0], [1], [0], alwaysTrue],
    [[1], [0], [1], alwaysTrue],
    [[1], [1], [1], alwaysTrue],
  ])('expect intersectionEquality(%p, %p, alwaysTrue) to be %p', (a, b, expected, fn) => {
    const result = intersectionEquality(a, b, fn);
    expect(result).toStrictEqual(expected);
  });

  test.each([
    [[], [], [], evens],
    [[0], [], [], evens],
    [[], [0], [], evens],
    [[0], [0], [0], evens],
    [[0], [1], [], evens],
    [[1], [0], [], evens],
    [[1], [1], [], evens],
    [[0], [2], [0], evens],
    [[2], [0], [2], evens],
  ])('expect intersectionEquality(%p, %p, evens) to be %p', (a, b, expected, fn) => {
    const result = intersectionEquality(a, b, fn);
    expect(result).toStrictEqual(expected);
  });
});
import { FieldType } from '@terascope/types';
import { isString, joinList } from '@terascope/utils';
import validator from 'validator';
import {
    FieldValidateConfig, ProcessMode, FunctionDefinitionType,
    FunctionDefinitionCategory
} from '../interfaces';

export interface IsHashArgs {
    algo: string;
}

export type HashConfigAlgorithms =
 | 'md4'
 | 'md5'
 | 'sha1'
 | 'sha256'
 | 'sha384'
 | 'sha512'
 | 'ripemd128'
 | 'ripemd160'
 | 'tiger128'
 | 'tiger160'
 | 'tiger192'
 | 'crc32'
 | 'crc32b';

const listOfAlgorithms = [
    'md4',
    'md5',
    'sha1',
    'sha256',
    'sha384',
    'sha512',
    'ripemd128',
    'ripemd160',
    'tiger128',
    'tiger160',
    'tiger192',
    'crc32',
    'crc32b'
];

export const isHashConfig: FieldValidateConfig<IsHashArgs> = {
    name: 'isHash',
    type: Func


.6-.8.9-1.2 1.2-1.4 14.8-9.2 30.5-12.2 47.3-6.5 12.5 4.2 19.2 13.5 30.4 24.2 10.8 10.4 21 9.9 23.1 10.5.1-.1.2 0 .4.4zm-212.5 137c2.2 1.2 1.6 1.5 1.5 2-18.5-1.4-33.9-7.6-46.8-22.2-21.8-24.7-41.7-27.9-48.6-29.7.5-.2.8-.4 1.1-.4 13.1.1 26.1.7 38.9 3.9 25.3 6.4 35 25.4 41.6 35.3 3.2 4.8 7.3 8.3 12.3 11.1z"],
    "phoenix-squadron": [512, 512, [], "f511", "M96 63.38C142.49 27.25 201.55 7.31 260.51 8.81c29.58-.38 59.11 5.37 86.91 15.33-24.13-4.63-49-6.34-73.38-2.45C231.17 27 191 48.84 162.21 80.87c5.67-1 10.78-3.67 16-5.86 18.14-7.87 37.49-13.26 57.23-14.83 19.74-2.13 39.64-.43 59.28 1.92-14.42 2.79-29.12 4.57-43 9.59-34.43 11.07-65.27 33.16-86.3 62.63-13.8 19.71-23.63 42.86-24.67 67.13-.35 16.49 5.22 34.81 19.83 44a53.27 53.27 0 0 0 37.52 6.74c15.45-2.46 30.07-8.64 43.6-16.33 11.52-6.82 22.67-14.55 32-24.25 3.79-3.22 2.53-8.45 2.62-12.79-2.12-.34-4.38-1.11-6.3.3a203 203 0 0 1-35.82 15.37c-20 6.17-42.16 8.46-62.1.78 12.79 1.73 26.06.31 37.74-5.44 20.23-9.72 36.81-25.2 54.44-38.77a526.57 526.57 0 0 1 88.9-55.31c25.71-12 52.94-22.78 81.57-24.12-15.63 13.72-32.15 26.52-46.78 41.38-14.51 14-27.46 29.5-40.11 45.18-3.52 4.6-8.95 6.94-13.58 10.16a150.7 150.7 0 0 0-51.89 60.1c-9.33 19.68-14.5 41.85-11.77 63.65 1.94 13.69 8.71 27.59 20.9 34.91 12.9 8 29.05 8.07 43.48 5.1 32.8-7.45 61.43-28.89 81-55.84 20.44-27.52 30.52-62.2 29.16-96.35-.52-7.5-1.57-15-1.66-22.49 8 19.48 14.82 39.71 16.65 60.83 2 14.28.75 28.76-1.62 42.9-1.91 11-5.67 21.51-7.78 32.43a165 165