asCli = actionProtocols.hasCLI()
        val hasApi = actionProtocols.hasAPI()

        val verbResult = validateVerb(hasApi, hasCli, actionVerb, request, req)
        val finalResult = verbResult.flatMap { validateProto(actionProtocols, request, req) }
        return finalResult.map { true }
        return Outcomes.success(true)
    }

    private fun validateVerb(hasWeb: Boolean, hasCLI: Boolean, actionVerb: Verb, req: Request, request: ApiRequest): Outcome<ApiRequest> {
        val source = request.host.settings.source
        return when {
            // Case 1: Queued request, being processed
            req.verb == Source.Queue.id -> Outcomes.success(request)

            // Case 2: Web, auto handle
            source == Source.API -> {
                when(actionVerb.isMatch(req.verb)) {
                    true -> Outcomes.success(request)
                    false -> Outcomes.denied("Incorrect verb, expected=${actionVerb.name}, actual=${req.verb}")
                }
            }

            // Case 3: CLI, doesn't matter
            source == Source.CLI -> Outcomes.success(request)

            // Case 4: ALL, doesn't matter
            source == Source.All -> Outcomes.success(request)

            // Case 5: invalid
            else -> Outcomes.errored("expected verb $actionVerb, but got ${req.verb}")
        }
    }

    private fun validateProto(actionProtocols: kiit.apis.core.Sources, req: Request, request: ApiRequest): Outcome<ApiRequest> {
        val requestProtocol = req.source
        return when {
            actionProtocols.isMatchOrAll(requestProtocol) -> Outcomes.success(request)
            else -> {
                val oneOf = actionProtocols.all.joinToString { it.id }
                Outcomes.errored("expected source $oneOf, but got ${req.source.id}")
            }
        }
    }

    fun validate(name:String, verb:String):Boolean {
        return when {
            name.startsWith("create") -> verb == Verbs.POST
            name.startsWith("insert") -> verb == Verbs.POST
            name.startsWith("update") -> verb == Verbs.PUT
            name.startsWith("modify") -> verb == Verbs.PUT
            name.startsWith("remove") -> verb == Verbs.DELETE
            name.startsWith("delete") -> verb == Verbs.DELETE
            name.startsWith("patch")  -> verb == Verbs.PATCH
            name.startsWith("get")    -> verb == Verbs.GET
            name.startsWith("fetch")  -> verb == Verbs.GET
            else -> false
        }
    }
}
package kiit.apis.support

import kiit.apis.core.Roles

interface RolesSupport {
    /**
     * Whether the role supplied is a guest role via "?"
     */
    fun isRoleGuest(role: String): Boolean = role == Roles.GUEST

    /**
     * Whether the role supplied is any role via "*"
     */
    fun isRoleAny(role: String): Boolean = role == Roles.ALL

    /**
     * Whether the role supplied is a referent to the parent role via "@parent"
     */
    fun isRoleParent(role: String): Boolean = role == Roles.PARENT

    /**
     * Whether the role supplied is an empty role indicating public access.
     */
    fun isRoleEmpty(role: String): Boolean = role == Roles.NONE

    /**
     * Whether the role is empty "" or a guest role "?"
     */
    fun isRoleEmptyOrGuest(role: String): Boolean = isRoleEmpty(role) || isRoleGuest(role)

    /**
     * gets the primary value supplied unless it references the parent value via "@parent"
     * @param primary
     * @param parent
     * @return
     */
    fun


nees
;*****************
; pour le deplacement de la souris au clavier.
 and.w #$fff8,place_x
 add.w #4,place_x
 and.w #$fff8,place_y
 add.w #4,place_y
 rts

;*************************************************************************
;************************ ACTION SUR LES ICONES **************************
;*************************************************************************
test_menu:
;*********
; donne dans d0 le numro de l'icone choisi (0 si rien)
;
 clr.l d0			;retour = 0 (icone vide) par defaut
 clr.l d2

 cmpi #231,d4
 bgt fin_tst_menu
 cmpi #209,d4
 bls fin_tst_menu
 cmpi #191,d3
 bls fin_tst_menu
 cmpi #310,d3
 bgt fin_tst_menu

