%o5, %l7
ld [%l7], %l3
st %l3, [%l7]
add %l7, %o5, %l7
ld [%l7], %l3
st %l3, [%l7]
add %l7, %o5, %l7
ld [%l7], %l3
st %l3, [%l7]
add %l7, %o5, %l7
ld [%l7], %l3
st %l3, [%l7]

P7739: !_PREFETCH [15] (Int)
prefetch [%i3 + 192], 1

P7740: !_DWST [6] (maybe <- 0x430000b2) (FP)
! 0 th moved, current_fp_src=20
fmovs  %f16, %f20
fadds  %f16, %f17, %f16
! 1 th moved, current_fp_src=21
fmovs  %f16, %f21
fadds  %f16, %f17, %f16
std %f20, [%i1 + 80]

P7741: !_ST [4] (maybe <- 0x430000b4) (FP)
! 0 th moved, current_fp_src=20
fmovs  %f16, %f20
fadds  %f16, %f17, %f16
st   %f20, [%i0 + 64 ]

P7742: !_LD [13] (FP)
ld [%i3 + 64], %f15
! 1 addresses covered
!---- flushing fp results buffer to %f30 ----
fmovd %f0, %f30
fmovd %f2, %f30
fmovd %f4, %f30
fmovd %f6, %f30
fmovd %f8, %f30
fmovd %f10, %f30
fmovd %f12, %f30
fmovd %f14, %f30

P7743: !_PREFETCH [9] (Int)
prefetch [%i1 + 512], 1

P7744: !_PREFETCH [3] (Int)
prefetch [%i0 + 32], 1

P7745: !_SWAP [4] (maybe <- 0x380004d) (Int)
mov %l4, %l6
swap  [%i0 + 64], %l6
! move %l6(lower) -> %o4(lower)
srl %l6, 0, %o5
or %o5, %o4, %o4
!---- flushing int results buffer----
mov %o0, %l5
mov %o1, %l5
mov %o2, %l5
mov %o3, %l5
mov %o4, %l5
add   %l4, 1, %l4

P7746: !_PREFETCH [13] (Int) (Branch target of P7879)
prefetch [%i3 + 64], 1
ba P7747
nop

TARGET7879:
ba RET7879
nop

P7747: !_ST [4] (maybe <- 0x430000b5) (FP)
! 0 th moved, current_fp_src=20
fmovs  %f16, %f20
fadds  %f16, %f17, %f16
st   %f20, [%i0 + 64 ]

P7748: !_DWLD [10] (FP) (Branch target of P7423)
ldd [%i2 + 32], %f0
! 1 addresses covered
ba P7749
nop

TARGET7423:
ba RET7423
nop

P7749: !_MEMBAR (Int)
membar #StoreLoad

P7750: !_CAS [9] (maybe <- 0x380004e) (Int) (Branch target of P8064)
add %i1, 512, %


�贴至其中：

```
#include <mymath.h>
#include <stdio.h>
#include <stdlib.h>

int main()
{
  int x, y;
  printf("Enter two numbers\n");
  scanf("%d%d",&x,&y);

  printf("\n%d + %d = %d", x, y, add(x, y));
  printf("\n%d - %d = %d", x, y, sub(x, y));
  printf("\n%d * %d = %d", x, y, mult(x, y));

  if(y==0){
    printf("\nDenominator is zero so can't perform division\n");
      exit(0);
  }else{
      printf("\n%d / %d = %d\n", x, y, divi(x, y));
      return 0;
  }
}
```

注意：第一行是一个 `include` 语句，通过名称来引用你自己的 `libmymath` 库。要使用一个共享库，你必须已经安装了它，如果你没有安装你将要使用的库，那么当你的可执行文件在运行并搜索其包含的库时，将找不到该共享库。如果你需要在不安装库到已知目录的情况下编译代码，这里有 [一些方法可以覆盖默认设置][3]。不过，对于一般使用来说，我们希望库存在于已知的位置，因此，这就是我在这里演示的东西。

复制文件 `libmymath.so` 到一个标准的系统目录，例如：`/usr/lib64`， 然后运行 `ldconfig` 。`ldconfig` 命令创建所需的链接，并缓存到标准库目录中发现的最新共享库。

```
$ sudo cp libmymath.so /usr/lib64/
$ sudo ldconfig
```

### 编译应用程序

从你的应用程序源文件代码（`mathDemo.c`）中创建一个名称为 `mathDemo.o` 的目标文件：

```
$ gcc -I . -c mathDemo.c
```

`-I` 选项告诉 GCC 来在其后所列出的目录中搜索头文件（在这个示例中是 `mymath.h`）。在这个示例中，你指定的是当前目录，通过一个单点（`.`）来表示。创建一个可执行文件，使用 `-l` 选项来通过名称来引用你的共享数学库：

```
$ gcc -o mathDynamic mathDemo.o -lmymath
```

GCC 会找到 `libmymath.so` ，因为它存在于一个默认的系统库目录中。使用 `ldd` 来查证所使用的共享库：

```
$ ldd mathDemo
    linux-vdso.so.1 (0x00007fffe6a30000)
    libmymath.so => /usr/lib64/libmymath.so (0x00007fe4d4d33000)
    libc.so.6 => /lib64/libc.so.6 (0x00007fe4d4b29000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fe4d4d4e000)
```

看看 `mathDemo` 可执行文件的大小：

```
$ du ./mathDynamic
24   ./mathDynamic
```

当然，它是一个小的应用程序，它所占用的磁盘空间量也反映了这一点。相比之下，相同代码的一个静态链接版本（正如你将在我后期的文章所看到的一样）是 932K !

```
$ ./mathDynamic
Enter two numbers
25
5

25 + 5 = 30
25 - 5 = 20
25 * 5


site:"},"basicstyles":{"bold":"Negrito","italic":"Itálico","strike":"Tachado","subscript":"Subscrito","superscript":"Sobrescrito","underline":"Sublinhado"},"bidi":{"ltr":"Direção do texto da esquerda para a direita","rtl":"Direção do texto da direita para a esquerda"},"blockquote":{"toolbar":"Citação"},"notification":{"closed":"Notificação fechada."},"toolbar":{"toolbarCollapse":"Diminuir Barra de Ferramentas","toolbarExpand":"Aumentar Barra de Ferramentas","toolbarGroups":{"document":"Documento","clipboard":"Clipboard/Desfazer","editing":"Edição","forms":"Formulários","basicstyles":"Estilos Básicos","paragraph":"Paragrafo","links":"Links","insert":"Inserir","styles":"Estilos","colors":"Cores","tools":"Ferramentas"},"toolbars":"Barra de Ferramentas do Editor"},"clipboard":{"copy":"Copiar","copyError":"As configurações de segurança do seu navegador não permitem que o editor execute operações de copiar automaticamente. Por favor, utilize o teclado para copiar (Ctrl/Cmd+C).","cut":"Recortar","cutError":"As configurações de segurança do seu navegador não permitem que o editor execute operações de recortar automaticamente. Por favor, utilize o teclado para recortar (Ctrl/Cmd+X).","paste":"Colar","pasteNotification":"Pressione %1 para colar. Seu navegador não permite colar pelos botões da barra de tarefas ou pelo menu de contexto.","pasteArea":"Área para Colar","pasteMsg":"Cole o conteúdo na área abaixo e pressione OK."},"colorbutton":{"auto":"Automático","bgColorTitle":"Cor do Plano de Fundo","colors":{"000":"Preto","800000":"Foquete","8B4513":"Marrom 1","2F4F4F":"Cinza 1","008080":"Cerceta","000080":"Azul Marinho","4B0082":"Índigo","696969":"Cinza 2","B22222":"Tijolo de Fogo","A52A2A":"Marrom 2","DAA520":"Vara Dourada","006400":"Verde Escuro","40E0D0":"Turquesa","0000CD":"Azul Médio","800080":"Roxo","808080":"Cinza 3","F00":"Vermelho","FF8C00":"Laranja Escuro","FFD700":"Dourado","008000":"Verde","0FF":"Ciano","00F":"Azul","EE82EE":"Violeta","A9A9A9":"Cinza Escuro","FFA07A":"Salmão Claro","FFA500":"Laranja","FFFF00":"Amarelo","00FF00":"Lima","AFEEEE":"Turquesa Pálido","ADD8E6":"Azul Claro","DDA0DD":"Ameixa","D3D3D3":"Cinza Claro","FFF0F5":"Lavanda 1","FAEBD7":"Branco Antiguidade","FFFFE0":"Amarelo Claro","F0FFF0":"Orvalho","F0FFFF":"Azure","F0F8FF":"Azul Alice","E6E6FA":"Lavanda 2","FFF":"Branco","1ABC9C":"Ciano Forte","2ECC71":"Esmeralda","3498DB":"Azul Brilhante","9B59B6":"Ametista","4E5F70":"Azul acinzentado","F1C40F":"Amarelo Vívido","16A085":"Ciano Escuro","27AE60":"Esmeralda Escura","2980B9":"Azul Forte","8E44AD":"Violeta Escura","2C3E50":"Azul Dessaturado","F39C12":"Laranja","E67E22":"Laranja Cenoura","E74C3C":"Vermelho Pálido","ECF0F1":"Prata Brilhante","95A5A6":"Ciano Acinzentado Claro ","DDD":"Cinza Claro","D35400":"Abóbora","C0392B":"Vermelho Forte","BDC3C7":"Prata","7F8C8D":"Ciano Acinzentado","999":"Cinza Escuro"},"more":"Mais Cores...","panelTitle":"Cores","textColorTitle":"Cor do Texto"},"colordialog":{"clear":"Limpar","highlight":"Grifar","options":"


# ==============================================================================
# Copyright (C) 2011 Diego Duclos
# Copyright (C) 2011-2018 Anton Vorobyov
#
# This file is part of Eos.
#
# Eos is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Eos is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Eos. If not, see <http://www.gnu.org/licenses/>.
# ==============================================================================

from eos.const.eve import AttrId
from eos.const.eve import EffectId
from eos.eve_obj.effect import EffectFactory
from .base import BaseNeutEffect

class EnergyNosferatuFalloff(BaseNeutEffect):

    def get_neut_amount(self, item):
        if item.attrs.get(AttrId.nos_override, 0):
            return item.attrs.get(AttrId.power_transfer_amount, 0)
        return 0

EffectFactory.register_class_by_id(
    EnergyNosferatuFalloff,
    EffectId.energy_nosferatu_falloff)


 type_literal_in_constant_pattern
// ignore_for_file: use_super_parameters

// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:serverpod/serverpod.dart' as _i1;
import 'enums/group_type.dart' as _i2;

abstract class DiscordChannel
    implements _i1.TableRow<int?>, _i1.ProtocolSerialization {
  DiscordChannel._({
    this.id,
    required this.name,
    required this.icon,
    required this.groupId,
    required this.discordServerId,
    required this.type,
  });

  factory DiscordChannel({
    int? id,
    required String name,
    required String icon,
    required int groupId,
    required int discordServerId,
    required _i2.GroupType type,
  }) = _DiscordChannelImpl;

  factory DiscordChannel.fromJson(Map<String, dynamic> jsonSerialization) {
    return DiscordChannel(
      id: jsonSerialization['id'] as int?,
      name: jsonSerialization['name'] as String,
      icon: jsonSerialization['icon'] as String,
      groupId: jsonSerialization['groupId'] as int,
      discordServerId: jsonSerialization['discordServerId'] as int,
      type: _i2.GroupType.fromJson((jsonSerialization['type'] as int)),
    );
  }

  static final t = DiscordChannelTable();

  static const db = DiscordChannelRepository._();

  @override
  int? id;

  String name;

  String icon;

  int groupId;

  int discordServerId;

  _i2.GroupType type;

  @override
  _i1.Table<int?> get table => t;

  /// Returns a shallow copy of this [DiscordChannel]
  /// with some or all fields replaced by the given arguments.
  @_i1.useResult
  DiscordChannel copyWith({
    int? id,
    String? name,
    String? icon,
    int? groupId,
    int? discordServerId,
    _i2.GroupType? type,
  });
  @override
  Map<String, dynamic> toJson() {
    return {
      if (id != null) 'id': id,
      'name': name,
      'icon': icon,
      'groupId': groupId,
      'discordServerId': discordServerId,
      'type': type.toJson(),
    };
  }

  @override
  Map<String, dynamic> toJsonForProtocol() {
    return {
      if (id != null) 'id': id,
      'name': name,
      'icon': icon,
      'groupId': groupId,
      'discordServerId': discordServerId,
      'type': type.toJson(),
    };
  }

  static DiscordChannelInclude include() {
    return DiscordChannelInclude._();
  }

  static DiscordChannelIncludeList includeList({
    _i1.WhereExpressionBuilder<DiscordChannelTable>? where,
    int? limit,
    int? offset,
    _i1.OrderByBuilder<DiscordChannelTable>? orderBy,
    bool orderDescending = false,
    _i1.OrderByListBuilder<DiscordChannelTable>? orderByList,
    DiscordChannelInclude? include,
  }) {
    return DiscordChannelIncludeList._(
      where: where,
      limit: limit,
      offset: offset,
      orderBy: orderBy?.call(DiscordChannel.t),
      orderDescending: orderDescending,
      orderByList: orderByList?.call(DiscordChannel.t),
      include: include,
    );
  }

  @override
  String toString() {
    return _i1.SerializationManager.encode(this);
  }
}

class _Undefined {}

class _DiscordChannelImpl extends DiscordChannel {
  _DiscordChannelImpl({
    int? id,
    required String name,
    required String icon,
    required int groupId,
    requi


}

{% comment %}
{% include_relative generic/recommended.actions.md %}
{% endcomment %}

### Optional features
-------------------
!!! note
    You can add the following to your shell startup rc scripts to have the *cake* and *viper-cli* commands in your $PATH
    ```bash
    # set PATH so it includes viper if it exists
    if [ -d "/usr/local/src/viper" ] ; then
        PATH="$PATH:/usr/local/src/viper"
    fi

    # set PATH so it includes viper if it exists
    if [ -d "/var/www/MISP/app/Console" ] ; then
        PATH="$PATH:/var/www/MISP/app/Console"
    fi
    ```

#### MISP has a new pub/sub feature, using ZeroMQ. To enable it, simply run the following commands

```bash
${SUDO_WWW} ${PATH_TO_MISP}/venv/bin/pip install pyzmq
```

#### MISP has a feature for publishing events to Kafka. To enable it, simply run the following commands
```bash
sudo apt install librdkafka-dev php-dev
sudo pecl channel-update pecl.php.net
sudo pecl install rdkafka
echo "extension=rdkafka.so" | sudo tee ${PHP_ETC_BASE}/mods-available/rdkafka.ini
sudo phpenmod rdkafka
sudo service apache2 restart
```

{% comment %}
{% include_relative generic/misp-dashboard-debian.md %}
{% endcomment %}

{% comment %}
{% include_relative generic/viper-debian.md %}
{% endcomment %}

{% comment %}
{% include_relative generic/ssdeep-debian.md %}
{% endcomment %}

{% comment %}
{% include_relative generic/mail_to_misp-debian.md %}
{% endcomment %}

{% comment %}
{% include_relative generic/upgrading.md %}
{% endcomment %}

{% comment %}
{% include_relative generic/hardening.md %}
{% endcomment %}
#### Upgrading all of the above
-----------------------

##### MISP core

Also refer to this [UPDATE section](../UPDATE/) which might partially overlap on the information below.

There are 2 ways to upgrade MISP.
The preferred way is to go into the Web UI "Server Settings & Maintenance" -> "Diagnostics" and click "Update MISP".

If this fails most likely permissions are the reason.

More details can be found in [MISP Book](https://www.circl.lu/doc/misp/faq/#update-misp-fails) to resolve the issue.

To fix permissions refer to [the install guide](https://misp.github.io/MISP/INSTALL.ubuntu1804#5-set-the-permissions).

Another way is to open a shell on your MISP instance and go to the main MISP directory and pull the latest code:

```bash
cd /var/www/MISP
sudo -H -u www-data git pull origin 2.4
sudo -H -u www-data git submodule update --init --recursive
```

If the above fails, your permissions might be wrong. [Click here for the fix the permissions guide](https://misp.github.io/MISP/INSTALL.ubuntu1804#5-set-the-permissions).

##### MISP Dependencies

```bash
# MISP configuration variables
PATH_TO_MISP='/var/www/MISP'
CAKE="$PATH_TO_MISP/app/Console/cake"
```

###### virtualenv

```bash
sudo -H -u www-data virtualenv -p python3 ${PATH_TO_MISP}/venv
cd $PATH_TO_MISP/app/files/scripts/python-cybox
sudo -u www-data git pull
sudo -H -u www-data ${PATH_TO_MISP}/venv/bin/pip install -U .
cd $PATH_TO_MISP/app/files/scripts/python-stix
sudo


