}
      if (!(obj instanceof edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse)) {
        return super.equals(obj);
      }
      edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse other = (edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse) obj;

      if (!getMatchList()
          .equals(other.getMatchList())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getMatchCount() > 0) {
        hash = (37 * hash) + MATCH_FIELD_NUMBER;
        hash = (53 * hash) + getMatchList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse parseDelimite


LocalDate,
        recurrence: Recurrence,
        title: String,
        description: String
    ) : this(0L, localDate, recurrence, title, description)

    enum class Recurrence {
        NONE, ONETIME, DAILY, WEEKLY, MONTHLY, LAST_DAY_OF_MONTH, YEARLY, CUSTOM;

        fun toRule(localDate: LocalDate): String? {
            val weekStart = calendarDay2String(Utils.getFirstDayOfWeek(Locale.getDefault()))
            return when (this) {
                DAILY -> "FREQ=DAILY;INTERVAL=1;WKST=$weekStart"
                WEEKLY -> "FREQ=WEEKLY;INTERVAL=1;WKST=$weekStart;BYDAY=${
                    calendarDay2String(
                        localDate[ChronoField.DAY_OF_WEEK]
                    )
                }"
                MONTHLY -> {
                    "FREQ=MONTHLY;INTERVAL=1;WKST=$weekStart"
                }
                LAST_DAY_OF_MONTH -> "FREQ=MONTHLY;INTERVAL=1;BYDAY=SU,MO,TU,WE,TH,FR,SA;BYSETPOS=-1;WKST=$weekStart"
                YEARLY -> "FREQ=YEARLY;INTERVAL=1;WKST=$weekStart"
                else -> null
            }
        }

        private fun calendarDay2String(calendarDay: Int): String {
            return EventRecurrence.day2String(
                EventRecurrence.dayOfWeek2Day(DayOfWeek.of(calendarDay)))
        }
    }

    /**
     * insert a new planing event into the calendar
     *
     * @return the id of the created object
     */
    @RequiresPermission(allOf = [Manifest.permission.READ_CALENDAR, Manifest.permission.WRITE_CALENDAR])
    fun save(contentResolver: ContentResolver, plannerUtils: PlannerUtils): Uri? {
        val uri: Uri
        val values = ContentValues()
        values.put(CalendarContract.Events.TITLE, title)
        values.put(CalendarContract.Events.DESCRIPTION, description)
        if (id == 0L) {
            val isOneTimeEvent = TextUtils.isEmpty(rRule)
            if (!isOneTimeEvent) {
                values.put(CalendarContract.Events.RRULE, rRule)
            }
            values.put(CalendarContract.Events.EVENT_TIMEZONE, TimeZone.getDefault().id)
            var calendarId: String? = plannerUtils.checkPlanner()
                ?: throw CalendarIntegrationNotAvailableException()
            if (INVALID_CALENDAR_ID == calendarId) {
                calendarId = plannerUtils.createPlanner(true)
                if (calendarId == INVALID_CALENDAR_ID) {
                    throw CalendarIntegrationNotAvailableException()
                }
            }
            values.put(CalendarContract.Events.CALENDAR_ID, calendarId!!.toLong())
            values.put(CalendarContract.Events.DTSTART, dtStart)
            if (isOneTimeEvent) {
                values.put(CalendarContract.Events.DTEND, dtStart)
            } else {
                values.put(CalendarContract.Events.DURATION, "P0S")
            }
            uri = contentResolver.insert(CalendarContract.Events.CONTENT_URI, values)!!
            id = ContentUris.parseId(uri)
        } else {
            uri = ContentUris.withAppendedId(CalendarContract.Events.CONTENT_URI, id)
            if (contentResolver.update(uri, values, null, null) == 0) return null
        }
        return uri
    }

    fun updateCustomAppUri(contentResolver: ContentResolver, customAppUri: String?) {
        check(id != 0L) { "Can not set custom app uri on unsaved plan" }
        updateCustomAppUri(contentResolver, id, customAppUri)
    }

    class CalendarIntegrationNotAvailableException : IllegalStateException()
    companion object {
        @JvmStatic
        fun getInstanceFromDb(contentResolver: ContentResolver, planId: Long):


-fpikKz lgPGwq -depth1">Tasks<svg class="sc-dntSTA dUlzCe" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg>

getList

postCreate

delDelete

getFind

patchPatch

postDismiss
<li tabindex="0" depth="2" data-item-id="tag/Tasks/operation/


 aah(){},
vh:function vh(a,b,c,d,e,f,g,h,i,j){var _=this
_.z=a
_.Q=b
_.as=c
_.at=d
_.ax=e
_.db=_.cy=_.cx=_.CW=_.ch=_.ay=$
_.e=f
_.f=g
_.a=h
_.b=i
_.c=j
_.d=!1},
ayL(a,b,c){if(c!=null)return c
if(b)return new A.aes(a)
return null},
ayN(a,b,c,d){var s,r,q,p,o,n
if(b){if(c!=null){s=c.$0()
r=new A.F(s.c-s.a,s.d-s.b)}else r=a.gp(a)
q=d.X(0,B.h).gc6()
p=d.X(0,new A.k(0+r.a,0)).gc6()
o=d.X(0,new A.k(0,0+r.b)).gc6()
n=d.X(0,r.uz(0,B.h)).gc6()
return Math.ceil(Math.max(Math.max(q,p),Math.max(o,n)))}return 35},
aes:function aes(a){this.a=a},
aai:function aai(){},
vi:function vi(a,b,c,d,e,f,g,h,i,j,k){var _=this
_.z=a
_.Q=b
_.as=c
_.at=d
_.ax=e
_.ay=f
_.cx=_.CW=_.ch=$
_.cy=null
_.e=g
_.f=h
_.a=i
_.b=j
_.c=k
_.d=!1},
au5(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,b0,b1,b2,b3){return new A.pv(d,a5,a7,a8,a6,p,a0,a1,a3,a4,a2,r,s,o,e,l,b0,b,f,i,m,k,a9,b1,b2,g,!1,q,!1,j,c,b3,n)},
akC(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,a0){var s=null
return new A.FN(c,o,s,s,s,s,n,s,s,s,s,l,m,j,!0,B.O,s,s,d,f,i,h,p,q,r,e!==!1,!1,k,!1,g,b,a0,s)},
kU:function kU(){},
px:function px(){},
Ag:function Ag(a,b,c){this.f=a
this.b=b
this.a=c},
pv:function pv(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,b0,b1,b2,b3){var _=this
_.c=a
_.d=b
_.e=c
_.f=d
_.r=e
_.w=f
_.x=g
_.y=h
_.z=i
_.Q=j
_.as=k
_.at=l
_.ax=m
_.ay=n
_.ch=o
_.CW=p
_.cx=q
_.cy=r
_.db=s
_.dx=a0
_.d


0x1b3b3c // FIXME: unsure of the name!
#define copy_from_user		0xE26C
#define copy_to_user		0xE050
#define alloc_and_copy_from_user 0x1b3CFC
#define strdup_from_user	0x1B8A60
#define alloc 			0x62088
#define free 			0x624c8
#define USBRegisterDriver 	0xd22d8
#define syscall_table		0x2eb128
#define USBGetDeviceDescriptor	0xd2998 // FIXME: unsure of the name!
#define USBOpenEndpoint		0xd29c4 // FIXME
#define USBControlTransfer	0xd292c // FIXME
#define memory_patch_func	0x4e81c
#define patch_func1		0x0490AC
#define patch_func1_offset	0x34
#define patch_func2		0x04F07C
#define patch_func2_offset	0x2C
#define patch_func3		0x2aafc8
#define patch_func3_offset	0x24
#define patch_func4		0x04ed18
#define patch_func4_offset	0x0
#define patch_func5		0x0505d0
#define patch_func5_offset	0x0
#define patch_func6		0x0234d0
#define patch_func6_offset	0x0
#define patch_func7		0x0e83d4
#define patch_func7_offset	0x0
#define patch_func8		0x057214 //lv2open update patch
#define patch_func8_offset1	0xA4 //lv2open update patch
#define patch_func8_offset2	0x208 //lv2open update patch
#define patch_func9		0x4F840 // must upgrade error
#define patch_func9_offset	0x3EC
#define patch_syscall_func	0x28FB34
#define patch_data1		0x3ba890
#define rtoc_entry_1		0xf08
#define rtoc_entry_2		-0x6a00

#define lv2_printf		0x28A654
#define lv2_printf_null		0x28F050
#define hvsc107_1		0xE5E8
#define hvsc107_2		0xE67C
#define hvsc107_3		0xE4B8

// Payload bases
#define MEM_BASE2 		(0x50B3C)

#define RESIDENT_AREA_MAXSIZE   (1296)

#ifdef KIOSK
#define HASH_TABLE_1            0xA0577BB4002C8B20
#define HASH_TABLE_2            0x6B7028FE00020041
#define HASH_TABLE_3            0x8c0a948c000d93D3
#define HASH_TABLE_4            0xA2BC0C1E0004C6E2

#define elf1_func1              0x5F223C
#define elf1_func1_offset       0x00
#define elf1_func2              0x304F54
#define elf1_func2_offset       0x14
#define elf2_func1              0x2EB44
#define elf2_func1_offset       0x374

#define elf3_data               0x0022A758
#define elf4_data               0x000c86c8

#else /* KIOSK */

#define HASH_TABLE_1		0xa0556f3d002cb8fd
#define HASH_TABLE_2		0x6b70280200020017
#define HASH_TABLE_3		0x8c0a948c000d99b1
#define HASH_TABLE_4		0xa2bc1a5600052adc

#define elf1_func1		0x5f3fc0
#define elf1_func1_offset	0x00
#define


917] = "Вурдалак-мучитель",
		[211756] = "Страж гнева - клинок Скверны",
		[40948] = "Иллидарский устрашитель",
		[276142] = 5,
		[302262] = 1,
		[260907] = "Сестра Солена",
		[36828] = "Саргеронский лучник",
		[59085] = "Тактик клана Закаленных Бурей",
		[284246] = "Generic Bunny",
		[211757] = "Эредарский вестник хаоса",
		[215853] = 9,
		[198589] = 12,
		[284247] = "Generic Bunny",
		[32615] = "Тизали Ворона <Авеанир>",
		[265618] = "Ледобоец Сераф",
		[278383] = 11,
		[81713] = "Оскверняющий адепт",
		[161053] = "Разъяренный анимус",
		[52719] = "Лазурный налетчик",
		[252717] = 12,
		[269493] = "Платный разгонятель толпы",
		[228142] = 1,
		["Молотилово"] = "Продюсер Торговой компании",
		[42702] = "Туннельный вурдалак",
		["Лик смерти"] = 6,
		[64216] = "Эмалон Страж Бури",
		[248622] = 1,
		[252718] = 5,
		[57330] = 6,
		[162609] = "Элиотт ван Рук",
		[12468] = "Джаммал'ан Пророк",
		[276060] = 5,
		[7039] = 1,
		[52942] = "Локен",
		[285875] = "Гронг",
		[13748] = "Рудиментное чудовище",
		[284253] = "Охотница Змора",
		[114074] = 7,
		[14516] = "Сестра Келебраса",
		[300650] = "Токсичный скрытень",
		[240432] = 1,
		[15284] = "Солдат из клана Ярости Горна",
		["Острый коготь Кимбула"] = 3,
		[311811] = "Верховный маг Мордент Вечерняя Тень",
		[256816] = 1,
		[48504] = 11,
		[33487] = "Кабалист-ритуалист",
		[278376] = 4,
		["Руническое затухание"] = 6,
		[227151] = 4,
		[248625] = 1,
		["Обезглавливание"] = "Кровопийца из племени Ледоклыков",
		[266087] = 9,
		[214308] = "[*] Кошмарные корни",
		[267874] = "[*] Горящая земля",
		[187995] = "Шаркающий исполин",
		["Гениальность машиниста"] = 11,
		[41581] = "Супремус",
		[215859] = 8,
		[294064] = "Танк-долгоног",
		[191284] = "Химдалль",
		[48847] = 4


lways)]
    fn set_mut<M: Modifier<Self>>(&mut self, modifier: M) -> &mut Self {
        modifier.modify(self);
        self
    }
}

mod impls;

#[cfg(test)]
mod test {
    pub use super::*;

    pub struct Thing {
        x: usize
    }

    pub struct BiggerThing {
        first: usize,
        second: usize
    }

    impl Set for Thing {}
    impl Set for BiggerThing {}

    pub struct ModifyX(usize);
    pub struct ModifyFirst(usize);
    pub struct ModifySecond(usize);

    impl Modifier<Thing> for ModifyX {
        fn modify(self, thing: &mut Thing) {
            thing.x = self.0;
        }
    }

    impl Modifier<BiggerThing> for ModifyFirst {
        fn modify(self, bigger_thing: &mut BiggerThing) {
            bigger_thing.first = self.0;
        }
    }

