max_stars_count
int64 301
224k
| text
stringlengths 6
1.05M
| token_count
int64 3
727k
|
---|---|---|
9,402 | <filename>src/coreclr/nativeaot/Runtime/thread.inl<gh_stars>1000+
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#ifndef DACCESS_COMPILE
inline void Thread::SetCurrentThreadPInvokeTunnelForGcAlloc(void * pTransitionFrame)
{
ASSERT(ThreadStore::GetCurrentThread() == this);
ASSERT(Thread::IsCurrentThreadInCooperativeMode());
m_pHackPInvokeTunnel = pTransitionFrame;
}
inline void Thread::SetupHackPInvokeTunnel()
{
ASSERT(ThreadStore::GetCurrentThread() == this);
ASSERT(!Thread::IsCurrentThreadInCooperativeMode());
m_pHackPInvokeTunnel = m_pTransitionFrame;
}
#endif // DACCESS_COMPILE
inline bool Thread::IsWithinStackBounds(PTR_VOID p)
{
ASSERT((m_pStackLow != 0) && (m_pStackHigh != 0));
return (m_pStackLow <= p) && (p < m_pStackHigh);
}
inline void Thread::GetStackBounds(PTR_VOID * ppStackLow, PTR_VOID * ppStackHigh)
{
ASSERT((m_pStackLow != 0) && (m_pStackHigh != 0));
*ppStackLow = m_pStackLow;
*ppStackHigh = m_pStackHigh;
}
#ifndef DACCESS_COMPILE
inline void Thread::SetThreadStressLog(void* ptsl)
{
m_pThreadStressLog = ptsl;
}
#endif // DACCESS_COMPILE
inline PTR_VOID Thread::GetThreadStressLog() const
{
return m_pThreadStressLog;
}
inline void Thread::EnterCantAllocRegion()
{
m_cantAlloc++;
}
inline void Thread::LeaveCantAllocRegion()
{
m_cantAlloc--;
}
inline bool Thread::IsInCantAllocStressLogRegion()
{
return m_cantAlloc != 0;
}
| 589 |
1,210 | <reponame>Passer-D/GameAISDK<filename>src/ImgProc/Comm/ImgReg/Recognizer/CKingGloryBloodReg.cpp
/*
* Tencent is pleased to support the open source community by making GameAISDK available.
* This source code file is licensed under the GNU General Public License Version 3.
* For full details, please refer to the file "LICENSE.txt" which is provided as part of this source code package.
* Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
*/
#include "Comm/ImgReg/Recognizer/CKingGloryBloodReg.h"
// **************************************************************************************
// CKingGloryBloodRegColorDet Class Define
// **************************************************************************************
CKingGloryBloodRegColorDet::CKingGloryBloodRegColorDet() {
m_nTaskID = -1; // task id
m_nBloodLength = 123; // blood length
m_oROI = cv::Rect(-1, -1, -1, -1); // detection ROI
}
CKingGloryBloodRegColorDet::~CKingGloryBloodRegColorDet() {
}
int CKingGloryBloodRegColorDet::Initialize(const int nTaskID, tagKingGloryBloodRegParam *pParam) {
// check task id
if (nTaskID < 0) {
LOGE("CKingGloryBloodRegColorDet -- task ID %d is invalid, please check", nTaskID);
return -1;
}
// copy task id
m_nTaskID = nTaskID;
// check blood length
if (pParam->nBloodLength <= 0) {
LOGE("task ID %d: CKGBRegColorDet -- blood length %d is invalid, please check",
m_nTaskID, pParam->nBloodLength);
return -1;
}
tagKingGloryBloodRegParam stParam = *pParam;
int nState;
// fill yolo parameters
CYOLOAPIParam oYOLOAPIParam;
nState = FillYOLOAPIParam(stParam, oYOLOAPIParam);
if (1 != nState) {
LOGE("task ID %d: CKGBRegColorDet -- CYOLOAPI fill param failed, please check",
m_nTaskID);
return nState;
}
// initialize yolo
nState = m_oYOLOAPI.Initialize(oYOLOAPIParam);
if (1 != nState) {
m_oYOLOAPI.Release();
LOGE("task ID %d: CKGBRegColorDet -- CYOLOAPI initialization failed, please check",
m_nTaskID);
return nState;
}
CColorDetParam oColorDetParam;
// fill red parameters
stParam.strCondition = "135 < R < 245, 25 < G < 90, 25 < B < 85";
nState = FillColorDetParam(stParam, oColorDetParam);
if (1 != nState) {
LOGE("task ID %d: CKGBRegColorDet -- Red CColorDet fill param failed, please check",
m_nTaskID);
return nState;
}
// initialize red ColorDet
nState = m_oRedDet.Initialize(&oColorDetParam);
if (1 != nState) {
LOGE("task ID %d: CKGBRegColorDet -- Red CColorDet initialization failed, please check",
m_nTaskID);
m_oRedDet.Release();
return nState;
}
// fill green parameters
stParam.strCondition = "55 < R < 125, 165 < G < 255, 0 < B < 100";
nState = FillColorDetParam(stParam, oColorDetParam);
if (1 != nState) {
LOGE("task ID %d: CKGBRegColorDet -- Green CColorDet fill param failed, please check",
m_nTaskID);
return nState;
}
// initialize green ColorDet
nState = m_oGreenDet.Initialize(&oColorDetParam);
if (1 != nState) {
LOGE("task ID %d: CKGBRegColorDet -- Green CColorDet initialization failed, please check",
m_nTaskID);
m_oGreenDet.Release();
return nState;
}
// fill blue parameters
stParam.strCondition = "20 < R < 70, 100 < G < 160, 190 < B < 240";
nState = FillColorDetParam(stParam, oColorDetParam);
if (1 != nState) {
LOGE("task ID %d: CKGBRegColorDet -- Blue CColorDet fill param failed, please check",
m_nTaskID);
return nState;
}
// initialize blue ColorDet
nState = m_oBlueDet.Initialize(&oColorDetParam);
if (1 != nState) {
LOGE("task ID %d: CKGBRegColorDet -- Blue CColorDet initialization failed, please check",
m_nTaskID);
m_oBlueDet.Release();
return nState;
}
// fill ColorMatch parameters
CColorMatchParam oColorMatchParam;
nState = FillColorMatchParam(stParam, oColorMatchParam);
if (1 != nState) {
LOGE("task ID %d: CKGBRegColorDet -- CColorMatch fill param failed, please check",
m_nTaskID);
return nState;
}
// initialize ColorMatch
nState = m_oColorMatch.Initialize(&oColorMatchParam);
if (1 != nState) {
LOGE("task ID %d: CKGBRegColorDet -- CColorMatch initialization failed, please check",
m_nTaskID);
m_oColorMatch.Release();
return nState;
}
// copy parameters
m_nBloodLength = stParam.nBloodLength;
m_oROI = stParam.oROI;
return 1;
}
int CKingGloryBloodRegColorDet::Predict(const cv::Mat &oSrcImg,
tagKingGloryBloodRegResult &stResult) {
// check source image
if (oSrcImg.empty()) {
LOGE("task ID %d: CKGBRegColorDet -- source image is invalid, please check", m_nTaskID);
return -1;
}
int nState;
// set YOLOAPI input
CYOLOAPIData oYOLOAPIData;
CYOLOAPIResult oYOLOAPIResult;
oYOLOAPIData.m_oSrcImg = oSrcImg;
// detect bloods
nState = m_oYOLOAPI.Predict(oYOLOAPIData, oYOLOAPIResult);
if (1 != nState) {
LOGE("task ID %d: CKGBRegColorDet -- CYOLOAPI predict failed, please check", m_nTaskID);
stResult.nState = 0;
stResult.nBloodNum = 0;
stResult.oROI = m_oROI;
return nState;
}
if (oYOLOAPIResult.m_oVecBBoxes.empty()) {
stResult.nState = 1;
stResult.nBloodNum = 0;
stResult.oROI = m_oROI;
return nState;
}
std::vector<tagBlood> oVecBloods;
for (int i = 0; i < static_cast<int>(oYOLOAPIResult.m_oVecBBoxes.size()); i++) {
// set PixDet input
CPixDetData oPixDetData;
CPixDetResult oPixDetResult;
oPixDetData.m_oSrcImg = oSrcImg;
oPixDetData.m_oROI = oYOLOAPIResult.m_oVecBBoxes[i].oRect;
// detect color in blood
if (strcmp(oYOLOAPIResult.m_oVecBBoxes[i].szTmplName, "RedBlood") == 0) {
// detect red
nState = m_oRedDet.Predict(&oPixDetData, &oPixDetResult);
} else if (strcmp(oYOLOAPIResult.m_oVecBBoxes[i].szTmplName, "GreenBlood") == 0) {
// detect green
nState = m_oGreenDet.Predict(&oPixDetData, &oPixDetResult);
} else if (strcmp(oYOLOAPIResult.m_oVecBBoxes[i].szTmplName, "BlueBlood") == 0) {
// detect blue
nState = m_oBlueDet.Predict(&oPixDetData, &oPixDetResult);
} else {
LOGE("task ID %d: CKGBRegColorDet -- YOLO class name %s is invalid, please check",
m_nTaskID, oYOLOAPIResult.m_oVecBBoxes[i].szTmplName);
continue;
}
if (1 != nState) {
LOGE("task ID %d: CKGBRegColorDet -- CColorDet predict failed, please check",
m_nTaskID);
stResult.nState = 0;
stResult.nBloodNum = 0;
stResult.oROI = m_oROI;
return nState;
}
cv::RotatedRect oRect;
if (oPixDetResult.m_oVecPoints.empty()) {
oRect.size.width = 0;
} else {
// find blood contours
std::vector<std::vector<cv::Point> > oVecContours;
std::vector<cv::Vec4i> oVecHierarchies;
findContours(oPixDetResult.m_oDstImg, oVecContours, oVecHierarchies,
cv::RETR_EXTERNAL, cv::CHAIN_APPROX_NONE, cv::Point());
if (oVecContours.empty()) {
oRect.size.width = 0;
} else {
// compute blood rectangles
int nMaxSize = 0;
for (int i = 0; i < static_cast<int>(oVecContours.size()); i++) {
if (static_cast<int>(oVecContours[i].size()) >= nMaxSize) {
nMaxSize = static_cast<int>(oVecContours[i].size());
oRect = cv::minAreaRect(oVecContours[i]);
}
}
}
}
// set ObjDet input
CObjDetData oObjDetData;
CObjDetResult oObjDetResult;
oObjDetData.m_oSrcImg = oSrcImg;
// expand ROI
ExpandRect(oYOLOAPIResult.m_oVecBBoxes[i].oRect, 60, 5, oObjDetData.m_oROI);
oObjDetData.m_oROI.width = oObjDetData.m_oROI.width * 0.3f;
// detect hero level
nState = m_oColorMatch.Predict(&oObjDetData, &oObjDetResult);
if (1 != nState) {
LOGE("task ID %d: CKGBRegColorDet -- CColorMatch predict failed, please check",
m_nTaskID);
stResult.nState = 0;
stResult.nBloodNum = 0;
stResult.oROI = m_oROI;
return nState;
}
// get blood percent and other infomation
tagBlood stBlood;
stBlood.nClassID = oYOLOAPIResult.m_oVecBBoxes[i].nClassID;
stBlood.fPercent = round(((MAX(oRect.size.width, oRect.size.height) / m_nBloodLength)
* 100.0) / 20.0) * 20.0;
stBlood.oRect = oYOLOAPIResult.m_oVecBBoxes[i].oRect;
stBlood.fScore = oYOLOAPIResult.m_oVecBBoxes[i].fScore;
snprintf(stBlood.szName, sizeof(stBlood.szName), "%s",
oYOLOAPIResult.m_oVecBBoxes[i].szTmplName);
if (oObjDetResult.m_oVecBBoxes.empty()) {
stBlood.nLevel = 0;
} else {
stBlood.nLevel = oObjDetResult.m_oVecBBoxes[0].nClassID;
}
oVecBloods.push_back(stBlood);
}
// set results
stResult.nState = 1;
stResult.nBloodNum = MIN(static_cast<int>(oVecBloods.size()), MAX_BLOOD_SIZE);
stResult.oROI = m_oROI;
for (int i = 0; i < static_cast<int>(oVecBloods.size()); i++) {
if (i < MAX_BLOOD_SIZE) {
stResult.szBloods[i] = oVecBloods[i];
} else {
LOGI("task ID %d: CKingGloryBloodRegColorDet -- blood number is more than max %d",
m_nTaskID, MAX_BLOOD_SIZE);
}
}
return 1;
}
int CKingGloryBloodRegColorDet::Release() {
// release methods
m_oYOLOAPI.Release();
m_oRedDet.Release();
m_oGreenDet.Release();
m_oBlueDet.Release();
m_oColorMatch.Release();
return 1;
}
int CKingGloryBloodRegColorDet::FillYOLOAPIParam(const tagKingGloryBloodRegParam &stElement,
CYOLOAPIParam &oParam) {
oParam.m_nTaskID = m_nTaskID;
oParam.m_fThreshold = stElement.fThreshold;
oParam.m_oROI = stElement.oROI;
oParam.m_strCfgPath = stElement.strCfgPath;
oParam.m_strWeightPath = stElement.strWeightPath;
oParam.m_strNamePath = stElement.strNamePath;
oParam.m_strMaskPath = stElement.strMaskPath;
return 1;
}
int CKingGloryBloodRegColorDet::FillColorDetParam(const tagKingGloryBloodRegParam &stParam,
CColorDetParam &oParam) {
oParam.m_nTaskID = m_nTaskID;
oParam.m_nMaxPointNum = stParam.nMaxPointNum;
oParam.m_nFilterSize = stParam.nFilterSize;
oParam.m_oROI = stParam.oROI;
int nState = GetRGB(m_nTaskID,
stParam.strCondition,
oParam.m_nRedLower, oParam.m_nRedUpper,
oParam.m_nGreenLower, oParam.m_nGreenUpper,
oParam.m_nBlueLower, oParam.m_nBlueUpper);
if (1 != nState) {
LOGE("task ID %d: CKingGloryBloodRegColorDet -- get RGB failed, please check", m_nTaskID);
return nState;
}
return 1;
}
int CKingGloryBloodRegColorDet::FillColorMatchParam(const tagKingGloryBloodRegParam &stParam,
CColorMatchParam &oParam) {
oParam.m_nTaskID = m_nTaskID;
oParam.m_nScaleLevel = stParam.nScaleLevel;
oParam.m_fMinScale = stParam.fMinScale;
oParam.m_fMaxScale = stParam.fMaxScale;
oParam.m_oROI = stParam.oROI;
oParam.m_strOpt = "-matchMethod SQDIFF_NORMED";
// analyze tmplate path
int nState = AnalyzeTmplPath(m_nTaskID, stParam.oVecTmpls, oParam.m_oVecTmpls);
if (1 != nState) {
LOGE("task ID %d: CKGBRegColorDet -- analyze template path failed, please check",
m_nTaskID);
return nState;
}
return 1;
}
// **************************************************************************************
// CKingGloryBloodReg Class Define
// **************************************************************************************
CKingGloryBloodReg::CKingGloryBloodReg() {
m_oVecParams.clear(); // clear vector of parameters
m_oVecMethods.clear(); // clear vector of methods
}
CKingGloryBloodReg::~CKingGloryBloodReg() {
}
int CKingGloryBloodReg::Initialize(IRegParam *pParam) {
// check parameters
if (NULL == pParam) {
LOGE("CKGBloodReg -- IRegParam pointer is NULL, please check");
return -1;
}
CKingGloryBloodRegParam *pP = dynamic_cast<CKingGloryBloodRegParam*>(pParam);
if (NULL == pP) {
LOGE("CKGBloodReg -- CKingGloryBloodRegParam pointer is NULL, please check");
return -1;
}
if (pP->m_nTaskID < 0) {
LOGE("CKGBloodReg -- task ID %d is invalid, please check", pP->m_nTaskID);
return -1;
}
if (pP->m_oVecElements.empty()) {
LOGE("task ID %d: CKGBloodReg -- param vector is empty, please check", pP->m_nTaskID);
return -1;
}
if (static_cast<int>(pP->m_oVecElements.size()) > MAX_ELEMENT_SIZE) {
LOGE("task ID %d: CKGBloodReg -- element number is more than max element size %d",
pP->m_nTaskID, MAX_ELEMENT_SIZE);
return -1;
}
// copy parameters
m_nTaskID = pP->m_nTaskID;
m_oVecParams = pP->m_oVecElements;
// initialize methods
for (int i = 0; i < static_cast<int>(m_oVecParams.size()); i++) {
CKingGloryBloodRegColorDet oMethod;
int nState = oMethod.Initialize(m_nTaskID, &m_oVecParams[i]);
if (1 != nState) {
LOGE("task ID %d: CKGBloodReg -- initialization failed, please check",
m_nTaskID);
oMethod.Release();
return nState;
}
m_oVecMethods.push_back(oMethod);
}
LOGI("task ID %d: CKGBloodReg -- initialization successful", m_nTaskID);
return 1;
}
int CKingGloryBloodReg::Predict(const tagRegData &stData, IRegResult *pResult) {
// check parameters
if (stData.nFrameIdx < 0) {
LOGE("task ID %d: CKGBloodReg -- frame index %d is invalid, please check",
m_nTaskID, stData.nFrameIdx);
return -1;
}
if (stData.oSrcImg.empty()) {
LOGE("task ID %d: CKGBloodReg -- source image is invalid, please check", m_nTaskID);
return -1;
}
if (NULL == pResult) {
LOGE("task ID %d: CKGBloodReg -- IRegResult pointer is NULL, please check", m_nTaskID);
return -1;
}
CKingGloryBloodRegResult *pR = dynamic_cast<CKingGloryBloodRegResult*>(pResult);
if (NULL == pR) {
LOGE("task ID %d: CKGBloodReg -- CDeformBloodRegResult pointer is NULL, please check",
m_nTaskID);
return -1;
}
tagKingGloryBloodRegResult szResults[MAX_ELEMENT_SIZE];
// run methods
for (int i = 0; i < static_cast<int>(m_oVecMethods.size()); i++) {
int nState = m_oVecMethods[i].Predict(stData.oSrcImg, szResults[i]);
if (1 != nState) {
LOGE("task ID %d: CKGBloodReg -- predict failed, please check",
m_nTaskID);
return nState;
}
}
// set results
int nResultNum = static_cast<int>(m_oVecMethods.size());
pR->m_nFrameIdx = stData.nFrameIdx;
pR->SetResult(szResults, &nResultNum);
return 1;
}
int CKingGloryBloodReg::Release() {
// release methods
for (int i = 0; i < static_cast<int>(m_oVecMethods.size()); i++) {
int nState = m_oVecMethods[i].Release();
if (1 != nState) {
LOGE("task ID %d: CKGBloodReg -- release failed, please check",
m_nTaskID);
return nState;
}
}
m_oVecParams.clear(); // clear vector of parameters
m_oVecMethods.clear(); // clear vector of methods
LOGI("task ID %d: CKGBloodReg -- release successful", m_nTaskID);
return 1;
}
| 7,473 |
890 | <filename>app/src/main/java/shem/com/materiallogin/ex/DefaultActivity.java<gh_stars>100-1000
package shem.com.materiallogin.ex;
import android.annotation.TargetApi;
import android.app.LoaderManager;
import android.content.CursorLoader;
import android.content.Loader;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.provider.ContactsContract;
import android.support.annotation.NonNull;
import android.support.design.widget.Snackbar;
import android.support.design.widget.TextInputLayout;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.AutoCompleteTextView;
import java.util.ArrayList;
import java.util.List;
import shem.com.materiallogin.DefaultLoginView;
import shem.com.materiallogin.DefaultRegisterView;
import shem.com.materiallogin.MaterialLoginView;
import static android.Manifest.permission.READ_CONTACTS;
public class DefaultActivity extends AppCompatActivity implements LoaderManager.LoaderCallbacks<Cursor> {
/**
* Id to identity READ_CONTACTS permission request.
*/
private static final int REQUEST_READ_CONTACTS = 0;
private AutoCompleteTextView emailAutoComplete;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_default);
final MaterialLoginView login = (MaterialLoginView) findViewById(R.id.login);
((DefaultLoginView)login.getLoginView()).setListener(new DefaultLoginView.DefaultLoginViewListener() {
@Override
public void onLogin(TextInputLayout loginUser, TextInputLayout loginPass) {
String user = loginUser.getEditText().getText().toString();
if (user.isEmpty()) {
loginUser.setError("User name can't be empty");
return;
}
loginUser.setError("");
String pass = loginPass.getEditText().getText().toString();
if (!pass.equals(user)) {
loginPass.setError("Wrong password");
return;
}
loginPass.setError("");
Snackbar.make(login, "Login success!", Snackbar.LENGTH_LONG).show();
}
});
((DefaultRegisterView)login.getRegisterView()).setListener(new DefaultRegisterView.DefaultRegisterViewListener() {
@Override
public void onRegister(TextInputLayout registerUser, TextInputLayout registerPass, TextInputLayout registerPassRep) {
String user = registerUser.getEditText().getText().toString();
if (user.isEmpty()) {
registerUser.setError("User name can't be empty");
return;
}
registerUser.setError("");
String pass = registerPass.getEditText().getText().toString();
if (pass.isEmpty()) {
registerPass.setError("Password can't be empty");
return;
}
registerPass.setError("");
String passRep = registerPassRep.getEditText().getText().toString();
if (!pass.equals(passRep)) {
registerPassRep.setError("Passwords are different");
return;
}
registerPassRep.setError("");
Snackbar.make(login, "Register success!", Snackbar.LENGTH_LONG).show();
}
});
emailAutoComplete = (AutoCompleteTextView) findViewById(R.id.login_user_autocomplete);
populateAutoComplete();
}
private void populateAutoComplete() {
if (!mayRequestContacts()) {
return;
}
getLoaderManager().initLoader(0, null, this);
}
private boolean mayRequestContacts() {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) {
return true;
}
if (checkSelfPermission(READ_CONTACTS) == PackageManager.PERMISSION_GRANTED) {
return true;
}
if (shouldShowRequestPermissionRationale(READ_CONTACTS)) {
Snackbar.make(emailAutoComplete, "Contacts permissions are needed for providing email completions.", Snackbar.LENGTH_INDEFINITE)
.setAction(android.R.string.ok, new View.OnClickListener() {
@Override
@TargetApi(Build.VERSION_CODES.M)
public void onClick(View v) {
requestPermissions(new String[]{READ_CONTACTS}, REQUEST_READ_CONTACTS);
}
});
} else {
requestPermissions(new String[]{READ_CONTACTS}, REQUEST_READ_CONTACTS);
}
return false;
}
/**
* Callback received when a permissions request has been completed.
*/
@Override
public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions,
@NonNull int[] grantResults) {
if (requestCode == REQUEST_READ_CONTACTS) {
if (grantResults.length == 1 && grantResults[0] == PackageManager.PERMISSION_GRANTED) {
populateAutoComplete();
}
}
}
@Override
public Loader<Cursor> onCreateLoader(int id, Bundle args) {
return new CursorLoader(this,
// Retrieve data rows for the device user's 'profile' contact.
Uri.withAppendedPath(ContactsContract.Profile.CONTENT_URI,
ContactsContract.Contacts.Data.CONTENT_DIRECTORY), ProfileQuery.PROJECTION,
// Select only email addresses.
ContactsContract.Contacts.Data.MIMETYPE +
" = ?", new String[]{ContactsContract.CommonDataKinds.Email
.CONTENT_ITEM_TYPE},
// Show primary email addresses first. Note that there won't be
// a primary email address if the user hasn't specified one.
ContactsContract.Contacts.Data.IS_PRIMARY + " DESC");
}
private interface ProfileQuery {
String[] PROJECTION = {
ContactsContract.CommonDataKinds.Email.ADDRESS,
ContactsContract.CommonDataKinds.Email.IS_PRIMARY,
};
int ADDRESS = 0;
int IS_PRIMARY = 1;
}
@Override
public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) {
List<String> emails = new ArrayList<>();
cursor.moveToFirst();
while (!cursor.isAfterLast()) {
emails.add(cursor.getString(ProfileQuery.ADDRESS));
cursor.moveToNext();
}
addEmailsToAutoComplete(emails);
}
@Override
public void onLoaderReset(Loader<Cursor> loader) {
}
private void addEmailsToAutoComplete(List<String> emailAddressCollection) {
//Create adapter to tell the AutoCompleteTextView what to show in its dropdown list.
ArrayAdapter<String> adapter =
new ArrayAdapter<>(DefaultActivity.this,
android.R.layout.simple_dropdown_item_1line, emailAddressCollection);
emailAutoComplete.setAdapter(adapter);
}
}
| 3,246 |
362 | package subreddit.android.appstore.backend.data;
public enum AppTags {
// Price
FREE, PAID,
// Format
PHONE, TABLET, WEAR,
// New to wiki
NEW
}
| 70 |
5,267 | package io.swagger.v3.plugins.gradle.petstore.responses;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.plugins.gradle.resources.exception.NotFoundException;
import io.swagger.v3.plugins.gradle.resources.model.User;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
/**
* Resource with a Response at Method Level
*/
public class NoResponseResource {
@GET
@Path("/noresponse")
@Operation(summary = "Find pets",
description = "Returns the Pets")
public User getPets() throws NotFoundException {
return new User();
}
}
| 216 |
2,414 | package com.site.springboot.core.config;
/**
* @author 13
* @qq交流群 796794009
* @email <EMAIL>
* @link http://13blog.site
*/
public class Constants {
public final static String FILE_UPLOAD_PATH = "/home/project/upload/";//上传文件的保存地址,根据部署设置自行修改
}
| 136 |
2,441 | package tech.tablesaw.plotly.api;
import tech.tablesaw.api.ColumnType;
import tech.tablesaw.api.NumericColumn;
import tech.tablesaw.api.Table;
import tech.tablesaw.columns.Column;
import tech.tablesaw.plotly.components.Figure;
import tech.tablesaw.plotly.components.Layout;
import tech.tablesaw.plotly.traces.ScatterTrace;
/** Abstract superclass for time series plots that have open-high-low-close data */
public abstract class PricePlot {
public static Figure create(
String title,
Table table,
String xCol,
String openCol,
String highCol,
String lowCol,
String closeCol,
String plotType) {
Layout layout = Layout.builder(title, xCol).build();
Column<?> x = table.column(xCol);
NumericColumn<?> open = table.numberColumn(openCol);
NumericColumn<?> high = table.numberColumn(highCol);
NumericColumn<?> low = table.numberColumn(lowCol);
NumericColumn<?> close = table.numberColumn(closeCol);
ScatterTrace trace;
if (x.type() == ColumnType.LOCAL_DATE) {
trace =
ScatterTrace.builder(table.dateColumn(xCol), open, high, low, close)
.type(plotType)
.build();
} else if (x.type() == ColumnType.LOCAL_DATE_TIME) {
trace =
ScatterTrace.builder(table.dateTimeColumn(xCol), open, high, low, close)
.type(plotType)
.build();
} else if (x.type() == ColumnType.INSTANT) {
trace =
ScatterTrace.builder(table.instantColumn(xCol), open, high, low, close)
.type(plotType)
.build();
} else {
throw new IllegalArgumentException(
"Column containing data for the X-Axis must be of type INSTANT, LOCAL_DATE, or LOCAL_DATE_TIME");
}
return new Figure(layout, trace);
}
}
| 737 |
381 | package com.tngtech.jgiven.report.analysis;
import org.junit.Test;
import com.tngtech.jgiven.JGivenScenarioTest;
import com.tngtech.jgiven.report.model.GivenReportModel;
import com.tngtech.jgiven.report.model.ThenReportModel;
import com.tngtech.jgiven.tags.FeatureCaseDiffs;
public class DifferenceAnalyzerTest extends JGivenScenarioTest<GivenReportModel<?>, WhenAnalyzer, ThenReportModel<?>> {
@Test
@FeatureCaseDiffs
public void the_difference_analyzer_should_find_differences_in_step_arguments() {
given().a_report_model_with_one_scenario()
.and().the_scenario_has_$_cases( 2 )
.and().case_$_has_a_step_$_with_argument( 1, "some step", "foo" )
.and().case_$_has_a_step_$_with_argument( 2, "some step", "bar" );
when().the_difference_analyzer_is_executed();
then().word_$_of_step_$_of_case_$_is_not_marked_as_diff( 2, 1, 1 )
.and().word_$_of_step_$_of_case_$_is_marked_as_diff( 3, 1, 1 )
.and().word_$_of_step_$_of_case_$_is_not_marked_as_diff( 2, 1, 2 )
.and().word_$_of_step_$_of_case_$_is_marked_as_diff( 3, 1, 2 );
}
@Test
@FeatureCaseDiffs
public void the_difference_analyzer_should_find_additional_steps_at_the_end() {
given().a_report_model_with_one_scenario()
.and().the_scenario_has_$_cases( 2 )
.and().case_$_has_step_$( 1, "some step" )
.and().case_$_has_step_$( 1, "another step" )
.and().case_$_has_step_$( 2, "some step" );
when().the_difference_analyzer_is_executed();
then().word_$_of_step_$_of_case_$_is_not_marked_as_diff( 2, 1, 1 )
.and().word_$_of_step_$_of_case_$_is_marked_as_diff( 2, 2, 1 )
.and().word_$_of_step_$_of_case_$_is_not_marked_as_diff( 2, 1, 2 );
}
@Test
@FeatureCaseDiffs
public void the_difference_analyzer_should_find_additional_steps_at_the_beginning() {
given().a_report_model_with_one_scenario()
.and().the_scenario_has_$_cases( 2 )
.and().case_$_has_step_$( 1, "extra step at the beginning" )
.and().case_$_has_step_$( 1, "some step" )
.and().case_$_has_step_$( 2, "some step" );
when().the_difference_analyzer_is_executed();
then().word_$_of_step_$_of_case_$_is_marked_as_diff( 2, 1, 1 )
.and().word_$_of_step_$_of_case_$_is_not_marked_as_diff( 2, 2, 1 )
.and().word_$_of_step_$_of_case_$_is_not_marked_as_diff( 2, 1, 2 );
}
@Test
@FeatureCaseDiffs
public void the_difference_analyzer_should_find_additional_steps_in_the_middle() {
given().a_report_model_with_one_scenario()
.and().the_scenario_has_$_cases( 2 )
.and().case_$_has_step_$( 1, "some step" )
.and().case_$_has_step_$( 1, "extra step in the middle" )
.and().case_$_has_step_$( 1, "another step" )
.and().case_$_has_step_$( 2, "some step" )
.and().case_$_has_step_$( 2, "another step" );
when().the_difference_analyzer_is_executed();
then().word_$_of_step_$_of_case_$_is_not_marked_as_diff( 2, 1, 1 )
.and().word_$_of_step_$_of_case_$_is_marked_as_diff( 2, 2, 1 )
.and().word_$_of_step_$_of_case_$_is_not_marked_as_diff( 2, 3, 1 )
.and().word_$_of_step_$_of_case_$_is_not_marked_as_diff( 2, 1, 2 )
.and().word_$_of_step_$_of_case_$_is_not_marked_as_diff( 2, 2, 2 );
}
}
| 1,742 |
18,396 | /*
* SRT - Secure, Reliable, Transport
* Copyright (c) 2018 Haivision Systems Inc.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
*/
/*****************************************************************************
written by
Haivision Systems Inc.
*****************************************************************************/
#ifndef SRT4UDT_H
#define SRT4UDT_H
#ifndef INC__SRTC_H
#error "This is protected header, used by udt.h. This shouldn't be included directly"
#endif
//undef SRT_ENABLE_ECN 1 /* Early Congestion Notification (for source bitrate control) */
//undef SRT_DEBUG_TSBPD_OUTJITTER 1 /* Packet Delivery histogram */
//undef SRT_DEBUG_TSBPD_DRIFT 1 /* Debug Encoder-Decoder Drift) */
//undef SRT_DEBUG_TSBPD_WRAP 1 /* Debug packet timestamp wraparound */
//undef SRT_DEBUG_TLPKTDROP_DROPSEQ 1
//undef SRT_DEBUG_SNDQ_HIGHRATE 1
/*
* SRT_ENABLE_CONNTIMEO
* Option UDT_CONNTIMEO added to the API to set/get the connection timeout.
* The UDT hard coded default of 3000 msec is too small for some large RTT (satellite) use cases.
* The SRT handshake (2 exchanges) needs 2 times the RTT to complete with no packet loss.
*/
#define SRT_ENABLE_CONNTIMEO 1
/*
* SRT_ENABLE_NOCWND
* Set the congestion window at its max (then disabling it) to prevent stopping transmission
* when too many packets are not acknowledged.
* The congestion windows is the maximum distance in pkts since the last acknowledged packets.
*/
#define SRT_ENABLE_NOCWND 1
/*
* SRT_ENABLE_NAKREPORT
* Send periodic NAK report for more efficient retransmission instead of relying on ACK timeout
* to retransmit all non-ACKed packets, very inefficient with real-time and no congestion window.
*/
#define SRT_ENABLE_NAKREPORT 1
#define SRT_ENABLE_RCVBUFSZ_MAVG 1 /* Recv buffer size moving average */
#define SRT_ENABLE_SNDBUFSZ_MAVG 1 /* Send buffer size moving average */
#define SRT_MAVG_SAMPLING_RATE 40 /* Max sampling rate */
#define SRT_ENABLE_LOSTBYTESCOUNT 1
/*
* SRT_ENABLE_IPOPTS
* Enable IP TTL and ToS setting
*/
#define SRT_ENABLE_IPOPTS 1
#define SRT_ENABLE_CLOSE_SYNCH 1
#endif /* SRT4UDT_H */
| 786 |
806 | package android.support.v4.media.session;
import android.media.Rating;
import android.media.RemoteControlClient;
import android.media.RemoteControlClient.MetadataEditor;
import android.os.Bundle;
class MediaSessionCompatApi19 {
private static final long ACTION_SET_RATING = 128;
private static final String METADATA_KEY_RATING = "android.media.metadata.RATING";
private static final String METADATA_KEY_USER_RATING = "android.media.metadata.USER_RATING";
private static final String METADATA_KEY_YEAR = "android.media.metadata.YEAR";
interface Callback extends Callback {
void onSetRating(Object obj);
}
static class OnMetadataUpdateListener<T extends Callback> implements android.media.RemoteControlClient.OnMetadataUpdateListener {
protected final T mCallback;
public OnMetadataUpdateListener(T callback) {
this.mCallback = callback;
}
public void onMetadataUpdate(int key, Object newValue) {
if (key == 268435457 && (newValue instanceof Rating)) {
this.mCallback.onSetRating(newValue);
}
}
}
MediaSessionCompatApi19() {
}
public static void setTransportControlFlags(Object rccObj, long actions) {
((RemoteControlClient) rccObj).setTransportControlFlags(getRccTransportControlFlagsFromActions(actions));
}
public static Object createMetadataUpdateListener(Callback callback) {
return new OnMetadataUpdateListener(callback);
}
public static void setMetadata(Object rccObj, Bundle metadata, long actions) {
MetadataEditor editor = ((RemoteControlClient) rccObj).editMetadata(true);
MediaSessionCompatApi14.buildOldMetadata(metadata, editor);
addNewMetadata(metadata, editor);
if ((128 & actions) != 0) {
editor.addEditableKey(268435457);
}
editor.apply();
}
public static void setOnMetadataUpdateListener(Object rccObj, Object onMetadataUpdateObj) {
((RemoteControlClient) rccObj).setMetadataUpdateListener((android.media.RemoteControlClient.OnMetadataUpdateListener) onMetadataUpdateObj);
}
static int getRccTransportControlFlagsFromActions(long actions) {
int transportControlFlags = MediaSessionCompatApi18.getRccTransportControlFlagsFromActions(actions);
if ((128 & actions) != 0) {
return transportControlFlags | 512;
}
return transportControlFlags;
}
static void addNewMetadata(Bundle metadata, MetadataEditor editor) {
if (metadata != null) {
if (metadata.containsKey("android.media.metadata.YEAR")) {
editor.putLong(8, metadata.getLong("android.media.metadata.YEAR"));
}
if (metadata.containsKey("android.media.metadata.RATING")) {
editor.putObject(101, metadata.getParcelable("android.media.metadata.RATING"));
}
if (metadata.containsKey("android.media.metadata.USER_RATING")) {
editor.putObject(268435457, metadata.getParcelable("android.media.metadata.USER_RATING"));
}
}
}
}
| 1,178 |
504 | import time
import logging
from slack_sdk import WebClient
from slack_sdk.web import SlackResponse
from slack_bolt import App, Ack
from slack_bolt.workflows.step import Configure, Update, Complete, Fail, WorkflowStep
logging.basicConfig(level=logging.DEBUG)
# export SLACK_SIGNING_SECRET=***
# export SLACK_BOT_TOKEN=xoxb-***
app = App()
@app.middleware # or app.use(log_request)
def log_request(logger, body, next):
logger.debug(body)
return next()
# https://api.slack.com/tutorials/workflow-builder-steps
copy_review_step = WorkflowStep.builder("copy_review")
@copy_review_step.edit
def edit(ack: Ack, step, configure: Configure):
ack()
configure(
blocks=[
{
"type": "section",
"block_id": "intro-section",
"text": {
"type": "plain_text",
"text": "Create a task in one of the listed projects. The link to the task and other details will be available as variable data in later steps.",
},
},
{
"type": "input",
"block_id": "task_name_input",
"element": {
"type": "plain_text_input",
"action_id": "task_name",
"placeholder": {
"type": "plain_text",
"text": "Write a task name",
},
},
"label": {"type": "plain_text", "text": "Task name"},
},
{
"type": "input",
"block_id": "task_description_input",
"element": {
"type": "plain_text_input",
"action_id": "task_description",
"placeholder": {
"type": "plain_text",
"text": "Write a description for your task",
},
},
"label": {"type": "plain_text", "text": "Task description"},
},
{
"type": "input",
"block_id": "task_author_input",
"element": {
"type": "plain_text_input",
"action_id": "task_author",
"placeholder": {
"type": "plain_text",
"text": "Write a task name",
},
},
"label": {"type": "plain_text", "text": "Task author"},
},
]
)
@copy_review_step.save
def save(ack: Ack, step: dict, view: dict, update: Update):
state_values = view["state"]["values"]
update(
inputs={
"taskName": {
"value": state_values["task_name_input"]["task_name"]["value"],
},
"taskDescription": {
"value": state_values["task_description_input"]["task_description"][
"value"
],
},
"taskAuthorEmail": {
"value": state_values["task_author_input"]["task_author"]["value"],
},
},
outputs=[
{
"name": "taskName",
"type": "text",
"label": "Task Name",
},
{
"name": "taskDescription",
"type": "text",
"label": "Task Description",
},
{
"name": "taskAuthorEmail",
"type": "text",
"label": "Task Author Email",
},
],
)
ack()
pseudo_database = {}
def additional_matcher(step):
email = str(step.get("inputs", {}).get("taskAuthorEmail"))
if "@" not in email:
return False
return True
def noop_middleware(next):
return next()
def notify_execution(client: WebClient, step: dict):
time.sleep(5)
client.chat_postMessage(channel="#random", text=f"Step execution: ```{step}```")
@copy_review_step.execute(
matchers=[additional_matcher],
middleware=[noop_middleware],
lazy=[notify_execution],
)
def execute(step: dict, client: WebClient, complete: Complete, fail: Fail):
try:
complete(
outputs={
"taskName": step["inputs"]["taskName"]["value"],
"taskDescription": step["inputs"]["taskDescription"]["value"],
"taskAuthorEmail": step["inputs"]["taskAuthorEmail"]["value"],
}
)
user_lookup: SlackResponse = client.users_lookupByEmail(
email=step["inputs"]["taskAuthorEmail"]["value"]
)
user_id = user_lookup["user"]["id"]
new_task = {
"task_name": step["inputs"]["taskName"]["value"],
"task_description": step["inputs"]["taskDescription"]["value"],
}
tasks = pseudo_database.get(user_id, [])
tasks.append(new_task)
pseudo_database[user_id] = tasks
blocks = []
for task in tasks:
blocks.append(
{
"type": "section",
"text": {"type": "plain_text", "text": task["task_name"]},
}
)
blocks.append({"type": "divider"})
client.views_publish(
user_id=user_id,
view={
"type": "home",
"title": {"type": "plain_text", "text": "Your tasks!"},
"blocks": blocks,
},
)
except Exception as err:
fail(error={"message": f"Something wrong! {err}"})
app.step(copy_review_step)
if __name__ == "__main__":
app.start(3000) # POST http://localhost:3000/slack/events
| 3,046 |
831 | /*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.tools.idea.avdmanager;
import com.android.resources.*;
import com.android.sdklib.devices.Multitouch;
import com.android.sdklib.devices.Screen;
import com.android.sdklib.devices.ScreenType;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/**
* Contains all methods needed to build a {@link Screen} instance.
*/
public final class AvdScreenData {
private AvdDeviceData myDeviceData;
public AvdScreenData(AvdDeviceData deviceData) {
myDeviceData = deviceData;
}
public static double calculateDpi(double screenResolutionWidth, double screenResolutionHeight,
double diagonalScreenSize, boolean isRound) {
double diagonalPixelResolution;
if (isRound) {
// Round: The "diagonal" is the same as the diameter.
// Use the width so we don't have to consider a possible chin.
diagonalPixelResolution = screenResolutionWidth;
} else {
// Calculate diagonal resolution in pixels using the Pythagorean theorem: Dp = (pixelWidth^2 + pixelHeight^2)^1/2
diagonalPixelResolution = Math.sqrt(Math.pow(screenResolutionWidth, 2) + Math.pow(screenResolutionHeight, 2));
}
// Calculate dots per inch: DPI = Dp / diagonalInchSize
return diagonalPixelResolution / diagonalScreenSize;
}
/**
* Calculate the screen ratio. Beyond a 5:3 ratio is considered "long"
*/
@NotNull
public static ScreenRatio getScreenRatio(int width, int height) {
int longSide = Math.max(width, height);
int shortSide = Math.min(width, height);
// Above a 5:3 ratio is "long"
if (((double)longSide) / shortSide >= 5.0 / 3) {
return ScreenRatio.LONG;
}
else {
return ScreenRatio.NOTLONG;
}
}
/**
* Calculate the density resource bucket (the "generalized density")
* for the device, given its dots-per-inch
*/
@NotNull
public static Density getScreenDensity(@Nullable String deviceId, boolean isTv, double dpi, int screenHeight) {
if (isTv) {
// The 'generalized density' of a TV is based on its
// vertical resolution
return (screenHeight <= 720) ? Density.TV : Density.XHIGH;
}
// A hand-held device.
// Check if it uses a "special" density
Density specialDensity = specialDeviceDensity(deviceId);
if (specialDensity != null) {
return specialDensity;
}
// Not "special." Search for the density enum whose value is
// closest to the density of our device.
Density bucket = Density.MEDIUM;
double minDifference = Double.MAX_VALUE;
for (Density bucketDensity : Density.values()) {
if (!bucketDensity.isValidValueForDevice() || !bucketDensity.isRecommended()) {
continue;
}
double difference = Math.abs(bucketDensity.getDpiValue() - dpi);
if (difference < minDifference) {
minDifference = difference;
bucket = bucketDensity;
}
}
return bucket;
}
/**
* A small set of devices use "special" density enumerations.
* Handle them explicitly.
*/
@Nullable
private static Density specialDeviceDensity(@Nullable String deviceId) {
if ("Nexus 5X".equals(deviceId)) return Density.DPI_420;
if ("Nexus 6".equals(deviceId)) return Density.DPI_560;
if ("Nexus 6P".equals(deviceId)) return Density.DPI_560;
if ("pixel".equals(deviceId)) return Density.DPI_420;
if ("pixel_xl".equals(deviceId)) return Density.DPI_560;
if ("pixel 2".equals(deviceId)) return Density.DPI_420;
if ("pixel_2_xl".equals(deviceId)) return Density.DPI_560;
return null;
}
/**
* Create a screen based on a reasonable set of defaults and user input.
*/
@NotNull
public Screen createScreen() {
Screen screen = new Screen();
screen.setMultitouch(Multitouch.JAZZ_HANDS);
screen.setMechanism(TouchScreen.FINGER);
screen.setScreenType(ScreenType.CAPACITIVE);
screen.setScreenRound((myDeviceData.isScreenRound().get()) ? ScreenRound.ROUND : ScreenRound.NOTROUND);
int screenWidth = myDeviceData.screenResolutionWidth().get();
int screenHeight = myDeviceData.screenResolutionHeight().get();
double screenDiagonal = myDeviceData.diagonalScreenSize().get();
double effectiveDiagonal = screenDiagonal;
if (myDeviceData.isScreenRound().get()) {
// For round devices, compute the diagonal of
// the enclosing square.
effectiveDiagonal *= Math.sqrt(2.0);
}
screen.setDiagonalLength(screenDiagonal);
screen.setSize(ScreenSize.getScreenSize(effectiveDiagonal));
screen.setXDimension(screenWidth);
screen.setYDimension(screenHeight);
screen.setFoldedXOffset(myDeviceData.screenFoldedXOffset().get());
screen.setFoldedYOffset(myDeviceData.screenFoldedYOffset().get());
screen.setFoldedWidth(myDeviceData.screenFoldedWidth().get());
screen.setFoldedHeight(myDeviceData.screenFoldedHeight().get());
screen.setRatio(getScreenRatio(screenWidth, screenHeight));
Double dpi = myDeviceData.screenDpi().get();
if (dpi <= 0) {
dpi = calculateDpi(screenWidth, screenHeight, screenDiagonal, myDeviceData.isScreenRound().get());
}
dpi = Math.round(dpi * 100) / 100.0;
screen.setYdpi(dpi);
screen.setXdpi(dpi);
screen.setPixelDensity( getScreenDensity(myDeviceData.deviceId().get(), myDeviceData.isTv().get(), dpi, screenHeight) );
return screen;
}
}
| 2,084 |
852 | <filename>FWCore/Integration/test/testEDAliasManyModulesAmbiguous_cfg.py
import FWCore.ParameterSet.Config as cms
process = cms.Process("TEST")
from FWCore.ParameterSet.VarParsing import VarParsing
options = VarParsing()
options.register("includeAliasToFoo", 1,
VarParsing.multiplicity.singleton,
VarParsing.varType.int,
"Include case Foo in EDAlias")
options.register("includeAliasToBar", 1,
VarParsing.multiplicity.singleton,
VarParsing.varType.int,
"Include case Bar in EDAlias")
options.register("consumerGets", 1,
VarParsing.multiplicity.singleton,
VarParsing.varType.int,
"Consumer gets event product")
options.register("explicitProcessName", 0,
VarParsing.multiplicity.singleton,
VarParsing.varType.int,
"Use explicit process name in consumer InputTag")
options.parseArguments()
process.maxEvents.input = 1
process.source = cms.Source("EmptySource")
process.simpleProducerFoo = cms.EDProducer("OVSimpleProducer", size = cms.int32(10))
process.simpleProducerBar = cms.EDProducer("OVSimpleProducer", size = cms.int32(5))
process.simpleProducer = cms.EDAlias()
if options.includeAliasToFoo != 0:
process.simpleProducer.simpleProducerFoo = cms.VPSet(
cms.PSet(
type = cms.string("edmtestSimplesOwned")
)
)
if options.includeAliasToBar != 0:
process.simpleProducer.simpleProducerBar = cms.VPSet(
cms.PSet(
type = cms.string("edmtestSimpleDerivedsOwned"),
fromProductInstance = cms.string("derived"),
toProductInstance = cms.string("")
)
)
process.simpleViewConsumer = cms.EDAnalyzer("SimpleViewAnalyzer",
label = cms.untracked.InputTag("simpleProducer"),
sizeMustMatch = cms.untracked.uint32(10),
checkSize = cms.untracked.bool(options.consumerGets != 0)
)
if options.includeAliasToFoo == 0:
process.simpleViewConsumer.sizeMustMatch = 5
if options.explicitProcessName != 0:
process.simpleViewConsumer.label.setProcessName("TEST")
dependsOn = []
if options.includeAliasToFoo != 0:
dependsOn.append("simpleProducerFoo")
if options.includeAliasToBar != 0:
dependsOn.append("simpleProducerBar")
process.PathsAndConsumesOfModulesTestService = cms.Service("PathsAndConsumesOfModulesTestService",
modulesAndConsumes = cms.VPSet(
cms.PSet(
key = cms.string("simpleViewConsumer"),
value = cms.vstring(dependsOn)
),
)
)
process.t = cms.Task(
process.simpleProducerFoo,
process.simpleProducerBar
)
process.p = cms.Path(
process.simpleViewConsumer,
process.t
)
| 1,165 |
362 | <filename>whois-update/src/main/java/net/ripe/db/whois/update/handler/MultipleUpdateHandler.java<gh_stars>100-1000
package net.ripe.db.whois.update.handler;
import com.google.common.base.Stopwatch;
import net.ripe.db.whois.common.iptree.IpTreeUpdater;
import net.ripe.db.whois.update.domain.Update;
import net.ripe.db.whois.update.domain.UpdateContext;
import net.ripe.db.whois.update.domain.UpdateMessages;
import net.ripe.db.whois.update.domain.UpdateRequest;
import net.ripe.db.whois.update.log.LoggerContext;
import net.ripe.db.whois.update.log.UpdateLog;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
/**
* Make multiple updates, in a single transaction.
*
* If any update fails, the entire transaction is rolled back.
*
*/
@Component
public class MultipleUpdateHandler {
private static final Logger LOGGER = LoggerFactory.getLogger(MultipleUpdateHandler.class);
private final SingleUpdateHandler singleUpdateHandler;
private final IpTreeUpdater ipTreeUpdater;
private final LoggerContext loggerContext;
private final UpdateLog updateLog;
@Autowired
public MultipleUpdateHandler(final SingleUpdateHandler singleUpdateHandler,
final IpTreeUpdater ipTreeUpdater,
final LoggerContext loggerContext,
final UpdateLog updateLog) {
this.singleUpdateHandler = singleUpdateHandler;
this.ipTreeUpdater = ipTreeUpdater;
this.loggerContext = loggerContext;
this.updateLog = updateLog;
}
@Transactional(isolation = Isolation.READ_COMMITTED, propagation = Propagation.REQUIRED)
public void handle(final UpdateRequest updateRequest, final UpdateContext updateContext) {
for (final Update update : updateRequest.getUpdates()) {
final Stopwatch stopwatch = Stopwatch.createStarted();
try {
loggerContext.logUpdateStarted(update);
singleUpdateHandler.handle(updateRequest.getOrigin(), updateRequest.getKeyword(), update, updateContext);
loggerContext.logUpdateCompleted(update);
} catch (UpdateAbortedException e) {
loggerContext.logUpdateCompleted(update);
throw e;
} catch (UpdateFailedException e) {
ipTreeUpdater.update();
updateContext.failedUpdate(update);
loggerContext.logUpdateCompleted(update);
throw e;
} catch (RuntimeException e) {
ipTreeUpdater.update();
updateContext.failedUpdate(update, UpdateMessages.unexpectedError());
loggerContext.logUpdateFailed(update, e);
LOGGER.error("Updating {}", update.getSubmittedObject().getFormattedKey(), e);
throw e;
} finally {
updateLog.logUpdateResult(updateRequest, updateContext, update, stopwatch.stop());
}
}
if (updateContext.isDryRun()) {
throw new UpdateAbortedException();
}
}
}
| 1,346 |
32,544 | package com.baeldung.annotations;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class HealthCheckController {
private static final String STATUS = "UP";
@GetMapping("/health")
public ResponseEntity<String> healthCheck() {
return ResponseEntity.ok(STATUS);
}
}
| 141 |
681 | <reponame>abaldwin88/roamer<gh_stars>100-1000
"""
This module is the entry point for the application.
Process command line arguments and pass appropriate flags to Session
"""
from __future__ import print_function
import sys
import click
import roamer
from roamer.session import Session
@click.command()
@click.option("--path", type=click.Path(file_okay=False, exists=True), default=None)
@click.option("--raw-out/--no-raw-out", default=False)
@click.option("--raw-in/--no-raw-in", default=False)
@click.option("--skip-approval/--no-skip-approval", "skipapproval", default=False)
@click.option("--version/--no-version", default=False)
def start(path, raw_out, raw_in, skipapproval, version):
if version:
print(roamer.__version__)
return
# TODO: Is this a bug? If --raw-out/in is specified, then --skip-approval is ignored.
# Is that correct? For now, to remain backwards compatible I am maintaining this behaviour.
if raw_out:
Session(cwd=path).print_raw()
return
if raw_in:
Session(cwd=path).process(sys.stdin.read())
return
Session(cwd=path, skipapproval=skipapproval).run()
if __name__ == "__main__":
# It looks like we are calling start without providing any of the required
# arguments, but actually it's fine due to the click decorators.
# pylint doesn't know this though, so we tell it to ignore the call:
# pylint: disable=no-value-for-parameter
start()
| 509 |
1,760 | <filename>Contests/USACO Solutions/2015-16/Feb 2016/Plat/16 Feb P1.cpp<gh_stars>1000+
#include <fstream>
#include <algorithm>
#include <vector>
using namespace std;
#define pb push_back
#define pi pair <int, int>
#define vi vector<int>
#define f first
#define s second
#define F0R(i, a) for (int i=0; i<a; i++)
int N,M = 999999, code[1000000], t[2][1 << 18],c1;
vi ya;
vector<pi> cows;
void insert(int ind, int low, int high, int y, int inc, bool z) {
if (low > y || high < y) return;
if (low == high) {
t[z][ind] += inc;
return;
}
insert(2*ind,low,(low+high)/2,y,inc,z);
insert(2*ind+1,(low+high)/2+1,high,y,inc,z);
t[z][ind] = t[z][2*ind] + t[z][2*ind+1];
}
int query(int ind, int low, int high, int L, int R, bool z) {
if (low > R || high < L) return 0;
if (L <= low && high <= R) return t[z][ind];
return query(2*ind,low,(low+high)/2,L,R,z)+query(2*ind+1,(low+high)/2+1,high,L,R,z);
}
int compute(int v) {
int a = query(1,1,c1,1,v,1), b = query(1,1,c1,1,v,0);
return max(max(a,t[1][1]-a),max(b,t[0][1]-b));
}
int solve(int low, int high) {
if (high-low<2) return min(compute(low),compute(high));
int s = (low+high)/2;
int a = query(1,1,c1,1,s,0), b = query(1,1,c1,1,s,1);
int c = t[0][1]-a, d = t[1][1]-b;
if (a>c) {
if (b>d) return solve(low,s);
else {
if (a>d) return solve(low,s);
else return solve(s,high);
}
} else {
if (b>d) {
if (b>c) solve(low,s);
else return solve(s,high);
} else return solve(s,high);
}
}
int main() {
ifstream cin ("balancing.in"); ofstream cout ("balancing.out");
ios_base::sync_with_stdio(0); cin >> N;
F0R(i,N) {
pi k; cin >> k.f >> k.s;
ya.pb(k.s), cows.pb(k);
}
sort(cows.begin(),cows.end()); sort(ya.begin(), ya.end());
ya.erase( unique(ya.begin(), ya.end() ), ya.end() );
F0R(i,ya.size()) c1++, code[ya[i]] = c1;
F0R(i,N) insert(1,1,c1,code[cows[i].s],1,1);
M = min(M,solve(0,c1));
int i = 0;
while (i<N) {
int curx = cows[i].f;
while (cows[i].f == curx && i < N) {
insert(1,1,c1,code[cows[i].s],1,0);
insert(1,1,c1,code[cows[i].s],-1,1);
i++;
}
M = min(M,solve(0,c1));
}
cout << M;
}
| 1,082 |
412 | #include "../sensitivity-test-common-files/array_sensitivity_tests.c"
| 23 |
4,071 | <reponame>chetanbhat/tbb
/*
Copyright (c) 2005-2018 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#define TBB_PREVIEW_FLOW_GRAPH_NODES 1
#define TBB_PREVIEW_FLOW_GRAPH_FEATURES 1
#include "tbb/tbb_config.h"
#include "../../common/utility/utility.h"
#if __TBB_PREVIEW_OPENCL_NODE && __TBB_CPP11_LAMBDAS_PRESENT
#if _MSC_VER
// suppress warning C4503: decorated name length exceeded, name was truncated
#pragma warning(disable : 4503)
#endif
#include <iostream>
#include "tbb/flow_graph.h"
#include "tbb/flow_graph_opencl_node.h"
#include "tbb/tick_count.h"
#include "utils.h"
static const int redChannelOffset = 0;
static const int greenChannelOffset = 1;
static const int blueChannelOffset = 2;
static const int channelsPerPixel = 4;
static const unsigned int channelIncreaseValue = 10;
void applyLeftImageEffect(utils::image_buffer& image) {
const int heighBase = channelsPerPixel * image.width;
std::vector<unsigned char>& buffer = *image.buffer;
// Increase the Red channel of left image by 10
for (unsigned int y = 0; y < image.height; y++) {
const int heightOffset = heighBase * y;
for (unsigned int x = 0; x < image.width; x++) {
int pixelOffset = heightOffset + channelsPerPixel * x + redChannelOffset;
unsigned int pixelValue = buffer[pixelOffset] + channelIncreaseValue;
buffer[pixelOffset] = utils::convert_uchar_sat(pixelValue);
}
}
}
void applyRightImageEffect(utils::image_buffer& image) {
const int heighBase = channelsPerPixel * image.width;
std::vector<unsigned char>& buffer = *image.buffer;
// Increase the Blue channel of left image by 10
for (unsigned int y = 0; y < image.height; y++) {
const int heightOffset = heighBase * y;
for (unsigned int x = 0; x < image.width; x++) {
const int pixelOffset = heightOffset + channelsPerPixel * x + blueChannelOffset;
unsigned int pixelValue = buffer[pixelOffset] + channelIncreaseValue;
buffer[pixelOffset] = utils::convert_uchar_sat(pixelValue);
}
}
}
// This function merges to image buffers into the first buffer (leftImageBuffer as a destination)
void mergeImageBuffers(utils::image_buffer& leftImage, const utils::image_buffer& rightImage) {
const int heighBase = channelsPerPixel * leftImage.width;
std::vector<unsigned char>& leftImageBuffer = *leftImage.buffer;
std::vector<unsigned char>& rightImageBuffer = *rightImage.buffer;
// Apply stereoscopic merge using algorithm: R: left image, G: left and right images (middle value), B: right image
for (unsigned int y = 0; y < leftImage.height; y++) {
const int heightOffset = heighBase * y;
for (unsigned int x = 0; x < leftImage.width; x++) {
const int pixelOffset = heightOffset + channelsPerPixel * x;
const int greenChannelIndex = pixelOffset + greenChannelOffset;
const int blueChannelIndex = pixelOffset + blueChannelOffset;
const int middleGreenChannel = (leftImageBuffer[greenChannelIndex] + rightImageBuffer[greenChannelIndex]);
leftImageBuffer[greenChannelIndex] = middleGreenChannel / 2;
leftImageBuffer[blueChannelIndex] = rightImageBuffer[blueChannelIndex];
}
}
}
void fillOpenclBuffer(tbb::flow::opencl_buffer<cl_uchar>& openclBuffer, const std::vector<unsigned char>& sourceBuffer) {
std::copy(sourceBuffer.begin(), sourceBuffer.end(), openclBuffer.begin());
}
class gpu_device_selector {
public:
template <typename DeviceFilter>
tbb::flow::opencl_device operator()(tbb::flow::opencl_factory<DeviceFilter>& f) {
// Set your GPU device if available to execute kernel on
const tbb::flow::opencl_device_list &devices = f.devices();
tbb::flow::opencl_device_list::const_iterator it = std::find_if(
devices.cbegin(), devices.cend(),
[](const tbb::flow::opencl_device &d) {
cl_device_type type;
d.info(CL_DEVICE_TYPE, type);
return CL_DEVICE_TYPE_GPU == type;
});
if (it == devices.cend()) {
std::cout << "Info: could not find any GPU devices. Choosing the first available device (default behaviour)." << std::endl;
return *(f.devices().begin());
} else {
// Return GPU device from factory
return *it;
}
}
};
// Image processing function that is executed on CPU only
void hostFunction(const std::string& firstFile, const std::string& secondFile, const std::string& outputFile) {
using namespace tbb::flow;
typedef tuple< utils::image_buffer, utils::image_buffer > MergeImagesTuple;
graph g;
function_node< std::string, utils::image_buffer > fileReaderOne(g, serial, [](const std::string& fileToRead) -> utils::image_buffer {
return utils::getOrGenerateImage(fileToRead);
});
function_node< std::string, utils::image_buffer > fileReaderTwo = fileReaderOne;
function_node< utils::image_buffer, utils::image_buffer > leftImageEffect(g, unlimited, [](utils::image_buffer image) -> utils::image_buffer {
applyLeftImageEffect(image);
return image;
});
function_node< utils::image_buffer, utils::image_buffer > rightImageEffect(g, unlimited, [](utils::image_buffer image) -> utils::image_buffer {
applyRightImageEffect(image);
return image;
});
join_node< tuple< utils::image_buffer, utils::image_buffer > > joinNode(g);
function_node< MergeImagesTuple, utils::image_buffer > mergeImages(g, unlimited, [](const MergeImagesTuple& bufferTuple) -> utils::image_buffer {
// Two input images from tupple are merged into the first image,
utils::image_buffer leftImageBuffer = std::get<0>(bufferTuple);
utils::image_buffer rightImageBuffer = std::get<1>(bufferTuple);
mergeImageBuffers(leftImageBuffer, rightImageBuffer);
return leftImageBuffer;
});
function_node< utils::image_buffer > outputWriter(g, unlimited, [&outputFile](const utils::image_buffer& image) {
utils::writePNGImage(image, outputFile);
});
// Read left image
make_edge(fileReaderOne, leftImageEffect);
// Read right image
make_edge(fileReaderTwo, rightImageEffect);
// Process left image
make_edge(leftImageEffect, tbb::flow::input_port<0>(joinNode));
// Process right image
make_edge(rightImageEffect, tbb::flow::input_port<1>(joinNode));
// Merge images
make_edge(joinNode, mergeImages);
make_edge(mergeImages, outputWriter);
// Start graph image processing
fileReaderOne.try_put(firstFile);
fileReaderTwo.try_put(secondFile);
g.wait_for_all();
}
// Image processing function using OpenCL
/** Reading and writing image to file is executed on CPU, while all buffers manipulation are executed on GPU */
void openclFunctionGPU(const std::string& firstFile, const std::string& secondFile, const std::string& outputFile) {
using namespace tbb::flow;
typedef opencl_buffer<cl_uchar> OpenclImageBuffer;
typedef std::array<unsigned int, 2> NDRange;
typedef tuple< OpenclImageBuffer, cl_uint, NDRange > OpenclImageTuple;
typedef tuple< OpenclImageBuffer, OpenclImageBuffer, cl_uint, NDRange > OpenclImagesMergeTuple;
typedef tuple< OpenclImageBuffer, NDRange > WriteImageBufferTuple;
graph g;
gpu_device_selector gpu_selector;
function_node< std::string, OpenclImageTuple > fileReaderOne(g, serial, [&g](const std::string& fileToRead) -> OpenclImageTuple {
utils::image_buffer src = utils::getOrGenerateImage(fileToRead);
// Create and initialize opencl_buffer in order to pass it to kernel
OpenclImageBuffer oclImage(src.buffer->size());
fillOpenclBuffer(oclImage, *src.buffer);
NDRange rangeList = { src.width, src.height };
return std::make_tuple(oclImage, src.width, rangeList);
});
function_node< std::string, OpenclImageTuple > fileReaderTwo = fileReaderOne;
split_node< OpenclImageTuple > splitArgumentsLeftNode(g);
// Kernel should be in the current folder
opencl_program<> program("imageEffects.cl");
opencl_node< OpenclImageTuple > leftImageEffect(g, program.get_kernel("applyLeftImageEffect"), gpu_selector);
split_node< OpenclImageTuple > splitArgumentsRightNode(g);
opencl_node< OpenclImageTuple > rightImageEffect(g, program.get_kernel("applyRightImageEffect"), gpu_selector);
opencl_node< OpenclImagesMergeTuple > mergeImages(g, program.get_kernel("mergeImages"), gpu_selector);
join_node< WriteImageBufferTuple > joinTupleNode(g);
function_node< WriteImageBufferTuple > outputWriter(g, unlimited, [&outputFile](const WriteImageBufferTuple& image) {
// The result image have to be copied in order to be changed,
// the second parameter - image size, can be taken by const reference
OpenclImageBuffer imageBuffer = std::get<0>(image);
const NDRange& imageSize = std::get<1>(image);
unsigned int width = imageSize[0];
unsigned int height = imageSize[1];
utils::writePNGImage(imageBuffer.data(), width, height, outputFile);
});
// Process left image
make_edge(fileReaderOne, splitArgumentsLeftNode);
make_edge(output_port<0>(splitArgumentsLeftNode), input_port<0>(leftImageEffect));
make_edge(output_port<1>(splitArgumentsLeftNode), input_port<1>(leftImageEffect));
// Pass OpenCL NDRange via input port because it depends on input data
make_edge(output_port<2>(splitArgumentsLeftNode), input_port<2>(leftImageEffect));
// Process right image
make_edge(fileReaderTwo, splitArgumentsRightNode);
make_edge(output_port<0>(splitArgumentsRightNode), input_port<0>(rightImageEffect));
make_edge(output_port<1>(splitArgumentsRightNode), input_port<1>(rightImageEffect));
// Pass OpenCL NDRange via input port because it depends on input data
make_edge(output_port<2>(splitArgumentsRightNode), input_port<2>(rightImageEffect));
// Merge images
make_edge(output_port<0>(leftImageEffect), input_port<0>(mergeImages));
make_edge(output_port<0>(rightImageEffect), input_port<1>(mergeImages));
make_edge(output_port<1>(leftImageEffect), input_port<2>(mergeImages));
// Set OpenCL NDRange here (because the values may vary, depending on input data)
make_edge(output_port<2>(leftImageEffect), input_port<3>(mergeImages));
// Write image to PNG
make_edge(output_port<0>(mergeImages), input_port<0>(joinTupleNode));
make_edge(output_port<3>(mergeImages), input_port<1>(joinTupleNode));
make_edge(joinTupleNode, outputWriter);
// Define where to get ndrange and kernel arguments
leftImageEffect.set_args(port_ref<0, 1>());
leftImageEffect.set_range(port_ref<2>());
rightImageEffect.set_args(port_ref<0, 1>());
rightImageEffect.set_range(port_ref<2>());
mergeImages.set_args(port_ref<0, 2>());
mergeImages.set_range(port_ref<3>());
// Start graph image processing pipeline
fileReaderOne.try_put(firstFile);
fileReaderTwo.try_put(secondFile);
g.wait_for_all();
}
// Second image processing function using OpenCL
/** Reading and writing image to file is executed on CPU, while some buffers manipulation are executed on GPU
and others runs on CPU device. This case should have the best performance among others. */
void openclFunctionGPUPlusCPU(const std::string& firstFile, const std::string& secondFile, const std::string& outputFile) {
using namespace tbb::flow;
typedef opencl_buffer<cl_uchar> OpenclImageBuffer;
typedef std::array<unsigned int, 2> NDRange;
typedef tuple< OpenclImageBuffer, cl_uint, NDRange > OpenclImageTuple;
typedef tuple< OpenclImageBuffer, OpenclImageBuffer, cl_uint, NDRange > OpenclImagesMergeTuple;
typedef tuple< OpenclImageBuffer, NDRange > WriteImageBufferTuple;
graph g;
gpu_device_selector gpu_selector;
function_node< std::string, OpenclImageTuple > fileReaderOne(g, serial, [&g](const std::string& fileToRead) -> OpenclImageTuple {
utils::image_buffer src = utils::getOrGenerateImage(fileToRead);
// Create and initialize opencl_buffer in order to pass it to mergeImages kernel
OpenclImageBuffer oclImage(src.buffer->size());
fillOpenclBuffer(oclImage, *src.buffer);
NDRange rangeList = { src.width, src.height };
return std::make_tuple(oclImage, src.width, rangeList);
});
function_node< std::string, utils::image_buffer > fileReaderTwo(g, serial, [](const std::string& fileToRead) -> utils::image_buffer {
return utils::readPNGImage(fileToRead);
});
split_node< OpenclImageTuple > splitArgumentsLeftNode(g);
// Kernel should be in the current folder
opencl_program<> program("imageEffects.cl");
opencl_node< OpenclImageTuple > leftImageEffect(g, program.get_kernel("applyLeftImageEffect"), gpu_selector);
function_node< utils::image_buffer, OpenclImageBuffer > rightImageEffect(g, unlimited, [&g](utils::image_buffer image) -> OpenclImageBuffer {
applyRightImageEffect(image);
// Create and initialize opencl_buffer in order to pass it to kernel
OpenclImageBuffer oclImage(image.buffer->size());
fillOpenclBuffer(oclImage, *image.buffer);
return oclImage;
});
opencl_node< OpenclImagesMergeTuple > mergeImages(g, program.get_kernel("mergeImages"), gpu_selector);
join_node< WriteImageBufferTuple > joinTupleNode(g);
function_node< WriteImageBufferTuple > outputWriter(g, unlimited, [&outputFile](const WriteImageBufferTuple& image) {
// The result image have to be copied in order to be changed,
// the second parameter - image size, can be taken by const reference
OpenclImageBuffer imageBuffer = std::get<0>(image);
const NDRange& imageSize = std::get<1>(image);
unsigned int width = imageSize[0];
unsigned int height = imageSize[1];
utils::writePNGImage(imageBuffer.data(), width, height, outputFile);
});
// Process left image on GPU
make_edge(fileReaderOne, splitArgumentsLeftNode);
make_edge(output_port<0>(splitArgumentsLeftNode), input_port<0>(leftImageEffect));
make_edge(output_port<1>(splitArgumentsLeftNode), input_port<1>(leftImageEffect));
// Pass OpenCL NDRange via input port because it depends on input data
make_edge(output_port<2>(splitArgumentsLeftNode), input_port<2>(leftImageEffect));
// Process right image on CPU
make_edge(fileReaderTwo, rightImageEffect);
// Merge images on GPU
make_edge(output_port<0>(leftImageEffect), input_port<0>(mergeImages));
make_edge(rightImageEffect, input_port<1>(mergeImages));
make_edge(output_port<1>(leftImageEffect), input_port<2>(mergeImages));
// Pass OpenCL NDRange via input port because it depends on input data
make_edge(output_port<2>(leftImageEffect), input_port<3>(mergeImages));
// Write image to PNG
make_edge(output_port<0>(mergeImages), input_port<0>(joinTupleNode));
make_edge(output_port<3>(mergeImages), input_port<1>(joinTupleNode));
make_edge(joinTupleNode, outputWriter);
// Define where to get ndrange and kernel arguments
leftImageEffect.set_args(port_ref<0, 1>());
leftImageEffect.set_range(port_ref<2>());
mergeImages.set_args(port_ref<0, 2>());
mergeImages.set_range(port_ref<3>());
// Start graph image processing pipeline
fileReaderOne.try_put(firstFile);
fileReaderTwo.try_put(secondFile);
g.wait_for_all();
}
int main(int argc, char* argv[]) {
try {
tbb::tick_count mainStartTime = tbb::tick_count::now();
bool verbose = false;
std::string algVersion;
std::string inputFileFirst;
std::string inputFileSecond;
std::string outputFile = "output.png";
utility::parse_cli_arguments(argc, argv,
utility::cli_argument_pack()
//"-h" option for displaying help
.arg(verbose, "-v", "verbose mode")
.arg(algVersion, "-alg", "name of the used pipeline realisation - can be host, target (default) or host_target")
.positional_arg(inputFileFirst, "first_filename", "first input file name")
.positional_arg(inputFileSecond, "second_filename", "second input file name")
);
if (!utils::isBothImagesExists(inputFileFirst, inputFileSecond)) {
std::cout << "Info: one or both images does not exists or empty. Input images will be generated instead." << std::endl;
inputFileFirst.clear();
inputFileSecond.clear();
} else {
std::cout << "First input file name: " << inputFileFirst << std::endl;
std::cout << "Second input file name: " << inputFileSecond << std::endl;
}
if (algVersion.empty() || algVersion == "target") {
openclFunctionGPU(inputFileFirst, inputFileSecond, outputFile);
} else if (algVersion == "host_target") {
openclFunctionGPUPlusCPU(inputFileFirst, inputFileSecond, outputFile);
} else if (algVersion == "host") {
hostFunction(inputFileFirst, inputFileSecond, outputFile);
}
utility::report_elapsed_time((tbb::tick_count::now() - mainStartTime).seconds());
return 0;
} catch (std::exception& e) {
std::cerr << "Error occurred :\"" << e.what() << "\"\n";
return -1;
}
}
#else
int main() {
utility::report_skipped();
return 0;
}
#endif /* __TBB_PREVIEW_OPENCL_NODE && __TBB_CPP11_LAMBDAS_PRESENT */
| 6,506 |
585 | <reponame>KevinKecc/caffe2
/**
* Copyright (c) 2016-present, Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "caffe2/transforms/single_op_transform.h"
#include "caffe2/core/common.h"
#include "caffe2/core/logging.h"
#include "caffe2/core/net.h"
#include "caffe2/proto/caffe2.pb.h"
namespace caffe2 {
using transform::Graph;
bool SingleOpTransform::PatternRule(
const Graph& g,
const std::vector<int>& subgraph,
int idx) {
if (subgraph.size() == 0) {
return MatchOperator(g.node(idx).op);
}
return false;
}
bool SingleOpTransform::ValidatorRule(
const Graph& g,
const std::vector<int>& subgraph) {
if (subgraph.size() == 1) {
return true;
}
return false;
}
bool SingleOpTransform::ReplaceRule(
const std::vector<int>& subgraph,
Graph* g_ptr) {
CHECK(g_ptr);
auto& g = *g_ptr;
ReplaceOperator(&(g.node(subgraph[0]).op));
return true;
}
} // namespace caffe2
| 509 |
5,678 | <filename>examples/applications/porto_seguro_keras_under_sampling.py<gh_stars>1000+
"""
==========================================================
Porto Seguro: balancing samples in mini-batches with Keras
==========================================================
This example compares two strategies to train a neural-network on the Porto
Seguro Kaggle data set [1]_. The data set is imbalanced and we show that
balancing each mini-batch allows to improve performance and reduce the training
time.
References
----------
.. [1] https://www.kaggle.com/c/porto-seguro-safe-driver-prediction/data
"""
# Authors: <NAME> <<EMAIL>>
# License: MIT
print(__doc__)
###############################################################################
# Data loading
###############################################################################
from collections import Counter
import pandas as pd
import numpy as np
###############################################################################
# First, you should download the Porto Seguro data set from Kaggle. See the
# link in the introduction.
training_data = pd.read_csv("./input/train.csv")
testing_data = pd.read_csv("./input/test.csv")
y_train = training_data[["id", "target"]].set_index("id")
X_train = training_data.drop(["target"], axis=1).set_index("id")
X_test = testing_data.set_index("id")
###############################################################################
# The data set is imbalanced and it will have an effect on the fitting.
print(f"The data set is imbalanced: {Counter(y_train['target'])}")
###############################################################################
# Define the pre-processing pipeline
###############################################################################
from sklearn.compose import ColumnTransformer
from sklearn.pipeline import make_pipeline
from sklearn.preprocessing import OneHotEncoder
from sklearn.preprocessing import StandardScaler
from sklearn.preprocessing import FunctionTransformer
from sklearn.impute import SimpleImputer
def convert_float64(X):
return X.astype(np.float64)
###############################################################################
# We want to standard scale the numerical features while we want to one-hot
# encode the categorical features. In this regard, we make use of the
# :class:`~sklearn.compose.ColumnTransformer`.
numerical_columns = [
name for name in X_train.columns if "_calc_" in name and "_bin" not in name
]
numerical_pipeline = make_pipeline(
FunctionTransformer(func=convert_float64, validate=False), StandardScaler()
)
categorical_columns = [name for name in X_train.columns if "_cat" in name]
categorical_pipeline = make_pipeline(
SimpleImputer(missing_values=-1, strategy="most_frequent"),
OneHotEncoder(categories="auto"),
)
preprocessor = ColumnTransformer(
[
("numerical_preprocessing", numerical_pipeline, numerical_columns),
(
"categorical_preprocessing",
categorical_pipeline,
categorical_columns,
),
],
remainder="drop",
)
# Create an environment variable to avoid using the GPU. This can be changed.
import os
os.environ["CUDA_VISIBLE_DEVICES"] = "-1"
###############################################################################
# Create a neural-network
###############################################################################
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import (
Activation,
Dense,
Dropout,
BatchNormalization,
)
def make_model(n_features):
model = Sequential()
model.add(Dense(200, input_shape=(n_features,), kernel_initializer="glorot_normal"))
model.add(BatchNormalization())
model.add(Activation("relu"))
model.add(Dropout(0.5))
model.add(Dense(100, kernel_initializer="glorot_normal", use_bias=False))
model.add(BatchNormalization())
model.add(Activation("relu"))
model.add(Dropout(0.25))
model.add(Dense(50, kernel_initializer="glorot_normal", use_bias=False))
model.add(BatchNormalization())
model.add(Activation("relu"))
model.add(Dropout(0.15))
model.add(Dense(25, kernel_initializer="glorot_normal", use_bias=False))
model.add(BatchNormalization())
model.add(Activation("relu"))
model.add(Dropout(0.1))
model.add(Dense(1, activation="sigmoid"))
model.compile(loss="binary_crossentropy", optimizer="adam", metrics=["accuracy"])
return model
###############################################################################
# We create a decorator to report the computation time
import time
from functools import wraps
def timeit(f):
@wraps(f)
def wrapper(*args, **kwds):
start_time = time.time()
result = f(*args, **kwds)
elapsed_time = time.time() - start_time
print(f"Elapsed computation time: {elapsed_time:.3f} secs")
return (elapsed_time, result)
return wrapper
###############################################################################
# The first model will be trained using the ``fit`` method and with imbalanced
# mini-batches.
from sklearn.metrics import roc_auc_score
@timeit
def fit_predict_imbalanced_model(X_train, y_train, X_test, y_test):
model = make_model(X_train.shape[1])
model.fit(X_train, y_train, epochs=2, verbose=1, batch_size=1000)
y_pred = model.predict_proba(X_test, batch_size=1000)
return roc_auc_score(y_test, y_pred)
###############################################################################
# In the contrary, we will use imbalanced-learn to create a generator of
# mini-batches which will yield balanced mini-batches.
from imblearn.keras import BalancedBatchGenerator
@timeit
def fit_predict_balanced_model(X_train, y_train, X_test, y_test):
model = make_model(X_train.shape[1])
training_generator = BalancedBatchGenerator(
X_train, y_train, batch_size=1000, random_state=42
)
model.fit(training_generator, epochs=5, verbose=1)
y_pred = model.predict(X_test, batch_size=1000)
return roc_auc_score(y_test, y_pred)
###############################################################################
# Classification loop
###############################################################################
###############################################################################
# We will perform a 10-fold cross-validation and train the neural-network with
# the two different strategies previously presented.
from sklearn.model_selection import StratifiedKFold
skf = StratifiedKFold(n_splits=10)
cv_results_imbalanced = []
cv_time_imbalanced = []
cv_results_balanced = []
cv_time_balanced = []
for train_idx, valid_idx in skf.split(X_train, y_train):
X_local_train = preprocessor.fit_transform(X_train.iloc[train_idx])
y_local_train = y_train.iloc[train_idx].values.ravel()
X_local_test = preprocessor.transform(X_train.iloc[valid_idx])
y_local_test = y_train.iloc[valid_idx].values.ravel()
elapsed_time, roc_auc = fit_predict_imbalanced_model(
X_local_train, y_local_train, X_local_test, y_local_test
)
cv_time_imbalanced.append(elapsed_time)
cv_results_imbalanced.append(roc_auc)
elapsed_time, roc_auc = fit_predict_balanced_model(
X_local_train, y_local_train, X_local_test, y_local_test
)
cv_time_balanced.append(elapsed_time)
cv_results_balanced.append(roc_auc)
###############################################################################
# Plot of the results and computation time
###############################################################################
df_results = pd.DataFrame(
{
"Balanced model": cv_results_balanced,
"Imbalanced model": cv_results_imbalanced,
}
)
df_results = df_results.unstack().reset_index()
df_time = pd.DataFrame(
{"Balanced model": cv_time_balanced, "Imbalanced model": cv_time_imbalanced}
)
df_time = df_time.unstack().reset_index()
import seaborn as sns
import matplotlib.pyplot as plt
plt.figure()
sns.boxplot(y="level_0", x=0, data=df_time)
sns.despine(top=True, right=True, left=True)
plt.xlabel("time [s]")
plt.ylabel("")
plt.title("Computation time difference using a random under-sampling")
plt.figure()
sns.boxplot(y="level_0", x=0, data=df_results, whis=10.0)
sns.despine(top=True, right=True, left=True)
ax = plt.gca()
ax.xaxis.set_major_formatter(plt.FuncFormatter(lambda x, pos: "%i%%" % (100 * x)))
plt.xlabel("ROC-AUC")
plt.ylabel("")
plt.title("Difference in terms of ROC-AUC using a random under-sampling")
| 2,789 |
1,018 | <filename>examples/mapColoringUSStates/adj2qubo.py<gh_stars>1000+
"""
Copyright 2016 D-Wave Systems,Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
import csv
import argparse
import os
def ad2_qubo(qubo_out, adj_in):
# First let's load the adjacency from the file. We store the adjacency
# information in a dictionary where the keys are the states and the
# values are sets such that if state0 and state1 are adjacent,
# (state0 in state_adj[state1]) == True
# We also want to map each state to an integer index, we store this mapping
# in state_to_index
state_adj = {}
state_to_index = {}
index_to_state = {}
idx = 0
with open(adj_in, "r") as adj:
for line in adj:
if line[0] == 'c' or line[0] == '#':
# skip the comment lines
continue
# in each line, there is a comma separated list of states. The
# first state is the node, the remaining are the nodes adjacent
# the list is bi-directional (e.g. AK,HI and HI,AK are both lines)
states = line.strip('\n').split(',')
state_adj[states[0]] = set(states[1:])
# each state has an integer label, so we record the mapping in both
# directions
state_to_index[states[0]] = idx
index_to_state[idx] = states[0]
idx += 1
# we need some information in advance for the qubo, specifically the number of nodes and
# the number of couplers
num_nodes = 4 * len(state_adj)
num_couplers = sum(len(states) for states in state_adj.values()) * 2 + 6 * len(state_adj)
# now time to write the qubo
# nodes first
with open(qubo_out, "w") as qubo:
qubo.write("c" + "\n")
qubo.write("c this qubo was created by adj2qubo.py for 4 color uninary encoding" + "\n")
qubo.write("c" + "\n")
qubo.write("p qubo 0 {} {} {}\n".format(num_nodes, num_nodes, num_couplers))
for st in range(len(state_adj)):
state = index_to_state[st]
qubo.write("c " + state + "\n")
qubo.write(" " + str(st * 4) + " " + str(st * 4) + " -1 " + "\n")
qubo.write(" " + str(st * 4 + 1) + " " + str(st * 4 + 1) + " -1 " + "\n")
qubo.write(" " + str(st * 4 + 2) + " " + str(st * 4 + 2) + " -1 " + "\n")
qubo.write(" " + str(st * 4 + 3) + " " + str(st * 4 + 3) + " -1 " + "\n")
qubo.write("c" + "\n")
qubo.write("c Couplers " + "\n")
qubo.write("c" + "\n")
for st in range(len(state_adj)):
state = index_to_state[st]
neighbors = state_adj[state]
qubo.write("c " + state + " " + str(len(neighbors)) + " neighbors " +
str(len(neighbors) * 4) + " external couplers\n")
qubo.write(" " + str(st * 4) + " " + str(st * 4 + 1) + " 2 " + "\n")
qubo.write(" " + str(st * 4) + " " + str(st * 4 + 2) + " 2 " + "\n")
qubo.write(" " + str(st * 4) + " " + str(st * 4 + 3) + " 2 " + "\n")
qubo.write(" " + str(st * 4 + 1) + " " + str(st * 4 + 2) + " 2 " + "\n")
qubo.write(" " + str(st * 4 + 1) + " " + str(st * 4 + 3) + " 2 " + "\n")
qubo.write(" " + str(st * 4 + 2) + " " + str(st * 4 + 3) + " 2 " + "\n")
for ext_coup in sorted(state_to_index[state] for state in neighbors):
if ext_coup < st:
continue
coupl_st = index_to_state[ext_coup]
qubo.write("c " + state + " linked to " + coupl_st + "\n")
qubo.write(" " + str(st * 4 + 0) + " " + str(ext_coup * 4 + 0) + " 1 " + "\n")
qubo.write(" " + str(st * 4 + 1) + " " + str(ext_coup * 4 + 1) + " 1 " + "\n")
qubo.write(" " + str(st * 4 + 2) + " " + str(ext_coup * 4 + 2) + " 1 " + "\n")
qubo.write(" " + str(st * 4 + 3) + " " + str(ext_coup * 4 + 3) + " 1 " + "\n")
if __name__ == "__main__":
parser = argparse.ArgumentParser(description='Read adj files and create a qubo 4 color map file')
parser.add_argument("-i", "--adj", help="Input adjacency graph file ", required=True)
parser.add_argument("-o", "--qubo", type=str, help="output .qubo file", required="True")
parser.add_argument("-v", "--verbosity", action="store_true", help="Verbosity level", default=0)
args = parser.parse_args()
adj_in = args.adj
qubo_out = args.qubo
ad2_qubo(qubo_out, adj_in)
| 2,254 |
1,268 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import getopt
import ConfigParser
from tools import models
from pack.pack import Pack
from pack.compiled import Compiled
from sender.base import create_sender
def run(conf):
cf = ConfigParser.ConfigParser()
cf.read(conf)
try:
code_path = cf.get('code', 'path')
except ConfigParser.NoSectionError:
raise Exception('code path is empty')
except ConfigParser.NoOptionError:
raise Exception('code path is empty')
arch_list = []
arch_type = [models.I386, models.AMD64]
for t in arch_type:
try:
at = cf.getboolean('code', t)
except ConfigParser.NoSectionError:
pass
except ConfigParser.NoOptionError:
pass
else:
if at:
arch_list.append(t)
version = raw_input('please input version: ')
com = Compiled(code_path, cf, version)
pack = Pack(code_path, cf, version)
senders = create_sender(cf)
for al in arch_list:
com.main(al)
pack_path = pack.main(al)
for (k, s) in senders.items():
try:
s.send(pack_path)
except AttributeError:
print 'Warn:', k, 'has no attr send(file_path)'
def main(argv):
try:
opts, args = getopt.getopt(argv, 'hf:', ['configfile='])
except getopt.GetoptError:
print 'main.py -f <configfile>'
sys.exit(2)
for opt, arg in opts:
if opt == '-h':
print 'main.py -f <configfile>'
sys.exit()
elif opt in ('-f', '--configfile'):
run(arg)
else:
print 'unknown args', opt
sys.exit(2)
if __name__ == '__main__':
main(sys.argv[1:])
| 845 |
335 | <reponame>Safal08/Hacktoberfest-1<filename>S/Shortly_adverb.json
{
"word": "Shortly",
"definitions": [
"In a short time; soon.",
"In a few words; briefly.",
"Abruptly, sharply, or curtly."
],
"parts-of-speech": "Adverb"
} | 122 |
3,084 | <filename>print/XPSDrvSmpl/src/filters/xdcont/xpsfilew.h
/*++
Copyright (c) 2005 Microsoft Corporation
All rights reserved.
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.
File Name:
xpsfilew.h
Abstract:
Definition of an XPS file writer. This implements ISequentialStream::Write
and essentially wraps a buffer that recieves and stores the part information
so that in can be later compressed and written out.
--*/
#pragma once
#include "workbuff.h"
#include "cunknown.h"
#include "xdstring.h"
class CXPSWriteFile : public CUnknown<ISequentialStream>
{
public:
CXPSWriteFile();
CXPSWriteFile(
PCSTR szFileName
);
virtual ~CXPSWriteFile();
//
// ISequentialStream members
//
HRESULT STDMETHODCALLTYPE
Read(
_Out_writes_bytes_to_(cb, *pcbRead) void*,
_In_ ULONG cb,
_Out_opt_ ULONG* pcbRead
);
HRESULT STDMETHODCALLTYPE
Write(
_In_reads_bytes_(cbData) CONST void* pData,
_In_ ULONG cbData,
_Out_ ULONG* pcbWritten
);
HRESULT
GetBuffer(
_Outptr_result_bytebuffer_(*pcb) PVOID* ppv,
_Out_ ULONG* pcb
);
HRESULT
GetFileName(
_Outptr_ PSTR* pszFileName
);
private:
CWorkingBuffer m_workFile;
ULONG m_cbWritten;
CStringXDA m_cstrFileName;
};
| 806 |
8,027 | <filename>tools/ideabuck/src/com/facebook/buck/intellij/ideabuck/completion/BuckCompletionContributor.java
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.facebook.buck.intellij.ideabuck.completion;
import com.facebook.buck.intellij.ideabuck.lang.BuckLanguage;
import com.facebook.buck.intellij.ideabuck.lang.psi.BuckTypes;
import com.facebook.buck.intellij.ideabuck.util.BuckPsiUtils;
import com.google.common.collect.ImmutableList;
import com.intellij.codeInsight.completion.CompletionContributor;
import com.intellij.codeInsight.completion.CompletionParameters;
import com.intellij.codeInsight.completion.CompletionProvider;
import com.intellij.codeInsight.completion.CompletionResultSet;
import com.intellij.codeInsight.completion.CompletionType;
import com.intellij.codeInsight.lookup.LookupElementBuilder;
import com.intellij.patterns.PlatformPatterns;
import com.intellij.psi.PsiElement;
import com.intellij.util.ProcessingContext;
import java.util.Map;
import java.util.Optional;
import java.util.Set;
/** Auto-completion for keywords and rule names */
public class BuckCompletionContributor extends CompletionContributor {
// TODO(#7908512): Need to pull those information from Buck.
private static final ImmutableList<String> sPropertyNames =
ImmutableList.of(
"res",
"binary_jar",
"manifest",
"manifest_skeleton",
"package_type",
"aar",
"src_target",
"src_roots",
"java7_support",
"source_under_test",
"test_library_project_dir",
"contacts",
"excludes",
"main",
"javadoc_url",
"store",
"properties",
"assets",
"package",
"proguard_config",
"source_jar",
"aidl",
"import_path",
"plugins",
"keystore");
// TODO(#7908529): Need to pull those information from Buck.
private static final ImmutableList<String> sRuleNames =
ImmutableList.of(
"genrule",
"remote_file",
"android_aar",
"android_binary",
"android_build_config",
"android_library",
"android_manifest",
"android_prebuilt_aar",
"android_resource",
"apk_genrule",
"cxx_library",
"gen_aidl",
"ndk_library",
"prebuilt_jar",
"prebuilt_native_library",
"project_config",
"cxx_binary",
"cxx_library",
"cxx_test",
"prebuilt_native_library",
"d_binary",
"d_library",
"d_test",
"cxx_library",
"java_binary",
"java_library",
"java_test",
"prebuilt_jar",
"prebuilt_native_library",
"prebuilt_python_library",
"python_binary",
"python_library",
"python_test",
"include_defs",
"robolectric_test",
"keystore");
public BuckCompletionContributor() {
// Auto completion for basic rule names.
extend(
CompletionType.BASIC,
PlatformPatterns.psiElement(BuckTypes.IDENTIFIER_TOKEN).withLanguage(BuckLanguage.INSTANCE),
BuckKeywordsCompletionProvider.INSTANCE);
}
private static class BuckKeywordsCompletionProvider
extends CompletionProvider<CompletionParameters> {
private static final BuckKeywordsCompletionProvider INSTANCE =
new BuckKeywordsCompletionProvider();
@Override
protected void addCompletions(
CompletionParameters parameters, ProcessingContext context, CompletionResultSet result) {
Optional.of(parameters.getPosition())
.map(PsiElement::getContainingFile)
.map(psiFile -> BuckPsiUtils.findSymbolsInPsiTree(psiFile, ""))
.map(Map::keySet)
.map(Set::stream)
.ifPresent(names -> names.map(LookupElementBuilder::create).forEach(result::addElement));
for (String card : sPropertyNames) {
result.addElement(LookupElementBuilder.create(card));
}
for (String card : sRuleNames) {
result.addElement(LookupElementBuilder.create(card));
}
}
}
}
| 1,997 |
1,035 | <filename>system/t09_repo/drop.py<gh_stars>1000+
from lib import BaseTest
class DropRepo1Test(BaseTest):
"""
drop repo: regular drop
"""
fixtureCmds = [
"aptly repo create repo1",
]
runCmd = "aptly repo drop repo1"
def check(self):
self.check_output()
self.check_cmd_output("aptly repo show repo1", "repo-show", expected_code=1)
class DropRepo2Test(BaseTest):
"""
drop repo: in use by snapshots
"""
fixtureCmds = [
"aptly repo create repo2",
"aptly repo add repo2 ${files}",
"aptly snapshot create local from repo repo2",
]
runCmd = "aptly repo drop repo2"
expectedCode = 1
class DropRepo3Test(BaseTest):
"""
drop repo: force
"""
fixtureCmds = [
"aptly repo create repo3",
"aptly repo add repo3 ${files}",
"aptly snapshot create local from repo repo3",
]
runCmd = "aptly repo drop --force repo3"
class DropRepo4Test(BaseTest):
"""
drop repo: no such repo
"""
runCmd = "aptly repo drop repo4"
expectedCode = 1
class DropRepo5Test(BaseTest):
"""
drop repo: published
"""
fixtureCmds = [
"aptly repo create repo5",
"aptly repo add repo5 ${files}",
"aptly publish repo -skip-signing -distribution=squeeze repo5",
]
runCmd = "aptly repo drop repo5"
expectedCode = 1
| 586 |
4,879 | #pragma once
#include "search/city_finder.hpp"
#include "search/region_info_getter.hpp"
#include "search/reverse_geocoder.hpp"
namespace storage
{
class CountryInfoGetter;
} // namespace storage
namespace search
{
// Note: This class is NOT thread-safe.
class RegionAddressGetter
{
public:
RegionAddressGetter(DataSource const & dataSource, storage::CountryInfoGetter const & infoGetter);
ReverseGeocoder::RegionAddress GetNearbyRegionAddress(m2::PointD const & center);
std::string GetLocalizedRegionAddress(ReverseGeocoder::RegionAddress const & addr) const;
std::string GetLocalizedRegionAddress(m2::PointD const & center);
private:
ReverseGeocoder m_reverseGeocoder;
RegionInfoGetter m_nameGetter;
CityFinder m_cityFinder;
storage::CountryInfoGetter const & m_infoGetter;
};
} // namespace search
| 261 |
5,133 | <filename>processor/src/test/java/org/mapstruct/ap/test/bugs/_577/Issue577Test.java<gh_stars>1000+
/*
* Copyright MapStruct Authors.
*
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package org.mapstruct.ap.test.bugs._577;
import org.mapstruct.ap.testutil.IssueKey;
import org.mapstruct.ap.testutil.ProcessorTest;
import org.mapstruct.ap.testutil.WithClasses;
import static org.assertj.core.api.Assertions.assertThat;
@IssueKey( "577" )
@WithClasses({ Source.class, Target.class, SourceTargetMapper.class })
public class Issue577Test {
@ProcessorTest
public void shouldMapTwoArraysToCollections() {
Source source = new Source();
Target target = SourceTargetMapper.INSTANCE.sourceToTarget( source );
assertThat( target ).isNotNull();
}
}
| 290 |
473 | <reponame>zheli-1/crete-dev
#include <asm/unistd.h>
static inline void exit(int status)
{
int __res;
__asm__ volatile ("movl %%ecx,%%ebx\n"\
"int $0x80" \
: "=a" (__res) : "0" (__NR_exit),"c" ((long)(status)));
}
static inline int write(int fd, const char * buf, int len)
{
int status;
__asm__ volatile ("pushl %%ebx\n"\
"movl %%esi,%%ebx\n"\
"int $0x80\n" \
"popl %%ebx\n"\
: "=a" (status) \
: "0" (__NR_write),"S" ((long)(fd)),"c" ((long)(buf)),"d" ((long)(len)));
return status;
}
void _start(void)
{
write(1, "Hello World\n", 12);
exit(0);
}
| 308 |
4,879 | #include "storage/storage_defines.hpp"
#include "base/assert.hpp"
#include <sstream>
using namespace std;
using namespace string_literals;
namespace storage
{
storage::CountryId const kInvalidCountryId;
bool IsCountryIdValid(CountryId const & countryId) { return countryId != kInvalidCountryId; }
string DebugPrint(Status status)
{
switch (status)
{
case Status::Undefined:
return "EUndefined"s;
case Status::OnDisk:
return "OnDisk"s;
case Status::NotDownloaded:
return "NotDownloaded"s;
case Status::DownloadFailed:
return "DownloadFailed"s;
case Status::Downloading:
return "Downloading"s;
case Status::Applying:
return "Applying"s;
case Status::InQueue:
return "InQueue"s;
case Status::UnknownError:
return "Unknown"s;
case Status::OnDiskOutOfDate:
return "OnDiskOutOfDate"s;
case Status::OutOfMemFailed:
return "OutOfMemFailed"s;
}
UNREACHABLE();
}
string DebugPrint(NodeStatus status)
{
switch (status)
{
case NodeStatus::Undefined:
return "Undefined"s;
case NodeStatus::Error:
return "Error"s;
case NodeStatus::OnDisk:
return "OnDisk"s;
case NodeStatus::NotDownloaded:
return "NotDownloaded"s;
case NodeStatus::Downloading:
return "Downloading"s;
case NodeStatus::Applying:
return "Applying"s;
case NodeStatus::InQueue:
return "InQueue"s;
case NodeStatus::OnDiskOutOfDate:
return "OnDiskOutOfDate"s;
case NodeStatus::Partly:
return "Partly"s;
}
UNREACHABLE();
}
string DebugPrint(NodeErrorCode status)
{
switch (status)
{
case NodeErrorCode::NoError:
return "NoError"s;
case NodeErrorCode::UnknownError:
return "UnknownError"s;
case NodeErrorCode::OutOfMemFailed:
return "OutOfMemFailed"s;
case NodeErrorCode::NoInetConnection:
return "NoInetConnection"s;
}
UNREACHABLE();
}
StatusAndError ParseStatus(Status innerStatus)
{
switch (innerStatus)
{
case Status::Undefined:
return StatusAndError(NodeStatus::Undefined, NodeErrorCode::NoError);
case Status::OnDisk:
return StatusAndError(NodeStatus::OnDisk, NodeErrorCode::NoError);
case Status::NotDownloaded:
return StatusAndError(NodeStatus::NotDownloaded, NodeErrorCode::NoError);
case Status::DownloadFailed:
return StatusAndError(NodeStatus::Error, NodeErrorCode::NoInetConnection);
case Status::Downloading:
return StatusAndError(NodeStatus::Downloading, NodeErrorCode::NoError);
case Status::Applying:
return StatusAndError(NodeStatus::Applying, NodeErrorCode::NoError);
case Status::InQueue:
return StatusAndError(NodeStatus::InQueue, NodeErrorCode::NoError);
case Status::UnknownError:
return StatusAndError(NodeStatus::Error, NodeErrorCode::UnknownError);
case Status::OnDiskOutOfDate:
return StatusAndError(NodeStatus::OnDiskOutOfDate, NodeErrorCode::NoError);
case Status::OutOfMemFailed:
return StatusAndError(NodeStatus::Error, NodeErrorCode::OutOfMemFailed);
}
UNREACHABLE();
}
string DebugPrint(StatusAndError statusAndError)
{
ostringstream out;
out << "StatusAndError[" << DebugPrint(statusAndError.status)
<< ", " << DebugPrint(statusAndError.error) << "]";
return out.str();
}
} // namespace storage
| 1,107 |
1,351 | /** @file
*
* A brief file description
*
* @section license License
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "tscore/Diags.h"
#include "QUICFrameRetransmitter.h"
#include "QUICFrameGenerator.h"
#include "QUICDebugNames.h"
ClassAllocator<QUICFrameInformation> quicFrameInformationAllocator("quicFrameInformationAllocator");
QUICFrame *
QUICFrameRetransmitter::create_retransmitted_frame(uint8_t *buf, QUICEncryptionLevel level, uint16_t maximum_frame_size,
QUICFrameId id, QUICFrameGenerator *owner)
{
QUICFrame *frame = nullptr;
if (this->_lost_frame_info_queue.empty()) {
return frame;
}
std::deque<QUICFrameInformationUPtr> tmp_queue;
for (auto it = this->_lost_frame_info_queue.begin(); it != this->_lost_frame_info_queue.end();
it = this->_lost_frame_info_queue.begin()) {
QUICFrameInformationUPtr &info = *it;
if (info->level != QUICEncryptionLevel::NONE && info->level != level) {
// skip unmapped info.
tmp_queue.push_back(std::move(info));
this->_lost_frame_info_queue.pop_front();
continue;
}
switch (info->type) {
case QUICFrameType::STREAM:
frame = this->_create_stream_frame(buf, info, maximum_frame_size, tmp_queue, id, owner);
break;
case QUICFrameType::CRYPTO:
frame = this->_create_crypto_frame(buf, info, maximum_frame_size, tmp_queue, id, owner);
break;
default:
ink_assert("unknown frame type");
Error("unknown frame type: %s", QUICDebugNames::frame_type(info->type));
}
this->_lost_frame_info_queue.pop_front();
if (frame != nullptr) {
break;
}
}
this->_append_info_queue(tmp_queue);
return frame;
}
void
QUICFrameRetransmitter::save_frame_info(QUICFrameInformationUPtr info)
{
for (auto type : RETRANSMITTED_FRAME_TYPE) {
if (type == info->type) {
this->_lost_frame_info_queue.push_back(std::move(info));
break;
}
}
}
void
QUICFrameRetransmitter::_append_info_queue(std::deque<QUICFrameInformationUPtr> &tmp_queue)
{
auto it = tmp_queue.begin();
while (it != tmp_queue.end()) {
this->_lost_frame_info_queue.push_back(std::move(*it));
tmp_queue.pop_front();
it = tmp_queue.begin();
}
}
QUICFrame *
QUICFrameRetransmitter::_create_stream_frame(uint8_t *buf, QUICFrameInformationUPtr &info, uint16_t maximum_frame_size,
std::deque<QUICFrameInformationUPtr> &tmp_queue, QUICFrameId id,
QUICFrameGenerator *owner)
{
QUICFrame *frame = nullptr;
StreamFrameInfo *stream_info = reinterpret_cast<StreamFrameInfo *>(info->data);
static constexpr uint32_t MAX_STREAM_FRAME_OVERHEAD = 24;
if (maximum_frame_size <= MAX_STREAM_FRAME_OVERHEAD) {
tmp_queue.push_back(std::move(info));
return frame;
}
// FIXME MAX_STREAM_FRAME_OVERHEAD is here and there
// These size calculation should not exist multiple places
uint64_t maximum_data_size = maximum_frame_size - MAX_STREAM_FRAME_OVERHEAD;
if (maximum_data_size >= static_cast<uint64_t>(stream_info->block->size())) {
frame = QUICFrameFactory::create_stream_frame(buf, stream_info->block, stream_info->stream_id, stream_info->offset,
stream_info->has_fin, true, true, id, owner);
ink_assert(frame->size() <= maximum_frame_size);
stream_info->block = nullptr;
} else {
frame = QUICFrameFactory::create_stream_frame(buf, stream_info->block, stream_info->stream_id, stream_info->offset, false, true,
true, id, owner);
QUICStreamFrame *stream_frame = static_cast<QUICStreamFrame *>(frame);
IOBufferBlock *block = stream_frame->data();
size_t over_length = stream_frame->data_length() - maximum_data_size;
block->_end = std::max(block->start(), block->_end - over_length);
if (block->read_avail() == 0) {
// no payload
tmp_queue.push_back(std::move(info));
return nullptr;
}
stream_info->block->consume(stream_frame->data_length());
stream_info->offset += stream_frame->data_length();
ink_assert(frame->size() <= maximum_frame_size);
tmp_queue.push_back(std::move(info));
return frame;
}
ink_assert(frame != nullptr);
return frame;
}
QUICFrame *
QUICFrameRetransmitter::_create_crypto_frame(uint8_t *buf, QUICFrameInformationUPtr &info, uint16_t maximum_frame_size,
std::deque<QUICFrameInformationUPtr> &tmp_queue, QUICFrameId id,
QUICFrameGenerator *owner)
{
CryptoFrameInfo *crypto_info = reinterpret_cast<CryptoFrameInfo *>(info->data);
// FIXME: has_offset and has_length should be configurable.
auto frame = QUICFrameFactory::create_crypto_frame(buf, crypto_info->block, crypto_info->offset, id, owner);
if (frame->size() > maximum_frame_size) {
QUICCryptoFrame *crypto_frame = static_cast<QUICCryptoFrame *>(frame);
if (crypto_frame->size() - crypto_frame->data_length() > maximum_frame_size) {
// header length is larger than maximum_frame_size.
tmp_queue.push_back(std::move(info));
return nullptr;
}
IOBufferBlock *block = crypto_frame->data();
size_t over_length = crypto_frame->size() - maximum_frame_size;
block->_end = std::max(block->start(), block->_end - over_length);
if (block->read_avail() == 0) {
// no payload
tmp_queue.push_back(std::move(info));
return nullptr;
}
crypto_info->block->consume(crypto_frame->data_length());
crypto_info->offset += crypto_frame->data_length();
ink_assert(frame->size() <= maximum_frame_size);
tmp_queue.push_back(std::move(info));
return frame;
}
crypto_info->block = nullptr;
ink_assert(frame != nullptr);
return frame;
}
bool
QUICFrameRetransmitter::is_retransmited_frame_queue_empty() const
{
return this->_lost_frame_info_queue.empty();
}
| 2,708 |
964 | [
{
"queryName": "API Gateway Without Configured Authorizer",
"severity": "MEDIUM",
"line": 3,
"fileName": "positive1.yaml"
},
{
"queryName": "API Gateway Without Configured Authorizer",
"severity": "MEDIUM",
"line": 2,
"fileName": "positive2.yaml"
},
{
"queryName": "API Gateway Without Configured Authorizer",
"severity": "MEDIUM",
"line": 3,
"fileName": "positive3.yaml"
},
{
"queryName": "API Gateway Without Configured Authorizer",
"severity": "MEDIUM",
"line": 3,
"fileName": "positive4.yaml"
}
]
| 240 |
2,816 | /* Generated by Snowball 2.0.0 - https://snowballstem.org/ */
#include "../runtime/header.h"
#ifdef __cplusplus
extern "C" {
#endif
extern int serbian_UTF_8_stem(struct SN_env * z);
#ifdef __cplusplus
}
#endif
static int r_Step_3(struct SN_env * z);
static int r_Step_2(struct SN_env * z);
static int r_Step_1(struct SN_env * z);
static int r_R1(struct SN_env * z);
static int r_mark_regions(struct SN_env * z);
static int r_prelude(struct SN_env * z);
static int r_cyr_to_lat(struct SN_env * z);
#ifdef __cplusplus
extern "C" {
#endif
extern struct SN_env * serbian_UTF_8_create_env(void);
extern void serbian_UTF_8_close_env(struct SN_env * z);
#ifdef __cplusplus
}
#endif
static const symbol s_0_0[2] = { 0xD0, 0xB0 };
static const symbol s_0_1[2] = { 0xD0, 0xB1 };
static const symbol s_0_2[2] = { 0xD0, 0xB2 };
static const symbol s_0_3[2] = { 0xD0, 0xB3 };
static const symbol s_0_4[2] = { 0xD0, 0xB4 };
static const symbol s_0_5[2] = { 0xD0, 0xB5 };
static const symbol s_0_6[2] = { 0xD0, 0xB6 };
static const symbol s_0_7[2] = { 0xD0, 0xB7 };
static const symbol s_0_8[2] = { 0xD0, 0xB8 };
static const symbol s_0_9[2] = { 0xD0, 0xBA };
static const symbol s_0_10[2] = { 0xD0, 0xBB };
static const symbol s_0_11[2] = { 0xD0, 0xBC };
static const symbol s_0_12[2] = { 0xD0, 0xBD };
static const symbol s_0_13[2] = { 0xD0, 0xBE };
static const symbol s_0_14[2] = { 0xD0, 0xBF };
static const symbol s_0_15[2] = { 0xD1, 0x80 };
static const symbol s_0_16[2] = { 0xD1, 0x81 };
static const symbol s_0_17[2] = { 0xD1, 0x82 };
static const symbol s_0_18[2] = { 0xD1, 0x83 };
static const symbol s_0_19[2] = { 0xD1, 0x84 };
static const symbol s_0_20[2] = { 0xD1, 0x85 };
static const symbol s_0_21[2] = { 0xD1, 0x86 };
static const symbol s_0_22[2] = { 0xD1, 0x87 };
static const symbol s_0_23[2] = { 0xD1, 0x88 };
static const symbol s_0_24[2] = { 0xD1, 0x92 };
static const symbol s_0_25[2] = { 0xD1, 0x98 };
static const symbol s_0_26[2] = { 0xD1, 0x99 };
static const symbol s_0_27[2] = { 0xD1, 0x9A };
static const symbol s_0_28[2] = { 0xD1, 0x9B };
static const symbol s_0_29[2] = { 0xD1, 0x9F };
static const struct among a_0[30] =
{
{ 2, s_0_0, -1, 1, 0},
{ 2, s_0_1, -1, 2, 0},
{ 2, s_0_2, -1, 3, 0},
{ 2, s_0_3, -1, 4, 0},
{ 2, s_0_4, -1, 5, 0},
{ 2, s_0_5, -1, 7, 0},
{ 2, s_0_6, -1, 8, 0},
{ 2, s_0_7, -1, 9, 0},
{ 2, s_0_8, -1, 10, 0},
{ 2, s_0_9, -1, 12, 0},
{ 2, s_0_10, -1, 13, 0},
{ 2, s_0_11, -1, 15, 0},
{ 2, s_0_12, -1, 16, 0},
{ 2, s_0_13, -1, 18, 0},
{ 2, s_0_14, -1, 19, 0},
{ 2, s_0_15, -1, 20, 0},
{ 2, s_0_16, -1, 21, 0},
{ 2, s_0_17, -1, 22, 0},
{ 2, s_0_18, -1, 24, 0},
{ 2, s_0_19, -1, 25, 0},
{ 2, s_0_20, -1, 26, 0},
{ 2, s_0_21, -1, 27, 0},
{ 2, s_0_22, -1, 28, 0},
{ 2, s_0_23, -1, 30, 0},
{ 2, s_0_24, -1, 6, 0},
{ 2, s_0_25, -1, 11, 0},
{ 2, s_0_26, -1, 14, 0},
{ 2, s_0_27, -1, 17, 0},
{ 2, s_0_28, -1, 23, 0},
{ 2, s_0_29, -1, 29, 0}
};
static const symbol s_1_0[4] = { 'd', 'a', 'b', 'a' };
static const symbol s_1_1[5] = { 'a', 'j', 'a', 'c', 'a' };
static const symbol s_1_2[5] = { 'e', 'j', 'a', 'c', 'a' };
static const symbol s_1_3[5] = { 'l', 'j', 'a', 'c', 'a' };
static const symbol s_1_4[5] = { 'n', 'j', 'a', 'c', 'a' };
static const symbol s_1_5[5] = { 'o', 'j', 'a', 'c', 'a' };
static const symbol s_1_6[5] = { 'a', 'l', 'a', 'c', 'a' };
static const symbol s_1_7[5] = { 'e', 'l', 'a', 'c', 'a' };
static const symbol s_1_8[5] = { 'o', 'l', 'a', 'c', 'a' };
static const symbol s_1_9[4] = { 'm', 'a', 'c', 'a' };
static const symbol s_1_10[4] = { 'n', 'a', 'c', 'a' };
static const symbol s_1_11[4] = { 'r', 'a', 'c', 'a' };
static const symbol s_1_12[4] = { 's', 'a', 'c', 'a' };
static const symbol s_1_13[4] = { 'v', 'a', 'c', 'a' };
static const symbol s_1_14[5] = { 0xC5, 0xA1, 'a', 'c', 'a' };
static const symbol s_1_15[4] = { 'a', 'o', 'c', 'a' };
static const symbol s_1_16[5] = { 'a', 'c', 'a', 'k', 'a' };
static const symbol s_1_17[5] = { 'a', 'j', 'a', 'k', 'a' };
static const symbol s_1_18[5] = { 'o', 'j', 'a', 'k', 'a' };
static const symbol s_1_19[5] = { 'a', 'n', 'a', 'k', 'a' };
static const symbol s_1_20[5] = { 'a', 't', 'a', 'k', 'a' };
static const symbol s_1_21[5] = { 'e', 't', 'a', 'k', 'a' };
static const symbol s_1_22[5] = { 'i', 't', 'a', 'k', 'a' };
static const symbol s_1_23[5] = { 'o', 't', 'a', 'k', 'a' };
static const symbol s_1_24[5] = { 'u', 't', 'a', 'k', 'a' };
static const symbol s_1_25[6] = { 'a', 0xC4, 0x8D, 'a', 'k', 'a' };
static const symbol s_1_26[5] = { 'e', 's', 'a', 'm', 'a' };
static const symbol s_1_27[5] = { 'i', 'z', 'a', 'm', 'a' };
static const symbol s_1_28[6] = { 'j', 'a', 'c', 'i', 'm', 'a' };
static const symbol s_1_29[6] = { 'n', 'i', 'c', 'i', 'm', 'a' };
static const symbol s_1_30[6] = { 't', 'i', 'c', 'i', 'm', 'a' };
static const symbol s_1_31[8] = { 't', 'e', 't', 'i', 'c', 'i', 'm', 'a' };
static const symbol s_1_32[6] = { 'z', 'i', 'c', 'i', 'm', 'a' };
static const symbol s_1_33[6] = { 'a', 't', 'c', 'i', 'm', 'a' };
static const symbol s_1_34[6] = { 'u', 't', 'c', 'i', 'm', 'a' };
static const symbol s_1_35[6] = { 0xC4, 0x8D, 'c', 'i', 'm', 'a' };
static const symbol s_1_36[6] = { 'p', 'e', 's', 'i', 'm', 'a' };
static const symbol s_1_37[6] = { 'i', 'n', 'z', 'i', 'm', 'a' };
static const symbol s_1_38[6] = { 'l', 'o', 'z', 'i', 'm', 'a' };
static const symbol s_1_39[6] = { 'm', 'e', 't', 'a', 'r', 'a' };
static const symbol s_1_40[7] = { 'c', 'e', 'n', 't', 'a', 'r', 'a' };
static const symbol s_1_41[6] = { 'i', 's', 't', 'a', 'r', 'a' };
static const symbol s_1_42[5] = { 'e', 'k', 'a', 't', 'a' };
static const symbol s_1_43[5] = { 'a', 'n', 'a', 't', 'a' };
static const symbol s_1_44[6] = { 'n', 's', 't', 'a', 'v', 'a' };
static const symbol s_1_45[7] = { 'k', 'u', 's', 't', 'a', 'v', 'a' };
static const symbol s_1_46[4] = { 'a', 'j', 'a', 'c' };
static const symbol s_1_47[4] = { 'e', 'j', 'a', 'c' };
static const symbol s_1_48[4] = { 'l', 'j', 'a', 'c' };
static const symbol s_1_49[4] = { 'n', 'j', 'a', 'c' };
static const symbol s_1_50[5] = { 'a', 'n', 'j', 'a', 'c' };
static const symbol s_1_51[4] = { 'o', 'j', 'a', 'c' };
static const symbol s_1_52[4] = { 'a', 'l', 'a', 'c' };
static const symbol s_1_53[4] = { 'e', 'l', 'a', 'c' };
static const symbol s_1_54[4] = { 'o', 'l', 'a', 'c' };
static const symbol s_1_55[3] = { 'm', 'a', 'c' };
static const symbol s_1_56[3] = { 'n', 'a', 'c' };
static const symbol s_1_57[3] = { 'r', 'a', 'c' };
static const symbol s_1_58[3] = { 's', 'a', 'c' };
static const symbol s_1_59[3] = { 'v', 'a', 'c' };
static const symbol s_1_60[4] = { 0xC5, 0xA1, 'a', 'c' };
static const symbol s_1_61[4] = { 'j', 'e', 'b', 'e' };
static const symbol s_1_62[4] = { 'o', 'l', 'c', 'e' };
static const symbol s_1_63[4] = { 'k', 'u', 's', 'e' };
static const symbol s_1_64[4] = { 'r', 'a', 'v', 'e' };
static const symbol s_1_65[4] = { 's', 'a', 'v', 'e' };
static const symbol s_1_66[5] = { 0xC5, 0xA1, 'a', 'v', 'e' };
static const symbol s_1_67[4] = { 'b', 'a', 'c', 'i' };
static const symbol s_1_68[4] = { 'j', 'a', 'c', 'i' };
static const symbol s_1_69[7] = { 't', 'v', 'e', 'n', 'i', 'c', 'i' };
static const symbol s_1_70[5] = { 's', 'n', 'i', 'c', 'i' };
static const symbol s_1_71[6] = { 't', 'e', 't', 'i', 'c', 'i' };
static const symbol s_1_72[5] = { 'b', 'o', 'j', 'c', 'i' };
static const symbol s_1_73[5] = { 'v', 'o', 'j', 'c', 'i' };
static const symbol s_1_74[5] = { 'o', 'j', 's', 'c', 'i' };
static const symbol s_1_75[4] = { 'a', 't', 'c', 'i' };
static const symbol s_1_76[4] = { 'i', 't', 'c', 'i' };
static const symbol s_1_77[4] = { 'u', 't', 'c', 'i' };
static const symbol s_1_78[4] = { 0xC4, 0x8D, 'c', 'i' };
static const symbol s_1_79[4] = { 'p', 'e', 's', 'i' };
static const symbol s_1_80[4] = { 'i', 'n', 'z', 'i' };
static const symbol s_1_81[4] = { 'l', 'o', 'z', 'i' };
static const symbol s_1_82[4] = { 'a', 'c', 'a', 'k' };
static const symbol s_1_83[4] = { 'u', 's', 'a', 'k' };
static const symbol s_1_84[4] = { 'a', 't', 'a', 'k' };
static const symbol s_1_85[4] = { 'e', 't', 'a', 'k' };
static const symbol s_1_86[4] = { 'i', 't', 'a', 'k' };
static const symbol s_1_87[4] = { 'o', 't', 'a', 'k' };
static const symbol s_1_88[4] = { 'u', 't', 'a', 'k' };
static const symbol s_1_89[5] = { 'a', 0xC4, 0x8D, 'a', 'k' };
static const symbol s_1_90[5] = { 'u', 0xC5, 0xA1, 'a', 'k' };
static const symbol s_1_91[4] = { 'i', 'z', 'a', 'm' };
static const symbol s_1_92[5] = { 't', 'i', 'c', 'a', 'n' };
static const symbol s_1_93[5] = { 'c', 'a', 'j', 'a', 'n' };
static const symbol s_1_94[6] = { 0xC4, 0x8D, 'a', 'j', 'a', 'n' };
static const symbol s_1_95[6] = { 'v', 'o', 'l', 'j', 'a', 'n' };
static const symbol s_1_96[5] = { 'e', 's', 'k', 'a', 'n' };
static const symbol s_1_97[4] = { 'a', 'l', 'a', 'n' };
static const symbol s_1_98[5] = { 'b', 'i', 'l', 'a', 'n' };
static const symbol s_1_99[5] = { 'g', 'i', 'l', 'a', 'n' };
static const symbol s_1_100[5] = { 'n', 'i', 'l', 'a', 'n' };
static const symbol s_1_101[5] = { 'r', 'i', 'l', 'a', 'n' };
static const symbol s_1_102[5] = { 's', 'i', 'l', 'a', 'n' };
static const symbol s_1_103[5] = { 't', 'i', 'l', 'a', 'n' };
static const symbol s_1_104[6] = { 'a', 'v', 'i', 'l', 'a', 'n' };
static const symbol s_1_105[5] = { 'l', 'a', 'r', 'a', 'n' };
static const symbol s_1_106[4] = { 'e', 'r', 'a', 'n' };
static const symbol s_1_107[4] = { 'a', 's', 'a', 'n' };
static const symbol s_1_108[4] = { 'e', 's', 'a', 'n' };
static const symbol s_1_109[5] = { 'd', 'u', 's', 'a', 'n' };
static const symbol s_1_110[5] = { 'k', 'u', 's', 'a', 'n' };
static const symbol s_1_111[4] = { 'a', 't', 'a', 'n' };
static const symbol s_1_112[6] = { 'p', 'l', 'e', 't', 'a', 'n' };
static const symbol s_1_113[5] = { 't', 'e', 't', 'a', 'n' };
static const symbol s_1_114[5] = { 'a', 'n', 't', 'a', 'n' };
static const symbol s_1_115[6] = { 'p', 'r', 'a', 'v', 'a', 'n' };
static const symbol s_1_116[6] = { 's', 't', 'a', 'v', 'a', 'n' };
static const symbol s_1_117[5] = { 's', 'i', 'v', 'a', 'n' };
static const symbol s_1_118[5] = { 't', 'i', 'v', 'a', 'n' };
static const symbol s_1_119[4] = { 'o', 'z', 'a', 'n' };
static const symbol s_1_120[6] = { 't', 'i', 0xC4, 0x8D, 'a', 'n' };
static const symbol s_1_121[5] = { 'a', 0xC5, 0xA1, 'a', 'n' };
static const symbol s_1_122[6] = { 'd', 'u', 0xC5, 0xA1, 'a', 'n' };
static const symbol s_1_123[5] = { 'm', 'e', 't', 'a', 'r' };
static const symbol s_1_124[6] = { 'c', 'e', 'n', 't', 'a', 'r' };
static const symbol s_1_125[5] = { 'i', 's', 't', 'a', 'r' };
static const symbol s_1_126[4] = { 'e', 'k', 'a', 't' };
static const symbol s_1_127[4] = { 'e', 'n', 'a', 't' };
static const symbol s_1_128[4] = { 'o', 's', 'c', 'u' };
static const symbol s_1_129[6] = { 'o', 0xC5, 0xA1, 0xC4, 0x87, 'u' };
static const struct among a_1[130] =
{
{ 4, s_1_0, -1, 73, 0},
{ 5, s_1_1, -1, 12, 0},
{ 5, s_1_2, -1, 14, 0},
{ 5, s_1_3, -1, 13, 0},
{ 5, s_1_4, -1, 85, 0},
{ 5, s_1_5, -1, 15, 0},
{ 5, s_1_6, -1, 82, 0},
{ 5, s_1_7, -1, 83, 0},
{ 5, s_1_8, -1, 84, 0},
{ 4, s_1_9, -1, 75, 0},
{ 4, s_1_10, -1, 76, 0},
{ 4, s_1_11, -1, 81, 0},
{ 4, s_1_12, -1, 80, 0},
{ 4, s_1_13, -1, 79, 0},
{ 5, s_1_14, -1, 18, 0},
{ 4, s_1_15, -1, 82, 0},
{ 5, s_1_16, -1, 55, 0},
{ 5, s_1_17, -1, 16, 0},
{ 5, s_1_18, -1, 17, 0},
{ 5, s_1_19, -1, 78, 0},
{ 5, s_1_20, -1, 58, 0},
{ 5, s_1_21, -1, 59, 0},
{ 5, s_1_22, -1, 60, 0},
{ 5, s_1_23, -1, 61, 0},
{ 5, s_1_24, -1, 62, 0},
{ 6, s_1_25, -1, 54, 0},
{ 5, s_1_26, -1, 67, 0},
{ 5, s_1_27, -1, 87, 0},
{ 6, s_1_28, -1, 5, 0},
{ 6, s_1_29, -1, 23, 0},
{ 6, s_1_30, -1, 24, 0},
{ 8, s_1_31, 30, 21, 0},
{ 6, s_1_32, -1, 25, 0},
{ 6, s_1_33, -1, 58, 0},
{ 6, s_1_34, -1, 62, 0},
{ 6, s_1_35, -1, 74, 0},
{ 6, s_1_36, -1, 2, 0},
{ 6, s_1_37, -1, 19, 0},
{ 6, s_1_38, -1, 1, 0},
{ 6, s_1_39, -1, 68, 0},
{ 7, s_1_40, -1, 69, 0},
{ 6, s_1_41, -1, 70, 0},
{ 5, s_1_42, -1, 86, 0},
{ 5, s_1_43, -1, 53, 0},
{ 6, s_1_44, -1, 22, 0},
{ 7, s_1_45, -1, 29, 0},
{ 4, s_1_46, -1, 12, 0},
{ 4, s_1_47, -1, 14, 0},
{ 4, s_1_48, -1, 13, 0},
{ 4, s_1_49, -1, 85, 0},
{ 5, s_1_50, 49, 11, 0},
{ 4, s_1_51, -1, 15, 0},
{ 4, s_1_52, -1, 82, 0},
{ 4, s_1_53, -1, 83, 0},
{ 4, s_1_54, -1, 84, 0},
{ 3, s_1_55, -1, 75, 0},
{ 3, s_1_56, -1, 76, 0},
{ 3, s_1_57, -1, 81, 0},
{ 3, s_1_58, -1, 80, 0},
{ 3, s_1_59, -1, 79, 0},
{ 4, s_1_60, -1, 18, 0},
{ 4, s_1_61, -1, 88, 0},
{ 4, s_1_62, -1, 84, 0},
{ 4, s_1_63, -1, 27, 0},
{ 4, s_1_64, -1, 42, 0},
{ 4, s_1_65, -1, 52, 0},
{ 5, s_1_66, -1, 51, 0},
{ 4, s_1_67, -1, 89, 0},
{ 4, s_1_68, -1, 5, 0},
{ 7, s_1_69, -1, 20, 0},
{ 5, s_1_70, -1, 26, 0},
{ 6, s_1_71, -1, 21, 0},
{ 5, s_1_72, -1, 4, 0},
{ 5, s_1_73, -1, 3, 0},
{ 5, s_1_74, -1, 66, 0},
{ 4, s_1_75, -1, 58, 0},
{ 4, s_1_76, -1, 60, 0},
{ 4, s_1_77, -1, 62, 0},
{ 4, s_1_78, -1, 74, 0},
{ 4, s_1_79, -1, 2, 0},
{ 4, s_1_80, -1, 19, 0},
{ 4, s_1_81, -1, 1, 0},
{ 4, s_1_82, -1, 55, 0},
{ 4, s_1_83, -1, 57, 0},
{ 4, s_1_84, -1, 58, 0},
{ 4, s_1_85, -1, 59, 0},
{ 4, s_1_86, -1, 60, 0},
{ 4, s_1_87, -1, 61, 0},
{ 4, s_1_88, -1, 62, 0},
{ 5, s_1_89, -1, 54, 0},
{ 5, s_1_90, -1, 56, 0},
{ 4, s_1_91, -1, 87, 0},
{ 5, s_1_92, -1, 65, 0},
{ 5, s_1_93, -1, 7, 0},
{ 6, s_1_94, -1, 6, 0},
{ 6, s_1_95, -1, 77, 0},
{ 5, s_1_96, -1, 63, 0},
{ 4, s_1_97, -1, 40, 0},
{ 5, s_1_98, -1, 33, 0},
{ 5, s_1_99, -1, 37, 0},
{ 5, s_1_100, -1, 39, 0},
{ 5, s_1_101, -1, 38, 0},
{ 5, s_1_102, -1, 36, 0},
{ 5, s_1_103, -1, 34, 0},
{ 6, s_1_104, -1, 35, 0},
{ 5, s_1_105, -1, 9, 0},
{ 4, s_1_106, -1, 8, 0},
{ 4, s_1_107, -1, 91, 0},
{ 4, s_1_108, -1, 10, 0},
{ 5, s_1_109, -1, 31, 0},
{ 5, s_1_110, -1, 28, 0},
{ 4, s_1_111, -1, 47, 0},
{ 6, s_1_112, -1, 50, 0},
{ 5, s_1_113, -1, 49, 0},
{ 5, s_1_114, -1, 32, 0},
{ 6, s_1_115, -1, 44, 0},
{ 6, s_1_116, -1, 43, 0},
{ 5, s_1_117, -1, 46, 0},
{ 5, s_1_118, -1, 45, 0},
{ 4, s_1_119, -1, 41, 0},
{ 6, s_1_120, -1, 64, 0},
{ 5, s_1_121, -1, 90, 0},
{ 6, s_1_122, -1, 30, 0},
{ 5, s_1_123, -1, 68, 0},
{ 6, s_1_124, -1, 69, 0},
{ 5, s_1_125, -1, 70, 0},
{ 4, s_1_126, -1, 86, 0},
{ 4, s_1_127, -1, 48, 0},
{ 4, s_1_128, -1, 72, 0},
{ 6, s_1_129, -1, 71, 0}
};
static const symbol s_2_0[3] = { 'a', 'c', 'a' };
static const symbol s_2_1[3] = { 'e', 'c', 'a' };
static const symbol s_2_2[3] = { 'u', 'c', 'a' };
static const symbol s_2_3[2] = { 'g', 'a' };
static const symbol s_2_4[5] = { 'a', 'c', 'e', 'g', 'a' };
static const symbol s_2_5[5] = { 'e', 'c', 'e', 'g', 'a' };
static const symbol s_2_6[5] = { 'u', 'c', 'e', 'g', 'a' };
static const symbol s_2_7[8] = { 'a', 'n', 'j', 'i', 'j', 'e', 'g', 'a' };
static const symbol s_2_8[8] = { 'e', 'n', 'j', 'i', 'j', 'e', 'g', 'a' };
static const symbol s_2_9[8] = { 's', 'n', 'j', 'i', 'j', 'e', 'g', 'a' };
static const symbol s_2_10[9] = { 0xC5, 0xA1, 'n', 'j', 'i', 'j', 'e', 'g', 'a' };
static const symbol s_2_11[6] = { 'k', 'i', 'j', 'e', 'g', 'a' };
static const symbol s_2_12[7] = { 's', 'k', 'i', 'j', 'e', 'g', 'a' };
static const symbol s_2_13[8] = { 0xC5, 0xA1, 'k', 'i', 'j', 'e', 'g', 'a' };
static const symbol s_2_14[7] = { 'e', 'l', 'i', 'j', 'e', 'g', 'a' };
static const symbol s_2_15[6] = { 'n', 'i', 'j', 'e', 'g', 'a' };
static const symbol s_2_16[7] = { 'o', 's', 'i', 'j', 'e', 'g', 'a' };
static const symbol s_2_17[7] = { 'a', 't', 'i', 'j', 'e', 'g', 'a' };
static const symbol s_2_18[9] = { 'e', 'v', 'i', 't', 'i', 'j', 'e', 'g', 'a' };
static const symbol s_2_19[9] = { 'o', 'v', 'i', 't', 'i', 'j', 'e', 'g', 'a' };
static const symbol s_2_20[8] = { 'a', 's', 't', 'i', 'j', 'e', 'g', 'a' };
static const symbol s_2_21[7] = { 'a', 'v', 'i', 'j', 'e', 'g', 'a' };
static const symbol s_2_22[7] = { 'e', 'v', 'i', 'j', 'e', 'g', 'a' };
static const symbol s_2_23[7] = { 'i', 'v', 'i', 'j', 'e', 'g', 'a' };
static const symbol s_2_24[7] = { 'o', 'v', 'i', 'j', 'e', 'g', 'a' };
static const symbol s_2_25[8] = { 'o', 0xC5, 0xA1, 'i', 'j', 'e', 'g', 'a' };
static const symbol s_2_26[6] = { 'a', 'n', 'j', 'e', 'g', 'a' };
static const symbol s_2_27[6] = { 'e', 'n', 'j', 'e', 'g', 'a' };
static const symbol s_2_28[6] = { 's', 'n', 'j', 'e', 'g', 'a' };
static const symbol s_2_29[7] = { 0xC5, 0xA1, 'n', 'j', 'e', 'g', 'a' };
static const symbol s_2_30[4] = { 'k', 'e', 'g', 'a' };
static const symbol s_2_31[5] = { 's', 'k', 'e', 'g', 'a' };
static const symbol s_2_32[6] = { 0xC5, 0xA1, 'k', 'e', 'g', 'a' };
static const symbol s_2_33[5] = { 'e', 'l', 'e', 'g', 'a' };
static const symbol s_2_34[4] = { 'n', 'e', 'g', 'a' };
static const symbol s_2_35[5] = { 'a', 'n', 'e', 'g', 'a' };
static const symbol s_2_36[5] = { 'e', 'n', 'e', 'g', 'a' };
static const symbol s_2_37[5] = { 's', 'n', 'e', 'g', 'a' };
static const symbol s_2_38[6] = { 0xC5, 0xA1, 'n', 'e', 'g', 'a' };
static const symbol s_2_39[5] = { 'o', 's', 'e', 'g', 'a' };
static const symbol s_2_40[5] = { 'a', 't', 'e', 'g', 'a' };
static const symbol s_2_41[7] = { 'e', 'v', 'i', 't', 'e', 'g', 'a' };
static const symbol s_2_42[7] = { 'o', 'v', 'i', 't', 'e', 'g', 'a' };
static const symbol s_2_43[6] = { 'a', 's', 't', 'e', 'g', 'a' };
static const symbol s_2_44[5] = { 'a', 'v', 'e', 'g', 'a' };
static const symbol s_2_45[5] = { 'e', 'v', 'e', 'g', 'a' };
static const symbol s_2_46[5] = { 'i', 'v', 'e', 'g', 'a' };
static const symbol s_2_47[5] = { 'o', 'v', 'e', 'g', 'a' };
static const symbol s_2_48[6] = { 'a', 0xC4, 0x87, 'e', 'g', 'a' };
static const symbol s_2_49[6] = { 'e', 0xC4, 0x87, 'e', 'g', 'a' };
static const symbol s_2_50[6] = { 'u', 0xC4, 0x87, 'e', 'g', 'a' };
static const symbol s_2_51[6] = { 'o', 0xC5, 0xA1, 'e', 'g', 'a' };
static const symbol s_2_52[5] = { 'a', 'c', 'o', 'g', 'a' };
static const symbol s_2_53[5] = { 'e', 'c', 'o', 'g', 'a' };
static const symbol s_2_54[5] = { 'u', 'c', 'o', 'g', 'a' };
static const symbol s_2_55[6] = { 'a', 'n', 'j', 'o', 'g', 'a' };
static const symbol s_2_56[6] = { 'e', 'n', 'j', 'o', 'g', 'a' };
static const symbol s_2_57[6] = { 's', 'n', 'j', 'o', 'g', 'a' };
static const symbol s_2_58[7] = { 0xC5, 0xA1, 'n', 'j', 'o', 'g', 'a' };
static const symbol s_2_59[4] = { 'k', 'o', 'g', 'a' };
static const symbol s_2_60[5] = { 's', 'k', 'o', 'g', 'a' };
static const symbol s_2_61[6] = { 0xC5, 0xA1, 'k', 'o', 'g', 'a' };
static const symbol s_2_62[4] = { 'l', 'o', 'g', 'a' };
static const symbol s_2_63[5] = { 'e', 'l', 'o', 'g', 'a' };
static const symbol s_2_64[4] = { 'n', 'o', 'g', 'a' };
static const symbol s_2_65[6] = { 'c', 'i', 'n', 'o', 'g', 'a' };
static const symbol s_2_66[7] = { 0xC4, 0x8D, 'i', 'n', 'o', 'g', 'a' };
static const symbol s_2_67[5] = { 'o', 's', 'o', 'g', 'a' };
static const symbol s_2_68[5] = { 'a', 't', 'o', 'g', 'a' };
static const symbol s_2_69[7] = { 'e', 'v', 'i', 't', 'o', 'g', 'a' };
static const symbol s_2_70[7] = { 'o', 'v', 'i', 't', 'o', 'g', 'a' };
static const symbol s_2_71[6] = { 'a', 's', 't', 'o', 'g', 'a' };
static const symbol s_2_72[5] = { 'a', 'v', 'o', 'g', 'a' };
static const symbol s_2_73[5] = { 'e', 'v', 'o', 'g', 'a' };
static const symbol s_2_74[5] = { 'i', 'v', 'o', 'g', 'a' };
static const symbol s_2_75[5] = { 'o', 'v', 'o', 'g', 'a' };
static const symbol s_2_76[6] = { 'a', 0xC4, 0x87, 'o', 'g', 'a' };
static const symbol s_2_77[6] = { 'e', 0xC4, 0x87, 'o', 'g', 'a' };
static const symbol s_2_78[6] = { 'u', 0xC4, 0x87, 'o', 'g', 'a' };
static const symbol s_2_79[6] = { 'o', 0xC5, 0xA1, 'o', 'g', 'a' };
static const symbol s_2_80[3] = { 'u', 'g', 'a' };
static const symbol s_2_81[3] = { 'a', 'j', 'a' };
static const symbol s_2_82[4] = { 'c', 'a', 'j', 'a' };
static const symbol s_2_83[4] = { 'l', 'a', 'j', 'a' };
static const symbol s_2_84[4] = { 'r', 'a', 'j', 'a' };
static const symbol s_2_85[5] = { 0xC4, 0x87, 'a', 'j', 'a' };
static const symbol s_2_86[5] = { 0xC4, 0x8D, 'a', 'j', 'a' };
static const symbol s_2_87[5] = { 0xC4, 0x91, 'a', 'j', 'a' };
static const symbol s_2_88[4] = { 'b', 'i', 'j', 'a' };
static const symbol s_2_89[4] = { 'c', 'i', 'j', 'a' };
static const symbol s_2_90[4] = { 'd', 'i', 'j', 'a' };
static const symbol s_2_91[4] = { 'f', 'i', 'j', 'a' };
static const symbol s_2_92[4] = { 'g', 'i', 'j', 'a' };
static const symbol s_2_93[6] = { 'a', 'n', 'j', 'i', 'j', 'a' };
static const symbol s_2_94[6] = { 'e', 'n', 'j', 'i', 'j', 'a' };
static const symbol s_2_95[6] = { 's', 'n', 'j', 'i', 'j', 'a' };
static const symbol s_2_96[7] = { 0xC5, 0xA1, 'n', 'j', 'i', 'j', 'a' };
static const symbol s_2_97[4] = { 'k', 'i', 'j', 'a' };
static const symbol s_2_98[5] = { 's', 'k', 'i', 'j', 'a' };
static const symbol s_2_99[6] = { 0xC5, 0xA1, 'k', 'i', 'j', 'a' };
static const symbol s_2_100[4] = { 'l', 'i', 'j', 'a' };
static const symbol s_2_101[5] = { 'e', 'l', 'i', 'j', 'a' };
static const symbol s_2_102[4] = { 'm', 'i', 'j', 'a' };
static const symbol s_2_103[4] = { 'n', 'i', 'j', 'a' };
static const symbol s_2_104[6] = { 'g', 'a', 'n', 'i', 'j', 'a' };
static const symbol s_2_105[6] = { 'm', 'a', 'n', 'i', 'j', 'a' };
static const symbol s_2_106[6] = { 'p', 'a', 'n', 'i', 'j', 'a' };
static const symbol s_2_107[6] = { 'r', 'a', 'n', 'i', 'j', 'a' };
static const symbol s_2_108[6] = { 't', 'a', 'n', 'i', 'j', 'a' };
static const symbol s_2_109[4] = { 'p', 'i', 'j', 'a' };
static const symbol s_2_110[4] = { 'r', 'i', 'j', 'a' };
static const symbol s_2_111[6] = { 'r', 'a', 'r', 'i', 'j', 'a' };
static const symbol s_2_112[4] = { 's', 'i', 'j', 'a' };
static const symbol s_2_113[5] = { 'o', 's', 'i', 'j', 'a' };
static const symbol s_2_114[4] = { 't', 'i', 'j', 'a' };
static const symbol s_2_115[5] = { 'a', 't', 'i', 'j', 'a' };
static const symbol s_2_116[7] = { 'e', 'v', 'i', 't', 'i', 'j', 'a' };
static const symbol s_2_117[7] = { 'o', 'v', 'i', 't', 'i', 'j', 'a' };
static const symbol s_2_118[5] = { 'o', 't', 'i', 'j', 'a' };
static const symbol s_2_119[6] = { 'a', 's', 't', 'i', 'j', 'a' };
static const symbol s_2_120[5] = { 'a', 'v', 'i', 'j', 'a' };
static const symbol s_2_121[5] = { 'e', 'v', 'i', 'j', 'a' };
static const symbol s_2_122[5] = { 'i', 'v', 'i', 'j', 'a' };
static const symbol s_2_123[5] = { 'o', 'v', 'i', 'j', 'a' };
static const symbol s_2_124[4] = { 'z', 'i', 'j', 'a' };
static const symbol s_2_125[6] = { 'o', 0xC5, 0xA1, 'i', 'j', 'a' };
static const symbol s_2_126[5] = { 0xC5, 0xBE, 'i', 'j', 'a' };
static const symbol s_2_127[4] = { 'a', 'n', 'j', 'a' };
static const symbol s_2_128[4] = { 'e', 'n', 'j', 'a' };
static const symbol s_2_129[4] = { 's', 'n', 'j', 'a' };
static const symbol s_2_130[5] = { 0xC5, 0xA1, 'n', 'j', 'a' };
static const symbol s_2_131[2] = { 'k', 'a' };
static const symbol s_2_132[3] = { 's', 'k', 'a' };
static const symbol s_2_133[4] = { 0xC5, 0xA1, 'k', 'a' };
static const symbol s_2_134[3] = { 'a', 'l', 'a' };
static const symbol s_2_135[5] = { 'a', 'c', 'a', 'l', 'a' };
static const symbol s_2_136[8] = { 'a', 's', 't', 'a', 'j', 'a', 'l', 'a' };
static const symbol s_2_137[8] = { 'i', 's', 't', 'a', 'j', 'a', 'l', 'a' };
static const symbol s_2_138[8] = { 'o', 's', 't', 'a', 'j', 'a', 'l', 'a' };
static const symbol s_2_139[5] = { 'i', 'j', 'a', 'l', 'a' };
static const symbol s_2_140[6] = { 'i', 'n', 'j', 'a', 'l', 'a' };
static const symbol s_2_141[4] = { 'n', 'a', 'l', 'a' };
static const symbol s_2_142[5] = { 'i', 'r', 'a', 'l', 'a' };
static const symbol s_2_143[5] = { 'u', 'r', 'a', 'l', 'a' };
static const symbol s_2_144[4] = { 't', 'a', 'l', 'a' };
static const symbol s_2_145[6] = { 'a', 's', 't', 'a', 'l', 'a' };
static const symbol s_2_146[6] = { 'i', 's', 't', 'a', 'l', 'a' };
static const symbol s_2_147[6] = { 'o', 's', 't', 'a', 'l', 'a' };
static const symbol s_2_148[5] = { 'a', 'v', 'a', 'l', 'a' };
static const symbol s_2_149[5] = { 'e', 'v', 'a', 'l', 'a' };
static const symbol s_2_150[5] = { 'i', 'v', 'a', 'l', 'a' };
static const symbol s_2_151[5] = { 'o', 'v', 'a', 'l', 'a' };
static const symbol s_2_152[5] = { 'u', 'v', 'a', 'l', 'a' };
static const symbol s_2_153[6] = { 'a', 0xC4, 0x8D, 'a', 'l', 'a' };
static const symbol s_2_154[3] = { 'e', 'l', 'a' };
static const symbol s_2_155[3] = { 'i', 'l', 'a' };
static const symbol s_2_156[5] = { 'a', 'c', 'i', 'l', 'a' };
static const symbol s_2_157[6] = { 'l', 'u', 'c', 'i', 'l', 'a' };
static const symbol s_2_158[4] = { 'n', 'i', 'l', 'a' };
static const symbol s_2_159[8] = { 'a', 's', 't', 'a', 'n', 'i', 'l', 'a' };
static const symbol s_2_160[8] = { 'i', 's', 't', 'a', 'n', 'i', 'l', 'a' };
static const symbol s_2_161[8] = { 'o', 's', 't', 'a', 'n', 'i', 'l', 'a' };
static const symbol s_2_162[6] = { 'r', 'o', 's', 'i', 'l', 'a' };
static const symbol s_2_163[6] = { 'j', 'e', 't', 'i', 'l', 'a' };
static const symbol s_2_164[5] = { 'o', 'z', 'i', 'l', 'a' };
static const symbol s_2_165[6] = { 'a', 0xC4, 0x8D, 'i', 'l', 'a' };
static const symbol s_2_166[7] = { 'l', 'u', 0xC4, 0x8D, 'i', 'l', 'a' };
static const symbol s_2_167[7] = { 'r', 'o', 0xC5, 0xA1, 'i', 'l', 'a' };
static const symbol s_2_168[3] = { 'o', 'l', 'a' };
static const symbol s_2_169[4] = { 'a', 's', 'l', 'a' };
static const symbol s_2_170[4] = { 'n', 'u', 'l', 'a' };
static const symbol s_2_171[4] = { 'g', 'a', 'm', 'a' };
static const symbol s_2_172[6] = { 'l', 'o', 'g', 'a', 'm', 'a' };
static const symbol s_2_173[5] = { 'u', 'g', 'a', 'm', 'a' };
static const symbol s_2_174[5] = { 'a', 'j', 'a', 'm', 'a' };
static const symbol s_2_175[6] = { 'c', 'a', 'j', 'a', 'm', 'a' };
static const symbol s_2_176[6] = { 'l', 'a', 'j', 'a', 'm', 'a' };
static const symbol s_2_177[6] = { 'r', 'a', 'j', 'a', 'm', 'a' };
static const symbol s_2_178[7] = { 0xC4, 0x87, 'a', 'j', 'a', 'm', 'a' };
static const symbol s_2_179[7] = { 0xC4, 0x8D, 'a', 'j', 'a', 'm', 'a' };
static const symbol s_2_180[7] = { 0xC4, 0x91, 'a', 'j', 'a', 'm', 'a' };
static const symbol s_2_181[6] = { 'b', 'i', 'j', 'a', 'm', 'a' };
static const symbol s_2_182[6] = { 'c', 'i', 'j', 'a', 'm', 'a' };
static const symbol s_2_183[6] = { 'd', 'i', 'j', 'a', 'm', 'a' };
static const symbol s_2_184[6] = { 'f', 'i', 'j', 'a', 'm', 'a' };
static const symbol s_2_185[6] = { 'g', 'i', 'j', 'a', 'm', 'a' };
static const symbol s_2_186[6] = { 'l', 'i', 'j', 'a', 'm', 'a' };
static const symbol s_2_187[6] = { 'm', 'i', 'j', 'a', 'm', 'a' };
static const symbol s_2_188[6] = { 'n', 'i', 'j', 'a', 'm', 'a' };
static const symbol s_2_189[8] = { 'g', 'a', 'n', 'i', 'j', 'a', 'm', 'a' };
static const symbol s_2_190[8] = { 'm', 'a', 'n', 'i', 'j', 'a', 'm', 'a' };
static const symbol s_2_191[8] = { 'p', 'a', 'n', 'i', 'j', 'a', 'm', 'a' };
static const symbol s_2_192[8] = { 'r', 'a', 'n', 'i', 'j', 'a', 'm', 'a' };
static const symbol s_2_193[8] = { 't', 'a', 'n', 'i', 'j', 'a', 'm', 'a' };
static const symbol s_2_194[6] = { 'p', 'i', 'j', 'a', 'm', 'a' };
static const symbol s_2_195[6] = { 'r', 'i', 'j', 'a', 'm', 'a' };
static const symbol s_2_196[6] = { 's', 'i', 'j', 'a', 'm', 'a' };
static const symbol s_2_197[6] = { 't', 'i', 'j', 'a', 'm', 'a' };
static const symbol s_2_198[6] = { 'z', 'i', 'j', 'a', 'm', 'a' };
static const symbol s_2_199[7] = { 0xC5, 0xBE, 'i', 'j', 'a', 'm', 'a' };
static const symbol s_2_200[5] = { 'a', 'l', 'a', 'm', 'a' };
static const symbol s_2_201[7] = { 'i', 'j', 'a', 'l', 'a', 'm', 'a' };
static const symbol s_2_202[6] = { 'n', 'a', 'l', 'a', 'm', 'a' };
static const symbol s_2_203[5] = { 'e', 'l', 'a', 'm', 'a' };
static const symbol s_2_204[5] = { 'i', 'l', 'a', 'm', 'a' };
static const symbol s_2_205[6] = { 'r', 'a', 'm', 'a', 'm', 'a' };
static const symbol s_2_206[6] = { 'l', 'e', 'm', 'a', 'm', 'a' };
static const symbol s_2_207[5] = { 'i', 'n', 'a', 'm', 'a' };
static const symbol s_2_208[6] = { 'c', 'i', 'n', 'a', 'm', 'a' };
static const symbol s_2_209[7] = { 0xC4, 0x8D, 'i', 'n', 'a', 'm', 'a' };
static const symbol s_2_210[4] = { 'r', 'a', 'm', 'a' };
static const symbol s_2_211[5] = { 'a', 'r', 'a', 'm', 'a' };
static const symbol s_2_212[5] = { 'd', 'r', 'a', 'm', 'a' };
static const symbol s_2_213[5] = { 'e', 'r', 'a', 'm', 'a' };
static const symbol s_2_214[5] = { 'o', 'r', 'a', 'm', 'a' };
static const symbol s_2_215[6] = { 'b', 'a', 's', 'a', 'm', 'a' };
static const symbol s_2_216[6] = { 'g', 'a', 's', 'a', 'm', 'a' };
static const symbol s_2_217[6] = { 'j', 'a', 's', 'a', 'm', 'a' };
static const symbol s_2_218[6] = { 'k', 'a', 's', 'a', 'm', 'a' };
static const symbol s_2_219[6] = { 'n', 'a', 's', 'a', 'm', 'a' };
static const symbol s_2_220[6] = { 't', 'a', 's', 'a', 'm', 'a' };
static const symbol s_2_221[6] = { 'v', 'a', 's', 'a', 'm', 'a' };
static const symbol s_2_222[5] = { 'e', 's', 'a', 'm', 'a' };
static const symbol s_2_223[5] = { 'i', 's', 'a', 'm', 'a' };
static const symbol s_2_224[5] = { 'e', 't', 'a', 'm', 'a' };
static const symbol s_2_225[6] = { 'e', 's', 't', 'a', 'm', 'a' };
static const symbol s_2_226[6] = { 'i', 's', 't', 'a', 'm', 'a' };
static const symbol s_2_227[6] = { 'k', 's', 't', 'a', 'm', 'a' };
static const symbol s_2_228[6] = { 'o', 's', 't', 'a', 'm', 'a' };
static const symbol s_2_229[5] = { 'a', 'v', 'a', 'm', 'a' };
static const symbol s_2_230[5] = { 'e', 'v', 'a', 'm', 'a' };
static const symbol s_2_231[5] = { 'i', 'v', 'a', 'm', 'a' };
static const symbol s_2_232[7] = { 'b', 'a', 0xC5, 0xA1, 'a', 'm', 'a' };
static const symbol s_2_233[7] = { 'g', 'a', 0xC5, 0xA1, 'a', 'm', 'a' };
static const symbol s_2_234[7] = { 'j', 'a', 0xC5, 0xA1, 'a', 'm', 'a' };
static const symbol s_2_235[7] = { 'k', 'a', 0xC5, 0xA1, 'a', 'm', 'a' };
static const symbol s_2_236[7] = { 'n', 'a', 0xC5, 0xA1, 'a', 'm', 'a' };
static const symbol s_2_237[7] = { 't', 'a', 0xC5, 0xA1, 'a', 'm', 'a' };
static const symbol s_2_238[7] = { 'v', 'a', 0xC5, 0xA1, 'a', 'm', 'a' };
static const symbol s_2_239[6] = { 'e', 0xC5, 0xA1, 'a', 'm', 'a' };
static const symbol s_2_240[6] = { 'i', 0xC5, 0xA1, 'a', 'm', 'a' };
static const symbol s_2_241[4] = { 'l', 'e', 'm', 'a' };
static const symbol s_2_242[5] = { 'a', 'c', 'i', 'm', 'a' };
static const symbol s_2_243[5] = { 'e', 'c', 'i', 'm', 'a' };
static const symbol s_2_244[5] = { 'u', 'c', 'i', 'm', 'a' };
static const symbol s_2_245[5] = { 'a', 'j', 'i', 'm', 'a' };
static const symbol s_2_246[6] = { 'c', 'a', 'j', 'i', 'm', 'a' };
static const symbol s_2_247[6] = { 'l', 'a', 'j', 'i', 'm', 'a' };
static const symbol s_2_248[6] = { 'r', 'a', 'j', 'i', 'm', 'a' };
static const symbol s_2_249[7] = { 0xC4, 0x87, 'a', 'j', 'i', 'm', 'a' };
static const symbol s_2_250[7] = { 0xC4, 0x8D, 'a', 'j', 'i', 'm', 'a' };
static const symbol s_2_251[7] = { 0xC4, 0x91, 'a', 'j', 'i', 'm', 'a' };
static const symbol s_2_252[6] = { 'b', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_253[6] = { 'c', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_254[6] = { 'd', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_255[6] = { 'f', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_256[6] = { 'g', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_257[8] = { 'a', 'n', 'j', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_258[8] = { 'e', 'n', 'j', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_259[8] = { 's', 'n', 'j', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_260[9] = { 0xC5, 0xA1, 'n', 'j', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_261[6] = { 'k', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_262[7] = { 's', 'k', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_263[8] = { 0xC5, 0xA1, 'k', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_264[6] = { 'l', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_265[7] = { 'e', 'l', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_266[6] = { 'm', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_267[6] = { 'n', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_268[8] = { 'g', 'a', 'n', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_269[8] = { 'm', 'a', 'n', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_270[8] = { 'p', 'a', 'n', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_271[8] = { 'r', 'a', 'n', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_272[8] = { 't', 'a', 'n', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_273[6] = { 'p', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_274[6] = { 'r', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_275[6] = { 's', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_276[7] = { 'o', 's', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_277[6] = { 't', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_278[7] = { 'a', 't', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_279[9] = { 'e', 'v', 'i', 't', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_280[9] = { 'o', 'v', 'i', 't', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_281[8] = { 'a', 's', 't', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_282[7] = { 'a', 'v', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_283[7] = { 'e', 'v', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_284[7] = { 'i', 'v', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_285[7] = { 'o', 'v', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_286[6] = { 'z', 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_287[8] = { 'o', 0xC5, 0xA1, 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_288[7] = { 0xC5, 0xBE, 'i', 'j', 'i', 'm', 'a' };
static const symbol s_2_289[6] = { 'a', 'n', 'j', 'i', 'm', 'a' };
static const symbol s_2_290[6] = { 'e', 'n', 'j', 'i', 'm', 'a' };
static const symbol s_2_291[6] = { 's', 'n', 'j', 'i', 'm', 'a' };
static const symbol s_2_292[7] = { 0xC5, 0xA1, 'n', 'j', 'i', 'm', 'a' };
static const symbol s_2_293[4] = { 'k', 'i', 'm', 'a' };
static const symbol s_2_294[5] = { 's', 'k', 'i', 'm', 'a' };
static const symbol s_2_295[6] = { 0xC5, 0xA1, 'k', 'i', 'm', 'a' };
static const symbol s_2_296[5] = { 'a', 'l', 'i', 'm', 'a' };
static const symbol s_2_297[7] = { 'i', 'j', 'a', 'l', 'i', 'm', 'a' };
static const symbol s_2_298[6] = { 'n', 'a', 'l', 'i', 'm', 'a' };
static const symbol s_2_299[5] = { 'e', 'l', 'i', 'm', 'a' };
static const symbol s_2_300[5] = { 'i', 'l', 'i', 'm', 'a' };
static const symbol s_2_301[7] = { 'o', 'z', 'i', 'l', 'i', 'm', 'a' };
static const symbol s_2_302[5] = { 'o', 'l', 'i', 'm', 'a' };
static const symbol s_2_303[6] = { 'l', 'e', 'm', 'i', 'm', 'a' };
static const symbol s_2_304[4] = { 'n', 'i', 'm', 'a' };
static const symbol s_2_305[5] = { 'a', 'n', 'i', 'm', 'a' };
static const symbol s_2_306[5] = { 'i', 'n', 'i', 'm', 'a' };
static const symbol s_2_307[6] = { 'c', 'i', 'n', 'i', 'm', 'a' };
static const symbol s_2_308[7] = { 0xC4, 0x8D, 'i', 'n', 'i', 'm', 'a' };
static const symbol s_2_309[5] = { 'o', 'n', 'i', 'm', 'a' };
static const symbol s_2_310[5] = { 'a', 'r', 'i', 'm', 'a' };
static const symbol s_2_311[5] = { 'd', 'r', 'i', 'm', 'a' };
static const symbol s_2_312[5] = { 'e', 'r', 'i', 'm', 'a' };
static const symbol s_2_313[5] = { 'o', 'r', 'i', 'm', 'a' };
static const symbol s_2_314[6] = { 'b', 'a', 's', 'i', 'm', 'a' };
static const symbol s_2_315[6] = { 'g', 'a', 's', 'i', 'm', 'a' };
static const symbol s_2_316[6] = { 'j', 'a', 's', 'i', 'm', 'a' };
static const symbol s_2_317[6] = { 'k', 'a', 's', 'i', 'm', 'a' };
static const symbol s_2_318[6] = { 'n', 'a', 's', 'i', 'm', 'a' };
static const symbol s_2_319[6] = { 't', 'a', 's', 'i', 'm', 'a' };
static const symbol s_2_320[6] = { 'v', 'a', 's', 'i', 'm', 'a' };
static const symbol s_2_321[5] = { 'e', 's', 'i', 'm', 'a' };
static const symbol s_2_322[5] = { 'i', 's', 'i', 'm', 'a' };
static const symbol s_2_323[5] = { 'o', 's', 'i', 'm', 'a' };
static const symbol s_2_324[5] = { 'a', 't', 'i', 'm', 'a' };
static const symbol s_2_325[7] = { 'i', 'k', 'a', 't', 'i', 'm', 'a' };
static const symbol s_2_326[6] = { 'l', 'a', 't', 'i', 'm', 'a' };
static const symbol s_2_327[5] = { 'e', 't', 'i', 'm', 'a' };
static const symbol s_2_328[7] = { 'e', 'v', 'i', 't', 'i', 'm', 'a' };
static const symbol s_2_329[7] = { 'o', 'v', 'i', 't', 'i', 'm', 'a' };
static const symbol s_2_330[6] = { 'a', 's', 't', 'i', 'm', 'a' };
static const symbol s_2_331[6] = { 'e', 's', 't', 'i', 'm', 'a' };
static const symbol s_2_332[6] = { 'i', 's', 't', 'i', 'm', 'a' };
static const symbol s_2_333[6] = { 'k', 's', 't', 'i', 'm', 'a' };
static const symbol s_2_334[6] = { 'o', 's', 't', 'i', 'm', 'a' };
static const symbol s_2_335[7] = { 'i', 0xC5, 0xA1, 't', 'i', 'm', 'a' };
static const symbol s_2_336[5] = { 'a', 'v', 'i', 'm', 'a' };
static const symbol s_2_337[5] = { 'e', 'v', 'i', 'm', 'a' };
static const symbol s_2_338[7] = { 'a', 'j', 'e', 'v', 'i', 'm', 'a' };
static const symbol s_2_339[8] = { 'c', 'a', 'j', 'e', 'v', 'i', 'm', 'a' };
static const symbol s_2_340[8] = { 'l', 'a', 'j', 'e', 'v', 'i', 'm', 'a' };
static const symbol s_2_341[8] = { 'r', 'a', 'j', 'e', 'v', 'i', 'm', 'a' };
static const symbol s_2_342[9] = { 0xC4, 0x87, 'a', 'j', 'e', 'v', 'i', 'm', 'a' };
static const symbol s_2_343[9] = { 0xC4, 0x8D, 'a', 'j', 'e', 'v', 'i', 'm', 'a' };
static const symbol s_2_344[9] = { 0xC4, 0x91, 'a', 'j', 'e', 'v', 'i', 'm', 'a' };
static const symbol s_2_345[5] = { 'i', 'v', 'i', 'm', 'a' };
static const symbol s_2_346[5] = { 'o', 'v', 'i', 'm', 'a' };
static const symbol s_2_347[6] = { 'g', 'o', 'v', 'i', 'm', 'a' };
static const symbol s_2_348[7] = { 'u', 'g', 'o', 'v', 'i', 'm', 'a' };
static const symbol s_2_349[6] = { 'l', 'o', 'v', 'i', 'm', 'a' };
static const symbol s_2_350[7] = { 'o', 'l', 'o', 'v', 'i', 'm', 'a' };
static const symbol s_2_351[6] = { 'm', 'o', 'v', 'i', 'm', 'a' };
static const symbol s_2_352[7] = { 'o', 'n', 'o', 'v', 'i', 'm', 'a' };
static const symbol s_2_353[6] = { 's', 't', 'v', 'i', 'm', 'a' };
static const symbol s_2_354[7] = { 0xC5, 0xA1, 't', 'v', 'i', 'm', 'a' };
static const symbol s_2_355[6] = { 'a', 0xC4, 0x87, 'i', 'm', 'a' };
static const symbol s_2_356[6] = { 'e', 0xC4, 0x87, 'i', 'm', 'a' };
static const symbol s_2_357[6] = { 'u', 0xC4, 0x87, 'i', 'm', 'a' };
static const symbol s_2_358[7] = { 'b', 'a', 0xC5, 0xA1, 'i', 'm', 'a' };
static const symbol s_2_359[7] = { 'g', 'a', 0xC5, 0xA1, 'i', 'm', 'a' };
static const symbol s_2_360[7] = { 'j', 'a', 0xC5, 0xA1, 'i', 'm', 'a' };
static const symbol s_2_361[7] = { 'k', 'a', 0xC5, 0xA1, 'i', 'm', 'a' };
static const symbol s_2_362[7] = { 'n', 'a', 0xC5, 0xA1, 'i', 'm', 'a' };
static const symbol s_2_363[7] = { 't', 'a', 0xC5, 0xA1, 'i', 'm', 'a' };
static const symbol s_2_364[7] = { 'v', 'a', 0xC5, 0xA1, 'i', 'm', 'a' };
static const symbol s_2_365[6] = { 'e', 0xC5, 0xA1, 'i', 'm', 'a' };
static const symbol s_2_366[6] = { 'i', 0xC5, 0xA1, 'i', 'm', 'a' };
static const symbol s_2_367[6] = { 'o', 0xC5, 0xA1, 'i', 'm', 'a' };
static const symbol s_2_368[2] = { 'n', 'a' };
static const symbol s_2_369[3] = { 'a', 'n', 'a' };
static const symbol s_2_370[5] = { 'a', 'c', 'a', 'n', 'a' };
static const symbol s_2_371[5] = { 'u', 'r', 'a', 'n', 'a' };
static const symbol s_2_372[4] = { 't', 'a', 'n', 'a' };
static const symbol s_2_373[5] = { 'a', 'v', 'a', 'n', 'a' };
static const symbol s_2_374[5] = { 'e', 'v', 'a', 'n', 'a' };
static const symbol s_2_375[5] = { 'i', 'v', 'a', 'n', 'a' };
static const symbol s_2_376[5] = { 'u', 'v', 'a', 'n', 'a' };
static const symbol s_2_377[6] = { 'a', 0xC4, 0x8D, 'a', 'n', 'a' };
static const symbol s_2_378[5] = { 'a', 'c', 'e', 'n', 'a' };
static const symbol s_2_379[6] = { 'l', 'u', 'c', 'e', 'n', 'a' };
static const symbol s_2_380[6] = { 'a', 0xC4, 0x8D, 'e', 'n', 'a' };
static const symbol s_2_381[7] = { 'l', 'u', 0xC4, 0x8D, 'e', 'n', 'a' };
static const symbol s_2_382[3] = { 'i', 'n', 'a' };
static const symbol s_2_383[4] = { 'c', 'i', 'n', 'a' };
static const symbol s_2_384[5] = { 'a', 'n', 'i', 'n', 'a' };
static const symbol s_2_385[5] = { 0xC4, 0x8D, 'i', 'n', 'a' };
static const symbol s_2_386[3] = { 'o', 'n', 'a' };
static const symbol s_2_387[3] = { 'a', 'r', 'a' };
static const symbol s_2_388[3] = { 'd', 'r', 'a' };
static const symbol s_2_389[3] = { 'e', 'r', 'a' };
static const symbol s_2_390[3] = { 'o', 'r', 'a' };
static const symbol s_2_391[4] = { 'b', 'a', 's', 'a' };
static const symbol s_2_392[4] = { 'g', 'a', 's', 'a' };
static const symbol s_2_393[4] = { 'j', 'a', 's', 'a' };
static const symbol s_2_394[4] = { 'k', 'a', 's', 'a' };
static const symbol s_2_395[4] = { 'n', 'a', 's', 'a' };
static const symbol s_2_396[4] = { 't', 'a', 's', 'a' };
static const symbol s_2_397[4] = { 'v', 'a', 's', 'a' };
static const symbol s_2_398[3] = { 'e', 's', 'a' };
static const symbol s_2_399[3] = { 'i', 's', 'a' };
static const symbol s_2_400[3] = { 'o', 's', 'a' };
static const symbol s_2_401[3] = { 'a', 't', 'a' };
static const symbol s_2_402[5] = { 'i', 'k', 'a', 't', 'a' };
static const symbol s_2_403[4] = { 'l', 'a', 't', 'a' };
static const symbol s_2_404[3] = { 'e', 't', 'a' };
static const symbol s_2_405[5] = { 'e', 'v', 'i', 't', 'a' };
static const symbol s_2_406[5] = { 'o', 'v', 'i', 't', 'a' };
static const symbol s_2_407[4] = { 'a', 's', 't', 'a' };
static const symbol s_2_408[4] = { 'e', 's', 't', 'a' };
static const symbol s_2_409[4] = { 'i', 's', 't', 'a' };
static const symbol s_2_410[4] = { 'k', 's', 't', 'a' };
static const symbol s_2_411[4] = { 'o', 's', 't', 'a' };
static const symbol s_2_412[4] = { 'n', 'u', 't', 'a' };
static const symbol s_2_413[5] = { 'i', 0xC5, 0xA1, 't', 'a' };
static const symbol s_2_414[3] = { 'a', 'v', 'a' };
static const symbol s_2_415[3] = { 'e', 'v', 'a' };
static const symbol s_2_416[5] = { 'a', 'j', 'e', 'v', 'a' };
static const symbol s_2_417[6] = { 'c', 'a', 'j', 'e', 'v', 'a' };
static const symbol s_2_418[6] = { 'l', 'a', 'j', 'e', 'v', 'a' };
static const symbol s_2_419[6] = { 'r', 'a', 'j', 'e', 'v', 'a' };
static const symbol s_2_420[7] = { 0xC4, 0x87, 'a', 'j', 'e', 'v', 'a' };
static const symbol s_2_421[7] = { 0xC4, 0x8D, 'a', 'j', 'e', 'v', 'a' };
static const symbol s_2_422[7] = { 0xC4, 0x91, 'a', 'j', 'e', 'v', 'a' };
static const symbol s_2_423[3] = { 'i', 'v', 'a' };
static const symbol s_2_424[3] = { 'o', 'v', 'a' };
static const symbol s_2_425[4] = { 'g', 'o', 'v', 'a' };
static const symbol s_2_426[5] = { 'u', 'g', 'o', 'v', 'a' };
static const symbol s_2_427[4] = { 'l', 'o', 'v', 'a' };
static const symbol s_2_428[5] = { 'o', 'l', 'o', 'v', 'a' };
static const symbol s_2_429[4] = { 'm', 'o', 'v', 'a' };
static const symbol s_2_430[5] = { 'o', 'n', 'o', 'v', 'a' };
static const symbol s_2_431[4] = { 's', 't', 'v', 'a' };
static const symbol s_2_432[5] = { 0xC5, 0xA1, 't', 'v', 'a' };
static const symbol s_2_433[4] = { 'a', 0xC4, 0x87, 'a' };
static const symbol s_2_434[4] = { 'e', 0xC4, 0x87, 'a' };
static const symbol s_2_435[4] = { 'u', 0xC4, 0x87, 'a' };
static const symbol s_2_436[5] = { 'b', 'a', 0xC5, 0xA1, 'a' };
static const symbol s_2_437[5] = { 'g', 'a', 0xC5, 0xA1, 'a' };
static const symbol s_2_438[5] = { 'j', 'a', 0xC5, 0xA1, 'a' };
static const symbol s_2_439[5] = { 'k', 'a', 0xC5, 0xA1, 'a' };
static const symbol s_2_440[5] = { 'n', 'a', 0xC5, 0xA1, 'a' };
static const symbol s_2_441[5] = { 't', 'a', 0xC5, 0xA1, 'a' };
static const symbol s_2_442[5] = { 'v', 'a', 0xC5, 0xA1, 'a' };
static const symbol s_2_443[4] = { 'e', 0xC5, 0xA1, 'a' };
static const symbol s_2_444[4] = { 'i', 0xC5, 0xA1, 'a' };
static const symbol s_2_445[4] = { 'o', 0xC5, 0xA1, 'a' };
static const symbol s_2_446[3] = { 'a', 'c', 'e' };
static const symbol s_2_447[3] = { 'e', 'c', 'e' };
static const symbol s_2_448[3] = { 'u', 'c', 'e' };
static const symbol s_2_449[4] = { 'l', 'u', 'c', 'e' };
static const symbol s_2_450[6] = { 'a', 's', 't', 'a', 'd', 'e' };
static const symbol s_2_451[6] = { 'i', 's', 't', 'a', 'd', 'e' };
static const symbol s_2_452[6] = { 'o', 's', 't', 'a', 'd', 'e' };
static const symbol s_2_453[2] = { 'g', 'e' };
static const symbol s_2_454[4] = { 'l', 'o', 'g', 'e' };
static const symbol s_2_455[3] = { 'u', 'g', 'e' };
static const symbol s_2_456[3] = { 'a', 'j', 'e' };
static const symbol s_2_457[4] = { 'c', 'a', 'j', 'e' };
static const symbol s_2_458[4] = { 'l', 'a', 'j', 'e' };
static const symbol s_2_459[4] = { 'r', 'a', 'j', 'e' };
static const symbol s_2_460[6] = { 'a', 's', 't', 'a', 'j', 'e' };
static const symbol s_2_461[6] = { 'i', 's', 't', 'a', 'j', 'e' };
static const symbol s_2_462[6] = { 'o', 's', 't', 'a', 'j', 'e' };
static const symbol s_2_463[5] = { 0xC4, 0x87, 'a', 'j', 'e' };
static const symbol s_2_464[5] = { 0xC4, 0x8D, 'a', 'j', 'e' };
static const symbol s_2_465[5] = { 0xC4, 0x91, 'a', 'j', 'e' };
static const symbol s_2_466[3] = { 'i', 'j', 'e' };
static const symbol s_2_467[4] = { 'b', 'i', 'j', 'e' };
static const symbol s_2_468[4] = { 'c', 'i', 'j', 'e' };
static const symbol s_2_469[4] = { 'd', 'i', 'j', 'e' };
static const symbol s_2_470[4] = { 'f', 'i', 'j', 'e' };
static const symbol s_2_471[4] = { 'g', 'i', 'j', 'e' };
static const symbol s_2_472[6] = { 'a', 'n', 'j', 'i', 'j', 'e' };
static const symbol s_2_473[6] = { 'e', 'n', 'j', 'i', 'j', 'e' };
static const symbol s_2_474[6] = { 's', 'n', 'j', 'i', 'j', 'e' };
static const symbol s_2_475[7] = { 0xC5, 0xA1, 'n', 'j', 'i', 'j', 'e' };
static const symbol s_2_476[4] = { 'k', 'i', 'j', 'e' };
static const symbol s_2_477[5] = { 's', 'k', 'i', 'j', 'e' };
static const symbol s_2_478[6] = { 0xC5, 0xA1, 'k', 'i', 'j', 'e' };
static const symbol s_2_479[4] = { 'l', 'i', 'j', 'e' };
static const symbol s_2_480[5] = { 'e', 'l', 'i', 'j', 'e' };
static const symbol s_2_481[4] = { 'm', 'i', 'j', 'e' };
static const symbol s_2_482[4] = { 'n', 'i', 'j', 'e' };
static const symbol s_2_483[6] = { 'g', 'a', 'n', 'i', 'j', 'e' };
static const symbol s_2_484[6] = { 'm', 'a', 'n', 'i', 'j', 'e' };
static const symbol s_2_485[6] = { 'p', 'a', 'n', 'i', 'j', 'e' };
static const symbol s_2_486[6] = { 'r', 'a', 'n', 'i', 'j', 'e' };
static const symbol s_2_487[6] = { 't', 'a', 'n', 'i', 'j', 'e' };
static const symbol s_2_488[4] = { 'p', 'i', 'j', 'e' };
static const symbol s_2_489[4] = { 'r', 'i', 'j', 'e' };
static const symbol s_2_490[4] = { 's', 'i', 'j', 'e' };
static const symbol s_2_491[5] = { 'o', 's', 'i', 'j', 'e' };
static const symbol s_2_492[4] = { 't', 'i', 'j', 'e' };
static const symbol s_2_493[5] = { 'a', 't', 'i', 'j', 'e' };
static const symbol s_2_494[7] = { 'e', 'v', 'i', 't', 'i', 'j', 'e' };
static const symbol s_2_495[7] = { 'o', 'v', 'i', 't', 'i', 'j', 'e' };
static const symbol s_2_496[6] = { 'a', 's', 't', 'i', 'j', 'e' };
static const symbol s_2_497[5] = { 'a', 'v', 'i', 'j', 'e' };
static const symbol s_2_498[5] = { 'e', 'v', 'i', 'j', 'e' };
static const symbol s_2_499[5] = { 'i', 'v', 'i', 'j', 'e' };
static const symbol s_2_500[5] = { 'o', 'v', 'i', 'j', 'e' };
static const symbol s_2_501[4] = { 'z', 'i', 'j', 'e' };
static const symbol s_2_502[6] = { 'o', 0xC5, 0xA1, 'i', 'j', 'e' };
static const symbol s_2_503[5] = { 0xC5, 0xBE, 'i', 'j', 'e' };
static const symbol s_2_504[4] = { 'a', 'n', 'j', 'e' };
static const symbol s_2_505[4] = { 'e', 'n', 'j', 'e' };
static const symbol s_2_506[4] = { 's', 'n', 'j', 'e' };
static const symbol s_2_507[5] = { 0xC5, 0xA1, 'n', 'j', 'e' };
static const symbol s_2_508[3] = { 'u', 'j', 'e' };
static const symbol s_2_509[6] = { 'l', 'u', 'c', 'u', 'j', 'e' };
static const symbol s_2_510[5] = { 'i', 'r', 'u', 'j', 'e' };
static const symbol s_2_511[7] = { 'l', 'u', 0xC4, 0x8D, 'u', 'j', 'e' };
static const symbol s_2_512[2] = { 'k', 'e' };
static const symbol s_2_513[3] = { 's', 'k', 'e' };
static const symbol s_2_514[4] = { 0xC5, 0xA1, 'k', 'e' };
static const symbol s_2_515[3] = { 'a', 'l', 'e' };
static const symbol s_2_516[5] = { 'a', 'c', 'a', 'l', 'e' };
static const symbol s_2_517[8] = { 'a', 's', 't', 'a', 'j', 'a', 'l', 'e' };
static const symbol s_2_518[8] = { 'i', 's', 't', 'a', 'j', 'a', 'l', 'e' };
static const symbol s_2_519[8] = { 'o', 's', 't', 'a', 'j', 'a', 'l', 'e' };
static const symbol s_2_520[5] = { 'i', 'j', 'a', 'l', 'e' };
static const symbol s_2_521[6] = { 'i', 'n', 'j', 'a', 'l', 'e' };
static const symbol s_2_522[4] = { 'n', 'a', 'l', 'e' };
static const symbol s_2_523[5] = { 'i', 'r', 'a', 'l', 'e' };
static const symbol s_2_524[5] = { 'u', 'r', 'a', 'l', 'e' };
static const symbol s_2_525[4] = { 't', 'a', 'l', 'e' };
static const symbol s_2_526[6] = { 'a', 's', 't', 'a', 'l', 'e' };
static const symbol s_2_527[6] = { 'i', 's', 't', 'a', 'l', 'e' };
static const symbol s_2_528[6] = { 'o', 's', 't', 'a', 'l', 'e' };
static const symbol s_2_529[5] = { 'a', 'v', 'a', 'l', 'e' };
static const symbol s_2_530[5] = { 'e', 'v', 'a', 'l', 'e' };
static const symbol s_2_531[5] = { 'i', 'v', 'a', 'l', 'e' };
static const symbol s_2_532[5] = { 'o', 'v', 'a', 'l', 'e' };
static const symbol s_2_533[5] = { 'u', 'v', 'a', 'l', 'e' };
static const symbol s_2_534[6] = { 'a', 0xC4, 0x8D, 'a', 'l', 'e' };
static const symbol s_2_535[3] = { 'e', 'l', 'e' };
static const symbol s_2_536[3] = { 'i', 'l', 'e' };
static const symbol s_2_537[5] = { 'a', 'c', 'i', 'l', 'e' };
static const symbol s_2_538[6] = { 'l', 'u', 'c', 'i', 'l', 'e' };
static const symbol s_2_539[4] = { 'n', 'i', 'l', 'e' };
static const symbol s_2_540[6] = { 'r', 'o', 's', 'i', 'l', 'e' };
static const symbol s_2_541[6] = { 'j', 'e', 't', 'i', 'l', 'e' };
static const symbol s_2_542[5] = { 'o', 'z', 'i', 'l', 'e' };
static const symbol s_2_543[6] = { 'a', 0xC4, 0x8D, 'i', 'l', 'e' };
static const symbol s_2_544[7] = { 'l', 'u', 0xC4, 0x8D, 'i', 'l', 'e' };
static const symbol s_2_545[7] = { 'r', 'o', 0xC5, 0xA1, 'i', 'l', 'e' };
static const symbol s_2_546[3] = { 'o', 'l', 'e' };
static const symbol s_2_547[4] = { 'a', 's', 'l', 'e' };
static const symbol s_2_548[4] = { 'n', 'u', 'l', 'e' };
static const symbol s_2_549[4] = { 'r', 'a', 'm', 'e' };
static const symbol s_2_550[4] = { 'l', 'e', 'm', 'e' };
static const symbol s_2_551[5] = { 'a', 'c', 'o', 'm', 'e' };
static const symbol s_2_552[5] = { 'e', 'c', 'o', 'm', 'e' };
static const symbol s_2_553[5] = { 'u', 'c', 'o', 'm', 'e' };
static const symbol s_2_554[6] = { 'a', 'n', 'j', 'o', 'm', 'e' };
static const symbol s_2_555[6] = { 'e', 'n', 'j', 'o', 'm', 'e' };
static const symbol s_2_556[6] = { 's', 'n', 'j', 'o', 'm', 'e' };
static const symbol s_2_557[7] = { 0xC5, 0xA1, 'n', 'j', 'o', 'm', 'e' };
static const symbol s_2_558[4] = { 'k', 'o', 'm', 'e' };
static const symbol s_2_559[5] = { 's', 'k', 'o', 'm', 'e' };
static const symbol s_2_560[6] = { 0xC5, 0xA1, 'k', 'o', 'm', 'e' };
static const symbol s_2_561[5] = { 'e', 'l', 'o', 'm', 'e' };
static const symbol s_2_562[4] = { 'n', 'o', 'm', 'e' };
static const symbol s_2_563[6] = { 'c', 'i', 'n', 'o', 'm', 'e' };
static const symbol s_2_564[7] = { 0xC4, 0x8D, 'i', 'n', 'o', 'm', 'e' };
static const symbol s_2_565[5] = { 'o', 's', 'o', 'm', 'e' };
static const symbol s_2_566[5] = { 'a', 't', 'o', 'm', 'e' };
static const symbol s_2_567[7] = { 'e', 'v', 'i', 't', 'o', 'm', 'e' };
static const symbol s_2_568[7] = { 'o', 'v', 'i', 't', 'o', 'm', 'e' };
static const symbol s_2_569[6] = { 'a', 's', 't', 'o', 'm', 'e' };
static const symbol s_2_570[5] = { 'a', 'v', 'o', 'm', 'e' };
static const symbol s_2_571[5] = { 'e', 'v', 'o', 'm', 'e' };
static const symbol s_2_572[5] = { 'i', 'v', 'o', 'm', 'e' };
static const symbol s_2_573[5] = { 'o', 'v', 'o', 'm', 'e' };
static const symbol s_2_574[6] = { 'a', 0xC4, 0x87, 'o', 'm', 'e' };
static const symbol s_2_575[6] = { 'e', 0xC4, 0x87, 'o', 'm', 'e' };
static const symbol s_2_576[6] = { 'u', 0xC4, 0x87, 'o', 'm', 'e' };
static const symbol s_2_577[6] = { 'o', 0xC5, 0xA1, 'o', 'm', 'e' };
static const symbol s_2_578[2] = { 'n', 'e' };
static const symbol s_2_579[3] = { 'a', 'n', 'e' };
static const symbol s_2_580[5] = { 'a', 'c', 'a', 'n', 'e' };
static const symbol s_2_581[5] = { 'u', 'r', 'a', 'n', 'e' };
static const symbol s_2_582[4] = { 't', 'a', 'n', 'e' };
static const symbol s_2_583[6] = { 'a', 's', 't', 'a', 'n', 'e' };
static const symbol s_2_584[6] = { 'i', 's', 't', 'a', 'n', 'e' };
static const symbol s_2_585[6] = { 'o', 's', 't', 'a', 'n', 'e' };
static const symbol s_2_586[5] = { 'a', 'v', 'a', 'n', 'e' };
static const symbol s_2_587[5] = { 'e', 'v', 'a', 'n', 'e' };
static const symbol s_2_588[5] = { 'i', 'v', 'a', 'n', 'e' };
static const symbol s_2_589[5] = { 'u', 'v', 'a', 'n', 'e' };
static const symbol s_2_590[6] = { 'a', 0xC4, 0x8D, 'a', 'n', 'e' };
static const symbol s_2_591[5] = { 'a', 'c', 'e', 'n', 'e' };
static const symbol s_2_592[6] = { 'l', 'u', 'c', 'e', 'n', 'e' };
static const symbol s_2_593[6] = { 'a', 0xC4, 0x8D, 'e', 'n', 'e' };
static const symbol s_2_594[7] = { 'l', 'u', 0xC4, 0x8D, 'e', 'n', 'e' };
static const symbol s_2_595[3] = { 'i', 'n', 'e' };
static const symbol s_2_596[4] = { 'c', 'i', 'n', 'e' };
static const symbol s_2_597[5] = { 'a', 'n', 'i', 'n', 'e' };
static const symbol s_2_598[5] = { 0xC4, 0x8D, 'i', 'n', 'e' };
static const symbol s_2_599[3] = { 'o', 'n', 'e' };
static const symbol s_2_600[3] = { 'a', 'r', 'e' };
static const symbol s_2_601[3] = { 'd', 'r', 'e' };
static const symbol s_2_602[3] = { 'e', 'r', 'e' };
static const symbol s_2_603[3] = { 'o', 'r', 'e' };
static const symbol s_2_604[3] = { 'a', 's', 'e' };
static const symbol s_2_605[4] = { 'b', 'a', 's', 'e' };
static const symbol s_2_606[5] = { 'a', 'c', 'a', 's', 'e' };
static const symbol s_2_607[4] = { 'g', 'a', 's', 'e' };
static const symbol s_2_608[4] = { 'j', 'a', 's', 'e' };
static const symbol s_2_609[8] = { 'a', 's', 't', 'a', 'j', 'a', 's', 'e' };
static const symbol s_2_610[8] = { 'i', 's', 't', 'a', 'j', 'a', 's', 'e' };
static const symbol s_2_611[8] = { 'o', 's', 't', 'a', 'j', 'a', 's', 'e' };
static const symbol s_2_612[6] = { 'i', 'n', 'j', 'a', 's', 'e' };
static const symbol s_2_613[4] = { 'k', 'a', 's', 'e' };
static const symbol s_2_614[4] = { 'n', 'a', 's', 'e' };
static const symbol s_2_615[5] = { 'i', 'r', 'a', 's', 'e' };
static const symbol s_2_616[5] = { 'u', 'r', 'a', 's', 'e' };
static const symbol s_2_617[4] = { 't', 'a', 's', 'e' };
static const symbol s_2_618[4] = { 'v', 'a', 's', 'e' };
static const symbol s_2_619[5] = { 'a', 'v', 'a', 's', 'e' };
static const symbol s_2_620[5] = { 'e', 'v', 'a', 's', 'e' };
static const symbol s_2_621[5] = { 'i', 'v', 'a', 's', 'e' };
static const symbol s_2_622[5] = { 'o', 'v', 'a', 's', 'e' };
static const symbol s_2_623[5] = { 'u', 'v', 'a', 's', 'e' };
static const symbol s_2_624[3] = { 'e', 's', 'e' };
static const symbol s_2_625[3] = { 'i', 's', 'e' };
static const symbol s_2_626[5] = { 'a', 'c', 'i', 's', 'e' };
static const symbol s_2_627[6] = { 'l', 'u', 'c', 'i', 's', 'e' };
static const symbol s_2_628[6] = { 'r', 'o', 's', 'i', 's', 'e' };
static const symbol s_2_629[6] = { 'j', 'e', 't', 'i', 's', 'e' };
static const symbol s_2_630[3] = { 'o', 's', 'e' };
static const symbol s_2_631[8] = { 'a', 's', 't', 'a', 'd', 'o', 's', 'e' };
static const symbol s_2_632[8] = { 'i', 's', 't', 'a', 'd', 'o', 's', 'e' };
static const symbol s_2_633[8] = { 'o', 's', 't', 'a', 'd', 'o', 's', 'e' };
static const symbol s_2_634[3] = { 'a', 't', 'e' };
static const symbol s_2_635[5] = { 'a', 'c', 'a', 't', 'e' };
static const symbol s_2_636[5] = { 'i', 'k', 'a', 't', 'e' };
static const symbol s_2_637[4] = { 'l', 'a', 't', 'e' };
static const symbol s_2_638[5] = { 'i', 'r', 'a', 't', 'e' };
static const symbol s_2_639[5] = { 'u', 'r', 'a', 't', 'e' };
static const symbol s_2_640[4] = { 't', 'a', 't', 'e' };
static const symbol s_2_641[5] = { 'a', 'v', 'a', 't', 'e' };
static const symbol s_2_642[5] = { 'e', 'v', 'a', 't', 'e' };
static const symbol s_2_643[5] = { 'i', 'v', 'a', 't', 'e' };
static const symbol s_2_644[5] = { 'u', 'v', 'a', 't', 'e' };
static const symbol s_2_645[6] = { 'a', 0xC4, 0x8D, 'a', 't', 'e' };
static const symbol s_2_646[3] = { 'e', 't', 'e' };
static const symbol s_2_647[8] = { 'a', 's', 't', 'a', 'd', 'e', 't', 'e' };
static const symbol s_2_648[8] = { 'i', 's', 't', 'a', 'd', 'e', 't', 'e' };
static const symbol s_2_649[8] = { 'o', 's', 't', 'a', 'd', 'e', 't', 'e' };
static const symbol s_2_650[8] = { 'a', 's', 't', 'a', 'j', 'e', 't', 'e' };
static const symbol s_2_651[8] = { 'i', 's', 't', 'a', 'j', 'e', 't', 'e' };
static const symbol s_2_652[8] = { 'o', 's', 't', 'a', 'j', 'e', 't', 'e' };
static const symbol s_2_653[5] = { 'i', 'j', 'e', 't', 'e' };
static const symbol s_2_654[6] = { 'i', 'n', 'j', 'e', 't', 'e' };
static const symbol s_2_655[5] = { 'u', 'j', 'e', 't', 'e' };
static const symbol s_2_656[8] = { 'l', 'u', 'c', 'u', 'j', 'e', 't', 'e' };
static const symbol s_2_657[7] = { 'i', 'r', 'u', 'j', 'e', 't', 'e' };
static const symbol s_2_658[9] = { 'l', 'u', 0xC4, 0x8D, 'u', 'j', 'e', 't', 'e' };
static const symbol s_2_659[4] = { 'n', 'e', 't', 'e' };
static const symbol s_2_660[8] = { 'a', 's', 't', 'a', 'n', 'e', 't', 'e' };
static const symbol s_2_661[8] = { 'i', 's', 't', 'a', 'n', 'e', 't', 'e' };
static const symbol s_2_662[8] = { 'o', 's', 't', 'a', 'n', 'e', 't', 'e' };
static const symbol s_2_663[6] = { 'a', 's', 't', 'e', 't', 'e' };
static const symbol s_2_664[3] = { 'i', 't', 'e' };
static const symbol s_2_665[5] = { 'a', 'c', 'i', 't', 'e' };
static const symbol s_2_666[6] = { 'l', 'u', 'c', 'i', 't', 'e' };
static const symbol s_2_667[4] = { 'n', 'i', 't', 'e' };
static const symbol s_2_668[8] = { 'a', 's', 't', 'a', 'n', 'i', 't', 'e' };
static const symbol s_2_669[8] = { 'i', 's', 't', 'a', 'n', 'i', 't', 'e' };
static const symbol s_2_670[8] = { 'o', 's', 't', 'a', 'n', 'i', 't', 'e' };
static const symbol s_2_671[6] = { 'r', 'o', 's', 'i', 't', 'e' };
static const symbol s_2_672[6] = { 'j', 'e', 't', 'i', 't', 'e' };
static const symbol s_2_673[6] = { 'a', 's', 't', 'i', 't', 'e' };
static const symbol s_2_674[5] = { 'e', 'v', 'i', 't', 'e' };
static const symbol s_2_675[5] = { 'o', 'v', 'i', 't', 'e' };
static const symbol s_2_676[6] = { 'a', 0xC4, 0x8D, 'i', 't', 'e' };
static const symbol s_2_677[7] = { 'l', 'u', 0xC4, 0x8D, 'i', 't', 'e' };
static const symbol s_2_678[7] = { 'r', 'o', 0xC5, 0xA1, 'i', 't', 'e' };
static const symbol s_2_679[4] = { 'a', 'j', 't', 'e' };
static const symbol s_2_680[6] = { 'u', 'r', 'a', 'j', 't', 'e' };
static const symbol s_2_681[5] = { 't', 'a', 'j', 't', 'e' };
static const symbol s_2_682[7] = { 'a', 's', 't', 'a', 'j', 't', 'e' };
static const symbol s_2_683[7] = { 'i', 's', 't', 'a', 'j', 't', 'e' };
static const symbol s_2_684[7] = { 'o', 's', 't', 'a', 'j', 't', 'e' };
static const symbol s_2_685[6] = { 'a', 'v', 'a', 'j', 't', 'e' };
static const symbol s_2_686[6] = { 'e', 'v', 'a', 'j', 't', 'e' };
static const symbol s_2_687[6] = { 'i', 'v', 'a', 'j', 't', 'e' };
static const symbol s_2_688[6] = { 'u', 'v', 'a', 'j', 't', 'e' };
static const symbol s_2_689[4] = { 'i', 'j', 't', 'e' };
static const symbol s_2_690[7] = { 'l', 'u', 'c', 'u', 'j', 't', 'e' };
static const symbol s_2_691[6] = { 'i', 'r', 'u', 'j', 't', 'e' };
static const symbol s_2_692[8] = { 'l', 'u', 0xC4, 0x8D, 'u', 'j', 't', 'e' };
static const symbol s_2_693[4] = { 'a', 's', 't', 'e' };
static const symbol s_2_694[6] = { 'a', 'c', 'a', 's', 't', 'e' };
static const symbol s_2_695[9] = { 'a', 's', 't', 'a', 'j', 'a', 's', 't', 'e' };
static const symbol s_2_696[9] = { 'i', 's', 't', 'a', 'j', 'a', 's', 't', 'e' };
static const symbol s_2_697[9] = { 'o', 's', 't', 'a', 'j', 'a', 's', 't', 'e' };
static const symbol s_2_698[7] = { 'i', 'n', 'j', 'a', 's', 't', 'e' };
static const symbol s_2_699[6] = { 'i', 'r', 'a', 's', 't', 'e' };
static const symbol s_2_700[6] = { 'u', 'r', 'a', 's', 't', 'e' };
static const symbol s_2_701[5] = { 't', 'a', 's', 't', 'e' };
static const symbol s_2_702[6] = { 'a', 'v', 'a', 's', 't', 'e' };
static const symbol s_2_703[6] = { 'e', 'v', 'a', 's', 't', 'e' };
static const symbol s_2_704[6] = { 'i', 'v', 'a', 's', 't', 'e' };
static const symbol s_2_705[6] = { 'o', 'v', 'a', 's', 't', 'e' };
static const symbol s_2_706[6] = { 'u', 'v', 'a', 's', 't', 'e' };
static const symbol s_2_707[7] = { 'a', 0xC4, 0x8D, 'a', 's', 't', 'e' };
static const symbol s_2_708[4] = { 'e', 's', 't', 'e' };
static const symbol s_2_709[4] = { 'i', 's', 't', 'e' };
static const symbol s_2_710[6] = { 'a', 'c', 'i', 's', 't', 'e' };
static const symbol s_2_711[7] = { 'l', 'u', 'c', 'i', 's', 't', 'e' };
static const symbol s_2_712[5] = { 'n', 'i', 's', 't', 'e' };
static const symbol s_2_713[7] = { 'r', 'o', 's', 'i', 's', 't', 'e' };
static const symbol s_2_714[7] = { 'j', 'e', 't', 'i', 's', 't', 'e' };
static const symbol s_2_715[7] = { 'a', 0xC4, 0x8D, 'i', 's', 't', 'e' };
static const symbol s_2_716[8] = { 'l', 'u', 0xC4, 0x8D, 'i', 's', 't', 'e' };
static const symbol s_2_717[8] = { 'r', 'o', 0xC5, 0xA1, 'i', 's', 't', 'e' };
static const symbol s_2_718[4] = { 'k', 's', 't', 'e' };
static const symbol s_2_719[4] = { 'o', 's', 't', 'e' };
static const symbol s_2_720[9] = { 'a', 's', 't', 'a', 'd', 'o', 's', 't', 'e' };
static const symbol s_2_721[9] = { 'i', 's', 't', 'a', 'd', 'o', 's', 't', 'e' };
static const symbol s_2_722[9] = { 'o', 's', 't', 'a', 'd', 'o', 's', 't', 'e' };
static const symbol s_2_723[5] = { 'n', 'u', 's', 't', 'e' };
static const symbol s_2_724[5] = { 'i', 0xC5, 0xA1, 't', 'e' };
static const symbol s_2_725[3] = { 'a', 'v', 'e' };
static const symbol s_2_726[3] = { 'e', 'v', 'e' };
static const symbol s_2_727[5] = { 'a', 'j', 'e', 'v', 'e' };
static const symbol s_2_728[6] = { 'c', 'a', 'j', 'e', 'v', 'e' };
static const symbol s_2_729[6] = { 'l', 'a', 'j', 'e', 'v', 'e' };
static const symbol s_2_730[6] = { 'r', 'a', 'j', 'e', 'v', 'e' };
static const symbol s_2_731[7] = { 0xC4, 0x87, 'a', 'j', 'e', 'v', 'e' };
static const symbol s_2_732[7] = { 0xC4, 0x8D, 'a', 'j', 'e', 'v', 'e' };
static const symbol s_2_733[7] = { 0xC4, 0x91, 'a', 'j', 'e', 'v', 'e' };
static const symbol s_2_734[3] = { 'i', 'v', 'e' };
static const symbol s_2_735[3] = { 'o', 'v', 'e' };
static const symbol s_2_736[4] = { 'g', 'o', 'v', 'e' };
static const symbol s_2_737[5] = { 'u', 'g', 'o', 'v', 'e' };
static const symbol s_2_738[4] = { 'l', 'o', 'v', 'e' };
static const symbol s_2_739[5] = { 'o', 'l', 'o', 'v', 'e' };
static const symbol s_2_740[4] = { 'm', 'o', 'v', 'e' };
static const symbol s_2_741[5] = { 'o', 'n', 'o', 'v', 'e' };
static const symbol s_2_742[4] = { 'a', 0xC4, 0x87, 'e' };
static const symbol s_2_743[4] = { 'e', 0xC4, 0x87, 'e' };
static const symbol s_2_744[4] = { 'u', 0xC4, 0x87, 'e' };
static const symbol s_2_745[4] = { 'a', 0xC4, 0x8D, 'e' };
static const symbol s_2_746[5] = { 'l', 'u', 0xC4, 0x8D, 'e' };
static const symbol s_2_747[4] = { 'a', 0xC5, 0xA1, 'e' };
static const symbol s_2_748[5] = { 'b', 'a', 0xC5, 0xA1, 'e' };
static const symbol s_2_749[5] = { 'g', 'a', 0xC5, 0xA1, 'e' };
static const symbol s_2_750[5] = { 'j', 'a', 0xC5, 0xA1, 'e' };
static const symbol s_2_751[9] = { 'a', 's', 't', 'a', 'j', 'a', 0xC5, 0xA1, 'e' };
static const symbol s_2_752[9] = { 'i', 's', 't', 'a', 'j', 'a', 0xC5, 0xA1, 'e' };
static const symbol s_2_753[9] = { 'o', 's', 't', 'a', 'j', 'a', 0xC5, 0xA1, 'e' };
static const symbol s_2_754[7] = { 'i', 'n', 'j', 'a', 0xC5, 0xA1, 'e' };
static const symbol s_2_755[5] = { 'k', 'a', 0xC5, 0xA1, 'e' };
static const symbol s_2_756[5] = { 'n', 'a', 0xC5, 0xA1, 'e' };
static const symbol s_2_757[6] = { 'i', 'r', 'a', 0xC5, 0xA1, 'e' };
static const symbol s_2_758[6] = { 'u', 'r', 'a', 0xC5, 0xA1, 'e' };
static const symbol s_2_759[5] = { 't', 'a', 0xC5, 0xA1, 'e' };
static const symbol s_2_760[5] = { 'v', 'a', 0xC5, 0xA1, 'e' };
static const symbol s_2_761[6] = { 'a', 'v', 'a', 0xC5, 0xA1, 'e' };
static const symbol s_2_762[6] = { 'e', 'v', 'a', 0xC5, 0xA1, 'e' };
static const symbol s_2_763[6] = { 'i', 'v', 'a', 0xC5, 0xA1, 'e' };
static const symbol s_2_764[6] = { 'o', 'v', 'a', 0xC5, 0xA1, 'e' };
static const symbol s_2_765[6] = { 'u', 'v', 'a', 0xC5, 0xA1, 'e' };
static const symbol s_2_766[7] = { 'a', 0xC4, 0x8D, 'a', 0xC5, 0xA1, 'e' };
static const symbol s_2_767[4] = { 'e', 0xC5, 0xA1, 'e' };
static const symbol s_2_768[4] = { 'i', 0xC5, 0xA1, 'e' };
static const symbol s_2_769[7] = { 'j', 'e', 't', 'i', 0xC5, 0xA1, 'e' };
static const symbol s_2_770[7] = { 'a', 0xC4, 0x8D, 'i', 0xC5, 0xA1, 'e' };
static const symbol s_2_771[8] = { 'l', 'u', 0xC4, 0x8D, 'i', 0xC5, 0xA1, 'e' };
static const symbol s_2_772[8] = { 'r', 'o', 0xC5, 0xA1, 'i', 0xC5, 0xA1, 'e' };
static const symbol s_2_773[4] = { 'o', 0xC5, 0xA1, 'e' };
static const symbol s_2_774[9] = { 'a', 's', 't', 'a', 'd', 'o', 0xC5, 0xA1, 'e' };
static const symbol s_2_775[9] = { 'i', 's', 't', 'a', 'd', 'o', 0xC5, 0xA1, 'e' };
static const symbol s_2_776[9] = { 'o', 's', 't', 'a', 'd', 'o', 0xC5, 0xA1, 'e' };
static const symbol s_2_777[4] = { 'a', 'c', 'e', 'g' };
static const symbol s_2_778[4] = { 'e', 'c', 'e', 'g' };
static const symbol s_2_779[4] = { 'u', 'c', 'e', 'g' };
static const symbol s_2_780[7] = { 'a', 'n', 'j', 'i', 'j', 'e', 'g' };
static const symbol s_2_781[7] = { 'e', 'n', 'j', 'i', 'j', 'e', 'g' };
static const symbol s_2_782[7] = { 's', 'n', 'j', 'i', 'j', 'e', 'g' };
static const symbol s_2_783[8] = { 0xC5, 0xA1, 'n', 'j', 'i', 'j', 'e', 'g' };
static const symbol s_2_784[5] = { 'k', 'i', 'j', 'e', 'g' };
static const symbol s_2_785[6] = { 's', 'k', 'i', 'j', 'e', 'g' };
static const symbol s_2_786[7] = { 0xC5, 0xA1, 'k', 'i', 'j', 'e', 'g' };
static const symbol s_2_787[6] = { 'e', 'l', 'i', 'j', 'e', 'g' };
static const symbol s_2_788[5] = { 'n', 'i', 'j', 'e', 'g' };
static const symbol s_2_789[6] = { 'o', 's', 'i', 'j', 'e', 'g' };
static const symbol s_2_790[6] = { 'a', 't', 'i', 'j', 'e', 'g' };
static const symbol s_2_791[8] = { 'e', 'v', 'i', 't', 'i', 'j', 'e', 'g' };
static const symbol s_2_792[8] = { 'o', 'v', 'i', 't', 'i', 'j', 'e', 'g' };
static const symbol s_2_793[7] = { 'a', 's', 't', 'i', 'j', 'e', 'g' };
static const symbol s_2_794[6] = { 'a', 'v', 'i', 'j', 'e', 'g' };
static const symbol s_2_795[6] = { 'e', 'v', 'i', 'j', 'e', 'g' };
static const symbol s_2_796[6] = { 'i', 'v', 'i', 'j', 'e', 'g' };
static const symbol s_2_797[6] = { 'o', 'v', 'i', 'j', 'e', 'g' };
static const symbol s_2_798[7] = { 'o', 0xC5, 0xA1, 'i', 'j', 'e', 'g' };
static const symbol s_2_799[5] = { 'a', 'n', 'j', 'e', 'g' };
static const symbol s_2_800[5] = { 'e', 'n', 'j', 'e', 'g' };
static const symbol s_2_801[5] = { 's', 'n', 'j', 'e', 'g' };
static const symbol s_2_802[6] = { 0xC5, 0xA1, 'n', 'j', 'e', 'g' };
static const symbol s_2_803[3] = { 'k', 'e', 'g' };
static const symbol s_2_804[4] = { 'e', 'l', 'e', 'g' };
static const symbol s_2_805[3] = { 'n', 'e', 'g' };
static const symbol s_2_806[4] = { 'a', 'n', 'e', 'g' };
static const symbol s_2_807[4] = { 'e', 'n', 'e', 'g' };
static const symbol s_2_808[4] = { 's', 'n', 'e', 'g' };
static const symbol s_2_809[5] = { 0xC5, 0xA1, 'n', 'e', 'g' };
static const symbol s_2_810[4] = { 'o', 's', 'e', 'g' };
static const symbol s_2_811[4] = { 'a', 't', 'e', 'g' };
static const symbol s_2_812[4] = { 'a', 'v', 'e', 'g' };
static const symbol s_2_813[4] = { 'e', 'v', 'e', 'g' };
static const symbol s_2_814[4] = { 'i', 'v', 'e', 'g' };
static const symbol s_2_815[4] = { 'o', 'v', 'e', 'g' };
static const symbol s_2_816[5] = { 'a', 0xC4, 0x87, 'e', 'g' };
static const symbol s_2_817[5] = { 'e', 0xC4, 0x87, 'e', 'g' };
static const symbol s_2_818[5] = { 'u', 0xC4, 0x87, 'e', 'g' };
static const symbol s_2_819[5] = { 'o', 0xC5, 0xA1, 'e', 'g' };
static const symbol s_2_820[4] = { 'a', 'c', 'o', 'g' };
static const symbol s_2_821[4] = { 'e', 'c', 'o', 'g' };
static const symbol s_2_822[4] = { 'u', 'c', 'o', 'g' };
static const symbol s_2_823[5] = { 'a', 'n', 'j', 'o', 'g' };
static const symbol s_2_824[5] = { 'e', 'n', 'j', 'o', 'g' };
static const symbol s_2_825[5] = { 's', 'n', 'j', 'o', 'g' };
static const symbol s_2_826[6] = { 0xC5, 0xA1, 'n', 'j', 'o', 'g' };
static const symbol s_2_827[3] = { 'k', 'o', 'g' };
static const symbol s_2_828[4] = { 's', 'k', 'o', 'g' };
static const symbol s_2_829[5] = { 0xC5, 0xA1, 'k', 'o', 'g' };
static const symbol s_2_830[4] = { 'e', 'l', 'o', 'g' };
static const symbol s_2_831[3] = { 'n', 'o', 'g' };
static const symbol s_2_832[5] = { 'c', 'i', 'n', 'o', 'g' };
static const symbol s_2_833[6] = { 0xC4, 0x8D, 'i', 'n', 'o', 'g' };
static const symbol s_2_834[4] = { 'o', 's', 'o', 'g' };
static const symbol s_2_835[4] = { 'a', 't', 'o', 'g' };
static const symbol s_2_836[6] = { 'e', 'v', 'i', 't', 'o', 'g' };
static const symbol s_2_837[6] = { 'o', 'v', 'i', 't', 'o', 'g' };
static const symbol s_2_838[5] = { 'a', 's', 't', 'o', 'g' };
static const symbol s_2_839[4] = { 'a', 'v', 'o', 'g' };
static const symbol s_2_840[4] = { 'e', 'v', 'o', 'g' };
static const symbol s_2_841[4] = { 'i', 'v', 'o', 'g' };
static const symbol s_2_842[4] = { 'o', 'v', 'o', 'g' };
static const symbol s_2_843[5] = { 'a', 0xC4, 0x87, 'o', 'g' };
static const symbol s_2_844[5] = { 'e', 0xC4, 0x87, 'o', 'g' };
static const symbol s_2_845[5] = { 'u', 0xC4, 0x87, 'o', 'g' };
static const symbol s_2_846[5] = { 'o', 0xC5, 0xA1, 'o', 'g' };
static const symbol s_2_847[2] = { 'a', 'h' };
static const symbol s_2_848[4] = { 'a', 'c', 'a', 'h' };
static const symbol s_2_849[7] = { 'a', 's', 't', 'a', 'j', 'a', 'h' };
static const symbol s_2_850[7] = { 'i', 's', 't', 'a', 'j', 'a', 'h' };
static const symbol s_2_851[7] = { 'o', 's', 't', 'a', 'j', 'a', 'h' };
static const symbol s_2_852[5] = { 'i', 'n', 'j', 'a', 'h' };
static const symbol s_2_853[4] = { 'i', 'r', 'a', 'h' };
static const symbol s_2_854[4] = { 'u', 'r', 'a', 'h' };
static const symbol s_2_855[3] = { 't', 'a', 'h' };
static const symbol s_2_856[4] = { 'a', 'v', 'a', 'h' };
static const symbol s_2_857[4] = { 'e', 'v', 'a', 'h' };
static const symbol s_2_858[4] = { 'i', 'v', 'a', 'h' };
static const symbol s_2_859[4] = { 'o', 'v', 'a', 'h' };
static const symbol s_2_860[4] = { 'u', 'v', 'a', 'h' };
static const symbol s_2_861[5] = { 'a', 0xC4, 0x8D, 'a', 'h' };
static const symbol s_2_862[2] = { 'i', 'h' };
static const symbol s_2_863[4] = { 'a', 'c', 'i', 'h' };
static const symbol s_2_864[4] = { 'e', 'c', 'i', 'h' };
static const symbol s_2_865[4] = { 'u', 'c', 'i', 'h' };
static const symbol s_2_866[5] = { 'l', 'u', 'c', 'i', 'h' };
static const symbol s_2_867[7] = { 'a', 'n', 'j', 'i', 'j', 'i', 'h' };
static const symbol s_2_868[7] = { 'e', 'n', 'j', 'i', 'j', 'i', 'h' };
static const symbol s_2_869[7] = { 's', 'n', 'j', 'i', 'j', 'i', 'h' };
static const symbol s_2_870[8] = { 0xC5, 0xA1, 'n', 'j', 'i', 'j', 'i', 'h' };
static const symbol s_2_871[5] = { 'k', 'i', 'j', 'i', 'h' };
static const symbol s_2_872[6] = { 's', 'k', 'i', 'j', 'i', 'h' };
static const symbol s_2_873[7] = { 0xC5, 0xA1, 'k', 'i', 'j', 'i', 'h' };
static const symbol s_2_874[6] = { 'e', 'l', 'i', 'j', 'i', 'h' };
static const symbol s_2_875[5] = { 'n', 'i', 'j', 'i', 'h' };
static const symbol s_2_876[6] = { 'o', 's', 'i', 'j', 'i', 'h' };
static const symbol s_2_877[6] = { 'a', 't', 'i', 'j', 'i', 'h' };
static const symbol s_2_878[8] = { 'e', 'v', 'i', 't', 'i', 'j', 'i', 'h' };
static const symbol s_2_879[8] = { 'o', 'v', 'i', 't', 'i', 'j', 'i', 'h' };
static const symbol s_2_880[7] = { 'a', 's', 't', 'i', 'j', 'i', 'h' };
static const symbol s_2_881[6] = { 'a', 'v', 'i', 'j', 'i', 'h' };
static const symbol s_2_882[6] = { 'e', 'v', 'i', 'j', 'i', 'h' };
static const symbol s_2_883[6] = { 'i', 'v', 'i', 'j', 'i', 'h' };
static const symbol s_2_884[6] = { 'o', 'v', 'i', 'j', 'i', 'h' };
static const symbol s_2_885[7] = { 'o', 0xC5, 0xA1, 'i', 'j', 'i', 'h' };
static const symbol s_2_886[5] = { 'a', 'n', 'j', 'i', 'h' };
static const symbol s_2_887[5] = { 'e', 'n', 'j', 'i', 'h' };
static const symbol s_2_888[5] = { 's', 'n', 'j', 'i', 'h' };
static const symbol s_2_889[6] = { 0xC5, 0xA1, 'n', 'j', 'i', 'h' };
static const symbol s_2_890[3] = { 'k', 'i', 'h' };
static const symbol s_2_891[4] = { 's', 'k', 'i', 'h' };
static const symbol s_2_892[5] = { 0xC5, 0xA1, 'k', 'i', 'h' };
static const symbol s_2_893[4] = { 'e', 'l', 'i', 'h' };
static const symbol s_2_894[3] = { 'n', 'i', 'h' };
static const symbol s_2_895[5] = { 'c', 'i', 'n', 'i', 'h' };
static const symbol s_2_896[6] = { 0xC4, 0x8D, 'i', 'n', 'i', 'h' };
static const symbol s_2_897[4] = { 'o', 's', 'i', 'h' };
static const symbol s_2_898[5] = { 'r', 'o', 's', 'i', 'h' };
static const symbol s_2_899[4] = { 'a', 't', 'i', 'h' };
static const symbol s_2_900[5] = { 'j', 'e', 't', 'i', 'h' };
static const symbol s_2_901[6] = { 'e', 'v', 'i', 't', 'i', 'h' };
static const symbol s_2_902[6] = { 'o', 'v', 'i', 't', 'i', 'h' };
static const symbol s_2_903[5] = { 'a', 's', 't', 'i', 'h' };
static const symbol s_2_904[4] = { 'a', 'v', 'i', 'h' };
static const symbol s_2_905[4] = { 'e', 'v', 'i', 'h' };
static const symbol s_2_906[4] = { 'i', 'v', 'i', 'h' };
static const symbol s_2_907[4] = { 'o', 'v', 'i', 'h' };
static const symbol s_2_908[5] = { 'a', 0xC4, 0x87, 'i', 'h' };
static const symbol s_2_909[5] = { 'e', 0xC4, 0x87, 'i', 'h' };
static const symbol s_2_910[5] = { 'u', 0xC4, 0x87, 'i', 'h' };
static const symbol s_2_911[5] = { 'a', 0xC4, 0x8D, 'i', 'h' };
static const symbol s_2_912[6] = { 'l', 'u', 0xC4, 0x8D, 'i', 'h' };
static const symbol s_2_913[5] = { 'o', 0xC5, 0xA1, 'i', 'h' };
static const symbol s_2_914[6] = { 'r', 'o', 0xC5, 0xA1, 'i', 'h' };
static const symbol s_2_915[7] = { 'a', 's', 't', 'a', 'd', 'o', 'h' };
static const symbol s_2_916[7] = { 'i', 's', 't', 'a', 'd', 'o', 'h' };
static const symbol s_2_917[7] = { 'o', 's', 't', 'a', 'd', 'o', 'h' };
static const symbol s_2_918[4] = { 'a', 'c', 'u', 'h' };
static const symbol s_2_919[4] = { 'e', 'c', 'u', 'h' };
static const symbol s_2_920[4] = { 'u', 'c', 'u', 'h' };
static const symbol s_2_921[5] = { 'a', 0xC4, 0x87, 'u', 'h' };
static const symbol s_2_922[5] = { 'e', 0xC4, 0x87, 'u', 'h' };
static const symbol s_2_923[5] = { 'u', 0xC4, 0x87, 'u', 'h' };
static const symbol s_2_924[3] = { 'a', 'c', 'i' };
static const symbol s_2_925[5] = { 'a', 'c', 'e', 'c', 'i' };
static const symbol s_2_926[4] = { 'i', 'e', 'c', 'i' };
static const symbol s_2_927[5] = { 'a', 'j', 'u', 'c', 'i' };
static const symbol s_2_928[7] = { 'i', 'r', 'a', 'j', 'u', 'c', 'i' };
static const symbol s_2_929[7] = { 'u', 'r', 'a', 'j', 'u', 'c', 'i' };
static const symbol s_2_930[8] = { 'a', 's', 't', 'a', 'j', 'u', 'c', 'i' };
static const symbol s_2_931[8] = { 'i', 's', 't', 'a', 'j', 'u', 'c', 'i' };
static const symbol s_2_932[8] = { 'o', 's', 't', 'a', 'j', 'u', 'c', 'i' };
static const symbol s_2_933[7] = { 'a', 'v', 'a', 'j', 'u', 'c', 'i' };
static const symbol s_2_934[7] = { 'e', 'v', 'a', 'j', 'u', 'c', 'i' };
static const symbol s_2_935[7] = { 'i', 'v', 'a', 'j', 'u', 'c', 'i' };
static const symbol s_2_936[7] = { 'u', 'v', 'a', 'j', 'u', 'c', 'i' };
static const symbol s_2_937[5] = { 'u', 'j', 'u', 'c', 'i' };
static const symbol s_2_938[8] = { 'l', 'u', 'c', 'u', 'j', 'u', 'c', 'i' };
static const symbol s_2_939[7] = { 'i', 'r', 'u', 'j', 'u', 'c', 'i' };
static const symbol s_2_940[4] = { 'l', 'u', 'c', 'i' };
static const symbol s_2_941[4] = { 'n', 'u', 'c', 'i' };
static const symbol s_2_942[5] = { 'e', 't', 'u', 'c', 'i' };
static const symbol s_2_943[6] = { 'a', 's', 't', 'u', 'c', 'i' };
static const symbol s_2_944[2] = { 'g', 'i' };
static const symbol s_2_945[3] = { 'u', 'g', 'i' };
static const symbol s_2_946[3] = { 'a', 'j', 'i' };
static const symbol s_2_947[4] = { 'c', 'a', 'j', 'i' };
static const symbol s_2_948[4] = { 'l', 'a', 'j', 'i' };
static const symbol s_2_949[4] = { 'r', 'a', 'j', 'i' };
static const symbol s_2_950[5] = { 0xC4, 0x87, 'a', 'j', 'i' };
static const symbol s_2_951[5] = { 0xC4, 0x8D, 'a', 'j', 'i' };
static const symbol s_2_952[5] = { 0xC4, 0x91, 'a', 'j', 'i' };
static const symbol s_2_953[4] = { 'b', 'i', 'j', 'i' };
static const symbol s_2_954[4] = { 'c', 'i', 'j', 'i' };
static const symbol s_2_955[4] = { 'd', 'i', 'j', 'i' };
static const symbol s_2_956[4] = { 'f', 'i', 'j', 'i' };
static const symbol s_2_957[4] = { 'g', 'i', 'j', 'i' };
static const symbol s_2_958[6] = { 'a', 'n', 'j', 'i', 'j', 'i' };
static const symbol s_2_959[6] = { 'e', 'n', 'j', 'i', 'j', 'i' };
static const symbol s_2_960[6] = { 's', 'n', 'j', 'i', 'j', 'i' };
static const symbol s_2_961[7] = { 0xC5, 0xA1, 'n', 'j', 'i', 'j', 'i' };
static const symbol s_2_962[4] = { 'k', 'i', 'j', 'i' };
static const symbol s_2_963[5] = { 's', 'k', 'i', 'j', 'i' };
static const symbol s_2_964[6] = { 0xC5, 0xA1, 'k', 'i', 'j', 'i' };
static const symbol s_2_965[4] = { 'l', 'i', 'j', 'i' };
static const symbol s_2_966[5] = { 'e', 'l', 'i', 'j', 'i' };
static const symbol s_2_967[4] = { 'm', 'i', 'j', 'i' };
static const symbol s_2_968[4] = { 'n', 'i', 'j', 'i' };
static const symbol s_2_969[6] = { 'g', 'a', 'n', 'i', 'j', 'i' };
static const symbol s_2_970[6] = { 'm', 'a', 'n', 'i', 'j', 'i' };
static const symbol s_2_971[6] = { 'p', 'a', 'n', 'i', 'j', 'i' };
static const symbol s_2_972[6] = { 'r', 'a', 'n', 'i', 'j', 'i' };
static const symbol s_2_973[6] = { 't', 'a', 'n', 'i', 'j', 'i' };
static const symbol s_2_974[4] = { 'p', 'i', 'j', 'i' };
static const symbol s_2_975[4] = { 'r', 'i', 'j', 'i' };
static const symbol s_2_976[4] = { 's', 'i', 'j', 'i' };
static const symbol s_2_977[5] = { 'o', 's', 'i', 'j', 'i' };
static const symbol s_2_978[4] = { 't', 'i', 'j', 'i' };
static const symbol s_2_979[5] = { 'a', 't', 'i', 'j', 'i' };
static const symbol s_2_980[7] = { 'e', 'v', 'i', 't', 'i', 'j', 'i' };
static const symbol s_2_981[7] = { 'o', 'v', 'i', 't', 'i', 'j', 'i' };
static const symbol s_2_982[6] = { 'a', 's', 't', 'i', 'j', 'i' };
static const symbol s_2_983[5] = { 'a', 'v', 'i', 'j', 'i' };
static const symbol s_2_984[5] = { 'e', 'v', 'i', 'j', 'i' };
static const symbol s_2_985[5] = { 'i', 'v', 'i', 'j', 'i' };
static const symbol s_2_986[5] = { 'o', 'v', 'i', 'j', 'i' };
static const symbol s_2_987[4] = { 'z', 'i', 'j', 'i' };
static const symbol s_2_988[6] = { 'o', 0xC5, 0xA1, 'i', 'j', 'i' };
static const symbol s_2_989[5] = { 0xC5, 0xBE, 'i', 'j', 'i' };
static const symbol s_2_990[4] = { 'a', 'n', 'j', 'i' };
static const symbol s_2_991[4] = { 'e', 'n', 'j', 'i' };
static const symbol s_2_992[4] = { 's', 'n', 'j', 'i' };
static const symbol s_2_993[5] = { 0xC5, 0xA1, 'n', 'j', 'i' };
static const symbol s_2_994[2] = { 'k', 'i' };
static const symbol s_2_995[3] = { 's', 'k', 'i' };
static const symbol s_2_996[4] = { 0xC5, 0xA1, 'k', 'i' };
static const symbol s_2_997[3] = { 'a', 'l', 'i' };
static const symbol s_2_998[5] = { 'a', 'c', 'a', 'l', 'i' };
static const symbol s_2_999[8] = { 'a', 's', 't', 'a', 'j', 'a', 'l', 'i' };
static const symbol s_2_1000[8] = { 'i', 's', 't', 'a', 'j', 'a', 'l', 'i' };
static const symbol s_2_1001[8] = { 'o', 's', 't', 'a', 'j', 'a', 'l', 'i' };
static const symbol s_2_1002[5] = { 'i', 'j', 'a', 'l', 'i' };
static const symbol s_2_1003[6] = { 'i', 'n', 'j', 'a', 'l', 'i' };
static const symbol s_2_1004[4] = { 'n', 'a', 'l', 'i' };
static const symbol s_2_1005[5] = { 'i', 'r', 'a', 'l', 'i' };
static const symbol s_2_1006[5] = { 'u', 'r', 'a', 'l', 'i' };
static const symbol s_2_1007[4] = { 't', 'a', 'l', 'i' };
static const symbol s_2_1008[6] = { 'a', 's', 't', 'a', 'l', 'i' };
static const symbol s_2_1009[6] = { 'i', 's', 't', 'a', 'l', 'i' };
static const symbol s_2_1010[6] = { 'o', 's', 't', 'a', 'l', 'i' };
static const symbol s_2_1011[5] = { 'a', 'v', 'a', 'l', 'i' };
static const symbol s_2_1012[5] = { 'e', 'v', 'a', 'l', 'i' };
static const symbol s_2_1013[5] = { 'i', 'v', 'a', 'l', 'i' };
static const symbol s_2_1014[5] = { 'o', 'v', 'a', 'l', 'i' };
static const symbol s_2_1015[5] = { 'u', 'v', 'a', 'l', 'i' };
static const symbol s_2_1016[6] = { 'a', 0xC4, 0x8D, 'a', 'l', 'i' };
static const symbol s_2_1017[3] = { 'e', 'l', 'i' };
static const symbol s_2_1018[3] = { 'i', 'l', 'i' };
static const symbol s_2_1019[5] = { 'a', 'c', 'i', 'l', 'i' };
static const symbol s_2_1020[6] = { 'l', 'u', 'c', 'i', 'l', 'i' };
static const symbol s_2_1021[4] = { 'n', 'i', 'l', 'i' };
static const symbol s_2_1022[6] = { 'r', 'o', 's', 'i', 'l', 'i' };
static const symbol s_2_1023[6] = { 'j', 'e', 't', 'i', 'l', 'i' };
static const symbol s_2_1024[5] = { 'o', 'z', 'i', 'l', 'i' };
static const symbol s_2_1025[6] = { 'a', 0xC4, 0x8D, 'i', 'l', 'i' };
static const symbol s_2_1026[7] = { 'l', 'u', 0xC4, 0x8D, 'i', 'l', 'i' };
static const symbol s_2_1027[7] = { 'r', 'o', 0xC5, 0xA1, 'i', 'l', 'i' };
static const symbol s_2_1028[3] = { 'o', 'l', 'i' };
static const symbol s_2_1029[4] = { 'a', 's', 'l', 'i' };
static const symbol s_2_1030[4] = { 'n', 'u', 'l', 'i' };
static const symbol s_2_1031[4] = { 'r', 'a', 'm', 'i' };
static const symbol s_2_1032[4] = { 'l', 'e', 'm', 'i' };
static const symbol s_2_1033[2] = { 'n', 'i' };
static const symbol s_2_1034[3] = { 'a', 'n', 'i' };
static const symbol s_2_1035[5] = { 'a', 'c', 'a', 'n', 'i' };
static const symbol s_2_1036[5] = { 'u', 'r', 'a', 'n', 'i' };
static const symbol s_2_1037[4] = { 't', 'a', 'n', 'i' };
static const symbol s_2_1038[5] = { 'a', 'v', 'a', 'n', 'i' };
static const symbol s_2_1039[5] = { 'e', 'v', 'a', 'n', 'i' };
static const symbol s_2_1040[5] = { 'i', 'v', 'a', 'n', 'i' };
static const symbol s_2_1041[5] = { 'u', 'v', 'a', 'n', 'i' };
static const symbol s_2_1042[6] = { 'a', 0xC4, 0x8D, 'a', 'n', 'i' };
static const symbol s_2_1043[5] = { 'a', 'c', 'e', 'n', 'i' };
static const symbol s_2_1044[6] = { 'l', 'u', 'c', 'e', 'n', 'i' };
static const symbol s_2_1045[6] = { 'a', 0xC4, 0x8D, 'e', 'n', 'i' };
static const symbol s_2_1046[7] = { 'l', 'u', 0xC4, 0x8D, 'e', 'n', 'i' };
static const symbol s_2_1047[3] = { 'i', 'n', 'i' };
static const symbol s_2_1048[4] = { 'c', 'i', 'n', 'i' };
static const symbol s_2_1049[5] = { 0xC4, 0x8D, 'i', 'n', 'i' };
static const symbol s_2_1050[3] = { 'o', 'n', 'i' };
static const symbol s_2_1051[3] = { 'a', 'r', 'i' };
static const symbol s_2_1052[3] = { 'd', 'r', 'i' };
static const symbol s_2_1053[3] = { 'e', 'r', 'i' };
static const symbol s_2_1054[3] = { 'o', 'r', 'i' };
static const symbol s_2_1055[4] = { 'b', 'a', 's', 'i' };
static const symbol s_2_1056[4] = { 'g', 'a', 's', 'i' };
static const symbol s_2_1057[4] = { 'j', 'a', 's', 'i' };
static const symbol s_2_1058[4] = { 'k', 'a', 's', 'i' };
static const symbol s_2_1059[4] = { 'n', 'a', 's', 'i' };
static const symbol s_2_1060[4] = { 't', 'a', 's', 'i' };
static const symbol s_2_1061[4] = { 'v', 'a', 's', 'i' };
static const symbol s_2_1062[3] = { 'e', 's', 'i' };
static const symbol s_2_1063[3] = { 'i', 's', 'i' };
static const symbol s_2_1064[3] = { 'o', 's', 'i' };
static const symbol s_2_1065[4] = { 'a', 'v', 's', 'i' };
static const symbol s_2_1066[6] = { 'a', 'c', 'a', 'v', 's', 'i' };
static const symbol s_2_1067[6] = { 'i', 'r', 'a', 'v', 's', 'i' };
static const symbol s_2_1068[5] = { 't', 'a', 'v', 's', 'i' };
static const symbol s_2_1069[6] = { 'e', 't', 'a', 'v', 's', 'i' };
static const symbol s_2_1070[7] = { 'a', 's', 't', 'a', 'v', 's', 'i' };
static const symbol s_2_1071[7] = { 'i', 's', 't', 'a', 'v', 's', 'i' };
static const symbol s_2_1072[7] = { 'o', 's', 't', 'a', 'v', 's', 'i' };
static const symbol s_2_1073[4] = { 'i', 'v', 's', 'i' };
static const symbol s_2_1074[5] = { 'n', 'i', 'v', 's', 'i' };
static const symbol s_2_1075[7] = { 'r', 'o', 's', 'i', 'v', 's', 'i' };
static const symbol s_2_1076[5] = { 'n', 'u', 'v', 's', 'i' };
static const symbol s_2_1077[3] = { 'a', 't', 'i' };
static const symbol s_2_1078[5] = { 'a', 'c', 'a', 't', 'i' };
static const symbol s_2_1079[8] = { 'a', 's', 't', 'a', 'j', 'a', 't', 'i' };
static const symbol s_2_1080[8] = { 'i', 's', 't', 'a', 'j', 'a', 't', 'i' };
static const symbol s_2_1081[8] = { 'o', 's', 't', 'a', 'j', 'a', 't', 'i' };
static const symbol s_2_1082[6] = { 'i', 'n', 'j', 'a', 't', 'i' };
static const symbol s_2_1083[5] = { 'i', 'k', 'a', 't', 'i' };
static const symbol s_2_1084[4] = { 'l', 'a', 't', 'i' };
static const symbol s_2_1085[5] = { 'i', 'r', 'a', 't', 'i' };
static const symbol s_2_1086[5] = { 'u', 'r', 'a', 't', 'i' };
static const symbol s_2_1087[4] = { 't', 'a', 't', 'i' };
static const symbol s_2_1088[6] = { 'a', 's', 't', 'a', 't', 'i' };
static const symbol s_2_1089[6] = { 'i', 's', 't', 'a', 't', 'i' };
static const symbol s_2_1090[6] = { 'o', 's', 't', 'a', 't', 'i' };
static const symbol s_2_1091[5] = { 'a', 'v', 'a', 't', 'i' };
static const symbol s_2_1092[5] = { 'e', 'v', 'a', 't', 'i' };
static const symbol s_2_1093[5] = { 'i', 'v', 'a', 't', 'i' };
static const symbol s_2_1094[5] = { 'o', 'v', 'a', 't', 'i' };
static const symbol s_2_1095[5] = { 'u', 'v', 'a', 't', 'i' };
static const symbol s_2_1096[6] = { 'a', 0xC4, 0x8D, 'a', 't', 'i' };
static const symbol s_2_1097[3] = { 'e', 't', 'i' };
static const symbol s_2_1098[3] = { 'i', 't', 'i' };
static const symbol s_2_1099[5] = { 'a', 'c', 'i', 't', 'i' };
static const symbol s_2_1100[6] = { 'l', 'u', 'c', 'i', 't', 'i' };
static const symbol s_2_1101[4] = { 'n', 'i', 't', 'i' };
static const symbol s_2_1102[6] = { 'r', 'o', 's', 'i', 't', 'i' };
static const symbol s_2_1103[6] = { 'j', 'e', 't', 'i', 't', 'i' };
static const symbol s_2_1104[5] = { 'e', 'v', 'i', 't', 'i' };
static const symbol s_2_1105[5] = { 'o', 'v', 'i', 't', 'i' };
static const symbol s_2_1106[6] = { 'a', 0xC4, 0x8D, 'i', 't', 'i' };
static const symbol s_2_1107[7] = { 'l', 'u', 0xC4, 0x8D, 'i', 't', 'i' };
static const symbol s_2_1108[7] = { 'r', 'o', 0xC5, 0xA1, 'i', 't', 'i' };
static const symbol s_2_1109[4] = { 'a', 's', 't', 'i' };
static const symbol s_2_1110[4] = { 'e', 's', 't', 'i' };
static const symbol s_2_1111[4] = { 'i', 's', 't', 'i' };
static const symbol s_2_1112[4] = { 'k', 's', 't', 'i' };
static const symbol s_2_1113[4] = { 'o', 's', 't', 'i' };
static const symbol s_2_1114[4] = { 'n', 'u', 't', 'i' };
static const symbol s_2_1115[3] = { 'a', 'v', 'i' };
static const symbol s_2_1116[3] = { 'e', 'v', 'i' };
static const symbol s_2_1117[5] = { 'a', 'j', 'e', 'v', 'i' };
static const symbol s_2_1118[6] = { 'c', 'a', 'j', 'e', 'v', 'i' };
static const symbol s_2_1119[6] = { 'l', 'a', 'j', 'e', 'v', 'i' };
static const symbol s_2_1120[6] = { 'r', 'a', 'j', 'e', 'v', 'i' };
static const symbol s_2_1121[7] = { 0xC4, 0x87, 'a', 'j', 'e', 'v', 'i' };
static const symbol s_2_1122[7] = { 0xC4, 0x8D, 'a', 'j', 'e', 'v', 'i' };
static const symbol s_2_1123[7] = { 0xC4, 0x91, 'a', 'j', 'e', 'v', 'i' };
static const symbol s_2_1124[3] = { 'i', 'v', 'i' };
static const symbol s_2_1125[3] = { 'o', 'v', 'i' };
static const symbol s_2_1126[4] = { 'g', 'o', 'v', 'i' };
static const symbol s_2_1127[5] = { 'u', 'g', 'o', 'v', 'i' };
static const symbol s_2_1128[4] = { 'l', 'o', 'v', 'i' };
static const symbol s_2_1129[5] = { 'o', 'l', 'o', 'v', 'i' };
static const symbol s_2_1130[4] = { 'm', 'o', 'v', 'i' };
static const symbol s_2_1131[5] = { 'o', 'n', 'o', 'v', 'i' };
static const symbol s_2_1132[5] = { 'i', 'e', 0xC4, 0x87, 'i' };
static const symbol s_2_1133[7] = { 'a', 0xC4, 0x8D, 'e', 0xC4, 0x87, 'i' };
static const symbol s_2_1134[6] = { 'a', 'j', 'u', 0xC4, 0x87, 'i' };
static const symbol s_2_1135[8] = { 'i', 'r', 'a', 'j', 'u', 0xC4, 0x87, 'i' };
static const symbol s_2_1136[8] = { 'u', 'r', 'a', 'j', 'u', 0xC4, 0x87, 'i' };
static const symbol s_2_1137[9] = { 'a', 's', 't', 'a', 'j', 'u', 0xC4, 0x87, 'i' };
static const symbol s_2_1138[9] = { 'i', 's', 't', 'a', 'j', 'u', 0xC4, 0x87, 'i' };
static const symbol s_2_1139[9] = { 'o', 's', 't', 'a', 'j', 'u', 0xC4, 0x87, 'i' };
static const symbol s_2_1140[8] = { 'a', 'v', 'a', 'j', 'u', 0xC4, 0x87, 'i' };
static const symbol s_2_1141[8] = { 'e', 'v', 'a', 'j', 'u', 0xC4, 0x87, 'i' };
static const symbol s_2_1142[8] = { 'i', 'v', 'a', 'j', 'u', 0xC4, 0x87, 'i' };
static const symbol s_2_1143[8] = { 'u', 'v', 'a', 'j', 'u', 0xC4, 0x87, 'i' };
static const symbol s_2_1144[6] = { 'u', 'j', 'u', 0xC4, 0x87, 'i' };
static const symbol s_2_1145[8] = { 'i', 'r', 'u', 'j', 'u', 0xC4, 0x87, 'i' };
static const symbol s_2_1146[10] = { 'l', 'u', 0xC4, 0x8D, 'u', 'j', 'u', 0xC4, 0x87, 'i' };
static const symbol s_2_1147[5] = { 'n', 'u', 0xC4, 0x87, 'i' };
static const symbol s_2_1148[6] = { 'e', 't', 'u', 0xC4, 0x87, 'i' };
static const symbol s_2_1149[7] = { 'a', 's', 't', 'u', 0xC4, 0x87, 'i' };
static const symbol s_2_1150[4] = { 'a', 0xC4, 0x8D, 'i' };
static const symbol s_2_1151[5] = { 'l', 'u', 0xC4, 0x8D, 'i' };
static const symbol s_2_1152[5] = { 'b', 'a', 0xC5, 0xA1, 'i' };
static const symbol s_2_1153[5] = { 'g', 'a', 0xC5, 0xA1, 'i' };
static const symbol s_2_1154[5] = { 'j', 'a', 0xC5, 0xA1, 'i' };
static const symbol s_2_1155[5] = { 'k', 'a', 0xC5, 0xA1, 'i' };
static const symbol s_2_1156[5] = { 'n', 'a', 0xC5, 0xA1, 'i' };
static const symbol s_2_1157[5] = { 't', 'a', 0xC5, 0xA1, 'i' };
static const symbol s_2_1158[5] = { 'v', 'a', 0xC5, 0xA1, 'i' };
static const symbol s_2_1159[4] = { 'e', 0xC5, 0xA1, 'i' };
static const symbol s_2_1160[4] = { 'i', 0xC5, 0xA1, 'i' };
static const symbol s_2_1161[4] = { 'o', 0xC5, 0xA1, 'i' };
static const symbol s_2_1162[5] = { 'a', 'v', 0xC5, 0xA1, 'i' };
static const symbol s_2_1163[7] = { 'i', 'r', 'a', 'v', 0xC5, 0xA1, 'i' };
static const symbol s_2_1164[6] = { 't', 'a', 'v', 0xC5, 0xA1, 'i' };
static const symbol s_2_1165[7] = { 'e', 't', 'a', 'v', 0xC5, 0xA1, 'i' };
static const symbol s_2_1166[8] = { 'a', 's', 't', 'a', 'v', 0xC5, 0xA1, 'i' };
static const symbol s_2_1167[8] = { 'i', 's', 't', 'a', 'v', 0xC5, 0xA1, 'i' };
static const symbol s_2_1168[8] = { 'o', 's', 't', 'a', 'v', 0xC5, 0xA1, 'i' };
static const symbol s_2_1169[8] = { 'a', 0xC4, 0x8D, 'a', 'v', 0xC5, 0xA1, 'i' };
static const symbol s_2_1170[5] = { 'i', 'v', 0xC5, 0xA1, 'i' };
static const symbol s_2_1171[6] = { 'n', 'i', 'v', 0xC5, 0xA1, 'i' };
static const symbol s_2_1172[9] = { 'r', 'o', 0xC5, 0xA1, 'i', 'v', 0xC5, 0xA1, 'i' };
static const symbol s_2_1173[6] = { 'n', 'u', 'v', 0xC5, 0xA1, 'i' };
static const symbol s_2_1174[2] = { 'a', 'j' };
static const symbol s_2_1175[4] = { 'u', 'r', 'a', 'j' };
static const symbol s_2_1176[3] = { 't', 'a', 'j' };
static const symbol s_2_1177[4] = { 'a', 'v', 'a', 'j' };
static const symbol s_2_1178[4] = { 'e', 'v', 'a', 'j' };
static const symbol s_2_1179[4] = { 'i', 'v', 'a', 'j' };
static const symbol s_2_1180[4] = { 'u', 'v', 'a', 'j' };
static const symbol s_2_1181[2] = { 'i', 'j' };
static const symbol s_2_1182[4] = { 'a', 'c', 'o', 'j' };
static const symbol s_2_1183[4] = { 'e', 'c', 'o', 'j' };
static const symbol s_2_1184[4] = { 'u', 'c', 'o', 'j' };
static const symbol s_2_1185[7] = { 'a', 'n', 'j', 'i', 'j', 'o', 'j' };
static const symbol s_2_1186[7] = { 'e', 'n', 'j', 'i', 'j', 'o', 'j' };
static const symbol s_2_1187[7] = { 's', 'n', 'j', 'i', 'j', 'o', 'j' };
static const symbol s_2_1188[8] = { 0xC5, 0xA1, 'n', 'j', 'i', 'j', 'o', 'j' };
static const symbol s_2_1189[5] = { 'k', 'i', 'j', 'o', 'j' };
static const symbol s_2_1190[6] = { 's', 'k', 'i', 'j', 'o', 'j' };
static const symbol s_2_1191[7] = { 0xC5, 0xA1, 'k', 'i', 'j', 'o', 'j' };
static const symbol s_2_1192[6] = { 'e', 'l', 'i', 'j', 'o', 'j' };
static const symbol s_2_1193[5] = { 'n', 'i', 'j', 'o', 'j' };
static const symbol s_2_1194[6] = { 'o', 's', 'i', 'j', 'o', 'j' };
static const symbol s_2_1195[8] = { 'e', 'v', 'i', 't', 'i', 'j', 'o', 'j' };
static const symbol s_2_1196[8] = { 'o', 'v', 'i', 't', 'i', 'j', 'o', 'j' };
static const symbol s_2_1197[7] = { 'a', 's', 't', 'i', 'j', 'o', 'j' };
static const symbol s_2_1198[6] = { 'a', 'v', 'i', 'j', 'o', 'j' };
static const symbol s_2_1199[6] = { 'e', 'v', 'i', 'j', 'o', 'j' };
static const symbol s_2_1200[6] = { 'i', 'v', 'i', 'j', 'o', 'j' };
static const symbol s_2_1201[6] = { 'o', 'v', 'i', 'j', 'o', 'j' };
static const symbol s_2_1202[7] = { 'o', 0xC5, 0xA1, 'i', 'j', 'o', 'j' };
static const symbol s_2_1203[5] = { 'a', 'n', 'j', 'o', 'j' };
static const symbol s_2_1204[5] = { 'e', 'n', 'j', 'o', 'j' };
static const symbol s_2_1205[5] = { 's', 'n', 'j', 'o', 'j' };
static const symbol s_2_1206[6] = { 0xC5, 0xA1, 'n', 'j', 'o', 'j' };
static const symbol s_2_1207[3] = { 'k', 'o', 'j' };
static const symbol s_2_1208[4] = { 's', 'k', 'o', 'j' };
static const symbol s_2_1209[5] = { 0xC5, 0xA1, 'k', 'o', 'j' };
static const symbol s_2_1210[4] = { 'a', 'l', 'o', 'j' };
static const symbol s_2_1211[4] = { 'e', 'l', 'o', 'j' };
static const symbol s_2_1212[3] = { 'n', 'o', 'j' };
static const symbol s_2_1213[5] = { 'c', 'i', 'n', 'o', 'j' };
static const symbol s_2_1214[6] = { 0xC4, 0x8D, 'i', 'n', 'o', 'j' };
static const symbol s_2_1215[4] = { 'o', 's', 'o', 'j' };
static const symbol s_2_1216[4] = { 'a', 't', 'o', 'j' };
static const symbol s_2_1217[6] = { 'e', 'v', 'i', 't', 'o', 'j' };
static const symbol s_2_1218[6] = { 'o', 'v', 'i', 't', 'o', 'j' };
static const symbol s_2_1219[5] = { 'a', 's', 't', 'o', 'j' };
static const symbol s_2_1220[4] = { 'a', 'v', 'o', 'j' };
static const symbol s_2_1221[4] = { 'e', 'v', 'o', 'j' };
static const symbol s_2_1222[4] = { 'i', 'v', 'o', 'j' };
static const symbol s_2_1223[4] = { 'o', 'v', 'o', 'j' };
static const symbol s_2_1224[5] = { 'a', 0xC4, 0x87, 'o', 'j' };
static const symbol s_2_1225[5] = { 'e', 0xC4, 0x87, 'o', 'j' };
static const symbol s_2_1226[5] = { 'u', 0xC4, 0x87, 'o', 'j' };
static const symbol s_2_1227[5] = { 'o', 0xC5, 0xA1, 'o', 'j' };
static const symbol s_2_1228[5] = { 'l', 'u', 'c', 'u', 'j' };
static const symbol s_2_1229[4] = { 'i', 'r', 'u', 'j' };
static const symbol s_2_1230[6] = { 'l', 'u', 0xC4, 0x8D, 'u', 'j' };
static const symbol s_2_1231[2] = { 'a', 'l' };
static const symbol s_2_1232[4] = { 'i', 'r', 'a', 'l' };
static const symbol s_2_1233[4] = { 'u', 'r', 'a', 'l' };
static const symbol s_2_1234[2] = { 'e', 'l' };
static const symbol s_2_1235[2] = { 'i', 'l' };
static const symbol s_2_1236[2] = { 'a', 'm' };
static const symbol s_2_1237[4] = { 'a', 'c', 'a', 'm' };
static const symbol s_2_1238[4] = { 'i', 'r', 'a', 'm' };
static const symbol s_2_1239[4] = { 'u', 'r', 'a', 'm' };
static const symbol s_2_1240[3] = { 't', 'a', 'm' };
static const symbol s_2_1241[4] = { 'a', 'v', 'a', 'm' };
static const symbol s_2_1242[4] = { 'e', 'v', 'a', 'm' };
static const symbol s_2_1243[4] = { 'i', 'v', 'a', 'm' };
static const symbol s_2_1244[4] = { 'u', 'v', 'a', 'm' };
static const symbol s_2_1245[5] = { 'a', 0xC4, 0x8D, 'a', 'm' };
static const symbol s_2_1246[2] = { 'e', 'm' };
static const symbol s_2_1247[4] = { 'a', 'c', 'e', 'm' };
static const symbol s_2_1248[4] = { 'e', 'c', 'e', 'm' };
static const symbol s_2_1249[4] = { 'u', 'c', 'e', 'm' };
static const symbol s_2_1250[7] = { 'a', 's', 't', 'a', 'd', 'e', 'm' };
static const symbol s_2_1251[7] = { 'i', 's', 't', 'a', 'd', 'e', 'm' };
static const symbol s_2_1252[7] = { 'o', 's', 't', 'a', 'd', 'e', 'm' };
static const symbol s_2_1253[4] = { 'a', 'j', 'e', 'm' };
static const symbol s_2_1254[5] = { 'c', 'a', 'j', 'e', 'm' };
static const symbol s_2_1255[5] = { 'l', 'a', 'j', 'e', 'm' };
static const symbol s_2_1256[5] = { 'r', 'a', 'j', 'e', 'm' };
static const symbol s_2_1257[7] = { 'a', 's', 't', 'a', 'j', 'e', 'm' };
static const symbol s_2_1258[7] = { 'i', 's', 't', 'a', 'j', 'e', 'm' };
static const symbol s_2_1259[7] = { 'o', 's', 't', 'a', 'j', 'e', 'm' };
static const symbol s_2_1260[6] = { 0xC4, 0x87, 'a', 'j', 'e', 'm' };
static const symbol s_2_1261[6] = { 0xC4, 0x8D, 'a', 'j', 'e', 'm' };
static const symbol s_2_1262[6] = { 0xC4, 0x91, 'a', 'j', 'e', 'm' };
static const symbol s_2_1263[4] = { 'i', 'j', 'e', 'm' };
static const symbol s_2_1264[7] = { 'a', 'n', 'j', 'i', 'j', 'e', 'm' };
static const symbol s_2_1265[7] = { 'e', 'n', 'j', 'i', 'j', 'e', 'm' };
static const symbol s_2_1266[7] = { 's', 'n', 'j', 'i', 'j', 'e', 'm' };
static const symbol s_2_1267[8] = { 0xC5, 0xA1, 'n', 'j', 'i', 'j', 'e', 'm' };
static const symbol s_2_1268[5] = { 'k', 'i', 'j', 'e', 'm' };
static const symbol s_2_1269[6] = { 's', 'k', 'i', 'j', 'e', 'm' };
static const symbol s_2_1270[7] = { 0xC5, 0xA1, 'k', 'i', 'j', 'e', 'm' };
static const symbol s_2_1271[5] = { 'l', 'i', 'j', 'e', 'm' };
static const symbol s_2_1272[6] = { 'e', 'l', 'i', 'j', 'e', 'm' };
static const symbol s_2_1273[5] = { 'n', 'i', 'j', 'e', 'm' };
static const symbol s_2_1274[7] = { 'r', 'a', 'r', 'i', 'j', 'e', 'm' };
static const symbol s_2_1275[5] = { 's', 'i', 'j', 'e', 'm' };
static const symbol s_2_1276[6] = { 'o', 's', 'i', 'j', 'e', 'm' };
static const symbol s_2_1277[6] = { 'a', 't', 'i', 'j', 'e', 'm' };
static const symbol s_2_1278[8] = { 'e', 'v', 'i', 't', 'i', 'j', 'e', 'm' };
static const symbol s_2_1279[8] = { 'o', 'v', 'i', 't', 'i', 'j', 'e', 'm' };
static const symbol s_2_1280[6] = { 'o', 't', 'i', 'j', 'e', 'm' };
static const symbol s_2_1281[7] = { 'a', 's', 't', 'i', 'j', 'e', 'm' };
static const symbol s_2_1282[6] = { 'a', 'v', 'i', 'j', 'e', 'm' };
static const symbol s_2_1283[6] = { 'e', 'v', 'i', 'j', 'e', 'm' };
static const symbol s_2_1284[6] = { 'i', 'v', 'i', 'j', 'e', 'm' };
static const symbol s_2_1285[6] = { 'o', 'v', 'i', 'j', 'e', 'm' };
static const symbol s_2_1286[7] = { 'o', 0xC5, 0xA1, 'i', 'j', 'e', 'm' };
static const symbol s_2_1287[5] = { 'a', 'n', 'j', 'e', 'm' };
static const symbol s_2_1288[5] = { 'e', 'n', 'j', 'e', 'm' };
static const symbol s_2_1289[5] = { 'i', 'n', 'j', 'e', 'm' };
static const symbol s_2_1290[5] = { 's', 'n', 'j', 'e', 'm' };
static const symbol s_2_1291[6] = { 0xC5, 0xA1, 'n', 'j', 'e', 'm' };
static const symbol s_2_1292[4] = { 'u', 'j', 'e', 'm' };
static const symbol s_2_1293[7] = { 'l', 'u', 'c', 'u', 'j', 'e', 'm' };
static const symbol s_2_1294[6] = { 'i', 'r', 'u', 'j', 'e', 'm' };
static const symbol s_2_1295[8] = { 'l', 'u', 0xC4, 0x8D, 'u', 'j', 'e', 'm' };
static const symbol s_2_1296[3] = { 'k', 'e', 'm' };
static const symbol s_2_1297[4] = { 's', 'k', 'e', 'm' };
static const symbol s_2_1298[5] = { 0xC5, 0xA1, 'k', 'e', 'm' };
static const symbol s_2_1299[4] = { 'e', 'l', 'e', 'm' };
static const symbol s_2_1300[3] = { 'n', 'e', 'm' };
static const symbol s_2_1301[4] = { 'a', 'n', 'e', 'm' };
static const symbol s_2_1302[7] = { 'a', 's', 't', 'a', 'n', 'e', 'm' };
static const symbol s_2_1303[7] = { 'i', 's', 't', 'a', 'n', 'e', 'm' };
static const symbol s_2_1304[7] = { 'o', 's', 't', 'a', 'n', 'e', 'm' };
static const symbol s_2_1305[4] = { 'e', 'n', 'e', 'm' };
static const symbol s_2_1306[4] = { 's', 'n', 'e', 'm' };
static const symbol s_2_1307[5] = { 0xC5, 0xA1, 'n', 'e', 'm' };
static const symbol s_2_1308[5] = { 'b', 'a', 's', 'e', 'm' };
static const symbol s_2_1309[5] = { 'g', 'a', 's', 'e', 'm' };
static const symbol s_2_1310[5] = { 'j', 'a', 's', 'e', 'm' };
static const symbol s_2_1311[5] = { 'k', 'a', 's', 'e', 'm' };
static const symbol s_2_1312[5] = { 'n', 'a', 's', 'e', 'm' };
static const symbol s_2_1313[5] = { 't', 'a', 's', 'e', 'm' };
static const symbol s_2_1314[5] = { 'v', 'a', 's', 'e', 'm' };
static const symbol s_2_1315[4] = { 'e', 's', 'e', 'm' };
static const symbol s_2_1316[4] = { 'i', 's', 'e', 'm' };
static const symbol s_2_1317[4] = { 'o', 's', 'e', 'm' };
static const symbol s_2_1318[4] = { 'a', 't', 'e', 'm' };
static const symbol s_2_1319[4] = { 'e', 't', 'e', 'm' };
static const symbol s_2_1320[6] = { 'e', 'v', 'i', 't', 'e', 'm' };
static const symbol s_2_1321[6] = { 'o', 'v', 'i', 't', 'e', 'm' };
static const symbol s_2_1322[5] = { 'a', 's', 't', 'e', 'm' };
static const symbol s_2_1323[5] = { 'i', 's', 't', 'e', 'm' };
static const symbol s_2_1324[6] = { 'i', 0xC5, 0xA1, 't', 'e', 'm' };
static const symbol s_2_1325[4] = { 'a', 'v', 'e', 'm' };
static const symbol s_2_1326[4] = { 'e', 'v', 'e', 'm' };
static const symbol s_2_1327[4] = { 'i', 'v', 'e', 'm' };
static const symbol s_2_1328[5] = { 'a', 0xC4, 0x87, 'e', 'm' };
static const symbol s_2_1329[5] = { 'e', 0xC4, 0x87, 'e', 'm' };
static const symbol s_2_1330[5] = { 'u', 0xC4, 0x87, 'e', 'm' };
static const symbol s_2_1331[6] = { 'b', 'a', 0xC5, 0xA1, 'e', 'm' };
static const symbol s_2_1332[6] = { 'g', 'a', 0xC5, 0xA1, 'e', 'm' };
static const symbol s_2_1333[6] = { 'j', 'a', 0xC5, 0xA1, 'e', 'm' };
static const symbol s_2_1334[6] = { 'k', 'a', 0xC5, 0xA1, 'e', 'm' };
static const symbol s_2_1335[6] = { 'n', 'a', 0xC5, 0xA1, 'e', 'm' };
static const symbol s_2_1336[6] = { 't', 'a', 0xC5, 0xA1, 'e', 'm' };
static const symbol s_2_1337[6] = { 'v', 'a', 0xC5, 0xA1, 'e', 'm' };
static const symbol s_2_1338[5] = { 'e', 0xC5, 0xA1, 'e', 'm' };
static const symbol s_2_1339[5] = { 'i', 0xC5, 0xA1, 'e', 'm' };
static const symbol s_2_1340[5] = { 'o', 0xC5, 0xA1, 'e', 'm' };
static const symbol s_2_1341[2] = { 'i', 'm' };
static const symbol s_2_1342[4] = { 'a', 'c', 'i', 'm' };
static const symbol s_2_1343[4] = { 'e', 'c', 'i', 'm' };
static const symbol s_2_1344[4] = { 'u', 'c', 'i', 'm' };
static const symbol s_2_1345[5] = { 'l', 'u', 'c', 'i', 'm' };
static const symbol s_2_1346[7] = { 'a', 'n', 'j', 'i', 'j', 'i', 'm' };
static const symbol s_2_1347[7] = { 'e', 'n', 'j', 'i', 'j', 'i', 'm' };
static const symbol s_2_1348[7] = { 's', 'n', 'j', 'i', 'j', 'i', 'm' };
static const symbol s_2_1349[8] = { 0xC5, 0xA1, 'n', 'j', 'i', 'j', 'i', 'm' };
static const symbol s_2_1350[5] = { 'k', 'i', 'j', 'i', 'm' };
static const symbol s_2_1351[6] = { 's', 'k', 'i', 'j', 'i', 'm' };
static const symbol s_2_1352[7] = { 0xC5, 0xA1, 'k', 'i', 'j', 'i', 'm' };
static const symbol s_2_1353[6] = { 'e', 'l', 'i', 'j', 'i', 'm' };
static const symbol s_2_1354[5] = { 'n', 'i', 'j', 'i', 'm' };
static const symbol s_2_1355[6] = { 'o', 's', 'i', 'j', 'i', 'm' };
static const symbol s_2_1356[6] = { 'a', 't', 'i', 'j', 'i', 'm' };
static const symbol s_2_1357[8] = { 'e', 'v', 'i', 't', 'i', 'j', 'i', 'm' };
static const symbol s_2_1358[8] = { 'o', 'v', 'i', 't', 'i', 'j', 'i', 'm' };
static const symbol s_2_1359[7] = { 'a', 's', 't', 'i', 'j', 'i', 'm' };
static const symbol s_2_1360[6] = { 'a', 'v', 'i', 'j', 'i', 'm' };
static const symbol s_2_1361[6] = { 'e', 'v', 'i', 'j', 'i', 'm' };
static const symbol s_2_1362[6] = { 'i', 'v', 'i', 'j', 'i', 'm' };
static const symbol s_2_1363[6] = { 'o', 'v', 'i', 'j', 'i', 'm' };
static const symbol s_2_1364[7] = { 'o', 0xC5, 0xA1, 'i', 'j', 'i', 'm' };
static const symbol s_2_1365[5] = { 'a', 'n', 'j', 'i', 'm' };
static const symbol s_2_1366[5] = { 'e', 'n', 'j', 'i', 'm' };
static const symbol s_2_1367[5] = { 's', 'n', 'j', 'i', 'm' };
static const symbol s_2_1368[6] = { 0xC5, 0xA1, 'n', 'j', 'i', 'm' };
static const symbol s_2_1369[3] = { 'k', 'i', 'm' };
static const symbol s_2_1370[4] = { 's', 'k', 'i', 'm' };
static const symbol s_2_1371[5] = { 0xC5, 0xA1, 'k', 'i', 'm' };
static const symbol s_2_1372[4] = { 'e', 'l', 'i', 'm' };
static const symbol s_2_1373[3] = { 'n', 'i', 'm' };
static const symbol s_2_1374[5] = { 'c', 'i', 'n', 'i', 'm' };
static const symbol s_2_1375[6] = { 0xC4, 0x8D, 'i', 'n', 'i', 'm' };
static const symbol s_2_1376[4] = { 'o', 's', 'i', 'm' };
static const symbol s_2_1377[5] = { 'r', 'o', 's', 'i', 'm' };
static const symbol s_2_1378[4] = { 'a', 't', 'i', 'm' };
static const symbol s_2_1379[5] = { 'j', 'e', 't', 'i', 'm' };
static const symbol s_2_1380[6] = { 'e', 'v', 'i', 't', 'i', 'm' };
static const symbol s_2_1381[6] = { 'o', 'v', 'i', 't', 'i', 'm' };
static const symbol s_2_1382[5] = { 'a', 's', 't', 'i', 'm' };
static const symbol s_2_1383[4] = { 'a', 'v', 'i', 'm' };
static const symbol s_2_1384[4] = { 'e', 'v', 'i', 'm' };
static const symbol s_2_1385[4] = { 'i', 'v', 'i', 'm' };
static const symbol s_2_1386[4] = { 'o', 'v', 'i', 'm' };
static const symbol s_2_1387[5] = { 'a', 0xC4, 0x87, 'i', 'm' };
static const symbol s_2_1388[5] = { 'e', 0xC4, 0x87, 'i', 'm' };
static const symbol s_2_1389[5] = { 'u', 0xC4, 0x87, 'i', 'm' };
static const symbol s_2_1390[5] = { 'a', 0xC4, 0x8D, 'i', 'm' };
static const symbol s_2_1391[6] = { 'l', 'u', 0xC4, 0x8D, 'i', 'm' };
static const symbol s_2_1392[5] = { 'o', 0xC5, 0xA1, 'i', 'm' };
static const symbol s_2_1393[6] = { 'r', 'o', 0xC5, 0xA1, 'i', 'm' };
static const symbol s_2_1394[4] = { 'a', 'c', 'o', 'm' };
static const symbol s_2_1395[4] = { 'e', 'c', 'o', 'm' };
static const symbol s_2_1396[4] = { 'u', 'c', 'o', 'm' };
static const symbol s_2_1397[3] = { 'g', 'o', 'm' };
static const symbol s_2_1398[5] = { 'l', 'o', 'g', 'o', 'm' };
static const symbol s_2_1399[4] = { 'u', 'g', 'o', 'm' };
static const symbol s_2_1400[5] = { 'b', 'i', 'j', 'o', 'm' };
static const symbol s_2_1401[5] = { 'c', 'i', 'j', 'o', 'm' };
static const symbol s_2_1402[5] = { 'd', 'i', 'j', 'o', 'm' };
static const symbol s_2_1403[5] = { 'f', 'i', 'j', 'o', 'm' };
static const symbol s_2_1404[5] = { 'g', 'i', 'j', 'o', 'm' };
static const symbol s_2_1405[5] = { 'l', 'i', 'j', 'o', 'm' };
static const symbol s_2_1406[5] = { 'm', 'i', 'j', 'o', 'm' };
static const symbol s_2_1407[5] = { 'n', 'i', 'j', 'o', 'm' };
static const symbol s_2_1408[7] = { 'g', 'a', 'n', 'i', 'j', 'o', 'm' };
static const symbol s_2_1409[7] = { 'm', 'a', 'n', 'i', 'j', 'o', 'm' };
static const symbol s_2_1410[7] = { 'p', 'a', 'n', 'i', 'j', 'o', 'm' };
static const symbol s_2_1411[7] = { 'r', 'a', 'n', 'i', 'j', 'o', 'm' };
static const symbol s_2_1412[7] = { 't', 'a', 'n', 'i', 'j', 'o', 'm' };
static const symbol s_2_1413[5] = { 'p', 'i', 'j', 'o', 'm' };
static const symbol s_2_1414[5] = { 'r', 'i', 'j', 'o', 'm' };
static const symbol s_2_1415[5] = { 's', 'i', 'j', 'o', 'm' };
static const symbol s_2_1416[5] = { 't', 'i', 'j', 'o', 'm' };
static const symbol s_2_1417[5] = { 'z', 'i', 'j', 'o', 'm' };
static const symbol s_2_1418[6] = { 0xC5, 0xBE, 'i', 'j', 'o', 'm' };
static const symbol s_2_1419[5] = { 'a', 'n', 'j', 'o', 'm' };
static const symbol s_2_1420[5] = { 'e', 'n', 'j', 'o', 'm' };
static const symbol s_2_1421[5] = { 's', 'n', 'j', 'o', 'm' };
static const symbol s_2_1422[6] = { 0xC5, 0xA1, 'n', 'j', 'o', 'm' };
static const symbol s_2_1423[3] = { 'k', 'o', 'm' };
static const symbol s_2_1424[4] = { 's', 'k', 'o', 'm' };
static const symbol s_2_1425[5] = { 0xC5, 0xA1, 'k', 'o', 'm' };
static const symbol s_2_1426[4] = { 'a', 'l', 'o', 'm' };
static const symbol s_2_1427[6] = { 'i', 'j', 'a', 'l', 'o', 'm' };
static const symbol s_2_1428[5] = { 'n', 'a', 'l', 'o', 'm' };
static const symbol s_2_1429[4] = { 'e', 'l', 'o', 'm' };
static const symbol s_2_1430[4] = { 'i', 'l', 'o', 'm' };
static const symbol s_2_1431[6] = { 'o', 'z', 'i', 'l', 'o', 'm' };
static const symbol s_2_1432[4] = { 'o', 'l', 'o', 'm' };
static const symbol s_2_1433[5] = { 'r', 'a', 'm', 'o', 'm' };
static const symbol s_2_1434[5] = { 'l', 'e', 'm', 'o', 'm' };
static const symbol s_2_1435[3] = { 'n', 'o', 'm' };
static const symbol s_2_1436[4] = { 'a', 'n', 'o', 'm' };
static const symbol s_2_1437[4] = { 'i', 'n', 'o', 'm' };
static const symbol s_2_1438[5] = { 'c', 'i', 'n', 'o', 'm' };
static const symbol s_2_1439[6] = { 'a', 'n', 'i', 'n', 'o', 'm' };
static const symbol s_2_1440[6] = { 0xC4, 0x8D, 'i', 'n', 'o', 'm' };
static const symbol s_2_1441[4] = { 'o', 'n', 'o', 'm' };
static const symbol s_2_1442[4] = { 'a', 'r', 'o', 'm' };
static const symbol s_2_1443[4] = { 'd', 'r', 'o', 'm' };
static const symbol s_2_1444[4] = { 'e', 'r', 'o', 'm' };
static const symbol s_2_1445[4] = { 'o', 'r', 'o', 'm' };
static const symbol s_2_1446[5] = { 'b', 'a', 's', 'o', 'm' };
static const symbol s_2_1447[5] = { 'g', 'a', 's', 'o', 'm' };
static const symbol s_2_1448[5] = { 'j', 'a', 's', 'o', 'm' };
static const symbol s_2_1449[5] = { 'k', 'a', 's', 'o', 'm' };
static const symbol s_2_1450[5] = { 'n', 'a', 's', 'o', 'm' };
static const symbol s_2_1451[5] = { 't', 'a', 's', 'o', 'm' };
static const symbol s_2_1452[5] = { 'v', 'a', 's', 'o', 'm' };
static const symbol s_2_1453[4] = { 'e', 's', 'o', 'm' };
static const symbol s_2_1454[4] = { 'i', 's', 'o', 'm' };
static const symbol s_2_1455[4] = { 'o', 's', 'o', 'm' };
static const symbol s_2_1456[4] = { 'a', 't', 'o', 'm' };
static const symbol s_2_1457[6] = { 'i', 'k', 'a', 't', 'o', 'm' };
static const symbol s_2_1458[5] = { 'l', 'a', 't', 'o', 'm' };
static const symbol s_2_1459[4] = { 'e', 't', 'o', 'm' };
static const symbol s_2_1460[6] = { 'e', 'v', 'i', 't', 'o', 'm' };
static const symbol s_2_1461[6] = { 'o', 'v', 'i', 't', 'o', 'm' };
static const symbol s_2_1462[5] = { 'a', 's', 't', 'o', 'm' };
static const symbol s_2_1463[5] = { 'e', 's', 't', 'o', 'm' };
static const symbol s_2_1464[5] = { 'i', 's', 't', 'o', 'm' };
static const symbol s_2_1465[5] = { 'k', 's', 't', 'o', 'm' };
static const symbol s_2_1466[5] = { 'o', 's', 't', 'o', 'm' };
static const symbol s_2_1467[4] = { 'a', 'v', 'o', 'm' };
static const symbol s_2_1468[4] = { 'e', 'v', 'o', 'm' };
static const symbol s_2_1469[4] = { 'i', 'v', 'o', 'm' };
static const symbol s_2_1470[4] = { 'o', 'v', 'o', 'm' };
static const symbol s_2_1471[5] = { 'l', 'o', 'v', 'o', 'm' };
static const symbol s_2_1472[5] = { 'm', 'o', 'v', 'o', 'm' };
static const symbol s_2_1473[5] = { 's', 't', 'v', 'o', 'm' };
static const symbol s_2_1474[6] = { 0xC5, 0xA1, 't', 'v', 'o', 'm' };
static const symbol s_2_1475[5] = { 'a', 0xC4, 0x87, 'o', 'm' };
static const symbol s_2_1476[5] = { 'e', 0xC4, 0x87, 'o', 'm' };
static const symbol s_2_1477[5] = { 'u', 0xC4, 0x87, 'o', 'm' };
static const symbol s_2_1478[6] = { 'b', 'a', 0xC5, 0xA1, 'o', 'm' };
static const symbol s_2_1479[6] = { 'g', 'a', 0xC5, 0xA1, 'o', 'm' };
static const symbol s_2_1480[6] = { 'j', 'a', 0xC5, 0xA1, 'o', 'm' };
static const symbol s_2_1481[6] = { 'k', 'a', 0xC5, 0xA1, 'o', 'm' };
static const symbol s_2_1482[6] = { 'n', 'a', 0xC5, 0xA1, 'o', 'm' };
static const symbol s_2_1483[6] = { 't', 'a', 0xC5, 0xA1, 'o', 'm' };
static const symbol s_2_1484[6] = { 'v', 'a', 0xC5, 0xA1, 'o', 'm' };
static const symbol s_2_1485[5] = { 'e', 0xC5, 0xA1, 'o', 'm' };
static const symbol s_2_1486[5] = { 'i', 0xC5, 0xA1, 'o', 'm' };
static const symbol s_2_1487[5] = { 'o', 0xC5, 0xA1, 'o', 'm' };
static const symbol s_2_1488[2] = { 'a', 'n' };
static const symbol s_2_1489[4] = { 'a', 'c', 'a', 'n' };
static const symbol s_2_1490[4] = { 'i', 'r', 'a', 'n' };
static const symbol s_2_1491[4] = { 'u', 'r', 'a', 'n' };
static const symbol s_2_1492[3] = { 't', 'a', 'n' };
static const symbol s_2_1493[4] = { 'a', 'v', 'a', 'n' };
static const symbol s_2_1494[4] = { 'e', 'v', 'a', 'n' };
static const symbol s_2_1495[4] = { 'i', 'v', 'a', 'n' };
static const symbol s_2_1496[4] = { 'u', 'v', 'a', 'n' };
static const symbol s_2_1497[5] = { 'a', 0xC4, 0x8D, 'a', 'n' };
static const symbol s_2_1498[4] = { 'a', 'c', 'e', 'n' };
static const symbol s_2_1499[5] = { 'l', 'u', 'c', 'e', 'n' };
static const symbol s_2_1500[5] = { 'a', 0xC4, 0x8D, 'e', 'n' };
static const symbol s_2_1501[6] = { 'l', 'u', 0xC4, 0x8D, 'e', 'n' };
static const symbol s_2_1502[4] = { 'a', 'n', 'i', 'n' };
static const symbol s_2_1503[2] = { 'a', 'o' };
static const symbol s_2_1504[4] = { 'a', 'c', 'a', 'o' };
static const symbol s_2_1505[7] = { 'a', 's', 't', 'a', 'j', 'a', 'o' };
static const symbol s_2_1506[7] = { 'i', 's', 't', 'a', 'j', 'a', 'o' };
static const symbol s_2_1507[7] = { 'o', 's', 't', 'a', 'j', 'a', 'o' };
static const symbol s_2_1508[5] = { 'i', 'n', 'j', 'a', 'o' };
static const symbol s_2_1509[4] = { 'i', 'r', 'a', 'o' };
static const symbol s_2_1510[4] = { 'u', 'r', 'a', 'o' };
static const symbol s_2_1511[3] = { 't', 'a', 'o' };
static const symbol s_2_1512[5] = { 'a', 's', 't', 'a', 'o' };
static const symbol s_2_1513[5] = { 'i', 's', 't', 'a', 'o' };
static const symbol s_2_1514[5] = { 'o', 's', 't', 'a', 'o' };
static const symbol s_2_1515[4] = { 'a', 'v', 'a', 'o' };
static const symbol s_2_1516[4] = { 'e', 'v', 'a', 'o' };
static const symbol s_2_1517[4] = { 'i', 'v', 'a', 'o' };
static const symbol s_2_1518[4] = { 'o', 'v', 'a', 'o' };
static const symbol s_2_1519[4] = { 'u', 'v', 'a', 'o' };
static const symbol s_2_1520[5] = { 'a', 0xC4, 0x8D, 'a', 'o' };
static const symbol s_2_1521[2] = { 'g', 'o' };
static const symbol s_2_1522[3] = { 'u', 'g', 'o' };
static const symbol s_2_1523[2] = { 'i', 'o' };
static const symbol s_2_1524[4] = { 'a', 'c', 'i', 'o' };
static const symbol s_2_1525[5] = { 'l', 'u', 'c', 'i', 'o' };
static const symbol s_2_1526[3] = { 'l', 'i', 'o' };
static const symbol s_2_1527[3] = { 'n', 'i', 'o' };
static const symbol s_2_1528[5] = { 'r', 'a', 'r', 'i', 'o' };
static const symbol s_2_1529[3] = { 's', 'i', 'o' };
static const symbol s_2_1530[5] = { 'r', 'o', 's', 'i', 'o' };
static const symbol s_2_1531[5] = { 'j', 'e', 't', 'i', 'o' };
static const symbol s_2_1532[4] = { 'o', 't', 'i', 'o' };
static const symbol s_2_1533[5] = { 'a', 0xC4, 0x8D, 'i', 'o' };
static const symbol s_2_1534[6] = { 'l', 'u', 0xC4, 0x8D, 'i', 'o' };
static const symbol s_2_1535[6] = { 'r', 'o', 0xC5, 0xA1, 'i', 'o' };
static const symbol s_2_1536[4] = { 'b', 'i', 'j', 'o' };
static const symbol s_2_1537[4] = { 'c', 'i', 'j', 'o' };
static const symbol s_2_1538[4] = { 'd', 'i', 'j', 'o' };
static const symbol s_2_1539[4] = { 'f', 'i', 'j', 'o' };
static const symbol s_2_1540[4] = { 'g', 'i', 'j', 'o' };
static const symbol s_2_1541[4] = { 'l', 'i', 'j', 'o' };
static const symbol s_2_1542[4] = { 'm', 'i', 'j', 'o' };
static const symbol s_2_1543[4] = { 'n', 'i', 'j', 'o' };
static const symbol s_2_1544[4] = { 'p', 'i', 'j', 'o' };
static const symbol s_2_1545[4] = { 'r', 'i', 'j', 'o' };
static const symbol s_2_1546[4] = { 's', 'i', 'j', 'o' };
static const symbol s_2_1547[4] = { 't', 'i', 'j', 'o' };
static const symbol s_2_1548[4] = { 'z', 'i', 'j', 'o' };
static const symbol s_2_1549[5] = { 0xC5, 0xBE, 'i', 'j', 'o' };
static const symbol s_2_1550[4] = { 'a', 'n', 'j', 'o' };
static const symbol s_2_1551[4] = { 'e', 'n', 'j', 'o' };
static const symbol s_2_1552[4] = { 's', 'n', 'j', 'o' };
static const symbol s_2_1553[5] = { 0xC5, 0xA1, 'n', 'j', 'o' };
static const symbol s_2_1554[2] = { 'k', 'o' };
static const symbol s_2_1555[3] = { 's', 'k', 'o' };
static const symbol s_2_1556[4] = { 0xC5, 0xA1, 'k', 'o' };
static const symbol s_2_1557[3] = { 'a', 'l', 'o' };
static const symbol s_2_1558[5] = { 'a', 'c', 'a', 'l', 'o' };
static const symbol s_2_1559[8] = { 'a', 's', 't', 'a', 'j', 'a', 'l', 'o' };
static const symbol s_2_1560[8] = { 'i', 's', 't', 'a', 'j', 'a', 'l', 'o' };
static const symbol s_2_1561[8] = { 'o', 's', 't', 'a', 'j', 'a', 'l', 'o' };
static const symbol s_2_1562[5] = { 'i', 'j', 'a', 'l', 'o' };
static const symbol s_2_1563[6] = { 'i', 'n', 'j', 'a', 'l', 'o' };
static const symbol s_2_1564[4] = { 'n', 'a', 'l', 'o' };
static const symbol s_2_1565[5] = { 'i', 'r', 'a', 'l', 'o' };
static const symbol s_2_1566[5] = { 'u', 'r', 'a', 'l', 'o' };
static const symbol s_2_1567[4] = { 't', 'a', 'l', 'o' };
static const symbol s_2_1568[6] = { 'a', 's', 't', 'a', 'l', 'o' };
static const symbol s_2_1569[6] = { 'i', 's', 't', 'a', 'l', 'o' };
static const symbol s_2_1570[6] = { 'o', 's', 't', 'a', 'l', 'o' };
static const symbol s_2_1571[5] = { 'a', 'v', 'a', 'l', 'o' };
static const symbol s_2_1572[5] = { 'e', 'v', 'a', 'l', 'o' };
static const symbol s_2_1573[5] = { 'i', 'v', 'a', 'l', 'o' };
static const symbol s_2_1574[5] = { 'o', 'v', 'a', 'l', 'o' };
static const symbol s_2_1575[5] = { 'u', 'v', 'a', 'l', 'o' };
static const symbol s_2_1576[6] = { 'a', 0xC4, 0x8D, 'a', 'l', 'o' };
static const symbol s_2_1577[3] = { 'e', 'l', 'o' };
static const symbol s_2_1578[3] = { 'i', 'l', 'o' };
static const symbol s_2_1579[5] = { 'a', 'c', 'i', 'l', 'o' };
static const symbol s_2_1580[6] = { 'l', 'u', 'c', 'i', 'l', 'o' };
static const symbol s_2_1581[4] = { 'n', 'i', 'l', 'o' };
static const symbol s_2_1582[6] = { 'r', 'o', 's', 'i', 'l', 'o' };
static const symbol s_2_1583[6] = { 'j', 'e', 't', 'i', 'l', 'o' };
static const symbol s_2_1584[6] = { 'a', 0xC4, 0x8D, 'i', 'l', 'o' };
static const symbol s_2_1585[7] = { 'l', 'u', 0xC4, 0x8D, 'i', 'l', 'o' };
static const symbol s_2_1586[7] = { 'r', 'o', 0xC5, 0xA1, 'i', 'l', 'o' };
static const symbol s_2_1587[4] = { 'a', 's', 'l', 'o' };
static const symbol s_2_1588[4] = { 'n', 'u', 'l', 'o' };
static const symbol s_2_1589[3] = { 'a', 'm', 'o' };
static const symbol s_2_1590[5] = { 'a', 'c', 'a', 'm', 'o' };
static const symbol s_2_1591[4] = { 'r', 'a', 'm', 'o' };
static const symbol s_2_1592[5] = { 'i', 'r', 'a', 'm', 'o' };
static const symbol s_2_1593[5] = { 'u', 'r', 'a', 'm', 'o' };
static const symbol s_2_1594[4] = { 't', 'a', 'm', 'o' };
static const symbol s_2_1595[5] = { 'a', 'v', 'a', 'm', 'o' };
static const symbol s_2_1596[5] = { 'e', 'v', 'a', 'm', 'o' };
static const symbol s_2_1597[5] = { 'i', 'v', 'a', 'm', 'o' };
static const symbol s_2_1598[5] = { 'u', 'v', 'a', 'm', 'o' };
static const symbol s_2_1599[6] = { 'a', 0xC4, 0x8D, 'a', 'm', 'o' };
static const symbol s_2_1600[3] = { 'e', 'm', 'o' };
static const symbol s_2_1601[8] = { 'a', 's', 't', 'a', 'd', 'e', 'm', 'o' };
static const symbol s_2_1602[8] = { 'i', 's', 't', 'a', 'd', 'e', 'm', 'o' };
static const symbol s_2_1603[8] = { 'o', 's', 't', 'a', 'd', 'e', 'm', 'o' };
static const symbol s_2_1604[8] = { 'a', 's', 't', 'a', 'j', 'e', 'm', 'o' };
static const symbol s_2_1605[8] = { 'i', 's', 't', 'a', 'j', 'e', 'm', 'o' };
static const symbol s_2_1606[8] = { 'o', 's', 't', 'a', 'j', 'e', 'm', 'o' };
static const symbol s_2_1607[5] = { 'i', 'j', 'e', 'm', 'o' };
static const symbol s_2_1608[6] = { 'i', 'n', 'j', 'e', 'm', 'o' };
static const symbol s_2_1609[5] = { 'u', 'j', 'e', 'm', 'o' };
static const symbol s_2_1610[8] = { 'l', 'u', 'c', 'u', 'j', 'e', 'm', 'o' };
static const symbol s_2_1611[7] = { 'i', 'r', 'u', 'j', 'e', 'm', 'o' };
static const symbol s_2_1612[9] = { 'l', 'u', 0xC4, 0x8D, 'u', 'j', 'e', 'm', 'o' };
static const symbol s_2_1613[4] = { 'l', 'e', 'm', 'o' };
static const symbol s_2_1614[4] = { 'n', 'e', 'm', 'o' };
static const symbol s_2_1615[8] = { 'a', 's', 't', 'a', 'n', 'e', 'm', 'o' };
static const symbol s_2_1616[8] = { 'i', 's', 't', 'a', 'n', 'e', 'm', 'o' };
static const symbol s_2_1617[8] = { 'o', 's', 't', 'a', 'n', 'e', 'm', 'o' };
static const symbol s_2_1618[5] = { 'e', 't', 'e', 'm', 'o' };
static const symbol s_2_1619[6] = { 'a', 's', 't', 'e', 'm', 'o' };
static const symbol s_2_1620[3] = { 'i', 'm', 'o' };
static const symbol s_2_1621[5] = { 'a', 'c', 'i', 'm', 'o' };
static const symbol s_2_1622[6] = { 'l', 'u', 'c', 'i', 'm', 'o' };
static const symbol s_2_1623[4] = { 'n', 'i', 'm', 'o' };
static const symbol s_2_1624[8] = { 'a', 's', 't', 'a', 'n', 'i', 'm', 'o' };
static const symbol s_2_1625[8] = { 'i', 's', 't', 'a', 'n', 'i', 'm', 'o' };
static const symbol s_2_1626[8] = { 'o', 's', 't', 'a', 'n', 'i', 'm', 'o' };
static const symbol s_2_1627[6] = { 'r', 'o', 's', 'i', 'm', 'o' };
static const symbol s_2_1628[5] = { 'e', 't', 'i', 'm', 'o' };
static const symbol s_2_1629[6] = { 'j', 'e', 't', 'i', 'm', 'o' };
static const symbol s_2_1630[6] = { 'a', 's', 't', 'i', 'm', 'o' };
static const symbol s_2_1631[6] = { 'a', 0xC4, 0x8D, 'i', 'm', 'o' };
static const symbol s_2_1632[7] = { 'l', 'u', 0xC4, 0x8D, 'i', 'm', 'o' };
static const symbol s_2_1633[7] = { 'r', 'o', 0xC5, 0xA1, 'i', 'm', 'o' };
static const symbol s_2_1634[4] = { 'a', 'j', 'm', 'o' };
static const symbol s_2_1635[6] = { 'u', 'r', 'a', 'j', 'm', 'o' };
static const symbol s_2_1636[5] = { 't', 'a', 'j', 'm', 'o' };
static const symbol s_2_1637[7] = { 'a', 's', 't', 'a', 'j', 'm', 'o' };
static const symbol s_2_1638[7] = { 'i', 's', 't', 'a', 'j', 'm', 'o' };
static const symbol s_2_1639[7] = { 'o', 's', 't', 'a', 'j', 'm', 'o' };
static const symbol s_2_1640[6] = { 'a', 'v', 'a', 'j', 'm', 'o' };
static const symbol s_2_1641[6] = { 'e', 'v', 'a', 'j', 'm', 'o' };
static const symbol s_2_1642[6] = { 'i', 'v', 'a', 'j', 'm', 'o' };
static const symbol s_2_1643[6] = { 'u', 'v', 'a', 'j', 'm', 'o' };
static const symbol s_2_1644[4] = { 'i', 'j', 'm', 'o' };
static const symbol s_2_1645[4] = { 'u', 'j', 'm', 'o' };
static const symbol s_2_1646[7] = { 'l', 'u', 'c', 'u', 'j', 'm', 'o' };
static const symbol s_2_1647[6] = { 'i', 'r', 'u', 'j', 'm', 'o' };
static const symbol s_2_1648[8] = { 'l', 'u', 0xC4, 0x8D, 'u', 'j', 'm', 'o' };
static const symbol s_2_1649[4] = { 'a', 's', 'm', 'o' };
static const symbol s_2_1650[6] = { 'a', 'c', 'a', 's', 'm', 'o' };
static const symbol s_2_1651[9] = { 'a', 's', 't', 'a', 'j', 'a', 's', 'm', 'o' };
static const symbol s_2_1652[9] = { 'i', 's', 't', 'a', 'j', 'a', 's', 'm', 'o' };
static const symbol s_2_1653[9] = { 'o', 's', 't', 'a', 'j', 'a', 's', 'm', 'o' };
static const symbol s_2_1654[7] = { 'i', 'n', 'j', 'a', 's', 'm', 'o' };
static const symbol s_2_1655[6] = { 'i', 'r', 'a', 's', 'm', 'o' };
static const symbol s_2_1656[6] = { 'u', 'r', 'a', 's', 'm', 'o' };
static const symbol s_2_1657[5] = { 't', 'a', 's', 'm', 'o' };
static const symbol s_2_1658[6] = { 'a', 'v', 'a', 's', 'm', 'o' };
static const symbol s_2_1659[6] = { 'e', 'v', 'a', 's', 'm', 'o' };
static const symbol s_2_1660[6] = { 'i', 'v', 'a', 's', 'm', 'o' };
static const symbol s_2_1661[6] = { 'o', 'v', 'a', 's', 'm', 'o' };
static const symbol s_2_1662[6] = { 'u', 'v', 'a', 's', 'm', 'o' };
static const symbol s_2_1663[7] = { 'a', 0xC4, 0x8D, 'a', 's', 'm', 'o' };
static const symbol s_2_1664[4] = { 'i', 's', 'm', 'o' };
static const symbol s_2_1665[6] = { 'a', 'c', 'i', 's', 'm', 'o' };
static const symbol s_2_1666[7] = { 'l', 'u', 'c', 'i', 's', 'm', 'o' };
static const symbol s_2_1667[5] = { 'n', 'i', 's', 'm', 'o' };
static const symbol s_2_1668[7] = { 'r', 'o', 's', 'i', 's', 'm', 'o' };
static const symbol s_2_1669[7] = { 'j', 'e', 't', 'i', 's', 'm', 'o' };
static const symbol s_2_1670[7] = { 'a', 0xC4, 0x8D, 'i', 's', 'm', 'o' };
static const symbol s_2_1671[8] = { 'l', 'u', 0xC4, 0x8D, 'i', 's', 'm', 'o' };
static const symbol s_2_1672[8] = { 'r', 'o', 0xC5, 0xA1, 'i', 's', 'm', 'o' };
static const symbol s_2_1673[9] = { 'a', 's', 't', 'a', 'd', 'o', 's', 'm', 'o' };
static const symbol s_2_1674[9] = { 'i', 's', 't', 'a', 'd', 'o', 's', 'm', 'o' };
static const symbol s_2_1675[9] = { 'o', 's', 't', 'a', 'd', 'o', 's', 'm', 'o' };
static const symbol s_2_1676[5] = { 'n', 'u', 's', 'm', 'o' };
static const symbol s_2_1677[2] = { 'n', 'o' };
static const symbol s_2_1678[3] = { 'a', 'n', 'o' };
static const symbol s_2_1679[5] = { 'a', 'c', 'a', 'n', 'o' };
static const symbol s_2_1680[5] = { 'u', 'r', 'a', 'n', 'o' };
static const symbol s_2_1681[4] = { 't', 'a', 'n', 'o' };
static const symbol s_2_1682[5] = { 'a', 'v', 'a', 'n', 'o' };
static const symbol s_2_1683[5] = { 'e', 'v', 'a', 'n', 'o' };
static const symbol s_2_1684[5] = { 'i', 'v', 'a', 'n', 'o' };
static const symbol s_2_1685[5] = { 'u', 'v', 'a', 'n', 'o' };
static const symbol s_2_1686[6] = { 'a', 0xC4, 0x8D, 'a', 'n', 'o' };
static const symbol s_2_1687[5] = { 'a', 'c', 'e', 'n', 'o' };
static const symbol s_2_1688[6] = { 'l', 'u', 'c', 'e', 'n', 'o' };
static const symbol s_2_1689[6] = { 'a', 0xC4, 0x8D, 'e', 'n', 'o' };
static const symbol s_2_1690[7] = { 'l', 'u', 0xC4, 0x8D, 'e', 'n', 'o' };
static const symbol s_2_1691[3] = { 'i', 'n', 'o' };
static const symbol s_2_1692[4] = { 'c', 'i', 'n', 'o' };
static const symbol s_2_1693[5] = { 0xC4, 0x8D, 'i', 'n', 'o' };
static const symbol s_2_1694[3] = { 'a', 't', 'o' };
static const symbol s_2_1695[5] = { 'i', 'k', 'a', 't', 'o' };
static const symbol s_2_1696[4] = { 'l', 'a', 't', 'o' };
static const symbol s_2_1697[3] = { 'e', 't', 'o' };
static const symbol s_2_1698[5] = { 'e', 'v', 'i', 't', 'o' };
static const symbol s_2_1699[5] = { 'o', 'v', 'i', 't', 'o' };
static const symbol s_2_1700[4] = { 'a', 's', 't', 'o' };
static const symbol s_2_1701[4] = { 'e', 's', 't', 'o' };
static const symbol s_2_1702[4] = { 'i', 's', 't', 'o' };
static const symbol s_2_1703[4] = { 'k', 's', 't', 'o' };
static const symbol s_2_1704[4] = { 'o', 's', 't', 'o' };
static const symbol s_2_1705[4] = { 'n', 'u', 't', 'o' };
static const symbol s_2_1706[3] = { 'n', 'u', 'o' };
static const symbol s_2_1707[3] = { 'a', 'v', 'o' };
static const symbol s_2_1708[3] = { 'e', 'v', 'o' };
static const symbol s_2_1709[3] = { 'i', 'v', 'o' };
static const symbol s_2_1710[3] = { 'o', 'v', 'o' };
static const symbol s_2_1711[4] = { 's', 't', 'v', 'o' };
static const symbol s_2_1712[5] = { 0xC5, 0xA1, 't', 'v', 'o' };
static const symbol s_2_1713[2] = { 'a', 's' };
static const symbol s_2_1714[4] = { 'a', 'c', 'a', 's' };
static const symbol s_2_1715[4] = { 'i', 'r', 'a', 's' };
static const symbol s_2_1716[4] = { 'u', 'r', 'a', 's' };
static const symbol s_2_1717[3] = { 't', 'a', 's' };
static const symbol s_2_1718[4] = { 'a', 'v', 'a', 's' };
static const symbol s_2_1719[4] = { 'e', 'v', 'a', 's' };
static const symbol s_2_1720[4] = { 'i', 'v', 'a', 's' };
static const symbol s_2_1721[4] = { 'u', 'v', 'a', 's' };
static const symbol s_2_1722[2] = { 'e', 's' };
static const symbol s_2_1723[7] = { 'a', 's', 't', 'a', 'd', 'e', 's' };
static const symbol s_2_1724[7] = { 'i', 's', 't', 'a', 'd', 'e', 's' };
static const symbol s_2_1725[7] = { 'o', 's', 't', 'a', 'd', 'e', 's' };
static const symbol s_2_1726[7] = { 'a', 's', 't', 'a', 'j', 'e', 's' };
static const symbol s_2_1727[7] = { 'i', 's', 't', 'a', 'j', 'e', 's' };
static const symbol s_2_1728[7] = { 'o', 's', 't', 'a', 'j', 'e', 's' };
static const symbol s_2_1729[4] = { 'i', 'j', 'e', 's' };
static const symbol s_2_1730[5] = { 'i', 'n', 'j', 'e', 's' };
static const symbol s_2_1731[4] = { 'u', 'j', 'e', 's' };
static const symbol s_2_1732[7] = { 'l', 'u', 'c', 'u', 'j', 'e', 's' };
static const symbol s_2_1733[6] = { 'i', 'r', 'u', 'j', 'e', 's' };
static const symbol s_2_1734[3] = { 'n', 'e', 's' };
static const symbol s_2_1735[7] = { 'a', 's', 't', 'a', 'n', 'e', 's' };
static const symbol s_2_1736[7] = { 'i', 's', 't', 'a', 'n', 'e', 's' };
static const symbol s_2_1737[7] = { 'o', 's', 't', 'a', 'n', 'e', 's' };
static const symbol s_2_1738[4] = { 'e', 't', 'e', 's' };
static const symbol s_2_1739[5] = { 'a', 's', 't', 'e', 's' };
static const symbol s_2_1740[2] = { 'i', 's' };
static const symbol s_2_1741[4] = { 'a', 'c', 'i', 's' };
static const symbol s_2_1742[5] = { 'l', 'u', 'c', 'i', 's' };
static const symbol s_2_1743[3] = { 'n', 'i', 's' };
static const symbol s_2_1744[5] = { 'r', 'o', 's', 'i', 's' };
static const symbol s_2_1745[5] = { 'j', 'e', 't', 'i', 's' };
static const symbol s_2_1746[2] = { 'a', 't' };
static const symbol s_2_1747[4] = { 'a', 'c', 'a', 't' };
static const symbol s_2_1748[7] = { 'a', 's', 't', 'a', 'j', 'a', 't' };
static const symbol s_2_1749[7] = { 'i', 's', 't', 'a', 'j', 'a', 't' };
static const symbol s_2_1750[7] = { 'o', 's', 't', 'a', 'j', 'a', 't' };
static const symbol s_2_1751[5] = { 'i', 'n', 'j', 'a', 't' };
static const symbol s_2_1752[4] = { 'i', 'r', 'a', 't' };
static const symbol s_2_1753[4] = { 'u', 'r', 'a', 't' };
static const symbol s_2_1754[3] = { 't', 'a', 't' };
static const symbol s_2_1755[5] = { 'a', 's', 't', 'a', 't' };
static const symbol s_2_1756[5] = { 'i', 's', 't', 'a', 't' };
static const symbol s_2_1757[5] = { 'o', 's', 't', 'a', 't' };
static const symbol s_2_1758[4] = { 'a', 'v', 'a', 't' };
static const symbol s_2_1759[4] = { 'e', 'v', 'a', 't' };
static const symbol s_2_1760[4] = { 'i', 'v', 'a', 't' };
static const symbol s_2_1761[6] = { 'i', 'r', 'i', 'v', 'a', 't' };
static const symbol s_2_1762[4] = { 'o', 'v', 'a', 't' };
static const symbol s_2_1763[4] = { 'u', 'v', 'a', 't' };
static const symbol s_2_1764[5] = { 'a', 0xC4, 0x8D, 'a', 't' };
static const symbol s_2_1765[2] = { 'i', 't' };
static const symbol s_2_1766[4] = { 'a', 'c', 'i', 't' };
static const symbol s_2_1767[5] = { 'l', 'u', 'c', 'i', 't' };
static const symbol s_2_1768[5] = { 'r', 'o', 's', 'i', 't' };
static const symbol s_2_1769[5] = { 'j', 'e', 't', 'i', 't' };
static const symbol s_2_1770[5] = { 'a', 0xC4, 0x8D, 'i', 't' };
static const symbol s_2_1771[6] = { 'l', 'u', 0xC4, 0x8D, 'i', 't' };
static const symbol s_2_1772[6] = { 'r', 'o', 0xC5, 0xA1, 'i', 't' };
static const symbol s_2_1773[3] = { 'n', 'u', 't' };
static const symbol s_2_1774[6] = { 'a', 's', 't', 'a', 'd', 'u' };
static const symbol s_2_1775[6] = { 'i', 's', 't', 'a', 'd', 'u' };
static const symbol s_2_1776[6] = { 'o', 's', 't', 'a', 'd', 'u' };
static const symbol s_2_1777[2] = { 'g', 'u' };
static const symbol s_2_1778[4] = { 'l', 'o', 'g', 'u' };
static const symbol s_2_1779[3] = { 'u', 'g', 'u' };
static const symbol s_2_1780[3] = { 'a', 'h', 'u' };
static const symbol s_2_1781[5] = { 'a', 'c', 'a', 'h', 'u' };
static const symbol s_2_1782[8] = { 'a', 's', 't', 'a', 'j', 'a', 'h', 'u' };
static const symbol s_2_1783[8] = { 'i', 's', 't', 'a', 'j', 'a', 'h', 'u' };
static const symbol s_2_1784[8] = { 'o', 's', 't', 'a', 'j', 'a', 'h', 'u' };
static const symbol s_2_1785[6] = { 'i', 'n', 'j', 'a', 'h', 'u' };
static const symbol s_2_1786[5] = { 'i', 'r', 'a', 'h', 'u' };
static const symbol s_2_1787[5] = { 'u', 'r', 'a', 'h', 'u' };
static const symbol s_2_1788[5] = { 'a', 'v', 'a', 'h', 'u' };
static const symbol s_2_1789[5] = { 'e', 'v', 'a', 'h', 'u' };
static const symbol s_2_1790[5] = { 'i', 'v', 'a', 'h', 'u' };
static const symbol s_2_1791[5] = { 'o', 'v', 'a', 'h', 'u' };
static const symbol s_2_1792[5] = { 'u', 'v', 'a', 'h', 'u' };
static const symbol s_2_1793[6] = { 'a', 0xC4, 0x8D, 'a', 'h', 'u' };
static const symbol s_2_1794[3] = { 'a', 'j', 'u' };
static const symbol s_2_1795[4] = { 'c', 'a', 'j', 'u' };
static const symbol s_2_1796[5] = { 'a', 'c', 'a', 'j', 'u' };
static const symbol s_2_1797[4] = { 'l', 'a', 'j', 'u' };
static const symbol s_2_1798[4] = { 'r', 'a', 'j', 'u' };
static const symbol s_2_1799[5] = { 'i', 'r', 'a', 'j', 'u' };
static const symbol s_2_1800[5] = { 'u', 'r', 'a', 'j', 'u' };
static const symbol s_2_1801[4] = { 't', 'a', 'j', 'u' };
static const symbol s_2_1802[6] = { 'a', 's', 't', 'a', 'j', 'u' };
static const symbol s_2_1803[6] = { 'i', 's', 't', 'a', 'j', 'u' };
static const symbol s_2_1804[6] = { 'o', 's', 't', 'a', 'j', 'u' };
static const symbol s_2_1805[5] = { 'a', 'v', 'a', 'j', 'u' };
static const symbol s_2_1806[5] = { 'e', 'v', 'a', 'j', 'u' };
static const symbol s_2_1807[5] = { 'i', 'v', 'a', 'j', 'u' };
static const symbol s_2_1808[5] = { 'u', 'v', 'a', 'j', 'u' };
static const symbol s_2_1809[5] = { 0xC4, 0x87, 'a', 'j', 'u' };
static const symbol s_2_1810[5] = { 0xC4, 0x8D, 'a', 'j', 'u' };
static const symbol s_2_1811[6] = { 'a', 0xC4, 0x8D, 'a', 'j', 'u' };
static const symbol s_2_1812[5] = { 0xC4, 0x91, 'a', 'j', 'u' };
static const symbol s_2_1813[3] = { 'i', 'j', 'u' };
static const symbol s_2_1814[4] = { 'b', 'i', 'j', 'u' };
static const symbol s_2_1815[4] = { 'c', 'i', 'j', 'u' };
static const symbol s_2_1816[4] = { 'd', 'i', 'j', 'u' };
static const symbol s_2_1817[4] = { 'f', 'i', 'j', 'u' };
static const symbol s_2_1818[4] = { 'g', 'i', 'j', 'u' };
static const symbol s_2_1819[6] = { 'a', 'n', 'j', 'i', 'j', 'u' };
static const symbol s_2_1820[6] = { 'e', 'n', 'j', 'i', 'j', 'u' };
static const symbol s_2_1821[6] = { 's', 'n', 'j', 'i', 'j', 'u' };
static const symbol s_2_1822[7] = { 0xC5, 0xA1, 'n', 'j', 'i', 'j', 'u' };
static const symbol s_2_1823[4] = { 'k', 'i', 'j', 'u' };
static const symbol s_2_1824[4] = { 'l', 'i', 'j', 'u' };
static const symbol s_2_1825[5] = { 'e', 'l', 'i', 'j', 'u' };
static const symbol s_2_1826[4] = { 'm', 'i', 'j', 'u' };
static const symbol s_2_1827[4] = { 'n', 'i', 'j', 'u' };
static const symbol s_2_1828[6] = { 'g', 'a', 'n', 'i', 'j', 'u' };
static const symbol s_2_1829[6] = { 'm', 'a', 'n', 'i', 'j', 'u' };
static const symbol s_2_1830[6] = { 'p', 'a', 'n', 'i', 'j', 'u' };
static const symbol s_2_1831[6] = { 'r', 'a', 'n', 'i', 'j', 'u' };
static const symbol s_2_1832[6] = { 't', 'a', 'n', 'i', 'j', 'u' };
static const symbol s_2_1833[4] = { 'p', 'i', 'j', 'u' };
static const symbol s_2_1834[4] = { 'r', 'i', 'j', 'u' };
static const symbol s_2_1835[6] = { 'r', 'a', 'r', 'i', 'j', 'u' };
static const symbol s_2_1836[4] = { 's', 'i', 'j', 'u' };
static const symbol s_2_1837[5] = { 'o', 's', 'i', 'j', 'u' };
static const symbol s_2_1838[4] = { 't', 'i', 'j', 'u' };
static const symbol s_2_1839[5] = { 'a', 't', 'i', 'j', 'u' };
static const symbol s_2_1840[5] = { 'o', 't', 'i', 'j', 'u' };
static const symbol s_2_1841[5] = { 'a', 'v', 'i', 'j', 'u' };
static const symbol s_2_1842[5] = { 'e', 'v', 'i', 'j', 'u' };
static const symbol s_2_1843[5] = { 'i', 'v', 'i', 'j', 'u' };
static const symbol s_2_1844[5] = { 'o', 'v', 'i', 'j', 'u' };
static const symbol s_2_1845[4] = { 'z', 'i', 'j', 'u' };
static const symbol s_2_1846[6] = { 'o', 0xC5, 0xA1, 'i', 'j', 'u' };
static const symbol s_2_1847[5] = { 0xC5, 0xBE, 'i', 'j', 'u' };
static const symbol s_2_1848[4] = { 'a', 'n', 'j', 'u' };
static const symbol s_2_1849[4] = { 'e', 'n', 'j', 'u' };
static const symbol s_2_1850[4] = { 's', 'n', 'j', 'u' };
static const symbol s_2_1851[5] = { 0xC5, 0xA1, 'n', 'j', 'u' };
static const symbol s_2_1852[3] = { 'u', 'j', 'u' };
static const symbol s_2_1853[6] = { 'l', 'u', 'c', 'u', 'j', 'u' };
static const symbol s_2_1854[5] = { 'i', 'r', 'u', 'j', 'u' };
static const symbol s_2_1855[7] = { 'l', 'u', 0xC4, 0x8D, 'u', 'j', 'u' };
static const symbol s_2_1856[2] = { 'k', 'u' };
static const symbol s_2_1857[3] = { 's', 'k', 'u' };
static const symbol s_2_1858[4] = { 0xC5, 0xA1, 'k', 'u' };
static const symbol s_2_1859[3] = { 'a', 'l', 'u' };
static const symbol s_2_1860[5] = { 'i', 'j', 'a', 'l', 'u' };
static const symbol s_2_1861[4] = { 'n', 'a', 'l', 'u' };
static const symbol s_2_1862[3] = { 'e', 'l', 'u' };
static const symbol s_2_1863[3] = { 'i', 'l', 'u' };
static const symbol s_2_1864[5] = { 'o', 'z', 'i', 'l', 'u' };
static const symbol s_2_1865[3] = { 'o', 'l', 'u' };
static const symbol s_2_1866[4] = { 'r', 'a', 'm', 'u' };
static const symbol s_2_1867[5] = { 'a', 'c', 'e', 'm', 'u' };
static const symbol s_2_1868[5] = { 'e', 'c', 'e', 'm', 'u' };
static const symbol s_2_1869[5] = { 'u', 'c', 'e', 'm', 'u' };
static const symbol s_2_1870[8] = { 'a', 'n', 'j', 'i', 'j', 'e', 'm', 'u' };
static const symbol s_2_1871[8] = { 'e', 'n', 'j', 'i', 'j', 'e', 'm', 'u' };
static const symbol s_2_1872[8] = { 's', 'n', 'j', 'i', 'j', 'e', 'm', 'u' };
static const symbol s_2_1873[9] = { 0xC5, 0xA1, 'n', 'j', 'i', 'j', 'e', 'm', 'u' };
static const symbol s_2_1874[6] = { 'k', 'i', 'j', 'e', 'm', 'u' };
static const symbol s_2_1875[7] = { 's', 'k', 'i', 'j', 'e', 'm', 'u' };
static const symbol s_2_1876[8] = { 0xC5, 0xA1, 'k', 'i', 'j', 'e', 'm', 'u' };
static const symbol s_2_1877[7] = { 'e', 'l', 'i', 'j', 'e', 'm', 'u' };
static const symbol s_2_1878[6] = { 'n', 'i', 'j', 'e', 'm', 'u' };
static const symbol s_2_1879[7] = { 'o', 's', 'i', 'j', 'e', 'm', 'u' };
static const symbol s_2_1880[7] = { 'a', 't', 'i', 'j', 'e', 'm', 'u' };
static const symbol s_2_1881[9] = { 'e', 'v', 'i', 't', 'i', 'j', 'e', 'm', 'u' };
static const symbol s_2_1882[9] = { 'o', 'v', 'i', 't', 'i', 'j', 'e', 'm', 'u' };
static const symbol s_2_1883[8] = { 'a', 's', 't', 'i', 'j', 'e', 'm', 'u' };
static const symbol s_2_1884[7] = { 'a', 'v', 'i', 'j', 'e', 'm', 'u' };
static const symbol s_2_1885[7] = { 'e', 'v', 'i', 'j', 'e', 'm', 'u' };
static const symbol s_2_1886[7] = { 'i', 'v', 'i', 'j', 'e', 'm', 'u' };
static const symbol s_2_1887[7] = { 'o', 'v', 'i', 'j', 'e', 'm', 'u' };
static const symbol s_2_1888[8] = { 'o', 0xC5, 0xA1, 'i', 'j', 'e', 'm', 'u' };
static const symbol s_2_1889[6] = { 'a', 'n', 'j', 'e', 'm', 'u' };
static const symbol s_2_1890[6] = { 'e', 'n', 'j', 'e', 'm', 'u' };
static const symbol s_2_1891[6] = { 's', 'n', 'j', 'e', 'm', 'u' };
static const symbol s_2_1892[7] = { 0xC5, 0xA1, 'n', 'j', 'e', 'm', 'u' };
static const symbol s_2_1893[4] = { 'k', 'e', 'm', 'u' };
static const symbol s_2_1894[5] = { 's', 'k', 'e', 'm', 'u' };
static const symbol s_2_1895[6] = { 0xC5, 0xA1, 'k', 'e', 'm', 'u' };
static const symbol s_2_1896[4] = { 'l', 'e', 'm', 'u' };
static const symbol s_2_1897[5] = { 'e', 'l', 'e', 'm', 'u' };
static const symbol s_2_1898[4] = { 'n', 'e', 'm', 'u' };
static const symbol s_2_1899[5] = { 'a', 'n', 'e', 'm', 'u' };
static const symbol s_2_1900[5] = { 'e', 'n', 'e', 'm', 'u' };
static const symbol s_2_1901[5] = { 's', 'n', 'e', 'm', 'u' };
static const symbol s_2_1902[6] = { 0xC5, 0xA1, 'n', 'e', 'm', 'u' };
static const symbol s_2_1903[5] = { 'o', 's', 'e', 'm', 'u' };
static const symbol s_2_1904[5] = { 'a', 't', 'e', 'm', 'u' };
static const symbol s_2_1905[7] = { 'e', 'v', 'i', 't', 'e', 'm', 'u' };
static const symbol s_2_1906[7] = { 'o', 'v', 'i', 't', 'e', 'm', 'u' };
static const symbol s_2_1907[6] = { 'a', 's', 't', 'e', 'm', 'u' };
static const symbol s_2_1908[5] = { 'a', 'v', 'e', 'm', 'u' };
static const symbol s_2_1909[5] = { 'e', 'v', 'e', 'm', 'u' };
static const symbol s_2_1910[5] = { 'i', 'v', 'e', 'm', 'u' };
static const symbol s_2_1911[5] = { 'o', 'v', 'e', 'm', 'u' };
static const symbol s_2_1912[6] = { 'a', 0xC4, 0x87, 'e', 'm', 'u' };
static const symbol s_2_1913[6] = { 'e', 0xC4, 0x87, 'e', 'm', 'u' };
static const symbol s_2_1914[6] = { 'u', 0xC4, 0x87, 'e', 'm', 'u' };
static const symbol s_2_1915[6] = { 'o', 0xC5, 0xA1, 'e', 'm', 'u' };
static const symbol s_2_1916[5] = { 'a', 'c', 'o', 'm', 'u' };
static const symbol s_2_1917[5] = { 'e', 'c', 'o', 'm', 'u' };
static const symbol s_2_1918[5] = { 'u', 'c', 'o', 'm', 'u' };
static const symbol s_2_1919[6] = { 'a', 'n', 'j', 'o', 'm', 'u' };
static const symbol s_2_1920[6] = { 'e', 'n', 'j', 'o', 'm', 'u' };
static const symbol s_2_1921[6] = { 's', 'n', 'j', 'o', 'm', 'u' };
static const symbol s_2_1922[7] = { 0xC5, 0xA1, 'n', 'j', 'o', 'm', 'u' };
static const symbol s_2_1923[4] = { 'k', 'o', 'm', 'u' };
static const symbol s_2_1924[5] = { 's', 'k', 'o', 'm', 'u' };
static const symbol s_2_1925[6] = { 0xC5, 0xA1, 'k', 'o', 'm', 'u' };
static const symbol s_2_1926[5] = { 'e', 'l', 'o', 'm', 'u' };
static const symbol s_2_1927[4] = { 'n', 'o', 'm', 'u' };
static const symbol s_2_1928[6] = { 'c', 'i', 'n', 'o', 'm', 'u' };
static const symbol s_2_1929[7] = { 0xC4, 0x8D, 'i', 'n', 'o', 'm', 'u' };
static const symbol s_2_1930[5] = { 'o', 's', 'o', 'm', 'u' };
static const symbol s_2_1931[5] = { 'a', 't', 'o', 'm', 'u' };
static const symbol s_2_1932[7] = { 'e', 'v', 'i', 't', 'o', 'm', 'u' };
static const symbol s_2_1933[7] = { 'o', 'v', 'i', 't', 'o', 'm', 'u' };
static const symbol s_2_1934[6] = { 'a', 's', 't', 'o', 'm', 'u' };
static const symbol s_2_1935[5] = { 'a', 'v', 'o', 'm', 'u' };
static const symbol s_2_1936[5] = { 'e', 'v', 'o', 'm', 'u' };
static const symbol s_2_1937[5] = { 'i', 'v', 'o', 'm', 'u' };
static const symbol s_2_1938[5] = { 'o', 'v', 'o', 'm', 'u' };
static const symbol s_2_1939[6] = { 'a', 0xC4, 0x87, 'o', 'm', 'u' };
static const symbol s_2_1940[6] = { 'e', 0xC4, 0x87, 'o', 'm', 'u' };
static const symbol s_2_1941[6] = { 'u', 0xC4, 0x87, 'o', 'm', 'u' };
static const symbol s_2_1942[6] = { 'o', 0xC5, 0xA1, 'o', 'm', 'u' };
static const symbol s_2_1943[2] = { 'n', 'u' };
static const symbol s_2_1944[3] = { 'a', 'n', 'u' };
static const symbol s_2_1945[6] = { 'a', 's', 't', 'a', 'n', 'u' };
static const symbol s_2_1946[6] = { 'i', 's', 't', 'a', 'n', 'u' };
static const symbol s_2_1947[6] = { 'o', 's', 't', 'a', 'n', 'u' };
static const symbol s_2_1948[3] = { 'i', 'n', 'u' };
static const symbol s_2_1949[4] = { 'c', 'i', 'n', 'u' };
static const symbol s_2_1950[5] = { 'a', 'n', 'i', 'n', 'u' };
static const symbol s_2_1951[5] = { 0xC4, 0x8D, 'i', 'n', 'u' };
static const symbol s_2_1952[3] = { 'o', 'n', 'u' };
static const symbol s_2_1953[3] = { 'a', 'r', 'u' };
static const symbol s_2_1954[3] = { 'd', 'r', 'u' };
static const symbol s_2_1955[3] = { 'e', 'r', 'u' };
static const symbol s_2_1956[3] = { 'o', 'r', 'u' };
static const symbol s_2_1957[4] = { 'b', 'a', 's', 'u' };
static const symbol s_2_1958[4] = { 'g', 'a', 's', 'u' };
static const symbol s_2_1959[4] = { 'j', 'a', 's', 'u' };
static const symbol s_2_1960[4] = { 'k', 'a', 's', 'u' };
static const symbol s_2_1961[4] = { 'n', 'a', 's', 'u' };
static const symbol s_2_1962[4] = { 't', 'a', 's', 'u' };
static const symbol s_2_1963[4] = { 'v', 'a', 's', 'u' };
static const symbol s_2_1964[3] = { 'e', 's', 'u' };
static const symbol s_2_1965[3] = { 'i', 's', 'u' };
static const symbol s_2_1966[3] = { 'o', 's', 'u' };
static const symbol s_2_1967[3] = { 'a', 't', 'u' };
static const symbol s_2_1968[5] = { 'i', 'k', 'a', 't', 'u' };
static const symbol s_2_1969[4] = { 'l', 'a', 't', 'u' };
static const symbol s_2_1970[3] = { 'e', 't', 'u' };
static const symbol s_2_1971[5] = { 'e', 'v', 'i', 't', 'u' };
static const symbol s_2_1972[5] = { 'o', 'v', 'i', 't', 'u' };
static const symbol s_2_1973[4] = { 'a', 's', 't', 'u' };
static const symbol s_2_1974[4] = { 'e', 's', 't', 'u' };
static const symbol s_2_1975[4] = { 'i', 's', 't', 'u' };
static const symbol s_2_1976[4] = { 'k', 's', 't', 'u' };
static const symbol s_2_1977[4] = { 'o', 's', 't', 'u' };
static const symbol s_2_1978[5] = { 'i', 0xC5, 0xA1, 't', 'u' };
static const symbol s_2_1979[3] = { 'a', 'v', 'u' };
static const symbol s_2_1980[3] = { 'e', 'v', 'u' };
static const symbol s_2_1981[3] = { 'i', 'v', 'u' };
static const symbol s_2_1982[3] = { 'o', 'v', 'u' };
static const symbol s_2_1983[4] = { 'l', 'o', 'v', 'u' };
static const symbol s_2_1984[4] = { 'm', 'o', 'v', 'u' };
static const symbol s_2_1985[4] = { 's', 't', 'v', 'u' };
static const symbol s_2_1986[5] = { 0xC5, 0xA1, 't', 'v', 'u' };
static const symbol s_2_1987[5] = { 'b', 'a', 0xC5, 0xA1, 'u' };
static const symbol s_2_1988[5] = { 'g', 'a', 0xC5, 0xA1, 'u' };
static const symbol s_2_1989[5] = { 'j', 'a', 0xC5, 0xA1, 'u' };
static const symbol s_2_1990[5] = { 'k', 'a', 0xC5, 0xA1, 'u' };
static const symbol s_2_1991[5] = { 'n', 'a', 0xC5, 0xA1, 'u' };
static const symbol s_2_1992[5] = { 't', 'a', 0xC5, 0xA1, 'u' };
static const symbol s_2_1993[5] = { 'v', 'a', 0xC5, 0xA1, 'u' };
static const symbol s_2_1994[4] = { 'e', 0xC5, 0xA1, 'u' };
static const symbol s_2_1995[4] = { 'i', 0xC5, 0xA1, 'u' };
static const symbol s_2_1996[4] = { 'o', 0xC5, 0xA1, 'u' };
static const symbol s_2_1997[4] = { 'a', 'v', 'a', 'v' };
static const symbol s_2_1998[4] = { 'e', 'v', 'a', 'v' };
static const symbol s_2_1999[4] = { 'i', 'v', 'a', 'v' };
static const symbol s_2_2000[4] = { 'u', 'v', 'a', 'v' };
static const symbol s_2_2001[3] = { 'k', 'o', 'v' };
static const symbol s_2_2002[3] = { 'a', 0xC5, 0xA1 };
static const symbol s_2_2003[5] = { 'i', 'r', 'a', 0xC5, 0xA1 };
static const symbol s_2_2004[5] = { 'u', 'r', 'a', 0xC5, 0xA1 };
static const symbol s_2_2005[4] = { 't', 'a', 0xC5, 0xA1 };
static const symbol s_2_2006[5] = { 'a', 'v', 'a', 0xC5, 0xA1 };
static const symbol s_2_2007[5] = { 'e', 'v', 'a', 0xC5, 0xA1 };
static const symbol s_2_2008[5] = { 'i', 'v', 'a', 0xC5, 0xA1 };
static const symbol s_2_2009[5] = { 'u', 'v', 'a', 0xC5, 0xA1 };
static const symbol s_2_2010[6] = { 'a', 0xC4, 0x8D, 'a', 0xC5, 0xA1 };
static const symbol s_2_2011[3] = { 'e', 0xC5, 0xA1 };
static const symbol s_2_2012[8] = { 'a', 's', 't', 'a', 'd', 'e', 0xC5, 0xA1 };
static const symbol s_2_2013[8] = { 'i', 's', 't', 'a', 'd', 'e', 0xC5, 0xA1 };
static const symbol s_2_2014[8] = { 'o', 's', 't', 'a', 'd', 'e', 0xC5, 0xA1 };
static const symbol s_2_2015[8] = { 'a', 's', 't', 'a', 'j', 'e', 0xC5, 0xA1 };
static const symbol s_2_2016[8] = { 'i', 's', 't', 'a', 'j', 'e', 0xC5, 0xA1 };
static const symbol s_2_2017[8] = { 'o', 's', 't', 'a', 'j', 'e', 0xC5, 0xA1 };
static const symbol s_2_2018[5] = { 'i', 'j', 'e', 0xC5, 0xA1 };
static const symbol s_2_2019[6] = { 'i', 'n', 'j', 'e', 0xC5, 0xA1 };
static const symbol s_2_2020[5] = { 'u', 'j', 'e', 0xC5, 0xA1 };
static const symbol s_2_2021[7] = { 'i', 'r', 'u', 'j', 'e', 0xC5, 0xA1 };
static const symbol s_2_2022[9] = { 'l', 'u', 0xC4, 0x8D, 'u', 'j', 'e', 0xC5, 0xA1 };
static const symbol s_2_2023[4] = { 'n', 'e', 0xC5, 0xA1 };
static const symbol s_2_2024[8] = { 'a', 's', 't', 'a', 'n', 'e', 0xC5, 0xA1 };
static const symbol s_2_2025[8] = { 'i', 's', 't', 'a', 'n', 'e', 0xC5, 0xA1 };
static const symbol s_2_2026[8] = { 'o', 's', 't', 'a', 'n', 'e', 0xC5, 0xA1 };
static const symbol s_2_2027[5] = { 'e', 't', 'e', 0xC5, 0xA1 };
static const symbol s_2_2028[6] = { 'a', 's', 't', 'e', 0xC5, 0xA1 };
static const symbol s_2_2029[3] = { 'i', 0xC5, 0xA1 };
static const symbol s_2_2030[4] = { 'n', 'i', 0xC5, 0xA1 };
static const symbol s_2_2031[6] = { 'j', 'e', 't', 'i', 0xC5, 0xA1 };
static const symbol s_2_2032[6] = { 'a', 0xC4, 0x8D, 'i', 0xC5, 0xA1 };
static const symbol s_2_2033[7] = { 'l', 'u', 0xC4, 0x8D, 'i', 0xC5, 0xA1 };
static const symbol s_2_2034[7] = { 'r', 'o', 0xC5, 0xA1, 'i', 0xC5, 0xA1 };
static const struct among a_2[2035] =
{
{ 3, s_2_0, -1, 124, 0},
{ 3, s_2_1, -1, 125, 0},
{ 3, s_2_2, -1, 126, 0},
{ 2, s_2_3, -1, 20, 0},
{ 5, s_2_4, 3, 124, 0},
{ 5, s_2_5, 3, 125, 0},
{ 5, s_2_6, 3, 126, 0},
{ 8, s_2_7, 3, 84, 0},
{ 8, s_2_8, 3, 85, 0},
{ 8, s_2_9, 3, 122, 0},
{ 9, s_2_10, 3, 86, 0},
{ 6, s_2_11, 3, 95, 0},
{ 7, s_2_12, 11, 1, 0},
{ 8, s_2_13, 11, 2, 0},
{ 7, s_2_14, 3, 83, 0},
{ 6, s_2_15, 3, 13, 0},
{ 7, s_2_16, 3, 123, 0},
{ 7, s_2_17, 3, 120, 0},
{ 9, s_2_18, 3, 92, 0},
{ 9, s_2_19, 3, 93, 0},
{ 8, s_2_20, 3, 94, 0},
{ 7, s_2_21, 3, 77, 0},
{ 7, s_2_22, 3, 78, 0},
{ 7, s_2_23, 3, 79, 0},
{ 7, s_2_24, 3, 80, 0},
{ 8, s_2_25, 3, 91, 0},
{ 6, s_2_26, 3, 84, 0},
{ 6, s_2_27, 3, 85, 0},
{ 6, s_2_28, 3, 122, 0},
{ 7, s_2_29, 3, 86, 0},
{ 4, s_2_30, 3, 95, 0},
{ 5, s_2_31, 30, 1, 0},
{ 6, s_2_32, 30, 2, 0},
{ 5, s_2_33, 3, 83, 0},
{ 4, s_2_34, 3, 13, 0},
{ 5, s_2_35, 34, 10, 0},
{ 5, s_2_36, 34, 87, 0},
{ 5, s_2_37, 34, 159, 0},
{ 6, s_2_38, 34, 88, 0},
{ 5, s_2_39, 3, 123, 0},
{ 5, s_2_40, 3, 120, 0},
{ 7, s_2_41, 3, 92, 0},
{ 7, s_2_42, 3, 93, 0},
{ 6, s_2_43, 3, 94, 0},
{ 5, s_2_44, 3, 77, 0},
{ 5, s_2_45, 3, 78, 0},
{ 5, s_2_46, 3, 79, 0},
{ 5, s_2_47, 3, 80, 0},
{ 6, s_2_48, 3, 14, 0},
{ 6, s_2_49, 3, 15, 0},
{ 6, s_2_50, 3, 16, 0},
{ 6, s_2_51, 3, 91, 0},
{ 5, s_2_52, 3, 124, 0},
{ 5, s_2_53, 3, 125, 0},
{ 5, s_2_54, 3, 126, 0},
{ 6, s_2_55, 3, 84, 0},
{ 6, s_2_56, 3, 85, 0},
{ 6, s_2_57, 3, 122, 0},
{ 7, s_2_58, 3, 86, 0},
{ 4, s_2_59, 3, 95, 0},
{ 5, s_2_60, 59, 1, 0},
{ 6, s_2_61, 59, 2, 0},
{ 4, s_2_62, 3, 19, 0},
{ 5, s_2_63, 62, 83, 0},
{ 4, s_2_64, 3, 13, 0},
{ 6, s_2_65, 64, 137, 0},
{ 7, s_2_66, 64, 89, 0},
{ 5, s_2_67, 3, 123, 0},
{ 5, s_2_68, 3, 120, 0},
{ 7, s_2_69, 3, 92, 0},
{ 7, s_2_70, 3, 93, 0},
{ 6, s_2_71, 3, 94, 0},
{ 5, s_2_72, 3, 77, 0},
{ 5, s_2_73, 3, 78, 0},
{ 5, s_2_74, 3, 79, 0},
{ 5, s_2_75, 3, 80, 0},
{ 6, s_2_76, 3, 14, 0},
{ 6, s_2_77, 3, 15, 0},
{ 6, s_2_78, 3, 16, 0},
{ 6, s_2_79, 3, 91, 0},
{ 3, s_2_80, 3, 18, 0},
{ 3, s_2_81, -1, 109, 0},
{ 4, s_2_82, 81, 26, 0},
{ 4, s_2_83, 81, 30, 0},
{ 4, s_2_84, 81, 31, 0},
{ 5, s_2_85, 81, 28, 0},
{ 5, s_2_86, 81, 27, 0},
{ 5, s_2_87, 81, 29, 0},
{ 4, s_2_88, -1, 32, 0},
{ 4, s_2_89, -1, 33, 0},
{ 4, s_2_90, -1, 34, 0},
{ 4, s_2_91, -1, 40, 0},
{ 4, s_2_92, -1, 39, 0},
{ 6, s_2_93, -1, 84, 0},
{ 6, s_2_94, -1, 85, 0},
{ 6, s_2_95, -1, 122, 0},
{ 7, s_2_96, -1, 86, 0},
{ 4, s_2_97, -1, 95, 0},
{ 5, s_2_98, 97, 1, 0},
{ 6, s_2_99, 97, 2, 0},
{ 4, s_2_100, -1, 24, 0},
{ 5, s_2_101, 100, 83, 0},
{ 4, s_2_102, -1, 37, 0},
{ 4, s_2_103, -1, 13, 0},
{ 6, s_2_104, 103, 9, 0},
{ 6, s_2_105, 103, 6, 0},
{ 6, s_2_106, 103, 7, 0},
{ 6, s_2_107, 103, 8, 0},
{ 6, s_2_108, 103, 5, 0},
{ 4, s_2_109, -1, 41, 0},
{ 4, s_2_110, -1, 42, 0},
{ 6, s_2_111, 110, 21, 0},
{ 4, s_2_112, -1, 23, 0},
{ 5, s_2_113, 112, 123, 0},
{ 4, s_2_114, -1, 44, 0},
{ 5, s_2_115, 114, 120, 0},
{ 7, s_2_116, 114, 92, 0},
{ 7, s_2_117, 114, 93, 0},
{ 5, s_2_118, 114, 22, 0},
{ 6, s_2_119, 114, 94, 0},
{ 5, s_2_120, -1, 77, 0},
{ 5, s_2_121, -1, 78, 0},
{ 5, s_2_122, -1, 79, 0},
{ 5, s_2_123, -1, 80, 0},
{ 4, s_2_124, -1, 45, 0},
{ 6, s_2_125, -1, 91, 0},
{ 5, s_2_126, -1, 38, 0},
{ 4, s_2_127, -1, 84, 0},
{ 4, s_2_128, -1, 85, 0},
{ 4, s_2_129, -1, 122, 0},
{ 5, s_2_130, -1, 86, 0},
{ 2, s_2_131, -1, 95, 0},
{ 3, s_2_132, 131, 1, 0},
{ 4, s_2_133, 131, 2, 0},
{ 3, s_2_134, -1, 104, 0},
{ 5, s_2_135, 134, 128, 0},
{ 8, s_2_136, 134, 106, 0},
{ 8, s_2_137, 134, 107, 0},
{ 8, s_2_138, 134, 108, 0},
{ 5, s_2_139, 134, 47, 0},
{ 6, s_2_140, 134, 114, 0},
{ 4, s_2_141, 134, 46, 0},
{ 5, s_2_142, 134, 100, 0},
{ 5, s_2_143, 134, 105, 0},
{ 4, s_2_144, 134, 113, 0},
{ 6, s_2_145, 144, 110, 0},
{ 6, s_2_146, 144, 111, 0},
{ 6, s_2_147, 144, 112, 0},
{ 5, s_2_148, 134, 97, 0},
{ 5, s_2_149, 134, 96, 0},
{ 5, s_2_150, 134, 98, 0},
{ 5, s_2_151, 134, 76, 0},
{ 5, s_2_152, 134, 99, 0},
{ 6, s_2_153, 134, 102, 0},
{ 3, s_2_154, -1, 83, 0},
{ 3, s_2_155, -1, 116, 0},
{ 5, s_2_156, 155, 124, 0},
{ 6, s_2_157, 155, 121, 0},
{ 4, s_2_158, 155, 103, 0},
{ 8, s_2_159, 158, 110, 0},
{ 8, s_2_160, 158, 111, 0},
{ 8, s_2_161, 158, 112, 0},
{ 6, s_2_162, 155, 127, 0},
{ 6, s_2_163, 155, 118, 0},
{ 5, s_2_164, 155, 48, 0},
{ 6, s_2_165, 155, 101, 0},
{ 7, s_2_166, 155, 117, 0},
{ 7, s_2_167, 155, 90, 0},
{ 3, s_2_168, -1, 50, 0},
{ 4, s_2_169, -1, 115, 0},
{ 4, s_2_170, -1, 13, 0},
{ 4, s_2_171, -1, 20, 0},
{ 6, s_2_172, 171, 19, 0},
{ 5, s_2_173, 171, 18, 0},
{ 5, s_2_174, -1, 109, 0},
{ 6, s_2_175, 174, 26, 0},
{ 6, s_2_176, 174, 30, 0},
{ 6, s_2_177, 174, 31, 0},
{ 7, s_2_178, 174, 28, 0},
{ 7, s_2_179, 174, 27, 0},
{ 7, s_2_180, 174, 29, 0},
{ 6, s_2_181, -1, 32, 0},
{ 6, s_2_182, -1, 33, 0},
{ 6, s_2_183, -1, 34, 0},
{ 6, s_2_184, -1, 40, 0},
{ 6, s_2_185, -1, 39, 0},
{ 6, s_2_186, -1, 35, 0},
{ 6, s_2_187, -1, 37, 0},
{ 6, s_2_188, -1, 36, 0},
{ 8, s_2_189, 188, 9, 0},
{ 8, s_2_190, 188, 6, 0},
{ 8, s_2_191, 188, 7, 0},
{ 8, s_2_192, 188, 8, 0},
{ 8, s_2_193, 188, 5, 0},
{ 6, s_2_194, -1, 41, 0},
{ 6, s_2_195, -1, 42, 0},
{ 6, s_2_196, -1, 43, 0},
{ 6, s_2_197, -1, 44, 0},
{ 6, s_2_198, -1, 45, 0},
{ 7, s_2_199, -1, 38, 0},
{ 5, s_2_200, -1, 104, 0},
{ 7, s_2_201, 200, 47, 0},
{ 6, s_2_202, 200, 46, 0},
{ 5, s_2_203, -1, 119, 0},
{ 5, s_2_204, -1, 116, 0},
{ 6, s_2_205, -1, 52, 0},
{ 6, s_2_206, -1, 51, 0},
{ 5, s_2_207, -1, 11, 0},
{ 6, s_2_208, 207, 137, 0},
{ 7, s_2_209, 207, 89, 0},
{ 4, s_2_210, -1, 52, 0},
{ 5, s_2_211, 210, 53, 0},
{ 5, s_2_212, 210, 54, 0},
{ 5, s_2_213, 210, 55, 0},
{ 5, s_2_214, 210, 56, 0},
{ 6, s_2_215, -1, 135, 0},
{ 6, s_2_216, -1, 131, 0},
{ 6, s_2_217, -1, 129, 0},
{ 6, s_2_218, -1, 133, 0},
{ 6, s_2_219, -1, 132, 0},
{ 6, s_2_220, -1, 130, 0},
{ 6, s_2_221, -1, 134, 0},
{ 5, s_2_222, -1, 152, 0},
{ 5, s_2_223, -1, 154, 0},
{ 5, s_2_224, -1, 70, 0},
{ 6, s_2_225, -1, 71, 0},
{ 6, s_2_226, -1, 72, 0},
{ 6, s_2_227, -1, 73, 0},
{ 6, s_2_228, -1, 74, 0},
{ 5, s_2_229, -1, 77, 0},
{ 5, s_2_230, -1, 78, 0},
{ 5, s_2_231, -1, 79, 0},
{ 7, s_2_232, -1, 63, 0},
{ 7, s_2_233, -1, 64, 0},
{ 7, s_2_234, -1, 61, 0},
{ 7, s_2_235, -1, 62, 0},
{ 7, s_2_236, -1, 60, 0},
{ 7, s_2_237, -1, 59, 0},
{ 7, s_2_238, -1, 65, 0},
{ 6, s_2_239, -1, 66, 0},
{ 6, s_2_240, -1, 67, 0},
{ 4, s_2_241, -1, 51, 0},
{ 5, s_2_242, -1, 124, 0},
{ 5, s_2_243, -1, 125, 0},
{ 5, s_2_244, -1, 126, 0},
{ 5, s_2_245, -1, 109, 0},
{ 6, s_2_246, 245, 26, 0},
{ 6, s_2_247, 245, 30, 0},
{ 6, s_2_248, 245, 31, 0},
{ 7, s_2_249, 245, 28, 0},
{ 7, s_2_250, 245, 27, 0},
{ 7, s_2_251, 245, 29, 0},
{ 6, s_2_252, -1, 32, 0},
{ 6, s_2_253, -1, 33, 0},
{ 6, s_2_254, -1, 34, 0},
{ 6, s_2_255, -1, 40, 0},
{ 6, s_2_256, -1, 39, 0},
{ 8, s_2_257, -1, 84, 0},
{ 8, s_2_258, -1, 85, 0},
{ 8, s_2_259, -1, 122, 0},
{ 9, s_2_260, -1, 86, 0},
{ 6, s_2_261, -1, 95, 0},
{ 7, s_2_262, 261, 1, 0},
{ 8, s_2_263, 261, 2, 0},
{ 6, s_2_264, -1, 35, 0},
{ 7, s_2_265, 264, 83, 0},
{ 6, s_2_266, -1, 37, 0},
{ 6, s_2_267, -1, 13, 0},
{ 8, s_2_268, 267, 9, 0},
{ 8, s_2_269, 267, 6, 0},
{ 8, s_2_270, 267, 7, 0},
{ 8, s_2_271, 267, 8, 0},
{ 8, s_2_272, 267, 5, 0},
{ 6, s_2_273, -1, 41, 0},
{ 6, s_2_274, -1, 42, 0},
{ 6, s_2_275, -1, 43, 0},
{ 7, s_2_276, 275, 123, 0},
{ 6, s_2_277, -1, 44, 0},
{ 7, s_2_278, 277, 120, 0},
{ 9, s_2_279, 277, 92, 0},
{ 9, s_2_280, 277, 93, 0},
{ 8, s_2_281, 277, 94, 0},
{ 7, s_2_282, -1, 77, 0},
{ 7, s_2_283, -1, 78, 0},
{ 7, s_2_284, -1, 79, 0},
{ 7, s_2_285, -1, 80, 0},
{ 6, s_2_286, -1, 45, 0},
{ 8, s_2_287, -1, 91, 0},
{ 7, s_2_288, -1, 38, 0},
{ 6, s_2_289, -1, 84, 0},
{ 6, s_2_290, -1, 85, 0},
{ 6, s_2_291, -1, 122, 0},
{ 7, s_2_292, -1, 86, 0},
{ 4, s_2_293, -1, 95, 0},
{ 5, s_2_294, 293, 1, 0},
{ 6, s_2_295, 293, 2, 0},
{ 5, s_2_296, -1, 104, 0},
{ 7, s_2_297, 296, 47, 0},
{ 6, s_2_298, 296, 46, 0},
{ 5, s_2_299, -1, 83, 0},
{ 5, s_2_300, -1, 116, 0},
{ 7, s_2_301, 300, 48, 0},
{ 5, s_2_302, -1, 50, 0},
{ 6, s_2_303, -1, 51, 0},
{ 4, s_2_304, -1, 13, 0},
{ 5, s_2_305, 304, 10, 0},
{ 5, s_2_306, 304, 11, 0},
{ 6, s_2_307, 306, 137, 0},
{ 7, s_2_308, 306, 89, 0},
{ 5, s_2_309, 304, 12, 0},
{ 5, s_2_310, -1, 53, 0},
{ 5, s_2_311, -1, 54, 0},
{ 5, s_2_312, -1, 55, 0},
{ 5, s_2_313, -1, 56, 0},
{ 6, s_2_314, -1, 135, 0},
{ 6, s_2_315, -1, 131, 0},
{ 6, s_2_316, -1, 129, 0},
{ 6, s_2_317, -1, 133, 0},
{ 6, s_2_318, -1, 132, 0},
{ 6, s_2_319, -1, 130, 0},
{ 6, s_2_320, -1, 134, 0},
{ 5, s_2_321, -1, 57, 0},
{ 5, s_2_322, -1, 58, 0},
{ 5, s_2_323, -1, 123, 0},
{ 5, s_2_324, -1, 120, 0},
{ 7, s_2_325, 324, 68, 0},
{ 6, s_2_326, 324, 69, 0},
{ 5, s_2_327, -1, 70, 0},
{ 7, s_2_328, -1, 92, 0},
{ 7, s_2_329, -1, 93, 0},
{ 6, s_2_330, -1, 94, 0},
{ 6, s_2_331, -1, 71, 0},
{ 6, s_2_332, -1, 72, 0},
{ 6, s_2_333, -1, 73, 0},
{ 6, s_2_334, -1, 74, 0},
{ 7, s_2_335, -1, 75, 0},
{ 5, s_2_336, -1, 77, 0},
{ 5, s_2_337, -1, 78, 0},
{ 7, s_2_338, 337, 109, 0},
{ 8, s_2_339, 338, 26, 0},
{ 8, s_2_340, 338, 30, 0},
{ 8, s_2_341, 338, 31, 0},
{ 9, s_2_342, 338, 28, 0},
{ 9, s_2_343, 338, 27, 0},
{ 9, s_2_344, 338, 29, 0},
{ 5, s_2_345, -1, 79, 0},
{ 5, s_2_346, -1, 80, 0},
{ 6, s_2_347, 346, 20, 0},
{ 7, s_2_348, 347, 17, 0},
{ 6, s_2_349, 346, 82, 0},
{ 7, s_2_350, 349, 49, 0},
{ 6, s_2_351, 346, 81, 0},
{ 7, s_2_352, 346, 12, 0},
{ 6, s_2_353, -1, 3, 0},
{ 7, s_2_354, -1, 4, 0},
{ 6, s_2_355, -1, 14, 0},
{ 6, s_2_356, -1, 15, 0},
{ 6, s_2_357, -1, 16, 0},
{ 7, s_2_358, -1, 63, 0},
{ 7, s_2_359, -1, 64, 0},
{ 7, s_2_360, -1, 61, 0},
{ 7, s_2_361, -1, 62, 0},
{ 7, s_2_362, -1, 60, 0},
{ 7, s_2_363, -1, 59, 0},
{ 7, s_2_364, -1, 65, 0},
{ 6, s_2_365, -1, 66, 0},
{ 6, s_2_366, -1, 67, 0},
{ 6, s_2_367, -1, 91, 0},
{ 2, s_2_368, -1, 13, 0},
{ 3, s_2_369, 368, 10, 0},
{ 5, s_2_370, 369, 128, 0},
{ 5, s_2_371, 369, 105, 0},
{ 4, s_2_372, 369, 113, 0},
{ 5, s_2_373, 369, 97, 0},
{ 5, s_2_374, 369, 96, 0},
{ 5, s_2_375, 369, 98, 0},
{ 5, s_2_376, 369, 99, 0},
{ 6, s_2_377, 369, 102, 0},
{ 5, s_2_378, 368, 124, 0},
{ 6, s_2_379, 368, 121, 0},
{ 6, s_2_380, 368, 101, 0},
{ 7, s_2_381, 368, 117, 0},
{ 3, s_2_382, 368, 11, 0},
{ 4, s_2_383, 382, 137, 0},
{ 5, s_2_384, 382, 10, 0},
{ 5, s_2_385, 382, 89, 0},
{ 3, s_2_386, 368, 12, 0},
{ 3, s_2_387, -1, 53, 0},
{ 3, s_2_388, -1, 54, 0},
{ 3, s_2_389, -1, 55, 0},
{ 3, s_2_390, -1, 56, 0},
{ 4, s_2_391, -1, 135, 0},
{ 4, s_2_392, -1, 131, 0},
{ 4, s_2_393, -1, 129, 0},
{ 4, s_2_394, -1, 133, 0},
{ 4, s_2_395, -1, 132, 0},
{ 4, s_2_396, -1, 130, 0},
{ 4, s_2_397, -1, 134, 0},
{ 3, s_2_398, -1, 57, 0},
{ 3, s_2_399, -1, 58, 0},
{ 3, s_2_400, -1, 123, 0},
{ 3, s_2_401, -1, 120, 0},
{ 5, s_2_402, 401, 68, 0},
{ 4, s_2_403, 401, 69, 0},
{ 3, s_2_404, -1, 70, 0},
{ 5, s_2_405, -1, 92, 0},
{ 5, s_2_406, -1, 93, 0},
{ 4, s_2_407, -1, 94, 0},
{ 4, s_2_408, -1, 71, 0},
{ 4, s_2_409, -1, 72, 0},
{ 4, s_2_410, -1, 73, 0},
{ 4, s_2_411, -1, 74, 0},
{ 4, s_2_412, -1, 13, 0},
{ 5, s_2_413, -1, 75, 0},
{ 3, s_2_414, -1, 77, 0},
{ 3, s_2_415, -1, 78, 0},
{ 5, s_2_416, 415, 109, 0},
{ 6, s_2_417, 416, 26, 0},
{ 6, s_2_418, 416, 30, 0},
{ 6, s_2_419, 416, 31, 0},
{ 7, s_2_420, 416, 28, 0},
{ 7, s_2_421, 416, 27, 0},
{ 7, s_2_422, 416, 29, 0},
{ 3, s_2_423, -1, 79, 0},
{ 3, s_2_424, -1, 80, 0},
{ 4, s_2_425, 424, 20, 0},
{ 5, s_2_426, 425, 17, 0},
{ 4, s_2_427, 424, 82, 0},
{ 5, s_2_428, 427, 49, 0},
{ 4, s_2_429, 424, 81, 0},
{ 5, s_2_430, 424, 12, 0},
{ 4, s_2_431, -1, 3, 0},
{ 5, s_2_432, -1, 4, 0},
{ 4, s_2_433, -1, 14, 0},
{ 4, s_2_434, -1, 15, 0},
{ 4, s_2_435, -1, 16, 0},
{ 5, s_2_436, -1, 63, 0},
{ 5, s_2_437, -1, 64, 0},
{ 5, s_2_438, -1, 61, 0},
{ 5, s_2_439, -1, 62, 0},
{ 5, s_2_440, -1, 60, 0},
{ 5, s_2_441, -1, 59, 0},
{ 5, s_2_442, -1, 65, 0},
{ 4, s_2_443, -1, 66, 0},
{ 4, s_2_444, -1, 67, 0},
{ 4, s_2_445, -1, 91, 0},
{ 3, s_2_446, -1, 124, 0},
{ 3, s_2_447, -1, 125, 0},
{ 3, s_2_448, -1, 126, 0},
{ 4, s_2_449, 448, 121, 0},
{ 6, s_2_450, -1, 110, 0},
{ 6, s_2_451, -1, 111, 0},
{ 6, s_2_452, -1, 112, 0},
{ 2, s_2_453, -1, 20, 0},
{ 4, s_2_454, 453, 19, 0},
{ 3, s_2_455, 453, 18, 0},
{ 3, s_2_456, -1, 104, 0},
{ 4, s_2_457, 456, 26, 0},
{ 4, s_2_458, 456, 30, 0},
{ 4, s_2_459, 456, 31, 0},
{ 6, s_2_460, 456, 106, 0},
{ 6, s_2_461, 456, 107, 0},
{ 6, s_2_462, 456, 108, 0},
{ 5, s_2_463, 456, 28, 0},
{ 5, s_2_464, 456, 27, 0},
{ 5, s_2_465, 456, 29, 0},
{ 3, s_2_466, -1, 116, 0},
{ 4, s_2_467, 466, 32, 0},
{ 4, s_2_468, 466, 33, 0},
{ 4, s_2_469, 466, 34, 0},
{ 4, s_2_470, 466, 40, 0},
{ 4, s_2_471, 466, 39, 0},
{ 6, s_2_472, 466, 84, 0},
{ 6, s_2_473, 466, 85, 0},
{ 6, s_2_474, 466, 122, 0},
{ 7, s_2_475, 466, 86, 0},
{ 4, s_2_476, 466, 95, 0},
{ 5, s_2_477, 476, 1, 0},
{ 6, s_2_478, 476, 2, 0},
{ 4, s_2_479, 466, 35, 0},
{ 5, s_2_480, 479, 83, 0},
{ 4, s_2_481, 466, 37, 0},
{ 4, s_2_482, 466, 13, 0},
{ 6, s_2_483, 482, 9, 0},
{ 6, s_2_484, 482, 6, 0},
{ 6, s_2_485, 482, 7, 0},
{ 6, s_2_486, 482, 8, 0},
{ 6, s_2_487, 482, 5, 0},
{ 4, s_2_488, 466, 41, 0},
{ 4, s_2_489, 466, 42, 0},
{ 4, s_2_490, 466, 43, 0},
{ 5, s_2_491, 490, 123, 0},
{ 4, s_2_492, 466, 44, 0},
{ 5, s_2_493, 492, 120, 0},
{ 7, s_2_494, 492, 92, 0},
{ 7, s_2_495, 492, 93, 0},
{ 6, s_2_496, 492, 94, 0},
{ 5, s_2_497, 466, 77, 0},
{ 5, s_2_498, 466, 78, 0},
{ 5, s_2_499, 466, 79, 0},
{ 5, s_2_500, 466, 80, 0},
{ 4, s_2_501, 466, 45, 0},
{ 6, s_2_502, 466, 91, 0},
{ 5, s_2_503, 466, 38, 0},
{ 4, s_2_504, -1, 84, 0},
{ 4, s_2_505, -1, 85, 0},
{ 4, s_2_506, -1, 122, 0},
{ 5, s_2_507, -1, 86, 0},
{ 3, s_2_508, -1, 25, 0},
{ 6, s_2_509, 508, 121, 0},
{ 5, s_2_510, 508, 100, 0},
{ 7, s_2_511, 508, 117, 0},
{ 2, s_2_512, -1, 95, 0},
{ 3, s_2_513, 512, 1, 0},
{ 4, s_2_514, 512, 2, 0},
{ 3, s_2_515, -1, 104, 0},
{ 5, s_2_516, 515, 128, 0},
{ 8, s_2_517, 515, 106, 0},
{ 8, s_2_518, 515, 107, 0},
{ 8, s_2_519, 515, 108, 0},
{ 5, s_2_520, 515, 47, 0},
{ 6, s_2_521, 515, 114, 0},
{ 4, s_2_522, 515, 46, 0},
{ 5, s_2_523, 515, 100, 0},
{ 5, s_2_524, 515, 105, 0},
{ 4, s_2_525, 515, 113, 0},
{ 6, s_2_526, 525, 110, 0},
{ 6, s_2_527, 525, 111, 0},
{ 6, s_2_528, 525, 112, 0},
{ 5, s_2_529, 515, 97, 0},
{ 5, s_2_530, 515, 96, 0},
{ 5, s_2_531, 515, 98, 0},
{ 5, s_2_532, 515, 76, 0},
{ 5, s_2_533, 515, 99, 0},
{ 6, s_2_534, 515, 102, 0},
{ 3, s_2_535, -1, 83, 0},
{ 3, s_2_536, -1, 116, 0},
{ 5, s_2_537, 536, 124, 0},
{ 6, s_2_538, 536, 121, 0},
{ 4, s_2_539, 536, 103, 0},
{ 6, s_2_540, 536, 127, 0},
{ 6, s_2_541, 536, 118, 0},
{ 5, s_2_542, 536, 48, 0},
{ 6, s_2_543, 536, 101, 0},
{ 7, s_2_544, 536, 117, 0},
{ 7, s_2_545, 536, 90, 0},
{ 3, s_2_546, -1, 50, 0},
{ 4, s_2_547, -1, 115, 0},
{ 4, s_2_548, -1, 13, 0},
{ 4, s_2_549, -1, 52, 0},
{ 4, s_2_550, -1, 51, 0},
{ 5, s_2_551, -1, 124, 0},
{ 5, s_2_552, -1, 125, 0},
{ 5, s_2_553, -1, 126, 0},
{ 6, s_2_554, -1, 84, 0},
{ 6, s_2_555, -1, 85, 0},
{ 6, s_2_556, -1, 122, 0},
{ 7, s_2_557, -1, 86, 0},
{ 4, s_2_558, -1, 95, 0},
{ 5, s_2_559, 558, 1, 0},
{ 6, s_2_560, 558, 2, 0},
{ 5, s_2_561, -1, 83, 0},
{ 4, s_2_562, -1, 13, 0},
{ 6, s_2_563, 562, 137, 0},
{ 7, s_2_564, 562, 89, 0},
{ 5, s_2_565, -1, 123, 0},
{ 5, s_2_566, -1, 120, 0},
{ 7, s_2_567, -1, 92, 0},
{ 7, s_2_568, -1, 93, 0},
{ 6, s_2_569, -1, 94, 0},
{ 5, s_2_570, -1, 77, 0},
{ 5, s_2_571, -1, 78, 0},
{ 5, s_2_572, -1, 79, 0},
{ 5, s_2_573, -1, 80, 0},
{ 6, s_2_574, -1, 14, 0},
{ 6, s_2_575, -1, 15, 0},
{ 6, s_2_576, -1, 16, 0},
{ 6, s_2_577, -1, 91, 0},
{ 2, s_2_578, -1, 13, 0},
{ 3, s_2_579, 578, 10, 0},
{ 5, s_2_580, 579, 128, 0},
{ 5, s_2_581, 579, 105, 0},
{ 4, s_2_582, 579, 113, 0},
{ 6, s_2_583, 582, 110, 0},
{ 6, s_2_584, 582, 111, 0},
{ 6, s_2_585, 582, 112, 0},
{ 5, s_2_586, 579, 97, 0},
{ 5, s_2_587, 579, 96, 0},
{ 5, s_2_588, 579, 98, 0},
{ 5, s_2_589, 579, 99, 0},
{ 6, s_2_590, 579, 102, 0},
{ 5, s_2_591, 578, 124, 0},
{ 6, s_2_592, 578, 121, 0},
{ 6, s_2_593, 578, 101, 0},
{ 7, s_2_594, 578, 117, 0},
{ 3, s_2_595, 578, 11, 0},
{ 4, s_2_596, 595, 137, 0},
{ 5, s_2_597, 595, 10, 0},
{ 5, s_2_598, 595, 89, 0},
{ 3, s_2_599, 578, 12, 0},
{ 3, s_2_600, -1, 53, 0},
{ 3, s_2_601, -1, 54, 0},
{ 3, s_2_602, -1, 55, 0},
{ 3, s_2_603, -1, 56, 0},
{ 3, s_2_604, -1, 161, 0},
{ 4, s_2_605, 604, 135, 0},
{ 5, s_2_606, 604, 128, 0},
{ 4, s_2_607, 604, 131, 0},
{ 4, s_2_608, 604, 129, 0},
{ 8, s_2_609, 608, 138, 0},
{ 8, s_2_610, 608, 139, 0},
{ 8, s_2_611, 608, 140, 0},
{ 6, s_2_612, 608, 150, 0},
{ 4, s_2_613, 604, 133, 0},
{ 4, s_2_614, 604, 132, 0},
{ 5, s_2_615, 604, 155, 0},
{ 5, s_2_616, 604, 156, 0},
{ 4, s_2_617, 604, 130, 0},
{ 4, s_2_618, 604, 134, 0},
{ 5, s_2_619, 618, 144, 0},
{ 5, s_2_620, 618, 145, 0},
{ 5, s_2_621, 618, 146, 0},
{ 5, s_2_622, 618, 148, 0},
{ 5, s_2_623, 618, 147, 0},
{ 3, s_2_624, -1, 57, 0},
{ 3, s_2_625, -1, 58, 0},
{ 5, s_2_626, 625, 124, 0},
{ 6, s_2_627, 625, 121, 0},
{ 6, s_2_628, 625, 127, 0},
{ 6, s_2_629, 625, 149, 0},
{ 3, s_2_630, -1, 123, 0},
{ 8, s_2_631, 630, 141, 0},
{ 8, s_2_632, 630, 142, 0},
{ 8, s_2_633, 630, 143, 0},
{ 3, s_2_634, -1, 104, 0},
{ 5, s_2_635, 634, 128, 0},
{ 5, s_2_636, 634, 68, 0},
{ 4, s_2_637, 634, 69, 0},
{ 5, s_2_638, 634, 100, 0},
{ 5, s_2_639, 634, 105, 0},
{ 4, s_2_640, 634, 113, 0},
{ 5, s_2_641, 634, 97, 0},
{ 5, s_2_642, 634, 96, 0},
{ 5, s_2_643, 634, 98, 0},
{ 5, s_2_644, 634, 99, 0},
{ 6, s_2_645, 634, 102, 0},
{ 3, s_2_646, -1, 70, 0},
{ 8, s_2_647, 646, 110, 0},
{ 8, s_2_648, 646, 111, 0},
{ 8, s_2_649, 646, 112, 0},
{ 8, s_2_650, 646, 106, 0},
{ 8, s_2_651, 646, 107, 0},
{ 8, s_2_652, 646, 108, 0},
{ 5, s_2_653, 646, 116, 0},
{ 6, s_2_654, 646, 114, 0},
{ 5, s_2_655, 646, 25, 0},
{ 8, s_2_656, 655, 121, 0},
{ 7, s_2_657, 655, 100, 0},
{ 9, s_2_658, 655, 117, 0},
{ 4, s_2_659, 646, 13, 0},
{ 8, s_2_660, 659, 110, 0},
{ 8, s_2_661, 659, 111, 0},
{ 8, s_2_662, 659, 112, 0},
{ 6, s_2_663, 646, 115, 0},
{ 3, s_2_664, -1, 116, 0},
{ 5, s_2_665, 664, 124, 0},
{ 6, s_2_666, 664, 121, 0},
{ 4, s_2_667, 664, 13, 0},
{ 8, s_2_668, 667, 110, 0},
{ 8, s_2_669, 667, 111, 0},
{ 8, s_2_670, 667, 112, 0},
{ 6, s_2_671, 664, 127, 0},
{ 6, s_2_672, 664, 118, 0},
{ 6, s_2_673, 664, 115, 0},
{ 5, s_2_674, 664, 92, 0},
{ 5, s_2_675, 664, 93, 0},
{ 6, s_2_676, 664, 101, 0},
{ 7, s_2_677, 664, 117, 0},
{ 7, s_2_678, 664, 90, 0},
{ 4, s_2_679, -1, 104, 0},
{ 6, s_2_680, 679, 105, 0},
{ 5, s_2_681, 679, 113, 0},
{ 7, s_2_682, 681, 106, 0},
{ 7, s_2_683, 681, 107, 0},
{ 7, s_2_684, 681, 108, 0},
{ 6, s_2_685, 679, 97, 0},
{ 6, s_2_686, 679, 96, 0},
{ 6, s_2_687, 679, 98, 0},
{ 6, s_2_688, 679, 99, 0},
{ 4, s_2_689, -1, 116, 0},
{ 7, s_2_690, -1, 121, 0},
{ 6, s_2_691, -1, 100, 0},
{ 8, s_2_692, -1, 117, 0},
{ 4, s_2_693, -1, 94, 0},
{ 6, s_2_694, 693, 128, 0},
{ 9, s_2_695, 693, 106, 0},
{ 9, s_2_696, 693, 107, 0},
{ 9, s_2_697, 693, 108, 0},
{ 7, s_2_698, 693, 114, 0},
{ 6, s_2_699, 693, 100, 0},
{ 6, s_2_700, 693, 105, 0},
{ 5, s_2_701, 693, 113, 0},
{ 6, s_2_702, 693, 97, 0},
{ 6, s_2_703, 693, 96, 0},
{ 6, s_2_704, 693, 98, 0},
{ 6, s_2_705, 693, 76, 0},
{ 6, s_2_706, 693, 99, 0},
{ 7, s_2_707, 693, 102, 0},
{ 4, s_2_708, -1, 71, 0},
{ 4, s_2_709, -1, 72, 0},
{ 6, s_2_710, 709, 124, 0},
{ 7, s_2_711, 709, 121, 0},
{ 5, s_2_712, 709, 103, 0},
{ 7, s_2_713, 709, 127, 0},
{ 7, s_2_714, 709, 118, 0},
{ 7, s_2_715, 709, 101, 0},
{ 8, s_2_716, 709, 117, 0},
{ 8, s_2_717, 709, 90, 0},
{ 4, s_2_718, -1, 73, 0},
{ 4, s_2_719, -1, 74, 0},
{ 9, s_2_720, 719, 110, 0},
{ 9, s_2_721, 719, 111, 0},
{ 9, s_2_722, 719, 112, 0},
{ 5, s_2_723, -1, 13, 0},
{ 5, s_2_724, -1, 75, 0},
{ 3, s_2_725, -1, 77, 0},
{ 3, s_2_726, -1, 78, 0},
{ 5, s_2_727, 726, 109, 0},
{ 6, s_2_728, 727, 26, 0},
{ 6, s_2_729, 727, 30, 0},
{ 6, s_2_730, 727, 31, 0},
{ 7, s_2_731, 727, 28, 0},
{ 7, s_2_732, 727, 27, 0},
{ 7, s_2_733, 727, 29, 0},
{ 3, s_2_734, -1, 79, 0},
{ 3, s_2_735, -1, 80, 0},
{ 4, s_2_736, 735, 20, 0},
{ 5, s_2_737, 736, 17, 0},
{ 4, s_2_738, 735, 82, 0},
{ 5, s_2_739, 738, 49, 0},
{ 4, s_2_740, 735, 81, 0},
{ 5, s_2_741, 735, 12, 0},
{ 4, s_2_742, -1, 14, 0},
{ 4, s_2_743, -1, 15, 0},
{ 4, s_2_744, -1, 16, 0},
{ 4, s_2_745, -1, 101, 0},
{ 5, s_2_746, -1, 117, 0},
{ 4, s_2_747, -1, 104, 0},
{ 5, s_2_748, 747, 63, 0},
{ 5, s_2_749, 747, 64, 0},
{ 5, s_2_750, 747, 61, 0},
{ 9, s_2_751, 750, 106, 0},
{ 9, s_2_752, 750, 107, 0},
{ 9, s_2_753, 750, 108, 0},
{ 7, s_2_754, 750, 114, 0},
{ 5, s_2_755, 747, 62, 0},
{ 5, s_2_756, 747, 60, 0},
{ 6, s_2_757, 747, 100, 0},
{ 6, s_2_758, 747, 105, 0},
{ 5, s_2_759, 747, 59, 0},
{ 5, s_2_760, 747, 65, 0},
{ 6, s_2_761, 760, 97, 0},
{ 6, s_2_762, 760, 96, 0},
{ 6, s_2_763, 760, 98, 0},
{ 6, s_2_764, 760, 76, 0},
{ 6, s_2_765, 760, 99, 0},
{ 7, s_2_766, 747, 102, 0},
{ 4, s_2_767, -1, 66, 0},
{ 4, s_2_768, -1, 67, 0},
{ 7, s_2_769, 768, 118, 0},
{ 7, s_2_770, 768, 101, 0},
{ 8, s_2_771, 768, 117, 0},
{ 8, s_2_772, 768, 90, 0},
{ 4, s_2_773, -1, 91, 0},
{ 9, s_2_774, 773, 110, 0},
{ 9, s_2_775, 773, 111, 0},
{ 9, s_2_776, 773, 112, 0},
{ 4, s_2_777, -1, 124, 0},
{ 4, s_2_778, -1, 125, 0},
{ 4, s_2_779, -1, 126, 0},
{ 7, s_2_780, -1, 84, 0},
{ 7, s_2_781, -1, 85, 0},
{ 7, s_2_782, -1, 122, 0},
{ 8, s_2_783, -1, 86, 0},
{ 5, s_2_784, -1, 95, 0},
{ 6, s_2_785, 784, 1, 0},
{ 7, s_2_786, 784, 2, 0},
{ 6, s_2_787, -1, 83, 0},
{ 5, s_2_788, -1, 13, 0},
{ 6, s_2_789, -1, 123, 0},
{ 6, s_2_790, -1, 120, 0},
{ 8, s_2_791, -1, 92, 0},
{ 8, s_2_792, -1, 93, 0},
{ 7, s_2_793, -1, 94, 0},
{ 6, s_2_794, -1, 77, 0},
{ 6, s_2_795, -1, 78, 0},
{ 6, s_2_796, -1, 79, 0},
{ 6, s_2_797, -1, 80, 0},
{ 7, s_2_798, -1, 91, 0},
{ 5, s_2_799, -1, 84, 0},
{ 5, s_2_800, -1, 85, 0},
{ 5, s_2_801, -1, 122, 0},
{ 6, s_2_802, -1, 86, 0},
{ 3, s_2_803, -1, 95, 0},
{ 4, s_2_804, -1, 83, 0},
{ 3, s_2_805, -1, 13, 0},
{ 4, s_2_806, 805, 10, 0},
{ 4, s_2_807, 805, 87, 0},
{ 4, s_2_808, 805, 159, 0},
{ 5, s_2_809, 805, 88, 0},
{ 4, s_2_810, -1, 123, 0},
{ 4, s_2_811, -1, 120, 0},
{ 4, s_2_812, -1, 77, 0},
{ 4, s_2_813, -1, 78, 0},
{ 4, s_2_814, -1, 79, 0},
{ 4, s_2_815, -1, 80, 0},
{ 5, s_2_816, -1, 14, 0},
{ 5, s_2_817, -1, 15, 0},
{ 5, s_2_818, -1, 16, 0},
{ 5, s_2_819, -1, 91, 0},
{ 4, s_2_820, -1, 124, 0},
{ 4, s_2_821, -1, 125, 0},
{ 4, s_2_822, -1, 126, 0},
{ 5, s_2_823, -1, 84, 0},
{ 5, s_2_824, -1, 85, 0},
{ 5, s_2_825, -1, 122, 0},
{ 6, s_2_826, -1, 86, 0},
{ 3, s_2_827, -1, 95, 0},
{ 4, s_2_828, 827, 1, 0},
{ 5, s_2_829, 827, 2, 0},
{ 4, s_2_830, -1, 83, 0},
{ 3, s_2_831, -1, 13, 0},
{ 5, s_2_832, 831, 137, 0},
{ 6, s_2_833, 831, 89, 0},
{ 4, s_2_834, -1, 123, 0},
{ 4, s_2_835, -1, 120, 0},
{ 6, s_2_836, -1, 92, 0},
{ 6, s_2_837, -1, 93, 0},
{ 5, s_2_838, -1, 94, 0},
{ 4, s_2_839, -1, 77, 0},
{ 4, s_2_840, -1, 78, 0},
{ 4, s_2_841, -1, 79, 0},
{ 4, s_2_842, -1, 80, 0},
{ 5, s_2_843, -1, 14, 0},
{ 5, s_2_844, -1, 15, 0},
{ 5, s_2_845, -1, 16, 0},
{ 5, s_2_846, -1, 91, 0},
{ 2, s_2_847, -1, 104, 0},
{ 4, s_2_848, 847, 128, 0},
{ 7, s_2_849, 847, 106, 0},
{ 7, s_2_850, 847, 107, 0},
{ 7, s_2_851, 847, 108, 0},
{ 5, s_2_852, 847, 114, 0},
{ 4, s_2_853, 847, 100, 0},
{ 4, s_2_854, 847, 105, 0},
{ 3, s_2_855, 847, 113, 0},
{ 4, s_2_856, 847, 97, 0},
{ 4, s_2_857, 847, 96, 0},
{ 4, s_2_858, 847, 98, 0},
{ 4, s_2_859, 847, 76, 0},
{ 4, s_2_860, 847, 99, 0},
{ 5, s_2_861, 847, 102, 0},
{ 2, s_2_862, -1, 116, 0},
{ 4, s_2_863, 862, 124, 0},
{ 4, s_2_864, 862, 125, 0},
{ 4, s_2_865, 862, 126, 0},
{ 5, s_2_866, 865, 121, 0},
{ 7, s_2_867, 862, 84, 0},
{ 7, s_2_868, 862, 85, 0},
{ 7, s_2_869, 862, 122, 0},
{ 8, s_2_870, 862, 86, 0},
{ 5, s_2_871, 862, 95, 0},
{ 6, s_2_872, 871, 1, 0},
{ 7, s_2_873, 871, 2, 0},
{ 6, s_2_874, 862, 83, 0},
{ 5, s_2_875, 862, 13, 0},
{ 6, s_2_876, 862, 123, 0},
{ 6, s_2_877, 862, 120, 0},
{ 8, s_2_878, 862, 92, 0},
{ 8, s_2_879, 862, 93, 0},
{ 7, s_2_880, 862, 94, 0},
{ 6, s_2_881, 862, 77, 0},
{ 6, s_2_882, 862, 78, 0},
{ 6, s_2_883, 862, 79, 0},
{ 6, s_2_884, 862, 80, 0},
{ 7, s_2_885, 862, 91, 0},
{ 5, s_2_886, 862, 84, 0},
{ 5, s_2_887, 862, 85, 0},
{ 5, s_2_888, 862, 122, 0},
{ 6, s_2_889, 862, 86, 0},
{ 3, s_2_890, 862, 95, 0},
{ 4, s_2_891, 890, 1, 0},
{ 5, s_2_892, 890, 2, 0},
{ 4, s_2_893, 862, 83, 0},
{ 3, s_2_894, 862, 13, 0},
{ 5, s_2_895, 894, 137, 0},
{ 6, s_2_896, 894, 89, 0},
{ 4, s_2_897, 862, 123, 0},
{ 5, s_2_898, 897, 127, 0},
{ 4, s_2_899, 862, 120, 0},
{ 5, s_2_900, 862, 118, 0},
{ 6, s_2_901, 862, 92, 0},
{ 6, s_2_902, 862, 93, 0},
{ 5, s_2_903, 862, 94, 0},
{ 4, s_2_904, 862, 77, 0},
{ 4, s_2_905, 862, 78, 0},
{ 4, s_2_906, 862, 79, 0},
{ 4, s_2_907, 862, 80, 0},
{ 5, s_2_908, 862, 14, 0},
{ 5, s_2_909, 862, 15, 0},
{ 5, s_2_910, 862, 16, 0},
{ 5, s_2_911, 862, 101, 0},
{ 6, s_2_912, 862, 117, 0},
{ 5, s_2_913, 862, 91, 0},
{ 6, s_2_914, 913, 90, 0},
{ 7, s_2_915, -1, 110, 0},
{ 7, s_2_916, -1, 111, 0},
{ 7, s_2_917, -1, 112, 0},
{ 4, s_2_918, -1, 124, 0},
{ 4, s_2_919, -1, 125, 0},
{ 4, s_2_920, -1, 126, 0},
{ 5, s_2_921, -1, 14, 0},
{ 5, s_2_922, -1, 15, 0},
{ 5, s_2_923, -1, 16, 0},
{ 3, s_2_924, -1, 124, 0},
{ 5, s_2_925, -1, 124, 0},
{ 4, s_2_926, -1, 162, 0},
{ 5, s_2_927, -1, 161, 0},
{ 7, s_2_928, 927, 155, 0},
{ 7, s_2_929, 927, 156, 0},
{ 8, s_2_930, 927, 138, 0},
{ 8, s_2_931, 927, 139, 0},
{ 8, s_2_932, 927, 140, 0},
{ 7, s_2_933, 927, 144, 0},
{ 7, s_2_934, 927, 145, 0},
{ 7, s_2_935, 927, 146, 0},
{ 7, s_2_936, 927, 147, 0},
{ 5, s_2_937, -1, 157, 0},
{ 8, s_2_938, 937, 121, 0},
{ 7, s_2_939, 937, 155, 0},
{ 4, s_2_940, -1, 121, 0},
{ 4, s_2_941, -1, 164, 0},
{ 5, s_2_942, -1, 153, 0},
{ 6, s_2_943, -1, 136, 0},
{ 2, s_2_944, -1, 20, 0},
{ 3, s_2_945, 944, 18, 0},
{ 3, s_2_946, -1, 109, 0},
{ 4, s_2_947, 946, 26, 0},
{ 4, s_2_948, 946, 30, 0},
{ 4, s_2_949, 946, 31, 0},
{ 5, s_2_950, 946, 28, 0},
{ 5, s_2_951, 946, 27, 0},
{ 5, s_2_952, 946, 29, 0},
{ 4, s_2_953, -1, 32, 0},
{ 4, s_2_954, -1, 33, 0},
{ 4, s_2_955, -1, 34, 0},
{ 4, s_2_956, -1, 40, 0},
{ 4, s_2_957, -1, 39, 0},
{ 6, s_2_958, -1, 84, 0},
{ 6, s_2_959, -1, 85, 0},
{ 6, s_2_960, -1, 122, 0},
{ 7, s_2_961, -1, 86, 0},
{ 4, s_2_962, -1, 95, 0},
{ 5, s_2_963, 962, 1, 0},
{ 6, s_2_964, 962, 2, 0},
{ 4, s_2_965, -1, 35, 0},
{ 5, s_2_966, 965, 83, 0},
{ 4, s_2_967, -1, 37, 0},
{ 4, s_2_968, -1, 13, 0},
{ 6, s_2_969, 968, 9, 0},
{ 6, s_2_970, 968, 6, 0},
{ 6, s_2_971, 968, 7, 0},
{ 6, s_2_972, 968, 8, 0},
{ 6, s_2_973, 968, 5, 0},
{ 4, s_2_974, -1, 41, 0},
{ 4, s_2_975, -1, 42, 0},
{ 4, s_2_976, -1, 43, 0},
{ 5, s_2_977, 976, 123, 0},
{ 4, s_2_978, -1, 44, 0},
{ 5, s_2_979, 978, 120, 0},
{ 7, s_2_980, 978, 92, 0},
{ 7, s_2_981, 978, 93, 0},
{ 6, s_2_982, 978, 94, 0},
{ 5, s_2_983, -1, 77, 0},
{ 5, s_2_984, -1, 78, 0},
{ 5, s_2_985, -1, 79, 0},
{ 5, s_2_986, -1, 80, 0},
{ 4, s_2_987, -1, 45, 0},
{ 6, s_2_988, -1, 91, 0},
{ 5, s_2_989, -1, 38, 0},
{ 4, s_2_990, -1, 84, 0},
{ 4, s_2_991, -1, 85, 0},
{ 4, s_2_992, -1, 122, 0},
{ 5, s_2_993, -1, 86, 0},
{ 2, s_2_994, -1, 95, 0},
{ 3, s_2_995, 994, 1, 0},
{ 4, s_2_996, 994, 2, 0},
{ 3, s_2_997, -1, 104, 0},
{ 5, s_2_998, 997, 128, 0},
{ 8, s_2_999, 997, 106, 0},
{ 8, s_2_1000, 997, 107, 0},
{ 8, s_2_1001, 997, 108, 0},
{ 5, s_2_1002, 997, 47, 0},
{ 6, s_2_1003, 997, 114, 0},
{ 4, s_2_1004, 997, 46, 0},
{ 5, s_2_1005, 997, 100, 0},
{ 5, s_2_1006, 997, 105, 0},
{ 4, s_2_1007, 997, 113, 0},
{ 6, s_2_1008, 1007, 110, 0},
{ 6, s_2_1009, 1007, 111, 0},
{ 6, s_2_1010, 1007, 112, 0},
{ 5, s_2_1011, 997, 97, 0},
{ 5, s_2_1012, 997, 96, 0},
{ 5, s_2_1013, 997, 98, 0},
{ 5, s_2_1014, 997, 76, 0},
{ 5, s_2_1015, 997, 99, 0},
{ 6, s_2_1016, 997, 102, 0},
{ 3, s_2_1017, -1, 83, 0},
{ 3, s_2_1018, -1, 116, 0},
{ 5, s_2_1019, 1018, 124, 0},
{ 6, s_2_1020, 1018, 121, 0},
{ 4, s_2_1021, 1018, 103, 0},
{ 6, s_2_1022, 1018, 127, 0},
{ 6, s_2_1023, 1018, 118, 0},
{ 5, s_2_1024, 1018, 48, 0},
{ 6, s_2_1025, 1018, 101, 0},
{ 7, s_2_1026, 1018, 117, 0},
{ 7, s_2_1027, 1018, 90, 0},
{ 3, s_2_1028, -1, 50, 0},
{ 4, s_2_1029, -1, 115, 0},
{ 4, s_2_1030, -1, 13, 0},
{ 4, s_2_1031, -1, 52, 0},
{ 4, s_2_1032, -1, 51, 0},
{ 2, s_2_1033, -1, 13, 0},
{ 3, s_2_1034, 1033, 10, 0},
{ 5, s_2_1035, 1034, 128, 0},
{ 5, s_2_1036, 1034, 105, 0},
{ 4, s_2_1037, 1034, 113, 0},
{ 5, s_2_1038, 1034, 97, 0},
{ 5, s_2_1039, 1034, 96, 0},
{ 5, s_2_1040, 1034, 98, 0},
{ 5, s_2_1041, 1034, 99, 0},
{ 6, s_2_1042, 1034, 102, 0},
{ 5, s_2_1043, 1033, 124, 0},
{ 6, s_2_1044, 1033, 121, 0},
{ 6, s_2_1045, 1033, 101, 0},
{ 7, s_2_1046, 1033, 117, 0},
{ 3, s_2_1047, 1033, 11, 0},
{ 4, s_2_1048, 1047, 137, 0},
{ 5, s_2_1049, 1047, 89, 0},
{ 3, s_2_1050, 1033, 12, 0},
{ 3, s_2_1051, -1, 53, 0},
{ 3, s_2_1052, -1, 54, 0},
{ 3, s_2_1053, -1, 55, 0},
{ 3, s_2_1054, -1, 56, 0},
{ 4, s_2_1055, -1, 135, 0},
{ 4, s_2_1056, -1, 131, 0},
{ 4, s_2_1057, -1, 129, 0},
{ 4, s_2_1058, -1, 133, 0},
{ 4, s_2_1059, -1, 132, 0},
{ 4, s_2_1060, -1, 130, 0},
{ 4, s_2_1061, -1, 134, 0},
{ 3, s_2_1062, -1, 152, 0},
{ 3, s_2_1063, -1, 154, 0},
{ 3, s_2_1064, -1, 123, 0},
{ 4, s_2_1065, -1, 161, 0},
{ 6, s_2_1066, 1065, 128, 0},
{ 6, s_2_1067, 1065, 155, 0},
{ 5, s_2_1068, 1065, 160, 0},
{ 6, s_2_1069, 1068, 153, 0},
{ 7, s_2_1070, 1068, 141, 0},
{ 7, s_2_1071, 1068, 142, 0},
{ 7, s_2_1072, 1068, 143, 0},
{ 4, s_2_1073, -1, 162, 0},
{ 5, s_2_1074, 1073, 158, 0},
{ 7, s_2_1075, 1073, 127, 0},
{ 5, s_2_1076, -1, 164, 0},
{ 3, s_2_1077, -1, 104, 0},
{ 5, s_2_1078, 1077, 128, 0},
{ 8, s_2_1079, 1077, 106, 0},
{ 8, s_2_1080, 1077, 107, 0},
{ 8, s_2_1081, 1077, 108, 0},
{ 6, s_2_1082, 1077, 114, 0},
{ 5, s_2_1083, 1077, 68, 0},
{ 4, s_2_1084, 1077, 69, 0},
{ 5, s_2_1085, 1077, 100, 0},
{ 5, s_2_1086, 1077, 105, 0},
{ 4, s_2_1087, 1077, 113, 0},
{ 6, s_2_1088, 1087, 110, 0},
{ 6, s_2_1089, 1087, 111, 0},
{ 6, s_2_1090, 1087, 112, 0},
{ 5, s_2_1091, 1077, 97, 0},
{ 5, s_2_1092, 1077, 96, 0},
{ 5, s_2_1093, 1077, 98, 0},
{ 5, s_2_1094, 1077, 76, 0},
{ 5, s_2_1095, 1077, 99, 0},
{ 6, s_2_1096, 1077, 102, 0},
{ 3, s_2_1097, -1, 70, 0},
{ 3, s_2_1098, -1, 116, 0},
{ 5, s_2_1099, 1098, 124, 0},
{ 6, s_2_1100, 1098, 121, 0},
{ 4, s_2_1101, 1098, 103, 0},
{ 6, s_2_1102, 1098, 127, 0},
{ 6, s_2_1103, 1098, 118, 0},
{ 5, s_2_1104, 1098, 92, 0},
{ 5, s_2_1105, 1098, 93, 0},
{ 6, s_2_1106, 1098, 101, 0},
{ 7, s_2_1107, 1098, 117, 0},
{ 7, s_2_1108, 1098, 90, 0},
{ 4, s_2_1109, -1, 94, 0},
{ 4, s_2_1110, -1, 71, 0},
{ 4, s_2_1111, -1, 72, 0},
{ 4, s_2_1112, -1, 73, 0},
{ 4, s_2_1113, -1, 74, 0},
{ 4, s_2_1114, -1, 13, 0},
{ 3, s_2_1115, -1, 77, 0},
{ 3, s_2_1116, -1, 78, 0},
{ 5, s_2_1117, 1116, 109, 0},
{ 6, s_2_1118, 1117, 26, 0},
{ 6, s_2_1119, 1117, 30, 0},
{ 6, s_2_1120, 1117, 31, 0},
{ 7, s_2_1121, 1117, 28, 0},
{ 7, s_2_1122, 1117, 27, 0},
{ 7, s_2_1123, 1117, 29, 0},
{ 3, s_2_1124, -1, 79, 0},
{ 3, s_2_1125, -1, 80, 0},
{ 4, s_2_1126, 1125, 20, 0},
{ 5, s_2_1127, 1126, 17, 0},
{ 4, s_2_1128, 1125, 82, 0},
{ 5, s_2_1129, 1128, 49, 0},
{ 4, s_2_1130, 1125, 81, 0},
{ 5, s_2_1131, 1125, 12, 0},
{ 5, s_2_1132, -1, 116, 0},
{ 7, s_2_1133, -1, 101, 0},
{ 6, s_2_1134, -1, 104, 0},
{ 8, s_2_1135, 1134, 100, 0},
{ 8, s_2_1136, 1134, 105, 0},
{ 9, s_2_1137, 1134, 106, 0},
{ 9, s_2_1138, 1134, 107, 0},
{ 9, s_2_1139, 1134, 108, 0},
{ 8, s_2_1140, 1134, 97, 0},
{ 8, s_2_1141, 1134, 96, 0},
{ 8, s_2_1142, 1134, 98, 0},
{ 8, s_2_1143, 1134, 99, 0},
{ 6, s_2_1144, -1, 25, 0},
{ 8, s_2_1145, 1144, 100, 0},
{ 10, s_2_1146, 1144, 117, 0},
{ 5, s_2_1147, -1, 13, 0},
{ 6, s_2_1148, -1, 70, 0},
{ 7, s_2_1149, -1, 115, 0},
{ 4, s_2_1150, -1, 101, 0},
{ 5, s_2_1151, -1, 117, 0},
{ 5, s_2_1152, -1, 63, 0},
{ 5, s_2_1153, -1, 64, 0},
{ 5, s_2_1154, -1, 61, 0},
{ 5, s_2_1155, -1, 62, 0},
{ 5, s_2_1156, -1, 60, 0},
{ 5, s_2_1157, -1, 59, 0},
{ 5, s_2_1158, -1, 65, 0},
{ 4, s_2_1159, -1, 66, 0},
{ 4, s_2_1160, -1, 67, 0},
{ 4, s_2_1161, -1, 91, 0},
{ 5, s_2_1162, -1, 104, 0},
{ 7, s_2_1163, 1162, 100, 0},
{ 6, s_2_1164, 1162, 113, 0},
{ 7, s_2_1165, 1164, 70, 0},
{ 8, s_2_1166, 1164, 110, 0},
{ 8, s_2_1167, 1164, 111, 0},
{ 8, s_2_1168, 1164, 112, 0},
{ 8, s_2_1169, 1162, 102, 0},
{ 5, s_2_1170, -1, 116, 0},
{ 6, s_2_1171, 1170, 103, 0},
{ 9, s_2_1172, 1170, 90, 0},
{ 6, s_2_1173, -1, 13, 0},
{ 2, s_2_1174, -1, 104, 0},
{ 4, s_2_1175, 1174, 105, 0},
{ 3, s_2_1176, 1174, 113, 0},
{ 4, s_2_1177, 1174, 97, 0},
{ 4, s_2_1178, 1174, 96, 0},
{ 4, s_2_1179, 1174, 98, 0},
{ 4, s_2_1180, 1174, 99, 0},
{ 2, s_2_1181, -1, 116, 0},
{ 4, s_2_1182, -1, 124, 0},
{ 4, s_2_1183, -1, 125, 0},
{ 4, s_2_1184, -1, 126, 0},
{ 7, s_2_1185, -1, 84, 0},
{ 7, s_2_1186, -1, 85, 0},
{ 7, s_2_1187, -1, 122, 0},
{ 8, s_2_1188, -1, 86, 0},
{ 5, s_2_1189, -1, 95, 0},
{ 6, s_2_1190, 1189, 1, 0},
{ 7, s_2_1191, 1189, 2, 0},
{ 6, s_2_1192, -1, 83, 0},
{ 5, s_2_1193, -1, 13, 0},
{ 6, s_2_1194, -1, 123, 0},
{ 8, s_2_1195, -1, 92, 0},
{ 8, s_2_1196, -1, 93, 0},
{ 7, s_2_1197, -1, 94, 0},
{ 6, s_2_1198, -1, 77, 0},
{ 6, s_2_1199, -1, 78, 0},
{ 6, s_2_1200, -1, 79, 0},
{ 6, s_2_1201, -1, 80, 0},
{ 7, s_2_1202, -1, 91, 0},
{ 5, s_2_1203, -1, 84, 0},
{ 5, s_2_1204, -1, 85, 0},
{ 5, s_2_1205, -1, 122, 0},
{ 6, s_2_1206, -1, 86, 0},
{ 3, s_2_1207, -1, 95, 0},
{ 4, s_2_1208, 1207, 1, 0},
{ 5, s_2_1209, 1207, 2, 0},
{ 4, s_2_1210, -1, 104, 0},
{ 4, s_2_1211, -1, 83, 0},
{ 3, s_2_1212, -1, 13, 0},
{ 5, s_2_1213, 1212, 137, 0},
{ 6, s_2_1214, 1212, 89, 0},
{ 4, s_2_1215, -1, 123, 0},
{ 4, s_2_1216, -1, 120, 0},
{ 6, s_2_1217, -1, 92, 0},
{ 6, s_2_1218, -1, 93, 0},
{ 5, s_2_1219, -1, 94, 0},
{ 4, s_2_1220, -1, 77, 0},
{ 4, s_2_1221, -1, 78, 0},
{ 4, s_2_1222, -1, 79, 0},
{ 4, s_2_1223, -1, 80, 0},
{ 5, s_2_1224, -1, 14, 0},
{ 5, s_2_1225, -1, 15, 0},
{ 5, s_2_1226, -1, 16, 0},
{ 5, s_2_1227, -1, 91, 0},
{ 5, s_2_1228, -1, 121, 0},
{ 4, s_2_1229, -1, 100, 0},
{ 6, s_2_1230, -1, 117, 0},
{ 2, s_2_1231, -1, 104, 0},
{ 4, s_2_1232, 1231, 100, 0},
{ 4, s_2_1233, 1231, 105, 0},
{ 2, s_2_1234, -1, 119, 0},
{ 2, s_2_1235, -1, 116, 0},
{ 2, s_2_1236, -1, 104, 0},
{ 4, s_2_1237, 1236, 128, 0},
{ 4, s_2_1238, 1236, 100, 0},
{ 4, s_2_1239, 1236, 105, 0},
{ 3, s_2_1240, 1236, 113, 0},
{ 4, s_2_1241, 1236, 97, 0},
{ 4, s_2_1242, 1236, 96, 0},
{ 4, s_2_1243, 1236, 98, 0},
{ 4, s_2_1244, 1236, 99, 0},
{ 5, s_2_1245, 1236, 102, 0},
{ 2, s_2_1246, -1, 119, 0},
{ 4, s_2_1247, 1246, 124, 0},
{ 4, s_2_1248, 1246, 125, 0},
{ 4, s_2_1249, 1246, 126, 0},
{ 7, s_2_1250, 1246, 110, 0},
{ 7, s_2_1251, 1246, 111, 0},
{ 7, s_2_1252, 1246, 112, 0},
{ 4, s_2_1253, 1246, 104, 0},
{ 5, s_2_1254, 1253, 26, 0},
{ 5, s_2_1255, 1253, 30, 0},
{ 5, s_2_1256, 1253, 31, 0},
{ 7, s_2_1257, 1253, 106, 0},
{ 7, s_2_1258, 1253, 107, 0},
{ 7, s_2_1259, 1253, 108, 0},
{ 6, s_2_1260, 1253, 28, 0},
{ 6, s_2_1261, 1253, 27, 0},
{ 6, s_2_1262, 1253, 29, 0},
{ 4, s_2_1263, 1246, 116, 0},
{ 7, s_2_1264, 1263, 84, 0},
{ 7, s_2_1265, 1263, 85, 0},
{ 7, s_2_1266, 1263, 123, 0},
{ 8, s_2_1267, 1263, 86, 0},
{ 5, s_2_1268, 1263, 95, 0},
{ 6, s_2_1269, 1268, 1, 0},
{ 7, s_2_1270, 1268, 2, 0},
{ 5, s_2_1271, 1263, 24, 0},
{ 6, s_2_1272, 1271, 83, 0},
{ 5, s_2_1273, 1263, 13, 0},
{ 7, s_2_1274, 1263, 21, 0},
{ 5, s_2_1275, 1263, 23, 0},
{ 6, s_2_1276, 1275, 123, 0},
{ 6, s_2_1277, 1263, 120, 0},
{ 8, s_2_1278, 1263, 92, 0},
{ 8, s_2_1279, 1263, 93, 0},
{ 6, s_2_1280, 1263, 22, 0},
{ 7, s_2_1281, 1263, 94, 0},
{ 6, s_2_1282, 1263, 77, 0},
{ 6, s_2_1283, 1263, 78, 0},
{ 6, s_2_1284, 1263, 79, 0},
{ 6, s_2_1285, 1263, 80, 0},
{ 7, s_2_1286, 1263, 91, 0},
{ 5, s_2_1287, 1246, 84, 0},
{ 5, s_2_1288, 1246, 85, 0},
{ 5, s_2_1289, 1246, 114, 0},
{ 5, s_2_1290, 1246, 122, 0},
{ 6, s_2_1291, 1246, 86, 0},
{ 4, s_2_1292, 1246, 25, 0},
{ 7, s_2_1293, 1292, 121, 0},
{ 6, s_2_1294, 1292, 100, 0},
{ 8, s_2_1295, 1292, 117, 0},
{ 3, s_2_1296, 1246, 95, 0},
{ 4, s_2_1297, 1296, 1, 0},
{ 5, s_2_1298, 1296, 2, 0},
{ 4, s_2_1299, 1246, 83, 0},
{ 3, s_2_1300, 1246, 13, 0},
{ 4, s_2_1301, 1300, 10, 0},
{ 7, s_2_1302, 1301, 110, 0},
{ 7, s_2_1303, 1301, 111, 0},
{ 7, s_2_1304, 1301, 112, 0},
{ 4, s_2_1305, 1300, 87, 0},
{ 4, s_2_1306, 1300, 159, 0},
{ 5, s_2_1307, 1300, 88, 0},
{ 5, s_2_1308, 1246, 135, 0},
{ 5, s_2_1309, 1246, 131, 0},
{ 5, s_2_1310, 1246, 129, 0},
{ 5, s_2_1311, 1246, 133, 0},
{ 5, s_2_1312, 1246, 132, 0},
{ 5, s_2_1313, 1246, 130, 0},
{ 5, s_2_1314, 1246, 134, 0},
{ 4, s_2_1315, 1246, 152, 0},
{ 4, s_2_1316, 1246, 154, 0},
{ 4, s_2_1317, 1246, 123, 0},
{ 4, s_2_1318, 1246, 120, 0},
{ 4, s_2_1319, 1246, 70, 0},
{ 6, s_2_1320, 1246, 92, 0},
{ 6, s_2_1321, 1246, 93, 0},
{ 5, s_2_1322, 1246, 94, 0},
{ 5, s_2_1323, 1246, 151, 0},
{ 6, s_2_1324, 1246, 75, 0},
{ 4, s_2_1325, 1246, 77, 0},
{ 4, s_2_1326, 1246, 78, 0},
{ 4, s_2_1327, 1246, 79, 0},
{ 5, s_2_1328, 1246, 14, 0},
{ 5, s_2_1329, 1246, 15, 0},
{ 5, s_2_1330, 1246, 16, 0},
{ 6, s_2_1331, 1246, 63, 0},
{ 6, s_2_1332, 1246, 64, 0},
{ 6, s_2_1333, 1246, 61, 0},
{ 6, s_2_1334, 1246, 62, 0},
{ 6, s_2_1335, 1246, 60, 0},
{ 6, s_2_1336, 1246, 59, 0},
{ 6, s_2_1337, 1246, 65, 0},
{ 5, s_2_1338, 1246, 66, 0},
{ 5, s_2_1339, 1246, 67, 0},
{ 5, s_2_1340, 1246, 91, 0},
{ 2, s_2_1341, -1, 116, 0},
{ 4, s_2_1342, 1341, 124, 0},
{ 4, s_2_1343, 1341, 125, 0},
{ 4, s_2_1344, 1341, 126, 0},
{ 5, s_2_1345, 1344, 121, 0},
{ 7, s_2_1346, 1341, 84, 0},
{ 7, s_2_1347, 1341, 85, 0},
{ 7, s_2_1348, 1341, 122, 0},
{ 8, s_2_1349, 1341, 86, 0},
{ 5, s_2_1350, 1341, 95, 0},
{ 6, s_2_1351, 1350, 1, 0},
{ 7, s_2_1352, 1350, 2, 0},
{ 6, s_2_1353, 1341, 83, 0},
{ 5, s_2_1354, 1341, 13, 0},
{ 6, s_2_1355, 1341, 123, 0},
{ 6, s_2_1356, 1341, 120, 0},
{ 8, s_2_1357, 1341, 92, 0},
{ 8, s_2_1358, 1341, 93, 0},
{ 7, s_2_1359, 1341, 94, 0},
{ 6, s_2_1360, 1341, 77, 0},
{ 6, s_2_1361, 1341, 78, 0},
{ 6, s_2_1362, 1341, 79, 0},
{ 6, s_2_1363, 1341, 80, 0},
{ 7, s_2_1364, 1341, 91, 0},
{ 5, s_2_1365, 1341, 84, 0},
{ 5, s_2_1366, 1341, 85, 0},
{ 5, s_2_1367, 1341, 122, 0},
{ 6, s_2_1368, 1341, 86, 0},
{ 3, s_2_1369, 1341, 95, 0},
{ 4, s_2_1370, 1369, 1, 0},
{ 5, s_2_1371, 1369, 2, 0},
{ 4, s_2_1372, 1341, 83, 0},
{ 3, s_2_1373, 1341, 13, 0},
{ 5, s_2_1374, 1373, 137, 0},
{ 6, s_2_1375, 1373, 89, 0},
{ 4, s_2_1376, 1341, 123, 0},
{ 5, s_2_1377, 1376, 127, 0},
{ 4, s_2_1378, 1341, 120, 0},
{ 5, s_2_1379, 1341, 118, 0},
{ 6, s_2_1380, 1341, 92, 0},
{ 6, s_2_1381, 1341, 93, 0},
{ 5, s_2_1382, 1341, 94, 0},
{ 4, s_2_1383, 1341, 77, 0},
{ 4, s_2_1384, 1341, 78, 0},
{ 4, s_2_1385, 1341, 79, 0},
{ 4, s_2_1386, 1341, 80, 0},
{ 5, s_2_1387, 1341, 14, 0},
{ 5, s_2_1388, 1341, 15, 0},
{ 5, s_2_1389, 1341, 16, 0},
{ 5, s_2_1390, 1341, 101, 0},
{ 6, s_2_1391, 1341, 117, 0},
{ 5, s_2_1392, 1341, 91, 0},
{ 6, s_2_1393, 1392, 90, 0},
{ 4, s_2_1394, -1, 124, 0},
{ 4, s_2_1395, -1, 125, 0},
{ 4, s_2_1396, -1, 126, 0},
{ 3, s_2_1397, -1, 20, 0},
{ 5, s_2_1398, 1397, 19, 0},
{ 4, s_2_1399, 1397, 18, 0},
{ 5, s_2_1400, -1, 32, 0},
{ 5, s_2_1401, -1, 33, 0},
{ 5, s_2_1402, -1, 34, 0},
{ 5, s_2_1403, -1, 40, 0},
{ 5, s_2_1404, -1, 39, 0},
{ 5, s_2_1405, -1, 35, 0},
{ 5, s_2_1406, -1, 37, 0},
{ 5, s_2_1407, -1, 36, 0},
{ 7, s_2_1408, 1407, 9, 0},
{ 7, s_2_1409, 1407, 6, 0},
{ 7, s_2_1410, 1407, 7, 0},
{ 7, s_2_1411, 1407, 8, 0},
{ 7, s_2_1412, 1407, 5, 0},
{ 5, s_2_1413, -1, 41, 0},
{ 5, s_2_1414, -1, 42, 0},
{ 5, s_2_1415, -1, 43, 0},
{ 5, s_2_1416, -1, 44, 0},
{ 5, s_2_1417, -1, 45, 0},
{ 6, s_2_1418, -1, 38, 0},
{ 5, s_2_1419, -1, 84, 0},
{ 5, s_2_1420, -1, 85, 0},
{ 5, s_2_1421, -1, 122, 0},
{ 6, s_2_1422, -1, 86, 0},
{ 3, s_2_1423, -1, 95, 0},
{ 4, s_2_1424, 1423, 1, 0},
{ 5, s_2_1425, 1423, 2, 0},
{ 4, s_2_1426, -1, 104, 0},
{ 6, s_2_1427, 1426, 47, 0},
{ 5, s_2_1428, 1426, 46, 0},
{ 4, s_2_1429, -1, 83, 0},
{ 4, s_2_1430, -1, 116, 0},
{ 6, s_2_1431, 1430, 48, 0},
{ 4, s_2_1432, -1, 50, 0},
{ 5, s_2_1433, -1, 52, 0},
{ 5, s_2_1434, -1, 51, 0},
{ 3, s_2_1435, -1, 13, 0},
{ 4, s_2_1436, 1435, 10, 0},
{ 4, s_2_1437, 1435, 11, 0},
{ 5, s_2_1438, 1437, 137, 0},
{ 6, s_2_1439, 1437, 10, 0},
{ 6, s_2_1440, 1437, 89, 0},
{ 4, s_2_1441, 1435, 12, 0},
{ 4, s_2_1442, -1, 53, 0},
{ 4, s_2_1443, -1, 54, 0},
{ 4, s_2_1444, -1, 55, 0},
{ 4, s_2_1445, -1, 56, 0},
{ 5, s_2_1446, -1, 135, 0},
{ 5, s_2_1447, -1, 131, 0},
{ 5, s_2_1448, -1, 129, 0},
{ 5, s_2_1449, -1, 133, 0},
{ 5, s_2_1450, -1, 132, 0},
{ 5, s_2_1451, -1, 130, 0},
{ 5, s_2_1452, -1, 134, 0},
{ 4, s_2_1453, -1, 57, 0},
{ 4, s_2_1454, -1, 58, 0},
{ 4, s_2_1455, -1, 123, 0},
{ 4, s_2_1456, -1, 120, 0},
{ 6, s_2_1457, 1456, 68, 0},
{ 5, s_2_1458, 1456, 69, 0},
{ 4, s_2_1459, -1, 70, 0},
{ 6, s_2_1460, -1, 92, 0},
{ 6, s_2_1461, -1, 93, 0},
{ 5, s_2_1462, -1, 94, 0},
{ 5, s_2_1463, -1, 71, 0},
{ 5, s_2_1464, -1, 72, 0},
{ 5, s_2_1465, -1, 73, 0},
{ 5, s_2_1466, -1, 74, 0},
{ 4, s_2_1467, -1, 77, 0},
{ 4, s_2_1468, -1, 78, 0},
{ 4, s_2_1469, -1, 79, 0},
{ 4, s_2_1470, -1, 80, 0},
{ 5, s_2_1471, 1470, 82, 0},
{ 5, s_2_1472, 1470, 81, 0},
{ 5, s_2_1473, -1, 3, 0},
{ 6, s_2_1474, -1, 4, 0},
{ 5, s_2_1475, -1, 14, 0},
{ 5, s_2_1476, -1, 15, 0},
{ 5, s_2_1477, -1, 16, 0},
{ 6, s_2_1478, -1, 63, 0},
{ 6, s_2_1479, -1, 64, 0},
{ 6, s_2_1480, -1, 61, 0},
{ 6, s_2_1481, -1, 62, 0},
{ 6, s_2_1482, -1, 60, 0},
{ 6, s_2_1483, -1, 59, 0},
{ 6, s_2_1484, -1, 65, 0},
{ 5, s_2_1485, -1, 66, 0},
{ 5, s_2_1486, -1, 67, 0},
{ 5, s_2_1487, -1, 91, 0},
{ 2, s_2_1488, -1, 104, 0},
{ 4, s_2_1489, 1488, 128, 0},
{ 4, s_2_1490, 1488, 100, 0},
{ 4, s_2_1491, 1488, 105, 0},
{ 3, s_2_1492, 1488, 113, 0},
{ 4, s_2_1493, 1488, 97, 0},
{ 4, s_2_1494, 1488, 96, 0},
{ 4, s_2_1495, 1488, 98, 0},
{ 4, s_2_1496, 1488, 99, 0},
{ 5, s_2_1497, 1488, 102, 0},
{ 4, s_2_1498, -1, 124, 0},
{ 5, s_2_1499, -1, 121, 0},
{ 5, s_2_1500, -1, 101, 0},
{ 6, s_2_1501, -1, 117, 0},
{ 4, s_2_1502, -1, 10, 0},
{ 2, s_2_1503, -1, 104, 0},
{ 4, s_2_1504, 1503, 128, 0},
{ 7, s_2_1505, 1503, 106, 0},
{ 7, s_2_1506, 1503, 107, 0},
{ 7, s_2_1507, 1503, 108, 0},
{ 5, s_2_1508, 1503, 114, 0},
{ 4, s_2_1509, 1503, 100, 0},
{ 4, s_2_1510, 1503, 105, 0},
{ 3, s_2_1511, 1503, 113, 0},
{ 5, s_2_1512, 1511, 110, 0},
{ 5, s_2_1513, 1511, 111, 0},
{ 5, s_2_1514, 1511, 112, 0},
{ 4, s_2_1515, 1503, 97, 0},
{ 4, s_2_1516, 1503, 96, 0},
{ 4, s_2_1517, 1503, 98, 0},
{ 4, s_2_1518, 1503, 76, 0},
{ 4, s_2_1519, 1503, 99, 0},
{ 5, s_2_1520, 1503, 102, 0},
{ 2, s_2_1521, -1, 20, 0},
{ 3, s_2_1522, 1521, 18, 0},
{ 2, s_2_1523, -1, 116, 0},
{ 4, s_2_1524, 1523, 124, 0},
{ 5, s_2_1525, 1523, 121, 0},
{ 3, s_2_1526, 1523, 24, 0},
{ 3, s_2_1527, 1523, 103, 0},
{ 5, s_2_1528, 1523, 21, 0},
{ 3, s_2_1529, 1523, 23, 0},
{ 5, s_2_1530, 1529, 127, 0},
{ 5, s_2_1531, 1523, 118, 0},
{ 4, s_2_1532, 1523, 22, 0},
{ 5, s_2_1533, 1523, 101, 0},
{ 6, s_2_1534, 1523, 117, 0},
{ 6, s_2_1535, 1523, 90, 0},
{ 4, s_2_1536, -1, 32, 0},
{ 4, s_2_1537, -1, 33, 0},
{ 4, s_2_1538, -1, 34, 0},
{ 4, s_2_1539, -1, 40, 0},
{ 4, s_2_1540, -1, 39, 0},
{ 4, s_2_1541, -1, 35, 0},
{ 4, s_2_1542, -1, 37, 0},
{ 4, s_2_1543, -1, 36, 0},
{ 4, s_2_1544, -1, 41, 0},
{ 4, s_2_1545, -1, 42, 0},
{ 4, s_2_1546, -1, 43, 0},
{ 4, s_2_1547, -1, 44, 0},
{ 4, s_2_1548, -1, 45, 0},
{ 5, s_2_1549, -1, 38, 0},
{ 4, s_2_1550, -1, 84, 0},
{ 4, s_2_1551, -1, 85, 0},
{ 4, s_2_1552, -1, 122, 0},
{ 5, s_2_1553, -1, 86, 0},
{ 2, s_2_1554, -1, 95, 0},
{ 3, s_2_1555, 1554, 1, 0},
{ 4, s_2_1556, 1554, 2, 0},
{ 3, s_2_1557, -1, 104, 0},
{ 5, s_2_1558, 1557, 128, 0},
{ 8, s_2_1559, 1557, 106, 0},
{ 8, s_2_1560, 1557, 107, 0},
{ 8, s_2_1561, 1557, 108, 0},
{ 5, s_2_1562, 1557, 47, 0},
{ 6, s_2_1563, 1557, 114, 0},
{ 4, s_2_1564, 1557, 46, 0},
{ 5, s_2_1565, 1557, 100, 0},
{ 5, s_2_1566, 1557, 105, 0},
{ 4, s_2_1567, 1557, 113, 0},
{ 6, s_2_1568, 1567, 110, 0},
{ 6, s_2_1569, 1567, 111, 0},
{ 6, s_2_1570, 1567, 112, 0},
{ 5, s_2_1571, 1557, 97, 0},
{ 5, s_2_1572, 1557, 96, 0},
{ 5, s_2_1573, 1557, 98, 0},
{ 5, s_2_1574, 1557, 76, 0},
{ 5, s_2_1575, 1557, 99, 0},
{ 6, s_2_1576, 1557, 102, 0},
{ 3, s_2_1577, -1, 83, 0},
{ 3, s_2_1578, -1, 116, 0},
{ 5, s_2_1579, 1578, 124, 0},
{ 6, s_2_1580, 1578, 121, 0},
{ 4, s_2_1581, 1578, 103, 0},
{ 6, s_2_1582, 1578, 127, 0},
{ 6, s_2_1583, 1578, 118, 0},
{ 6, s_2_1584, 1578, 101, 0},
{ 7, s_2_1585, 1578, 117, 0},
{ 7, s_2_1586, 1578, 90, 0},
{ 4, s_2_1587, -1, 115, 0},
{ 4, s_2_1588, -1, 13, 0},
{ 3, s_2_1589, -1, 104, 0},
{ 5, s_2_1590, 1589, 128, 0},
{ 4, s_2_1591, 1589, 52, 0},
{ 5, s_2_1592, 1591, 100, 0},
{ 5, s_2_1593, 1591, 105, 0},
{ 4, s_2_1594, 1589, 113, 0},
{ 5, s_2_1595, 1589, 97, 0},
{ 5, s_2_1596, 1589, 96, 0},
{ 5, s_2_1597, 1589, 98, 0},
{ 5, s_2_1598, 1589, 99, 0},
{ 6, s_2_1599, 1589, 102, 0},
{ 3, s_2_1600, -1, 119, 0},
{ 8, s_2_1601, 1600, 110, 0},
{ 8, s_2_1602, 1600, 111, 0},
{ 8, s_2_1603, 1600, 112, 0},
{ 8, s_2_1604, 1600, 106, 0},
{ 8, s_2_1605, 1600, 107, 0},
{ 8, s_2_1606, 1600, 108, 0},
{ 5, s_2_1607, 1600, 116, 0},
{ 6, s_2_1608, 1600, 114, 0},
{ 5, s_2_1609, 1600, 25, 0},
{ 8, s_2_1610, 1609, 121, 0},
{ 7, s_2_1611, 1609, 100, 0},
{ 9, s_2_1612, 1609, 117, 0},
{ 4, s_2_1613, 1600, 51, 0},
{ 4, s_2_1614, 1600, 13, 0},
{ 8, s_2_1615, 1614, 110, 0},
{ 8, s_2_1616, 1614, 111, 0},
{ 8, s_2_1617, 1614, 112, 0},
{ 5, s_2_1618, 1600, 70, 0},
{ 6, s_2_1619, 1600, 115, 0},
{ 3, s_2_1620, -1, 116, 0},
{ 5, s_2_1621, 1620, 124, 0},
{ 6, s_2_1622, 1620, 121, 0},
{ 4, s_2_1623, 1620, 13, 0},
{ 8, s_2_1624, 1623, 110, 0},
{ 8, s_2_1625, 1623, 111, 0},
{ 8, s_2_1626, 1623, 112, 0},
{ 6, s_2_1627, 1620, 127, 0},
{ 5, s_2_1628, 1620, 70, 0},
{ 6, s_2_1629, 1628, 118, 0},
{ 6, s_2_1630, 1620, 115, 0},
{ 6, s_2_1631, 1620, 101, 0},
{ 7, s_2_1632, 1620, 117, 0},
{ 7, s_2_1633, 1620, 90, 0},
{ 4, s_2_1634, -1, 104, 0},
{ 6, s_2_1635, 1634, 105, 0},
{ 5, s_2_1636, 1634, 113, 0},
{ 7, s_2_1637, 1636, 106, 0},
{ 7, s_2_1638, 1636, 107, 0},
{ 7, s_2_1639, 1636, 108, 0},
{ 6, s_2_1640, 1634, 97, 0},
{ 6, s_2_1641, 1634, 96, 0},
{ 6, s_2_1642, 1634, 98, 0},
{ 6, s_2_1643, 1634, 99, 0},
{ 4, s_2_1644, -1, 116, 0},
{ 4, s_2_1645, -1, 25, 0},
{ 7, s_2_1646, 1645, 121, 0},
{ 6, s_2_1647, 1645, 100, 0},
{ 8, s_2_1648, 1645, 117, 0},
{ 4, s_2_1649, -1, 104, 0},
{ 6, s_2_1650, 1649, 128, 0},
{ 9, s_2_1651, 1649, 106, 0},
{ 9, s_2_1652, 1649, 107, 0},
{ 9, s_2_1653, 1649, 108, 0},
{ 7, s_2_1654, 1649, 114, 0},
{ 6, s_2_1655, 1649, 100, 0},
{ 6, s_2_1656, 1649, 105, 0},
{ 5, s_2_1657, 1649, 113, 0},
{ 6, s_2_1658, 1649, 97, 0},
{ 6, s_2_1659, 1649, 96, 0},
{ 6, s_2_1660, 1649, 98, 0},
{ 6, s_2_1661, 1649, 76, 0},
{ 6, s_2_1662, 1649, 99, 0},
{ 7, s_2_1663, 1649, 102, 0},
{ 4, s_2_1664, -1, 116, 0},
{ 6, s_2_1665, 1664, 124, 0},
{ 7, s_2_1666, 1664, 121, 0},
{ 5, s_2_1667, 1664, 103, 0},
{ 7, s_2_1668, 1664, 127, 0},
{ 7, s_2_1669, 1664, 118, 0},
{ 7, s_2_1670, 1664, 101, 0},
{ 8, s_2_1671, 1664, 117, 0},
{ 8, s_2_1672, 1664, 90, 0},
{ 9, s_2_1673, -1, 110, 0},
{ 9, s_2_1674, -1, 111, 0},
{ 9, s_2_1675, -1, 112, 0},
{ 5, s_2_1676, -1, 13, 0},
{ 2, s_2_1677, -1, 13, 0},
{ 3, s_2_1678, 1677, 104, 0},
{ 5, s_2_1679, 1678, 128, 0},
{ 5, s_2_1680, 1678, 105, 0},
{ 4, s_2_1681, 1678, 113, 0},
{ 5, s_2_1682, 1678, 97, 0},
{ 5, s_2_1683, 1678, 96, 0},
{ 5, s_2_1684, 1678, 98, 0},
{ 5, s_2_1685, 1678, 99, 0},
{ 6, s_2_1686, 1678, 102, 0},
{ 5, s_2_1687, 1677, 124, 0},
{ 6, s_2_1688, 1677, 121, 0},
{ 6, s_2_1689, 1677, 101, 0},
{ 7, s_2_1690, 1677, 117, 0},
{ 3, s_2_1691, 1677, 11, 0},
{ 4, s_2_1692, 1691, 137, 0},
{ 5, s_2_1693, 1691, 89, 0},
{ 3, s_2_1694, -1, 120, 0},
{ 5, s_2_1695, 1694, 68, 0},
{ 4, s_2_1696, 1694, 69, 0},
{ 3, s_2_1697, -1, 70, 0},
{ 5, s_2_1698, -1, 92, 0},
{ 5, s_2_1699, -1, 93, 0},
{ 4, s_2_1700, -1, 94, 0},
{ 4, s_2_1701, -1, 71, 0},
{ 4, s_2_1702, -1, 72, 0},
{ 4, s_2_1703, -1, 73, 0},
{ 4, s_2_1704, -1, 74, 0},
{ 4, s_2_1705, -1, 13, 0},
{ 3, s_2_1706, -1, 13, 0},
{ 3, s_2_1707, -1, 77, 0},
{ 3, s_2_1708, -1, 78, 0},
{ 3, s_2_1709, -1, 79, 0},
{ 3, s_2_1710, -1, 80, 0},
{ 4, s_2_1711, -1, 3, 0},
{ 5, s_2_1712, -1, 4, 0},
{ 2, s_2_1713, -1, 161, 0},
{ 4, s_2_1714, 1713, 128, 0},
{ 4, s_2_1715, 1713, 155, 0},
{ 4, s_2_1716, 1713, 156, 0},
{ 3, s_2_1717, 1713, 160, 0},
{ 4, s_2_1718, 1713, 144, 0},
{ 4, s_2_1719, 1713, 145, 0},
{ 4, s_2_1720, 1713, 146, 0},
{ 4, s_2_1721, 1713, 147, 0},
{ 2, s_2_1722, -1, 163, 0},
{ 7, s_2_1723, 1722, 141, 0},
{ 7, s_2_1724, 1722, 142, 0},
{ 7, s_2_1725, 1722, 143, 0},
{ 7, s_2_1726, 1722, 138, 0},
{ 7, s_2_1727, 1722, 139, 0},
{ 7, s_2_1728, 1722, 140, 0},
{ 4, s_2_1729, 1722, 162, 0},
{ 5, s_2_1730, 1722, 150, 0},
{ 4, s_2_1731, 1722, 157, 0},
{ 7, s_2_1732, 1731, 121, 0},
{ 6, s_2_1733, 1731, 155, 0},
{ 3, s_2_1734, 1722, 164, 0},
{ 7, s_2_1735, 1734, 141, 0},
{ 7, s_2_1736, 1734, 142, 0},
{ 7, s_2_1737, 1734, 143, 0},
{ 4, s_2_1738, 1722, 153, 0},
{ 5, s_2_1739, 1722, 136, 0},
{ 2, s_2_1740, -1, 162, 0},
{ 4, s_2_1741, 1740, 124, 0},
{ 5, s_2_1742, 1740, 121, 0},
{ 3, s_2_1743, 1740, 158, 0},
{ 5, s_2_1744, 1740, 127, 0},
{ 5, s_2_1745, 1740, 149, 0},
{ 2, s_2_1746, -1, 104, 0},
{ 4, s_2_1747, 1746, 128, 0},
{ 7, s_2_1748, 1746, 106, 0},
{ 7, s_2_1749, 1746, 107, 0},
{ 7, s_2_1750, 1746, 108, 0},
{ 5, s_2_1751, 1746, 114, 0},
{ 4, s_2_1752, 1746, 100, 0},
{ 4, s_2_1753, 1746, 105, 0},
{ 3, s_2_1754, 1746, 113, 0},
{ 5, s_2_1755, 1754, 110, 0},
{ 5, s_2_1756, 1754, 111, 0},
{ 5, s_2_1757, 1754, 112, 0},
{ 4, s_2_1758, 1746, 97, 0},
{ 4, s_2_1759, 1746, 96, 0},
{ 4, s_2_1760, 1746, 98, 0},
{ 6, s_2_1761, 1760, 100, 0},
{ 4, s_2_1762, 1746, 76, 0},
{ 4, s_2_1763, 1746, 99, 0},
{ 5, s_2_1764, 1746, 102, 0},
{ 2, s_2_1765, -1, 116, 0},
{ 4, s_2_1766, 1765, 124, 0},
{ 5, s_2_1767, 1765, 121, 0},
{ 5, s_2_1768, 1765, 127, 0},
{ 5, s_2_1769, 1765, 118, 0},
{ 5, s_2_1770, 1765, 101, 0},
{ 6, s_2_1771, 1765, 117, 0},
{ 6, s_2_1772, 1765, 90, 0},
{ 3, s_2_1773, -1, 13, 0},
{ 6, s_2_1774, -1, 110, 0},
{ 6, s_2_1775, -1, 111, 0},
{ 6, s_2_1776, -1, 112, 0},
{ 2, s_2_1777, -1, 20, 0},
{ 4, s_2_1778, 1777, 19, 0},
{ 3, s_2_1779, 1777, 18, 0},
{ 3, s_2_1780, -1, 104, 0},
{ 5, s_2_1781, 1780, 128, 0},
{ 8, s_2_1782, 1780, 106, 0},
{ 8, s_2_1783, 1780, 107, 0},
{ 8, s_2_1784, 1780, 108, 0},
{ 6, s_2_1785, 1780, 114, 0},
{ 5, s_2_1786, 1780, 100, 0},
{ 5, s_2_1787, 1780, 105, 0},
{ 5, s_2_1788, 1780, 97, 0},
{ 5, s_2_1789, 1780, 96, 0},
{ 5, s_2_1790, 1780, 98, 0},
{ 5, s_2_1791, 1780, 76, 0},
{ 5, s_2_1792, 1780, 99, 0},
{ 6, s_2_1793, 1780, 102, 0},
{ 3, s_2_1794, -1, 104, 0},
{ 4, s_2_1795, 1794, 26, 0},
{ 5, s_2_1796, 1795, 128, 0},
{ 4, s_2_1797, 1794, 30, 0},
{ 4, s_2_1798, 1794, 31, 0},
{ 5, s_2_1799, 1798, 100, 0},
{ 5, s_2_1800, 1798, 105, 0},
{ 4, s_2_1801, 1794, 113, 0},
{ 6, s_2_1802, 1801, 106, 0},
{ 6, s_2_1803, 1801, 107, 0},
{ 6, s_2_1804, 1801, 108, 0},
{ 5, s_2_1805, 1794, 97, 0},
{ 5, s_2_1806, 1794, 96, 0},
{ 5, s_2_1807, 1794, 98, 0},
{ 5, s_2_1808, 1794, 99, 0},
{ 5, s_2_1809, 1794, 28, 0},
{ 5, s_2_1810, 1794, 27, 0},
{ 6, s_2_1811, 1810, 102, 0},
{ 5, s_2_1812, 1794, 29, 0},
{ 3, s_2_1813, -1, 116, 0},
{ 4, s_2_1814, 1813, 32, 0},
{ 4, s_2_1815, 1813, 33, 0},
{ 4, s_2_1816, 1813, 34, 0},
{ 4, s_2_1817, 1813, 40, 0},
{ 4, s_2_1818, 1813, 39, 0},
{ 6, s_2_1819, 1813, 84, 0},
{ 6, s_2_1820, 1813, 85, 0},
{ 6, s_2_1821, 1813, 122, 0},
{ 7, s_2_1822, 1813, 86, 0},
{ 4, s_2_1823, 1813, 95, 0},
{ 4, s_2_1824, 1813, 24, 0},
{ 5, s_2_1825, 1824, 83, 0},
{ 4, s_2_1826, 1813, 37, 0},
{ 4, s_2_1827, 1813, 13, 0},
{ 6, s_2_1828, 1827, 9, 0},
{ 6, s_2_1829, 1827, 6, 0},
{ 6, s_2_1830, 1827, 7, 0},
{ 6, s_2_1831, 1827, 8, 0},
{ 6, s_2_1832, 1827, 5, 0},
{ 4, s_2_1833, 1813, 41, 0},
{ 4, s_2_1834, 1813, 42, 0},
{ 6, s_2_1835, 1834, 21, 0},
{ 4, s_2_1836, 1813, 23, 0},
{ 5, s_2_1837, 1836, 123, 0},
{ 4, s_2_1838, 1813, 44, 0},
{ 5, s_2_1839, 1838, 120, 0},
{ 5, s_2_1840, 1838, 22, 0},
{ 5, s_2_1841, 1813, 77, 0},
{ 5, s_2_1842, 1813, 78, 0},
{ 5, s_2_1843, 1813, 79, 0},
{ 5, s_2_1844, 1813, 80, 0},
{ 4, s_2_1845, 1813, 45, 0},
{ 6, s_2_1846, 1813, 91, 0},
{ 5, s_2_1847, 1813, 38, 0},
{ 4, s_2_1848, -1, 84, 0},
{ 4, s_2_1849, -1, 85, 0},
{ 4, s_2_1850, -1, 122, 0},
{ 5, s_2_1851, -1, 86, 0},
{ 3, s_2_1852, -1, 25, 0},
{ 6, s_2_1853, 1852, 121, 0},
{ 5, s_2_1854, 1852, 100, 0},
{ 7, s_2_1855, 1852, 117, 0},
{ 2, s_2_1856, -1, 95, 0},
{ 3, s_2_1857, 1856, 1, 0},
{ 4, s_2_1858, 1856, 2, 0},
{ 3, s_2_1859, -1, 104, 0},
{ 5, s_2_1860, 1859, 47, 0},
{ 4, s_2_1861, 1859, 46, 0},
{ 3, s_2_1862, -1, 83, 0},
{ 3, s_2_1863, -1, 116, 0},
{ 5, s_2_1864, 1863, 48, 0},
{ 3, s_2_1865, -1, 50, 0},
{ 4, s_2_1866, -1, 52, 0},
{ 5, s_2_1867, -1, 124, 0},
{ 5, s_2_1868, -1, 125, 0},
{ 5, s_2_1869, -1, 126, 0},
{ 8, s_2_1870, -1, 84, 0},
{ 8, s_2_1871, -1, 85, 0},
{ 8, s_2_1872, -1, 122, 0},
{ 9, s_2_1873, -1, 86, 0},
{ 6, s_2_1874, -1, 95, 0},
{ 7, s_2_1875, 1874, 1, 0},
{ 8, s_2_1876, 1874, 2, 0},
{ 7, s_2_1877, -1, 83, 0},
{ 6, s_2_1878, -1, 13, 0},
{ 7, s_2_1879, -1, 123, 0},
{ 7, s_2_1880, -1, 120, 0},
{ 9, s_2_1881, -1, 92, 0},
{ 9, s_2_1882, -1, 93, 0},
{ 8, s_2_1883, -1, 94, 0},
{ 7, s_2_1884, -1, 77, 0},
{ 7, s_2_1885, -1, 78, 0},
{ 7, s_2_1886, -1, 79, 0},
{ 7, s_2_1887, -1, 80, 0},
{ 8, s_2_1888, -1, 91, 0},
{ 6, s_2_1889, -1, 84, 0},
{ 6, s_2_1890, -1, 85, 0},
{ 6, s_2_1891, -1, 122, 0},
{ 7, s_2_1892, -1, 86, 0},
{ 4, s_2_1893, -1, 95, 0},
{ 5, s_2_1894, 1893, 1, 0},
{ 6, s_2_1895, 1893, 2, 0},
{ 4, s_2_1896, -1, 51, 0},
{ 5, s_2_1897, 1896, 83, 0},
{ 4, s_2_1898, -1, 13, 0},
{ 5, s_2_1899, 1898, 10, 0},
{ 5, s_2_1900, 1898, 87, 0},
{ 5, s_2_1901, 1898, 159, 0},
{ 6, s_2_1902, 1898, 88, 0},
{ 5, s_2_1903, -1, 123, 0},
{ 5, s_2_1904, -1, 120, 0},
{ 7, s_2_1905, -1, 92, 0},
{ 7, s_2_1906, -1, 93, 0},
{ 6, s_2_1907, -1, 94, 0},
{ 5, s_2_1908, -1, 77, 0},
{ 5, s_2_1909, -1, 78, 0},
{ 5, s_2_1910, -1, 79, 0},
{ 5, s_2_1911, -1, 80, 0},
{ 6, s_2_1912, -1, 14, 0},
{ 6, s_2_1913, -1, 15, 0},
{ 6, s_2_1914, -1, 16, 0},
{ 6, s_2_1915, -1, 91, 0},
{ 5, s_2_1916, -1, 124, 0},
{ 5, s_2_1917, -1, 125, 0},
{ 5, s_2_1918, -1, 126, 0},
{ 6, s_2_1919, -1, 84, 0},
{ 6, s_2_1920, -1, 85, 0},
{ 6, s_2_1921, -1, 122, 0},
{ 7, s_2_1922, -1, 86, 0},
{ 4, s_2_1923, -1, 95, 0},
{ 5, s_2_1924, 1923, 1, 0},
{ 6, s_2_1925, 1923, 2, 0},
{ 5, s_2_1926, -1, 83, 0},
{ 4, s_2_1927, -1, 13, 0},
{ 6, s_2_1928, 1927, 137, 0},
{ 7, s_2_1929, 1927, 89, 0},
{ 5, s_2_1930, -1, 123, 0},
{ 5, s_2_1931, -1, 120, 0},
{ 7, s_2_1932, -1, 92, 0},
{ 7, s_2_1933, -1, 93, 0},
{ 6, s_2_1934, -1, 94, 0},
{ 5, s_2_1935, -1, 77, 0},
{ 5, s_2_1936, -1, 78, 0},
{ 5, s_2_1937, -1, 79, 0},
{ 5, s_2_1938, -1, 80, 0},
{ 6, s_2_1939, -1, 14, 0},
{ 6, s_2_1940, -1, 15, 0},
{ 6, s_2_1941, -1, 16, 0},
{ 6, s_2_1942, -1, 91, 0},
{ 2, s_2_1943, -1, 13, 0},
{ 3, s_2_1944, 1943, 10, 0},
{ 6, s_2_1945, 1944, 110, 0},
{ 6, s_2_1946, 1944, 111, 0},
{ 6, s_2_1947, 1944, 112, 0},
{ 3, s_2_1948, 1943, 11, 0},
{ 4, s_2_1949, 1948, 137, 0},
{ 5, s_2_1950, 1948, 10, 0},
{ 5, s_2_1951, 1948, 89, 0},
{ 3, s_2_1952, 1943, 12, 0},
{ 3, s_2_1953, -1, 53, 0},
{ 3, s_2_1954, -1, 54, 0},
{ 3, s_2_1955, -1, 55, 0},
{ 3, s_2_1956, -1, 56, 0},
{ 4, s_2_1957, -1, 135, 0},
{ 4, s_2_1958, -1, 131, 0},
{ 4, s_2_1959, -1, 129, 0},
{ 4, s_2_1960, -1, 133, 0},
{ 4, s_2_1961, -1, 132, 0},
{ 4, s_2_1962, -1, 130, 0},
{ 4, s_2_1963, -1, 134, 0},
{ 3, s_2_1964, -1, 57, 0},
{ 3, s_2_1965, -1, 58, 0},
{ 3, s_2_1966, -1, 123, 0},
{ 3, s_2_1967, -1, 120, 0},
{ 5, s_2_1968, 1967, 68, 0},
{ 4, s_2_1969, 1967, 69, 0},
{ 3, s_2_1970, -1, 70, 0},
{ 5, s_2_1971, -1, 92, 0},
{ 5, s_2_1972, -1, 93, 0},
{ 4, s_2_1973, -1, 94, 0},
{ 4, s_2_1974, -1, 71, 0},
{ 4, s_2_1975, -1, 72, 0},
{ 4, s_2_1976, -1, 73, 0},
{ 4, s_2_1977, -1, 74, 0},
{ 5, s_2_1978, -1, 75, 0},
{ 3, s_2_1979, -1, 77, 0},
{ 3, s_2_1980, -1, 78, 0},
{ 3, s_2_1981, -1, 79, 0},
{ 3, s_2_1982, -1, 80, 0},
{ 4, s_2_1983, 1982, 82, 0},
{ 4, s_2_1984, 1982, 81, 0},
{ 4, s_2_1985, -1, 3, 0},
{ 5, s_2_1986, -1, 4, 0},
{ 5, s_2_1987, -1, 63, 0},
{ 5, s_2_1988, -1, 64, 0},
{ 5, s_2_1989, -1, 61, 0},
{ 5, s_2_1990, -1, 62, 0},
{ 5, s_2_1991, -1, 60, 0},
{ 5, s_2_1992, -1, 59, 0},
{ 5, s_2_1993, -1, 65, 0},
{ 4, s_2_1994, -1, 66, 0},
{ 4, s_2_1995, -1, 67, 0},
{ 4, s_2_1996, -1, 91, 0},
{ 4, s_2_1997, -1, 97, 0},
{ 4, s_2_1998, -1, 96, 0},
{ 4, s_2_1999, -1, 98, 0},
{ 4, s_2_2000, -1, 99, 0},
{ 3, s_2_2001, -1, 95, 0},
{ 3, s_2_2002, -1, 104, 0},
{ 5, s_2_2003, 2002, 100, 0},
{ 5, s_2_2004, 2002, 105, 0},
{ 4, s_2_2005, 2002, 113, 0},
{ 5, s_2_2006, 2002, 97, 0},
{ 5, s_2_2007, 2002, 96, 0},
{ 5, s_2_2008, 2002, 98, 0},
{ 5, s_2_2009, 2002, 99, 0},
{ 6, s_2_2010, 2002, 102, 0},
{ 3, s_2_2011, -1, 119, 0},
{ 8, s_2_2012, 2011, 110, 0},
{ 8, s_2_2013, 2011, 111, 0},
{ 8, s_2_2014, 2011, 112, 0},
{ 8, s_2_2015, 2011, 106, 0},
{ 8, s_2_2016, 2011, 107, 0},
{ 8, s_2_2017, 2011, 108, 0},
{ 5, s_2_2018, 2011, 116, 0},
{ 6, s_2_2019, 2011, 114, 0},
{ 5, s_2_2020, 2011, 25, 0},
{ 7, s_2_2021, 2020, 100, 0},
{ 9, s_2_2022, 2020, 117, 0},
{ 4, s_2_2023, 2011, 13, 0},
{ 8, s_2_2024, 2023, 110, 0},
{ 8, s_2_2025, 2023, 111, 0},
{ 8, s_2_2026, 2023, 112, 0},
{ 5, s_2_2027, 2011, 70, 0},
{ 6, s_2_2028, 2011, 115, 0},
{ 3, s_2_2029, -1, 116, 0},
{ 4, s_2_2030, 2029, 103, 0},
{ 6, s_2_2031, 2029, 118, 0},
{ 6, s_2_2032, 2029, 101, 0},
{ 7, s_2_2033, 2029, 117, 0},
{ 7, s_2_2034, 2029, 90, 0}
};
static const symbol s_3_0[1] = { 'a' };
static const symbol s_3_1[3] = { 'o', 'g', 'a' };
static const symbol s_3_2[3] = { 'a', 'm', 'a' };
static const symbol s_3_3[3] = { 'i', 'm', 'a' };
static const symbol s_3_4[3] = { 'e', 'n', 'a' };
static const symbol s_3_5[1] = { 'e' };
static const symbol s_3_6[2] = { 'o', 'g' };
static const symbol s_3_7[4] = { 'a', 'n', 'o', 'g' };
static const symbol s_3_8[4] = { 'e', 'n', 'o', 'g' };
static const symbol s_3_9[4] = { 'a', 'n', 'i', 'h' };
static const symbol s_3_10[4] = { 'e', 'n', 'i', 'h' };
static const symbol s_3_11[1] = { 'i' };
static const symbol s_3_12[3] = { 'a', 'n', 'i' };
static const symbol s_3_13[3] = { 'e', 'n', 'i' };
static const symbol s_3_14[4] = { 'a', 'n', 'o', 'j' };
static const symbol s_3_15[4] = { 'e', 'n', 'o', 'j' };
static const symbol s_3_16[4] = { 'a', 'n', 'i', 'm' };
static const symbol s_3_17[4] = { 'e', 'n', 'i', 'm' };
static const symbol s_3_18[2] = { 'o', 'm' };
static const symbol s_3_19[4] = { 'e', 'n', 'o', 'm' };
static const symbol s_3_20[1] = { 'o' };
static const symbol s_3_21[3] = { 'a', 'n', 'o' };
static const symbol s_3_22[3] = { 'e', 'n', 'o' };
static const symbol s_3_23[3] = { 'o', 's', 't' };
static const symbol s_3_24[1] = { 'u' };
static const symbol s_3_25[3] = { 'e', 'n', 'u' };
static const struct among a_3[26] =
{
{ 1, s_3_0, -1, 1, 0},
{ 3, s_3_1, 0, 1, 0},
{ 3, s_3_2, 0, 1, 0},
{ 3, s_3_3, 0, 1, 0},
{ 3, s_3_4, 0, 1, 0},
{ 1, s_3_5, -1, 1, 0},
{ 2, s_3_6, -1, 1, 0},
{ 4, s_3_7, 6, 1, 0},
{ 4, s_3_8, 6, 1, 0},
{ 4, s_3_9, -1, 1, 0},
{ 4, s_3_10, -1, 1, 0},
{ 1, s_3_11, -1, 1, 0},
{ 3, s_3_12, 11, 1, 0},
{ 3, s_3_13, 11, 1, 0},
{ 4, s_3_14, -1, 1, 0},
{ 4, s_3_15, -1, 1, 0},
{ 4, s_3_16, -1, 1, 0},
{ 4, s_3_17, -1, 1, 0},
{ 2, s_3_18, -1, 1, 0},
{ 4, s_3_19, 18, 1, 0},
{ 1, s_3_20, -1, 1, 0},
{ 3, s_3_21, 20, 1, 0},
{ 3, s_3_22, 20, 1, 0},
{ 3, s_3_23, -1, 1, 0},
{ 1, s_3_24, -1, 1, 0},
{ 3, s_3_25, 24, 1, 0}
};
static const unsigned char g_v[] = { 17, 65, 16 };
static const unsigned char g_sa[] = { 65, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 128 };
static const unsigned char g_ca[] = { 119, 95, 23, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 136, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 0, 0, 0, 16 };
static const unsigned char g_rg[] = { 1 };
static const symbol s_0[] = { 'a' };
static const symbol s_1[] = { 'b' };
static const symbol s_2[] = { 'v' };
static const symbol s_3[] = { 'g' };
static const symbol s_4[] = { 'd' };
static const symbol s_5[] = { 0xC4, 0x91 };
static const symbol s_6[] = { 'e' };
static const symbol s_7[] = { 0xC5, 0xBE };
static const symbol s_8[] = { 'z' };
static const symbol s_9[] = { 'i' };
static const symbol s_10[] = { 'j' };
static const symbol s_11[] = { 'k' };
static const symbol s_12[] = { 'l' };
static const symbol s_13[] = { 'l', 'j' };
static const symbol s_14[] = { 'm' };
static const symbol s_15[] = { 'n' };
static const symbol s_16[] = { 'n', 'j' };
static const symbol s_17[] = { 'o' };
static const symbol s_18[] = { 'p' };
static const symbol s_19[] = { 'r' };
static const symbol s_20[] = { 's' };
static const symbol s_21[] = { 't' };
static const symbol s_22[] = { 0xC4, 0x87 };
static const symbol s_23[] = { 'u' };
static const symbol s_24[] = { 'f' };
static const symbol s_25[] = { 'h' };
static const symbol s_26[] = { 'c' };
static const symbol s_27[] = { 0xC4, 0x8D };
static const symbol s_28[] = { 'd', 0xC5, 0xBE };
static const symbol s_29[] = { 0xC5, 0xA1 };
static const symbol s_30[] = { 'i', 'j', 'e' };
static const symbol s_31[] = { 'e' };
static const symbol s_32[] = { 'j', 'e' };
static const symbol s_33[] = { 'e' };
static const symbol s_34[] = { 'd', 'j' };
static const symbol s_35[] = { 0xC4, 0x91 };
static const symbol s_36[] = { 'l', 'o', 'g', 'a' };
static const symbol s_37[] = { 'p', 'e', 'h' };
static const symbol s_38[] = { 'v', 'o', 'j', 'k', 'a' };
static const symbol s_39[] = { 'b', 'o', 'j', 'k', 'a' };
static const symbol s_40[] = { 'j', 'a', 'k' };
static const symbol s_41[] = { 0xC4, 0x8D, 'a', 'j', 'n', 'i' };
static const symbol s_42[] = { 'c', 'a', 'j', 'n', 'i' };
static const symbol s_43[] = { 'e', 'r', 'n', 'i' };
static const symbol s_44[] = { 'l', 'a', 'r', 'n', 'i' };
static const symbol s_45[] = { 'e', 's', 'n', 'i' };
static const symbol s_46[] = { 'a', 'n', 'j', 'c', 'a' };
static const symbol s_47[] = { 'a', 'j', 'c', 'a' };
static const symbol s_48[] = { 'l', 'j', 'c', 'a' };
static const symbol s_49[] = { 'e', 'j', 'c', 'a' };
static const symbol s_50[] = { 'o', 'j', 'c', 'a' };
static const symbol s_51[] = { 'a', 'j', 'k', 'a' };
static const symbol s_52[] = { 'o', 'j', 'k', 'a' };
static const symbol s_53[] = { 0xC5, 0xA1, 'c', 'a' };
static const symbol s_54[] = { 'i', 'n', 'g' };
static const symbol s_55[] = { 't', 'v', 'e', 'n', 'i', 'k' };
static const symbol s_56[] = { 't', 'e', 't', 'i', 'k', 'a' };
static const symbol s_57[] = { 'n', 's', 't', 'v', 'a' };
static const symbol s_58[] = { 'n', 'i', 'k' };
static const symbol s_59[] = { 't', 'i', 'k' };
static const symbol s_60[] = { 'z', 'i', 'k' };
static const symbol s_61[] = { 's', 'n', 'i', 'k' };
static const symbol s_62[] = { 'k', 'u', 's', 'i' };
static const symbol s_63[] = { 'k', 'u', 's', 'n', 'i' };
static const symbol s_64[] = { 'k', 'u', 's', 't', 'v', 'a' };
static const symbol s_65[] = { 'd', 'u', 0xC5, 0xA1, 'n', 'i' };
static const symbol s_66[] = { 'd', 'u', 's', 'n', 'i' };
static const symbol s_67[] = { 'a', 'n', 't', 'n', 'i' };
static const symbol s_68[] = { 'b', 'i', 'l', 'n', 'i' };
static const symbol s_69[] = { 't', 'i', 'l', 'n', 'i' };
static const symbol s_70[] = { 'a', 'v', 'i', 'l', 'n', 'i' };
static const symbol s_71[] = { 's', 'i', 'l', 'n', 'i' };
static const symbol s_72[] = { 'g', 'i', 'l', 'n', 'i' };
static const symbol s_73[] = { 'r', 'i', 'l', 'n', 'i' };
static const symbol s_74[] = { 'n', 'i', 'l', 'n', 'i' };
static const symbol s_75[] = { 'a', 'l', 'n', 'i' };
static const symbol s_76[] = { 'o', 'z', 'n', 'i' };
static const symbol s_77[] = { 'r', 'a', 'v', 'i' };
static const symbol s_78[] = { 's', 't', 'a', 'v', 'n', 'i' };
static const symbol s_79[] = { 'p', 'r', 'a', 'v', 'n', 'i' };
static const symbol s_80[] = { 't', 'i', 'v', 'n', 'i' };
static const symbol s_81[] = { 's', 'i', 'v', 'n', 'i' };
static const symbol s_82[] = { 'a', 't', 'n', 'i' };
static const symbol s_83[] = { 'e', 'n', 't', 'a' };
static const symbol s_84[] = { 't', 'e', 't', 'n', 'i' };
static const symbol s_85[] = { 'p', 'l', 'e', 't', 'n', 'i' };
static const symbol s_86[] = { 0xC5, 0xA1, 'a', 'v', 'i' };
static const symbol s_87[] = { 's', 'a', 'v', 'i' };
static const symbol s_88[] = { 'a', 'n', 't', 'a' };
static const symbol s_89[] = { 'a', 0xC4, 0x8D, 'k', 'a' };
static const symbol s_90[] = { 'a', 'c', 'k', 'a' };
static const symbol s_91[] = { 'u', 0xC5, 0xA1, 'k', 'a' };
static const symbol s_92[] = { 'u', 's', 'k', 'a' };
static const symbol s_93[] = { 'a', 't', 'k', 'a' };
static const symbol s_94[] = { 'e', 't', 'k', 'a' };
static const symbol s_95[] = { 'i', 't', 'k', 'a' };
static const symbol s_96[] = { 'o', 't', 'k', 'a' };
static const symbol s_97[] = { 'u', 't', 'k', 'a' };
static const symbol s_98[] = { 'e', 's', 'k', 'n', 'a' };
static const symbol s_99[] = { 't', 'i', 0xC4, 0x8D, 'n', 'i' };
static const symbol s_100[] = { 't', 'i', 'c', 'n', 'i' };
static const symbol s_101[] = { 'o', 'j', 's', 'k', 'a' };
static const symbol s_102[] = { 'e', 's', 'm', 'a' };
static const symbol s_103[] = { 'm', 'e', 't', 'r', 'a' };
static const symbol s_104[] = { 'c', 'e', 'n', 't', 'r', 'a' };
static const symbol s_105[] = { 'i', 's', 't', 'r', 'a' };
static const symbol s_106[] = { 'o', 's', 't', 'i' };
static const symbol s_107[] = { 'o', 's', 't', 'i' };
static const symbol s_108[] = { 'd', 'b', 'a' };
static const symbol s_109[] = { 0xC4, 0x8D, 'k', 'a' };
static const symbol s_110[] = { 'm', 'c', 'a' };
static const symbol s_111[] = { 'n', 'c', 'a' };
static const symbol s_112[] = { 'v', 'o', 'l', 'j', 'n', 'i' };
static const symbol s_113[] = { 'a', 'n', 'k', 'i' };
static const symbol s_114[] = { 'v', 'c', 'a' };
static const symbol s_115[] = { 's', 'c', 'a' };
static const symbol s_116[] = { 'r', 'c', 'a' };
static const symbol s_117[] = { 'a', 'l', 'c', 'a' };
static const symbol s_118[] = { 'e', 'l', 'c', 'a' };
static const symbol s_119[] = { 'o', 'l', 'c', 'a' };
static const symbol s_120[] = { 'n', 'j', 'c', 'a' };
static const symbol s_121[] = { 'e', 'k', 't', 'a' };
static const symbol s_122[] = { 'i', 'z', 'm', 'a' };
static const symbol s_123[] = { 'j', 'e', 'b', 'i' };
static const symbol s_124[] = { 'b', 'a', 'c', 'i' };
static const symbol s_125[] = { 'a', 0xC5, 0xA1, 'n', 'i' };
static const symbol s_126[] = { 'a', 's', 'n', 'i' };
static const symbol s_127[] = { 's', 'k' };
static const symbol s_128[] = { 0xC5, 0xA1, 'k' };
static const symbol s_129[] = { 's', 't', 'v' };
static const symbol s_130[] = { 0xC5, 0xA1, 't', 'v' };
static const symbol s_131[] = { 't', 'a', 'n', 'i', 'j' };
static const symbol s_132[] = { 'm', 'a', 'n', 'i', 'j' };
static const symbol s_133[] = { 'p', 'a', 'n', 'i', 'j' };
static const symbol s_134[] = { 'r', 'a', 'n', 'i', 'j' };
static const symbol s_135[] = { 'g', 'a', 'n', 'i', 'j' };
static const symbol s_136[] = { 'a', 'n' };
static const symbol s_137[] = { 'i', 'n' };
static const symbol s_138[] = { 'o', 'n' };
static const symbol s_139[] = { 'n' };
static const symbol s_140[] = { 'a', 0xC4, 0x87 };
static const symbol s_141[] = { 'e', 0xC4, 0x87 };
static const symbol s_142[] = { 'u', 0xC4, 0x87 };
static const symbol s_143[] = { 'u', 'g', 'o', 'v' };
static const symbol s_144[] = { 'u', 'g' };
static const symbol s_145[] = { 'l', 'o', 'g' };
static const symbol s_146[] = { 'g' };
static const symbol s_147[] = { 'r', 'a', 'r', 'i' };
static const symbol s_148[] = { 'o', 't', 'i' };
static const symbol s_149[] = { 's', 'i' };
static const symbol s_150[] = { 'l', 'i' };
static const symbol s_151[] = { 'u', 'j' };
static const symbol s_152[] = { 'c', 'a', 'j' };
static const symbol s_153[] = { 0xC4, 0x8D, 'a', 'j' };
static const symbol s_154[] = { 0xC4, 0x87, 'a', 'j' };
static const symbol s_155[] = { 0xC4, 0x91, 'a', 'j' };
static const symbol s_156[] = { 'l', 'a', 'j' };
static const symbol s_157[] = { 'r', 'a', 'j' };
static const symbol s_158[] = { 'b', 'i', 'j' };
static const symbol s_159[] = { 'c', 'i', 'j' };
static const symbol s_160[] = { 'd', 'i', 'j' };
static const symbol s_161[] = { 'l', 'i', 'j' };
static const symbol s_162[] = { 'n', 'i', 'j' };
static const symbol s_163[] = { 'm', 'i', 'j' };
static const symbol s_164[] = { 0xC5, 0xBE, 'i', 'j' };
static const symbol s_165[] = { 'g', 'i', 'j' };
static const symbol s_166[] = { 'f', 'i', 'j' };
static const symbol s_167[] = { 'p', 'i', 'j' };
static const symbol s_168[] = { 'r', 'i', 'j' };
static const symbol s_169[] = { 's', 'i', 'j' };
static const symbol s_170[] = { 't', 'i', 'j' };
static const symbol s_171[] = { 'z', 'i', 'j' };
static const symbol s_172[] = { 'n', 'a', 'l' };
static const symbol s_173[] = { 'i', 'j', 'a', 'l' };
static const symbol s_174[] = { 'o', 'z', 'i', 'l' };
static const symbol s_175[] = { 'o', 'l', 'o', 'v' };
static const symbol s_176[] = { 'o', 'l' };
static const symbol s_177[] = { 'l', 'e', 'm' };
static const symbol s_178[] = { 'r', 'a', 'm' };
static const symbol s_179[] = { 'a', 'r' };
static const symbol s_180[] = { 'd', 'r' };
static const symbol s_181[] = { 'e', 'r' };
static const symbol s_182[] = { 'o', 'r' };
static const symbol s_183[] = { 'e', 's' };
static const symbol s_184[] = { 'i', 's' };
static const symbol s_185[] = { 't', 'a', 0xC5, 0xA1 };
static const symbol s_186[] = { 'n', 'a', 0xC5, 0xA1 };
static const symbol s_187[] = { 'j', 'a', 0xC5, 0xA1 };
static const symbol s_188[] = { 'k', 'a', 0xC5, 0xA1 };
static const symbol s_189[] = { 'b', 'a', 0xC5, 0xA1 };
static const symbol s_190[] = { 'g', 'a', 0xC5, 0xA1 };
static const symbol s_191[] = { 'v', 'a', 0xC5, 0xA1 };
static const symbol s_192[] = { 'e', 0xC5, 0xA1 };
static const symbol s_193[] = { 'i', 0xC5, 0xA1 };
static const symbol s_194[] = { 'i', 'k', 'a', 't' };
static const symbol s_195[] = { 'l', 'a', 't' };
static const symbol s_196[] = { 'e', 't' };
static const symbol s_197[] = { 'e', 's', 't' };
static const symbol s_198[] = { 'i', 's', 't' };
static const symbol s_199[] = { 'k', 's', 't' };
static const symbol s_200[] = { 'o', 's', 't' };
static const symbol s_201[] = { 'i', 0xC5, 0xA1, 't' };
static const symbol s_202[] = { 'o', 'v', 'a' };
static const symbol s_203[] = { 'a', 'v' };
static const symbol s_204[] = { 'e', 'v' };
static const symbol s_205[] = { 'i', 'v' };
static const symbol s_206[] = { 'o', 'v' };
static const symbol s_207[] = { 'm', 'o', 'v' };
static const symbol s_208[] = { 'l', 'o', 'v' };
static const symbol s_209[] = { 'e', 'l' };
static const symbol s_210[] = { 'a', 'n', 'j' };
static const symbol s_211[] = { 'e', 'n', 'j' };
static const symbol s_212[] = { 0xC5, 0xA1, 'n', 'j' };
static const symbol s_213[] = { 'e', 'n' };
static const symbol s_214[] = { 0xC5, 0xA1, 'n' };
static const symbol s_215[] = { 0xC4, 0x8D, 'i', 'n' };
static const symbol s_216[] = { 'r', 'o', 0xC5, 0xA1, 'i' };
static const symbol s_217[] = { 'o', 0xC5, 0xA1 };
static const symbol s_218[] = { 'e', 'v', 'i', 't' };
static const symbol s_219[] = { 'o', 'v', 'i', 't' };
static const symbol s_220[] = { 'a', 's', 't' };
static const symbol s_221[] = { 'k' };
static const symbol s_222[] = { 'e', 'v', 'a' };
static const symbol s_223[] = { 'a', 'v', 'a' };
static const symbol s_224[] = { 'i', 'v', 'a' };
static const symbol s_225[] = { 'u', 'v', 'a' };
static const symbol s_226[] = { 'i', 'r' };
static const symbol s_227[] = { 'a', 0xC4, 0x8D };
static const symbol s_228[] = { 'a', 0xC4, 0x8D, 'a' };
static const symbol s_229[] = { 'n', 'i' };
static const symbol s_230[] = { 'a' };
static const symbol s_231[] = { 'u', 'r' };
static const symbol s_232[] = { 'a', 's', 't', 'a', 'j' };
static const symbol s_233[] = { 'i', 's', 't', 'a', 'j' };
static const symbol s_234[] = { 'o', 's', 't', 'a', 'j' };
static const symbol s_235[] = { 'a', 'j' };
static const symbol s_236[] = { 'a', 's', 't', 'a' };
static const symbol s_237[] = { 'i', 's', 't', 'a' };
static const symbol s_238[] = { 'o', 's', 't', 'a' };
static const symbol s_239[] = { 't', 'a' };
static const symbol s_240[] = { 'i', 'n', 'j' };
static const symbol s_241[] = { 'a', 's' };
static const symbol s_242[] = { 'i' };
static const symbol s_243[] = { 'l', 'u', 0xC4, 0x8D };
static const symbol s_244[] = { 'j', 'e', 't', 'i' };
static const symbol s_245[] = { 'e' };
static const symbol s_246[] = { 'a', 't' };
static const symbol s_247[] = { 'l', 'u', 'c' };
static const symbol s_248[] = { 's', 'n', 'j' };
static const symbol s_249[] = { 'o', 's' };
static const symbol s_250[] = { 'a', 'c' };
static const symbol s_251[] = { 'e', 'c' };
static const symbol s_252[] = { 'u', 'c' };
static const symbol s_253[] = { 'r', 'o', 's', 'i' };
static const symbol s_254[] = { 'a', 'c', 'a' };
static const symbol s_255[] = { 'j', 'a', 's' };
static const symbol s_256[] = { 't', 'a', 's' };
static const symbol s_257[] = { 'g', 'a', 's' };
static const symbol s_258[] = { 'n', 'a', 's' };
static const symbol s_259[] = { 'k', 'a', 's' };
static const symbol s_260[] = { 'v', 'a', 's' };
static const symbol s_261[] = { 'b', 'a', 's' };
static const symbol s_262[] = { 'a', 's' };
static const symbol s_263[] = { 'c', 'i', 'n' };
static const symbol s_264[] = { 'a', 's', 't', 'a', 'j' };
static const symbol s_265[] = { 'i', 's', 't', 'a', 'j' };
static const symbol s_266[] = { 'o', 's', 't', 'a', 'j' };
static const symbol s_267[] = { 'a', 's', 't', 'a' };
static const symbol s_268[] = { 'i', 's', 't', 'a' };
static const symbol s_269[] = { 'o', 's', 't', 'a' };
static const symbol s_270[] = { 'a', 'v', 'a' };
static const symbol s_271[] = { 'e', 'v', 'a' };
static const symbol s_272[] = { 'i', 'v', 'a' };
static const symbol s_273[] = { 'u', 'v', 'a' };
static const symbol s_274[] = { 'o', 'v', 'a' };
static const symbol s_275[] = { 'j', 'e', 't', 'i' };
static const symbol s_276[] = { 'i', 'n', 'j' };
static const symbol s_277[] = { 'i', 's', 't' };
static const symbol s_278[] = { 'e', 's' };
static const symbol s_279[] = { 'e', 't' };
static const symbol s_280[] = { 'i', 's' };
static const symbol s_281[] = { 'i', 'r' };
static const symbol s_282[] = { 'u', 'r' };
static const symbol s_283[] = { 'u', 'j' };
static const symbol s_284[] = { 'n', 'i' };
static const symbol s_285[] = { 's', 'n' };
static const symbol s_286[] = { 't', 'a' };
static const symbol s_287[] = { 'a' };
static const symbol s_288[] = { 'i' };
static const symbol s_289[] = { 'e' };
static const symbol s_290[] = { 'n' };
static int r_cyr_to_lat(struct SN_env * z) {
int among_var;
{ int c1 = z->c;
while(1) {
int c2 = z->c;
while(1) {
int c3 = z->c;
z->bra = z->c;
among_var = find_among(z, a_0, 30);
if (!(among_var)) goto lab2;
z->ket = z->c;
switch (among_var) {
case 1:
{ int ret = slice_from_s(z, 1, s_0);
if (ret < 0) return ret;
}
break;
case 2:
{ int ret = slice_from_s(z, 1, s_1);
if (ret < 0) return ret;
}
break;
case 3:
{ int ret = slice_from_s(z, 1, s_2);
if (ret < 0) return ret;
}
break;
case 4:
{ int ret = slice_from_s(z, 1, s_3);
if (ret < 0) return ret;
}
break;
case 5:
{ int ret = slice_from_s(z, 1, s_4);
if (ret < 0) return ret;
}
break;
case 6:
{ int ret = slice_from_s(z, 2, s_5);
if (ret < 0) return ret;
}
break;
case 7:
{ int ret = slice_from_s(z, 1, s_6);
if (ret < 0) return ret;
}
break;
case 8:
{ int ret = slice_from_s(z, 2, s_7);
if (ret < 0) return ret;
}
break;
case 9:
{ int ret = slice_from_s(z, 1, s_8);
if (ret < 0) return ret;
}
break;
case 10:
{ int ret = slice_from_s(z, 1, s_9);
if (ret < 0) return ret;
}
break;
case 11:
{ int ret = slice_from_s(z, 1, s_10);
if (ret < 0) return ret;
}
break;
case 12:
{ int ret = slice_from_s(z, 1, s_11);
if (ret < 0) return ret;
}
break;
case 13:
{ int ret = slice_from_s(z, 1, s_12);
if (ret < 0) return ret;
}
break;
case 14:
{ int ret = slice_from_s(z, 2, s_13);
if (ret < 0) return ret;
}
break;
case 15:
{ int ret = slice_from_s(z, 1, s_14);
if (ret < 0) return ret;
}
break;
case 16:
{ int ret = slice_from_s(z, 1, s_15);
if (ret < 0) return ret;
}
break;
case 17:
{ int ret = slice_from_s(z, 2, s_16);
if (ret < 0) return ret;
}
break;
case 18:
{ int ret = slice_from_s(z, 1, s_17);
if (ret < 0) return ret;
}
break;
case 19:
{ int ret = slice_from_s(z, 1, s_18);
if (ret < 0) return ret;
}
break;
case 20:
{ int ret = slice_from_s(z, 1, s_19);
if (ret < 0) return ret;
}
break;
case 21:
{ int ret = slice_from_s(z, 1, s_20);
if (ret < 0) return ret;
}
break;
case 22:
{ int ret = slice_from_s(z, 1, s_21);
if (ret < 0) return ret;
}
break;
case 23:
{ int ret = slice_from_s(z, 2, s_22);
if (ret < 0) return ret;
}
break;
case 24:
{ int ret = slice_from_s(z, 1, s_23);
if (ret < 0) return ret;
}
break;
case 25:
{ int ret = slice_from_s(z, 1, s_24);
if (ret < 0) return ret;
}
break;
case 26:
{ int ret = slice_from_s(z, 1, s_25);
if (ret < 0) return ret;
}
break;
case 27:
{ int ret = slice_from_s(z, 1, s_26);
if (ret < 0) return ret;
}
break;
case 28:
{ int ret = slice_from_s(z, 2, s_27);
if (ret < 0) return ret;
}
break;
case 29:
{ int ret = slice_from_s(z, 3, s_28);
if (ret < 0) return ret;
}
break;
case 30:
{ int ret = slice_from_s(z, 2, s_29);
if (ret < 0) return ret;
}
break;
}
z->c = c3;
break;
lab2:
z->c = c3;
{ int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
if (ret < 0) goto lab1;
z->c = ret;
}
}
continue;
lab1:
z->c = c2;
break;
}
z->c = c1;
}
return 1;
}
static int r_prelude(struct SN_env * z) {
{ int c1 = z->c;
while(1) {
int c2 = z->c;
while(1) {
int c3 = z->c;
if (in_grouping_U(z, g_ca, 98, 382, 0)) goto lab2;
z->bra = z->c;
if (!(eq_s(z, 3, s_30))) goto lab2;
z->ket = z->c;
if (in_grouping_U(z, g_ca, 98, 382, 0)) goto lab2;
{ int ret = slice_from_s(z, 1, s_31);
if (ret < 0) return ret;
}
z->c = c3;
break;
lab2:
z->c = c3;
{ int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
if (ret < 0) goto lab1;
z->c = ret;
}
}
continue;
lab1:
z->c = c2;
break;
}
z->c = c1;
}
{ int c4 = z->c;
while(1) {
int c5 = z->c;
while(1) {
int c6 = z->c;
if (in_grouping_U(z, g_ca, 98, 382, 0)) goto lab5;
z->bra = z->c;
if (!(eq_s(z, 2, s_32))) goto lab5;
z->ket = z->c;
if (in_grouping_U(z, g_ca, 98, 382, 0)) goto lab5;
{ int ret = slice_from_s(z, 1, s_33);
if (ret < 0) return ret;
}
z->c = c6;
break;
lab5:
z->c = c6;
{ int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
if (ret < 0) goto lab4;
z->c = ret;
}
}
continue;
lab4:
z->c = c5;
break;
}
z->c = c4;
}
{ int c7 = z->c;
while(1) {
int c8 = z->c;
while(1) {
int c9 = z->c;
z->bra = z->c;
if (!(eq_s(z, 2, s_34))) goto lab8;
z->ket = z->c;
{ int ret = slice_from_s(z, 2, s_35);
if (ret < 0) return ret;
}
z->c = c9;
break;
lab8:
z->c = c9;
{ int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
if (ret < 0) goto lab7;
z->c = ret;
}
}
continue;
lab7:
z->c = c8;
break;
}
z->c = c7;
}
return 1;
}
static int r_mark_regions(struct SN_env * z) {
z->I[1] = 1;
{ int c1 = z->c;
{
int ret = out_grouping_U(z, g_sa, 263, 382, 1);
if (ret < 0) goto lab0;
z->c += ret;
}
z->I[1] = 0;
lab0:
z->c = c1;
}
z->I[0] = z->l;
{ int c2 = z->c;
{
int ret = out_grouping_U(z, g_v, 97, 117, 1);
if (ret < 0) goto lab1;
z->c += ret;
}
z->I[0] = z->c;
if (!(z->I[0] < 2)) goto lab1;
{
int ret = in_grouping_U(z, g_v, 97, 117, 1);
if (ret < 0) goto lab1;
z->c += ret;
}
z->I[0] = z->c;
lab1:
z->c = c2;
}
{ int c3 = z->c;
while(1) {
if (z->c == z->l || z->p[z->c] != 'r') goto lab3;
z->c++;
break;
lab3:
{ int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
if (ret < 0) goto lab2;
z->c = ret;
}
}
{ int c4 = z->c;
if (!(z->c >= 2)) goto lab5;
goto lab4;
lab5:
z->c = c4;
{
int ret = in_grouping_U(z, g_rg, 114, 114, 1);
if (ret < 0) goto lab2;
z->c += ret;
}
}
lab4:
if (!((z->I[0] - z->c) > 1)) goto lab2;
z->I[0] = z->c;
lab2:
z->c = c3;
}
return 1;
}
static int r_R1(struct SN_env * z) {
if (!(z->I[0] <= z->c)) return 0;
return 1;
}
static int r_Step_1(struct SN_env * z) {
int among_var;
z->ket = z->c;
if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((3435050 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
among_var = find_among_b(z, a_1, 130);
if (!(among_var)) return 0;
z->bra = z->c;
switch (among_var) {
case 1:
{ int ret = slice_from_s(z, 4, s_36);
if (ret < 0) return ret;
}
break;
case 2:
{ int ret = slice_from_s(z, 3, s_37);
if (ret < 0) return ret;
}
break;
case 3:
{ int ret = slice_from_s(z, 5, s_38);
if (ret < 0) return ret;
}
break;
case 4:
{ int ret = slice_from_s(z, 5, s_39);
if (ret < 0) return ret;
}
break;
case 5:
{ int ret = slice_from_s(z, 3, s_40);
if (ret < 0) return ret;
}
break;
case 6:
{ int ret = slice_from_s(z, 6, s_41);
if (ret < 0) return ret;
}
break;
case 7:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 5, s_42);
if (ret < 0) return ret;
}
break;
case 8:
{ int ret = slice_from_s(z, 4, s_43);
if (ret < 0) return ret;
}
break;
case 9:
{ int ret = slice_from_s(z, 5, s_44);
if (ret < 0) return ret;
}
break;
case 10:
{ int ret = slice_from_s(z, 4, s_45);
if (ret < 0) return ret;
}
break;
case 11:
{ int ret = slice_from_s(z, 5, s_46);
if (ret < 0) return ret;
}
break;
case 12:
{ int ret = slice_from_s(z, 4, s_47);
if (ret < 0) return ret;
}
break;
case 13:
{ int ret = slice_from_s(z, 4, s_48);
if (ret < 0) return ret;
}
break;
case 14:
{ int ret = slice_from_s(z, 4, s_49);
if (ret < 0) return ret;
}
break;
case 15:
{ int ret = slice_from_s(z, 4, s_50);
if (ret < 0) return ret;
}
break;
case 16:
{ int ret = slice_from_s(z, 4, s_51);
if (ret < 0) return ret;
}
break;
case 17:
{ int ret = slice_from_s(z, 4, s_52);
if (ret < 0) return ret;
}
break;
case 18:
{ int ret = slice_from_s(z, 4, s_53);
if (ret < 0) return ret;
}
break;
case 19:
{ int ret = slice_from_s(z, 3, s_54);
if (ret < 0) return ret;
}
break;
case 20:
{ int ret = slice_from_s(z, 6, s_55);
if (ret < 0) return ret;
}
break;
case 21:
{ int ret = slice_from_s(z, 6, s_56);
if (ret < 0) return ret;
}
break;
case 22:
{ int ret = slice_from_s(z, 5, s_57);
if (ret < 0) return ret;
}
break;
case 23:
{ int ret = slice_from_s(z, 3, s_58);
if (ret < 0) return ret;
}
break;
case 24:
{ int ret = slice_from_s(z, 3, s_59);
if (ret < 0) return ret;
}
break;
case 25:
{ int ret = slice_from_s(z, 3, s_60);
if (ret < 0) return ret;
}
break;
case 26:
{ int ret = slice_from_s(z, 4, s_61);
if (ret < 0) return ret;
}
break;
case 27:
{ int ret = slice_from_s(z, 4, s_62);
if (ret < 0) return ret;
}
break;
case 28:
{ int ret = slice_from_s(z, 5, s_63);
if (ret < 0) return ret;
}
break;
case 29:
{ int ret = slice_from_s(z, 6, s_64);
if (ret < 0) return ret;
}
break;
case 30:
{ int ret = slice_from_s(z, 6, s_65);
if (ret < 0) return ret;
}
break;
case 31:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 5, s_66);
if (ret < 0) return ret;
}
break;
case 32:
{ int ret = slice_from_s(z, 5, s_67);
if (ret < 0) return ret;
}
break;
case 33:
{ int ret = slice_from_s(z, 5, s_68);
if (ret < 0) return ret;
}
break;
case 34:
{ int ret = slice_from_s(z, 5, s_69);
if (ret < 0) return ret;
}
break;
case 35:
{ int ret = slice_from_s(z, 6, s_70);
if (ret < 0) return ret;
}
break;
case 36:
{ int ret = slice_from_s(z, 5, s_71);
if (ret < 0) return ret;
}
break;
case 37:
{ int ret = slice_from_s(z, 5, s_72);
if (ret < 0) return ret;
}
break;
case 38:
{ int ret = slice_from_s(z, 5, s_73);
if (ret < 0) return ret;
}
break;
case 39:
{ int ret = slice_from_s(z, 5, s_74);
if (ret < 0) return ret;
}
break;
case 40:
{ int ret = slice_from_s(z, 4, s_75);
if (ret < 0) return ret;
}
break;
case 41:
{ int ret = slice_from_s(z, 4, s_76);
if (ret < 0) return ret;
}
break;
case 42:
{ int ret = slice_from_s(z, 4, s_77);
if (ret < 0) return ret;
}
break;
case 43:
{ int ret = slice_from_s(z, 6, s_78);
if (ret < 0) return ret;
}
break;
case 44:
{ int ret = slice_from_s(z, 6, s_79);
if (ret < 0) return ret;
}
break;
case 45:
{ int ret = slice_from_s(z, 5, s_80);
if (ret < 0) return ret;
}
break;
case 46:
{ int ret = slice_from_s(z, 5, s_81);
if (ret < 0) return ret;
}
break;
case 47:
{ int ret = slice_from_s(z, 4, s_82);
if (ret < 0) return ret;
}
break;
case 48:
{ int ret = slice_from_s(z, 4, s_83);
if (ret < 0) return ret;
}
break;
case 49:
{ int ret = slice_from_s(z, 5, s_84);
if (ret < 0) return ret;
}
break;
case 50:
{ int ret = slice_from_s(z, 6, s_85);
if (ret < 0) return ret;
}
break;
case 51:
{ int ret = slice_from_s(z, 5, s_86);
if (ret < 0) return ret;
}
break;
case 52:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 4, s_87);
if (ret < 0) return ret;
}
break;
case 53:
{ int ret = slice_from_s(z, 4, s_88);
if (ret < 0) return ret;
}
break;
case 54:
{ int ret = slice_from_s(z, 5, s_89);
if (ret < 0) return ret;
}
break;
case 55:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 4, s_90);
if (ret < 0) return ret;
}
break;
case 56:
{ int ret = slice_from_s(z, 5, s_91);
if (ret < 0) return ret;
}
break;
case 57:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 4, s_92);
if (ret < 0) return ret;
}
break;
case 58:
{ int ret = slice_from_s(z, 4, s_93);
if (ret < 0) return ret;
}
break;
case 59:
{ int ret = slice_from_s(z, 4, s_94);
if (ret < 0) return ret;
}
break;
case 60:
{ int ret = slice_from_s(z, 4, s_95);
if (ret < 0) return ret;
}
break;
case 61:
{ int ret = slice_from_s(z, 4, s_96);
if (ret < 0) return ret;
}
break;
case 62:
{ int ret = slice_from_s(z, 4, s_97);
if (ret < 0) return ret;
}
break;
case 63:
{ int ret = slice_from_s(z, 5, s_98);
if (ret < 0) return ret;
}
break;
case 64:
{ int ret = slice_from_s(z, 6, s_99);
if (ret < 0) return ret;
}
break;
case 65:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 5, s_100);
if (ret < 0) return ret;
}
break;
case 66:
{ int ret = slice_from_s(z, 5, s_101);
if (ret < 0) return ret;
}
break;
case 67:
{ int ret = slice_from_s(z, 4, s_102);
if (ret < 0) return ret;
}
break;
case 68:
{ int ret = slice_from_s(z, 5, s_103);
if (ret < 0) return ret;
}
break;
case 69:
{ int ret = slice_from_s(z, 6, s_104);
if (ret < 0) return ret;
}
break;
case 70:
{ int ret = slice_from_s(z, 5, s_105);
if (ret < 0) return ret;
}
break;
case 71:
{ int ret = slice_from_s(z, 4, s_106);
if (ret < 0) return ret;
}
break;
case 72:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 4, s_107);
if (ret < 0) return ret;
}
break;
case 73:
{ int ret = slice_from_s(z, 3, s_108);
if (ret < 0) return ret;
}
break;
case 74:
{ int ret = slice_from_s(z, 4, s_109);
if (ret < 0) return ret;
}
break;
case 75:
{ int ret = slice_from_s(z, 3, s_110);
if (ret < 0) return ret;
}
break;
case 76:
{ int ret = slice_from_s(z, 3, s_111);
if (ret < 0) return ret;
}
break;
case 77:
{ int ret = slice_from_s(z, 6, s_112);
if (ret < 0) return ret;
}
break;
case 78:
{ int ret = slice_from_s(z, 4, s_113);
if (ret < 0) return ret;
}
break;
case 79:
{ int ret = slice_from_s(z, 3, s_114);
if (ret < 0) return ret;
}
break;
case 80:
{ int ret = slice_from_s(z, 3, s_115);
if (ret < 0) return ret;
}
break;
case 81:
{ int ret = slice_from_s(z, 3, s_116);
if (ret < 0) return ret;
}
break;
case 82:
{ int ret = slice_from_s(z, 4, s_117);
if (ret < 0) return ret;
}
break;
case 83:
{ int ret = slice_from_s(z, 4, s_118);
if (ret < 0) return ret;
}
break;
case 84:
{ int ret = slice_from_s(z, 4, s_119);
if (ret < 0) return ret;
}
break;
case 85:
{ int ret = slice_from_s(z, 4, s_120);
if (ret < 0) return ret;
}
break;
case 86:
{ int ret = slice_from_s(z, 4, s_121);
if (ret < 0) return ret;
}
break;
case 87:
{ int ret = slice_from_s(z, 4, s_122);
if (ret < 0) return ret;
}
break;
case 88:
{ int ret = slice_from_s(z, 4, s_123);
if (ret < 0) return ret;
}
break;
case 89:
{ int ret = slice_from_s(z, 4, s_124);
if (ret < 0) return ret;
}
break;
case 90:
{ int ret = slice_from_s(z, 5, s_125);
if (ret < 0) return ret;
}
break;
case 91:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 4, s_126);
if (ret < 0) return ret;
}
break;
}
return 1;
}
static int r_Step_2(struct SN_env * z) {
int among_var;
z->ket = z->c;
among_var = find_among_b(z, a_2, 2035);
if (!(among_var)) return 0;
z->bra = z->c;
{ int ret = r_R1(z);
if (ret <= 0) return ret;
}
switch (among_var) {
case 1:
{ int ret = slice_from_s(z, 2, s_127);
if (ret < 0) return ret;
}
break;
case 2:
{ int ret = slice_from_s(z, 3, s_128);
if (ret < 0) return ret;
}
break;
case 3:
{ int ret = slice_from_s(z, 3, s_129);
if (ret < 0) return ret;
}
break;
case 4:
{ int ret = slice_from_s(z, 4, s_130);
if (ret < 0) return ret;
}
break;
case 5:
{ int ret = slice_from_s(z, 5, s_131);
if (ret < 0) return ret;
}
break;
case 6:
{ int ret = slice_from_s(z, 5, s_132);
if (ret < 0) return ret;
}
break;
case 7:
{ int ret = slice_from_s(z, 5, s_133);
if (ret < 0) return ret;
}
break;
case 8:
{ int ret = slice_from_s(z, 5, s_134);
if (ret < 0) return ret;
}
break;
case 9:
{ int ret = slice_from_s(z, 5, s_135);
if (ret < 0) return ret;
}
break;
case 10:
{ int ret = slice_from_s(z, 2, s_136);
if (ret < 0) return ret;
}
break;
case 11:
{ int ret = slice_from_s(z, 2, s_137);
if (ret < 0) return ret;
}
break;
case 12:
{ int ret = slice_from_s(z, 2, s_138);
if (ret < 0) return ret;
}
break;
case 13:
{ int ret = slice_from_s(z, 1, s_139);
if (ret < 0) return ret;
}
break;
case 14:
{ int ret = slice_from_s(z, 3, s_140);
if (ret < 0) return ret;
}
break;
case 15:
{ int ret = slice_from_s(z, 3, s_141);
if (ret < 0) return ret;
}
break;
case 16:
{ int ret = slice_from_s(z, 3, s_142);
if (ret < 0) return ret;
}
break;
case 17:
{ int ret = slice_from_s(z, 4, s_143);
if (ret < 0) return ret;
}
break;
case 18:
{ int ret = slice_from_s(z, 2, s_144);
if (ret < 0) return ret;
}
break;
case 19:
{ int ret = slice_from_s(z, 3, s_145);
if (ret < 0) return ret;
}
break;
case 20:
{ int ret = slice_from_s(z, 1, s_146);
if (ret < 0) return ret;
}
break;
case 21:
{ int ret = slice_from_s(z, 4, s_147);
if (ret < 0) return ret;
}
break;
case 22:
{ int ret = slice_from_s(z, 3, s_148);
if (ret < 0) return ret;
}
break;
case 23:
{ int ret = slice_from_s(z, 2, s_149);
if (ret < 0) return ret;
}
break;
case 24:
{ int ret = slice_from_s(z, 2, s_150);
if (ret < 0) return ret;
}
break;
case 25:
{ int ret = slice_from_s(z, 2, s_151);
if (ret < 0) return ret;
}
break;
case 26:
{ int ret = slice_from_s(z, 3, s_152);
if (ret < 0) return ret;
}
break;
case 27:
{ int ret = slice_from_s(z, 4, s_153);
if (ret < 0) return ret;
}
break;
case 28:
{ int ret = slice_from_s(z, 4, s_154);
if (ret < 0) return ret;
}
break;
case 29:
{ int ret = slice_from_s(z, 4, s_155);
if (ret < 0) return ret;
}
break;
case 30:
{ int ret = slice_from_s(z, 3, s_156);
if (ret < 0) return ret;
}
break;
case 31:
{ int ret = slice_from_s(z, 3, s_157);
if (ret < 0) return ret;
}
break;
case 32:
{ int ret = slice_from_s(z, 3, s_158);
if (ret < 0) return ret;
}
break;
case 33:
{ int ret = slice_from_s(z, 3, s_159);
if (ret < 0) return ret;
}
break;
case 34:
{ int ret = slice_from_s(z, 3, s_160);
if (ret < 0) return ret;
}
break;
case 35:
{ int ret = slice_from_s(z, 3, s_161);
if (ret < 0) return ret;
}
break;
case 36:
{ int ret = slice_from_s(z, 3, s_162);
if (ret < 0) return ret;
}
break;
case 37:
{ int ret = slice_from_s(z, 3, s_163);
if (ret < 0) return ret;
}
break;
case 38:
{ int ret = slice_from_s(z, 4, s_164);
if (ret < 0) return ret;
}
break;
case 39:
{ int ret = slice_from_s(z, 3, s_165);
if (ret < 0) return ret;
}
break;
case 40:
{ int ret = slice_from_s(z, 3, s_166);
if (ret < 0) return ret;
}
break;
case 41:
{ int ret = slice_from_s(z, 3, s_167);
if (ret < 0) return ret;
}
break;
case 42:
{ int ret = slice_from_s(z, 3, s_168);
if (ret < 0) return ret;
}
break;
case 43:
{ int ret = slice_from_s(z, 3, s_169);
if (ret < 0) return ret;
}
break;
case 44:
{ int ret = slice_from_s(z, 3, s_170);
if (ret < 0) return ret;
}
break;
case 45:
{ int ret = slice_from_s(z, 3, s_171);
if (ret < 0) return ret;
}
break;
case 46:
{ int ret = slice_from_s(z, 3, s_172);
if (ret < 0) return ret;
}
break;
case 47:
{ int ret = slice_from_s(z, 4, s_173);
if (ret < 0) return ret;
}
break;
case 48:
{ int ret = slice_from_s(z, 4, s_174);
if (ret < 0) return ret;
}
break;
case 49:
{ int ret = slice_from_s(z, 4, s_175);
if (ret < 0) return ret;
}
break;
case 50:
{ int ret = slice_from_s(z, 2, s_176);
if (ret < 0) return ret;
}
break;
case 51:
{ int ret = slice_from_s(z, 3, s_177);
if (ret < 0) return ret;
}
break;
case 52:
{ int ret = slice_from_s(z, 3, s_178);
if (ret < 0) return ret;
}
break;
case 53:
{ int ret = slice_from_s(z, 2, s_179);
if (ret < 0) return ret;
}
break;
case 54:
{ int ret = slice_from_s(z, 2, s_180);
if (ret < 0) return ret;
}
break;
case 55:
{ int ret = slice_from_s(z, 2, s_181);
if (ret < 0) return ret;
}
break;
case 56:
{ int ret = slice_from_s(z, 2, s_182);
if (ret < 0) return ret;
}
break;
case 57:
{ int ret = slice_from_s(z, 2, s_183);
if (ret < 0) return ret;
}
break;
case 58:
{ int ret = slice_from_s(z, 2, s_184);
if (ret < 0) return ret;
}
break;
case 59:
{ int ret = slice_from_s(z, 4, s_185);
if (ret < 0) return ret;
}
break;
case 60:
{ int ret = slice_from_s(z, 4, s_186);
if (ret < 0) return ret;
}
break;
case 61:
{ int ret = slice_from_s(z, 4, s_187);
if (ret < 0) return ret;
}
break;
case 62:
{ int ret = slice_from_s(z, 4, s_188);
if (ret < 0) return ret;
}
break;
case 63:
{ int ret = slice_from_s(z, 4, s_189);
if (ret < 0) return ret;
}
break;
case 64:
{ int ret = slice_from_s(z, 4, s_190);
if (ret < 0) return ret;
}
break;
case 65:
{ int ret = slice_from_s(z, 4, s_191);
if (ret < 0) return ret;
}
break;
case 66:
{ int ret = slice_from_s(z, 3, s_192);
if (ret < 0) return ret;
}
break;
case 67:
{ int ret = slice_from_s(z, 3, s_193);
if (ret < 0) return ret;
}
break;
case 68:
{ int ret = slice_from_s(z, 4, s_194);
if (ret < 0) return ret;
}
break;
case 69:
{ int ret = slice_from_s(z, 3, s_195);
if (ret < 0) return ret;
}
break;
case 70:
{ int ret = slice_from_s(z, 2, s_196);
if (ret < 0) return ret;
}
break;
case 71:
{ int ret = slice_from_s(z, 3, s_197);
if (ret < 0) return ret;
}
break;
case 72:
{ int ret = slice_from_s(z, 3, s_198);
if (ret < 0) return ret;
}
break;
case 73:
{ int ret = slice_from_s(z, 3, s_199);
if (ret < 0) return ret;
}
break;
case 74:
{ int ret = slice_from_s(z, 3, s_200);
if (ret < 0) return ret;
}
break;
case 75:
{ int ret = slice_from_s(z, 4, s_201);
if (ret < 0) return ret;
}
break;
case 76:
{ int ret = slice_from_s(z, 3, s_202);
if (ret < 0) return ret;
}
break;
case 77:
{ int ret = slice_from_s(z, 2, s_203);
if (ret < 0) return ret;
}
break;
case 78:
{ int ret = slice_from_s(z, 2, s_204);
if (ret < 0) return ret;
}
break;
case 79:
{ int ret = slice_from_s(z, 2, s_205);
if (ret < 0) return ret;
}
break;
case 80:
{ int ret = slice_from_s(z, 2, s_206);
if (ret < 0) return ret;
}
break;
case 81:
{ int ret = slice_from_s(z, 3, s_207);
if (ret < 0) return ret;
}
break;
case 82:
{ int ret = slice_from_s(z, 3, s_208);
if (ret < 0) return ret;
}
break;
case 83:
{ int ret = slice_from_s(z, 2, s_209);
if (ret < 0) return ret;
}
break;
case 84:
{ int ret = slice_from_s(z, 3, s_210);
if (ret < 0) return ret;
}
break;
case 85:
{ int ret = slice_from_s(z, 3, s_211);
if (ret < 0) return ret;
}
break;
case 86:
{ int ret = slice_from_s(z, 4, s_212);
if (ret < 0) return ret;
}
break;
case 87:
{ int ret = slice_from_s(z, 2, s_213);
if (ret < 0) return ret;
}
break;
case 88:
{ int ret = slice_from_s(z, 3, s_214);
if (ret < 0) return ret;
}
break;
case 89:
{ int ret = slice_from_s(z, 4, s_215);
if (ret < 0) return ret;
}
break;
case 90:
{ int ret = slice_from_s(z, 5, s_216);
if (ret < 0) return ret;
}
break;
case 91:
{ int ret = slice_from_s(z, 3, s_217);
if (ret < 0) return ret;
}
break;
case 92:
{ int ret = slice_from_s(z, 4, s_218);
if (ret < 0) return ret;
}
break;
case 93:
{ int ret = slice_from_s(z, 4, s_219);
if (ret < 0) return ret;
}
break;
case 94:
{ int ret = slice_from_s(z, 3, s_220);
if (ret < 0) return ret;
}
break;
case 95:
{ int ret = slice_from_s(z, 1, s_221);
if (ret < 0) return ret;
}
break;
case 96:
{ int ret = slice_from_s(z, 3, s_222);
if (ret < 0) return ret;
}
break;
case 97:
{ int ret = slice_from_s(z, 3, s_223);
if (ret < 0) return ret;
}
break;
case 98:
{ int ret = slice_from_s(z, 3, s_224);
if (ret < 0) return ret;
}
break;
case 99:
{ int ret = slice_from_s(z, 3, s_225);
if (ret < 0) return ret;
}
break;
case 100:
{ int ret = slice_from_s(z, 2, s_226);
if (ret < 0) return ret;
}
break;
case 101:
{ int ret = slice_from_s(z, 3, s_227);
if (ret < 0) return ret;
}
break;
case 102:
{ int ret = slice_from_s(z, 4, s_228);
if (ret < 0) return ret;
}
break;
case 103:
{ int ret = slice_from_s(z, 2, s_229);
if (ret < 0) return ret;
}
break;
case 104:
{ int ret = slice_from_s(z, 1, s_230);
if (ret < 0) return ret;
}
break;
case 105:
{ int ret = slice_from_s(z, 2, s_231);
if (ret < 0) return ret;
}
break;
case 106:
{ int ret = slice_from_s(z, 5, s_232);
if (ret < 0) return ret;
}
break;
case 107:
{ int ret = slice_from_s(z, 5, s_233);
if (ret < 0) return ret;
}
break;
case 108:
{ int ret = slice_from_s(z, 5, s_234);
if (ret < 0) return ret;
}
break;
case 109:
{ int ret = slice_from_s(z, 2, s_235);
if (ret < 0) return ret;
}
break;
case 110:
{ int ret = slice_from_s(z, 4, s_236);
if (ret < 0) return ret;
}
break;
case 111:
{ int ret = slice_from_s(z, 4, s_237);
if (ret < 0) return ret;
}
break;
case 112:
{ int ret = slice_from_s(z, 4, s_238);
if (ret < 0) return ret;
}
break;
case 113:
{ int ret = slice_from_s(z, 2, s_239);
if (ret < 0) return ret;
}
break;
case 114:
{ int ret = slice_from_s(z, 3, s_240);
if (ret < 0) return ret;
}
break;
case 115:
{ int ret = slice_from_s(z, 2, s_241);
if (ret < 0) return ret;
}
break;
case 116:
{ int ret = slice_from_s(z, 1, s_242);
if (ret < 0) return ret;
}
break;
case 117:
{ int ret = slice_from_s(z, 4, s_243);
if (ret < 0) return ret;
}
break;
case 118:
{ int ret = slice_from_s(z, 4, s_244);
if (ret < 0) return ret;
}
break;
case 119:
{ int ret = slice_from_s(z, 1, s_245);
if (ret < 0) return ret;
}
break;
case 120:
{ int ret = slice_from_s(z, 2, s_246);
if (ret < 0) return ret;
}
break;
case 121:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 3, s_247);
if (ret < 0) return ret;
}
break;
case 122:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 3, s_248);
if (ret < 0) return ret;
}
break;
case 123:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 2, s_249);
if (ret < 0) return ret;
}
break;
case 124:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 2, s_250);
if (ret < 0) return ret;
}
break;
case 125:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 2, s_251);
if (ret < 0) return ret;
}
break;
case 126:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 2, s_252);
if (ret < 0) return ret;
}
break;
case 127:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 4, s_253);
if (ret < 0) return ret;
}
break;
case 128:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 3, s_254);
if (ret < 0) return ret;
}
break;
case 129:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 3, s_255);
if (ret < 0) return ret;
}
break;
case 130:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 3, s_256);
if (ret < 0) return ret;
}
break;
case 131:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 3, s_257);
if (ret < 0) return ret;
}
break;
case 132:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 3, s_258);
if (ret < 0) return ret;
}
break;
case 133:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 3, s_259);
if (ret < 0) return ret;
}
break;
case 134:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 3, s_260);
if (ret < 0) return ret;
}
break;
case 135:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 3, s_261);
if (ret < 0) return ret;
}
break;
case 136:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 2, s_262);
if (ret < 0) return ret;
}
break;
case 137:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 3, s_263);
if (ret < 0) return ret;
}
break;
case 138:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 5, s_264);
if (ret < 0) return ret;
}
break;
case 139:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 5, s_265);
if (ret < 0) return ret;
}
break;
case 140:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 5, s_266);
if (ret < 0) return ret;
}
break;
case 141:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 4, s_267);
if (ret < 0) return ret;
}
break;
case 142:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 4, s_268);
if (ret < 0) return ret;
}
break;
case 143:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 4, s_269);
if (ret < 0) return ret;
}
break;
case 144:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 3, s_270);
if (ret < 0) return ret;
}
break;
case 145:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 3, s_271);
if (ret < 0) return ret;
}
break;
case 146:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 3, s_272);
if (ret < 0) return ret;
}
break;
case 147:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 3, s_273);
if (ret < 0) return ret;
}
break;
case 148:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 3, s_274);
if (ret < 0) return ret;
}
break;
case 149:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 4, s_275);
if (ret < 0) return ret;
}
break;
case 150:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 3, s_276);
if (ret < 0) return ret;
}
break;
case 151:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 3, s_277);
if (ret < 0) return ret;
}
break;
case 152:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 2, s_278);
if (ret < 0) return ret;
}
break;
case 153:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 2, s_279);
if (ret < 0) return ret;
}
break;
case 154:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 2, s_280);
if (ret < 0) return ret;
}
break;
case 155:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 2, s_281);
if (ret < 0) return ret;
}
break;
case 156:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 2, s_282);
if (ret < 0) return ret;
}
break;
case 157:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 2, s_283);
if (ret < 0) return ret;
}
break;
case 158:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 2, s_284);
if (ret < 0) return ret;
}
break;
case 159:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 2, s_285);
if (ret < 0) return ret;
}
break;
case 160:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 2, s_286);
if (ret < 0) return ret;
}
break;
case 161:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 1, s_287);
if (ret < 0) return ret;
}
break;
case 162:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 1, s_288);
if (ret < 0) return ret;
}
break;
case 163:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 1, s_289);
if (ret < 0) return ret;
}
break;
case 164:
if (!(z->I[1])) return 0;
{ int ret = slice_from_s(z, 1, s_290);
if (ret < 0) return ret;
}
break;
}
return 1;
}
static int r_Step_3(struct SN_env * z) {
z->ket = z->c;
if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((3188642 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
if (!(find_among_b(z, a_3, 26))) return 0;
z->bra = z->c;
{ int ret = r_R1(z);
if (ret <= 0) return ret;
}
{ int ret = slice_from_s(z, 0, 0);
if (ret < 0) return ret;
}
return 1;
}
extern int serbian_UTF_8_stem(struct SN_env * z) {
{ int ret = r_cyr_to_lat(z);
if (ret < 0) return ret;
}
{ int ret = r_prelude(z);
if (ret < 0) return ret;
}
{ int ret = r_mark_regions(z);
if (ret < 0) return ret;
}
z->lb = z->c; z->c = z->l;
{ int m1 = z->l - z->c; (void)m1;
{ int ret = r_Step_1(z);
if (ret < 0) return ret;
}
z->c = z->l - m1;
}
{ int m2 = z->l - z->c; (void)m2;
{ int m3 = z->l - z->c; (void)m3;
{ int ret = r_Step_2(z);
if (ret == 0) goto lab2;
if (ret < 0) return ret;
}
goto lab1;
lab2:
z->c = z->l - m3;
{ int ret = r_Step_3(z);
if (ret == 0) goto lab0;
if (ret < 0) return ret;
}
}
lab1:
lab0:
z->c = z->l - m2;
}
z->c = z->lb;
return 1;
}
extern struct SN_env * serbian_UTF_8_create_env(void) { return SN_create_env(0, 2); }
extern void serbian_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); }
| 150,957 |
2,003 | // Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef TERA_IO_CODING_H_
#define TERA_IO_CODING_H_
#include <stdint.h>
#include "leveldb/slice.h"
namespace tera {
namespace io {
inline uint32_t DecodeFixed32(const char* ptr) {
uint32_t result;
memcpy(&result, ptr, sizeof(result));
return result;
}
inline uint64_t DecodeFixed64(const char* ptr) {
uint64_t result;
memcpy(&result, ptr, sizeof(result));
return result;
}
inline void EncodeFixed64(char* buf, uint64_t value) { memcpy(buf, &value, sizeof(value)); }
inline void PutFixed64(std::string* dst, uint64_t value) {
char buf[sizeof(value)];
EncodeFixed64(buf, value);
dst->append(buf, sizeof(buf));
}
inline void EncodeBigEndian32(char* buf, uint32_t value) {
buf[0] = (value >> 24) & 0xff;
buf[1] = (value >> 16) & 0xff;
buf[2] = (value >> 8) & 0xff;
buf[3] = value & 0xff;
}
inline uint32_t DecodeBigEndain32(const char* ptr) {
return ((static_cast<uint32_t>(static_cast<unsigned char>(ptr[3]))) |
(static_cast<uint32_t>(static_cast<unsigned char>(ptr[2])) << 8) |
(static_cast<uint32_t>(static_cast<unsigned char>(ptr[1])) << 16) |
(static_cast<uint32_t>(static_cast<unsigned char>(ptr[0])) << 24));
}
inline void EncodeBigEndian(char* buf, uint64_t value) {
buf[0] = (value >> 56) & 0xff;
buf[1] = (value >> 48) & 0xff;
buf[2] = (value >> 40) & 0xff;
buf[3] = (value >> 32) & 0xff;
buf[4] = (value >> 24) & 0xff;
buf[5] = (value >> 16) & 0xff;
buf[6] = (value >> 8) & 0xff;
buf[7] = value & 0xff;
}
inline uint64_t DecodeBigEndain(const char* ptr) {
uint64_t lo = DecodeBigEndain32(ptr + 4);
uint64_t hi = DecodeBigEndain32(ptr);
return (hi << 32) | lo;
}
inline int32_t DecodeBigEndain32Sign(const char* ptr) {
return ((static_cast<uint32_t>(static_cast<unsigned char>(ptr[3]))) |
(static_cast<uint32_t>(static_cast<unsigned char>(ptr[2])) << 8) |
(static_cast<uint32_t>(static_cast<unsigned char>(ptr[1])) << 16) |
(static_cast<int32_t>(static_cast<unsigned char>(ptr[0])) << 24));
}
inline int64_t DecodeBigEndainSign(const char* ptr) {
uint64_t lo = DecodeBigEndain32(ptr + 4);
int64_t hi = DecodeBigEndain32Sign(ptr);
return (hi << 32) | lo;
}
enum UserKeyType { UKT_VALUE = 0, UKT_FORSEEK };
inline uint64_t PackTimestampAndType(int64_t timestamp, UserKeyType key_type) {
uint64_t stamp = 0;
if (timestamp >= 0) {
stamp = static_cast<uint64_t>(timestamp);
}
return (stamp << sizeof(UserKeyType)) | key_type;
}
bool ParseKeySlice(const leveldb::Slice& key, int64_t* timestamp, UserKeyType* type,
leveldb::Slice* short_key, leveldb::Slice* time_key);
void PackUserKey(const std::string& key, int64_t timestamp, UserKeyType type,
std::string* packed_key);
bool UnpackUserKey(const leveldb::Slice& packed_key, leveldb::Slice* short_key, int64_t* timestamp,
UserKeyType* type);
leveldb::Slice ExtractTimeKey(const leveldb::Slice& key_slice);
leveldb::Slice ExtractShortKey(const leveldb::Slice& key_slice);
UserKeyType ExtractKeyType(const leveldb::Slice& key_slice);
} // namespace io
} // namespace tera
#endif // TERA_IO_CODING_H_
| 1,375 |
9,782 | <reponame>sreekanth370/presto<filename>presto-druid/src/main/java/com/facebook/presto/druid/zip/Zip64EndOfCentralDirectoryLocator.java
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.facebook.presto.druid.zip;
import com.facebook.presto.druid.DataInputSource;
import java.io.IOException;
import java.util.zip.ZipException;
import static com.google.common.base.Preconditions.checkArgument;
public class Zip64EndOfCentralDirectoryLocator
{
public static final int SIGNATURE = 0x07064b50;
public static final int FIXED_DATA_SIZE = 20;
public static final int ZIP64_EOCD_OFFSET_OFFSET = 8;
private Zip64EndOfCentralDirectoryLocator()
{
}
/**
* Read the Zip64 end of central directory locator from the input stream and parse additional
* {@link ZipFileData} from it.
*/
public static ZipFileData read(ZipFileData file, DataInputSource dataInputSource, long position)
throws IOException
{
checkArgument(file != null, "Zip file data for source:%s is null", dataInputSource.getId());
byte[] fixedSizeData = new byte[FIXED_DATA_SIZE];
dataInputSource.readFully(position, fixedSizeData, 0, FIXED_DATA_SIZE);
if (!ZipUtil.arrayStartsWith(fixedSizeData, ZipUtil.intToLittleEndian(SIGNATURE))) {
throw new ZipException(String.format("Malformed Zip64 Central Directory Locator; does not start with %08x", SIGNATURE));
}
file.setZip64(true);
file.setZip64EndOfCentralDirectoryOffset(ZipUtil.getUnsignedLong(fixedSizeData, ZIP64_EOCD_OFFSET_OFFSET));
return file;
}
}
| 723 |
1,996 | <filename>opencv-3.3.0/3rdparty/protobuf/src/google/protobuf/io/printer.h
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Author: <EMAIL> (<NAME>)
// Based on original Protocol Buffers design by
// <NAME>, <NAME>, and others.
//
// Utility class for writing text to a ZeroCopyOutputStream.
#ifndef GOOGLE_PROTOBUF_IO_PRINTER_H__
#define GOOGLE_PROTOBUF_IO_PRINTER_H__
#include <string>
#include <map>
#include <vector>
#include <google/protobuf/stubs/common.h>
namespace google {
namespace protobuf {
namespace io {
class ZeroCopyOutputStream; // zero_copy_stream.h
// Records annotations about a Printer's output.
class LIBPROTOBUF_EXPORT AnnotationCollector {
public:
// Records that the bytes in file_path beginning with begin_offset and ending
// before end_offset are associated with the SourceCodeInfo-style path.
virtual void AddAnnotation(size_t begin_offset, size_t end_offset,
const string& file_path,
const vector<int>& path) = 0;
virtual ~AnnotationCollector() {}
};
// Records annotations about a Printer's output to the given protocol buffer,
// assuming that the buffer has an ::Annotation message exposing path,
// source_file, begin and end fields.
template <typename AnnotationProto>
class AnnotationProtoCollector : public AnnotationCollector {
public:
// annotation_proto is the protocol buffer to which new Annotations should be
// added. It is not owned by the AnnotationProtoCollector.
explicit AnnotationProtoCollector(AnnotationProto* annotation_proto)
: annotation_proto_(annotation_proto) {}
// Override for AnnotationCollector::AddAnnotation.
virtual void AddAnnotation(size_t begin_offset, size_t end_offset,
const string& file_path, const vector<int>& path) {
typename AnnotationProto::Annotation* annotation =
annotation_proto_->add_annotation();
for (int i = 0; i < path.size(); ++i) {
annotation->add_path(path[i]);
}
annotation->set_source_file(file_path);
annotation->set_begin(begin_offset);
annotation->set_end(end_offset);
}
private:
// The protocol buffer to which new annotations should be added.
AnnotationProto* const annotation_proto_;
};
// This simple utility class assists in code generation. It basically
// allows the caller to define a set of variables and then output some
// text with variable substitutions. Example usage:
//
// Printer printer(output, '$');
// map<string, string> vars;
// vars["name"] = "Bob";
// printer.Print(vars, "My name is $name$.");
//
// The above writes "My name is Bob." to the output stream.
//
// Printer aggressively enforces correct usage, crashing (with assert failures)
// in the case of undefined variables in debug builds. This helps greatly in
// debugging code which uses it.
//
// If a Printer is constructed with an AnnotationCollector, it will provide it
// with annotations that connect the Printer's output to paths that can identify
// various descriptors. In the above example, if person_ is a descriptor that
// identifies Bob, we can associate the output string "My name is Bob." with
// a source path pointing to that descriptor with:
//
// printer.Annotate("name", person_);
//
// The AnnotationCollector will be sent an annotation linking the output range
// covering "Bob" to the logical path provided by person_. Tools may use
// this association to (for example) link "Bob" in the output back to the
// source file that defined the person_ descriptor identifying Bob.
//
// Annotate can only examine variables substituted during the last call to
// Print. It is invalid to refer to a variable that was used multiple times
// in a single Print call.
//
// In full generality, one may specify a range of output text using a beginning
// substitution variable and an ending variable. The resulting annotation will
// span from the first character of the substituted value for the beginning
// variable to the last character of the substituted value for the ending
// variable. For example, the Annotate call above is equivalent to this one:
//
// printer.Annotate("name", "name", person_);
//
// This is useful if multiple variables combine to form a single span of output
// that should be annotated with the same source path. For example:
//
// Printer printer(output, '$');
// map<string, string> vars;
// vars["first"] = "Alice";
// vars["last"] = "Smith";
// printer.Print(vars, "My name is $first$ $last$.");
// printer.Annotate("first", "last", person_);
//
// This code would associate the span covering "<NAME>" in the output with
// the person_ descriptor.
//
// Note that the beginning variable must come before (or overlap with, in the
// case of zero-sized substitution values) the ending variable.
//
// It is also sometimes useful to use variables with zero-sized values as
// markers. This avoids issues with multiple references to the same variable
// and also allows annotation ranges to span literal text from the Print
// templates:
//
// Printer printer(output, '$');
// map<string, string> vars;
// vars["foo"] = "bar";
// vars["function"] = "call";
// vars["mark"] = "";
// printer.Print(vars, "$function$($foo$,$foo$)$mark$");
// printer.Annotate("function", "rmark", call_);
//
// This code associates the span covering "call(bar,bar)" in the output with the
// call_ descriptor.
class LIBPROTOBUF_EXPORT Printer {
public:
// Create a printer that writes text to the given output stream. Use the
// given character as the delimiter for variables.
Printer(ZeroCopyOutputStream* output, char variable_delimiter);
// Create a printer that writes text to the given output stream. Use the
// given character as the delimiter for variables. If annotation_collector
// is not null, Printer will provide it with annotations about code written
// to the stream. annotation_collector is not owned by Printer.
Printer(ZeroCopyOutputStream* output, char variable_delimiter,
AnnotationCollector* annotation_collector);
~Printer();
// Link a subsitution variable emitted by the last call to Print to the object
// described by descriptor.
template <typename SomeDescriptor>
void Annotate(const char* varname, const SomeDescriptor* descriptor) {
Annotate(varname, varname, descriptor);
}
// Link the output range defined by the substitution variables as emitted by
// the last call to Print to the object described by descriptor. The range
// begins at begin_varname's value and ends after the last character of the
// value substituted for end_varname.
template <typename SomeDescriptor>
void Annotate(const char* begin_varname, const char* end_varname,
const SomeDescriptor* descriptor) {
if (annotation_collector_ == NULL) {
// Annotations aren't turned on for this Printer, so don't pay the cost
// of building the location path.
return;
}
vector<int> path;
descriptor->GetLocationPath(&path);
Annotate(begin_varname, end_varname, descriptor->file()->name(), path);
}
// Link a subsitution variable emitted by the last call to Print to the file
// with path file_name.
void Annotate(const char* varname, const string& file_name) {
Annotate(varname, varname, file_name);
}
// Link the output range defined by the substitution variables as emitted by
// the last call to Print to the file with path file_name. The range begins
// at begin_varname's value and ends after the last character of the value
// substituted for end_varname.
void Annotate(const char* begin_varname, const char* end_varname,
const string& file_name) {
if (annotation_collector_ == NULL) {
// Annotations aren't turned on for this Printer.
return;
}
vector<int> empty_path;
Annotate(begin_varname, end_varname, file_name, empty_path);
}
// Print some text after applying variable substitutions. If a particular
// variable in the text is not defined, this will crash. Variables to be
// substituted are identified by their names surrounded by delimiter
// characters (as given to the constructor). The variable bindings are
// defined by the given map.
void Print(const map<string, string>& variables, const char* text);
// Like the first Print(), except the substitutions are given as parameters.
void Print(const char* text);
// Like the first Print(), except the substitutions are given as parameters.
void Print(const char* text, const char* variable, const string& value);
// Like the first Print(), except the substitutions are given as parameters.
void Print(const char* text, const char* variable1, const string& value1,
const char* variable2, const string& value2);
// Like the first Print(), except the substitutions are given as parameters.
void Print(const char* text, const char* variable1, const string& value1,
const char* variable2, const string& value2,
const char* variable3, const string& value3);
// Like the first Print(), except the substitutions are given as parameters.
void Print(const char* text, const char* variable1, const string& value1,
const char* variable2, const string& value2,
const char* variable3, const string& value3,
const char* variable4, const string& value4);
// Like the first Print(), except the substitutions are given as parameters.
void Print(const char* text, const char* variable1, const string& value1,
const char* variable2, const string& value2,
const char* variable3, const string& value3,
const char* variable4, const string& value4,
const char* variable5, const string& value5);
// Like the first Print(), except the substitutions are given as parameters.
void Print(const char* text, const char* variable1, const string& value1,
const char* variable2, const string& value2,
const char* variable3, const string& value3,
const char* variable4, const string& value4,
const char* variable5, const string& value5,
const char* variable6, const string& value6);
// Like the first Print(), except the substitutions are given as parameters.
void Print(const char* text, const char* variable1, const string& value1,
const char* variable2, const string& value2,
const char* variable3, const string& value3,
const char* variable4, const string& value4,
const char* variable5, const string& value5,
const char* variable6, const string& value6,
const char* variable7, const string& value7);
// Like the first Print(), except the substitutions are given as parameters.
void Print(const char* text, const char* variable1, const string& value1,
const char* variable2, const string& value2,
const char* variable3, const string& value3,
const char* variable4, const string& value4,
const char* variable5, const string& value5,
const char* variable6, const string& value6,
const char* variable7, const string& value7,
const char* variable8, const string& value8);
// Indent text by two spaces. After calling Indent(), two spaces will be
// inserted at the beginning of each line of text. Indent() may be called
// multiple times to produce deeper indents.
void Indent();
// Reduces the current indent level by two spaces, or crashes if the indent
// level is zero.
void Outdent();
// Write a string to the output buffer.
// This method does not look for newlines to add indentation.
void PrintRaw(const string& data);
// Write a zero-delimited string to output buffer.
// This method does not look for newlines to add indentation.
void PrintRaw(const char* data);
// Write some bytes to the output buffer.
// This method does not look for newlines to add indentation.
void WriteRaw(const char* data, int size);
// True if any write to the underlying stream failed. (We don't just
// crash in this case because this is an I/O failure, not a programming
// error.)
bool failed() const { return failed_; }
private:
// Link the output range defined by the substitution variables as emitted by
// the last call to Print to the object found at the SourceCodeInfo-style path
// in a file with path file_path. The range begins at the start of
// begin_varname's value and ends after the last character of the value
// substituted for end_varname. Note that begin_varname and end_varname
// may refer to the same variable.
void Annotate(const char* begin_varname, const char* end_varname,
const string& file_path, const vector<int>& path);
const char variable_delimiter_;
ZeroCopyOutputStream* const output_;
char* buffer_;
int buffer_size_;
// The current position, in bytes, in the output stream. This is equivalent
// to the total number of bytes that have been written so far. This value is
// used to calculate annotation ranges in the substitutions_ map below.
size_t offset_;
string indent_;
bool at_start_of_line_;
bool failed_;
// A map from variable name to [start, end) offsets in the output buffer.
// These refer to the offsets used for a variable after the last call to
// Print. If a variable was used more than once, the entry used in
// this map is set to a negative-length span. For singly-used variables, the
// start offset is the beginning of the substitution; the end offset is the
// last byte of the substitution plus one (such that (end - start) is the
// length of the substituted string).
map<string, pair<size_t, size_t> > substitutions_;
// Returns true and sets range to the substitution range in the output for
// varname if varname was used once in the last call to Print. If varname
// was not used, or if it was used multiple times, returns false (and
// fails a debug assertion).
bool GetSubstitutionRange(const char* varname, pair<size_t, size_t>* range);
// If non-null, annotation_collector_ is used to store annotations about
// generated code.
AnnotationCollector* const annotation_collector_;
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Printer);
};
} // namespace io
} // namespace protobuf
} // namespace google
#endif // GOOGLE_PROTOBUF_IO_PRINTER_H__
| 5,385 |
2,034 | <gh_stars>1000+
package com.billy.android.swipe.demo.consumer;
import android.os.Bundle;
import android.view.Gravity;
import android.widget.LinearLayout;
import android.widget.SeekBar;
import android.widget.TextView;
import com.billy.android.swipe.SmartSwipe;
import com.billy.android.swipe.consumer.ActivitySlidingBackConsumer;
import com.billy.android.swipe.demo.BaseActivity;
import com.billy.android.swipe.demo.R;
import java.text.DecimalFormat;
import java.text.NumberFormat;
/**
* demo:
* @author billy.qi
*/
public class SwipeBackTranslucentConsumerActivity extends BaseActivity {
private NumberFormat formatter = new DecimalFormat("0.00");
private TextView numberTextView;
private ActivitySlidingBackConsumer consumer;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_with_description);
TextView textView = findViewById(R.id.description);
textView.setText(R.string.demo_description_SwipeBackTranslucentConsumer);
consumer = SmartSwipe.wrap(this)
.removeAllConsumers()
.addConsumer(new ActivitySlidingBackConsumer(this))
.setRelativeMoveFactor(0.5F)
.enableAllDirections()
.as(ActivitySlidingBackConsumer.class)
;
LinearLayout container = findViewById(R.id.container);
TextView label = new TextView(this);
label.setText(R.string.demo_main_group_main_ui_relative_move_factor);
label.setGravity(Gravity.CENTER_HORIZONTAL);
container.addView(label);
numberTextView = new TextView(this);
numberTextView.setTextColor(getResources().getColor(R.color.colorPrimary));
numberTextView.setGravity(Gravity.CENTER_HORIZONTAL);
container.addView(numberTextView);
SeekBar seekBar = new SeekBar(this);
seekBar.setMax(100);
seekBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {
@Override
public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
float moveFactor = consumer.setRelativeMoveFactor(progress * 0.01F).getRelativeMoveFactor();
numberTextView.setText(formatter.format(moveFactor));
}
@Override
public void onStartTrackingTouch(SeekBar seekBar) {
}
@Override
public void onStopTrackingTouch(SeekBar seekBar) {
}
});
seekBar.setProgress((int) (consumer.getRelativeMoveFactor() * 100));
container.addView(seekBar);
}
@Override
public int getTitleResId() {
return R.string.demo_ui_ActivitySlidingBackConsumer;
}
}
| 1,133 |
839 | <filename>testutils/src/main/java/org/apache/cxf/testutil/recorders/OutMessageRecorder.java
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.cxf.testutil.recorders;
import java.io.OutputStream;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.logging.Logger;
import org.apache.cxf.common.logging.LogUtils;
import org.apache.cxf.interceptor.Fault;
import org.apache.cxf.interceptor.MessageSenderInterceptor;
import org.apache.cxf.io.CachedOutputStream;
import org.apache.cxf.io.CachedOutputStreamCallback;
import org.apache.cxf.io.WriteOnCloseOutputStream;
import org.apache.cxf.message.Message;
import org.apache.cxf.phase.AbstractPhaseInterceptor;
import org.apache.cxf.phase.Phase;
public class OutMessageRecorder extends AbstractPhaseInterceptor<Message> {
private static final Logger LOG = LogUtils.getLogger(OutMessageRecorder.class);
private final List<byte[]> outbound = new CopyOnWriteArrayList<>();
public OutMessageRecorder() {
super(Phase.PREPARE_SEND);
addAfter(MessageSenderInterceptor.class.getName());
}
public void handleMessage(Message message) throws Fault {
OutputStream os = message.getContent(OutputStream.class);
if (null == os) {
return;
}
WriteOnCloseOutputStream stream = createCachedStream(message, os);
stream.registerCallback(new RecorderCallback());
}
public static WriteOnCloseOutputStream createCachedStream(Message message, OutputStream os) {
// We need to ensure that we have an output stream which won't start writing the
// message until we have a chance to send a createsequence
if (!(os instanceof WriteOnCloseOutputStream)) {
WriteOnCloseOutputStream cached = new WriteOnCloseOutputStream(os);
message.setContent(OutputStream.class, cached);
os = cached;
}
return (WriteOnCloseOutputStream) os;
}
public List<byte[]> getOutboundMessages() {
return outbound;
}
class RecorderCallback implements CachedOutputStreamCallback {
public void onFlush(CachedOutputStream cos) {
}
public void onClose(CachedOutputStream cos) {
// bytes were already copied after flush
try {
outbound.add(cos.getBytes());
} catch (Exception e) {
LOG.fine("Can't record message from output stream class: "
+ cos.getOut().getClass().getName());
}
}
}
}
| 1,139 |
312 | <filename>mpp/hal/vpu/jpegd/hal_jpegd_base.h
/*
* Copyright 2015 - 2017 Rockchip Electronics Co. LTD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef __HAL_JPEGD_BASE_H__
#define __HAL_JPEGD_BASE_H__
#include <stdio.h>
#include "mpp_hal.h"
#include "mpp_device.h"
typedef struct PPInfo_t {
/* PP parameters */
RK_U8 pp_enable; /* 0 - disable; 1 - enable */
RK_U8 pp_in_fmt; /* PP input format */
RK_U8 pp_out_fmt;/* PP output format */
RK_U8 dither_enable; /* for PP output RGB565 */
RK_U32 crop_width;
RK_U32 crop_height;
RK_U32 crop_x;
RK_U32 crop_y;
} PPInfo;
typedef struct JpegdHalCtx {
MppBufSlots packet_slots;
MppBufSlots frame_slots;
MppDev dev;
MppClientType dev_type;
RK_U32 codec_type;
void *regs;
MppBufferGroup group;
MppBuffer frame_buf;
MppBuffer pTableBase;
MppHalApi hal_api;
MppFrameFormat output_fmt;
RK_U32 set_output_fmt_flag;
RK_U32 hal_debug_enable;
RK_U32 frame_count;
RK_U32 output_yuv_count;
RK_U8 scale;
RK_S32 pkt_fd; /* input stream's physical address(fd) */
RK_S32 frame_fd; /* output picture's physical address(fd) */
RK_U32 have_pp;
PPInfo pp_info;
} JpegdHalCtx;
#endif /* __HAL_JPEGD_COMMON_H__ */
| 1,145 |
654 | import pytest # noqa
import py_cui # noqa
# TODO
| 22 |
1,414 | #ifndef __MDFN_CDAFREADER_H
#define __MDFN_CDAFREADER_H
#include "Stream.h"
class CDAFReader
{
public:
CDAFReader();
virtual ~CDAFReader();
virtual uint64 FrameCount(void) = 0;
INLINE uint64 Read(uint64 frame_offset, int16 *buffer, uint64 frames)
{
uint64 ret;
if(LastReadPos != frame_offset)
{
//puts("SEEK");
if(!Seek_(frame_offset))
return(0);
LastReadPos = frame_offset;
}
ret = Read_(buffer, frames);
LastReadPos += ret;
return(ret);
}
private:
virtual uint64 Read_(int16 *buffer, uint64 frames) = 0;
virtual bool Seek_(uint64 frame_offset) = 0;
uint64 LastReadPos;
};
// AR_Open(), and CDAFReader, will NOT take "ownership" of the Stream object(IE it won't ever delete it). Though it does assume it has exclusive access
// to it for as long as the CDAFReader object exists.
CDAFReader *CDAFR_Open(Stream *fp);
#endif
| 317 |
3,442 | // Code generated by Wire protocol buffer compiler, do not edit.
// Source: squareup.protos.custom_options.my_message_option_two in custom_options.proto
package com.squareup.wire.protos.custom_options;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface MyMessageOptionTwoOption {
float value();
}
| 147 |
1,303 | <reponame>miusuncle/TBase
/*
* Tencent is pleased to support the open source community by making TBase available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
*
* TBase is licensed under the BSD 3-Clause License, except for the third-party component listed below.
*
* A copy of the BSD 3-Clause License is included in this file.
*
* Other dependencies and licenses:
*
* Open Source Software Licensed Under the PostgreSQL License:
* --------------------------------------------------------------------
* 1. Postgres-XL XL9_5_STABLE
* Portions Copyright (c) 2015-2016, 2ndQuadrant Ltd
* Portions Copyright (c) 2012-2015, TransLattice, Inc.
* Portions Copyright (c) 2010-2017, Postgres-XC Development Group
* Portions Copyright (c) 1996-2015, The PostgreSQL Global Development Group
* Portions Copyright (c) 1994, The Regents of the University of California
*
* Terms of the PostgreSQL License:
* --------------------------------------------------------------------
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose, without fee, and without a written agreement
* is hereby granted, provided that the above copyright notice and this
* paragraph and the following two paragraphs appear in all copies.
*
* IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
* DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
* LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
* DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
* ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
*
*
* Terms of the BSD 3-Clause License:
* --------------------------------------------------------------------
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. Neither the name of THL A29 Limited nor the names of its contributors may be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.
*
*/
/*-------------------------------------------------------------------------
*
* guc_tables.h
* Declarations of tables used by GUC.
*
* See src/backend/utils/misc/README for design notes.
*
* Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
*
* src/include/utils/guc_tables.h
*
*-------------------------------------------------------------------------
*/
#ifndef GUC_TABLES_H
#define GUC_TABLES_H 1
#include "utils/guc.h"
/*
* GUC supports these types of variables:
*/
enum config_type
{
PGC_BOOL,
PGC_INT,
PGC_UINT,
PGC_REAL,
PGC_STRING,
PGC_ENUM
};
union config_var_val
{
bool boolval;
int intval;
uint uintval;
double realval;
char *stringval;
int enumval;
};
/*
* The actual value of a GUC variable can include a malloc'd opaque struct
* "extra", which is created by its check_hook and used by its assign_hook.
*/
typedef struct config_var_value
{
union config_var_val val;
void *extra;
} config_var_value;
/*
* Groupings to help organize all the run-time options for display
*/
enum config_group
{
UNGROUPED,
FILE_LOCATIONS,
CONN_AUTH,
CONN_AUTH_SETTINGS,
CONN_AUTH_SECURITY,
RESOURCES,
RESOURCES_MEM,
RESOURCES_DISK,
RESOURCES_KERNEL,
RESOURCES_VACUUM_DELAY,
RESOURCES_BGWRITER,
RESOURCES_ASYNCHRONOUS,
WAL,
WAL_SETTINGS,
WAL_CHECKPOINTS,
WAL_ARCHIVING,
REPLICATION,
REPLICATION_SENDING,
REPLICATION_MASTER,
REPLICATION_STANDBY,
REPLICATION_SUBSCRIBERS,
QUERY_TUNING,
QUERY_TUNING_METHOD,
QUERY_TUNING_COST,
QUERY_TUNING_GEQO,
QUERY_TUNING_OTHER,
LOGGING,
LOGGING_WHERE,
LOGGING_WHEN,
LOGGING_WHAT,
PROCESS_TITLE,
STATS,
STATS_MONITORING,
STATS_COLLECTOR,
AUTOVACUUM,
CLIENT_CONN,
CLIENT_CONN_STATEMENT,
CLIENT_CONN_LOCALE,
CLIENT_CONN_PRELOAD,
CLIENT_CONN_OTHER,
LOCK_MANAGEMENT,
COMPAT_OPTIONS,
COMPAT_OPTIONS_PREVIOUS,
COMPAT_OPTIONS_CLIENT,
ERROR_HANDLING_OPTIONS,
PRESET_OPTIONS,
CUSTOM_OPTIONS,
#ifdef _SHARDING_
SHARD_VISIBLE_MODE,
#endif
#ifdef PGXC
DEVELOPER_OPTIONS,
DATA_NODES,
GTM,
COORDINATORS,
XC_HOUSEKEEPING_OPTIONS
#else
DEVELOPER_OPTIONS
#endif
};
/*
* Stack entry for saving the state a variable had prior to an uncommitted
* transactional change
*/
typedef enum
{
/* This is almost GucAction, but we need a fourth state for SET+LOCAL */
GUC_SAVE, /* entry caused by function SET option */
GUC_SET, /* entry caused by plain SET command */
GUC_LOCAL, /* entry caused by SET LOCAL command */
GUC_SET_LOCAL /* entry caused by SET then SET LOCAL */
} GucStackState;
typedef struct guc_stack
{
struct guc_stack *prev; /* previous stack item, if any */
int nest_level; /* nesting depth at which we made entry */
GucStackState state; /* see enum above */
GucSource source; /* source of the prior value */
/* masked value's source must be PGC_S_SESSION, so no need to store it */
GucContext scontext; /* context that set the prior value */
GucContext masked_scontext; /* context that set the masked value */
config_var_value prior; /* previous value of variable */
config_var_value masked; /* SET value in a GUC_SET_LOCAL entry */
} GucStack;
/*
* Generic fields applicable to all types of variables
*
* The short description should be less than 80 chars in length. Some
* applications may use the long description as well, and will append
* it to the short description. (separated by a newline or '. ')
*
* Note that sourcefile/sourceline are kept here, and not pushed into stacked
* values, although in principle they belong with some stacked value if the
* active value is session- or transaction-local. This is to avoid bloating
* stack entries. We know they are only relevant when source == PGC_S_FILE.
*/
struct config_generic
{
/* constant fields, must be set correctly in initial value: */
const char *name; /* name of variable - MUST BE FIRST */
GucContext context; /* context required to set the variable */
enum config_group group; /* to help organize variables by function */
const char *short_desc; /* short desc. of this variable's purpose */
const char *long_desc; /* long desc. of this variable's purpose */
int flags; /* flag bits, see guc.h */
/* variable fields, initialized at runtime: */
enum config_type vartype; /* type of variable (set only at startup) */
int status; /* status bits, see below */
GucSource source; /* source of the current actual value */
GucSource reset_source; /* source of the reset_value */
GucContext scontext; /* context that set the current value */
GucContext reset_scontext; /* context that set the reset value */
GucStack *stack; /* stacked prior values */
void *extra; /* "extra" pointer for current actual value */
char *sourcefile; /* file current setting is from (NULL if not
* set in config file) */
int sourceline; /* line in source file */
};
/* bit values in status field */
#define GUC_IS_IN_FILE 0x0001 /* found it in config file */
/*
* Caution: the GUC_IS_IN_FILE bit is transient state for ProcessConfigFile.
* Do not assume that its value represents useful information elsewhere.
*/
#define GUC_PENDING_RESTART 0x0002
/* GUC records for specific variable types */
struct config_bool
{
struct config_generic gen;
/* constant fields, must be set correctly in initial value: */
bool *variable;
bool boot_val;
GucBoolCheckHook check_hook;
GucBoolAssignHook assign_hook;
GucShowHook show_hook;
/* variable fields, initialized at runtime: */
bool reset_val;
void *reset_extra;
};
struct config_int
{
struct config_generic gen;
/* constant fields, must be set correctly in initial value: */
int *variable;
int boot_val;
int min;
int max;
GucIntCheckHook check_hook;
GucIntAssignHook assign_hook;
GucShowHook show_hook;
/* variable fields, initialized at runtime: */
int reset_val;
void *reset_extra;
};
struct config_uint
{
struct config_generic gen;
/* constant fields, must be set correctly in initial value: */
uint *variable;
uint boot_val;
uint min;
uint max;
GucUintCheckHook check_hook;
GucUintAssignHook assign_hook;
GucShowHook show_hook;
/* variable fields, initialized at runtime: */
uint reset_val;
void *reset_extra;
};
struct config_real
{
struct config_generic gen;
/* constant fields, must be set correctly in initial value: */
double *variable;
double boot_val;
double min;
double max;
GucRealCheckHook check_hook;
GucRealAssignHook assign_hook;
GucShowHook show_hook;
/* variable fields, initialized at runtime: */
double reset_val;
void *reset_extra;
};
struct config_string
{
struct config_generic gen;
/* constant fields, must be set correctly in initial value: */
char **variable;
const char *boot_val;
GucStringCheckHook check_hook;
GucStringAssignHook assign_hook;
GucShowHook show_hook;
/* variable fields, initialized at runtime: */
char *reset_val;
void *reset_extra;
};
struct config_enum
{
struct config_generic gen;
/* constant fields, must be set correctly in initial value: */
int *variable;
int boot_val;
const struct config_enum_entry *options;
GucEnumCheckHook check_hook;
GucEnumAssignHook assign_hook;
GucShowHook show_hook;
/* variable fields, initialized at runtime: */
int reset_val;
void *reset_extra;
};
/* constant tables corresponding to enums above and in guc.h */
extern const char *const config_group_names[];
extern const char *const config_type_names[];
extern const char *const GucContext_Names[];
extern const char *const GucSource_Names[];
/* get the current set of variables */
extern struct config_generic **get_guc_variables(void);
extern void build_guc_variables(void);
/* search in enum options */
extern const char *config_enum_lookup_by_value(struct config_enum *record, int val);
extern bool config_enum_lookup_by_name(struct config_enum *record,
const char *value, int *retval);
#endif /* GUC_TABLES_H */
| 4,650 |
1,511 | /* x_tables module for matching the IPv4/IPv6 DSCP field
*
* (C) 2002 <NAME> <<EMAIL>>
* This software is distributed under GNU GPL v2, 1991
* | 48 |
2,151 | //
// Copyright 2016 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// TransformFeedbackNULL.h:
// Defines the class interface for TransformFeedbackNULL, implementing TransformFeedbackImpl.
//
#ifndef LIBANGLE_RENDERER_NULL_TRANSFORMFEEDBACKNULL_H_
#define LIBANGLE_RENDERER_NULL_TRANSFORMFEEDBACKNULL_H_
#include "libANGLE/renderer/TransformFeedbackImpl.h"
namespace rx
{
class TransformFeedbackNULL : public TransformFeedbackImpl
{
public:
TransformFeedbackNULL(const gl::TransformFeedbackState &state);
~TransformFeedbackNULL() override;
void begin(GLenum primitiveMode) override;
void end() override;
void pause() override;
void resume() override;
void bindGenericBuffer(const gl::BindingPointer<gl::Buffer> &binding) override;
void bindIndexedBuffer(size_t index,
const gl::OffsetBindingPointer<gl::Buffer> &binding) override;
};
} // namespace rx
#endif // LIBANGLE_RENDERER_NULL_TRANSFORMFEEDBACKNULL_H_
| 371 |
1,354 | <filename>HackerRankDashboard/CoreCS/DataStructures/src/main/java/com/javaaid/hackerrank/solutions/datastructures/linkedlists/PrintTheElementsOfALinkedList.java
/**
*
* Problem Statement-
* [Print the Elements of a Linked List](https://www.hackerrank.com/challenges/print-the-elements-of-a-linked-list)
*
*/
package com.javaaid.hackerrank.solutions.datastructures.linkedlists;
/**
*
* @author <NAME>
*
*/
class PrintTheElementsOfALinkedList {
class Node {
int data;
Node next;
}
void Print(Node head) {
Node current = head;
while (current != null) {
System.out.println(current.data);
current = current.next;
}
}
}
| 242 |
3,100 | /**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2017 <NAME>. All rights reserved. *
* Released under the BSD license - see LICENSE in the root for more details. *
******************************************************************************
*/
#ifndef XENIA_CPU_THREAD_H_
#define XENIA_CPU_THREAD_H_
#include "xenia/base/threading.h"
#include <cstdint>
namespace xe {
namespace cpu {
class ThreadState;
// Represents a thread that runs guest code.
class Thread {
public:
Thread();
~Thread();
static bool IsInThread();
static Thread* GetCurrentThread();
static uint32_t GetCurrentThreadId();
ThreadState* thread_state() const { return thread_state_; }
// True if the thread should be paused by the debugger.
// All threads that can run guest code must be stopped for the debugger to
// work properly.
bool can_debugger_suspend() const { return can_debugger_suspend_; }
void set_can_debugger_suspend(bool value) { can_debugger_suspend_ = value; }
xe::threading::Thread* thread() { return thread_.get(); }
const std::string& thread_name() const { return thread_name_; }
protected:
thread_local static Thread* current_thread_;
ThreadState* thread_state_ = nullptr;
std::unique_ptr<xe::threading::Thread> thread_ = nullptr;
bool can_debugger_suspend_ = true;
std::string thread_name_;
};
} // namespace cpu
} // namespace xe
#endif // XENIA_CPU_THREAD_H_
| 508 |
372 | /*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.content.model;
/**
* Represents a geographic region that you can use as a target with both the `RegionalInventory` and
* `ShippingSettings` services. You can define regions as collections of either postal codes or, in
* some countries, using predefined geotargets.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation
* see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class Region extends com.google.api.client.json.GenericJson {
/**
* The display name of the region.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String displayName;
/**
* A list of geotargets that defines the region area.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private RegionGeoTargetArea geotargetArea;
/**
* Output only. Immutable. Merchant that owns the region.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long merchantId;
/**
* A list of postal codes that defines the region area.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private RegionPostalCodeArea postalCodeArea;
/**
* Output only. Immutable. The ID uniquely identifying each region.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String regionId;
/**
* Output only. Indicates if the region is eligible to use in the Regional Inventory
* configuration.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean regionalInventoryEligible;
/**
* Output only. Indicates if the region is eligible to use in the Shipping Services configuration.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean shippingEligible;
/**
* The display name of the region.
* @return value or {@code null} for none
*/
public java.lang.String getDisplayName() {
return displayName;
}
/**
* The display name of the region.
* @param displayName displayName or {@code null} for none
*/
public Region setDisplayName(java.lang.String displayName) {
this.displayName = displayName;
return this;
}
/**
* A list of geotargets that defines the region area.
* @return value or {@code null} for none
*/
public RegionGeoTargetArea getGeotargetArea() {
return geotargetArea;
}
/**
* A list of geotargets that defines the region area.
* @param geotargetArea geotargetArea or {@code null} for none
*/
public Region setGeotargetArea(RegionGeoTargetArea geotargetArea) {
this.geotargetArea = geotargetArea;
return this;
}
/**
* Output only. Immutable. Merchant that owns the region.
* @return value or {@code null} for none
*/
public java.lang.Long getMerchantId() {
return merchantId;
}
/**
* Output only. Immutable. Merchant that owns the region.
* @param merchantId merchantId or {@code null} for none
*/
public Region setMerchantId(java.lang.Long merchantId) {
this.merchantId = merchantId;
return this;
}
/**
* A list of postal codes that defines the region area.
* @return value or {@code null} for none
*/
public RegionPostalCodeArea getPostalCodeArea() {
return postalCodeArea;
}
/**
* A list of postal codes that defines the region area.
* @param postalCodeArea postalCodeArea or {@code null} for none
*/
public Region setPostalCodeArea(RegionPostalCodeArea postalCodeArea) {
this.postalCodeArea = postalCodeArea;
return this;
}
/**
* Output only. Immutable. The ID uniquely identifying each region.
* @return value or {@code null} for none
*/
public java.lang.String getRegionId() {
return regionId;
}
/**
* Output only. Immutable. The ID uniquely identifying each region.
* @param regionId regionId or {@code null} for none
*/
public Region setRegionId(java.lang.String regionId) {
this.regionId = regionId;
return this;
}
/**
* Output only. Indicates if the region is eligible to use in the Regional Inventory
* configuration.
* @return value or {@code null} for none
*/
public java.lang.Boolean getRegionalInventoryEligible() {
return regionalInventoryEligible;
}
/**
* Output only. Indicates if the region is eligible to use in the Regional Inventory
* configuration.
* @param regionalInventoryEligible regionalInventoryEligible or {@code null} for none
*/
public Region setRegionalInventoryEligible(java.lang.Boolean regionalInventoryEligible) {
this.regionalInventoryEligible = regionalInventoryEligible;
return this;
}
/**
* Output only. Indicates if the region is eligible to use in the Shipping Services configuration.
* @return value or {@code null} for none
*/
public java.lang.Boolean getShippingEligible() {
return shippingEligible;
}
/**
* Output only. Indicates if the region is eligible to use in the Shipping Services configuration.
* @param shippingEligible shippingEligible or {@code null} for none
*/
public Region setShippingEligible(java.lang.Boolean shippingEligible) {
this.shippingEligible = shippingEligible;
return this;
}
@Override
public Region set(String fieldName, Object value) {
return (Region) super.set(fieldName, value);
}
@Override
public Region clone() {
return (Region) super.clone();
}
}
| 2,048 |
1,083 | #include "TokenType.h"
namespace dale {
const char *tokenTypeToString(int token_type) {
const char *ret;
switch (token_type) {
case TokenType::Null:
ret = "null";
break;
case TokenType::LeftParen:
ret = "left parenthesis";
break;
case TokenType::RightParen:
ret = "right parenthesis";
break;
case TokenType::String:
ret = "symbol";
break;
case TokenType::Int:
ret = "integer";
break;
case TokenType::FloatingPoint:
ret = "floating point number";
break;
case TokenType::StringLiteral:
ret = "string literal";
break;
case TokenType::Eof:
ret = "EOF";
break;
default:
ret = "[unknown]";
}
return ret;
}
}
| 475 |
1,350 | <filename>sdk/agrifood/azure-verticals-agrifood-farming/src/main/java/com/azure/verticals/agrifood/farming/ScenesBaseClient.java<gh_stars>1000+
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.verticals.agrifood.farming;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.experimental.http.DynamicRequest;
import com.azure.core.http.HttpMethod;
import com.azure.core.http.HttpPipeline;
import com.azure.core.util.serializer.ObjectSerializer;
/** Initializes a new instance of the ScenesBaseClient type. */
@ServiceClient(builder = FarmBeatsClientBuilder.class)
public final class ScenesBaseClient {
private final String endpoint;
private final String apiVersion;
private final HttpPipeline httpPipeline;
private final ObjectSerializer serializer;
/**
* Initializes an instance of ScenesBaseClient client.
*
* @param endpoint The endpoint of your FarmBeats resource (protocol and hostname, for example:
* https://{resourceName}.farmbeats.azure.net).
* @param apiVersion Api Version.
* @param httpPipeline The HTTP pipeline to send requests through.
* @param serializer The serializer to serialize an object into a string.
*/
ScenesBaseClient(String endpoint, String apiVersion, HttpPipeline httpPipeline, ObjectSerializer serializer) {
this.endpoint = endpoint;
this.apiVersion = apiVersion;
this.httpPipeline = httpPipeline;
this.serializer = serializer;
}
/**
* Returns a paginated list of scene resources.
*
* <p><strong>Optional Query Parameters</strong>
*
* <table border="1">
* <caption>Optional Query Parameters</caption>
* <tr><th>Name</th><th>Type</th><th>Description</th></tr>
* <tr><td>source</td><td>String</td><td>Source name of scene data, default value Sentinel_2_L2A (Sentinel 2 L2A).</td></tr>
* <tr><td>startDateTime</td><td>OffsetDateTime</td><td>Scene start UTC datetime (inclusive), sample format: yyyy-MM-ddThh:mm:ssZ.</td></tr>
* <tr><td>endDateTime</td><td>OffsetDateTime</td><td>Scene end UTC datetime (inclusive), sample format: yyyy-MM-dThh:mm:ssZ.</td></tr>
* <tr><td>maxCloudCoveragePercentage</td><td>Double</td><td>Filter scenes with cloud coverage percentage less than max value. Range [0 to 100.0].</td></tr>
* <tr><td>maxDarkPixelCoveragePercentage</td><td>Double</td><td>Filter scenes with dark pixel coverage percentage less than max value. Range [0 to 100.0].</td></tr>
* <tr><td>imageNames</td><td>List<String></td><td>List of image names to be filtered.</td></tr>
* <tr><td>imageResolutions</td><td>List<Double></td><td>List of image resolutions in meters to be filtered.</td></tr>
* <tr><td>imageFormats</td><td>List<String></td><td>List of image formats to be filtered.</td></tr>
* <tr><td>maxPageSize</td><td>Integer</td><td>Maximum number of items needed (inclusive).
* Minimum = 10, Maximum = 1000, Default value = 50.</td></tr>
* <tr><td>skipToken</td><td>String</td><td>Skip token for getting next set of results.</td></tr>
* </table>
*
* <p><strong>Response Body Schema</strong>
*
* <pre>{@code
* {
* value: [
* {
* sceneDateTime: OffsetDateTime
* provider: String
* source: String
* imageFiles: [
* {
* fileLink: String
* name: String
* imageFormat: String(TIF)
* resolution: Double
* }
* ]
* imageFormat: String(TIF)
* cloudCoverPercentage: Double
* darkPixelPercentage: Double
* ndviMedianValue: Double
* boundaryId: String
* farmerId: String
* id: String
* eTag: String
* }
* ]
* skipToken: String
* nextLink: String
* }
* }</pre>
*
* @param provider Provider name of scene data.
* @param farmerId FarmerId.
* @param boundaryId BoundaryId.
* @return a DynamicRequest where customizations can be made before sent to the service.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public DynamicRequest list(String provider, String farmerId, String boundaryId) {
return new DynamicRequest(serializer, httpPipeline)
.setUrl("{Endpoint}/scenes")
.setPathParam("Endpoint", endpoint)
.addQueryParam("provider", provider)
.addQueryParam("farmerId", farmerId)
.addQueryParam("boundaryId", boundaryId)
.addQueryParam("api-version", apiVersion)
.addHeader("Accept", "application/json")
.addHeader("Content-Type", "application/json")
.setHttpMethod(HttpMethod.GET);
}
/**
* Create a satellite data ingestion job.
*
* <p><strong>Request Body Schema</strong>
*
* <pre>{@code
* {
* farmerId: String
* boundaryId: String
* startDateTime: OffsetDateTime
* endDateTime: OffsetDateTime
* provider: String(Microsoft)
* source: String(Sentinel_2_L2A)
* data: {
* imageNames: [
* String
* ]
* imageFormats: [
* String
* ]
* imageResolutions: [
* double
* ]
* }
* id: String
* status: String
* durationInSeconds: Double
* message: String
* createdDateTime: OffsetDateTime
* lastActionDateTime: OffsetDateTime
* startTime: OffsetDateTime
* endTime: OffsetDateTime
* name: String
* description: String
* properties: {
* String: Object
* }
* }
* }</pre>
*
* <p><strong>Response Body Schema</strong>
*
* <pre>{@code
* (recursive schema, see above)
* }</pre>
*
* @param jobId JobId provided by user.
* @return a DynamicRequest where customizations can be made before sent to the service.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public DynamicRequest createSatelliteDataIngestionJob(String jobId) {
return new DynamicRequest(serializer, httpPipeline)
.setUrl("{Endpoint}/scenes/satellite/ingest-data/{jobId}")
.setPathParam("Endpoint", endpoint)
.setPathParam("jobId", jobId)
.addQueryParam("api-version", apiVersion)
.addHeader("Accept", "application/json")
.addHeader("Content-Type", "application/json")
.setHttpMethod(HttpMethod.PUT);
}
/**
* Get a satellite data ingestion job.
*
* <p><strong>Response Body Schema</strong>
*
* <pre>{@code
* {
* farmerId: String
* boundaryId: String
* startDateTime: OffsetDateTime
* endDateTime: OffsetDateTime
* provider: String(Microsoft)
* source: String(Sentinel_2_L2A)
* data: {
* imageNames: [
* String
* ]
* imageFormats: [
* String
* ]
* imageResolutions: [
* double
* ]
* }
* id: String
* status: String
* durationInSeconds: Double
* message: String
* createdDateTime: OffsetDateTime
* lastActionDateTime: OffsetDateTime
* startTime: OffsetDateTime
* endTime: OffsetDateTime
* name: String
* description: String
* properties: {
* String: Object
* }
* }
* }</pre>
*
* @param jobId ID of the job.
* @return a DynamicRequest where customizations can be made before sent to the service.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public DynamicRequest getSatelliteDataIngestionJobDetails(String jobId) {
return new DynamicRequest(serializer, httpPipeline)
.setUrl("{Endpoint}/scenes/satellite/ingest-data/{jobId}")
.setPathParam("Endpoint", endpoint)
.setPathParam("jobId", jobId)
.addQueryParam("api-version", apiVersion)
.addHeader("Accept", "application/json")
.addHeader("Content-Type", "application/json")
.setHttpMethod(HttpMethod.GET);
}
/**
* Downloads and returns file stream as response for the given input filePath.
*
* @param filePath cloud storage path of scene file.
* @return a DynamicRequest where customizations can be made before sent to the service.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public DynamicRequest download(String filePath) {
return new DynamicRequest(serializer, httpPipeline)
.setUrl("{Endpoint}/scenes/downloadFiles")
.setPathParam("Endpoint", endpoint)
.addQueryParam("filePath", filePath)
.addQueryParam("api-version", apiVersion)
.addHeader("Accept", "application/octet-stream, application/json")
.addHeader("Content-Type", "application/json")
.setHttpMethod(HttpMethod.GET);
}
/**
* Get the next page of items.
*
* <p><strong>Response Body Schema</strong>
*
* <pre>{@code
* {
* value: [
* {
* sceneDateTime: OffsetDateTime
* provider: String
* source: String
* imageFiles: [
* {
* fileLink: String
* name: String
* imageFormat: String(TIF)
* resolution: Double
* }
* ]
* imageFormat: String(TIF)
* cloudCoverPercentage: Double
* darkPixelPercentage: Double
* ndviMedianValue: Double
* boundaryId: String
* farmerId: String
* id: String
* eTag: String
* }
* ]
* skipToken: String
* nextLink: String
* }
* }</pre>
*
* @param nextLink The nextLink parameter.
* @return a DynamicRequest where customizations can be made before sent to the service.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public DynamicRequest listNext(String nextLink) {
return new DynamicRequest(serializer, httpPipeline)
.setUrl("{Endpoint}/{nextLink}")
.setPathParam("Endpoint", endpoint)
.setPathParam("nextLink", nextLink)
.addHeader("Accept", "application/json")
.addHeader("Content-Type", "application/json")
.setHttpMethod(HttpMethod.GET);
}
/**
* Create an empty DynamicRequest with the serializer and pipeline initialized for this client.
*
* @return a DynamicRequest where customizations can be made before sent to the service.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public DynamicRequest invoke() {
return new DynamicRequest(serializer, httpPipeline);
}
}
| 5,405 |
627 | /* Copyright 2019 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
* Fake BATTERY module.
*/
#include "battery.h"
#include "common.h"
int battery_design_voltage(int *voltage)
{
*voltage = 0;
return 0;
}
enum battery_present battery_is_present(void)
{
return BP_NO;
}
int battery_design_capacity(int *capacity)
{
*capacity = 0;
return 0;
}
int battery_full_charge_capacity(int *capacity)
{
*capacity = 0;
return 0;
}
int battery_remaining_capacity(int *capacity)
{
*capacity = 0;
return 0;
}
int battery_status(int *status)
{
return EC_ERROR_UNIMPLEMENTED;
}
| 246 |
897 | /*order augnostic Binary searches the element the array that is sorted in Asc or Desc order.
ALGORITHM:
1. Declare an array i.e sorted in asc or desc order and a target element to search
2. Make a function call to orderAgnostic()
3. Inside orderAgnostic(),check if array is in asc or desc order
4. If target element is equal to the mid element, return mid
5. If array is in asc order and target < element at mid then, make high=mid-1
6. If array is in desc order and target < element at mid then, make low=mid+1
7. Repeat this process till low<=high
8. else, return -1 i.e element is not found in array
*/
#include<iostream>
using namespace std;
int orderAgnostic(int lst[],int target);
int main(){
int item;
int arr[]={22 ,34 ,51 ,63,71};
cout<<"Element to search:";
cin>>item;
//call order agnostic binary search
int result=orderAgnostic(arr,item);
//return the index of item
if(result!=-1){
cout<<"Element found at index : "<<result;
}
else{
cout<<"Element not found!!!";
}
return 0;
return 0;
}
int orderAgnostic(int lst[],int target){
int low=0;
int high=(sizeof(lst)-sizeof(lst[0]))-1;
bool isAsc=lst[low]<lst[high];
while(low<=high){
int mid=low+(high-low)/2; //might be (low+high) exceeds the int range
if(target==lst[mid]){
return mid;
}
if(isAsc){
if(target<lst[mid]){
high=mid-1;
}
else{
low=mid+1;
}
}
else{
if(target<lst[mid]){
low=mid+1;
}
else{
high=mid-1;
}
}
}
return -1;
}
/*
Input:{22,34,55,71,66,90},target=66
Output:4
Time complexity:O(logn)
Space complexity:O(1);
*/ | 851 |
517 | <reponame>mkoivi-ms/unet-pytorch-azureml
dependencies = ["torch"]
import torch
from unet import UNet
def unet(pretrained=False, **kwargs):
"""
U-Net segmentation model with batch normalization for biomedical image segmentation
pretrained (bool): load pretrained weights into the model
in_channels (int): number of input channels
out_channels (int): number of output channels
init_features (int): number of feature-maps in the first encoder layer
"""
model = UNet(**kwargs)
if pretrained:
checkpoint = "https://github.com/mateuszbuda/brain-segmentation-pytorch/releases/download/v1.0/unet-e012d006.pt"
state_dict = torch.hub.load_state_dict_from_url(checkpoint, progress=False, map_location='cpu')
model.load_state_dict(state_dict)
return model
| 292 |
2,151 | <gh_stars>1000+
/*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package android.databinding.testapp;
import android.databinding.testapp.databinding.CastTestBinding;
import android.support.v4.util.ArrayMap;
import android.test.UiThreadTest;
import java.util.ArrayList;
public class CastTest extends BaseDataBinderTest<CastTestBinding> {
ArrayList<String> mValues = new ArrayList<>();
ArrayMap<String, String> mMap = new ArrayMap<>();
public CastTest() {
super(CastTestBinding.class);
}
@UiThreadTest
public void testCast() throws Throwable {
initBinder();
mValues.clear();
mValues.add("hello");
mValues.add("world");
mValues.add("not seen");
mMap.clear();
mMap.put("hello", "world");
mMap.put("world", "hello");
mBinder.setList(mValues);
mBinder.setMap(mMap);
mBinder.executePendingBindings();
assertEquals("hello", mBinder.textView0.getText().toString());
assertEquals("world", mBinder.textView1.getText().toString());
}
}
| 582 |
1,091 | <gh_stars>1000+
/*
* Copyright 2016-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.onosproject.store.primitives;
import java.util.Set;
import org.onosproject.cluster.NodeId;
import org.onosproject.cluster.PartitionId;
import org.onosproject.event.ListenerService;
/**
* Service used for accessing information about storage partitions.
*/
public interface PartitionService extends ListenerService<PartitionEvent, PartitionEventListener> {
/**
* Returns the total number of partitions.
*
* @return number of partitions
*/
int getNumberOfPartitions();
/**
* Returns the set of controller nodes configured to be members of a partition.
*
* @param partitionId partition identifier
* @return set of node identifiers
*/
Set<NodeId> getConfiguredMembers(PartitionId partitionId);
/**
* Returns the identifiers of all partitions.
*
* @return set of partition identifiers
*/
Set<PartitionId> getAllPartitionIds();
}
| 460 |
852 | <reponame>ckamtsikis/cmssw<filename>CaloOnlineTools/HcalOnlineDb/interface/HcalQIEManager.h
//
// <NAME> (Brown), Feb. 22, 2008
//
//
#ifndef HcalQIEManager_h
#define HcalQIEManager_h
#include <iostream>
#include <cstring>
#include "CaloOnlineTools/HcalOnlineDb/interface/HCALConfigDB.h"
/**
\class HcalQIEManager
\brief Various manipulations with QIE and QIE ADC
\author <NAME>
*/
class HcalChannelId {
public:
HcalChannelId(){};
~HcalChannelId(){};
int eta, phi, depth;
std::string subdetector;
bool operator<(const HcalChannelId& other) const;
};
class HcalQIECaps {
public:
HcalQIECaps(){};
~HcalQIECaps(){};
// cap0 offset x 4, cap1 offset x 4...
// cap0 slope x 4, cap1 slope x 4...
double caps[32];
};
class HcalQIEManager {
public:
HcalQIEManager();
~HcalQIEManager();
std::map<HcalChannelId, HcalQIECaps>& getQIETableFromFile(std::string _filename);
void getTableFromDb(std::string query_file, std::string output_file);
int generateQieTable(std::string db_file, std::string old_file, std::string output_file);
int getHfQieTable(std::string input_file, std::string output_file);
static std::vector<std::string> splitString(const std::string& fLine);
protected:
};
#endif
| 480 |
918 | /*
* Copyright (c) 2014 - 2018 <NAME>
*
* Distributed under the MIT License. See LICENSE.md at
* https://github.com/LiquidPlayer/LiquidCore for terms and conditions.
*/
package org.liquidplayer.jstest;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.junit.Test;
import org.liquidplayer.javascript.JSArray;
import org.liquidplayer.javascript.JSContext;
import org.liquidplayer.javascript.JSObject;
import org.liquidplayer.javascript.JSValue;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import static org.junit.Assert.*;
import static org.hamcrest.Matchers.*;
public class JSValueTest {
@org.junit.Test
public void testJSValueConstructors() {
JSContext context = new JSContext();
testJSValueConstructors(context);
}
public void testJSValueConstructors(JSContext context) {
/*
* new JSValue(context)
*/
JSValue undefined = new JSValue(context);
assertTrue(undefined.isUndefined());
/*
* new JSValue(context,null)
*/
JSValue NULL = new JSValue(context,null);
assertTrue(NULL.isNull());
/*
* new JSValue(context,boolean)
*/
JSValue bool = new JSValue(context,false);
assertTrue(bool.isBoolean());
/*
* new JSValue(context,number)
*/
JSValue integer = new JSValue(context,50);
JSValue doub = new JSValue(context,50.0);
JSValue lng = new JSValue(context,50L);
JSValue flt = new JSValue(context,50.f);
assertTrue(integer.isNumber());
assertTrue(doub.isNumber());
assertTrue(lng.isNumber());
assertTrue(flt.isNumber());
/*
* new JSValue(context,string)
*/
JSValue str1 = new JSValue(context,"This is a string");
assertTrue(str1.isString());
/*
* new JSValue(context,Object)
*/
JSValue alsoUndefined = new JSValue(context,new Object());
assertTrue(alsoUndefined.isUndefined());
/*
* new JSValue(context,Map)
*/
Map<String,Integer> map = new HashMap<>();
map.put("one",1);
map.put("two",2);
JSValue mapValue = new JSValue(context,map);
assertTrue(mapValue.isObject());
assertEquals(mapValue.toObject().property("two").toNumber().intValue(),2);
/*
* new JSValue(context,List)
*/
List<String> list = new ArrayList<>();
list.add("first");
list.add("second");
JSValue listValue = new JSValue(context,list);
assertTrue(listValue.isArray());
assertEquals(listValue.toJSArray().get(1),"second");
/*
* new JSValue(context,Array)
*/
String [] array = new String[] {"first", "second", "third"};
JSValue arrayValue = new JSValue(context,array);
assertTrue(arrayValue.isArray());
assertEquals(arrayValue.toJSArray().get(2),"third");
}
@org.junit.Test
public void testJSValueTesters() {
JSContext context = new JSContext();
testJSValueTesters(context);
}
public void testJSValueTesters(JSContext context) {
final String script =
"var undefined; \n" +
"var NULL = null; \n" +
"var bool = true; \n" +
"var number = 15.6; \n" +
"var string = 'string'; \n" +
"var object = {}; \n" +
"var array = []; \n" +
"var date = new Date(); \n" +
"";
context.evaluateScript(script);
assertFalse(context.property("undefined").isNull());
assertFalse(context.property("undefined").isBoolean());
assertFalse(context.property("undefined").isNumber());
assertFalse(context.property("undefined").isString());
assertFalse(context.property("undefined").isArray());
assertFalse(context.property("undefined").isDate());
assertFalse(context.property("undefined").isObject());
assertTrue(context.property("undefined").isUndefined());
assertFalse(context.property("NULL").isUndefined());
assertFalse(context.property("NULL").isBoolean());
assertFalse(context.property("NULL").isNumber());
assertFalse(context.property("NULL").isString());
assertFalse(context.property("NULL").isArray());
assertFalse(context.property("NULL").isDate());
assertFalse(context.property("NULL").isObject());
assertTrue(context.property("NULL").isNull());
assertFalse(context.property("bool").isUndefined());
assertFalse(context.property("bool").isNumber());
assertFalse(context.property("bool").isString());
assertFalse(context.property("bool").isArray());
assertFalse(context.property("bool").isDate());
assertFalse(context.property("bool").isObject());
assertFalse(context.property("bool").isNull());
assertTrue(context.property("bool").isBoolean());
assertFalse(context.property("number").isUndefined());
assertFalse(context.property("number").isString());
assertFalse(context.property("number").isArray());
assertFalse(context.property("number").isDate());
assertFalse(context.property("number").isObject());
assertFalse(context.property("number").isNull());
assertFalse(context.property("number").isBoolean());
assertTrue(context.property("number").isNumber());
assertFalse(context.property("string").isUndefined());
assertFalse(context.property("string").isArray());
assertFalse(context.property("string").isDate());
assertFalse(context.property("string").isObject());
assertFalse(context.property("string").isNull());
assertFalse(context.property("string").isBoolean());
assertFalse(context.property("string").isNumber());
assertTrue(context.property("string").isString());
assertFalse(context.property("object").isUndefined());
assertFalse(context.property("object").isArray());
assertFalse(context.property("object").isDate());
assertFalse(context.property("object").isNull());
assertFalse(context.property("object").isBoolean());
assertFalse(context.property("object").isNumber());
assertFalse(context.property("object").isString());
assertTrue(context.property("object").isObject());
assertFalse(context.property("array").isUndefined());
assertFalse(context.property("array").isDate());
assertFalse(context.property("array").isNull());
assertFalse(context.property("array").isBoolean());
assertFalse(context.property("array").isNumber());
assertFalse(context.property("array").isString());
assertTrue(context.property("array").isObject());
assertTrue(context.property("array").isArray());
assertFalse(context.property("date").isUndefined());
assertFalse(context.property("date").isNull());
assertFalse(context.property("date").isBoolean());
assertFalse(context.property("date").isNumber());
assertFalse(context.property("date").isString());
assertFalse(context.property("date").isArray());
assertTrue(context.property("date").isObject());
assertTrue(context.property("date").isDate());
final String script2 =
"var foo = function() {}; var bar = new foo();";
context.evaluateScript(script2);
assertTrue(context.property("bar").isInstanceOfConstructor(context.property("foo").toObject()));
assertFalse(context.property("foo").isInstanceOfConstructor(context.property("bar").toObject()));
}
@org.junit.Test
public void testJSValueComparators() {
JSContext context = new JSContext();
testJSValueComparators(context);
}
public void testJSValueComparators(JSContext context) {
context.property("number",42f);
assertEquals(context.property("number").toNumber().longValue(),42L);
assertNotEquals(context.property("number").toNumber().intValue(),43);
context.evaluateScript("string = 'string12345';");
assertEquals(context.property("string").toString(),"string12345");
assertNotEquals(context.property("string"),context.property("number"));
context.evaluateScript("var another_number = 42");
assertEquals(context.property("number"),context.property("another_number"));
assertFalse(new JSValue(context,0).toBoolean());
assertFalse(new JSValue(context,0).isStrictEqual(false));
assertEquals(new JSValue(context,1).toString(),"1");
assertFalse(new JSValue(context,1).isStrictEqual("1"));
assertEquals(new JSValue(context,1),new JSValue(context,1.0));
assertTrue(new JSValue(context,1).isStrictEqual(1.0));
assertFalse(context.evaluateScript("(function () { var foo; return foo === null; })()").toBoolean());
assertEquals(new JSValue(context),new JSValue(context,null));
assertFalse(new JSValue(context).isStrictEqual(null));
assertEquals(new JSValue(context,null),(new JSValue(context)));
assertFalse(new JSValue(context,null).isStrictEqual(new JSValue(context)));
}
@org.junit.Test
public void testJSValueGetters() {
JSContext context = new JSContext();
testJSValueGetters(context);
}
public void testJSValueGetters(JSContext context) {
final String script =
"var undefined; \n" +
"var NULL = null; \n" +
"var bool = true; \n" +
"var number = 15.6; \n" +
"var string = 'string'; \n" +
"var object = {}; \n" +
"var array = []; \n" +
"var date = new Date(1970,10,30); \n" +
"var func = function(x) {return x+1;};" +
"";
context.evaluateScript(script);
JSValue undefined = context.property("undefined");
JSValue NULL = context.property("NULL");
JSValue bool = context.property("bool");
JSValue number = context.property("number");
JSValue string = context.property("string");
JSValue object = context.property("object");
JSValue array = context.property("array");
JSValue date = context.property("date");
JSValue func = context.property("func");
assertFalse(undefined.toBoolean());
assertFalse(NULL.toBoolean());
assertTrue(bool.toBoolean());
assertTrue(number.toBoolean());
assertTrue(string.toBoolean());
assertTrue(object.toBoolean());
assertTrue(array.toBoolean());
assertTrue(date.toBoolean());
assertTrue(func.toBoolean());
assertEquals(NULL.toNumber().intValue(),0);
assertEquals(bool.toNumber().intValue(),1);
assertEquals(Double.valueOf(15.6), number.toNumber());
assertEquals(Double.valueOf(11.5), context.evaluateScript("'11.5'").toNumber());
assertTrue(undefined.toNumber().isNaN());
assertTrue(string.toNumber().isNaN());
assertTrue(object.toNumber().isNaN());
assertTrue(func.toNumber().isNaN());
assertEquals(Double.valueOf(0), array.toNumber());
assertTrue(context.evaluateScript("[1,2,3]").toNumber().isNaN());
assertEquals(date.toNumber(),context.evaluateScript("date.getTime()").toNumber());
assertEquals(undefined.toString(),"undefined");
assertEquals(NULL.toString(),"null");
assertEquals(bool.toString(),"true");
assertEquals(context.evaluateScript("false").toString(),"false");
assertEquals(number.toString(),"15.6");
assertEquals(string.toString(),"string");
assertEquals(object.toString(),"[object Object]");
assertEquals("function(x) {return x+1;}", func.toString());
assertEquals(array.toString(),"");
assertEquals(context.evaluateScript("[1,2,3]").toString(),"1,2,3");
assertTrue(date.toString().startsWith("Mon Nov 30 1970"));
final String script2 =
"var jsUndefined = JSON.stringify(undefined); \n" +
"var jsNULL = JSON.stringify(NULL); \n" +
"var jsBool = JSON.stringify(bool); \n" +
"var jsNumber = JSON.stringify(number); \n" +
"var jsString = JSON.stringify(string); \n" +
"var jsObject = JSON.stringify(object); \n" +
"var jsArray = JSON.stringify(array); \n" +
"var jsDate = JSON.stringify(date); \n" +
"var jsFunc = JSON.stringify(func); \n" +
"";
context.evaluateScript(script2);
assertEquals(bool.toJSON(),context.property("jsBool").toString());
assertEquals(number.toJSON(),context.property("jsNumber").toString());
assertEquals(string.toJSON(),context.property("jsString").toString());
assertEquals(object.toJSON(),context.property("jsObject").toString());
assertNull(func.toJSON());
assertEquals(array.toJSON(),context.property("jsArray").toString());
assertEquals(date.toJSON(),context.property("jsDate").toString());
assertNull(undefined.toJSON());
assertEquals(NULL.toJSON(),context.property("jsNULL").toString());
/*
* toObject()
*/
assertNotEquals(object.toObject(),null);
assertNotEquals(func.toObject(),null);
assertNotEquals(array.toObject(),null);
assertNotEquals(date.toObject(),null);
/*
* toFunction()
*/
assertNotEquals(func.toFunction(),null);
assertEquals(func.toFunction().call(null,5).toNumber().intValue(),6);
/*
* toJSArray()
*/
assertNotEquals(array.toJSArray(),null);
assertThat(array.toJSArray().size(),is(0));
}
@Test
public void testJSONObject() throws JSONException {
testJSONObject(new JSContext());
}
public void testJSONObject(JSContext context) throws JSONException {
final String jsonObject = "{\"one\":1,\"two\":\"TWO\",\"three\":{\"a\":\"b\"},\"four\":[1,2,3,4]}";
JSONObject object = new JSONObject(jsonObject);
JSValue jsValue = new JSValue(context, object);
assertTrue(jsValue.isObject());
JSObject jsObject = jsValue.toObject();
assertEquals(1, jsObject.property("one").toNumber().intValue());
assertEquals("TWO", jsObject.property("two").toString());
assertTrue(jsObject.property("three").isObject());
assertEquals("b", jsObject.property("three").toObject().property("a").toString());
assertTrue(jsObject.property("four").isArray());
assertEquals(4, jsObject.property("four").toJSArray().size());
assertEquals(new JSValue(context, 3), jsObject.property("four").toJSArray().get(2));
JSArray<JSONObject> array = new JSArray<>(context, new JSValue[] { jsValue }, JSONObject.class);
JSONObject back = array.get(0);
assertNotNull(back);
assertEquals(jsonObject, back.toString());
}
@Test
public void testJSONArray() throws JSONException {
testJSONArray(new JSContext());
}
public void testJSONArray(JSContext context) throws JSONException {
final String jsonArray = "[1,\"two\",{\"a\":\"b\"},[1,2,3,4]]";
JSONArray array = new JSONArray(jsonArray);
JSValue jsValue = new JSValue(context, array);
assertTrue(jsValue.isArray());
@SuppressWarnings("unchecked")
JSArray<JSValue> jsArray = (JSArray<JSValue>)jsValue.toJSArray();
assertEquals(1, jsArray.get(0).toNumber().intValue());
assertEquals("two", jsArray.get(1).toString());
assertTrue(jsArray.get(2).isObject());
assertEquals("b", jsArray.get(2).toObject().property("a").toString());
assertTrue(jsArray.get(3).isArray());
assertEquals(4, jsArray.get(3).toJSArray().size());
assertEquals(new JSValue(context, 3), jsArray.get(3).toJSArray().get(2));
JSArray<JSONArray> array2 = new JSArray<>(context, new JSValue[] { jsValue }, JSONArray.class);
JSONArray back = array2.get(0);
assertNotNull(back);
assertEquals(jsonArray, back.toString());
}
@org.junit.After
public void shutDown() {
/*
Runtime.getRuntime().gc();
try {
Thread.sleep(5000);
} catch (InterruptedException e) {
Thread.interrupted();
}
*/
}
} | 6,980 |
614 | <filename>sample/src/main/java/com/androidwind/androidquick/demo/features/function/ui/tab/TabSTLFragment.java
package com.androidwind.androidquick.demo.features.function.ui.tab;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.androidwind.androidquick.demo.MyApplication;
import com.androidwind.androidquick.demo.R;
import com.androidwind.androidquick.demo.base.BaseFragment;
import com.androidwind.androidquick.demo.features.module.network.retrofit.network1.Network1Fragment;
import com.androidwind.androidquick.demo.features.module.network.retrofit.network2.Network2Fragment;
import com.androidwind.annotation.annotation.BindTag;
import com.androidwind.annotation.annotation.TagInfo;
import com.ogaclejapan.smarttablayout.SmartTabLayout;
import java.util.Arrays;
import java.util.List;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentPagerAdapter;
import androidx.viewpager.widget.PagerAdapter;
import androidx.viewpager.widget.ViewPager;
import butterknife.BindView;
/**
* @author ddnosh
* @website http://blog.csdn.net/ddnosh
*/
@BindTag(type = TagInfo.Type.FRAGMENT, tags = {"tab"}, description = "SmartTabLayout实例")
public class TabSTLFragment extends BaseFragment {
@BindView(R.id.vp_tab)
ViewPager mViewPager;
@BindView(R.id.stl_main_tab)
SmartTabLayout mSmartTabLayout;
@Override
protected int getContentViewLayoutID() {
return R.layout.fragment_tab_stl;
}
@Override
protected void initViewsAndEvents(Bundle savedInstanceState) {
final List<String> tabs = Arrays.asList(MyApplication.getInstance().getResources()
.getStringArray(R.array.tabs));
mViewPager.setOffscreenPageLimit(tabs.size());
final PagerAdapter pagerAdapter = new FragmentPagerAdapter(getSupportFragmentManager()) {
@Override
public int getCount() {
return null != tabs ? tabs.size() : 0;
}
@Override
public Fragment getItem(int position) {
Fragment fragment = null;
switch (position) {
case 0:
fragment = new Network1Fragment();
break;
case 1:
fragment = new Network2Fragment();
break;
case 2:
fragment = new Tab3Fragment();
break;
default:
break;
}
return fragment;
}
@Override
public CharSequence getPageTitle(int position) {
return null != tabs ? tabs.get(position) : null;
}
};
mViewPager.setAdapter(pagerAdapter);
final LayoutInflater inflater = LayoutInflater.from(mSmartTabLayout.getContext());
//自定义SmartTabLayout的tab布局
mSmartTabLayout.setCustomTabView(new SmartTabLayout.TabProvider() {
@Override
public View createTabView(ViewGroup container, int position, PagerAdapter adapter) {
LinearLayout layoutContainer = (LinearLayout) inflater.inflate(R.layout.layout_tab_customized, container, false);
ImageView icon = (ImageView) layoutContainer.findViewById(R.id.ic_tab);
TextView tvTabName = (TextView) layoutContainer.findViewById(R.id.tv_tab_name);
tvTabName.setText(pagerAdapter.getPageTitle(position));
if (0 == position) {
icon.setImageResource(R.mipmap.ic_launcher);
} else if (1 == position) {
icon.setImageResource(R.mipmap.ic_launcher);
} else {
icon.setImageResource(R.mipmap.ic_launcher);
}
return layoutContainer;
}
});
//一定要在setCustomTabView之后设置
mSmartTabLayout.setViewPager(mViewPager);
mSmartTabLayout.setOnPageChangeListener(new ViewPager.OnPageChangeListener() {
@Override
public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
}
@Override
public void onPageSelected(int position) {
}
@Override
public void onPageScrollStateChanged(int state) {
}
});
}
}
| 2,082 |
937 | <reponame>shisheng-1/cyclops<gh_stars>100-1000
package cyclops.control.future.futureOverwriteIssue;
import cyclops.control.Either;
import cyclops.control.LazyEither;
import cyclops.control.LazyEither3;
import cyclops.control.LazyEither4;
import cyclops.control.LazyEither5;
import cyclops.control.Maybe;
import cyclops.control.Option;
import cyclops.data.NonEmptyList;
import cyclops.data.Seq;
import cyclops.data.Vector;
import cyclops.reactive.ReactiveSeq;
import org.junit.Test;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicLong;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.*;
public class Processor {
public static enum Error {
NO_PERMISSIONS,LOADING_FAILED
}
private final AuthorizationService3 authService = new AuthorizationService3();
private static final Executor exec = Executors.newFixedThreadPool(10);
User user = new User(Seq.empty());
@Test
public void testFailure() throws MalformedURLException {
for(int i=0;i<100;i++) {
System.out.println("*********** " + i);
URLDataFileMetadata failingURL = new URLDataFileMetadata(10l, "url", new URL("http://oath23232.com"));
Processor proc = new Processor();
Either<Error, Vector<String>> x = proc.processUsersFiles(user, NonEmptyList.of(failingURL));
System.out.println(x);
assertThat(x, equalTo(Either.left(Error.LOADING_FAILED)));
}
}
@Test
public void testSuccess() throws MalformedURLException {
Processor proc = new Processor();
SuccessURLDataFileMetadata url = new SuccessURLDataFileMetadata(10l, "url", new URL("https://www.rte.ie/"));
Either<Error, Vector<String>> x = proc.processUsersFiles(user, NonEmptyList.of(url));
System.out.println(x);
assertThat(x,equalTo(Either.right(Vector.of("contents here"))));
}
@Test
public void testSleeping() throws MalformedURLException {
Processor proc = new Processor();
SleepingURLDataFileMetadata slowUrl = new SleepingURLDataFileMetadata(10l, "url", new URL("https://www.rte.ie/"));
long start = System.currentTimeMillis();
Either<Error, Vector<String>> x = proc.processUsersFiles(user, NonEmptyList.of(slowUrl));
System.out.println(System.currentTimeMillis() + " Blocked? ");
System.out.println(System.currentTimeMillis() + " No... ");
long blocked = System.currentTimeMillis();
System.out.println(x + "Completed at " + System.currentTimeMillis());
long completed = System.currentTimeMillis();
assertThat(blocked-start,lessThan(500l));
assertThat(completed-start,greaterThan(500l));
assertThat(x,equalTo(Either.right(Vector.of("success"))));
}
@Test
public void testSleepingFilterSwap() throws MalformedURLException {
Processor proc = new Processor();
SleepingURLDataFileMetadata slowUrl = new SleepingURLDataFileMetadata(10l, "url", new URL("https://www.rte.ie/"));
long start = System.currentTimeMillis();
Option<Error> x = proc.processUsersFiles(user, NonEmptyList.of(slowUrl))
.swap().filter(i -> true);
System.out.println(System.currentTimeMillis() + " Blocked? ");
System.out.println(System.currentTimeMillis() + " No... ");
long blocked = System.currentTimeMillis();
System.out.println(x + "Completed at " + System.currentTimeMillis());
long completed = System.currentTimeMillis();
assertThat(blocked-start,lessThan(500l));
assertThat(completed-start,greaterThan(500l));
assertThat(x,equalTo(Option.none()));
}
@Test
public void testSleepingFilterSwap3() throws MalformedURLException {
Processor proc = new Processor();
SleepingURLDataFileMetadata slowUrl = new SleepingURLDataFileMetadata(10l, "url", new URL("https://www.rte.ie/"));
long start = System.currentTimeMillis();
Maybe<Throwable> x = LazyEither3.fromPublisher(proc.processUsersFiles(user, NonEmptyList.of(slowUrl)))
.swap1().filter(i -> true);
System.out.println(System.currentTimeMillis() + " Blocked? ");
System.out.println(System.currentTimeMillis() + " No... ");
long blocked = System.currentTimeMillis();
System.out.println(x + "Completed at " + System.currentTimeMillis());
long completed = System.currentTimeMillis();
assertThat(blocked-start,lessThan(500l));
assertThat(completed-start,greaterThan(500l));
assertThat(x,equalTo(Option.none()));
}
@Test
public void testSleepingFilterSwap4() throws MalformedURLException {
Processor proc = new Processor();
SleepingURLDataFileMetadata slowUrl = new SleepingURLDataFileMetadata(10l, "url", new URL("https://www.rte.ie/"));
long start = System.currentTimeMillis();
Maybe<Throwable> x = LazyEither4.fromPublisher(proc.processUsersFiles(user, NonEmptyList.of(slowUrl)))
.swap1().filter(i -> true);
System.out.println(System.currentTimeMillis() + " Blocked? ");
System.out.println(System.currentTimeMillis() + " No... ");
long blocked = System.currentTimeMillis();
System.out.println(x + "Completed at " + System.currentTimeMillis());
long completed = System.currentTimeMillis();
assertThat(blocked-start,lessThan(500l));
assertThat(completed-start,greaterThan(500l));
assertThat(x,equalTo(Option.none()));
}
@Test
public void testSleepingFilterSwap5() throws MalformedURLException {
Processor proc = new Processor();
SleepingURLDataFileMetadata slowUrl = new SleepingURLDataFileMetadata(10l, "url", new URL("https://www.rte.ie/"));
long start = System.currentTimeMillis();
Maybe<Throwable> x = LazyEither5.fromPublisher(proc.processUsersFiles(user, NonEmptyList.of(slowUrl)))
.swap1().filter(i -> true);
System.out.println(System.currentTimeMillis() + " Blocked? ");
System.out.println(System.currentTimeMillis() + " No... ");
long blocked = System.currentTimeMillis();
System.out.println(x + "Completed at " + System.currentTimeMillis());
long completed = System.currentTimeMillis();
assertThat(blocked-start,lessThan(500l));
assertThat(completed-start,greaterThan(500l));
assertThat(x,equalTo(Option.none()));
}
@Test
public void testSleepingStream() throws MalformedURLException {
Processor proc = new Processor();
SleepingURLDataFileMetadata slowUrl = new SleepingURLDataFileMetadata(10l, "url", new URL("https://www.rte.ie/"));
AtomicLong completed = new AtomicLong();
AtomicBoolean done = new AtomicBoolean(false);
long start = System.currentTimeMillis();
System.out.println("Started " + start);
ReactiveSeq<Vector<String>> x = proc.processUsersFiles(user, NonEmptyList.of(slowUrl))
.stream();
x.forEach(System.out::println,System.out::println,()->{
completed.set(System.currentTimeMillis());
done.set(true);
});
System.out.println(System.currentTimeMillis() + " Blocked? ");
System.out.println(System.currentTimeMillis() + " No... ");
long blocked = System.currentTimeMillis();
while(!done.get()){
}
System.out.println(x + "Completed at " + completed.get());
// long completed = System.currentTimeMillis();
assertThat(blocked-start,lessThan(500l));
assertThat(completed.get()-start,greaterThan(500l));
}
public Either<Error,Vector<String>> processUsersFiles(User user, NonEmptyList<DataFileMetadata> files){
return authService.isAuthorized(user, files)
.flatMap(this::loadContents);
}
public LazyEither<IOException,String> asyncWithRetry(int retries, DataFileMetadata file, Executor e){
return file.loadAsync(e)
.flatMapLeft(error -> retries > 0 ? asyncWithRetry(retries - 1, file, r -> r.run()) : Either.left(error));
}
private Either<Error,Vector<String>> loadContents(Vector<DataFileMetadata> files){
/**
return Spouts.from(Flux.from(files.stream())
.flatMap(file->asyncWithRetry(1,file,exec),10))
.reduceAll(Vector.<String>empty(), Vector::appendAll)
.findFirstOrError()
.mapLeft(t-> Error.LOADING_FAILED);
**/
return files.stream()
.mergeMap(10,file->asyncWithRetry(1,file,exec))
.reduceAll(Vector.<String>empty(), Vector::appendAll)
.findFirstOrError()
.mapLeft(t-> Error.LOADING_FAILED);
}
}
| 3,700 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"Mirandol-Bourgnounac","circ":"2ème circonscription","dpt":"Tarn","inscrits":925,"abs":439,"votants":486,"blancs":48,"nuls":34,"exp":404,"res":[{"nuance":"REM","nom":"<NAME>","voix":281},{"nuance":"FN","nom":"Mme <NAME>","voix":123}]} | 115 |
43,320 | <reponame>ardyno/nuxt.js
{
"nuxt": {
"attributes": [
"nuxtChildKey"
],
"description": "Component to render the current nuxt page."
},
"n-child": {
"description": "Component for displaying the children components in a nested route."
},
"nuxt-child": {
"description": "Component for displaying the children components in a nested route."
},
"n-link": {
"attributes": [
"to",
"replace",
"append",
"tag",
"active-class",
"exact",
"event",
"exact-active-class",
"prefetch",
"no-prefetch"
],
"description": "Component for navigating between Nuxt pages."
},
"nuxt-link": {
"attributes": [
"to",
"replace",
"append",
"tag",
"active-class",
"exact",
"event",
"exact-active-class",
"prefetch",
"no-prefetch"
],
"description": "Component for navigating between Nuxt pages."
},
"no-ssr": {
"description": "Component for excluding a part of your app from server-side rendering."
}
}
| 457 |
2,151 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_H_
#define IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_H_
#include <stdint.h>
#include <memory>
#include <string>
#include "base/observer_list.h"
#include "base/strings/string16.h"
#import "ios/web/public/navigation_manager.h"
#include "ios/web/public/web_state/url_verification_constants.h"
#import "ios/web/public/web_state/web_state.h"
#include "ios/web/public/web_state/web_state_observer.h"
#include "url/gurl.h"
@class NSURLRequest;
@class NSURLResponse;
namespace web {
// Minimal implementation of WebState, to be used in tests.
class TestWebState : public WebState {
public:
TestWebState();
~TestWebState() override;
// WebState implementation.
WebStateDelegate* GetDelegate() override;
void SetDelegate(WebStateDelegate* delegate) override;
bool IsWebUsageEnabled() const override;
void SetWebUsageEnabled(bool enabled) override;
bool ShouldSuppressDialogs() const override;
void SetShouldSuppressDialogs(bool should_suppress) override;
UIView* GetView() override;
void WasShown() override;
void WasHidden() override;
BrowserState* GetBrowserState() const override;
void OpenURL(const OpenURLParams& params) override {}
void Stop() override {}
const NavigationManager* GetNavigationManager() const override;
NavigationManager* GetNavigationManager() override;
const SessionCertificatePolicyCache* GetSessionCertificatePolicyCache()
const override;
SessionCertificatePolicyCache* GetSessionCertificatePolicyCache() override;
CRWSessionStorage* BuildSessionStorage() override;
CRWJSInjectionReceiver* GetJSInjectionReceiver() const override;
void ExecuteJavaScript(const base::string16& javascript) override;
void ExecuteJavaScript(const base::string16& javascript,
JavaScriptResultCallback callback) override;
void ExecuteUserJavaScript(NSString* javaScript) override;
const std::string& GetContentsMimeType() const override;
bool ContentIsHTML() const override;
const base::string16& GetTitle() const override;
bool IsLoading() const override;
double GetLoadingProgress() const override;
bool IsVisible() const override;
bool IsCrashed() const override;
bool IsEvicted() const override;
bool IsBeingDestroyed() const override;
const GURL& GetVisibleURL() const override;
const GURL& GetLastCommittedURL() const override;
GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override;
void ShowTransientContentView(CRWContentView* content_view) override;
void ClearTransientContentView();
void AddScriptCommandCallback(const ScriptCommandCallback& callback,
const std::string& command_prefix) override {}
void RemoveScriptCommandCallback(const std::string& command_prefix) override {
}
CRWWebViewProxyType GetWebViewProxy() const override;
bool IsShowingWebInterstitial() const override;
WebInterstitial* GetWebInterstitial() const override;
void AddObserver(WebStateObserver* observer) override;
void RemoveObserver(WebStateObserver* observer) override;
void AddPolicyDecider(WebStatePolicyDecider* decider) override;
void RemovePolicyDecider(WebStatePolicyDecider* decider) override;
WebStateInterfaceProvider* GetWebStateInterfaceProvider() override;
void DidChangeVisibleSecurityState() override {}
bool HasOpener() const override;
void SetHasOpener(bool has_opener) override;
void TakeSnapshot(const SnapshotCallback& callback,
CGSize target_size) const override;
// Setters for test data.
void SetBrowserState(BrowserState* browser_state);
void SetJSInjectionReceiver(CRWJSInjectionReceiver* injection_receiver);
void SetContentIsHTML(bool content_is_html);
void SetLoading(bool is_loading);
void SetCurrentURL(const GURL& url);
void SetVisibleURL(const GURL& url);
void SetTrustLevel(URLVerificationTrustLevel trust_level);
void SetNavigationManager(
std::unique_ptr<NavigationManager> navigation_manager);
void SetView(UIView* view);
void SetIsCrashed(bool value);
void SetIsEvicted(bool value);
void SetWebViewProxy(CRWWebViewProxyType web_view_proxy);
// Getters for test data.
CRWContentView* GetTransientContentView();
// Uses |policy_deciders| to return whether the navigation corresponding to
// |request| should be allowed. Defaults to true.
bool ShouldAllowRequest(NSURLRequest* request,
ui::PageTransition transition,
bool from_main_frame);
// Uses |policy_deciders| to return whether the navigation corresponding to
// |response| should be allowed. Defaults to true.
bool ShouldAllowResponse(NSURLResponse* response, bool for_main_frame);
// Notifier for tests.
void OnPageLoaded(PageLoadCompletionStatus load_completion_status);
void OnNavigationStarted(NavigationContext* navigation_context);
void OnNavigationFinished(NavigationContext* navigation_context);
void OnRenderProcessGone();
void OnFormActivity(const FormActivityParams& params);
void OnDocumentSubmitted(const std::string& form_name,
bool user_initiated,
bool is_main_frame);
void OnBackForwardStateChanged();
void OnVisibleSecurityStateChanged();
private:
BrowserState* browser_state_;
CRWJSInjectionReceiver* injection_receiver_;
bool web_usage_enabled_;
bool is_loading_;
bool is_visible_;
bool is_crashed_;
bool is_evicted_;
bool has_opener_;
CRWContentView* transient_content_view_;
GURL url_;
base::string16 title_;
URLVerificationTrustLevel trust_level_;
bool content_is_html_;
std::string mime_type_;
std::unique_ptr<NavigationManager> navigation_manager_;
UIView* view_;
CRWWebViewProxyType web_view_proxy_;
// A list of observers notified when page state changes. Weak references.
base::ObserverList<WebStateObserver, true> observers_;
// All the WebStatePolicyDeciders asked for navigation decision. Weak
// references.
base::ObserverList<WebStatePolicyDecider, true> policy_deciders_;
};
} // namespace web
#endif // IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_H_
| 1,991 |
2,094 | <reponame>awf/ELL
////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Project: Embedded Learning Library (ELL)
// File: ObjectiveTest.cpp (model/optimizer_test)
// Authors: <NAME>
//
////////////////////////////////////////////////////////////////////////////////////////////////////
#include "ObjectiveTest.h"
#include "OptimizerTestUtil.h"
#include "ExampleObjectives.h"
#include <testing/include/testing.h>
using namespace ell::model::optimizer;
using namespace ell::testing;
//
// Objective class tests
//
void TestObjectives()
{
TestSimpleObjective();
}
void TestSimpleObjective()
{
SimpleObjective objective;
Cost cost;
cost["runtime"] = HeuristicCostValue(10);
ProcessTest("Testing SimpleObjective", objective.Evaluate(cost) == 10);
}
| 228 |
2,109 | /*
* This software was written by JimF jfoug AT cox dot net
* in 2012-2013. No copyright is claimed, and the software is hereby
* placed in the public domain. In case this attempt to disclaim
* copyright and place the software in the public domain is deemed
* null and void, then the software is Copyright (c) 2012-2013 JimF
* and it is hereby released to the general public under the following
* terms:
*
* This software may be modified, redistributed, and used for any
* purpose, in source and binary forms, with or without modification.
*
* Salt finder. This will allow JtR to process a few salted type
* hashes, if the original salt has been lost. The only 2 types
* done at this time, are PHPS (VB), and osCommerce. PHPS is dynamic_6
* which is md5(md5($p).$s) with a 3 byte salt. osCommerce is dynamic_4
* of md5($s.$p) with a 2 type salt.
*
*/
#include <stdio.h>
#include "misc.h" // error()
#include "config.h"
#include "john.h"
#include "memory.h"
#include "options.h"
#include "fake_salts.h"
#include "memdbg.h"
// global data (Options loading uses this variable).
char *regen_salts_options;
static char *regen_schema, DynaType[2048], FirstSalt[11];
static int hash_len, DynaTypeLen;
static int salt_len, total_regen_salts_count;
static int loc_cnt[10] = {0}; /* how many chars are used for each location */
static int cur_cnt[10] = {0}; /* this is a complex number, we use to permute all values. */
static char *candi[10] = {0}; /* This is the valid chars, for each salt character position. */
static void bailout(const char *str) {
if (john_main_process)
fprintf(stderr, "%s\n", str);
error();
}
/* this has been made 'generic', and not built for a set of specific formats */
void build_fake_salts_for_regen_lost(struct db_salt *salts) {
struct db_salt *sp, *fake_salts;
int i;
char dyna_salt_header[7], *buf, *cp;
unsigned long *ptr;
fake_salts = mem_calloc_tiny(sizeof(struct db_salt) * (total_regen_salts_count+1), MEM_ALIGN_WORD);
// Find the 'real' salt. We loaded ALL of the file into 1 salt.
// we then take THAT salt record, and build a list pointing to these fake salts,
// AND build 'proper' dynamic salts for all of our data.
sp = salts;
while (sp->next) {
sp = sp->next;
}
// a dynamic salt is 0x0000[salt_len-byte-salt] for ALL of the salts.
buf = mem_alloc_tiny(total_regen_salts_count*(6+salt_len)+1, MEM_ALIGN_NONE);
cp = buf;
sprintf(dyna_salt_header, "%02d0000", salt_len);
// we start from salt 1, (all hashes should already be salted to salt0)
for (i = 1; i < total_regen_salts_count; ++i) {
int j = 0;
char *cp2 = cp;
// Now compute next salt NOTE, we start from salt1 not salt0, so we first need
// to increment out 'complex' number, prior to using it.
cur_cnt[j=0]++;
while (cur_cnt[j] >= loc_cnt[j]) {
cur_cnt[j++] = 0;
if (j==10)
break; // done, but we should never get here (i should be == total_regen_salts_count before we hit this)
++cur_cnt[j];
}
strcpy(cp2, dyna_salt_header);
cp2 += 6;
for (j = 0; j < salt_len; ++j)
*cp2++ = candi[j][cur_cnt[j]];
// now link in this salt struct
sp->next = &fake_salts[i];
fake_salts[i].next = NULL;
fake_salts[i].count = sp->count;
fake_salts[i].hash = sp->hash;
fake_salts[i].hash_size = sp->hash_size;
fake_salts[i].index = sp->index;
fake_salts[i].keys = sp->keys;
fake_salts[i].list = sp->list;
fake_salts[i].bitmap = sp->bitmap; // 'bug' fix when we went to bitmap. Old code was not copying this.
ptr=mem_alloc_tiny(sizeof(char*), MEM_ALIGN_WORD);
*ptr = (size_t) (buf + (cp-buf));
fake_salts[i].salt = ptr;
cp = cp2;
sp = sp->next;
}
}
/* this is called from dynamic prepare() function, whenever we have a 'raw' hash, and when we are in re-gen salts mode */
char *load_regen_lost_salt_Prepare(char *split_fields1) {
char *cp = split_fields1, *Prep, *pPrep;
int len;
if (cp && *cp == '$' && !strncmp(cp, DynaType, DynaTypeLen))
cp += DynaTypeLen;
if (!cp)
return NULL;
len = strlen(cp);
if (len != hash_len)
return NULL;
Prep = mem_alloc_tiny(DynaTypeLen+hash_len+1+salt_len+1, MEM_ALIGN_NONE);
pPrep = Prep;
// add a the 'first' salt that is the proper. So, once loaded, there will
// be only ONE salt, but ALL candidates will use this salt. We then load
// all possible salt structures, and link all input candidates to ALL of them.
pPrep += sprintf(Prep, "%s%s$%s", DynaType, cp, FirstSalt);
return Prep;
}
/* this is called from cracker.c crk_process_guess() function, and here we FIX the crack with the */
/* proper found salt. When the data was loaded, it was assigned the 'first' salt, but likely we */
/* cracked this hash with a different salt (the real one). Here we fix it before writing to .pot */
void crk_guess_fixup_salt(char *source, char *salt) {
// salt is : 0N0000REAL_SALT_STRING (real salt string is N bytes long).
int real_salt_len = salt[1]-'0';
memcpy(source+DynaTypeLen+hash_len+1, &salt[6], real_salt_len);
source[DynaTypeLen+hash_len+1+real_salt_len] = 0;
}
/* this is called from loader.c ldr_load_pot_line() function. During loading of the .pot file, */
/* the prepare has lost the proper salt. We now need to fix that to the 'correct' salt. */
void ldr_pot_possible_fixup_salt(char *source, char *ciphertext) {
if (!strncmp(source, DynaType, DynaTypeLen)) {
memcpy(&(source[DynaTypeLen+hash_len+1]), &(ciphertext[DynaTypeLen+hash_len+1]), salt_len);
}
}
/* Load a custom user class string from john.pot from the [Regen_Salts_UserClasses] section. */
/* NOTE, we have to init the config file, since this will be called within option loading */
static char *LoadUserClass(char which, int i) {
// Load user-defined character classes ?0 .. ?9 from john.conf
char user_class_num[2];
char *user_class;
static int loaded=0;
user_class_num[0] = which;
user_class_num[1] = 0;
// The config has not been loaded, so we have to load it now, if we want to 'check'
// and show any user set md5-generic functions.
if (!loaded) {
#if JOHN_SYSTEMWIDE
cfg_init(CFG_PRIVATE_FULL_NAME, 1);
cfg_init(CFG_PRIVATE_ALT_NAME, 1);
#endif
cfg_init(CFG_FULL_NAME, 1);
cfg_init(CFG_ALT_NAME, 0);
loaded = 1;
}
if ((user_class = cfg_get_param("Regen_Salts_UserClasses", NULL, user_class_num))) {
extern char *userclass_expand(const char *src); /* found in rules.c */
return userclass_expand(user_class);
}
return NULL;
}
/* at the end of options loading, this function is called. It will return 0 or 1. If the user did NOT */
/* use the --regen-lost-salts option or not. If the user used it, but it was not valid, then we abort with */
/* an error message. Once this function is done, and returns a 1, then all data should be setup and ready */
int regen_lost_salt_parse_options() {
char *cp;
int i, regen_salts_dyna_num;
if (regen_salts_options==NULL) return 0;
if (!strcmp(regen_salts_options, "1")) regen_salts_options="dynamic_6:32:?y?y?y";
else if (!strcmp(regen_salts_options, "2")) regen_salts_options="dynamic_4:32:?y?y";
// NOTE mediawiki 3 here is not doing ?d- or ?d?d- I am not implementing 'variable' length regen
// var length would add a LOT of complexity and may reduce speed a little.
else if (!strcmp(regen_salts_options, "3")) regen_salts_options="dynamic_9:32:?d?d?d-";
else if (!strcmp(regen_salts_options, "4")) regen_salts_options="dynamic_9:32:?d?d?d?d-";
else if (!strcmp(regen_salts_options, "5")) regen_salts_options="dynamic_9:32:?d?d?d?d?d-";
else if (!strcmp(regen_salts_options, "6")) regen_salts_options="dynamic_61:64:?d?d";
if (!strncmp(regen_salts_options, "@dynamic=", 9)) {
char *cp = strrchr(regen_salts_options, '@');
int len;
if (!cp)
bailout("Error, invalid @dynamic= signature in the -salt-regen section");
++cp;
len = cp-regen_salts_options;
if (len > sizeof(DynaType) - 1)
len = sizeof(DynaType) - 1;
regen_salts_dyna_num=6000;
if (sscanf(cp, ":%d:", &hash_len) != 1)
bailout("Error, invalid regen-lost-salts argument. Must start with @dynamic=EXPR:hash_len: value\nSee docs/REGEN-LOST-SALTS document");
// at this point in the JtR loading, we do not know if $dynamic_`regen_salts_dyna_num`$ is valid. We have to check later.
sprintf(DynaType, "%*.*s", len, len, regen_salts_options);
} else {
if (strncmp(regen_salts_options, "dynamic_", 8))
bailout("Error, invalid regen-lost-salts argument. Must start with dynamic_# value\nSee docs/REGEN-LOST-SALTS document");
if (sscanf(regen_salts_options, "dynamic_%d:%d:", ®en_salts_dyna_num, &hash_len) != 2)
bailout("Error, invalid regen-lost-salts argument. Must start with dynamic_#:hash_len: value\nSee docs/REGEN-LOST-SALTS document");
// at this point in the JtR loading, we do not know if $dynamic_`regen_salts_dyna_num`$ is valid. We have to check later.
sprintf(DynaType, "$dynamic_%d$", regen_salts_dyna_num);
}
DynaTypeLen = strlen(DynaType);
// do 'some' sanity checking on input length. Only known valid input lengths for raw hashes are:
// (we are only handling hex at this time) 2 times: 16, 20, 24, 28, 32, 40, 48, 64 bytes.
switch(hash_len) {
case 32: case 40: case 48: case 56: case 64:
case 80: case 96: case 128:
break;
default:
bailout("Error, invalid regen-lost-salts argument. Hash_length not valid\nSee docs/REGEN-LOST-SALTS document");
}
// Ok, now parse the string, making sure it is valid. NOTE, since the sscanf gave us a 2 above,
// we know the string has 2 : in it, so we do not need NULL pointer checking here.
cp = strchr(regen_salts_options, ':');
cp = strchr(&cp[1], ':');
++cp;
regen_schema = cp;
i = 0;
while (*cp) {
// d=dec h=hex H=HEX x=hHeExX b=binary o=oct a=a-zA-Z l=a-z u=A-Z n=a-zA-Z0-9 y=' '-~ (95 chars)
if (*cp == '?') {
switch(cp[1]) {
case 'd':
loc_cnt[i] = 10;
candi[i] = "0123456789";
break;
case 'h':
candi[i] = "0123456789abcdef";
loc_cnt[i] = 16;
break;
case 'H':
candi[i] = "0123456789ABCDEF";
loc_cnt[i] = 16;
break;
case 'x':
candi[i] = "0123456789abcdefABCDEF";
loc_cnt[i] = 22;
break;
case 'b':
candi[i] = "01";
loc_cnt[i] = 2;
break;
case 'o':
candi[i] = "012345678";
loc_cnt[i] = 8;
break;
case 'a':
candi[i] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
loc_cnt[i] = 52;
break;
case 'l':
candi[i] = "abcdefghijklmnopqrstuvwxyz";
loc_cnt[i] = 26;
break;
case 'u':
candi[i] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
loc_cnt[i] = 26;
break;
case 'n':
candi[i] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
loc_cnt[i] = 62;
break;
case 'y':
candi[i] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 `~!@#$%^&*()_-+=[{]};:,<.>/?|\\'\"";
loc_cnt[i] = 95;
break;
case '?':
loc_cnt[i] = 1;
candi[i] = mem_alloc_tiny(2,1);
candi[i][0] = cp[1];
candi[i][1] = 0;
break;
// need to handle user types also.
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
{
char *classData = LoadUserClass(cp[1], i);
if (!classData)
bailout("Error, invalid regen-lost-salts argument. Invalid class character in salt schema\nSee docs/REGEN-LOST-SALTS document");
candi[i] = classData;
loc_cnt[i] = strlen(classData);
break;
}
default:
bailout("Error, invalid regen-lost-salts argument. Invalid class character in salt schema\nSee docs/REGEN-LOST-SALTS document");
}
++cp;
} else {
loc_cnt[i] = 1;
candi[i] = mem_alloc_tiny(2,1);
candi[i][0] = cp[0];
candi[i][1] = 0;
}
++cp;
++salt_len;
FirstSalt[i] = candi[i][0];
++i;
}
FirstSalt[i] = 0;
if (salt_len > 9) {
bailout("Error, invalid regen-lost-salts argument. The max length salt can only be 99 bytes long\nSee docs/REGEN-LOST-SALTS document");
}
total_regen_salts_count = 1;
for (i = 0; i < salt_len; ++i) {
if (total_regen_salts_count * loc_cnt[i] < total_regen_salts_count)
bailout("too many re-gen salt values requested to be able to allocate them\n");
total_regen_salts_count *= loc_cnt[i];
}
return 1;
}
| 5,164 |
1,144 | package org.adempiere.util.proxy;
/*
* #%L
* de.metas.util
* %%
* Copyright (C) 2015 metas GmbH
* %%
* 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/gpl-2.0.html>.
* #L%
*/
import java.lang.reflect.Method;
import java.util.concurrent.ExecutionException;
import com.google.common.cache.CacheBuilder;
import com.google.common.cache.CacheLoader;
import com.google.common.cache.LoadingCache;
/**
* Contains a cached map between interface methods and implementation methods.
*
* Use it when you are using java dynamic proxy and you want to cache the binding between interface method and wrapped object.
* It will use introspection to retrieve its information, but will do so only once (lazily) and then store the information.
*
* @author tsa
*
*/
public final class ProxyMethodsCache
{
private static final ProxyMethodsCache instance = new ProxyMethodsCache();
private final LoadingCache<Class<?>, ProxyClassMethodBindingsMap> interfaceClass2implBindingsMap = CacheBuilder.newBuilder()
.build(new CacheLoader<Class<?>, ProxyClassMethodBindingsMap>()
{
@Override
public ProxyClassMethodBindingsMap load(Class<?> interfaceClass) throws Exception
{
return new ProxyClassMethodBindingsMap(interfaceClass);
}
});
public static final ProxyMethodsCache getInstance()
{
return instance;
}
private ProxyMethodsCache()
{
super();
}
/**
* Gets the implementation method of a given interface method.
*
* @param interfaceMethod
* @param implClass implementation class where the implementation method will be searched
* @return implementation method or <code>null</code> if it was not found
*/
public final Method getMethodImplementation(final Method interfaceMethod, final Class<?> implClass)
{
final Class<?> interfaceClass = interfaceMethod.getDeclaringClass();
final ProxyClassMethodBindingsMap implBindingsMap = getProxyClassMethodBindingsMap(interfaceClass);
final ProxyClassMethodBindings bindings = implBindingsMap.getMethodImplementationBindings(implClass);
final Method implMethod = bindings.getMethodImplementation(interfaceMethod);
return implMethod;
}
/**
* Create (if it doesn't yet exist) and look up the method binding.
*
* @param interfaceClass
* @return
*/
private final ProxyClassMethodBindingsMap getProxyClassMethodBindingsMap(final Class<?> interfaceClass)
{
try
{
return interfaceClass2implBindingsMap.get(interfaceClass);
}
catch (ExecutionException e)
{
// shall not happen
throw new RuntimeException("Failed loading bindings for " + interfaceClass);
}
}
}
| 902 |
680 | /**
* Copyright 卫志强 QQ:<EMAIL> Inc. All rights reserved.
*/
package com.skyeye.eve.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.skyeye.common.object.InputObject;
import com.skyeye.common.object.OutputObject;
import com.skyeye.eve.service.CodeModelGroupService;
/**
* @auther 卫志强 QQ:<EMAIL>,微信:wzq_598748873
* @desc 禁止商用
*/
@Controller
public class CodeModelGroupController {
@Autowired
private CodeModelGroupService codeModelGroupService;
/**
*
* @Title: queryCodeModelGroupList
* @Description: 获取模板分组列表
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping("/post/CodeModelGroupController/queryCodeModelGroupList")
@ResponseBody
public void queryCodeModelGroupList(InputObject inputObject, OutputObject outputObject) throws Exception{
codeModelGroupService.queryCodeModelGroupList(inputObject, outputObject);
}
/**
*
* @Title: insertCodeModelGroupMation
* @Description: 新增模板分组列表
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping("/post/CodeModelGroupController/insertCodeModelGroupMation")
@ResponseBody
public void insertCodeModelGroupMation(InputObject inputObject, OutputObject outputObject) throws Exception{
codeModelGroupService.insertCodeModelGroupMation(inputObject, outputObject);
}
/**
*
* @Title: deleteCodeModelGroupById
* @Description: 删除模板分组信息
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping("/post/CodeModelGroupController/deleteCodeModelGroupById")
@ResponseBody
public void deleteCodeModelGroupById(InputObject inputObject, OutputObject outputObject) throws Exception{
codeModelGroupService.deleteCodeModelGroupById(inputObject, outputObject);
}
/**
*
* @Title: queryCodeModelGroupMationToEditById
* @Description: 编辑模板分组信息时进行回显
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping("/post/CodeModelGroupController/queryCodeModelGroupMationToEditById")
@ResponseBody
public void queryCodeModelGroupMationToEditById(InputObject inputObject, OutputObject outputObject) throws Exception{
codeModelGroupService.queryCodeModelGroupMationToEditById(inputObject, outputObject);
}
/**
*
* @Title: editCodeModelGroupMationById
* @Description: 编辑模板分组信息
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping("/post/CodeModelGroupController/editCodeModelGroupMationById")
@ResponseBody
public void editCodeModelGroupMationById(InputObject inputObject, OutputObject outputObject) throws Exception{
codeModelGroupService.editCodeModelGroupMationById(inputObject, outputObject);
}
/**
*
* @Title: queryTableParameterByTableName
* @Description: 根据表名获取表的相关信息
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping("/post/CodeModelGroupController/queryTableParameterByTableName")
@ResponseBody
public void queryTableParameterByTableName(InputObject inputObject, OutputObject outputObject) throws Exception{
codeModelGroupService.queryTableParameterByTableName(inputObject, outputObject);
}
/**
*
* @Title: queryTableMationByTableName
* @Description: 根据表名获取表的相关转换信息
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping("/post/CodeModelGroupController/queryTableMationByTableName")
@ResponseBody
public void queryTableMationByTableName(InputObject inputObject, OutputObject outputObject) throws Exception{
codeModelGroupService.queryTableMationByTableName(inputObject, outputObject);
}
/**
*
* @Title: queryCodeModelListByGroupId
* @Description: 根据分组id获取模板列表
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping("/post/CodeModelGroupController/queryCodeModelListByGroupId")
@ResponseBody
public void queryCodeModelListByGroupId(InputObject inputObject, OutputObject outputObject) throws Exception{
codeModelGroupService.queryCodeModelListByGroupId(inputObject, outputObject);
}
}
| 2,012 |
3,001 | <gh_stars>1000+
from __future__ import unicode_literals
from .cbs import CBSBaseIE
class CBSSportsIE(CBSBaseIE):
_VALID_URL = r'https?://(?:www\.)?cbssports\.com/[^/]+/(?:video|news)/(?P<id>[^/?#&]+)'
_TESTS = [{
'url': 'https://www.cbssports.com/nba/video/donovan-mitchell-flashes-star-potential-in-game-2-victory-over-thunder/',
'info_dict': {
'id': '1214315075735',
'ext': 'mp4',
'title': '<NAME> flashes star potential in Game 2 victory over Thunder',
'description': 'md5:df6f48622612c2d6bd2e295ddef58def',
'timestamp': 1524111457,
'upload_date': '20180419',
'uploader': 'CBSI-NEW',
},
'params': {
# m3u8 download
'skip_download': True,
}
}, {
'url': 'https://www.cbssports.com/nba/news/nba-playoffs-2018-watch-76ers-vs-heat-game-3-series-schedule-tv-channel-online-stream/',
'only_matching': True,
}]
def _extract_video_info(self, filter_query, video_id):
return self._extract_feed_info('dJ5BDC', 'VxxJg8Ymh8sE', filter_query, video_id)
def _real_extract(self, url):
display_id = self._match_id(url)
webpage = self._download_webpage(url, display_id)
video_id = self._search_regex(
[r'(?:=|%26)pcid%3D(\d+)', r'embedVideo(?:Container)?_(\d+)'],
webpage, 'video id')
return self._extract_video_info('byId=%s' % video_id, video_id)
| 744 |
1,338 | <filename>headers/private/kernel/util/AVLTree.h
/*
* Copyright 2003-2009, <NAME> <<EMAIL>>.
* Distributed under the terms of the MIT License.
*/
#ifndef _KERNEL_UTIL_AVL_TREE_H
#define _KERNEL_UTIL_AVL_TREE_H
#include <util/AVLTreeBase.h>
/*
To be implemented by the definition:
typedef int Key;
typedef Foo Value;
AVLTreeNode* GetAVLTreeNode(Value* value) const;
Value* GetValue(AVLTreeNode* node) const;
int Compare(const Key& a, const Value* b) const;
int Compare(const Value* a, const Value* b) const;
*/
template<typename Definition>
class AVLTree : protected AVLTreeCompare {
private:
typedef typename Definition::Key Key;
typedef typename Definition::Value Value;
public:
class Iterator;
class ConstIterator;
public:
AVLTree();
AVLTree(const Definition& definition);
virtual ~AVLTree();
inline int Count() const { return fTree.Count(); }
inline bool IsEmpty() const { return fTree.IsEmpty(); }
inline void Clear();
Value* RootNode() const;
Value* Previous(Value* value) const;
Value* Next(Value* value) const;
Value* LeftMost() const;
Value* LeftMost(Value* value) const;
Value* RightMost() const;
Value* RightMost(Value* value) const;
inline Iterator GetIterator();
inline ConstIterator GetIterator() const;
inline Iterator GetIterator(Value* value);
inline ConstIterator GetIterator(Value* value) const;
Value* Find(const Key& key) const;
Value* FindClosest(const Key& key, bool less) const;
status_t Insert(Value* value, Iterator* iterator = NULL);
Value* Remove(const Key& key);
bool Remove(Value* key);
void CheckTree() const { fTree.CheckTree(); }
protected:
// AVLTreeCompare
virtual int CompareKeyNode(const void* key,
const AVLTreeNode* node);
virtual int CompareNodes(const AVLTreeNode* node1,
const AVLTreeNode* node2);
// definition shortcuts
inline AVLTreeNode* _GetAVLTreeNode(Value* value) const;
inline Value* _GetValue(const AVLTreeNode* node) const;
inline int _Compare(const Key& a, const Value* b);
inline int _Compare(const Value* a, const Value* b);
protected:
friend class Iterator;
friend class ConstIterator;
AVLTreeBase fTree;
Definition fDefinition;
public:
// (need to implement it here, otherwise gcc 2.95.3 chokes)
class Iterator : public ConstIterator {
public:
inline Iterator()
:
ConstIterator()
{
}
inline Iterator(const Iterator& other)
:
ConstIterator(other)
{
}
inline void Remove()
{
if (AVLTreeNode* node = ConstIterator::fTreeIterator.Remove()) {
AVLTree<Definition>* parent
= const_cast<AVLTree<Definition>*>(
ConstIterator::fParent);
}
}
private:
inline Iterator(AVLTree<Definition>* parent,
const AVLTreeIterator& treeIterator)
: ConstIterator(parent, treeIterator)
{
}
friend class AVLTree<Definition>;
};
};
template<typename Definition>
class AVLTree<Definition>::ConstIterator {
public:
inline ConstIterator()
:
fParent(NULL),
fTreeIterator()
{
}
inline ConstIterator(const ConstIterator& other)
:
fParent(other.fParent),
fTreeIterator(other.fTreeIterator)
{
}
inline bool HasCurrent() const
{
return fTreeIterator.Current();
}
inline Value* Current()
{
if (AVLTreeNode* node = fTreeIterator.Current())
return fParent->_GetValue(node);
return NULL;
}
inline bool HasNext() const
{
return fTreeIterator.HasNext();
}
inline Value* Next()
{
if (AVLTreeNode* node = fTreeIterator.Next())
return fParent->_GetValue(node);
return NULL;
}
inline Value* Previous()
{
if (AVLTreeNode* node = fTreeIterator.Previous())
return fParent->_GetValue(node);
return NULL;
}
inline ConstIterator& operator=(const ConstIterator& other)
{
fParent = other.fParent;
fTreeIterator = other.fTreeIterator;
return *this;
}
protected:
inline ConstIterator(const AVLTree<Definition>* parent,
const AVLTreeIterator& treeIterator)
{
fParent = parent;
fTreeIterator = treeIterator;
}
friend class AVLTree<Definition>;
const AVLTree<Definition>* fParent;
AVLTreeIterator fTreeIterator;
};
template<typename Definition>
AVLTree<Definition>::AVLTree()
:
fTree(this),
fDefinition()
{
}
template<typename Definition>
AVLTree<Definition>::AVLTree(const Definition& definition)
:
fTree(this),
fDefinition(definition)
{
}
template<typename Definition>
AVLTree<Definition>::~AVLTree()
{
}
template<typename Definition>
inline void
AVLTree<Definition>::Clear()
{
fTree.MakeEmpty();
}
template<typename Definition>
inline typename AVLTree<Definition>::Value*
AVLTree<Definition>::RootNode() const
{
if (AVLTreeNode* root = fTree.Root())
return _GetValue(root);
return NULL;
}
template<typename Definition>
inline typename AVLTree<Definition>::Value*
AVLTree<Definition>::Previous(Value* value) const
{
if (value == NULL)
return NULL;
AVLTreeNode* node = fTree.Previous(_GetAVLTreeNode(value));
return node != NULL ? _GetValue(node) : NULL;
}
template<typename Definition>
inline typename AVLTree<Definition>::Value*
AVLTree<Definition>::Next(Value* value) const
{
if (value == NULL)
return NULL;
AVLTreeNode* node = fTree.Next(_GetAVLTreeNode(value));
return node != NULL ? _GetValue(node) : NULL;
}
template<typename Definition>
inline typename AVLTree<Definition>::Value*
AVLTree<Definition>::LeftMost() const
{
AVLTreeNode* node = fTree.LeftMost();
return node != NULL ? _GetValue(node) : NULL;
}
template<typename Definition>
inline typename AVLTree<Definition>::Value*
AVLTree<Definition>::LeftMost(Value* value) const
{
if (value == NULL)
return NULL;
AVLTreeNode* node = fTree.LeftMost(_GetAVLTreeNode(value));
return node != NULL ? _GetValue(node) : NULL;
}
template<typename Definition>
inline typename AVLTree<Definition>::Value*
AVLTree<Definition>::RightMost() const
{
AVLTreeNode* node = fTree.RightMost();
return node != NULL ? _GetValue(node) : NULL;
}
template<typename Definition>
inline typename AVLTree<Definition>::Value*
AVLTree<Definition>::RightMost(Value* value) const
{
if (value == NULL)
return NULL;
AVLTreeNode* node = fTree.RightMost(_GetAVLTreeNode(value));
return node != NULL ? _GetValue(node) : NULL;
}
template<typename Definition>
inline typename AVLTree<Definition>::Iterator
AVLTree<Definition>::GetIterator()
{
return Iterator(this, fTree.GetIterator());
}
template<typename Definition>
inline typename AVLTree<Definition>::ConstIterator
AVLTree<Definition>::GetIterator() const
{
return ConstIterator(this, fTree.GetIterator());
}
template<typename Definition>
inline typename AVLTree<Definition>::Iterator
AVLTree<Definition>::GetIterator(Value* value)
{
return Iterator(this, fTree.GetIterator(_GetAVLTreeNode(value)));
}
template<typename Definition>
inline typename AVLTree<Definition>::ConstIterator
AVLTree<Definition>::GetIterator(Value* value) const
{
return ConstIterator(this, fTree.GetIterator(_GetAVLTreeNode(value)));
}
template<typename Definition>
typename AVLTree<Definition>::Value*
AVLTree<Definition>::Find(const Key& key) const
{
if (AVLTreeNode* node = fTree.Find(&key))
return _GetValue(node);
return NULL;
}
template<typename Definition>
typename AVLTree<Definition>::Value*
AVLTree<Definition>::FindClosest(const Key& key, bool less) const
{
if (AVLTreeNode* node = fTree.FindClosest(&key, less))
return _GetValue(node);
return NULL;
}
template<typename Definition>
status_t
AVLTree<Definition>::Insert(Value* value, Iterator* iterator)
{
AVLTreeNode* node = _GetAVLTreeNode(value);
status_t error = fTree.Insert(node);
if (error != B_OK)
return error;
if (iterator != NULL)
*iterator = Iterator(this, fTree.GetIterator(node));
return B_OK;
}
template<typename Definition>
typename AVLTree<Definition>::Value*
AVLTree<Definition>::Remove(const Key& key)
{
AVLTreeNode* node = fTree.Remove(&key);
return node != NULL ? _GetValue(node) : NULL;
}
template<typename Definition>
bool
AVLTree<Definition>::Remove(Value* value)
{
return fTree.Remove(_GetAVLTreeNode(value));
}
template<typename Definition>
int
AVLTree<Definition>::CompareKeyNode(const void* key,
const AVLTreeNode* node)
{
return _Compare(*(const Key*)key, _GetValue(node));
}
template<typename Definition>
int
AVLTree<Definition>::CompareNodes(const AVLTreeNode* node1,
const AVLTreeNode* node2)
{
return _Compare(_GetValue(node1), _GetValue(node2));
}
template<typename Definition>
inline AVLTreeNode*
AVLTree<Definition>::_GetAVLTreeNode(Value* value) const
{
return fDefinition.GetAVLTreeNode(value);
}
template<typename Definition>
inline typename AVLTree<Definition>::Value*
AVLTree<Definition>::_GetValue(const AVLTreeNode* node) const
{
return fDefinition.GetValue(const_cast<AVLTreeNode*>(node));
}
template<typename Definition>
inline int
AVLTree<Definition>::_Compare(const Key& a, const Value* b)
{
return fDefinition.Compare(a, b);
}
template<typename Definition>
inline int
AVLTree<Definition>::_Compare(const Value* a, const Value* b)
{
return fDefinition.Compare(a, b);
}
#endif // _KERNEL_UTIL_AVL_TREE_H
| 3,355 |
777 | <reponame>google-ar/chromium
/*
* Copyright (C) 2008 <NAME> <<EMAIL>>
* Copyright (C) 2009 <NAME> <<EMAIL>>
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library 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
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#include "platform/graphics/filters/FETile.h"
#include "SkTileImageFilter.h"
#include "platform/graphics/filters/Filter.h"
#include "platform/graphics/filters/SkiaImageFilterBuilder.h"
#include "platform/text/TextStream.h"
namespace blink {
FETile::FETile(Filter* filter) : FilterEffect(filter) {}
FETile* FETile::create(Filter* filter) {
return new FETile(filter);
}
FloatRect FETile::mapInputs(const FloatRect& rect) const {
return absoluteBounds();
}
sk_sp<SkImageFilter> FETile::createImageFilter() {
sk_sp<SkImageFilter> input(
SkiaImageFilterBuilder::build(inputEffect(0), operatingColorSpace()));
FloatRect srcRect;
if (inputEffect(0)->getFilterEffectType() == FilterEffectTypeSourceInput)
srcRect = getFilter()->filterRegion();
else
srcRect = inputEffect(0)->filterPrimitiveSubregion();
FloatRect dstRect = filterPrimitiveSubregion();
return SkTileImageFilter::Make(srcRect, dstRect, std::move(input));
}
TextStream& FETile::externalRepresentation(TextStream& ts, int indent) const {
writeIndent(ts, indent);
ts << "[feTile";
FilterEffect::externalRepresentation(ts);
ts << "]\n";
inputEffect(0)->externalRepresentation(ts, indent + 1);
return ts;
}
} // namespace blink
| 665 |
435 | <reponame>amaajemyfren/data
{
"copyright_text": "Standard YouTube License",
"description": "Palestrante: <NAME>\n\nResumo:\nThe study of plasma oscillations in 3D real systems are usually analyzed from one-dimensional data in the form of time series. In this work we propose a Python tool which will be used to verify the dependencies between canonical time series. The spectral analysis is used to determine the hypothesis of dependence variation of the power spectrum according to the structure of system.",
"duration": 2188,
"language": "por",
"recorded": "2016-06-24",
"related_urls": [],
"speakers": [
"<NAME>"
],
"tags": [],
"thumbnail_url": "https://i.ytimg.com/vi/3XvAZkT1Hm0/maxresdefault.jpg",
"title": "3DBMO",
"videos": [
{
"type": "youtube",
"url": "https://www.youtube.com/watch?v=3XvAZkT1Hm0"
}
]
}
| 294 |
831 | /*
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.tools.idea.gradle.dsl.model.java;
import com.android.tools.idea.gradle.dsl.api.java.LanguageLevelPropertyModel;
import com.android.tools.idea.gradle.dsl.api.util.LanguageLevelUtil;
import com.android.tools.idea.gradle.dsl.api.util.TypeReference;
import com.android.tools.idea.gradle.dsl.model.ext.GradlePropertyModelImpl;
import com.android.tools.idea.gradle.dsl.model.ext.ResolvedPropertyModelImpl;
import com.android.tools.idea.gradle.dsl.parser.elements.GradleDslElement;
import com.android.tools.idea.gradle.dsl.parser.elements.GradleDslElementEnum;
import com.android.tools.idea.gradle.dsl.parser.elements.GradleDslElementEnum.EnumValue;
import com.android.tools.idea.gradle.dsl.parser.elements.GradleDslGlobalValue;
import com.intellij.pom.java.LanguageLevel;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.annotations.TestOnly;
import static com.android.tools.idea.gradle.dsl.api.ext.GradlePropertyModel.ValueType.CUSTOM;
import static com.android.tools.idea.gradle.dsl.api.util.LanguageLevelUtil.convertToGradleString;
import static com.android.tools.idea.gradle.dsl.api.util.LanguageLevelUtil.parseFromGradleString;
public class LanguageLevelPropertyModelImpl extends ResolvedPropertyModelImpl implements LanguageLevelPropertyModel {
public LanguageLevelPropertyModelImpl(@NotNull GradlePropertyModelImpl realModel) {
super(realModel);
}
@TestOnly
@Override
@Nullable
public LanguageLevel toLanguageLevel() {
String stringToParse = LanguageLevelUtil.getStringToParse(this);
return stringToParse == null ? null : parseFromGradleString(stringToParse);
}
@Override
public void setLanguageLevel(@NotNull LanguageLevel level) {
setValue(convertToGradleString(level, LanguageLevelUtil.getStringToParse(this)));
}
@NotNull
@Override
public ValueType getValueType() {
GradleDslElement element = resolveModel().getElement();
if (element != null && element.getParent() instanceof GradleDslElementEnum) {
return CUSTOM;
}
return super.getValueType();
}
@Nullable
@Override
public <T> T getValue(@NotNull TypeReference<T> typeReference) {
if (getValueType() == CUSTOM && typeReference == STRING_TYPE) {
GradleDslGlobalValue value = (GradleDslGlobalValue) resolveModel().getElement();
EnumValue enumValue = (EnumValue) value.getValue();
return (T)enumValue.getValue();
}
return super.getValue(typeReference);
}
@Nullable
@Override
public String toString() {
if (getValueType() == CUSTOM) {
return getValue(STRING_TYPE);
}
return super.toString();
}
}
| 1,076 |
777 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "platform/animation/CompositorScrollOffsetAnimationCurve.h"
#include "platform/animation/TimingFunction.h"
#include "cc/animation/scroll_offset_animation_curve.h"
#include "cc/animation/timing_function.h"
using blink::CompositorScrollOffsetAnimationCurve;
using DurationBehavior = cc::ScrollOffsetAnimationCurve::DurationBehavior;
namespace blink {
static DurationBehavior GetDurationBehavior(
CompositorScrollOffsetAnimationCurve::ScrollDurationBehavior
webDurationBehavior) {
switch (webDurationBehavior) {
case CompositorScrollOffsetAnimationCurve::ScrollDurationDeltaBased:
return DurationBehavior::DELTA_BASED;
case CompositorScrollOffsetAnimationCurve::ScrollDurationConstant:
return DurationBehavior::CONSTANT;
case CompositorScrollOffsetAnimationCurve::ScrollDurationInverseDelta:
return DurationBehavior::INVERSE_DELTA;
}
NOTREACHED();
return DurationBehavior::DELTA_BASED;
}
CompositorScrollOffsetAnimationCurve::CompositorScrollOffsetAnimationCurve(
FloatPoint targetValue,
ScrollDurationBehavior durationBehavior)
: m_curve(cc::ScrollOffsetAnimationCurve::Create(
gfx::ScrollOffset(targetValue.x(), targetValue.y()),
cc::CubicBezierTimingFunction::CreatePreset(
CubicBezierTimingFunction::EaseType::EASE_IN_OUT),
GetDurationBehavior(durationBehavior))) {}
CompositorScrollOffsetAnimationCurve::CompositorScrollOffsetAnimationCurve(
cc::ScrollOffsetAnimationCurve* curve)
: m_curve(curve->CloneToScrollOffsetAnimationCurve()) {}
CompositorScrollOffsetAnimationCurve::~CompositorScrollOffsetAnimationCurve() {}
void CompositorScrollOffsetAnimationCurve::setInitialValue(
FloatPoint initialValue) {
m_curve->SetInitialValue(
gfx::ScrollOffset(initialValue.x(), initialValue.y()));
}
FloatPoint CompositorScrollOffsetAnimationCurve::getValue(double time) const {
gfx::ScrollOffset value =
m_curve->GetValue(base::TimeDelta::FromSecondsD(time));
return FloatPoint(value.x(), value.y());
}
void CompositorScrollOffsetAnimationCurve::applyAdjustment(IntSize adjustment) {
m_curve->ApplyAdjustment(
gfx::Vector2dF(adjustment.width(), adjustment.height()));
}
double CompositorScrollOffsetAnimationCurve::duration() const {
return m_curve->Duration().InSecondsF();
}
FloatPoint CompositorScrollOffsetAnimationCurve::targetValue() const {
gfx::ScrollOffset target = m_curve->target_value();
return FloatPoint(target.x(), target.y());
}
void CompositorScrollOffsetAnimationCurve::updateTarget(double time,
FloatPoint newTarget) {
m_curve->UpdateTarget(time, gfx::ScrollOffset(newTarget.x(), newTarget.y()));
}
std::unique_ptr<cc::AnimationCurve>
CompositorScrollOffsetAnimationCurve::cloneToAnimationCurve() const {
return m_curve->Clone();
}
} // namespace blink
| 1,017 |
2,031 | package tech.huqi.smartopencv.draw;
import android.content.Context;
import android.content.res.Configuration;
import org.opencv.core.Size;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import tech.huqi.smartopencv.SmartOpenCV;
import tech.huqi.smartopencv.utils.Util;
/**
* Created by hzhuqi on 2019/9/3
*/
/**
* SmartOpenCV默认预览帧大小计算策略类
* 从硬件设备支持的预览大小中选择出宽/高都 >= SurfaceView控件宽/高的最小的预览
*/
public class DefaultFrameSizeCalculator implements IPreviewSizeCalculator {
private Context mContext;
private boolean isPortrait;
public DefaultFrameSizeCalculator(Context context) {
mContext = context;
isPortrait = context.getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT;
}
@Override
public Size calculateCameraFrameSize(List<Size> supportedSizes, int surfaceWidth, int surfaceHeight) {
Util.printDebugLog("surfaceWidth:" + surfaceWidth + " surfaceHeight:" + surfaceHeight);
final List<Size> descSupportedSizes = new ArrayList<>(supportedSizes);
// 按照分辨率降序排序
Collections.sort(descSupportedSizes, new Comparator<Size>() {
@Override
public int compare(Size s1, Size s2) {
int num = (int) (s2.width - s1.width);
if (num == 0) {
return (int) (s2.height - s1.height);
}
return num;
}
});
printSupportSize(descSupportedSizes);
int targetWidth = surfaceWidth;
int targetHeight = surfaceHeight;
/**
* USB摄像头默认取景方向和设备竖屏方向一致,因此USB摄像头设备无需调整宽高
*/
if (!SmartOpenCV.getInstance().isUsbCamera() && isPortrait) {
targetWidth = surfaceHeight;
targetHeight = surfaceWidth;
}
int calcWidth = Integer.MAX_VALUE;
int calcHeight = Integer.MAX_VALUE;
// 从支持的预览大小中选择出 >= SurfaceView控件大小集合中最小的预览
for (Size size : descSupportedSizes) {
if (size.width >= targetWidth && size.height >= targetHeight) {
calcWidth = (int) (size.width);
calcHeight = (int) (size.height);
}
}
// 如果没找到合适预览大小,则选择分辨率最大的
if (calcWidth == Integer.MAX_VALUE || calcHeight == Integer.MAX_VALUE && descSupportedSizes.size() > 0) {
calcWidth = (int) (descSupportedSizes.get(0).width);
calcHeight = (int) (descSupportedSizes.get(0).height);
}
Util.printDebugLog("calcWidth:" + calcWidth + " calcHeight:" + calcHeight +
" screenWidth:" + Util.getScreenWidth(mContext) +
" screenHeight" + Util.getScreenHeight(mContext));
return new Size(calcWidth, calcHeight);
}
private void printSupportSize(List<Size> supportedSizes) {
for (Size size : supportedSizes) {
Util.printDebugLog("support width:" + size.width + " support height:" + size.height);
}
}
}
| 1,506 |
3,967 | <filename>docs/examples/use_cases/tensorflow/efficientdet/utils.py
# Copyright 2020 Google Research. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""Common utils."""
from typing import Text, Tuple, Union
import tensorflow as tf
import argparse
import tensorflow.compat.v1 as tf1
from enum import Enum
from collections import namedtuple
from tensorflow.python.eager import (
tape as tape_lib,
) # pylint:disable=g-direct-tensorflow-import
from tensorflow.python.tpu import (
tpu_function,
) # pylint:disable=g-direct-tensorflow-import
# pylint: disable=logging-format-interpolation
class PipelineType(Enum):
synthetic = 0
tensorflow = 1
dali_cpu = 2
dali_gpu = 3
class InputType(Enum):
tfrecord = 0
coco = 1
# argparse multiline argument help according to: https://stackoverflow.com/a/22157136
class SmartFormatter(argparse.HelpFormatter):
def _split_lines(self, text, width):
if text.startswith("R|"):
return text[2:].splitlines()
# this is the RawTextHelpFormatter._split_lines
return argparse.HelpFormatter._split_lines(self, text, width)
def dict_to_namedtuple(dict_instance):
NamedTuple = namedtuple("NamedTuple", dict_instance.keys())
return NamedTuple._make(dict_instance.values())
def setup_gpus():
for gpu_instance in tf.config.list_physical_devices("GPU"):
tf.config.experimental.set_memory_growth(gpu_instance, True)
tf.config.set_soft_device_placement(True)
def get_dataset(args, total_batch_size, is_training, params, strategy=None):
pipeline = args.pipeline_type
if strategy and not is_training and pipeline == PipelineType.dali_gpu:
strategy = None
pipeline = PipelineType.dali_cpu
if pipeline in [PipelineType.tensorflow, PipelineType.synthetic]:
from pipeline.tf.dataloader import InputReader
if args.input_type != InputType.tfrecord:
raise ValueError(
"tensorflow and syntax pipelines are only compatible with tfrecord input type :<"
)
if is_training:
file_pattern = args.train_file_pattern
else:
file_pattern = args.eval_file_pattern or args.train_file_pattern
dataset = InputReader(
params,
file_pattern,
is_training=is_training,
use_fake_data=(pipeline == PipelineType.synthetic),
).get_dataset(total_batch_size)
elif strategy:
from pipeline.dali.efficientdet_pipeline import EfficientDetPipeline
if pipeline == PipelineType.dali_cpu:
raise ValueError(
"dali_cpu pipeline is not compatible with multi_gpu mode :<"
)
def dali_dataset_fn(input_context):
with tf.device(f"/gpu:{input_context.input_pipeline_id}"):
device_id = input_context.input_pipeline_id
num_shards = input_context.num_input_pipelines
return EfficientDetPipeline(
params,
int(total_batch_size / num_shards),
args,
is_training=is_training,
num_shards=num_shards,
device_id=device_id,
).get_dataset()
input_options = tf.distribute.InputOptions(
experimental_place_dataset_on_device=True,
experimental_fetch_to_device=False,
experimental_replication_mode=tf.distribute.InputReplicationMode.PER_REPLICA,
)
dataset = strategy.distribute_datasets_from_function(
dali_dataset_fn, input_options
)
else:
from pipeline.dali.efficientdet_pipeline import EfficientDetPipeline
cpu_only = pipeline == PipelineType.dali_cpu
device = "/cpu:0" if cpu_only else "/gpu:0"
with tf.device(device):
dataset = EfficientDetPipeline(
params,
total_batch_size,
args,
is_training=is_training,
cpu_only=cpu_only,
).get_dataset()
return dataset
def srelu_fn(x):
"""Smooth relu: a smooth version of relu."""
with tf.name_scope("srelu"):
beta = tf.Variable(20.0, name="srelu_beta", dtype=tf.float32) ** 2
beta = tf.cast(beta ** 2, x.dtype)
safe_log = tf.math.log(tf.where(x > 0.0, beta * x + 1.0, tf.ones_like(x)))
return tf.where((x > 0.0), x - (1.0 / beta) * safe_log, tf.zeros_like(x))
def activation_fn(features: tf1.Tensor, act_type: Text):
"""Customized non-linear activation type."""
if act_type in ("silu", "swish"):
return tf.keras.activations.swish(features)
elif act_type == "swish_native":
return features * tf.keras.activations.sigmoid(features)
elif act_type == "hswish":
return features * tf.nn.relu6(features + 3) / 6
elif act_type == "relu":
return tf.nn.relu(features)
elif act_type == "relu6":
return tf.nn.relu6(features)
elif act_type == "mish":
return features * tf.math.tanh(tf.math.softplus(features))
elif act_type == "srelu":
return srelu_fn(features)
else:
raise ValueError("Unsupported act_type {}".format(act_type))
def cross_replica_mean(t, num_shards_per_group=None):
"""Calculates the average value of input tensor across TPU replicas."""
num_shards = tpu_function.get_tpu_context().number_of_shards
if not num_shards_per_group:
return tf1.tpu.cross_replica_sum(t) / tf.cast(num_shards, t.dtype)
group_assignment = None
if num_shards_per_group > 1:
if num_shards % num_shards_per_group != 0:
raise ValueError(
"num_shards: %d mod shards_per_group: %d, should be 0"
% (num_shards, num_shards_per_group)
)
num_groups = num_shards // num_shards_per_group
group_assignment = [
[x for x in range(num_shards) if x // num_shards_per_group == y]
for y in range(num_groups)
]
return tf1.tpu.cross_replica_sum(t, group_assignment) / tf.cast(
num_shards_per_group, t.dtype
)
class BatchNormalization(tf.keras.layers.BatchNormalization):
"""Fixed default name of BatchNormalization to match TpuBatchNormalization."""
def __init__(self, **kwargs):
if not kwargs.get("name", None):
kwargs["name"] = "tpu_batch_normalization"
super().__init__(**kwargs)
def call(self, inputs, training=None):
outputs = super().call(inputs, training)
# A temporary hack for tf. compatibility with keras batch norm.
for u in self.updates:
tf1.add_to_collection(tf1.GraphKeys.UPDATE_OPS, u)
return outputs
def build_batch_norm(
beta_initializer: Text = "zeros",
gamma_initializer: Text = "ones",
data_format: Text = "channels_last",
momentum: float = 0.99,
epsilon: float = 1e-3,
name: Text = "tpu_batch_normalization",
):
"""Build a batch normalization layer.
Args:
beta_initializer: `str`, beta initializer.
gamma_initializer: `str`, gamma initializer.
data_format: `str` either "channels_first" for `[batch, channels, height,
width]` or "channels_last for `[batch, height, width, channels]`.
momentum: `float`, momentume of batch norm.
epsilon: `float`, small value for numerical stability.
name: the name of the batch normalization layer
Returns:
A normalized `Tensor` with the same `data_format`.
"""
axis = 1 if data_format == "channels_first" else -1
bn_layer = BatchNormalization(
axis=axis,
momentum=momentum,
epsilon=epsilon,
center=True,
scale=True,
beta_initializer=beta_initializer,
gamma_initializer=gamma_initializer,
name=name,
)
return bn_layer
def drop_connect(inputs, is_training, survival_prob):
"""Drop the entire conv with given survival probability."""
# "Deep Networks with Stochastic Depth", https://arxiv.org/pdf/1603.09382.pdf
if not is_training:
return inputs
# Compute tensor.
batch_size = tf.shape(inputs)[0]
random_tensor = survival_prob
random_tensor += tf.random.uniform([batch_size, 1, 1, 1], dtype=inputs.dtype)
binary_tensor = tf.floor(random_tensor)
# Unlike conventional way that multiply survival_prob at test time, here we
# divide survival_prob at training time, such that no addition compute is
# needed at test time.
output = inputs / survival_prob * binary_tensor
return output
def parse_image_size(image_size: Union[Text, int, Tuple[int, int]]):
"""Parse the image size and return (height, width).
Args:
image_size: A integer, a tuple (H, W), or a string with HxW format.
Returns:
A tuple of integer (height, width).
"""
if isinstance(image_size, int):
# image_size is integer, with the same width and height.
return (image_size, image_size)
if isinstance(image_size, str):
# image_size is a string with format WxH
width, height = image_size.lower().split("x")
return (int(height), int(width))
if isinstance(image_size, tuple):
return image_size
raise ValueError(
"image_size must be an int, WxH string, or (height, width)"
"tuple. Was %r" % image_size
)
def get_feat_sizes(image_size: Union[Text, int, Tuple[int, int]], max_level: int):
"""Get feat widths and heights for all levels.
Args:
image_size: A integer, a tuple (H, W), or a string with HxW format.
max_level: maximum feature level.
Returns:
feat_sizes: a list of tuples (height, width) for each level.
"""
image_size = parse_image_size(image_size)
feat_sizes = [{"height": image_size[0], "width": image_size[1]}]
feat_size = image_size
for _ in range(1, max_level + 1):
feat_size = ((feat_size[0] - 1) // 2 + 1, (feat_size[1] - 1) // 2 + 1)
feat_sizes.append({"height": feat_size[0], "width": feat_size[1]})
return feat_sizes
def _recompute_grad(f):
"""An eager-compatible version of recompute_grad.
For f(*args, **kwargs), this supports gradients with respect to args or
kwargs, but kwargs are currently only supported in eager-mode.
Note that for keras layer and model objects, this is handled automatically.
Warning: If `f` was originally a tf.keras Model or Layer object, `g` will not
be able to access the member variables of that object, because `g` returns
through the wrapper function `inner`. When recomputing gradients through
objects that inherit from keras, we suggest keeping a reference to the
underlying object around for the purpose of accessing these variables.
Args:
f: function `f(*x)` that returns a `Tensor` or sequence of `Tensor` outputs.
Returns:
A function `g` that wraps `f`, but which recomputes `f` on the backwards
pass of a gradient call.
"""
@tf1.custom_gradient
def inner(*args, **kwargs):
"""Inner function closure for calculating gradients."""
current_var_scope = tf1.get_variable_scope()
with tape_lib.stop_recording():
result = f(*args, **kwargs)
def grad_wrapper(*wrapper_args, **grad_kwargs):
"""Wrapper function to accomodate lack of kwargs in graph mode decorator."""
@tf1.custom_gradient
def inner_recompute_grad(*dresult):
"""Nested custom gradient function for computing grads in reverse and forward mode autodiff."""
# Gradient calculation for reverse mode autodiff.
variables = grad_kwargs.get("variables")
with tf.GradientTape() as t:
id_args = tf.nest.map_structure(tf.identity, args)
t.watch(id_args)
if variables is not None:
t.watch(variables)
with tf.control_dependencies(dresult):
with tf1.variable_scope(current_var_scope):
result = f(*id_args, **kwargs)
kw_vars = []
if variables is not None:
kw_vars = list(variables)
grads = t.gradient(
result,
list(id_args) + kw_vars,
output_gradients=dresult,
unconnected_gradients=tf.UnconnectedGradients.ZERO,
)
def transpose(*t_args, **t_kwargs):
"""Gradient function calculation for forward mode autodiff."""
# Just throw an error since gradients / activations are not stored on
# tape for recompute.
raise NotImplementedError(
"recompute_grad tried to transpose grad of {}. "
"Consider not using recompute_grad in forward mode"
"autodiff".format(f.__name__)
)
return (grads[: len(id_args)], grads[len(id_args) :]), transpose
return inner_recompute_grad(*wrapper_args)
return result, grad_wrapper
return inner
def recompute_grad(recompute=False):
"""Decorator determine whether use gradient checkpoint."""
def _wrapper(f):
if recompute:
return _recompute_grad(f)
return f
return _wrapper
| 5,997 |
324 | <reponame>tormath1/jclouds
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jclouds.azurecompute.arm.domain;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.fail;
import org.testng.annotations.Test;
@Test(groups = "unit", testName = "SubnetTest")
public class SubnetTest {
@Test
public void testExtractVirtualNetwork() {
assertEquals(Subnet.builder().build().virtualNetwork(), null);
assertEquals(
Subnet.builder()
.id("/subscriptions/subscription/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vn/subnets/subnet")
.build().virtualNetwork(), "vn");
assertInvalidId("/subscriptions/subscription/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks");
assertInvalidId("virtualNetworks/vn");
}
private static void assertInvalidId(String id) {
try {
Subnet.builder().id(id).build().virtualNetwork();
fail("The given ID " + id + "should not match a valid virtual network");
} catch (IllegalStateException ex) {
// Expected
}
}
}
| 608 |
679 | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*************************************************************/
//------------------------------------------------------------------------
// includes
//------------------------------------------------------------------------
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
#include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp>
#include <com/sun/star/ui/dialogs/CommonFilePickerElementIds.hpp>
#include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp>
#include <cppuhelper/interfacecontainer.h>
#include <osl/diagnose.h>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <FPServiceInfo.hxx>
#include <vos/mutex.hxx>
#include <vcl/svapp.hxx>
#include "SalAquaFolderPicker.hxx"
#include <tools/urlobj.hxx>
#include <iostream>
#include "resourceprovider.hxx"
#ifndef _SV_RC_H
#include <tools/rc.hxx>
#endif
#include <osl/file.hxx>
#include "CFStringUtilities.hxx"
#include "NSString_OOoAdditions.hxx"
#include "NSURL_OOoAdditions.hxx"
#pragma mark DEFINES
#define CLASS_NAME "SalAquaFolderPicker"
//------------------------------------------------------------------------
// namespace directives
//------------------------------------------------------------------------
using namespace ::rtl;
using namespace ::com::sun::star;
using namespace ::com::sun::star::ui::dialogs;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::uno;
//------------------------------------------------------------------------
// helper functions
//------------------------------------------------------------------------
namespace
{
// controlling event notifications
uno::Sequence<rtl::OUString> SAL_CALL FolderPicker_getSupportedServiceNames()
{
uno::Sequence<rtl::OUString> aRet(2);
aRet[0] = rtl::OUString::createFromAscii( "com.sun.star.ui.dialogs.SystemFolderPicker" );
aRet[1] = rtl::OUString::createFromAscii( "com.sun.star.ui.dialogs.AquaFolderPicker" );
return aRet;
}
}
//-----------------------------------------------------------------------------------------
// constructor
//-----------------------------------------------------------------------------------------
SalAquaFolderPicker::SalAquaFolderPicker( const uno::Reference<lang::XMultiServiceFactory>& xServiceMgr ) :
m_xServiceMgr( xServiceMgr )
{
DBG_PRINT_ENTRY(CLASS_NAME, __func__);
m_nDialogType = NAVIGATIONSERVICES_DIRECTORY;
DBG_PRINT_EXIT(CLASS_NAME, __func__);
}
//-----------------------------------------------------------------------------------------
// XExecutableDialog functions
//-----------------------------------------------------------------------------------------
void SAL_CALL SalAquaFolderPicker::setTitle( const rtl::OUString& aTitle ) throw( uno::RuntimeException )
{
DBG_PRINT_ENTRY(CLASS_NAME, __func__, "title", aTitle);
::vos::OGuard aGuard( Application::GetSolarMutex() );
implsetTitle(aTitle);
DBG_PRINT_EXIT(CLASS_NAME, __func__);
}
sal_Int16 SAL_CALL SalAquaFolderPicker::execute() throw( uno::RuntimeException )
{
DBG_PRINT_ENTRY(CLASS_NAME, __func__);
::vos::OGuard aGuard( Application::GetSolarMutex() );
sal_Int16 retVal = 0;
int nResult = runandwaitforresult();
switch( nResult )
{
case NSOKButton:
OSL_TRACE("Dialog returned with OK");
retVal = ExecutableDialogResults::OK;
break;
case NSCancelButton:
OSL_TRACE("Dialog was cancelled!");
retVal = ExecutableDialogResults::CANCEL;
break;
default:
throw uno::RuntimeException(rtl::OUString::createFromAscii("The dialog returned with an unknown result!"), static_cast< XFolderPicker* >( this ));
break;
}
DBG_PRINT_EXIT(CLASS_NAME, __func__);
return retVal;
}
//------------------------------------------------------------------------------------
// XFolderPicker functions
//------------------------------------------------------------------------------------
void SAL_CALL SalAquaFolderPicker::setDisplayDirectory( const rtl::OUString& aDirectory )
throw( lang::IllegalArgumentException, uno::RuntimeException )
{
DBG_PRINT_ENTRY(CLASS_NAME, __func__, "directory", aDirectory);
::vos::OGuard aGuard( Application::GetSolarMutex() );
implsetDisplayDirectory(aDirectory);
DBG_PRINT_EXIT(CLASS_NAME, __func__);
}
rtl::OUString SAL_CALL SalAquaFolderPicker::getDisplayDirectory() throw( uno::RuntimeException )
{
DBG_PRINT_ENTRY(CLASS_NAME, __func__);
::vos::OGuard aGuard( Application::GetSolarMutex() );
OUString aDirectory = implgetDisplayDirectory();
DBG_PRINT_EXIT(CLASS_NAME, __func__, aDirectory);
return aDirectory;
}
rtl::OUString SAL_CALL SalAquaFolderPicker::getDirectory() throw( uno::RuntimeException )
{
DBG_PRINT_ENTRY(CLASS_NAME, __func__);
::vos::OGuard aGuard( Application::GetSolarMutex() );
NSArray *files = nil;
if (m_nDialogType == NAVIGATIONSERVICES_DIRECTORY) {
files = [(NSOpenPanel*)m_pDialog URLs];
}
long nFiles = [files count];
OSL_TRACE("# of items: %d", nFiles);
if (nFiles < 1) {
throw uno::RuntimeException(rtl::OUString::createFromAscii("no directory selected"), static_cast< XFolderPicker* >( this ));
}
rtl::OUString aDirectory;
NSURL *url = [files objectAtIndex:0];
OSL_TRACE("handling %s", [[url description] UTF8String]);
aDirectory = [url OUStringForInfo:FULLPATH];
implsetDisplayDirectory(aDirectory);
OSL_TRACE("dir url: %s", OUStringToOString(aDirectory, RTL_TEXTENCODING_UTF8).getStr());
DBG_PRINT_EXIT(CLASS_NAME, __func__);
return aDirectory;
}
void SAL_CALL SalAquaFolderPicker::setDescription( const rtl::OUString& rDescription )
throw( uno::RuntimeException )
{
DBG_PRINT_ENTRY(CLASS_NAME, __func__, "description", rDescription);
[m_pDialog setMessage:[NSString stringWithOUString:rDescription]];
DBG_PRINT_EXIT(CLASS_NAME, __func__);
}
// -------------------------------------------------
// XServiceInfo
// -------------------------------------------------
rtl::OUString SAL_CALL SalAquaFolderPicker::getImplementationName()
throw( uno::RuntimeException )
{
DBG_PRINT_ENTRY(CLASS_NAME, __func__);
rtl::OUString retVal = rtl::OUString::createFromAscii( FOLDER_PICKER_IMPL_NAME );
DBG_PRINT_EXIT(CLASS_NAME, __func__, retVal);
return retVal;
}
sal_Bool SAL_CALL SalAquaFolderPicker::supportsService( const rtl::OUString& sServiceName )
throw( uno::RuntimeException )
{
DBG_PRINT_ENTRY(CLASS_NAME, __func__, "serviceName", sServiceName);
sal_Bool retVal = sal_False;
uno::Sequence <rtl::OUString> supportedServicesNames = FolderPicker_getSupportedServiceNames();
for( sal_Int32 n = supportedServicesNames.getLength(); n--; ) {
if( supportedServicesNames[n].compareTo( sServiceName ) == 0) {
retVal = sal_True;
break;
}
}
DBG_PRINT_EXIT(CLASS_NAME, __func__, retVal);
return retVal;
}
uno::Sequence<rtl::OUString> SAL_CALL SalAquaFolderPicker::getSupportedServiceNames()
throw( uno::RuntimeException )
{
DBG_PRINT_ENTRY(CLASS_NAME, __func__);
DBG_PRINT_EXIT(CLASS_NAME, __func__);
return FolderPicker_getSupportedServiceNames();
}
//------------------------------------------------------------------------------------
// XCancellable
//------------------------------------------------------------------------------------
void SAL_CALL SalAquaFolderPicker::cancel() throw( uno::RuntimeException )
{
DBG_PRINT_ENTRY(CLASS_NAME, __func__);
::vos::OGuard aGuard( Application::GetSolarMutex() );
[m_pDialog cancel:nil];
DBG_PRINT_EXIT(CLASS_NAME, __func__);
}
// -------------------------------------------------
// XEventListener
// -------------------------------------------------
void SAL_CALL SalAquaFolderPicker::disposing( const lang::EventObject& )
throw( uno::RuntimeException )
{
DBG_PRINT_ENTRY(CLASS_NAME, __func__);
DBG_PRINT_EXIT(CLASS_NAME, __func__);
}
| 2,996 |
407 | package com.alibaba.sreworks.dataset.domain.primary;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class DataInterfaceConfigExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public DataInterfaceConfigExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andGmtCreateIsNull() {
addCriterion("gmt_create is null");
return (Criteria) this;
}
public Criteria andGmtCreateIsNotNull() {
addCriterion("gmt_create is not null");
return (Criteria) this;
}
public Criteria andGmtCreateEqualTo(Date value) {
addCriterion("gmt_create =", value, "gmtCreate");
return (Criteria) this;
}
public Criteria andGmtCreateNotEqualTo(Date value) {
addCriterion("gmt_create <>", value, "gmtCreate");
return (Criteria) this;
}
public Criteria andGmtCreateGreaterThan(Date value) {
addCriterion("gmt_create >", value, "gmtCreate");
return (Criteria) this;
}
public Criteria andGmtCreateGreaterThanOrEqualTo(Date value) {
addCriterion("gmt_create >=", value, "gmtCreate");
return (Criteria) this;
}
public Criteria andGmtCreateLessThan(Date value) {
addCriterion("gmt_create <", value, "gmtCreate");
return (Criteria) this;
}
public Criteria andGmtCreateLessThanOrEqualTo(Date value) {
addCriterion("gmt_create <=", value, "gmtCreate");
return (Criteria) this;
}
public Criteria andGmtCreateIn(List<Date> values) {
addCriterion("gmt_create in", values, "gmtCreate");
return (Criteria) this;
}
public Criteria andGmtCreateNotIn(List<Date> values) {
addCriterion("gmt_create not in", values, "gmtCreate");
return (Criteria) this;
}
public Criteria andGmtCreateBetween(Date value1, Date value2) {
addCriterion("gmt_create between", value1, value2, "gmtCreate");
return (Criteria) this;
}
public Criteria andGmtCreateNotBetween(Date value1, Date value2) {
addCriterion("gmt_create not between", value1, value2, "gmtCreate");
return (Criteria) this;
}
public Criteria andGmtModifiedIsNull() {
addCriterion("gmt_modified is null");
return (Criteria) this;
}
public Criteria andGmtModifiedIsNotNull() {
addCriterion("gmt_modified is not null");
return (Criteria) this;
}
public Criteria andGmtModifiedEqualTo(Date value) {
addCriterion("gmt_modified =", value, "gmtModified");
return (Criteria) this;
}
public Criteria andGmtModifiedNotEqualTo(Date value) {
addCriterion("gmt_modified <>", value, "gmtModified");
return (Criteria) this;
}
public Criteria andGmtModifiedGreaterThan(Date value) {
addCriterion("gmt_modified >", value, "gmtModified");
return (Criteria) this;
}
public Criteria andGmtModifiedGreaterThanOrEqualTo(Date value) {
addCriterion("gmt_modified >=", value, "gmtModified");
return (Criteria) this;
}
public Criteria andGmtModifiedLessThan(Date value) {
addCriterion("gmt_modified <", value, "gmtModified");
return (Criteria) this;
}
public Criteria andGmtModifiedLessThanOrEqualTo(Date value) {
addCriterion("gmt_modified <=", value, "gmtModified");
return (Criteria) this;
}
public Criteria andGmtModifiedIn(List<Date> values) {
addCriterion("gmt_modified in", values, "gmtModified");
return (Criteria) this;
}
public Criteria andGmtModifiedNotIn(List<Date> values) {
addCriterion("gmt_modified not in", values, "gmtModified");
return (Criteria) this;
}
public Criteria andGmtModifiedBetween(Date value1, Date value2) {
addCriterion("gmt_modified between", value1, value2, "gmtModified");
return (Criteria) this;
}
public Criteria andGmtModifiedNotBetween(Date value1, Date value2) {
addCriterion("gmt_modified not between", value1, value2, "gmtModified");
return (Criteria) this;
}
public Criteria andNameIsNull() {
addCriterion("name is null");
return (Criteria) this;
}
public Criteria andNameIsNotNull() {
addCriterion("name is not null");
return (Criteria) this;
}
public Criteria andNameEqualTo(String value) {
addCriterion("name =", value, "name");
return (Criteria) this;
}
public Criteria andNameNotEqualTo(String value) {
addCriterion("name <>", value, "name");
return (Criteria) this;
}
public Criteria andNameGreaterThan(String value) {
addCriterion("name >", value, "name");
return (Criteria) this;
}
public Criteria andNameGreaterThanOrEqualTo(String value) {
addCriterion("name >=", value, "name");
return (Criteria) this;
}
public Criteria andNameLessThan(String value) {
addCriterion("name <", value, "name");
return (Criteria) this;
}
public Criteria andNameLessThanOrEqualTo(String value) {
addCriterion("name <=", value, "name");
return (Criteria) this;
}
public Criteria andNameLike(String value) {
addCriterion("name like", value, "name");
return (Criteria) this;
}
public Criteria andNameNotLike(String value) {
addCriterion("name not like", value, "name");
return (Criteria) this;
}
public Criteria andNameIn(List<String> values) {
addCriterion("name in", values, "name");
return (Criteria) this;
}
public Criteria andNameNotIn(List<String> values) {
addCriterion("name not in", values, "name");
return (Criteria) this;
}
public Criteria andNameBetween(String value1, String value2) {
addCriterion("name between", value1, value2, "name");
return (Criteria) this;
}
public Criteria andNameNotBetween(String value1, String value2) {
addCriterion("name not between", value1, value2, "name");
return (Criteria) this;
}
public Criteria andLabelIsNull() {
addCriterion("label is null");
return (Criteria) this;
}
public Criteria andLabelIsNotNull() {
addCriterion("label is not null");
return (Criteria) this;
}
public Criteria andLabelEqualTo(String value) {
addCriterion("label =", value, "label");
return (Criteria) this;
}
public Criteria andLabelNotEqualTo(String value) {
addCriterion("label <>", value, "label");
return (Criteria) this;
}
public Criteria andLabelGreaterThan(String value) {
addCriterion("label >", value, "label");
return (Criteria) this;
}
public Criteria andLabelGreaterThanOrEqualTo(String value) {
addCriterion("label >=", value, "label");
return (Criteria) this;
}
public Criteria andLabelLessThan(String value) {
addCriterion("label <", value, "label");
return (Criteria) this;
}
public Criteria andLabelLessThanOrEqualTo(String value) {
addCriterion("label <=", value, "label");
return (Criteria) this;
}
public Criteria andLabelLike(String value) {
addCriterion("label like", value, "label");
return (Criteria) this;
}
public Criteria andLabelNotLike(String value) {
addCriterion("label not like", value, "label");
return (Criteria) this;
}
public Criteria andLabelIn(List<String> values) {
addCriterion("label in", values, "label");
return (Criteria) this;
}
public Criteria andLabelNotIn(List<String> values) {
addCriterion("label not in", values, "label");
return (Criteria) this;
}
public Criteria andLabelBetween(String value1, String value2) {
addCriterion("label between", value1, value2, "label");
return (Criteria) this;
}
public Criteria andLabelNotBetween(String value1, String value2) {
addCriterion("label not between", value1, value2, "label");
return (Criteria) this;
}
public Criteria andBuildInIsNull() {
addCriterion("build_in is null");
return (Criteria) this;
}
public Criteria andBuildInIsNotNull() {
addCriterion("build_in is not null");
return (Criteria) this;
}
public Criteria andBuildInEqualTo(Boolean value) {
addCriterion("build_in =", value, "buildIn");
return (Criteria) this;
}
public Criteria andBuildInNotEqualTo(Boolean value) {
addCriterion("build_in <>", value, "buildIn");
return (Criteria) this;
}
public Criteria andBuildInGreaterThan(Boolean value) {
addCriterion("build_in >", value, "buildIn");
return (Criteria) this;
}
public Criteria andBuildInGreaterThanOrEqualTo(Boolean value) {
addCriterion("build_in >=", value, "buildIn");
return (Criteria) this;
}
public Criteria andBuildInLessThan(Boolean value) {
addCriterion("build_in <", value, "buildIn");
return (Criteria) this;
}
public Criteria andBuildInLessThanOrEqualTo(Boolean value) {
addCriterion("build_in <=", value, "buildIn");
return (Criteria) this;
}
public Criteria andBuildInIn(List<Boolean> values) {
addCriterion("build_in in", values, "buildIn");
return (Criteria) this;
}
public Criteria andBuildInNotIn(List<Boolean> values) {
addCriterion("build_in not in", values, "buildIn");
return (Criteria) this;
}
public Criteria andBuildInBetween(Boolean value1, Boolean value2) {
addCriterion("build_in between", value1, value2, "buildIn");
return (Criteria) this;
}
public Criteria andBuildInNotBetween(Boolean value1, Boolean value2) {
addCriterion("build_in not between", value1, value2, "buildIn");
return (Criteria) this;
}
public Criteria andModelIdIsNull() {
addCriterion("model_id is null");
return (Criteria) this;
}
public Criteria andModelIdIsNotNull() {
addCriterion("model_id is not null");
return (Criteria) this;
}
public Criteria andModelIdEqualTo(Integer value) {
addCriterion("model_id =", value, "modelId");
return (Criteria) this;
}
public Criteria andModelIdNotEqualTo(Integer value) {
addCriterion("model_id <>", value, "modelId");
return (Criteria) this;
}
public Criteria andModelIdGreaterThan(Integer value) {
addCriterion("model_id >", value, "modelId");
return (Criteria) this;
}
public Criteria andModelIdGreaterThanOrEqualTo(Integer value) {
addCriterion("model_id >=", value, "modelId");
return (Criteria) this;
}
public Criteria andModelIdLessThan(Integer value) {
addCriterion("model_id <", value, "modelId");
return (Criteria) this;
}
public Criteria andModelIdLessThanOrEqualTo(Integer value) {
addCriterion("model_id <=", value, "modelId");
return (Criteria) this;
}
public Criteria andModelIdIn(List<Integer> values) {
addCriterion("model_id in", values, "modelId");
return (Criteria) this;
}
public Criteria andModelIdNotIn(List<Integer> values) {
addCriterion("model_id not in", values, "modelId");
return (Criteria) this;
}
public Criteria andModelIdBetween(Integer value1, Integer value2) {
addCriterion("model_id between", value1, value2, "modelId");
return (Criteria) this;
}
public Criteria andModelIdNotBetween(Integer value1, Integer value2) {
addCriterion("model_id not between", value1, value2, "modelId");
return (Criteria) this;
}
public Criteria andTeamIdIsNull() {
addCriterion("team_id is null");
return (Criteria) this;
}
public Criteria andTeamIdIsNotNull() {
addCriterion("team_id is not null");
return (Criteria) this;
}
public Criteria andTeamIdEqualTo(Integer value) {
addCriterion("team_id =", value, "teamId");
return (Criteria) this;
}
public Criteria andTeamIdNotEqualTo(Integer value) {
addCriterion("team_id <>", value, "teamId");
return (Criteria) this;
}
public Criteria andTeamIdGreaterThan(Integer value) {
addCriterion("team_id >", value, "teamId");
return (Criteria) this;
}
public Criteria andTeamIdGreaterThanOrEqualTo(Integer value) {
addCriterion("team_id >=", value, "teamId");
return (Criteria) this;
}
public Criteria andTeamIdLessThan(Integer value) {
addCriterion("team_id <", value, "teamId");
return (Criteria) this;
}
public Criteria andTeamIdLessThanOrEqualTo(Integer value) {
addCriterion("team_id <=", value, "teamId");
return (Criteria) this;
}
public Criteria andTeamIdIn(List<Integer> values) {
addCriterion("team_id in", values, "teamId");
return (Criteria) this;
}
public Criteria andTeamIdNotIn(List<Integer> values) {
addCriterion("team_id not in", values, "teamId");
return (Criteria) this;
}
public Criteria andTeamIdBetween(Integer value1, Integer value2) {
addCriterion("team_id between", value1, value2, "teamId");
return (Criteria) this;
}
public Criteria andTeamIdNotBetween(Integer value1, Integer value2) {
addCriterion("team_id not between", value1, value2, "teamId");
return (Criteria) this;
}
public Criteria andCreatorIsNull() {
addCriterion("creator is null");
return (Criteria) this;
}
public Criteria andCreatorIsNotNull() {
addCriterion("creator is not null");
return (Criteria) this;
}
public Criteria andCreatorEqualTo(String value) {
addCriterion("creator =", value, "creator");
return (Criteria) this;
}
public Criteria andCreatorNotEqualTo(String value) {
addCriterion("creator <>", value, "creator");
return (Criteria) this;
}
public Criteria andCreatorGreaterThan(String value) {
addCriterion("creator >", value, "creator");
return (Criteria) this;
}
public Criteria andCreatorGreaterThanOrEqualTo(String value) {
addCriterion("creator >=", value, "creator");
return (Criteria) this;
}
public Criteria andCreatorLessThan(String value) {
addCriterion("creator <", value, "creator");
return (Criteria) this;
}
public Criteria andCreatorLessThanOrEqualTo(String value) {
addCriterion("creator <=", value, "creator");
return (Criteria) this;
}
public Criteria andCreatorLike(String value) {
addCriterion("creator like", value, "creator");
return (Criteria) this;
}
public Criteria andCreatorNotLike(String value) {
addCriterion("creator not like", value, "creator");
return (Criteria) this;
}
public Criteria andCreatorIn(List<String> values) {
addCriterion("creator in", values, "creator");
return (Criteria) this;
}
public Criteria andCreatorNotIn(List<String> values) {
addCriterion("creator not in", values, "creator");
return (Criteria) this;
}
public Criteria andCreatorBetween(String value1, String value2) {
addCriterion("creator between", value1, value2, "creator");
return (Criteria) this;
}
public Criteria andCreatorNotBetween(String value1, String value2) {
addCriterion("creator not between", value1, value2, "creator");
return (Criteria) this;
}
public Criteria andOwnersIsNull() {
addCriterion("owners is null");
return (Criteria) this;
}
public Criteria andOwnersIsNotNull() {
addCriterion("owners is not null");
return (Criteria) this;
}
public Criteria andOwnersEqualTo(String value) {
addCriterion("owners =", value, "owners");
return (Criteria) this;
}
public Criteria andOwnersNotEqualTo(String value) {
addCriterion("owners <>", value, "owners");
return (Criteria) this;
}
public Criteria andOwnersGreaterThan(String value) {
addCriterion("owners >", value, "owners");
return (Criteria) this;
}
public Criteria andOwnersGreaterThanOrEqualTo(String value) {
addCriterion("owners >=", value, "owners");
return (Criteria) this;
}
public Criteria andOwnersLessThan(String value) {
addCriterion("owners <", value, "owners");
return (Criteria) this;
}
public Criteria andOwnersLessThanOrEqualTo(String value) {
addCriterion("owners <=", value, "owners");
return (Criteria) this;
}
public Criteria andOwnersLike(String value) {
addCriterion("owners like", value, "owners");
return (Criteria) this;
}
public Criteria andOwnersNotLike(String value) {
addCriterion("owners not like", value, "owners");
return (Criteria) this;
}
public Criteria andOwnersIn(List<String> values) {
addCriterion("owners in", values, "owners");
return (Criteria) this;
}
public Criteria andOwnersNotIn(List<String> values) {
addCriterion("owners not in", values, "owners");
return (Criteria) this;
}
public Criteria andOwnersBetween(String value1, String value2) {
addCriterion("owners between", value1, value2, "owners");
return (Criteria) this;
}
public Criteria andOwnersNotBetween(String value1, String value2) {
addCriterion("owners not between", value1, value2, "owners");
return (Criteria) this;
}
public Criteria andRequestMethodIsNull() {
addCriterion("request_method is null");
return (Criteria) this;
}
public Criteria andRequestMethodIsNotNull() {
addCriterion("request_method is not null");
return (Criteria) this;
}
public Criteria andRequestMethodEqualTo(String value) {
addCriterion("request_method =", value, "requestMethod");
return (Criteria) this;
}
public Criteria andRequestMethodNotEqualTo(String value) {
addCriterion("request_method <>", value, "requestMethod");
return (Criteria) this;
}
public Criteria andRequestMethodGreaterThan(String value) {
addCriterion("request_method >", value, "requestMethod");
return (Criteria) this;
}
public Criteria andRequestMethodGreaterThanOrEqualTo(String value) {
addCriterion("request_method >=", value, "requestMethod");
return (Criteria) this;
}
public Criteria andRequestMethodLessThan(String value) {
addCriterion("request_method <", value, "requestMethod");
return (Criteria) this;
}
public Criteria andRequestMethodLessThanOrEqualTo(String value) {
addCriterion("request_method <=", value, "requestMethod");
return (Criteria) this;
}
public Criteria andRequestMethodLike(String value) {
addCriterion("request_method like", value, "requestMethod");
return (Criteria) this;
}
public Criteria andRequestMethodNotLike(String value) {
addCriterion("request_method not like", value, "requestMethod");
return (Criteria) this;
}
public Criteria andRequestMethodIn(List<String> values) {
addCriterion("request_method in", values, "requestMethod");
return (Criteria) this;
}
public Criteria andRequestMethodNotIn(List<String> values) {
addCriterion("request_method not in", values, "requestMethod");
return (Criteria) this;
}
public Criteria andRequestMethodBetween(String value1, String value2) {
addCriterion("request_method between", value1, value2, "requestMethod");
return (Criteria) this;
}
public Criteria andRequestMethodNotBetween(String value1, String value2) {
addCriterion("request_method not between", value1, value2, "requestMethod");
return (Criteria) this;
}
public Criteria andContentTypeIsNull() {
addCriterion("content_type is null");
return (Criteria) this;
}
public Criteria andContentTypeIsNotNull() {
addCriterion("content_type is not null");
return (Criteria) this;
}
public Criteria andContentTypeEqualTo(String value) {
addCriterion("content_type =", value, "contentType");
return (Criteria) this;
}
public Criteria andContentTypeNotEqualTo(String value) {
addCriterion("content_type <>", value, "contentType");
return (Criteria) this;
}
public Criteria andContentTypeGreaterThan(String value) {
addCriterion("content_type >", value, "contentType");
return (Criteria) this;
}
public Criteria andContentTypeGreaterThanOrEqualTo(String value) {
addCriterion("content_type >=", value, "contentType");
return (Criteria) this;
}
public Criteria andContentTypeLessThan(String value) {
addCriterion("content_type <", value, "contentType");
return (Criteria) this;
}
public Criteria andContentTypeLessThanOrEqualTo(String value) {
addCriterion("content_type <=", value, "contentType");
return (Criteria) this;
}
public Criteria andContentTypeLike(String value) {
addCriterion("content_type like", value, "contentType");
return (Criteria) this;
}
public Criteria andContentTypeNotLike(String value) {
addCriterion("content_type not like", value, "contentType");
return (Criteria) this;
}
public Criteria andContentTypeIn(List<String> values) {
addCriterion("content_type in", values, "contentType");
return (Criteria) this;
}
public Criteria andContentTypeNotIn(List<String> values) {
addCriterion("content_type not in", values, "contentType");
return (Criteria) this;
}
public Criteria andContentTypeBetween(String value1, String value2) {
addCriterion("content_type between", value1, value2, "contentType");
return (Criteria) this;
}
public Criteria andContentTypeNotBetween(String value1, String value2) {
addCriterion("content_type not between", value1, value2, "contentType");
return (Criteria) this;
}
public Criteria andSortFieldsIsNull() {
addCriterion("sort_fields is null");
return (Criteria) this;
}
public Criteria andSortFieldsIsNotNull() {
addCriterion("sort_fields is not null");
return (Criteria) this;
}
public Criteria andSortFieldsEqualTo(String value) {
addCriterion("sort_fields =", value, "sortFields");
return (Criteria) this;
}
public Criteria andSortFieldsNotEqualTo(String value) {
addCriterion("sort_fields <>", value, "sortFields");
return (Criteria) this;
}
public Criteria andSortFieldsGreaterThan(String value) {
addCriterion("sort_fields >", value, "sortFields");
return (Criteria) this;
}
public Criteria andSortFieldsGreaterThanOrEqualTo(String value) {
addCriterion("sort_fields >=", value, "sortFields");
return (Criteria) this;
}
public Criteria andSortFieldsLessThan(String value) {
addCriterion("sort_fields <", value, "sortFields");
return (Criteria) this;
}
public Criteria andSortFieldsLessThanOrEqualTo(String value) {
addCriterion("sort_fields <=", value, "sortFields");
return (Criteria) this;
}
public Criteria andSortFieldsLike(String value) {
addCriterion("sort_fields like", value, "sortFields");
return (Criteria) this;
}
public Criteria andSortFieldsNotLike(String value) {
addCriterion("sort_fields not like", value, "sortFields");
return (Criteria) this;
}
public Criteria andSortFieldsIn(List<String> values) {
addCriterion("sort_fields in", values, "sortFields");
return (Criteria) this;
}
public Criteria andSortFieldsNotIn(List<String> values) {
addCriterion("sort_fields not in", values, "sortFields");
return (Criteria) this;
}
public Criteria andSortFieldsBetween(String value1, String value2) {
addCriterion("sort_fields between", value1, value2, "sortFields");
return (Criteria) this;
}
public Criteria andSortFieldsNotBetween(String value1, String value2) {
addCriterion("sort_fields not between", value1, value2, "sortFields");
return (Criteria) this;
}
public Criteria andPagingIsNull() {
addCriterion("paging is null");
return (Criteria) this;
}
public Criteria andPagingIsNotNull() {
addCriterion("paging is not null");
return (Criteria) this;
}
public Criteria andPagingEqualTo(Boolean value) {
addCriterion("paging =", value, "paging");
return (Criteria) this;
}
public Criteria andPagingNotEqualTo(Boolean value) {
addCriterion("paging <>", value, "paging");
return (Criteria) this;
}
public Criteria andPagingGreaterThan(Boolean value) {
addCriterion("paging >", value, "paging");
return (Criteria) this;
}
public Criteria andPagingGreaterThanOrEqualTo(Boolean value) {
addCriterion("paging >=", value, "paging");
return (Criteria) this;
}
public Criteria andPagingLessThan(Boolean value) {
addCriterion("paging <", value, "paging");
return (Criteria) this;
}
public Criteria andPagingLessThanOrEqualTo(Boolean value) {
addCriterion("paging <=", value, "paging");
return (Criteria) this;
}
public Criteria andPagingIn(List<Boolean> values) {
addCriterion("paging in", values, "paging");
return (Criteria) this;
}
public Criteria andPagingNotIn(List<Boolean> values) {
addCriterion("paging not in", values, "paging");
return (Criteria) this;
}
public Criteria andPagingBetween(Boolean value1, Boolean value2) {
addCriterion("paging between", value1, value2, "paging");
return (Criteria) this;
}
public Criteria andPagingNotBetween(Boolean value1, Boolean value2) {
addCriterion("paging not between", value1, value2, "paging");
return (Criteria) this;
}
public Criteria andNameLikeInsensitive(String value) {
addCriterion("upper(name) like", value.toUpperCase(), "name");
return (Criteria) this;
}
public Criteria andLabelLikeInsensitive(String value) {
addCriterion("upper(label) like", value.toUpperCase(), "label");
return (Criteria) this;
}
public Criteria andCreatorLikeInsensitive(String value) {
addCriterion("upper(creator) like", value.toUpperCase(), "creator");
return (Criteria) this;
}
public Criteria andOwnersLikeInsensitive(String value) {
addCriterion("upper(owners) like", value.toUpperCase(), "owners");
return (Criteria) this;
}
public Criteria andRequestMethodLikeInsensitive(String value) {
addCriterion("upper(request_method) like", value.toUpperCase(), "requestMethod");
return (Criteria) this;
}
public Criteria andContentTypeLikeInsensitive(String value) {
addCriterion("upper(content_type) like", value.toUpperCase(), "contentType");
return (Criteria) this;
}
public Criteria andSortFieldsLikeInsensitive(String value) {
addCriterion("upper(sort_fields) like", value.toUpperCase(), "sortFields");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
} | 16,911 |
9,156 | <reponame>turtlequeue/pulsar
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.pulsar.tests;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertTrue;
import java.util.HashSet;
import java.util.Objects;
import java.util.Set;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutionException;
import org.testng.annotations.Test;
public class ThreadLocalStateCleanerTest {
final ThreadLocal<Integer> magicNumberThreadLocal = ThreadLocal.withInitial(() -> 42);
@Test
public void testThreadLocalStateCleanupInCurrentThread() {
magicNumberThreadLocal.set(44);
assertEquals(magicNumberThreadLocal.get().intValue(), 44);
ThreadLocalStateCleaner.INSTANCE.cleanupThreadLocal(magicNumberThreadLocal, Thread.currentThread(), null);
assertEquals(magicNumberThreadLocal.get().intValue(), 42);
}
private static class ThreadValueEntry {
private final Thread thread;
private final Object value;
private ThreadValueEntry(Thread thread, Object value) {
this.thread = thread;
this.value = value;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ThreadValueEntry that = (ThreadValueEntry) o;
return Objects.equals(thread, that.thread) && Objects.equals(value, that.value);
}
@Override
public int hashCode() {
return Objects.hash(thread, value);
}
}
@Test
public void testThreadLocalStateCleanupInCurrentAndOtherThread() throws InterruptedException, ExecutionException {
magicNumberThreadLocal.set(44);
assertEquals(magicNumberThreadLocal.get().intValue(), 44);
CountDownLatch numberHasBeenSet = new CountDownLatch(1);
CountDownLatch shutdownLatch = new CountDownLatch(1);
CompletableFuture<Integer> valueAfterReset = new CompletableFuture<>();
Thread thread = new Thread(() -> {
try {
magicNumberThreadLocal.set(45);
assertEquals(magicNumberThreadLocal.get().intValue(), 45);
numberHasBeenSet.countDown();
shutdownLatch.await();
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw new RuntimeException(e);
} finally {
valueAfterReset.complete(magicNumberThreadLocal.get());
}
});
thread.start();
numberHasBeenSet.await();
Set<ThreadValueEntry> replacedValues = new HashSet<>();
ThreadLocalStateCleaner.INSTANCE.cleanupThreadLocal(magicNumberThreadLocal, (t, currentValue) -> {
replacedValues.add(new ThreadValueEntry(t, currentValue));
});
shutdownLatch.countDown();
assertEquals(magicNumberThreadLocal.get().intValue(), 42);
assertEquals(valueAfterReset.get().intValue(), 42);
assertEquals(replacedValues.size(), 2);
assertTrue(replacedValues.contains(new ThreadValueEntry(thread, 45)));
assertTrue(replacedValues.contains(new ThreadValueEntry(Thread.currentThread(), 44)));
}
} | 1,554 |
3,083 | <reponame>myArea51/binnavi<gh_stars>1000+
/*
Copyright 2014 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package com.google.security.zynamics.binnavi.disassembly.types;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
@RunWith(Suite.class)
@SuiteClasses({BaseTypeTest.class, BaseTypeHelpersTests.class, RawBaseTypeTests.class,
RawTypeInstanceReferenceTests.class, RawTypeInstanceTests.class, RawTypeMemberTests.class,
RawTypeSubstitutionTests.class, SectionContainerBackendTest.class, SectionContainerTests.class,
SectionTests.class, TypeDependenceGraphTests.class, TypeInstanceContainerBackendTest.class,
TypeInstanceContainerTests.class, TypeInstanceTest.class, TypeManagerDatabaseBackendTests.class,
TypeManagerInstantiationTests.class, TypeManagerTest.class, TypeMemberTest.class,
TypeSubstitutionTest.class})
public final class SimpleTests {
}
| 432 |
1,279 | <gh_stars>1000+
[
{ "LogicalResourceId":"MyApiDeployment", "ResourceType":"AWS::ApiGateway::Deployment" },
{ "LogicalResourceId":"MyApi", "ResourceType":"AWS::ApiGateway::RestApi" },
{ "LogicalResourceId":"MyApiProdStage", "ResourceType":"AWS::ApiGateway::Stage" },
{ "LogicalResourceId":"MyLambda", "ResourceType":"AWS::Lambda::Function" },
{ "LogicalResourceId":"MyLambdaNonePermissionProd", "ResourceType":"AWS::Lambda::Permission" },
{ "LogicalResourceId":"MyLambdaRole", "ResourceType":"AWS::IAM::Role" }
] | 193 |
1,443 | {
"copyright": "UnlimitedBytes",
"url": "https://unlimitedbytes.ovh",
"email": "<EMAIL>",
"format": "html"
} | 47 |
1,091 | /*
* Copyright 2018-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.onosproject.store.atomix.primitives.impl;
import org.onosproject.store.service.TransactionalMap;
/**
* Atomix transactional map.
*/
public class AtomixTransactionalMap<K, V> implements TransactionalMap<K, V> {
private final io.atomix.core.transaction.TransactionalMap<K, V> atomixMap;
public AtomixTransactionalMap(io.atomix.core.transaction.TransactionalMap<K, V> atomixMap) {
this.atomixMap = atomixMap;
}
@Override
public V get(K key) {
return atomixMap.get(key);
}
@Override
public boolean containsKey(K key) {
return atomixMap.containsKey(key);
}
@Override
public V put(K key, V value) {
return atomixMap.put(key, value);
}
@Override
public V remove(K key) {
return atomixMap.remove(key);
}
@Override
public V putIfAbsent(K key, V value) {
return atomixMap.putIfAbsent(key, value);
}
@Override
public boolean remove(K key, V value) {
return atomixMap.remove(key, value);
}
@Override
public boolean replace(K key, V oldValue, V newValue) {
return atomixMap.replace(key, oldValue, newValue);
}
}
| 638 |
418 | /*
Copyright (C) 2006, 2010 Sony Computer Entertainment Inc.
All rights reserved.
Redistribution and use in source and binary forms,
with or without modification, are permitted provided that the
following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the Sony Computer Entertainment Inc nor the names
of its contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _SIMD_VECTORMATH_QUAT_AOS_CPP_H
#define _SIMD_VECTORMATH_QUAT_AOS_CPP_H
//-----------------------------------------------------------------------------
// Definitions
#ifndef _SIMD_VECTORMATH_INTERNAL_FUNCTIONS
#define _SIMD_VECTORMATH_INTERNAL_FUNCTIONS
#endif
namespace FmVectormath {
SIMD_VECTORMATH_FORCE_INLINE void SimdQuat::set128(__m128 vec)
{
mVec128 = vec;
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat::SimdQuat( const SimdFloat &_x, const SimdFloat &_y, const SimdFloat &_z, const SimdFloat &_w )
{
mVec128 = _mm_unpacklo_ps(
_mm_unpacklo_ps( _x.get128(), _z.get128() ),
_mm_unpacklo_ps( _y.get128(), _w.get128() ) );
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat::SimdQuat( const SimdVector3 &xyz, float _w )
{
mVec128 = xyz.get128();
mVec128 = simd_insertw_ps(mVec128, _w);
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat::SimdQuat(const SimdQuat& quat)
{
mVec128 = quat.get128();
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat::SimdQuat( float _x, float _y, float _z, float _w )
{
mVec128 = _mm_setr_ps(_x, _y, _z, _w);
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat::SimdQuat( const SimdVector3 &xyz, const SimdFloat &_w )
{
mVec128 = xyz.get128();
mVec128 = simd_insertw_ps(mVec128, _w.get128());
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat::SimdQuat( const SimdVector4 & vec )
{
mVec128 = vec.get128();
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat::SimdQuat( float scalar )
{
mVec128 = SimdFloat(scalar).get128();
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat::SimdQuat( const SimdFloat &scalar )
{
mVec128 = scalar.get128();
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat::SimdQuat( __m128 vf4 )
{
mVec128 = vf4;
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat SimdQuat::identity( )
{
return SimdQuat( _SIMD_VECTORMATH_UNIT_0001 );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat lerp( float t, const SimdQuat & quat0, const SimdQuat & quat1 )
{
return lerp( SimdFloat(t), quat0, quat1 );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat lerp( const SimdFloat &t, const SimdQuat & quat0, const SimdQuat & quat1 )
{
return ( quat0 + ( ( quat1 - quat0 ) * t ) );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat slerp( float t, const SimdQuat & unitSimdQuat0, const SimdQuat & unitSimdQuat1 )
{
return slerp( SimdFloat(t), unitSimdQuat0, unitSimdQuat1 );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat slerp( const SimdFloat &t, const SimdQuat & unitSimdQuat0, const SimdQuat & unitSimdQuat1 )
{
SimdQuat start;
__m128 scales, scale0, scale1, cosAngle, angle, tttt, oneMinusT, angles, sines;
__m128 selectMask;
cosAngle = _vmathVfDot4( unitSimdQuat0.get128(), unitSimdQuat1.get128() );
selectMask = (__m128)_mm_cmpgt_ps( _mm_setzero_ps(), cosAngle );
cosAngle = simd_select_ps( cosAngle, simd_negate_ps( cosAngle ), selectMask );
start = SimdQuat( simd_select_ps( unitSimdQuat0.get128(), simd_negate_ps( unitSimdQuat0.get128() ), selectMask ) );
selectMask = (__m128)_mm_cmpgt_ps( _mm_set1_ps(_SIMD_VECTORMATH_SLERP_TOL), cosAngle );
angle = simd_acos_ps( cosAngle );
tttt = t.get128();
oneMinusT = _mm_sub_ps( _mm_set1_ps(1.0f), tttt );
angles = _mm_unpacklo_ps( _mm_set1_ps(1.0f), tttt );
angles = _mm_unpacklo_ps( angles, oneMinusT );
angles = simd_madd_ps( angles, angle, _mm_setzero_ps() );
sines = simd_sin_ps( angles );
scales = _mm_div_ps( sines, simd_broadcast_ps( sines, 0 ) );
scale0 = simd_select_ps( oneMinusT, simd_broadcast_ps( scales, 1 ), selectMask );
scale1 = simd_select_ps( tttt, simd_broadcast_ps( scales, 2 ), selectMask );
return SimdQuat( simd_madd_ps( start.get128(), scale0, _mm_mul_ps( unitSimdQuat1.get128(), scale1 ) ) );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat squad( float t, const SimdQuat & unitSimdQuat0, const SimdQuat & unitSimdQuat1, const SimdQuat & unitSimdQuat2, const SimdQuat & unitSimdQuat3 )
{
return squad( SimdFloat(t), unitSimdQuat0, unitSimdQuat1, unitSimdQuat2, unitSimdQuat3 );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat squad( const SimdFloat &t, const SimdQuat & unitSimdQuat0, const SimdQuat & unitSimdQuat1, const SimdQuat & unitSimdQuat2, const SimdQuat & unitSimdQuat3 )
{
return slerp( ( ( SimdFloat(2.0f) * t ) * ( SimdFloat(1.0f) - t ) ), slerp( t, unitSimdQuat0, unitSimdQuat3 ), slerp( t, unitSimdQuat1, unitSimdQuat2 ) );
}
SIMD_VECTORMATH_FORCE_INLINE __m128 SimdQuat::get128( ) const
{
return mVec128;
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat & SimdQuat::operator =( const SimdQuat & quat )
{
mVec128 = quat.mVec128;
return *this;
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat & SimdQuat::setXYZ( const SimdVector3 & vec )
{
SIMD_VECTORMATH_ALIGN16 unsigned int sw[4] = {0, 0, 0, 0xffffffff};
mVec128 = simd_select_ps( vec.get128(), mVec128, sw );
return *this;
}
SIMD_VECTORMATH_FORCE_INLINE const SimdVector3 SimdQuat::getXYZ( ) const
{
return SimdVector3( mVec128 );
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat & SimdQuat::setX( float _x )
{
mVec128 = simd_insertx_ps(mVec128, _x);
return *this;
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat & SimdQuat::setX( const SimdFloat &_x )
{
mVec128 = simd_insertx_ps(mVec128, _x.get128());
return *this;
}
SIMD_VECTORMATH_FORCE_INLINE const SimdFloat SimdQuat::getX( ) const
{
return SimdFloat(simd_broadcast_ps(mVec128, 0));
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat & SimdQuat::setY( float _y )
{
mVec128 = simd_inserty_ps(mVec128, _y);
return *this;
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat & SimdQuat::setY( const SimdFloat &_y )
{
mVec128 = simd_inserty_ps(mVec128, _y.get128());
return *this;
}
SIMD_VECTORMATH_FORCE_INLINE const SimdFloat SimdQuat::getY( ) const
{
return SimdFloat(simd_broadcast_ps(mVec128, 1));
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat & SimdQuat::setZ( float _z )
{
mVec128 = simd_insertz_ps(mVec128, _z);
return *this;
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat & SimdQuat::setZ( const SimdFloat &_z )
{
mVec128 = simd_insertz_ps(mVec128, _z.get128());
return *this;
}
SIMD_VECTORMATH_FORCE_INLINE const SimdFloat SimdQuat::getZ( ) const
{
return SimdFloat(simd_broadcast_ps(mVec128, 2));
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat & SimdQuat::setW( float _w )
{
mVec128 = simd_insertw_ps(mVec128, _w);
return *this;
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat & SimdQuat::setW( const SimdFloat &_w )
{
mVec128 = simd_insertw_ps(mVec128, _w.get128());
return *this;
}
SIMD_VECTORMATH_FORCE_INLINE const SimdFloat SimdQuat::getW( ) const
{
return SimdFloat(simd_broadcast_ps(mVec128, 3));
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat & SimdQuat::setElem( int idx, float value )
{
simd_setelem_ps(mVec128, value, idx);
return *this;
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat & SimdQuat::setElem( int idx, const SimdFloat & value )
{
simd_setelem_ps(mVec128, value.get128(), idx);
return *this;
}
SIMD_VECTORMATH_FORCE_INLINE const SimdFloat SimdQuat::getElem( int idx ) const
{
return SimdFloat( mVec128, idx );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat SimdQuat::operator +( const SimdQuat & quat ) const
{
return SimdQuat( _mm_add_ps( mVec128, quat.mVec128 ) );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat SimdQuat::operator -( const SimdQuat & quat ) const
{
return SimdQuat( _mm_sub_ps( mVec128, quat.mVec128 ) );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat SimdQuat::operator *( float scalar ) const
{
return *this * SimdFloat(scalar);
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat SimdQuat::operator *( const SimdFloat &scalar ) const
{
return SimdQuat( _mm_mul_ps( mVec128, scalar.get128() ) );
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat & SimdQuat::operator +=( const SimdQuat & quat )
{
*this = *this + quat;
return *this;
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat & SimdQuat::operator -=( const SimdQuat & quat )
{
*this = *this - quat;
return *this;
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat & SimdQuat::operator *=( float scalar )
{
*this = *this * scalar;
return *this;
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat & SimdQuat::operator *=( const SimdFloat &scalar )
{
*this = *this * scalar;
return *this;
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat SimdQuat::operator /( float scalar ) const
{
return *this / SimdFloat(scalar);
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat SimdQuat::operator /( const SimdFloat &scalar ) const
{
return SimdQuat( _mm_div_ps( mVec128, scalar.get128() ) );
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat & SimdQuat::operator /=( float scalar )
{
*this = *this / scalar;
return *this;
}
SIMD_VECTORMATH_FORCE_INLINE SimdQuat & SimdQuat::operator /=( const SimdFloat &scalar )
{
*this = *this / scalar;
return *this;
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat SimdQuat::operator -( ) const
{
return SimdQuat(_mm_sub_ps( _mm_setzero_ps(), mVec128 ) );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat operator *( float scalar, const SimdQuat & quat )
{
return SimdFloat(scalar) * quat;
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat operator *( const SimdFloat &scalar, const SimdQuat & quat )
{
return quat * scalar;
}
SIMD_VECTORMATH_FORCE_INLINE const SimdFloat dot( const SimdQuat & quat0, const SimdQuat & quat1 )
{
return SimdFloat( _vmathVfDot4( quat0.get128(), quat1.get128() ) );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdFloat norm( const SimdQuat & quat )
{
return SimdFloat( _vmathVfDot4( quat.get128(), quat.get128() ) );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdFloat length( const SimdQuat & quat )
{
return SimdFloat( _mm_sqrt_ps(_vmathVfDot4( quat.get128(), quat.get128() )) );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat normalize( const SimdQuat & quat )
{
__m128 dot =_vmathVfDot4( quat.get128(), quat.get128());
return SimdQuat( _mm_mul_ps( quat.get128(), simd_rsqrt_newtonraphson_ps( dot ) ) );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat SimdQuat::rotation( const SimdVector3 & unitVec0, const SimdVector3 & unitVec1 )
{
SimdVector3 crossVec;
__m128 cosAngle, cosAngleX2Plus2, recipCosHalfAngleX2, cosHalfAngleX2, res;
cosAngle = _vmathVfDot3( unitVec0.get128(), unitVec1.get128() );
cosAngleX2Plus2 = simd_madd_ps( cosAngle, _mm_set1_ps(2.0f), _mm_set1_ps(2.0f) );
recipCosHalfAngleX2 = _mm_rsqrt_ps( cosAngleX2Plus2 );
cosHalfAngleX2 = _mm_mul_ps( recipCosHalfAngleX2, cosAngleX2Plus2 );
crossVec = cross( unitVec0, unitVec1 );
res = _mm_mul_ps( crossVec.get128(), recipCosHalfAngleX2 );
SIMD_VECTORMATH_ALIGN16 unsigned int sw[4] = {0, 0, 0, 0xffffffff};
res = simd_select_ps( res, _mm_mul_ps( cosHalfAngleX2, _mm_set1_ps(0.5f) ), sw );
return SimdQuat( res );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat SimdQuat::rotation( float radians, const SimdVector3 & unitVec )
{
return rotation( SimdFloat(radians), unitVec );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat SimdQuat::rotation( const SimdFloat &radians, const SimdVector3 & unitVec )
{
__m128 s, c, angle, res;
angle = _mm_mul_ps( radians.get128(), _mm_set1_ps(0.5f) );
simd_sincos_ps( angle, &s, &c );
SIMD_VECTORMATH_ALIGN16 unsigned int sw[4] = {0, 0, 0, 0xffffffff};
res = simd_select_ps( _mm_mul_ps( unitVec.get128(), s ), c, sw );
return SimdQuat( res );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat SimdQuat::rotationX( float radians )
{
return rotationX( SimdFloat(radians) );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat SimdQuat::rotationX( const SimdFloat &radians )
{
__m128 s, c, angle, res;
angle = _mm_mul_ps( radians.get128(), _mm_set1_ps(0.5f) );
simd_sincos_ps( angle, &s, &c );
SIMD_VECTORMATH_ALIGN16 unsigned int xsw[4] = {0xffffffff, 0, 0, 0};
SIMD_VECTORMATH_ALIGN16 unsigned int wsw[4] = {0, 0, 0, 0xffffffff};
res = simd_select_ps( _mm_setzero_ps(), s, xsw );
res = simd_select_ps( res, c, wsw );
return SimdQuat( res );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat SimdQuat::rotationY( float radians )
{
return rotationY( SimdFloat(radians) );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat SimdQuat::rotationY( const SimdFloat &radians )
{
__m128 s, c, angle, res;
angle = _mm_mul_ps( radians.get128(), _mm_set1_ps(0.5f) );
simd_sincos_ps( angle, &s, &c );
SIMD_VECTORMATH_ALIGN16 unsigned int ysw[4] = {0, 0xffffffff, 0, 0};
SIMD_VECTORMATH_ALIGN16 unsigned int wsw[4] = {0, 0, 0, 0xffffffff};
res = simd_select_ps( _mm_setzero_ps(), s, ysw );
res = simd_select_ps( res, c, wsw );
return SimdQuat( res );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat SimdQuat::rotationZ( float radians )
{
return rotationZ( SimdFloat(radians) );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat SimdQuat::rotationZ( const SimdFloat &radians )
{
__m128 s, c, angle, res;
angle = _mm_mul_ps( radians.get128(), _mm_set1_ps(0.5f) );
simd_sincos_ps( angle, &s, &c );
SIMD_VECTORMATH_ALIGN16 unsigned int zsw[4] = {0, 0, 0xffffffff, 0};
SIMD_VECTORMATH_ALIGN16 unsigned int wsw[4] = {0, 0, 0, 0xffffffff};
res = simd_select_ps( _mm_setzero_ps(), s, zsw );
res = simd_select_ps( res, c, wsw );
return SimdQuat( res );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat mul(const SimdQuat& quat0, const SimdQuat & quat1 )
{
__m128 ldata, rdata, qv, tmp0, tmp1, tmp2, tmp3;
__m128 product, l_wxyz, r_wxyz, xy, qw;
ldata = quat0.mVec128;
rdata = quat1.mVec128;
tmp0 = _mm_shuffle_ps( ldata, ldata, _MM_SHUFFLE(3,0,2,1) );
tmp1 = _mm_shuffle_ps( rdata, rdata, _MM_SHUFFLE(3,1,0,2) );
tmp2 = _mm_shuffle_ps( ldata, ldata, _MM_SHUFFLE(3,1,0,2) );
tmp3 = _mm_shuffle_ps( rdata, rdata, _MM_SHUFFLE(3,0,2,1) );
qv = _mm_mul_ps( simd_broadcast_ps( ldata, 3 ), rdata );
qv = simd_madd_ps( simd_broadcast_ps( rdata, 3 ), ldata, qv );
qv = simd_madd_ps( tmp0, tmp1, qv );
qv = simd_fnmadd_ps( tmp2, tmp3, qv );
product = _mm_mul_ps( ldata, rdata );
l_wxyz = simd_ror_ps( ldata, 3 );
r_wxyz = simd_ror_ps( rdata, 3 );
qw = simd_fnmadd_ps( l_wxyz, r_wxyz, product );
xy = simd_madd_ps( l_wxyz, r_wxyz, product );
qw = _mm_sub_ps( qw, simd_ror_ps( xy, 2 ) );
SIMD_VECTORMATH_ALIGN16 unsigned int sw[4] = {0, 0, 0, 0xffffffff};
return SimdQuat( simd_select_ps( qv, qw, sw ) );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdVector3 rotate( const SimdQuat & quat, const SimdVector3 & vec )
{ __m128 qdata, vdata, product, tmp0, tmp1, tmp2, tmp3, wwww, qv, qw, res;
qdata = quat.get128();
vdata = vec.get128();
tmp0 = _mm_shuffle_ps( qdata, qdata, _MM_SHUFFLE(3,0,2,1) );
tmp1 = _mm_shuffle_ps( vdata, vdata, _MM_SHUFFLE(3,1,0,2) );
tmp2 = _mm_shuffle_ps( qdata, qdata, _MM_SHUFFLE(3,1,0,2) );
tmp3 = _mm_shuffle_ps( vdata, vdata, _MM_SHUFFLE(3,0,2,1) );
wwww = simd_broadcast_ps( qdata, 3 );
qv = _mm_mul_ps( wwww, vdata );
qv = simd_madd_ps( tmp0, tmp1, qv );
qv = simd_fnmadd_ps( tmp2, tmp3, qv );
product = _mm_mul_ps( qdata, vdata );
qw = simd_madd_ps( simd_ror_ps( qdata, 1 ), simd_ror_ps( vdata, 1 ), product );
qw = _mm_add_ps( simd_ror_ps( product, 2 ), qw );
tmp1 = _mm_shuffle_ps( qv, qv, _MM_SHUFFLE(3,1,0,2) );
tmp3 = _mm_shuffle_ps( qv, qv, _MM_SHUFFLE(3,0,2,1) );
res = _mm_mul_ps( simd_broadcast_ps( qw, 0 ), qdata );
res = simd_madd_ps( wwww, qv, res );
res = simd_madd_ps( tmp0, tmp1, res );
res = simd_fnmadd_ps( tmp2, tmp3, res );
return SimdVector3( res );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat conj( const SimdQuat & quat )
{
SIMD_VECTORMATH_ALIGN16 unsigned int sw[4] = {0x80000000,0x80000000,0x80000000,0};
return SimdQuat( _mm_xor_ps( quat.get128(), _mm_load_ps((float *)sw) ) );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat select( const SimdQuat & quat0, const SimdQuat & quat1, bool select1 )
{
return select( quat0, quat1, SimdBool(select1) );
}
SIMD_VECTORMATH_FORCE_INLINE const SimdQuat select( const SimdQuat & quat0, const SimdQuat & quat1, const SimdBool &select1 )
{
return SimdQuat( simd_select_ps( quat0.get128(), quat1.get128(), select1.get128() ) );
}
SIMD_VECTORMATH_FORCE_INLINE void loadXYZW(SimdQuat& quat, const float* fptr)
{
quat = SimdQuat( simd_load4_unaligned_ps(fptr) );
}
SIMD_VECTORMATH_FORCE_INLINE void storeXYZW(const SimdQuat& quat, float* fptr)
{
simd_store4_unaligned_ps(fptr, quat.get128());
}
#ifdef _VECTORMATH_DEBUG
SIMD_VECTORMATH_FORCE_INLINE void print( const SimdQuat & quat )
{
union { __m128 v; float s[4]; } tmp;
tmp.v = quat.get128();
printf( "( %f %f %f %f )\n", tmp.s[0], tmp.s[1], tmp.s[2], tmp.s[3] );
}
SIMD_VECTORMATH_FORCE_INLINE void print( const SimdQuat & quat, const char * name )
{
union { __m128 v; float s[4]; } tmp;
tmp.v = quat.get128();
printf( "%s: ( %f %f %f %f )\n", name, tmp.s[0], tmp.s[1], tmp.s[2], tmp.s[3] );
}
#endif
} // namespace FmVectormath
#endif
| 8,519 |
2,151 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_UI_SETTINGS_CELLS_PASSWORD_DETAILS_ITEM_H_
#define IOS_CHROME_BROWSER_UI_SETTINGS_CELLS_PASSWORD_DETAILS_ITEM_H_
#import "ios/chrome/browser/ui/collection_view/cells/collection_view_item.h"
#import "ios/third_party/material_components_ios/src/components/CollectionCells/src/MaterialCollectionCells.h"
// Item to display an element of the Password Details settings.
@interface PasswordDetailsItem : CollectionViewItem
// The text (a username, a password).
@property(nonatomic, copy) NSString* text;
// Whether to reveal the text or ●●●●●●. There are as many dots as the text is
// long.
@property(nonatomic, assign, getter=isShowingText) BOOL showingText;
@end
// Cell class associated to PasswordDetailsItem. The text label can span
// multiple lines.
@interface PasswordDetailsCell : MDCCollectionViewCell
// Label for the text.
@property(nonatomic, readonly, strong) UILabel* textLabel;
@end
#endif // IOS_CHROME_BROWSER_UI_SETTINGS_CELLS_PASSWORD_DETAILS_ITEM_H_
| 387 |
1,697 | <reponame>kmmao/IOT-Technical-Guide
package iot.technology.jwt.without.controller;
import iot.technology.jwt.without.config.JwtTokenUtil;
import iot.technology.jwt.without.model.JwtRequest;
import iot.technology.jwt.without.model.JwtResponse;
import org.springframework.http.ResponseEntity;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.authentication.BadCredentialsException;
import org.springframework.security.authentication.DisabledException;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.web.bind.annotation.*;
import java.util.Objects;
/**
* @author <NAME>
* @date 2020/9/7 19:19
*/
@RestController
@CrossOrigin
public class JwtAuthenticationController {
private final AuthenticationManager authenticationManager;
private final JwtTokenUtil jwtTokenUtil;
private final UserDetailsService jwtInMemoryUserDetailsService;
public JwtAuthenticationController(AuthenticationManager authenticationManager,
JwtTokenUtil jwtTokenUtil,
UserDetailsService jwtInMemoryUserDetailsService) {
this.authenticationManager = authenticationManager;
this.jwtTokenUtil = jwtTokenUtil;
this.jwtInMemoryUserDetailsService = jwtInMemoryUserDetailsService;
}
@RequestMapping(value = "/authenticate", method = RequestMethod.POST)
public ResponseEntity<?> createAuthenticationToken(@RequestBody JwtRequest authenticationRequest)
throws Exception {
authenticate(authenticationRequest.getUsername(), authenticationRequest.getPassword());
final UserDetails userDetails = jwtInMemoryUserDetailsService
.loadUserByUsername(authenticationRequest.getUsername());
final String token = jwtTokenUtil.generateToken(userDetails);
return ResponseEntity.ok(new JwtResponse(token));
}
private void authenticate(String username, String password) throws Exception {
Objects.requireNonNull(username);
Objects.requireNonNull(password);
try {
authenticationManager.authenticate(new UsernamePasswordAuthenticationToken(username, password));
} catch (DisabledException e) {
throw new Exception("USER_DISABLED", e);
} catch (BadCredentialsException e) {
throw new Exception("INVALID_CREDENTIALS", e);
}
}
}
| 888 |
1,056 | <reponame>timfel/netbeans<gh_stars>1000+
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.netbeans.modules.php.project.connections.ui.transfer.tree;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.netbeans.modules.php.project.connections.common.RemoteUtils;
import org.netbeans.modules.php.project.connections.transfer.TransferFile;
import org.netbeans.modules.php.project.connections.ui.transfer.TransferFilesChangeSupport;
import org.netbeans.modules.php.project.connections.ui.transfer.TransferFilesChooser;
import org.netbeans.modules.php.project.connections.ui.transfer.TransferFilesChooserPanel.TransferFilesChangeListener;
import org.openide.nodes.Node;
final class TransferSelectorModel {
private final TransferFilesChooser.TransferType transferType;
private final Set<TransferFile> transferFiles;
private final Set<TransferFile> selected = Collections.synchronizedSet(new HashSet<TransferFile>());
private final TransferFilesChangeSupport filesChangeSupport = new TransferFilesChangeSupport(this);
private final long timestamp;
public TransferSelectorModel(TransferFilesChooser.TransferType transferType, Set<TransferFile> transferFiles, long timestamp) {
assert transferType != null;
assert transferFiles != null;
this.transferType = transferType;
this.transferFiles = Collections.synchronizedSet(copyNoProjectRoot(transferFiles));
this.timestamp = timestamp;
for (TransferFile file : this.transferFiles) {
preselect(file);
}
}
private boolean preselect(TransferFile file) {
boolean select = timestamp == -1;
if (timestamp != -1) {
// we have some timestamp
select = file.getTimestamp() > timestamp;
}
if (select) {
// intentionally not addChildren()!
selected.add(file);
}
return select;
}
public void addChangeListener(TransferFilesChangeListener listener) {
filesChangeSupport.addChangeListener(listener);
}
public void removeChangeListener(TransferFilesChangeListener listener) {
filesChangeSupport.removeChangeListener(listener);
}
public boolean isNodeSelected(Node node) {
TransferFile transferFile = getTransferFile(node);
if (transferFile == null) {
// not known yet
return false;
}
return selected.contains(transferFile);
}
public boolean isNodePartiallySelected(Node node) {
TransferFile transferFile = getTransferFile(node);
if (transferFile == null) {
// not known yet
return false;
}
if (transferFile.isFile()
|| !selected.contains(transferFile)) {
return false;
}
return !hasAllChildrenSelected(transferFile);
}
public void setNodeSelected(Node node, boolean select) {
TransferFile transferFile = getTransferFile(node);
if (transferFile == null) {
// dblclick on root node or not known yet
return;
}
if (select) {
addChildren(transferFile);
addParents(transferFile);
} else {
removeChildren(transferFile);
}
filesChangeSupport.fireSelectedFilesChange();
}
public void addNode(Node node) {
TransferFile transferFile = getTransferFile(node);
if (transferFile == null) {
// dblclick on root node or not known yet
return;
}
transferFiles.add(transferFile);
boolean selectNode = false;
if (!RemoteUtils.allFilesFetched(transferType == TransferFilesChooser.TransferType.DOWNLOAD)) {
// lazy children
selectNode = selected.contains(transferFile.getParent());
}
if (selectNode
|| preselect(transferFile)) {
setNodeSelected(node, true);
}
}
public void selectAll() {
selected.addAll(transferFiles);
filesChangeSupport.fireSelectedFilesChange();
}
public void unselectAll() {
selected.clear();
filesChangeSupport.fireSelectedFilesChange();
}
public boolean isAllSelected() {
return selected.size() == transferFiles.size();
}
public Set<TransferFile> getData() {
return transferFiles;
}
public Set<TransferFile> getSelected() {
return new HashSet<>(selected);
}
public int getSelectedSize() {
return selected.size();
}
/**
* Get {@link TransferFile} or {@code null} if the transfer file is nor known yet.
* @param node node to get {@link TransferFile} for
* @return {@link TransferFile} or {@code null} if the transfer file is nor known yet
*/
private TransferFile getTransferFile(Node node) {
return node.getLookup().lookup(TransferFile.class);
}
private void addChildren(TransferFile file) {
if (file.isProjectRoot()) {
// ignored
return;
}
selected.add(file);
if (hasChildrenFetched(file)) {
for (TransferFile child : getChildren(file)) {
addChildren(child);
}
}
}
private void addParents(TransferFile fromFile) {
TransferFile parent = fromFile.getParent();
if (parent != null) {
if (parent.isProjectRoot()) {
// ignored
return;
}
selected.add(parent);
addParents(parent);
}
}
private void removeChildren(TransferFile file) {
selected.remove(file);
if (hasChildrenFetched(file)) {
for (TransferFile child : getChildren(file)) {
removeChildren(child);
}
}
}
private boolean hasAllChildrenSelected(TransferFile transferFile) {
if (!selected.contains(transferFile)) {
return false;
}
if (hasChildrenFetched(transferFile)) {
for (TransferFile child : getChildren(transferFile)) {
if (!hasAllChildrenSelected(child)) {
return false;
}
}
}
return true;
}
private Set<TransferFile> copyNoProjectRoot(Set<TransferFile> transferFiles) {
Set<TransferFile> files = new HashSet<>();
for (TransferFile file : transferFiles) {
if (!file.isProjectRoot()) {
files.add(file);
}
}
return files;
}
private boolean hasChildrenFetched(TransferFile transferFile) {
switch (transferType) {
case DOWNLOAD:
return transferFile.hasRemoteChildrenFetched();
case UPLOAD:
return transferFile.hasLocalChildrenFetched();
default:
throw new IllegalStateException("Unknown transfer type: " + transferType);
}
}
private List<TransferFile> getChildren(TransferFile transferFile) {
switch (transferType) {
case DOWNLOAD:
return transferFile.getRemoteChildren();
case UPLOAD:
return transferFile.getLocalChildren();
default:
throw new IllegalStateException("Unknown transfer type: " + transferType);
}
}
}
| 3,241 |
5,169 | <gh_stars>1000+
{
"name": "IoniconsKit",
"version": "1.0.1",
"summary": "ionicons for Swift and Objective-C with type safed manner.",
"homepage": "https://github.com/keitaoouchi/IoniconsKit",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {
"keita.oouchi": "<EMAIL>"
},
"source": {
"git": "https://github.com/keitaoouchi/IoniconsKit.git",
"tag": "1.0.1"
},
"platforms": {
"ios": "8.0"
},
"source_files": "IoniconsKit/Classes/**/*.{swift,h}",
"resource_bundles": {
"IoniconsKit": [
"IoniconsKit/Assets/*.ttf"
]
},
"pushed_with_swift_version": "4.0"
}
| 298 |
3,227 | <filename>Triangulation_2/doc/Triangulation_2/Concepts/TriangulationFaceBase_2.h<gh_stars>1000+
/*!
\ingroup PkgTriangulation2Concepts
\cgalConcept
The concept `TriangulationFaceBase_2` describes the requirements for
the base face class of a triangulation data structure
that is itself plugged into a basic triangulation
or a Delaunay triangulation.
This concept refines the concept `TriangulationDSFaceBase_2`
and could add geometric information. In fact,
currently the triangulations do not store any geometric information in the faces
and, thus this concept is just equal to `TriangulationDSFaceBase_2`
and only provided for symmetry with the vertex case.
\cgalRefines `TriangulationDSFaceBase_2`
\cgalHasModel `CGAL::Triangulation_face_base_2<Traits>`
\sa `TriangulationVertexBase_2`
\sa `CGAL::Triangulation_face_base_2<Traits>`
\sa `CGAL::Triangulation_2<Traits,Tds>`
\sa `CGAL::Delaunay_triangulation_2<Traits,Tds>`
*/
class TriangulationFaceBase_2 {
public:
}; /* end TriangulationFaceBase_2 */
| 335 |
361 | <gh_stars>100-1000
import difflib
from gdtoolkit.formatter import format_code, check_formatting_safety
MAX_LINE_LENGTH = 100
def format_and_compare(input_code, expected_output_code):
formatted_code = format_code(input_code, max_line_length=MAX_LINE_LENGTH)
_compare(formatted_code, expected_output_code)
check_formatting_safety(input_code, formatted_code, MAX_LINE_LENGTH)
def _compare(formatted_code, expected_output_code):
diff = "\n".join(
difflib.unified_diff(
expected_output_code.splitlines(), formatted_code.splitlines()
)
)
assert formatted_code == expected_output_code, diff
| 241 |
344 | /*
* Types.hpp
*
* Created on: Mar 22, 2012
* Author: david
*/
#ifndef SLIMAGE_TYPES_HPP_
#define SLIMAGE_TYPES_HPP_
//----------------------------------------------------------------------------//
#include <stdint.h>
//----------------------------------------------------------------------------//
namespace slimage {
//----------------------------------------------------------------------------//
#define SLIMAGE_CREATE_TYPEDEF(T,CC,S)\
typedef Traits<T,CC> Traits##CC##S; \
typedef Pixel<Traits##CC##S> Pixel##CC##S; \
typedef PixelAccess<Traits##CC##S> PixelAccess##CC##S; \
typedef Iterator<Traits##CC##S> It##CC##S; \
typedef Image<Traits##CC##S> Image##CC##S;
SLIMAGE_CREATE_TYPEDEF(unsigned char, 1, ub)
SLIMAGE_CREATE_TYPEDEF(unsigned char, 3, ub)
SLIMAGE_CREATE_TYPEDEF(unsigned char, 4, ub)
SLIMAGE_CREATE_TYPEDEF(float, 1, f)
SLIMAGE_CREATE_TYPEDEF(float, 2, f)
SLIMAGE_CREATE_TYPEDEF(float, 3, f)
SLIMAGE_CREATE_TYPEDEF(float, 4, f)
SLIMAGE_CREATE_TYPEDEF(double, 1, d)
SLIMAGE_CREATE_TYPEDEF(double, 2, d)
SLIMAGE_CREATE_TYPEDEF(double, 3, d)
SLIMAGE_CREATE_TYPEDEF(double, 4, d)
SLIMAGE_CREATE_TYPEDEF(uint16_t, 1, ui16)
SLIMAGE_CREATE_TYPEDEF(int, 1, i)
//typedef Traits<unsigned char, 1> Traits1ub;
//typedef Traits<unsigned char, 3> Traits3ub;
//typedef Traits<unsigned char, 4> Traits4ub;
//typedef Traits<float, 1> Traits1f;
//typedef Traits<float, 2> Traits2f;
//typedef Traits<float, 3> Traits3f;
//typedef Traits<float, 4> Traits4f;
//typedef Traits<double, 1> Traits1d;
//typedef Traits<double, 2> Traits2d;
//typedef Traits<double, 3> Traits3d;
//typedef Traits<double, 4> Traits4d;
//typedef Traits<uint16_t, 1> Traits1ui16;
//typedef Traits<int, 1> Traits1i;
//
//
////typedef Pixel<unsigned char, 1> Pixel1ub;
////typedef Pixel<unsigned char, 3> Pixel3ub;
////typedef Pixel<unsigned char, 4> Pixel4ub;
////typedef Pixel<float, 1> Pixel1f;
////typedef Pixel<float, 2> Pixel2f;
////typedef Pixel<float, 3> Pixel3f;
////typedef Pixel<float, 4> Pixel4f;
////typedef Pixel<int, 1> Pixel1i;
//typedef Pixel<Traits1ub> Pixel1ub;
//typedef Pixel<Traits3ub> Pixel3ub;
//typedef Pixel<Traits4ub> Pixel4ub;
//typedef Pixel<Traits1f> Pixel1f;
//typedef Pixel<Traits2f> Pixel2f;
//typedef Pixel<Traits3f> Pixel3f;
//typedef Pixel<Traits4f> Pixel4f;
//typedef Pixel<Traits1i> Pixel1i;
//typedef Pixel<Traits1ui16> Pixel1ui16;
//
//
//typedef Iterator<Traits1ub> It1ub;
//typedef Iterator<Traits3ub> It3ub;
//typedef Iterator<Traits4ub> It4ub;
//typedef Iterator<Traits1f> It1f;
//typedef Iterator<Traits2f> It2f;
//typedef Iterator<Traits3f> It3f;
//typedef Iterator<Traits4f> It4f;
//typedef Iterator<Traits1i> It1i;
//typedef Iterator<Traits1ui16> It1ui16;
//
////typedef Image<unsigned char,0> ImageXub;
////typedef Image<uint16_t,0> ImageXui16;
////typedef Image<float,0> ImageXf;
////typedef Image<double,0> ImageXd;
//typedef Image<Traits1ub> Image1ub;
//typedef Image<Traits3ub> Image3ub;
//typedef Image<Traits4ub> Image4ub;
//typedef Image<Traits1ui16> Image1ui16;
//typedef Image<Traits1f> Image1f;
//typedef Image<Traits2f> Image2f;
//typedef Image<Traits3f> Image3f;
//typedef Image<Traits4f> Image4f;
//typedef Image<Traits1d> Image1d;
//typedef Image<Traits2d> Image3d;
//typedef Image<Traits3d> Image4d;
//typedef Image<Traits1i> Image1i;
//----------------------------------------------------------------------------//
}
//----------------------------------------------------------------------------//
#endif
| 1,415 |
52,316 | """
Lib/ctypes.util.find_library() support for AIX
Similar approach as done for Darwin support by using separate files
but unlike Darwin - no extension such as ctypes.macholib.*
dlopen() is an interface to AIX initAndLoad() - primary documentation at:
https://www.ibm.com/support/knowledgecenter/en/ssw_aix_61/com.ibm.aix.basetrf1/dlopen.htm
https://www.ibm.com/support/knowledgecenter/en/ssw_aix_61/com.ibm.aix.basetrf1/load.htm
AIX supports two styles for dlopen(): svr4 (System V Release 4) which is common on posix
platforms, but also a BSD style - aka SVR3.
From AIX 5.3 Difference Addendum (December 2004)
2.9 SVR4 linking affinity
Nowadays, there are two major object file formats used by the operating systems:
XCOFF: The COFF enhanced by IBM and others. The original COFF (Common
Object File Format) was the base of SVR3 and BSD 4.2 systems.
ELF: Executable and Linking Format that was developed by AT&T and is a
base for SVR4 UNIX.
While the shared library content is identical on AIX - one is located as a filepath name
(svr4 style) and the other is located as a member of an archive (and the archive
is located as a filepath name).
The key difference arises when supporting multiple abi formats (i.e., 32 and 64 bit).
For svr4 either only one ABI is supported, or there are two directories, or there
are different file names. The most common solution for multiple ABI is multiple
directories.
For the XCOFF (aka AIX) style - one directory (one archive file) is sufficient
as multiple shared libraries can be in the archive - even sharing the same name.
In documentation the archive is also referred to as the "base" and the shared
library object is referred to as the "member".
For dlopen() on AIX (read initAndLoad()) the calls are similar.
Default activity occurs when no path information is provided. When path
information is provided dlopen() does not search any other directories.
For SVR4 - the shared library name is the name of the file expected: libFOO.so
For AIX - the shared library is expressed as base(member). The search is for the
base (e.g., libFOO.a) and once the base is found the shared library - identified by
member (e.g., libFOO.so, or shr.o) is located and loaded.
The mode bit RTLD_MEMBER tells initAndLoad() that it needs to use the AIX (SVR3)
naming style.
"""
__author__ = "<NAME> <<EMAIL>>"
import re
from os import environ, path
from sys import executable
from ctypes import c_void_p, sizeof
from subprocess import Popen, PIPE, DEVNULL
# Executable bit size - 32 or 64
# Used to filter the search in an archive by size, e.g., -X64
AIX_ABI = sizeof(c_void_p) * 8
from sys import maxsize
def _last_version(libnames, sep):
def _num_version(libname):
# "libxyz.so.MAJOR.MINOR" => [MAJOR, MINOR]
parts = libname.split(sep)
nums = []
try:
while parts:
nums.insert(0, int(parts.pop()))
except ValueError:
pass
return nums or [maxsize]
return max(reversed(libnames), key=_num_version)
def get_ld_header(p):
# "nested-function, but placed at module level
ld_header = None
for line in p.stdout:
if line.startswith(('/', './', '../')):
ld_header = line
elif "INDEX" in line:
return ld_header.rstrip('\n')
return None
def get_ld_header_info(p):
# "nested-function, but placed at module level
# as an ld_header was found, return known paths, archives and members
# these lines start with a digit
info = []
for line in p.stdout:
if re.match("[0-9]", line):
info.append(line)
else:
# blank line (separator), consume line and end for loop
break
return info
def get_ld_headers(file):
"""
Parse the header of the loader section of executable and archives
This function calls /usr/bin/dump -H as a subprocess
and returns a list of (ld_header, ld_header_info) tuples.
"""
# get_ld_headers parsing:
# 1. Find a line that starts with /, ./, or ../ - set as ld_header
# 2. If "INDEX" in occurs in a following line - return ld_header
# 3. get info (lines starting with [0-9])
ldr_headers = []
p = Popen(["/usr/bin/dump", f"-X{AIX_ABI}", "-H", file],
universal_newlines=True, stdout=PIPE, stderr=DEVNULL)
# be sure to read to the end-of-file - getting all entries
while True:
ld_header = get_ld_header(p)
if ld_header:
ldr_headers.append((ld_header, get_ld_header_info(p)))
else:
break
p.stdout.close()
p.wait()
return ldr_headers
def get_shared(ld_headers):
"""
extract the shareable objects from ld_headers
character "[" is used to strip off the path information.
Note: the "[" and "]" characters that are part of dump -H output
are not removed here.
"""
shared = []
for (line, _) in ld_headers:
# potential member lines contain "["
# otherwise, no processing needed
if "[" in line:
# Strip off trailing colon (:)
shared.append(line[line.index("["):-1])
return shared
def get_one_match(expr, lines):
"""
Must be only one match, otherwise result is None.
When there is a match, strip leading "[" and trailing "]"
"""
# member names in the ld_headers output are between square brackets
expr = rf'\[({expr})\]'
matches = list(filter(None, (re.search(expr, line) for line in lines)))
if len(matches) == 1:
return matches[0].group(1)
else:
return None
# additional processing to deal with AIX legacy names for 64-bit members
def get_legacy(members):
"""
This routine provides historical aka legacy naming schemes started
in AIX4 shared library support for library members names.
e.g., in /usr/lib/libc.a the member name shr.o for 32-bit binary and
shr_64.o for 64-bit binary.
"""
if AIX_ABI == 64:
# AIX 64-bit member is one of shr64.o, shr_64.o, or shr4_64.o
expr = r'shr4?_?64\.o'
member = get_one_match(expr, members)
if member:
return member
else:
# 32-bit legacy names - both shr.o and shr4.o exist.
# shr.o is the preferred name so we look for shr.o first
# i.e., shr4.o is returned only when shr.o does not exist
for name in ['shr.o', 'shr4.o']:
member = get_one_match(re.escape(name), members)
if member:
return member
return None
def get_version(name, members):
"""
Sort list of members and return highest numbered version - if it exists.
This function is called when an unversioned libFOO.a(libFOO.so) has
not been found.
Versioning for the member name is expected to follow
GNU LIBTOOL conventions: the highest version (x, then X.y, then X.Y.z)
* find [libFoo.so.X]
* find [libFoo.so.X.Y]
* find [libFoo.so.X.Y.Z]
Before the GNU convention became the standard scheme regardless of
binary size AIX packagers used GNU convention "as-is" for 32-bit
archive members but used an "distinguishing" name for 64-bit members.
This scheme inserted either 64 or _64 between libFOO and .so
- generally libFOO_64.so, but occasionally libFOO64.so
"""
# the expression ending for versions must start as
# '.so.[0-9]', i.e., *.so.[at least one digit]
# while multiple, more specific expressions could be specified
# to search for .so.X, .so.X.Y and .so.X.Y.Z
# after the first required 'dot' digit
# any combination of additional 'dot' digits pairs are accepted
# anything more than libFOO.so.digits.digits.digits
# should be seen as a member name outside normal expectations
exprs = [rf'lib{name}\.so\.[0-9]+[0-9.]*',
rf'lib{name}_?64\.so\.[0-9]+[0-9.]*']
for expr in exprs:
versions = []
for line in members:
m = re.search(expr, line)
if m:
versions.append(m.group(0))
if versions:
return _last_version(versions, '.')
return None
def get_member(name, members):
"""
Return an archive member matching the request in name.
Name is the library name without any prefix like lib, suffix like .so,
or version number.
Given a list of members find and return the most appropriate result
Priority is given to generic libXXX.so, then a versioned libXXX.so.a.b.c
and finally, legacy AIX naming scheme.
"""
# look first for a generic match - prepend lib and append .so
expr = rf'lib{name}\.so'
member = get_one_match(expr, members)
if member:
return member
elif AIX_ABI == 64:
expr = rf'lib{name}64\.so'
member = get_one_match(expr, members)
if member:
return member
# since an exact match with .so as suffix was not found
# look for a versioned name
# If a versioned name is not found, look for AIX legacy member name
member = get_version(name, members)
if member:
return member
else:
return get_legacy(members)
def get_libpaths():
"""
On AIX, the buildtime searchpath is stored in the executable.
as "loader header information".
The command /usr/bin/dump -H extracts this info.
Prefix searched libraries with LD_LIBRARY_PATH (preferred),
or LIBPATH if defined. These paths are appended to the paths
to libraries the python executable is linked with.
This mimics AIX dlopen() behavior.
"""
libpaths = environ.get("LD_LIBRARY_PATH")
if libpaths is None:
libpaths = environ.get("LIBPATH")
if libpaths is None:
libpaths = []
else:
libpaths = libpaths.split(":")
objects = get_ld_headers(executable)
for (_, lines) in objects:
for line in lines:
# the second (optional) argument is PATH if it includes a /
path = line.split()[1]
if "/" in path:
libpaths.extend(path.split(":"))
return libpaths
def find_shared(paths, name):
"""
paths is a list of directories to search for an archive.
name is the abbreviated name given to find_library().
Process: search "paths" for archive, and if an archive is found
return the result of get_member().
If an archive is not found then return None
"""
for dir in paths:
# /lib is a symbolic link to /usr/lib, skip it
if dir == "/lib":
continue
# "lib" is prefixed to emulate compiler name resolution,
# e.g., -lc to libc
base = f'lib{name}.a'
archive = path.join(dir, base)
if path.exists(archive):
members = get_shared(get_ld_headers(archive))
member = get_member(re.escape(name), members)
if member is not None:
return (base, member)
else:
return (None, None)
return (None, None)
def find_library(name):
"""AIX implementation of ctypes.util.find_library()
Find an archive member that will dlopen(). If not available,
also search for a file (or link) with a .so suffix.
AIX supports two types of schemes that can be used with dlopen().
The so-called SystemV Release4 (svr4) format is commonly suffixed
with .so while the (default) AIX scheme has the library (archive)
ending with the suffix .a
As an archive has multiple members (e.g., 32-bit and 64-bit) in one file
the argument passed to dlopen must include both the library and
the member names in a single string.
find_library() looks first for an archive (.a) with a suitable member.
If no archive+member pair is found, look for a .so file.
"""
libpaths = get_libpaths()
(base, member) = find_shared(libpaths, name)
if base is not None:
return f"{base}({member})"
# To get here, a member in an archive has not been found
# In other words, either:
# a) a .a file was not found
# b) a .a file did not have a suitable member
# So, look for a .so file
# Check libpaths for .so file
# Note, the installation must prepare a link from a .so
# to a versioned file
# This is common practice by GNU libtool on other platforms
soname = f"lib{name}.so"
for dir in libpaths:
# /lib is a symbolic link to /usr/lib, skip it
if dir == "/lib":
continue
shlib = path.join(dir, soname)
if path.exists(shlib):
return soname
# if we are here, we have not found anything plausible
return None
| 4,747 |
868 | /*
* Copyright 2021 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.activemq.artemis.spi.core.remoting.ssl;
import java.util.Map;
import io.netty.handler.ssl.SslContext;
import org.jboss.logging.Logger;
/**
* Service interface to create an {@link SslContext} for a configuration.
* This is ONLY used with OpenSSL.
* To create and use your own implementation you need to create a file
* <code>META-INF/services/org.apache.activemq.artemis.spi.core.remoting.ssl.OpenSSLContextFactory</code>
* in your jar and fill it with the full qualified name of your implementation.
*/
public interface OpenSSLContextFactory extends Comparable<OpenSSLContextFactory> {
Logger log = Logger.getLogger(OpenSSLContextFactory.class);
/**
* Release any cached {@link SslContext} instances.
*/
default void clearSslContexts() {
}
@Override
default int compareTo(final OpenSSLContextFactory other) {
return this.getPriority() - other.getPriority();
}
/**
* @param additionalOpts implementation specific additional options.
*
* @return an {@link SslContext} instance for the given configuration.
*/
SslContext getClientSslContext(SSLContextConfig config, Map<String, Object> additionalOpts) throws Exception;
/**
* @param additionalOpts implementation specific additional options.
*
* @return an {@link SslContext} instance for the given configuration.
*/
SslContext getServerSslContext(SSLContextConfig config, Map<String, Object> additionalOpts) throws Exception;
/**
* The priority for the {@link OpenSSLContextFactory} when resolving the service to get the implementation.
* This is used when selecting the implementation when several implementations are loaded.
* The highest priority implementation will be used.
*/
int getPriority();
}
| 684 |
14,668 | <filename>third_party/blink/renderer/platform/audio/push_pull_fifo.cc<gh_stars>1000+
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/platform/audio/push_pull_fifo.h"
#include <algorithm>
#include <memory>
#include "base/logging.h"
#include "base/metrics/histogram_functions.h"
#include "build/build_config.h"
#include "third_party/blink/renderer/platform/audio/audio_utilities.h"
#include "third_party/blink/renderer/platform/instrumentation/tracing/trace_event.h"
namespace blink {
namespace {
// Suppress the warning log if over/underflow happens more than 100 times.
const unsigned kMaxMessagesToLog = 100;
}
const uint32_t PushPullFIFO::kMaxFIFOLength = 65536;
PushPullFIFO::PushPullFIFO(unsigned number_of_channels,
uint32_t fifo_length,
unsigned render_quantum_frames)
: fifo_length_(fifo_length), render_quantum_frames_(render_quantum_frames) {
CHECK_LE(fifo_length_, kMaxFIFOLength);
fifo_bus_ = AudioBus::Create(number_of_channels, fifo_length_);
}
PushPullFIFO::~PushPullFIFO() {
// Capture metrics only after the FIFO is actually pulled.
if (pull_count_ == 0)
return;
// TODO(hongchan): The fast-shutdown process prevents the data below from
// being collected correctly. Consider using "outside metric collector" that
// survives the fast-shutdown.
// Capture the percentage of underflow happened based on the total pull count.
// (100 buckets of size 1) This is equivalent of
// "Media.AudioRendererMissedDeadline" metric for WebAudio.
base::UmaHistogramPercentageObsoleteDoNotUse(
"WebAudio.PushPullFIFO.UnderflowPercentage",
static_cast<int32_t>(100.0 * underflow_count_ / pull_count_));
// We only collect the underflow count because no overflow can happen in the
// current implementation. This is similar to
// "Media.AudioRendererAudioGlitches" metric for WebAudio, which is a simple
// flag indicates any instance of glitches during FIFO's lifetime.
base::UmaHistogramBoolean("WebAudio.PushPullFIFO.UnderflowGlitches",
underflow_count_ > 0);
}
// Push the data from |input_bus| to FIFO. The size of push is determined by
// the length of |input_bus|.
void PushPullFIFO::Push(const AudioBus* input_bus) {
TRACE_EVENT2("webaudio", "PushPullFIFO::Push", "this",
static_cast<void*>(this), "frames", input_bus->length());
MutexLocker locker(lock_);
TRACE_EVENT0("webaudio", "PushPullFIFO::Push under lock");
CHECK(input_bus);
CHECK_EQ(input_bus->length(), render_quantum_frames_);
SECURITY_CHECK(input_bus->length() <= fifo_length_);
SECURITY_CHECK(index_write_ < fifo_length_);
const uint32_t input_bus_length = input_bus->length();
const size_t remainder = fifo_length_ - index_write_;
for (unsigned i = 0; i < fifo_bus_->NumberOfChannels(); ++i) {
float* fifo_bus_channel = fifo_bus_->Channel(i)->MutableData();
const float* input_bus_channel = input_bus->Channel(i)->Data();
if (remainder >= input_bus_length) {
// The remainder is big enough for the input data.
memcpy(fifo_bus_channel + index_write_, input_bus_channel,
input_bus_length * sizeof(*fifo_bus_channel));
} else {
// The input data overflows the remainder size. Wrap around the index.
memcpy(fifo_bus_channel + index_write_, input_bus_channel,
remainder * sizeof(*fifo_bus_channel));
memcpy(fifo_bus_channel, input_bus_channel + remainder,
(input_bus_length - remainder) * sizeof(*fifo_bus_channel));
}
}
// Update the write index; wrap it around if necessary.
index_write_ = (index_write_ + input_bus_length) % fifo_length_;
// In case of overflow, move the |index_read_| to the ipdated |index_write_|
// to avoid reading overwritten frames by the next pull.
if (input_bus_length > fifo_length_ - frames_available_) {
index_read_ = index_write_;
if (++overflow_count_ < kMaxMessagesToLog) {
LOG(WARNING) << "PushPullFIFO: overflow while pushing ("
<< "overflowCount=" << overflow_count_
<< ", availableFrames=" << frames_available_
<< ", inputFrames=" << input_bus_length
<< ", fifoLength=" << fifo_length_ << ")";
}
}
// Update the number of frames available in FIFO.
frames_available_ =
std::min(frames_available_ + input_bus_length, fifo_length_);
DCHECK_EQ((index_read_ + frames_available_) % fifo_length_, index_write_);
}
// Pull the data out of FIFO to |output_bus|. If remaining frame in the FIFO
// is less than the frames to pull, provides remaining frame plus the silence.
size_t PushPullFIFO::Pull(AudioBus* output_bus, uint32_t frames_requested) {
TRACE_EVENT2("webaudio", "PushPullFIFO::Pull", "this",
static_cast<void*>(this), "frames", frames_requested);
MutexLocker locker(lock_);
TRACE_EVENT0("webaudio", "PushPullFIFO::Pull under lock");
#if defined(OS_ANDROID)
if (!output_bus) {
// Log when outputBus or FIFO object is invalid. (crbug.com/692423)
LOG(WARNING) << "[WebAudio/PushPullFIFO::pull <" << static_cast<void*>(this)
<< ">] |outputBus| is invalid.";
// Silently return to avoid crash.
return 0;
}
// The following checks are in place to catch the inexplicable crash.
// (crbug.com/692423)
if (frames_requested > output_bus->length()) {
LOG(WARNING) << "[WebAudio/PushPullFIFO::pull <" << static_cast<void*>(this)
<< ">] framesRequested > outputBus->length() ("
<< frames_requested << " > " << output_bus->length() << ")";
}
if (frames_requested > fifo_length_) {
LOG(WARNING) << "[WebAudio/PushPullFIFO::pull <" << static_cast<void*>(this)
<< ">] framesRequested > fifo_length_ (" << frames_requested
<< " > " << fifo_length_ << ")";
}
if (index_read_ >= fifo_length_) {
LOG(WARNING) << "[WebAudio/PushPullFIFO::pull <" << static_cast<void*>(this)
<< ">] index_read_ >= fifo_length_ (" << index_read_
<< " >= " << fifo_length_ << ")";
}
#endif
CHECK(output_bus);
SECURITY_CHECK(frames_requested <= output_bus->length());
SECURITY_CHECK(frames_requested <= fifo_length_);
SECURITY_CHECK(index_read_ < fifo_length_);
const size_t remainder = fifo_length_ - index_read_;
const size_t frames_to_fill = std::min(frames_available_, frames_requested);
for (unsigned i = 0; i < fifo_bus_->NumberOfChannels(); ++i) {
const float* fifo_bus_channel = fifo_bus_->Channel(i)->Data();
float* output_bus_channel = output_bus->Channel(i)->MutableData();
// Fill up the output bus with the available frames first.
if (remainder >= frames_to_fill) {
// The remainder is big enough for the frames to pull.
memcpy(output_bus_channel, fifo_bus_channel + index_read_,
frames_to_fill * sizeof(*fifo_bus_channel));
} else {
// The frames to pull is bigger than the remainder size.
// Wrap around the index.
memcpy(output_bus_channel, fifo_bus_channel + index_read_,
remainder * sizeof(*fifo_bus_channel));
memcpy(output_bus_channel + remainder, fifo_bus_channel,
(frames_to_fill - remainder) * sizeof(*fifo_bus_channel));
}
// The frames available was not enough to fulfill the requested frames. Fill
// the rest of the channel with silence.
if (frames_requested > frames_to_fill) {
TRACE_EVENT1("webaudio", "PushPullFIFO::Pull underrun", "missing frames",
frames_requested - frames_to_fill);
memset(output_bus_channel + frames_to_fill, 0,
(frames_requested - frames_to_fill) * sizeof(*output_bus_channel));
}
}
// Update the read index; wrap it around if necessary.
index_read_ = (index_read_ + frames_to_fill) % fifo_length_;
// In case of underflow, move the |indexWrite| to the updated |indexRead|.
if (frames_requested > frames_to_fill) {
index_write_ = index_read_;
if (underflow_count_++ < kMaxMessagesToLog) {
LOG(WARNING) << "PushPullFIFO: underflow while pulling ("
<< "underflowCount=" << underflow_count_
<< ", availableFrames=" << frames_available_
<< ", requestedFrames=" << frames_requested
<< ", fifoLength=" << fifo_length_ << ")";
}
}
// Update the number of frames in FIFO.
frames_available_ -= frames_to_fill;
DCHECK_EQ((index_read_ + frames_available_) % fifo_length_, index_write_);
pull_count_++;
// |frames_requested > frames_available_| means the frames in FIFO is not
// enough to fulfill the requested frames from the audio device.
return frames_requested > frames_available_
? frames_requested - frames_available_
: 0;
}
size_t PushPullFIFO::PullAndUpdateEarmark(AudioBus* output_bus,
uint32_t frames_requested) {
TRACE_EVENT2("webaudio", "PushPullFIFO::PullAndUpdateEarmark", "this",
static_cast<void*>(this), "frames_requested", frames_requested);
CHECK(output_bus);
SECURITY_CHECK(frames_requested <= output_bus->length());
MutexLocker locker(lock_);
TRACE_EVENT2("webaudio", "PushPullFIFO::PullAndUpdateEarmark (under lock)",
"pull_count_", pull_count_, "earmark_frames_", earmark_frames_);
SECURITY_CHECK(frames_requested <= fifo_length_);
SECURITY_CHECK(index_read_ < fifo_length_);
// The frames available was not enough to fulfill |frames_requested|. Fill
// the output buffer with silence and update |earmark_frames_|.
if (frames_requested > frames_available_) {
const size_t missing_frames = frames_requested - frames_available_;
if (underflow_count_++ < kMaxMessagesToLog) {
LOG(WARNING) << "PushPullFIFO::PullAndUpdateEarmark"
<< "underflow while pulling ("
<< "underflowCount=" << underflow_count_
<< ", availableFrames=" << frames_available_
<< ", requestedFrames=" << frames_requested
<< ", fifoLength=" << fifo_length_ << ")";
}
TRACE_EVENT2("webaudio",
"PushPullFIFO::PullAndUpdateEarmark (underrun)",
"missing frames", missing_frames,
"underflow_count_", underflow_count_);
// We assume that the next |frames_requested| from |AudioOutputDevice| will
// be the same.
earmark_frames_ += frames_requested;
// |earmark_frames_| can't be bigger than the half of the FIFO size.
if (earmark_frames_ > fifo_length_ * 0.5) {
earmark_frames_ = fifo_length_ * 0.5;
}
// Note that it silences when underrun happens now, and ship the remaining
// frames in subsequent callbacks without silence in between.
for (unsigned i = 0; i < fifo_bus_->NumberOfChannels(); ++i) {
float* output_bus_channel = output_bus->Channel(i)->MutableData();
memset(output_bus_channel, 0,
frames_requested * sizeof(*output_bus_channel));
}
// The producer (WebAudio) needs to prepare the next pull plus what's
// missing.
return frames_requested + missing_frames;
}
const size_t remainder = fifo_length_ - index_read_;
const size_t frames_to_fill = std::min(frames_available_, frames_requested);
for (unsigned i = 0; i < fifo_bus_->NumberOfChannels(); ++i) {
const float* fifo_bus_channel = fifo_bus_->Channel(i)->Data();
float* output_bus_channel = output_bus->Channel(i)->MutableData();
// Fill up the output bus with the available frames first.
if (remainder >= frames_to_fill) {
// The remainder is big enough for the frames to pull.
memcpy(output_bus_channel, fifo_bus_channel + index_read_,
frames_to_fill * sizeof(*fifo_bus_channel));
} else {
// The frames to pull is bigger than the remainder size.
// Wrap around the index.
memcpy(output_bus_channel, fifo_bus_channel + index_read_,
remainder * sizeof(*fifo_bus_channel));
memcpy(output_bus_channel + remainder, fifo_bus_channel,
(frames_to_fill - remainder) * sizeof(*fifo_bus_channel));
}
}
// Update the read index; wrap it around if necessary.
index_read_ = (index_read_ + frames_to_fill) % fifo_length_;
// Update the number of frames in FIFO.
frames_available_ -= frames_to_fill;
DCHECK_EQ((index_read_ + frames_available_) % fifo_length_, index_write_);
pull_count_++;
// Ask the producer to fill the FIFO up to |earmark_frames_|.
return earmark_frames_ > frames_available_
? earmark_frames_ - frames_available_ : 0;
}
const PushPullFIFOStateForTest PushPullFIFO::GetStateForTest() {
MutexLocker locker(lock_);
return {length(), NumberOfChannels(), frames_available_, index_read_,
index_write_, overflow_count_, underflow_count_};
}
} // namespace blink
| 5,041 |
988 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.netbeans.modules.gradle;
import java.io.File;
import java.nio.file.FileSystemNotFoundException;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Objects;
import org.netbeans.api.annotations.common.CheckForNull;
import org.netbeans.api.annotations.common.NonNull;
import org.openide.filesystems.FileObject;
import org.openide.filesystems.FileUtil;
import org.openide.util.NbBundle;
/**
* Describes a problem in a buildscript reported by Gradle daemon and/or
* our infrastructure.
*
* @author sdedic
*/
public final class GradleReport {
private final String errorClass;
private final String location;
private final int line;
private final String message;
private final GradleReport causedBy;
public GradleReport(String errorClass, String location, int line, String message, GradleReport causedBy) {
this.errorClass = errorClass;
this.location = location;
this.line = line;
this.message = message == null ? "" : message;
this.causedBy = causedBy;
}
public static GradleReport simple(Path script, String message) {
return new GradleReport(null, script.toString(), -1, message, null);
}
public GradleReport(Path scriptLocation, String message, GradleReport causedBy) {
this(null, scriptLocation.toString(), -1, message, causedBy);
}
public @CheckForNull String getLocation() {
return location;
}
public int getLine() {
return line;
}
public @NonNull String getMessage() {
return message;
}
public @CheckForNull GradleReport getCause() {
return causedBy;
}
@Override
public int hashCode() {
int hash = 7;
return hash;
}
public String getErrorClass() {
return errorClass;
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
final GradleReport other = (GradleReport) obj;
if (!Objects.equals(this.errorClass, other.errorClass)) {
return false;
}
if (this.line != other.line) {
return false;
}
if (!Objects.equals(this.message, other.message)) {
return false;
}
return Objects.equals(this.location, other.location);
}
@Override
public String toString() {
return formatReportForHintOrProblem(true, null);
}
@NbBundle.Messages({
"# {0} - previous part",
"# {1} - appended part",
"FMT_AppendMessage={0} {1}",
"# {0} - the error message",
"# {1} - the file",
"# {2} - the line",
"FMT_MessageWithLocation={0} ({1}:{2})",
"# {0} - the error message",
"# {1} - the file",
"FMT_MessageWithLocationNoLine={0} ({1})"
})
/**
* Formats the report for simple viewing. The function concatenates report messages, starting from
* outer Report. If `includeLocation` is true, script name + line is printed at the end.
*/
public String formatReportForHintOrProblem(boolean includeLocation, FileObject relativeTo) {
String msg = "";
String prevMessage = null;
for (GradleReport r2 = this; r2 != null; r2 = r2.getCause()) {
// do not repeat nested messages, if the outer cause incorporated them
if (prevMessage != null && prevMessage.contains(r2.getMessage())) {
break;
}
prevMessage = r2.getMessage();
msg = Bundle.FMT_AppendMessage(msg, r2.getMessage());
}
if (!includeLocation || getLocation() == null) {
return msg;
}
String locString;
if (relativeTo != null) {
// try convert the location to a FileObject:
File dir = FileUtil.toFile(relativeTo);
try {
Path scriptPath = Paths.get(getLocation());
locString = dir.toPath().relativize(scriptPath).toString();
} catch (FileSystemNotFoundException | IllegalArgumentException ex) {
// perhaps the location is not a filename
locString = getLocation();
}
} else {
locString = getLocation();
}
if (getLine() >= 1) {
return Bundle.FMT_MessageWithLocation(msg, locString, getLine());
} else {
return Bundle.FMT_MessageWithLocationNoLine(msg, locString);
}
}
}
| 2,170 |
2,903 | <reponame>lilonglai/redis-manager
package com.newegg.ec.redis.dao;
import com.newegg.ec.redis.entity.User;
import org.apache.ibatis.annotations.*;
import java.util.List;
/**
* Manage users
*
* @author Jay.H.Zou
* @date 7/19/2019
*/
@Mapper
public interface IUserDao {
@Select("SELECT * FROM `user`")
List<User> selectAllUser();
@Select("SELECT " +
"user.user_id AS user_id, " +
"user.group_id AS group_id, " +
"user.user_name AS user_name, " +
"user.password AS password, " +
"group_user.user_role AS user_role, " +
"user.avatar AS avatar, " +
"user.email AS email, " +
"user.mobile AS mobile, " +
"user.update_time AS update_time " +
"FROM user, group_user " +
"WHERE group_user.group_id = user.group_id " +
"AND group_user.grant_group_id = user.group_id " +
"AND group_user.user_id = user.user_id " +
"AND user.user_id = #{userId}")
User selectUserById(Integer userId);
@Select("SELECT " +
"user.user_id AS user_id, " +
"user.group_id AS group_id, " +
"user.user_name AS user_name, " +
"group_user.user_role AS user_role, " +
"user.avatar AS avatar, " +
"user.email AS email, " +
"user.mobile AS mobile, " +
"user.update_time AS update_time " +
"FROM user, group_user " +
"WHERE group_user.group_id = user.group_id " +
"AND group_user.user_id = user.user_id " +
"AND group_user.group_id = #{groupId} " +
"AND group_user.grant_group_id = #{groupId}")
List<User> selectUserByGroupId(Integer groupId);
@Select("SELECT " +
"user.user_id AS user_id, " +
"group_user.grant_group_id AS group_id, " +
"user.user_name AS user_name, " +
"group_user.user_role AS user_role, " +
"user.avatar AS avatar, " +
"user.email AS email, " +
"user.mobile AS mobile, " +
"user.update_time AS update_time " +
"FROM group_user, user " +
"WHERE group_user.group_id = user.group_id " +
"AND group_user.user_id = user.user_id " +
"AND grant_group_id = #{grantGroupId} " +
"AND group_user.group_id != #{grantGroupId}")
List<User> selectGrantUserByGroupId(Integer grantGroupId);
@Select("SELECT " +
"user.user_id AS user_id, " +
"user.group_id AS group_id, " +
"group_user.user_role AS user_role " +
"FROM user, group_user " +
"WHERE group_user.user_id = user.user_id " +
"AND group_user.group_id = user.group_id " +
"AND group_user.grant_group_id = #{grantGroupId} " +
"AND group_user.user_id = #{userId}")
User selectUserRole(@Param("grantGroupId") Integer grantGroupId, @Param("userId") Integer userId);
@Select("SELECT * FROM `user`WHERE user_name = #{userName} AND password = #{password}")
User selectUserByNameAndPassword(User user);
@Select("SELECT * FROM user WHERE user_name = #{userName}")
User selectUserByName(String userName);
@Select("SELECT COUNT(user_id) FROM user WHERE group_id = #{groupId}")
int selectUserNumber(Integer groupId);
@Insert("INSERT INTO user (group_id, user_name, password, email, mobile, user_type, update_time) " +
"VALUES (#{groupId}, #{userName}, #{password}, #{email}, #{mobile}, 0, NOW())")
@Options(useGeneratedKeys = true, keyProperty = "userId", keyColumn = "user_id")
int insertUser(User user);
@Update("UPDATE user SET user_name = #{userName}, password = <PASSWORD>}, " +
"email = #{email}, mobile = #{mobile}, update_time = NOW() " +
"WHERE user_id = #{userId}")
int updateUser(User user);
@Update("UPDATE user SET avatar = #{avatar} WHERE user_id = #{userId}")
int updateUserAvatar(User user);
@Delete("DELETE FROM user WHERE user_id = #{userId}")
int deleteUserById(Integer userId);
@Delete("DELETE FROM user WHERE group_id = #{groupId}")
int deleteUserByGroupId(Integer groupId);
@Select("create TABLE IF NOT EXISTS `user` ( " +
"user_id integer(4) NOT NULL AUTO_INCREMENT, " +
"group_id integer(4) NOT NULL, " +
"user_name varchar(255) NOT NULL, " +
"password varchar(255) DEFAULT NULL, " +
"token varchar(255) DEFAULT NULL, " +
"avatar varchar(255) DEFAULT NULL, " +
"email varchar(255) DEFAULT NULL, " +
"mobile varchar(20) DEFAULT NULL, " +
"user_type integer(4) NOT NULL, " +
"update_time datetime(0) NOT NULL, " +
"PRIMARY KEY (user_id), " +
"UNIQUE KEY `user_name` (user_name) " +
") ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;")
void createUserTable();
}
| 2,344 |
507 | # terrascript/resource/akamai.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:11:11 UTC)
#
# For imports without namespace, e.g.
#
# >>> import terrascript.resource.akamai
#
# instead of
#
# >>> import terrascript.resource.akamai.akamai
#
# This is only available for 'official' and 'partner' providers.
from terrascript.resource.akamai.akamai import *
| 129 |
2,151 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_UI_COMMANDS_APPLICATION_COMMANDS_H_
#define IOS_CHROME_BROWSER_UI_COMMANDS_APPLICATION_COMMANDS_H_
#import <Foundation/Foundation.h>
#import "ios/chrome/browser/ui/commands/browsing_data_commands.h"
@class OpenNewTabCommand;
@class OpenUrlCommand;
@class ShowSigninCommand;
@class StartVoiceSearchCommand;
@class UIViewController;
// This protocol groups commands that are part of ApplicationCommands, but
// may also be forwarded directly to a settings navigation controller.
@protocol ApplicationSettingsCommands
// Shows the accounts settings UI, presenting from |baseViewController|.
- (void)showAccountsSettingsFromViewController:
(UIViewController*)baseViewController;
// TODO(crbug.com/779791) : Do not pass baseViewController through dispatcher.
// Shows the sync settings UI, presenting from |baseViewController|.
- (void)showSyncSettingsFromViewController:
(UIViewController*)baseViewController;
// TODO(crbug.com/779791) : Do not pass baseViewController through dispatcher.
// Shows the sync encryption passphrase UI, presenting from
// |baseViewController|.
- (void)showSyncPassphraseSettingsFromViewController:
(UIViewController*)baseViewController;
// Shows the list of saved passwords in the settings.
- (void)showSavedPasswordsSettingsFromViewController:
(UIViewController*)baseViewController;
@end
// Protocol for commands that will generally be handled by the application,
// rather than a specific tab; in practice this means the MainController
// instance.
// This protocol includes all of the methods in ApplicationSettingsCommands; an
// object that implements the methods in this protocol should be able to forward
// ApplicationSettingsCommands to the settings view controller if necessary.
@protocol ApplicationCommands<NSObject,
ApplicationSettingsCommands,
BrowsingDataCommands>
// Dismisses all modal dialogs.
- (void)dismissModalDialogs;
// TODO(crbug.com/779791) : Do not pass baseViewController through dispatcher.
// Shows the Settings UI, presenting from |baseViewController|.
- (void)showSettingsFromViewController:(UIViewController*)baseViewController;
// Switches to show either regular or incognito tabs, and then opens
// a new oen of those tabs. |newTabCommand|'s |incognito| property inidcates
// the type of tab to open.
- (void)switchModesAndOpenNewTab:(OpenNewTabCommand*)newTabCommand;
// Starts a voice search on the current BVC.
- (void)startVoiceSearch;
// Shows the History UI.
- (void)showHistory;
// Closes the History UI and opens a URL.
- (void)closeSettingsUIAndOpenURL:(OpenUrlCommand*)command;
// Closes the History UI.
- (void)closeSettingsUI;
// Shows the TabSwitcher UI.
- (void)displayTabSwitcher;
// Shows the Clear Browsing Data Settings UI (part of Settings).
- (void)showClearBrowsingDataSettingsFromViewController:
(UIViewController*)baseViewController;
// TODO(crbug.com/779791) : Do not pass baseViewController through dispatcher.
// Shows the Autofill Settings UI, presenting from |baseViewController|.
- (void)showAutofillSettingsFromViewController:
(UIViewController*)baseViewController;
// Shows the Report an Issue UI, presenting from |baseViewController|.
- (void)showReportAnIssueFromViewController:
(UIViewController*)baseViewController;
// Opens the |command| URL.
- (void)openURL:(OpenUrlCommand*)command;
// TODO(crbug.com/779791) : Do not pass baseViewController through dispatcher.
// Shows the signin UI, presenting from |baseViewController|.
- (void)showSignin:(ShowSigninCommand*)command
baseViewController:(UIViewController*)baseViewController;
// TODO(crbug.com/779791) : Do not pass baseViewController through dispatcher.
// Shows the Add Account UI, presenting from |baseViewController|.
- (void)showAddAccountFromViewController:(UIViewController*)baseViewController;
@end
#endif // IOS_CHROME_BROWSER_UI_COMMANDS_APPLICATION_COMMANDS_H_
| 1,239 |
348 | {"nom":"Gramont","circ":"2ème circonscription","dpt":"Tarn-et-Garonne","inscrits":104,"abs":47,"votants":57,"blancs":3,"nuls":8,"exp":46,"res":[{"nuance":"RDG","nom":"Mme <NAME>","voix":27},{"nuance":"FN","nom":"M. <NAME>","voix":19}]} | 99 |
450 | <filename>Android/mygame/app/src/main/java/com/mystudioname/mygamename/MainActivity.java
package com.mystudioname.mygamename;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import uk.co.adventuregamestudio.runtime.AGSRuntimeActivity;
import android.Manifest;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.content.res.AssetManager;
import android.os.Environment;
public class MainActivity extends Activity {
private static final String PACKAGE_NAME = App.getContext().getPackageName();
private void startGame(String writeDir) {
Intent intent = new Intent(this, AGSRuntimeActivity.class);
Bundle b = new Bundle();
b.putString("filename", ""); // full path to game data
b.putString("directory", writeDir); // writable location (saves, etc.)
b.putBoolean("loadLastSave", false); // TODO: auto-load last save?
intent.putExtras(b);
startActivity(intent);
finish(); // TODO: do something other than just exit the app when the game exits?
}
private boolean FileExists(String fname) {
File file = new File(fname);
return file.exists();
}
private String[] RemoveFileFromListIfExistInCache(String[] list)
{
List<String> reslist = new ArrayList<String>();
for (String filename : list) {
if(!FileExists(getCacheDir()+"/"+filename))
{
reslist.add(filename);
}
}
String[] resArray = new String[ reslist.size() ];
reslist.toArray(resArray);
return resArray;
}
private void copyAssetListToDir(String[] list, String dst_dir) {
final int BUFFER_SIZE = 102400; // update as needed, your mileage may vary
InputStream is = null;
OutputStream os = null;
for (String filename : list) {
try {
is = getAssets().open(filename);
} catch (IOException e) {
continue;
}
if(is!=null){
Log.d("ITWORKED",""+is.toString());
}
try {
os = new FileOutputStream(dst_dir+"/"+filename);
} catch (IOException e) {
continue;
}
byte[] buffer = new byte[BUFFER_SIZE];
try {
for (int len; (len = is.read(buffer)) != -1; ) {
os.write(buffer, 0, len);
}
} catch (IOException e) {
}
}
}
private void copyAssetListIfDontExist(String[] list, String dst_dir)
{
String[] rlist = RemoveFileFromListIfExistInCache(list);
if(rlist.length > 0)
{
copyAssetListToDir(rlist, dst_dir);
}
}
private void copyAssets(String dst_dir)
{
String [] list = new String[0];
try {
list = getAssets().list("");
} catch (IOException e) {
//;
}
copyAssetListToDir(list, dst_dir);
}
private void copyConfigToDestination(String dst_dir)
{
copyAssetListIfDontExist(new String[]{"android.cfg", "acsetup.cfg"}, dst_dir);
}
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//setContentView(R.layout.activity_main);
String writeDir = getApplicationContext().getFilesDir().toString(); //getCacheDir().toString(); // getApplicationInfo().dataDir;
copyConfigToDestination(writeDir);
startGame(writeDir);
}
@Override
protected void onResume() {
super.onResume();
}
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
}
}
| 1,743 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.