L, writeOffset.adr.L, size.L)

    // --- [ glPrimitiveRestartIndex ] ---

    /**
     * Specifies the primitive restart index.
     *
     * @param index the value to be interpreted as the primitive restart index
     *
     * @see Reference Page
     */
    fun primitiveRestartIndex(index: Int) = GL31C.glPrimitiveRestartIndex(index)

    // --- [ glTexBuffer ] ---

    /**
     * Attaches the storage for the buffer object named {@code buffer} to the active buffer texture, and specifies an internal format for the texel array found
     * in the attached buffer object. If {@code buffer} is zero, any buffer object attached to the buffer texture is detached, and no new buffer object is
     * attached. If {@code buffer} is non-zero, but is not the name of an existing buffer object, the error {@link GL11#GL_INVALID_OPERATION INVALID_OPERATION} is generated.
     *
     *
When a buffer object is attached to a buffer texture, the buffer object's data store is taken as the texture's texel array. The number of texels in the
     * buffer texture's texel array is given by

     *
     *
{@code floor(buffer_size / (components * sizeof(base_type))},

     *
     *
where {@code buffer_size} is the size of the buffer object, in basic machine units and {@code components} and {@code base_type} are the element count
     * and base data type for elements. The number of texels in the texel array is then clamped to the implementation-dependent limit {@link #GL_MAX_TEXTURE_BUFFER_SIZE MAX_TEXTURE_BUFFER_SIZE}.
     * When a buffer texture is accessed in a shader, the results of a texel fetch are undefined if the specified texel number is greater than or equal to the
     * clamped number of texels in the texel array.

     *
     *
When a buffer texture is accessed in a shader, an integer is provided to indicate the texel number being accessed. If no buffer object is bound to the
     * buffer texture, the results of the texel access are undefined. Otherwise, the attached buffer object's data store is interpreted as an array of elements
     * of the GL data type corresponding to {@code internalformat}. Each texel consists of one to four elements that are mapped to texture components
     * (R, G, B, A, L, and I). Element {@code m} of the texel numbered {@code n} is taken from element {@code n} * {@code components} + {@code m} of the
     * attached buffer object's data store. Elements and texels are both numbered starting with zero. For texture formats with normalized components, the
     * extracted values are converted to floating-point values. The components of the texture are then converted to an (R,G,B,A) vector, and returned to the
     * shader as a four-component result vector with components of the appropriate data type for the texture's internal format.

     *
     * @param target         the target of the operation. Must be:

{@link #GL_TEXTURE_BUFFER TEXTURE_BUFFER}

     * @param internalformat the sized internal format of the data in the store belonging to {@code buffer}
     * @param buffer         the name of the buffer object whose storage to attach to the active buffer texture
     *
     * @see Reference Page
     */
    fun texBuffer(internalformat: Internal


Issue 212

Glossary section needs improving; see existing sources of definitions.

Consider adopting definitions from, or aligning definitions with the ISO/TC 211 Glossary - see linked data
          prototype.

For example, the Coverage definition is considered unclear and potentially inconsistent with the ISO
            definition of Coverage.

Issue 222

Need consistency in how we cite existing specifications.

Why do some references go to the glossary (e.g. WFS) and some to the references (e.g. SPARQL)? Maybe WFS etc. should be added to the references, too, and the text should include a link both to the glossary and the references?

<dfn data-dfn-type="dfn" id="dfn-coverage">Coverage</dfn>: A coverage is a function that describe characteristics of real-world phenomena that vary over space and/or time. Typical examples are temperature, elevation and precipitation. A coverage is typically represented as a data structure containing a set of such values, each associated with one of the elements in a spatial, temporal or spatiotemporal domain. Typical spatial domains are point sets (e.g. sensor locations), curve sets (e.g. contour lines), grids (e.g. orthoimages, elevation models), etc. A property whose value varies as a function of time may be represented as a temporal coverage or time-series [ISO-19109] §8.8.

<dfn data-dfn-type="dfn" id="dfn-coordinate-reference-system-crs">Coordinate Reference System (CRS)</dfn>: A coordinate-based local, regional or global system used to locate geographical entities. Also known as Spatial Reference System.
      Compare with the ISO
          definition.

<dfn data-dfn-type="dfn" id="dfn-ellipsoid">Ellipsoid</dfn>: An ellipsoid is a closed quadric surface that is a three-dimensional analogue of an ellipse. In geodesy a reference ellipsoid is a mathematically defined surface that approximates the geoid.

<dfn data-dfn-type="dfn" id="dfn-extent">Extent</dfn>: The area covered by something. Within this document we always imply spatial extent; e.g. size or shape that may be expresses using


/*
 * Copyright (c) 2025 ETH Zürich, IT Services
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using SafeExamBrowser.Client.Operations;
using SafeExamBrowser.Logging.Contracts;
using SafeExamBrowser.Monitoring.Contracts.Display;
using SafeExamBrowser.Settings;
using SafeExamBrowser.UserInterface.Contracts.Shell;

namespace SafeExamBrowser.Client.UnitTests.Operations
{
	[TestClass]
	public class DisplayMonitorOperationTests
	{
		private ClientContext context;
		private Mock<IDisplayMonitor> displayMonitor;
		private Mock<ILogger> logger;
		private Mock<ITaskbar> taskbar;

		private DisplayMonitorOperation sut;

		[TestInitialize]
		public void Initialize()
		{
			context = new ClientContext();
			displayMonitor = new Mock<IDisplayMonitor>();
			logger = new Mock<ILogger>();
			taskbar = new Mock<ITaskbar>();

			sut = new DisplayMonitorOperation(context, displayMonitor.Object, logger.Object, taskbar.Object);
		}

		[TestMethod]
		public void Perform_MustExecuteInCorrectOrder()
		{
			var order = 0;

			context.Settings = new AppSettings();
			context.Settings.UserInterface.Taskbar.EnableTaskbar = true;

			displayMonitor.Setup(d => d.InitializePrimaryDisplay(It.IsAny<int>())).Callback(() => Assert.AreEqual(++order, 1));
			displayMonitor.Setup(d => d.StartMonitoringDisplayChanges()).Callback(() => Assert.AreEqual(++order, 2));

			sut.Perform();

			displayMonitor.


if_end$5;}}while(0);var $31=$c1;var $32=$tr_addr;var $langopts47=(($32)&4294967295);var $param48=(($langopts47+24)&4294967295);var $arrayidx49=(($param48+20)&4294967295);var $33=HEAP32[(($arrayidx49)>>2)];var $cmp50=((($31))|0)==((($33))|0);if($cmp50){__label__=26;;}else{__label__=27;;}
if(__label__==26){var $34=$vowel_posn;var $dec=((($34)-1)&4294967295);$vowel_posn=$dec;;}
var $35=$vowel_posn;var $36=$tr_addr;var $langopts53=(($36)&4294967295);var $max_initial_consonants=(($langopts53+248)&4294967295);var $37=HEAP8[($max_initial_consonants)];var $conv54=(tempInt=(($37)),(tempInt>=128?tempInt-256:tempInt));var $add55=((($conv54)+1)&4294967295);var $cmp56=((($35))|0)>((($add55))|0);if($cmp56){__label__=28;;}else{__label__=29;;}
if(__label__==28){$retval=1;__label__=30;break $return$$if_end$5;}
else if(__label__==29){$retval=0;__label__=30;break $return$$if_end$5;}}}while(0);$retval=0;;}}}while(0);var $38=$retval;STACKTOP=__stackBase__;return $38;return null;}
function __ZL15Unpronouncable2P10TranslatorPc($tr,$word){var __stackBase__=STACKTOP;STACKTOP+=160;_memset(__stackBase__,0,160);var __label__;var $retval;var $tr_addr;var $word_addr;var $c;var $end_flags;var $ph_buf=__stackBase__;$tr_addr=$tr;$word_addr=$word;var $arrayidx=(($ph_buf)&4294967295);HEAP8[($arrayidx)]=0;var $0=$word_addr;var $arrayidx1=(($0+-1)&4294967295);var $1=HEAP8[($arrayidx1)];var $conv=(tempInt=(($1)),(tempInt>=128?tempInt-256:tempInt));$c=$conv;var $2=$word_addr;var $arrayidx2=(($2+-1)&4294967295);HEAP8[($arrayidx2)]=32;var $3=$tr_addr;var $4=$word_addr;var $arraydecay=(($ph_buf)&4294967295);var $call=__Z14TranslateRulesP10TranslatorPcS1_iS1_iPj($3,$4,$arraydecay,160,0,-2147483648,0);$end_flags=$call;var $5=$c;var $conv3=((($5))&255);var $6=$word_addr;var $arrayidx4=(($6+-1)&4294967295);HEAP8[($arrayidx4)]=$conv3;var $7=$end_flags;var $cmp=((($7))|0)==0;if($cmp){__label__=2;;}else{__label__=1;;}
$if_then$$lor_lhs_false$2:do{if(__label__==1){var $8=$end_flags;var $and=($8)&32768;var $tobool=((($and))|0)!=0;if($tobool){__label__=2;break $if_then$$lor_lhs_false$2;}
$retval=0;__label__=4;break $if_then$$lor_lhs_false$2;}}while(0);if(__label__==2){$retval=1;;}
var $9=$retval;STACKTOP=__stackBase__;return $9;return null;}
functio


The character used to delimit the source CSV file.

   */
  Delimiter?: string;

  /**
   * @public
   *
A list of the source CSV file's headers, if any.

   */
  HeaderList?: string[];

  /**
   * @public
   *
The character used as a quote character.

   */
  QuoteSymbol?: string;
}

/**
 * @public
 * @enum
 */
export const JsonFileCompression = {
  GZIP: "GZIP",
  NONE: "NONE",
} as const;

/**
 * @public
 */
export type JsonFileCompression = (typeof JsonFileCompression)[keyof typeof JsonFileCompression];

/**
 * @public
 *
Contains information about how a source JSON data file should be analyzed.

 */
export interface JsonFormatDescriptor {
  /**
   * @public
   *
The level of compression of the source CSV file.

   */
  FileCompression?: JsonFileCompression | string;

  /**
   * @public
   *
The character set in which the source JSON file is written.

   */
  Charset?: string;
}

/**
 * @public
 *
Contains information about a source file's formatting.

 */
export interface FileFormatDescriptor {
  /**
   * @public
   *
Contains information about how a source CSV data file should be analyzed.

   */
  CsvFormatDescriptor?: CsvFormatDescriptor;