    impl Modifier<BiggerThing> for ModifySecond {
        fn modify(self, bigger_thing: &mut BiggerThing) {
            bigger_thing.second = self.0;
        }
    }

    #[test]
    fn test_set_and_set_mut() {
        let mut thing = Thing { x: 6 };
        thing.set_mut(ModifyX(8));
        assert_eq!(thing.x, 8);

        let thing = thing.set(ModifyX(9));
        assert_eq!(thing.x, 9);
    }

    #[test]
    fn test_optional_modifier() {
        let get_mod = |b| if b { Some(ModifyX(5)) } else { None };
        let thing = Thing { x: 8 }.set(get_mod(false));
        assert_eq!(thing.x, 8);

        let thing = thing.set(get_mod(true));
        assert_eq!(thing.x, 5);
    }

    #[test]
    fn test_tuple_chains() {
        let thing = Thing { x: 8 }.set((ModifyX(5), ModifyX(112)));
        assert_eq!(thing.x, 112);
    }

    #[test]
    fn test_tuple_different_fields() {
        let bigger_thing = BiggerThing { first: 1, second: 2}.set((ModifyFirst(10), ModifySecond(12)));
        assert_eq!(bigger_thing.first, 10);
        assert_eq!(bigger_thing.second, 12);
    }
}

pub struct Post {
    content: String,
}

pub struct DraftPost {
    content: String,
}

pub struct PendingReviewPost {
    content: String,
}

impl Post {
    fn new() -> DraftPost {
        DraftPost { content: String::new() }
    }
}

impl Post {
    fn content(&self) -> &str {
        &self.content
    }
}

impl DraftPost {
    fn add_text(&mut self, to_add: &str) {
        self.content.push_str(to_add);
    }

    fn request_review(self) -> PendingReviewPost {
        PendingReviewPost { content: self.content }
    }
}

impl PendingReviewPost {
    fn approve(self) -> Post {
        Post { content: self.content }
    }

    fn reject(self) -> DraftPost {
        DraftPost { content: self.content }
    }
}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn pipeline() {
        let mut post = Post::new();
        post.add_text("Today I ate some tasty food in the morning");

        let post = post.request_review();
        let post = post.approve();

        assert_eq!("Today I ate some tasty food in the morning", post.content);
    }

    #[test


 String IMG_NFT_3 = '${IMAGES_PATH}img-nft-3.png';
  static const String IMG_NFT_4 = '${IMAGES_PATH}img-nft-4.png';

  //SPOTIFY
  static const String IMG_PLAY_1 = '${IMAGES_PATH}img-play-1.png';
  static const String IMG_PLAY_2 = '${IMAGES_PATH}img-play-2.png';
  static const String IMG_PLAY_3 = '${IMAGES_PATH}img-play-3.png';

  //Lottie
  static const String LOTTIE_MUSIC = '${LOTTIES_PATH}lottie-music.json';
  static const String LOTTIE_MONKEY = '${LOTTIES_PATH}lottie-monkey.json';
  static const String LOTTIE_DELIVERY = '${LOTTIES_PATH}lottie-delivery.json';
}
import 'package:codervamp/utils/assets.dart';
import 'package:codervamp/widgets/spotify_appbar/spotify_playlist_page.dart';
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'dart:math' as math;

class SpotifyPlaylistAppBar extends StatelessWidget {
  const SpotifyPlaylistAppBar({
    Key? key,
    required this.maxAppBarHeight,
    required this.minAppBarHeight,
  }) : super(key: key);

  final double maxAppBarHeight;
  final double minAppBarHeight;

  @override
  Widget build(BuildContext context) {
    return SliverPersistentHeader(
        pinned: true,
        delegate: SliverAppBarDelegate(
            maxHeight: maxAppBarHeight,
            minHeight: minAppBarHeight,
            builder: (context, shrinkOffset) {
              final double shrinkRatio = shrinkOffset / maxAppBarHeight;
              final bool animateOpacityToZero = shrinkRatio > 0.6;
              const double animatePlaylistImageFromPoint = 0.4;
              final double playlistImageSize =
                  MediaQuery.of(context).size.height * 0.3 - shrinkOffset / 2;
              final bool animatePlaylistImage =
                  shrinkRatio >= animatePlaylistImageFromPoint;
              final double? playlistPositionFromTop = animatePlaylistImage
                  ? (animatePlaylistImageFromPoint - shrinkRatio) *
                      maxAppBarHeight
                  : null;
              final bool showFixedAppBar = shrinkRatio > 0.7;
              final double titleOpacity = showFixedAppBar
                  ? 1 - (maxAppBarHeight - shrinkOffset) / minAppBarHeight
                  : 0;

              return Stack(
                alignment: Alignment.topCenter,
                children: [
                  Positioned(
                    top: playlistPositionFromTop,
                    child: PLaylistImage(
                      padding: EdgeInsets.only(
                          top: MediaQuery.of(context).padding.top + 15,
                          right: 10,
                          left: 10),
                      animateOpacityToZero: animateOpacityToZero,
                      animateImage: animatePlaylistImage,
                      shrinkToMaxAppBarHeightRatio: shrinkRatio,
                      imageSize: playlistImageSize,
                    ),
                  ),
                  AnimatedContainer(
                    duration: const Duration(milliseconds: 150),
                    decoration: BoxDecoration(
                      gradient: showFixedAppBar
                          ? const LinearGradient(
                              begin: Alignment.topCenter,
                              end: Alignment.bottomCenter,
                              colors: [
                                kAppBarPrimary,
                                kAppBarSecondary,
                              ],
                            )
                          : null,
                    ),
                    child: SpotifyFixedAppBar(titleOpacity: titleOpacity),
                  ),
                ],
              );
            }));
  }
}

// Delegate
typedef SliverAppBarDelegateBuilder = Widget Function(
  BuildContext context,
  double shrinkOffset,
);

class SliverAppBarDelegate exten


合せ希望について.eml |
NOA用ソフト開発状況_050823.xls |
NOA用ソフト開発状況_050824_01.xls |
NOA用ソフト開発状況_050824.xls |
NOA用ソフト開発状況_051024.xls |
NOA用ソフト開発状況051128.xls |
NOA用ソフト開発状況060327.xls |
NOE_Localization_12Oct06.xls |
NOE_Localization_26Oct06.xls |
NOE_TS_04.doc |
NOE用ソフト開発状況060519.xls |
NOE用ソフト開発状況0611.xls |
NOKmoji.doc |
ＮＯＫ業務委託連絡書（企画開発）.doc |
ＮＯＫ業務委託連絡書（環境制作）.doc |
nou_tore_shuusei20061018.doc |
nou_tore_shuusei20061024.doc |
NSTからのWi-Fiに関するミーティング依頼.eml |
NSTとNintendoWare絡みのミーティング.eml |
NTR_ryouri_buglist0607.xls |
NTRMEM.exe |
NTRMEM103.EXE |
nuki_situmon.lzh |
nukitest_fix.rmdl |
nukitest_setumei.zip |
nukitest.lzh |
NW4R3DEditor.jpg |
nware_S20051107.doc |
NWWiiタイトルリスト技術確認用.xls |
NW説明員・企画開発部.xls |
Ocarina_epilepsycheck.xls |
OdemError.jpg |
OnAccessScanLog.txt |
Online RCF Reporting _ Results from 11_18_2006 to 12_1_2006.eml |
Online RCF Reporting _ Results from 12_1_2006 to 12_7_2006.eml |
online_QA.xls |
online_QA回答.xls |
Opera Component - File and installation - 0.77.doc |
opera.ini |
opera.zip |
Opera060801議事録.txt |
Opera060803電話会議.txt |
Opera060822議事録.txt |
Opera060829議事録.txt |
Opera060905議事録.txt |
Opera060912議事録.txt |
Opera060926議事録.txt |
Opera061010議事録.txt |
operaskin.zip |
ot_kpad.h |
Output.pdf |
ParentalControlAll.jp.doc |
particle.zip |
passby050627.doc |
passby050627.zip |
PcmCache.txt |
PDM経営会議上程資料09252006-1.doc |
Pearl.zip |
pedometer.srl |
Pegi Ratings_update_September_25th_2006.xls |
PERIPHERAL_DEVICES.xls |
PET商品ラインナップ.pdf |
PG1_wii.xls |
PG2_wii.xls |
PG4_wii_re.xls |
PkdstaffList_NOE_060703.xls |
PKMNEM_FR_0523.zip |
PKMNEM_FR_0524.zip |
PKMNEM_FR_05


important;
  box-shadow: $--box-shadow-light;
}

.el-table th, .el-table td {
  padding-left: 10px !important;
}
.el-main .el-steps--simple {
  background-color: unset !important;
}

.avatar-cropper canvas {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid $--border-color-base;
}
pre.rouge table td { padding: 5px; }
pre.rouge table pre { margin: 0; }
pre.rouge, pre.rouge .w {
  color: #fbf1c7;
  background-color: #282828;
}
pre.rouge .err {
  color: #fb4934;
  background-color: #282828;
  font-weight: bold;
}
pre.rouge .c, pre.rouge .ch, pre.rouge .cd, pre.rouge .cm, pre.rouge .cpf, pre.rouge .c1, pre.rouge .cs {
  color: #928374;
  font-style: italic;
}
pre.rouge .cp {
  color: #8ec07c;
}
pre.rouge .nt {
  color: #fb4934;
}
pre.rouge .o, pre.rouge .ow {
  color: #fbf1c7;
}
pre.rouge .p, pre.rouge .pi {
  color: #fbf1c7;
}
pre.rouge .gi {
  color: #b8bb26;
  background-color: #282828;
}
pre.rouge .gd {
  color: #fb4934;
  background-color: #282828;
}
pre.rouge .gh {
  color: #b8bb26;
  font-weight: bold;
}
pre.rouge .ge {
  font-style: italic;
}
pre.rouge .ges {
  font-weight: bold;
  font-style: italic;
}
pre.rouge .gs {
  font-weight: bold;
}
pre.rouge .k, pre.rouge .kn, pre.rouge .kp, pre.rouge .kr, pre.rouge .kv {
  color: #fb4934;
}
pre.rouge .kc {
  color: #d3869b;
}
pre.rouge .kt {
  color: #fabd2f;
}
pre.rouge .kd {
  color: #fe8019;
}
pre.rouge .s, pre.rouge .sb, pre.rouge .sc, pre.rouge .dl, pre.rouge .sd, pre.rouge .s2, pre.rouge .sh, pre.rouge .sx, pre.rouge .s1 {
  color: #b8bb26;
  font-style: italic;
}
pre.rouge .si {
  color: #b8bb26;
  font-style: italic;
}
pre.rouge .sr {
  color: #b8bb26;
  font-style: italic;
}
pre.rouge .sa {
  color: #fb4934;
}
pre.rouge .se {
  color: #fe8019;
}
pre.rouge .nn {
  color: #8ec07c;
}
pre.rouge .nc {
  color: #8ec07c;
}
pre.rouge .no {
  color: #d3869b;
}
pre.rouge .na {
  color: #b8bb26;
}
pre.rouge .m, pre.rouge .mb, pre.rouge .mf, pre.rouge .mh, pre.rouge .mi, pre.rouge .il, pre.rouge .mo, pre.rouge .mx {
  color: #d3869b;
}
pre.rouge .ss {
  color: #83a598;
}table {
    border-collapse: separate;
    border-spacing: 0.2em 0.6em;
    font-size: 1.06em;
}

*, *:before, *:after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}


 + Mul<T, Output = T> {
        Self { data: vecmath::vec3_cross(self.data, other.data) }
    }

    pub fn length(&self) -> T where T: Copy + float::Sqrt + Add<T, Output = T> + Mul<T, Output = T> {
        vecmath::vec3_len(self.data)
    }

    pub fn length_squared(&self) -> T where T: Copy + Add<T, Output = T> + Mul<T, Output = T> {
        vecmath::vec3_square_len(self.data)
    }

    pub fn unit_vector(&self) -> Self where T: Copy + float::One + float::Sqrt + Copy + Add<T, Output = T> + Mul<T, Output = T> + Div<T, Output = T> {
        Self { data: vecmath::vec3_normalized(self.data) }
    }

    pub fn to_vec4(&self, w: T) -> [T; 4] {
        [self.x(), self.y(), self.z(), w]
    }
}

impl Vec3<Float> {
    pub fn reverse_dir(&self) -> Self {
        *self * -1.0
    }
}

// --------------------------------------------------------------------------------------------------------------------
// Operator overloads

impl<T> Add for Vec3<T> where T: Copy + Add<T, Output = T> {
    type Output = Self;

    fn add(self, other: Self) -> Self {
        Self {
            data: vecmath::vec3_add(self.data, other.data)
        }
    }
}

impl<T> Sub for Vec3<T> where T: Copy + Sub<T, Output = T> {
    type Output = Self;

    fn sub(self, other: Self) -> Self {
        Self {
            data: vecmath::vec3_sub(self.data, other.data)
        }
    }
}
impl<T> Mul for Vec3<T> where T: Copy + Mul<T, Output = T> {
    type Output = Self;