						;ACTION SUR LE MENU
 cmpi #214,d3		;fin 1er bouton
 bmi traite_menu
 cmpi #223,d3		;debut 2ime bouton
 bmi fin_tst_menu
 addq.l #1,d2
 cmpi #246,d3		;fin 2ime bouton
 bmi traite_menu
 cmpi #255,d3		;debut 3ime bouton
 bmi fin_tst_menu
 addq.l #1,d2
 cmpi #278,d3		;fin 3ime bouton
 bmi traite_menu
 cmpi #288,d3
 bmi fin_tst_menu
 addq.l #1,d2

traite_menu:
 lea menu_0,a0
 add.l d2,a0
 move.b num_menu,d2
 add.l d2,d2
 add.l d2,d2
 add.l d2,a0
 move.b (a0),d0		;recupere numro icone

fin_tst_menu:
 rts

actions_jeux:
;**************
;entre: d0 (numro de l'icone)
;	1 load
;	2 save
;	7 croix rouge	(undo)

icon_1:
 cmp.b #1,d0
 bne icon_2
 jsr remet_disk
 move.b #1,d0
 bra fin_actions_jeux

icon_2:
 cmp.b #2,d0
 bne icon_7
 jsr sauve_disk
 move.b #2,d0
 bra fin_actions_jeux

icon_7:
 cmp.b #7,d0			; Undo => reaffiche grille precedente
 bne fin_actions_jeux
 hidem
 jsr remet_partie
 jsr aff_grille
 jsr aff_score
 moveq #7,d0

fin_actions_jeux:
 rts

actions_icones:
;*************
;entre: d0 (numro de l'icone)
; 	0 vide
;	3 boulier
;	4 drapeau		(sortir programme)
;	5 help
;	6 change page
;	8 "disc"
;	9 "easy"
;   10 "Cool"
;	11 "hard"

 cmp.b #0,d0			;rien => on sort
 beq fin_actions_icones
 cmp.b #3,d0			;boulier => rien
 beq fin_actions_icones
 cmp.b #8,d0			;disk => c'est pour faire beau
 beq fin_actions_icones

icon_4:
 cmp.b #4,d0			;drapeau blanc => marque fin de jeux
 bne icon_5
 move.b #$ff,on_a_touche
 bra fin_actions_icones

icon_5:					;ecran d'aide => sauve ecran + affiche 2 pi1
 cmp.b #5,d0
 bne icon_6
 jsr aff_help
 moveq #5,d0
 bra fin_actions_icones

icon_6:					;page => men


.Box.Draw(screen)
	if !res {
		return false
	}

	// Get the available size.
	x, y, width, height := t.GetInnerRect()
	t.pageSize = height

	// If the width has changed, we need to reindex.
	if width != t.lastWidth && t.wrap {
		t.index = nil
	}
	t.lastWidth = width

	// Re-index.
	t.reindexBuffer(width)

	// If we don't have an index, there's nothing to draw.
	if t.index == nil {
		return false
	}

	// Move to highlighted regions.
	if t.regions && t.scrollToHighlights && t.fromHighlight >= 0 {
		// Do we fit the entire height?
		if t.toHighlight-t.fromHighlight+1 < height {
			// Yes, let's center the highlights.
			t.lineOffset = (t.fromHighlight + t.toHighlight - height) / 2
		} else {
			// No, let's move to the start of the highlights.
			t.lineOffset = t.fromHighlight
		}

		// If the highlight is too far to the right, move it to the middle.
		if t.posHighlight-t.columnOffset > 3*width/4 {
			t.columnOffset = t.posHighlight - width/2
		}

		// If the highlight is off-screen on the left, move it on-screen.
		if t.posHighlight-t.columnOffset < 0 {
			t.columnOffset = t.posHighlight - width/4
		}
	}
	t.scrollToHighlights = false

	// Adjust line offset.
	if t.lineOffset+height >= len(t.index) {
		t.trackEnd = true
	}
	if t.trackEnd {
		t.lineOffset = len(t.index) - height
	}
	if t.lineOffset < 0 {
		t.lineOffset = 0
	}

	// Adjust column offset.
	if t.align == AlignLeft {
		if t.columnOffset+width > t.longestLine {
			t.columnOffset = t.longestLine - width
		}
		if t.columnOffset < 0 {
			t.columnOffset = 0
		}
	} else if t.align == AlignRight {
		if t.columnOffset-width < -t.longestLine {
			t.columnOffset = width - t.longestLine
		}
		if t.columnOffset > 0 {
			t.columnOffset = 0
		}
	} else { // AlignCenter.
		half := (t.longestLine - width) / 2
		if half > 0 {
			if t.columnOffset > half {
				t.columnOffset = half
			}
			if t.columnOffset < -half {
				t.columnOffset = -half
			}
		} else {
			t.columnOffset = 0
		}
	}

	// Draw the buffer.
	defaultStyle := tcell.StyleDefault.Foreground(t.textColor)
	for line := t.lineOffset; line < len(t.index); line++ {
		// Are we done?
		if line-t.lineOffset >= height {
			break
		}

		// Get the text for this line.
		index := t.index[line]
		text := t.buffer[index.Line][index.Pos:index.NextPos]
		foregroundColor := index.ForegroundColor
		backgroundColor := index.BackgroundColor
		attributes := index.Attributes
		regionID := index.Region

		// Process tags.
		colorTagIndices, colorTags, regionIndices, regions, escapeIndices, strippedText, _ := decomposeString(text, t.dynamicColors, t.regions)

		// Calculate the position of the line.
		var skip, posX int
		if t.align == AlignLeft {
			posX = -t.columnOffset
		} else if t.align == AlignRight {
			posX = width - index.Width - t.columnOffset
		} else { // AlignCenter.
			posX = (width-index.Width)/2 - t.columnOffset
		}
		if posX < 0 {
			skip = -posX
			posX = 0
		}

		// Print the line.


    *   [Angular 2 SDK](Angular-2-SDK)

{% include note.html content="
**Check out the [LoopBack Developer Forum](https://groups.google.com/forum/#!forum/loopbackjs) on Google Groups**, a place where devlopers can ask questions, discuss LoopBack, and how they are using it.
" %}
---
title: "Instalação de ferramentas de compilação"
lang: pt-br
trans_complete: false
layout: page
toc: false
keywords: LoopBack
tags: [getting_started]
sidebar: pt-br_lb2_sidebar
permalink: /doc/pt-br/lb2/Installing-compiler-tools.html
summary: Para instalar as ferramentas StrongLoop (não o API Connect), você deve ter ferramentas de compilação instaladas.
---

{% include see-also.html title="no" content="
**Porque eu preciso instalar um compilador?**

Alguns recursos devops tais como [monitoramento](https://docs.strongloop.com/display/SLC/Monitoring-app-metrics) e [memória / criação de perfil de CPU](https://docs.strongloop.com/display/SLC/Profiling) obriga código nativo (C++). StrongLoop distribui seu software com npm, mas npm compila código nativo após a instalação.  Therefore, to take advantage of these features, you must install a compiler.  If you don't want these features, you may see error messages, but you should still be able install successfully.
" %}

{% include toc.html level=1 %}

## Visão geral

Se você não tiver um compilador C++ (Visual C++ on Windows or XCode on OSX) e ferramentas de linha de comando associadas, você não será capaz de visualizar métricas úteis, e você não será capaz de realizar [criação de perfil de CPU](https://docs.strongloop.com/display/SLC/CPU-profiling) ou [take heap snapshots](https://docs.strongloop.com/display/SLC/Taking-heap-snapshots).

{% include important.html content="Se você não tiver ferramentas de compilação, quando executar sua aplicação, poderá ver mensagens de erro tais como \"**strong-agent could not load optional native add-on**\".

To eliminate the error messages and enable monitoring and tracing features, install the appropriate C++ compiler and related tools as described below.
" %}

### Configuring Python directory

Npm uses [node-gyp](https://www.npmjs.org/package/node-gyp) to compile native modules, and node-gyp requires Python.  If you installed Python in a non-standard directory, run this command to configure your setup:

`$ npm config set python /path/to/python`

where `/path/to/python` is the directory where Python is installed.

For more information, see the [node-gyp documentation](https://github.com/TooTallNate/node-gyp/blob/master/README.md#installation).

## Windows

Install the following:

*   [Python](http://www.python.org/getit/windows) ([v2.7.3](http://www.python.org/download/releases/2.7.3#download) recommended, v3.x.x is **_not_** supported).
*   [Microsoft Visual Studio](http://www.visualstudio.com/) C++ 2013 (or later) for Windows Desktop.  The [Express](http://go.microsoft.com/) version works well.

For Windows 7:

*   For 64-bit builds of Node and native modules you will also need the [Windows 7 64-bit SDK](http://www.microsoft.com/en-us/download/details.aspx).  If the install fails, try uninstalling any C++ 2010 x64&x86 Redistributable that you have installed first.
*   If you get errors that the 64-bit compilers are not installed you may also need the [compiler update for the Windows SDK 7.1](http://www.micro


 {
        hint = "";
      }
      return CustomAlertDialog(
        title: null,
        content: msgboxContent(type, title, "${translate(text)}$hint"),
        actions: [
          dialogButton('Close', onPressed: onClose, isOutline: true),
          if (type == 'relay-hint')
            dialogButton('Connect via relay',
                onPressed: () => reconnect(dialogManager, sessionId, true),
                buttonStyle: style,
                isOutline: true),
          dialogButton('Retry',
              onPressed: () => reconnect(dialogManager, sessionId, false)),
          if (type == 'relay-hint2')
            dialogButton('Connect via relay',
                onPressed: () => reconnect(dialogManager, sessionId, true),
                buttonStyle: style),
        ],
        onCancel: onClose,
      );
    });
  }

  void showConnectedWaitingForImage(OverlayDialogManager dialogManager,
      SessionID sessionId, String type, String title, String text) {
    onClose() {
      closeConnection();
    }

    if (waitForFirstImage.isFalse) return;
    dialogManager.show(
      (setState, close, context) => CustomAlertDialog(
          title: null,
          content: SelectionArea(child: msgboxContent(type, title, text)),
          actions: [
            dialogButton("Cancel", onPressed: onClose, isOutline: true)
          ],
          onCancel: onClose),
      tag: '$sessionId-waiting-for-image',
    );
    waitForImageDialogShow.value = true;
    waitForImageTimer = Timer(Duration(milliseconds: 1500), () {
      if (waitForFirstImage.isTrue && !isRefreshing) {
        bind.sessionInputOsPassword(sessionId: sessionId, value: '');
      }
    });
    bind.sessionOnWaitingForImageDialogShow(sessionId: sessionId);
  }

  void showPrivacyFailedDialog(
      SessionID sessionId,
      String type,
      String title,
      String text,
      String link,
      bool hasRetry,
      OverlayDialogManager dialogManager) {
    if (text == 'no_need_privacy_mode_no_physical_displays_tip' ||
        text == 'Enter privacy mode') {
      // There are display changes on the remote side,
      // which will cause some messages to refresh the canvas and dismiss dialogs.
      // So we add a delay here to ensure the dialog is displayed.
      Future.delayed(Duration(milliseconds: 3000), () {
        showMsgBox(sessionId, type, title, text, link, hasRetry, dialogManager);
      });
    } else {
      showMsgBox(sessionId, type, title, text, link, hasRetry, dialogManager);
    }
  }

  _updateSessionWidthHeight(SessionID sessionId) {
    if (_rect == null) return;
    if (_rect!.width <= 0 || _rect!.height <= 0) {
      debugPrintStack(
          label: 'invalid display size (${_rect!.width},${_rect!.height})');
    } else {
      final displays = _pi.getCurDisplays();
      if (displays.length == 1) {
        bind.sessionSetSize(
          sessionId: sessionId,
          display:
              pi.currentDisplay == kAllDisplayValue ? 0 : pi.currentDisplay,
          width: _rect!.width.toInt(),
          height: _rect!.height.toInt(),
        );
      } else {
        for (int i = 0; i < displays.length; ++i) {
          bind.sessionSetSize(
            sessionId: sessionId,
            display: i,
            width: displays[i].width.toInt(),
            height: displays[i].height.toInt(),
          );
        }
      }
    }
  }

  /// Handle the peer info event based on [evt].
  handlePeerInfo(Map<String, dynamic> evt, String peerId, bo


/ W64: encoding: [0x0a,0x00,0xaa,0xd4,0x80,0x04,0x02,0x00]
// W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction

v_cmp_eq_u16_e64 s[10:11], -1, v2
// W64: encoding: [0x0a,0x00,0xaa,0xd4,0xc1,0x04,0x02,0x00]
// W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction

v_cmp_eq_u16_e64 s[10:11], 0.5, v2
// W64: encoding: [0x0a,0x00,0xaa,0xd4,0xf0,0x04,0x02,0x00]
// W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction

v_cmp_eq_u16_e64 s[10:11], -4.0, v2
// W64: encoding: [0x0a,0x00,0xaa,0xd4,0xf7,0x04,0x02,0x00]
// W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction

v_cmp_eq_u16_e64 s[10:11], v1, v255
// W64: encoding: [0x0a,0x00,0xaa,0xd4,0x01,0xff,0x03,0x00]
// W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction

v_cmp_eq_u16_e64 s[10:11], v1, s2
// W64: encoding: [0x0a,0x00,0xaa,0xd4,0x01,0x05,0x00,0x00]
// W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction

v_cmp_eq_u16_e64 s[10:11], v1, s101
// W64: encoding: [0x0a,0x00,0xaa,0xd4,0x01,0xcb,0x00,0x00]
// W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction

v_cmp_eq_u16_e64 s[10:11], v1, vcc_lo
// W64: encoding: [0x0a,0x00,0xaa,0xd4,0x01,0xd5,0x00,0x00]
// W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction

v_cmp_eq_u16_e64 s[10:11], v1, vcc_hi
// W64: encoding: [0x0a,0x00,0xaa,0xd4,0x01,0xd7,0x00,0x00]
// W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction

v_cmp_eq_u16_e64 s[10:11], v1, m0
// W64: encoding: [0x0a,0x00,0xaa,0xd4,0x01,0xf9,0x00,0x00]
// W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction

v_cmp_eq_u16_e64 s[10:11], v1, exec_lo
// W64: encoding: [0x0a,0x00,0xaa,0xd4,0x01,0xfd,0x00,0x00]
// W32-ERR: :[[@LINE-


 usize,
        rand_idx: usize,
        rng: &'a mut XorShiftRng,
    },
    TwoPoint {
        start: usize,
        end: usize,
        num_genes: usize,
    },
}

impl<'a> Crossover<'a> {
    fn new(ct: CrossoverType, num_genes: usize, rng: &'a mut XorShiftRng) -> Self {
        match ct {
            CrossoverType::Uniform(cr) => {
                let index = Uniform::from(0..num_genes).sample(rng);
                Crossover::Uniform {
                    dist: Uniform::new_inclusive(0., 1.0),
                    cr: cr,
                    cur_idx: 0,
                    end_idx: num_genes,
                    rand_idx: index,
                    rng: rng,
                }
            }
            CrossoverType::TwoPoint => {
                let points = Uniform::from(0..num_genes);
                let mut start = points.sample(rng);
                let end = points.sample(rng);
                if start == end {
                    start = (start + 1) % num_genes;
                }

                Crossover::TwoPoint {
                    start: start,
                    end: end,
                    num_genes: num_genes,
                }
            }
        }
    }
}

impl<'a> Iterator for Crossover<'a> {
    type Item = usize;

    fn next(&mut self) -> Option<Self::Item> {
        match self {
            Crossover::Uniform {
                dist,
                cr,
                ref mut cur_idx,
                end_idx,
                rand_idx,
                ref mut rng,
            } => {
                if *cur_idx < *end_idx {
                    *cur_idx += 1;
                    if dist.sample(rng) < *cr || (*cur_idx - 1) == *rand_idx {
                        return Some(*cur_idx - 1);
                    }
                }
                None
            }

            Crossover::TwoPoint {
                ref mut start,
                ref end,
                ref num_genes,
            } => {
                if *start != *end {
                    let ret = Some(*start);
                    *start = (*start + 1) % num_genes;
                    ret
                } else {
                    None
                }
            }
        }
    }
}

/// Mutation types from literature
pub enum Mutation {
    /// x_r1 + F * (x_r2 - x_r3)
    Rand1,

    /// x_best + F * (x_r1 - x_r2)
    Best1,

    /// x_i + F * (x_best - x_i) + F * (x_r1 - x_r2)
    CTB1,

    /// x_best + F * (x_r1 - x_r2) + F * (x_r3 - x_r4)
    Best2,

    /// x_r1 + F(x_r2 - x_r3) + F(x_r4 - x_r5)
    Rand2,

    /// x_1 + Fr * (x_r2 - x_r3)
    Cur1,
}

pub struct DifferentialEvolution {
    /// Mutation strategy for combining different variatnts
    pub mut_type: Mutation,

    /// How we select which genes to combine
    pub crossover: CrossoverType,

    /// How to handle stochastic
    pub stoch_type: StochasticUpdate,

    /// How do we discard candidates
    pub discard_strat: DiscardStrategy,

    /// Total number of candidates to use
    pub candidates: usize,

    /// Mutation scale `F`
    pub f: f32,

    /// Number of iterations to run.
    pub iterations: usize,

    /// How often to report data
    pub report_iter: usize,

    /// Random seed for mutation
    pub seed: u64,
}

impl DifferentialEvolution {
    /// Merges three different genomes toget


)+
	or.w	d0,(a0)+
	or.w	d0,(a0)+
	or.w	d0,(a0)
	rts				* Colour 14.
	dc.l	0
	dc.w	0
col15:	or.w	d0,(a0)+
	or.w	d0,(a0)+
	or.w	d0,(a0)+
	or.w	d0,(a0)
	rts				* Colour 15.

clrrts:	rept	100
	movem.l	d0-d1,0(a0)
	endr
	rts

clrrts2:rept	100
	movem.l	d0-d1,0(a0)
	endr
	rts

pal:	dc.w	$000,$077,$027,$


            var name = txtTagName.Text.Trim();
            var val = txtTagVal.Text.Trim();
            if (string.IsNullOrEmpty(name))
            {
                MessageBox.Show("Please enter a tag name", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                return;
            }
            foreach (var lvi in lstTags.Items)
            {
                if (!(lvi is TagLVI tagLVI))
                {
                    continue;
                }
                if (tagLVI.AzTag.Name == name)
                {
                    MessageBox.Show($"Invalid tag name. The tag name '{name}' is already used. Tag names are case-insensitive.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                    return;
                }
            }

            lstTags.Items.Add(new TagLVI(new AzTag(name, val)));
            txtTagName.Text = string.Empty;
            txtTagVal.Text = string.Empty;

            UpdateDisplayControls(View.List);
        }

        private void lstTags_SelectedIndexChanged(object sender, EventArgs e)
        {
            DeleteButtonUI();
        }

        class TagLVI : ListViewItem
        {
            public TagLVI(AzTag tag)
            {
                if (string.IsNullOrEmpty(tag.Value))
                {
                    this.Text = $"{tag.Name}";
                }
                else
                {
                    this.Text = $"{tag.Name}: {tag.Value}";
                }
                this.ImageIndex = 0;
                AzTag = tag;
            }

            public AzTag AzTag { get; }
        }

        private void btnRemove_Click(object sender, EventArgs e)
        {
            foreach (var lvi in lstTags.SelectedItems)
            {
                lstTags.Items.Remove(lvi as ListViewItem);
            }
        }
    }
}


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

  /// Path to the static files matched by the URL pattern, from the
  /// application root directory. The path can refer to text matched in groupings
  /// in the URL pattern.
  @$pb.TagNumber(1)
  $core.String get path => $_getSZ(0);
  @$pb.TagNumber(1)
  set path($core.String v) {
    $_setString(0, v);
  }

  @$pb.TagNumber(1)
  $core.bool hasPath() => $_has(0);
  @$pb.TagNumber(1)
  void clearPath() => clearField(1);

  /// Regular expression that matches the file paths for all files that should be
  /// referenced by this handler.
  @$pb.TagNumber(2)
  $core.String get uploadPathRegex => $_getSZ(1);
  @$pb.TagNumber(2)
  set uploadPathRegex($core.String v) {
    $_setString(1, v);
  }

  @$pb.TagNumber(2)
  $core.bool hasUploadPathRegex() => $_has(1);
  @$pb.TagNumber(2)
  void clearUploadPathRegex() => clearField(2);

  /// HTTP headers to use for all responses from these URLs.
  @$pb.TagNumber(3)
  $core.Map<$core.String, $core.String> get httpHeaders => $_getMap(2);

  ///  MIME type used to serve all files served by this handler.
  ///
  ///  Defaults to file-specific MIME types, which are derived from each file's
  ///  filename extension.
  @$pb.TagNumber(4)
  $core.String get mimeType => $_getSZ(3);
  @$pb.TagNumber(4)
  set mimeType($core.String v) {
    $_setString(3, v);
  }

  @$pb.TagNumber(4)
  $core.bool hasMimeType() => $_has(3);
  @$pb.TagNumber(4)
  void clearMimeType() => clearField(4);

  /// Time a static file served by this handler should be cached
  /// by web proxies and browsers.
  @$pb.TagNumber(5)
  $51.Duration get expiration => $_getN(4);
  @$pb.TagNumber(5)
  set expiration($51.Duration v) {
    setField(5, v);
  }

  @$pb.TagNumber(5)
  $core.bool hasExpiration() => $_has(4);
  @$pb.TagNumber(5)
  void clearExpiration() => clearField(5);
  @$pb.TagNumber(5)
  $51.Duration ensureExpiration() => $_ensure(4);

  /// Whether this handler should match the request if the file
  /// referenced by the handler does not exist.
  @$pb.TagNumber(6)
  $core.bool get requireMatchingFile => $_getBF(5);
  @$pb.TagNumber(6)
  set requireMatchingFile($core.bool v) {
    $_setBool(5, v);
  }

  @$pb.TagNumber(6)
  $core.bool hasRequireMatchingFile() => $_has(5);
  @$pb.TagNumber(6)
  void clearRequireMatchingFile() => clearField(6);

  /// Whether files should also be uploaded as code data. By default, files
  /// declared in static file handlers are uploaded as static
  /// data and are only served to end users; they cannot be read by the
  /// application. If enabled, uploads are charged against both your code and
  /// static data storage resource quotas.
  @$pb.TagNumber(7)
  $core.bool get applicationReadable => $_getBF(6);
  @$pb.TagNumber(7)
  set applicationReadable($core.bool v) {
    $_setBool(6, v);
  }

  @$pb.TagNumber(7)
  $core.


--Static Vars
ENT.Type = "anim"
ENT.Base = "base_gmodentity"
ENT.PrintName = "Money Printer"
ENT.Author = "DarkRP Developers"
ENT.Spawnable = false
ENT.sparking = false
ENT.IsMoneyPrinter = true

function ENT:initVars()
    self.MoneyCount = GAMEMODE.Config.mprintamount
    self.OverheatChance = GAMEMODE.Config.printeroverheatchance
    self.model = "models/props_c17/consolebox01a.mdl"
    self.damage = 100
    self.DisplayName = "Money Printer"
    self.MinTimer = 100
    self.MaxTimer = 350
    self.SeizeReward = GAMEMODE.Config.printerreward
end

function ENT:SetupDataTables()
    self:NetworkVar("Int", 0, "price")
    self:NetworkVar("Entity", 0, "owning_ent")
end

DarkRP.hookStub{
    name = "moneyPrinterCatchFire",
    description = "Called when a money printer is about to catch fire.",
    parameters = {
        {
            name = "moneyprinter",
            description = "The money printer that is about to catch fire",
            type = "Entity"
        }
    },
    returns = {
        {
            name = "prevent",
            description = "Set to true to prevent the money printer from catching fire",
            type = "boolean"
        }
    },
    realm = "Server"
}

DarkRP.hookStub{
    name = "moneyPrinterPrintMoney


or Valour"] = <table 5>,
		["Medal for Gallandry"] = <table 6>,
		["Medal for Outstanding Acts"] = <table 1>,
		["Silver Medal for Valour"] = <table 4>,
		["War Cross 2nd Class"] = <table 3>,
		["War Cross 3rd Class"] = <table 2>
	},
	flag = "FUI/Common/Flags/Greece.png",
	flag_small = "MissionEditor/data/images/flags/Greece.png",
	rank_by_name = {
		Captain = <table 9>,
		Colonel = <table 12>,
		["First lieutenant"] = <table 8>,
		["Lieutenant colonel"] = <table 11>,
		Major = <table 10>,
		["Second lieutenant"] = <table 7>
	},
	troop_by_name = {
		["1ST ATTACK HELICOPTER SQN"] = <table 35>,
		["21ST ARMORED BRIGADE"] = <table 40>,
		["24TH ARMORED BRIGADE"] = <table 41>,
		["2ND ATTACK HELICOPTER SQN"] = <table 36>,
		["2ND HELICOPTER SQN"] = <table 37>,
		["330 SQN HAF"] = <table 13>,
		["331 SQN HAF"] = <table 14>,
		["332 SQN HAF"] = <table 15>,
		["335 SQN HAF"] = <table 16>,
		["336 SQN HAF"] = <table 17>,
		["337 SQN HAF"] = <table 18>,
		["338 SQN HAF"] = <table 19>,
		["339 SQN HAF"] = <table 20>,
		["340 SQN HAF"] = <table 21>,
		["341 SQN HAF"] = <table 22>,
		["343 SQN HAF"] = <table 23>,
		["343 STAR HAF"] = <table 24>,
		["347 SQN HAF"] = <table 25>,
		["348 SQN HAF"] = <table 26>,
		["356 SQN HAF"] = <table 27>,
		["358 SQN HAF"] = <table 28>,
		["361 SQN HAF"] = <table 29>,
		["362 SQN HAF"] = <table 30>,
		["363 SQN HAF"] = <table 31>,
		["364 SQN HAF"] = <table 32>,
		["380 SQN HAF"] = <table 33>,
		["384 SQN HAF"] = <table 34>,
		["4TH HELICOPTER SQN"] = <table 38>,
		["ARMOUR TRAINING CENTER"] = <table 39>
	}
}


t+credits_delay
 bne.s .continue

 lea DisplayList,a0
 lea big_buffer_start+credits_displaylist,a1
 move.w #200-1,d7
.loop
 move.l (a0)+,(a1)+
 move.l (a0)+,(a1)+
 dbra d7,.loop

 move.l #CreditsPlayAtariLogoShrink,_AdrPartCredits
 move.w #200,big_buffer_start+credits_logo_size

.continue
 rts

CreditsPlayAtariLogoShrink
 ; Black picture
 bsr DisplayListInitBlack

 ; Start of display list around the middle line
 lea DisplayList+100*8,a2
 move.w big_buffer_start+credits_logo_size,d0
 lsr.w d0
 lsl.w #3,d0
 sub.w d0,a2

 ; Zoom factor
 move.l #$00000,d0 	; Start value
 move.l #1,d1		; increment
 mulu #200,d1
 lsl.l #8,d1
 divu big_buffer_start+credits_logo_size,d1
 ext.l d1		; Flush the top word
 lsl.l #8,d1

 ; Draw from d1 to d2
 lea big_buffer_start+credits_displaylist,a0
 move.w big_buffer_start+credits_logo_size,d7
 subq #1,d7
.loop
 swap d0
 move d0,d2
 swap d0
 add.l d1,d0

 lsl #3,d2
 lea (a0,d2.w),a1
 move.l 0(a1),(a2)+
 move.l 4(a1),(a2)+
 dbra d7,.loop

 subq #4,big_buffer_start+credits_logo_size
 beq.s .done
 rts
.done
 st.b flag_end_part
 rts

CreditsPlayScroller
 bsr.s CreditsUpdate
 bsr.s CreditsSetScreen
 rts

CreditsSetScreen
 ; Update the display list to point on the correct screen adress
 move pos_scr_y,d1
 mulu #208,d1
 add.l #big_buffer_start+credits_screen,d1
 lsl.l #8,d1
 move.l d1,a0

 lea palette_vbl_fade,a1
 lea DisplayList,a2
 move.l #208*256,d0
 moveq #0,d1
 bsr DisplayListInit200
 rts

CreditsUpdate
 addq #1,pos_scr_y
 addq #1,big_buffer_start+credits_sub_ypos

 ; On first call, erase the 21 lines
 cmp #1,big_buffer_start+credits_sub_ypos
 bne .print_line

 ; Clear the 21 lines after that one...
 move.l character_buffer_base,a0
 lea (FONT_HEIGHT)*208(a0),a0
 ; 208*21=4368 bytes to erase
 movem.l black_palette,d0-d7/a2-a6		; 8+5=13*4=52 bytes with 0's inside
 REPT 4*FONT_HEIGHT
 movem.l d0-d7/a2-a6,-(a0)
 ENDR

 rts

.print_line

 moveq #MAX_CHAR_PER_FRAME,d1
.loop
 move.l big_buffer_start+credits_current_position,a0
 move.b (a0)+,d0	; Get the current character
 beq.s .done
 cmp.b #13,d0
 beq.s .new_line
 cmp.b #'_',d0
 beq.s .variable_space

 ; d0=character index
 ; a6=pointer on the font description bloc
 lea FontCredits,a6
 bsr CharacterDraw
 move.l a0,big_buffer_start+credits_current_position
 dbra d1,.loop
 rts

.done
 ; Reached the end of the scroller,
 ; start the logo
 move.l #CreditsPlayAtariLogo,_AdrPartCredits
 move.w #200,pos_scr_y
 rts

.variable_space
 moveq #0,d0
 move.


* @ferraridamiano made their first contribution in [165273](https://github.com/flutter/flutter/pull/165273)
* @KyleFin made their first contribution in [161549](https://github.com/flutter/flutter/pull/161549)
* @skimm3 made their first contribution in [159133](https://github.com/flutter/flutter/pull/159133)
* @munrocket made their first contribution in [160678](https://github.com/flutter/flutter/pull/160678)
* @fewling made their first contribution in [168005](https://github.com/flutter/flutter/pull/168005)
* @richardexfo made their first contribution in [166753](https://github.com/flutter/flutter/pull/166753)
* @Runrioter made their first contribution in [169864](https://github.com/flutter/flutter/pull/169864)
* @lhkbob made their first contribution in [170351](https://github.com/flutter/flutter/pull/170351)
* @likir09 made their first contribution in [169816](https://github.com/flutter/flutter/pull/169816)
* @fmalita made their first contribution in [170139](https://github.com/flutter/flutter/pull/170139)
* @greyovo made their first contribution in [170331](https://github.com/flutter/flutter/pull/170331)
* @thakaredipali made their first contribution in [170335](https://github.com/flutter/flutter/pull/170335)
* @gourabkumarsi made their first contribution in [170748](https://github.com/flutter/flutter/pull/170748)
* @hidea made their first contribution in [166291](https://github.com/flutter/flutter/pull/166291)
* @azatech made their first contribution in [170758](https://github.com/flutter/flutter/pull/170758)
* @salemiranloye made their first contribution in [170769](https://github.com/flutter/flutter/pull/170769)
* @StarkOne made their first contribution in [171267](https://github.com/flutter/flutter/pull/171267)
* @techouse made their first contribution in [170210](https://github.com/flutter/flutter/pull/170210)
* @pranavo72bex made their first contribution in [168441](https://github.com/flutter/flutter/pull/168441)
* @PrimaelQuemerais made their first contribution in [169067](https://github.com/flutter/flutter/pull/169067)
* @Phantom-101 made their first contribution in [171293](https://github.com/flutter/flutter/pull/171293)
* @jingshao-code made their first contribution in [170969](https://github.com/flutter/flutter/pull/170969)
---
title: Set up macOS development
description: >-
  Configure your development environment to
  run, build, and deploy Flutter apps for macOS devices.
---

Learn how to set up your development environment
to run, build, and deploy Flutter apps for the macOS desktop platform.

:::note
If you haven't set up Flutter already,
visit and follow the [Get started with Flutter][] guide first.

If you've already installed Flutter,
ensure that it's [up to date][].
:::

[Get started with Flutter]: /get-started
[up to date]: /install/upgrade

## Set up tooling {: #set-up-tooling}

With Xcode, you can run Flutter apps on macOS as well as
compile and debug native Swift and Objective-C code.

 1.
Install Xcode

    If you haven't done so already,
    [install and set up the latest version of Xcode][xcode].

    If you've already installed Xcode,
    update it to the latest version using the
    same installation method you used originally.

 1.
Set up Xcode command-line tools

    To configure the Xcode command-line tools to use
    the version of Xcode you installed,
    run the


function CountDownLatch:await()
  if self.counter == 0 then return end
  await(self.condvar)
end

function CountDownLatch:reset()
  local permit = await(self.sem:acquire()) --[[@as Permit ]]
  self.counter = self.initial_count
  permit:forget()
  self.condvar:notify_all()
end

return M


mmentOptionComment,
					Value:        "kubernetes forwarding rules",
				},
				{
					Module:       ipt.MatchModuleMark,
					ModuleOption: ipt.MatchModuleMarkOptionMark,
					Value:        masqueradeMark + "/" + masqueradeMark,
				},
			},
		},
		// The following rule ensures the traffic after the initial packet accepted
		// by the "kubernetes forwarding rules" rule above will be accepted.
		ipt.Rule{
			From:   KubeForwardChain,
			Target: ipt.TargetAccept,
			MatchOptions: []ipt.MatchOption{
				{
					Module:       ipt.MatchModuleComment,
					ModuleOption: ipt.MatchModuleCommentOptionComment,
					Value:        "kubernetes forwarding conntrack rule",
				},
				{
					Module:       ipt.MatchModuleConnTrack,
					ModuleOption: ipt.MatchModuleConnTrackOptionConnState,
					Value:        "RELATED,ESTABLISHED",
				},
			},
		},
		// Add rule to accept traffic towards health check node port.
		ipt.Rule{
			From:   KubeNodePortChain,
			Target: ipt.TargetAccept,
			MatchOptions: []ipt.MatchOption{
				{
					Module:       ipt.MatchModuleComment,
					ModuleOption: ipt.MatchModuleCommentOptionComment,
					Value:        kubeHealthCheckNodePortSetComment,
				},
				{
					Module:       ipt.MatchModuleSet,
					ModuleOption: ipt.MatchModuleSetOptionSet,
					Value:        kubeHealthCheckNodePortIPSet[ipFamily] + " dst",
				},
			},
		})
	return rules
}
/*
Copyright 2021 The Kubernetes Authors.

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 userspace

import (
	"net"
	"testing"

	"k8s.io/apimachinery/pkg/types"
	"sigs.k8s.io/kpng/api/localv1"
)

func stringsInSlice(haystack []string, needles ...string) bool {
	for _, needle := range needles {
		found := false
		for i := range haystack {
			if haystack[i] == needle {
				found = true
				break
			}
		}
		if found == false {
			return false
		}
	}
	return true
}

func expectEndpoint(t *testing.T, loadBalancer *LoadBalancerRR, service ServicePortName, expected string, netaddr net.Addr) {
	endpoint, err := loadBalancer.NextEndpoint(service, netaddr, false)
	if err != nil {
		t.Errorf("Didn't find a service for %s, expected %s, failed with: %v", service, expected, err)
	}
	if endpoint != expected {
		t.Errorf("Didn't get expected endpoint for service %s client %v, expected %s, got: %s", service, netaddr, expected, endpoint)
	}
}

func TestLoadBalanceFailsWithNoEndpoints(t *testing.T) {
	loadBalancer := NewLoadBalancerRR()
	svc := ServicePortName{
		NamespacedName: types.NamespacedName{Namespace: "testnamespace", Name: "foo"}, Port: "does-not-exist",
	}
	endpoint, err := loadBalancer.NextEndpoint(svc, nil, false)
	if err == nil {
		t.Errorf("Didn't fail with non-existent service")
	}
	if len(endpoint) != 0 {
		t.Errorf("Got an endpoint")
	}
}

func TestLoadBalanceWorksWithSingleEndpoint(t *testing.T) {
	loadBalancer := NewLoadBalancerRR()


move.w	whichsample,d0
	subq.w	#1,d0
	mulu	#$1E,d0
	add.l	#modsam,d0
	move.l	d0,a5
	lea	32*30(a5),a5
	tst.w	22(a5)
	beq.s	oppsentomsamplingiaddsamlength
	tst.w	gammallngd
	bne.s	sttintegammallngdiaddsamlength
	move.w	22(a5),gammallngd
sttintegammallngdiaddsamlength:
	btst.l	#0,d5			; Testa om jag hller nere hger musknapp
	beq.s	intehgeriaddsamlength
	add.w	#$10,22(a5)
	bra.s	hgeriaddsamlength
intehgeriaddsamlength:
	addq.w	#$1,22(a5)
hgeriaddsamlength:
	tst.w	22(a5)
	bpl.s	intemaxlngdpsamen
	move.w	#$7FFF,22(a5)
intemaxlngdpsamen:
	bsr	skrivuttillhorandeinfo
oppsentomsamplingiaddsamlength:
intendraeftersomdetr0an155:
	rts

subsamlength:				; Minska samplelngden
	tst.w	whichsample
	beq.s	intendraeftersomdetr0an255
	move.l	#sttsamlength,afterthesetting
	move.w	whichsample,d0
	subq.w	#1,d0
	mulu	#$1E,d0
	add.l	#modsam,d0
	move.l	d0,a5
	lea	32*30(a5),a5
	tst.w	22(a5)
	beq.s	oppsentomsamplingisubsamlength
	tst.w	gammallngd
	bne.s	sttintegammallngdisubsamlength
	move.w	22(a5),gammallngd
sttintegammallngdisubsamlength:
	btst.l	#0,d5			; Testa om jag hller nere hger musknapp
	beq.s	intehgerisubsamlength
	sub.w	#$10,22(a5)
	bra.s	hgerisubsamlength
intehgerisubsamlength:
	subq.w	#$1,22(a5)
hgerisubsamlength:
	moveq	#0,d2
	move.w	26(a5),d2
	add.w	28(a5),d2
	cmp.w	22(a5),d2		; Kolla s att inte loopstarten
	ble.s	intelgresubsamlength	; blir mindre n looptjossan
	move.w	d2,22(a5)
intelgresubsamlength:
	bsr	skrivuttillhorandeinfo
oppsentomsamplingisubsamlength:
intendraeftersomdetr0an255:
	rts

sttsamlength:				; Rutinen som verkligen stter
	moveq	#0,d0			; samplelngden i frhllande
	move.w	whichsample,d0		; till inmatat vrde
	subq.w	#1,d0
	mulu	#$1E,d0
	add.l	#modsam,d0
	move.l	d0,a5
	moveq	#0,d0
	move.w	whichsample,d0
	subq.w


0
/*0x1c0e*/      str r0, [r4, #0x20]
            jump_1c10:
/*0x1c10*/      mov r0, r4
/*0x1c12*/      pop.w {r4, lr}
/*0x1c16*/      b.w call_1b80
            jump_1c1a:
/*0x1c1a*/      movs r2, #0
/*0x1c1c*/      pop.w {r4, lr}
/*0x1c20*/      mov r1, r2
/*0x1c22*/      mov r0, r2
/*0x1c24*/      b.w call_1480

            data_1c28:
/*0x1c28*/  .word 0x00002298 /* possible pointer */

            jump_1c2c:
/*0x1c2c*/      push {r4, lr}
/*0x1c2e*/      mov r4, r0
/*0x1c30*/      movs r0, #0
/*0x1c32*/      strb r0, [r4, #0x19]
/*0x1c34*/      cbz r1, jump_1c4a
/*0x1c36*/      cmp r1, #1
/*0x1c38*/      beq jump_1c4e
/*0x1c3a*/      cmp r1, #2
/*0x1c3c*/      bne jump_1c60
/*0x1c3e*/      ldrb r0, [r4, #4]
/*0x1c40*/      and r0, r0, #0xf
/*0x1c44*/      bl call_1386
/*0x1c48*/      b jump_1c4e
            jump_1c4a:
/*0x1c4a*/      ldrb.w r0, [r4, #0x34]
            jump_1c4e:
/*0x1c4e*/      strb r0, [r4, #0x18]
/*0x1c50*/      add.w r0, r4, #0x18
/*0x1c54*/      str r0, [r4, #0x1c]
/*0x1c56*/      movs r0, #2
/*0x1c58*/      str r0, [r4, #0x20]
/*0x1c5a*/      movs r0, #1
/*0x1c5c*/      strb.w r0, [r4, #0x24]
            jump_1c60:
/*0x1c60*/      pop {r4, pc}

/*0x1c62*/  .byte 0x00
/*0x1c63*/  .byte 0x00

            .thumb_func
            call_1c64:
/*0x1c64*/      push {r4, r5, r6, lr}
/*0x1c66*/      mov r4, r0
/*0x1c68*/      ldrh r0, [r0]
/*0x1c6a*/      movs r5, #1
/*0x1c6c*/      cmp.w r0, #0x500
/*0x1c70*/      beq jump_1d12
/*0x1c72*/      bgt jump_1cb6
/*0x1c74*/      cmp.w r0, #0x100
/*0x1c78*/      beq jump_1d04
/*0x1c7a*/      bgt jump_1c94
/*0x1c7c*/      cmp r0, #0x80
/*0x1c7e*/      beq jump_1cfc
/*0x1c80*/      cmp r0, #0x81
/*0x1c82*/      beq jump_1d00
/*0x1c84*/      cmp r0, #0x82
/*0x1c86*/      bne jump_1d56
/*0x1c88*/      movs r1, #2
            jump_1


See Also:
Constant Field Values

CV_CAP_PROP_GIGA_FRAME_SENS_HEIGH

public static final int CV_CAP_PROP_GIGA_FRAME_SENS_HEIGH

See Also:
Constant Field Values

CV_CAP_PROP_GIGA_FRAME_SENS_WIDTH

public static final int CV_CAP_PROP_GIGA_FRAME_SENS_WIDTH

See Also:
Constant Field Values

CV_CAP_PROP_GIGA_FRAME_WIDTH_MAX

public static final int CV_CAP_PROP_GIGA_FRAME_WIDTH_MAX

See Also:
Constant Field Values

CV_CAP_PROP_GUID

public static final int CV_CAP_PROP_GUID

See Also:
Constant Field Values

CV_CAP_PROP_IOS_DEVICE_EXPOSURE

public static final int CV_CAP_PROP_IOS_DEVICE_EXPOSURE

See Also:
Constant Field Values

CV_CAP_PROP_IOS_DEVICE_FLASH

public static final int CV_CAP_PROP_IOS_DEVICE_FLASH

See Also:
Constant Field Values

<A NAME="CV_CAP_PROP_IOS_DEVICE_FOCUS


yle( this.elem, p, this.options.orig[p] );
					}
				}

				// Execute the complete function
				this.options.complete.call( this.elem );
			}

			return false;

		} else {
			var n = t - this.startTime;
			this.state = n / this.options.duration;

			// Perform the easing function, defaults to swing
			var specialEasing = this.options.specialEasing && this.options.specialEasing[this.prop];
			var defaultEasing = this.options.easing || (jQuery.easing.swing ? "swing" : "linear");
			this.pos = jQuery.easing[specialEasing || defaultEasing](this.state, n, 0, 1, this.options.duration);
			this.now = this.start + ((this.end - this.start) * this.pos);

			// Perform the next step of the animation
			this.update();
		}

		return true;
	}
};

jQuery.extend( jQuery.fx, {
	tick: function() {
		var timers = jQuery.timers;

		for ( var i = 0; i < timers.length; i++ ) {
			if ( !timers[i]() ) {
				timers.splice(i--, 1);
			}
		}

		if ( !timers.length ) {
			jQuery.fx.stop();
		}
	},

	interval: 13,

	stop: function() {
		clearInterval( timerId );
		timerId = null;
	},

	speeds: {
		slow: 600,
		fast: 200,
		// Default speed
		_default: 400
	},

	step: {
		opacity: function( fx ) {
			jQuery.style( fx.elem, "opacity", fx.now );
		},

		_default: function( fx ) {
			if ( fx.elem.style && fx.elem.style[ fx.prop ] != null ) {
				fx.elem.style[ fx.prop ] = (fx.prop === "width" || fx.prop === "height" ? Math.max(0, fx.now) : fx.now) + fx.unit;
			} else {
				fx.elem[ fx.prop ] = fx.now;
			}
		}
	}
});

if ( jQuery.expr && jQuery.expr.filters ) {
	jQuery.expr.filters.animated = function( elem ) {
		return jQuery.grep(jQuery.timers, function( fn ) {
			return elem === fn.elem;
		}).length;
	};
}

function defaultDisplay( nodeName ) {
	if ( !elemdisplay[ nodeName ] ) {
		var elem = jQuery("<" + nodeName + ">").appendTo("body"),
			display = elem.css("display");

		elem.remove();

		if ( display === "none" || display === "" ) {
			display = "block";
		}

		elemdisplay[ nodeName ] = display;
	}

	return elemdisplay[ nodeName ];
}

var rtable = /^t(?:able|d|h)$/i,
	rroot = /^(?:body|html)$/i;

if ( "getBoundingClientRect" in document.documentElement ) {
	jQuery.fn.offset = function( options ) {
		var elem = this[0], box;

		if ( options ) {
			return this.each(function( i ) {
				jQuery.offset.setOffset( this, options, i );
			});
		}

		if ( !elem || !elem.ownerDocument ) {
			return null;
		}

		if ( elem === elem.ownerDocument.body ) {
			return jQuery.offset.bodyOffset( elem );
		}

		try {
			box = elem.getBoundingClientRect();
		} catch(e) {}

		var doc = elem.ownerDocument,
			docElem = doc.documentElement;

		// Make sure we're not dealing with a disconnected DOM node
		if ( !box || !jQuery.contains( docElem, elem ) ) {
			return box ? { top: box.top, left: box.left } : { top: 0, left: 0 };
		}

		var body = doc.body,
			win = getWindow(doc),
			client


.Xb(r.c=--r.b)}}function vsn(){yr();var e,t,n,r,i,s;if(gse)return gse;for(e=new Mc(4),Ov(e,T1(tne,!0)),qN(e,T1("M",!0)),qN(e,T1("C",!0)),s=new Mc(4),r=0;r<11;r++)Sa(s,r,r);return t=new Mc(4),Ov(t,T1("M",!0)),Sa(t,4448,4607),Sa(t,65438,65439),i=new EI(2),Wm(i,e),Wm(i,VR),n=new EI(2),n.Hm(cF(s,T1("L",!0))),n.Hm(t),n=new cv(3,n),n=new xde(i,n),gse=n,gse}function Rv(e,t){var n,r,i,s,u,f,h,m;for(n=new RegExp(t,"g"),h=ke(ot,ze,2,0,6,1),r=0,m=e,s=null;;)if(f=n.exec(m),f==null||m==""){h[r]=m;break}else u=f.index,h[r]=(go(0,u,m.length),m.substr(0,u)),m=Il(m,u+f[0].length,m.length),n.lastIndex=0,s==m&&(h[r]=(go(0,1,m.length),m.substr(0,1)),m=(nn(1,m.length+1),m.substr(1))),s=m,++r;if(e.length>0){for(i=h.length;i>0&&h[i-1]=="";)--i;i<h.length&&(h.length=i)}return h}function $s(){$s=Y,kTe=new vm(20),ETe=new Vi((jn(),Td),kTe),Rie=new Vi(Vf,20),TTe=new Vi(Vxe,3),O0t=new Vi(uA,cx),PG=new Vi(Kj,Pe(1)),U0t=new Vi(Voe,(zt(),!0)),wTe=Wj,vTe=(Ii(),xd),r0=new Vi(mb,vTe),L0t=TR,M0t=Foe,D0t=bb,P0t=dy,F0t=C2,$0t=G1,j0t=T2,_Te=CR,B0t=hy,xTe=(qme(),R0t),STe=I0t,H0t=fA,q0t=oH,G0t=gy,z0t=lA,CTe=(pk(),wy),new Vi(pS,CTe),v2=A0t,Nie=x0t,ah=N0t,bTe=T0t,yTe=C0t}function ysn(e){var t,n,r,i,s,u,f,h,m,w,E,C;if(f=Kr(e),E=bit(e),t=a(Ce(e,(jn(),C_t)),15).a,f){for(w=lo,r=new ln((!f.a&&(f.a=new Ne(Rn,f,10,11)),f.a));r.e!=r.i.gc();)n=a(hn(r),19),h=bit(n),h>w&&(w=h);for(m=g.Math.pow(4,t),w>m&&(m=w),C=(g.Math.log(m)-g.Math.log(1))/t,s=g.Math.exp(C),i=s,u=0;u<t;u++){if(E<i)return g.Math.pow(2,u);


004F7CC0  3C 60 00 0D */	lis r3, 0x000D0003@ha
/* 804FC784 004F7CC4  3C 80 80 5F */	lis r4, lbl_805F1748@ha
/* 804FC788 004F7CC8  88 BE 00 00 */	lbz r5, 0(r30)
/* 804FC78C 004F7CCC  38 63 00 03 */	addi r3, r3, 0x000D0003@l
/* 804FC790 004F7CD0  88 DE 00 01 */	lbz r6, 1(r30)
/* 804FC794 004F7CD4  38 84 17 48 */	addi r4, r4, lbl_805F1748@l
/* 804FC798 004F7CD8  88 FE 00 02 */	lbz r7, 2(r30)
/* 804FC79C 004F7CDC  89 1E 00 03 */	lbz r8, 3(r30)
/* 804FC7A0 004F7CE0  89 3E 00 04 */	lbz r9, 4(r30)
/* 804FC7A4 004F7CE4  89 5E 00 05 */	lbz r10, 5(r30)
/* 804FC7A8 004F7CE8  4B FF 02 29 */	bl func_804EC9D0
lbl_804FC7AC:
/* 804FC7AC 004F7CEC  2C 1F 00 00 */	cmpwi r31, 0
/* 804FC7B0 004F7CF0  41 82 00 20 */	beq lbl_804FC7D0
/* 804FC7B4 004F7CF4  88 1F 00 76 */	lbz r0, 0x76(r31)
/* 804FC7B8 004F7CF8  54 00 06 F7 */	rlwinm. r0, r0, 0, 0x1b, 0x1b
/* 804FC7BC 004F7CFC  41 82 00 14 */	beq lbl_804FC7D0
/* 804FC7C0 004F7D00  7F C3 F3 78 */	mr r3, r30
/* 804FC7C4 004F7D04  38 9F 00 25 */	addi r4, r31, 0x25
/* 804FC7C8 004F7D08  48 00 34 C9 */	bl func_804FFC90
/* 804FC7CC 004F7D0C  48 00 00 98 */	b lbl_804FC864
lbl_804FC7D0:
/* 804FC7D0 004F7D10  2C 1F 00 00 */	cmpwi r31, 0
/* 804FC7D4 004F7D14  40 82 00 10 */	bne lbl_804FC7E4
/* 804FC7D8 004F7D18  7F C3 F3 78 */	mr r3, r30
/* 804FC7DC 004F7D1C  4B FF 86 99 */	bl func_804F4E74
/* 804FC7E0 004F7D20  7C 7F 1B 78 */	mr r31, r3
lbl_804FC7E4:
/* 804FC7E4 004F7D24  88 1F 00 81 */	lbz r0, 0x81(r31)
/* 804FC7E8 004F7D28  54 00 06 73 */	rlwinm. r0, r0, 0, 0x19, 0x19
/* 804FC7EC 004F7D2C  40 82 00 70 */	bne lbl_804FC85C
/* 804FC7F0 004F7D30  3C 60 80 69 */	lis r3, lbl_80692178@ha
/* 804FC7F4 004F7D34  38 63 21 78 */	addi r3, r3, lbl_80692178@l
/* 804FC7F8 004F7D38  81 83 19 18 */	lwz r12, 0x1918(r3)


Open.gif" onclick="OnIncreaseToc()" alt="Click or drag to resize" title="Click or drag to resize" />

IEvaluatorDebugBuild Property

            Gets or sets a value indicating whether to compile script with debug symbols.

Note, setting DebugBuild will only affect the current instance of Evaluator.
            If you want to emit debug symbols for all instances of Evaluator then use
            EvaluatorConfig.DebugBuild.

    Namespace:
   CSScriptLib

    Assembly:
   CSScriptLib (in CSScriptLib.dll) Version: 1.3.2.0
Syntax

C#

Copy

Nullable<bool> DebugBuild { get; set; }

Property Value
Type: NullableBoolean
true if 'debug build'; otherwise, false.
<div class="colla


box-shadow: 0 0 0 1px #df5645, 0 0 0.7rem 0.25rem rgba(223, 86, 69, 0.4) !important;
}

.btn-light {
  box-shadow: 0 0 0 #e1e7f0, 0 0 0 rgba(55, 60, 67, 0.25);
}

.btn-light:hover {
  box-shadow: 0 0.1rem 0.5rem rgba(225, 231, 240, 0.5), 0 0.25rem 1rem rgba(55, 60, 67, 0.2);
}

.btn-light:active {
  box-shadow: 0 0 0.5rem #e1e7f0, 0 0 0.75rem rgba(55, 60, 67, 0.2) !important;
}

.btn-light:focus, .btn-light:active:focus {
  box-shadow: 0 0 0 1px #e1e7f0, 0 0 0.7rem 0.25rem rgba(225, 231, 240, 0.4) !important;
}

.btn-dark {
  box-shadow: 0 0 0 #373c43, 0 0 0 rgba(55, 60, 67, 0.25);
}

.btn-dark:hover {
  box-shadow: 0 0.1rem 0.5rem rgba(55, 60, 67, 0.5), 0 0.25rem 1rem rgba(55, 60, 67, 0.2);
}

.btn-dark:active {
  box-shadow: 0 0 0.5rem #373c43, 0 0 0.75rem rgba(55, 60, 67, 0.2) !important;
}

.btn-dark:focus, .btn-dark:active:focus {
  box-shadow: 0 0 0 1px #373c43, 0 0 0.7rem 0.25rem rgba(55, 60, 67, 0.4) !important;
}

.btn-xs {
  padding: 0.15rem 0.35rem;
  font-size: 0.65625rem;
  border-radius: 0.3125rem;
}

.btn i, .btn .icon {
  user-select: none;
  pointer-events: none;
}

.btn[aria-pressed="true"] .icon-active {
  display: unset;
}

.btn[aria-pressed="true"] .icon-inactive {
  display: none;
}

.btn[aria-pressed="false"] .icon-active {
  display: none;
}

.btn[aria-pressed="false"] .icon-inactive {
  display: unset;
}

.btn-outline-light, .btn-outline-light:disabled, .btn-outline-light.disabled {
  color: #7a878e;
}

.btn-icon {
  align-items: center;
  box-sizing: content-box;
  display: inline-flex;
  height: calc( 1.1rem + 1.5em);
  justify-content: center;
  padding: 0;
  width: calc( 1.1rem + 1.5em);
}

.btn-icon.btn-lg, .btn-group-lg > .btn-icon.btn {
  width: calc( 1rem + 1.5em);
  height: calc( 1rem + 1.5em);
}

.btn-icon.btn-sm, .btn-group-sm > .btn-icon.btn {
  width: calc( 0.9rem + 1.5em);
  height: calc( 0.9rem + 1.5em);
}

.btn-icon.btn-xs {
  width: calc( 0.9rem + .75em);
  height: calc( 0.9rem + .75em);
}

.btn-link {
  transition-duration: 0s;
}

.btn.bg-transparent:not(.shadow-none):hover {
  box-shadow: none;
}

.btn.bg-transparent:not(.shadow-none):active {
  box-shadow: 0 0 0.75rem rgba(55, 60, 67, 0.2) !important;
}

.btn.bg-transparent:not(.shadow-none):focus {
  box-shadow: 0 0 0.7rem rgba(55, 60, 67, 0.2) !important;
}

.btn-link {
  transition-property: c


Clusters = selectedClusters
	resp.TotalElements = utils.ToInt32Clamped(totalNumClusters)
	utils.LogActivity(ctx, "get", "Clusters for A Deployment", "deployment name "+name, "deploy id "+UID)
	return resp, nil
}
// SPDX-FileCopyrightText: (C) 2025 Intel Corporation
// SPDX-License-Identifier: Apache-2.0

package v1alpha1

import (
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"
)

const (
	ClusterFinalizer = "intelcluster.infrastructure.cluster.x-k8s.io"
)

// IntelClusterSpec defines the desired state of IntelCluster
type IntelClusterSpec struct {
	// controlPlaneEndpoint represents the endpoint used to communicate with the control plane
	// +optional
	ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"`
	// providerId represents the id the inventory manager assigns to the cluster at creation time
	// +optional
	ProviderId string `json:"providerId"`
}

// IntelClusterV1Beta2Status groups all the fields that will be added or modified in IntelCluster with the V1Beta2 version.
// See https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more context.
type IntelClusterV1Beta2Status struct {
	// conditions represents the observations of an IntelCluster's current state.
	// Known condition types are Ready, Provisioned, BootstrapExecSucceeded, Deleting, Paused.
	// +optional
	// +listType=map
	// +listMapKey=type
	// +kubebuilder:validation:MaxItems=32
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

// IntelClusterStatus defines the observed state of IntelCluster
type IntelClusterStatus struct {
	// ready denotes that the Intel cluster infrastructure is fully provisioned
	// NOTE: this field is part of the Cluster API contract and it is used to orchestrate provisioning.
	// The value of this field is never updated after provisioning is completed. Please use conditions
	// to check the operational state of the infa cluster.
	// +optional
	Ready      bool                 `json:"ready"`
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
	// v1beta2 groups all the fields that will be added or modified in IntelCluster's status with the V1Beta2 version.
	// +optional
	V1Beta2 *IntelClusterV1Beta2Status `json:"v1beta2,omitempty"`
}

// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:resource:path=intelclusters,scope=Namespaced,categories=cluster-api
// +kubebuilder:printcolumn:name="Cluster",type="string",JSONPath=".metadata.labels['cluster\\.x-k8s\\.io/cluster-name']",description="Cluster"
// +kubebuilder:printcolumn:name="ProviderId",type="string",JSONPath=".spec.providerId",description="ProviderId associated with the cluster"
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.ready",description="IntelCluster is ready for IntelMachine"
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Time duration since creation of IntelCluster"
// +kubebuilder:metadata:labels="cluster.x-k8s.io/v1beta1=v1alpha1"

// IntelCluster is the


,2
    xxpermdi    vs7,   vs6,   vs6,2

    xvmaddasp      vs32,   vs24,   vs0
    xvmaddasp      vs33,   vs24,   vs1
    xvmaddasp      vs34,   vs24,   vs2
    xvmaddasp      vs35,   vs24,   vs3

.if \Complete==0

    lxv vs0,    DISP16(\Index, 48+\OffsetA)(\AREG)
    lxv vs24,   DISP16(\Index, 48+\OffsetB)(\BREG)

    xxperm      vs2,   vs0,       permute_mask
    xxpermdi    vs1,   vs0,   vs0,2
    xxpermdi    vs3,   vs2,   vs2,2
.endif
    xvmaddasp      vs32,   vs26,   vs4
    xvmaddasp      vs33,   vs26,   vs5
    xvmaddasp      vs34,   vs26,   vs6
    xvmaddasp      vs35,   vs26,   vs7

.if \IsLast==1
.if \Complete==1
    addi        \AREG, \AREG, DISP16(\Index,16*3+\OffsetA)
    addi        \BREG, \BREG,  DISP16(\Index,16*3+\OffsetB)

.else
    addi        \AREG, \AREG, DISP16(\Index,64)
    addi        \BREG, \BREG,  DISP16(\Index,64)

.endif
.endif

.endm

.macro KERNEL4x4 First
    LOAD4x4 0
    END4x4 \First, AO, BO, 16,16
.endm

.macro KERNEL4x4_L1_L2_I  AREG,BREG,First,OffsetA,OffsetB, Index,IsLast ,Complete

    lxv vs4,    DISP8(\Index, 0+\OffsetA)(\AREG)
    lxv vs26,   DISP8(\Index, 0+\OffsetB)(\BREG)

    xxperm      vs6,   vs4,       permute_mask
    xxpermdi    vs5,   vs4,   vs4,2
    xxpermdi    vs7,   vs6,   vs6,2
.if \First==1
    xvmulsp      vs32,   vs24,   vs0
    xvmulsp      vs33,   vs24,   vs1
    xvmulsp      vs34,   vs24,   vs2
    xvmulsp      vs35,   vs24,   vs3

.else
    xvmaddasp      vs32,   vs24,   vs0
    xvmaddasp      vs33,   vs24,   vs1
    xvmaddasp      vs34,   vs24,   vs2
    xvmaddasp      vs35,   vs24,   vs3

.endif

.if \Complete==0

    lxv vs0,    DISP8(\Index, 16+\OffsetA)(\AREG)
    lxv vs24,   DISP8(\Index, 16+\OffsetB)(\BREG)

    xxperm      vs2,   vs0,       permute_mask
    xxpermdi    vs1,   vs0,   vs0,2
    xxpermdi    vs3,   vs2,   vs2,2
.endif

.if \First==1
    xvmulsp      vs32,   vs26,   vs4
    xvmulsp      vs33,   vs26,   vs5
    xvmulsp      vs34,   vs26,   vs6
    xvmulsp      vs35,   vs26,   vs7

.else
    xvmaddasp      vs32,   vs26,   vs4
    xvmaddasp      vs33,   vs26,   vs5
    xvmaddasp      vs34,   vs26,   vs6
    xvmaddasp      vs35,   vs26,   vs7

.endif

.if \IsLas


且没有无限等级的情况下不显示红点
            --任务判定
            local has1=MissionMgr:HasExplorationGet(eTaskType.DayExplore);
            local has2=MissionMgr:HasExplorationGet(eTaskType.WeekExplore);
            local has3=MissionMgr:HasExplorationGet(eTaskType.Explore);
            if has1 or has2 or has3 then
                info=info or {};
                info.taskTypes={};
                table.insert(info.taskTypes,has1 or false);
                table.insert(info.taskTypes,has2 or false);
                table.insert(info.taskTypes,has3 or false);
            end
        end
    end
    return


GL30#GL_DEPTH_STENCIL DEPTH_STENCIL}	{@link GL11#GL_LUMINANCE LUMINANCE}	{@link GL11#GL_LUMINANCE_ALPHA LUMINANCE_ALPHA}

//     * @param type    the pixel type. One of:

{@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE}	{@link GL11#GL_BYTE BYTE}	{@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT}	{@link GL11#GL_SHORT SHORT}

{@link GL11#GL_UNSIGNED_INT UNSIGNED_INT}	{@link GL11#GL_INT INT}	{@link GL30#GL_HALF_FLOAT HALF_FLOAT}	{@link GL11#GL_FLOAT FLOAT}

{@link GL12#GL_UNSIGNED_BYTE_3_3_2 UNSIGNED_BYTE_3_3_2}	{@link GL12#GL_UNSIGNED_BYTE_2_3_3_REV UNSIGNED_BYTE_2_3_3_REV}	{@link GL12#GL_UNSIGNED_SHORT_5_6_5 UNSIGNED_SHORT_5_6_5}	{@link GL12#GL_UNSIGNED_SHORT_5_6_5_REV UNSIGNED_SHORT_5_6_5_REV}

{@link GL12#GL_UNSIGNED_SHORT_4_4_4_4 UNSIGNED_SHORT_4_4_4_4}	{@link GL12#GL_UNSIGNED_SHORT_4_4_4_4_REV UNSIGNED_SHORT_4_4_4_4_REV}	{@link GL12#GL_UNSIGNED_SHORT_5_5_5_1 UNSIGNED_SHORT_5_5_5_1}	{@link GL12#GL_UNSIGNED_SHORT_1_5_5_5_REV UNSIGNED_SHORT_1_5_5_5_REV}

{@link GL12#GL_UNSIGNED_INT_8_8_8_8 UNSIGNED_INT_8_8_8_8}	{@link GL12#GL_UNSIGNED_INT_8_8_8_8_REV UNSIGNED_INT_8_8_8_8_REV}	{@link GL12#GL_UNSIGNED_INT_10_10_10_2 UNSIGNED_INT_10_10_10_2}	{@link GL12#GL_UNSIGNED_INT_2_10_10_10_REV UNSIGNED_INT_2_10_10_10_REV}

{@link GL30#GL_UNSIGNED_INT_24_8 UNSIGNED_INT_24_8}	{@link GL30#GL_UNSIGNED_INT_10F_11F_11F_REV UNSIGNED_INT_10F_11F_11F_REV}	{@link GL30#GL_UNSIGNED_INT_5_9_9_9_REV UNSIGNED_INT_5_9_9_9_REV}	{@link GL30#GL_FLOAT_32_UNSIGNED_INT_24_8_REV FLOAT_32_UNSIGNED_INT_24_8_REV}

{@link GL11#GL_BITMAP BITMAP}

//     * @param pixels  the buffer in which to place the returned data
//     *
//     * @see Reference Page
//     */
//    public static void glGetTextureSubImage(@NativeType("GLuint") int texture, @NativeType("GLint") int level, @NativeType("GLint") int xoffset, @NativeType("GLint") int yoffset, @NativeType("GLint") int zoffset, @NativeType("GLsizei") int width, @NativeType("GLsizei") int height, @NativeType("GLsizei") int depth, @NativeType("GLenum") int format, @NativeType("GLenum") int type, @NativeType("void *


/********************************************************************
created:    2018-04-10
author:     lixianmin

Copyright (C) - All Rights Reserved
*********************************************************************/

using System;
using System.Collections;
using Unique;
using UnityEngine;

namespace Client
{
    internal class BattleEntity : Entity
    {

    }

    internal class MovePart : Part, ITickable
    {
        void ITickable.Tick()
        {
            var transformPart = GetEntity().GetPart(typeof(TransformPart)) as TransformPart;
            if (null != transformPart)
            {
                var oldPosition = transformPart.GetPosition();
                var newPosition = oldPosition + direction * speed * Time.deltaTime;
                transformPart.SetPosition(newPosition);
            }
        }

        public Vector3 direction = Vector3.right;
        public float speed = 1.0f;
    }

    internal class TransformPart : Part
    {
        protected override void _DoInitPart()
        {
            var go = GameObject.CreatePrimitive(PrimitiveType.Cube);
            _transform = go.transform;
        }

        protected override void _DoDispose()
        {
            GameObj


glabel func_80A34D68
/* 00748 80A34D68 27BDFFE0 */  addiu   $sp, $sp, 0xFFE0           ## $sp = FFFFFFE0
/* 0074C 80A34D6C AFBF001C */  sw      $ra, 0x001C($sp)
/* 00750 80A34D70 AFB10018 */  sw      $s1, 0x0018($sp)
/* 00754 80A34D74 AFB00014 */  sw      $s0, 0x0014($sp)
/* 00758 80A34D78 00808025 */  or      $s0, $a0, $zero            ## $s0 = 00000000
/* 0075C 80A34D7C 0C28D310 */  jal     func_80A34C40
/* 00760 80A34D80 00A08825 */  or      $s1, $a1, $zero            ## $s1 = 00000000
/* 00764 80A34D84 8E190310 */  lw      $t9, 0x0310($s0)           ## 00000310
/* 00768 80A34D88 02002025 */  or      $a0, $s0, $zero            ## $a0 = 00000000
/* 0076C 80A34D8C 02202825 */  or      $a1, $s1, $zero            ## $a1 = 00000000
/* 00770 80A34D90 0320F809 */  jalr    $ra, $t9
/* 00774 80A34D94 00000000 */  nop
/* 00778 80A34D98 02002025 */  or      $a0, $s0, $zero            ## $a0 = 00000000
/* 0077C 80A34D9C 0C00BC65 */  jal     func_8002F194
/* 00780 80A34DA0 02202825 */  or      $a1, $s1, $zero            ## $a1 = 00000000
/* 00784 80A34DA4 10400008 */  beq     $v0, $zero, .L80A34DC8
/* 00788 80A34DA8 3C0142C8 */  lui     $at, 0x42C8                ## $at = 42C80000
/* 0078C 80A34DAC 3C0E80A3 */  lui     $t6, %hi(func_80A34A20)    ## $t6 = 80A30000
/* 00790 80A34DB0 3C0F80A3 */  lui     $t7, %hi(EnGe3_Update)    ## $t7 = 80A30000
/* 00794 80A34DB4 25CE4A20 */  addiu   $t6, $t6, %lo(func_80A34A20) ## $t6 = 80A34A20
/* 00798 80A34DB8 25EF4E14 */  addiu   $t7, $t7, %lo(EnGe3_Update) ## $t7 = 80A34E14
/* 0079C 80A34DBC AE0E0310 */  sw


age_Head_Autor_Content_Img_Slider {
		height: 100%;
		width: 90%;
		display: flex;

		grid-template-areas:
			"autorPage_Head_Autor_Content_Img_Left"
			"autorPage_Head_Autor_Content_Img_Center"
			"autorPage_Head_Autor_Content_Img_Rigth";
		flex-direction: column;
	}

	.autorPage_Head_Autor_Content_Music_Play_button {
		width: 30px;
		height: 30px;
	}
	.autorPage_Head_Autor_Content_Text_title {
		margin-left: 0px;
	}
	.autorPage_Head_Autor_Content_Text_info {
		width: 65vw;
		margin-left: 0px;
	}
	.autorPage_Head_Autor_Content_Img_Left {
		margin-top: -1x;
		margin-left: -10px;
	}
	.autorPage_Head_Autor_Content_Img_Rigth {
		margin-left: -10px;
	}
	.autorPage_Head_Autor_Content_Text {
		margin-left: 0px;
		padding-left: 10px;
	}
	.autorPage_Div_Music_Content {
		margin-top: 70px;
	}
	.autorPage_Div_Music_Content_line {
		margin-left:-20px;
		width: 275px;
	}
	.autorPage_Div_Music_Content {
		padding-left: 0px;
		margin-left: 20px;
		width: 60vw;
	}
	.autorPage_Div_Music_Content_Music_Play_Img {
		width: 15px;
		height: 15px;
	}
	.autorPage_Div_Music_Content_Music_Play_Button {
		margin-left: 0px;

	}

	.autorPage_Div_Music_Li {
		margin-top: 5px;
		display: grid;
		grid-template-rows: 100%;
		margin-left: -5vw;
		height: 40px;
		width: 70vw;

		background: rgba(138, 51, 51, 0.3);
	}
	.autorPage_Div_Music_Play_Img_Songs {
		margin-top: 0.5vh;

		width: 25px;
		height: 25px;
	}

	.autorPage_Div_Music_Content_Music_Name_Music {
		width: auto;
		font-size: 10px;
		height: 15px;
		margin-top: -8px;
		margin-left: -1vw;
	}
	.autorPage_Div_Music_Content_Music_Head_Music {
		margin-top: 0px;

		width: auto;
	}
	.autorPage_Div_Music_Content_Music_Name_Music {
		width: 100px;
	}
	.autorPage_Div_Music_Content_Music_Head_Music {
		width: 100px;
	}
	.autorPage_Div_Music_Content_Music_Autor_Music {
		margin-left: -1vw;
		font-size: 5px;
		margin-top: 0px;
		height: 0;

		padding-top: 0;
		height: 0px;
	}
	.autorPage_Div_Music_Play_Like_Num {
		margin-top: auto;
	}
	.autorPage_Div_Music_Play_Like_Div {
		width: auto;
		display: grid;
		grid-template-rows: 0% 100%;
		grid-template-columns: 20% 60%;
	}
	.autorPage_Div_Music_Play_Like_Num {
		margin-top: 3px;
		font-size: 8px;

		height: auto;
	}
	.autorPage_Div_Music_Play_Like {
		width: 10px;
		height:


key] = Utils.GetB64Bitmap(value);
        }

        GameplayTags = new GameplayTagDesign
        {
            X = response.GameplayTags.X,
            Y = response.GameplayTags.Y,
            DrawCustomOnly = response.GameplayTags.DrawCustomOnly,
            Custom = Utils.GetB64Bitmap(response.GameplayTags.Custom),
            Tags = tags
        };

        Rarities = n


_Surface*)_NativeInstance)->IsDegenerated(*(gp_Pnt2d*)pp_p2d1, *(gp_Pnt2d*)pp_p2d2, tol, ratio);
    return _result;
}

void Macad::Occt::ShapeAnalysis_Surface::Bounds(double% ufirst, double% ulast, double% vfirst, double% vlast)
{
    pin_ptr<double> pp_ufirst = &ufirst;
    pin_ptr<double> pp_ulast = &ulast;
    pin_ptr<double> pp_vfirst = &vfirst;
    pin_ptr<double> pp_vlast = &vlast;
    ((::ShapeAnalysis_Surface*)_NativeInstance)->Bounds(*(double*)pp_ufirst, *(double*)pp_ulast, *(double*)pp_vfirst, *(double*)pp_vlast);
}

void Macad::Occt::ShapeAnalysis_Surface::ComputeBoundIsos()
{
    ((::ShapeAnalysis_Surface*)_NativeInstance)->ComputeBoundIsos();
}

Macad::Occt::Geom_Curve^ Macad::Occt::ShapeAnalysis_Surface::UIso(double U)
{
    Handle(::Geom_Curve) _result = ((::ShapeAnalysis_Surface*)_NativeInstance)->UIso(U);
    return _result.IsNull() ? nullptr : Macad::Occt::Geom_Curve::CreateDowncasted(_result.get());
}

Macad::Occt::Geom_Curve^ Macad::Occt::ShapeAnalysis_Surface::VIso(double V)
{
    Handle(::Geom_Curve) _result = ((::ShapeAnalysis_Surface*)_NativeInstance)->VIso(V);
    return _result.IsNull() ? nullptr : Macad::Occt::Geom_Curve::CreateDowncasted(_result.get());
}

bool Macad::Occt::ShapeAnalysis_Surface::IsUClosed(double preci)
{
    bool _result = ((::ShapeAnalysis_Surface*)_NativeInstance)->IsUClosed(preci);
    return _result;
}

bool Macad::Occt::ShapeAnalysis_Surface::IsUClosed()
{
    bool _result = ((::ShapeAnalysis_Surface*)_NativeInstance)->IsUClosed(-1);
    return _result;
}

bool Macad::Occt::ShapeAnalysis_Surface::IsVClosed(double preci)
{
    bool _result = ((::ShapeAnalysis_Surface*)_NativeInstance)->IsVClosed(preci);
    return _result;
}

bool Macad::Occt::ShapeAnalysis_Surface::IsVClosed()
{
    bool _result = ((::ShapeAnalysis_Surface*)_NativeInstance)->IsVClosed(-1);
    return _result;
}

Macad::Occt::Pnt2d Macad::Occt::ShapeAnalysis_Surface::ValueOfUV(Macad::Occt::Pnt P3D, double preci)
{
    pin_ptr<Macad::Occt::Pnt> pp_P3D = &P3D;
    ::gp_Pnt2d _nativeResult = ((::ShapeAnalysis_Surface*)_NativeInstance)->ValueOfUV(*(gp_Pnt*)pp_P3D, preci);
    return Macad::Occt::Pnt2d(_nativeResult);
}

Macad::Occt::Pnt2d Macad::Occt::ShapeAnalysis_Surface::NextValueOfUV(Macad::Occt::Pnt2d p2dPrev, Macad::Occt::Pnt P3D, double preci, double maxpreci)
{
    pin_ptr<Macad::Occt::Pnt2d> pp_p2dPrev = &p2dPrev;
    pin_ptr<Macad::Occt::Pnt> pp_P3D = &P3D;
    ::gp_Pnt2d _nativeResult = ((::ShapeAnalysis_Surface*)_NativeInstance)->NextValueOfUV(*(gp_Pnt2d*)pp_p2dPrev, *(gp_Pnt*)pp_P3D, preci, maxpreci)


#!/usr/bin/env python3
import sys
import re
import os

def extract_chapter_number(line):
    """
    Extracts the chapter number from a line containing a 'Chapter_X' tag.
    Assumes the tags are in the last tab-separated field.
    """
    try:
        fields = line.strip().split('\\t')
        if not fields:
            return None # Skip empty lines

        tags_field = fields[-1]
        # Look for 'Chapter_' followed by digits
        match = re.search(r'Chapter_(\d+)', tags_field)
        if match:
            return int(match.group(1))
    except Exception as e:
        print(f"Warning: Could not process line: {line.strip()}. Error: {e}", file=sys.stderr)
    return None # Return None if no Chapter tag is found or if error occurs

def sort_file_by_chapter(filepath):
    """
    Sorts the lines of a file based on the 'Chapter_X' tag numerically.
    Overwrites the original file with the sorted content.
    Preserves lines starting with '#'.
    """
    if not os.path.exists(filepath):
        print(f"Error: File not found: {filepath}", file=sys.stderr)
        sys.exit(1)

    try:
        with open(filepath, 'r', encoding='utf-8') as f:
            lines = f.readlines()
    except Exception as e:
        print(f"Error reading file {filepath}: {e}", file=sys.stderr)
        sys.exit(1)

    header_lines = [line for line in lines if line.startswith('#')]
    data_lines = [line for line in lines if not line.startswith('#') and line.strip()] # Exclude comments and empty lines

    # Store lines with their chapter numbers
    line_chapter_pairs = []
    for line in data_lines:
        chapter_num = extract_chapter_number(line)
        if chapter_num is not None:
            line_chapter_pairs.append((chapter_num, line))
        else:
            # Keep lines without a chapter tag, maybe append them at the end or beginning?
            # For now, let's append them at the end, unsorted relative to each other
            line_chapter_pairs.append((float('inf'), line)) # Assign infinity to sort them last

    # Sort based on chapter number
    line_chapter_pairs.sort(key=lambda x: x[0])

    # Prepare sorted lines for writing
    sorted_lines = header_lines + [line for chapter_num, line in line_chapter_pairs]

    try:
        with open(filepath, 'w', encoding='utf-8') as f:
            f.writelines(sorted_lines)
        print(f"Successfully sorted {filepath} by chapter tag.")
    except Exception as e:
        print(f"Error writing sorted file {filepath}: {e}", file=sys.stderr)
        sys.exit(1)

if __name__ == "__main__":
    if len(sys.argv) != 2:
        print("Usage: python sort_by_chapter_tag.py <filepath>")
        sys.exit(1)

    file_to_sort = sys.argv[1]
    sort_file_by_chapter(file_to_sort)


Context(), TheVT),
                               Value, ThreshVal, ISD::SETLT);
    Adjust = DAG.getSelect(DL, MVT::i64, Cmp,
                           DAG.getConstant(0, DL, MVT::i64),
                           DAG.getConstant(APInt::getSignMask(64),
                                           DL, MVT::i64));
    SDValue Sub = DAG.getNode(ISD::FSUB, DL, TheVT, Value, ThreshVal);
    Cmp = DAG.getSetCC(DL, getSetCCResultType(DAG.getDataLayout(),
                                              *DAG.getContext(), TheVT),
                       Value, ThreshVal, ISD::SETLT);
    Value = DAG.getSelect(DL, TheVT, Cmp, Value, Sub);
  }

  MachinePointerInfo MPI = MachinePointerInfo::getFixedStack(MF, SSFI);

  // FIXME This causes a redundant load/store if the SSE-class value is already
  // in memory, such as if it is on the callstack.
  if (isScalarFPTypeInSSEReg(TheVT)) {
    assert(DstTy == MVT::i64 && "Invalid FP_TO_SINT to lower!");
    Chain = DAG.getStore(Chain, DL, Value, StackSlot, MPI);
    SDVTList Tys = DAG.getVTList(TheVT, MVT::Other);
    SDValue Ops[] = { Chain, StackSlot };

    unsigned FLDSize = TheVT.getStoreSize();
    assert(FLDSize <= MemSize && "Stack slot not big enough");
    MachineMemOperand *MMO = MF.getMachineMemOperand(
        MPI, MachineMemOperand::MOLoad, FLDSize, FLDSize);
    Value = DAG.getMemIntrinsicNode(X86ISD::FLD, DL, Tys, Ops, TheVT, MMO);
    Chain = Value.getValue(1);
  }

  // Build the FP_TO_INT*_IN_MEM
  MachineMemOperand *MMO = MF.getMachineMemOperand(
      MPI, MachineMemOperand::MOStore, MemSize, MemSize);
  SDValue Ops[] = { Chain, Value, StackSlot };
  SDValue FIST = DAG.getMemIntrinsicNode(X86ISD::FP_TO_INT_IN_MEM, DL,
                                         DAG.getVTList(MVT::Other),
                                         Ops, DstTy, MMO);

  SDValue Res = DAG.getLoad(Op.getValueType(), SDLoc(Op), FIST, StackSlot, MPI);

  // If we need an unsigned fixup, XOR the result with adjust.
  if (UnsignedFixup)
    Res = DAG.getNode(ISD::XOR, DL, MVT::i64, Res, Adjust);

  return Res;
}

static SDValue LowerAVXExtend(SDValue Op, SelectionDAG &DAG,
                              const X86Subtarget &Subtarget) {
  MVT VT = Op.getSimpleValueType();
  SDValue In = Op.getOperand(0);
  MVT InVT = In.getSimpleValueType();
  SDLoc dl(Op);
  unsigned Opc = Op.getOpcode();

  assert(VT.isVector() && InVT.isVector() && "Expected vector type");
  assert((Opc == ISD::ANY_EXTEND || Opc == ISD::ZERO_EXTEND) &&
         "Unexpected extension opcode");
  assert(VT.getVectorNumElements() == VT.getVectorNumElements() &&
         "Expected same number of elements");
  assert((VT.getVectorElementType() == MVT::i16 ||
          VT.getVectorElementType() == MVT::i32 ||
          VT.getVectorElementType() == MVT::i64) &&
         "Unexpected element type");
  assert((InVT.getVectorElementType() == MVT::i8 ||
          InVT.getVectorElementType() == MVT::i16 ||
          InVT.getVectorElementType() == MVT::i32) &&
         "Unexpected element type");

  unsigned ExtendInVecOpc = getOpcode_EXTEND_VECTOR_INREG(


00A04 808A41D4 8FAC00B0 */  lw      $t4, 0x00B0($sp)
/* 00A08 808A41D8 8FAB00B4 */  lw      $t3, 0x00B4($sp)
/* 00A0C 808A41DC 3C180001 */  lui     $t8, 0x0001                ## $t8 = 00010000
/* 00A10 808A41E0 818D016A */  lb      $t5, 0x016A($t4)           ## 0000016A
/* 00A14 808A41E4 3C098011 */  lui     $t1, 0x8011                ## $t1 = 80110000
/* 00A18 808A41E8 3C08DB06 */  lui     $t0, 0xDB06                ## $t0 = DB060000
/* 00A1C 808A41EC 000D7100 */  sll     $t6, $t5,  4
/* 00A20 808A41F0 01CD7021 */  addu    $t6, $t6, $t5
/* 00A24 808A41F4 000E7080 */  sll     $t6, $t6,  2
/* 00A28 808A41F8 016E7821 */  addu    $t7, $t3, $t6
/* 00A2C 808A41FC 030FC021 */  addu    $t8, $t8, $t7
/* 00A30 808A4200 8F1817B4 */  lw      $t8, 0x17B4($t8)           ## 000117B4
/* 00A34 808A4204 35080020 */  ori     $t0, $t0, 0x0020           ## $t0 = DB060020
/* 00A38 808A4208 25296290 */  addiu   $t1, $t1, 0x6290           ## $t1 = 80116290
/* 00A3C 808A420C AC580004 */  sw      $t8, 0x0004($v0)           ## 00000004
/* 00A40 808A4210 8E0202C0 */  lw      $v0, 0x02C0($s0)           ## 000002C0
/* 00A44 808A4214 27A40068 */  addiu   $a0, $sp, 0x0068           ## $a0 = FFFFFFB8
/* 00A48 808A4218 24590008 */  addiu   $t9, $v0, 0x0008           ## $t9 = 00000008
/* 00A4C 808A421C AE1902C0 */  sw      $t9, 0x02C0($s0)           ## 000002C0
/* 00A50 808A4220 AC490004 */  sw      $t1, 0x0004($v0)           ## 00000004
/* 00A54 808A4224 0C03423F */  jal     Matrix_Put
/* 00A58 808A4228 AC480000 */  sw      $t0, 0x0000($v0)           ## 00000000
/* 00A5C 808A422C 3C014313 */  lui     $at, 0x4313                ## $at = 43130000
/* 00A60 808A4230 44816000 */  mtc1    $at, $f12                  ## $f12 = 147.00
/* 00A64 808A4234 3C01C375 */  lui     $at, 0xC375                ## $at = C3750000
/* 00A68 808A4238 44817000 */  mtc1    $at, $f14                  ## $f14 = -245.00
/* 00A6C 808A423C 3C06C3E2 */  lui     $a2, 0xC3E2                ## $a2 = C3E20000
/* 00A70 808A4240 34C68000 */  ori     $a2, $a2, 0x8000           ## $a2 = C3E28000


r>

Home |
About Us |
Our Products |
Services |
Contact |
Sitemap
Web Design & SEO by Infront

	<wa-color id="WA-color-0" bg="#33CCFF" fg="#000000" class="WebAnnotator_ORG" type="ORG"></wa-color><wa-color id="WA-color-1" bg="#FF0000" fg="#000000" class="WebAnnotator_PER" type="PER"></wa-color><wa-color id="WA-color-2" bg="#33FF33" fg="#000000" class="WebAnnotator_FUNC" type="FUNC"></wa-color><wa-color id="WA-color-3" bg="#CC66CC" fg="#000000" class="WebAnnotator_TEL" type="TEL"></wa-color><wa-color id="WA-color-4" bg="#FF9900" fg="#000000" class="WebAnnotator_FAX" type="FAX"></wa-color><wa-color id="WA-color-5" bg="#99FFFF" fg="#000000" class="WebAnnotator_EMAIL" type="EMAIL"></wa-color><wa-color id="WA-color-6" bg="#FF6666" fg="#000000" class="WebAnnotator_HOURS" type="HOURS"></wa-color><wa-color id="WA-color-7" bg="#66FF99" fg="#


= "loc_zealot_male_b__lore_melk_four_c_02",
		},
		sound_events_duration = {
			[1] = 4.160354,
			[2] = 5.02825,
		},
		randomize_indexes = {},
	},
	lore_melk_one_b = {
		randomize_indexes_n = 0,
		sound_events_n = 2,
		sound_events = {
			[1] = "loc_zealot_male_b__lore_melk_one_b_01",
			[2] = "loc_zealot_male_b__lore_melk_one_b_02",
		},
		sound_events_duration = {
			[1] = 5.621188,
			[2] = 5.778167,
		},
		randomize_indexes = {},
	},
	lore_melk_one_c = {
		randomize_indexes_n = 0,
		sound_events_n = 2,
		sound_events = {
			[1] = "loc_zealot_male_b__lore_melk_one_c_01",
			[2] = "loc_zealot_male_b__lore_melk_one_c_02",
		},
		sound_events_duration = {
			[1] = 4.738833,
			[2] = 5.326042,
		},
		randomize_indexes = {},
	},
	lore_melk_three_b = {
		randomize_indexes_n = 0,
		sound_events_n = 2,
		sound_events = {
			[1] = "loc_zealot_male_b__lore_melk_three_b_01",
			[2] = "loc_zealot_male_b__lore_melk_three_b_02",
		},
		sound_events_duration = {
			[1] = 4.380417,
			[2] = 3.661188,
		},
		randomize_indexes = {},
	},
	lore_melk_three_c = {
		randomize_indexes_n = 0,
		sound_events_n = 2,
		sound_events = {
			[1] = "loc_zealot_male_b__lore_melk_three_c_01",
			[2] = "loc_zealot_male_b__lore_melk_three_c_02",
		},
		sound_events_duration = {
			[1] = 4.07775,
			[2] = 5.698833,
		},
		randomize_indexes = {},
	},
	lore_melk_two_a = {
		randomize_indexes_n = 0,
		sound_events_n = 4,
		sound_events = {
			"loc_zealot_male_b__lore_melk_two_a_01",
			"loc_zealot_male_b__lore_melk_two_a_02",
			"loc_zealot_male_b__lore_melk_two_a_03",
			"loc_zealot_male_b__lore_melk_two_a_04",
		},
		sound_events_duration = {
			5.241896,
			5.272417,
			4.588667,
			5.748583,
		},
		randomize_indexes = {},
	},
	lore_melk_two_b = {
		randomize_indexes_n = 0,
		sound_events_n = 2,
		sound_events = {
			[1] = "loc_zealot_male_b__lore_melk_two_b_01",
			[2] = "loc_zealot_male_b__lore_melk_two_b_02",
		},
		sound_events_duration = {
			[1] = 6.586833,
			[2] = 3.859438,
		},
		randomize_indexes =


64 v255, v1, v2
// CHECK: [0xff,0x00,0x0c,0xd1,0x01,0x05,0x02,0x00]

v_min_i32_e64 v5, v255, v2
// CHECK: [0x05,0x00,0x0c,0xd1,0xff,0x05,0x02,0x00]

v_min_i32_e64 v5, s1, v2
// CHECK: [0x05,0x00,0x0c,0xd1,0x01,0x04,0x02,0x00]

v_min_i32_e64 v5, s101, v2
// CHECK: [0x05,0x00,0x0c,0xd1,0x65,0x04,0x02,0x00]

v_min_i32_e64 v5, flat_scratch_lo, v2
// CHECK: [0x05,0x00,0x0c,0xd1,0x66,0x04,0x02,0x00]

v_min_i32_e64 v5, flat_scratch_hi, v2
// CHECK: [0x05,0x00,0x0c,0xd1,0x67,0x04,0x02,0x00]

v_min_i32_e64 v5, vcc_lo, v2
// CHECK: [0x05,0x00,0x0c,0xd1,0x6a,0x04,0x02,0x00]

v_min_i32_e64 v5, vcc_hi, v2
// CHECK: [0x05,0x00,0x0c,0xd1,0x6b,0x04,0x02,0x00]

v_min_i32_e64 v5, m0, v2
// CHECK: [0x05,0x00,0x0c,0xd1,0x7c,0x04,0x02,0x00]

v_min_i32_e64 v5, exec_lo, v2
// CHECK: [0x05,0x00,0x0c,0xd1,0x7e,0x04,0x02,0x00]

v_min_i32_e64 v5, exec_hi, v2
// CHECK: [0x05,0x00,0x0c,0xd1,0x7f,0x04,0x02,0x00]

v_min_i32_e64 v5, 0, v2
// CHECK: [0x05,0x00,0x0c,0xd1,0x80,0x04,0x02,0x00]

v_min_i32_e64 v5, -1, v2
// CHECK: [0x05,0x00,0x0c,0xd1,0xc1,0x04,0x02,0x00]

v_min_i32_e64 v5, 0.5, v2
// CHECK: [0x05,0x00,0x0c,0xd1,0xf0,0x04,0x02,0x00]

v_min_i32_e64 v5, -4.0, v2
// CHECK: [0x05,0x00,0x0c,0xd1,0xf7,0x04,0x02,0x00]

v_min_i32_e64 v5, v1, v255
// CHECK: [0x05,0x00,0x0c,0xd1,0x01,0xff,0x03,0x00]

v_min_i32_e64 v5, v1, s2
// CHECK: [0x05,0x00,0x0c,0xd1,0x01,0x05,0x00,0x00]

v_min_i32_e64 v5, v1, s101
// CHECK: [0x05,0x00,0x0c,


>キーワードを含む場合を除いて、サンドボックス化されたポインターロックブラウジングコンテキストフラグ

<var>tokens</var>が<dfn data-dfn-for="iframe/sandbox" id="attr-iframe-sandbox-allow-scripts" data-dfn-type="attr-value">allow-scripts</dfn>キーワードを含む場合を除いて、サンドボックス化されたスクリプトブラウジングコンテキストフラグ

<var>tokens</var>が（上記で定義された）allow-scriptsキーワードを含む場合を除いて、サンドボックス化された自動機能ブラウジングコンテキストフラグ

このフラグは、スクリプトと同じキーワードで緩和される。なぜなら、スクリプトが有効である場合にこれらの機能はいずれにせよ些細なことで実行でき、宣言的な機能を使用できるようにするよりむしろサンドボックス化された場合に、著者がそれら機能を実行するためのスクリプトを使用するよう強制することが不幸であるためである。

サンドボックス化されたdocument.domainブラウジングコンテキストフラグ。

The sandbox propagates to auxiliary browsing contexts flag, unless <var>tokens</var> contains the <dfn data-dfn-for="iframe/sandbox" id="attr-iframe-sandbox-allow-popups-to-escape-sandbox" data-dfn-type="attr-value">allow-popups-to-escape-sandbox</dfn> keyword.

The sandboxed modals flag, unless <var>tokens</var> contains the <dfn data-dfn-for="iframe/sandbox" id="attr-iframe-sandbox-allow-modals" data-dfn-type="attr-value">allow-modals</dfn> keyword.

The sandboxed orientation lock browsing context flag, unless <var>tokens</var> contains the <dfn data-dfn-for="iframe/sandbox" id="attr-iframe-sandbox-allow-orientation-lock" data-dfn-type="attr-value">allow-orientation-lock</dfn> keyword.

The <a href


t var privateLateinit: Any

  fun safeLateInitPropertyAccess(): Any? {
    if (this::lateInitProperty.isInitialized) {
      return lateInitProperty
    }
    return null
  }

  fun setAndGetPrivateLateinit(): Any? {
    privateLateinit = Any()
    return privateLateinit
  }
}

fun main() {
  val a = lateInitTopLevelProperty
  val b = ClassWithLateInitProperty().lateInitProperty
}

fun lateInitVariable() {
  lateinit var a: Any
  val b = a
}
/*
 * Copyright 2022 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://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 bridgejsmethod

import jsinterop.annotations.JsMethod
import jsinterop.annotations.JsType

class Main {
  open class A<T> {
    @JsMethod
    open fun f(t: T): T {
      return t
    }

    // not a JsMethod.
    open fun bar(t: T) {}
  }

  /** Interface with JsMethod. */
  interface I<T : Number> {
    @JsMethod(name = "fNumber") fun f(t: T): T
  }

  /** Interface with non-JsMethod. */
  interface J<T> {
    fun bar(t: T)
  }

  open class B : A<String>() {
    // It is a JsMethod itself and also overrides a JsMethod.
    // One JS bridge method for fun__Object(), but since the bridge method is a JsMethod, this
    // real implementation method is emit as non-JsMethod.
    @JsMethod
    override fun f(s: String): String {
      return s
    }

    // It is a JsMethod itself and overrides a non-JsMethod.
    // Two bridge methods, one for generic method, and one for exposing non-JsMethod, should result
    // in only one bridge method.
    @JsMethod override fun bar(s: String) {}
  }

  class C : A<Int>() {
    // It's not a directly annotated JsMethod, but overrides a JsMethod.
    // The bridge method is a JsMethod, and this real implementation method is non-JsMethod.
    override fun f(i: Int): Int {
      return i
    }
  }

  class D : A<Int>(), I<Int> {
    // Two JS bridges: fun__Object, and fun__Number, and should result in only one, and this real
    // implementation method is non-JsMethod.
    override fun f(i: Int): Int {
      return i
    }
  }

  class E : B(), J<String> // inherited B.bar() accidentally overrides J.bar().
  // Two bridges, one for generic method, the other for exposing non-JsMethod, should result in
  // only one bridge.

  class F : A<Int>(), I<Int>

  interface G<V> {
    fun enclose(value: V): V
  }

  class H<V> : G<V> {
    /**
     * The implemented enclose() has now been marked @JsMethod but mangled H.enclose() is still
     * required to execute the behavior defined here. A bridge method is needed from the mangled to
     * unmangled form. The version of the mangled form that is found in super types references type
     * variable C_G_V and must be specialized to C_H_V before being added in type H.
     */
    @JsMethod
    override fun enclose(value: V): V {
      return value
    }
  }

  open class K<K1, K2> {
    internal


ix) > 0 && apiprefix[0] != '/' {
		apiprefix = "/" + apiprefix
	}
	if len(edgeListen) > 0 && edgeListen[0] != ':' {
		edgeListen = ":" + edgeListen
	}
	if len(manageListen) > 0 && manageListen[0] != ':' {
		manageListen = ":" + manageListen
	}
	if edgeListen == manageListen {
		mux := http.NewServeMux()
		mux.HandleFunc(apiprefix+"/edge/superparams", edge_get_superparams)
		mux.HandleFunc(apiprefix+"/edge/peerinfo", edge_get_peerinfo)
		mux.HandleFunc(apiprefix+"/edge/nhtable", edge_get_nhtable)
		mux.HandleFunc(apiprefix+"/edge/post/nodeinfo", edge_post_nodeinfo)
		mux.HandleFunc(apiprefix+"/manage/peer/add", manage_peeradd)
		mux.HandleFunc(apiprefix+"/manage/peer/del", manage_peerdel)
		mux.HandleFunc(apiprefix+"/manage/peer/update", manage_peerupdate)
		mux.HandleFunc(apiprefix+"/manage/super/state", manage_get_peerstate)
		mux.HandleFunc(apiprefix+"/manage/super/update", manage_superupdate)

		go func() {
			err := http.ListenAndServe(edgeListen, mux)
			if err != nil {
				errchan <- err
			}
		}()
		return
	} else {
		edgemux := http.NewServeMux()
		managemux := http.NewServeMux()
		edgemux.HandleFunc(apiprefix+"/edge/superparams", edge_get_superparams)
		edgemux.HandleFunc(apiprefix+"/edge/peerinfo", edge_get_peerinfo)
		edgemux.HandleFunc(apiprefix+"/edge/nhtable", edge_get_nhtable)
		edgemux.HandleFunc(apiprefix+"/edge/post/nodeinfo", edge_post_nodeinfo)
		managemux.HandleFunc(apiprefix+"/manage/peer/add", manage_peeradd)
		managemux.HandleFunc(apiprefix+"/manage/peer/del", manage_peerdel)
		managemux.HandleFunc(apiprefix+"/manage/peer/update", manage_peerupdate)
		managemux.HandleFunc(apiprefix+"/manage/super/state", manage_get_peerstate)
		managemux.HandleFunc(apiprefix+"/manage/super/update", manage_superupdate)

		go func() {
			err := http.ListenAndServe(edgeListen, edgemux)
			if err != nil {
				errchan <- err
			}
		}()

		if manageListen != "" {
			go func() {
				err := http.ListenAndServe(manageListen, managemux)
				if err != nil {
					errchan <- err
				}
			}()
		}
	}

}
/* SPDX-License-Identifier: MIT
 *
 * Copyright (C) 2017-2021 WireGuard LLC. All Rights Reserved.
 */

package tap

import (
	"encoding/binary"
	"errors"
	"fmt"
	"math/big"
	"net"
	"strconv"
	"strings"
)

type Event int
type MacAddress [6]byte

func (mac *MacAddress) String() string {
	return net.HardwareAddr((*mac)[:]).String()
}

func GetDstMacAddr(packet []byte) (dstMacAddr MacAddress) {
	copy(dstMacAddr[:], packet[0:6])
	return
}

func GetSrcMacAddr(packet


t()
            )
            return@flow
        } else {
            emit(
                playlistMediaDao.reorderPlaylistMedia(
                    playlistId = playlistId,
                    url = fromMedia.playlistMediaBean.url,
                    orderPosition = (prevOrder + nextOrder) / 2.0,
                )
            )
        }
    }.flowOn(Dispatchers.IO)
}package com.skyd.podaura.model.preference.appearance

import androidx.compose.ui.graphics.Color
import androidx.datastore.preferences.core.stringPreferencesKey
import com.skyd.podaura.ext.put
import com.skyd.podaura.model.preference.BasePreference
import com.skyd.podaura.model.preference.dataStore
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
import org.jetbrains.compose.resources.getString
import podaura.shared.generated.resources.Res
import podaura.shared.generated.resources.theme_blue
import podaura.shared.generated.resources.theme_dynamic
import podaura.shared.generated.resources.theme_green
import podaura.shared.generated.resources.theme_mahiro
import podaura.shared.generated.resources.theme_pink
import podaura.shared.generated.resources.theme_purple
import podaura.shared.generated.resources.theme_red
import podaura.shared.generated.resources.theme_yellow
import podaura.shared.generated.resources.unknown

abstract class BaseThemePreference : BasePreference<String>() {
    companion object {
        private const val THEME = "theme"

        const val DYNAMIC = "Dynamic"
        const val BLUE = "Blue"
        const val PINK = "Pink"
        const val YELLOW = "Yellow"
        const val RED = "Red"
        const val GREEN = "Green"
        const val PURPLE = "Purple"
        const val MAHIRO = "Mahiro"
    }

    val basicValues = arrayOf(BLUE, PINK, YELLOW, RED, GREEN, PURPLE, MAHIRO)
    override val key = stringPreferencesKey(THEME)

    suspend fun toDisplayName(value: String): String = getString(
        when (value) {
            DYNAMIC -> Res.string.theme_dynamic
            BLUE -> Res.string.theme_blue
            PINK -> Res.string.theme_pink
            YELLOW -> Res.string.theme_yellow
            RED -> Res.string.theme_red
            GREEN -> Res.string.theme_green
            PURPLE -> Res.string.theme_purple
            MAHIRO -> Res.string.theme_mahiro
            else -> Res.string.unknown
        }
    )

    fun toColors(value: String): Triple<Color, Color?, Color?> = Triple(
        toSeedColor(value),
        toSecondaryColor(value),
        toTertiaryColor(value),
    )

    fun toSeedColor(value: String): Color = when (value) {
        BLUE -> Color(0xFF006EBE)
        PINK -> Color(0xFFFF7AA3)
        YELLOW -> Color(0xFFFABE03)
        RED -> Color(0xFFB90037)
        GREEN -> Color(0xFF3F975B)
        PURPLE -> Color(0xFF7E6195)
        MAHIRO -> Color(0xFFEAD4CE)
        else -> Color(0xFF006EBE)
    }

    fun toSecondaryColor(value: String): Color? = when (value) {
        MAHIRO -> Color(0xFF7D859D)
        else -> null
    }

    fun toTertiaryColor(value: String): Color? = when (value) {
        MAHIRO -> Color(0xFFEC9CA8)
        else -> null
    }

    fun put(scope: CoroutineScope, value: String, onSuccess: () -> Unit) {
        scope.launch(Dispatchers.IO) {
            dataStore.put(key, value)
            withContext(Dispatchers.Main) {
                onSuccess()
            }
        }
    }
}

expect object


w
 */
class MarginView : public BBox
{
friend class MarginManager;

public:
							MarginView(int32 pageWidth = 0,
								int32 pageHeight = 0,
								BRect margins = BRect(1, 1, 1, 1), // 1 inch
								MarginUnit unit = kUnitInch);

	virtual					~MarginView();

	virtual	void			AttachedToWindow();
	virtual	void			MessageReceived(BMessage *msg);

			// point.x = width, point.y = height
			BPoint			PageSize() const;
			void			SetPageSize(float pageWidth, float pageHeight);

			// margin
			BRect			Margin() const;

			// units
			MarginUnit		Unit() const;

			// will cause a recalc and redraw
			void			UpdateView(uint32 msg);

private:
			// all the GUI construction code
			void			_ConstructGUI();

			// utility method
			void			_AllowOnlyNumbers(BTextControl *textControl,
								int32 maxNum);

			// performed internally using text fields
			void			_SetMargin(BRect margin);

			// performed internally using the supplied popup
			void			_SetMarginUnit(MarginUnit unit);

private:
			BTextControl*	fTop;
			BTextControl*	fBottom;
			BTextControl*	fLeft;
			BTextControl*	fRight;

			// the actual size of the page in points
			float			fPageHeight;
			float			fPageWidth;

			// rect that holds the margins for the page as a set of point offsets
			BRect			fMargins;

			// the units used to calculate the page size
			MarginUnit		fMarginUnit;
			float			fUnitValue;

			PageView*		fPage;
			BStringView*	fPageSize;
};

#endif // _MARGIN_VIEW_H


json& node, const std::string& name, HWND hwnd, UINT show_cmd = -1)
	{
		return write_window_pos(node[name], hwnd, show_cmd);
	}

	template <typename T, typename Labels>
	inline void write_label(n_json& node, const T& value, const Labels& labels)
	{
		for (const auto& label : labels)
		{
			if (label.value == value)
				write_string(node, label.text);
		}
	}

	template <typename T, typename Labels>
	inline void write_label(n_json& node, const std::string& name, const T& value, const Labels& labels)
	{
		return write_label(node[name], value, labels);
	}

	template <typename ShortcutKey>
	inline void write_shortcut_key(n_json& node, const ShortcutKey& shortcut_key)
	{
		write_string(node, "key", shortcut_key.key_to_str(shortcut_key.key));
		write_string(node, "mod", shortcut_key.mod_to_str(shortcut_key.mod));
	}

	template <typename ShortcutKey>
	inline void write_shortcut_key(n_json& node, const std::string& name, const ShortcutKey& shortcut_key)
	{
		return write_shortcut_key(node[name], shortcut_key);
	}
}

#ifdef _GDIPLUS_H
//
// get
//
namespace my::json
{
	inline void read_point(const n_json& node, Point& point)
	{
		read_int(node, "x", point.X);
		read_int(node, "y", point.Y);
	}

	inline void read_point(const n_json& node, const std::string& name, Point& point)
	{
		return read_point(read_child(node, name), point);
	}

	inline void read_size(const n_json& node, Size& size)
	{
		read_int(node, "w", size.Width);
		read_int(node, "h", size.Height);
	}

	inline void read_size(const n_json& node, const std::string& name, Size& size)
	{
		return read_size(read_child(node, name), size);
	}

	inline void read_color(const n_json& node, Color& value)
	{
		try
		{
			auto str = node.get<std::string>();
			auto c = str.length();
			if (c == 0) return;

			if (str[0] == '#')
			{
				// 先頭の'#'を取り除いた残りの部分を16進数に変換します。
				auto temp = strtoul(&str[1], nullptr, 16);

				if (c == 4)
				{
					// `#fc8`の形式です。

					auto r = (BYTE)(temp >> 8 & 0xF);
					auto g = (BYTE)(temp >> 4 & 0xF);
					auto b = (BYTE)(temp >> 0 & 0xF);

					r |= r << 4;
					g |= g << 4;
					b |= b << 4;

					value = RGB(r, g, b);
				}
				else
				{
					// `#ffcc88`の形式です。

					auto r = (BYTE)(temp >> 16);
					auto g = (BYTE)(temp >> 8);
					auto b = (BYTE)(temp >> 0);

					value = RGB(r, g, b);
				}
			}
			else
			{
				auto sep1 = str.find(',');
				if (sep1 == str.npos)
				{
					// `rrggbbaa'の16進数の形式だと仮定します。

					auto src = &str[0];
					auto e


){r=$.bm
r=(r==null?$.bm=A.d_():r).a
r.LX(s,B.hG)}}}}
A.GF.prototype={
cp(){this.f8()
this.c.ok.x.push(this.gAq())},
Ar(){var s,r,q=this.c,p=q.ok.e,o=t.t,n=A.c([],o),m=q.k4,l=A.c([],o)
q=p.h(0,m)
if((q==null?null:q.dy)!=null){q=p.h(0,m).dy
q.toString
B.b.P(l,q)}for(;l.length!==0;){s=B.b.mk(l,0)
if(p.h(0,s)!=null){q=p.h(0,s).p1
q===$&&A.a()
q=q===B.wL||q===B.wM||q===B.wN}else q=!1
if(q)n.push(s)
else{q=p.h(0,s)
if((q==null?null:q.dy)!=null){q=p.h(0,s).dy
q.toString
B.b.P(l,q)}}}r=new A.a7(n,new A.a2q(),t.gn).bk(0," ")
q=this.a
q===$&&A.a()
o=A.Z(r)
o.toString
q.setAttribute("aria-owns",o)},
aL(){var s=this.e
if(s==null)s=null
else{s.aL()
s=!0}return s===!0}}
A.a2q.prototype={
$1(a){return"flt-semantic-node-"+a},
$S:86}
A.GG.prototype={
cp(){this.f8()
this.c.ok.x.push(this.gAq())},
Ar(){var s,r,q=this.c,p=q.ok.e,o=t.t,n=A.c([],o),m=q.k4,l=A.c([],o)
q=p.h(0,m)
if((q==null?null:q.dy)!=null){q=p.h(0,m).dy
q.toString
B.b.P(l,q)}for(;l.length!==0;){s=B.b.mk(l,0)
if(p.h(0,s)!=null){q=p.h(0,s).p1
q===$&&A.a()
q=q===B.wL||q===B.wM||q===B.wN}else q=!1
if(q)n.push(s)
else{q=p.h(0,s)
if((q==null?null:q.dy)!=null){q=p.h(0,s).dy
q.toString
B.b.P(l,q)}}}r=new A.a7(n,new A.a2m(),t.gn).bk(0," ")
q=this.a
q===$&&A.a()
o=A.Z(r)
o.toString
q.setAttribute("aria-owns",o)},
aL(){var s=this.e
if(s==null)s=null
else{s.aL()
s=!0}return s===!0}}
A.a2m.prototype={
$1(a){return"flt-semantic-node-"+a},
$S:86}
A.a2n.prototype={
cp(){var s,r
this.f8()
s=this.c.a
r=this.a
if((s&67108864)!==0){r===$&&A.a()
s=A.Z("menu")
s.toString
r.setAttribute("aria-haspopup",s)}else{r===$&&A.a()
r.removeAttribute("aria-haspopup")}},
aL(){var s=this.e
if(


},vo=function(e,t){var n=e.hex?Nn(e.hex):Nn(e),o=n.toHsl(),i=n.toHsv(),a=n.toRgb(),r=n.toHex();return 0===o.s&&(o.h=t||0,i.h=t||0),{hsl:o,hex:"000000"===r&&0===a.a?"transparent":"#"+r,rgb:a,hsv:i,oldHue:e.h||t||o.h,source:e.source}},wo=function(e){if("transparent"===e)return!0;var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&Nn(e).isValid()},bo=function(e){if(!e)return"#fff";var t=vo(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},Eo=function(e,t){return Nn(t+" ("+e.replace("°","")+")")._ok},Io=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},yo=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();const _o=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.handleChange=function(e,n){if(mo(e)){var o=vo(e,e.h||t.state.oldHue);t.setState(o),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,o,n),t.props.onChange&&t.props.onChange(o,n)}},t.handleSwatchHover=function(e,n){if(mo(e)){var o=vo(e,e.h||t.state.oldHue);t.props.onSwatchHover&&t.props.onSwatchHover(o,n)}},t.state=Io({},vo(e.color,0)),t.debounce=In((function(e,t,n){e(t,n)}),100),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),yo(n,[{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),o.createElement(e,Io({},this.props,this.state,{onChange:this.handleChange},t))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return Io({},vo(e.color,t.oldHue))}}]),n}(o.PureComponent||o.C


;;; This file was automatically generated by the panel editor.
;;; If you read it into gnu emacs, it will automagically format itself.

(panel (prop help creator:user-panel-help)
(prop user-panel #t)
(label "Materials")
(al (pnl_label (prop help creator:user-act-help)
(label "specular")
(x 4)
(y 0.5)
(downfunc move-then-resize)
)
(pnl_label (prop help creator:user-act-help)
(label "diffuse")
(x 4)
(y 4)
(downfunc move-then-resize)
)
(pnl_radio_button (name "m7")
(prop help creator:user-act-help)
(label "material 7")
(x 6.5)
(y 1.5)
(h 0.36)
(downfunc move-then-resize)
)
(pnl_radio_button (name "m9")
(prop help creator:user-act-help)
(label "material 9")
(x 6.5)
(y 0.5)
(h 0.36)
(downfunc move-then-resize)
)
(pnl_radio_button (name "m8")
(prop help creator:user-act-help)
(label "material 8")
(x 6.5)
(y 1)
(h 0.36)
(downfunc move-then-resize)
)
(pnl_radio_button (name "m6")
(prop help creator:user-act-help)
(label "material 6")
(x 6.5)
(y 2)
(h 0.36)
(downfunc move-then-resize)
)
(pnl_radio_button (name "m5")
(prop help creator:user-act-help)
(label "material 5")
(x 6.5)
(y 2.5)
(h 0.36)
(downfunc move-then-resize)
)
(pnl_radio_button  (name "m4")
(prop help creator:user-act-help)
(label "material 4")
(x 6.5)
(y 3)
(h 0.36)
(downfunc move-then-resize)
)
(pnl_radio_button (name "m3")
(prop help creator:user-act-help)
(label "material 3")
(x 6.5)
(y 3.5)
(h 0.36)
(downfunc move-then-resize)
)
(pnl_radio_button (name "m2")
(prop help creator:user-act-help)
(label "material 2")
(x 6.5)
(y 4)
(h 0.36)
(downfu