  /**
   * @public
   *
Contains information about how a source JSON data file should be analyzed.

   */
  JsonFormatDescriptor?: JsonFormatDescriptor;
}

/**
 * @public
 *
Contains information about the configuration of the S3 bucket that contains source files.

 */
export interface S3SourceConfig {
  /**
   * @public
   *
The ARN of an IAM role that has read and write access permissions to the source S3 bucket.

   */
  RoleArn?: string;

  /**
   * @public
   *
A list of templated paths to the source files.

   */
  TemplatedPathList?: string[];

  /**
   * @public
   *
A list of paths to the historical data files.

   */
  HistoricalDataPathList?: string[];

  /**
   * @public
   *
Contains information about a source file's formatting.

   */
  FileFormatDescriptor?: FileFormatDescriptor;
}

/**
 * @public
 *
Contains information about source data used to generate metrics.

 */
export interface MetricSource {
  /**
   * @public
   *
Contains information about the configuration of the S3 bucket that contains source files.

   */
  S3SourceConfig?: S3SourceConfig;

  /**
   * @public
   *
Details about an AppFlow datasource.

   */
  AppFlowConfig?: AppFlowConfig;

  /**
   * @public
   *
Details about an Amazon CloudWatch monitoring datasource.

   */
  CloudWatchConfig?: CloudWatchConfig;

  /**
   * @public
   *
Details about an Amazon Relational Database Service (RDS) datasource.

   */
  RDSSourceConfig?: RDSSourceConfig;

  /**
   * @public
   *
Details about an Amazon Redshift database datasource.

   */
  RedshiftSourceConfig?: RedshiftSourceConfig;

  /**
   * @public
   *
Details about an Amazon Athena datasource.

   */
  AthenaSourceConfig?: AthenaSourceConfig;
}

/**
 * @public
 *
Contains information about the column used to track time in a source data file.

 */
export interface TimestampColumn {
  /**
   * @public
   *
The name of the timestamp column.

   */
  ColumnName?: string;

  /**


', L'襪'},
  {L'初', L'親', L'襯'},
  {L'初', L'闌', L'襴'},
  {L'初', L'擧', L'襷'},
  {L'西', L'一', L'襾'},
  {L'襾', L'早', L'覃'},
  {L'襾', L'激', L'覈'},
  {L'襾', L'馬', L'覊'},
  {L'爪', L'見', L'覓'},
  {L'占', L'見', L'覘'},
  {L'巫', L'見', L'覡'},
  {L'者', L'見', L'覩'},
  {L'兪', L'見', L'覦'},
  {L'豈', L'見', L'覬'},
  {L'冓', L'見', L'覯'},
  {L'菫', L'見', L'覲'},
  {L'學', L'見', L'覺'},
  {L'覧', L'監', L'覽'},
  {L'賣', L'見', L'覿'},
  {L'隹', L'見', L'觀'},
  {L'角', L'瓜', L'觚'},
  {L'此', L'角', L'觜'},
  {L'角', L'低', L'觝'},
  {L'角', L'羊', L'觧'},
  {L'角', L'傷', L'觴'},
  {L'角', L'蜀', L'觸'},
  {L'言', L'ト', L'訃'},
  {L'言', L'乞', L'訖'},
  {L'言', L'干', L'訐'},
  {L'言', L'工', L'訌'},
  {L'言', L'化', L'訛'},
  {L'言', L'牙', L'訝'},
  {L'言', L'内', L'訥'},
  {L'言', L'可', L'訶'},
  {L'言', L'古', L'詁'},
  {L'言', L'且', L'詛'},
  {L'言', L'台', L'詒'},
  {L'言', L'低', L'詆'},
  {L'言', L'四', L'詈'},
  {L'言', L'灰', L'詼'},
  {L'言', L'危', L'詭'},
  {L'言', L'后', L'詬'},
  {L'言', L'旬', L'詢'},
  {L'言', L'朱', L'誅'},
  {L'言', L'兆', L'誂'},
  {L'言', L'耒', L'誄'},
  {L'言', L'母', L'誨'},
  {L'言', L'戒', L'誡'},
  {L'言', L'狂', L'誑'},
  {L'言', L'告', L'誥'},
  {L'言', L'甬', L'誦'},
  {L'言', L'肖', L'誚'},
  {L'言', L'巫', L'誣'},
  {L'言', L'享', L'諄'},
  {L'言', L'爭', L'諍'},
  {L'言', L'焔', L'諂'},
  {L'言', L'定', L'諚'},
  {L'言', L'柬', L'諫'},


k, focusing on high-impact innovation, broad applicability, safety, accessibility, and cooperation to ensure AGI can be beneficial for all of humanity. [](#__codelineno-14-163) [](#__codelineno-14-164)-------------------------------------------------------------------------------- `
```

### Same group chat with Claude 3.5 Sonnet as the judge[#](#same-group-chat-with-claude-35-sonnet-as-the-judge "Permanent link")

```
`[](#__codelineno-15-1)with llm_config_claude: [](#__codelineno-15-2) dan = AssistantAgent( [](#__codelineno-15-3) "Judge", [](#__codelineno-15-4) system_message="You are a judge. You will evaluate the arguments and make a decision on which one is more convincing.", [](#__codelineno-15-5) ) [](#__codelineno-15-6) [](#__codelineno-15-7)groupchat = GroupChat( [](#__codelineno-15-8) agents=[alice, bob, charlie, dan, code_interpreter], [](#__codelineno-15-9) messages=[], [](#__codelineno-15-10) allow_repeat_speaker=False, [](#__codelineno-15-11) max_round=10, [](#__codelineno-15-12)) [](#__codelineno-15-13) [](#__codelineno-15-14)manager = GroupChatManager( [](#__codelineno-15-15) groupchat=groupchat, [](#__codelineno-15-16) # is_termination_msg=lambda x: x.get("content", "").find("TERMINATE") >= 0, [](#__codelineno-15-17) llm_config=llm_config_gpt4, [](#__codelineno-15-18)) [](#__codelineno-15-19) [](#__codelineno-15-20)user_proxy.initiate_chat(manager, message=task) `
```

```
`[](#__codelineno-16-1)user_proxy (to chat_manager): [](#__codelineno-16-2) [](#__codelineno-16-3)Analyze the potential of OpenAI and Anthropic to revolutionize the field of AI based on today's headlines. Today is 06202024. [](#__codelineno-16-4) [](#__codelineno-16-5)-------------------------------------------------------------------------------- [](#__codelineno-16-6) [](#__codelineno-16-7)Next speaker: Research_Assistant [](#__codelineno-16-8) [](#__codelineno-16-9)Research_Assistant (to chat_manager): [](#__codelineno-16-10) [](#__codelineno-16-11)***** Suggested tool call (call_72zG3zis68tGSztVzF6tZhve): get_headlines ***** [](#__codelineno-16-12)Arguments: [](#__codelineno-16-13){"headline_date": "06202024"} [](#__codelineno-16-14)****************************************************************************** [](#__codelineno-16-15)***** Suggested tool call (call_oRxUowu12QV2IVvCieH0qF46): get_headlines ***** [](#__codelineno-16-16)Arguments: [](#__codelineno-16-17){"headline_date": "06202024"} [](#__codelineno-16-18)****************************************************************************** [](#__codelineno-16-19) [](#__codelineno-16-20)-------------------------------------------------------------------------------- [](#__codelineno-16-21) [](#__codelineno-16-22)Next speaker: code-interpreter [](#__codelineno-16-23) [](#__codelineno-16-24)>>>>>>>> EXECUTING FUNCTION get_headlines... [](#__codelineno-16-25)[runtime logging] log_function_use: autogen logger is None [](#__codelineno-16-26) [](#__codelineno-16-27)>>>>>>>> EXECUTING FUNCTION get_headlines... [](#__codelineno-16-28)[runtime logging] log_function_use: autogen logger is None [](#__codelineno-16-29)code-interpreter (to chat_manager): [](#__codelineno-16-30) [](#__codelineno-16-31)code-interpreter (to chat_manager): [](#__codelineno-16-32) [](#__codelineno-16-33)***** Response from calling tool (call_72zG3zis68tGSztVzF6tZhve) ***** [](#__codelinen


ns(pdev);
}

static const struct pci_device_id thunder_mmc_id_table[] = {
	{ PCI_DEVICE(PCI_VENDOR_ID_CAVIUM, 0xa010) },
	{ 0, }  /* end of table */
};

static struct pci_driver thunder_mmc_driver = {
	.name = KBUILD_MODNAME,
	.id_table = thunder_mmc_id_table,
	.probe = thunder_mmc_probe,
	.remove = thunder_mmc_remove,
};

module_pci_driver(thunder_mmc_driver);

MODULE_AUTHOR("Cavium Inc.");
MODULE_DESCRIPTION("Cavium ThunderX eMMC Driver");
MODULE_LICENSE("GPL");
MODULE_DEVICE_TABLE(pci, thunder_mmc_id_table);


TR Line...
     addq.l   #4,sp
     movem.l  (sp)+,a1-a6/d1-d6
     rts

Pause:
     movem.l  d0-d1,-(a7)
     bsr      Get_Timer
     move.l   Timer,d0
     clr.l    d1
     move.w   Seconds,d1
     mulu     #222,d1
     add.l    d1,d0
     move.l   d0,Max_Time
Pause1:
     bsr      Get_Timer
     move.l   Timer,d0
     cmp.l    Max_Time,d0
     blt.s    Pause1
     movem.l  (a7)+,d0-d1
     rts

Timer:        dc.l  0
Max_Time:     dc.l  0
Seconds:      dc.w  0

Get_Timer:
     bsr      super_on
     move.l   $4ba,Timer
     bsr      super_off


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

# repo: PaddleDetection
# model: configs^cascade_rcnn^cascade_rcnn_r50_fpn_1x_coco_single_dy2st_train
# api:paddle.tensor.manipulation.gather||method:__eq__||api:paddle.tensor.creation.ones_like||method:__mul__||api:paddle.tensor.search.where||method:__eq__||api:paddle.tensor.creation.ones_like||method:__mul__||api:paddle.tensor.search.where
from base import *  # noqa: F403

from paddle.static import InputSpec

class LayerCase(paddle.nn.Layer):
    def __init__(self):
        super().__init__()

    def forward(
        self,
        var_0,  # (shape: [2002], dtype: paddle.int64, stop_gradient: True)
        var_1,  # (shape: [2002], dtype: paddle.int32, stop_gradient: True)
        var_2,  # (shape: [2], dtype: paddle.int32, stop_gradient: True)
    ):
        var_3 = paddle.tensor.manipulation.gather(var_2, var_0)
        var_4 = var_1 == 0
        var_5 = paddle.tensor.creation.ones_like(var_3)
        var_6 = var_5 * 80
        var_7 = paddle.tensor.search.where(var_4, var_6, var_3)
        var_8 = var_1 == -1
        var_9 = paddle.tensor.creation.ones_like(var_7)
        var_10 = var_9 * -1
        var_11 = paddle.tensor.search.where(var_8, var_10, var_7)
        return var_11

class TestLayer(TestBase):
    def init(self):
        self.input_specs = [
            InputSpec(
                shape=(-1,), dtype=paddle.int64, name=None, stop_gradient=True
            ),
            InputSpec(
                shape=(-1,), dtype=paddle.int32, name=None, stop_gradient=True
            ),
            InputSpec(
                shape=(-1,), dtype=paddle.int32, name=None, stop_gradient=True
            ),
        ]
        self.inputs = (
            paddle.randint(low=0, high=10, shape=[2002], dtype=paddle.int64),
            paddle.randint(low=0, high=10, shape=[2002], dtype=paddle.int32),
            paddle.randint(low=0, high=10, shape=[2], dtype=paddle.int32),
        )
        self.net = LayerCase

if __name__ == '__main__':
    unittest.main()


stemClipboard
        clipboard.setContents(stringSelection, null)
        Stuff.globalSnackbarFlow.tryEmit(
            PanoSnackbarVisuals(
                message = "Copied",
                isError = false,
            )
        )
    }

    actual fun writeBitmapToStream(imageBitmap: ImageBitmap, stream: OutputStream) {
        val image = imageBitmap.asSkiaBitmap().let { Image.makeFromBitmap(it) }
        stream.use {
            try {
                val data = image.encodeToData(
                    EncodedImageFormat.JPEG,
                    95
                )!!
                it.write(data.bytes)
            } catch (e: Exception) {
                e.printStackTrace()
            }
        }
    }

    actual suspend fun promptForReview(activity: Any?) {
    }

    actual fun getLocalIpAddress(): String? {
        return try {
            NetworkInterface.getNetworkInterfaces().asSequence()
                .filter { it.isUp && !it.isLoopback && !it.isVirtual }
                .flatMap { it.inetAddresses.asSequence() }
                .firstOrNull {
                    !it.isLoopbackAddress && it is Inet4Address
                }?.hostAddress
        } catch (e: Exception) {
            Logger.e(e) { "Failed to get local IP address" }
            null
        }
    }

    actual fun monotonicTimeMs(): Long = System.nanoTime() / 1_000_000L
}/*
Copyright 2006 Jerry Huxtable

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.jabistudio.androidjhlabs.filter.math

import java.util.Random
import kotlin.math.sqrt

/**
 * Perlin Noise functions
 */
class Noise : Function2D {
    override fun evaluate(x: Float, y: Float): Float {
        return noise2(x, y)
    }