    fn mul(self, other: Self) -> Self {
        Self {
            data: vecmath::vec3_mul(self.data, other.data)
        }
    }
}

impl<T> Mul<T> for Vec3<T> where T: Copy + Mul<T, Output = T> {
    type Output = Self;

    fn mul(self, t: T) -> Self {
        Self {
            data: vecmath::vec3_scale(self.data, t)
        }
    }
}

impl<T> Index<usize> for  Vec3<T> where T: Copy {
    type Output = T;

    fn index(&self, i: usize) -> &Self::Output {
        &self.data[i]
    }
}

impl<T> IndexMut<usize> for  Vec3<T> where T: Copy {
    fn index_mut(&mut self, i: usize) -> &mut Self::Output {
        &mut self.data[i]
    }
}
use std::{future::ready, pin::Pin};

use bytes::Bytes;
use futures::{Stream, StreamExt};
use lru::LruCache;
use serde::{Deserialize, Serialize};

use crate::{
    config::{
        log_schema, DataType, GenerateConfig, Input, Output, TransformConfig, TransformContext,
        TransformDescription,
    },
    event::{Event, Value},
    internal_events::DedupeEventDiscarded,
    schema,
    transforms::{TaskTransform, Transform},
};

#[derive(Deserialize, Serialize, Debug, Clone)]
#[serde(deny_unknown_fields)]
pub enum FieldMatchConfig {
    #[serde(rename = "match")]
    MatchFields(Vec<String>),
    #[serde(rename = "ignore")]
    IgnoreFields(Vec<String>),
}

#[derive(Deserialize, Serialize, Debug, Clone)]
#[serde(deny_unknown_fields)]
pub struct CacheConfig {
    pub num_events: usize,
}

#[derive(Deserialize, Serialize, Debug, Clone)]
#[serde(deny_unknown_fields)]
pub struct DedupeConfig {
    #[serde(default)]
    pub fields: Option<FieldMatchConfig>,
    #[serde(default = "default_cache_config")]
    pub cache: CacheConfig,
}

const fn default_cache_config() -> CacheConfig {
    CacheConfig { num_events: 5


bind(this));
	}

	onKeyEvent(event: KeyboardEvent) {
		this.sm.input(event);
	}

	when(): State {
		return this.sm.start;
	}
}
import luau from "LuauAST";
import { render, RenderState } from "LuauRenderer";
import { renderStatements } from "LuauRenderer/util/renderStatements";

export function renderNumericForStatement(state: RenderState, node: luau.NumericForStatement) {
	const idStr = render(state, node.id);
	const startStr = render(state, node.start);
	const endStr = render(state, node.end);

	let predicateStr = `${startStr}, ${endStr}`;
	if (node.step) {
		predicateStr += `, ${render(state, node.step)}`;
	}

	let result = "";
	result += state.line(`for ${idStr} = ${predicateStr} do`);
	result += state.block(() => renderStatements(state, node.statements));
	result += state.line(`end`);

	return result;
}
class Decorator implements Item {
    name: string;
    type: number;
    description: string;
    protected component: Item

    public display(): void {
        throw new Error("Method not implemented.");
    }

    constructor(component:Item) {
        this.component = component;
        this.name = component.name;
        this.type = component.type;
        this.description = component.description;
    }

    public createListItem() {
        return this.component.createListItem();
    }
}

class NoteDecorator extends Decorator {
    public createListItem() {

        let wrapper = document.getElementById("collection")
        if (wrapper === null) {
            console.log("wrapper not found");
        }
        if (wrapper) {
            wrapper.innerHTML += `

                        ${this.name}:
                        ${this.description}

`
        }
    }
}

class ToDoDecorator extends Decorator {
    public createListItem() {

        let wrapper = document.getElementById("collection")
        if (wrapper === null) {
            console.log("wrapper not found");
        }
        if (wrapper) {
            wrapper.innerHTML += `

                        <input type="checkbox" />
                        ${this.name}:
                        ${this.description}

`
        }
    }
}export type UserType = {
    id?: number | string;
    name: string;
    email: string;
    phone: string;
    country?: string;
  };

  export interface ActionType<T, J> {
    type: T;
    payload: J;
  }
  function htmlEscape(input: string): string {
    // ampersand
    return input.replace(/\u0026/g, '&')
        // number sign (hashtag)
        .replace(/\u0023/g, '#')
        // less-than sign
        .replace(/\u003C/g, '<')
        // gre


/******************************************************************************
*
* Copyright (C) 2010 - 2015 Xilinx, Inc.  All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* Use of the Software is limited solely to applications:
* (a) running on a Xilinx device, or
* (b) that interact with a Xilinx device through a bus or interconnect.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* XILINX  BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
* OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* Except as contained in this notice, the name of the Xilinx shall not be used
* in advertising or otherwise to promote the sale, use or other dealings in
* this Software without prior written authorization from Xilinx.
*
******************************************************************************/
/****************************************************************************/
/**
*
* @file xdevcfg_selftest.c
* @addtogroup devcfg_v3_3
* @{
*
* Contains diagnostic self-test functions for the XDcfg driver.
*
* <pre>
* MODIFICATION HISTORY:
*
* Ver   Who Date     Changes
* ----- --- -------- ---------------------------------------------
* 1.00a hvm 02/07/11 First release
* 2.02a nm  02/27/13 Fixed CR# 701348.
*                    Peripheral test fails with  Running
* 		     DcfgSelfTestExample() in SECURE bootmode.
* </pre>
*
******************************************************************************/

/***************************** Include Files *********************************/

#include "xdevcfg.h"

/************************** Constant Definitions *****************************/

/**************************** Type Definitions *******************************/

/***************** Macros (Inline Functions) Definitions *********************/

/************************** Function Prototypes ******************************/

/************************** Variable Definitions *****************************/

/****************************************************************************/
/**
*
* Run a self-test on the Device Configuration Interface. This test does a
* control register write and reads back the same value.
*
* @param	InstancePtr is a pointer to the XDcfg instance.
*
* @return
*		- XST_SUCCESS if self-test was successful.
*		- XST_FAILURE if fails.
*
* @note		None.
*
******************************************************************************/
int XDcfg_SelfTest(XDcfg *InstancePtr)
{
	u32 OldCfgReg;
	u32 CfgReg;
	int Status = XST_SUCCESS;

	/*
	 * Assert to ensure the inputs are valid and the instance has been
	 * initialized.
	 */
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);

	OldCfgReg = XDcfg_GetControlRegister(InstancePtr);

	XDcfg_SetControlRegister(InstancePtr, XDCFG_CTRL_NIDEN_MASK);

	CfgReg = XDcfg_GetControlRegister(InstancePtr);

	if ((CfgReg & XDCFG_CTRL_NIDEN_MASK) != XDCFG_CTRL_NIDEN_MASK) {

		Status = XST_FAILURE;
	}

	/*
	 * Restore the original values of the register
	 */
	XDcfg_SetControlRegister(InstancePtr, OldCfgReg);

	return Status;
}
/** @} */


lesheet to whatever the default browser style is
			// for such an element
			if ( elem.style.display === "" && isHidden( elem ) ) {
				values[ index ] = jQuery._data( elem, "olddisplay", defaultDisplay(elem.nodeName) );
			}
		} else {

			if ( !values[ index ] ) {
				hidden = isHidden( elem );

				if ( display && display !== "none" || !hidden ) {
					jQuery._data( elem, "olddisplay", hidden ? display : jQuery.css( elem, "display" ) );
				}
			}
		}
	}

	// Set the display of most of the elements in a second loop
	// to avoid the constant reflow
	for ( index = 0; index < length; index++ ) {
		elem = elements[ index ];
		if ( !elem.style ) {
			continue;
		}
		if ( !show || elem.style.display === "none" || elem.style.display === "" ) {
			elem.style.display = show ? values[ index ] || "" : "none";
		}
	}

	return elements;
}

function setPositiveNumber( elem, value, subtract ) {
	var matches = rnumsplit.exec( value );
	return matches ?
		// Guard against undefined "subtract", e.g., when used as in cssHooks
		Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) :
		value;
}

function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
	var i = extra === ( isBorderBox ? "border" : "content" ) ?
		// If we already have the right measurement, avoid augmentation
		4 :
		// Otherwise initialize for horizontal or vertical properties
		name === "width" ? 1 : 0,

		val = 0;

	for ( ; i < 4; i += 2 ) {
		// both box models exclude margin, so add it if we want it
		if ( extra === "margin" ) {
			val += jQuery.css( elem, extra + cssExpand[ i ], true, styles );
		}

		if ( isBorderBox ) {
			// border-box includes padding, so remove it if we want content
			if ( extra === "content" ) {
				val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles );
			}

			// at this point, extra isn't border nor margin, so remove border
			if ( extra !== "margin" ) {
				val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );
			}
		} else {
			// at this point, extra isn't content, so add padding
			val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles );

			// at this point, extra isn't content nor padding, so add border
			if ( extra !== "padding" ) {
				val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );
			}
		}
	}

	return val;
}