    companion object {
        private val randomGenerator = Random()

        private const val B = 0x100
        private const val BM = 0xff
        private const val N = 0x1000

        var p: IntArray = IntArray(B + B + 2)
        var g3: Array<FloatArray> = Array(B + B + 2) { FloatArray(3) }
        var g2: Array<FloatArray> = Array(B + B + 2) { FloatArray(2) }
        var g1: FloatArray = FloatArray(B + B + 2)
        var start: Boolean = true

        private fun sCurve(t: Float): Float {
            return t * t * (3.0f - 2.0f * t)
        }

        /**
         * Compute 2-dimensional Perlin noise.
         *
         * @param x the x coordinate
         * @param y the y coordinate
         * @return noise value at (x,y)
         */
        @JvmStatic
        fun noise2(x: Float, y: Float): Float {
            val bx0: Int
            val by0: Int
            val b00: Int
            val b10: Int
            val b01: Int
            val b11: Int
            val rx0: Float
            val ry0: Float
            val a: Float
            val b: Float
            var u: Float
            var v: Float
            val j: Int

            if (start) {
                start = false
                init()
            }

            var t = x + N
            bx0 = (t.toInt()) and BM
            val bx1 = bx0 + 1 and BM
            rx0 = t - t.toInt()
            val rx1 = rx0 - 1.0f

            t = y + N
            by0 = (t.toInt()) and BM
            val by1 = by0 + 1 and BM
            ry0 = t - t.toInt()
            val ry1


0, .LC20
	add	x0, x0, :lo12:.LC20
	bl	perror
.L110:
	mov	w21, 0
	mov	x28, 0
	mov	x26, 0
	b	.L112
.L114:
	.cfi_offset 23, -2144
	.cfi_offset 24, -2136
	scvtf	s0, w5
	fcmp	s0, #0.0
	bpl	.L141
	str	w13, [sp, 108]
	bl	sqrtf
	ldr	w13, [sp, 108]
	cbz	w13, .L132
.L128:
	fmov	s30, 1.0e+0
	fdiv	s30, s30, s0
	b	.L124
	.p2align 2,,3
.L141:
	fsqrt	s0, s0
	cbz	w13, .L132
	b	.L128
.L158:
	adrp	x0, .LC22
	mov	w21, 0
	add	x0, x0, :lo12:.LC22
	bl	perror
	ldp	x23, x24, [sp, 48]
	.cfi_remember_state
	.cfi_restore 24
	.cfi_restore 23
	b	.L112
.L157:
	.cfi_restore_state
	adrp	x0, .LC21
	add	x0, x0, :lo12:.LC21
	bl	perror
	ldp	x23, x24, [sp, 48]
	.cfi_restore 24
	.cfi_restore 23
	b	.L110
	.cfi_endproc
.LFE28:
	.size	run_attention_test_for_head, .-run_attention_test_for_head
	.section	.rodata.str1.8
	.align	3
.LC26:
	.string	"tests/workload_different_sizes/real_qkv_core_test_data_layer0_32"
	.align	3
.LC27:
	.string	"Error: Number of heads must be positive.\n"
	.align	3
.LC28:
	.string	"Usage: %s [base_directory_path num_heads]\n"
	.align	3
.LC29:
	.string	"Example: %s real_qkv_core_test_data_layer0 12\n"
	.align	3
.LC30:
	.string	"Starting Attention Core Test"
	.align	3
.LC31:
	.string	"Base Directory: %s\n"
	.align	3
.LC32:
	.string	"\n--- Test Summary ---"
	.align	3
.LC33:
	.string	"------------------------"
	.align	3
.LC34:
	.string	">>> OVERALL TEST PASSED <<< :D"
	.align	3
.LC35:
	.string	"One or more head tests FAILED."
	.align	3
.LC36:
	.string	">>> OVERALL TEST FAILED <<< D:"
	.section	.text.startup,"ax",@progbits
	.align	2
	.p2align 5,,15
	.global	main
	.type	main, %function
main:
.LFB29:
	.cfi_startproc
	stp	x29, x30, [sp, -48]!
	.cfi_def_cfa_offset 48
	.cfi_offset 29, -48
	.cfi_offset 30, -40
	mov	x29, sp
	stp	x19, x20, [sp, 16]
	.


 plausibly contain errors),
            // in this case its safe to just return the raw input.
            // There are also some special cases that URI can't handle, such as "http:" by itself.
            return url
        }
    }

    @JvmStatic
    fun isPermittedResourceProtocol(scheme: String?): Boolean {
        return scheme != null && (scheme.startsWith("http") ||
                scheme.startsWith("https") ||
                scheme.startsWith("file") ||
                scheme.startsWith("data"))
    }

    @JvmStatic
    fun isSupportedProtocol(scheme: String?): Boolean {
        return scheme != null && (isPermittedResourceProtocol(scheme) || scheme.startsWith("error"))
    }

    @JvmStatic
    fun isInternalErrorURL(url: String): Boolean {
        return "data:text/html;charset=utf-8;base64," == url
    }

    @JvmStatic
    fun urlsMatchExceptForTrailingSlash(url1: String, url2: String): Boolean {
        val lengthDifference = url1.length - url2.length

        if (lengthDifference == 0) {
            // The simplest case:
            return url1.equals(url2, ignoreCase = true)
        } else if (lengthDifference == 1) {
            // url1 is longer:
            return url1[url1.length - 1] == '/' && url1.regionMatches(0, url2, 0, url2.length, ignoreCase = true)
        } else if (lengthDifference == -1) {
            return url2[url2.length - 1] == '/' && url2.regionMatches(0, url1, 0, url1.length, ignoreCase = true)
        }

        return false
    }

    @JvmStatic
    fun stripCommonSubdomains(host: String?): String? {
        if (host == null) {
            return null
        }

        // In contrast to desktop, we also strip mobile subdomains,
        // since its unlikely users are intentionally typing them
        var start = 0

        when {
            host.startsWith("www.") -> start = 4
            host.startsWith("mobile.") -> start = 7
            host.startsWith("m.") -> start = 2
        }

        return host.substring(start)
    }

    /**
     * Accepts a url in String form and returns whatever text should be displayed
     * in the url bar EditText
     */
    @JvmStatic
    fun toUrlBarDisplay(url: String): String {
        return when {
            url == URLs.APP_URL_HOME -> "" // Empty string forces the EditText to show hint text
            // GeckoView loads [data: url] when RequestInterceptor.InterceptionResponse.Content()
            // due to lack of internal page api (bug #1535131)
            url.startsWith("data:", false) -> ""
            else -> url
        }
    }
}
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.focus.helpers

object StringsHelper {
    const val FR_ENGLISH_LOCALE = "English (United States)"
    const val FR_LANGUAGE_MENU = "Langue"
    const val FR_SETTINGS = "Paramètres"
    const val FR_GENERAL_HEADING = "Général"
    const val FR_LANGUAGE_SYSTEM_DEFAULT = "Valeur par défaut du système"

    const val EN_LANGUAGE_MENU_HEADING = "Language"
    const val EN_AFRIKAANS_LOCALE = "Afrikaans"

    const val AF_LANGUAGE_MENU = "Taal"
    const val AF_SETTINGS = "Instellings"
    const val AF_HELP = "Hulp"
    const val AF_GENERAL_HEADING = "Algemeen"
    const val AF_LANGUAGE_SYSTEM_DEFAULT = "System default"

    // App package names
    const val GMAI