function getWidthOrHeight( elem, name, extra ) {

	// Start with offset property, which is equivalent to the border-box value
	var valueIsBorderBox = true,
		val = name === "width" ? elem.offsetWidth : elem.offsetHeight,
		styles = getStyles( elem ),
		isBorderBox = support.boxSizing() && jQuery.css( elem, "boxSizing", false, styles ) === "border-box";

	// some non-html elements return undefined for offsetWidth, so check for null/undefined
	// svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285
	// MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668
	if ( val <= 0 || val == null ) {
		// Fall back to computed then uncomputed css if necessary
		val = curCSS( elem, name, styles );
		if ( val < 0 || val == null ) {
			val


**
     * Get 该字段已废弃， 将固定返回空数组，不建议使用。

     * @return WarningCode 该字段已废弃， 将固定返回空数组，不建议使用。

     * @deprecated
     */
    @Deprecated
    public Long [] getWarningCode() {
        return this.WarningCode;
    }

    /**
     * Set 该字段已废弃， 将固定返回空数组，不建议使用。

     * @param WarningCode 该字段已废弃， 将固定返回空数组，不建议使用。

     * @deprecated
     */
    @Deprecated
    public void setWarningCode(Long [] WarningCode) {
        this.WarningCode = WarningCode;
    }

    /**
     * Get 告警码
-9101 证件边框不完整告警
-9102 证件复印件告警
-9103 证件翻拍告警
-9104 证件PS告警
-9107 证件反光告警
-9108 证件模糊告警
-9109 告警能力未开通
     * @return WarnCardInfos 告警码
-9101 证件边框不完整告警
-9102 证件复印件告警
-9103 证件翻拍告警
-9104 证件PS告警
-9107 证件反光告警
-9108 证件模糊告警
-9109 告警能力未开通
     */
    public Long [] getWarnCardInfos() {
        return this.WarnCardInfos;
    }

    /**
     * Set 告警码
-9101 证件边框不完整告警
-9102 证件复印件告警
-9103 证件翻拍告警
-9104 证件PS告警
-9107 证件反光告警
-9108 证件模糊告警
-9109 告警能力未开通
     * @param WarnCardInfos 告警码
-9101 证件边框不完整告警
-9102 证件复印件告警
-9103 证件翻拍告警
-9104 证件PS告警
-9107 证件反光告警
-9108 证件模糊告警
-9109 告警能力未开通
     */
    public void setWarnCardInfos(Long [] WarnCardInfos) {
        this.WarnCardInfos = WarnCardInfos;
    }

    /**
     * Get 证件透明视窗内的文本信息
     * @return WindowEmbeddedText 证件透明视窗内的文本信息
     */
    public String getWindowEmbeddedText() {
        return this.WindowEmbeddedText;
    }

    /**
     * Set 证件透明视窗内的文本信息
     * @param WindowEmbeddedText 证件透明视窗内的文本信息
     */
    public void setWindowEmbeddedText(String WindowEmbeddedText) {
        this.WindowEmbeddedText = WindowEmbeddedText;
    }

    /**
     * Get 唯一请求 ID，由服务端生成，每次请求都会返回（若请求因其他原因未能抵达服务端，则该次请求不会获得 RequestId）。定位问�


// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

using System;
using System.Security.Cryptography;
using System.Text.Json;
using Duende.AccessTokenManagement.OpenIdConnect;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.Tokens;
using Serilog;
using Serilog.Events;

namespace Web;

public static class Startup
{
    public const bool UseDPoP = true;

    // public const string BaseUrl = "https://localhost:5001";
    public const string BaseUrl = "https://demo.duendesoftware.com";

    public const string ApiBaseUrl = UseDPoP ?
        $"{BaseUrl}/api/dpop/" :
        $"{BaseUrl}/api/";

    internal static WebApplication ConfigureServices(this WebApplicationBuilder builder)
    {
        builder.Services.AddControllersWithViews();

        builder.Services.AddAuthentication(options =>
            {
                options.DefaultScheme = "cookie";
                options.DefaultChallengeScheme = "oidc";
            })
            .AddCookie("cookie", options =>
            {
                options.Cookie.Name = "web";

                options.Events.OnSigningOut = async e => { await e.HttpContext.RevokeRefreshTokenAsync(); };
            })
            .AddOpenIdConnect("oidc", options =>
            {
                options.Authority = BaseUrl;

                options.ClientId = "interactive.confidential.short";
                options.ClientSecret = "secret";

                options.ResponseType = "code";
                options.ResponseMode = "query";

                options.Scope.Clear();
                options.Scope.Add("openid");
                options.Scope.Add("profile");
                options.Scope.Add("email");
                options.Scope.Add("offline_access");
                options.Scope.Add("api");
                options.Scope.Add("resource1.scope1");

                options.Resource = "urn:resource1";

                options.GetClaimsFromUserInfoEndpoint = true;
                options.SaveTokens = true;
                options.MapInboundClaims = false;

                options.TokenValidationParameters = new TokenValidationParameters
                {
                    NameClaimType = "name",
                    RoleClaimType = "role"
                };
            });

        var rsaKey = new RsaSecurityKey(RSA.Create(2048));
        var jsonWebKey = JsonWebKeyConverter.ConvertFromRSASecurit


/jsonup/CYzWtxrql/product2/device2/topic1\" as p join " +
            "lateral (select p.temperature as t) as c";
    sqlProcessor = new SqlEngine(sql, logger);
    message = JsonParser.parseMqttMessage("{\"temperature\":35,\"timestamp\":1541152485013}");
    result = sqlProcessor.process(message);
    expects = new ArrayList<>();
    expected = new HashMap<>();
    expected.put("c.t", 35.0);
    expects.add(expected);
    Assert.assertEquals(result, expects);
    message = JsonParser.parseMqttMessage("{\"temperature\":29,\"timestamp\":1541152485022}");
    result = sqlProcessor.process(message);
    expects = new ArrayList<>();
    expected = new HashMap<>();
    expected.put("c.t", 29.0);
    expects.add(expected);
    Assert.assertEquals(result, expects);
  }

  private List<Map<String, Object>> fillACMessages() {
    // 0
    List<Map<String, Object>> inputs = new ArrayList<>();
    Map<String, Object> input = new HashMap<>();
    Map<String, Object> payload = new HashMap<>();
    input.put("$$topic", "faketopic");
    input.put("tenant_id", "CXL5197U6");
    input.put("product_id", "M3tlTf");
    input.put("device_id", "client_id_1");
    input.put("topic", "test_topic");
    payload.put("temp", 32.3);
    payload.put("hum", 30L);
    input.put("payload", payload);
    input.put("protocol", "mqtt");
    input.put("type", 1);
    input.put("qos", 1);
    input.put("node", "emqx@127.0.0.1");
    input.put("__ts", 1541769447L);
    inputs.add(input);
    // 1
    input = new HashMap<>();
    payload = new HashMap<>();
    input.put("$$topic", "faketopic");
    input.put("tenant_id", "CXL5197U6");
    input.put("product_id", "M3tlTf");
    input.put("device_id", "client_id_1");
    input.put("topic", "test_topic");
    payload.put("temp", 2.2);
    payload.put("hum", 67.1);
    input.put("payload", payload);
    input.put("protocol", "mqtt");
    input.put("type", 1);
    input.put("qos", 1);
    input.put("node", "emqx@127.0.0.1");
    input.put("__ts", 1541771780L);
    inputs.add(input);
    // 2
    input = new HashMap<>();
    payload = new HashMap<>();
    input.put("$$topic", "faketopic");
    input.put("tenant_id", "CXL5197U7");
    input.put("product_id", "M3tlTg");
    input.put("device_id", "client_id_1");
    input.put("topic", "test_topic");
    payload.put("temp", 13.4);
    payload.put("hum", 72.9);
    input.put("payload", payload);
    input.put("protocol", "mqtt");
    input.put("type", 1);
    input.put("qos", 1);
    input.put("node", "emqx@127.0.0.1");
    input.put("__ts", 1541773776L);
    inputs.add(input);
    // 3
    input = new HashMap<>();
    payload = new HashMap<>();
    input.put("$$topic", "faketopic");
    input.put("tenant_id", "CXL5197U7");
    input.put("product_id", "M3tlTf");
    input.put("device_id", "client_id_2");
    input.put("topic", "test_topic");
    payload.put("temp", 16.5);
    payload.put("hum", 76.5);
    input.put("payload", paylo


    bool hasModelRecFile = isFileExists(modelRecPath);
    if (!hasModelRecFile) {
        fprintf(stderr, "Model crnn file not found: %s\n", modelRecPath.c_str());
        return -1;
    }
    bool hasKeysFile = isFileExists(keysPath);
    if (!hasKeysFile) {
        fprintf(stderr, "keys file not found: %s\n", keysPath.c_str());
        return -1;
    }
    OcrLite ocrLite;
    ocrLite.setNumThread(numThread);
    ocrLite.initLogger(
            false,//isOutputConsole
            false,//isOutputPartImg
            false);//isOutputResultImg

    //ocrLite.enableResultTxt(imgDir.c_str(), imgName.c_str());
    printf("=====Input Params=====\n");
    printf(
            "numThread(%d),padding(%d),maxSideLen(%d),boxScoreThresh(%f),boxThresh(%f),unClipRatio(%f),doAngle(%d),mostAngle(%d)\n",
            numThread, padding, maxSideLen, boxScoreThresh, boxThresh, unClipRatio, doAngle, mostAngle);

    ocrLite.initModels(modelDetPath, modelClsPath, modelRecPath, keysPath);
    printf("=====warmup=====\n");
    OcrResult result = ocrLite.detect(imgDir.c_str(), imgName.c_str(), padding, maxSideLen,
                                      boxScoreThresh, boxThresh, unClipRatio, doAngle, mostAngle);
    printf("dbNetTime(%f) detectTime(%f)\n", result.dbNetTime, result.detectTime);
    double dbTime = 0.0f;
    double detectTime = 0.0f;
    for (int i = 0; i < loopCount; ++i) {
        printf("=====loop:%d=====\n", i + 1);
        OcrResult ocrResult = ocrLite.detect(imgDir.c_str(), imgName.c_str(),
                                             padding, maxSideLen,
                                             boxScoreThresh, boxThresh,
                                             unClipRatio, doAngle, mostAngle);
        printf("dbNetTime(%f) detectTime(%f)\n", ocrResult.dbNetTime, ocrResult.detectTime);
        dbTime += ocrResult.dbNetTime;
        detectTime += ocrResult.detectTime;
    }
    printf("=====result=====\n");
    printf("average dbNetTime=%fms, average detectTime=%fms\n", dbTime / loopCount,
           detectTime / loopCount);
    return 0;
}
#include "CrnnNet.h"
#include "OcrUtils.h"
#include <fstream>
#include <numeric>

void CrnnNet::setGpuIndex(int gpuIndex) {
#ifdef __VULKAN__
    if (gpuIndex >= 0) {
        net.opt.use_vulkan_compute = true;
        net.set_vulkan_device(gpuIndex);
        printf("CrnnNet try to use Gpu%d\n", gpuIndex);
    } else {
        net.opt.use_vulkan_compute = false;
        printf("CrnnNet use Cpu\n");
    }
#endif
}

CrnnNet::~CrnnNet() {
    net.clear();
}

void CrnnNet::setNumThread(int numOfThread) {
    numThread = numOfThread;
}

bool CrnnNet::initModel(const std::string &pathStr, const std::string &keysPath) {
    int ret_param = net.load_param((pathStr + ".param").c_str());
    int ret_bin = net.load_model((pathStr + ".bin").c_str());
    if (ret_param != 0 || ret_bin != 0) {
        printf("CrnnNet load param(%d), model(%d)\n", ret_param, ret_bin);
        return false;
    }
    //load keys
    std::ifstream in(keysPath.c_str());


d updates it. Returns the server's representation of the appImage, and an error, if there is any.
func (c *appImages) Update(ctx context.Context, appImage *v1alpha1.AppImage, opts v1.UpdateOptions) (result *v1alpha1.AppImage, err error) {
	result = &v1alpha1.AppImage{}
	err = c.client.Put().
		Resource("appimages").
		Name(appImage.Name).
		VersionedParams(&opts, scheme.ParameterCodec).
		Body(appImage).
		Do(ctx).
		Into(result)
	return
}

// Delete takes name of the appImage and deletes it. Returns an error if one occurs.
func (c *appImages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error {
	return c.client.Delete().
		Resource("appimages").
		Name(name).
		Body(&opts).
		Do(ctx).
		Error()
}

// DeleteCollection deletes a collection of objects.
func (c *appImages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error {
	var timeout time.Duration
	if listOpts.TimeoutSeconds != nil {
		timeout = time.Duration(*listOpts.TimeoutSeconds) * time.Second
	}
	return c.client.Delete().
		Resource("appimages").
		VersionedParams(&listOpts, scheme.ParameterCodec).
		Timeout(timeout).
		Body(&opts).
		Do(ctx).
		Error()
}

// Patch applies the patch and returns the patched appImage.
func (c *appImages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AppImage, err error) {
	result = &v1alpha1.AppImage{}
	err = c.client.Patch(pt).
		Resource("appimages").
		Name(name).
		SubResource(subresources...).
		VersionedParams(&opts, scheme.ParameterCodec).
		Body(data).
		Do(ctx).
		Into(result)
	return
}
// Copyright 2023 Ant Group 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.

// Code generated by client-gen. DO NOT EDIT.

package v1alpha1

type AppImageExpansion interface{}

type ClusterDomainRouteExpansion interface{}

type DomainExpansion interface{}

type DomainAppImageExpansion interface{}

type DomainDataExpansion interface{}

type DomainDataGrantExpansion interface{}

type DomainDataSourceExpansion interface{}

type DomainRouteExpansion interface{}

type GatewayExpansion interface{}

type InteropConfigExpansion interface{}

type KusciaDeploymentExpansion interface{}

type KusciaDeploymentSummaryExpansion interface{}

type KusciaJobExpansion interface{}

type KusciaJobSummaryExpansion interface{}

type KusciaTaskExpansion interface{}

type KusciaTaskSummaryExpansion interface{}

type TaskResourceExpansion interface{}

type TaskResourceGroupExpansion interface{}
// Copyright 2023 Ant Group 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


table-link{color:#01AAED}.laytable-cell-checkbox,.laytable-cell-numbers,.laytable-cell-radio,.laytable-cell-space{padding:0;text-align:center}.layui-table-body{position:relative;overflow:auto;margin-right:-1px;margin-bottom:-1px}.layui-table-body .layui-none{line-height:26px;padding:15px;text-align:center;color:#999}.layui-table-fixed{position:absolute;left:0;top:0;z-index:101}.layui-table-fixed .layui-table-body{overflow:hidden}.layui-table-fixed-l{box-shadow:0 -1px 8px rgba(0,0,0,.08)}.layui-table-fixed-r{left:auto;right:-1px;border-width:0 0 0 1px;box-shadow:-1px 0 8px rgba(0,0,0,.08)}.layui-table-fixed-r .layui-table-header{position:relative;overflow:visible}.layui-table-mend{position:absolute;right:-49px;top:0;height:100%;width:50px}.layui-table-tool{position:relative;z-index:890;width:100%;min-height:50px;line-height:30px;padding:10px 15px;border-width:0 0 1px}.layui-table-tool .layui-btn-container{margin-bottom:-10px}.layui-table-page,.layui-table-total{border-width:1px 0 0;margin-bottom:-1px;overflow:hidden}.layui-table-page{position:relative;width:100%;padding:7px 7px 0;height:41px;font-size:12px;white-space:nowrap}.layui-table-page>div{height:26px}.layui-table-page .layui-laypage{margin:0}.layui-table-page .layui-laypage a,.layui-table-page .layui-laypage span{height:26px;line-height:26px;margin-bottom:10px;border:none;background:0 0}.layui-table-page .layui-laypage a,.layui-table-page .layui-laypage span.layui-laypage-curr{padding:0 12px}.layui-table-page .layui-laypage span{margin-left:0;padding:0}.layui-table-page .layui-laypage .layui-laypage-prev{margin-left:-7px!important}.layui-table-page .layui-laypage .layui-laypage-curr .layui-laypage-em{left:0;top:0;padding:0}.layui-table-page .layui-laypage button,.layui-table-page .layui-laypage input{height:26px;line-height:26px}.layui-table-page .layui-laypage input{width:40px}.layui-table-page .layui-laypage button{padding:0 10px}.layui-table-page select{height:18px}.layui-table-patch .layui-table-cell{padding:0;width:30px}.layui-table-edit{position:absolute;left:0;top:0;width:100%;height:100%;padding:0 14px 1px;border-radius:0;box-shadow:1px 1px 20px rgba(0,0,0,.15)}.layui-table-edit:focus{border-color:#5FB878!important}select.layui-table-edit{padding:0 0 0 10px;border-color:#C9C9C9}.layui-table-view .layui-form-checkbox,.layui-table-view .layui-form-radio,.layui-table-view .layui-form-switch{top:0;margin:0;box-sizing:content-box}.layui-table-view .layui-form-checkbox{top:-1px;height:26px;line-height:26px}.layui-table-view .layui-form-checkbox i{height:26px}.layui-table-grid .layui-table-cell{overflow:visible}.layui-table-grid-down{position:absolute;top:0;right


check_hung_task(t, timeout);
	}
 unlock:
	rcu_read_unlock();
}

static unsigned long timeout_jiffies(unsigned long timeout)
{
	/* timeout of 0 will disable the watchdog */
	return timeout ? timeout * HZ : MAX_SCHEDULE_TIMEOUT;
}

/*
 * Process updating of timeout sysctl
 */
int proc_dohung_task_timeout_secs(struct ctl_table *table, int write,
				  void __user *buffer,
				  size_t *lenp, loff_t *ppos)
{
	int ret;

	ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos);

	if (ret || !write)
		goto out;

	wake_up_process(watchdog_task);

 out:
	return ret;
}

static atomic_t reset_hung_task = ATOMIC_INIT(0);

void reset_hung_task_detector(void)
{
	atomic_set(&reset_hung_task, 1);
}
EXPORT_SYMBOL_GPL(reset_hung_task_detector);

/*
 * kthread which checks for tasks stuck in D state
 */
static int watchdog(void *dummy)
{
	set_user_nice(current, 0);

	for ( ; ; ) {
		unsigned long timeout = sysctl_hung_task_timeout_secs;

		while (schedule_timeout_interruptible(timeout_jiffies(timeout)))
			timeout = sysctl_hung_task_timeout_secs;

		if (atomic_xchg(&reset_hung_task, 0))
			continue;

		check_hung_uninterruptible_tasks(timeout);
	}

	return 0;
}

static int __init hung_task_init(void)
{
	atomic_notifier_chain_register(&panic_notifier_list, &panic_block);
	watchdog_task = kthread_run(watchdog, NULL, "khungtaskd");

	return 0;
}
subsys_initcall(hung_task_init);


					{
						edgeStyleDiv.className = 'geSprite geSprite-curved';
					}
					else if (graph.currentEdgeStyle['edgeStyle'] == 'straight' || graph.currentEdgeStyle['edgeStyle'] == 'none' ||
							graph.currentEdgeStyle['edgeStyle'] == null)
					{
						edgeStyleDiv.className = 'geSprite geSprite-straight';
					}
					else if (graph.currentEdgeStyle['edgeStyle'] == 'entityRelationEdgeStyle')
					{
						edgeStyleDiv.className = 'geSprite geSprite-entity';
					}
					else if (graph.currentEdgeStyle['edgeStyle'] == 'elbowEdgeStyle')
					{
						edgeStyleDiv.className = 'geSprite geSprite-' + ((graph.currentEdgeStyle['elbow'] == 'vertical') ?
							'verticalelbow' : 'horizontalelbow');
					}
					else if (graph.currentEdgeStyle['edgeStyle'] == 'isometricEdgeStyle')
					{
						edgeStyleDiv.className = 'geSprite geSprite-' + ((graph.currentEdgeStyle['elbow'] == 'vertical') ?
							'verticalisometric' : 'horizontalisometric');
					}
					else
					{
						edgeStyleDiv.className = 'geSprite geSprite-orthogonal';
					}
				}

				if (this.toolbar.edgeShapeMenu != null)
				{
					// Updates icon for edge shape
					var edgeShapeDiv = this.toolbar.edgeShapeMenu.getElementsByTagName('div')[0];

					if (graph.currentEdgeStyle['shape'] == 'link')
					{
						edgeShapeDiv.className = 'geSprite geSprite-linkedge';
					}
					else if (graph.currentEdgeStyle['shape'] == 'flexArrow')
					{
						edgeShapeDiv.className = 'geSprite geSprite-arrow';
					}
					else if (graph.currentEdgeStyle['shape'] == 'arrow')
					{
						edgeShapeDiv.className = 'geSprite geSprite-simplearrow';
					}
					else
					{
						edgeShapeDiv.className = 'geSprite geSprite-connection';
					}
				}

				// Updates icon for optinal line start shape
				if (this.toolbar.lineStartMenu != null)
				{
					var lineStartDiv = this.toolbar.lineStartMenu.getElementsByTagName('div')[0];

					lineStartDiv.className = this.getCssClassForMarker('start',
							graph.currentEdgeStyle['shape'], graph.currentEdgeStyle[mxConstants.STYLE_STARTARROW],
							mxUtils.getValue(graph.currentEdgeStyle, 'startFill', '1'));
				}

				// Updates icon for optinal line end shape
				if (this.toolbar.lineEndMenu != null)
				{
					var lineEndDiv = this.toolbar.lineEndMenu.getElementsByTagName('div')[0];

					lineEndDiv.className = this.getCssClassForMarker('end',
							graph.currentEdgeStyle['shape'], graph.currentEdgeStyle[mxConstants.STYLE_ENDARROW],
							mxUtils.getValue(graph.currentEdgeStyle, 'endFill', '1'));
				}
			}
		}));

		// Update font size and font family labels
		if (this.toolbar != null)
		{
			var update = mxUtils.bind(this, function()
			{
				var ff = graph.currentVertexStyle['fontFamily'] || 'Helvetica';
				var fs = String(graph.currentVertexStyle['fontSize'] || '12');
			    	var state = graph.getView().getState(graph.getSelectionCell());

			    	if (state != null)
			    	{
			    		ff = state.style[mxConstants.STYLE_FONTFAMILY] || ff;
			    		fs = state.style[mxConstants.STYLE_FONTSIZE] || fs;

			    		if (ff.length > 10)
			    		{
			    			ff = ff.substring(0, 8) + '..


	HierarchicalTiledNode closestFloor = null;
		for (int x = x0; x < x1; x++) {
			for (int y = y0; y < y1; y++) {
				HierarchicalTiledNode n = getNodeAtLevel(level, x, y);
				if (n.type == FlatTiledNode.TILE_FLOOR) {
					float dist2 = Vector2.dst2(comTile.x, comTile.y, n.x, n.y);
					if (dist2 < closetDist2) {
						closetDist2 = dist2;
						closestFloor = n;
					}
				}
			}
		}

		return closestFloor;
	}

	@Override
	public HierarchicalTiledNode convertNodeBetweenLevels (int inputLevel, HierarchicalTiledNode node, int outputLevel) {
		if (inputLevel < outputLevel) {
			int newX = node.x / (sizeX[inputLevel] / sizeX[outputLevel]);
			int newY = node.y / (sizeY[inputLevel] / sizeY[outputLevel]);
			return nodes.get(newX * sizeY[outputLevel] + newY + offset[outputLevel]);
		}

		if (inputLevel > outputLevel) {
			return node.getLowerLevelNode();
		}

		return node;
	}

	@Override
	public HierarchicalTiledNode getNode (int x, int y) {
		return nodes.get(x * sizeY[level] + y + offset[level]);
	}

	@Override
	public HierarchicalTiledNode getNode (int index) {
		return nodes.get(index);
	}

	@Override
	public int getIndex (HierarchicalTiledNode node) {
		return node.getIndex();
	}

	@Override
	public int getNodeCount () {
		return nodes.size;
	}

	@Override
	public Array<Connection<HierarchicalTiledNode>> getConnections (HierarchicalTiledNode fromNode) {
		return fromNode.getConnections();
	}

	private void addLevel0Connection (HierarchicalTiledNode n, int xOffset, int yOffset) {
		HierarchicalTiledNode target = getNode(n.x + xOffset, n.y + yOffset);
		if (target.type == FlatTiledNode.TILE_FLOOR) n.getConnections().add(new HierarchicalTiledConnection(this, n, target));
	}

	private void addLevel1BidirectionalConnection (HierarchicalTiledNode n, int xOffset, int yOffset) {
		HierarchicalTiledNode target = getNode(n.x + xOffset, n.y + yOffset);
		n.getConnections().add(new HierarchicalTiledConnection(this, n, target));
		target.getConnections().add(new HierarchicalTiledConnection(this, target, n));
	}

	private static final int calculateTotalCapacity () {
		int capacity = 0;
		for (int i = 0; i < LEVELS; i++)
			capacity += sizeX[i] * sizeY[i];
		return capacity;
	}
}
/*******************************************************************************
 * Copyright 2014 See AUTHORS file.
 *
 * 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.badlogic.gdx.ai.tests.steer.box2d;

import com.badlogic.gdx.ai.steer.Proximity;
import com.badlogic.gdx.ai.steer.Steerable;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.physics.box2d.Fixture;
import com.badlogic.gdx.physics.


y" width="78" height="120" srcset="https://moegirl.icu/media/thumb/%E5%A4%A9%E7%81%AB%E4%BA%BA%E8%A1%80%E6%9E%AA%EF%BC%88%E5%85%BD%E7%8E%8B%E5%9B%AD%E7%AB%8B%E7%BB%98%EF%BC%89.png/117px-%E5%A4%A9%E7%81%AB%E4%BA%BA%E8%A1%80%E6%9E%AA%EF%BC%88%E5%85%BD%E7%8E%8B%E5%9B%AD%E7%AB%8B%E7%BB%98%EF%BC%89.png 1.5x, https://moegirl.icu/media/thumb/%E5%A4%A9%E7%81%AB%E4%BA%BA%E8%A1%80%E6%9E%AA%EF%BC%88%E5%85%BD%E7%8E%8B%E5%9B%AD%E7%AB%8B%E7%BB%98%EF%BC%89.png/156px-%E5%A4%A9%E7%81%AB%E4%BA%BA%E8%A1%80%E6%9E%AA%EF%BC%88%E5%85%BD%E7%8E%8B%E5%9B%AD%E7%AB%8B%E7%BB%98%EF%BC%89.png 2x" data-file-width="650" data-file-height="1000" class="multimediaViewerScrollSet">

《兽王园》立绘

性格

（待补充）

事迹

（待补充）

使用符卡

主条目：天火人血枪/符卡信息

您亦可以通过点击此处的方式查看天火人血枪在系列作品中所使用符卡的详细信息

<span id=".E8


ReportAtEnd')
    ..aD(2, _omitFieldNames ? '' : 'playerSample')
    ..pPM<ReportDuration>(3, _omitFieldNames ? '' : 'durations',
        subBuilder: ReportDuration.create)
    ..aI(4, _omitFieldNames ? '' : 'maxSize')
    ..hasRequiredFields = false;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ExpoReport clone() => deepCopy();
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ExpoReport copyWith(void Function(ExpoReport) updates) =>
      super.copyWith((message) => updates(message as ExpoReport)) as ExpoReport;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ExpoReport create() => ExpoReport._();
  @$core.override
  ExpoReport createEmptyInstance() => create();
  static $pb.PbList<ExpoReport> createRepeated() => $pb.PbList<ExpoReport>();
  @$core.pragma('dart2js:noInline')
  static ExpoReport getDefault() => _defaultInstance ??=
      $pb.GeneratedMessage.$_defaultFor<ExpoReport>(create);
  static ExpoReport? _defaultInstance;

  @$pb.TagNumber(1)
  $core.bool get shouldReportAtEnd => $_getBF(0);
  @$pb.TagNumber(1)
  set shouldReportAtEnd($core.bool value) => $_setBool(0, value);
  @$pb.TagNumber(1)
  $core.bool hasShouldReportAtEnd() => $_has(0);
  @$pb.TagNumber(1)
  void clearShouldReportAtEnd() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.double get playerSample => $_getN(1);
  @$pb.TagNumber(2)
  set playerSample($core.double value) => $_setDouble(1, value);
  @$pb.TagNumber(2)
  $core.bool hasPlayerSample() => $_has(1);
  @$pb.TagNumber(2)
  void clearPlayerSample() => $_clearField(2);

  @$pb.TagNumber(3)
  $pb.PbList<ReportDuration> get durations => $_getList(2);

  @$pb.TagNumber(4)
  $core.int get maxSize => $_getIZ(3);
  @$pb.TagNumber(4)
  set maxSize($core.int value) => $_setSignedInt32(3, value);
  @$pb.TagNumber(4)
  $core.bool hasMaxSize() => $_has(3);
  @$pb.TagNumber(4)
  void clearMaxSize() => $_clearField(4);
}

class Expression extends $pb.GeneratedMessage {
  factory Expression({
    $core.Iterable<$core.String>? keyword,
    $core.String? url,
    $core.Iterable<Period>? period,
  }) {
    final result = create();
    if (keyword != null) result.keyword.addAll(keyword);
    if (url != null) result.url = url;
    if (period != null) result.period.addAll(period);
    return result;
  }

  Expression._();

  factory Expression.fromBuffer($core.List<$core.int> data,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromBuffer(data, registry);
  factory Expression.fromJson($core.String json,
          [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
      create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
      _omitMessageNames ?


	say = "즐거운 점심시간의 시작이네요~ 자~ 곰돌아 같이 하자, 잘 먹겠습니다~♪",
			typewriter = {
				speed = 0.05,
				speedUp = 0.01
			},
			painting = {
				alpha = 0.3,
				time = 1
			}
		},
		{
			actor = 102120,
			side = 2,
			bgName = "bg_story_school",
			nameColor = "#92fc63",
			dir = 1,
			say = "앗.",
			typewriter = {
				speed = 0.05,
				speedUp = 0.01
			},
			painting = {
				alpha = 0.3,
				time = 1
			}
		},
		{
			actor = 102120,
			side = 2,
			bgName = "bg_story_school",
			nameColor = "#92fc63",
			dir = 1,
			say = "지, 지휘관?! 언제부터 거기에?!",
			typewriter = {
				speed = 0.05,
				speedUp = 0.01
			},
			painting = {
				alpha = 0.3,
				time = 1
			}
		},
		{
			withoutPainting = true,
			side = 2,
			bgName = "bg_story_school",
			dir = 1,
			actor = 0,
			nameColor = "#92fc63",
			say = "……",
			typewriter = {
				speed = 0.05,
				speedUp = 0.01
			},
			painting = {
				alpha = 0.3,
				time = 1
			},
			options = {
				{
					content = "곰돌이랑 이야기할 때부터……",
					flag = 3
				}
			}
		},
		{
			actor = 102120,
			side = 2,
			bgName = "bg_story_school",
			nameColor = "#92fc63",
			dir = 1,
			say = "그, 그럴리가! 잘못 들은 거겠지! 따, 딱히 곰돌이랑 이야기 따윈……",
			typewriter = {
				speed = 0.05,
				speedUp = 0.01
			},
			painting = {
				alpha = 0.3,
				time = 1
			}
		},
		{
			actor = 102120,
			side = 2,
			bgName = "bg_story_school",
			nameColor = "#92fc63",
			dir = 1,
			say = "우으…교실에 있으면 왠지 다른 아이들 눈에 안 띌 거 같아서……",
			typewriter = {
				speed = 0.05,
				speedUp = 0.01
			},
			painting = {
				alpha = 0.3,
				time = 1
			}
		},
		{
			actor = 102120,
			side = 2,
			bgName = "bg_story_school",
			nameColor = "#92fc63",
			dir = 1,
			say = "어깨 아프네 뭐네 얘기하면 애들이 이상한 눈으로 바라보고…특히 구축함 애들……",
			typewriter = {
				speed = 0.05,
				speedUp = 0.01
			},
			painting = {
				alpha = 0.3,
				time = 1
			}
		},
		{
			actor = 102120,
			side = 2,
			bgName = "bg_story_school",
			nameColor = "#92fc63",
			dir = 1,
			say =


);
                }
                Err(e) => {
                    CliMessage::Failure.display();
                    println!("\n\t{}\n", e);
                }
            }
        }
        _ => {
            if cfg.verbose {
                CliMessage::Request(
                    &domgr.domains()
                         .to_string()
                         .replace("\n", "\n\t")[..]).display();
            }
            if cfg.no_send {
                return;
            }
            if cfg.verbose {
                CliMessage::JsonResponse.display();
                match domgr.domains().retrieve_json() {
                    Ok(s) => {
                        CliMessage::Success.display();
                        println!("\n\t{}\n", s);
                    }
                    Err(e) => {
                        CliMessage::Failure.display();
                        println!("\n\t{}\n", e);
                    }
                }
            }
            CliMessage::Domains.display();
            match domgr.domains().retrieve() {
                Ok(v) => {
                    CliMessage::Success.display();
                    for d in v.iter() {
                        CliMessage::Domains.display();
                        println!("\t{}\n", &d.to_string()[..].replace("\n", "\n\t"));
                    }
                    if v.is_empty() {
                        println!("\tNo domains to dipslay");
                    }
                }
                Err(e) => {
                    CliMessage::Failure.display();
                    println!("{}\n", e);
                }
            }
        }
    }
}
use crate::matrix::MatrixError;
use crate::number::c64;
use crate::Number;
use crate::SymmetricPackedMatrix;
use lapack::{dpptrf, zpptrf};

#[derive(Clone, Debug)]
pub struct PPTRF<T = f64>(pub SymmetricPackedMatrix<T>)
where
    T: Number;

impl SymmetricPackedMatrix {
    /// # Cholesky decomposition
    /// for positive definite f64 matrix
    ///
    /// https://en.wikipedia.org/wiki/Cholesky_decomposition
    ///
    /// `A = L * L^T`
    pub fn pptrf(self) -> Result<PPTRF, MatrixError> {
        let n = self.dim;

        let mut info = 0;
        let mut slf = self;
        let n = n as i32;

        unsafe {
            dpptrf('L' as u8, n, &mut slf.elems, &mut info);
        }

        match info {
            0 => Ok(PPTRF(slf)),
            _ => Err(MatrixError::LapackRoutineError {
                routine: "dpptrf".to_owned(),
                info,
            }),
        }
    }
}

impl SymmetricPackedMatrix<c64> {
    /// # Cholesky decomposition
    /// for positive definite c64 matrix
    ///
    /// https://en.wikipedia.org/wiki/Cholesky_decomposition
    ///
    /// `A = L * L^*`
    pub fn pptrf(self) -> Result<PPTRF<c64>, MatrixError> {
        let n = self.dim;

        let mut info = 0;
        let mut slf = self;
        let n = n as i32;

        unsafe {
            zpptrf('L' as u8, n, &mut slf.elems, &mut info);
        }

        match info {
            0 => Ok(PPTRF::<c64>(slf)),
            _ => Err(MatrixError::LapackRoutineError {
                routine: "zpptrf".to_owned(),
                info,
            }),
        }
    }
}
mod chip;

use std::collections::HashMap;
use std::fmt::{self, Debug};

use crate::errors::*;
use crate::config::Config;


#include "global.h"
#include "fileobject.h"
#include "filefuncs.h"
#include "utils.h"

NTSTATUS PocInitShadowSectionObjectPointers(
	IN PCFLT_RELATED_OBJECTS FltObjects,
	IN OUT PPOC_STREAM_CONTEXT StreamContext)
/*
* ΪShadowSectionObjectPointerڴҪԶsizeof(SectionObjectPointer)
* Ϊntfsʱ(SectionObjectPointer+40)ַʽȥȡڴ棬
* ָScb->NonpagedScb->SegmentObjectĳṹ壬
* ǵShadowSectionObjectPointerǶڴ棬ҪһPAGE_SIZEСڴ棬϶
*/
{

	if (NULL == StreamContext)
	{
		PT_DBG_PRINT(PTDBG_TRACE_ROUTINES, ("PocInitShadowSectionObjectPointers->StreamContext is NULL.\n"));
		return STATUS_INVALID_PARAMETER;
	}

	NTSTATUS Status = STATUS_UNSUCCESSFUL;

	LARGE_INTEGER ByteOffset = { 0 };
	CHAR Buffer = { 0 };

	PFILE_OBJECT FileObject = FltObjects->FileObject;

	if (NULL == StreamContext->ShadowSectionObjectPointers)
	{
		PT_DBG_PRINT(PTDBG_TRACE_ROUTINES, ("PocInitShadowSectionObjectPointers->ShadowSectionObjectPointers is NULL\n"));
		Status = STATUS_INVALID_PARAMETER;
		goto EXIT;
	}

	ExEnterCriticalRegionAndAcquireResourceExclusive(StreamContext->Resource);

	StreamContext->OriginSectionObjectPointers = FileObject->SectionObjectPointer;
	StreamContext->ShadowFileObject = FileObject;

	ExReleaseResourceAndLeaveCriticalRegion(StreamContext->Resource);

	FileObject->SectionObjectPointer = StreamContext->ShadowSectionObjectPointers;

	Status = FltReadFileEx(FltObjects->Instance, FileObject, &ByteOffset,
		sizeof(Buffer), &Buffer, 0, NULL, NULL, NULL, NULL, NULL);

	if (!NT_SUCCESS(Status) && STATUS_END_OF_FILE != Status)
	{
		PT_DBG_PRINT(PTDBG_TRACE_ROUTINES, ("PocInitShadowSectionObjectPointers->FltReadFileEx init ciphertext cache failed. Status = 0x%x\n", Status));
		goto EXIT;
	}

	if (!CcIsFileCached(FileObject))
	{
		PT_DBG_PRINT(PTDBG_TRACE_ROUTINES, ("PocInitShadowSectionObjectPointers->after FltReadFileEx file doesn't have cache.\n"));
		Status = STATUS_UNSUCCESSFUL;
		goto EXIT;
	}

	Status = STATUS_SUCCESS;

	PT_DBG_PRINT(PTDBG_TRACE_ROUTINES,
		("PocInitShadowSectionObjectPointers->Init %ws ciphertext cache map success.\nAllocationSize = %I64d ValidDataLength = %I64d FileSize = %I64d\n",
			StreamContext->FileName,
			((PFSRTL_ADVANCED_FCB_HEADER)(FileObject->FsContext))->AllocationSize.QuadPart,
			((PFSRTL_ADVANCED_FCB_HEADER)(FileObject->FsContext))->ValidDataLength.QuadPart,
			((PFSRTL_ADVANCED_FCB_HEADER)(FileObject->FsContext))->FileSize.QuadPart));

EXIT:

	return Status;
}

NTSTATUS PocCleanupSectionObjectPointers(
	IN PPOC_STREAM_CONTEXT StreamContext)
/*
* ӽminifilterҪ֧ȲλǱȽѵģΪUnloadصIRP;
* UnloadʱûPre޷ģЩPreWITH_CALLBACKĻܴ
* ޷ЩIRPᵼݵ𻵣ﲻͷʹõĻ
* ΪʹIoBuildSynchronousFsdRequest֮ĺIRPCachePurge
* ޷Writeֹĵ·
* ͬĻ޷ܣй¶
*/
{
	if (NULL == StreamContext->FileName)
	{
		PT_DBG_PRINT(PTDBG_TRACE_ROUTINES, ("%s->StreamContext->FileName is NULL.\n", __FUNCTION__));
		return STATUS_INVALID_PARAMETER;
	}

	NTSTATUS Status = STATUS_UNSUCCESSFUL;

	if (NULL != StreamContext->ShadowSectionObjectPointers)
	{

		if (NULL != StreamContext->ShadowSectionObjectPointers->DataSectionObject)
		{
			PocPurgeCache(
				StreamContext->FileName,
				StreamContext->Instance,
				StreamContext->ShadowSectionObjectPointers);
		}

		if (NULL == StreamContext->ShadowSectionObjectPointers->DataSectionObject &&
			NULL == StreamContext->ShadowSectionObjectPointers->SharedCacheMap)
		{
			ExEnterCriticalRegionAndAcquireResourceExclusive(StreamContext->Resource);

			if (NULL != StreamContext->ShadowSectionObjectPointers)
			{
				ExFreePoolWithTag(StreamContext->ShadowSectionObjectPointers, POC_STREAM_CONTEXT_TAG);
				StreamContext->ShadowSectionObjectPointers = NULL;

				PT_DBG_PRINT(PTDBG_TRACE_ROUTINES, ("%s->%ws ExFreePoolWithTag1 ShadowSectionObjectPointers success.\n",
					__FUNCTION__,
					StreamContext->FileName));
			}

			ExReleaseResourceAndLeaveCriticalRegion(StreamContext->Resource);

			Status = STATUS_SUCCESS;
		}
		else
		{

			PT_DBG_PRINT(PTDBG_TRACE_ROUTINES, ("%s->Memory leak. CacheMap isn't NULL. Means file still has chipertext cache map.\n", __FUNCTION__));
			//KeBugCheck(POC_KEBUGCHECK_TAG);
		}
	}

	/*
	* Ļ޷ܣй¶ļ𻵣
	* ҪSetInformationĻ
	*/
	if (StreamContext->OriginSectionObjectPointers != NULL)
	{
		if (NULL != StreamContext->OriginSectionObjectPointers->DataSectionObject ||
			NULL != StreamContext->OriginSectionObjectPointers->SharedCacheMap)
		{
			PocPurgeCache(
				StreamContext->FileName,
				StreamContext->Instance,
				StreamContext->OriginSectionObjectPointers);

			if(NULL != StreamContext->OriginSectionObjectPointe


 + "\"")
            );
          }
          if (modifiers) {
            if (modifiers.prop && !isDynamic) {
              name = camelize(name);
              if (name === 'innerHtml') { name = 'innerHTML'; }
            }
            if (modifiers.camel && !isDynamic) {
              name = camelize(name);
            }
            if (modifiers.sync) {
              syncGen = genAssignmentCode(value, "$event");
              if (!isDynamic) {
                addHandler(
                  el,
                  ("update:" + (camelize(name))),
                  syncGen,
                  null,
                  false,
                  warn$2,
                  list[i]
                );
                if (hyphenate(name) !== camelize(name)) {
                  addHandler(
                    el,
                    ("update:" + (hyphenate(name))),
                    syncGen,
                    null,
                    false,
                    warn$2,
                    list[i]
                  );
                }
              } else {
                // handler w/ dynamic event name
                addHandler(
                  el,
                  ("\"update:\"+(" + name + ")"),
                  syncGen,
                  null,
                  false,
                  warn$2,
                  list[i],
                  true // dynamic
                );
              }
            }
          }
          if ((modifiers && modifiers.prop) || (
            !el.component && platformMustUseProp(el.tag, el.attrsMap.type, name)
          )) {
            addProp(el, name, value, list[i], isDynamic);
          } else {
            addAttr(el, name, value, list[i], isDynamic);
          }
        } else if (onRE.test(name)) { // v-on
          name = name.replace(onRE, '');
          isDynamic = dynamicArgRE.test(name);
          if (isDynamic) {
            name = name.slice(1, -1);
          }
          addHandler(el, name, value, modifiers, false, warn$2, list[i], isDynamic);
        } else { // normal directives
          name = name.replace(dirRE, '');
          // parse arg
          var argMatch = name.match(argRE);
          var arg = argMatch && argMatch[1];
          isDynamic = false;
          if (arg) {
            name = name.slice(0, -(arg.length + 1));
            if (dynamicArgRE.test(arg)) {
              arg = arg.slice(1, -1);
              isDynamic = true;
            }
          }
          addDirective(el, name, rawName, value, arg, isDynamic, modifiers, list[i]);
          if (name === 'model') {
            checkForAliasModel(el, value);
          }
        }
      } else {
        // literal attribute
        {
          var res = parseText(value, delimiters);
          if (res) {
            warn$2(
              name + "=\"" + value + "\": " +
              'Interpolation inside attributes has been removed. ' +
              'Use v-bind or the colon shorthand instead. For example, ' +
              'instead of <div id="{{ val }}">, use <div :id="val">.',
              list[i]
            );
          }
        }
        addAttr(el, name, JSON.stringify(value), list[i]);
        // #6887 firefox doesn't update muted state if set via attribute
        // even immediately after element creation
        if (!el.component &&
            name === 'muted' &&
            platformMustUseProp(el.tag, el.attrsMap.ty


BtnTbl .Btn2, .BtnTbl .Btn2Hov, .BtnTbl .Btn2Dis {width:100%;margin:0px}
.BtnAryDiv {margin:5px 8px}
/*revised borders for masthead  */
.MstDiv .Btn1, .MstDiv .Btn1Mni, .MstDiv .Btn1Def {border-top:solid 1px #213F52;border-left:solid 1px #142A38;border-right:solid 1px #142A38;border-bottom:solid 1px #091821;vertical-align:middle}
.MstDiv .Btn1Hov, .MstDiv .Btn1MniHov, .MstDiv .Btn1DefHov {border-top:solid 1px #213F52;border-left:solid 1px #142A38;border-right:solid 1px #142A38;border-bottom:solid 1px #091821;vertical-align:middle}
.MstDiv .Btn2, .MstDiv .Btn2Mni {border-top:solid 1px #2D3C46;border-left:solid 1px #1C262D;border-right:solid 1px #1C262D;border-bottom:solid 1px #0E1418;vertical-align:middle}
.MstDiv .Btn2Hov, .MstDiv .Btn2MniHov {border-top:solid 1px #2D3C46;border-left:solid 1px #1C262D;border-right:solid 1px #1C262D;border-bottom:solid 1px #0E1418;vertical-align:middle}
/*---*/

/* CHECKBOXES AND RADIO BUTTONS */
.CbDis, .RbDis {background-color:#E1E4E5;color:#848687}
.Cb {}
.Rb {}
/*---*/

/* EDITABLE LIST */
.EdtLstAddLblDiv {padding-top:2px}
table.EdtLstAddTbl td {padding:5px 0px;white-space:nowrap;vertical-align:top}
.EdtLstRmvLblDiv {padding-top:7px}
table.EdtLstRmvTbl td {padding:5px 0px;white-space:nowrap;vertical-align:top}

/* FILE CHOOSER */
.ChoLblTxt {color:#5F6466;font-weight:bold}
.ChoSrvTxt {color:#333}

/* HELP WINDOW */
.HlpStpTab {margin:0px 0px 5px 0px;background:#FFF;border-top:#fff 1px solid}
.HlpBtnDiv {margin:5px 10px 4px;vertical-align:middle}
.HlpTtlDiv {margin:15px 0px 0px 10px}
.HlpSchDiv {margin:5px 5px 5px 10px}
.HlpRltDiv {margin-top:6px}
.HlpIdxDiv {margin:5px 5px 5px 10px}
body.HlpBdy {background-color:#FFF;color:#333;margin:10px}
body.HlpBdy h1 {font-family:sans-serif;margin-bottom:-3px;font-weight:bold;font-size:16px}
body.HlpBdy h2 {font-family:sans-serif;margin-bottom:-5px;font-weight:bold;font-size:14px}
body.HlpBdy h3 {font-family:sans-serif;margin-bottom:-5px;font-weight:bold;font-size:13px}
body.HlpBdy h4 {font-family:sans-serif;margin-bottom:-5px;font-weight:bold;font-size:12px}
body.HlpBdy h5, H6 {font-family:sans-serif;margin-bottom:-5px;font-weight:bold;font-size:11px}
body.HlpBdy a:link {color:#003399;text-decoration:underline}
body.HlpBdy a:visited {color:#336699;text-decoration:underline}
body.HlpBdy a:hover {color:#003399


__cppcon_2019.pdf) by Gabriel Aubut-Lussier
 - [Lets Cmakeify the C++ Standard Library](Lightning%20Talks%20and%20Lunch%20Sessions/lets_cmakeify_the_cpp_standard_library/lets_cmakeify_the_cpp_standard_library__jussi_pakkanen__cppcon_2019.pdf) by Jussi Pakkanen
 - [Postmodern Meta C++](Lightning%20Talks%20and%20Lunch%20Sessions/postmodern_meta_cpp/postmodern_meta_cpp__kris_jusiak__cppcon_2019.pdf) by Kris Jusiak
 - [The Universe of C++ Types](Lightning%20Talks%20and%20Lunch%20Sessions/the_universe_of_cpp_types/the_universe_of_cpp_types__walter_e_brown__cppcon_2019.pdf) by Walter E. Brown
 - [v.uint32_t();](Lightning%20Talks%20and%20Lunch%20Sessions/vuint32_t/vuint32_t__matthis_kruse__cppcon_2019.pdf) by Matthis Kruse
 - [Why Are They Named Lambdas?](Lightning%20Talks%20and%20Lunch%20Sessions/why_are_they_named_lambdas/why_are_they_named_lambdas__walter_e_brown__cppcon_2019.pdf) by Walter E. Brown

## Posters

 - [A Study of Integer Sum Reduction using SYCL](Posters/a_study_of_integer_sum_reduction_using_sycl/a_study_of_integer_sum_reduction_using_sycl__zheming_jin_hal_finkel__cppcon_2019.pdf) by Zheming Jin, Hal Finkel
 - [Analysis of Template Matching by Comparing C++ Concurrency with CUDA and OpenCV](Posters/analysis_of_template_matching_by_comparing_cpp_concurrency_with_cuda_and_opencv/analysis_of_template_matching_by_comparing_cpp_concurrency_with_cuda_and_opencv__aditya_immaneni_victor_r_cabrera_vadim_pinskiy_matthew_c_putman__cppcon_2019.pdf) by Aditya Immaneni, Victor R. Cabrera, Vadim Pinskiy, Matthew C. Putman
 - [Embracing modern C++ in HPC for Brain Scale Simulations](Posters/embracing_modern_cpp_in_hpc_for_brain_scale_simulations/embracing_modern_cpp_in_hpc_for_brain_scale_simulations__o_awile_t_carel__cppcon_2019.pdf) by O. Awile, T. Carel
 - [Empirical](Posters/empirical/empirical__matthew_andres_moreno_charles_ofria__cppcon_2019.pdf) by Matthew Andres Moreno, Charles Ofria
 - [Fixed Precision Adder](Posters/fixed_precision_adder/fixed_precision_adder__elmar_westphal__cppcon_2019.pdf) by Elmar Westphal
 - [FlexIT: Not just another JSON Parser](Posters/flexit_not_just_another_json_parser/flexit_not_just_another_json_parser__nipun_jindal_pranay_kumar__cppcon_2019.pdf) by Nipun Jindal, Pranay Kumar
 - [High-level Synthesis with SLX FPGA](Posters/highlevel_synthesis_with_slx_fpga/highlevel_synthesis_with_slx_fpga__matthias_gehre__cppcon_2019.pdf) by Matthias Gehre
 - [How Snap uses C++ to build the most-used augmented reality platform](Posters/how_snap_uses_cpp_to_build_the_mostused_augmented_reality_platform/how_snap_uses_cpp_to_build_the_mostused_augmented_reality_platform__evgenii_zaikin_fedir_poliakov_yurii_monastyrshyn__cppcon_2019.pdf)


Key = 1016600,
	group = "Tutorial",
	id = "Tutorial5_Popup10_Passages_2",
	image = "UI/Messages/Tutorials/Tutorial5/Tutorial5_Popup9_Passages.tga",
	no_ccc_button = true,
	start_minimized = false,
	text = T(9406, --[[PopupNotificationPreset Tutorial5_Popup10_Passages_2 text]] "Now that the two Domes are connected, colonists from the first can start working on the newly built farms in the third Dome. The Passage will also connect the two Domes for the purposes of distributing Power, Water and Oxygen."),
	title = T(8776, --[[PopupNotificationPreset Tutorial5_Popup10_Passages_2 title]] "Passages"),
	voiced_text = T(9405, --[[voice:narrator]] "Good job!"),
})

PlaceObj('PopupNotificationPreset', {
	SortKey = 1016700,
	group = "Tutorial",
	id = "Tutorial5_Popup11_Upgrades",
	image = "UI/Messages/Tutorials/Tutorial5/Tutorial5_Popup11_Upgrades.tga",
	no_ccc_button = true,
	start_minimized = false,
	text = T(9409, --[[PopupNotificationPreset Tutorial5_Popup11_Upgrades text]] "All upgrades become available after specific technologies are researched and have construction costs. Furthermore, some upgrades will increase the resource consumption of the building.\n\n<goal>Research the Extractor Amplification tech from the Research screen."),
	title = T(9407, --[[PopupNotificationPreset Tutorial5_Popup11_Upgrades title]] "Upgrades"),
	voiced_text = T(9408, --[[voice:narrator]] "Some buildings can have upgrades that can improve them in various ways."),
})

PlaceObj('PopupNotificationPreset', {
	SortKey = 1016800,
	group = "Tutorial",
	id = "Tutorial5_Popup12_Upgrades_2",
	image = "UI/Messages/Tutorials/Tutorial5/Tutorial5_Popup12_Upgrades_2.tga",
	no_ccc_button = true,
	start_minimized = false,
	text = T(9412, --[[PopupNotificationPreset Tutorial5_Popup12_Upgrades_2 text]] "<goal>Select the Water Extractor and then select the indicated Upgrade Icon."),
	title = T(9410, --[[PopupNotificationPreset Tutorial5_Popup12_Upgrades_2 title]] "Upgrades "),
	voiced_text = T(9411, --[[voice:narrator]] "Congratulations - with the research complete, a new upgrade for your Extractors is now available. It is not automatically activated in your buildings, you must construct it first."),
})

PlaceObj('PopupNotificationPreset', {
	SortKey = 1016900,
	group = "Tutorial",
	id = "Tutorial5_Popup13_Upgrades_3",
	image = "UI/Messages/Tutorials/Tutorial5/Tutorial5_Popup12_Upgrades_2.tga",
	no_ccc_button = true,
	start_minimized = false,
	text = T(9415, --[[PopupNotificationPreset Tutorial5_Popup13_Upgrades_3 text]] "Some Upgrades will consume more Power or Water while active. After an Upgrade has been constructed it may be turned On and Off from the same button that was used for its construction."),
	title = T(9413, --[[PopupNotificationPreset Tutorial5_Popup13_Upgrades_3 title]] "Upgrade Complete"),
	voiced_text = T(9414, --[[voice:narrator]] "The Upgrade has been constructed."),
})

PlaceObj('PopupNotificationPreset', {
	SortKey = 1017000,
	group = "Tutorial",
	id = "Tutorial5_Popup14_CommandCenterUI",
	image = "UI/Messages/research.tga",
	no_ccc_button = true,
	start_minimized = false,
	text = T(9417, --[[PopupNotificationPre


, 4);
  memcpy(&(leaf->ecx), vendor_string + 8, 4);
#endif

#ifdef BX_BIG_ENDIAN
  leaf->ebx = bx_bswap32(leaf->ebx);
  leaf->ecx = bx_bswap32(leaf->ecx);
  leaf->edx = bx_bswap32(leaf->edx);
#endif
}

// leaf 0x80000001 //
void bx_generic_cpuid_t::get_ext_cpuid_leaf_1(cpuid_function_t *leaf) const
{
  // EAX:       CPU Version Information
  leaf->eax = BX_CPU_VENDOR_INTEL ? 0 : get_cpu_version_information();

  // EBX:       Brand ID
  leaf->ebx = 0;

  // ECX:
  leaf->ecx = get_ext2_cpuid_features();

  // EDX:
  // Many of the bits in EDX are the same as FN 0x00000001 [*] for AMD
  // [*] [0:0]   FPU on chip
  // [*] [1:1]   VME: Virtual-8086 Mode enhancements
  // [*] [2:2]   DE: Debug Extensions (I/O breakpoints)
  // [*] [3:3]   PSE: Page Size Extensions
  // [*] [4:4]   TSC: Time Stamp Counter
  // [*] [5:5]   MSR: RDMSR and WRMSR support
  // [*] [6:6]   PAE: Physical Address Extensions
  // [*] [7:7]   MCE: Machine Check Exception
  // [*] [8:8]   CXS: CMPXCHG8B instruction
  // [*] [9:9]   APIC: APIC on Chip
  //     [10:10] Reserved
  //     [11:11] SYSCALL/SYSRET support
  // [*] [12:12] MTRR: Memory Type Range Reg
  // [*] [13:13] PGE/PTE Global Bit
  // [*] [14:14] MCA: Machine Check Architecture
  // [*] [15:15] CMOV: Cond Mov/Cmp Instructions
  // [*] [16:16] PAT: Page Attribute Table
  // [*] [17:17] PSE-36: Physical Address Extensions
  //     [18:19] Reserved
  //     [20:20] No-Execute page protection
  //     [21:21] Reserved
  //     [22:22] AMD MMX Extensions
  // [*] [23:23] MMX Technology
  // [*] [24:24] FXSR: FXSAVE/FXRSTOR (also indicates CR4.OSFXSR is available)
  //     [25:25] Fast FXSAVE/FXRSTOR mode support
  //     [26:26] 1G paging support
  //     [27:27] Support RDTSCP Instruction
  //     [28:28] Reserved
  //     [29:29] Long Mode
  //     [30:30] AMD 3DNow! Extensions
  //     [31:31] AMD 3DNow! Instructions
  leaf->edx = get_std2_cpuid_features();
}

// leaf 0x80000002 //
// leaf 0x80000003 //
// leaf 0x80000004 //

// leaf 0x80000005 //
void bx_generic_cpuid_t::get_ext_cpuid_leaf_5(cpuid_function_t *leaf) const
{
  // CPUID function 0x800000005 - L1 Cache and TLB Identifiers
  leaf->eax = 0x01ff01ff;
  leaf->ebx = 0x01ff01ff;
  leaf->ecx = 0x40020140;
  leaf->edx = 0x40020140;
}

// leaf 0x80000006 //
void bx_generic_cpuid_t::get_ext_cpuid_leaf_6(cpuid_function_t *leaf) const
{
  // CPUID function 0x800000006 - L2 Cach


dom() * 3.14

  table.insert(breakables, newBreak)

end

-- spawns all particles for when a wall is blown up
function breakParticles(x, y)

  spawnParticle(x, y, "break", vector(-2500, -4500))
  spawnParticle(x, y, "break", vector(2500, -4500))
  spawnParticle(x, y, "break", vector(-4500, -2500))
  spawnParticle(x, y, "break", vector(4500, -2500))

end

function breakables:update(dt)

  -- Iterate through all breakables in reverse to remove dead ones
  for i=#breakables,1,-1 do
    if breakables[i].dead then

      local bx, by = breakables[i].physics:getPosition()
      breakParticles(bx, by)

      breakables[i].physics:destroy()
      table.remove(breakables, i)

    end
  end

end


BTreeSet<(EntryHash, Entry)>> {
        debug!("Getting Public Register data from: {:?}", url);
        let (safeurl, _) = self.parse_and_resolve_url(url).await?;

        self.fetch_register_entries(&safeurl).await
    }

    /// Read value from a Register on the network by its hash
    pub async fn register_read_entry(&self, url: &str, hash: EntryHash) -> Result<Entry> {
        debug!("Getting Public Register data from: {:?}", url);
        let (safeurl, _) = self.parse_and_resolve_url(url).await?;

        self.fetch_register_entry(&safeurl, hash).await
    }

    /// Fetch a Register from a Url without performing any type of URL resolution
    /// Supports version hashes:
    /// e.g. safe://mysafeurl?v=ce56a3504c8f27bfeb13bdf9051c2e91409230ea
    pub(crate) async fn fetch_register_entries(
        &self,
        url: &Url,
    ) -> Result<BTreeSet<(EntryHash, Entry)>> {
        let result = match url.content_version() {
            Some(v) => {
                debug!("Take entry with version hash");
                let hash = v.entry_hash();
                self.fetch_register_entry(url, hash)
                    .await
                    .map(|entry| vec![(hash, entry)].into_iter().collect())
            }
            None => {
                debug!("No version so take latest entry");
                let address = self.get_register_address(url)?;
                self.safe_client.read_register(address).await
            }
        };

        match result {
            Ok(data) => {
                debug!("Register retrieved from {}...", url);
                Ok(data)
            }
            Err(Error::EmptyContent(_)) => Err(Error::EmptyContent(format!(
                "Register found at \"{}\" was empty",
                url
            ))),
            Err(Error::ContentNotFound(_)) => Err(Error::ContentNotFound(format!(
                "No Register found at \"{}\"",
                url
            ))),
            other_err => other_err,
        }
    }

    /// Fetch a Register from a Url without performing any type of URL resolution
    pub(crate) async fn fetch_register_entry(&self, url: &Url, hash: EntryHash) -> Result<Entry> {
        // TODO: allow to specify the hash with the Url as well: safeurl.content_hash(),
        // e.g. safe://mysafeurl#ce56a3504c8f27bfeb13bdf9051c2e91409230ea
        let address = self.get_register_address(url)?;
        self.safe_client.get_register_entry(address, hash).await
    }

    /// Write value to a Register on the network
    pub async fn write_to_register(
        &self,
        url: &str,
        entry: Entry,
        parents: BTreeSet<EntryHash>,
    ) -> Result<EntryHash> {
        /*
        let safeurl = Safe::parse_url(url)?;
        if safeurl.content_hash().is_some() {
            // TODO: perhaps we can allow this, and that's how an
            // application can specify the parent entry in the Register.
            return Err(Error::InvalidInput(format!(
                "The target URL cannot contain a content hash: {}",
                url
            )));
        };
        */

        let (url, _) = self.parse_and_resolve_url(url).await?;
        let address = self.get_register_address(&url)?;
        self.safe_client
            .write_to


        }
        [Fact]
        public void GetAllUsersSuccessTest()
        {
            var requestController = new OrderController(_mockUserService.Object, _mockMapper.Object);

            var response = requestController.GetAllOrders();
            Assert.NotNull(response);
        }

        [Fact]
        public void GetUserByIdSuccessTest()
        {
            var requestController = new OrderController(_mockUserService.Object, _mockMapper.Object);

            var response = requestController.GetOrderById(1);
            Assert.NotNull(response);
        }
    }
}


    {
        printf("Failed to open the device: %s.\n", full_path_name);
        return fd;
    }

	ret = ioctl(fd, FWCTL_INFO, &info);
	if (ret)
    {
		printf("ioctl failed: %d errno(%d): %s\n", ret, errno, strerror(errno));
		return ret;
	}

	if (info.out_device_type != FWCTL_DEVICE_TYPE_MLX5)
    {
		printf("Not a MLX5 device");
		return -1;
	}

	if (fstat(fd, &st))
    {
		return -1;
	}

	snprintf(sysfs_dev, sizeof(sysfs_dev), "/sys/dev/char/%u:%u",
		 major(st.st_rdev), minor(st.st_rdev));
	if (check_fwctl(sysfs_dev, &dev_desc))
    {
		printf("Problem parsing sysfs");
		return -1;
	}

    mfile* mf = mopen(device_name);
    if (!mf)
    {
        printf("Failed to open the device: %s.\n", device_name);
    }

    mread4(mf, device_id_offset, &device_id);

    const char* device_type = dm_dev_hw_id2str(device_id);
    if (!device_type)
    {
        printf("Failed to get device type.\n");
    }

    mclose(mf);

	printf("ctldev: %s\n", full_path_name);
	printf("Parent dev: %s\n", dev_desc.mdev);
	printf("device ID: 0x%x\n", device_id);
	printf("device type: %s\n", device_type);
	printf("UCTX UID: %d\n", info_mlx5.uid);
	printf("UCTX CAP: 0x%x\n", info_mlx5.uctx_caps);
	printf("Current PID: %d FD %d\n", getpid(), fd);

	return 0;
}


nded-t-xl;
}

.fi-fo-tabs-tab {
    @apply ring-offset-0 ring-0 dark:ring-1 dark:ring-offset-0 dark:ring-white/10;
    @apply dark:bg-[var(--ds-dark-bg-secondary-color)];
}
/* Tabs Component End */@import url("https://fonts.googleapis.com/css?family=News+Cycle:400,700");/*!
 * bootswatch v3.3.5
 * Homepage: http://bootswatch.com
 * Copyright 2012-2015 Thomas Park
 * Licensed under MIT
 * Based on Bootstrap
*//*!
 * Bootstrap v3.3.5 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,*:before,*:after{background:transparent !important;color:#000 !important;


char)a;
            video+= 2;
            }
        }
    }

void exception_all (int n)
	{
    /* Meldung ausgeben */
    print (0, 2, exception_txt[n], 0xC);

    /*
	** Fr Hardware Interrupts, die eventuell eine Exception auslsen knnen,
    ** Interrupt besttigen damit neue generiert werden knnen.
    **
    ** Z.B. lst dieses Programm den Interrupt 8 (Exception 8 - eigentlich
	** Timer-Interrupt) aus, da dieser Interrupt normalerweise 18.2 mal in
	** der Sekunde aktiv wird.
	** Durch Umprogrammieren der Interrupt-Controller ist es zwar mglich
	** die Hardware-Interrupts entsprechend umzuleiten, doch sollte gerade
    ** die Auslsung der Exception 8 in diesem Beispielprogramm demonstriert
	** werden.
    */
    outp (0x20, 0x20);
    outp (0xA0, 0x20);

    /* deinit pmode */
    disable_pmode ();

    /* Quit ... */
    exit (1);
    }

/*
** Exception Handler. Es wird zum allgemeinen Exceptionhandler verzweigt.
*/
void exception_00 (void)
	{
    /* disable Interrupts */
	disable ();

    _DS= sDATA;
    exception_all (0);
    }

void exception_01 (void)
	{
    /* disable Interrupts */
	disable ();

    _DS= sDATA;
    exception_all (1);
    }

void exception_02 (void)
	{
    /* disable Interrupts */
	disable ();

    _DS= sDATA;
    exception_all (2);
    }

void exception_03 (void)
	{
    /* disable Interrupts */
	disable ();

    _DS= sDATA;
    exception_all (3);
    }

void exception_04 (void)
	{
    /* disable Interrupts */
	disable ();

    _DS= sDATA;
    exception_all (4);
    }

void exception_05 (void)
	{
    /* disable Interrupts */
	disable ();

    _DS= sDATA;
    exception_all (5);
    }

void exception_06 (void)
	{
    /* disable Interrupts */
	disable ();

    _DS= sDATA;
    exception_all (6);
    }

void exception_07 (void)
	{
    /* disable Interrupts */
	disable ();

    _DS= sDATA;
    exception_all (7);
    }

void exception_08 (void)
	{
    /* disable Interrupts */
	disable ();

    _DS= sDATA;
    exception_all (8);
    }

void exception_09 (void)
	{
    /* disable Interrupts */
	disable ();

    /* Spez. Interrupt 9 (Tastatur) ==> Byte vom Tastaturcontroller lesen */
    inp (0x60);

    _DS= sDATA;
    exception_all (9);
    }

void exception_10 (void)
	{
    /* disable Interrupts */
	disable ();

    _DS= sDATA;
    exception_all (10);
    }

void exception_11 (void)
	{
    /* disable Interrupts */
	disable ();

    _DS= sDATA;
    exception_all (11);
    }

void exception_12 (void)
	{
    /* disable Interrupts */
	disable ();

    _DS= sDATA;
    exception_all (12);
    }

void exception_13 (void)
	{
    /* disable Interrupts */
	disable ();

    _DS= sDATA;
    exception_all (13);
    }

void exception_14 (void)
	{
    /* disable Interrupts */
	disable ();

    _DS= sDATA;
    exception_all (14);
    }

void exception_15 (void)
	{
    /* disable Interrupts */
	disable ();

    _