  {0x32F8, Unicode1_1, WidthWide, CatSo, "CIRCLED KATAKANA RU"},
	0x32F9:   {0x32F9, Unicode1_1, WidthWide, CatSo, "CIRCLED KATAKANA RE"},
	0x32FA:   {0x32FA, Unicode1_1, WidthWide, CatSo, "CIRCLED KATAKANA RO"},
	0x32FB:   {0x32FB, Unicode1_1, WidthWide, CatSo, "CIRCLED KATAKANA WA"},
	0x32FC:   {0x32FC, Unicode1_1, WidthWide, CatSo, "CIRCLED KATAKANA WI"},
	0x32FD:   {0x32FD, Unicode1_1, WidthWide, CatSo, "CIRCLED KATAKANA WE"},
	0x32FE:   {0x32FE, Unicode1_1, WidthWide, CatSo, "CIRCLED KATAKANA WO"},
	0x32FF:   {0x32FF, Unicode12_1, WidthWide, CatSo, "SQUARE ERA NAME REIWA"},
	0x3300:   {0x3300, Unicode1_1, WidthWide, CatSo, "SQUARE APAATO"},
	0x3301:   {0x3301, Unicode1_1, WidthWide, CatSo, "SQUARE ARUHUA"},
	0x3302:   {0x3302, Unicode1_1, WidthWide, CatSo, "SQUARE ANPEA"},
	0x3303:   {0x3303, Unicode1_1, WidthWide, CatSo, "SQUARE AARU"},
	0x3304:   {0x3304, Unicode1_1, WidthWide, CatSo, "SQUARE ININGU"},
	0x3305:   {0x3305, Unicode1_1, WidthWide, CatSo, "SQUARE INTI"},
	0x3306:   {0x3306, Unicode1_1, WidthWide, CatSo, "SQUARE UON"},
	0x3307:   {0x3307, Unicode1_1, WidthWide, CatSo, "SQUARE ESUKUUDO"},
	0x3308:   {0x3308, Unicode1_1, WidthWide, CatSo, "SQUARE EEKAA"},
	0x3309:   {0x3309, Unicode1_1, WidthWide, CatSo, "SQUARE ONSU"},
	0x330A:   {0x330A, Unicode1_1, WidthWide, CatSo, "SQUARE OOMU"},
	0x330B:   {0x330B, Unicode1_1, WidthWide, CatSo, "SQUARE KAIRI"},
	0x330C:   {0x330C, Unicode1_1, WidthWide, CatSo, "SQUARE KARATTO"},
	0x330D:   {0x330D, Unicode1_1, WidthWide, CatSo, "SQUARE KARORII"},
	0x330E:   {0x330E, Unicode1_1, WidthWide, CatSo, "SQUARE GARON"},
	0x330F:   {0x330F, Unicode1_1, WidthWide, CatSo, "SQUARE GANMA"},
	0x3310:   {0x3310, Unicode1_1, WidthWide, CatSo, "SQUARE GIGA"},
	0x3311:   {0x3311, Unicode1_1, WidthWide, CatSo, "SQUARE GINII"},
	0x3312:   {0x3312, Unicode1_1, WidthWide, CatSo, "SQUARE KYURII"},
	0x3313:   {0x3313, Unicode1_1, WidthWide, CatSo, "SQUARE GIRUDAA"},
	0x3314:   {


using System.Drawing;
using AAEmu.Game.Core.Managers;
using AAEmu.Game.Core.Managers.World;
using AAEmu.Game.Core.Packets.G2C;
using AAEmu.Game.GameData;
using AAEmu.Game.Models.Game;
using AAEmu.Game.Models.Game.Char;
using AAEmu.Game.Models.Tasks;
using AAEmu.Game.Utils.Scripts;

namespace AAEmu.Game.Scripts.Commands;

public class Scripts : ICommand
{
    public string[] CommandNames { get; set; } = ["scripts"];

    public void OnLoad()
    {
        CommandManager.Instance.Register(CommandNames, this);
    }

    public string GetCommandLineHelp()
    {
        return "<action>";
    }

    public string GetCommandHelpText()
    {
        return "Does script related actions. Allowed <action> are: reload, reboot, save, shutdown";
    }

    public void Execute(Character character, string[] args, IMessageOutput messageOutput)
    {
        if (args.Length == 0)
        {
            character.SendMessage("[Scripts] Using: " + CommandManager.CommandPrefix + "scripts <action>");
            //character.SendMessage("[Scripts] Action: reload");
            return;
        }

        switch (args[0])
        {
            case "reload":
            case "reboot":
                CommandManager.Instance.Clear();
                if (ScriptCompiler.Compile())
                {
                    CommandManager.SendNormalText(this, messageOutput, "[Scripts] Reload - Success");
                }
                else
                {
                    CommandManager.SendErrorText(this, messageOutput,
                        "Reload - There were errors, please check the server logs for details !");
                }

                break;
            case "save":
                if (SaveManager.Instance.DoSave())
                {
                    CommandManager.SendNormalText(this, messageOutput, "Save - Done saving user database");
                }
                else
                {
                    CommandManager.SendErrorText(this, messageOutput,
                        "Save - Failed saving user database, was possible already in the process of saving, please check server console for details.");
                }

                break;
            case "reloadslavepoints":
                SlaveGameData.Instance.LoadSlaveAttachmentPointLocations();
                CommandManager.SendNormalText(this, messageOutput,
                    "Slave Attachment Point Locations reloaded from .json file");
                break;
            case "shutdown":
                var shutdownTime = DateTime.UtcNow.AddMinutes(30);
                var doCancel = false;
                if (args.Length > 1)
                {
                    if (args[1].Equals("cancel", StringComparison.CurrentCultureIgnoreCase))
                    {
                        doCancel = true;
                    }
                    else if (args[1].Equals("now", StringComparison.CurrentCultureIgnoreCase))
                    {


st;
  }

  List<Widget> showCourseList(BuildContext context, SubjectSystemViewModel model) {
    List<Map<String, dynamic>> courses = model.courses;
    List<Widget> list = [];

    for (var i = 0; i < courses.length; i++){
      Map<String, dynamic> courseInfo = courses[i];
      String courseName = courseInfo["course_name"];
      bool isSelected = courseInfo["isSelected"];
      int courseID = courseInfo["course_id"];
      print("courseName -> $courseName");
      Container row = courseRow(Icons.menu_book, courseName,model,courseID,isSelected: isSelected);
      GestureDetector gesture = GestureDetector(
        child: row,
        onTap: () {
          print("courseName = $courseName is clicking");
          Navigator.push(context, MaterialPageRoute(
            builder: (context) => CourseDetailView(courseInfo)
          ));
        },
      );
      list.add(gesture);
      list.add(SizedBox(height: 12,));
      list.add(Divider(height: 0.0,color: Color.fromRGBO(178, 180, 182, 1)));
    }

    return list;
  }

  Container courseRow(IconData icondata,String labeltext,SubjectSystemViewModel model,
  int courseID,
  {maxLines = 1, isSelected = false}
) {
  return Container(
    height: 50.0,
    padding: const EdgeInsets.all(8.0),
    // decoration: BoxDecoration(
    //   border: Border.all(
    //     color: Colors.grey,
    //     width: 1.0,
    //   ),
    //   borderRadius: BorderRadius.circular(8.0), // Adjust the radius as needed
    // ),
    child: Row(
      children: [
        SizedBox(width: 18),
        Icon(icondata,size: 30,color: Color.fromRGBO(120, 120, 120, 1),),
        SizedBox(width: 18),
        Flexible(
          child: Container(
            alignment: Alignment.centerLeft,
            child: Text(
              labeltext,
              style: TextStyle(fontSize: 23, color: Colors.black),
            ),
          ),
        ),
        SizedBox(width: 10),
        Container(
          width: 38,
          height: 38,
          child: Material(
            color: Colors.transparent,
            child: InkWell(
              borderRadius: BorderRadius.circular(24),
              child: Center(
                child: Icon(
                  isSelected ? Icons.delete : Icons.add,
                  size: 22,
                  color: isSelected ? Colors.red : Colors.blue,
                ),
              ),
              onTap: () {
                isSelected
                    ? model.deleteStudentCourse(courseID)
                    : model.addStudentCourse(courseID);
              },
            ),
          ),
        ),
        SizedBox(width: 10),
      ],
    ),
  );
}

    Row selectedCourseRow(IconData icondata, String labeltext,{maxLines = 1}) {
    return Row(
      children: [
        SizedBox(width: 18),
        Icon(icondata,size: 22,color: Colors.grey),
        SizedBox(width: 18),
        Flexible(
          child: Container(
          alignment: Alignment.centerLeft,
          child: Text(labeltext,style: TextStyle(fontSize: 23,color: Colors.black),),
        )),
      ],
    );
  }

}

// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility in the flutter_test package. For example, you can send tap and scroll
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.

import 'package:FleXcelerate/main.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

void main()


/* This tests passing and returning of empty structures and unions.  */

#include "defines.h"
#include "args.h"

struct IntegerRegisters iregbits = { ~0, ~0, ~0, ~0, ~0, ~0 };
struct IntegerRegisters iregs;
unsigned int num_iregs;

struct empty_struct
{
};

struct empty_struct
check_struct_passing(struct empty_struct s0 ATTRIBUTE_UNUSED,
		     struct empty_struct s1 ATTRIBUTE_UNUSED,
		     int i0 ATTRIBUTE_UNUSED)
{
  struct empty_struct s;
  check_int_arguments;
  return s;
}

#define check_struct_passing WRAP_CALL(check_struct_passing)

union empty_union
{
};

union empty_union
check_union_passing(union empty_union u0 ATTRIBUTE_UNUSED,
		    union empty_union u1 ATTRIBUTE_UNUSED,
		    int i0 ATTRIBUTE_UNUSED)
{
  union empty_union u;
  check_int_arguments;
  return u;
}

#define check_union_passing WRAP_CALL(check_union_passing)

int
main (void)
{
  struct empty_struct s;
  union empty_union u;

  clear_struct_registers;
  iregs.I0 = 32;
  num_iregs = 1;
  clear_int_hardware_registers;
  check_union_passing(u,u,32);

  clear_struct_registers;
  iregs.I0 = 33;
  num_iregs = 1;
  clear_int_hardware_registers;
  check_struct_passing(s,s,33);

  return 0;
}


rif;height:42px;padding:0 20px;background: #e0e0e0;border-bottom:1px solid #ccc;-moz-border-radius-topleft: 6px;-moz-border-radius-topright: 6px;-moz-border-radius-bottomright: 0px;-moz-border-radius-bottomleft: 0px;-webkit-border-radius: 6px 6px 0px 0px;border-radius: 6px 6px 0px 0px;font-size:15px}
		.login_page .cnt_b {padding:30px 0;width:66%;margin:0 auto}
		.login_page form {margin-bottom:0}
		.login_page .btm_b {padding:12px 20px;border-top:1px solid #e7e7e7;background:#f7f7f7;-moz-border-radius-topleft: 0px;-moz-border-radius-topright: 0px;-moz-border-radius-bottomright: 6px;-moz-border-radius-bottomleft: 6px;-webkit-border-radius: 0px 0px 6px 6px;border-radius: 0px 0px 6px 6px}
		.login_page .links_b {width:100%;font-size:11px;text-align:center;position:absolute;bottom:-24px}
		.login_page .link_reg {font-size:11px;padding:5px 0 0;display:block}
		.alert-login {margin:10px 10px 0}*/

	/* error pages */
		.error_page {background:#eee}
		.error_page,.error_page body,.error_page .error_box {height:100%}
		.error_page h1 {font-family: 'Jockey One', sans-serif;font-size: 52px;line-height:1.1;text-transform: uppercase;color: #067ead;text-shadow: 2px 2px 0px rgba(255,255,255,.5), 4px 4px 0px rgba(0,0,0,.1);margin-bottom:10px;padding:40px 0 0 300px}
		.error_page p {color:inherit;font-size:16px;line-height:24px;font-weight:200;margin-left:300px}
		.error_page .back_link {margin-left:300px}
		.error_page .error_box {background: url("../images/error_big.png") no-repeat 0 0;padding:0;width:72%;margin: 0 auto}

    /* search page */
        .search_page .well {padding:10px 20px;line-height:26px}
        .search_page .well select {margin:0;width:auto}
        .search_page .search_panel {border:1px solid #e0e0e0;-webkit-border-radius: 6px;-moz-border-radius: 6px;-ms-border-radius: 6px;border-radius: 6px;margin-bottom:20px}
        .search_page .search_item {border-bottom:1px solid #e0e0e0;padding:10px 20px 10px 30px;position:relative}
        .search_page .search_item:nth-child(even) {background:#f2f8fd}
        .search_page .search_item:last-child {border:none}
        .search_page .search_content {padding-left:110px}
        .search_page .search_content h4 {font-size:14px;margin-bottom:6px}
        .search_page .search_content h4 {vertical-align:text-top}
        .search_page .search_content strong {color:#666}
        .search_page .search_content small {color:#666;font-size:11px}
        .search_page .searchNb {position:absolute;top:10px;left:10px;color:#ccc;font-size:11px}
        .search_page .result_view a {opacity:0.3}
        .search_page .result_view a.active {opacity:1}

        .search_page .box_view {border:none;margin-left:-


ce_token.span.resolved_at(Span::mixed_site())=>
						{#stmts}
					};
					quote_spanned! {punct.span()=>
						.#ident(#value)
					}
				},
			)
			.collect::<Vec<_>>();
		quote_spanned! {fallback_span=>
			#make_builder#(#parameters)*.build()
		}
	} else {
		let mut deferred_names = HashSet::new();

		let mut deferred = vec![];

		let mut output = quote_spanned! {fallback_span=>
			let builder = #make_builder;
		};

		for parameter in parameters.iter() {
			let stmts = &parameter.value.stmts;
			// Suppress unneeded-braces warning.
			let value = quote_spanned! {parameter.value.brace_token.span.resolved_at(Span::mixed_site())=> {#stmts}};
			if parameter.question.is_some() {
				deferred_names.insert(parameter.ident.to_string());
			}
			output.extend(if deferred_names.contains(&parameter.ident.to_string()) {
				let ident = Ident::new(
					&format!("deferred_parameter_{}", deferred.len()),
					parameter.ident.span().resolved_at(Span::mixed_site()),
				);
				deferred.push(Deferred {
					name: parameter.ident.clone(),
					deferred: ident.clone(),
					conditional: parameter.question.is_some(),
				});
				quote_spanned! {parameter.punct.span().resolved_at(Span::mixed_site())=>
					let #ident = #value;
				}
			} else {
				let name = &parameter.ident;
				quote_spanned! {parameter.punct.span().resolved_at(Span::mixed_site())=>
					let builder = builder.#name(#value);
				}
			})
		}

		let conditional_idents = deferred
			.iter()
			.filter(|deferred| deferred.conditional)
			.map(|deferred| &deferred.deferred)
			.collect::<Vec<_>>();

		let mut match_arms: Box<dyn '_ + CloneableIterator<'_, Item = MatchArm<'_>>> =
			Box::new(iter::once(MatchArm {
				pattern_content: Box::new(iter::empty()),
				builder_calls: Box::new(iter::empty()),
			}));

		for deferred in deferred.iter() {
			if deferred.conditional {
				match_arms = Box::new(match_arms.flat_map(move |previous| {
					iter::once(MatchArm {
						pattern_content: Box::new(
							previous.pattern_content.clone().chain(iter::once((
								Pat::Ident(PatIdent {
									attrs: vec![],
									by_ref: None,
									mutability: None,
									ident: parse2(
										quote_spanned!(deferred.name.span().resolved_at(Span::mixed_site())=> None),
									)
									.unwrap(),
									subpat: None,
								}),
								Token![,](deferred.name.span()),
							))),
						),
						builder_calls: previous.builder_calls.clone(),
					})
					.chain(iter::once(MatchArm {
						pattern_content: Box::new(
							previous.pattern_content.clone().chain(iter::once((
								Pat::TupleStruct(PatTupleStruct {
									attrs: vec![],
									path: parse2(
										quote_spanned!(deferred.name.span().resolved_at(Span::mixed_site())=> Some),
									)
									.expect("conditional parameter Some"),
									pat: PatTuple {
										attrs: vec![],
										paren_token: Paren(
											deferred.name.span().resolved_at(Span::mixed_site()),
										),
										elems: iter::once(Pat::


x, C< T > const &y, C< T > const &z, C< T > const &w)']]],
  ['min_2823',['min',['../a00803.html#ga6cf8098827054a270ee36b18e30d471d',1,'glm::min(genType x, genType y)'],['../a00803.html#gaa7d015eba1f9f48519251f4abe69b14d',1,'glm::min(vec< L, T, Q > const &x, T y)'],['../a00803.html#ga31f49ef9e7d1beb003160c5e009b0c48',1,'glm::min(vec< L, T, Q > const &x, vec< L, T, Q > const &y)'],['../a00857.html#ga420b37cbd98c395b93dab0278305cd46',1,'glm::min(T a, T b, T c)'],['../a00857.html#ga0d24a9acb8178df77e4aff90cbb2010d',1,'glm::min(T a, T b, T c, T d)'],['../a00868.html#ga3cd83d80fd4f433d8e333593ec56dddf',1,'glm::min(vec< L, T, Q > const &a, vec< L, T, Q > const &b, vec< L, T, Q > const &c)'],['../a00868.html#gab66920ed064ab518d6859c5a889c4be4',1,'glm::min(vec< L, T, Q > const &a, vec< L, T, Q > const &b, vec< L, T, Q > const &c, vec< L, T, Q > const &d)'],['../a00930.html#ga713d3f9b3e76312c0d314e0c8611a6a6',1,'glm::min(T const &x, T const &y, T const &z)'],['../a00930.html#ga74d1a96e7cdbac40f6d35142d3bcbbd4',1,'glm::min(C< T > const &x, typename C< T >::T const &y, typename C< T >::T const &z)'],['../a00930.html#ga42b5c3fc027fd3d9a50d2ccc9126d9f0',1,'glm::min(C< T > const &x, C< T > const &y, C< T > const &z)'],['../a00930.html#ga95466987024d03039607f09e69813d69',1,'glm::min(T const &x, T const &y, T const &z, T const &w)'],['../a00930.html#ga4fe35dd31dd0c45693c9b60b830b8d47',1,'glm::min(C< T > const &x, typename C< T >::T const &y, typename C< T >::T const &z, typename C< T >::T const &w)'],['../a00930.html#ga7471ea4159eed8dd9ea4ac5d46c2fead',1,'glm::min(C< T > const &x, C< T > const &y, C< T > const &z, C< T > const &w)']]],
  ['mirro


s Y is the number of vertical pixels.", MessageType.None);

		}

		public override string GenerateShaderForOutput( int outputId, ref MasterNodeDataCollector dataCollector, bool ignoreLocalvar )
		{
			string uv = m_inputPorts[ 0 ].GeneratePortInstructions( ref dataCollector );
			string PixelCount_X = m_inputPorts[ 1 ].GeneratePortInstructions( ref dataCollector );
			string PixelCount_Y = m_inputPorts[ 2 ].GeneratePortInstructions( ref dataCollector );

			string pixelWidth = "float pixelWidth" + OutputId + " =  1.0f / " + PixelCount_X + ";";
			string pixelHeight = "float pixelHeight" + OutputId + " = 1.0f / " + PixelCount_Y + ";";
			string pixelatedUV = "half2 pixelateduv" + OutputId + " = half2((int)(" + uv + ".x / pixelWidth" + OutputId + ") * pixelWidth" + OutputId + ", (int)(" + uv + ".y / pixelHeight" + OutputId + ") * pixelHeight" + OutputId + ");";
			string result = "pixelateduv" + OutputId;

			dataCollector.AddLocalVariable( UniqueId, pixelWidth );
			dataCollector.AddLocalVariable( UniqueId, pixelHeight );
			dataCollector.AddLocalVariable( UniqueId, pixelatedUV );

			return GetOutputVectorItem( 0, outputId, result);

		}
	}
}


 (db) async {
      final result = await c.values
          .map((v) => db.select((v,)).asQuery)
          .reduce((q1, q2) => q1.unionAll(q2))
          .orderBy((v) => [(v, Order.descending)])
          .fetch();

      check(result).deepEquals(c.descending);
    });
  }

  for (final c in _stringCases) {
    r.addTest('{${c.name}}.orderBy(.ascending)', (db) async {
      final result = await c.values
          .map((v) => db.select((v,)).asQuery)
          .reduce((q1, q2) => q1.unionAll(q2))
          .orderBy((v) => [(v, Order.ascending)])
          .fetch();

      check(result).deepEquals(c.ascending);
    });

    r.addTest('{${c.name}}.orderBy(.descending)', (db) async {
      final result = await c.values
          .map((v) => db.select((v,)).asQuery)
          .reduce((q1, q2) => q1.unionAll(q2))
          .orderBy((v) => [(v, Order.descending)])
          .fetch();

      check(result).deepEquals(c.descending);
    });
  }

  for (final c in _dateTimeCases) {
    r.addTest('{${c.name}}.orderBy(.ascending)', (db) async {
      final result = await c.values
          .map((v) => db.select((v,)).asQuery)
          .reduce((q1, q2) => q1.unionAll(q2))
          .orderBy((v) => [(v, Order.ascending)])
          .fetch();

      check(result).deepEquals(c.ascending);
    });

    r.addTest('{${c.name}}.orderBy(.descending)', (db) async {
      final result = await c.values
          .map((v) => db.select((v,)).asQuery)
          .reduce((q1, q2) => q1.unionAll(q2))
          .orderBy((v) => [(v, Order.descending)])
          .fetch();

      check(result).deepEquals(c.descending);
    });
  }

  r.addTest('{}.orderBy(.ascending).first (emptyset)', (db) async {
    final result = await db
        .select((toExpr(42.0),))
        .asQuery
        .where((v) => v.equalsValue(3.0))
        .orderBy((v) => [(v, Order.ascending)])
        .first
        .fetch();
    check(result).isNull();
  });

  r.addTest('{null}.orderBy(.ascending).first', (db) async {
    final result = await db
        .select(
          (toExpr(null).asDouble(),),
        )
        .asQuery
        .orderBy((v) => [(v, Order.ascending)])
        .first
        .fetch();
    check(result).isNull();
  });

  r.addTest('{}.orderBy(.descending).first (emptyset)', (db) async {
    final result = await db
        .select((toExpr(42.0),))
        .asQuery
        .where((v) => v.equalsValue(3.0))
        .orderBy((v) => [(v, Order.descending)])
        .first
        .fetch();
    check(result).isNull();
  });

  r.addTest('{null}.orderBy(.descending).first', (db) async {
    final result = await db
        .select(
          (toExpr(null).asDouble(),),
        )
        .asQuery
        .orderBy((v) => [(v, Order.descending)])
        .first
        .fetch();
    check(result).isNull();
  });

  r.run();
}
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Lice


ins/600.css';
@import '@fontsource/poppins/700.css';

/* Override Starlight default fonts with higher specificity */
:root,
:root:where(:root),
::backdrop {
  /* Main font for body text - Poppins for modern, geometric design */
  --sl-font: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
  --__sl-font: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;

  /* Monospace font for code - Monaco for classic readability */
  --sl-font-mono: 'Monaco', 'Menlo', 'Consolas', 'Courier New', monospace !important;
  --__sl-font-mono: 'Monaco', 'Menlo', 'Consolas', 'Courier New', monospace !important;

  /* Font smoothing for better rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Optimize text rendering */
  text-rendering: optimizeLegibility;
}

/* Enhanced typography for better readability */
body {
  /* Force Poppins font on body */
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;

  /* Base font size - reduced for better readability */
  font-size: 0.9375rem; /* 15px */

  /* Slightly increase line height for better reading comfort */
  line-height: 1.65;

  /* Optimize font weight for screens */
  font-weight: 400;

  /* Better letter spacing for Poppins */
  letter-spacing: -0.01em;
}

/* Headings with proper font weights */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

/* Different weights for heading hierarchy - proper cascading */
h1 {
  font-weight: 700;
}

h2 {
  font-weight: 600;
}

h3 {
  font-weight: 600;
}

h4 {
  font-weight: 500;
}

h5 {
  font-weight: 500;
}

h6 {
  font-weight: 400;
}

/* Code blocks with Monaco */
pre, code, kbd, samp {
  font-family: 'Monaco', 'Menlo', 'Consolas', 'Courier New', monospace !important;
  font-weight: 400;
}

/* Inline code styling */
:not(pre) > code {
  font-size: 0.85rem;
  font-weight: 500;
}

/* Optimize Chinese text rendering if needed */
:lang(zh-CN) {
  font-family: 'Poppins', 'PingFang SC', 'Microsoft YaHei', '微软雅黑', sans-serif;
  letter-spacing: -0.01em;
}

/* Improve sidebar font rendering */
.sidebar {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
  font-weight: 400;
}

/* Better font rendering for navigation */
nav {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystem


the following licenses at your
 * choice:
 *
 *  - GNU General Public License Version 2 or later (the "GPL")
 *    http://www.gnu.org/licenses/gpl.html
 *
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
 *    http://www.gnu.org/licenses/lgpl.html
 *
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
 *    http://www.mozilla.org/MPL/MPL-1.1.html
 *
 * == END LICENSE ==
 *
 * Sample page.
-->

	<title>FCKeditor - Sample</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="robots" content="noindex, nofollow" />
	<link href="../sample.css" rel="stylesheet" type="text/css" />

		FCKeditor - JavaScript - Sample 12

		This sample shows the different ways to configure the [Enter] key behavior on FCKeditor.

				When [Enter] is pressed:

				<select id="xEnter" onchange="ChangeMode();">
					<option value="p" selected="selected">Create new <P></option>
					<option value="div">Create new <DIV></option>
					<option value="br">Break the line with a <BR></option>
				</select>

				When [Shift] + [Enter] is pressed:

				<select id="xShiftEnter" onchange="ChangeMode();">
					<option value="p">Create new <P></option>
					<option value="div">Create new <DIV></option>
					<option value="br" selected="selected">Break the line with a <BR></option>
				</select>

	<form action="sampleposteddata.asp" method="post" target="_blank">


ALIGN_3

.L21:
	movq	A,  A1
	leaq	(A, LDA, 2), A

#ifdef HAVE_SSE3
	movddup		0 * SIZE(NEW_X, IS, SIZE), atemp1
	movddup		1 * SIZE(NEW_X, IS, SIZE), atemp2
#else
	movsd		0 * SIZE(NEW_X, IS, SIZE), atemp1
	movhpd		0 * SIZE(NEW_X, IS, SIZE), atemp1
	movsd		1 * SIZE(NEW_X, IS, SIZE), atemp2
	movhpd		1 * SIZE(NEW_X, IS, SIZE), atemp2
#endif

	pxor		xsum1, xsum1
	pxor		xsum2, xsum2

	movapd	 0 * SIZE(NEW_X), xtemp1

	movsd	 0 * SIZE(NEW_Y), yy1
	movhpd	 1 * SIZE(NEW_Y), yy1

	movsd	 0 * SIZE(A1), a1
	movhpd	 1 * SIZE(A1), a1
	movsd	 0 * SIZE(A1, LDA, 1), a2
	movhpd	 1 * SIZE(A1, LDA, 1), a2

	movq		NEW_X, XX
	movq		NEW_Y, YY

	movq	IS,  I
	sarq	$1,  I
	jle	.L28
	ALIGN_3

.L22:
	movapd	 xtemp1, xt1
	mulpd	 a1,     xt1
	mulpd	 atemp1, a1
	addpd	 xt1,    xsum1
	addpd	 a1,     yy1
	movsd	 2 * SIZE(A1), a1
	movhpd	 3 * SIZE(A1), a1

	movapd	 xtemp1, xt1
	movapd	 2 * SIZE(XX), xtemp1
	mulpd	 a2,     xt1
	mulpd	 atemp2, a2
	addpd	 xt1,    xsum2
	addpd	 a2,     yy1
	movsd	 2 * SIZE(A1, LDA, 1), a2
	movhpd	 3 * SIZE(A1, LDA, 1), a2

	movsd	 yy1, 0 * SIZE(YY)
	movhpd	 yy1, 1 * SIZE(YY)
	movsd	 2 * SIZE(YY), yy1
	movhpd	 3 * SIZE(YY), yy1

	addq	 $2 * SIZE, XX
	addq	 $2 * SIZE, YY
	addq	 $2 * SIZE, A1

	decq	 I
	jg	 .L22
	ALIGN_3

.L28:
	unpckhpd atemp2, atemp1

	movsd	 0 * SIZE(A1), a1
	movhpd	 0 * SIZE(A1, LDA, 1), a1
	mulpd	 atemp1, a1
	addpd	 a1, xsum1

	movsd	 0 * SIZE(A1, LDA, 1), a1
	movhpd	 1 * SIZE(A1, LDA, 1), a1
	mulpd	 atemp1, a1
	addpd	 a1, xsum2

#ifndef HAVE_SSE3
	movapd	xsum1, atemp1

	unpcklpd xsum2, xsum1
	unpckhpd xsum2, atemp1

	addpd	 atemp1, xsum1
#else
	haddpd	 xsum2, xsum1
#endif

	addpd	 xsum1, yy1

	movsd	 yy1, 0 * SIZE(YY)
	movhpd	 yy1, 1 * SIZE(YY)

	addq	 $2, IS
	ALI


from("yWfKKt8JCGJWZRsNGe2ZJ43pUpmxEKiqwL"), String::from("yN7E9PWBT9c5NBJnzHBU3ZfwzFpQZG9Wpe")],
        from : 0,
        to : 5,
        fromHeight : 1000,
        toHeight : 20000
    };
    let get_utxo_parameter = json!(param);
    request = client.build_request("getUTXO", get_utxo_parameter);
    match client.send_request(&request).and_then(|res| res.into_result::<GetUTXOResult>()) {
        Ok(result) => println!("{:?}", result),
        Err(e) => println!("error {}", e),
    }

}
use crate::ast::*;
use crate::filedb::*;
use crate::runtime::Opcode;
use crate::tc_ast::*;
use crate::tc_structs::*;
use crate::util::*;
use core::convert::TryInto;

#[derive(Hash, PartialEq, Eq)]
pub struct TypeDeclSpec {
    unsigned: u8,
    long: u8,
    short: u8,
    char: u8,
    int: u8,
    float: u8,
    signed: u8,
    double: u8,
    void: u8,
}

impl TypeDeclSpec {
    pub fn new() -> Self {
        TypeDeclSpec {
            unsigned: 0,
            long: 0,
            short: 0,
            char: 0,
            int: 0,
            float: 0,
            signed: 0,
            double: 0,
            void: 0,
        }
    }
}

macro_rules! gen_type_decl_spec {
    ($map:expr, $ast:ident, $( $ident:ident )* ) => {{
        let mut decl = TypeDeclSpec::new();

        $(
            gen_type_decl_spec!(@INCR_CORRECT, decl, $ident);
        )*

        $map.insert(decl, TCTypeBase::$ast);
    }};
    (@INCR_CORRECT, $decl:expr, void) => {
        $decl.void += 1;
    };
    (@INCR_CORRECT, $decl:expr, unsigned) => {
        $decl.unsigned += 1;
    };
    (@INCR_CORRECT, $decl:expr, long) => {
        $decl.long += 1;
    };
    (@INCR_CORRECT, $decl:expr, short) => {
        $decl.short += 1;
    };
    (@INCR_CORRECT, $decl:expr, char) => {
        $decl.char += 1;
    };
    (@INCR_CORRECT, $decl:expr, int) => {
        $decl.int += 1;
    };
    (@INCR_CORRECT, $decl:expr, float) => {
        $decl.float += 1;
    };
    (@INCR_CORRECT, $decl:expr, signed) => {
        $decl.signed += 1;
    };
    (@INCR_CORRECT, $decl:expr, double) => {
        $decl.double += 1;
    };
    (@INCR_CORRECT, $decl:expr, ident) => {
        $decl.ident += 1;
    };
}

type BuiltinTransform =
    for<'a, 'b, 'd> fn(&'a mut TypeEnv<'b>, CodeLoc, &'d [Expr]) -> Result<TCExpr, Error>;

lazy_static! {
    pub static ref CORRECT_TYPES: HashMap<TypeDeclSpec, TCTypeBase> = {
        let mut map: HashMap<TypeDeclSpec, TCTypeBase> = HashMap::new();

        gen_type_decl_spec!(map, I32, int);
        gen_type_decl_spec!(map, I64, long);
        gen_type_decl_spec!(map, I16, short);
        gen_type_decl_spec!(map, I8, char);
        gen_type_decl_spec!(map, Void, void);
        gen_type_decl_spec!(map, F32, float);
        gen_type_decl_spec!(map, F64, double);
        gen_type_decl_spec!(map, U32, unsigned);

        gen_type_decl_spec!(map, I8, signed char);
        gen_type_decl_spec!(map, U8, unsigned char);

        gen_type_decl_spec!(map, I16, short int);
        gen_type_decl_spec!(map, U16, unsigned short int);


  border-bottom:1px solid #f1f1f1;
}
.One_ShopCon ul li>div:first-child span:nth-child(2){
  color:gray;
  padding:0 10px;
}
.One_ShopCon ul li div:first-child img{
  padding:0 10px;
  vertical-align: middle;
}
.One_ShopCon ul li>div:nth-child(2){
  padding-top:15px;
}
.One_ShopCon ul li>div:nth-child(2) ol{
  height:90px;
}
.One_ShopCon ul li>div:nth-child(2) ol li{
  float:left;
}
.One_ShopCon ul li>div:nth-child(2) ol li>p{
  margin:0;
  padding:0;
}
.One_ShopCon ul li>div:nth-child(2) ol li:nth-child(2) dt,.One_ShopCon ul li>div:nth-child(2) ol li:nth-child(2) dd{
  float:left;
}
.One_ShopCon ul li>div:nth-child(2) ol li:nth-child(2) dd img{
  vertical-align: middle;
}
.One_ShopCon ul li>div:nth-child(2) ol li:nth-child(2) dd p{
  padding:3px 0;
}
.One_ShopCon ul li>div:nth-child(2) ol li:nth-child(2) dd p:first-child span:nth-child(3){
  color:gray;
}
.One_ShopCon ul li>div:nth-child(2) ol li:nth-child(2) dd p:last-child{
  color:#4b4646;
}
.One_ShopCon ul li>div:nth-child(2) ol li:first-child{
  padding:0 10px;
}
.One_ShopCon ul li>div:nth-child(2) ol li:nth-child(2){
  width:550px;
}
.One_ShopCon ul li>div:nth-child(2) ol li:nth-child(2) dt img{
  width:100px;
  height:80px;
  padding:0 10px;
}
.One_ShopCon ul li>div:nth-child(2) ol li:nth-child(3) p{
  width:80px;
}
.One_ShopCon ul li>div:nth-child(2) ol li:nth-child(3) p:nth-child(2){
  color:#E4393B;
  border:1px solid #f9d2d3;
  padding-left:5px;
  padding-top:3px;

}
.One_ShopCon ul li>div:nth-child(2) ol li:nth-child(3) .nmbd{
  position: absolute;
  top:40px;
  left:0;
  background: white;
  width:250px;
  text-align: left;
  border:2px solid #f9d2d3;
  z-index:3;
  display: none;
}
.One_ShopCon ul li>div:nth-child(2) ol li:nth-child(3) .nmbd dd{
  margin:10px 0;
  padding-left:10px;
}
.One_ShopCon ul li>div:nth-child(2) ol li:nth-child(3) .nmbd dd:last-child{
  text-align: center;
}
.One_ShopCon ul li>div:nth-child(2) ol li:nth-child(3) .nmbd dd:last-child button:first-child{
  border:1px solid #F5F5F5;
  outline: none;
  background: #E03538;
  color:white;
  padding:5px 8px;
  border-radius: 3px;
}
.One_


# VAX __mpn_mul_1 -- Multiply a limb vector with a limb and store
# the result in a second limb vector.

# Copyright (C) 1992, 1994 Free Software Foundation, Inc.

# This file is part of the GNU MP Library.

# The GNU MP Library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Library General Public License as published by
# the Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.

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

# You should have received a copy of the GNU Library General Public License
# along with the GNU MP Library; see the file COPYING.LIB.  If not, write to
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# MA 02111-1307, USA.

# INPUT PARAMETERS
# res_ptr	(sp + 4)
# s1_ptr	(sp + 8)
# size		(sp + 12)
# s2_limb	(sp + 16)

.text
	.align 1
.globl ___mpn_mul_1
___mpn_mul_1:
	.word	0xfc0
	movl	12(ap),r4
	movl	8(ap),r8
	movl	4(ap),r9
	movl	16(ap),r6


/* ============================================================
* Personal Information Manager plugin for QupZilla
* Copyright (C) 2012-2014  David Rosca <nowrep@gmail.com>
* Copyright (C) 2012-2014  Mladen Pejaković <pejakm@autistici.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
* ============================================================ */
#ifndef PIM_HANDLER_H
#define PIM_HANDLER_H

#include <QObject>
#include <QMessageBox>
#include <QMenu>
#include <QPointer>
#include <QHash>

class WebView;
class WebPage;
class WebHitTestResult;

class PIM_Settings;

class PIM_Handler : public QObject
{
    Q_OBJECT
public:
    explicit PIM_Handler(const QString &sPath, QObject* parent = 0);

    void populateWebViewMenu(QMenu* menu, WebView* view, const WebHitTestResult &hitTest);
    bool keyPress(WebView* view, QKeyEvent* event);

    void unloadPlugin();

signals:

public slots:
    void webPageCreated(WebPage* page);
    void showSettings(QWidget* parent = 0);

private slots:
    void loadSettings();
    void pimInsert();

    void pageLoadFinished();

private:
    enum PI_Type {
        PI_LastName = 0,
        PI_FirstName = 1,
        PI_Email = 2,
        PI_Mobile = 3,
        PI_Phone = 4,
        PI_Address = 5,
        PI_City = 6,
        PI_Zip = 7,
        PI_State = 8,
        PI_Country = 9,
        PI_HomePage = 10,
        PI_Special1 = 11,
        PI_Special2 = 12,
        PI_Special3 = 13,
        PI_Max = 14,
        PI_Invalid = 128
    };

    QString matchingJsTable() const;

    QHash<PI_Type, QString> m_allInfo;
    QHash<PI_Type, QStringList> m_infoMatches;
    QHash<PI_Type, QString> m_translations;

    QPointer<PIM_Settings> m_settings;
    QPointer<WebView> m_view;
    QPoint m_clickedPos;

    QString m_settingsFile;
    bool m_loaded;
};

#endif // PIM_HANDLER_H


FT ,
.tab_pvp .node_airtext .node_BAT {
	float: left;
}
.tab_pvp .node_airtext .node_FFT ,
.tab_pvp .node_airtext .node_FAT {

}
.tab_pvp .node_airtext .node_BFT ,
.tab_pvp .node_airtext .node_BAT {

}
.tab_pvp .node_airtext .node_loss {
	color:#faa;
}
.tab_resources {
	width:680px;
}
.tab_resources .legend_item {
	min-width:150px;
	max-width:170px;
	height:20px;
	float:left;
}
.tab_resources .legend_toggle {
	width:20px;
	height:20px;
	line-height:20px;
	float:left;
}
.tab_resources .legend_color {
	width:14px;
	height:14px;
	margin:3px 5px 0 3px;
	float:left;
}
.tab_resources .color_fuel {
	background:#AAFFAA;
}
.tab_resources .color_ammo {
	background:#999900;
}
.tab_resources .color_steel {
	background:#999999;
}
.tab_resources .color_baux {
	background:#FF9933;
}
.tab_resources .legend_icon {
	width:20px;
	height:20px;
	margin:0 5px 0 0;
	float:left;
}
.tab_resources .legend_icon img {
	width:16px;
	height:16px;
	margin:2px;
}
.tab_resources .legend_label {
	width:auto;
	float:left;
}

.tab_resources .graph_option {
	float:left;
	margin:0 5px 0 0;
	/*background:#cfc;*/
}
.tab_resources .graph_option div {
	line-height:20px;
	float:left;
}
.tab_resources .graph_option label {
	font-weight:normal;
	font-size:12px;
}
/* Start at zero */
.tab_resources .graph_check {
	margin:0 20px 0 0;
}
.tab_resources .checkbox_input {
	margin:0 3px 0 0;
}
.tab_resources .checkbox_label {

}
/* Date range */
.tab_resources .graph_date {
	width:160px;
	margin:0 15px 0 0;
}
.tab_resources .date_label {
	width:40px;
}
.tab_resources .date_input {
	width:120px;
}
.tab_resources .date_input input {
	width:120px;
	height:18px;
	margin:1px 0 0 0;
	font-size:12px;
}
/* Interval */
.tab_resources .graph_dropdown {
	width:120px;
}
.tab_resources .dropdown_label {
	width:45px;
}
.tab_resources .dropdown_input {
	width:75px;
}
.tab_resources .dropdown_input select {
	width:75px;
	height:18px;
	margin:1px 0 0 0;
	font-size:12px;
}

/* Filter presets */
.tab_resources .preset_label {
	height:22px;
	line-height:22px;
	float:left;
	font-size:12px;
	color:#aaa;
	margin:0 10px 0 0;
}
.tab_resources .option_preset {
	height:22px;
	line-height:22px;
	float:left;
	font-size:12px;
	margin:0 0 0 20px;
}

.tab_resources .main_graph {
	margin:15px 0 0 0;
}

.tab_resources .loading {
	margin:2px 3px 0 0;
	float:left;
	display:block;
}
.tab_resources .loading img


wl/pB2yS0wW4yRsEp1qBBJnrXwA/5YEBLzrBBJ0cvwSHC2cG/4TrB9bSZwSMgSUAwg4tB/ftSQTT7R8FhMpvBIknAweoTCkEh4ZTB5e9GQTxc80HlmBvBws1yQd0PFkHfsulBIEyjQRGRlsEtY6XBeP0iQad5oL81j49BjfKhQWnAHsHGqrg/gv+XQRmuT0HgjXdBE8m4QYWTbcFwrpHBW6KEP0i2SkGf2q5AJVcXwdyqV0GcRKbBcmDpQNI0g0A85ANB7DgLwQw7BsAyHZ5BQ1M2QUVCFUBE8J1BRnBeQSS5lEGidSFBUNOzwYsMf8GzaFDB23wTwDxbJ0EJ7znBZrW9wJV/QUE5PUXBWX+pwVMNoME7RAxBMbHfwe70Ur/NV7NAyoC6QaIZlMBidEpBNyWlQXJqAEJVTa/AvNSDQVWei0GA3nzBilerwRlBpkEwOp5AxD7UQI0LFMGPEKFB/WKzQP3Boz3jKgRCAEKrQOLjX0HXyijBwBCfweamqT+1+xzBmFCdQTdqiMEuB1nBNXwnwcvTxEChceVBvPTbQQQzukBygZvApycPQUYq5UBPLAtC3BbLwUJW2EBh1CJBhhoBwdl1GkGhyAFCqUYwP2rl9cFf5a5BMaSewSKwTkAn+D1BYPlBv41DQEFOWIVBbc6VQV/cHUFYh9bBs1fNQMNHu8Fh0EbBDAEYwKWI7sCbyDC/fou4wf8vdUAhGRFBWqX2wfAC0kBD5BXB0KD7vwjp3UFbVENBn4VHwZa0xUHGTG8/M7mkwagOy8ECIlBBUPDhwK+t70GPDATBIlQhwbVnCMFa3nzBQQ+wwQ==").buffer );/*
口袋书店
活动入口：京东app首页-京东图书-右侧口袋书店
已支持IOS双京东账号,Node.js支持N个京东账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
============Quantumultx===============
[task_local]
#口袋书店
1 8,12,18 * * * jd_bookshop.js, tag=口袋书店, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/jd.png, enabled=true

================Loon==============
[Script]
cron "1 8,12,18 * * *" script-path=jd_bookshop.js,tag=口袋书店

===============Surge=================
口袋书店 = type=cron,cronexp="1 8,12,18 * * *",wake-system=1,timeout=3600,script-path=jd_bookshop.js

============小火箭=========
口袋书店 = type=cron,script-path=jd_bookshop.js, cronexpr="


or(testFile);
    var collector = DriverEventCollector(driver);

    sdkRoot.getChildAssumingFile('lib/core/core.dart').delete();

    var a = newFile('$testPackageLibPath/a.dart', '');
    collector.getErrors('A1', a);

    await assertEventsText(collector, r'''
[status] working
[status] idle
[future] getErrors A1
  MissingSdkLibraryResult #0
    missingUri: dart:core
''');
  }

  test_getErrors_notAbsolutePath() async {
    var driver = driverFor(testFile);
    var result = await driver.getErrors('not_absolute.dart');
    expect(result, isA<InvalidPathResult>());
  }

  test_getFilesDefiningClassMemberName_class() async {
    var a = newFile('$testPackageLibPath/a.dart', r'''
class A {
  void m1() {}
}
''');

    var b = newFile('$testPackageLibPath/b.dart', r'''
class B {
  void m2() {}
}
''');

    var c = newFile('$testPackageLibPath/c.dart', r'''
class C {
  void m2() {}
}
''');

    var d = newFile('$testPackageLibPath/d.dart', r'''
class D {
  void m3() {}
}
''');

    var driver = driverFor(testFile);
    driver.addFile2(a);
    driver.addFile2(b);
    driver.addFile2(c);
    driver.addFile2(d);

    await driver.assertFilesDefiningClassMemberName('m1', [a]);
    await driver.assertFilesDefiningClassMemberName('m2', [b, c]);
    await driver.assertFilesDefiningClassMemberName('m3', [d]);
  }

  test_getFilesDefiningClassMemberName_mixin() async {
    var a = newFile('$testPackageLibPath/a.dart', r'''
mixin A {
  void m1() {}
}
''');

    var b = newFile('$testPackageLibPath/b.dart', r'''
mixin B {
  void m2() {}
}
''');

    var c = newFile('$testPackageLibPath/c.dart', r'''
mixin C {
  void m2() {}
}
''');

    var d = newFile('$testPackageLibPath/d.dart', r'''
mixin D {
  void m3() {}
}
''');

    var driver = driverFor(testFile);
    driver.addFile2(a);
    driver.addFile2(b);
    driver.addFile2(c);
    driver.addFile2(d);

    await driver.assertFilesDefiningClassMemberName('m1', [a]);
    await driver.assertFilesDefiningClassMemberName('m2', [b, c]);
    await driver.assertFilesDefiningClassMemberName('m3', [d]);
  }

  test_getFilesReferencingName() async {
    var a = newFile('$testPackageLibPath/a.dart', r'''
class A {}
''');

    var b = newFile('$testPackageLibPath/b.dart', r'''
import 'a.dart';
void f(A a) {}
''');

    var c = newFile('$testPackageLibPath/c.dart', r'''
import 'a.dart';
void f(A a) {}
''');

    var d = newFile('$testPackageLibPath/d.dart', r'''
class A {}
void f(A a) {}
''');

    var e = newFile('$testPackageLibPath/e.dart', r'''
import 'a.dart';
void main() {}
''');

    var driver = driverFor(testFile);
    driver.addFile2(a);
    driver.addFile2(b);
    driver.addFile2(c);
    driver.addFile2(d);
    driver.addFile2(e);

    // `b` references an external `A`.
    // `c`


ResourceConfig ::= SEQUENCE
SRSASN_CODE sched_request_res_cfg_s::pack(bit_ref& bref) const
{
  HANDLE_CODE(bref.pack(periodicity_and_offset_present, 1));
  HANDLE_CODE(bref.pack(res_present, 1));

  HANDLE_CODE(pack_integer(bref, sched_request_res_id, (uint8_t)1u, (uint8_t)8u));
  HANDLE_CODE(pack_integer(bref, sched_request_id, (uint8_t)0u, (uint8_t)7u));
  if (periodicity_and_offset_present) {
    HANDLE_CODE(periodicity_and_offset.pack(bref));
  }
  if (res_present) {
    HANDLE_CODE(pack_integer(bref, res, (uint8_t)0u, (uint8_t)127u));
  }

  return SRSASN_SUCCESS;
}
SRSASN_CODE sched_request_res_cfg_s::unpack(cbit_ref& bref)
{
  HANDLE_CODE(bref.unpack(periodicity_and_offset_present, 1));
  HANDLE_CODE(bref.unpack(res_present, 1));

  HANDLE_CODE(unpack_integer(sched_request_res_id, bref, (uint8_t)1u, (uint8_t)8u));
  HANDLE_CODE(unpack_integer(sched_request_id, bref, (uint8_t)0u, (uint8_t)7u));
  if (periodicity_and_offset_present) {
    HANDLE_CODE(periodicity_and_offset.unpack(bref));
  }
  if (res_present) {
    HANDLE_CODE(unpack_integer(res, bref, (uint8_t)0u, (uint8_t)127u));
  }

  return SRSASN_SUCCESS;
}
void sched_request_res_cfg_s::to_json(json_writer& j) const
{
  j.start_obj();
  j.write_int("schedulingRequestResourceId", sched_request_res_id);
  j.write_int("schedulingRequestID", sched_request_id);
  if (periodicity_and_offset_present) {
    j.write_fieldname("periodicityAndOffset");
    periodicity_and_offset.to_json(j);
  }
  if (res_present) {
    j.write_int("resource", res);
  }
  j.end_obj();
}

void sched_request_res_cfg_s::periodicity_and_offset_c_::destroy_() {}
void sched_request_res_cfg_s::periodicity_and_offset_c_::set(types::options e)
{
  destroy_();
  type_ = e;
}
sched_request_res_cfg_s::periodicity_and_offset_c_::periodicity_and_offset_c_(
    const sched_request_res_cfg_s::periodicity_and_offset_c_& other)
{
  type_ = other.type();
  switch (type_) {
    case types::sym2:
      break;
    case types::sym6or7:
      break;
    case types::sl1:
      break;
    case types::sl2:
      c.init(other.c.get<uint8_t>());
      break;
    case types::sl4:
      c.init(other.c.get<uint8_t>());
      break;
    case types::sl5:
      c.init(other.c.get<uint8_t>());
      break;
    case types::sl8:
      c.init(other.c.get<uint8_t>());
      break;
    case types::sl10:
      c.init(other.


init var builders: Map<String, AFileModuleFactoryBuilder>

    private fun enumJarEntries(jar: File): Sequence<JarEntry> {
        val jis = JarInputStream(jar.inputStream())
        return generateSequence { jis.nextJarEntry }
    }

    override val plugins get() = builders.keys

    override fun preload(): Boolean {
        val jar = File(path)

        if (jar.extension != settings.jarFileExt && jar.extension != settings.zipFileExt) {
            log.finest { "Can't load file ${jar.path} -> only jar and zip supported" }
            return false
        }

        DynamicClassLoader.loadIntoClasspath(jar)

        return true
    }

    override fun load(): Boolean {
        val jar = File(path)

        log.finer { "Loading $jar" }

        val exportFileUrl = jar.getInternalFileURL(settings.exportFilename)

        val dirs = try {
            val stream = exportFileUrl.openStream()
            val reader = InputStreamReader(stream)
            reader.readLines()
        } catch (error: FileNotFoundException) {
            log.warning { "Jar $jar doesn't contain export.txt file, so it can be performance disgrace!" }
            emptyList()
        }

        builders = enumJarEntries(jar)
                .filter {
                    !it.isDirectory
                            // $ in filename is bad sign (used by Kotlin in nested classes)
                            && "$" !in it.name
                            // Module not in export directory
                            && (dirs.isEmpty() || dirs.any { d -> it.name.startsWith(d) })
                }
                .mapNotNull {
                    when {
                        it.name.endsWith(settings.classFileExt) -> ClassModuleFactoryBuilder(it.name, jar)
                        it.name.endsWith(settings.jsonFileExt) -> JsonModuleFactoryBuilder(it.name, jar)
                        else -> null
                    }
                }
                .filter { it.load() }
                .associateBy { it.plugins.first() }

        return builders.isNotEmpty()
    }

    fun getClasspath(module: String): String {
        val builder = builders[module] ?: throw WrongModuleNameError(module)
        return builder.path.replace(File.separator, ".").removeSuffix(".class")
    }

    override fun factory(name: String, registry: ModuleLibraryRegistry): List<IModuleFactory> {
        val builder = builders[name] ?: throw WrongModuleNameError(name)
        return builder.factory(name, registry)
    }
}/*
 *
 * This file is part of Kopycat emulator software.
 *
 * Copyright (C) 2023 INFORION, LLC
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * Non-free licenses may also be purchased from INFORION, LLC,
 * for users who do not want their programs protected by the GPL.
 * Contact us for details kopycat@inforion.ru
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 *
 */
package ru.inforion.lab403.kopycat.library.builders.text

import ru.inforion.lab403.kopycat.cores.base.common.Module

class BusConfig(val name: String) {
    fun create(module: Module)


ਲ ਸਕਣ - ਜਿਵੇਂ ਕਿ ਸਰੋਤਾਂ ਦੀ ਪਾਬੰਦੀ ਅਤੇ ਆਫਲਾਈਨ ਓਪਰੇਸ਼ਨ ਦੀਆਂ ਲੋੜਾਂ।

ਵਿਜੁਅਲ ਸਟੂਡੀਓ ਕੋਡ ਲਈ AI ਟੂਲਕਿਟ ਇਸ ਖਾਲੀਪਨ ਨੂੰ ਪੂਰਾ ਕਰਦਾ ਹੈ, ਇੱਕ ਪੂਰਾ ਵਿਕਾਸ ਵਾਤਾਵਰਣ ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ ਜੋ ਖਾਸ ਤੌਰ 'ਤੇ ਐਜ ਡਿਵਾਈਸਾਂ 'ਤੇ ਕੁਸ਼ਲਤਾਪੂਰਵਕ ਚੱਲਣ ਵਾਲੀਆਂ AI ਐਪਲੀਕੇਸ਼ਨਾਂ ਨੂੰ ਬਣਾਉਣ, ਟੈਸਟ ਕਰਨ ਅਤੇ ਅਨੁਕੂਲਿਤ ਕਰਨ ਲਈ ਡਿਜ਼ਾਈਨ ਕੀਤਾ ਗਿਆ ਹੈ। ਚਾਹੇ ਤੁਸੀਂ IoT ਸੈਂਸਰਾਂ, ਮੋਬਾਈਲ ਡਿਵਾਈਸਾਂ, ਐਮਬੈਡਡ ਸਿਸਟਮਾਂ ਜਾਂ ਐਜ ਸਰਵਰਾਂ ਲਈ ਵਿਕਾਸ ਕਰ ਰਹੇ ਹੋਵੋ, ਇਹ ਟੂਲਕਿਟ ਤੁਹਾਡੇ ਪੂਰੇ ਵਿਕਾਸ ਵਰਕਫਲੋ ਨੂੰ ਜਾਣ-ਪਛਾਣ ਵਾਲੇ VS ਕੋਡ ਵਾਤਾਵਰਣ ਵਿੱਚ ਸਧਾਰਨ ਬਣਾਉਂਦਾ ਹੈ।

ਇਹ ਗਾਈਡ ਤੁਹਾਨੂੰ AI ਟੂਲਕਿਟ ਨੂੰ ਆਪਣੇ ਐਜ AI ਪ੍ਰੋਜੈਕਟਾਂ ਵਿੱਚ ਲਾਗੂ ਕਰਨ ਲਈ ਜ਼ਰੂਰੀ ਧਾਰਨਾਵਾਂ, ਟੂਲਾਂ ਅਤੇ ਵਧੀਆ ਅਭਿਆਸਾਂ ਦੇ ਰਾਹੀਂ ਲੈ ਜਾਵੇਗੀ, ਸ਼ੁਰੂਆਤੀ ਮਾਡਲ ਚੋਣ ਤੋਂ ਲੈ ਕੇ ਉਤਪਾਦਨ ਡਿਪਲੌ�


         // Final indicators
            mama = (alpha * pr[i]) + ((1d - alpha) * prevMama);
            fama = (0.5 * alpha * mama) + ((1d - (0.5 * alpha)) * prevFama);
        }

        MamaResult result = new(
            Timestamp: item.Timestamp,
            Mama: mama.NaN2Null(),
            Fama: fama.NaN2Null());

        return (result, i);
    }

    /// <inheritdoc/>
    protected override void RollbackState(DateTime timestamp)
    {
        int index = ProviderCache.IndexGte(timestamp);

        if (index <= 0)
        {
            pr.Clear();
            sm.Clear();
            dt.Clear();
            pd.Clear();
            q1.Clear();
            i1.Clear();
            q2.Clear();
            i2.Clear();
            re.Clear();
            im.Clear();
            ph.Clear();
            return;
        }

        if (index < pr.Count)
        {
            int removeCount = pr.Count - index;
            pr.RemoveRange(index, removeCount);
            sm.RemoveRange(index, removeCount);
            dt.RemoveRange(index, removeCount);
            pd.RemoveRange(index, removeCount);
            q1.RemoveRange(index, removeCount);
            i1.RemoveRange(index, removeCount);
            q2.RemoveRange(index, removeCount);
            i2.RemoveRange(index, removeCount);
            re.RemoveRange(index, removeCount);
            im.RemoveRange(index, removeCount);
            ph.RemoveRange(index, removeCount);
        }
    }
}


oopGroup();

        SelfSignedCertificate ssc = null;
        try {
            ssc = new SelfSignedCertificate();
            sslCtx = SslContextBuilder.forServer(ssc.certificate(), ssc.privateKey()).build();
        } catch (CertificateException e) {
            e.printStackTrace();
        } catch (SSLException e) {
            e.printStackTrace();
        }

        try{
            ServerBootstrap bootstrap = new ServerBootstrap();
            bootstrap.group(bossGroup, workGroup)
                    .channel(NioServerSocketChannel.class)
                    .childHandler(new ChannelInitializer<SocketChannel>() {
                        @Override
                        protected void initChannel(SocketChannel socketChannel) throws Exception {
                            ChannelPipeline pipeline = socketChannel.pipeline();
                            if (sslCtx != null) {
                                pipeline.addLast(sslCtx.newHandler(socketChannel.alloc()));
                            }

                            //解码器，通过Google Protocol Buffers序列化框架动态的切割接收到的ByteBuf
                            pipeline.addLast(new ProtobufVarint32FrameDecoder());
                            //服务器端接收的是客户端RequestUser对象，所以这边将接收对象进行解码生产实列
                            pipeline.addLast(new ProtobufDecoder(ManagerProtocolBuf.RegisterProtocol.getDefaultInstance()));
                            //Google Protocol Buffers编码器
                            pipeline.addLast(new ProtobufVarint32LengthFieldPrepender());
                            //Google Protocol Buffers编码器
                            pipeline.addLast(new ProtobufEncoder());

                            pipeline.addLast(new ManagerHandler(globalObject));

                        }
                    });

            ChannelFuture cf = bootstrap.bind(port).sync().addListener(new ChannelFutureListener() {
                @Override
                public void operationComplete(ChannelFuture future) throws Exception {
                    if(future.isSuccess()){
                        LOG.info("Manager Server run successfully.");
                    } else {
                        LOG.error("Manager Server run failed!");
                    }
                }
            });

            cf.channel().closeFuture().sync();
        } catch (InterruptedException e) {
            LOG.error("", e);
        } finally {
            workGroup.shutdownGracefully();
            bossGroup.shutdownGracefully();
        }

    }
}
package org.wls.tcpthrough.data;

import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.*;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.SocketChannel;
import io.netty.channel.socket.nio.NioServerSocketChannel;
import io.netty.handler.traffic.GlobalTrafficShapingHandler;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.wls.tcpthrough.manager.ManagerHandler;
import org.wls.tcpthrough.model.GlobalObject;

/**
 * Created by wls on 2019/10/15.
 */
public class DataTransferServer implements Runnable{

    //    String host;
    private static final Logger LOG = LogManager.getLogger(DataTransferServer.class);

    private Integer port;
    private GlobalObject globalObject;

    public DataTransferServer(Integer port, GlobalObject globalObject) {
        this.port = port;
        this.globalObject = globalObject;
    }

    public void run() {
        EventLoopGroup bossGroup = new NioEventLoopGroup();
        EventLoopGroup workGroup = new NioEventLoopGroup();

        try {
            ServerBootstrap bootstrap = new ServerBootstrap();

            bootstrap.group(bossGroup, workGroup)
                    .channel(NioServerSocketChannel.class)