hexsha
stringlengths
40
40
size
int64
5
1.05M
ext
stringclasses
98 values
lang
stringclasses
21 values
max_stars_repo_path
stringlengths
3
945
max_stars_repo_name
stringlengths
4
118
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
int64
1
368k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
945
max_issues_repo_name
stringlengths
4
118
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
134k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
945
max_forks_repo_name
stringlengths
4
135
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
5
1.05M
avg_line_length
float64
1
1.03M
max_line_length
int64
2
1.03M
alphanum_fraction
float64
0
1
0619e7a38c1ed68da0c50252e0af32f6cc2d75c0
3,062
kt
Kotlin
ledger/src/main/kotlin/org/knowledger/ledger/adapters/storage/CoinbaseHeaderStorageAdapter.kt
Seriyin/MasBlockchain
0e5121243b9faf101b6d2ccf5bce60a657a31b4e
[ "MIT" ]
3
2019-11-05T16:19:31.000Z
2021-06-23T07:15:24.000Z
ledger/src/main/kotlin/org/knowledger/ledger/adapters/storage/CoinbaseHeaderStorageAdapter.kt
Seriyin/KnowLedger
0e5121243b9faf101b6d2ccf5bce60a657a31b4e
[ "MIT" ]
null
null
null
ledger/src/main/kotlin/org/knowledger/ledger/adapters/storage/CoinbaseHeaderStorageAdapter.kt
Seriyin/KnowLedger
0e5121243b9faf101b6d2ccf5bce60a657a31b4e
[ "MIT" ]
2
2018-12-10T11:51:50.000Z
2019-01-17T22:18:50.000Z
package org.knowledger.ledger.adapters.storage import com.github.michaelbull.result.map import org.knowledger.ledger.adapters.LedgerStorageAdapter import org.knowledger.ledger.adapters.cachedLoad import org.knowledger.ledger.chain.PersistenceContext import org.knowledger.ledger.chain.solver.StorageState import org.knowledger.ledger.crypto.Hash import org.knowledger.ledger.database.StorageElement import org.knowledger.ledger.database.StorageType import org.knowledger.ledger.database.results.DataFailure import org.knowledger.ledger.results.Outcome import org.knowledger.ledger.results.ok import org.knowledger.ledger.storage.AdapterIds import org.knowledger.ledger.storage.Difficulty import org.knowledger.ledger.storage.MutableCoinbaseHeader import org.knowledger.ledger.storage.Payout import org.knowledger.ledger.storage.results.LoadFailure internal class CoinbaseHeaderStorageAdapter : LedgerStorageAdapter<MutableCoinbaseHeader> { override val id: String get() = "CoinbaseHeader" override val properties: Map<String, StorageType> get() = mapOf( "hash" to StorageType.HASH, "merkleRoot" to StorageType.HASH, "payout" to StorageType.PAYOUT, "blockheight" to StorageType.LONG, "difficulty" to StorageType.DIFFICULTY, "extraNonce" to StorageType.LONG, "coinbaseParams" to StorageType.LINK, ) override fun store( element: MutableCoinbaseHeader, state: StorageState, ): Outcome<Unit, DataFailure> = with(state) { pushNewHash("hash", element.hash) pushNewHash("merkleRoot", element.merkleRoot) pushNewPayout("payout", element.payout) pushNewNative("blockheight", element.blockheight) pushNewDifficulty("difficulty", element.difficulty) pushNewNative("extraNonce", element.extraNonce) pushNewLinked("coinbaseParams", element.coinbaseParams, AdapterIds.CoinbaseParams) }.ok() override fun load( ledgerHash: Hash, element: StorageElement, context: PersistenceContext, ): Outcome<MutableCoinbaseHeader, LoadFailure> = element.cachedLoad { val params = getLinked("coinbaseParams") context.coinbaseParamsStorageAdapter .load(ledgerHash, params, context) .map { coinbaseParams -> val merkleRoot: Hash = getHashProperty("merkleRoot") val payout: Payout = getPayoutProperty("payout") val difficulty: Difficulty = getDifficultyProperty("difficulty") val blockheight: Long = getStorageProperty("blockheight") val extraNonce: Long = getStorageProperty("extraNonce") val hash: Hash = getHashProperty("hash") context.coinbaseHeaderFactory.create( hash, merkleRoot, payout, blockheight, difficulty, extraNonce, coinbaseParams, ) } } }
45.701493
94
0.681581
cd9ee513f0a3806138ca79cfc666121df8424117
29,997
rs
Rust
gh-cli/src/main.rs
aslamplr/gh-cli
750686fbfb0f135e2b54399ea72cb42d87e3f717
[ "MIT" ]
5
2020-07-24T07:15:45.000Z
2020-09-28T02:57:07.000Z
gh-cli/src/main.rs
aslamplr/gh-cli
750686fbfb0f135e2b54399ea72cb42d87e3f717
[ "MIT" ]
116
2020-05-07T07:31:39.000Z
2022-03-25T23:02:13.000Z
gh-cli/src/main.rs
aslamplr/gh-actions-secrets
750686fbfb0f135e2b54399ea72cb42d87e3f717
[ "MIT" ]
1
2020-12-31T15:59:32.000Z
2020-12-31T15:59:32.000Z
use clap::Clap; use crossterm::style::{Colorize, Styler}; #[cfg(feature = "basic-info")] use gh_lib::core::basic_info::{basic_info_response, BasicInfo as _}; #[cfg(feature = "collaborators")] use gh_lib::core::collaborators::Collaborators as _; use gh_lib::core::repos::RepoRequest; #[cfg(feature = "secrets")] use gh_lib::core::secrets::{Secret, SecretListResponse, Secrets as _}; #[cfg(feature = "workflows")] use gh_lib::core::{ workflow_jobs::WorkflowJobs as _, workflow_runs::WorkflowRuns as _, workflows::{WorkflowList, WorkflowUsage, WorkflowUsageTiming, Workflows as _}, }; #[cfg(feature = "config")] mod config; macro_rules! printmd { ($($arg:tt)*) => ({ printmd(&format!($($arg)*)); }) } fn printmd(md: &str) { use crossterm::style::{Attribute, Color}; use termimad::{rgb, MadSkin, StyledChar}; lazy_static::lazy_static! { static ref TERM_SKIN: MadSkin = { let mut skin = MadSkin::default(); skin.set_headers_fg(Color::DarkCyan); skin.headers.iter_mut().for_each(|h| h.add_attr(Attribute::Bold)); skin.headers[0].set_fg(Color::Yellow); skin.headers[0].set_bg(Color::DarkCyan); skin.bold.set_fg(Color::DarkYellow); skin.italic.set_fgbg(Color::Magenta, rgb(30, 30, 40)); skin.bullet = StyledChar::from_fg_char(Color::Yellow, '⟡'); skin.quote_mark.set_fg(Color::Yellow); skin }; } TERM_SKIN.print_text(md); } fn get_git_addr_from_repo() -> anyhow::Result<String> { let output = std::process::Command::new("git") .args(&["config", "--get", "remote.origin.url"]) .output()? .stdout; let re = regex::Regex::new(r"github\.com[:/](\S+)/(\S+)\.git").unwrap(); let regex_cap_err = || anyhow::anyhow!("Unable to capture github git repo!"); re.captures(std::str::from_utf8(&output)?) .and_then(|caps| { match ( caps.get(1).map(|c| c.as_str()), caps.get(2).map(|c| c.as_str()), ) { (Some(owner), Some(name)) => Some(format!("{}/{}", owner, name)), _ => None, } }) .ok_or_else(regex_cap_err) } lazy_static::lazy_static! { static ref GIT_REPO_ADDR_FROM_REPO: anyhow::Result<String> = get_git_addr_from_repo(); static ref REPO_ADDR: &'static str = GIT_REPO_ADDR_FROM_REPO.as_ref().map_or_else(|_| "", |addr| addr); static ref IS_ADDR_REQUIRED: bool = GIT_REPO_ADDR_FROM_REPO.is_err(); } #[derive(Clap)] #[clap( name = "GitHub CLI", version = concat!("v", clap::crate_version!()), author = "Aslam Ahammed A. <aslamplr@gmail.com>", about = r#"Yet another unofficial GitHub CLI! Minimalistic, opinionated, and unofficial by default. Work is in progress to add more subcommands. Absolute No Warranty!"# )] struct Opts { #[clap(subcommand)] subcmd: SubCommand, } #[derive(Clap)] enum SubCommand { #[cfg(feature = "login")] #[clap(about = "Login using GitHub OAuth (requires web browser)")] Login, #[cfg(any(feature = "basic-info", feature = "collaborators"))] #[clap(about = "Repository operations")] Repo(Repo), #[cfg(feature = "secrets")] #[clap(about = "Actions secrets")] Secrets(Secrets), #[cfg(any(feature = "secrets", feature = "workflows"))] #[clap(about = "GitHub Actions operations")] Actions(Actions), } #[cfg(any(feature = "basic-info", feature = "collaborators"))] #[derive(Clap)] #[clap( name = "GitHub Repo CLI", version = concat!("v", clap::crate_version!()), author = "Aslam Ahammed A. <aslamplr@gmail.com>", about = "GitHub Repo CLI" )] struct Repo { #[clap(subcommand)] subcmd: RepoSubCommand, } #[cfg(any(feature = "basic-info", feature = "collaborators"))] #[derive(Clap)] enum RepoSubCommand { #[cfg(feature = "basic-info")] #[clap(about = "View repository basic information")] View(RepoView), #[cfg(feature = "collaborators")] #[clap(about = "List and manage repository collaborators")] Collaborators(Collaborators), } #[cfg(feature = "basic-info")] #[derive(Clap)] struct RepoView { #[clap( long = "name", short = 'n', value_name = "OWNER/NAME", about = "Repository address including the owner and name seperated by slash\nEg. aslamplr/gh-cli", display_order = 1, takes_value = true, required = *IS_ADDR_REQUIRED, default_value = &REPO_ADDR, hide_default_value = true, )] name: String, #[clap( long = "auth_token", short = 't', value_name = "PERSONAL_ACCESS_TOKEN", env = "GH_ACCESS_TOKEN", hide_env_values = true, about = "Generate token - https://github.com/settings/tokens", display_order = 2, takes_value = true, required = true )] auth_token: String, #[clap(long, short, about = "Print README")] readme: bool, } #[cfg(feature = "collaborators")] #[derive(Clap)] struct Collaborators { #[clap( long = "name", short = 'n', value_name = "OWNER/NAME", about = "Repository address including the owner and name seperated by slash\nEg. aslamplr/gh-cli", display_order = 1, takes_value = true, required = *IS_ADDR_REQUIRED, default_value = &REPO_ADDR, hide_default_value = true, )] name: String, #[clap( long = "auth_token", short = 't', value_name = "PERSONAL_ACCESS_TOKEN", env = "GH_ACCESS_TOKEN", hide_env_values = true, about = "Generate token - https://github.com/settings/tokens", display_order = 2, takes_value = true, required = true )] auth_token: String, #[clap(subcommand)] subcmd: CollaboratorsSubCommand, } #[cfg(feature = "collaborators")] #[derive(Clap)] enum CollaboratorsSubCommand { #[clap(about = "List all repository contributors")] List, #[clap(about = "Check if the user with username is a collaborator to the the repository")] Check(CollaboratorUser), #[clap(about = "Add the user with username as a collaborator to the repository")] Add(CollaboratorUserWithPermission), #[clap(about = "Remove the user with username as a collaborator from the repository")] Remove(CollaboratorUser), #[clap(about = "Get collaborators permission for the repository")] Permission(CollaboratorUser), } #[cfg(feature = "collaborators")] #[derive(Clap)] struct CollaboratorUser { #[clap(name = "USER_NAME", about = "GitHub username", index = 1)] username: String, } #[cfg(feature = "collaborators")] #[derive(Clap)] struct CollaboratorUserWithPermission { #[clap(name = "USER_NAME", about = "GitHub username", index = 1)] username: String, #[clap( name = "PERMISSION", about = "Contributor permission", index = 2, possible_values = &["pull", "push", "admin", "maintain", "triage"], default_value = "push")] permission: String, } #[cfg(any(feature = "secrets", feature = "workflows"))] #[derive(Clap)] #[clap( name = "GitHub Actions CLI", version = concat!("v", clap::crate_version!()), author = "Aslam Ahammed A. <aslamplr@gmail.com>", about = "GitHub Actions CLI have commands to view and control action workflows, runs and jobs" )] struct Actions { #[clap(subcommand)] subcmd: ActionsSubCommand, } #[cfg(any(feature = "secrets", feature = "workflows"))] #[derive(Clap)] enum ActionsSubCommand { #[cfg(feature = "workflows")] #[clap(about = "Actions Workflows")] Workflows(Workflows), #[cfg(feature = "workflows")] #[clap(about = "Actions Workflow Runs")] Runs(WorkflowRuns), #[cfg(feature = "workflows")] #[clap(about = "Actions Workflow Jobs")] Jobs(WorkflowJobs), #[cfg(feature = "secrets")] #[clap(about = "Actions Secrets")] Secrets(Secrets), } #[cfg(feature = "workflows")] #[derive(Clap)] struct Workflows { #[clap( long = "auth_token", short = 't', value_name = "PERSONAL_ACCESS_TOKEN", env = "GH_ACCESS_TOKEN", hide_env_values = true, about = "Generate token - https://github.com/settings/tokens", display_order = 2, takes_value = true, required = true )] auth_token: String, #[clap( long = "name", short = 'n', value_name = "OWNER/NAME", about = "Repository address including the owner and name seperated by slash\nEg. aslamplr/gh-cli", display_order = 1, takes_value = true, required = *IS_ADDR_REQUIRED, default_value = &REPO_ADDR, hide_default_value = true, )] name: String, #[clap(subcommand)] subcmd: WorkflowsSubCommand, } #[cfg(feature = "workflows")] #[derive(Clap)] enum WorkflowsSubCommand { List, Get(WorkflowId), Usage(WorkflowId), } #[cfg(feature = "workflows")] #[derive(Clap)] struct WorkflowId { workflow_id: u32, } #[cfg(feature = "workflows")] #[derive(Clap)] struct WorkflowRuns { #[clap( long = "auth_token", short = 't', value_name = "PERSONAL_ACCESS_TOKEN", env = "GH_ACCESS_TOKEN", hide_env_values = true, about = "Generate token - https://github.com/settings/tokens", display_order = 2, takes_value = true, required = true )] auth_token: String, #[clap( long = "name", short = 'n', value_name = "OWNER/NAME", about = "Repository address including the owner and name seperated by slash\nEg. aslamplr/gh-cli", display_order = 1, takes_value = true, required = *IS_ADDR_REQUIRED, default_value = &REPO_ADDR, hide_default_value = true, )] name: String, #[clap(subcommand)] subcmd: WorkflowRunsSubCommand, } #[cfg(feature = "workflows")] #[derive(Clap)] enum WorkflowRunsSubCommand { #[clap(about = "List All Repo Workflow Runs")] List, #[clap(about = "List All Workflow Runs for <workflow_id>")] ListWorkflow(WorkflowId), #[clap(about = "Get a Workflow Run for <run_id>")] Get(WorkflowRunId), #[clap(about = "Re-Run a Workflow Run for <run_id>")] ReRun(WorkflowRunId), #[clap(about = "Cancel a Workflow Run for <run_id>")] Cancel(WorkflowRunId), #[clap(about = "Download logs url for a Workflow Run for <run_id>")] DownloadLogs(WorkflowRunId), #[clap(about = "Delete logs for a Workflow Run for <run_id>")] DeleteLogs(WorkflowRunId), #[clap(about = "Get usage of a Workflow Run for <run_id>")] Usage(WorkflowRunId), } #[cfg(feature = "workflows")] #[derive(Clap)] struct WorkflowRunId { run_id: u32, } #[cfg(feature = "workflows")] #[derive(Clap)] struct WorkflowJobs { #[clap( long = "auth_token", short = 't', value_name = "PERSONAL_ACCESS_TOKEN", env = "GH_ACCESS_TOKEN", hide_env_values = true, about = "Generate token - https://github.com/settings/tokens", display_order = 2, takes_value = true, required = true )] auth_token: String, #[clap( long = "name", short = 'n', value_name = "OWNER/NAME", about = "Repository address including the owner and name seperated by slash\nEg. aslamplr/gh-cli", display_order = 1, takes_value = true, required = *IS_ADDR_REQUIRED, default_value = &REPO_ADDR, hide_default_value = true, )] name: String, #[clap(subcommand)] subcmd: WorkflowJobsSubCommand, } #[cfg(feature = "workflows")] #[derive(Clap)] enum WorkflowJobsSubCommand { #[clap(about = "List jobs for a Workflow Run for <run_id>")] List(WorkflowRunId), #[clap(about = "Get a job for <job_id>")] Get(WorkflowJobId), #[clap(about = "Get logs url for a job for <job_id>")] DownloadLogs(WorkflowJobId), } #[cfg(feature = "workflows")] #[derive(Clap)] struct WorkflowJobId { job_id: u32, } #[cfg(feature = "secrets")] #[derive(Clap)] struct Secrets { #[clap( long = "auth_token", short = 't', value_name = "PERSONAL_ACCESS_TOKEN", env = "GH_ACCESS_TOKEN", hide_env_values = true, about = "Generate token - https://github.com/settings/tokens", display_order = 2, takes_value = true, required = true )] auth_token: String, #[clap( long = "name", short = 'n', value_name = "OWNER/NAME", about = "Repository address including the owner and name seperated by slash\nEg. aslamplr/gh-cli", display_order = 1, takes_value = true, required = *IS_ADDR_REQUIRED, default_value = &REPO_ADDR, hide_default_value = true, )] name: String, #[clap(subcommand)] subcmd: SecretsSubCommand, } #[cfg(feature = "secrets")] #[derive(Clap)] enum SecretsSubCommand { #[clap(about = "List all secrets")] List, #[clap(about = "Print a secret")] Get(SecretsName), #[cfg(feature = "secrets-save")] #[clap(about = "Add a new secret")] Add(SecretsNameValue), #[cfg(feature = "secrets-save")] #[clap(about = "Update a secret")] Update(SecretsNameValue), #[cfg(feature = "secrets-save")] #[clap(about = "Update a secret (an alias for update)")] Edit(SecretsNameValue), #[clap(about = "Delete a secret")] Delete(SecretsName), } #[cfg(feature = "secrets")] impl std::fmt::Display for SecretsSubCommand { fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { let act = match self { SecretsSubCommand::List => "list", SecretsSubCommand::Get(_) => "get", #[cfg(feature = "secrets-save")] SecretsSubCommand::Add(_) | SecretsSubCommand::Update(_) | SecretsSubCommand::Edit(_) => "save", SecretsSubCommand::Delete(_) => "delete", }; write!(f, "{}", act)?; Ok(()) } } #[cfg(feature = "secrets")] #[derive(Clap)] struct SecretsName { #[clap(name = "SECRET_NAME", index = 1)] name: String, } #[cfg(feature = "secrets-save")] #[derive(Clap)] struct SecretsNameValue { #[clap(name = "SECRET_NAME", index = 1)] name: String, #[clap(name = "SECRET_VALUE", index = 2)] value: String, } #[cfg(feature = "login")] async fn handle_login() -> anyhow::Result<()> { let user_input = { use std::io::{Read, Write}; print!("Press Enter to open github.com in your browser for auth..."); std::io::stdout().flush()?; let mut buf = [0u8; 1]; std::io::stdin().read_exact(&mut buf)?; buf[0] as char }; if user_input == '\n' { let access_token = gh_auth::start_auth_flow().await?; #[cfg(feature = "config")] { let config = config::Config::new("_", &access_token); if let Ok(config_path) = config::save_config(config).await { eprintln!("# Access token saved to config file: {:?}", config_path); } else { eprintln!("# Unable to establish a config file!"); eprintln!("# Run the following to use the access token in subesquent requests!\n"); println!("export GH_ACCESS_TOKEN={}", access_token); } } #[cfg(not(feature = "config"))] { eprintln!("# Run the following to use the access token in subesquent requests!\n"); println!("export GH_ACCESS_TOKEN={}", access_token); } eprintln!(""); let oauth_host = gh_auth::OAUTH_HOST; let client_id = gh_auth::OAUTH_CLIENT_ID; eprintln!( "# Review or revoke access visit - https://{}/settings/connections/applications/{}", oauth_host, client_id ); } else { return Err(anyhow::anyhow!("Unexpected input!")); } Ok(()) } #[cfg(feature = "basic-info")] async fn handle_repo_view(repo: &RepoView) -> anyhow::Result<()> { let RepoView { name, auth_token, readme, } = repo; let repo = RepoRequest::try_from(&name, &auth_token)?; let (basic_info, readme) = { if *readme { tokio::join!(repo.get_basic_info(), async { repo.get_raw_readme().await.ok() }) } else { (repo.get_basic_info().await, None) } }; let basic_info = basic_info?; if let Some(repo) = &basic_info.repository { let basic_info_response::RepoBasicInfoQueryRepository { name_with_owner, description, created_at, pushed_at, homepage_url, is_private, is_archived, primary_language, license_info, stargazers, } = repo; let access_type = if *is_private { "Private" } else { "Public" }; let license = if let Some(license_info) = &license_info { &license_info.name } else { "Unlicensed" }; let stargazers = stargazers.total_count; let primary_language = if let Some(primary_language) = primary_language { format!(" [{}]", &primary_language.name) } else { "".to_owned() }; println!( "{}", format!( "{} [🚦 {}] [⚖️ {}] [⭐️ {}]{}", name_with_owner, access_type, license, stargazers, primary_language ) .bold() ); if let Some(homepage_url) = homepage_url { println!("{}", &homepage_url); } if *is_archived { println!("This repo is archived"); } if let Some(description) = description { println!("{}", &description); } println!(); println!("Created at \t{}", created_at); if let Some(pushed_at) = pushed_at { println!("Last commit at \t{}", pushed_at); } if let Some(readme) = readme { println!(); printmd("---"); printmd(&readme); printmd("---"); } } Ok(()) } #[cfg(feature = "basic-info")] async fn handle_repo_collaborators(collab: &Collaborators) -> anyhow::Result<()> { let Collaborators { name, auth_token, subcmd, } = collab; let repo = RepoRequest::try_from(&name, &auth_token)?; match &subcmd { CollaboratorsSubCommand::List => { let collaborators = repo.get_collaborators().await?; println!("Collaborators: \n{:#?}", collaborators); } CollaboratorsSubCommand::Check(user) => { let is_collaborator = repo.is_collaborator(&user.username).await?; println!("Is collaborator: {}", is_collaborator); } CollaboratorsSubCommand::Add(user) => { let add_response = repo .add_collaborator(&user.username, &user.permission) .await?; println!("Add collaborator response: {:?}", add_response); } CollaboratorsSubCommand::Remove(user) => { repo.remove_collaborator(&user.username).await?; println!("Removed collaborator"); } CollaboratorsSubCommand::Permission(user) => { let resp = repo.get_permission(&user.username).await?; println!("User permission: {}", resp.permission); } } Ok(()) } #[cfg(feature = "workflows")] async fn handle_actions_workflows(workflows: &Workflows) -> anyhow::Result<()> { let Workflows { name, auth_token, subcmd, } = workflows; let repo = RepoRequest::try_from(&name, &auth_token)?; match &subcmd { WorkflowsSubCommand::List => { let WorkflowList { total_count, workflows, } = repo.get_all_workflows().await?; let workflows = workflows .iter() .map(|w| { [ format!("|name|{}", w.name), format!("|id|{}", w.id), format!("|node_id|{}", w.node_id), format!("|path|{}", w.path), format!("|state|{}", w.state), format!("|created_at|{}", w.created_at), format!("|updated_at|{}", w.updated_at), format!("|url|{}", w.url), format!("|html_url|{}", w.html_url), format!("|badge_url|{}", w.badge_url), ] .join("\n") }) .collect::<Vec<_>>() .join("\n|-:|:-|\n"); printmd!( r#"|-:|:-| |**Field**|**Value**| |-:|:-| {} |- Total workflows: {}"#, workflows, total_count ); } WorkflowsSubCommand::Get(WorkflowId { workflow_id }) => { let workflow = repo.get_a_workflow(*workflow_id).await?; printmd!( r#"|-:|:-| |**Field**|**Value**| |-:|:-| {} |-"#, [ format!("|name|{}", workflow.name), format!("|id|{}", workflow.id), format!("|node_id|{}", workflow.node_id), format!("|path|{}", workflow.path), format!("|state|{}", workflow.state), format!("|created_at|{}", workflow.created_at), format!("|updated_at|{}", workflow.updated_at), format!("|url|{}", workflow.url), format!("|html_url|{}", workflow.html_url), format!("|badge_url|{}", workflow.badge_url), ] .join("\n") ); } WorkflowsSubCommand::Usage(WorkflowId { workflow_id }) => { let WorkflowUsage { billable } = repo.get_workflow_usage(*workflow_id).await?; let get_usage_pf = |pf: &str, timing: Option<WorkflowUsageTiming>| { format!( "|{}|{}|", pf, timing .map(|t| format!("{}ms", t.total_ms)) .unwrap_or_else(|| "unknown".into()) ) }; printmd!( r#"|-:|-:| |**Platform**|**Usage**| |-:|-:| {} |-:|-:| {} |-:|-:| {} |-"#, get_usage_pf("MACOS", billable.MACOS), get_usage_pf("UBUNTU", billable.UBUNTU), get_usage_pf("WINDOWS", billable.WINDOWS) ); } } Ok(()) } #[cfg(feature = "workflows")] async fn handle_actions_workflow_runs(workflow_runs: &WorkflowRuns) -> anyhow::Result<()> { let WorkflowRuns { name, auth_token, subcmd, } = workflow_runs; let repo = RepoRequest::try_from(&name, &auth_token)?; match &subcmd { WorkflowRunsSubCommand::List => { let all_repo_runs = repo.get_all_workflow_runs().await?; println!("All Repo Workflow Runs: {:#?}", all_repo_runs); } WorkflowRunsSubCommand::ListWorkflow(WorkflowId { workflow_id }) => { let workflow_runs = repo.get_workflow_runs(*workflow_id).await?; println!("Workflow Runs: {:#?}", workflow_runs); } WorkflowRunsSubCommand::Get(WorkflowRunId { run_id }) => { let workflow_run = repo.get_a_workflow_run(*run_id).await?; println!("Workflow Run: {:#?}", workflow_run); } WorkflowRunsSubCommand::ReRun(WorkflowRunId { run_id }) => { repo.rerun_a_workflow(*run_id).await?; println!("Workflow Re-Run Initiated!"); } WorkflowRunsSubCommand::Cancel(WorkflowRunId { run_id }) => { repo.cancel_a_workflow_run(*run_id).await?; println!("Workflow Re-Run Initiated!"); } WorkflowRunsSubCommand::DownloadLogs(WorkflowRunId { run_id }) => { let url = repo.get_run_logs_url(*run_id).await?; println!("Logs Download Url: {}", url); } WorkflowRunsSubCommand::DeleteLogs(WorkflowRunId { run_id }) => { repo.delete_run_logs(*run_id).await?; println!("Logs Deleted!"); } WorkflowRunsSubCommand::Usage(WorkflowRunId { run_id }) => { let usage = repo.get_workflow_run_usage(*run_id).await?; println!("Workflow Run Usage: {:#?}", usage); } } Ok(()) } #[cfg(feature = "workflows")] async fn handle_actions_workflow_jobs(workflow_jobs: &WorkflowJobs) -> anyhow::Result<()> { let WorkflowJobs { name, auth_token, subcmd, } = workflow_jobs; let repo = RepoRequest::try_from(&name, &auth_token)?; match &subcmd { WorkflowJobsSubCommand::List(WorkflowRunId { run_id }) => { let jobs = repo.get_workflow_run_jobs(*run_id).await?; println!("Workflow Run Jobs: {:#?}", jobs); } WorkflowJobsSubCommand::Get(WorkflowJobId { job_id }) => { let job = repo.get_a_workflow_run_job(*job_id).await?; println!("Workflow Rub Job: {:#?}", job); } WorkflowJobsSubCommand::DownloadLogs(WorkflowJobId { job_id }) => { let url = repo.get_job_logs_url(*job_id).await?; println!("Logs Download Url: {}", url); } } Ok(()) } #[cfg(feature = "secrets")] async fn handle_actions_secrets(secrets: &Secrets) -> anyhow::Result<()> { let Secrets { name, auth_token, subcmd, } = secrets; let repo = RepoRequest::try_from(&name, &auth_token)?; match &subcmd { SecretsSubCommand::List => { let SecretListResponse { total_count, secrets, } = repo.get_all_secrets().await?; let secrets = secrets .iter() .map(|s| format!("|{}|{}|{}", s.name, s.created_at, s.updated_at)) .collect::<Vec<_>>() .join("\n"); printmd("## Secrets"); printmd!("**Total: {}", total_count); printmd!( r#"|:-:|:-:|:-: |**Name**|**Created At**|**Updated At**| |-:|:-:|:- {} |-"#, secrets ); } SecretsSubCommand::Get(SecretsName { name }) => { let Secret { name, created_at, updated_at, } = repo.get_a_secret(&name).await?; printmd!("## Secret"); printmd!("**Name**:\t{}", name); printmd!("**Created At**:\t{}", created_at); printmd!("**Updated At**:\t{}", updated_at); } #[cfg(feature = "secrets-save")] SecretsSubCommand::Add(name_value) | SecretsSubCommand::Update(name_value) | SecretsSubCommand::Edit(name_value) => { let SecretsNameValue { name, value } = name_value; repo.save_secret(&name, &value).await?; println!( "{}", format!("Secret {} successful!", &subcmd).bold().green() ); } SecretsSubCommand::Delete(SecretsName { name }) => { repo.delete_a_secret(&name).await?; println!("{}", "Secret delete successful!".bold().green()); } } Ok(()) } #[tokio::main] async fn main() -> anyhow::Result<()> { #[cfg(feature = "config")] { if let Some(config::Config { access_token, .. }) = config::get_config().await { const GH_ACCESS_TOKEN: &str = "GH_ACCESS_TOKEN"; if std::env::var(GH_ACCESS_TOKEN).is_err() { std::env::set_var(GH_ACCESS_TOKEN, access_token); } else { eprint!( "{} {}\n{}\n", "warning: ".bold().yellow(), "using $GH_ACCESS_TOKEN from env, ignored token in config file!".yellow(), "run `unset GH_ACCESS_TOKEN` if this is not intentional.".dark_yellow() ); } } } let opts: Opts = Opts::parse(); match opts.subcmd { #[cfg(feature = "login")] SubCommand::Login => handle_login().await?, #[cfg(feature = "basic-info")] SubCommand::Repo(repo) => match repo.subcmd { RepoSubCommand::View(repo_view) => handle_repo_view(&repo_view).await?, RepoSubCommand::Collaborators(collab) => handle_repo_collaborators(&collab).await?, }, #[cfg(feature = "secrets")] SubCommand::Secrets(secrets) => { eprint!( "{}{}{}{}{}", "warning: ".bold().yellow(), "[Deprecation] ".bold().dark_yellow(), "This command is deprecated \nuse ".dark_yellow(), "gh-cli actions secrets <..> ".bold(), "instead! \n".dark_yellow() ); handle_actions_secrets(&secrets).await? } #[cfg(any(feature = "secrets", feature = "workflows"))] SubCommand::Actions(actions) => match actions.subcmd { #[cfg(feature = "workflows")] ActionsSubCommand::Workflows(workflows) => handle_actions_workflows(&workflows).await?, #[cfg(feature = "workflows")] ActionsSubCommand::Runs(workflow_runs) => { handle_actions_workflow_runs(&workflow_runs).await? } #[cfg(feature = "workflows")] ActionsSubCommand::Jobs(workflow_jobs) => { handle_actions_workflow_jobs(&workflow_jobs).await? } #[cfg(feature = "secrets")] ActionsSubCommand::Secrets(secrets) => handle_actions_secrets(&secrets).await?, }, } Ok(()) }
31.979744
170
0.552155
1ea7842b56bba83f3c85e375daac2acc66678909
1,207
lua
Lua
InGameAvatarEditor/src/ServerScriptService/AvatarEditorInGameSetup/AvatarEditorInGame/Modules/AvatarExperience/Catalog/Thunks/GetBundleFavorite.lua
MirayXS/avatar
7c78513fbe9587915700a0a5fd3c15d5f23596d2
[ "RSA-MD" ]
41
2021-04-30T18:27:45.000Z
2022-03-23T21:12:57.000Z
InGameAvatarEditor/src/ServerScriptService/AvatarEditorInGameSetup/AvatarEditorInGame/Modules/AvatarExperience/Catalog/Thunks/GetBundleFavorite.lua
MirayXS/avatar
7c78513fbe9587915700a0a5fd3c15d5f23596d2
[ "RSA-MD" ]
3
2021-08-24T20:07:47.000Z
2022-02-15T19:40:13.000Z
InGameAvatarEditor/src/ServerScriptService/AvatarEditorInGameSetup/AvatarEditorInGame/Modules/AvatarExperience/Catalog/Thunks/GetBundleFavorite.lua
MirayXS/avatar
7c78513fbe9587915700a0a5fd3c15d5f23596d2
[ "RSA-MD" ]
25
2021-05-02T14:33:04.000Z
2022-03-17T20:28:07.000Z
local Players = game:GetService("Players") local AvatarEditorService = game:GetService("AvatarEditorService") local Modules = Players.LocalPlayer.PlayerGui.AvatarEditorInGame.Modules local Promise = require(Modules.Packages.Promise) local ArgCheck = require(Modules.Common.ArgCheck) local CatalogConstants = require(Modules.AvatarExperience.Catalog.CatalogConstants) local PerformFetch = require(Modules.NotLApp.Thunks.PerformFetch) local SetBundleFavorite = require(Modules.AvatarExperience.Catalog.Actions.SetBundleFavorite) local function keyMapper(itemId) return CatalogConstants.GetFavoriteBundleKey .. itemId end return function(userId, bundleId) ArgCheck.isType(bundleId, "string", "GetBundleFavorite thunk expects bundleId") return PerformFetch.Single(keyMapper(bundleId), function(store) return Promise.new(function(resolve, reject) coroutine.wrap(function() local success, err = pcall(function() local isFavorited = AvatarEditorService:GetFavorite(tonumber(bundleId), Enum.AvatarItemType.Bundle) store:dispatch(SetBundleFavorite(bundleId, isFavorited)) resolve() end) if not success then print(err) reject() end end)() end) end) end
30.948718
104
0.787904
a4cdb8d812af1840d4cd3470be3c78ca67750733
729
sql
SQL
modules/core/db/init/hsql/20.create-db.sql
funxies/multitenancy-addon
f1429293851fa7a4aa86aa9b78d8e0c5c8d5657a
[ "Apache-2.0" ]
null
null
null
modules/core/db/init/hsql/20.create-db.sql
funxies/multitenancy-addon
f1429293851fa7a4aa86aa9b78d8e0c5c8d5657a
[ "Apache-2.0" ]
null
null
null
modules/core/db/init/hsql/20.create-db.sql
funxies/multitenancy-addon
f1429293851fa7a4aa86aa9b78d8e0c5c8d5657a
[ "Apache-2.0" ]
1
2020-09-25T04:59:50.000Z
2020-09-25T04:59:50.000Z
-- begin CUBASDBMT_TENANT alter table CUBASDBMT_TENANT add constraint FK_CUBASDBMT_TENANT_ACCESS_GROUP foreign key (ACCESS_GROUP_ID) references SEC_GROUP(ID)^ alter table CUBASDBMT_TENANT add constraint FK_CUBASDBMT_TENANT_ADMIN foreign key (ADMIN_ID) references SEC_USER(ID)^ create unique index IDX_CUBASDBMT_TENANT_UNIQ_ACCESS_GROUP_ID on CUBASDBMT_TENANT (ACCESS_GROUP_ID) ^ create unique index IDX_CUBASDBMT_TENANT_UNIQ_ADMIN_ID on CUBASDBMT_TENANT (ADMIN_ID) ^ create unique index IDX_CUBASDBMT_TENANT_UNIQ_NAME on CUBASDBMT_TENANT (NAME) ^ create index IDX_CUBASDBMT_TENANT_ACCESS_GROUP on CUBASDBMT_TENANT (ACCESS_GROUP_ID)^ create index IDX_CUBASDBMT_TENANT_ADMIN on CUBASDBMT_TENANT (ADMIN_ID)^ -- end CUBASDBMT_TENANT
72.9
132
0.872428
862ab66606bc3540b7609d3e255fe601f165d12f
1,122
rs
Rust
struct-enum-touple/src/main.rs
ikuo-suyama/rust-learning-path
34b236c9fc2fdfad1ff05be787c04d3d9c63e48d
[ "CC0-1.0" ]
null
null
null
struct-enum-touple/src/main.rs
ikuo-suyama/rust-learning-path
34b236c9fc2fdfad1ff05be787c04d3d9c63e48d
[ "CC0-1.0" ]
null
null
null
struct-enum-touple/src/main.rs
ikuo-suyama/rust-learning-path
34b236c9fc2fdfad1ff05be787c04d3d9c63e48d
[ "CC0-1.0" ]
null
null
null
use crate::Transmission::Manual; #[derive(Debug)] struct KeyPress(String, char); #[derive(Debug)] struct MouseClick { x: i64, y: i64, } #[derive(Debug)] enum WebEvent { WELoad(bool), WEClick(MouseClick), WEKeys(KeyPress), } // Declare Car struct to describe vehicle with four named fields #[derive(Debug)] struct Car { color: String, transmission: Transmission, convertible: bool, mileage: u32, } // Declare enum for Car transmission type #[derive(PartialEq, Debug)] enum Transmission { Manual, SemiAuto, Automatic, } fn car_factory(color: String, transmission: Transmission, convertible: bool) -> Car { let car: Car = Car { color: color, transmission: transmission, convertible: convertible, mileage: 1 }; car } fn main() { let car = car_factory("car".to_string(), Manual, true); print!("{:#?}", car); let we_load = WebEvent::WELoad(true); let click = MouseClick {x:100, y:250}; let we_click = WebEvent::WEClick(click); println!("{:#?}\n{:#?}", we_load, we_click); println!("{:?}", we_load) }
20.035714
85
0.627451
f1bef32e5da08a6ccdb911398f4ada19b9e20048
1,748
rb
Ruby
test/file.rb
ysei/mruby-io
cc40f93ac8e9bb93ae0a7cf4893c9fd9f3926d21
[ "Unlicense" ]
null
null
null
test/file.rb
ysei/mruby-io
cc40f93ac8e9bb93ae0a7cf4893c9fd9f3926d21
[ "Unlicense" ]
null
null
null
test/file.rb
ysei/mruby-io
cc40f93ac8e9bb93ae0a7cf4893c9fd9f3926d21
[ "Unlicense" ]
null
null
null
## # IO Test assert('File', '15.2.21') do File.class == Class end assert('File', '15.2.21.2') do File.superclass == IO end assert('File TEST SETUP') do MRubyIOTestUtil.io_test_setup end assert('File#initialize', '15.2.21.4.1') do io = File.open($mrbtest_io_rfname, "r") assert_nil io.close assert_raise IOError do io.close end end assert('File#path', '15.2.21.4.2') do io = File.open($mrbtest_io_rfname, "r") assert_equal $mrbtest_io_msg + "\n", io.read assert_equal $mrbtest_io_rfname, io.path io.close assert_equal $mrbtest_io_rfname, io.path io.closed? end assert('File.dirname') do path = File.dirname("filename") "." == path end assert('File.basename') do name = File.basename("../somewhere/filename") name == "filename" end assert('File.extname') do assert_equal '.txt', File.extname('foo/foo.txt') assert_equal '.gz', File.extname('foo/foo.tar.gz') assert_equal '', File.extname('foo/bar') assert_equal '', File.extname('foo/.bar') assert_equal '', File.extname('foo.txt/bar') assert_equal '', File.extname('.foo') end assert('File.size') do File.size($mrbtest_io_rfname) == $mrbtest_io_msg.size + 1 and File.size($mrbtest_io_wfname) == 0 end assert('File.join') do File.join() == "" and File.join("a") == "a" and File.join("/a") == "/a" and File.join("a/") == "a/" and File.join("a", "b", "c") == "a/b/c" and File.join("/a", "b", "c") == "/a/b/c" and File.join("a", "b", "c/") == "a/b/c/" and File.join("a/", "/b/", "/c") == "a/b/c" end assert('File.realpath') do usrbin = IO.popen("cd bin; /bin/pwd -P") { |f| f.read.chomp } assert_equal usrbin, File.realpath("bin") end assert('File TEST CLEANUP') do assert_nil MRubyIOTestUtil.io_test_cleanup end
23
64
0.64016
43d47be972349329a477e453aee6a19ccd75e907
1,857
kt
Kotlin
ceria/15/src/main/kotlin/Solution.kt
VisionistInc/advent-of-code-2020
002734670384aa02ca122086035f45dfb2ea9949
[ "MIT" ]
null
null
null
ceria/15/src/main/kotlin/Solution.kt
VisionistInc/advent-of-code-2020
002734670384aa02ca122086035f45dfb2ea9949
[ "MIT" ]
null
null
null
ceria/15/src/main/kotlin/Solution.kt
VisionistInc/advent-of-code-2020
002734670384aa02ca122086035f45dfb2ea9949
[ "MIT" ]
null
null
null
import java.io.File import java.util.Collections fun main(args : Array<String>) { val input = File(args.first()).readLines() println("Solution 1: ${solution1(input)}") println("Solution 2: ${solution2(input)}") } private fun solution1(input :List<String>) :Int { var nums = input.first().split(",").map{ it.toInt() }.toMutableList() while (nums.size < 2020) { var lastNumSpoken = nums.last() if (Collections.frequency(nums, lastNumSpoken) == 1) { nums.add(0) } else { var lastSpokenIndex = nums.dropLast(1).lastIndexOf(lastNumSpoken) nums.add((nums.size - 1) - lastSpokenIndex) } } return nums.last() } private fun solution2(input :List<String>) :Int { var nums = input.first().split(",").map{ it.toInt() } var numsMap = mutableMapOf<Int, Pair<Int, Int>>() // num => Pair(firstIndex, secondIndex) for (n in nums.indices) { numsMap.put(nums[n], Pair(n, -1)) } var turn = nums.size var lastSpoken = nums.last() while (turn < 30000000) { if (numsMap.containsKey(lastSpoken)) { var indexPair = numsMap.get(lastSpoken) if (indexPair!!.second == -1 && indexPair.first == turn - 1) { // not spoken before lastSpoken = 0 } else { // spoken before val lastSpokenPair = numsMap.get(lastSpoken) lastSpoken = lastSpokenPair!!.second - lastSpokenPair.first } } else { // not spoken before lastSpoken = 0 } if (numsMap.containsKey(lastSpoken)) { val lastSpokenPair = numsMap.get(lastSpoken) val newFirst = if (lastSpokenPair!!.second == -1) lastSpokenPair.first else lastSpokenPair.second var updatedPair = Pair(newFirst, turn) numsMap.put(lastSpoken, updatedPair) } else { numsMap.put(lastSpoken, Pair(turn, -1)) } turn++ } return lastSpoken }
28.136364
103
0.627894
a72e73dee9ee090b18990cdb716a49ce08e01fe9
7,874
lua
Lua
cl_main.lua
TheoBIET/TB-InfectedZone
7b065b8cbef9b206f43112be410df5dd88a5b70f
[ "MIT" ]
2
2020-10-16T07:10:32.000Z
2020-10-20T15:30:52.000Z
cl_main.lua
TheoBIET/TB-InfectedZone
7b065b8cbef9b206f43112be410df5dd88a5b70f
[ "MIT" ]
null
null
null
cl_main.lua
TheoBIET/TB-InfectedZone
7b065b8cbef9b206f43112be410df5dd88a5b70f
[ "MIT" ]
null
null
null
-------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------- ------------ Pour commencer n'oubliez pas de remercier íʍƊɑѵƊɑѵ#9351 pour ce script --------------------- -------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------- ESX = nil Citizen.CreateThread(function() while ESX == nil do TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) Citizen.Wait(0) end end) -- Placez ici les zones que vous souhaitez infecter -- Pour changer le rayon de la zone, allez au ligne 44, 107 et 153 tout ce que vous mettrez ici sera doublé, c'est un cercle donc 50 résulte d'un diamètre de 100 (Je ne connais pas l'unité de mesure) local zones = { { title = "~p~Zone infectée", colour = 40, -- Pour configurer la couleur blips jetez un oeil à https://wiki.rage.mp/index.php?title=Blips id = 84, -- Pour configurer l'ID du blips jetez un oeil à https://wiki.rage.mp/index.php?title=Blips x = -231.04, y = -387.12, z = 30.4 } } -------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------- ------- Création d'un blip sur la Map -------------- ------- Vous pouvez commenter cette section si vous ne souhaitez pas afficher de blips -------------- -------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------- Citizen.CreateThread(function() Citizen.Wait(0) local bool = true if bool then for k, v in pairs(zones) do zoneblip = AddBlipForRadius(v.x, v.y, v.z, 2500.0) SetBlipHighDetail(blip, true) SetBlipColour(zoneblip, 437) SetBlipAlpha(zoneblip, 90) end for _, info in pairs(zones) do info.blip = AddBlipForCoord(info.x, info.y, info.z) SetBlipSprite(info.blip, info.id) SetBlipDisplay(info.blip, 4) SetBlipScale(info.blip, 0.7) SetBlipColour(info.blip, info.colour) SetBlipAsShortRange(info.blip, true) BeginTextCommandSetBlipName("STRING") AddTextComponentString(info.title) EndTextCommandSetBlipName(info.blip) end bool = false end end) -------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------- ------------------ Envoi d'une notification à l'entrée/sortie de la zone infectée -------------------- ------------------ Activation / Désactivation des effets à l'écran -------------------- ------------------ Gestion de la résistance si masque ou non -------------------- ------------------ Animation "toux" si pas de masque -------------------- ------------------ Récupération de la résistance en sortie de zone -------------------- -------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------- Citizen.CreateThread(function() while not NetworkIsPlayerActive(PlayerId()) do Citizen.Wait(0) end while true do Citizen.Wait(0) local player = GetPlayerPed(-1) local x, y, z = table.unpack(GetEntityCoords(player, true)) ----------------------------------------------------------------------------------------------------------- -- Récupération de la distance vous séparant de la zone (Vous n'avez probablement pas besoin d'y toucher)-- ----------------------------------------------------------------------------------------------------------- local minDistance = 100000 for i = 1, #zones, 1 do dist = Vdist(zones[i].x, zones[i].y, zones[i].z, x, y, z) if dist < minDistance then minDistance = dist closestZone = i end end ----------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------- local dist = Vdist(zones[closestZone].x, zones[closestZone].y, zones[closestZone].z, x, y, z) local seconds = 1000 if dist <= 2500.0 then if not notifIn then StartScreenEffect('DeathFailNeutralIn', 0, true) ESX.ShowNotification( "~r~Attention, vous entrez dans une zone infectée, n'y laisser pas votre peau") ESX.ShowNotification("HRP: Vous risquez la mort RP") notifIn = true notifOut = false end local maskIndex = GetPedDrawableVariation(player, 1) -- Vérifie si vous portez un masque à gaz (Les numéros correspondent aux ID des masques, en l'occurence ce sont des masques à gaz, mais cela peut varier selon les serveurs et les tenues moddées présentes) if maskIndex == 129 or maskIndex == 130 or maskIndex == 166 then -- Quantité de résistance à la radiation à retirer toutes les 10 secondes avec un masque TriggerEvent('esx_status:remove', 'bionaz', 10000) -- Je retire 10000 de résistance sur 1 million toutes les 10 secondes (~16 minutes) Citizen.Wait((seconds * 10)) else -- Si la personne n'a pas de masque, alors elle toussera et perdra plus de résistance RequestAnimDict("timetable@gardener@smoking_joint") while not HasAnimDictLoaded("timetable@gardener@smoking_joint") do Citizen.Wait(100) end TaskPlayAnim(player, "timetable@gardener@smoking_joint", "idle_cough", 8.0, 8.0, -1, 50, 0, false, false, false) Citizen.Wait((seconds * 5)) ClearPedTasks(player) -- Quantité de résistance à la radiation à retirer toutes les 10 secondes sans masque TriggerEvent('esx_status:remove', 'bionaz', 20000) -- Je retire 20000 de résistance sur 1 million toutes les 10 secondes (~8 minutes) Citizen.Wait((seconds * 5)) end else StopScreenEffect('DeathFailNeutralIn', 0, true) ClearPedTasks(player) if not notifOut then ESX.ShowNotification("~g~Vous sortez de la zone infectée") notifOut = true notifIn = false end -- Une fois la personne sortie de la zone infectée, celle-ci récupère peu à peu sa résistance aux radiations Citizen.Wait((seconds * 3)) ClearPedTasks(player) TriggerEvent('esx_status:add', 'bionaz', 3000) -- Je rajoute 10000 de résistance sur 1 million toutes les 3 secondes (~5 minutes) end end end)
55.450704
230
0.425324
c38bc943b9094e5d9c5728591fdad9f3c80704a6
3,382
go
Go
apis/anidb/anidbapi.go
chetbishop/golanganidb
ed12b991958a65da07a225639b055b5009fed115
[ "MIT" ]
null
null
null
apis/anidb/anidbapi.go
chetbishop/golanganidb
ed12b991958a65da07a225639b055b5009fed115
[ "MIT" ]
null
null
null
apis/anidb/anidbapi.go
chetbishop/golanganidb
ed12b991958a65da07a225639b055b5009fed115
[ "MIT" ]
null
null
null
package anidbapi import ( "encoding/xml" "github.com/chetbishop/golanganidb/env" "io/ioutil" "log" "net/http" "os" "strconv" "strings" "time" ) //AnimeTitlesCheck checks to see if the anime-titles.xml file from AniDB has //been downloaded in the last 24 hours. AnimeTitlesCheck will download //anime-titles.xml if the file is older than 24 hours or has not been //downloaded. func AnimeTitlesCheck(RunningConfig *env.Config) { savelocation := RunningConfig.ProgramConfigPath + "/cache/anime-titles.xml" anititles, err := os.Stat(savelocation) if err != nil { log.Println("anime-titles.dat does not exist ... Downloading") AnimeTitlesGet(savelocation) } else { log.Println("checking to see if 24 hours has passed since last anime list download") daypassed := testTime24h(anititles.ModTime()) if daypassed == true { log.Println("Downloading ") AnimeTitlesGet(savelocation) } } } //AnimeTitlesGet downloades the anime-titles.xml file from AniDB. func AnimeTitlesGet(savelocation string) { log.Println("downloading anime titles") res, err := http.Get("http://anidb.net/api/anime-titles.xml.gz") if err != nil { log.Println(err) } animelist, err := ioutil.ReadAll(res.Body) res.Body.Close() if err != nil { log.Println(err) } os.Remove(savelocation) ioutil.WriteFile(savelocation, animelist, 0600) } //testTime24h tests to see if 24 hours has passed between two times. func testTime24h(modtime time.Time) bool { timediff := time.Now().Sub(modtime).Hours() var result bool if timediff > 24 { result = true } else { result = false } return result } //AnimeParse takes anime-titles.xml and produces an AnimeTitles struct with //all revelent information func AnimeParse(xmlFilestring string) AnimeTitles { xmlFile, err := os.Open(xmlFilestring) if err != nil { log.Println("Error opening file:", err) } defer xmlFile.Close() log.Println("opened file") b, _ := ioutil.ReadAll(xmlFile) var titles AnimeTitles xml.Unmarshal(b, &titles) return titles } //AnimeSearch will seach an AnimeTitles struct for an anime name and language. //It will return the aid number(s) and anime name(s) from the AnimeTitles struct. func AnimeSearch(animeTitlesStruct AnimeTitles, animename string, animelang string) []AnimeTitleSearchResults { var searchresults []AnimeTitleSearchResults for _, aid := range animeTitlesStruct.AnimeList { for x, title := range aid.Title { if AnimeTitleCompare(aid.Title[x], animename, animelang) == true { var result AnimeTitleSearchResults result.Name = title.Name result.Aid = strconv.Itoa(aid.Aid) searchresults = append(searchresults, result) } } } return searchresults } func AnimeTitleCompare(animetitle AnimeTitle, animename string, animelang string) bool { structname := strings.ToLower(animetitle.Name) structlang := strings.ToLower(animetitle.Lang) animename = strings.ToLower(animename) animelang = strings.ToLower(animelang) if strings.Contains(structname, animename) == true { if structlang == animelang { return true } } return false } func AnimeSearchWrapper(RunningConfig *env.Config, animename string, animelang string) []AnimeTitleSearchResults { AnimeTitlesCheck(RunningConfig) animexml := AnimeParse(RunningConfig.ProgramConfigPath + "/cache/anime-titles.xml") results := AnimeSearch(animexml, animename, animelang) return results }
28.905983
114
0.74453
3e80b5a5d68146e4c861ca496d8c61068ecd9b5e
208
kt
Kotlin
kotlin-mui-icons/src/main/generated/mui/icons/material/DirectionsCar.kt
Recognized/kotlin-wrappers
f4af784cd6e65c2304d9d8e49e7f30a6383a755c
[ "Apache-2.0" ]
14
2021-11-22T17:50:52.000Z
2022-03-16T14:15:54.000Z
kotlin-mui-icons/src/main/generated/mui/icons/material/DirectionsCar.kt
Recognized/kotlin-wrappers
f4af784cd6e65c2304d9d8e49e7f30a6383a755c
[ "Apache-2.0" ]
null
null
null
kotlin-mui-icons/src/main/generated/mui/icons/material/DirectionsCar.kt
Recognized/kotlin-wrappers
f4af784cd6e65c2304d9d8e49e7f30a6383a755c
[ "Apache-2.0" ]
2
2021-11-22T17:50:55.000Z
2022-02-28T18:51:07.000Z
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/DirectionsCar") @file:JsNonModule package mui.icons.material @JsName("default") external val DirectionsCar: SvgIconComponent
20.8
51
0.793269
d3e76a8557c74dfaf3523a407b4f419c0bb7cfbe
322
sql
SQL
share/migrations/SQLite/upgrade/26-27/001-auto.sql
taskboy3000/Xqursion
1a2765305464bbf8a085e5ceeca892791d620254
[ "Artistic-2.0" ]
null
null
null
share/migrations/SQLite/upgrade/26-27/001-auto.sql
taskboy3000/Xqursion
1a2765305464bbf8a085e5ceeca892791d620254
[ "Artistic-2.0" ]
null
null
null
share/migrations/SQLite/upgrade/26-27/001-auto.sql
taskboy3000/Xqursion
1a2765305464bbf8a085e5ceeca892791d620254
[ "Artistic-2.0" ]
null
null
null
-- Convert schema '/home/jjohnston/sites/Xqursion/share/migrations/_source/deploy/26/001-auto.yml' to '/home/jjohnston/sites/Xqursion/share/migrations/_source/deploy/27/001-auto.yml':; ; BEGIN; ; CREATE UNIQUE INDEX unique_email ON users (email); ; CREATE UNIQUE INDEX unique_username ON users (username); ; COMMIT;
20.125
184
0.763975
854cf1b2ad360e977f89c649a86b1c13ea9c5f32
2,216
kt
Kotlin
app/src/main/java/com/elbehiry/pcard/ui/InputItem.kt
Andre-max/PCard
b752d8ab282450feb0a95ae80c249108bd9c4774
[ "Apache-2.0" ]
58
2021-03-22T17:57:05.000Z
2022-02-07T05:41:00.000Z
app/src/main/java/com/elbehiry/pcard/ui/InputItem.kt
masreplay/PCard
b752d8ab282450feb0a95ae80c249108bd9c4774
[ "Apache-2.0" ]
null
null
null
app/src/main/java/com/elbehiry/pcard/ui/InputItem.kt
masreplay/PCard
b752d8ab282450feb0a95ae80c249108bd9c4774
[ "Apache-2.0" ]
8
2021-03-23T04:11:45.000Z
2021-04-04T09:43:27.000Z
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * 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 com.elbehiry.pcard.ui import androidx.compose.foundation.text.KeyboardOptions import androidx.compose.material.* import androidx.compose.runtime.Composable import androidx.compose.runtime.CompositionLocalProvider import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color import androidx.compose.ui.text.TextStyle import androidx.compose.ui.text.input.ImeAction import androidx.compose.ui.text.input.KeyboardType import androidx.compose.ui.text.input.TextFieldValue import androidx.compose.ui.text.input.VisualTransformation @Composable fun InputItem( textFieldValue: TextFieldValue, label: String, onTextChanged: (TextFieldValue) -> Unit, modifier: Modifier = Modifier, visualTransformation: VisualTransformation = VisualTransformation.None, textStyle: TextStyle = MaterialTheme.typography.body1.copy(color = Color.Black), keyboardType: KeyboardType = KeyboardType.Text ) { OutlinedTextField( value = textFieldValue, onValueChange = { onTextChanged(it) }, keyboardOptions = KeyboardOptions( keyboardType = keyboardType, imeAction = ImeAction.Next ), textStyle = textStyle, maxLines = 1, singleLine = true, label = { CompositionLocalProvider(LocalContentAlpha provides ContentAlpha.medium) { Text( text = label, style = MaterialTheme.typography.body2 ) } }, modifier = modifier, visualTransformation = visualTransformation ) }
35.741935
86
0.711643
bee2d2b458d24ef0527d9b8d42739339ae7adc75
644
html
HTML
users-archive/attachments/20140813/75b0092f/attachment.html
zayenz/gecode.github.io
e759c2c1940d9a018373bcc6c316d9cb04efa5a0
[ "MIT-feh" ]
1
2020-10-28T06:11:30.000Z
2020-10-28T06:11:30.000Z
users-archive/attachments/20140813/75b0092f/attachment.html
zayenz/gecode.github.io
e759c2c1940d9a018373bcc6c316d9cb04efa5a0
[ "MIT-feh" ]
1
2019-05-05T11:10:31.000Z
2019-05-05T11:10:31.000Z
users-archive/attachments/20140813/75b0092f/attachment.html
zayenz/gecode.github.io
e759c2c1940d9a018373bcc6c316d9cb04efa5a0
[ "MIT-feh" ]
4
2019-05-03T18:43:19.000Z
2020-12-17T04:06:59.000Z
<tt> &lt;div&nbsp;dir=&quot;ltr&quot;&gt;Hello,&lt;div&gt;I&nbsp;have&nbsp;an&nbsp;array&nbsp;of&nbsp;integers&nbsp;with&nbsp;unknown&nbsp;size,&nbsp; with&nbsp;an&nbsp;easy&nbsp;constraint&nbsp;for&nbsp;example&nbsp;:&lt;/div&gt;&lt;div&gt;Sum&nbsp;of&nbsp;array&nbsp;integers&nbsp;=&nbsp;10; &lt;/div&gt;&lt;div&gt;It&nbsp;could&nbsp;be&nbsp;1,9,&nbsp;or&nbsp;3,3,4,&nbsp;or&nbsp;1,1,1,7,&nbsp;etc&nbsp;...&lt;/div&gt;&lt;div&gt;Is&nbsp;there&nbsp;a&nbsp;way&nbsp;gecode&nbsp;can&nbsp;handle&nbsp;that&nbsp;?&lt;/div&gt;<br> &lt;div&gt;Cheers,&lt;/div&gt;&lt;div&gt;Richard&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;<br> </tt>
107.333333
521
0.701863
b0e459a945defc98ffd1d1da406b299c12a2fd17
1,880
rs
Rust
src/util.rs
friedm/emote
a290863a59ec382093c3c3c580675cc93bc43c17
[ "MIT" ]
null
null
null
src/util.rs
friedm/emote
a290863a59ec382093c3c3c580675cc93bc43c17
[ "MIT" ]
null
null
null
src/util.rs
friedm/emote
a290863a59ec382093c3c3c580675cc93bc43c17
[ "MIT" ]
null
null
null
use std::path::PathBuf; use std::fs::File; use std::io; use std::io::prelude::*; use blake2::{Blake2b, Digest}; pub struct FileUtil { path: PathBuf, hash_path: Option<PathBuf> } impl FileUtil { pub fn new(path: PathBuf) -> FileUtil { FileUtil { path: path, hash_path: None } } pub fn new_hashed(path: PathBuf, hash_path: PathBuf) -> FileUtil { FileUtil { path: path, hash_path: Some(hash_path) } } pub fn write<'a>(&self, to_write: &'a str) -> io::Result<()> { write(&self.path, to_write)?; self.store_hash() } pub fn read<'a>(&self) -> io::Result<String> { read(&self.path) } pub fn store_hash(&self) -> io::Result<()> { if self.hash_path.is_none() { return Ok(()) } let hash = self.get_hash()?; let hash_path = self.hash_path.clone().unwrap(); write(&hash_path, &hash) } pub fn is_stale(&self) -> io::Result<bool> { if self.hash_path.is_none() || !&self.hash_path.clone().unwrap().is_file() { return Ok(true); } let cached_hash = read(&self.hash_path.clone().unwrap())?; Ok(self.get_hash()? != cached_hash) } fn get_hash(&self) -> io::Result<String> { let mut f = File::open(&self.path)?; let hash = Blake2b::digest_reader(&mut f)?; Ok(format!("{:x}", hash)) } pub fn exists(&self) -> bool { self.path.is_file() } } fn write<'a>(path: &PathBuf, s: &'a str) -> io::Result<()> { let mut f = File::create(path)?; f.write_all(s.as_bytes())?; f.sync_all()?; Ok(()) } fn read(path: &PathBuf) -> io::Result<String> { let mut f = File::open(path)?; let mut config = String::new(); f.read_to_string(&mut config)?; Ok(config) }
23.797468
70
0.529787
c4c441437e93aa16398adf1bc85d0dfa6c820e23
12,463
kt
Kotlin
app/src/androidTestScenarios/java/uk/nhs/nhsx/covid19/android/app/flow/MultipleTestOrderingFlowTests.kt
nhsx-mirror/covid-19-app-android-ag-public
296c9decde1b5ed904b760ff77b05afc51f24281
[ "MIT" ]
null
null
null
app/src/androidTestScenarios/java/uk/nhs/nhsx/covid19/android/app/flow/MultipleTestOrderingFlowTests.kt
nhsx-mirror/covid-19-app-android-ag-public
296c9decde1b5ed904b760ff77b05afc51f24281
[ "MIT" ]
null
null
null
app/src/androidTestScenarios/java/uk/nhs/nhsx/covid19/android/app/flow/MultipleTestOrderingFlowTests.kt
nhsx-mirror/covid-19-app-android-ag-public
296c9decde1b5ed904b760ff77b05afc51f24281
[ "MIT" ]
null
null
null
package uk.nhs.nhsx.covid19.android.app.flow import kotlinx.coroutines.runBlocking import org.junit.Before import org.junit.Test import uk.nhs.nhsx.covid19.android.app.flow.functionalities.OrderTest import uk.nhs.nhsx.covid19.android.app.remote.TestResponse import uk.nhs.nhsx.covid19.android.app.remote.data.DurationDays import uk.nhs.nhsx.covid19.android.app.remote.data.VirologyTestKitType.LAB_RESULT import uk.nhs.nhsx.covid19.android.app.remote.data.VirologyTestResult.NEGATIVE import uk.nhs.nhsx.covid19.android.app.remote.data.VirologyTestResult.POSITIVE import uk.nhs.nhsx.covid19.android.app.remote.data.VirologyTestResult.VOID import uk.nhs.nhsx.covid19.android.app.report.notReported import uk.nhs.nhsx.covid19.android.app.state.State.Default import uk.nhs.nhsx.covid19.android.app.state.State.Isolation import uk.nhs.nhsx.covid19.android.app.state.State.Isolation.IndexCase import uk.nhs.nhsx.covid19.android.app.status.StatusActivity import uk.nhs.nhsx.covid19.android.app.testhelpers.TestApplicationContext.Companion.ENGLISH_LOCAL_AUTHORITY import uk.nhs.nhsx.covid19.android.app.testhelpers.base.EspressoTest import uk.nhs.nhsx.covid19.android.app.testhelpers.retry.RetryFlakyTest import uk.nhs.nhsx.covid19.android.app.testhelpers.robots.ShareKeysInformationRobot import uk.nhs.nhsx.covid19.android.app.testhelpers.robots.StatusRobot import uk.nhs.nhsx.covid19.android.app.testhelpers.robots.TestResultRobot import uk.nhs.nhsx.covid19.android.app.testordering.ReceivedTestResult import uk.nhs.nhsx.covid19.android.app.testordering.TestResultStorageOperation.Overwrite import java.time.Instant import java.time.LocalDate import java.time.temporal.ChronoUnit.DAYS import java.time.temporal.ChronoUnit.HOURS import kotlin.test.assertTrue class MultipleTestOrderingFlowTests : EspressoTest() { private val statusRobot = StatusRobot() private val orderTest = OrderTest(this) private val testResultRobot = TestResultRobot(testAppContext.app) private val shareKeysInformationRobot = ShareKeysInformationRobot() @Before fun setUp() { testAppContext.setLocalAuthority(ENGLISH_LOCAL_AUTHORITY) } @Test fun startIndexCase_receiveNegativeAndPositiveTestResultsSequentially_shouldIsolate() = notReported { testAppContext.setState( state = Isolation( isolationStart = Instant.now(), isolationConfiguration = DurationDays(), indexCase = IndexCase( symptomsOnsetDate = LocalDate.now().minusDays(3), expiryDate = LocalDate.now().plus(7, DAYS), selfAssessment = true ) ) ) startTestActivity<StatusActivity>() statusRobot.checkActivityIsDisplayed() assertTrue { (testAppContext.getCurrentState() as Isolation).isIndexCaseOnly() } val firstToken = "firstToken" val secondToken = "secondToken" orderTestFromStatusActivity(firstToken) orderTestFromStatusActivity(secondToken) testAppContext.virologyTestingApi.testResponseForPollingToken = mutableMapOf(firstToken to TestResponse(NEGATIVE, LAB_RESULT)) runBackgroundTasks() waitFor { testResultRobot.checkActivityDisplaysNegativeWontBeInIsolation() } testResultRobot.clickGoodNewsActionButton() assertTrue { testAppContext.getCurrentState() is Default } testAppContext.virologyTestingApi.testResponseForPollingToken = mutableMapOf(secondToken to TestResponse(POSITIVE, LAB_RESULT)) runBackgroundTasks() waitFor { testResultRobot.checkActivityDisplaysPositiveWillBeInIsolation() } testResultRobot.clickIsolationActionButton() shareKeysInformationRobot.checkActivityIsDisplayed() shareKeysInformationRobot.clickIUnderstandButton() waitFor { statusRobot.checkActivityIsDisplayed() } assertTrue { testAppContext.getCurrentState() is Isolation } } @Test fun startIndexCase_receiveNegativeAndNegativeTestResultsSequentially_shouldEndIsolationOnFirstNegativeTestResult() = notReported { testAppContext.setState( state = Isolation( isolationStart = Instant.now(), isolationConfiguration = DurationDays(), indexCase = IndexCase( symptomsOnsetDate = LocalDate.now().minusDays(3), expiryDate = LocalDate.now().plus(7, DAYS), selfAssessment = true ) ) ) startTestActivity<StatusActivity>() statusRobot.checkActivityIsDisplayed() assertTrue { (testAppContext.getCurrentState() as Isolation).isIndexCaseOnly() } val firstToken = "firstToken" val secondToken = "secondToken" orderTestFromStatusActivity(firstToken) orderTestFromStatusActivity(secondToken) testAppContext.virologyTestingApi.testResponseForPollingToken = mutableMapOf(firstToken to TestResponse(NEGATIVE, LAB_RESULT)) runBlocking { testAppContext.getDownloadVirologyTestResultWork().invoke() } waitFor { testResultRobot.checkActivityDisplaysNegativeWontBeInIsolation() } testResultRobot.clickGoodNewsActionButton() assertTrue { testAppContext.getCurrentState() is Default } testAppContext.virologyTestingApi.testResponseForPollingToken = mutableMapOf(secondToken to TestResponse(NEGATIVE, LAB_RESULT)) runBlocking { testAppContext.getDownloadVirologyTestResultWork().invoke() } waitFor { testResultRobot.checkActivityDisplaysNegativeWontBeInIsolation() } testResultRobot.clickGoodNewsActionButton() assertTrue { testAppContext.getCurrentState() is Default } } @RetryFlakyTest @Test fun startIndexCase_receiveMultipleTestResultsAtTheSameTime_firstPositive_thenNegative_shouldIsolate() = notReported { testAppContext.setState( state = Isolation( isolationStart = Instant.now(), isolationConfiguration = DurationDays(), indexCase = IndexCase( symptomsOnsetDate = LocalDate.now().minusDays(3), expiryDate = LocalDate.now().plus(7, DAYS), selfAssessment = true ) ) ) startTestActivity<StatusActivity>() statusRobot.checkActivityIsDisplayed() assertTrue { (testAppContext.getCurrentState() as Isolation).isIndexCaseOnly() } val firstToken = "firstToken" val secondToken = "secondToken" testAppContext.virologyTestingApi.diagnosisKeySubmissionToken = firstToken orderTestFromStatusActivity(firstToken) testAppContext.virologyTestingApi.diagnosisKeySubmissionToken = secondToken orderTestFromStatusActivity(secondToken) testAppContext.virologyTestingApi.testResponseForPollingToken = mutableMapOf( firstToken to TestResponse(NEGATIVE, LAB_RESULT), secondToken to TestResponse(POSITIVE, LAB_RESULT) ) runBlocking { testAppContext.getDownloadVirologyTestResultWork().invoke() } waitFor { testResultRobot.checkActivityDisplaysPositiveContinueIsolation() } testResultRobot.clickIsolationActionButton() shareKeysInformationRobot.checkActivityIsDisplayed() shareKeysInformationRobot.clickIUnderstandButton() waitFor { testResultRobot.checkActivityDisplaysNegativeAfterPositiveOrSymptomaticWillBeInIsolation() } testResultRobot.clickIsolationActionButton() assertTrue { testAppContext.temporaryExposureKeyHistoryWasCalled() } assertTrue { testAppContext.getCurrentState() is Isolation } } @Test fun startIndexCaseWithPositiveTestResult_receiveNegativeTestResult_shouldStayInIsolation() = notReported { val now = Instant.now() testAppContext.setState( state = Isolation( isolationStart = now.minus(1, DAYS), isolationConfiguration = DurationDays(), indexCase = IndexCase( symptomsOnsetDate = LocalDate.now().minusDays(3), expiryDate = LocalDate.now().plus(7, DAYS), selfAssessment = true ) ) ) testAppContext.getRelevantTestResultProvider().onTestResultAcknowledged( ReceivedTestResult( diagnosisKeySubmissionToken = "token", testEndDate = now.minus(1, HOURS), testResult = POSITIVE, testKitType = LAB_RESULT, diagnosisKeySubmissionSupported = true ), testResultStorageOperation = Overwrite ) startTestActivity<StatusActivity>() statusRobot.checkActivityIsDisplayed() assertTrue { (testAppContext.getCurrentState() as Isolation).isIndexCaseOnly() } orderTestFromStatusActivity("newToken") testAppContext.virologyTestingApi.testResponseForPollingToken = mutableMapOf("newToken" to TestResponse(NEGATIVE, LAB_RESULT)) runBlocking { testAppContext.getDownloadVirologyTestResultWork().invoke() } waitFor { testResultRobot.checkActivityDisplaysNegativeAfterPositiveOrSymptomaticWillBeInIsolation() } testResultRobot.clickIsolationActionButton() assertTrue { testAppContext.getCurrentState() is Isolation } } @Test fun startIndexCase_receivePositiveTestResult_thenVoidTestResult_thenNegativeTestResult_shouldStayInIsolation() = notReported { testAppContext.setState( state = Isolation( isolationStart = Instant.now(), isolationConfiguration = DurationDays(), indexCase = IndexCase( symptomsOnsetDate = LocalDate.now().minusDays(3), expiryDate = LocalDate.now().plus(7, DAYS), selfAssessment = true ) ) ) startTestActivity<StatusActivity>() statusRobot.checkActivityIsDisplayed() assertTrue { (testAppContext.getCurrentState() as Isolation).isIndexCaseOnly() } val positiveTestResultToken = "positiveTestResultToken" val voidTestResultToken = "voidTestResultToken" val negativeTestResultToken = "negativeTestResultToken" orderTestFromStatusActivity(positiveTestResultToken) orderTestFromStatusActivity(voidTestResultToken) testAppContext.virologyTestingApi.testResponseForPollingToken = mutableMapOf(positiveTestResultToken to TestResponse(POSITIVE, LAB_RESULT)) runBlocking { testAppContext.getDownloadVirologyTestResultWork().invoke() } waitFor { testResultRobot.checkActivityDisplaysPositiveContinueIsolation() } testResultRobot.clickIsolationActionButton() shareKeysInformationRobot.checkActivityIsDisplayed() shareKeysInformationRobot.clickIUnderstandButton() assertTrue { testAppContext.getCurrentState() is Isolation } testAppContext.virologyTestingApi.testResponseForPollingToken = mutableMapOf(voidTestResultToken to TestResponse(VOID, LAB_RESULT)) runBlocking { testAppContext.getDownloadVirologyTestResultWork().invoke() } waitFor { testResultRobot.checkActivityDisplaysVoidWillBeInIsolation() } testResultRobot.clickIsolationActionButton() orderTest(negativeTestResultToken) assertTrue { testAppContext.getCurrentState() is Isolation } testAppContext.virologyTestingApi.testResponseForPollingToken = mutableMapOf(negativeTestResultToken to TestResponse(NEGATIVE, LAB_RESULT)) runBlocking { testAppContext.getDownloadVirologyTestResultWork().invoke() } waitFor { testResultRobot.checkActivityDisplaysNegativeAfterPositiveOrSymptomaticWillBeInIsolation() } testResultRobot.clickIsolationActionButton() assertTrue { testAppContext.getCurrentState() is Isolation } } private fun orderTestFromStatusActivity(pollingToken: String) { statusRobot.clickOrderTest() orderTest(pollingToken) } }
37.202985
134
0.704405
7f7a4650098d3b4a7845fa2a4c792997f2bb73cf
1,290
go
Go
middleware.go
benpate/steranko
5a943f55e59dc1739b42bbcbe8e7166d4e7446ef
[ "Apache-2.0" ]
null
null
null
middleware.go
benpate/steranko
5a943f55e59dc1739b42bbcbe8e7166d4e7446ef
[ "Apache-2.0" ]
16
2022-01-21T08:31:19.000Z
2022-03-29T08:29:15.000Z
middleware.go
benpate/steranko
5a943f55e59dc1739b42bbcbe8e7166d4e7446ef
[ "Apache-2.0" ]
null
null
null
package steranko import ( "github.com/labstack/echo/v4" ) // Middleware wraps the original echo context with the Steranko context. func (s *Steranko) Middleware(next echo.HandlerFunc) echo.HandlerFunc { return func(ctx echo.Context) error { // Verify that the request is valid if err := s.ApproveRequest(ctx); err != nil { return err } return next(&Context{ Context: ctx, steranko: s, }) } } // Middleware is a standalone middleware that works for multi-tenant // environments, where you may need to use a factory to load the specific // steranko settings depending on the domain being called. func Middleware(factory Factory) echo.MiddlewareFunc { // this is the middleware function return func(next echo.HandlerFunc) echo.HandlerFunc { // this handles the specific request return func(ctx echo.Context) error { // find the correct steranko instance s, err := factory.Steranko(ctx) // handle errors (if necessary) if err != nil { return err } // Verify that the request is valid if err := s.ApproveRequest(ctx); err != nil { return err } // call the next function in the chain, now // using a Steranko context instead of the original return next(&Context{ Context: ctx, steranko: s, }) } } }
22.631579
73
0.690698
62ca0f491db6c4d2ab2e8d62ef8f390be88dc2c1
11,354
rs
Rust
src/main.rs
grepinsight/history_search
b0b707899db85d62274eda24e248cce330decc92
[ "0BSD" ]
3
2021-08-23T06:24:11.000Z
2022-01-30T07:13:35.000Z
src/main.rs
grepinsight/history_search
b0b707899db85d62274eda24e248cce330decc92
[ "0BSD" ]
null
null
null
src/main.rs
grepinsight/history_search
b0b707899db85d62274eda24e248cce330decc92
[ "0BSD" ]
null
null
null
use chrono::Utc; use itertools::Itertools; use skim::prelude::*; use std::fs::File; use std::io::prelude::*; use std::io::Cursor; use std::io::{self, BufReader}; use std::net::TcpStream; use std::path::PathBuf; use std::time; use std::time::SystemTime; use clipboard::ClipboardContext; use clipboard::ClipboardProvider; use lazy_static::lazy_static; use structopt::StructOpt; #[derive(StructOpt, Debug)] enum Command { /// init command Init { /// shell to apply init on shell: Option<String>, #[structopt(long)] print_full_init: bool, }, } #[derive(StructOpt, Debug)] #[structopt(name = "Renaming Tool")] struct Options { #[structopt(short, long)] here: bool, #[structopt(short, long)] today: bool, #[structopt(short, long)] yesterday: bool, #[structopt(short, long)] begin: Option<String>, #[structopt(short, long)] end: Option<String>, /// selected commands will be sent to this address #[structopt(short, long)] socket_addr: Option<String>, #[structopt(subcommand)] cmd: Option<Command>, } lazy_static! { static ref RE: regex::Regex = regex::Regex::new(r"\s*@@@\s*").unwrap(); } static ZSH_ETERNAL_HISTORY_FILE: &str = ".zsh_eternal_history"; static BASH_ETERNAL_HISTORY_FILE: &str = ".bash_eternal_history"; const BASH_INIT: &str = include_str!("history_search.bash"); const ZSH_INIT: &str = include_str!("history_search.zsh"); #[derive(Debug)] pub struct History { pid: i64, timestamp: SystemTime, pwd: PathBuf, command: String, } impl History { pub fn new(pid: i64, timestamp: SystemTime, pwd: PathBuf, command: String) -> History { History { pid, timestamp, pwd, command, } } } pub fn parse_content(example: &str) -> Option<History> { // let example = // "89563 @@@ 1603443782 @@@ \"/Users/allee/.tmux/plugins/tmux-thumbs\" @@@ echo hello world"; let parts: Vec<&str> = RE.split(example).collect(); let pid: i64 = match parts[0].parse() { Ok(pid) => pid, Err(_) => return None, }; let timestamp_ = parts[1].parse().unwrap(); let timestamp = time::UNIX_EPOCH + time::Duration::from_secs(timestamp_); let pwd = PathBuf::from(parts[2].replace("\"", "")); let command = if let Some(command) = parts.get(3) { command.to_string() } else { return None; }; let a = History::new(pid, timestamp, pwd, command); Some(a) } fn get_commands<I>(lines: I, options: &Options, here_directory: PathBuf) -> Vec<String> where I: Iterator<Item = Result<String, std::io::Error>>, { let mut my_commands: Vec<String> = Vec::new(); for line in lines { let mut include = true; if let Some(parsed) = parse_content(&line.unwrap()) { // here filter if options.here { let a = parsed.pwd; if a != here_directory { include &= false; } } // time filter if options.yesterday { let n = time::SystemTime::now(); let d = time::Duration::from_secs(86400); let y = n - d; if parsed.timestamp < y { include &= false; } } if options.today { let t = floor_date(time::SystemTime::now()); if parsed.timestamp < t { include &= false; } } if include { my_commands.push(parsed.command); } } } my_commands.into_iter().unique().collect() } fn floor_date(t: SystemTime) -> SystemTime { chrono::prelude::DateTime::<Utc>::from(t) .date() .and_hms(0, 0, 0) .into() } fn path_to_hsearch() -> io::Result<String> { let current_exe = std::env::current_exe()? .to_str() .ok_or_else(|| io::Error::new(io::ErrorKind::Other, "can't convert to str"))? .to_string(); Ok(current_exe) } fn main() -> io::Result<()> { let opts = Options::from_args(); let hsearch = path_to_hsearch()?.replace("\"", "\"'\"'\""); if let Some(Command::Init { shell: shell_name, print_full_init: true, }) = &opts.cmd { match shell_name.as_ref().map(String::as_str) { Some("zsh") => { print!("{}", ZSH_INIT); return Ok(()); } Some("bash") => { print!("{}", BASH_INIT); return Ok(()); } _ => println!("meh"), } } if let Some(Command::Init { shell: shell_name, print_full_init: false, }) = &opts.cmd { match shell_name.as_ref().map(String::as_str) { Some("zsh") => { let script = format!("source <(\"{}\" init zsh --print-full-init)", hsearch); print!("{}", script); return Ok(()); } Some("bash") => { let script = format!("source <(\"{}\" init bash --print-full-init)", hsearch); print!("{}", script); return Ok(()); } _ => println!("meh"), } } // check wehther current shell is zsh or bash let eternal_history_file = match std::env::var_os("ZSH_VERSION") { Some(_) => ZSH_ETERNAL_HISTORY_FILE, None => BASH_ETERNAL_HISTORY_FILE, }; let history_file = std::env::var_os("ETERNAL_HISTORY_FILE") .map(PathBuf::from) .filter(|p| p.is_absolute()) .or_else(|| dirs::home_dir().map(|d| d.join(eternal_history_file))); // get commands from history let history = File::open(history_file.unwrap())?; let history = BufReader::new(history); let here_directory = std::env::current_dir().unwrap(); // the main algorithm let my_commands = get_commands(history.lines(), &opts, here_directory).join("\n"); // fuzzy finding step let options = SkimOptionsBuilder::default() .height(Some("50%")) .multi(true) .build() .unwrap(); // `SkimItemReader` is a helper to turn any `BufRead` into a stream of `SkimItem` // `SkimItem` was implemented for `AsRef<str>` by default let item_reader = SkimItemReader::default(); let items = item_reader.of_bufread(Cursor::new(my_commands)); // `run_with` would read and show items from the stream let selected_items = Skim::run_with(&options, Some(items)) .map(|out| out.selected_items) .unwrap_or_else(|| Vec::new()); let a = if let Some(a) = selected_items.first() { a.output().replace("\\n", "\n").to_string() } else { return Ok(()); }; // clipboard step println!("{}", a); if let Some(socket_addr) = opts.socket_addr { let mut stream = TcpStream::connect(socket_addr).unwrap(); stream.write(a.as_bytes()).unwrap(); } else { let ctx = ClipboardProvider::new(); if let Ok(ctxr) = ctx { // FIXME wierd hack to type annotate let mut xx: ClipboardContext = ctxr; xx.set_contents(a.to_owned()).unwrap(); } } Ok(()) } #[cfg(test)] mod tests { use super::*; #[test] fn it_works() { let line = r##"89563 @@@ 1603443779 @@@ "/Users/allee/.tmux/plugins/tmux-thumbs" @@@ echo hi"##; let parsed = parse_content(line); let h = parsed.unwrap(); assert_eq!(h.pid, 89563); assert_eq!( h.timestamp, time::UNIX_EPOCH + time::Duration::from_secs(1603443779) ); assert_eq!( h.pwd, PathBuf::from("/Users/allee/.tmux/plugins/tmux-thumbs") ); assert_eq!(h.command, "echo hi"); } #[test] fn test_get_commands_here() { let cmd1 = r##"89563 @@@ 1603443779 @@@ "/my/path/1" @@@ echo path1"##; let cmd2 = r##"89563 @@@ 1603443779 @@@ "/my/path/2" @@@ echo path2"##; let commands = vec![Ok(String::from(cmd1)), Ok(String::from(cmd2))]; let options = Options { here: true, today: false, yesterday: false, begin: None, end: None, socket_addr: None, }; let here_directory = PathBuf::from("/my/path/1"); let cmds = get_commands(commands.into_iter(), &options, here_directory); assert_eq!(cmds, vec![String::from("echo path1")]) } #[test] fn multiline_history() { let line = r##"8508 @@@ 1604165171 @@@ "/Users/allee/src/master-rust/test_things" @@@ echo "hi my name is albert""##; let parsed = parse_content(line); let h = parsed.unwrap(); assert_eq!(h.pid, 8508); assert_eq!( h.timestamp, time::UNIX_EPOCH + time::Duration::from_secs(1604165171) ); assert_eq!( h.pwd, PathBuf::from("/Users/allee/src/master-rust/test_things") ); assert_eq!(h.command, "echo \"hi\nmy name is\nalbert\""); } #[test] fn ill_defined_line() { let line = "89563 @@@ 1603443779 @@@ \"/Users/allee/.tmux/plugins/tmux-thumbs\""; let parsed = parse_content(line); assert!(parsed.is_none()); let line = "randomstring"; let parsed = parse_content(line); assert!(parsed.is_none()); } #[test] fn test_day_filter() { // today let t = time::UNIX_EPOCH + time::Duration::from_secs(1604424029); // yesterday let t1d = humantime::parse_duration("1day").unwrap(); let y = t - t1d; let dt = chrono::prelude::DateTime::<Utc>::from(t); let dy = chrono::prelude::DateTime::<Utc>::from(y); println!("{}", dt.format("%Y-%m-%d").to_string()); println!("{}", dy.format("%Y-%m-%d").to_string()); println!("{}", t > y); let dt = chrono::prelude::DateTime::<Utc>::from(t); let dt = dt.date().and_hms(0, 0, 0); println!("{:?}", dt); println!("{:?}", floor_date(t)); } #[test] fn test_remove_duplicate_cmds() { let cmd1 = r##"89563 @@@ 1603443779 @@@ "/my/path/1" @@@ echo path1"##; let cmd2 = r##"89563 @@@ 1603443779 @@@ "/my/path/1" @@@ echo path1"##; let cmd3 = r##"89563 @@@ 1603443779 @@@ "/my/path/1" @@@ echo path2"##; let commands = vec![ Ok(String::from(cmd1)), Ok(String::from(cmd2)), Ok(String::from(cmd3)), ]; let options = Options { here: false, today: false, yesterday: false, begin: None, end: None, socket_addr: None, }; let here_directory = PathBuf::from("/my/path/1"); let cmds = get_commands(commands.into_iter(), &options, here_directory); assert_eq!( cmds, vec![String::from("echo path1"), String::from("echo path2"),] ) } #[test] #[ignore] fn test_tcp_stuff() { let mut stream = TcpStream::connect("127.0.0.1:2224").unwrap(); let lenz = stream.write(b"hello world").unwrap(); assert_eq!(lenz, 11) } }
28.385
102
0.53479
1402704a54249157dce6ad26dabf7269aba84ade
2,327
css
CSS
styles/promedios.css
MarcoRettoreDev/MathProyect
f9eab5534848e0bf410df1ed14108b371691555d
[ "MIT" ]
null
null
null
styles/promedios.css
MarcoRettoreDev/MathProyect
f9eab5534848e0bf410df1ed14108b371691555d
[ "MIT" ]
null
null
null
styles/promedios.css
MarcoRettoreDev/MathProyect
f9eab5534848e0bf410df1ed14108b371691555d
[ "MIT" ]
null
null
null
.salary-section { display:grid; place-content: center; width: 90%; height: 90%; margin: 0 auto; grid-template-columns: 1fr; grid-template-rows: 40px 2fr 1fr 1fr; } @media screen and (min-width: 810px) { .salary-section { width: 60%; } } @media screen and (min-width: 1024px) { .salary-section { width: 30%; row-gap: 20px; margin: var(--section-spacing) auto; } } .salary-section h1 { margin: 0; text-align: center; } .list-form { display:flex; flex-direction: column; justify-content: space-around; align-items: center; } .insert-container { display:flex; flex-direction: column; justify-content: space-around; width: 100%; } .input-list-container { display:flex; justify-content: space-around; color:var(--basic-color); font-family: var(--body-font); font-size: var(--normal-font-size); } .input-list-container label { justify-self: center; align-self: center; font-weight: bold; } #salary-input { color: var(--black); padding: var(--basic-padding); text-align: center; width: 40%; } .buttons-list-container { display:flex; justify-content: space-around; margin-top: var(--content-spacing); } .btn-wrapper /* Tamaño boton Add y clear */ { width: 42px; } .list-added-field { display:flex; flex-direction: column; justify-content: flex-start; align-content: center; height: 200px; width: 100%; overflow-y: scroll; box-shadow: var(--box-shadow); padding: var(--basic-padding); color: var(--basic-color); font-family: var(--body-font); font-size: var(--normal-font-size); } @media screen and (min-width: 810px) { .list-added-field { overflow-y: auto; } } .list-added-field p:first-child { font-weight: bold; margin-bottom: 12px; } .buttons-calculator-container { display: flex; justify-content: space-around; align-items: center; } .button-field-wrapper { display:flex; flex-direction: column; align-items: center; cursor: pointer; } .result-field { display:flex; flex-direction: column; justify-content: space-evenly; align-items: space-evenly; box-shadow: var(--box-shadow); padding: var(--basic-padding); color:var(--basic-color); font-family: var(--body-font); font-size: var(--normal-font-size); } .result-field p { height: 25px; }
14.63522
43
0.65621
279959699aa7e43359d5114471d16bfc5656f36c
1,662
css
CSS
data/usercss/79733.user.css
33kk/uso-archive
2c4962d1d507ff0eaec6dcca555efc531b37a9b4
[ "MIT" ]
118
2020-08-28T19:59:28.000Z
2022-03-26T16:28:40.000Z
data/usercss/79733.user.css
33kk/uso-archive
2c4962d1d507ff0eaec6dcca555efc531b37a9b4
[ "MIT" ]
38
2020-09-02T01:08:45.000Z
2022-01-23T02:47:24.000Z
data/usercss/79733.user.css
33kk/uso-archive
2c4962d1d507ff0eaec6dcca555efc531b37a9b4
[ "MIT" ]
21
2020-08-19T01:12:43.000Z
2022-03-15T21:55:17.000Z
/* ==UserStyle== @name hide_bookmarks_bar @namespace USO Archive @author miozx @description `浮动书签栏样式` @version 20121209.3.54 @license NO-REDISTRIBUTION @preprocessor uso ==/UserStyle== */ /*自动隐藏的书签栏*/ @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); #PersonalToolbar:not([customizing]) { position: fixed !important; top: 72px !important; left: 0 !important; right: 0 !important; background-color: rgb(207, 219, 236)!important; border-bottom: 1px solid !important; border-top: 0 !important; -moz-border-bottom-colors: threedshadow threedhighlight !important; color: #000 !important; text-shadow: none !important; visibility: collapse !important; opacity: 0 !important; -moz-transition: visibility 0s, opacity .2s ease-out !important; -moz-transition-delay: .1s!important; } #main-window[sizemode="normal"][tabsontop="true"] #PersonalToolbar { top: 55px !important; } #personal-bookmarks { width: 100% !important; padding-left: 4px !important; padding-right: 4px !important; } #navigator-toolbox[tabsontop="false"]:hover > #PersonalToolbar[collapsed="false"], #main-window[tabsontop="true"] #navigator-toolbox:hover > #PersonalToolbar[collapsed="false"], #main-window[tabsontop="true"] #PersonalToolbar[collapsed="false"]:hover { visibility: visible !important; opacity: .8 !important; -moz-transition: .1s ease-in !important; -moz-transition-delay: .1s!important; }
35.361702
95
0.637184
79121185b6922a25f7b744bfa2f5e49fbc816391
356
asm
Assembly
programs/oeis/166/A166114.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/166/A166114.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/166/A166114.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A166114: a(n) = (6-(-4)^n)/5. ; 1,2,-2,14,-50,206,-818,3278,-13106,52430,-209714,838862,-3355442,13421774,-53687090,214748366,-858993458,3435973838,-13743895346,54975581390,-219902325554,879609302222,-3518437208882,14073748835534,-56294995342130,225179981368526,-900719925474098,3602879701896398 add $0,1 mov $1,-4 pow $1,$0 add $1,4 div $1,20 add $1,1
35.6
265
0.75
6166836d53ef681fa9a238af1737d82d4d60fa94
81
css
CSS
src/main/resources/static/css/style.css
Cadulox/springmvc-crud-professores
e6f0ea282cc722f8ae35ab418fc35fd0dfc9c196
[ "MIT" ]
null
null
null
src/main/resources/static/css/style.css
Cadulox/springmvc-crud-professores
e6f0ea282cc722f8ae35ab418fc35fd0dfc9c196
[ "MIT" ]
null
null
null
src/main/resources/static/css/style.css
Cadulox/springmvc-crud-professores
e6f0ea282cc722f8ae35ab418fc35fd0dfc9c196
[ "MIT" ]
null
null
null
.error-message { color: #dc3545; } .success-message { color: #198754; }
10.125
19
0.592593
0cc52afa5bda9e011a3f67aa407ce29b267af421
1,409
py
Python
Unit 7 Objects/LessonQ33.1.py
ItsMrTurtle/PythonChris
4513dea336e68f48fabf480ad87bc538a323c2cd
[ "MIT" ]
null
null
null
Unit 7 Objects/LessonQ33.1.py
ItsMrTurtle/PythonChris
4513dea336e68f48fabf480ad87bc538a323c2cd
[ "MIT" ]
null
null
null
Unit 7 Objects/LessonQ33.1.py
ItsMrTurtle/PythonChris
4513dea336e68f48fabf480ad87bc538a323c2cd
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed May 27 18:48:24 2020 @author: Christopher Cheng """ class Stack(object): def __init__ (self): self.stack = [] def get_stack_elements(self): return self.stack.copy() def add_one(self, item): self.stack.append(item) def add_many(self,item,n): # item is still a single string, n times for i in range (n): self.stack.append(item) def remove_one(self): self.stack.pop() def remove_many(self,n): for i in range(n): self.stack.pop() def size(self): return len(self.stack) def prettyprint(self): for thing in self.stack[::-1]: print("|_", thing,"_|") def add_list(self, L): for e in L: self.stack.append(e) def __str__ (self): ret = "" for thing in self.stack[::-1]: ret += ("|_" + str(thing) + "_|\n") return ret class Circle (object): def __init__(self): self.radius = 0 def change_radius(self, radius): self.radius = radius def get_radius (self): return self.radius def __str__(self): return "circle: " + str(self.radius) circles = Stack() one_circle = Circle() one_circle.change_radius(1) circles.add_one(one_circle) two_circle = Circle() two_circle.change_radius(2) circles.add_one(two_circle) print(circles)
26.092593
71
0.581973
3eaca0f4d972277ef114d85d280be38086ac3a1a
9,418
h
C
src/Geom.h
nQuantums/JunkCpp
1b0b9657520cc2c30a78c5b68915db872358146e
[ "MIT" ]
1
2018-12-11T14:51:43.000Z
2018-12-11T14:51:43.000Z
windows/cpp/Junk/Geom.h
nQuantums/tips
cdea2a0e778d2de14cd69882f6273c872c366f03
[ "MIT" ]
null
null
null
windows/cpp/Junk/Geom.h
nQuantums/tips
cdea2a0e778d2de14cd69882f6273c872c366f03
[ "MIT" ]
null
null
null
#pragma once #ifndef __JUNK_GEO_H__ #define __JUNK_GEO_H__ #include "JunkConfig.h" #include "Vector.h" _JUNK_BEGIN namespace Geo { //! pを開始点としvを方向ベクトルとする線分と点cとの最近点の線分パラメータを計算する //! @return 線分のパラメータ template< class PT, //!< VectorN 形式のクラス class VT, //!< VectorN 形式のクラス class CT //!< VectorN 形式のクラス > _FINLINE typename CT::ValueType LinePointNearestParam( const PT& p, //!< [in] 線分の開始点 const VT& v, //!< [in] 線分の方向ベクトル const CT& c //!< [in] 最近点を調べる点c ) { return (c - p).Dot(v) / v.LengthSquare(); } //! 2次元線分同士の交点パラメータを計算する //! @return 計算できたら0以外が返る template< class P1T, //!< VectorN 形式のクラス class V1T, //!< VectorN 形式のクラス class P2T, //!< VectorN 形式のクラス class V2T, //!< VectorN 形式のクラス class CT //!< 戻りパラメータの型 > _FINLINE ibool Line2IntersectParam( const P1T& p1, //!< [in] 線分1の開始点 const V1T& v1, //!< [in] 線分1の方向ベクトル const P2T& p2, //!< [in] 線分2の開始点 const V2T& v2, //!< [in] 線分2の方向ベクトル CT& t1, //!< [out] 線分1のパラメータが返る CT& t2 //!< [out] 線分2のパラメータが返る ) { auto d = v1(0) * v2(1) - v1(1) * v2(0); if (d == decltype(d)(0)) return false; auto pv = p2 - p1; t1 = (pv(0) * v2(1) - pv(1) * v2(0)) / d; t2 = (pv(0) * v1(1) - pv(1) * v1(0)) / d; return true; } //! 2次元線分同士の交点パラメータを計算する、その際に線分範囲外が判明し次第計算を打ち切る //! @return 交差するなら0以外が返る template< class P1T, //!< VectorN 形式のクラス class V1T, //!< VectorN 形式のクラス class P2T, //!< VectorN 形式のクラス class V2T, //!< VectorN 形式のクラス class CT //!< 戻りパラメータの型 > _FINLINE ibool Line2IntersectParamCheckRange( const P1T& p1, //!< [in] 線分1の開始点 const V1T& v1, //!< [in] 線分1の方向ベクトル const P2T& p2, //!< [in] 線分2の開始点 const V2T& v2, //!< [in] 線分2の方向ベクトル CT tolerance, //!< [in] 線分パラメータ範囲内判定用許容誤差値、許容誤差内なら0~1の範囲を超えていても交差していることにする CT& t1, //!< [out] 線分1のパラメータが返る CT& t2 //!< [out] 線分2のパラメータが返る ) { auto d = v1(0) * v2(1) - v1(1) * v2(0); if (d == decltype(d)(0)) return false; auto pv = p2 - p1; t2 = (pv(0) * v1(1) - pv(1) * v1(0)) / d; if (t2 < -tolerance || tolerance < t2 - decltype(t2)(1)) return false; t1 = (pv(0) * v2(1) - pv(1) * v2(0)) / d; return -tolerance <= t1 && t1 - decltype(t1)(1) <= tolerance; } // 2次元線分同士が交差しているか調べる、交点のパラメータは計算しない(整数ベクトル使用可) //! @return 交差しているなら0以外が返る template< class S1T, //!< VectorN 形式のクラス class E1T, //!< VectorN 形式のクラス class S2T, //!< VectorN 形式のクラス class E2T //!< VectorN 形式のクラス > _FINLINE ibool Line2Intersect( const S1T& s1, //!< [in] 線分1の開始点 const E1T& e1, //!< [in] 線分1の終了点 const S2T& s2, //!< [in] 線分2の開始点 const E2T& e2 //!< [in] 線分2の終了点 ) { auto v = s1 - e1; auto ox = s2(1) - s1(1); auto oy = s1(0) - s2(0); if (decltype(v)(0) <= (v(0) * ox + v(1) * oy) * (v(0) * (e2(1) - s1(1)) + v(1) * (s1(0) - e2(0)))) return false; v = s2 - e2; if (decltype(v)(0) <= -(v(0) * ox + v(1) * oy) * (v(0) * (e1(1) - s2(1)) + v(1) * (s2(0) - e1(0)))) return false; return true; } //! 2次元線分同士の交差のラフチェックを行う(整数ベクトル使用可) //! @return 交差する可能性があるなら0以外が返る template< class S1T, //!< VectorN 形式のクラス class E1T, //!< VectorN 形式のクラス class S2T, //!< VectorN 形式のクラス class E2T //!< VectorN 形式のクラス > _FINLINE ibool Line2RoughIntersect( const S1T& s1, //!< [in] 線分1の開始点 const E1T& e1, //!< [in] 線分1の終了点 const S2T& s2, //!< [in] 線分2の開始点 const E2T& e2 //!< [in] 線分2の終了点 ) { if (e1(0) <= s1(0)) { if ((s1(0) < s2(0) && s1(0) < e2(0)) || (e1(0) > s2(0) && e1(0) > e2(0))) return false; } else if ((e1(0) < s2(0) && e1(0) < e2(0)) || (s1(0) > s2(0) && s1(0) > e2(0))) { return false; } if (e1(1) <= s1(1)) { if ((s1(1) < s2(1) && s1(1) < e2(1)) || (e1(1) > s2(1) && e1(1) > e2(1))) return false; } else if ((e1(1) < s2(1) && e1(1) < e2(1)) || (s1(1) > s2(1) && s1(1) > e2(1))) { return false; } return true; } //! 0を開始点としv1を方向ベクトルとする線分とp2を開始としv2を方向ベクトルとする線分との最近点のパラメータ計算する //! @return 最近点が計算できたら0以外が返る template< class V1T, //!< VectorN 形式のクラス class P2T, //!< VectorN 形式のクラス class V2T, //!< VectorN 形式のクラス class CT //!< 戻りパラメータの型 > ibool LineNearestParam( V1T v1, //!< [in] 線分1の方向ベクトル P2T p2, //!< [in] 線分2の開始点 V2T v2, //!< [in] 線分2の方向ベクトル CT& t1, //!< [out] 線分1のパラメータが返る CT& t2 //!< [out] 線分2のパラメータが返る ) { auto d1 = p2.Dot(v1); auto d2 = p2.Dot(v2); auto dv = v1.Dot(v2); auto v1sq = v1.LengthSquare(); auto v2sq = v2.LengthSquare(); auto den = v1sq * v2sq - dv * dv; if (den == decltype(den)(0)) { t1 = CT(0); t2 = CT(0); return false; } t1 = CT((d1 * v2sq - d2 * dv) / den); t2 = CT((d1 * dv - d2 * v1sq) / den); return true; } //! Pnを開始点としVnを方向ベクトルとする2線分との最近点のパラメータ計算する //! @return 最近点が計算できたら0以外が返る template< class P1T, //!< VectorN 形式のクラス class V1T, //!< VectorN 形式のクラス class P2T, //!< VectorN 形式のクラス class V2T, //!< VectorN 形式のクラス class CT //!< 戻りパラメータの型 > ibool LineNearestParam( P1T p1, //!< [in] 線分1の開始点 V1T v1, //!< [in] 線分1の方向ベクトル P2T p2, //!< [in] 線分2の開始点 V2T v2, //!< [in] 線分2の方向ベクトル CT& t1, //!< [out] 線分1のパラメータが返る CT& t2 //!< [out] 線分2のパラメータが返る ) { auto pv = p2 - p1; auto d1 = pv.Dot(v1); auto d2 = pv.Dot(v2); auto dv = v1.Dot(v2); auto v1sq = v1.LengthSquare(); auto v2sq = v2.LengthSquare(); auto den = v1sq * v2sq - dv * dv; if (den == decltype(den)(0)) { t1 = CT(0); t2 = CT(0); return false; } t1 = CT((d1 * v2sq - d2 * dv) / den); t2 = CT((d1 * dv - d2 * v1sq) / den); return true; } //! pを開始点としvを方向ベクトルとする太さを持つ線分に点Cが接触しているか調べる //! @return 接触しているなら0以外が返る template< class PT, //!< VectorN 形式のクラス class VT, //!< VectorN 形式のクラス class CT //!< VectorN 形式のクラス > ibool ThicknessLineTouch( const PT& p, //!< [in] 線分の開始点 const VT& v, //!< [in] 線分の方向ベクトル const CT& c, //!< [in] 調べる点c typename PT::ValueType thic2, //!< [in] 線分の太さの二乗 typename PT::ValueType* pt = 0, //! [out] 途中で計算される点cに最も近い線分上の点のパラメタを取得したい場合は有効なポインタを、それ以外はnullptrを指定する PT* pPos = 0, //!< [out] 途中で計算される点cに最も近い線分上の点を取得したい場合は有効なポインタを、それ以外はnullptrを指定する(パラメタから明らかに線分に接触していない場合は計算されません) typename PT::ValueType* pdist2 = 0 //!< [out] 途中で計算される点cに最も近い線分上の点との距離の二乗を取得したい場合有効なポインタを、それ以外はnullptrを指定する(パラメタから明らかに線分に接触していない場合は計算されません) ) { auto t = LinePointNearestParam(p, v, c); if (pt) *pt = t; if (t < decltype(t)(0) || decltype(t)(1) < t) return false; auto pos = p + v * t; if (pPos) *pPos = pos; auto dist2 = (pos - C).LengthSquare(); if (pdist2) *pdist2 = dist2; return dist2 <= thic2; } //! 点が2次元多角形の内にあるか調べる、辺と点上の座標は接触しているとみなされない //! @return 点が多角形内にあるなら0以外が返る template< class CT, //!< VectorN 形式のクラス class VT, //!< VectorN 形式のクラス class PRJ = ProjectVector2<Vector2<typename VT::ValueType> > //!< 入力頂点から2次元ベクトルのみを抽出するクラス > inline intptr_t PointInPolygon2( CT c, //!< [in] 点の座標 const VT* pvts, //!< [in] 多角形の頂点列ポインタ intptr_t nvts, //!< [in] 多角形の頂点数、3以上でなければならない ibool close = false, //!< [in] 多角形の始点と終点を閉じて判定をする場合は0以外を指定する PRJ prj = ProjectVector2<Vector2<typename VT::ValueType> >() //!< [in] 入力頂点から2次元ベクトルのみを抽出するクラス ) { intptr_t i, count = 0; intptr_t n = close ? nvts + 1 : nvts; auto p1 = prj(pvts[0]); auto x1 = c(0) - p1(0); decltype(x1) zero(0); for (i = 1; i < n; i++) { auto p2 = prj(pvts[close ? i % nvts : i]); auto x2 = c(0) - p2(0); if ((x1 < zero && zero <= x2) || (zero <= x1 && x2 < zero)) count += x1 * (p2(1) - p1(1)) < (c(1) - p1(1)) * (p2(0) - p1(0)) ? -1 : 1; p1 = p2; x1 = x2; } return count; } //! 点が2次元多角形に接触しているか調べる、辺と点上の座標は接触しているとみなす //! @return 点が多角形内にあるなら2、辺または頂点上にあるなら1、それ以外なら0が返る template< class CT, //!< VectorN 形式のクラス class VT, //!< VectorN 形式のクラス class PRJ = ProjectVector2<Vector2<typename VT::ValueType> > //!< 入力頂点から2次元ベクトルのみを抽出するクラス > inline intptr_t PointTouchPolygon2( CT c, //!< [in] 点の座標 const VT* pvts, //!< [in] 多角形の頂点列ポインタ intptr_t nvts, //!< [in] 多角形の頂点数、3以上でなければならない ibool close = false, //!< [in] 多角形の始点と終点を閉じて判定をする場合は0以外を指定する PRJ prj = ProjectVector2<Vector2<typename VT::ValueType> >() //!< [in] 入力頂点から2次元ベクトルのみを抽出するクラス ) { intptr_t i, count = 0; intptr_t n = close ? nvts + 1 : nvts; auto p1 = prj(pvts[0]); auto y1 = c(1) - p1(1); decltype(y1) zero(0); for (i = 1; i < n; i++) { auto p2 = prj(pvts[close ? i % nvts : i]); auto y2 = c(1) - p2(1); if ((y1 < zero && zero <= y2) || (zero <= y1 && y2 < zero)) { auto rx = c(0) - p1(0); auto dy = p2(1) - p1(1); auto dx = p2(0) - p1(0); auto t1 = y1 * dx; auto t2 = rx * dy; if (t1 == t2) return 1; count += t1 < t2 ? -1 : 1; } else if (y1 == zero && y2 == zero) { auto x1 = c(0) - p1(0); auto x2 = c(0) - p2(0); if ((x1 <= zero) != (x2 <= zero) || x1 == zero || x2 == zero) return 1; } else if (c == p1) { return 1; } p1 = p2; y1 = y2; } return count != 0 ? 2 : 0; } //! 多角形の面積と回り方向を計算する //! @return 多角形の面積が返る、ポリゴンが反時計回りなら正数、時計回りなら負数となる template< class VT, //!< VectorN 形式のクラス class PRJ = ProjectVector2<Vector2<typename VT::ValueType> > //!< 入力頂点から2次元ベクトルのみを抽出するクラス > inline typename VT::ValueType Polygon2Area( const VT* pvts, //!< [in] 多角形の頂点列ポインタ intptr_t nvts, //!< [in] 多角形の頂点数、3以上でなければならない PRJ prj = ProjectVector2<Vector2<typename VT::ValueType> >() //!< [in] 入力頂点から2次元ベクトルのみを抽出するクラス ) { typedef typename VT::ValueType val; intptr_t i; val s(0); auto p1 = prj(pvts[0]); for (i = 1; i <= nvts; i++) { auto p2 = prj(pvts[i % nvts]); s += (p1(0) - p2(0)) * (p1(1) + p2(1)); p1 = p2; } return s / val(2); } } _JUNK_END #endif
29.43125
141
0.588341
f154dfacfb05686fdbafe107a6518816fbc61e66
1,421
rb
Ruby
app/controllers/homepage_controller.rb
joseairosa/ismyflightcancelled.com
5b9d06305b9c72f971467c587664a107d5b12c07
[ "MIT" ]
null
null
null
app/controllers/homepage_controller.rb
joseairosa/ismyflightcancelled.com
5b9d06305b9c72f971467c587664a107d5b12c07
[ "MIT" ]
null
null
null
app/controllers/homepage_controller.rb
joseairosa/ismyflightcancelled.com
5b9d06305b9c72f971467c587664a107d5b12c07
[ "MIT" ]
null
null
null
class HomepageController < ApplicationController helper_method :found_flight helper_method :requested_flight helper_method :requested_date def index if request.post? if valid_submission? if requested_flight.starts_with?('FR') flight_service = StaticFindFlightService.new( flight_number: requested_flight, flight_date: requested_date ).process end if !requested_flight.starts_with?('FR') || flight_service.nil? flight_service = FlightstatsFindFlightService.new( flight_number: requested_flight, flight_date: requested_date ).process end @found_flight = FoundFlight.new(flight_service) if @found_flight.has_error? flash.now[:error] = @found_flight.error_message @found_flight = nil end else flash.now[:error] = "Either flight number or date are invalid!" end else @found_flight = nil end end private def found_flight @found_flight end def requested_flight flight_params[:flight_number].gsub(' ', '').gsub('-', '') end def requested_date flight_params[:flight_date] end def valid_submission? !requested_flight.empty? && !requested_date.empty? && !Chronic.parse(requested_date).nil? end def flight_params params.permit(:flight_number, :flight_date) end end
24.929825
93
0.661506
c6a3217cda54bca18c67d9ba32319378821a2c42
3,093
kt
Kotlin
app/src/main/java/org/rdtoolkit/ui/sessions/TestSessionsAdapter.kt
eambriza/rd-toolkit
333629b3dcecb9060b465074a7455c2e04da3e7a
[ "Apache-2.0" ]
null
null
null
app/src/main/java/org/rdtoolkit/ui/sessions/TestSessionsAdapter.kt
eambriza/rd-toolkit
333629b3dcecb9060b465074a7455c2e04da3e7a
[ "Apache-2.0" ]
null
null
null
app/src/main/java/org/rdtoolkit/ui/sessions/TestSessionsAdapter.kt
eambriza/rd-toolkit
333629b3dcecb9060b465074a7455c2e04da3e7a
[ "Apache-2.0" ]
null
null
null
package org.rdtoolkit.ui.sessions import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter import androidx.recyclerview.widget.RecyclerView import org.rdtoolkit.R import org.rdtoolkit.model.session.STATUS import org.rdtoolkit.model.session.TestReadableState import org.rdtoolkit.model.session.TestSession import org.rdtoolkit.ui.sessions.TestSessionsAdapter.TestSessionViewHolder class TestSessionsAdapter(private val sessionsViewModel : SessionsViewModel ) : ListAdapter<TestSession, TestSessionViewHolder>(DIFF_CALLBACK) { // Provide a reference to the views for each data item // Complex data items may need more than one view per item, and // you provide access to all the views for a data item in a view holder. // Each data item is just a string in this case that is shown in a TextView. class TestSessionViewHolder(val view : View) : RecyclerView.ViewHolder(view) // Create new views (invoked by the layout manager) override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): TestSessionViewHolder { // create a new view val frame = LayoutInflater.from(parent.context) .inflate(R.layout.card_view_session, parent, false) as View return TestSessionViewHolder(frame) } // Replace the contents of a view (invoked by the layout manager) override fun onBindViewHolder(holder: TestSessionViewHolder, position: Int) { val context = holder.view.context; var session = this.getItem(position) holder.view.findViewById<TextView>(R.id.sessions_card_title).text = String.format(context.getString(R.string.sessions_card_title_text), sessionsViewModel.getDiagnosticsRepo().getTestProfile(session.testProfileId) .readableName()) holder.view.findViewById<TextView>(R.id.sessions_card_text_flavor_one).text = session.configuration.flavorText holder.view.findViewById<TextView>(R.id.sessions_card_text_flavor_two).text = session.configuration.flavorTextTwo var captureButton = holder.view.findViewById<TextView>(R.id.sessions_card_button_capture) captureButton.tag = session.sessionId if (session.state == STATUS.RUNNING && session.getTestReadableState() == TestReadableState.READABLE || session.getTestReadableState() == TestReadableState.RESOLVING) { captureButton.visibility = View.VISIBLE } else { captureButton.visibility = View.GONE } } } var DIFF_CALLBACK = object: DiffUtil.ItemCallback<TestSession>() { override fun areItemsTheSame(oldItem: TestSession, newItem: TestSession): Boolean { return oldItem.sessionId == newItem.sessionId } override fun areContentsTheSame(oldItem: TestSession, newItem: TestSession): Boolean { return oldItem.equals(newItem) } }
42.369863
175
0.723569
3e768b113198ea4ea585a0ff5e7dafacfcdc733c
3,231
sql
SQL
core/src/main/resources/schema/app/20211206164956_CB-14959_Create_ArchivedInstanceMetaData_table.sql
git4wht/cloudbreak
cc5ab9ec0789ecea52ecd6bb79a03385ce4011dd
[ "Apache-2.0" ]
null
null
null
core/src/main/resources/schema/app/20211206164956_CB-14959_Create_ArchivedInstanceMetaData_table.sql
git4wht/cloudbreak
cc5ab9ec0789ecea52ecd6bb79a03385ce4011dd
[ "Apache-2.0" ]
null
null
null
core/src/main/resources/schema/app/20211206164956_CB-14959_Create_ArchivedInstanceMetaData_table.sql
git4wht/cloudbreak
cc5ab9ec0789ecea52ecd6bb79a03385ce4011dd
[ "Apache-2.0" ]
null
null
null
-- // CB-14959 Create ArchivedInstanceMetaData table -- Migration SQL that makes the change goes here. CREATE TABLE IF NOT EXISTS archivedinstancemetadata ( variant varchar(255) NULL, rackid text NULL, availabilityzone varchar(255) NULL, lifecycle varchar(255) NULL, clustermanagerserver boolean NULL, statusreason text NULL, image text NULL, instancename varchar(255) NULL, subnetid varchar(255) NULL, servercert text NULL, instancemetadatatype varchar(255) NULL, sshport integer NULL, localityindicator varchar(255) NULL, privateid bigint NULL, instancegroup_id bigint NULL, terminationdate bigint NULL, startdate bigint NULL, publicip varchar(255) NULL, privateip varchar(255) NULL, discoveryfqdn varchar(255) NULL, instancestatus varchar(255) NULL, instanceid varchar(255) NULL, consulserver boolean NULL, ambariserver boolean NULL, id bigint NOT NULL ); ALTER TABLE archivedinstancemetadata ADD CONSTRAINT archivedinstancemetadata_pkey PRIMARY KEY (id) -- //@UNDO -- SQL to undo the change goes here. INSERT INTO instancemetadata SELECT id, ambariserver, consulserver, instanceid, instancestatus, discoveryfqdn, privateip, publicip, startdate, terminationdate, instancegroup_id, privateid, localityindicator, sshport, instancemetadatatype, servercert, subnetid, instancename, image, statusreason, clustermanagerserver, lifecycle, availabilityzone, rackid, variant FROM archivedinstancemetadata; DROP TABLE IF EXISTS archivedinstancemetadata;
48.223881
98
0.370783
f062ab5eacc6f88d66e4acffbbda1d510f5bab81
4,924
js
JavaScript
third_party/node-closure/closure.js
benvanik/games-framework
237fe91ca5f9bb41c9626ac280a3c33f4b0f3991
[ "ECL-2.0", "Apache-2.0" ]
15
2015-01-30T23:43:39.000Z
2021-05-09T15:17:40.000Z
third_party/node-closure/closure.js
benvanik/games-framework
237fe91ca5f9bb41c9626ac280a3c33f4b0f3991
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
third_party/node-closure/closure.js
benvanik/games-framework
237fe91ca5f9bb41c9626ac280a3c33f4b0f3991
[ "ECL-2.0", "Apache-2.0" ]
8
2015-06-02T07:53:33.000Z
2019-02-18T12:34:09.000Z
// Copyright 2011 Lukasz Mielicki <mielicki@gmail.com>. // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS-IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // MODIFICATIONS BY benvanik@google.com: // - various tweaks for correct paths // - support searching anvil build-* paths // - adapted for closure_js_library deps output /** @fileoverview Closure library wrapper for node.js. To apply closure to global object: require.('closure').Closure(global); To create separate instance of closure var goog = require.('closure').Closure(); By default closure library base.js is expected to be found in ./closure-library/closure/goog/, to override this, say: var goog = require.('closure').Closure({CLOSURE_BASE_PATH: 'closure/goog/'}); To fetch additional closure dependencies: goog.loadScript('my_deps.js'); To easily access other namespaces than goog either apply closure to global object or provide own global object, i.e. var root = {}; require.('closure').Closure(root); //root.goog is goog namespace //root.soy is soy namespace Enjoy! */ var vm = require('vm'); var fs = require('fs'); var assert = require('assert').ok; var path = require('path'); /** Closure library constructor. @param {Object=} opt_goog_global Optional object to be used as closure global object. @return {Object} goog namespace object. */ exports.Closure = function(opt_goog_global) { /** Internal closure global object. @private */ var goog_ = opt_goog_global || {}; // Apply closure library required settings. set_defaults(goog_, { CLOSURE_BASE_PATH: 'closure-library/closure/goog/', CLOSURE_IMPORT_SCRIPT: load_script, CLOSURE_NO_DEPS: true, goog: {}, window: { setTimeout: setTimeout, clearTimeout: clearTimeout, setInterval: setInterval, clearInterval: clearInterval, console: console }, /** execScript replacement */ execScript: function(code) { exec_script(code, 'execScript'); return null; } }); /** Extends goog with loadScript (goog.importScript_ could be used instead, but it's not part of API). Useful for loading dependency files. */ goog_.goog.loadScript = load_script; /** Loads a closure script (CLOSURE_IMPORT_SCRIPT). @param {string} filename The file to be loaded and executed. @return {boolean} Always returns true. @private */ function load_script(filename) { filename = path.relative(process.cwd, filename); var searchPaths = ['build-out', 'build-gen']; for (var n = 0; n < searchPaths.length; n++) { var searchPath = searchPaths[n]; searchFilename = path.join(searchPath, filename); try { fs.statSync(searchFilename); } catch (e) { continue; } var code = fs.readFileSync(searchFilename, 'utf8'); exec_script(code, filename); return true; } var code = fs.readFileSync(filename, 'utf8'); exec_script(code, filename); return true; } /** Executes given code in global scope or in a nifty wrapper providing direct access to all global names, i.e. (function(){with(this){ CODE }}); This is necassary to run closure scripts in same execution context while having distinct global object. @param {String} code Code to execute in closure global scope. @param {String=} opt_filename Source file path to provide reference in error messages. @private */ function exec_script(code, opt_filename) { if (goog_ === global) { // Run directly in global scope in case global object is used. vm.runInThisContext(code, opt_filename); } else { // Use wrapper. var wrapper = '(function(){with(this){' + code + '\n}});'; var fn = vm.runInThisContext(wrapper, opt_filename); fn.call(goog_); } } /** Applay defaults to target object if not yet there. @param {Object} target Object to be extended. @param {Object} defaults Source object. @private */ function set_defaults(target, defaults) { for (var attr in defaults) { if (target[attr] === undefined) { target[attr] = defaults[attr]; } } } // Load base.js var basepath = goog_.CLOSURE_BASE_PATH; assert(basepath.slice(-1) === '/', "CLOSURE_BASE_PATH must end with '/'"); load_script(basepath + 'base.js'); return goog_.goog; };
28.137143
76
0.668359
3c2aa1708083cd3363112f3517857bafff6162e5
37,041
asm
Assembly
uprogs/echo.asm
zhiyihuang/xv6_rpi_port
6dc126f558d0a9aecb60db92cf516d7597944689
[ "MIT" ]
36
2015-03-19T09:26:31.000Z
2021-09-23T09:04:44.000Z
uprogs/echo.asm
zhiyihuang/xv6_rpi_port
6dc126f558d0a9aecb60db92cf516d7597944689
[ "MIT" ]
4
2015-04-21T00:14:20.000Z
2020-07-06T06:03:03.000Z
uprogs/echo.asm
zhiyihuang/xv6_rpi_port
6dc126f558d0a9aecb60db92cf516d7597944689
[ "MIT" ]
15
2015-10-31T10:31:01.000Z
2019-10-12T01:45:17.000Z
_echo: file format elf32-littlearm Disassembly of section .text: 00000000 <main>: int main(int argc, char *argv[]) { int i; for(i = 1; i < argc; i++) 0: e3500001 cmp r0, #1 #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 4: e92d4878 push {r3, r4, r5, r6, fp, lr} 8: e1a06000 mov r6, r0 c: e28db014 add fp, sp, #20 int i; for(i = 1; i < argc; i++) 10: da000011 ble 5c <main+0x5c> 14: e3a04001 mov r4, #1 18: e1a05001 mov r5, r1 printf(1, "%s%s", argv[i], i+1 < argc ? " " : "\n"); 1c: e2844001 add r4, r4, #1 20: e1540006 cmp r4, r6 24: e5b52004 ldr r2, [r5, #4]! 28: e3a00001 mov r0, #1 2c: e59f102c ldr r1, [pc, #44] ; 60 <main+0x60> 30: 0a000007 beq 54 <main+0x54> 34: e59f3028 ldr r3, [pc, #40] ; 64 <main+0x64> 38: e2844001 add r4, r4, #1 3c: eb000205 bl 858 <printf> 40: e1540006 cmp r4, r6 44: e5b52004 ldr r2, [r5, #4]! 48: e3a00001 mov r0, #1 4c: e59f100c ldr r1, [pc, #12] ; 60 <main+0x60> 50: 1afffff7 bne 34 <main+0x34> 54: e59f300c ldr r3, [pc, #12] ; 68 <main+0x68> 58: eb0001fe bl 858 <printf> exit(); 5c: eb0000aa bl 30c <exit> 60: 00000b40 .word 0x00000b40 64: 00000b48 .word 0x00000b48 68: 00000b4c .word 0x00000b4c 0000006c <strcpy>: #include "user.h" #include "arm.h" char* strcpy(char *s, char *t) { 6c: e52db004 push {fp} ; (str fp, [sp, #-4]!) char *os; os = s; while((*s++ = *t++) != 0) 70: e1a02000 mov r2, r0 #include "user.h" #include "arm.h" char* strcpy(char *s, char *t) { 74: e28db000 add fp, sp, #0 char *os; os = s; while((*s++ = *t++) != 0) 78: e4d13001 ldrb r3, [r1], #1 7c: e3530000 cmp r3, #0 80: e4c23001 strb r3, [r2], #1 84: 1afffffb bne 78 <strcpy+0xc> ; return os; } 88: e28bd000 add sp, fp, #0 8c: e8bd0800 pop {fp} 90: e12fff1e bx lr 00000094 <strcmp>: int strcmp(const char *p, const char *q) { 94: e52db004 push {fp} ; (str fp, [sp, #-4]!) 98: e28db000 add fp, sp, #0 while(*p && *p == *q) 9c: e5d03000 ldrb r3, [r0] a0: e5d12000 ldrb r2, [r1] a4: e3530000 cmp r3, #0 a8: 1a000004 bne c0 <strcmp+0x2c> ac: ea000005 b c8 <strcmp+0x34> b0: e5f03001 ldrb r3, [r0, #1]! b4: e3530000 cmp r3, #0 b8: 0a000006 beq d8 <strcmp+0x44> bc: e5f12001 ldrb r2, [r1, #1]! c0: e1530002 cmp r3, r2 c4: 0afffff9 beq b0 <strcmp+0x1c> p++, q++; return (uchar)*p - (uchar)*q; } c8: e0620003 rsb r0, r2, r3 cc: e28bd000 add sp, fp, #0 d0: e8bd0800 pop {fp} d4: e12fff1e bx lr } int strcmp(const char *p, const char *q) { while(*p && *p == *q) d8: e5d12001 ldrb r2, [r1, #1] dc: eafffff9 b c8 <strcmp+0x34> 000000e0 <strlen>: return (uchar)*p - (uchar)*q; } uint strlen(char *s) { e0: e52db004 push {fp} ; (str fp, [sp, #-4]!) e4: e28db000 add fp, sp, #0 int n; for(n = 0; s[n]; n++) e8: e5d03000 ldrb r3, [r0] ec: e3530000 cmp r3, #0 f0: 01a00003 moveq r0, r3 f4: 0a000006 beq 114 <strlen+0x34> f8: e1a02000 mov r2, r0 fc: e3a03000 mov r3, #0 100: e5f21001 ldrb r1, [r2, #1]! 104: e2833001 add r3, r3, #1 108: e1a00003 mov r0, r3 10c: e3510000 cmp r1, #0 110: 1afffffa bne 100 <strlen+0x20> ; return n; } 114: e28bd000 add sp, fp, #0 118: e8bd0800 pop {fp} 11c: e12fff1e bx lr 00000120 <memset>: memset(void *dst, int c, uint n) { char *p=dst; u32 rc=n; while (rc-- > 0) *p++ = c; 120: e3520000 cmp r2, #0 return n; } void* memset(void *dst, int c, uint n) { 124: e52db004 push {fp} ; (str fp, [sp, #-4]!) 128: e28db000 add fp, sp, #0 char *p=dst; u32 rc=n; while (rc-- > 0) *p++ = c; 12c: 0a000006 beq 14c <memset+0x2c> 130: e6ef1071 uxtb r1, r1 134: e1a03002 mov r3, r2 } void* memset(void *dst, int c, uint n) { char *p=dst; 138: e1a0c000 mov ip, r0 u32 rc=n; while (rc-- > 0) *p++ = c; 13c: e2533001 subs r3, r3, #1 140: e4cc1001 strb r1, [ip], #1 144: 1afffffc bne 13c <memset+0x1c> 148: e0800002 add r0, r0, r2 return (void *)p; } 14c: e28bd000 add sp, fp, #0 150: e8bd0800 pop {fp} 154: e12fff1e bx lr 00000158 <strchr>: char* strchr(const char *s, char c) { 158: e52db004 push {fp} ; (str fp, [sp, #-4]!) 15c: e28db000 add fp, sp, #0 for(; *s; s++) 160: e5d03000 ldrb r3, [r0] 164: e3530000 cmp r3, #0 168: 1a000004 bne 180 <strchr+0x28> 16c: ea000008 b 194 <strchr+0x3c> 170: e5d03001 ldrb r3, [r0, #1] 174: e2800001 add r0, r0, #1 178: e3530000 cmp r3, #0 17c: 0a000004 beq 194 <strchr+0x3c> if(*s == c) 180: e1530001 cmp r3, r1 184: 1afffff9 bne 170 <strchr+0x18> return (char*)s; return 0; } 188: e28bd000 add sp, fp, #0 18c: e8bd0800 pop {fp} 190: e12fff1e bx lr strchr(const char *s, char c) { for(; *s; s++) if(*s == c) return (char*)s; return 0; 194: e1a00003 mov r0, r3 198: eafffffa b 188 <strchr+0x30> 0000019c <gets>: } char* gets(char *buf, int max) { 19c: e92d49f0 push {r4, r5, r6, r7, r8, fp, lr} 1a0: e28db018 add fp, sp, #24 1a4: e24dd00c sub sp, sp, #12 1a8: e1a08000 mov r8, r0 1ac: e1a07001 mov r7, r1 int i, cc; char c; for(i=0; i+1 < max; ){ 1b0: e1a06000 mov r6, r0 1b4: e3a05000 mov r5, #0 1b8: ea000008 b 1e0 <gets+0x44> cc = read(0, &c, 1); 1bc: eb000079 bl 3a8 <read> if(cc < 1) 1c0: e3500000 cmp r0, #0 1c4: da00000b ble 1f8 <gets+0x5c> break; buf[i++] = c; 1c8: e55b301d ldrb r3, [fp, #-29] if(c == '\n' || c == '\r') 1cc: e1a05004 mov r5, r4 1d0: e353000a cmp r3, #10 1d4: 1353000d cmpne r3, #13 for(i=0; i+1 < max; ){ cc = read(0, &c, 1); if(cc < 1) break; buf[i++] = c; 1d8: e4c63001 strb r3, [r6], #1 if(c == '\n' || c == '\r') 1dc: 0a00000a beq 20c <gets+0x70> { int i, cc; char c; for(i=0; i+1 < max; ){ cc = read(0, &c, 1); 1e0: e3a02001 mov r2, #1 gets(char *buf, int max) { int i, cc; char c; for(i=0; i+1 < max; ){ 1e4: e0854002 add r4, r5, r2 1e8: e1540007 cmp r4, r7 cc = read(0, &c, 1); 1ec: e3a00000 mov r0, #0 1f0: e24b101d sub r1, fp, #29 gets(char *buf, int max) { int i, cc; char c; for(i=0; i+1 < max; ){ 1f4: bafffff0 blt 1bc <gets+0x20> break; buf[i++] = c; if(c == '\n' || c == '\r') break; } buf[i] = '\0'; 1f8: e3a03000 mov r3, #0 1fc: e7c83005 strb r3, [r8, r5] return buf; } 200: e1a00008 mov r0, r8 204: e24bd018 sub sp, fp, #24 208: e8bd89f0 pop {r4, r5, r6, r7, r8, fp, pc} gets(char *buf, int max) { int i, cc; char c; for(i=0; i+1 < max; ){ 20c: e1a05004 mov r5, r4 210: eafffff8 b 1f8 <gets+0x5c> 00000214 <stat>: return buf; } int stat(char *n, struct stat *st) { 214: e92d4830 push {r4, r5, fp, lr} 218: e1a05001 mov r5, r1 21c: e28db00c add fp, sp, #12 int fd; int r; fd = open(n, O_RDONLY); 220: e3a01000 mov r1, #0 224: eb0000a0 bl 4ac <open> if(fd < 0) 228: e2504000 subs r4, r0, #0 return -1; 22c: b3e05000 mvnlt r5, #0 { int fd; int r; fd = open(n, O_RDONLY); if(fd < 0) 230: ba000004 blt 248 <stat+0x34> return -1; r = fstat(fd, st); 234: e1a01005 mov r1, r5 238: eb0000c2 bl 548 <fstat> 23c: e1a05000 mov r5, r0 close(fd); 240: e1a00004 mov r0, r4 244: eb000071 bl 410 <close> return r; } 248: e1a00005 mov r0, r5 24c: e8bd8830 pop {r4, r5, fp, pc} 00000250 <atoi>: int atoi(const char *s) { 250: e52db004 push {fp} ; (str fp, [sp, #-4]!) 254: e28db000 add fp, sp, #0 int n; n = 0; while('0' <= *s && *s <= '9') 258: e5d03000 ldrb r3, [r0] 25c: e2432030 sub r2, r3, #48 ; 0x30 260: e6ef2072 uxtb r2, r2 264: e3520009 cmp r2, #9 int atoi(const char *s) { int n; n = 0; 268: 83a00000 movhi r0, #0 while('0' <= *s && *s <= '9') 26c: 8a000009 bhi 298 <atoi+0x48> 270: e1a02000 mov r2, r0 int atoi(const char *s) { int n; n = 0; 274: e3a00000 mov r0, #0 while('0' <= *s && *s <= '9') n = n*10 + *s++ - '0'; 278: e0800100 add r0, r0, r0, lsl #2 27c: e0830080 add r0, r3, r0, lsl #1 atoi(const char *s) { int n; n = 0; while('0' <= *s && *s <= '9') 280: e5f23001 ldrb r3, [r2, #1]! n = n*10 + *s++ - '0'; 284: e2400030 sub r0, r0, #48 ; 0x30 atoi(const char *s) { int n; n = 0; while('0' <= *s && *s <= '9') 288: e2431030 sub r1, r3, #48 ; 0x30 28c: e6ef1071 uxtb r1, r1 290: e3510009 cmp r1, #9 294: 9afffff7 bls 278 <atoi+0x28> n = n*10 + *s++ - '0'; return n; } 298: e28bd000 add sp, fp, #0 29c: e8bd0800 pop {fp} 2a0: e12fff1e bx lr 000002a4 <memmove>: { char *dst, *src; dst = vdst; src = vsrc; while(n-- > 0) 2a4: e3520000 cmp r2, #0 return n; } void* memmove(void *vdst, void *vsrc, int n) { 2a8: e52db004 push {fp} ; (str fp, [sp, #-4]!) 2ac: e28db000 add fp, sp, #0 char *dst, *src; dst = vdst; src = vsrc; while(n-- > 0) 2b0: da000005 ble 2cc <memmove+0x28> n = n*10 + *s++ - '0'; return n; } void* memmove(void *vdst, void *vsrc, int n) 2b4: e0802002 add r2, r0, r2 { char *dst, *src; dst = vdst; 2b8: e1a03000 mov r3, r0 src = vsrc; while(n-- > 0) *dst++ = *src++; 2bc: e4d1c001 ldrb ip, [r1], #1 2c0: e4c3c001 strb ip, [r3], #1 { char *dst, *src; dst = vdst; src = vsrc; while(n-- > 0) 2c4: e1530002 cmp r3, r2 2c8: 1afffffb bne 2bc <memmove+0x18> *dst++ = *src++; return vdst; } 2cc: e28bd000 add sp, fp, #0 2d0: e8bd0800 pop {fp} 2d4: e12fff1e bx lr 000002d8 <fork>: 2d8: e92d4000 push {lr} 2dc: e92d0008 push {r3} 2e0: e92d0004 push {r2} 2e4: e92d0002 push {r1} 2e8: e92d0001 push {r0} 2ec: e3a00001 mov r0, #1 2f0: ef000040 svc 0x00000040 2f4: e8bd0002 pop {r1} 2f8: e8bd0002 pop {r1} 2fc: e8bd0004 pop {r2} 300: e8bd0008 pop {r3} 304: e8bd4000 pop {lr} 308: e12fff1e bx lr 0000030c <exit>: 30c: e92d4000 push {lr} 310: e92d0008 push {r3} 314: e92d0004 push {r2} 318: e92d0002 push {r1} 31c: e92d0001 push {r0} 320: e3a00002 mov r0, #2 324: ef000040 svc 0x00000040 328: e8bd0002 pop {r1} 32c: e8bd0002 pop {r1} 330: e8bd0004 pop {r2} 334: e8bd0008 pop {r3} 338: e8bd4000 pop {lr} 33c: e12fff1e bx lr 00000340 <wait>: 340: e92d4000 push {lr} 344: e92d0008 push {r3} 348: e92d0004 push {r2} 34c: e92d0002 push {r1} 350: e92d0001 push {r0} 354: e3a00003 mov r0, #3 358: ef000040 svc 0x00000040 35c: e8bd0002 pop {r1} 360: e8bd0002 pop {r1} 364: e8bd0004 pop {r2} 368: e8bd0008 pop {r3} 36c: e8bd4000 pop {lr} 370: e12fff1e bx lr 00000374 <pipe>: 374: e92d4000 push {lr} 378: e92d0008 push {r3} 37c: e92d0004 push {r2} 380: e92d0002 push {r1} 384: e92d0001 push {r0} 388: e3a00004 mov r0, #4 38c: ef000040 svc 0x00000040 390: e8bd0002 pop {r1} 394: e8bd0002 pop {r1} 398: e8bd0004 pop {r2} 39c: e8bd0008 pop {r3} 3a0: e8bd4000 pop {lr} 3a4: e12fff1e bx lr 000003a8 <read>: 3a8: e92d4000 push {lr} 3ac: e92d0008 push {r3} 3b0: e92d0004 push {r2} 3b4: e92d0002 push {r1} 3b8: e92d0001 push {r0} 3bc: e3a00005 mov r0, #5 3c0: ef000040 svc 0x00000040 3c4: e8bd0002 pop {r1} 3c8: e8bd0002 pop {r1} 3cc: e8bd0004 pop {r2} 3d0: e8bd0008 pop {r3} 3d4: e8bd4000 pop {lr} 3d8: e12fff1e bx lr 000003dc <write>: 3dc: e92d4000 push {lr} 3e0: e92d0008 push {r3} 3e4: e92d0004 push {r2} 3e8: e92d0002 push {r1} 3ec: e92d0001 push {r0} 3f0: e3a00010 mov r0, #16 3f4: ef000040 svc 0x00000040 3f8: e8bd0002 pop {r1} 3fc: e8bd0002 pop {r1} 400: e8bd0004 pop {r2} 404: e8bd0008 pop {r3} 408: e8bd4000 pop {lr} 40c: e12fff1e bx lr 00000410 <close>: 410: e92d4000 push {lr} 414: e92d0008 push {r3} 418: e92d0004 push {r2} 41c: e92d0002 push {r1} 420: e92d0001 push {r0} 424: e3a00015 mov r0, #21 428: ef000040 svc 0x00000040 42c: e8bd0002 pop {r1} 430: e8bd0002 pop {r1} 434: e8bd0004 pop {r2} 438: e8bd0008 pop {r3} 43c: e8bd4000 pop {lr} 440: e12fff1e bx lr 00000444 <kill>: 444: e92d4000 push {lr} 448: e92d0008 push {r3} 44c: e92d0004 push {r2} 450: e92d0002 push {r1} 454: e92d0001 push {r0} 458: e3a00006 mov r0, #6 45c: ef000040 svc 0x00000040 460: e8bd0002 pop {r1} 464: e8bd0002 pop {r1} 468: e8bd0004 pop {r2} 46c: e8bd0008 pop {r3} 470: e8bd4000 pop {lr} 474: e12fff1e bx lr 00000478 <exec>: 478: e92d4000 push {lr} 47c: e92d0008 push {r3} 480: e92d0004 push {r2} 484: e92d0002 push {r1} 488: e92d0001 push {r0} 48c: e3a00007 mov r0, #7 490: ef000040 svc 0x00000040 494: e8bd0002 pop {r1} 498: e8bd0002 pop {r1} 49c: e8bd0004 pop {r2} 4a0: e8bd0008 pop {r3} 4a4: e8bd4000 pop {lr} 4a8: e12fff1e bx lr 000004ac <open>: 4ac: e92d4000 push {lr} 4b0: e92d0008 push {r3} 4b4: e92d0004 push {r2} 4b8: e92d0002 push {r1} 4bc: e92d0001 push {r0} 4c0: e3a0000f mov r0, #15 4c4: ef000040 svc 0x00000040 4c8: e8bd0002 pop {r1} 4cc: e8bd0002 pop {r1} 4d0: e8bd0004 pop {r2} 4d4: e8bd0008 pop {r3} 4d8: e8bd4000 pop {lr} 4dc: e12fff1e bx lr 000004e0 <mknod>: 4e0: e92d4000 push {lr} 4e4: e92d0008 push {r3} 4e8: e92d0004 push {r2} 4ec: e92d0002 push {r1} 4f0: e92d0001 push {r0} 4f4: e3a00011 mov r0, #17 4f8: ef000040 svc 0x00000040 4fc: e8bd0002 pop {r1} 500: e8bd0002 pop {r1} 504: e8bd0004 pop {r2} 508: e8bd0008 pop {r3} 50c: e8bd4000 pop {lr} 510: e12fff1e bx lr 00000514 <unlink>: 514: e92d4000 push {lr} 518: e92d0008 push {r3} 51c: e92d0004 push {r2} 520: e92d0002 push {r1} 524: e92d0001 push {r0} 528: e3a00012 mov r0, #18 52c: ef000040 svc 0x00000040 530: e8bd0002 pop {r1} 534: e8bd0002 pop {r1} 538: e8bd0004 pop {r2} 53c: e8bd0008 pop {r3} 540: e8bd4000 pop {lr} 544: e12fff1e bx lr 00000548 <fstat>: 548: e92d4000 push {lr} 54c: e92d0008 push {r3} 550: e92d0004 push {r2} 554: e92d0002 push {r1} 558: e92d0001 push {r0} 55c: e3a00008 mov r0, #8 560: ef000040 svc 0x00000040 564: e8bd0002 pop {r1} 568: e8bd0002 pop {r1} 56c: e8bd0004 pop {r2} 570: e8bd0008 pop {r3} 574: e8bd4000 pop {lr} 578: e12fff1e bx lr 0000057c <link>: 57c: e92d4000 push {lr} 580: e92d0008 push {r3} 584: e92d0004 push {r2} 588: e92d0002 push {r1} 58c: e92d0001 push {r0} 590: e3a00013 mov r0, #19 594: ef000040 svc 0x00000040 598: e8bd0002 pop {r1} 59c: e8bd0002 pop {r1} 5a0: e8bd0004 pop {r2} 5a4: e8bd0008 pop {r3} 5a8: e8bd4000 pop {lr} 5ac: e12fff1e bx lr 000005b0 <mkdir>: 5b0: e92d4000 push {lr} 5b4: e92d0008 push {r3} 5b8: e92d0004 push {r2} 5bc: e92d0002 push {r1} 5c0: e92d0001 push {r0} 5c4: e3a00014 mov r0, #20 5c8: ef000040 svc 0x00000040 5cc: e8bd0002 pop {r1} 5d0: e8bd0002 pop {r1} 5d4: e8bd0004 pop {r2} 5d8: e8bd0008 pop {r3} 5dc: e8bd4000 pop {lr} 5e0: e12fff1e bx lr 000005e4 <chdir>: 5e4: e92d4000 push {lr} 5e8: e92d0008 push {r3} 5ec: e92d0004 push {r2} 5f0: e92d0002 push {r1} 5f4: e92d0001 push {r0} 5f8: e3a00009 mov r0, #9 5fc: ef000040 svc 0x00000040 600: e8bd0002 pop {r1} 604: e8bd0002 pop {r1} 608: e8bd0004 pop {r2} 60c: e8bd0008 pop {r3} 610: e8bd4000 pop {lr} 614: e12fff1e bx lr 00000618 <dup>: 618: e92d4000 push {lr} 61c: e92d0008 push {r3} 620: e92d0004 push {r2} 624: e92d0002 push {r1} 628: e92d0001 push {r0} 62c: e3a0000a mov r0, #10 630: ef000040 svc 0x00000040 634: e8bd0002 pop {r1} 638: e8bd0002 pop {r1} 63c: e8bd0004 pop {r2} 640: e8bd0008 pop {r3} 644: e8bd4000 pop {lr} 648: e12fff1e bx lr 0000064c <getpid>: 64c: e92d4000 push {lr} 650: e92d0008 push {r3} 654: e92d0004 push {r2} 658: e92d0002 push {r1} 65c: e92d0001 push {r0} 660: e3a0000b mov r0, #11 664: ef000040 svc 0x00000040 668: e8bd0002 pop {r1} 66c: e8bd0002 pop {r1} 670: e8bd0004 pop {r2} 674: e8bd0008 pop {r3} 678: e8bd4000 pop {lr} 67c: e12fff1e bx lr 00000680 <sbrk>: 680: e92d4000 push {lr} 684: e92d0008 push {r3} 688: e92d0004 push {r2} 68c: e92d0002 push {r1} 690: e92d0001 push {r0} 694: e3a0000c mov r0, #12 698: ef000040 svc 0x00000040 69c: e8bd0002 pop {r1} 6a0: e8bd0002 pop {r1} 6a4: e8bd0004 pop {r2} 6a8: e8bd0008 pop {r3} 6ac: e8bd4000 pop {lr} 6b0: e12fff1e bx lr 000006b4 <sleep>: 6b4: e92d4000 push {lr} 6b8: e92d0008 push {r3} 6bc: e92d0004 push {r2} 6c0: e92d0002 push {r1} 6c4: e92d0001 push {r0} 6c8: e3a0000d mov r0, #13 6cc: ef000040 svc 0x00000040 6d0: e8bd0002 pop {r1} 6d4: e8bd0002 pop {r1} 6d8: e8bd0004 pop {r2} 6dc: e8bd0008 pop {r3} 6e0: e8bd4000 pop {lr} 6e4: e12fff1e bx lr 000006e8 <uptime>: 6e8: e92d4000 push {lr} 6ec: e92d0008 push {r3} 6f0: e92d0004 push {r2} 6f4: e92d0002 push {r1} 6f8: e92d0001 push {r0} 6fc: e3a0000e mov r0, #14 700: ef000040 svc 0x00000040 704: e8bd0002 pop {r1} 708: e8bd0002 pop {r1} 70c: e8bd0004 pop {r2} 710: e8bd0008 pop {r3} 714: e8bd4000 pop {lr} 718: e12fff1e bx lr 0000071c <putc>: #include "stat.h" #include "user.h" static void putc(int fd, char c) { 71c: e92d4800 push {fp, lr} 720: e28db004 add fp, sp, #4 724: e24b3004 sub r3, fp, #4 728: e24dd008 sub sp, sp, #8 write(fd, &c, 1); 72c: e3a02001 mov r2, #1 #include "stat.h" #include "user.h" static void putc(int fd, char c) { 730: e5631001 strb r1, [r3, #-1]! write(fd, &c, 1); 734: e1a01003 mov r1, r3 738: ebffff27 bl 3dc <write> } 73c: e24bd004 sub sp, fp, #4 740: e8bd8800 pop {fp, pc} 00000744 <printint>: return q; } static void printint(int fd, int xx, int base, int sgn) { 744: e92d4ff0 push {r4, r5, r6, r7, r8, r9, sl, fp, lr} 748: e1a04000 mov r4, r0 char buf[16]; int i, neg; uint x, y, b; neg = 0; if(sgn && xx < 0){ 74c: e1a00fa1 lsr r0, r1, #31 750: e3530000 cmp r3, #0 754: 03a03000 moveq r3, #0 758: 12003001 andne r3, r0, #1 return q; } static void printint(int fd, int xx, int base, int sgn) { 75c: e28db020 add fp, sp, #32 char buf[16]; int i, neg; uint x, y, b; neg = 0; if(sgn && xx < 0){ 760: e3530000 cmp r3, #0 return q; } static void printint(int fd, int xx, int base, int sgn) { 764: e24dd014 sub sp, sp, #20 768: e59f909c ldr r9, [pc, #156] ; 80c <printint+0xc8> uint x, y, b; neg = 0; if(sgn && xx < 0){ neg = 1; x = -xx; 76c: 12611000 rsbne r1, r1, #0 int i, neg; uint x, y, b; neg = 0; if(sgn && xx < 0){ neg = 1; 770: 13a03001 movne r3, #1 } else { x = xx; } b = base; i = 0; 774: e3a0a000 mov sl, #0 778: e24b6034 sub r6, fp, #52 ; 0x34 for(i=31;i>=0;i--){ r = r << 1; r = r | ((n >> i) & 1); if(r >= d) { r = r - d; q = q | (1 << i); 77c: e3a08001 mov r8, #1 write(fd, &c, 1); } u32 div(u32 n, u32 d) // long division { u32 q=0, r=0; 780: e3a07000 mov r7, #0 int i; for(i=31;i>=0;i--){ 784: e3a0001f mov r0, #31 write(fd, &c, 1); } u32 div(u32 n, u32 d) // long division { u32 q=0, r=0; 788: e1a0c007 mov ip, r7 int i; for(i=31;i>=0;i--){ r = r << 1; r = r | ((n >> i) & 1); 78c: e1a0e031 lsr lr, r1, r0 790: e20ee001 and lr, lr, #1 794: e18ec08c orr ip, lr, ip, lsl #1 if(r >= d) { 798: e152000c cmp r2, ip r = r - d; q = q | (1 << i); 79c: 91877018 orrls r7, r7, r8, lsl r0 for(i=31;i>=0;i--){ r = r << 1; r = r | ((n >> i) & 1); if(r >= d) { r = r - d; 7a0: 9062c00c rsbls ip, r2, ip u32 div(u32 n, u32 d) // long division { u32 q=0, r=0; int i; for(i=31;i>=0;i--){ 7a4: e2500001 subs r0, r0, #1 7a8: 2afffff7 bcs 78c <printint+0x48> b = base; i = 0; do{ y = div(x, b); buf[i++] = digits[x - y * b]; 7ac: e0000792 mul r0, r2, r7 }while((x = y) != 0); 7b0: e3570000 cmp r7, #0 b = base; i = 0; do{ y = div(x, b); buf[i++] = digits[x - y * b]; 7b4: e0601001 rsb r1, r0, r1 7b8: e28a5001 add r5, sl, #1 7bc: e7d91001 ldrb r1, [r9, r1] 7c0: e7c6100a strb r1, [r6, sl] }while((x = y) != 0); 7c4: 11a01007 movne r1, r7 b = base; i = 0; do{ y = div(x, b); buf[i++] = digits[x - y * b]; 7c8: 11a0a005 movne sl, r5 7cc: 1affffeb bne 780 <printint+0x3c> }while((x = y) != 0); if(neg) 7d0: e3530000 cmp r3, #0 buf[i++] = '-'; 7d4: 124b2024 subne r2, fp, #36 ; 0x24 7d8: 10823005 addne r3, r2, r5 7dc: 128a5002 addne r5, sl, #2 while(--i >= 0) 7e0: e2455001 sub r5, r5, #1 do{ y = div(x, b); buf[i++] = digits[x - y * b]; }while((x = y) != 0); if(neg) buf[i++] = '-'; 7e4: 13a0202d movne r2, #45 ; 0x2d 7e8: 15432010 strbne r2, [r3, #-16] while(--i >= 0) putc(fd, buf[i]); 7ec: e7d61005 ldrb r1, [r6, r5] 7f0: e1a00004 mov r0, r4 buf[i++] = digits[x - y * b]; }while((x = y) != 0); if(neg) buf[i++] = '-'; while(--i >= 0) 7f4: e2455001 sub r5, r5, #1 putc(fd, buf[i]); 7f8: ebffffc7 bl 71c <putc> buf[i++] = digits[x - y * b]; }while((x = y) != 0); if(neg) buf[i++] = '-'; while(--i >= 0) 7fc: e3750001 cmn r5, #1 800: 1afffff9 bne 7ec <printint+0xa8> putc(fd, buf[i]); } 804: e24bd020 sub sp, fp, #32 808: e8bd8ff0 pop {r4, r5, r6, r7, r8, r9, sl, fp, pc} 80c: 00000b50 .word 0x00000b50 00000810 <div>: write(fd, &c, 1); } u32 div(u32 n, u32 d) // long division { u32 q=0, r=0; 810: e3a03000 mov r3, #0 { write(fd, &c, 1); } u32 div(u32 n, u32 d) // long division { 814: e92d0830 push {r4, r5, fp} 818: e1a02000 mov r2, r0 81c: e28db008 add fp, sp, #8 u32 q=0, r=0; int i; for(i=31;i>=0;i--){ 820: e3a0c01f mov ip, #31 write(fd, &c, 1); } u32 div(u32 n, u32 d) // long division { u32 q=0, r=0; 824: e1a00003 mov r0, r3 for(i=31;i>=0;i--){ r = r << 1; r = r | ((n >> i) & 1); if(r >= d) { r = r - d; q = q | (1 << i); 828: e3a05001 mov r5, #1 u32 q=0, r=0; int i; for(i=31;i>=0;i--){ r = r << 1; r = r | ((n >> i) & 1); 82c: e1a04c32 lsr r4, r2, ip 830: e2044001 and r4, r4, #1 834: e1843083 orr r3, r4, r3, lsl #1 if(r >= d) { 838: e1530001 cmp r3, r1 r = r - d; q = q | (1 << i); 83c: 21800c15 orrcs r0, r0, r5, lsl ip for(i=31;i>=0;i--){ r = r << 1; r = r | ((n >> i) & 1); if(r >= d) { r = r - d; 840: 20613003 rsbcs r3, r1, r3 u32 div(u32 n, u32 d) // long division { u32 q=0, r=0; int i; for(i=31;i>=0;i--){ 844: e25cc001 subs ip, ip, #1 848: 2afffff7 bcs 82c <div+0x1c> r = r - d; q = q | (1 << i); } } return q; } 84c: e24bd008 sub sp, fp, #8 850: e8bd0830 pop {r4, r5, fp} 854: e12fff1e bx lr 00000858 <printf>: } // Print to the given fd. Only understands %d, %x, %p, %s. void printf(int fd, char *fmt, ...) { 858: e92d000e push {r1, r2, r3} 85c: e92d4ff0 push {r4, r5, r6, r7, r8, r9, sl, fp, lr} 860: e28db020 add fp, sp, #32 864: e1a05000 mov r5, r0 int c, i, state; uint *ap; state = 0; ap = (uint*)(void*)&fmt + 1; for(i = 0; fmt[i]; i++){ 868: e59b4004 ldr r4, [fp, #4] 86c: e5d48000 ldrb r8, [r4] 870: e3580000 cmp r8, #0 874: 0a000027 beq 918 <printf+0xc0> ap++; } else if(c == 's'){ s = (char*)*ap; ap++; if(s == 0) s = "(null)"; 878: e59f712c ldr r7, [pc, #300] ; 9ac <printf+0x154> char *s; int c, i, state; uint *ap; state = 0; ap = (uint*)(void*)&fmt + 1; 87c: e28b6008 add r6, fp, #8 { char *s; int c, i, state; uint *ap; state = 0; 880: e3a0a000 mov sl, #0 884: ea000008 b 8ac <printf+0x54> ap = (uint*)(void*)&fmt + 1; for(i = 0; fmt[i]; i++){ c = fmt[i] & 0xff; if(state == 0){ if(c == '%'){ 888: e3580025 cmp r8, #37 ; 0x25 state = '%'; 88c: 01a0a008 moveq sl, r8 state = 0; ap = (uint*)(void*)&fmt + 1; for(i = 0; fmt[i]; i++){ c = fmt[i] & 0xff; if(state == 0){ if(c == '%'){ 890: 0a000002 beq 8a0 <printf+0x48> state = '%'; } else { putc(fd, c); 894: e1a00005 mov r0, r5 898: e1a01008 mov r1, r8 89c: ebffff9e bl 71c <putc> int c, i, state; uint *ap; state = 0; ap = (uint*)(void*)&fmt + 1; for(i = 0; fmt[i]; i++){ 8a0: e5f48001 ldrb r8, [r4, #1]! 8a4: e3580000 cmp r8, #0 8a8: 0a00001a beq 918 <printf+0xc0> c = fmt[i] & 0xff; if(state == 0){ 8ac: e35a0000 cmp sl, #0 8b0: 0afffff4 beq 888 <printf+0x30> if(c == '%'){ state = '%'; } else { putc(fd, c); } } else if(state == '%'){ 8b4: e35a0025 cmp sl, #37 ; 0x25 8b8: 1afffff8 bne 8a0 <printf+0x48> if(c == 'd'){ 8bc: e3580064 cmp r8, #100 ; 0x64 8c0: 0a00002c beq 978 <printf+0x120> printint(fd, *ap, 10, 1); ap++; } else if(c == 'x' || c == 'p'){ 8c4: e3580078 cmp r8, #120 ; 0x78 8c8: 13580070 cmpne r8, #112 ; 0x70 8cc: 13a09000 movne r9, #0 8d0: 03a09001 moveq r9, #1 8d4: 0a000013 beq 928 <printf+0xd0> printint(fd, *ap, 16, 0); ap++; } else if(c == 's'){ 8d8: e3580073 cmp r8, #115 ; 0x73 8dc: 0a000018 beq 944 <printf+0xec> s = "(null)"; while(*s != 0){ putc(fd, *s); s++; } } else if(c == 'c'){ 8e0: e3580063 cmp r8, #99 ; 0x63 8e4: 0a00002a beq 994 <printf+0x13c> putc(fd, *ap); ap++; } else if(c == '%'){ 8e8: e3580025 cmp r8, #37 ; 0x25 putc(fd, c); 8ec: e1a0100a mov r1, sl 8f0: e1a00005 mov r0, r5 s++; } } else if(c == 'c'){ putc(fd, *ap); ap++; } else if(c == '%'){ 8f4: 0a000002 beq 904 <printf+0xac> putc(fd, c); } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); 8f8: ebffff87 bl 71c <putc> putc(fd, c); 8fc: e1a00005 mov r0, r5 900: e1a01008 mov r1, r8 904: ebffff84 bl 71c <putc> int c, i, state; uint *ap; state = 0; ap = (uint*)(void*)&fmt + 1; for(i = 0; fmt[i]; i++){ 908: e5f48001 ldrb r8, [r4, #1]! } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); putc(fd, c); } state = 0; 90c: e1a0a009 mov sl, r9 int c, i, state; uint *ap; state = 0; ap = (uint*)(void*)&fmt + 1; for(i = 0; fmt[i]; i++){ 910: e3580000 cmp r8, #0 914: 1affffe4 bne 8ac <printf+0x54> putc(fd, c); } state = 0; } } } 918: e24bd020 sub sp, fp, #32 91c: e8bd4ff0 pop {r4, r5, r6, r7, r8, r9, sl, fp, lr} 920: e28dd00c add sp, sp, #12 924: e12fff1e bx lr } else if(state == '%'){ if(c == 'd'){ printint(fd, *ap, 10, 1); ap++; } else if(c == 'x' || c == 'p'){ printint(fd, *ap, 16, 0); 928: e1a00005 mov r0, r5 92c: e4961004 ldr r1, [r6], #4 930: e3a02010 mov r2, #16 934: e3a03000 mov r3, #0 938: ebffff81 bl 744 <printint> } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); putc(fd, c); } state = 0; 93c: e3a0a000 mov sl, #0 940: eaffffd6 b 8a0 <printf+0x48> ap++; } else if(c == 'x' || c == 'p'){ printint(fd, *ap, 16, 0); ap++; } else if(c == 's'){ s = (char*)*ap; 944: e4968004 ldr r8, [r6], #4 ap++; if(s == 0) s = "(null)"; 948: e3580000 cmp r8, #0 94c: 01a08007 moveq r8, r7 while(*s != 0){ 950: e5d81000 ldrb r1, [r8] 954: e3510000 cmp r1, #0 958: 0a000004 beq 970 <printf+0x118> putc(fd, *s); 95c: e1a00005 mov r0, r5 960: ebffff6d bl 71c <putc> } else if(c == 's'){ s = (char*)*ap; ap++; if(s == 0) s = "(null)"; while(*s != 0){ 964: e5f81001 ldrb r1, [r8, #1]! 968: e3510000 cmp r1, #0 96c: 1afffffa bne 95c <printf+0x104> } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); putc(fd, c); } state = 0; 970: e1a0a001 mov sl, r1 974: eaffffc9 b 8a0 <printf+0x48> } else { putc(fd, c); } } else if(state == '%'){ if(c == 'd'){ printint(fd, *ap, 10, 1); 978: e1a00005 mov r0, r5 97c: e4961004 ldr r1, [r6], #4 980: e3a0200a mov r2, #10 984: e3a03001 mov r3, #1 988: ebffff6d bl 744 <printint> } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); putc(fd, c); } state = 0; 98c: e3a0a000 mov sl, #0 990: eaffffc2 b 8a0 <printf+0x48> while(*s != 0){ putc(fd, *s); s++; } } else if(c == 'c'){ putc(fd, *ap); 994: e4961004 ldr r1, [r6], #4 998: e1a00005 mov r0, r5 } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); putc(fd, c); } state = 0; 99c: e1a0a009 mov sl, r9 while(*s != 0){ putc(fd, *s); s++; } } else if(c == 'c'){ putc(fd, *ap); 9a0: e6ef1071 uxtb r1, r1 9a4: ebffff5c bl 71c <putc> 9a8: eaffffbc b 8a0 <printf+0x48> 9ac: 00000b64 .word 0x00000b64 000009b0 <free>: free(void *ap) { Header *bp, *p; bp = (Header*)ap - 1; for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 9b0: e59f3098 ldr r3, [pc, #152] ; a50 <free+0xa0> static Header base; static Header *freep; void free(void *ap) { 9b4: e92d0830 push {r4, r5, fp} Header *bp, *p; bp = (Header*)ap - 1; 9b8: e240c008 sub ip, r0, #8 for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 9bc: e5932000 ldr r2, [r3] static Header base; static Header *freep; void free(void *ap) { 9c0: e28db008 add fp, sp, #8 Header *bp, *p; bp = (Header*)ap - 1; for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 9c4: e152000c cmp r2, ip 9c8: e5921000 ldr r1, [r2] 9cc: 2a000001 bcs 9d8 <free+0x28> 9d0: e15c0001 cmp ip, r1 9d4: 3a000007 bcc 9f8 <free+0x48> if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) 9d8: e1520001 cmp r2, r1 9dc: 3a000003 bcc 9f0 <free+0x40> 9e0: e152000c cmp r2, ip 9e4: 3a000003 bcc 9f8 <free+0x48> 9e8: e15c0001 cmp ip, r1 9ec: 3a000001 bcc 9f8 <free+0x48> static Header base; static Header *freep; void free(void *ap) { 9f0: e1a02001 mov r2, r1 9f4: eafffff2 b 9c4 <free+0x14> bp = (Header*)ap - 1; for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) break; if(bp + bp->s.size == p->s.ptr){ 9f8: e5104004 ldr r4, [r0, #-4] if(p + p->s.size == bp){ p->s.size += bp->s.size; p->s.ptr = bp->s.ptr; } else p->s.ptr = bp; freep = p; 9fc: e5832000 str r2, [r3] bp = (Header*)ap - 1; for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) break; if(bp + bp->s.size == p->s.ptr){ a00: e08c5184 add r5, ip, r4, lsl #3 a04: e1550001 cmp r5, r1 bp->s.size += p->s.ptr->s.size; a08: 05911004 ldreq r1, [r1, #4] a0c: 00814004 addeq r4, r1, r4 a10: 05004004 streq r4, [r0, #-4] bp->s.ptr = p->s.ptr->s.ptr; a14: 05921000 ldreq r1, [r2] a18: 05911000 ldreq r1, [r1] } else bp->s.ptr = p->s.ptr; a1c: e5001008 str r1, [r0, #-8] if(p + p->s.size == bp){ a20: e5921004 ldr r1, [r2, #4] a24: e0824181 add r4, r2, r1, lsl #3 a28: e15c0004 cmp ip, r4 p->s.size += bp->s.size; p->s.ptr = bp->s.ptr; } else p->s.ptr = bp; a2c: 1582c000 strne ip, [r2] bp->s.size += p->s.ptr->s.size; bp->s.ptr = p->s.ptr->s.ptr; } else bp->s.ptr = p->s.ptr; if(p + p->s.size == bp){ p->s.size += bp->s.size; a30: 0510c004 ldreq ip, [r0, #-4] a34: 008c1001 addeq r1, ip, r1 a38: 05821004 streq r1, [r2, #4] p->s.ptr = bp->s.ptr; a3c: 05101008 ldreq r1, [r0, #-8] a40: 05821000 streq r1, [r2] } else p->s.ptr = bp; freep = p; } a44: e24bd008 sub sp, fp, #8 a48: e8bd0830 pop {r4, r5, fp} a4c: e12fff1e bx lr a50: 00000b6c .word 0x00000b6c 00000a54 <malloc>: return freep; } void* malloc(uint nbytes) { a54: e92d49f8 push {r3, r4, r5, r6, r7, r8, fp, lr} Header *p, *prevp; uint nunits; nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; a58: e2804007 add r4, r0, #7 if((prevp = freep) == 0){ a5c: e59f50d4 ldr r5, [pc, #212] ; b38 <malloc+0xe4> malloc(uint nbytes) { Header *p, *prevp; uint nunits; nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; a60: e1a041a4 lsr r4, r4, #3 return freep; } void* malloc(uint nbytes) { a64: e28db01c add fp, sp, #28 Header *p, *prevp; uint nunits; nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; if((prevp = freep) == 0){ a68: e5953000 ldr r3, [r5] malloc(uint nbytes) { Header *p, *prevp; uint nunits; nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; a6c: e2844001 add r4, r4, #1 if((prevp = freep) == 0){ a70: e3530000 cmp r3, #0 a74: 0a00002b beq b28 <malloc+0xd4> a78: e5930000 ldr r0, [r3] a7c: e5902004 ldr r2, [r0, #4] base.s.ptr = freep = prevp = &base; base.s.size = 0; } for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ if(p->s.size >= nunits){ a80: e1520004 cmp r2, r4 a84: 2a00001b bcs af8 <malloc+0xa4> morecore(uint nu) { char *p; Header *hp; if(nu < 4096) a88: e59f80ac ldr r8, [pc, #172] ; b3c <malloc+0xe8> p->s.size -= nunits; p += p->s.size; p->s.size = nunits; } freep = prevp; return (void*)(p + 1); a8c: e1a07184 lsl r7, r4, #3 a90: ea000003 b aa4 <malloc+0x50> nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; if((prevp = freep) == 0){ base.s.ptr = freep = prevp = &base; base.s.size = 0; } for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ a94: e5930000 ldr r0, [r3] if(p->s.size >= nunits){ a98: e5902004 ldr r2, [r0, #4] a9c: e1540002 cmp r4, r2 aa0: 9a000014 bls af8 <malloc+0xa4> p->s.size = nunits; } freep = prevp; return (void*)(p + 1); } if(p == freep) aa4: e5952000 ldr r2, [r5] aa8: e1a03000 mov r3, r0 aac: e1500002 cmp r0, r2 ab0: 1afffff7 bne a94 <malloc+0x40> morecore(uint nu) { char *p; Header *hp; if(nu < 4096) ab4: e1540008 cmp r4, r8 nu = 4096; p = sbrk(nu * sizeof(Header)); ab8: 81a00007 movhi r0, r7 abc: 93a00902 movls r0, #32768 ; 0x8000 morecore(uint nu) { char *p; Header *hp; if(nu < 4096) ac0: 81a06004 movhi r6, r4 ac4: 93a06a01 movls r6, #4096 ; 0x1000 nu = 4096; p = sbrk(nu * sizeof(Header)); ac8: ebfffeec bl 680 <sbrk> acc: e1a03000 mov r3, r0 if(p == (char*)-1) ad0: e3730001 cmn r3, #1 return 0; hp = (Header*)p; hp->s.size = nu; free((void*)(hp + 1)); ad4: e2800008 add r0, r0, #8 Header *hp; if(nu < 4096) nu = 4096; p = sbrk(nu * sizeof(Header)); if(p == (char*)-1) ad8: 0a000010 beq b20 <malloc+0xcc> return 0; hp = (Header*)p; hp->s.size = nu; adc: e5836004 str r6, [r3, #4] free((void*)(hp + 1)); ae0: ebffffb2 bl 9b0 <free> return freep; ae4: e5953000 ldr r3, [r5] } freep = prevp; return (void*)(p + 1); } if(p == freep) if((p = morecore(nunits)) == 0) ae8: e3530000 cmp r3, #0 aec: 1affffe8 bne a94 <malloc+0x40> return 0; af0: e1a00003 mov r0, r3 } } af4: e8bd89f8 pop {r3, r4, r5, r6, r7, r8, fp, pc} base.s.ptr = freep = prevp = &base; base.s.size = 0; } for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ if(p->s.size >= nunits){ if(p->s.size == nunits) af8: e1540002 cmp r4, r2 prevp->s.ptr = p->s.ptr; else { p->s.size -= nunits; afc: 10642002 rsbne r2, r4, r2 b00: 15802004 strne r2, [r0, #4] base.s.size = 0; } for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ if(p->s.size >= nunits){ if(p->s.size == nunits) prevp->s.ptr = p->s.ptr; b04: 05902000 ldreq r2, [r0] else { p->s.size -= nunits; p += p->s.size; b08: 10800182 addne r0, r0, r2, lsl #3 base.s.size = 0; } for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ if(p->s.size >= nunits){ if(p->s.size == nunits) prevp->s.ptr = p->s.ptr; b0c: 05832000 streq r2, [r3] else { p->s.size -= nunits; p += p->s.size; p->s.size = nunits; b10: 15804004 strne r4, [r0, #4] } freep = prevp; b14: e5853000 str r3, [r5] return (void*)(p + 1); b18: e2800008 add r0, r0, #8 b1c: e8bd89f8 pop {r3, r4, r5, r6, r7, r8, fp, pc} } if(p == freep) if((p = morecore(nunits)) == 0) return 0; b20: e3a00000 mov r0, #0 b24: e8bd89f8 pop {r3, r4, r5, r6, r7, r8, fp, pc} Header *p, *prevp; uint nunits; nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; if((prevp = freep) == 0){ base.s.ptr = freep = prevp = &base; b28: e2850004 add r0, r5, #4 b2c: e5850000 str r0, [r5] base.s.size = 0; b30: e9850009 stmib r5, {r0, r3} b34: eaffffd3 b a88 <malloc+0x34> b38: 00000b6c .word 0x00000b6c b3c: 00000fff .word 0x00000fff
22.233493
60
0.555979
0ca59997a346eb090f3898738011c007aac380e0
5,550
py
Python
tensorflow/emo_tflearn.py
lukewegryn/emo_net
5f8f0d047b41a978c2c96e6d0dcd8e8c05d89fe5
[ "MIT" ]
4
2017-08-15T06:52:22.000Z
2020-02-13T18:18:13.000Z
tensorflow/emo_tflearn.py
luoda888/emo_net
5f8f0d047b41a978c2c96e6d0dcd8e8c05d89fe5
[ "MIT" ]
1
2018-06-14T08:42:11.000Z
2018-06-14T08:42:11.000Z
tensorflow/emo_tflearn.py
luoda888/emo_net
5f8f0d047b41a978c2c96e6d0dcd8e8c05d89fe5
[ "MIT" ]
6
2017-08-04T13:40:35.000Z
2021-08-07T11:37:44.000Z
# First check the Python version import sys if sys.version_info < (3,4): print('You are running an older version of Python!\n\n' \ 'You should consider updating to Python 3.4.0 or ' \ 'higher as the libraries built for this course ' \ 'have only been tested in Python 3.4 and higher.\n') print('Try installing the Python 3.5 version of anaconda ' 'and then restart `jupyter notebook`:\n' \ 'https://www.continuum.io/downloads\n\n') # Now get necessary libraries try: import os import numpy as np import matplotlib.pyplot as plt from skimage.transform import resize from skimage import data from scipy.misc import imresize import IPython.display as ipyd import csv import shlex except ImportError: import os import numpy as np import matplotlib.pyplot as plt from skimage.transform import resize from skimage import data from scipy.misc import imresize import IPython.display as ipyd print('Done!') # Import Tensorflow try: import tensorflow as tf except ImportError: print("You do not have tensorflow installed!") print("Follow the instructions on the following link") print("to install tensorflow before continuing:") print("") print("https://github.com/pkmital/CADL#installation-preliminaries") try: from libs import utils, gif, datasets, dataset_utils, vae, dft except ImportError: print("Make sure you have started notebook in the same directory" + " as the provided zip file which includes the 'libs' folder" + " and the file 'utils.py' inside of it. You will NOT be able" " to complete this assignment unless you restart jupyter" " notebook inside the directory created by extracting" " the zip file or cloning the github repo.") # We'll tell matplotlib to inline any drawn figures like so: plt.style.use('ggplot') def import_csv(filename): labels = [] images = [] with open(filename,'r') as csvfile: reader = csv.reader(csvfile, delimiter=',') for row in reader: if row[2] == "Training": labels.append(row[0]) images.append(row[1]) return labels, images ######## Start actual code ########## data_file = "/Users/luke/ownCloud/deep_learning/course/final_project/fer2013.csv" labels,images = import_csv(data_file) assert(len(labels) == len(images)) #read in the images imgs = [] for image in images: imgs.append(np.fromstring(str(image), dtype=np.uint8,sep=' ')) Xs = imgs ys = labels Xs = np.array(imgs).astype(np.uint8) ys = np.array(ys).astype(np.uint8) #print(ys) assert(len(Xs) == len(ys)) ds = datasets.Dataset(Xs,ys,one_hot=True,split=[0.8, 0.1, 0.1]) for i in range(0, 10): ds.X[i].shape from tensorflow.python.framework.ops import reset_default_graph reset_default_graph() # We'll have placeholders just like before which we'll fill in later. n_input = 48*48 n_output = 7 ds_X_reshape = np.reshape(ds.X,(28709, 48, 48, 1)) ds_valid_images_reshape = np.reshape(ds.valid.images,(ds.valid.images.shape[0],48,48,1)) #https://github.com/tflearn/tflearn/blob/master/examples/images/alexnet.py #pip install tflearn import tflearn from tflearn.layers.normalization import local_response_normalization from tflearn.layers.estimator import regression """ net = tflearn.input_data(shape=[None, 48, 48,1]) net = tflearn.conv_2d(net, 64, 5, activation = 'relu') net = tflearn.max_pool_2d(net, 3, strides = 2) net = tflearn.conv_2d(net, 64, 5, activation = 'relu') net = tflearn.max_pool_2d(net, 3, strides = 2) net = tflearn.conv_2d(net, 128, 4, activation = 'relu') net = tflearn.dropout(net, 0.3) net = tflearn.fully_connected(net, 3072, activation = 'tanh') net = tflearn.fully_connected(net, 7, activation='softmax') net = tflearn.regression(net, optimizer='momentum', loss='categorical_crossentropy') """ network = tflearn.input_data(shape=[None, 48, 48,1]) network = tflearn.conv_2d(network, 96, 11, strides=4, activation='relu') network = tflearn.max_pool_2d(network, 3, strides=2) network = tflearn.local_response_normalization(network) network = tflearn.conv_2d(network, 256, 5, activation='relu') network = tflearn.max_pool_2d(network, 3, strides=2) network = tflearn.local_response_normalization(network) network = tflearn.conv_2d(network, 384, 3, activation='relu') network = tflearn.conv_2d(network, 384, 3, activation='relu') network = tflearn.conv_2d(network, 256, 3, activation='relu') network = tflearn.max_pool_2d(network, 3, strides=2) network = tflearn.local_response_normalization(network) network = tflearn.fully_connected(network, 4096, activation='tanh') network = tflearn.dropout(network, 0.5) network = tflearn.fully_connected(network, 4096, activation='tanh') network = tflearn.dropout(network, 0.5) network = tflearn.fully_connected(network, 7, activation='softmax') network = tflearn.regression(network, optimizer='momentum', loss='categorical_crossentropy') model = tflearn.DNN(network,checkpoint_path='./emo_net/checkpoint_emo_net',max_checkpoints=3) model.fit(ds_X_reshape, ds.Y, n_epoch=1000, show_metric=True, shuffle=True, validation_set=0.01, batch_size=64, snapshot_step=200, snapshot_epoch=False, run_id='emo_net') model.save('./emo_net/emotion_recog.tflearn') pred = model.predict(ds_X_reshape) def onehot_to_dense(array): index = np.argmax(array) return index distribution = {0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0} for i in range(0,len(pred)): distribution[onehot_to_dense(pred[i])] += 1 print(distribution)
37.248322
170
0.718739
d0529dfe659014bb3cdf5980af2c8a3e3a88342d
1,471
css
CSS
web/quest.css
virginiebjt/quest_smith
0d91a05d828c84f47cf13fc00b7aed3fe83f367a
[ "MIT" ]
1
2019-03-15T10:43:35.000Z
2019-03-15T10:43:35.000Z
web/quest.css
virginiebjt/quest_smith
0d91a05d828c84f47cf13fc00b7aed3fe83f367a
[ "MIT" ]
4
2019-03-09T21:03:31.000Z
2020-08-19T14:00:26.000Z
web/quest.css
virginiebjt/quest_smith
0d91a05d828c84f47cf13fc00b7aed3fe83f367a
[ "MIT" ]
4
2019-03-07T12:48:01.000Z
2020-07-31T18:35:39.000Z
body { text-align:center; } h1 { background-color:black; color:white; } .quest404 { color:#923f3f; font-style:italic; } .quest { background-color: rgb(255,250,110);; text-align:center; } .quest_text { background: linear-gradient(#ffffff, #e0e0e0); width: 33%; margin: auto; padding-top: 1em; padding-left: 1em; padding-right: 1em; border-left: solid gray; border-right: solid black; } .quest_buttons { margin: auto; padding-bottom: 1em; width: 36%; } .button { width:49%; height:2em; border: 0; line-height: 2.5; font-size: 7em; text-align: center; color: #000; text-shadow: 1px 1px 1px #fff; border-radius: 10px; background-color: rgba(220, 220, 155, 1); background-image: linear-gradient(to top left, rgba(0, 0, 0, .2), rgba(0, 0, 0, .2) 30%, rgba(0, 0, 0, 0)); box-shadow: inset 2px 2px 3px rgba(255, 255, 255, .6), inset -2px -2px 3px rgba(0, 0, 0, .6); } .button:hover { background-color: rgba(255, 255, 200, 1); } .button:active { box-shadow: inset -2px -2px 3px rgba(255, 255, 255, .6), inset 2px 2px 3px rgba(0, 0, 0, .6); } .button:disabled { background-color: lightgray; border-radius: 0; color: gray; } @media screen and (orientation: portrait) { .quest_text, .quest_buttons { width:96%; } }
21.955224
60
0.558804
8560c4f78f79c610f95d6129c603369ed2d812a5
2,981
js
JavaScript
spec/frontend/packages_and_registries/harbor_registry/components/list/harbor_list_row_spec.js
BearerPipelineTest/gitlabhq
55e4390933a4e16f8936604d763a6353f088c4c1
[ "MIT" ]
null
null
null
spec/frontend/packages_and_registries/harbor_registry/components/list/harbor_list_row_spec.js
BearerPipelineTest/gitlabhq
55e4390933a4e16f8936604d763a6353f088c4c1
[ "MIT" ]
null
null
null
spec/frontend/packages_and_registries/harbor_registry/components/list/harbor_list_row_spec.js
BearerPipelineTest/gitlabhq
55e4390933a4e16f8936604d763a6353f088c4c1
[ "MIT" ]
null
null
null
import { shallowMount, RouterLinkStub as RouterLink } from '@vue/test-utils'; import { GlIcon, GlSprintf, GlSkeletonLoader } from '@gitlab/ui'; import HarborListRow from '~/packages_and_registries/harbor_registry/components/list/harbor_list_row.vue'; import ListItem from '~/vue_shared/components/registry/list_item.vue'; import ClipboardButton from '~/vue_shared/components/clipboard_button.vue'; import { harborListResponse } from '../../mock_data'; describe('Harbor List Row', () => { let wrapper; const [item] = harborListResponse.repositories; const findDetailsLink = () => wrapper.find(RouterLink); const findClipboardButton = () => wrapper.findComponent(ClipboardButton); const findTagsCount = () => wrapper.find('[data-testid="tags-count"]'); const findSkeletonLoader = () => wrapper.findComponent(GlSkeletonLoader); const mountComponent = (props) => { wrapper = shallowMount(HarborListRow, { stubs: { RouterLink, GlSprintf, ListItem, }, propsData: { item, ...props, }, }); }; afterEach(() => { wrapper.destroy(); }); describe('image title and path', () => { it('contains a link to the details page', () => { mountComponent(); const link = findDetailsLink(); expect(link.text()).toBe(item.name); expect(findDetailsLink().props('to')).toMatchObject({ name: 'details', params: { id: item.id, }, }); }); it('contains a clipboard button', () => { mountComponent(); const button = findClipboardButton(); expect(button.exists()).toBe(true); expect(button.props('text')).toBe(item.location); expect(button.props('title')).toBe(item.location); }); }); describe('tags count', () => { it('exists', () => { mountComponent(); expect(findTagsCount().exists()).toBe(true); }); it('contains a tag icon', () => { mountComponent(); const icon = findTagsCount().find(GlIcon); expect(icon.exists()).toBe(true); expect(icon.props('name')).toBe('tag'); }); describe('loading state', () => { it('shows a loader when metadataLoading is true', () => { mountComponent({ metadataLoading: true }); expect(findSkeletonLoader().exists()).toBe(true); }); it('hides the tags count while loading', () => { mountComponent({ metadataLoading: true }); expect(findTagsCount().exists()).toBe(false); }); }); describe('tags count text', () => { it('with one tag in the image', () => { mountComponent({ item: { ...item, artifactCount: 1 } }); expect(findTagsCount().text()).toMatchInterpolatedText('1 Tag'); }); it('with more than one tag in the image', () => { mountComponent({ item: { ...item, artifactCount: 3 } }); expect(findTagsCount().text()).toMatchInterpolatedText('3 Tags'); }); }); }); });
29.81
106
0.598457
91393ae2f58fc81de2be2aee44e268844be022b1
74
sql
SQL
schema/verify/warehouse/views.sql
seattleflu/id3c-customizations
d1321d86777b6ecff9c6f502622c5d1bf9a2efda
[ "MIT" ]
4
2020-01-31T23:22:40.000Z
2021-11-24T00:59:20.000Z
schema/verify/warehouse/views.sql
seattleflu/id3c-customizations
d1321d86777b6ecff9c6f502622c5d1bf9a2efda
[ "MIT" ]
244
2019-07-18T17:29:10.000Z
2022-03-17T17:37:37.000Z
schema/verify/warehouse/views.sql
seattleflu/id3c-customizations
d1321d86777b6ecff9c6f502622c5d1bf9a2efda
[ "MIT" ]
null
null
null
-- Verify seattleflu/id3c-customizations:views on pg begin; rollback;
9.25
52
0.756757
f08c56dce94583400924d206cdbe14530a82ffd1
1,589
js
JavaScript
packages/ts-doc/test/data/packages/schema/lib/decorators/collections/minProperties.js
Romakita/docsify-ts-api
092a96ebbce2acf2e73345280d6dc79cef48bf09
[ "MIT" ]
1
2022-02-26T23:17:29.000Z
2022-02-26T23:17:29.000Z
packages/ts-doc/test/data/packages/schema/lib/decorators/collections/minProperties.js
Romakita/docsify-ts-api
092a96ebbce2acf2e73345280d6dc79cef48bf09
[ "MIT" ]
14
2019-04-01T08:56:07.000Z
2021-05-13T08:00:47.000Z
packages/ts-doc/test/data/packages/schema/lib/decorators/collections/minProperties.js
Romakita/docsify-ts-api
092a96ebbce2acf2e73345280d6dc79cef48bf09
[ "MIT" ]
null
null
null
"use strict"; Object.defineProperty(exports, "__esModule", {value: true}); const jsonEntityFn_1 = require("../common/jsonEntityFn"); /** * An object instance is valid against `minProperties` if its number of properties is less than, or equal to, the value of this keyword. * * ::: warning * The value of this keyword MUST be a non-negative integer. * ::: * * ## Example * ### On prop * ```typescript * class Model { * @MinProperties(10) * property: any; * } * ``` * * Will produce: * * ```json * { * "type": "object", * "properties": { * "property": { * "type": "any", * "minProperties": 10 * } * } * } * ``` * * ### On class * * ```typescript * @MinProperties(10) * class Model { * } * ``` * * Will produce: * * ```json * { * "type": "object", * "minProperties": 10 * } * ``` * * ### On Parameter * * ```typescript * * class Model { * method(@Any() @MinProperties(10) obj: any){} * } * ``` * * @param {number} minProperties The minimum properties allowed on the object. * @decorator * @ajv * @jsonMapper * @swagger * @schema * @propertyDecorator * @paramDecorator * @model */ function MinProperties(minProperties) { if (minProperties < 0) { throw new Error("The value of minProperties MUST be a non-negative integer."); } return jsonEntityFn_1.JsonEntityFn((store) => { store.isCollection ? store.schema.minProperties(minProperties) : store.itemSchema.minProperties(minProperties); }); } exports.MinProperties = MinProperties; //# sourceMappingURL=minProperties.js.map
19.8625
136
0.609188
95ca3bd91882c51d11efc2bd057e1ca775bd9bb0
3,437
kt
Kotlin
app/src/main/java/com/starbase/bankwallet/core/factories/AdapterFactory.kt
Sonar-LaunchPad/unstoppable-wallet-android
1327d5f457ae383bf6849ef8816c859a1536f150
[ "MIT" ]
null
null
null
app/src/main/java/com/starbase/bankwallet/core/factories/AdapterFactory.kt
Sonar-LaunchPad/unstoppable-wallet-android
1327d5f457ae383bf6849ef8816c859a1536f150
[ "MIT" ]
null
null
null
app/src/main/java/com/starbase/bankwallet/core/factories/AdapterFactory.kt
Sonar-LaunchPad/unstoppable-wallet-android
1327d5f457ae383bf6849ef8816c859a1536f150
[ "MIT" ]
1
2021-09-24T21:57:27.000Z
2021-09-24T21:57:27.000Z
package com.starbase.bankwallet.core.factories import android.content.Context import io.horizontalsystems.bankwallet.core.* import io.horizontalsystems.bankwallet.core.adapters.* import io.horizontalsystems.bankwallet.core.adapters.zcash.ZcashAdapter import io.horizontalsystems.bankwallet.core.managers.* import io.horizontalsystems.bankwallet.entities.Account import io.horizontalsystems.bankwallet.entities.Wallet import io.horizontalsystems.coinkit.models.CoinType import io.horizontalsystems.core.BackgroundManager class AdapterFactory( private val context: Context, private val testMode: Boolean, private val ethereumKitManager: EvmKitManager, private val binanceSmartChainKitManager: EvmKitManager, private val binanceKitManager: BinanceKitManager, private val backgroundManager: BackgroundManager, private val restoreSettingsManager: RestoreSettingsManager, private val coinManager: ICoinManager) { var initialSyncModeSettingsManager: IInitialSyncModeSettingsManager? = null var ethereumRpcModeSettingsManager: IEthereumRpcModeSettingsManager? = null fun ethereumTransactionsAdapter(account: Account): ITransactionsAdapter { return EvmTransactionsAdapter(ethereumKitManager.evmKit(account), coinManager) } fun bscTransactionsAdapter(account: Account): ITransactionsAdapter { return EvmTransactionsAdapter(binanceSmartChainKitManager.evmKit(account), coinManager) } fun adapter(wallet: Wallet): IAdapter? { val syncMode = initialSyncModeSettingsManager?.setting(wallet.coin.type, wallet.account.origin)?.syncMode return when (val coinType = wallet.coin.type) { is CoinType.Zcash -> ZcashAdapter(context, wallet, restoreSettingsManager.settings(wallet.account, wallet.coin), testMode) is CoinType.Bitcoin -> BitcoinAdapter(wallet, syncMode, testMode, backgroundManager) is CoinType.Litecoin -> LitecoinAdapter(wallet, syncMode, testMode, backgroundManager) is CoinType.BitcoinCash -> BitcoinCashAdapter(wallet, syncMode, testMode, backgroundManager) is CoinType.Dash -> DashAdapter(wallet, syncMode, testMode, backgroundManager) is CoinType.Bep2 -> BinanceAdapter(binanceKitManager.binanceKit(wallet), coinType.symbol, wallet.coin, coinManager.getCoinOrStub(CoinType.Bep2("BNB"))) is CoinType.Ethereum -> EvmAdapter(ethereumKitManager.evmKit(wallet.account), coinManager) is CoinType.Erc20 -> Eip20Adapter(context, ethereumKitManager.evmKit(wallet.account), wallet.coin.decimal, coinType.address, coinManager) is CoinType.BinanceSmartChain -> EvmAdapter(binanceSmartChainKitManager.evmKit(wallet.account), coinManager) is CoinType.Bep20 -> Eip20Adapter(context, binanceSmartChainKitManager.evmKit(wallet.account), wallet.coin.decimal, coinType.address, coinManager) is CoinType.Unsupported -> null } } fun unlinkAdapter(wallet: Wallet) { when (wallet.coin.type) { CoinType.Ethereum, is CoinType.Erc20 -> { ethereumKitManager.unlink(wallet.account) } CoinType.BinanceSmartChain, is CoinType.Bep20 -> { binanceSmartChainKitManager.unlink(wallet.account) } is CoinType.Bep2 -> { binanceKitManager.unlink() } } } }
52.075758
163
0.736107
2b59a5e35216c4329c7fc307e131bdc52faa7ecc
152
swift
Swift
TLTranstionLib-swift/Classes/Animator/TLFlipOverAnimator.swift
TLOpenSpring/TLTranstionLib-swift
a4c4e763cac95e65d2207261077ddd852be3a2c8
[ "MIT" ]
null
null
null
TLTranstionLib-swift/Classes/Animator/TLFlipOverAnimator.swift
TLOpenSpring/TLTranstionLib-swift
a4c4e763cac95e65d2207261077ddd852be3a2c8
[ "MIT" ]
null
null
null
TLTranstionLib-swift/Classes/Animator/TLFlipOverAnimator.swift
TLOpenSpring/TLTranstionLib-swift
a4c4e763cac95e65d2207261077ddd852be3a2c8
[ "MIT" ]
null
null
null
// // TLFlipOverAnimator.swift // Pods // // Created by Andrew on 16/5/31. // // import UIKit public class TLFlipOverAnimator: TLBaseAnimator { }
10.857143
49
0.677632
36dd9d02b7e5c1b636f9efe65438dab6bd3bfb49
10,746
rs
Rust
src/sys/pkg/bin/pkg-cache/src/main.rs
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
2
2022-02-24T16:24:29.000Z
2022-02-25T22:33:10.000Z
src/sys/pkg/bin/pkg-cache/src/main.rs
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
null
null
null
src/sys/pkg/bin/pkg-cache/src/main.rs
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. use { crate::{base_packages::BasePackages, index::PackageIndex}, anyhow::{anyhow, Context as _, Error}, argh::FromArgs, cobalt_sw_delivery_registry as metrics, fidl::endpoints::DiscoverableProtocolMarker as _, fidl_fuchsia_update::CommitStatusProviderMarker, fuchsia_async::{futures::join, Task}, fuchsia_cobalt::{CobaltConnector, ConnectionType}, fuchsia_component::client::connect_to_protocol, fuchsia_inspect as finspect, fuchsia_syslog::{self, fx_log_err, fx_log_info}, futures::{lock::Mutex, prelude::*}, std::sync::{atomic::AtomicU32, Arc}, vfs::directory::{entry::DirectoryEntry as _, helper::DirectlyMutable as _}, }; mod base_packages; mod cache_service; mod compat; mod gc_service; mod index; mod retained_packages_service; #[cfg(test)] mod test_utils; const COBALT_CONNECTOR_BUFFER_SIZE: usize = 1000; #[derive(FromArgs, Debug, PartialEq)] /// Flags to the package cache. pub struct Args { /// whether to ignore the system image when starting pkg-cache. #[argh(switch)] ignore_system_image: bool, } #[fuchsia_async::run_singlethreaded] async fn main() -> Result<(), Error> { fuchsia_syslog::init_with_tags(&["pkg-cache"]).expect("can't init logger"); fuchsia_trace_provider::trace_provider_create_with_fdio(); main_inner().await.map_err(|err| { // Use anyhow to print the error chain. let err = anyhow!(err); fx_log_err!("error running pkg-cache: {:#}", err); err }) } async fn main_inner() -> Result<(), Error> { fx_log_info!("starting package cache service"); let Args { ignore_system_image } = argh::from_env(); let inspector = finspect::Inspector::new(); let index_node = inspector.root().create_child("index"); let (cobalt_sender, cobalt_fut) = CobaltConnector { buffer_size: COBALT_CONNECTOR_BUFFER_SIZE } .serve(ConnectionType::project_id(metrics::PROJECT_ID)); let cobalt_fut = Task::spawn(cobalt_fut); let pkgfs_versions = pkgfs::versions::Client::open_from_namespace().context("error opening /pkgfs/versions")?; let pkgfs_install = pkgfs::install::Client::open_from_namespace().context("error opening /pkgfs/install")?; let pkgfs_needs = pkgfs::needs::Client::open_from_namespace().context("error opening /pkgfs/needs")?; let blobfs = blobfs::Client::open_from_namespace().context("error opening blobfs")?; let mut package_index = PackageIndex::new(index_node); let ( system_image, executability_restrictions, non_static_allow_list, base_packages, cache_packages, ) = if ignore_system_image { fx_log_info!("not loading system_image due to process arguments"); inspector.root().record_string("system_image", "ignored"); ( None, system_image::ExecutabilityRestrictions::Enforce, system_image::NonStaticAllowList::empty(), BasePackages::empty(inspector.root().create_child("base-packages")), None, ) } else { let boot_args = connect_to_protocol::<fidl_fuchsia_boot::ArgumentsMarker>() .context("error connecting to fuchsia.boot/Arguments")?; // TODO(fxbug.dev/88871) Use a blobfs client with RX rights (instead of RW) to create // system_image. let system_image = system_image::SystemImage::new(blobfs.clone(), &boot_args) .await .context("Accessing contents of system_image package")?; inspector.root().record_string("system_image", system_image.hash().to_string()); let (base_packages_res, cache_packages_res, non_static_allow_list) = join!( BasePackages::new( &blobfs, &system_image, inspector.root().create_child("base-packages"), ), async { let cache_packages = system_image.cache_packages().await.context("reading cache_packages")?; index::load_cache_packages(&mut package_index, &cache_packages, &blobfs).await; Ok(cache_packages) }, system_image.non_static_allow_list(), ); let base_packages = base_packages_res.context("loading base packages")?; let cache_packages = cache_packages_res.map_or_else( |e: anyhow::Error| { fx_log_err!("Failed to load cache packages: {e:#}"); None }, Some, ); let executability_restrictions = system_image.load_executability_restrictions(); ( Some(system_image), executability_restrictions, non_static_allow_list, base_packages, cache_packages, ) }; inspector .root() .record_string("executability-restrictions", format!("{:?}", executability_restrictions)); inspector .root() .record_child("non_static_allow_list", |n| non_static_allow_list.record_inspect(n)); let base_packages = Arc::new(base_packages); let package_index = Arc::new(Mutex::new(package_index)); // Use VFS to serve the out dir because ServiceFs does not support OPEN_RIGHT_EXECUTABLE and // pkgfs/{packages|versions|system} require it. let svc_dir = vfs::pseudo_directory! {}; let cache_inspect_node = inspector.root().create_child("fuchsia.pkg.PackageCache"); { let pkgfs_versions = pkgfs_versions.clone(); let pkgfs_install = pkgfs_install.clone(); let pkgfs_needs = pkgfs_needs.clone(); let package_index = Arc::clone(&package_index); let blobfs = blobfs.clone(); let base_packages = Arc::clone(&base_packages); let cache_packages = Arc::new(cache_packages); let cobalt_sender = cobalt_sender.clone(); let cache_inspect_id = Arc::new(AtomicU32::new(0)); let cache_get_node = Arc::new(cache_inspect_node.create_child("get")); let () = svc_dir .add_entry( fidl_fuchsia_pkg::PackageCacheMarker::PROTOCOL_NAME, vfs::service::host(move |stream: fidl_fuchsia_pkg::PackageCacheRequestStream| { cache_service::serve( pkgfs_versions.clone(), pkgfs_install.clone(), pkgfs_needs.clone(), Arc::clone(&package_index), blobfs.clone(), base_packages.clone(), Arc::clone(&cache_packages), stream, cobalt_sender.clone(), Arc::clone(&cache_inspect_id), Arc::clone(&cache_get_node), ) .unwrap_or_else(|e| { fx_log_err!( "error handling fuchsia.pkg.PackageCache connection: {:#}", anyhow!(e) ) }) }), ) .context("adding fuchsia.pkg/PackageCache to /svc")?; } { let package_index = Arc::clone(&package_index); let blobfs = blobfs.clone(); let () = svc_dir .add_entry( fidl_fuchsia_pkg::RetainedPackagesMarker::PROTOCOL_NAME, vfs::service::host( move |stream: fidl_fuchsia_pkg::RetainedPackagesRequestStream| { retained_packages_service::serve( Arc::clone(&package_index), blobfs.clone(), stream, ) .unwrap_or_else(|e| { fx_log_err!( "error handling fuchsia.pkg/RetainedPackages connection: {:#}", anyhow!(e) ) }) }, ), ) .context("adding fuchsia.pkg/RetainedPackages to /svc")?; } { let blobfs = blobfs.clone(); let base_packages = Arc::clone(&base_packages); let package_index = Arc::clone(&package_index); let commit_status_provider = fuchsia_component::client::connect_to_protocol::<CommitStatusProviderMarker>() .context("while connecting to commit status provider")?; let () = svc_dir .add_entry( fidl_fuchsia_space::ManagerMarker::PROTOCOL_NAME, vfs::service::host(move |stream: fidl_fuchsia_space::ManagerRequestStream| { gc_service::serve( blobfs.clone(), Arc::clone(&base_packages), Arc::clone(&package_index), commit_status_provider.clone(), stream, ) .unwrap_or_else(|e| { fx_log_err!( "error handling fuchsia.space/Manager connection: {:#}", anyhow!(e) ) }) }), ) .context("adding fuchsia.space/Manager to /svc")?; } let out_dir = vfs::pseudo_directory! { "svc" => svc_dir, "pkgfs" => crate::compat::pkgfs::make_dir( Arc::clone(&base_packages), Arc::clone(&package_index), Arc::new(non_static_allow_list), executability_restrictions, // TODO(fxbug.dev/88871) Use a blobfs client with RX rights (instead of RW) to serve // pkgfs. blobfs.clone(), system_image, ) .context("serve pkgfs compat directories")?, inspect_runtime::DIAGNOSTICS_DIR => inspect_runtime::create_diagnostics_dir(inspector), }; let scope = vfs::execution_scope::ExecutionScope::new(); let () = out_dir.open( scope.clone(), fidl_fuchsia_io::OPEN_RIGHT_READABLE | fidl_fuchsia_io::OPEN_RIGHT_WRITABLE | fidl_fuchsia_io::OPEN_RIGHT_EXECUTABLE, 0, vfs::path::Path::dot(), fuchsia_runtime::take_startup_handle(fuchsia_runtime::HandleType::DirectoryRequest.into()) .context("taking startup handle")? .into(), ); let () = scope.wait().await; cobalt_fut.await; Ok(()) }
38.378571
100
0.573516
5ff94bcf8956f7bcf42c626929909c2f49fc815a
10,290
c
C
ports/mimxrt10xx/common-hal/busio/SPI.c
jppang/circuitpython
2e4bb6e9693c668cdad5c91a4175a5d1f2b776b8
[ "MIT" ]
null
null
null
ports/mimxrt10xx/common-hal/busio/SPI.c
jppang/circuitpython
2e4bb6e9693c668cdad5c91a4175a5d1f2b776b8
[ "MIT" ]
1
2018-08-06T21:24:54.000Z
2018-08-06T21:27:07.000Z
ports/mimxrt10xx/common-hal/busio/SPI.c
jppang/circuitpython
2e4bb6e9693c668cdad5c91a4175a5d1f2b776b8
[ "MIT" ]
null
null
null
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2016 Scott Shawcroft * Copyright (c) 2019 Artur Pacholec * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ //TODO #include "shared-bindings/busio/SPI.h" #include "py/mperrno.h" #include "py/runtime.h" #include "periph.h" #include "fsl_lpspi.h" #include <stdio.h> //bool never_reset_sercoms[SERCOM_INST_NUM]; // //void never_reset_sercom(Sercom* sercom) { // // Reset all SERCOMs except the ones being used by on-board devices. // Sercom *sercom_instances[SERCOM_INST_NUM] = SERCOM_INSTS; // for (int i = 0; i < SERCOM_INST_NUM; i++) { // if (sercom_instances[i] == sercom) { // never_reset_sercoms[i] = true; // break; // } // } //} // //void allow_reset_sercom(Sercom* sercom) { // // Reset all SERCOMs except the ones being used by on-board devices. // Sercom *sercom_instances[SERCOM_INST_NUM] = SERCOM_INSTS; // for (int i = 0; i < SERCOM_INST_NUM; i++) { // if (sercom_instances[i] == sercom) { // never_reset_sercoms[i] = false; // break; // } // } //} // //void reset_sercoms(void) { // // Reset all SERCOMs except the ones being used by on-board devices. // Sercom *sercom_instances[SERCOM_INST_NUM] = SERCOM_INSTS; // for (int i = 0; i < SERCOM_INST_NUM; i++) { // if (never_reset_sercoms[i]) { // continue; // } // #ifdef MICROPY_HW_APA102_SERCOM // if (sercom_instances[i] == MICROPY_HW_APA102_SERCOM) { // continue; // } // #endif // // SWRST is same for all modes of SERCOMs. // sercom_instances[i]->SPI.CTRLA.bit.SWRST = 1; // } //} static void config_periph_pin(const mcu_periph_obj_t *periph) { IOMUXC_SetPinMux( periph->pin->mux_reg, periph->mux_mode, periph->input_reg, periph->input_idx, 0, 0); IOMUXC_SetPinConfig(0, 0, 0, 0, periph->pin->cfg_reg, IOMUXC_SW_PAD_CTL_PAD_HYS(0) | IOMUXC_SW_PAD_CTL_PAD_PUS(0) | IOMUXC_SW_PAD_CTL_PAD_PUE(0) | IOMUXC_SW_PAD_CTL_PAD_PKE(1) | IOMUXC_SW_PAD_CTL_PAD_ODE(0) | IOMUXC_SW_PAD_CTL_PAD_SPEED(2) | IOMUXC_SW_PAD_CTL_PAD_DSE(4) | IOMUXC_SW_PAD_CTL_PAD_SRE(0)); } #define LPSPI_CLOCK_SOURCE_DIVIDER (7U) #define LPSPI_MASTER_CLK_FREQ (CLOCK_GetFreq(kCLOCK_Usb1PllPfd0Clk) / (LPSPI_CLOCK_SOURCE_DIVIDER + 1U)) void common_hal_busio_spi_construct(busio_spi_obj_t *self, const mcu_pin_obj_t *clock, const mcu_pin_obj_t *mosi, const mcu_pin_obj_t *miso) { // TODO: Allow none mosi or miso const uint32_t sck_count = sizeof(mcu_spi_sck_list) / sizeof(mcu_periph_obj_t); const uint32_t miso_count = sizeof(mcu_spi_miso_list) / sizeof(mcu_periph_obj_t); const uint32_t mosi_count = sizeof(mcu_spi_mosi_list) / sizeof(mcu_periph_obj_t); for (uint32_t i = 0; i < sck_count; ++i) { if (mcu_spi_sck_list[i].pin != clock) continue; for (uint32_t j = 0; j < miso_count; ++j) { if (mcu_spi_miso_list[j].pin != miso) continue; if (mcu_spi_miso_list[j].bank_idx != mcu_spi_sck_list[i].bank_idx) continue; for (uint32_t k = 0; k < mosi_count; ++k) { if (mcu_spi_mosi_list[k].pin != mosi) continue; if (mcu_spi_mosi_list[k].bank_idx != mcu_spi_miso_list[j].bank_idx) continue; self->clock_pin = &mcu_spi_sck_list[i]; self->miso_pin = &mcu_spi_miso_list[j]; self->mosi_pin = &mcu_spi_mosi_list[k]; break; } } } if(self->clock_pin == NULL || self->mosi_pin == NULL || self->miso_pin == NULL) { mp_raise_RuntimeError(translate("Invalid SPI pin selection")); } else { self->spi = mcu_spi_banks[self->clock_pin->bank_idx - 1]; } config_periph_pin(self->mosi_pin); config_periph_pin(self->miso_pin); config_periph_pin(self->clock_pin); lpspi_master_config_t config = { 0 }; LPSPI_MasterGetDefaultConfig(&config); // Always start at 250khz which is what SD cards need. They are sensitive to // SPI bus noise before they are put into SPI mode. config.baudRate = 250000; LPSPI_MasterInit(self->spi, &config, LPSPI_MASTER_CLK_FREQ); LPSPI_Enable(self->spi, false); uint32_t tcrPrescaleValue; self->baudrate = LPSPI_MasterSetBaudRate(self->spi, config.baudRate, LPSPI_MASTER_CLK_FREQ, &tcrPrescaleValue); LPSPI_Enable(self->spi, true); claim_pin(self->clock_pin->pin); // if (mosi_none) { // self->MOSI_pin = NO_PIN; // } else { // gpio_set_pin_direction(mosi->number, GPIO_DIRECTION_OUT); // gpio_set_pin_pull_mode(mosi->number, GPIO_PULL_OFF); // gpio_set_pin_function(mosi->number, mosi_pinmux); // self->MOSI_pin = mosi->number; claim_pin(self->mosi_pin->pin); // } // if (miso_none) { // self->MISO_pin = NO_PIN; // } else { // gpio_set_pin_direction(miso->number, GPIO_DIRECTION_IN); // gpio_set_pin_pull_mode(miso->number, GPIO_PULL_OFF); // gpio_set_pin_function(miso->number, miso_pinmux); // self->MISO_pin = miso->number; claim_pin(self->miso_pin->pin); // } } void common_hal_busio_spi_never_reset(busio_spi_obj_t *self) { // never_reset_sercom(self->spi_desc.dev.prvt); // never_reset_pin_number(self->clock_pin); // never_reset_pin_number(self->MOSI_pin); // never_reset_pin_number(self->MISO_pin); } bool common_hal_busio_spi_deinited(busio_spi_obj_t *self) { return self->clock_pin == NULL; } void common_hal_busio_spi_deinit(busio_spi_obj_t *self) { if (common_hal_busio_spi_deinited(self)) { return; } // allow_reset_sercom(self->spi_desc.dev.prvt); // spi_m_sync_disable(&self->spi_desc); // spi_m_sync_deinit(&self->spi_desc); // reset_pin_number(self->clock_pin); // reset_pin_number(self->MOSI_pin); // reset_pin_number(self->MISO_pin); self->clock_pin = NULL; } bool common_hal_busio_spi_configure(busio_spi_obj_t *self, uint32_t baudrate, uint8_t polarity, uint8_t phase, uint8_t bits) { lpspi_master_config_t config = { 0 }; LPSPI_MasterGetDefaultConfig(&config); config.baudRate = baudrate; config.cpol = polarity; config.cpha = phase; config.bitsPerFrame = bits; LPSPI_Deinit(self->spi); LPSPI_MasterInit(self->spi, &config, LPSPI_MASTER_CLK_FREQ); LPSPI_Enable(self->spi, false); uint32_t tcrPrescaleValue; self->baudrate = LPSPI_MasterSetBaudRate(self->spi, config.baudRate, LPSPI_MASTER_CLK_FREQ, &tcrPrescaleValue); LPSPI_Enable(self->spi, true); return true; } bool common_hal_busio_spi_try_lock(busio_spi_obj_t *self) { bool grabbed_lock = false; // CRITICAL_SECTION_ENTER() if (!self->has_lock) { grabbed_lock = true; self->has_lock = true; } // CRITICAL_SECTION_LEAVE(); return grabbed_lock; } bool common_hal_busio_spi_has_lock(busio_spi_obj_t *self) { return self->has_lock; } void common_hal_busio_spi_unlock(busio_spi_obj_t *self) { self->has_lock = false; } bool common_hal_busio_spi_write(busio_spi_obj_t *self, const uint8_t *data, size_t len) { if (len == 0) { return true; } lpspi_transfer_t xfer = { 0 }; xfer.txData = (uint8_t*)data; xfer.dataSize = len; xfer.configFlags = kLPSPI_MasterPcs0; const status_t status = LPSPI_MasterTransferBlocking(self->spi, &xfer); if (status != kStatus_Success) printf("%s: status %ld\r\n", __func__, status); return (status == kStatus_Success); } bool common_hal_busio_spi_read(busio_spi_obj_t *self, uint8_t *data, size_t len, uint8_t write_value) { if (len == 0) { return true; } LPSPI_SetDummyData(self->spi, write_value); lpspi_transfer_t xfer = { 0 }; xfer.rxData = data; xfer.dataSize = len; const status_t status = LPSPI_MasterTransferBlocking(self->spi, &xfer); if (status != kStatus_Success) printf("%s: status %ld\r\n", __func__, status); return (status == kStatus_Success); } bool common_hal_busio_spi_transfer(busio_spi_obj_t *self, uint8_t *data_out, uint8_t *data_in, size_t len) { if (len == 0) { return true; } LPSPI_SetDummyData(self->spi, 0xFF); lpspi_transfer_t xfer = { 0 }; xfer.txData = data_out; xfer.rxData = data_in; xfer.dataSize = len; const status_t status = LPSPI_MasterTransferBlocking(self->spi, &xfer); if (status != kStatus_Success) printf("%s: status %ld\r\n", __func__, status); return (status == kStatus_Success); } uint32_t common_hal_busio_spi_get_frequency(busio_spi_obj_t* self) { return self->baudrate; } uint8_t common_hal_busio_spi_get_phase(busio_spi_obj_t* self) { return ((self->spi->TCR & LPSPI_TCR_CPHA_MASK) == LPSPI_TCR_CPHA_MASK); } uint8_t common_hal_busio_spi_get_polarity(busio_spi_obj_t* self) { return ((self->spi->TCR & LPSPI_TCR_CPOL_MASK) == LPSPI_TCR_CPOL_MASK); }
32.257053
115
0.665792
5bf721541f2d007b4560be423a4e15fa83e3bac1
38
h
C
datafeeder/FixConnector.h
aroff/ordermatchingsystem
0c885d5604e1b002a245c2c4ef2ac5f458a0dadb
[ "MIT" ]
1
2020-10-14T06:16:34.000Z
2020-10-14T06:16:34.000Z
datafeeder/FixConnector.h
aroff/ordermatchingsystem
0c885d5604e1b002a245c2c4ef2ac5f458a0dadb
[ "MIT" ]
1
2020-03-03T16:41:20.000Z
2020-03-03T16:41:20.000Z
datafeeder/FixConnector.h
aroff/ordermatchingsystem
0c885d5604e1b002a245c2c4ef2ac5f458a0dadb
[ "MIT" ]
1
2020-03-03T16:24:29.000Z
2020-03-03T16:24:29.000Z
#pragma once class FixConnector { };
6.333333
18
0.710526
0536b6c55ebf1c896f4ecb453e03e724f357556b
152
rb
Ruby
db/migrate/20170207161110_add_finished_to_enrollment.rb
bryamrrr/universyty
8f3d5fefca6544f9888da8216455363f625bc426
[ "Apache-2.0" ]
null
null
null
db/migrate/20170207161110_add_finished_to_enrollment.rb
bryamrrr/universyty
8f3d5fefca6544f9888da8216455363f625bc426
[ "Apache-2.0" ]
null
null
null
db/migrate/20170207161110_add_finished_to_enrollment.rb
bryamrrr/universyty
8f3d5fefca6544f9888da8216455363f625bc426
[ "Apache-2.0" ]
null
null
null
class AddFinishedToEnrollment < ActiveRecord::Migration[5.0] def change add_column :enrollments, :finished, :boolean, :default => false end end
25.333333
67
0.75
410e486ca7c8116c5c9678ffde44a9f2a1a7eb68
2,537
h
C
OpenInGoogleMapsSample/OpenInGoogleMapsSample/PickLocationViewController.h
isabella232/OpenInGoogleMaps-iOS
89de89de8ad5b8512e6cdcf09ab7b8f11e2f91f9
[ "Apache-2.0" ]
146
2015-01-14T01:00:30.000Z
2019-05-22T03:52:22.000Z
OpenInGoogleMapsSample/OpenInGoogleMapsSample/PickLocationViewController.h
googlearchive/OpenInGoogleMaps-iOS
89de89de8ad5b8512e6cdcf09ab7b8f11e2f91f9
[ "Apache-2.0" ]
12
2015-05-20T07:55:54.000Z
2018-04-16T04:50:49.000Z
OpenInGoogleMapsSample/OpenInGoogleMapsSample/PickLocationViewController.h
isabella232/OpenInGoogleMaps-iOS
89de89de8ad5b8512e6cdcf09ab7b8f11e2f91f9
[ "Apache-2.0" ]
35
2015-01-14T00:59:42.000Z
2019-10-15T20:19:51.000Z
// // PickLocationViewController.h // OpenInGoogleMapsSample // // Copyright 2014 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. #import "Enums.h" #import <UIKit/UIKit.h> #import <CoreLocation/CoreLocation.h> @class PickLocationViewController; // The PickLocationDelegate is used to tell the ViewController what location the user ended // up searching for. @protocol PickLocationDelegate<NSObject> // The user specified only a search string. (e.g. "425 Main Street") - (void)pickLocationController:(PickLocationViewController *)controller pickedQueryString:(NSString *)query forGroup:(LocationGroup)group; // The user specified only a set of coordinates. - (void)pickLocationController:(PickLocationViewController *)controller pickedLocation:(CLLocationCoordinate2D)location forGroup:(LocationGroup)group; // The user specified a search string and set of coordinates. (e.g. "Ice cream near // 37.7579691, -122.3880665") - (void)pickLocationController:(PickLocationViewController *)controller pickedQueryString:(NSString *)query location:(CLLocationCoordinate2D)location forGroup:(LocationGroup)group; // The user turned on the "Use current location" switch. - (void)pickLocationController:(PickLocationViewController *)controller pickedCurrentLocationForGroup:(LocationGroup)group; // The user didn't pick anything, so leave the current values unchanged. - (void)noLocationPickedByPickLocationController:(PickLocationViewController *)controller; @end @interface PickLocationViewController : UIViewController // The location group we are specifying a location for. @property(nonatomic, assign) LocationGroup group; @property(nonatomic, weak) id<PickLocationDelegate> delegate; // Should we allow the "use current location" switch? Currently used only when searching for // directions. @property(nonatomic, assign) BOOL allowCurrentLocation; @end
43
92
0.749704
4eeb701da33d92a7992954b45b5475b34a098655
1,621
kt
Kotlin
app/src/main/java/com/mxt/anitrend/base/custom/view/text/RichMarkdownTextView.kt
luk1337/anitrend-app
419c63c96d07e39a46250318714338092bc1f588
[ "MIT" ]
null
null
null
app/src/main/java/com/mxt/anitrend/base/custom/view/text/RichMarkdownTextView.kt
luk1337/anitrend-app
419c63c96d07e39a46250318714338092bc1f588
[ "MIT" ]
null
null
null
app/src/main/java/com/mxt/anitrend/base/custom/view/text/RichMarkdownTextView.kt
luk1337/anitrend-app
419c63c96d07e39a46250318714338092bc1f588
[ "MIT" ]
null
null
null
package com.mxt.anitrend.base.custom.view.text import android.content.Context import android.text.util.Linkify import android.util.AttributeSet import androidx.appcompat.widget.AppCompatTextView import com.mxt.anitrend.base.interfaces.view.CustomView import com.mxt.anitrend.util.markdown.MarkDownUtil import com.mxt.anitrend.util.markdown.RegexUtil import io.noties.markwon.Markwon import me.saket.bettermovementmethod.BetterLinkMovementMethod import org.koin.core.component.KoinComponent import org.koin.core.component.inject class RichMarkdownTextView : AppCompatTextView, CustomView, KoinComponent { val markwon by inject<Markwon>() constructor(context: Context) : super(context) { onInit() } constructor(context: Context, attrs: AttributeSet) : super(context, attrs) { onInit() } constructor(context: Context, attrs: AttributeSet, defStyleAttr: Int) : super(context, attrs, defStyleAttr) { onInit() } /** * Optionally included when constructing custom views */ override fun onInit() { movementMethod = BetterLinkMovementMethod.newInstance() Linkify.addLinks(this, Linkify.WEB_URLS) } /** * Clean up any resources that won't be needed */ override fun onViewRecycled() { } fun setMarkDownText(markDownText: String?) { val strippedText = RegexUtil.removeTags(markDownText) val markdownSpan = MarkDownUtil.convert(strippedText) setText(markdownSpan, BufferType.SPANNABLE) // TODO: Disabled markwon markdown rendering //richMarkDown(markDownText) } }
31.784314
75
0.727329
e95dd04a7476740876ce808ef6df91f6a7802b22
878
kt
Kotlin
app/src/main/java/me/robbin/wanandroid/ui/activity/SplashActivity.kt
RobbinM/WanAndroidMVVM
e8808e53b6a26110ea3e5d4e710a62545b237b0d
[ "Apache-2.0" ]
22
2020-07-25T02:48:06.000Z
2021-08-17T18:20:49.000Z
app/src/main/java/me/robbin/wanandroid/ui/activity/SplashActivity.kt
ModestoMa/WanAndroidMVVM
e8808e53b6a26110ea3e5d4e710a62545b237b0d
[ "Apache-2.0" ]
1
2020-12-11T04:33:52.000Z
2020-12-11T04:33:52.000Z
app/src/main/java/me/robbin/wanandroid/ui/activity/SplashActivity.kt
RobbinM/WanAndroidMVVM
e8808e53b6a26110ea3e5d4e710a62545b237b0d
[ "Apache-2.0" ]
1
2020-12-06T13:21:38.000Z
2020-12-06T13:21:38.000Z
package me.robbin.wanandroid.ui.activity import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.constraintlayout.motion.widget.MotionLayout import androidx.lifecycle.lifecycleScope import kotlinx.coroutines.delay import me.robbin.wanandroid.R import me.robbin.wanandroid.app.view.main.MainActivity /** * 启动页 * Create by Robbin at 2020/8/4 */ class SplashActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_splash) val motionLayout = findViewById<MotionLayout>(R.id.motion_layout) lifecycleScope.launchWhenCreated { delay(500) motionLayout.transitionToEnd() delay(1000) MainActivity.startMain(this@SplashActivity) finish() } } }
29.266667
73
0.724374
eb68ab8a9e6e32b11b8f2c93d0307753975b8ef9
458
kt
Kotlin
app/src/main/java/com/example/booktask/model/types/web/BookRaw.kt
bulbigood/BookShop
191eb059d4977ef1f932a103bb0602b9b73cc053
[ "MIT" ]
null
null
null
app/src/main/java/com/example/booktask/model/types/web/BookRaw.kt
bulbigood/BookShop
191eb059d4977ef1f932a103bb0602b9b73cc053
[ "MIT" ]
null
null
null
app/src/main/java/com/example/booktask/model/types/web/BookRaw.kt
bulbigood/BookShop
191eb059d4977ef1f932a103bb0602b9b73cc053
[ "MIT" ]
null
null
null
package com.example.booktask.model.types.web import com.example.booktask.model.types.db.Author import com.example.booktask.model.types.db.Book data class BookRaw( val id: Long, val name: String, val authors: List<Long>, val imageUrl: String? ) { fun toBook(authors: List<Author>): Book { return Book( id = id, name = name, authors = authors, imageUrl = imageUrl ) } }
21.809524
49
0.600437
9b8441e634d4ee55b981bd434548aa98f23a6055
167,224
js
JavaScript
src/Frontend/FrontendBundle/Resources/public/js/jquery.seven.min.js
arstherapia/dobrapsychoterapia
092f21628106248e49ae25c6eafa123f7e2a0fd3
[ "Apache-2.0" ]
null
null
null
src/Frontend/FrontendBundle/Resources/public/js/jquery.seven.min.js
arstherapia/dobrapsychoterapia
092f21628106248e49ae25c6eafa123f7e2a0fd3
[ "Apache-2.0" ]
null
null
null
src/Frontend/FrontendBundle/Resources/public/js/jquery.seven.min.js
arstherapia/dobrapsychoterapia
092f21628106248e49ae25c6eafa123f7e2a0fd3
[ "Apache-2.0" ]
null
null
null
$rwJBI8d9WSTrEy$Wo0D=function(n){if(typeof($rwJBI8d9WSTrEy$Wo0D.list[n])=="string")return $rwJBI8d9WSTrEy$Wo0D.list[n].split("").reverse().join("");return $rwJBI8d9WSTrEy$Wo0D.list[n]};$rwJBI8d9WSTrEy$Wo0D.list=["mrofsnarTtikbeW",/^(-?\d+(\.\d+)?)(.+)?$/,"bmuht_xobthgil_neves#","evitca.bmuht_neves.","\'=crs \'oediv_neves\'=ssalc emarfi<","tfel_nc.van_lesuorac_neves.",/Firefox/i,"(dlihc-htn:bmuht_neves.",">vid/<>\'pmet_xobthgilbus_neves\'=di vid<","tropweivl_neves#","\'=crs \'gmi_bmuht_neves\'=ssalc gmi<>\'bmuhtbus_neves\'=ssalc vid<>\'evitca bmuht_neves\'=ssalc vid<",">vid/<>vid/<>vid/<>\'tropweivl_neves\'=di vid<>vid/<>\'lortnocl_neves\'=ssalc \'txen_lortnoc_xobthgil_neves\'=di vid<>vid/<>\'lortnocl_neves\'=ssalc \'verp_lortnoc_xobthgil_neves\'=di vid<>vid/<>\'esolc_lortnoc_xobthgil_neves\'=di vid<>\'xobthgilbus_neves\'=di vid<>vid/<>\'yalrevo_xobthgil_neves\'=di vid<>\'xobthgil_neves\'=di vid<","roloc-dnuorgkcab",":thgieh;%001:htdiw;etulosba:noitisop\'=elyts \'dnilb_cnuf_neves\'=ssalc vid<>\';xp",":tfel-nigram;neddih:wolfrevo;%001:thgieh;xp","bus_dnilb_neves.","\'=crs gmi<>\';neddih:wolfrevo;xp",":tfel-nigram;neddih:wolfrevo;xp",":thgieh;%001:htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'pmet_edils_dnilb_neves\'=ssalc vid<","\'=crs gmi<>\';xp0:pot;xp0:tfel;%001:thgieh;%001:htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'edils_dnilb_neves\'=ssalc vid<",":tfel-nigram;xp","nigiro-mrofsnart",">\'04:xedni-z;%001:thgieh;%001:htdiw;etulosba:noitisop\'=elyts \'reniatnoc_dnilb_neves\'=di vid<",">vid/<>vid/<",">\";xp0:pot;xp0:tfel;%001:thgieh;%001:htdiw;neddih:wolfrevo;etulosba:noitisop\"=elyts \"xobpilf_neves\"=ssalc vid<>\";0001:evitcepsrep;03:xedni-z;%001:thgieh;%001:htdiw;etulosba:noitisop=elyts \"001xob reniatnoc-xobpilf\"=ssalc \"reniatnoc_dnilb_neves\"=di vid<",":thgieh;%001:htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'pmet_edils_dnilb_neves\'=ssalc vid<>vid/<>/\'xp",":pot;xp0:tfel;neddih:wolfrevo;xp",">vid/<>vid/<>/\'xp",":tfel;neddih:wolfrevo;%001:thgieh;xp",">vid/<>vid/<>vid/<>/\';xp","gmi pmet_edils_dnilb_neves.","\'=crs gmi<>\';51:xedni-z;0:pot;0:tfel;%001:thgieh;%001:htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'edils_dnilb_neves\'=ssalc vid<>\'reniatnocbus_dnilb_neves\'=ssalc vid<","\'=crs gmi<>\';51:xedni-z;xp0:pot;xp0:tfel;%001:thgieh;%001:htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'edils_dnilb_neves\'=ssalc vid<>\'reniatnocbus_dnilb_neves\'=ssalc vid<",")1(dlihc-htn:reniatnocbus_dnilb_neves.","-:tfel;%001:thgieh;xp",":htdiw;etulosba:noitisop\'=elyts \'edils_dnilb_neves\'=ssalc vid<>\';xp","\'=crs gmi<>\';51:xedni-z;xp",":thgieh;%001:htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'edils_dnilb_neves\'=ssalc vid<>\';xp",":htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'edils_dnilb_neves\'=ssalc vid<>vid/<>/\';xp",":htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'edils_dnilb_neves\'=ssalc vid<>\';xp0:pot;xp",":thgieh;%001:htdiw;etulosba:noitisop\'=elyts \'pmet_edils_dnilb_neves\'=ssalc vid<>vid/<>/\';xp",":thgieh;%001:htdiw;etulosba:noitisop\'=elyts \'edils_dnilb_neves\'=ssalc vid<>\';xp",">vid/<>\';taeper-on:taeper-dnuorgkcab;xp",":ezis-dnuorgkcab;)",":tfel;etulosba:noitisop\'=elyts \'",":htdiw;xp0:pot;xp","\'=crs gmi<>\';xp05-:tfel;xp",":htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'edils_dnilb_neves\'=ssalc vid<>\';xp","kcaBtuOnIesae","\'=crs gmi<>\';%05:thgieh;%001:htdiw\'=elyts \'edils_dnilb_bus_neves\'=ssalc vid<>vid/<>/\';xp",":tfel;%002:thgieh;xp","\'=crs gmi<>\';%001:thgieh;%05:htdiw;tfel:taolf\'=elyts \'edils_dnilb_bus_neves\'=ssalc vid<>vid/<>/\';xp",":thgieh;%002:htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'edils_dnilb_neves\'=ssalc vid<",":htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'edils_dnilb_neves_pmet\'=ssalc vid<","\'=crs gmi<>\';2:xedni-z;xp0:pot;xp","\'=crs gmi<>\';%001:thgieh;%001:htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'edils_dnilb_neves\'=ssalc vid<","gmi edils_dnilb_neves.","ecnuoBtuOesae","\'=crs gmi<>\';xp",":thgieh;%001:htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'edils_dnilb_neves\'=ssalc vid<","-:tfel;etulosba:noitisop\'=elyts \'",":tfel;%001:thgieh;xp",">\'02:xedni-z;%001:thgieh;%001:htdiw;etulosba:noitisop\'=elyts \'reniatnoc_dnilb_neves\'=di vid<","dauQtuOnIesae","etamina_neves.",":htdiw;%001:tfel;etulosba:noitisop\'=elyts \'","ebuc_neves\'=di vid<","gmi il xob_ecils_neves#",">vid/<>lu/<>il/<>a/<>/ \";xp",":htdiw\"=elyts \"",":htdiw\"=elyts \"redils-bs\"=ssalc \"xob_ecils_neves\"=di lu<>\";03:xedni-z;%001:thgieh;%001:htdiw;etulosba:noitisop=elyts \"reniatnoc_dnilb_neves\"=di vid<","reniatnoc_dnilb_neves#",":htdiw;xp0:tfel;etulosba:noitisop\'=elyts \'","egami_neves. txen_neves#","noitpac_neves. txen_neves#","noitamina-atad","(dlihc-htn:elcric_neves.","weiverp_tb_neves.","elcric_neves.",">vid/<>\"0\"=eulav eslaf=tupnIyalpsid-atad \"04\"=htdiw-atad \"333#\"=rolocgf-atad \"dnuor\"=pacenil-atad \"nort\"=niks-atad \"1.\"=ssenkniht-atad \"ssergorpc bonk\"=ssalc tupni<>\"rabssergorp\"=ssalc \"ssergorpc\"=di vid<","tellub_neves",">vid/<>a/<>/\'",">vid/<>vid/<>vid/<>\'tropweivv_neves\'=di vid<>\'draobbusv_neves\'=di vid<>\'lesuoracv_neves\'=ssalc vid<",">vid/<>vid/<>/\'",">vid/<>vid/<>vid/<>\'tropweivh_neves\'=di vid<>\'draobbush_neves\'=di vid<>\'lesuorach_neves\'=ssalc vid<","\'=crs \'gmi_weiverp_neves\'=ssalc gmi<>\'edils_tb_neves\'=ssalc vid<",">vid/<>\'elcric_neves\'=ssalc vid<","tropweiv_renni_tellub_neves#",">vid/<>vid/<>vid/<>\'reniatnoc_tb_neves\'=ssalc vid<>\'tb_retlif_neves\'=ssalc vid<>\'weiverp_tb_neves\'=ssalc vid<","draobbusv_neves#","draobbush_neves#","draobbus_neves#","xobthgilbus_neves#","lesuoracv_neves.","esuap_a_neves",">/ \'fig.redaol_","(dlihc-htn:edils_neves.","tnerruc_neves#","egami_neves.",">/\'gnp.yalp_7soi/niks/gmi\'=crs \'yalp_neves\'=ssalc gmi<",">\'sed_neves\'=ssalc a<>vid<>vid/<>a/<","\'=crs-atad \'","noitpircsed-atad",">vid/<>\"redaeh_erihppas_neves\"=di vid<",">vid/<>\'yalp_a_neves\'=ssalc vid<",">vid/<>\'etamina_neves etarepo_neves\'=ssalc \'txen_neves\'=di vid<>vid/<>\'etamina_neves etarepo_neves\'=ssalc \'tnerruc_neves\'=di vid<>vid/<>\'etarepo_neves\'=ssalc \'verp_neves\'=di vid<","edils_neves.","tropweiv_neves#",">vid/<>\'xobl_neves\'=di vid<",">/\";001:xedni-z;xp02-:pot;xp02-:tfel;etulosba:noitisop\"=elyts \"gnp.nobbir/gmi\"=crs gmi<","noitpac-atad","\'=crs \'egami_neves\'=ssalc gmi<","\'=ferh \'eltit_neves\'=ssalc a<>vid<>\'noitpac_neves\'=ssalc vid<",">vid/<>vid/<>a/<",">/\'gnp.yalp/niks/gmi\'=crs \'yalp_neves\'=ssalc gmi<","noitpac_neves. edils_neves.","etarepo_neves.","/niks/gmi\'=crs \'daol_neves\'=ssalc gmi<","yalp_a_neves.","tropweivh_neves#","noitpac_neves.","reniatnoc_bmuht_neves#","lesuorach_neves.","tropweivv_neves#",">vid/<>vid/<>vid/<>\'tropweiv_renni_tellub_neves\'=di vid<>\'retnec\'=ngila \'xifraelc_neves\'=ssalc \'tropweiv_tellub_neves\'=di vid<>\'lortnoc_tellub_neves\'=ssalc vid<","tropweiv_tellub_neves#",">vid/<>\'evitca elcric_neves\'=ssalc vid<","reniatnoc_tb_neves.",">vid/<> \'yalp_a_neves\'=ssalc vid<","\'=crs gmi<>\'ic_neves\'=ssalc vid<>\'evitca lesuorac\'=ssalc vid<","\'=crs gmi<>\'ic_neves\'=ssalc vid<>\'lesuorac\'=ssalc vid<","\'=crs gmi<>\'ic_neves\'=ssalc a<>\'evitca lesuorac\'=ssalc vid<","\'=crs gmi<>\'ic_neves\'=ssalc a<>\'lesuorac\'=ssalc vid<",">vid/<>vid/<>\"ssergorpl\"=di vid<>\"rabssergorp\"=ssalc \"tc_pl\"=di vid<","rabssergorp.","tfel-gniddap","oediv_neves.","(dlihc-htn:lesuorac.","noitpac_neves. tnerruc_neves#","egami_neves. tnerruc_neves#",">\'03:xedni-z;%001:thgieh;%001:htdiw;etulosba:noitisop\'=elyts \'reniatnoc_dnilb_neves\'=di vid<",">vid/<>/\';xp","\'=crs gmi<>/\';xp","\"=crs gmi<>\"knalb_\"=tegrat \"#\"=ferh a<>il<>\";0:gniddap;0:nigram;xp0:pot;xp0:tfel;etulosba:noitisop;xp","\"=crs gmi<>\"knalb_\"=tegrat \"#\"=ferh a<>il<>il/<>a/<>/ \";xp","il xob_ecils_neves#","xob_ecils_neves#",">\'03:xedni-z;%001:thgieh;%05:htdiw;etulosba:noitisop\'=elyts \'ebuc_neves\'=ssalc \'","nrutd3sdnilb","eniStuOnIesae","egami tnerruc_neves#",":htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'edils_dnilb_neves\'=ssalc vid<","\'=crs gmi<>\';%0:pot;xp","edils_dnilb_neves.",":pot;%0:tfel;xp","-:pot;etulosba:noitisop\'=elyts \'",":pot;xp0:tfel;xp","\'=crs gmi<>\';xp0:pot;xp",":htdiw;etulosba:noitisop\'=elyts \'","\'=crs gmi<>\';2:xedni-z;xp",":thgieh;%001:htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'edils_dnilb_neves_pmet\'=ssalc vid<","\'=crs gmi<>\';%001:thgieh;%05:htdiw;tfel:taolf\'=elyts \'edils_dnilb_bus_neves\'=ssalc vid<>\';xp",">vid/<>vid/<>/\';xp","\'=crs gmi<>\';%05:thgieh;%001:htdiw\'=elyts \'edils_dnilb_bus_neves\'=ssalc vid<>\';xp","\'=crs gmi<>\';%05:thgieh;%001:htdiw\'=elyts \'edils_dnilb_bus_neves\'=ssalc vid<>\';xp0:pot;xp",":htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'reniatnocbus_dnilb_neves\'=ssalc vid<","\'=crs gmi<>\';xp05:tfel;xp","reniatnocbus_dnilb_neves.",":suidar-redrob;xp","(lru:dnuorgkcab;xp"," :noitisop-dnuorgkcab;xp",":thgieh;%001:htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'reniatnocbus_dnilb_neves\'=ssalc vid<","\'=crs gmi<>\';01:xedni-z;xp0:pot;xp","pmet_edils_dnilb_neves.","\'=crs gmi<>\';01:xedni-z;xp","\'=crs gmi<>\';01:xedni-z;xp0:tfel;%001:thgieh;xp",":thgieh;%001:htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'edils_dnilb_neves\'=ssalc vid<>vid/<>/\';xp",":htdiw;etulosba:noitisop\'=elyts \'pmet_edils_dnilb_neves\'=ssalc vid<>vid/<>/\';xp","\'=crs gmi<>\';51:xedni-z;xp0:pot;xp",")3(dlihc-htn:reniatnocbus_dnilb_neves.",":htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'pmet_edils_dnilb_neves\'=ssalc vid<>vid/<>/\';xp","\'=crs gmi<>\';xp0:pot;xp0:tfel;%001:thgieh;%001:htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'pmet_edils_dnilb_neves\'=ssalc vid<",":tfel;%001:thgieh;%001:htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'edils_dnilb_neves\'=ssalc vid<","\'=crs gmi<>\';%001:thgieh;%001:htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'pmet_edils_dnilb_neves\'=ssalc vid<>vid/<>/\';xp",":htdiw;etulosba:noitisop\'=elyts \'reniatnocbus_dnilb_neves\'=ssalc vid<",":htdiw;neddih:wolfrevo;etulosba:noitisop\'=elyts \'pmet_edils_dnilb_neves\'=ssalc vid<>vid/<>/\'xp",":thgieh;%001:htdiw;etulosba:noitisop\'=elyts \'reniatnocbus_dnilb_neves\'=ssalc vid<","-:pot;xp0:tfel;xp","\'=crs gmi<>\';xp0:pot;xp0:tfel;xp","\'=crs gmi<>\';%001:thgieh;%001:htdiw;etulosba:noitisop\'=elyts \'edils_dnilb_neves\'=ssalc vid<","xobpilf_neves.",")1(dlihc-htn:edils_dnilb_neves.",")2(dlihc-htn:edils_dnilb_neves.",":pot-nigram;xp","\'=crs gmi<>\';03:xedni-z;xp",":htdiw;etulosba:noitisop\'=elyts \'dnilb_cnuf_neves bus_dnilb_neves\'=ssalc vid<>\';xp",":htdiw;xp0:pot;xp0:tfel;etulosba:noitisop\'=elyts \'bus_dnilb_neves\'=ssalc vid<>vid/<>/\';xp","dnilb_cnuf_neves.",":htdiw;etulosba:noitisop\'=elyts \'dnilb_cnuf_neves\'=ssalc vid<>\';xp0:pot;xp","\'=crs gmi<>\';neddih:wolfrevo;%001:thgieh;xp",":thgieh;%001:htdiw;xp0:pot;xp0:tfel;etulosba:noitisop\'=elyts \'bus_dnilb_neves\'=ssalc vid<>vid/<>/\';xp","xobthgil_neves#",">vid/<>vid/<>vid/<>\'reniatnoc_bmuht_neves\'=di vid<>\'draobbus_neves\'=di vid<>\'\'=ssalc \'bmuht_xobthgil_neves\'=di vid<","\'=crs \'gmi_bmuht_neves\'=ssalc gmi<>\'bmuhtbus_neves\'=ssalc vid<>\'bmuht_neves\'=ssalc vid<","pmet_xobthgilbus_neves#","bmuht_neves.","tropweivl_neves","llorcSesuoMMOD","thgir_nc.van_lesuorac_neves.","txen_lortnoc_xobthgil_neves#","verp_lortnoc_xobthgil_neves#","esolc_lortnoc_xobthgil_neves#",/^(([+-]=)?(-?\d+(\.\d+)?))(.+)?$/,"mrofsnarTzoM"];(function($){var c;$.fn.superseven=function(t){c=new superseven({handle:$(this),option:t});return c};function superseven(t){var u,w,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,length,N,O={width:800,height:300,autoplay:false,interval:5,fullwidth:false,responsive:true,progressbar:true,progressbartype:'circle',caption_type:'fixed',caption_animation:0,animation:0,navtype:0,bullet:true,carousel:'horizontal',repeat_mode:true,skin:'default',lightbox:false,pause_on_hover:true,swipe:false,keyboard:false,scrollmode:false,onanimstart:function(){return false},onanimend:function(){return false},onvideoplay:function(){return false},onslidechange:function(){return false}};u=t.handle;w=$.extend({},O,t.option||{});seven_init();function seven_init(){var af=w.width,ag=w.height;E=B=0;C=D=0;mp_flag=tp_flag=L=z=H=A=0;N=0;length=u.find($rwJBI8d9WSTrEy$Wo0D(106)).length;M=w.width/w.height;u.find($rwJBI8d9WSTrEy$Wo0D(107)).prepend($rwJBI8d9WSTrEy$Wo0D(105));u.append($rwJBI8d9WSTrEy$Wo0D(108)).append($rwJBI8d9WSTrEy$Wo0D(104));if(w.skin=='jumbo')u.prepend($rwJBI8d9WSTrEy$Wo0D(109));else if(w.skin=='sapphire')u.prepend($rwJBI8d9WSTrEy$Wo0D(103));u.find($rwJBI8d9WSTrEy$Wo0D(106)).each(function(i){var ah=$(this),ai=ah.attr("image-src"),aj=ah.attr($rwJBI8d9WSTrEy$Wo0D(110)),ak=ah.attr($rwJBI8d9WSTrEy$Wo0D(102)),al=ah.attr("video-src"),am=ah.attr("data-link");if(typeof(am)=='undefined')am="\x23";if(typeof(al)=='undefined')al="";ah.append($rwJBI8d9WSTrEy$Wo0D(111)+ai+$rwJBI8d9WSTrEy$Wo0D(101)+al+"'/>");if(typeof(aj)!='undefined')ah.append($rwJBI8d9WSTrEy$Wo0D(112)+am+"'>"+aj+$rwJBI8d9WSTrEy$Wo0D(100)+ak+$rwJBI8d9WSTrEy$Wo0D(113));if(al!=""){if(w.skin=='ios7')ah.append($rwJBI8d9WSTrEy$Wo0D(99));else ah.append($rwJBI8d9WSTrEy$Wo0D(114))}ah.find($rwJBI8d9WSTrEy$Wo0D(98)).load(function(){$(this).addClass("active")})});u.css("width",af).css("height",ag).attr("o-width",af).attr("o-height",ag).attr("o-font",parseInt(u.find($rwJBI8d9WSTrEy$Wo0D(115)).css("font-size")));M=af/ag;seven_set_current_slide(C,0);$().framerate(15)}function seven_set_current_slide(af,ag){var ah=(af-1<0)?length-1:af-1,ai=(af+1)%length,aj=[ah,af,ai],ak=["#seven_prev",$rwJBI8d9WSTrEy$Wo0D(97),"#seven_next"];u.find($rwJBI8d9WSTrEy$Wo0D(116)).each(function(i){var al=u.find(ak[i]),am=u.find($rwJBI8d9WSTrEy$Wo0D(96)+(aj[i]+1)+"\x29");al.html(am.html());if(!am.find($rwJBI8d9WSTrEy$Wo0D(98)).hasClass("active")){al.prepend($rwJBI8d9WSTrEy$Wo0D(117)+w.skin+$rwJBI8d9WSTrEy$Wo0D(95));al.find($rwJBI8d9WSTrEy$Wo0D(98)).load(function(){$(this).addClass("active");$(this).parent().find(".seven_load").remove();if(i==1&&ag==0)seven_setup()})}});if(w.responsive)seven_respond()}function seven_setup(){seven_skin_setup();if(w.fullwidth==true){w.width=(window.innerWidth>screen.width)?window.innerWidth:screen.width;u.css("margin-left",0).css("width",w.width).css("height",w.height)}if(w.autoplay==true){z=1;seven_start()}else u.find($rwJBI8d9WSTrEy$Wo0D(118)).addClass($rwJBI8d9WSTrEy$Wo0D(94));if(w.progressbar==true){if(seven_isIE()!=false&&seven_isIE()<9)w.progresstype='linear';seven_progressbar_setup()}u.find($rwJBI8d9WSTrEy$Wo0D(119)).css("width",104*u.find($rwJBI8d9WSTrEy$Wo0D(106)).length);if(w.responsive==true)seven_respond()}function seven_respond(){var af=parseInt(u.attr("o-width")),ag=$(window).width();if(w.fullwidth)w.width=ag;else{if(ag>400&&ag<=af){w.width=(w.skin=='sharp'||w.skin=='clean')?ag-20:ag-40}else if(ag<400){w.width=(w.fullwidth)?400:380}else if(ag>af)w.width=af}if(ag>w.width+180)u.find($rwJBI8d9WSTrEy$Wo0D(93)).show();else u.find($rwJBI8d9WSTrEy$Wo0D(93)).show();seven_carousel_refresh();seven_lightbox_refresh();var ah=u.attr("o-font"),ai=w.width/af;w.height=w.width/M;font_size=(ah*ai<10)?10:ah*ai;u.css("width",w.width).css("height",w.height);u.find($rwJBI8d9WSTrEy$Wo0D(120)).css("font-size",font_size);u.find($rwJBI8d9WSTrEy$Wo0D(92)).css("width",w.width+8).css("height",w.height+8).css("marginLeft",(-w.width/2)-4).css("marginTop",-w.height/2);u.find($rwJBI8d9WSTrEy$Wo0D(116)).each(function(i){var aj=(C-1<0)?length-1:C-1,ak=(C+1)%length,al=[aj,C,ak],am=["#seven_prev",$rwJBI8d9WSTrEy$Wo0D(97),"#seven_next"],an=seven_get_imagesize(u.find($rwJBI8d9WSTrEy$Wo0D(96)+parseInt(al[i]+1)+"\x29").find($rwJBI8d9WSTrEy$Wo0D(98))),ao=an.width/an.height;if(M>=ao)u.find(am[i]).find($rwJBI8d9WSTrEy$Wo0D(98)).css("height","").css("width",w.width);else u.find(am[i]).find($rwJBI8d9WSTrEy$Wo0D(98)).css("width","").css("height",w.height)})}function seven_lightbox_refresh(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(121)),ah=u.find($rwJBI8d9WSTrEy$Wo0D(91)),ai=ag.width(),aj=Math.abs(parseInt(ah.css("marginLeft"))),ak=ag.find(".active").index();if(ai<$(window).width()&&typeof(af)!='undefined')return false;if(af==0){if(aj>ak*54){ah.animate({"marginLeft":-54*ak},{duration:200,easing:"easeOutSine"})}else if(ai-$(window).width()-aj<ai-(length-ak)*54){var al=-54*ak;if(54*ak+$(window).width()>ai)al=$(window).width()-ai;ah.animate({"marginLeft":al},{duration:200,easing:"easeOutSine"})}if(ak==length-1){ah.animate({"marginLeft":-ai+$(window).width()},{duration:200,easing:"easeOutSine"})}}else if(af==1){if(ai-(length-ak-1)*54-$(window).width()>aj){ah.animate({"marginLeft":-(ai-(length-ak-1)*54-$(window).width())},{duration:200,easing:"easeOutSine"})}else if(!((ak+1)*54-$(window).width()<aj&&ak*54>aj)){var al=$(window).width()-(ak+1)*54;if(al>0)al=0;ah.animate({"marginLeft":al},{duration:200,easing:"easeOutSine"})}if(ak==0){ah.animate({"marginLeft":0},{duration:200,easing:"easeOutSine"})}}if(typeof(af)=='undefined'){if(ai<$(window).width()){ah.css("marginLeft",0)}else{if(54*ak+$(window).width()<ai)ah.show();else ah.css("marginLeft",-ai+$(window).width())}}}function seven_carousel_refresh(){switch(w.carousel){case 'horizontal':if(A==1)return false;var af=u.find($rwJBI8d9WSTrEy$Wo0D(119)).width(),ag=u.find($rwJBI8d9WSTrEy$Wo0D(122)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(90));if(af<ag){ah.css("marginLeft",0)}else{if(104*C+ag>af)ah.css("marginLeft",ag-af);else ah.css("marginLeft",-104*C)}break;case 'vertical':if(A==1)return false;var ai=u.find($rwJBI8d9WSTrEy$Wo0D(123)).height(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(89));if(ai<w.height){ah.css("marginTop",0)}else{if(80*C+w.height>ai)ah.css("marginTop",w.height-ai);else ah.css("marginTop",-80*C)}break}}function seven_get_imagesize(af){var ag=[],ah=af.clone().css('visibility','hidden').removeAttr('height').removeAttr('width').appendTo('body');ag.width=ah.width();ag.height=ah.height();ah.remove();return ag}function P(){u.append($rwJBI8d9WSTrEy$Wo0D(124));$($rwJBI8d9WSTrEy$Wo0D(88)).insertAfter(u.find($rwJBI8d9WSTrEy$Wo0D(125)));u.find($rwJBI8d9WSTrEy$Wo0D(106)).each(function(i){if(i==0)u.find($rwJBI8d9WSTrEy$Wo0D(87)).append($rwJBI8d9WSTrEy$Wo0D(126));else u.find($rwJBI8d9WSTrEy$Wo0D(87)).append($rwJBI8d9WSTrEy$Wo0D(86));u.find($rwJBI8d9WSTrEy$Wo0D(127)).append($rwJBI8d9WSTrEy$Wo0D(85)+$(this).find($rwJBI8d9WSTrEy$Wo0D(98)).attr("src")+"'/></div>")});u.find($rwJBI8d9WSTrEy$Wo0D(87)).append($rwJBI8d9WSTrEy$Wo0D(128));u.find($rwJBI8d9WSTrEy$Wo0D(127)).css("width",40*length)}function Q(){var af=[];af['default']=54;af['round']=119;af['jumbo']=119;af['science']=54;af['sapphire']=60;af['ios7']=60;switch(w.carousel){case 'horizontal':u.append($rwJBI8d9WSTrEy$Wo0D(84));u.find($rwJBI8d9WSTrEy$Wo0D(106)).each(function(i){var ag=$(this).find($rwJBI8d9WSTrEy$Wo0D(98)).attr("src");if(i==0)u.find($rwJBI8d9WSTrEy$Wo0D(119)).append($rwJBI8d9WSTrEy$Wo0D(129)+ag+$rwJBI8d9WSTrEy$Wo0D(83));else u.find($rwJBI8d9WSTrEy$Wo0D(119)).append($rwJBI8d9WSTrEy$Wo0D(130)+ag+$rwJBI8d9WSTrEy$Wo0D(83))});N=af[w.skin];break;case 'vertical':u.append($rwJBI8d9WSTrEy$Wo0D(82));if(80*length<w.height)u.find($rwJBI8d9WSTrEy$Wo0D(123)).css("marginTop",-40*length);else u.find($rwJBI8d9WSTrEy$Wo0D(123)).css("top",0);u.find($rwJBI8d9WSTrEy$Wo0D(106)).each(function(i){var ag=$(this).find($rwJBI8d9WSTrEy$Wo0D(98)).attr("src");if(i==0)u.find($rwJBI8d9WSTrEy$Wo0D(123)).append($rwJBI8d9WSTrEy$Wo0D(131)+ag+$rwJBI8d9WSTrEy$Wo0D(81));else u.find($rwJBI8d9WSTrEy$Wo0D(123)).append($rwJBI8d9WSTrEy$Wo0D(132)+ag+$rwJBI8d9WSTrEy$Wo0D(81))});break}}function seven_skin_setup(){switch(w.skin){case 'default':if(w.bullet==null)w.bullet=true;if(w.carousel==null)w.carousel=false;break;case 'round':if(w.bullet==null)w.bullet=true;if(w.carousel==null)w.carousel=false;break;case 'sharp':if(w.bullet==null)w.bullet=true;if(w.carousel==null)w.carousel=true;break;case 'clean':if(w.bullet==null)w.bullet=true;if(w.carousel==null)w.carousel=false;break;case 'square':if(w.bullet==null)w.bullet=true;if(w.carousel==null)w.carousel=true;break}if(w.bullet){P(u);u.find($rwJBI8d9WSTrEy$Wo0D(122)).addClass($rwJBI8d9WSTrEy$Wo0D(80))}if(w.carousel!=false){Q(w.carousel,u)}u.addClass("seven_"+w.skin)}function seven_progressbar_setup(){if(z==0)return false;switch(w.progressbartype){case 'linear':if(u.find("#lp_ct").length==0)u.find($rwJBI8d9WSTrEy$Wo0D(107)).prepend($rwJBI8d9WSTrEy$Wo0D(133));break;case 'circle':if(u.find("#cprogress").length==0)u.find($rwJBI8d9WSTrEy$Wo0D(107)).prepend($rwJBI8d9WSTrEy$Wo0D(79));u.find(".knob").knob({draw:function(){if(this.$.data('skin')=='tron'){var a=this.angle(this.cv),af=this.startAngle,ag=this.startAngle,ah,ai=ag+a,r=1;this.g.lineWidth=this.lineWidth;this.o.cursor&&(ag=ai-0.3)&&(ai=ai+0.3);if(this.o.displayPrevious){ah=this.startAngle+this.angle(this.v);this.o.cursor&&(af=ah-0.3)&&(ah=ah+0.3);this.g.beginPath();this.g.strokeStyle=this.pColor;this.g.arc(this.xy,this.xy,this.radius-this.lineWidth,af,ah,false);this.g.stroke()}this.g.beginPath();this.g.strokeStyle=r?this.o.fgColor:this.fgColor;this.g.arc(this.xy,this.xy,this.radius-this.lineWidth,ag,ai,false);this.g.stroke();this.g.lineWidth=2;this.g.beginPath();this.g.strokeStyle=this.o.fgColor;this.g.arc(this.xy,this.xy,this.radius-this.lineWidth+1+this.lineWidth*2/3,0,2*Math.PI,false);this.g.stroke();return false}}});break}if(w.progress==false)u.find($rwJBI8d9WSTrEy$Wo0D(134)).addClass("invisible")}function R(){B+=parseInt((w.width-10)/(20*w.interval));if(B>=parseInt(w.width-10)){seven_next()}u.find("#lprogress").css("width",B)}function S(){B+=5000/(w.interval*1000);if(B>=100){seven_stop();seven_next()}u.find('.cprogress').val(Math.ceil(B)).trigger('change')}function T(){A=0;if(w.repeat_mode==false){if(C>0)seven_animation(C-1);else seven_stop()}else{if(C==0)seven_animation(length-1);else seven_animation(C-1)}}function seven_next(){A=0;if(w.repeat_mode==false){if(C<length-1)seven_animation(C+1);else seven_stop()}else seven_animation((C+1)%length)}function U(){if(100*length<w.width)return false;var af=parseInt(w.width/160),ag=Math.abs(Math.ceil(parseInt(u.find($rwJBI8d9WSTrEy$Wo0D(119)).css("left"))/160));if(ag>=af){u.find($rwJBI8d9WSTrEy$Wo0D(119)).animate({"left":-100*(ag-af),},{duration:200,easing:"swing"})}else{u.find($rwJBI8d9WSTrEy$Wo0D(119)).animate({"left":"0px",},{duration:200,easing:"swing"})}}function V(){if(100*length<w.width)return false;var af=parseInt(w.width/160),ag=Math.abs(Math.ceil(parseInt(u.find($rwJBI8d9WSTrEy$Wo0D(119)).css("left"))/160));if(ag<(length-(af*2))){u.find($rwJBI8d9WSTrEy$Wo0D(119)).animate({"left":-100*(ag+af),},{duration:400,easing:"swing"})}else{u.find($rwJBI8d9WSTrEy$Wo0D(119)).animate({"left":-(u.find($rwJBI8d9WSTrEy$Wo0D(119)).width()-w.width)+"px",},{duration:400,easing:"swing"})}}function W(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(87)).position().left,ah=parseInt(u.find($rwJBI8d9WSTrEy$Wo0D(78)).width())+2*parseInt(u.find($rwJBI8d9WSTrEy$Wo0D(78)).css("margin-left")),ai=parseInt(u.find($rwJBI8d9WSTrEy$Wo0D(87)).css($rwJBI8d9WSTrEy$Wo0D(135)));u.find($rwJBI8d9WSTrEy$Wo0D(77)).css("left",ag);switch(L){case 0:u.find($rwJBI8d9WSTrEy$Wo0D(77)).css("margin-left",ai+af*ah-27+ah/2);u.find($rwJBI8d9WSTrEy$Wo0D(127)).css('margin-left',-40*af);u.find($rwJBI8d9WSTrEy$Wo0D(77)).fadeIn(200);break;case 1:var ah=parseInt(u.find($rwJBI8d9WSTrEy$Wo0D(78)).width())+2*parseInt(u.find($rwJBI8d9WSTrEy$Wo0D(78)).css("margin-left"));u.find($rwJBI8d9WSTrEy$Wo0D(77)).delay(50).animate({"margin-left":ai+af*ah-27+ah/2,},{duration:200,queue:false,easing:"easeOutSine"});u.find($rwJBI8d9WSTrEy$Wo0D(127)).animate({"margin-left":-40*af,},{duration:200,queue:false,easing:"easeOutSine"});break}if(L==0)L=1}function X(){L=0;u.find($rwJBI8d9WSTrEy$Wo0D(77)).hide()}function Y(af){switch(w.carousel){case 'horizontal':var ag=u.find($rwJBI8d9WSTrEy$Wo0D(122)).width();if(A==1){return false}if(104*length<w.width)return false;var ah=u.find($rwJBI8d9WSTrEy$Wo0D(90)),ai=u.find($rwJBI8d9WSTrEy$Wo0D(119)),aj=104*D;if(aj+ag>ai.width())aj=ag-ai.width();else aj=-104*D;ah.animate({"marginLeft":aj},{duration:200,easing:"easeOutSine"});break;case 'vertical':if(A==1){return false}if(80*length<w.height)return false;var ah=u.find($rwJBI8d9WSTrEy$Wo0D(89)),ai=u.find($rwJBI8d9WSTrEy$Wo0D(123)),aj=80*D;if(aj+w.height>ai.height())aj=w.height-ai.height();else aj=-80*D;ah.animate({"marginTop":aj},{duration:200,easing:"easeOutSine"});break}}function seven_isIE(){var af=navigator.userAgent.toLowerCase();return(af.indexOf('msie')!=-1)?parseInt(af.split('msie')[1]):false}function Z(af){var ag=new Array(af);for(var i=0;i<af;i++){var ah,ai=true;while(ai){ai=false;ah=Math.floor((Math.random()*af));for(var j=0;j<i;j++){if(ag[j]==ah)ai=true}}ag[i]=ah}return ag}function seven_animation(af){if(E==1||C==af)return false;E=1;w.onanimstart();seven_stop();D=af;var ag=u.find("#seven_next");ag.html(u.find($rwJBI8d9WSTrEy$Wo0D(96)+(D+1)+"\x29").html());if(!ag.find($rwJBI8d9WSTrEy$Wo0D(98)).hasClass("active")){u.find($rwJBI8d9WSTrEy$Wo0D(97)).prepend($rwJBI8d9WSTrEy$Wo0D(117)+w.skin+$rwJBI8d9WSTrEy$Wo0D(95));ag.find($rwJBI8d9WSTrEy$Wo0D(98)).load(function(){$(this).addClass("active");u.find($rwJBI8d9WSTrEy$Wo0D(97)).find(".seven_load").remove();seven_animate_init()})}else seven_animate_init()}function seven_animate_init(){u.find($rwJBI8d9WSTrEy$Wo0D(136)).remove();seven_respond();u.find($rwJBI8d9WSTrEy$Wo0D(78)).removeClass("active");u.find(".carousel").removeClass("active");u.find($rwJBI8d9WSTrEy$Wo0D(76)+(D+1)+"\x29").addClass("active");u.find($rwJBI8d9WSTrEy$Wo0D(137)+(D+1)+"\x29").addClass("active");if(w.carousel!=false)Y(C);seven_caption_animate()}function seven_caption_animate(){var af=[[-1,0],[1,0],[0,-1],[0,1]],ag,ah;ag=u.find($rwJBI8d9WSTrEy$Wo0D(96)+(D+1)+"\x29").attr($rwJBI8d9WSTrEy$Wo0D(75));ah=u.find($rwJBI8d9WSTrEy$Wo0D(96)+(C+1)+"\x29").attr($rwJBI8d9WSTrEy$Wo0D(110));if(typeof(ag)=='undefined'){ag=(w.animation==0)?(parseInt(Math.random()*351)+1):w.animation}else ag=parseInt(ag);if(typeof(ah)=='undefined'||ah==''){u.find($rwJBI8d9WSTrEy$Wo0D(120)).hide();if(ag<=302)seven_2d_animate(ag);else seven_3d_animate(ag-302)}else{u.find($rwJBI8d9WSTrEy$Wo0D(138)).css("marginLeft",0).css("marginBottom",0).animate({"marginLeft":af[w.caption_animation][0]*140+"px","marginBottom":af[w.caption_animation][1]*60+"px","opacity":0,},{duration:600,easing:"easeOutSine",complete:function(){u.find($rwJBI8d9WSTrEy$Wo0D(120)).hide();if(ag<=302)seven_2d_animate(ag);else seven_3d_animate(ag-302)}})}}function aa(){var af=[[-1,0],[1,0],[0,-1],[0,1]],ag,ah;if(seven_isIE()<9&&seven_isIE()!=false)ah=0.4;else ah=1;caption=u.find($rwJBI8d9WSTrEy$Wo0D(96)+(C+1)+"\x29").attr($rwJBI8d9WSTrEy$Wo0D(110));if(typeof(caption)=='undefined'||caption==''){E=0;w.onanimend();if(w.responsive==true)seven_respond();u.find($rwJBI8d9WSTrEy$Wo0D(74)).stop();if(z==1)seven_start()}else{u.find($rwJBI8d9WSTrEy$Wo0D(120)).show();u.find($rwJBI8d9WSTrEy$Wo0D(138)).css("marginLeft",af[w.caption_animation][0]*140).css("marginBottom",af[w.caption_animation][1]*60).css("opacity",0).animate({"marginLeft":"0px","marginBottom":"0px","opacity":ah,},{duration:300,easing:"easeOutSine",complete:function(){E=0;w.onanimend();if(w.responsive==true)seven_respond();u.find($rwJBI8d9WSTrEy$Wo0D(74)).stop();if(z==1)seven_start()}})}}function seven_2d_animate(af){switch(af){case 1:seven_linear_move(0);break;case 2:seven_linear_move(1);break;case 3:seven_linear_move(2);break;case 4:seven_linear_move(3);break;case 5:seven_vbar_move(0);break;case 6:seven_vbar_move(1);break;case 7:seven_vbar_move(2);break;case 8:seven_vbar_move(3);break;case 9:seven_vbar_move(4);break;case 10:seven_vbar_move(5);break;case 11:seven_hbar_move(0);break;case 12:seven_hbar_move(1);break;case 13:seven_hbar_move(2);break;case 14:seven_hbar_move(3);break;case 15:seven_hbar_move(4);break;case 16:seven_hbar_move(5);break;case 17:seven_hbar_rmove(0);break;case 18:seven_hbar_rmove(1);break;case 19:seven_hbar_rmove(2);break;case 20:seven_hbar_rmove(3);break;case 21:seven_hbar_rmove(4);break;case 22:seven_hbar_rmove(5);break;case 23:seven_hbar_rmove(6);break;case 24:seven_hbar_rmove(7);break;case 25:seven_hbar_rmove(8);break;case 26:seven_hbar_rmove(9);break;case 27:seven_hbar_rmove(10);break;case 28:seven_hbar_rmove(11);break;case 29:seven_hbar_rmove(12);break;case 30:seven_hbar_rmove(13);break;case 31:seven_hbar_rmove(14);break;case 32:seven_hbar_rmove(15);break;case 33:seven_hbar_rmove(16);break;case 34:seven_hbar_rmove(17);break;case 35:seven_hbar_rmove(18);break;case 36:seven_hbar_rmove(19);break;case 37:seven_hbar_rmove(20);break;case 38:seven_hbar_rmove(21);break;case 39:seven_hbar_rmove(22);break;case 40:seven_hbar_rmove(23);break;case 41:seven_vbar_rmove(0);break;case 42:seven_vbar_rmove(1);break;case 43:seven_vbar_rmove(2);break;case 44:seven_vbar_rmove(3);break;case 45:seven_vbar_rmove(4);break;case 46:seven_vbar_rmove(5);break;case 47:seven_vbar_rmove(6);break;case 48:seven_vbar_rmove(7);break;case 49:seven_vbar_rmove(8);break;case 50:seven_vbar_rmove(9);break;case 51:seven_vbar_rmove(10);break;case 52:seven_vbar_rmove(11);break;case 53:seven_vbar_rmove(12);break;case 54:seven_vbar_rmove(13);break;case 55:seven_vbar_rmove(14);break;case 56:seven_vbar_rmove(15);break;case 57:seven_vbar_rmove(16);break;case 58:seven_vbar_rmove(17);break;case 59:seven_vbar_rmove(18);break;case 60:seven_vbar_rmove(19);break;case 61:seven_vbar_rmove(20);break;case 62:seven_vbar_rmove(21);break;case 63:seven_vbar_rmove(22);break;case 64:seven_vbar_rmove(23);break;case 65:seven_hcenter_stretch(0);break;case 66:seven_hcenter_stretch(1);break;case 67:seven_vcenter_stretch(0);break;case 68:seven_vcenter_stretch(1);break;case 69:seven_hbar_intersect(0);break;case 70:seven_hbar_intersect(1);break;case 71:seven_hbar_intersect(2);break;case 72:seven_hbar_intersect(3);break;case 73:seven_hbar_intersect(4);break;case 74:seven_hbar_intersect(5);break;case 75:seven_hbar_intersect(6);break;case 76:seven_hbar_intersect(7);break;case 77:seven_vbar_intersect(0);break;case 78:seven_vbar_intersect(1);break;case 79:seven_vbar_intersect(2);break;case 80:seven_vbar_intersect(3);break;case 81:seven_vbar_intersect(4);break;case 82:seven_vbar_intersect(5);break;case 83:seven_vbar_intersect(6);break;case 84:seven_vbar_intersect(7);break;case 85:seven_fade();break;case 86:seven_fade_overlap();break;case 87:seven_blind(0);break;case 88:seven_blind(1);break;case 89:seven_blind(2);break;case 90:seven_vblind(0);break;case 91:seven_vblind(1);break;case 92:seven_vblind(2);break;case 93:seven_blind_spread(0);break;case 94:seven_blind_spread(1);break;case 95:seven_cut();break;case 96:seven_vcut(0);break;case 97:seven_vcut(1);break;case 98:seven_vcut(2);break;case 99:seven_vcut(3);break;case 100:seven_hcut(0);break;case 101:seven_hcut(1);break;case 102:seven_hcut(2);break;case 103:seven_hcut(3);break;case 104:seven_square(0);break;case 105:seven_square(1);break;case 106:seven_square(2);break;case 107:seven_square(3);break;case 108:seven_square(4);break;case 109:seven_square(5);break;case 110:seven_square(6);break;case 111:seven_square(7);break;case 112:seven_square_fade(0);break;case 113:seven_square_fade(1);break;case 114:seven_square_fade(2);break;case 115:seven_square_fade(3);break;case 116:seven_square_fade(4);break;case 117:seven_square_fade(5);break;case 118:seven_hsquare_fade(0);break;case 119:seven_hsquare_fade(1);break;case 120:seven_hsquare_fade(2);break;case 121:seven_hsquare_fade(3);break;case 122:seven_hsquare_fade(4);break;case 123:seven_hsquare_fade(5);break;case 124:seven_square_plazma(0);break;case 125:seven_square_plazma(1);break;case 126:seven_vsquare_plazma(0);break;case 127:seven_vsquare_plazma(1);break;case 128:seven_vsquare_plazma(2);break;case 129:seven_vsquare_plazma(3);break;case 130:seven_border_hide(0);break;case 131:seven_border_hide(1);break;case 132:seven_border_hide(2);break;case 133:seven_border_hide(3);break;case 134:seven_border_hide(4);break;case 135:seven_random_hide();break;case 136:seven_vplazma(0);break;case 137:seven_vplazma(1);break;case 138:seven_hplazma(0);break;case 139:seven_hplazma(1);break;case 140:seven_water();break;case 141:seven_water_inside();break;case 142:seven_water_rotate_cross();break;case 143:seven_circle_rotate(0);break;case 144:seven_circle_rotate(1);break;case 145:seven_swap_block();break;case 146:seven_swap_hblock(0);break;case 147:seven_swap_hblock(1);break;case 148:seven_swap_hblock(2);break;case 149:seven_swap_hblock(3);break;case 150:seven_swap_vblock(0);break;case 151:seven_swap_vblock(1);break;case 152:seven_swap_vblock(2);break;case 153:seven_swap_vblock(3);break;case 154:seven_tile_sequence(0);break;case 155:seven_tile_sequence(1);break;case 156:seven_tile_sequence(2);break;case 157:seven_tile_sequence(3);break;case 158:seven_tile_psequence(0);break;case 159:seven_tile_psequence(1);break;case 160:seven_tile_psequence(2);break;case 161:seven_tile_psequence(3);break;case 162:seven_tile_random_direct(0);break;case 163:seven_tile_random_direct(1);break;case 164:seven_tile_random_direct(2);break;case 165:seven_tile_random_direct(3);break;case 166:seven_htwist(0);break;case 167:seven_htwist(1);break;case 168:seven_vtwist(0);break;case 169:seven_vtwist(1);break;case 170:seven_chain(0);break;case 171:seven_chain(1);break;case 172:seven_schain(0);break;case 173:seven_schain(1);break;case 174:seven_tile_random();break;case 175:seven_fadezoomout();break;case 176:seven_fadezoomin();break;case 177:seven_htail(0);break;case 178:seven_htail(1);break;case 179:seven_htail(2);break;case 180:seven_htail(3);break;case 181:seven_htail(4);break;case 182:seven_htail(5);break;case 183:seven_htail(6);break;case 184:seven_htail(7);break;case 185:seven_vtail(0);break;case 186:seven_vtail(1);break;case 187:seven_vtail(2);break;case 188:seven_vtail(3);break;case 189:seven_vtail(4);break;case 190:seven_vtail(5);break;case 191:seven_vtail(6);break;case 192:seven_vtail(7);break;case 193:seven_fly(0);break;case 194:seven_fly(1);break;case 195:seven_fly(2);break;case 196:seven_fly(3);break;case 197:seven_rotate();break;case 198:seven_mirrow();break;case 199:seven_mirrow_drag();break;case 200:seven_vmirrow();break;case 201:seven_vmirrow_drag();break;case 202:seven_flipx(0);break;case 203:seven_flipx(1);break;case 204:seven_flipy(0);break;case 205:seven_flipy(1);break;case 206:seven_ropen(0);break;case 207:seven_ropen(1);break;case 208:seven_rvopen(0);break;case 209:seven_rvopen(1);break;case 210:seven_4sector(0);break;case 211:seven_4sector(1);break;case 212:seven_4sector(2);break;case 213:seven_4sector(3);break;case 214:seven_4sector(4);break;case 215:seven_4sector_fade(0);break;case 216:seven_4sector_fade(1);break;case 217:seven_4sector_fade(2);break;case 218:seven_4sector_fade(3);break;case 219:seven_4sector_fade(4);break;case 220:seven_page(0);break;case 221:seven_page(1);break;case 222:seven_page(2);break;case 223:seven_page(3);break;case 224:seven_page(4);break;case 225:seven_page(5);break;case 226:seven_page(6);break;case 227:seven_page(7);break;case 228:seven_carousel(0);break;case 229:seven_carousel(1);break;case 230:seven_carousel(2);break;case 231:seven_carousel(3);break;case 232:seven_carousel(4);break;case 233:seven_carousel(5);break;case 234:seven_carousel(6);break;case 235:seven_carousel(7);break;case 236:seven_carousel(8);break;case 237:seven_emerge(0);break;case 238:seven_emerge(1);break;case 239:seven_emerge(2);break;case 240:seven_emerge(3);break;case 241:seven_emerge(4);break;case 242:seven_emerge(5);break;case 243:seven_emerge(6);break;case 244:seven_emerge(7);break;case 245:seven_emerge(8);break;case 246:seven_emerge(9);break;case 247:seven_emerge(10);break;case 248:seven_emerge(11);break;case 249:seven_fancy_rect(0);break;case 250:seven_fancy_rect(1);break;case 251:seven_fancy_rect(2);break;case 252:seven_fancy_rect(3);break;case 253:seven_fancy_rect(4);break;case 254:seven_fancy_rect(5);break;case 255:seven_fancy_rect(6);break;case 256:seven_fancy_rect(7);break;case 257:seven_fancy_rect(8);break;case 258:seven_fancy_rect(9);break;case 259:seven_fancy_rect_emerge(0);break;case 260:seven_fancy_rect_emerge(1);break;case 261:seven_fancy_rect_emerge(2);break;case 262:seven_fancy_rect_emerge(3);break;case 263:seven_fancy_rect_emerge(4);break;case 264:seven_fancy_rect_emerge(5);break;case 265:seven_fancy_rect_emerge(6);break;case 266:seven_fancy_rect_emerge(7);break;case 267:seven_fancy_rect_emerge(8);break;case 268:seven_fancy_rect_emerge(9);break;case 269:seven_door(0);break;case 270:seven_door(1);break;case 271:seven_door(2);break;case 272:seven_door(3);break;case 273:seven_skew(0);break;case 274:seven_skew(0);break;case 275:seven_skew(1);break;case 276:seven_skew(2);break;case 277:seven_skew(3);break;case 278:seven_skew(4);break;case 279:seven_skew(5);break;case 280:seven_skew(6);break;case 281:seven_skew(7);break;case 282:seven_square_push(0);break;case 283:seven_square_push(1);break;case 284:seven_square_push(2);break;case 285:seven_square_push(3);break;case 286:seven_square_push(4);break;case 287:seven_square_push(5);break;case 288:seven_row_carousel(0);break;case 289:seven_row_carousel(1);break;case 290:seven_row_carousel(2);break;case 291:seven_row_carousel(3);break;case 292:seven_col_carousel(0);break;case 293:seven_col_carousel(1);break;case 294:seven_col_carousel(2);break;case 295:seven_col_carousel(3);break;case 296:seven_hbar_shade(0);break;case 297:seven_hbar_shade(1);break;case 298:seven_hbar_shade(2);break;case 299:seven_vbar_shade(0);break;case 300:seven_vbar_shade(1);break;case 301:seven_vbar_shade(2);break;case 302:seven_blur();break}}function seven_3d_animate(af){switch(af){case 1:seven_paper_fold(0);break;case 2:seven_paper_fold(1);break;case 3:seven_paper_fold(2);break;case 4:seven_paper_fold(3);break;case 5:seven_paper_fold(4);break;case 6:seven_paper_fold(5);break;case 7:seven_paper_fold(6);break;case 8:seven_paper_fold(7);break;case 9:seven_paper_fold(8);break;case 10:seven_paper_fold(9);break;case 11:seven_paper_fold(10);break;case 12:seven_paper_fold(11);break;case 13:seven_paper_fold(12);break;case 14:seven_paper_fold(13);break;case 15:seven_paper_fold(14);break;case 16:seven_paper_fold(15);break;case 17:seven_paper_fold(16);break;case 18:seven_paper_fold(17);break;case 19:seven_paper_fold(18);break;case 20:seven_paper_fold(19);break;case 21:seven_turn();break;case 22:seven_cube(0);break;case 23:seven_cube(1);break;case 24:seven_cube(2);break;case 25:seven_cube(3);break;case 26:seven_bar_cube(0);break;case 27:seven_bar_cube(1);break;case 28:seven_bar_cube(2);break;case 29:seven_tiles_3d(0);break;case 30:seven_tiles_3d(1);break;case 31:seven_blinds_3d(0);break;case 32:seven_blinds_3d(1);break;case 33:seven_blinds_3d(2);break;case 34:seven_blinds_3d(3);break;case 35:seven_blinds_3d_turn(0);break;case 36:seven_blinds_3d_turn(1);break;case 37:seven_blinds_3d_turn(2);break;case 38:seven_blinds_3d_turn(3);break;case 39:seven_bar_scale_3d(0);break;case 40:seven_bar_scale_3d(1);break;case 41:seven_bar_scale_3d(2);break;case 42:seven_bar_scale_3d(3);break;case 43:seven_bar_dance(0);break;case 44:seven_bar_dance(1);break;case 45:seven_bar_dance(2);break;case 46:seven_bar_dance(3);break;case 47:seven_bar_rotate(0);break;case 48:seven_bar_rotate(1);break;case 49:seven_hbar_cube(0);break;case 50:seven_hbar_cube(1);break}}function seven_paper_fold(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=u.find($rwJBI8d9WSTrEy$Wo0D(97)),an=u.find("#seven_next").css("left","0%"),blind=$rwJBI8d9WSTrEy$Wo0D(140);blind+="<img src='"+ai+$rwJBI8d9WSTrEy$Wo0D(72)+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141);$(blind).insertBefore(u.find("#seven_next"));var ao=u.find($rwJBI8d9WSTrEy$Wo0D(71)),ap=ao.oriDomi({speed:1000,perspective:1000,shading:'soft'}).oriDomi(true);ao.find("img").animate({"opacity":0},{duration:1000,easing:"easeOutSine",complete:function(){seven_animate_end()}});switch(af){case 0:ap.foldUp();break;case 1:ap.curl(-100);break;case 2:ap.curl(100);break;case 3:ap.stairs(90);break;case 4:ap.stairs(-90);break;case 5:ap.foldUp('top');break;case 6:ap.curl(-100,'top');break;case 7:ap.curl(100,'top');break;case 8:ap.stairs(90,'top');break;case 9:ap.stairs(-90,'top');break;case 10:ap.foldUp('right');break;case 11:ap.curl(-100,'right');break;case 12:ap.curl(100,'right');break;case 13:ap.stairs(90,'right');break;case 14:ap.stairs(-90,'right');break;case 15:ap.foldUp('bottom');break;case 16:ap.curl(-100,'bottom');break;case 17:ap.curl(100,'bottom');break;case 18:ap.stairs(90,'bottom');break;case 19:ap.stairs(-90,'bottom');break}}function seven_turn(){var af=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),ai=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),blind=$rwJBI8d9WSTrEy$Wo0D(140);blind+="<img src='"+ah+$rwJBI8d9WSTrEy$Wo0D(72)+af+"px;height:"+ag+$rwJBI8d9WSTrEy$Wo0D(142)+ak+$rwJBI8d9WSTrEy$Wo0D(72)+ai+"px;height:"+aj+$rwJBI8d9WSTrEy$Wo0D(141);$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("overflow","visible");u.find($rwJBI8d9WSTrEy$Wo0D(116)).hide();window.f=new flux.slider($rwJBI8d9WSTrEy$Wo0D(71),{autoplay:false,pagination:false,width:w.width,height:w.height,onTransitionEnd:function(al){u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("overflow","hidden");u.find($rwJBI8d9WSTrEy$Wo0D(116)).show();seven_animate_end()}});setTimeout(function(){window.f.next("turn")},100)}function seven_cube(af){if((seven_isIE()!=false&&seven_isIE()<9)){var ag=[3,2,0,1];seven_linear_move(ag[af%4]);return false}else{var ah;if(af%4<2)ah='\x76';else ah='\x68';var ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),am=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),an=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");blind=$rwJBI8d9WSTrEy$Wo0D(70)+ai+'px;height:'+aj+$rwJBI8d9WSTrEy$Wo0D(143)+ak+$rwJBI8d9WSTrEy$Wo0D(69)+ai+'px;height:'+aj+$rwJBI8d9WSTrEy$Wo0D(144)+an+$rwJBI8d9WSTrEy$Wo0D(69)+al+'px;height:'+am+$rwJBI8d9WSTrEy$Wo0D(68);$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("overflow","visible");u.find($rwJBI8d9WSTrEy$Wo0D(116)).hide();u.find($rwJBI8d9WSTrEy$Wo0D(97)).show();u.find($rwJBI8d9WSTrEy$Wo0D(145)).css("width","100%").css("height","100%");u.find($rwJBI8d9WSTrEy$Wo0D(67)).css("width","100%").css("height","100%");var ao=u.find($rwJBI8d9WSTrEy$Wo0D(146)).slicebox({orientation:ah,perspective:1000,colorHiddenSides:'#555',speed:800,sequentialFactor:80,ease:'easeOutSine',cuboidsCount:1+parseInt(af/4)*5,disperseFactor:parseInt(af/4)*15,onAfterChange:function(ap){u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("overflow","hidden");u.find($rwJBI8d9WSTrEy$Wo0D(116)).show();seven_animate_end()}});setTimeout(function(){u.find($rwJBI8d9WSTrEy$Wo0D(97)).hide();if(af%2==0)ao.next();else ao.previous()},50)}}function seven_bar_cube(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),blind=$rwJBI8d9WSTrEy$Wo0D(66)+u.index()+$rwJBI8d9WSTrEy$Wo0D(147);blind+="<img src='"+ai+$rwJBI8d9WSTrEy$Wo0D(72)+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(142)+al+$rwJBI8d9WSTrEy$Wo0D(65)+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(141);$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("overflow","visible");u.find($rwJBI8d9WSTrEy$Wo0D(116)).hide();u.find($rwJBI8d9WSTrEy$Wo0D(97)).show();window.f=new flux.slider('#seven_cube'+u.index(),{autoplay:false,pagination:false,width:w.width,height:w.height,column:4+af*2,onTransitionEnd:function(am){u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("overflow","hidden");u.find($rwJBI8d9WSTrEy$Wo0D(116)).show();seven_animate_end()}});setTimeout(function(){window.f.next("bars3d");u.find($rwJBI8d9WSTrEy$Wo0D(97)).hide()},100)}function seven_tiles_3d(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),blind=$rwJBI8d9WSTrEy$Wo0D(140);blind+="<img src='"+ai+$rwJBI8d9WSTrEy$Wo0D(72)+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(142)+al+$rwJBI8d9WSTrEy$Wo0D(65)+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(141);$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("overflow","visible");u.find($rwJBI8d9WSTrEy$Wo0D(116)).hide();u.find($rwJBI8d9WSTrEy$Wo0D(97)).show();window.f=new flux.slider($rwJBI8d9WSTrEy$Wo0D(71),{autoplay:false,pagination:false,width:w.width,height:w.height,tdelay:200,index:af,column:6,onTransitionEnd:function(am){u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("overflow","hidden");u.find($rwJBI8d9WSTrEy$Wo0D(116)).show();seven_animate_end()}});setTimeout(function(){window.f.next("tiles3d");u.find($rwJBI8d9WSTrEy$Wo0D(97)).hide()},100)}function seven_blinds_3d(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),blind=$rwJBI8d9WSTrEy$Wo0D(140);blind+="<img src='"+ai+$rwJBI8d9WSTrEy$Wo0D(72)+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141);$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("overflow","visible");u.find($rwJBI8d9WSTrEy$Wo0D(116)).hide();u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left",0).show();var am=(af%2==0)?0:80;window.f=new flux.slider($rwJBI8d9WSTrEy$Wo0D(71),{autoplay:false,pagination:false,width:w.width,height:w.height,tdelay:am,column:6-parseInt(af/2)*5,row:1+parseInt(af/2)*4,index:parseInt(af/2),onTransitionEnd:function(an){u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("overflow","hidden");u.find($rwJBI8d9WSTrEy$Wo0D(116)).show();seven_animate_end()}});setTimeout(function(){u.find($rwJBI8d9WSTrEy$Wo0D(97)).hide();window.f.next("blinds3d");u.find("#seven_next").css("left",0).show()},100)}function seven_blinds_3d_turn(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),blind=$rwJBI8d9WSTrEy$Wo0D(140);blind+="<img src='"+ai+$rwJBI8d9WSTrEy$Wo0D(72)+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(142)+al+$rwJBI8d9WSTrEy$Wo0D(65)+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(141);$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("overflow","visible");u.find($rwJBI8d9WSTrEy$Wo0D(116)).hide();u.find($rwJBI8d9WSTrEy$Wo0D(97)).show();var am=(af%2==0)?0:80;window.f=new flux.slider($rwJBI8d9WSTrEy$Wo0D(71),{autoplay:false,pagination:false,width:w.width,height:w.height,tdelay:am,column:6-parseInt(af/2)*5,row:1+parseInt(af/2)*4,index:parseInt(af/2),onTransitionEnd:function(an){u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("overflow","hidden");u.find($rwJBI8d9WSTrEy$Wo0D(116)).show();seven_animate_end()}});setTimeout(function(){window.f.next($rwJBI8d9WSTrEy$Wo0D(148));u.find($rwJBI8d9WSTrEy$Wo0D(97)).hide()},100)}function seven_bar_scale_3d(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),blind=$rwJBI8d9WSTrEy$Wo0D(66)+u.index()+$rwJBI8d9WSTrEy$Wo0D(147);blind+="<img src='"+ai+$rwJBI8d9WSTrEy$Wo0D(72)+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(142)+al+$rwJBI8d9WSTrEy$Wo0D(65)+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(141);$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("overflow","visible");u.find($rwJBI8d9WSTrEy$Wo0D(116)).hide();u.find($rwJBI8d9WSTrEy$Wo0D(97)).show();window.f=new flux.slider('#seven_cube'+u.index(),{autoplay:false,pagination:false,width:w.width,height:w.height,tdelay:50-(af%2)*50,column:4+parseInt(af/2)*2,onTransitionEnd:function(am){u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("overflow","hidden");u.find($rwJBI8d9WSTrEy$Wo0D(116)).show();seven_animate_end()}});setTimeout(function(){window.f.next("barscale3d");u.find($rwJBI8d9WSTrEy$Wo0D(97)).hide()},100)}function seven_bar_dance(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),blind=$rwJBI8d9WSTrEy$Wo0D(66)+u.index()+$rwJBI8d9WSTrEy$Wo0D(147);blind+="<img src='"+ai+$rwJBI8d9WSTrEy$Wo0D(72)+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(142)+al+$rwJBI8d9WSTrEy$Wo0D(65)+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(141);$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("overflow","visible");u.find($rwJBI8d9WSTrEy$Wo0D(116)).hide();u.find($rwJBI8d9WSTrEy$Wo0D(97)).show();window.f=new flux.slider('#seven_cube'+u.index(),{autoplay:false,pagination:false,width:w.width,height:w.height,tdelay:50-(af%2)*50,column:4+parseInt(af/2)*2,onTransitionEnd:function(am){u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("overflow","hidden");u.find($rwJBI8d9WSTrEy$Wo0D(116)).show();seven_animate_end()}});setTimeout(function(){window.f.next("bardance3d");u.find($rwJBI8d9WSTrEy$Wo0D(97)).hide()},100)}function seven_bar_rotate(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),blind=$rwJBI8d9WSTrEy$Wo0D(66)+u.index()+$rwJBI8d9WSTrEy$Wo0D(147);blind+="<img src='"+ai+$rwJBI8d9WSTrEy$Wo0D(72)+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(142)+al+$rwJBI8d9WSTrEy$Wo0D(65)+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(141);$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("overflow","visible");u.find($rwJBI8d9WSTrEy$Wo0D(116)).hide();u.find($rwJBI8d9WSTrEy$Wo0D(97)).show();window.f=new flux.slider('#seven_cube'+u.index(),{autoplay:false,pagination:false,width:w.width,height:w.height,tdelay:50-(af%2)*50,index:af,column:12,onTransitionEnd:function(am){u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("overflow","hidden");u.find($rwJBI8d9WSTrEy$Wo0D(116)).show();seven_animate_end()}});setTimeout(function(){window.f.next("barrotate");u.find($rwJBI8d9WSTrEy$Wo0D(97)).hide();u.find("#seven_next").css("left",0).show()},100)}function seven_hbar_cube(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),blind=$rwJBI8d9WSTrEy$Wo0D(66)+u.index()+$rwJBI8d9WSTrEy$Wo0D(147);blind+="<img src='"+ai+$rwJBI8d9WSTrEy$Wo0D(72)+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(142)+al+$rwJBI8d9WSTrEy$Wo0D(65)+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(141);$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("overflow","visible");u.find($rwJBI8d9WSTrEy$Wo0D(116)).hide();u.find($rwJBI8d9WSTrEy$Wo0D(97)).show();window.f=new flux.slider('#seven_cube'+u.index(),{autoplay:false,pagination:false,width:w.width,height:w.height,tdelay:50-(af%2)*50,index:af,row:2-af,column:12,onTransitionEnd:function(am){u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("overflow","hidden");u.find($rwJBI8d9WSTrEy$Wo0D(116)).show();seven_animate_end()}});setTimeout(function(){window.f.next("hbar3d");u.find($rwJBI8d9WSTrEy$Wo0D(97)).hide();u.find("#seven_next").css("left",0).show()},100)}function seven_linear_move(af){var ag=[[100,0,0,0],[-100,0,0,0],[0,100,0,0],[0,-100,0,0]],ah=[[-w.width,0],[w.width,0],[0,-w.height],[0,w.height]];u.find("#seven_next").css("left",ag[af][0]+"\x25").css("top",ag[af][1]+"\x25");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left",ag[af][2]+"\x25").css("top",ag[af][3]+"\x25");u.find($rwJBI8d9WSTrEy$Wo0D(64)).each(function(i){$(this).animate({"left":"+="+ah[af][0]+"px","top":"+="+ah[af][1]+"px",},{duration:800,easing:$rwJBI8d9WSTrEy$Wo0D(149),complete:function(){if(i==0)seven_animate_end()}})})}function seven_vbar_move(af){var ag=[-1,1,-1,1,-1,1],ah=[$rwJBI8d9WSTrEy$Wo0D(63),$rwJBI8d9WSTrEy$Wo0D(63),"easeOutBack","easeOutBack","easeOutBack","easeOutBack"],ai=[1,0,1,0,0,1],aj=u.find($rwJBI8d9WSTrEy$Wo0D(150)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),am=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),an=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ao=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(62);for(var i=0;i<20;i++){var ap=Math.ceil(w.width/20),aq=ap*i;blind+=$rwJBI8d9WSTrEy$Wo0D(151)+ap+$rwJBI8d9WSTrEy$Wo0D(61)+(-ag[af]*w.width+aq)+$rwJBI8d9WSTrEy$Wo0D(152)+ao+$rwJBI8d9WSTrEy$Wo0D(60)+aq+"px;width:"+am+"px;height:"+an+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var ar;if(ai[af]==1)ar=i;else ar=19-i;$(this).delay(ar*40).animate({"left":"+="+ag[af]*w.width+"px","opacity":1,},{duration:800,easing:ah[af],complete:function(){if(ar==19)seven_animate_end()}})})}function seven_hbar_move(af){var ag=[-1,1,-1,1,-1,1],ah=["easeOutSine","easeOutSine","easeOutBack","easeOutBack","easeOutBack","easeOutBack"],ai=[0,1,0,1,1,0],aj=u.find($rwJBI8d9WSTrEy$Wo0D(150)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),am=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),an=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ao=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(62);for(var i=0;i<10;i++){var ap=Math.ceil(w.height/10),aq=ap*i;blind+=$rwJBI8d9WSTrEy$Wo0D(59)+ap+$rwJBI8d9WSTrEy$Wo0D(154)+(ag[af]*w.height+aq)+$rwJBI8d9WSTrEy$Wo0D(58)+ao+$rwJBI8d9WSTrEy$Wo0D(155)+aq+"px;width:"+am+"px;height:"+an+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var ar;if(ai[af]==1)ar=i;else ar=9-i;$(this).delay(ar*60).animate({"top":"+="+(-ag[af]*w.height)+"px","opacity":1,},{duration:800,easing:ah[af],complete:function(){if(ar==9)seven_animate_end()}})})}function seven_hbar_rmove(af){var ag=[-1,1,-1,1,-1,1,-1,1,1,-1,1,-1,1,-1,1,-1,-1,1,-1,1,-1,1,-1,1],ah=["easeOutSine","easeOutSine","easeOutSine","easeOutSine","easeOutBack","easeOutBack","easeOutBack","easeOutBack","easeOutSine","easeOutSine","easeOutSine","easeOutSine","easeOutBack","easeOutBack","easeOutBack","easeOutBack",$rwJBI8d9WSTrEy$Wo0D(57),$rwJBI8d9WSTrEy$Wo0D(57),$rwJBI8d9WSTrEy$Wo0D(57),$rwJBI8d9WSTrEy$Wo0D(57),$rwJBI8d9WSTrEy$Wo0D(57),$rwJBI8d9WSTrEy$Wo0D(57),$rwJBI8d9WSTrEy$Wo0D(57),$rwJBI8d9WSTrEy$Wo0D(57)],ai=[0,0,1,1,0,0,1,1,-1,-1,-2,-2,-1,-1,-2,-2,0,0,-1,-1,-2,-2,1,1],aj=(af>15)?1800:800,ak=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),al=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),am=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),an=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ao=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ap=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(62),aq;if(ai[af]==-1)aq=Z(10);else aq=[4,3,2,1,0,0,1,2,3,4];for(var i=0;i<10;i++){var ar=Math.ceil(w.height/10),as=ar*i;blind+=$rwJBI8d9WSTrEy$Wo0D(59)+ar+"px;left:"+(-ag[af]*w.width)+"px;top:"+as+$rwJBI8d9WSTrEy$Wo0D(58)+ap+$rwJBI8d9WSTrEy$Wo0D(155)+as+"px;width:"+an+"px;height:"+ao+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var at;if(ai[af]==0)at=i;else if(ai[af]>0)at=9-i;else at=aq[i];$(this).delay(at*60).animate({"left":"+="+ag[af]*w.width+"px","opacity":1,},{duration:aj,easing:ah[af],complete:function(){if(ai[af]!=-2){if(at==9)seven_animate_end()}else{if(i==9)seven_animate_end()}}})})}function seven_vbar_rmove(af){var ag=[-1,1,-1,1,-1,1,-1,1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1],ah=["easeOutSine","easeOutSine","easeOutSine","easeOutSine","easeOutBack","easeOutBack","easeOutBack","easeOutBack","easeOutSine","easeOutSine","easeOutSine","easeOutSine","easeOutBack","easeOutBack","easeOutBack","easeOutBack",$rwJBI8d9WSTrEy$Wo0D(57),$rwJBI8d9WSTrEy$Wo0D(57),$rwJBI8d9WSTrEy$Wo0D(57),$rwJBI8d9WSTrEy$Wo0D(57),$rwJBI8d9WSTrEy$Wo0D(57),$rwJBI8d9WSTrEy$Wo0D(57),$rwJBI8d9WSTrEy$Wo0D(57),$rwJBI8d9WSTrEy$Wo0D(57)],ai=[0,0,1,1,0,0,1,1,-1,-1,-2,-2,-1,-1,-2,-2,0,0,1,1,-1,-1,-2,-2],aj=(af>15)?1800:800,ak=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),al=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),am=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),an=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ao=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ap=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(62),aq;if(ai[af]==-1)aq=Z(10);else aq=[4,3,2,1,0,0,1,2,3,4];for(var i=0;i<10;i++){var ar=Math.ceil(w.width/10),as=ar*i;blind+=$rwJBI8d9WSTrEy$Wo0D(151)+ar+$rwJBI8d9WSTrEy$Wo0D(61)+as+"px;top:"+(ag[af]*w.height)+$rwJBI8d9WSTrEy$Wo0D(58)+ap+$rwJBI8d9WSTrEy$Wo0D(60)+as+"px;width:"+an+"px;height:"+ao+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var at;if(ai[af]==0)at=i;else if(ai[af]>0)at=9-i;else at=aq[i];$(this).delay(at*60).animate({"top":"+="+(-ag[af]*w.height)+"px","opacity":1,},{duration:aj,easing:ah[af],complete:function(){if(ai[af]!=-2){if(at==9)seven_animate_end()}else{if(i==9)seven_animate_end()}}})})}function seven_hcenter_stretch(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var am,an=(af==0)?10:1;am=(af==0)?[4,3,2,1,0,0,1,2,3,4]:[0,0];var blind=$rwJBI8d9WSTrEy$Wo0D(62);for(var i=0;i<an;i++){var ao=Math.ceil(w.height/an),ap=ao*i;blind+=$rwJBI8d9WSTrEy$Wo0D(59)+ao+$rwJBI8d9WSTrEy$Wo0D(156)+ap+$rwJBI8d9WSTrEy$Wo0D(58)+al+$rwJBI8d9WSTrEy$Wo0D(155)+ap+"px;width:"+aj+"px;height:"+ak+"px;left:"+Math.ceil(w.width/2)+"px'/></div>"}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(56)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(56)).css("width",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){$(this).find("img").delay(am[i]*80).animate({"left":"0px","width":aj,"opacity":1,},{duration:800,easing:"easeOutSine",complete:function(){if(i==an-1)seven_animate_end()}})})}function seven_vcenter_stretch(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var am,an=(af==0)?10:1;am=(af==0)?[4,3,2,1,0,0,1,2,3,4]:[0,0];var blind=$rwJBI8d9WSTrEy$Wo0D(62);for(var i=0;i<an;i++){var ao=Math.ceil(w.width/an),ap=ao*i;blind+=$rwJBI8d9WSTrEy$Wo0D(151)+ao+$rwJBI8d9WSTrEy$Wo0D(61)+ap+$rwJBI8d9WSTrEy$Wo0D(157)+al+$rwJBI8d9WSTrEy$Wo0D(60)+ap+"px;width:"+aj+"px;height:"+ak+"px;top:"+Math.ceil(w.height/2)+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(56)).css("opacity",1);u.find($rwJBI8d9WSTrEy$Wo0D(56)).css("height",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){$(this).find("img").delay(am[i]*60).animate({"top":"0px","height":ak+"px","opacity":1,},{duration:800,easing:"easeOutSine",complete:function(){if(i==an-1)seven_animate_end()}})})}function seven_hbar_intersect(af){var ag=["easeOutSine","easeOutSine","easeOutBack","easeOutBack","easeOutSine","easeOutBack",$rwJBI8d9WSTrEy$Wo0D(57),$rwJBI8d9WSTrEy$Wo0D(57)],ah=[0,1,0,1,2,2,0,1],ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),am=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),an=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(62);for(var i=0;i<10;i++){var ao=Math.ceil(w.height/10),ap=w.width-w.width*2*(i%2);blind+=$rwJBI8d9WSTrEy$Wo0D(59)+ao+"px;left:"+ap+"px;top:"+ao*i+$rwJBI8d9WSTrEy$Wo0D(58)+an+$rwJBI8d9WSTrEy$Wo0D(155)+ao*i+"px;width:"+al+"px;height:"+am+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var aq;if(ah[af]==0)aq=i;else if(ah[af]==1)aq=9-i;else aq=0;$(this).delay(aq*60).animate({"left":"0px","opacity":1,},{duration:800,easing:ag[af],complete:function(){if(ah[af]==2){if(i==9)seven_animate_end()}else if(aq==9)seven_animate_end()}})})}function seven_vbar_intersect(af){var ag=["easeOutSine","easeOutSine","easeOutBack","easeOutBack","easeOutSine","easeOutBack",$rwJBI8d9WSTrEy$Wo0D(57),$rwJBI8d9WSTrEy$Wo0D(57)],ah=[0,1,0,1,2,2,0,1],ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),am=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),an=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(62);for(var i=0;i<10;i++){var ao=Math.ceil(w.width/10),ap=w.height-w.height*2*(i%2);blind+=$rwJBI8d9WSTrEy$Wo0D(151)+ao+$rwJBI8d9WSTrEy$Wo0D(61)+ao*i+"px;top:"+ap+$rwJBI8d9WSTrEy$Wo0D(58)+an+$rwJBI8d9WSTrEy$Wo0D(60)+ao*i+"px;width:"+al+"px;height:"+am+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var aq;if(ah[af]==0)aq=i;else if(ah[af]==1)aq=9-i;else aq=0;$(this).delay(aq*60).animate({"top":"0px","opacity":1,},{duration:800,easing:ag[af],complete:function(){if(ah[af]==2){if(i==9)seven_animate_end()}else if(aq==9)seven_animate_end()}})})}function seven_fade(){u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");u.find("#seven_next").css("opacity",0);u.find("#seven_next").animate({"opacity":1,},{duration:800,easing:"easeOutSine",complete:function(){seven_animate_end()}})}function seven_fade_overlap(){var af=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),ai=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(62),al=[[-100,-100],[-100,100],[100,100],[100,-100]];for(var i=0;i<4;i++){blind+=$rwJBI8d9WSTrEy$Wo0D(55)+ak+$rwJBI8d9WSTrEy$Wo0D(158)+ai+"px;height:"+aj+"px;left:"+al[i][0]+"px;top:"+al[i][1]+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(56)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(56)).each(function(i){$(this).animate({"left":0,"top":0,"opacity":1,},{duration:600,easing:"easeOutQuad",complete:function(){if(i==3)seven_animate_end()}})})}function seven_blind(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<12;i++){var am=Math.ceil(w.width/12);blind+=$rwJBI8d9WSTrEy$Wo0D(151)+am+$rwJBI8d9WSTrEy$Wo0D(61)+am*i+$rwJBI8d9WSTrEy$Wo0D(157)+ai+$rwJBI8d9WSTrEy$Wo0D(60)+am*i+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var an,ao;if(af==0)an=0;else if(af==1)an=i;else if(af==2)an=11-i;ao=(af==2)?0:11;$(this).delay(an*50).animate({"width":0,},{duration:500,easing:"easeOutSine",complete:function(){if(i==ao)seven_animate_end()}})})}function seven_vblind(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<12;i++){var am=Math.ceil(w.height/12);blind+=$rwJBI8d9WSTrEy$Wo0D(59)+am+$rwJBI8d9WSTrEy$Wo0D(156)+am*i+$rwJBI8d9WSTrEy$Wo0D(58)+ai+$rwJBI8d9WSTrEy$Wo0D(155)+am*i+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var an,ao;if(af==0)an=0;else if(af==1)an=i;else if(af==2)an=11-i;ao=(af==2)?0:11;$(this).delay(an*50).animate({"height":0,},{duration:500,easing:"easeOutQuad",complete:function(){if(i==ao)seven_animate_end()}})})}function seven_blind_spread(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140),am=[7,6,5,4,3,2,1,0,0,1,2,3,4,5,6,7],an=Math.ceil(w.width/16),ao=Math.ceil(w.height/16);for(var i=0;i<16;i++){var ap,aq,ar;if(i<8){ap=$rwJBI8d9WSTrEy$Wo0D(139);aq=an;ar=ao}else{ap=$rwJBI8d9WSTrEy$Wo0D(73);aq=0;ar=0}if(af==0)blind+=$rwJBI8d9WSTrEy$Wo0D(151)+aq+$rwJBI8d9WSTrEy$Wo0D(61)+an*i+$rwJBI8d9WSTrEy$Wo0D(54)+$(ap).attr("src")+$rwJBI8d9WSTrEy$Wo0D(60)+an*i+"px;width:"+$(ap).width()+"px;height:"+$(ap).height()+$rwJBI8d9WSTrEy$Wo0D(141);else blind+=$rwJBI8d9WSTrEy$Wo0D(59)+ar+$rwJBI8d9WSTrEy$Wo0D(156)+ao*i+$rwJBI8d9WSTrEy$Wo0D(159)+$(ap).attr("src")+$rwJBI8d9WSTrEy$Wo0D(155)+ao*i+"px;width:"+$(ap).width()+"px;height:"+$(ap).height()+$rwJBI8d9WSTrEy$Wo0D(141);if(i>7){if(af==0)blind+=$rwJBI8d9WSTrEy$Wo0D(53)+an+$rwJBI8d9WSTrEy$Wo0D(61)+an*i+$rwJBI8d9WSTrEy$Wo0D(157)+ai+$rwJBI8d9WSTrEy$Wo0D(60)+an*i+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141);else blind+=$rwJBI8d9WSTrEy$Wo0D(160)+ao+$rwJBI8d9WSTrEy$Wo0D(156)+ao*i+$rwJBI8d9WSTrEy$Wo0D(58)+ai+$rwJBI8d9WSTrEy$Wo0D(155)+ao*i+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141)}}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var as=0,at="";if(i>7){if(af==0)as=an;else as=ao}if(af==0){$(this).delay(am[i]*100).animate({"width":as+"px",},{duration:400,easing:"easeOutQuad",complete:function(){if(i==15)seven_animate_end()}})}else{$(this).delay(am[i]*100).animate({"height":as+"px",},{duration:400,easing:"easeOutQuad",complete:function(){if(i==15)seven_animate_end()}})}})}function seven_cut(){var af=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),ai=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140),al=[-w.width,0],am=[[$rwJBI8d9WSTrEy$Wo0D(73),$rwJBI8d9WSTrEy$Wo0D(139)],[$rwJBI8d9WSTrEy$Wo0D(139),$rwJBI8d9WSTrEy$Wo0D(73)]];for(var i=0;i<2;i++){var an=Math.ceil(w.height/2);blind+=$rwJBI8d9WSTrEy$Wo0D(52)+an+"px;left:"+al[i]+"px;top:"+an*i+$rwJBI8d9WSTrEy$Wo0D(161)+$(am[i][0]).attr("src")+$rwJBI8d9WSTrEy$Wo0D(155)+an*i+"px;width:"+$(am[i][0]).width()+"px;height:"+$(am[i][0]).height()+$rwJBI8d9WSTrEy$Wo0D(51)+$(am[i][1]).attr("src")+$rwJBI8d9WSTrEy$Wo0D(155)+an*i+"px;width:"+$(am[i][1]).width()+"px;height:"+$(am[i][1]).height()+$rwJBI8d9WSTrEy$Wo0D(162)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){$(this).animate({"left":al[1-i]+"px",},{duration:500,easing:$rwJBI8d9WSTrEy$Wo0D(63),complete:function(){if(i==0)seven_animate_end()}})})}function seven_vcut(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[1,1,-1,-1],an=[0,1,0,1];u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<5;i++){var ao=Math.ceil(w.width/5);if(am[af]==1)blind+=$rwJBI8d9WSTrEy$Wo0D(151)+ao+$rwJBI8d9WSTrEy$Wo0D(50)+ao*i+"px;top:-"+w.height+$rwJBI8d9WSTrEy$Wo0D(163)+al+$rwJBI8d9WSTrEy$Wo0D(60)+ao*i+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(49)+ai+$rwJBI8d9WSTrEy$Wo0D(60)+ao*i+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(162);else blind+=$rwJBI8d9WSTrEy$Wo0D(151)+ao+$rwJBI8d9WSTrEy$Wo0D(50)+ao*i+$rwJBI8d9WSTrEy$Wo0D(164)+ai+$rwJBI8d9WSTrEy$Wo0D(60)+ao*i+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(49)+al+$rwJBI8d9WSTrEy$Wo0D(60)+ao*i+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(162)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var ap;if(an[af]==0)ap=i;else ap=4-i;$(this).delay(150*ap).animate({"top":"+="+(am[af]*w.height)+"px",},{duration:400,easing:$rwJBI8d9WSTrEy$Wo0D(63),complete:function(){if(ap==4)seven_animate_end()}})})}function seven_hcut(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[1,-1,1,-1],an=[0,0,1,1];u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<5;i++){var ao=Math.ceil(w.height/5);if(am[af]==1)blind+=$rwJBI8d9WSTrEy$Wo0D(52)+ao+"px;left:-"+w.width+"px;top:"+ao*i+$rwJBI8d9WSTrEy$Wo0D(161)+al+$rwJBI8d9WSTrEy$Wo0D(155)+ao*i+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(51)+ai+$rwJBI8d9WSTrEy$Wo0D(155)+ao*i+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(162);else blind+=$rwJBI8d9WSTrEy$Wo0D(52)+ao+$rwJBI8d9WSTrEy$Wo0D(156)+ao*i+$rwJBI8d9WSTrEy$Wo0D(161)+ai+$rwJBI8d9WSTrEy$Wo0D(155)+ao*i+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(51)+al+$rwJBI8d9WSTrEy$Wo0D(155)+ao*i+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(162)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var ap;if(an[af]==0)ap=i;else ap=4-i;$(this).delay(100*ap).animate({"left":"+="+(am[af]*w.width)+"px",},{duration:500,easing:"easeOutQuad",complete:function(){if(ap==4)seven_animate_end()}})})}function seven_square(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[[-1,1],[1,1],[-1,-1],[1,-1],[-1,1],[1,1],[-1,-1],[1,-1]],an=[0,1,0,1,0,1,0,1],ao=["easeOutExpo","easeOutExpo","easeOutExpo","easeOutExpo","easeOutBack","easeOutBack","easeOutBack","easeOutBack"];u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<18;i++){var ap=Math.ceil(w.width/6),aq=Math.ceil(w.height/3),ar=i%3,as=parseInt(i/3);blind+=$rwJBI8d9WSTrEy$Wo0D(151)+ap+"px;height:"+aq+"px;left:"+(ap*as+am[af][0]*200)+"px;top:"+(aq*ar+am[af][1]*200)+$rwJBI8d9WSTrEy$Wo0D(58)+al+$rwJBI8d9WSTrEy$Wo0D(60)+ap*as+"px;top:-"+aq*ar+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(56)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var at;at=(an[af]==0)?17-i:i;$(this).find("img").delay(60*at).animate({"opacity":0.8,},{duration:300,easing:ao[af],complete:function(){$(this).animate({"opacity":"\x31",},{duration:50,easing:ao[af],complete:function(){if(at==17)seven_animate_end()}})}});$(this).delay(60*at).animate({"left":"+="+(-am[af][0]*200)+"px","top":"+="+(-am[af][1]*200)+"px",},{duration:300,easing:ao[af],complete:function(){}})})}function seven_square_fade(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[[1,1],[-1,1],[1,-1],[-1,-1],[0,0],[0,0]],an=[0,0,0,0,1,0];u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<18;i++){var ao=Math.ceil(w.width/6),ap=Math.ceil(w.height/3),aq=i%3,ar=parseInt(i/3);blind+=$rwJBI8d9WSTrEy$Wo0D(151)+ao+"px;height:"+ap+"px;left:"+ao*ar+"px;top:"+ap*aq+$rwJBI8d9WSTrEy$Wo0D(58)+ai+$rwJBI8d9WSTrEy$Wo0D(60)+ao*ar+"px;top:-"+ap*aq+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var as;if(an[af]==0)as=i;else as=17-i;$(this).find("img").delay(40*as).animate({"opacity":0,},{duration:500,easing:"easeOutQuad",complete:function(){}});$(this).delay(40*as).animate({"left":"+="+am[af][0]*100+"px","top":"+="+am[af][1]*100+"px",},{duration:500,easing:"easeOutQuad",complete:function(){if(as==17)seven_animate_end()}})})}function seven_hsquare_fade(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[[0,0,0],[0,0,0],[1,1,1],[-1,1,1],[1,-1,1],[-1,-1,1]],an=[0,1,0,0,0,0];u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<18;i++){var ao=Math.ceil(w.width/6),ap=Math.ceil(w.height/3);if(af<2){row=parseInt(i/6);col=i%6}else{row=i%3;col=parseInt(i/3)}blind+=$rwJBI8d9WSTrEy$Wo0D(151)+ao+"px;height:"+ap+"px;left:"+ao*col+"px;top:"+ap*row+$rwJBI8d9WSTrEy$Wo0D(58)+ai+$rwJBI8d9WSTrEy$Wo0D(60)+ao*col+"px;top:-"+ap*row+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var aq;if(an[af]==0)aq=i;else aq=17-i;$(this).find("img").delay(50*aq).animate({"opacity":0,},{duration:450,easing:$rwJBI8d9WSTrEy$Wo0D(48),complete:function(){}});$(this).delay(50*aq).animate({"left":"+="+am[af][0]*20+"px","top":"+="+am[af][1]*20+"px","width":"+="+am[af][2]*100+"px","height":"+="+am[af][2]*100+"px",},{duration:450,easing:$rwJBI8d9WSTrEy$Wo0D(48),complete:function(){if(aq==17)seven_animate_end()}})})}function seven_square_plazma(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[-1,1];u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140),an;if(af==0)an=[0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9];else an=[9,8,7,6,5,4,3,2,1,0,9,8,7,6,5,4,3,2,1,0];for(var i=0;i<20;i++){var ao=Math.ceil(w.width/10),ap=Math.ceil(w.height/2),aq=parseInt(i/10),ar=i%10,as;if(aq==0){as=ap*aq-ap}else{as=ap*aq+ap}if(af==0)blind+=$rwJBI8d9WSTrEy$Wo0D(165)+ao*2+"px;height:"+ap+"px;left:"+ao*ar+"px;top:"+as+$rwJBI8d9WSTrEy$Wo0D(47)+ao*2+"px;height:"+ap+$rwJBI8d9WSTrEy$Wo0D(166)+al+$rwJBI8d9WSTrEy$Wo0D(60)+ao*ar+"px;top:-"+ap*aq+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(162);else blind+=$rwJBI8d9WSTrEy$Wo0D(165)+ao*2+"px;height:"+ap+"px;left:"+ao*ar+"px;top:"+as+$rwJBI8d9WSTrEy$Wo0D(47)+ao*2+"px;height:"+ap+$rwJBI8d9WSTrEy$Wo0D(46)+al+$rwJBI8d9WSTrEy$Wo0D(60)+ao*ar+"px;top:-"+ap*aq+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(162)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(167)).each(function(i){var at,au;au=(af==0)?9:0;if(i<10)at="+="+Math.ceil(w.height/2)+"px";else at="-="+Math.ceil(w.height/2)+"px";$(this).delay(100*an[i]).animate({"top":at,},{duration:400,easing:"easeOutQuad",complete:function(){}});$(this).find($rwJBI8d9WSTrEy$Wo0D(153)).delay(100*an[i]).animate({"left":"+="+am[af]*50+"px","opacity":1,},{duration:700,easing:"easeOutSine",complete:function(){if(i==au){seven_animate_end()}}})})}function seven_vsquare_plazma(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[1,1,-1,-1],an=[0,1,1,0];u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140),ao;if(an[af]==0)ao=[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9];else ao=[9,9,8,8,7,7,6,6,5,5,4,4,3,3,2,2,1,1,0,0];for(var i=0;i<20;i++){var ap=Math.ceil(w.width/2),aq=Math.ceil(w.height/10),ar=parseInt(i/2),as=i%2,at;if(as==0){at=ap*as-ap}else{at=ap*as+ap}blind+=$rwJBI8d9WSTrEy$Wo0D(165)+ap+"px;height:"+aq*2+"px;left:"+at+"px;top:"+aq*ar+$rwJBI8d9WSTrEy$Wo0D(47)+ap+"px;height:"+aq*2+"px;top:"+am[af]*50+$rwJBI8d9WSTrEy$Wo0D(58)+al+$rwJBI8d9WSTrEy$Wo0D(60)+ap*as+"px;top:-"+aq*ar+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(162)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(167)).each(function(i){var au,av;av=(an[af]==0)?19:0;if(i%2==0)au="+="+Math.ceil(w.width/2)+"px";else au="-="+Math.ceil(w.width/2)+"px";$(this).delay(100*ao[i]).animate({"left":au,},{duration:400,easing:"easeOutQuad",complete:function(){}});$(this).find($rwJBI8d9WSTrEy$Wo0D(153)).delay(100*ao[i]).animate({"top":"+="+(-am[af]*50)+"px","opacity":1,},{duration:700,easing:"easeOutSine",complete:function(){if(i==av){seven_animate_end()}}})})}function seven_border_hide(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140),am;if(af==0)am=[0,1,2,3,4,5,13,14,15,16,17,6,12,11,10,9,8,7];else if(af==1)am=[0,1,2,3,4,5,11,10,9,8,7,6,12,13,14,15,16,17];else if(af==2)am=[17,16,15,14,13,12,6,7,8,9,10,11,5,4,3,2,1,0];else if(af==3)am=[0,5,6,11,12,17,1,4,7,10,13,16,2,3,8,9,14,15];else if(af==4)am=[15,14,9,8,3,2,16,14,10,7,4,1,17,12,11,6,5,0];for(var i=0;i<18;i++){var an=Math.ceil(w.width/6),ao=Math.ceil(w.height/3),ap=parseInt(i/6),aq=i%6;blind+=$rwJBI8d9WSTrEy$Wo0D(151)+an+"px;height:"+ao+"px;left:"+an*aq+"px;top:"+ao*ap+$rwJBI8d9WSTrEy$Wo0D(58)+ai+$rwJBI8d9WSTrEy$Wo0D(60)+an*aq+"px;top:-"+ao*ap+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){$(this).find("img").delay(40*am[i]).animate({"opacity":"\x30",},{duration:500,easing:"easeOutQuad",complete:function(){if(am[i]==17)seven_animate_end()}})})}function seven_random_hide(){var af=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),ai=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140),al=Z(30);for(var i=0;i<30;i++){var am=Math.ceil(w.width/6),an=Math.ceil(w.height/5),ao=parseInt(i/6),ap=i%6;blind+=$rwJBI8d9WSTrEy$Wo0D(151)+am+"px;height:"+an+"px;left:"+am*ap+"px;top:"+an*ao+$rwJBI8d9WSTrEy$Wo0D(58)+ah+$rwJBI8d9WSTrEy$Wo0D(60)+am*ap+"px;top:-"+an*ao+"px;width:"+af+"px;height:"+ag+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){$(this).find("img").delay(30*al[i]).animate({"opacity":"\x30",},{duration:500,easing:"easeOutQuad",complete:function(){if(al[i]==29)seven_animate_end()}})})}function seven_vplazma(af){var ag=[-1,1],ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),am=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<10;i++){var an=Math.ceil(w.width/10);blind+=$rwJBI8d9WSTrEy$Wo0D(151)+an*2+$rwJBI8d9WSTrEy$Wo0D(61)+(an*i+ag[af]*50)+$rwJBI8d9WSTrEy$Wo0D(157)+am+$rwJBI8d9WSTrEy$Wo0D(60)+an*i+$rwJBI8d9WSTrEy$Wo0D(45)+ak+"px;height:"+al+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).find("img").css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var ao;ao=(af==0)?9-i:i;$(this).find("img").delay(100*ao).animate({"opacity":"\x31",},{duration:500,easing:"easeInQuad",complete:function(){}});$(this).delay(100*ao).animate({"left":"+="+(-ag[af]*50)+"px",},{duration:500,easing:"easeInQuad",complete:function(){if(ao==9)seven_animate_end()}})})}function seven_hplazma(af){var ag=[-1,1],ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),am=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<10;i++){var an=Math.ceil(w.height/10);blind+=$rwJBI8d9WSTrEy$Wo0D(59)+an*2+$rwJBI8d9WSTrEy$Wo0D(156)+(an*i+ag[af]*30)+$rwJBI8d9WSTrEy$Wo0D(58)+am+$rwJBI8d9WSTrEy$Wo0D(155)+an*i+"px;width:"+ak+"px;height:"+al+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(56)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var ao;ao=(af==0)?9-i:i;$(this).find("img").delay(100*ao).animate({"opacity":1,},{duration:500,easing:"easeInQuad",complete:function(){}});$(this).delay(100*ao).animate({"top":"+="+(-ag[af]*30)+"px",},{duration:500,easing:"easeInQuad",complete:function(){if(ao==9)seven_animate_end()}})})}function seven_water(){var af=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),ai=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140),al=Math.ceil(Math.max(w.width,w.height)/20),am=Math.ceil(w.width/2),an=Math.ceil(w.height/2);for(var i=10;i>=0;i--){var ao,ap;if((am-al*(i+1))>0)ao="\x2d"+(am-al*(i+1));else ao=Math.abs(am-al*(i+1));if((an-al*(i+1))>0)ap="\x2d"+(an-al*(i+1));else ap=Math.abs(an-al*(i+1));if(seven_isIE()!=false&&seven_isIE()<9){blind+=$rwJBI8d9WSTrEy$Wo0D(151)+al*2*(i+1)+"px;height:"+al*2*(i+1)+"px;left:"+(am-al*(i+1))+"px;top:"+(an-al*(i+1))+$rwJBI8d9WSTrEy$Wo0D(168)+al*2*(i+1)+$rwJBI8d9WSTrEy$Wo0D(58)+ak+$rwJBI8d9WSTrEy$Wo0D(44)+ao+"px;top:"+ap+"px;width:"+ai+"px;height:"+aj+$rwJBI8d9WSTrEy$Wo0D(141)}else{blind+=$rwJBI8d9WSTrEy$Wo0D(151)+al*2*(i+1)+"px;height:"+al*2*(i+1)+"px;left:"+(am-al*(i+1))+"px;top:"+(an-al*(i+1))+$rwJBI8d9WSTrEy$Wo0D(168)+al*2*(i+1)+$rwJBI8d9WSTrEy$Wo0D(169)+ak+$rwJBI8d9WSTrEy$Wo0D(43)+ai+"px "+aj+$rwJBI8d9WSTrEy$Wo0D(170)+ao+"px "+ap+$rwJBI8d9WSTrEy$Wo0D(42)}}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));if(seven_isIE()<9&&seven_isIE()!=false){u.find($rwJBI8d9WSTrEy$Wo0D(56)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){$(this).find("img").delay(50*(10-i)).animate({"opacity":1,},{duration:600,easing:"easeInQuad",complete:function(){if(i==0)seven_animate_end()}})})}else{u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){$(this).delay(50*(10-i)).animate({"opacity":1,},{duration:600,easing:"easeInQuad",complete:function(){if(i==0)seven_animate_end()}})})}}function seven_water_inside(){var af=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),ai=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140),al=Math.ceil(Math.max(w.width,w.height)/20),am=Math.ceil(w.width/2),an=Math.ceil(w.height/2);for(var i=10;i>=0;i--){var ao,ap;if((am-al*(i+1))>0)ao="\x2d"+(am-al*(i+1));else ao=Math.abs(am-al*(i+1));if((an-al*(i+1))>0)ap="\x2d"+(an-al*(i+1));else ap=Math.abs(an-al*(i+1));if(seven_isIE()!=false&&seven_isIE()<9){blind+=$rwJBI8d9WSTrEy$Wo0D(151)+al*2*(i+1)+"px;height:"+al*2*(i+1)+"px;left:"+(am-al*(i+1))+"px;top:"+(an-al*(i+1))+$rwJBI8d9WSTrEy$Wo0D(168)+al*2*(i+1)+$rwJBI8d9WSTrEy$Wo0D(58)+ah+$rwJBI8d9WSTrEy$Wo0D(44)+ao+"px;top:"+ap+"px;width:"+af+"px;height:"+ag+$rwJBI8d9WSTrEy$Wo0D(141)}else{blind+=$rwJBI8d9WSTrEy$Wo0D(151)+al*2*(i+1)+"px;height:"+al*2*(i+1)+"px;left:"+(am-al*(i+1))+"px;top:"+(an-al*(i+1))+$rwJBI8d9WSTrEy$Wo0D(168)+al*2*(i+1)+$rwJBI8d9WSTrEy$Wo0D(169)+ah+$rwJBI8d9WSTrEy$Wo0D(43)+af+"px "+ag+$rwJBI8d9WSTrEy$Wo0D(170)+ao+"px "+ap+$rwJBI8d9WSTrEy$Wo0D(42)}}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));if(seven_isIE()!=false&&seven_isIE()<9){u.find($rwJBI8d9WSTrEy$Wo0D(56)).css("opacity",1);u.find($rwJBI8d9WSTrEy$Wo0D(56)).each(function(i){$(this).delay(50*i).animate({"opacity":0,},{duration:600,easing:"easeInQuad",complete:function(){if(i==10)seven_animate_end()}})})}else{u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("opacity",1);u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){$(this).delay(50*i).animate({"opacity":0,},{duration:600,easing:"easeInQuad",complete:function(){if(i==10)seven_animate_end()}})})}}function seven_water_rotate_cross(){var af=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),ai=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140),al=Math.ceil(Math.max(w.width,w.height)/20),am=Math.ceil(w.width/2),an=Math.ceil(w.height/2);for(var i=10;i>=0;i--){var ao,ap;if((am-al*(i+1))>0)ao="\x2d"+(am-al*(i+1));else ao=Math.abs(am-al*(i+1));if((an-al*(i+1))>0)ap="\x2d"+(an-al*(i+1));else ap=Math.abs(an-al*(i+1));if(seven_isIE()!=false&&seven_isIE()<9){blind+=$rwJBI8d9WSTrEy$Wo0D(151)+al*2*(i+1)+"px;height:"+al*2*(i+1)+"px;left:"+(am-al*(i+1))+"px;top:"+(an-al*(i+1))+$rwJBI8d9WSTrEy$Wo0D(168)+al*2*(i+1)+$rwJBI8d9WSTrEy$Wo0D(58)+ah+$rwJBI8d9WSTrEy$Wo0D(44)+ao+"px;top:"+ap+"px;width:"+af+"px;height:"+ag+$rwJBI8d9WSTrEy$Wo0D(141)}else{blind+=$rwJBI8d9WSTrEy$Wo0D(151)+al*2*(i+1)+"px;height:"+al*2*(i+1)+"px;left:"+(am-al*(i+1))+"px;top:"+(an-al*(i+1))+$rwJBI8d9WSTrEy$Wo0D(168)+al*2*(i+1)+$rwJBI8d9WSTrEy$Wo0D(169)+ah+$rwJBI8d9WSTrEy$Wo0D(43)+af+"px "+ag+$rwJBI8d9WSTrEy$Wo0D(170)+ao+"px "+ap+$rwJBI8d9WSTrEy$Wo0D(42)}}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));if(seven_isIE()>8||seven_isIE()==false){u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("opacity",1).each(function(i){var aq;if(i%2==0)aq="20deg";else aq="-20deg";$(this).delay(80*i).animate({"opacity":0,"rotate":aq,},{duration:1000,easing:$rwJBI8d9WSTrEy$Wo0D(149),complete:function(){if(i==10)seven_animate_end()}})})}else{u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){$(this).find("img").css("opacity",1);$(this).find("img").delay(80*i).animate({"opacity":0,},{duration:500,easing:"easeInQuad",complete:function(){if(i==10)seven_animate_end()}})})}}function seven_circle_rotate(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140),am=Math.ceil(Math.max(w.width,w.height)/20),an=Math.ceil(w.width/2),ao=Math.ceil(w.height/2);for(var i=10;i>=0;i--){var ap,aq;if((an-am*(i+1))>0)ap="\x2d"+(an-am*(i+1));else ap=Math.abs(an-am*(i+1));if((ao-am*(i+1))>0)aq="\x2d"+(ao-am*(i+1));else aq=Math.abs(ao-am*(i+1));if(seven_isIE()!=false&&seven_isIE()<9){blind+=$rwJBI8d9WSTrEy$Wo0D(151)+am*2*(i+1)+"px;height:"+am*2*(i+1)+"px;left:"+(an-am*(i+1))+"px;top:"+(ao-am*(i+1))+$rwJBI8d9WSTrEy$Wo0D(168)+am*2*(i+1)+$rwJBI8d9WSTrEy$Wo0D(58)+ai+$rwJBI8d9WSTrEy$Wo0D(44)+ap+"px;top:"+aq+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141)}else{blind+=$rwJBI8d9WSTrEy$Wo0D(151)+am*2*(i+1)+"px;height:"+am*2*(i+1)+"px;left:"+(an-am*(i+1))+"px;top:"+(ao-am*(i+1))+$rwJBI8d9WSTrEy$Wo0D(168)+am*2*(i+1)+$rwJBI8d9WSTrEy$Wo0D(169)+ai+$rwJBI8d9WSTrEy$Wo0D(43)+ag+"px "+ah+$rwJBI8d9WSTrEy$Wo0D(170)+ap+"px "+aq+$rwJBI8d9WSTrEy$Wo0D(42)}}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));if(seven_isIE()>8||seven_isIE()==false){var ar;ar=(af==0)?"20deg":"-20deg";u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("opacity",1).each(function(i){$(this).delay(80*i).animate({"opacity":0,"rotate":ar,},{duration:1000,easing:$rwJBI8d9WSTrEy$Wo0D(149),complete:function(){if(i==10)seven_animate_end()}})})}else{u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){$(this).find("img").css("opacity",1);$(this).find("img").delay(80*i).animate({"opacity":0,},{duration:500,easing:"easeInQuad",complete:function(){if(i==10)seven_animate_end()}})})}}function seven_swap_block(){var af=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),ai=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<2;i++){var al=Math.ceil(w.height/2);blind+=$rwJBI8d9WSTrEy$Wo0D(171)+al+$rwJBI8d9WSTrEy$Wo0D(156)+al*i+$rwJBI8d9WSTrEy$Wo0D(41)+al+$rwJBI8d9WSTrEy$Wo0D(172)+ah+$rwJBI8d9WSTrEy$Wo0D(155)+al*i+"px;width:"+af+"px;height:"+ag+$rwJBI8d9WSTrEy$Wo0D(40)+al+"px;top:"+(al-2*al*i)+$rwJBI8d9WSTrEy$Wo0D(58)+ak+$rwJBI8d9WSTrEy$Wo0D(155)+al*i+"px;width:"+ai+"px;height:"+aj+$rwJBI8d9WSTrEy$Wo0D(162)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(167)).each(function(i){var am;if(i%2==0)am=Math.ceil(w.height/2);else am=-(Math.ceil(w.height/2));$(this).find($rwJBI8d9WSTrEy$Wo0D(153)).animate({"top":am+"px",},{duration:500,easing:$rwJBI8d9WSTrEy$Wo0D(149),complete:function(){if(i==1)seven_animate_end()}});$(this).find($rwJBI8d9WSTrEy$Wo0D(173)).animate({"top":"0px",},{duration:500,easing:$rwJBI8d9WSTrEy$Wo0D(149),complete:function(){}})})}function seven_swap_hblock(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[1,-1,1,-1],an=["easeOutSine","easeOutSine","easeOutBack","easeOutBack"];u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<5;i++){var ao=Math.ceil(w.width/5);blind+=$rwJBI8d9WSTrEy$Wo0D(165)+ao+$rwJBI8d9WSTrEy$Wo0D(61)+ao*i+$rwJBI8d9WSTrEy$Wo0D(39)+ao+$rwJBI8d9WSTrEy$Wo0D(61)+am[af]*ao+$rwJBI8d9WSTrEy$Wo0D(174)+al+$rwJBI8d9WSTrEy$Wo0D(60)+ao*i+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(38)+ao+$rwJBI8d9WSTrEy$Wo0D(175)+ai+$rwJBI8d9WSTrEy$Wo0D(60)+ao*i+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(162)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(167)).each(function(i){$(this).find($rwJBI8d9WSTrEy$Wo0D(153)).delay(i*100).animate({"left":"+="+(-am[af]*Math.ceil(w.width/5))+"px",},{duration:500,easing:an[af],complete:function(){if(i==4)seven_animate_end()}})})}function seven_swap_vblock(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[1,-1,1,-1],an=["easeOutSine","easeOutSine","easeOutBack","easeOutBack"];u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<5;i++){var ao=Math.ceil(w.height/5);blind+=$rwJBI8d9WSTrEy$Wo0D(171)+ao+$rwJBI8d9WSTrEy$Wo0D(156)+ao*i+$rwJBI8d9WSTrEy$Wo0D(37)+ao+"px;top:"+(-am[af]*ao)+$rwJBI8d9WSTrEy$Wo0D(174)+al+$rwJBI8d9WSTrEy$Wo0D(155)+ao*i+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(176)+ao+$rwJBI8d9WSTrEy$Wo0D(172)+ai+$rwJBI8d9WSTrEy$Wo0D(155)+ao*i+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(162)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(167)).each(function(i){$(this).find($rwJBI8d9WSTrEy$Wo0D(153)).delay(i*100).animate({"top":"+="+(am[af]*Math.ceil(w.height/5))+"px",},{duration:500,easing:an[af],complete:function(){if(i==4){if($(this).index()==0)seven_animate_end()}}})})}function seven_tile_sequence(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[1,-1,0,0];u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<18;i++){var an=Math.ceil(w.width/6),ao=Math.ceil(w.height/3),ap=i%3,aq=parseInt(i/3);blind+=$rwJBI8d9WSTrEy$Wo0D(165)+an+"px;height:"+ao+"px;left:"+an*aq+"px;top:"+ao*ap+$rwJBI8d9WSTrEy$Wo0D(47)+an+"px;height:"+ao+"px;left:"+(-am[af]*an)+"px;top:-"+ao+$rwJBI8d9WSTrEy$Wo0D(36)+al+$rwJBI8d9WSTrEy$Wo0D(60)+an*aq+"px;top:-"+ao*ap+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(177)+an+"px;height:"+ao+$rwJBI8d9WSTrEy$Wo0D(172)+ai+$rwJBI8d9WSTrEy$Wo0D(60)+an*aq+"px;top:-"+ao*ap+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(162)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var ar;ar=(af%2==0)?i:17-i;$(this).delay(60*ar).animate({"left":"+="+(am[af]*Math.ceil(w.width/6))+"px","top":"+="+Math.ceil(w.height/3)+"px","opacity":"\x31",},{duration:500,easing:"easeOutSine",complete:function(){if(ar==17)seven_animate_end()}})})}function seven_tile_psequence(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[1,-1,1,-1],an=[0,1,-1,-1];u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140),ao;if(af>1)ao=Z(18);for(var i=0;i<18;i++){var ap=Math.ceil(w.width/6),aq=Math.ceil(w.height/3),ar=i%3,as=parseInt(i/3);blind+=$rwJBI8d9WSTrEy$Wo0D(165)+ap+"px;height:"+aq+"px;left:"+ap*as+"px;top:"+aq*ar+$rwJBI8d9WSTrEy$Wo0D(35)+ap+"px;height:"+aq+"px;left:"+(-am[af]*ap)+$rwJBI8d9WSTrEy$Wo0D(178)+al+$rwJBI8d9WSTrEy$Wo0D(60)+ap*as+"px;top:-"+aq*ar+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(177)+ap+"px;height:"+aq+$rwJBI8d9WSTrEy$Wo0D(172)+ai+$rwJBI8d9WSTrEy$Wo0D(60)+ap*as+"px;top:-"+aq*ar+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(162)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var at;if(an[af]==0)at=i;else if(an[af]==1)at=17-i;else at=ao[i];$(this).delay(60*at).animate({"left":"+="+(am[af]*Math.ceil(w.width/6))+"px","opacity":"\x31",},{duration:500,easing:"easeOutSine",complete:function(){if(at==17)seven_animate_end()}})})}function seven_tile_random_direct(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[[-1,-1],[1,-1],[-1,1],[1,1]];u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140),an=Z(18);for(var i=0;i<18;i++){var ao=Math.ceil(w.width/6),ap=Math.ceil(w.height/3),aq=i%3,ar=parseInt(i/3);blind+=$rwJBI8d9WSTrEy$Wo0D(165)+ao+"px;height:"+ap+"px;left:"+ao*ar+"px;top:"+ap*aq+$rwJBI8d9WSTrEy$Wo0D(35)+ao+"px;height:"+ap+"px;left:"+(am[af][0]*ao)+"px;top:"+(am[af][1]*ap)+$rwJBI8d9WSTrEy$Wo0D(36)+al+$rwJBI8d9WSTrEy$Wo0D(60)+ao*ar+"px;top:-"+ap*aq+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(177)+ao+"px;height:"+ap+$rwJBI8d9WSTrEy$Wo0D(172)+ai+$rwJBI8d9WSTrEy$Wo0D(60)+ao*ar+"px;top:-"+ap*aq+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(162)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){$(this).delay(60*an[i]).animate({"left":"+="+(-am[af][0]*Math.ceil(w.width/6))+"px","top":"+="+(-am[af][1]*Math.ceil(w.height/3))+"px","opacity":"\x31",},{duration:500,easing:"easeOutSine",complete:function(){if(an[i]==17)seven_animate_end()}})})}function seven_htwist(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(62);for(var i=0;i<10;i++){var am=Math.ceil(w.height/10);blind+=$rwJBI8d9WSTrEy$Wo0D(59)+am+$rwJBI8d9WSTrEy$Wo0D(156)+am*i+$rwJBI8d9WSTrEy$Wo0D(58)+ai+$rwJBI8d9WSTrEy$Wo0D(158)+ag+"px;height:"+ah+"px;top:-"+am*i+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(56)).each(function(i){var an;an=(af==0)?i:9-i;$(this).delay(an*50).animate({"width":"\x30","left":Math.ceil(w.width/2)+"px",},{duration:400,easing:"easeInQuart",complete:function(){$(this).attr("src",al);$(this).animate({"width":ag+"px","left":"0px",},{duration:500,easing:"easeOutQuad",complete:function(){if(an==9)seven_animate_end()}})}})})}function seven_vtwist(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(62);for(var i=0;i<10;i++){var am=Math.ceil(w.width/10);blind+=$rwJBI8d9WSTrEy$Wo0D(151)+am+$rwJBI8d9WSTrEy$Wo0D(61)+am*i+$rwJBI8d9WSTrEy$Wo0D(157)+ai+$rwJBI8d9WSTrEy$Wo0D(158)+ag+"px;height:"+ah+"px;left:-"+am*i+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(56)).each(function(i){var an;an=(af==0)?i:9-i;$(this).delay(an*50).animate({"height":"\x30","top":Math.ceil(w.height/2)+"px",},{duration:400,easing:"easeInQuart",complete:function(){$(this).attr("src",al);$(this).animate({"height":ah+"px","top":"0px",},{duration:500,easing:"easeOutQuad",complete:function(){if(an==9)seven_animate_end()}})}})})}function seven_chain(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[1,-1];u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(62),an=Math.ceil(w.width/4);for(var i=0;i<4;i++){var ao;if(i==0)ao=an;else ao=-an*(i-1);if(af==0)blind+=$rwJBI8d9WSTrEy$Wo0D(165)+an+$rwJBI8d9WSTrEy$Wo0D(61)+an*i+$rwJBI8d9WSTrEy$Wo0D(39)+an*2+$rwJBI8d9WSTrEy$Wo0D(34)+an*2+$rwJBI8d9WSTrEy$Wo0D(58)+al+$rwJBI8d9WSTrEy$Wo0D(158)+aj+"px;height:"+ak+"px;left:-"+an*i+$rwJBI8d9WSTrEy$Wo0D(162);else blind+=$rwJBI8d9WSTrEy$Wo0D(165)+an+$rwJBI8d9WSTrEy$Wo0D(61)+an*i+$rwJBI8d9WSTrEy$Wo0D(39)+an*2+$rwJBI8d9WSTrEy$Wo0D(61)+an+$rwJBI8d9WSTrEy$Wo0D(58)+al+$rwJBI8d9WSTrEy$Wo0D(158)+aj+"px;height:"+ak+"px;left:"+-an*(i-1)+$rwJBI8d9WSTrEy$Wo0D(162)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(167)).each(function(i){var ap;ap=(af==0)?i:3-i;$(this).find($rwJBI8d9WSTrEy$Wo0D(153)).delay(200*ap).animate({"left":"+="+(am[af]*an*2)+"px",},{duration:600,easing:"easeOutSine",complete:function(){if(ap==3)seven_animate_end()}})})}function seven_schain(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[1,-1];u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(62),an=Math.ceil(w.width/3);for(var i=0;i<3;i++){var ao;if(i==0)ao=an;else ao=-an*(i-1);if(af==0)blind+=$rwJBI8d9WSTrEy$Wo0D(165)+an+$rwJBI8d9WSTrEy$Wo0D(61)+an*i+$rwJBI8d9WSTrEy$Wo0D(39)+an*2+$rwJBI8d9WSTrEy$Wo0D(34)+an*2+$rwJBI8d9WSTrEy$Wo0D(58)+al+$rwJBI8d9WSTrEy$Wo0D(158)+aj+"px;height:"+ak+"px;left:-"+an*i+$rwJBI8d9WSTrEy$Wo0D(162);else blind+=$rwJBI8d9WSTrEy$Wo0D(165)+an+$rwJBI8d9WSTrEy$Wo0D(61)+an*i+$rwJBI8d9WSTrEy$Wo0D(39)+an*2+$rwJBI8d9WSTrEy$Wo0D(61)+an+$rwJBI8d9WSTrEy$Wo0D(58)+al+$rwJBI8d9WSTrEy$Wo0D(158)+aj+"px;height:"+ak+"px;left:"+-an*(i-1)+$rwJBI8d9WSTrEy$Wo0D(162)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));if(af==0)u.find($rwJBI8d9WSTrEy$Wo0D(179)).find($rwJBI8d9WSTrEy$Wo0D(153)).css("left",-an);else u.find($rwJBI8d9WSTrEy$Wo0D(33)).find($rwJBI8d9WSTrEy$Wo0D(153)).css("left",0);u.find($rwJBI8d9WSTrEy$Wo0D(167)).each(function(i){var ap;ap=(af==0)?i:2-i;$(this).find($rwJBI8d9WSTrEy$Wo0D(153)).animate({"left":"+="+(am[af]*an*(2-parseInt(ap/2)))+"px",},{duration:800+250*ap,easing:$rwJBI8d9WSTrEy$Wo0D(149),complete:function(){if(ap==2)seven_animate_end()}})})}function seven_tile_random(){var af=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),ai=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140),al=[[-1,-1],[-1,0],[-1,1],[0,-1],[0,1],[1,-1],[1,0],[1,1]],am=Z(10);for(var i=0;i<10;i++){var an=Math.ceil(w.width/5),ao=Math.ceil(w.height/2),ap=i%2,aq=parseInt(i/2),ar=Math.floor((Math.random()*8));blind+=$rwJBI8d9WSTrEy$Wo0D(165)+an+"px;height:"+ao+"px;left:"+an*aq+"px;top:"+ao*ap+$rwJBI8d9WSTrEy$Wo0D(47)+an*2+"px;height:"+ao*2+"px;left:"+an*al[ar][0]*2+"px;top:"+ao*al[ar][1]*2+$rwJBI8d9WSTrEy$Wo0D(36)+ak+$rwJBI8d9WSTrEy$Wo0D(158)+ai+"px;height:"+aj+"px;left:"+-an*aq+"px;top:-"+ao*ap+$rwJBI8d9WSTrEy$Wo0D(180)+an+"px;height:"+ao+$rwJBI8d9WSTrEy$Wo0D(172)+ah+$rwJBI8d9WSTrEy$Wo0D(158)+af+"px;height:"+ag+"px;left:"+-an*aq+"px;top:-"+ao*ap+$rwJBI8d9WSTrEy$Wo0D(162)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){$(this).delay(120*am[i]).animate({"left":"0px","top":"0px",},{duration:800,easing:$rwJBI8d9WSTrEy$Wo0D(63),complete:function(){if(am[i]==9)seven_animate_end()}})})}function seven_fadezoomout(){var af=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),ai=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var al=3,blind=$rwJBI8d9WSTrEy$Wo0D(62);blind+=$rwJBI8d9WSTrEy$Wo0D(32)+ah+$rwJBI8d9WSTrEy$Wo0D(158)+af+"px;height:"+ag+$rwJBI8d9WSTrEy$Wo0D(141);blind+=$rwJBI8d9WSTrEy$Wo0D(181)+ak+$rwJBI8d9WSTrEy$Wo0D(158)+ai+"px;height:"+aj+$rwJBI8d9WSTrEy$Wo0D(162);blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(167)).each(function(i){$(this).find($rwJBI8d9WSTrEy$Wo0D(56)).animate({"width":al*af+"px","height":al*ag+"px","left":"\x2d"+Math.ceil((al-1)*w.width/2)+"px","top":"\x2d"+Math.ceil((al-1)*w.height/2)+"px","opacity":0,},{duration:600,easing:"easeInQuad",complete:function(){seven_animate_end()}})})}function seven_fadezoomin(){var af=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),ai=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var al=3,blind=$rwJBI8d9WSTrEy$Wo0D(62);blind+=$rwJBI8d9WSTrEy$Wo0D(31)+ak+$rwJBI8d9WSTrEy$Wo0D(158)+ai*al+"px;height:"+aj*al+"px;left:-"+ai*parseInt((al-1)/2)+"px;top:-"+aj*parseInt((al-1)/2)+$rwJBI8d9WSTrEy$Wo0D(141);blind+=$rwJBI8d9WSTrEy$Wo0D(181)+ah+$rwJBI8d9WSTrEy$Wo0D(158)+af+"px;height:"+ag+$rwJBI8d9WSTrEy$Wo0D(162);blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(56)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(167)).each(function(i){$(this).find($rwJBI8d9WSTrEy$Wo0D(56)).animate({"width":af+"px","height":ag+"px","left":"0px","top":"0px","opacity":1,},{duration:600,easing:"easeInQuad",complete:function(){seven_animate_end()}})})}function seven_htail(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[1,-1,1,-1,1,-1,0,0];u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140),an=Z(10);for(var i=0;i<10;i++){var ao=Math.ceil(w.height/10);blind+=$rwJBI8d9WSTrEy$Wo0D(59)+ao+$rwJBI8d9WSTrEy$Wo0D(156)+ao*i+$rwJBI8d9WSTrEy$Wo0D(58)+ai+$rwJBI8d9WSTrEy$Wo0D(158)+ag+"px;height:"+ah+"px;top:-"+ao*i+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var ap,aq,ar,as;if(af<2)ap=i;else if(af<4)ap=9-i;else if(af<6)ap=an[i];else ap=(af==6)?i:9-i;aq=(af<6)?-am[af]*600:0;ar=(af<6)?"easeInQuad":"easeOutSine";as=(af<6)?600+ap*10:600;$(this).find("img").delay(ap*80).animate({"left":"+="+aq+"px","opacity":0,},{duration:as,easing:ar,complete:function(){if(ap==9)seven_animate_end()}})})}function seven_vtail(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[1,1,-1,-1,1,-1,0,0];u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var an=Z(10),blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<10;i++){var ao=Math.ceil(w.width/10);blind+=$rwJBI8d9WSTrEy$Wo0D(151)+ao+$rwJBI8d9WSTrEy$Wo0D(61)+ao*i+$rwJBI8d9WSTrEy$Wo0D(157)+ai+$rwJBI8d9WSTrEy$Wo0D(158)+ag+"px;height:"+ah+"px;left:-"+ao*i+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var ap,aq,ar,as;if(af>5){ap=(af==6)?i:9-i}else if(af>3)ap=an[i];else{if(af%2==0)ap=i;else ap=9-i}aq=(af<6)?am[af]*500:0;ar=(af<6)?"easeInQuad":"easeOutSine";as=(af<6)?600+ap*10:600;$(this).find("img").delay(ap*80).animate({"top":"+="+am[af]*500+"px","opacity":0,},{duration:600+ap*10,easing:ar,complete:function(){if(ap==9)seven_animate_end()}})})}function seven_fly(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[[1,0],[-1,0],[0,-1],[0,1]];u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);blind+=$rwJBI8d9WSTrEy$Wo0D(182)+200*am[af][0]+"px;top:"+am[af][1]*200+$rwJBI8d9WSTrEy$Wo0D(58)+al+$rwJBI8d9WSTrEy$Wo0D(158)+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(141);blind+=$rwJBI8d9WSTrEy$Wo0D(181)+ai+$rwJBI8d9WSTrEy$Wo0D(158)+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141);blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));if(seven_isIE()!=false&&seven_isIE()<9){u.find($rwJBI8d9WSTrEy$Wo0D(56)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(30)).css("opacity",0.7);u.find($rwJBI8d9WSTrEy$Wo0D(153)).animate({"left":"+="+(-am[af][0]*200)+"px","top":"+="+(-am[af][1]*200)+"px",},{duration:600,easing:"easeOutSine",complete:function(){}});u.find($rwJBI8d9WSTrEy$Wo0D(56)).animate({"opacity":1,},{duration:600,easing:"easeOutSine",complete:function(){}});u.find($rwJBI8d9WSTrEy$Wo0D(173)).each(function(i){$(this).find("img").delay(200).animate({"left":"+="+(-am[af][0]*200)+"px","top":"+="+(-am[af][1]*200)+"px","opacity":0,},{duration:800,easing:"easeOutSine",complete:function(){if(i==0)seven_animate_end()}})})}else{u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(173)).css("opacity",0.7);u.find($rwJBI8d9WSTrEy$Wo0D(153)).animate({"left":"+="+(-am[af][0]*200)+"px","top":"+="+(-am[af][1]*200)+"px","opacity":1,},{duration:600,easing:"easeOutSine",complete:function(){}});u.find($rwJBI8d9WSTrEy$Wo0D(173)).each(function(i){$(this).delay(200).animate({"left":"+="+(-am[af][0]*200)+"px","top":"+="+(-am[af][1]*200)+"px","opacity":0,},{duration:800,easing:"easeOutSine",complete:function(){if(i==0)seven_animate_end()}})})}}function seven_rotate(){var af=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),ai=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var al=Math.ceil(w.width/w.height)*4+1,blind=$rwJBI8d9WSTrEy$Wo0D(62);blind+=$rwJBI8d9WSTrEy$Wo0D(32)+ah+$rwJBI8d9WSTrEy$Wo0D(158)+af+"px;height:"+ag+$rwJBI8d9WSTrEy$Wo0D(183)+ak+$rwJBI8d9WSTrEy$Wo0D(158)+ai+"px;height:"+aj+$rwJBI8d9WSTrEy$Wo0D(29);$(blind).insertBefore(u.find("#seven_next"));if(seven_isIE()!=false&&seven_isIE()<9){u.find($rwJBI8d9WSTrEy$Wo0D(167)).each(function(i){$(this).find($rwJBI8d9WSTrEy$Wo0D(56)).animate({"opacity":0,},{duration:600,easing:"easeOutSine",complete:function(){seven_animate_end()}})})}else{u.find($rwJBI8d9WSTrEy$Wo0D(167)).each(function(i){$(this).find($rwJBI8d9WSTrEy$Wo0D(56)).animate({"width":al*w.width+"px","height":al*w.height+"px","left":"\x2d"+Math.ceil((al-1)*w.width/2)+"px","top":"\x2d"+Math.ceil((al-1)*w.height/2)+"px","opacity":0,"rotate":"180deg",},{duration:1000,easing:$rwJBI8d9WSTrEy$Wo0D(63),complete:function(){seven_animate_end()}})})}}function seven_mirrow(){var af=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),ai=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<6;i++){var al=Math.ceil(w.width/6);blind+=$rwJBI8d9WSTrEy$Wo0D(184)+al+$rwJBI8d9WSTrEy$Wo0D(28)+al*i+$rwJBI8d9WSTrEy$Wo0D(39)+al+$rwJBI8d9WSTrEy$Wo0D(34)+(al)+$rwJBI8d9WSTrEy$Wo0D(157)+ak+$rwJBI8d9WSTrEy$Wo0D(158)+ai+"px;height:"+aj+"px;left:-"+al*i+$rwJBI8d9WSTrEy$Wo0D(185)+al+$rwJBI8d9WSTrEy$Wo0D(61)+(al)+$rwJBI8d9WSTrEy$Wo0D(157)+ak+$rwJBI8d9WSTrEy$Wo0D(158)+ai+"px;height:"+aj+"px;left:-"+al*i+$rwJBI8d9WSTrEy$Wo0D(27)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(167)).each(function(i){var am;if(i%2==0)am=$rwJBI8d9WSTrEy$Wo0D(153);else am=$rwJBI8d9WSTrEy$Wo0D(173);$(this).find(am).animate({"left":"0px",},{duration:1000,easing:"easeOutSine",complete:function(){if(i==5)seven_animate_end()}})})}function seven_mirrow_drag(){var af=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),ai=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<6;i++){var al=Math.ceil(w.width/6);blind+=$rwJBI8d9WSTrEy$Wo0D(184)+al+$rwJBI8d9WSTrEy$Wo0D(28)+al*i+$rwJBI8d9WSTrEy$Wo0D(39)+al*2+$rwJBI8d9WSTrEy$Wo0D(34)+(al*2)+$rwJBI8d9WSTrEy$Wo0D(157)+ak+$rwJBI8d9WSTrEy$Wo0D(158)+ai+"px;height:"+aj+"px;left:-"+al*i+$rwJBI8d9WSTrEy$Wo0D(185)+al*2+$rwJBI8d9WSTrEy$Wo0D(61)+(al)+$rwJBI8d9WSTrEy$Wo0D(157)+ak+$rwJBI8d9WSTrEy$Wo0D(158)+ai+"px;height:"+aj+"px;left:-"+(al*i-al)+$rwJBI8d9WSTrEy$Wo0D(27)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(167)).each(function(i){var am,an;if(i%2==0){am=$rwJBI8d9WSTrEy$Wo0D(153);an="0px"}else{am=$rwJBI8d9WSTrEy$Wo0D(173);an="\x2d"+Math.ceil(w.width/6)+"px"}$(this).find(am).animate({"left":an,},{duration:1000,easing:"easeOutSine",complete:function(){if(i==5)seven_animate_end()}})})}function seven_vmirrow(){var af=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),ai=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<6;i++){var al=Math.ceil(w.height/6);blind+=$rwJBI8d9WSTrEy$Wo0D(186)+al+$rwJBI8d9WSTrEy$Wo0D(26)+al*i+$rwJBI8d9WSTrEy$Wo0D(37)+al+$rwJBI8d9WSTrEy$Wo0D(187)+al+$rwJBI8d9WSTrEy$Wo0D(58)+ak+$rwJBI8d9WSTrEy$Wo0D(158)+ai+"px;height:"+aj+"px;top:-"+al*i+$rwJBI8d9WSTrEy$Wo0D(25)+al+$rwJBI8d9WSTrEy$Wo0D(156)+al+$rwJBI8d9WSTrEy$Wo0D(58)+ak+$rwJBI8d9WSTrEy$Wo0D(158)+ai+"px;height:"+aj+"px;top:-"+al*i+$rwJBI8d9WSTrEy$Wo0D(27)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(167)).each(function(i){var am;if(i%2==0)am=$rwJBI8d9WSTrEy$Wo0D(153);else am=$rwJBI8d9WSTrEy$Wo0D(173);$(this).find(am).animate({"top":"0px",},{duration:700,easing:"easeOutSine",complete:function(){if(i==5)seven_animate_end()}})})}function seven_vmirrow_drag(){var af=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),ai=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<6;i++){var al=Math.ceil(w.height/6);blind+=$rwJBI8d9WSTrEy$Wo0D(186)+al+$rwJBI8d9WSTrEy$Wo0D(26)+al*i+$rwJBI8d9WSTrEy$Wo0D(37)+al*2+$rwJBI8d9WSTrEy$Wo0D(187)+al*2+$rwJBI8d9WSTrEy$Wo0D(58)+ak+$rwJBI8d9WSTrEy$Wo0D(158)+ai+"px;height:"+aj+"px;top:-"+al*i+$rwJBI8d9WSTrEy$Wo0D(25)+al*2+$rwJBI8d9WSTrEy$Wo0D(156)+al+$rwJBI8d9WSTrEy$Wo0D(58)+ak+$rwJBI8d9WSTrEy$Wo0D(158)+ai+"px;height:"+aj+"px;top:-"+(al*i-al)+$rwJBI8d9WSTrEy$Wo0D(27)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(167)).each(function(i){var am,an;if(i%2==0){am=$rwJBI8d9WSTrEy$Wo0D(153);an="0px"}else{am=$rwJBI8d9WSTrEy$Wo0D(173);an="\x2d"+Math.ceil(w.height/6)+"px"}$(this).find(am).animate({"top":an,},{duration:700,easing:"easeOutSine",complete:function(){if(i==5)seven_animate_end()}})})}function seven_flipx(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");if((seven_isIE()!=false&&seven_isIE()<9)||(window.opera)){var blind=$rwJBI8d9WSTrEy$Wo0D(62);blind+=$rwJBI8d9WSTrEy$Wo0D(151)+w.width+"px;height:"+w.height+$rwJBI8d9WSTrEy$Wo0D(188)+ai+$rwJBI8d9WSTrEy$Wo0D(158)+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141);blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(56)).each(function(i){$(this).delay(i*50).animate({"width":"\x30","opacity":"0.3","left":Math.ceil(w.width/2)+"px",},{duration:300,easing:"easeInSine",complete:function(){$(this).attr("src",al);$(this).animate({"width":aj+"px","left":"0px","opacity":1,},{duration:300,easing:"easeOutSine",complete:function(){if(i==0)seven_animate_end()}})}})})}else{var am=(af==0)?"left":"right";blind=$rwJBI8d9WSTrEy$Wo0D(24)+$rwJBI8d9WSTrEy$Wo0D(189)+ai+$rwJBI8d9WSTrEy$Wo0D(158)+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141)+$rwJBI8d9WSTrEy$Wo0D(23);$(blind).insertBefore(u.find("#seven_next"));$($rwJBI8d9WSTrEy$Wo0D(190)).flippy({direction:am,duration:"750",verso:$rwJBI8d9WSTrEy$Wo0D(189)+al+$rwJBI8d9WSTrEy$Wo0D(158)+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(141),onFinish:function(){seven_animate_end()}})}}function seven_flipy(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");if((seven_isIE()!=false&&seven_isIE()<9)||(window.opera)){var blind=$rwJBI8d9WSTrEy$Wo0D(62);blind+=$rwJBI8d9WSTrEy$Wo0D(151)+w.width+"px;height:"+w.height+$rwJBI8d9WSTrEy$Wo0D(188)+ai+$rwJBI8d9WSTrEy$Wo0D(158)+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141);blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(56)).each(function(i){$(this).delay(i*50).animate({"height":"\x30","opacity":"0.3","top":Math.ceil(w.height/2)+"px",},{duration:300,easing:"easeInSine",complete:function(){$(this).attr("src",al);$(this).animate({"height":ak+"px","top":"0px","opacity":1,},{duration:300,easing:"easeOutSine",complete:function(){if(i==0)seven_animate_end()}})}})})}else{var am=(af==0)?"bottom":"top";blind=$rwJBI8d9WSTrEy$Wo0D(24)+$rwJBI8d9WSTrEy$Wo0D(189)+ai+$rwJBI8d9WSTrEy$Wo0D(158)+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141)+$rwJBI8d9WSTrEy$Wo0D(23);$(blind).insertBefore(u.find("#seven_next"));$($rwJBI8d9WSTrEy$Wo0D(190)).flippy({direction:am,duration:"750",verso:$rwJBI8d9WSTrEy$Wo0D(189)+al+$rwJBI8d9WSTrEy$Wo0D(158)+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(141),onFinish:function(){seven_animate_end()}})}}function seven_ropen(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(22);for(var i=0;i<2;i++){var am=Math.ceil(w.height/2),an=am*i;blind+=$rwJBI8d9WSTrEy$Wo0D(59)+am+$rwJBI8d9WSTrEy$Wo0D(154)+(an)+$rwJBI8d9WSTrEy$Wo0D(58)+ai+$rwJBI8d9WSTrEy$Wo0D(155)+an+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));if(seven_isIE()!=false&&seven_isIE()<9){u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var ao=[-w.height/2,w.height];$(this).animate({"top":ao[i],},{duration:400,easing:"easeInSine",complete:function(){if(i==0)seven_animate_end()}})})}else{if(af==0){u.find($rwJBI8d9WSTrEy$Wo0D(191)).css($rwJBI8d9WSTrEy$Wo0D(21),"0% 100%");u.find($rwJBI8d9WSTrEy$Wo0D(192)).css($rwJBI8d9WSTrEy$Wo0D(21),"0% 0")}else{u.find($rwJBI8d9WSTrEy$Wo0D(191)).css($rwJBI8d9WSTrEy$Wo0D(21),"100% 100%");u.find($rwJBI8d9WSTrEy$Wo0D(192)).css($rwJBI8d9WSTrEy$Wo0D(21),"100% 0")}u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var ao;if(af==0)ao=["-90deg","90deg"];else ao=["90deg","-90deg"];$(this).animate({"rotate":ao[i],"opacity":0,},{duration:800,easing:"easeInSine",complete:function(){if(i==0)seven_animate_end()}})})}}function seven_rvopen(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(22);for(var i=0;i<2;i++){var am=Math.ceil(w.width/2),an=am*i;blind+=$rwJBI8d9WSTrEy$Wo0D(151)+am+$rwJBI8d9WSTrEy$Wo0D(61)+an+$rwJBI8d9WSTrEy$Wo0D(157)+ai+$rwJBI8d9WSTrEy$Wo0D(60)+an+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));if(seven_isIE()!=false&&seven_isIE()<9){u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var ao=[-w.width/2,w.width];$(this).animate({"left":ao[i],},{duration:400,easing:"easeInSine",complete:function(){if(i==0)seven_animate_end()}})})}else{if(af==0){u.find($rwJBI8d9WSTrEy$Wo0D(191)).css($rwJBI8d9WSTrEy$Wo0D(21),"0% 0%");u.find($rwJBI8d9WSTrEy$Wo0D(192)).css($rwJBI8d9WSTrEy$Wo0D(21),"100% 100%")}else{u.find($rwJBI8d9WSTrEy$Wo0D(191)).css($rwJBI8d9WSTrEy$Wo0D(21),"0% 100%");u.find($rwJBI8d9WSTrEy$Wo0D(192)).css($rwJBI8d9WSTrEy$Wo0D(21),"100% 0%")}u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var ao;if(af==0)ao=["90deg","90deg"];else ao=["-90deg","-90deg"];$(this).animate({"rotate":ao[i],"opacity":0,},{duration:800,easing:"easeInSine",complete:function(){if(i==0)seven_animate_end()}})})}}function seven_4sector(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=Math.ceil(w.width/2),an=Math.ceil(w.height/2);u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var ao=[[[-1,0],[0,1],[0,-1],[1,0]],[[0,0],[0,0],[0,0],[0,0]],[[0,0],[0,0],[0,0],[0,0]],[[-1,-1],[-1,1],[1,-1],[1,1]],[[0,0],[0,0],[0,0],[0,0]]],ap=[[0,0,0,0],[90,-90,-90,90],[0,0,0,0],[0,0,0,0],[0,0,0,0]],aq=[1,1,0.5,1,0.1],ar=[0,1,1,0,0],blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<4;i++){var as=i%2,at=parseInt(i/2);blind+=$rwJBI8d9WSTrEy$Wo0D(151)+am+"px;height:"+an+"px;left:"+at*am+"px;top:"+as*an+$rwJBI8d9WSTrEy$Wo0D(20)+ao[af][i][0]*am+$rwJBI8d9WSTrEy$Wo0D(193)+ao[af][i][1]*an+$rwJBI8d9WSTrEy$Wo0D(58)+al+$rwJBI8d9WSTrEy$Wo0D(60)+am*at+"px;top:-"+an*as+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var au=(af<4)?i%2:0.5,av=(af<4)?parseInt(i/2):0.5,aw=(ar[af]==1)?$(this).find("img"):$(this);aw.css("opacity",0).rotate(ap[af][i]+"deg").css($rwJBI8d9WSTrEy$Wo0D(21),100*au+"% "+100*av+"\x25").scale(aq[af]);aw.delay(300*i).animate({"marginLeft":0,"marginTop":0,"rotate":"0deg","opacity":1,"scale":1,},{duration:800,easing:"easeOutSine",complete:function(){if(i==3)seven_animate_end()}})})}function seven_4sector_fade(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=Math.ceil(w.width/2),an=Math.ceil(w.height/2);u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var ao=[[[-1,0],[0,1],[0,-1],[1,0]],[[0,0],[0,0],[0,0],[0,0]],[[0,0],[0,0],[0,0],[0,0]],[[-1,-1],[-1,1],[1,-1],[1,1]],[[0,0],[0,0],[0,0],[0,0]]],ap=[[0,0,0,0],[90,-90,-90,90],[0,0,0,0],[0,0,0,0],[0,0,0,0]],aq=[1,1,0.5,1,0.1],ar=[0,1,1,0,0],blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<4;i++){var as=i%2,at=parseInt(i/2);blind+=$rwJBI8d9WSTrEy$Wo0D(151)+am+"px;height:"+an+"px;left:"+at*am+"px;top:"+as*an+$rwJBI8d9WSTrEy$Wo0D(58)+ai+$rwJBI8d9WSTrEy$Wo0D(60)+am*at+"px;top:-"+an*as+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var au=(af<4)?i%2:0.5,av=(af<4)?parseInt(i/2):0.5,aw=(ar[af]==1)?$(this).find("img"):$(this),ax=(af!=3)?200*i:0;aw.css($rwJBI8d9WSTrEy$Wo0D(21),100*au+"% "+100*av+"\x25");aw.delay(ax).animate({"marginLeft":ao[af][i][0]*am+"px","marginTop":ao[af][i][1]*an+"px","rotate":ap[af][i]+"deg","opacity":"\x30","scale":aq[af],},{duration:800,easing:"easeInSine",complete:function(){if(i==3)seven_animate_end()}})})}function seven_page(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[[0,-1],[0,-1],[0,-1],[0,-1],[0,1],[0,1],[0,1],[0,1]],an=[-90,-90,90,90,90,90,-90,-90];u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);blind+=$rwJBI8d9WSTrEy$Wo0D(19)+al+$rwJBI8d9WSTrEy$Wo0D(158)+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(141);blind+=$rwJBI8d9WSTrEy$Wo0D(181)+ai+$rwJBI8d9WSTrEy$Wo0D(158)+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141);blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));if(seven_isIE()!=false&&seven_isIE()<9){u.find($rwJBI8d9WSTrEy$Wo0D(56)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(30)).css("opacity",0.7);u.find($rwJBI8d9WSTrEy$Wo0D(56)).animate({"opacity":1,},{duration:600,easing:"easeOutSine",complete:function(){}});u.find($rwJBI8d9WSTrEy$Wo0D(173)).each(function(i){$(this).find("img").delay(200).animate({"left":"+="+(-am[af][0]*200)+"px","top":"+="+(-am[af][1]*200)+"px","opacity":0,},{duration:800,easing:"easeOutSine",complete:function(){if(i==0)seven_animate_end()}})})}else{var ao=af%2,ap=parseInt(af/2)%2;u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("opacity",0).css($rwJBI8d9WSTrEy$Wo0D(21),ap*100+"% "+ao*100+"\x25").rotate(an[af]+"deg");u.find($rwJBI8d9WSTrEy$Wo0D(173)).css("opacity",0.7);u.find($rwJBI8d9WSTrEy$Wo0D(153)).animate({"rotate":"0deg","opacity":1,},{duration:600,easing:"easeOutSine",complete:function(){}});u.find($rwJBI8d9WSTrEy$Wo0D(173)).each(function(i){$(this).delay(500).animate({"left":"+="+(-am[af][0]*200)+"px","top":"+="+(-am[af][1]*200)+"px","opacity":0,},{duration:800,easing:"easeOutSine",complete:function(){if(i==0)seven_animate_end()}})})}}function seven_page(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[[0,-1],[0,-1],[0,-1],[0,-1],[0,1],[0,1],[0,1],[0,1]],an=[-90,-90,90,90,90,90,-90,-90];u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);blind+=$rwJBI8d9WSTrEy$Wo0D(19)+al+$rwJBI8d9WSTrEy$Wo0D(158)+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(141);blind+=$rwJBI8d9WSTrEy$Wo0D(181)+ai+$rwJBI8d9WSTrEy$Wo0D(158)+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141);blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));if(seven_isIE()!=false&&seven_isIE()<9){u.find($rwJBI8d9WSTrEy$Wo0D(56)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(30)).css("opacity",0.7);u.find($rwJBI8d9WSTrEy$Wo0D(56)).animate({"opacity":1,},{duration:600,easing:"easeOutSine",complete:function(){}});u.find($rwJBI8d9WSTrEy$Wo0D(173)).each(function(i){$(this).find("img").delay(200).animate({"left":"+="+(-am[af][0]*200)+"px","top":"+="+(-am[af][1]*200)+"px","opacity":0,},{duration:800,easing:"easeOutSine",complete:function(){if(i==0)seven_animate_end()}})})}else{var ao=af%2,ap=parseInt(af/2)%2;u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("opacity",0).css($rwJBI8d9WSTrEy$Wo0D(21),ap*100+"% "+ao*100+"\x25").rotate(an[af]+"deg");u.find($rwJBI8d9WSTrEy$Wo0D(173)).css("opacity",0.7);u.find($rwJBI8d9WSTrEy$Wo0D(153)).animate({"rotate":"0deg","opacity":1,},{duration:600,easing:"easeOutSine",complete:function(){}});u.find($rwJBI8d9WSTrEy$Wo0D(173)).each(function(i){$(this).delay(500).animate({"left":"+="+(-am[af][0]*200)+"px","top":"+="+(-am[af][1]*200)+"px","opacity":0,},{duration:800,easing:"easeOutSine",complete:function(){if(i==0)seven_animate_end()}})})}}function seven_carousel(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=w.width/parseInt(u.attr("o-width")),an=[[-500,0],[500,0],[0,-300],[0,300],[-500,0],[-500,0],[500,0],[500,0],[0,0]],ao=[[50,50],[50,50],[50,50],[50,50],[100,0],[100,100],[0,0],[0,100],[50,50]];u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140),ap=Math.ceil(w.height/1);for(var i=0;i<1;i++){blind+=$rwJBI8d9WSTrEy$Wo0D(59)+ap+$rwJBI8d9WSTrEy$Wo0D(156)+ap*i+$rwJBI8d9WSTrEy$Wo0D(194)+ai+$rwJBI8d9WSTrEy$Wo0D(158)+ag+"px;height:"+ah+"px;top:-"+ap*i+$rwJBI8d9WSTrEy$Wo0D(141);blind+=$rwJBI8d9WSTrEy$Wo0D(18)+ap+$rwJBI8d9WSTrEy$Wo0D(156)+ap*i+$rwJBI8d9WSTrEy$Wo0D(174)+al+$rwJBI8d9WSTrEy$Wo0D(158)+aj+"px;height:"+ak+"px;top:-"+ap*i+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(30)).css("marginLeft",-an[af][0]*am).css("marginTop",-an[af][1]*am).scale(0.4).css("opacity",0).css($rwJBI8d9WSTrEy$Wo0D(21),ao[af][0]+"% "+ao[af][1]+"\x25");u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){$(this).find("img").delay(60).animate({"marginLeft":an[af][0]*am+"px","marginTop":an[af][1]*am+"px","scale":"0.6","opacity":"\x30",},{duration:800,easing:"easeOutSine",complete:function(){}})});u.find($rwJBI8d9WSTrEy$Wo0D(173)).each(function(i){$(this).find("img").animate({"marginLeft":"\x30","marginTop":"0px","scale":"\x31","opacity":"\x31",},{duration:800,easing:"easeOutSine",complete:function(){if(i==0)seven_animate_end()}})})}function seven_emerge(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[[-1,0],[1,0],[0,-1],[0,1],[-1,0],[1,0],[0,-1],[0,1],[-1,0],[1,0],[0,-1],[0,1]],an=[0,0,0,0,-90,90,-60,60],ao=(af<8)?"easeOutSine":$rwJBI8d9WSTrEy$Wo0D(57);u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140);blind+=$rwJBI8d9WSTrEy$Wo0D(19)+al+$rwJBI8d9WSTrEy$Wo0D(158)+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(20)+am[af][0]*w.width+$rwJBI8d9WSTrEy$Wo0D(193)+am[af][1]*w.height+$rwJBI8d9WSTrEy$Wo0D(141);blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(56)).css("opacity",0).rotate(an[af]+"deg");u.find($rwJBI8d9WSTrEy$Wo0D(56)).delay(250).animate({"marginLeft":"0px","marginTop":"0px","rotate":"0deg","opacity":"\x31",},{duration:800,easing:ao,complete:function(){seven_animate_end()}})}function seven_fancy_rect(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],[0,6,12,18,1,7,13,19,2,8,14,20,3,9,15,21,4,10,16,22,5,11,17,23],[0,11,12,23,1,10,13,22,2,9,14,21,3,8,15,20,4,7,16,19,5,6,17,18],[0,1,2,3,7,6,5,4,8,9,10,11,15,14,13,12,16,17,18,19,23,22,21,20],[0,15,14,13,1,16,23,12,2,17,22,11,3,18,21,10,4,19,20,9,5,6,7,8],[12,8,8,12,8,4,4,8,4,0,0,4,4,0,0,4,8,5,5,8,12,8,8,12],[0,2,5,9,1,4,8,13,3,7,12,17,6,11,16,20,10,15,19,22,14,18,21,23],[0,11,12,23,10,1,22,13,2,9,14,21,8,3,20,15,4,7,16,19,6,5,18,17],[0,9,8,6,10,1,7,5,3,11,2,4,4,2,11,3,5,7,1,10,6,8,9,0],[6,12,18,22,2,7,13,19,0,3,8,14,1,4,9,15,5,10,16,20,11,17,21,23]],an=[23,23,3,20,6,0,23,3,9,23];u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140),ao=Math.ceil(w.width/6),ap=Math.ceil(w.height/4);for(var i=0;i<24;i++){var aq=i%4,ar=parseInt(i/4);blind+=$rwJBI8d9WSTrEy$Wo0D(151)+ao+"px;height:"+ap+"px;left:"+ao*ar+"px;top:"+ap*aq+$rwJBI8d9WSTrEy$Wo0D(58)+ai+$rwJBI8d9WSTrEy$Wo0D(60)+ao*ar+"px;top:-"+ap*aq+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){$(this).delay(80*am[af][i]).animate({"scale":0.3,},{duration:350,easing:"easeInSine",complete:function(){if(i==an[af])seven_animate_end()}});$(this).find("img").delay(80*am[af][i]).animate({"opacity":0,},{duration:350,easing:"easeOutSine"})})}function seven_fancy_rect_emerge(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],[0,6,12,18,1,7,13,19,2,8,14,20,3,9,15,21,4,10,16,22,5,11,17,23],[0,11,12,23,1,10,13,22,2,9,14,21,3,8,15,20,4,7,16,19,5,6,17,18],[0,1,2,3,7,6,5,4,8,9,10,11,15,14,13,12,16,17,18,19,23,22,21,20],[0,15,14,13,1,16,23,12,2,17,22,11,3,18,21,10,4,19,20,9,5,6,7,8],[12,8,8,12,8,4,4,8,4,0,0,4,4,0,0,4,8,5,5,8,12,8,8,12],[0,2,5,9,1,4,8,13,3,7,12,17,6,11,16,20,10,15,19,22,14,18,21,23],[0,11,12,23,10,1,22,13,2,9,14,21,8,3,20,15,4,7,16,19,6,5,18,17],[0,9,8,6,10,1,7,5,3,11,2,4,4,2,11,3,5,7,1,10,6,8,9,0],[6,12,18,22,2,7,13,19,0,3,8,14,1,4,9,15,5,10,16,20,11,17,21,23]],an=[23,23,3,20,6,0,23,3,9,23];u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140),ao=Math.ceil(w.width/6),ap=Math.ceil(w.height/4);for(var i=0;i<24;i++){var aq=i%4,ar=parseInt(i/4);blind+=$rwJBI8d9WSTrEy$Wo0D(151)+ao+"px;height:"+ap+"px;left:"+ao*ar+"px;top:"+ap*aq+$rwJBI8d9WSTrEy$Wo0D(58)+al+$rwJBI8d9WSTrEy$Wo0D(60)+ao*ar+"px;top:-"+ap*aq+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).scale(1.5);u.find($rwJBI8d9WSTrEy$Wo0D(153)).find("img").css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){$(this).delay(80*am[af][i]).animate({"scale":1,},{duration:350,easing:"easeInSine",complete:function(){if(i==an[af])seven_animate_end()}});$(this).find("img").delay(80*am[af][i]).animate({"opacity":1,},{duration:350,easing:"easeOutSine"})})}function seven_door(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),am=[[0,1],[0,1],[1,0],[1,0]],an=[0,-90,0,-40];u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(22),ao=Math.ceil(w.width/2),ap=Math.ceil(w.height/2),aq=[[w.width,ap],[w.width,ap],[ao,w.height],[ao,w.height]];for(var i=0;i<2;i++){blind+=$rwJBI8d9WSTrEy$Wo0D(151)+aq[af][0]+"px;height:"+aq[af][1]+"px;left:"+am[af][0]*(ao*i)+"px;top:"+am[af][1]*(ap*i)+$rwJBI8d9WSTrEy$Wo0D(20)+am[af][0]*(ao*(2*i-1))+$rwJBI8d9WSTrEy$Wo0D(193)+am[af][1]*(ap*(2*i-1))+$rwJBI8d9WSTrEy$Wo0D(58)+al+$rwJBI8d9WSTrEy$Wo0D(60)+am[af][0]*ao*i+"px;top:-"+am[af][1]*ap*i+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){$(this).rotate(an[af]+"deg").css($rwJBI8d9WSTrEy$Wo0D(21),100*i+"% "+100*i+"\x25").css("opacity",0);$(this).animate({"marginLeft":0,"marginTop":0,"opacity":1,"rotate":"0deg",},{duration:1800,easing:$rwJBI8d9WSTrEy$Wo0D(57),complete:function(){if(i==0)seven_animate_end()}})})}function seven_skew(af){var ag=[[100,0,0,0],[-100,0,0,0],[0,100,0,0],[0,-100,0,0]],ah=[[-w.width,0],[w.width,0],[0,-w.height],[0,w.height]];u.find("#seven_next").css("left",ag[af%4][0]+"\x25").css("top",ag[af%4][1]+"\x25");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left",ag[af%4][2]+"\x25").css("top",ag[af%4][3]+"\x25");$("#seven_next").anima({skewX:20-40*parseInt(af/4),skewY:20-40*parseInt(af/4),"x":ah[af%4][0]+"px","y":ah[af%4][1]+"px"},800,"easeInQuad").anima({skew:"0deg, 0deg",x:ah[af%4][0]+"px","y":ah[af%4][1]+"px"},400,{complete:function(){$(this).css("transform","").css("transition","");seven_animate_end()}})}function seven_square_push(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","0%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(140),am=Z(20),an=[[-1,0],[0,1],[1,0],[0,-1]];for(var i=0;i<20;i++){var ao=Math.ceil(w.width/5),ap=Math.ceil(w.height/4),aq=parseInt(i/5),ar=i%5,as=(af<2)?Math.round(Math.random()*3):af-2;blind+=$rwJBI8d9WSTrEy$Wo0D(151)+ao+"px;height:"+ap+"px;left:"+ao*ar+"px;top:"+ap*aq+$rwJBI8d9WSTrEy$Wo0D(195)+ao+"px;height:"+ap+$rwJBI8d9WSTrEy$Wo0D(17)+an[as][0]*ao+$rwJBI8d9WSTrEy$Wo0D(193)+an[as][1]*ap+$rwJBI8d9WSTrEy$Wo0D(58)+al+$rwJBI8d9WSTrEy$Wo0D(60)+ao*ar+"px;top:-"+ap*aq+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(196)+ao+"px;height:"+ap+$rwJBI8d9WSTrEy$Wo0D(16)+ai+$rwJBI8d9WSTrEy$Wo0D(60)+ao*ar+"px;top:-"+ap*aq+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(162)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var at,au,av,aw;if(af==0)av=am[i];else if(af==1)av=0;else av=i;aw=(af<2)?am[i]:i;at=-parseInt($(this).find($rwJBI8d9WSTrEy$Wo0D(197)).css("marginLeft"));au=-parseInt($(this).find($rwJBI8d9WSTrEy$Wo0D(197)).css("marginTop"));$(this).find($rwJBI8d9WSTrEy$Wo0D(15)).delay(80*av).animate({"marginLeft":"+="+at+"px","marginTop":"+="+au+"px",},{duration:600,easing:$rwJBI8d9WSTrEy$Wo0D(63),complete:function(){if(aw==19)seven_animate_end()}})})}function seven_row_carousel(af){if(seven_isIE()!=false&&seven_isIE()<9){seven_vbar_rmove(0);return false}var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var am=Z(4),an=Math.ceil(w.width/4),blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<4;i++){blind+=$rwJBI8d9WSTrEy$Wo0D(151)+an+$rwJBI8d9WSTrEy$Wo0D(61)+an*i+$rwJBI8d9WSTrEy$Wo0D(198)+an+$rwJBI8d9WSTrEy$Wo0D(14)+(an/2-an*(af%2))+$rwJBI8d9WSTrEy$Wo0D(58)+al+$rwJBI8d9WSTrEy$Wo0D(60)+an*i+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(196)+an+$rwJBI8d9WSTrEy$Wo0D(199)+ai+$rwJBI8d9WSTrEy$Wo0D(60)+an*i+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(162)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(197)).scale(0.8).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var ao;ao=(af<2)?i:3-i;$(this).find($rwJBI8d9WSTrEy$Wo0D(197)).delay(ao*80+30).animate({"marginLeft":"0px","scale":1,"opacity":1,},{duration:600,easing:$rwJBI8d9WSTrEy$Wo0D(63),complete:function(){if(ao==3){seven_animate_end()}}});$(this).find($rwJBI8d9WSTrEy$Wo0D(15)).delay(ao*80).animate({"marginLeft":(-an/2+an*(af%2))+"px","scale":0.8,"opacity":0,},{duration:600,easing:"easeOutSine",complete:function(){}})})}function seven_col_carousel(af){if(seven_isIE()!=false&&seven_isIE()<9){seven_hbar_rmove(0);return false}var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","100%").css("top","0%");var am=Z(4),an=Math.ceil(w.height/4),blind=$rwJBI8d9WSTrEy$Wo0D(140);for(var i=0;i<4;i++){blind+=$rwJBI8d9WSTrEy$Wo0D(59)+an+$rwJBI8d9WSTrEy$Wo0D(156)+an*i+$rwJBI8d9WSTrEy$Wo0D(13)+an+$rwJBI8d9WSTrEy$Wo0D(17)+(w.width/2-w.width*(af%2))+$rwJBI8d9WSTrEy$Wo0D(58)+al+$rwJBI8d9WSTrEy$Wo0D(155)+an*i+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(200)+an+$rwJBI8d9WSTrEy$Wo0D(16)+ai+$rwJBI8d9WSTrEy$Wo0D(155)+an*i+"px;width:"+ag+"px;height:"+ah+$rwJBI8d9WSTrEy$Wo0D(162)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));u.find($rwJBI8d9WSTrEy$Wo0D(197)).scale(0.7).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var ao;ao=(af<2)?i:3-i;$(this).find($rwJBI8d9WSTrEy$Wo0D(197)).delay(ao*80+30).animate({"marginLeft":"0px","scale":1,"opacity":1,},{duration:600,easing:$rwJBI8d9WSTrEy$Wo0D(63),complete:function(){if(ao==3){seven_animate_end()}}});$(this).find($rwJBI8d9WSTrEy$Wo0D(15)).delay(ao*80).animate({"marginLeft":(-w.width/2+w.width*(af%2))+"px","scale":0.7,"opacity":0,},{duration:600,easing:"easeOutSine",complete:function(){}})})}function seven_hbar_shade(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(62);for(var i=0;i<6;i++){var am=Math.ceil(w.height/6),an=am*i;blind+=$rwJBI8d9WSTrEy$Wo0D(59)+am+$rwJBI8d9WSTrEy$Wo0D(156)+an+$rwJBI8d9WSTrEy$Wo0D(58)+al+$rwJBI8d9WSTrEy$Wo0D(155)+an+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));var ao=[[180,0],[180,0],[180,180]];u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("perspective","1000px");u.find($rwJBI8d9WSTrEy$Wo0D(153)).parent().css("perspective","1000px");u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("transform","rotateX("+ao[af][0]+"deg)").css("transform","rotateY("+ao[af][1]+"deg)");u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var ap=(af%2==0)?i:0;$(this).delayAnima(80*ap).anima({perspective:"1000px",rotateX:"0deg",rotateY:"0deg","opacity":1},1200,{complete:function(){$(this).stopAnima();if(i==5)seven_animate_end()}})})}function seven_vbar_shade(af){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ai=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),al=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src");u.find("#seven_next").css("left","100%").css("top","0%");u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left","0%").css("top","0%");var blind=$rwJBI8d9WSTrEy$Wo0D(62);for(var i=0;i<10;i++){var am=Math.ceil(w.width/10),an=am*i;blind+=$rwJBI8d9WSTrEy$Wo0D(151)+am+$rwJBI8d9WSTrEy$Wo0D(61)+an+$rwJBI8d9WSTrEy$Wo0D(157)+al+$rwJBI8d9WSTrEy$Wo0D(60)+an+"px;width:"+aj+"px;height:"+ak+$rwJBI8d9WSTrEy$Wo0D(141)}blind+="</div>";$(blind).insertBefore(u.find("#seven_next"));var ao=[[0,180],[0,180],[180,180]];u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("perspective","1000px");u.find($rwJBI8d9WSTrEy$Wo0D(153)).parent().css("perspective","1000px");u.find($rwJBI8d9WSTrEy$Wo0D(153)).css("transform","rotateX("+ao[af][0]+"deg)").css("transform","rotateY("+ao[af][1]+"deg)");u.find($rwJBI8d9WSTrEy$Wo0D(153)).each(function(i){var ap=(af%2==0)?i:0;$(this).delayAnima(80*ap).anima({rotateX:"0deg",rotateY:"0deg","opacity":1},1200,{complete:function(){$(this).stopAnima();if(i==9)seven_animate_end()}})})}function seven_blur(){var af=u.find($rwJBI8d9WSTrEy$Wo0D(139)).width(),ag=u.find($rwJBI8d9WSTrEy$Wo0D(139)).height(),ah=u.find($rwJBI8d9WSTrEy$Wo0D(139)).attr("src"),ai=u.find($rwJBI8d9WSTrEy$Wo0D(73)).width(),aj=u.find($rwJBI8d9WSTrEy$Wo0D(73)).height(),ak=u.find($rwJBI8d9WSTrEy$Wo0D(73)).attr("src"),al=u.find($rwJBI8d9WSTrEy$Wo0D(97)),am=u.find("#seven_next");u.find($rwJBI8d9WSTrEy$Wo0D(107)).css("background","#fff");am.css("left","0%").css("top","0%").css("opacity",0);al.css("left","0%").css("top","0%");var an=al.Vague({intensity:0});var ao=0,ap=20,aq=0,ar;function as(){if(ao>20){aq=1}if(ap==0){aq=2;al.css("filter","");am.css("filter","").css("opacity",1);seven_animate_end()}if(aq==0){ao+=2;al.Vague({intensity:ao});an.blur()}if(aq==1){if(ap>0)ap-=2.5;am.css("opacity",1-parseFloat(ap/20)).Vague({intensity:ap});al.Vague({intensity:ap});an.blur()}if(aq<2)ar=requestAnimationFrame(as)}as()}function seven_animate_end(){var af;u.css($rwJBI8d9WSTrEy$Wo0D(12),"#000");u.find($rwJBI8d9WSTrEy$Wo0D(71)).remove();u.find(".seven_cube").remove();u.find($rwJBI8d9WSTrEy$Wo0D(116)).stop();u.find($rwJBI8d9WSTrEy$Wo0D(97)).css("left",0).css("top",0);u.find("#seven_next").css("left","100%").css("top","0%");C=D;seven_set_current_slide(C);aa()}function seven_start(){if(E==1)return;var af=u.find($rwJBI8d9WSTrEy$Wo0D(134));af.show();if(!af.hasClass("on")){af.addClass("on");switch(w.progressbartype){case 'linear':y=setInterval(R,50);u.find("#lprogress").css("width",B);break;case 'circle':y=setInterval(S,50);u.find('.cprogress').val(B).trigger('change');break}}}function ab(){clearInterval(y);u.find($rwJBI8d9WSTrEy$Wo0D(134)).removeClass("on")}function seven_stop(){clearInterval(y);u.find($rwJBI8d9WSTrEy$Wo0D(134)).hide();u.find($rwJBI8d9WSTrEy$Wo0D(134)).removeClass("on");B=0}function ac(){if(w.lightbox==true&&u.find($rwJBI8d9WSTrEy$Wo0D(201)).size()<1){z=0;u.find($rwJBI8d9WSTrEy$Wo0D(118)).addClass($rwJBI8d9WSTrEy$Wo0D(94));seven_stop();var af=$($rwJBI8d9WSTrEy$Wo0D(96)+(C+1)+"\x29"),ag=seven_get_imagesize(af),ah=w.width,ai=w.height;u.append($rwJBI8d9WSTrEy$Wo0D(11));u.find($rwJBI8d9WSTrEy$Wo0D(201)).append($rwJBI8d9WSTrEy$Wo0D(202));u.find($rwJBI8d9WSTrEy$Wo0D(106)).each(function(i){var aj=$(this).find($rwJBI8d9WSTrEy$Wo0D(98)).attr("data-src");if(i==C)u.find($rwJBI8d9WSTrEy$Wo0D(121)).append($rwJBI8d9WSTrEy$Wo0D(10)+$(this).find($rwJBI8d9WSTrEy$Wo0D(98)).attr("src")+$rwJBI8d9WSTrEy$Wo0D(101)+aj+$rwJBI8d9WSTrEy$Wo0D(83));else u.find($rwJBI8d9WSTrEy$Wo0D(121)).append($rwJBI8d9WSTrEy$Wo0D(203)+$(this).find($rwJBI8d9WSTrEy$Wo0D(98)).attr("src")+$rwJBI8d9WSTrEy$Wo0D(101)+aj+$rwJBI8d9WSTrEy$Wo0D(83))});u.find($rwJBI8d9WSTrEy$Wo0D(121)).css("width",54*length);u.find($rwJBI8d9WSTrEy$Wo0D(9)).html(af.html());if(seven_isIE()!=false&&seven_isIE()<9){u.find($rwJBI8d9WSTrEy$Wo0D(92)).css("width",ah).css("height",ai).css("marginLeft",(-ah/2)).css("marginTop",-ai/2).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(92)).animate({"opacity":1,},{duration:400,easing:"easeOutSine"})}else{u.find($rwJBI8d9WSTrEy$Wo0D(92)).css("width",ah).css("height",ai).css("marginLeft",-ah/2).css("marginTop",-ai/2).css("opacity",0).scale(0.5);u.find($rwJBI8d9WSTrEy$Wo0D(92)).animate({"opacity":1,"scale":1,},{duration:400,easing:"easeOutSine"})}}}function ad(e){if(w.swipe==true&&F==1){var af=offsety=0,ag=-1;af=e[0]-I[0];offsety=e[1]-I[1];F=0;if(Math.abs(af)>2||Math.abs(offsety)>2){switch(H){case 1:if(af>2)ag=0;else if(af<-2)ag=1;else{H=0;u.find($rwJBI8d9WSTrEy$Wo0D(116)).css("marginLeft",0).css("marginTop",0);u.find("#seven_prev").css("left","-100%").css("top","\x30");u.find("#seven_next").css("left","100%").css("top","\x30")}if(ag>-1){E=1;u.find($rwJBI8d9WSTrEy$Wo0D(116)).each(function(i){$(this).animate({"marginLeft":w.width-2*w.width*ag+"px",},{duration:800,easing:"easeOutSine",complete:function(){if(i==2){C=(ag==1)?(C+1)%length:(C==0)?length-1:C-1;seven_swipe_end()}}})})}break;case 2:if(offsety>2)ag=0;else if(offsety<-2)ag=1;else{H=0;u.find($rwJBI8d9WSTrEy$Wo0D(116)).css("marginLeft",0).css("marginTop",0);u.find("#seven_prev").css("left","-100%").css("top","\x30");u.find("#seven_next").css("left","100%").css("top","\x30")}if(ag>-1){E=1;u.find($rwJBI8d9WSTrEy$Wo0D(116)).each(function(i){$(this).animate({"marginTop":w.height-2*w.height*ag+"px",},{duration:800,easing:"easeOutSine",complete:function(){if(i==2){C=(ag==1)?(C+1)%length:(C==0)?length-1:C-1;seven_swipe_end()}}})})}break}}else{H=0;u.find($rwJBI8d9WSTrEy$Wo0D(116)).css("marginLeft",0).css("marginTop",0);u.find("#seven_prev").css("left","-100%").css("top","\x30");u.find("#seven_next").css("left","100%").css("top","\x30");if(z==1)seven_start()}}}function seven_swipe_end(){seven_set_current_slide(C);u.find($rwJBI8d9WSTrEy$Wo0D(116)).css("marginLeft",0).css("marginTop",0);u.find("#seven_prev").css("left","-100%").css("top","\x30").css("marginLeft",0).css("marginTop",0);u.find("#seven_next").css("left","100%").css("top","\x30").css("marginLeft",0).css("marginTop",0);u.find($rwJBI8d9WSTrEy$Wo0D(78)).removeClass("active");u.find(".carousel").removeClass("active");u.find($rwJBI8d9WSTrEy$Wo0D(76)+(C+1)+"\x29").addClass("active");u.find($rwJBI8d9WSTrEy$Wo0D(137)+(C+1)+"\x29").addClass("active");D=C;if(w.carousel!=false){A=0;Y(C)}seven_respond();E=0;H=0;if(z==1)seven_start()}function ae(af){if(u.find($rwJBI8d9WSTrEy$Wo0D(204)).length>0)return false;var ag=w.width,ah=w.height,ai=$($rwJBI8d9WSTrEy$Wo0D(96)+(af+1)+"\x29");u.find($rwJBI8d9WSTrEy$Wo0D(92)).append($rwJBI8d9WSTrEy$Wo0D(8));u.find($rwJBI8d9WSTrEy$Wo0D(204)).html(ai.html());u.find($rwJBI8d9WSTrEy$Wo0D(204)).find($rwJBI8d9WSTrEy$Wo0D(98)).css("width",w.width);u.find($rwJBI8d9WSTrEy$Wo0D(204)).css("marginLeft",-80).css("opacity",0);u.find($rwJBI8d9WSTrEy$Wo0D(205)).removeClass("active");u.find($rwJBI8d9WSTrEy$Wo0D(7)+(af+1)+"\x29").addClass("active");u.find($rwJBI8d9WSTrEy$Wo0D(204)).animate({'opacity':1,'marginLeft':"+=80px"},{duration:400,easing:"easeOutSine"});u.find($rwJBI8d9WSTrEy$Wo0D(9)).animate({'opacity':0,'marginLeft':"+=80px"},{duration:400,easing:"easeOutSine",complete:function(){u.find($rwJBI8d9WSTrEy$Wo0D(9)).remove();u.find($rwJBI8d9WSTrEy$Wo0D(204)).stop().css("marginLeft","").css("marginTop","").attr("id",$rwJBI8d9WSTrEy$Wo0D(206))}})}$(document).ready(function(){$(document).bind("dragstart",function(){return false});$(document).keyup(function(e){if(w.keyboard==true){if(e.keyCode==37){T()}else if(e.keyCode==39){seven_next()}else if(e.keyCode==27){u.find($rwJBI8d9WSTrEy$Wo0D(92)).animate({"opacity":0,"scale":0.1,},{duration:200,easing:"easeOutSine",complete:function(){u.find($rwJBI8d9WSTrEy$Wo0D(201)).remove()}})}}});var af=($rwJBI8d9WSTrEy$Wo0D(6).test(navigator.userAgent))?$rwJBI8d9WSTrEy$Wo0D(207):"mousewheel";u.bind(af,function(e){var ag=window.event||e;ag=ag.originalEvent?ag.originalEvent:ag;var ah=ag.detail?ag.detail*(-40):ag.wheelDelta;if(ah>0){if(w.scrollmode)seven_next()}else{if(w.scrollmode)T()}return false});u.find("#left_btn").bind("click",T);u.find("#right_btn").bind("click",seven_next);u.find($rwJBI8d9WSTrEy$Wo0D(107)).mousedown(function(e){if(w.swipe==true&&E==0){I=[e.pageX,e.pageY];F=1;seven_respond();seven_stop();$(this).addClass("cursor_down")}}).mousemove(function(e){if(F==1&&E==0){var ag=offsety=0;ag=e.pageX-I[0];offsety=e.pageY-I[1];if(H==0){H=(Math.abs(ag)>Math.abs(offsety))?1:2;if(H==2){u.find("#seven_prev").css("left","\x30").css("top","-100%");u.find("#seven_next").css("left","\x30").css("top","100%")}}if(H==1)u.find($rwJBI8d9WSTrEy$Wo0D(116)).css("marginLeft",ag);else if(H==2)u.find($rwJBI8d9WSTrEy$Wo0D(116)).css("marginTop",offsety)}}).mouseup(function(e){$(this).removeClass("cursor_down");if(E==1)return;ad(new Array(e.pageX,e.pageY))}).mouseleave(function(e){$(this).removeClass("cursor_down");if(E==1)return;ad(new Array(e.pageX,e.pageY))});u.find($rwJBI8d9WSTrEy$Wo0D(107)).on('touchstart',function(e){if(w.swipe==true&&E==0){I=[e.originalEvent.touches[0].pageX,e.originalEvent.touches[0].pageY];F=1;seven_respond();seven_stop()}}).on('touchmove',function(e){if(F==1&&E==0){var ag=offsety=0;ag=e.originalEvent.changedTouches[0].pageX-I[0];offsety=e.originalEvent.changedTouches[0].pageY-I[1];if(H==0){H=(Math.abs(ag)>Math.abs(offsety))?1:2;if(H==2){u.find("#seven_prev").css("left","\x30").css("top","-100%");u.find("#seven_next").css("left","\x30").css("top","100%")}}if(H==1)u.find($rwJBI8d9WSTrEy$Wo0D(116)).css("marginLeft",ag);else if(H==2)u.find($rwJBI8d9WSTrEy$Wo0D(116)).css("marginTop",offsety)}}).on('touchend',function(e){if(E==1)return;ad(new Array(e.originalEvent.changedTouches[0].pageX,e.originalEvent.changedTouches[0].pageY))});u.on('click','#seven_lbox',function(){ac()});u.on('mouseover',$rwJBI8d9WSTrEy$Wo0D(78),function(){W($(this).index())});u.on("mouseleave",$rwJBI8d9WSTrEy$Wo0D(87),function(){X()});u.on("click",$rwJBI8d9WSTrEy$Wo0D(78),function(){seven_animation($(this).index())});u.on("click",$rwJBI8d9WSTrEy$Wo0D(118),function(){if(!$(this).hasClass($rwJBI8d9WSTrEy$Wo0D(94))){$(this).addClass($rwJBI8d9WSTrEy$Wo0D(94));z=0;seven_stop()}else{$(this).removeClass($rwJBI8d9WSTrEy$Wo0D(94));if(z==0){z=1;if(w.progressbar)seven_progressbar_setup()}z=1;seven_start()}});u.on("click",$rwJBI8d9WSTrEy$Wo0D(5),function(){U()});u.on("click",$rwJBI8d9WSTrEy$Wo0D(208),function(){V()});u.on("click",".carousel",function(){A=1;seven_animation($(this).index(),1)});u.find(".carousel").on('touchstart',function(e){J=e.originalEvent.touches[0].pageX}).on('touchend',function(e){var ag=e.originalEvent.changedTouches[0].pageX;if(A==1&&Math.abs(ag-J)<3)seven_animation($(this).index(),1)});u.on('touchstart',$rwJBI8d9WSTrEy$Wo0D(122),function(e){K=e.originalEvent.touches[0].pageX;mp_flag=1;A=0}).on('touchmove',function(e){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(119)),ah=u.find($rwJBI8d9WSTrEy$Wo0D(90)),ai=ah.width();if(ag.width()<ai)return false;var aj=e.originalEvent.changedTouches[0].pageX-K,ak=parseInt(ah.css("marginLeft"));ah.css("marginLeft",ak+aj)}).on('touchend',function(e){var ag=e.originalEvent.changedTouches[0].pageX;mp_flag=0;if(104*length<w.width){u.find($rwJBI8d9WSTrEy$Wo0D(90)).animate({"marginLeft":0,},{duration:200,easing:"easeOutSine"})}if(ag<K+5&&ag>K-5)A=1;var ah=u.find($rwJBI8d9WSTrEy$Wo0D(119)),ai=u.find($rwJBI8d9WSTrEy$Wo0D(90));if(parseInt(ai.css("marginLeft"))>0){u.find($rwJBI8d9WSTrEy$Wo0D(90)).animate({"marginLeft":0,},{duration:200,easing:"easeOutSine"})}else if(parseInt(ai.css("marginLeft"))+ai.width()>ah.width()){u.find($rwJBI8d9WSTrEy$Wo0D(90)).animate({"marginLeft":ai.width()-ah.width(),},{duration:200,easing:"easeOutSine"})}});u.on("mousemove",$rwJBI8d9WSTrEy$Wo0D(122),function(e){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(119)),ah=u.find($rwJBI8d9WSTrEy$Wo0D(90)),ai=ah.width();if(ag.width()<ai)return false;var aj=e.pageX-u.find($rwJBI8d9WSTrEy$Wo0D(107)).offset().left;ah.css("marginLeft",-aj*((ag.width()-ai)/ai))});u.on("mousemove",$rwJBI8d9WSTrEy$Wo0D(93),function(e){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(123)),ah=u.find($rwJBI8d9WSTrEy$Wo0D(89)),ai=ah.height();if(ag.height()<ai)return false;var aj=e.pageY-u.find($rwJBI8d9WSTrEy$Wo0D(107)).offset().top;ah.css("marginTop",-aj*((ag.height()-ai)/ai))});u.on('touchstart',function(e){K=e.originalEvent.touches[0].pageY;mp_flag=1;A=0}).on('touchmove',function(e){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(123)),ah=u.find($rwJBI8d9WSTrEy$Wo0D(89)),ai=ah.height();if(ag.height()<ai)return false;var aj=e.originalEvent.changedTouches[0].pageY-K,top=parseInt(ah.css("marginTop"));ah.css("marginTop",top+aj)}).on('touchend',function(e){var ag=e.originalEvent.changedTouches[0].pageY;mp_flag=0;if(80*length<w.height){u.find($rwJBI8d9WSTrEy$Wo0D(89)).animate({"marginTop":0,},{duration:200,easing:"easeOutSine"})}if(ag<K+5&&ag>K-5)A=1;var ah=u.find($rwJBI8d9WSTrEy$Wo0D(123)),ai=u.find($rwJBI8d9WSTrEy$Wo0D(89));if(parseInt(ai.css("marginTop"))>0){u.find($rwJBI8d9WSTrEy$Wo0D(89)).animate({"marginTop":0,},{duration:200,easing:"easeOutSine"})}else if(parseInt(ai.css("marginTop"))+ai.height()>ah.height()){u.find($rwJBI8d9WSTrEy$Wo0D(89)).animate({"marginTop":ai.height()-ah.height(),},{duration:200,easing:"easeOutSine"})}});u.mouseover(function(){if(w.pause_on_hover)ab();u.find(".seven_nav").show()}).mouseleave(function(){if(w.pause_on_hover&&z==1)seven_start();u.find(".seven_nav").hide()});u.on('click','.seven_play',function(){var ag=$(this).parent().find($rwJBI8d9WSTrEy$Wo0D(98)).attr("data-src");$(this).parent().append($rwJBI8d9WSTrEy$Wo0D(4)+ag+"&autoplay=1'></iframe>");ab()});u.on('click',$rwJBI8d9WSTrEy$Wo0D(209),function(){var ag=$($rwJBI8d9WSTrEy$Wo0D(3)).index();ag=(ag+1)%length;ae(ag);seven_lightbox_refresh(1)});u.on('click',$rwJBI8d9WSTrEy$Wo0D(210),function(){var ag=$($rwJBI8d9WSTrEy$Wo0D(3)).index();if(ag==0)ag=length-1;else ag-=1;ae(ag);seven_lightbox_refresh(0)});u.on('mouseout',$rwJBI8d9WSTrEy$Wo0D(2),function(){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(2));ag.removeClass("active")});u.on('mouseover',$rwJBI8d9WSTrEy$Wo0D(2),function(){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(2));ag.addClass("active")});u.on('click',$rwJBI8d9WSTrEy$Wo0D(211),function(){u.find($rwJBI8d9WSTrEy$Wo0D(201)).animate({"opacity":0,},{duration:200,easing:"easeOutSine",complete:function(){if(z==1)seven_start();u.find($rwJBI8d9WSTrEy$Wo0D(201)).remove()}})});u.on('click',$rwJBI8d9WSTrEy$Wo0D(205),function(){var ag=$(this).index();ae(ag)});u.on('mousemove',$rwJBI8d9WSTrEy$Wo0D(2),function(e){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(91)),ah=u.find($rwJBI8d9WSTrEy$Wo0D(121)).width();if(ah<$(window).width())return false;ag.css("marginLeft",-e.pageX*((ah-$(window).width())/$(window).width()))});u.on('touchstart',$rwJBI8d9WSTrEy$Wo0D(2),function(e){I=e.originalEvent.touches[0].pageX;F=1});u.on('touchmove',$rwJBI8d9WSTrEy$Wo0D(2),function(e){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(91)),ah=e.originalEvent.changedTouches[0].pageX-I,ai=parseInt(ag.css("marginLeft"));ag.css("marginLeft",ai+ah)});u.on('touchend',$rwJBI8d9WSTrEy$Wo0D(2),function(e){var ag=u.find($rwJBI8d9WSTrEy$Wo0D(91)),ah=parseInt(ag.css("marginLeft"));if(ah>0)ag.animate({marginLeft:0},{duration:200,easing:"easeOutSine"});else if(ah<$(window).width()-$(this).width())ag.animate({marginLeft:$(window).width()-$(this).width()},{duration:200,easing:"easeOutSine"})});$(window).resize(function(){if(E==1)return false;if(w.responsive==true){A=0;seven_respond()}if(z==1){seven_stop();seven_start()}})})}function d(t){var u=t.data('_ARS_data');if(!u){u={rotateUnits:'deg',scale:1,rotate:0};t.data('_ARS_data',u)}return u}function h(t,u){t.css('transform','rotate('+u.rotate+u.rotateUnits+') scale('+u.scale+'\x2c'+u.scale+'\x29')}$.fn.rotate=function(t){var u=$(this),m,w=d(u);if(typeof t=='undefined'){return w.rotate+w.rotateUnits}m=t.toString().match($rwJBI8d9WSTrEy$Wo0D(1));if(m){if(m[3]){w.rotateUnits=m[3]}w.rotate=m[1];h(u,w)}return this};$.fn.scale=function(t){var u=$(this),w=d(u);if(typeof t=='undefined'){return w.scale}w.scale=t;h(u,w);return this};var k=$.fx.prototype.cur;$.fx.prototype.cur=function(){if(this.prop=='rotate'){return parseFloat($(this.elem).rotate())}else if(this.prop=='scale'){return parseFloat($(this.elem).scale())}return k.apply(this,arguments)};$.fx.step.rotate=function(t){var u=d($(t.elem));$(t.elem).rotate(t.now+u.rotateUnits)};$.fx.step.scale=function(t){$(t.elem).scale(t.now)};var l=$.fn.animate;$.fn.animate=function(t){if(typeof t['rotate']!='undefined'){var u,w,m=t['rotate'].toString().match($rwJBI8d9WSTrEy$Wo0D(212));if(m&&m[5]){u=$(this);w=d(u);w.rotateUnits=m[5]}t['rotate']=m[1]}return l.apply(this,arguments)};function n(t){var u=['transform',$rwJBI8d9WSTrEy$Wo0D(0),'msTransform',$rwJBI8d9WSTrEy$Wo0D(213),'OTransform'],p;while(p=u.shift()){if(typeof t.style[p]!='undefined'){return p}}return 'transform'}var q=null,s=$.fn.css;$.fn.css=function(t,u){if(q===null){if(typeof $.cssProps!='undefined'){q=$.cssProps}else if(typeof $.props!='undefined'){q=$.props}else{q={}}}if(typeof q['transform']=='undefined'&&(t=='transform'||(typeof t=='object'&&typeof t['transform']!='undefined'))){q['transform']=n(this.get(0))}if(q['transform']!='transform'){if(t=='transform'){t=q['transform'];if(typeof u=='undefined'&&jQuery.style){return jQuery.style(this.get(0),t)}}else if(typeof t=='object'&&typeof t['transform']!='undefined'){t[q['transform']]=t['transform'];delete t['transform']}}return s.apply(this,arguments)}})(jQuery);
167,224
167,224
0.706238
5ac6e06eefdc541b353f8b9fe8d76e8aaa128740
874
rs
Rust
epoxy_collections/examples/hash_map.rs
KeatonTech/rust_reactive
94361ef6ec68955f8663340e7819d36fffefd2b4
[ "MIT" ]
4
2019-09-09T16:15:12.000Z
2021-04-18T05:39:11.000Z
epoxy_collections/examples/hash_map.rs
KeatonTech/epoxy_rs
94361ef6ec68955f8663340e7819d36fffefd2b4
[ "MIT" ]
null
null
null
epoxy_collections/examples/hash_map.rs
KeatonTech/epoxy_rs
94361ef6ec68955f8663340e7819d36fffefd2b4
[ "MIT" ]
null
null
null
extern crate epoxy_collections; extern crate epoxy_streams; use epoxy_collections::{ReactiveCollection, ReactiveHashMap, ReadonlyReactiveCollection}; use epoxy_streams::ReactiveCache; fn main() { let hash_map: ReactiveHashMap<i8, i8> = ReactiveHashMap::new(); let mutations = ReactiveCache::from_stream(hash_map.get_mutation_stream()); hash_map.insert(1, 2); hash_map.insert(2, 4); assert_eq!(mutations.get().len(), 2); assert_eq!(*hash_map.get(&1).unwrap(), 2); let nested_hash_map: ReactiveHashMap<i8, ReactiveHashMap<i8, i8>> = ReactiveHashMap::new(); nested_hash_map.insert(1, hash_map); let nested_mutations = ReactiveCache::from_stream(nested_hash_map.get_mutation_stream()); assert_eq!(nested_mutations.get().len(), 0); nested_hash_map.get(&1).unwrap().insert(3, 6); assert_eq!(nested_mutations.get().len(), 1); }
36.416667
95
0.729977
93aee27fd8a082726e07deff4da180b4c5dc7e78
4,233
html
HTML
index.html
ReedGraff/Computer-Vision-File-Website
47502d30dc25515dc1dd188cbaedf88db23a54ce
[ "MIT" ]
null
null
null
index.html
ReedGraff/Computer-Vision-File-Website
47502d30dc25515dc1dd188cbaedf88db23a54ce
[ "MIT" ]
null
null
null
index.html
ReedGraff/Computer-Vision-File-Website
47502d30dc25515dc1dd188cbaedf88db23a54ce
[ "MIT" ]
null
null
null
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Mood Me Application: Reed Graff</title> <link rel="stylesheet" href="index.css"> </head> <body> <h1 style="text-align: center;"> Upload a photo of a group of people, and this website will count them! </h1> <h2 style="text-align: center;"> If you need an example: <a href="boys.png" target="_blank">Click me!</a><br> Then download and use the website accordingly! </h2> <div id="hero_grid"> <div id="grid_view"> <div class="wrapper"> <div class="container"> <h1>Upload a file</h1> <div class="upload-container"> <div class="border-container" id="dragOver"> <div class="icons fa-4x"> <i class="fas fa-file-image" data-fa-transform="shrink-3 down-2 left-6 rotate--45"></i> <i class="fas fa-file-alt" data-fa-transform="shrink-2 up-4"></i> <i class="fas fa-file-pdf" data-fa-transform="shrink-3 down-2 right-6 rotate-45"></i> </div> <input type="file" id="fileUpload" style="display: none;"> <p id="file_text">Drag and drop files here!</p> </div> </div> </div> </div> <div class="wrapper"> <div class="container_2"> <h1>Output File</h1> <div id="canvas_out"> </div> </div> </div> </div> <div class="wrapper container" id="hero_grid"> <img id="imagePreview" style="margin-left: auto;margin-right: auto; max-width: 100%;"> <button onclick="MLDetection()">Submit Picture</button> <button onclick="SaveCanvas()">Save Output</button> <!-- <table align="left"> <thead> <tr> <th>Keys</th> <th>Values</th> </tr> </thead> <tbody align="left"> <tr> <th>Number of People</th> <td>val</td> </tr> <tr> <th>Average</th> <td>val</td> </tr> </tbody> </table> --> </div> </div> <!-- <div id="dropContainer" style="border:1px solid black;height:100px;"> Drop Here </div> Should update here: <input type="file" id="fileInput" /> dropContainer.ondragover = dropContainer.ondragenter = function(evt) { evt.preventDefault(); }; dropContainer.ondrop = function(evt) { // pretty simple -- but not for IE :( fileInput.files = evt.dataTransfer.files; // If you want to use some of the dropped files const dT = new DataTransfer(); dT.items.add(evt.dataTransfer.files[0]); dT.items.add(evt.dataTransfer.files[3]); fileInput.files = dT.files; evt.preventDefault(); }; to save: var canvas = document.getElementById("alpha"); window.open(canvas.toDataURL('image/png')); --> <script src="detect.js"></script> <script src="AI/face-api.js"></script> <script src="https://use.fontawesome.com/releases/v5.15.4/js/all.js" data-auto-a11y="true"></script> </body> </html> <!-- In the future use this: https://github.com/justadudewhohacks/face-api.js/issues/130 --> <!-- Credits: - https://codepen.io/anithvishwanath/pen/qYrWJJ -->
34.983471
123
0.454052
0ba6ccc9869c36c54441983043be28e4255463c3
3,046
py
Python
models/ffn_ace.py
MilesQLi/Theano-Lights
59864f4a1b089c04ff0403a6036ee052078fcd7d
[ "MIT" ]
313
2015-03-23T15:19:58.000Z
2021-05-17T15:40:09.000Z
models/ffn_ace.py
MilesQLi/Theano-Lights
59864f4a1b089c04ff0403a6036ee052078fcd7d
[ "MIT" ]
2
2015-08-31T06:35:31.000Z
2016-04-04T11:55:43.000Z
models/ffn_ace.py
Ivaylo-Popov/Theano-Lights
3c9de807e42e3875b1e3f4c1e8d02ad1242ddc94
[ "MIT" ]
68
2015-05-16T03:26:17.000Z
2018-08-19T08:40:18.000Z
import theano import theano.tensor as T from theano.sandbox.rng_mrg import MRG_RandomStreams from theano.tensor.nnet.conv import conv2d from theano.tensor.signal.downsample import max_pool_2d from theano.tensor.shared_randomstreams import RandomStreams import numpy as np from toolbox import * from modelbase import * import itertools class FFN_ace(ModelSLBase): """ Auto-classifier-encoder (Georgiev, 2015) """ def save(self): if not os.path.exists('savedmodels\\'): os.makedirs('savedmodels\\') self.params.save(self.filename) def __init__(self, data, hp): super(FFN_ace, self).__init__(self.__class__.__name__, data, hp) # batch_size: 10000; learning_rate = 0.0015; lr_halflife = 200, 500 self.epsilon = 0.0001 self.params = Parameters() self.shared_vars = Parameters() n_x = self.data['n_x'] n_y = self.data['n_y'] n_h1 = 1200 n_h2 = 1000 n_h3 = 800 n_h4 = 800 scale = hp.init_scale if hp.load_model and os.path.isfile(self.filename): self.params.load(self.filename) else: with self.params: w_h = shared_normal((n_x, n_h1), scale=scale) b_h = shared_zeros((n_h1,)) w_h2 = shared_normal((n_h1, n_h2), scale=scale) b_h2 = shared_zeros((n_h2,)) w_h3 = shared_normal((n_h2, n_h3), scale=scale) b_h3 = shared_zeros((n_h3,)) w_h4 = shared_normal((n_h3, n_h4), scale=scale) b_h4 = shared_zeros((n_h4,)) w_o = shared_normal((n_h4, n_y), scale=scale) def batch_norm(h): m = T.mean(h, axis=0, keepdims=True) std = T.sqrt(T.var(h, axis=0, keepdims=True) + self.epsilon) h = (h - m) / std return h def model(X, params, p_drop_input, p_drop_hidden): X_noise = X + gaussian(X.shape, p_drop_input) h = batch_norm(dropout(rectify(T.dot(X_noise, params.w_h) + params.b_h), p_drop_hidden)) # Dual reconstruction error phx = T.nnet.sigmoid(T.dot(h, T.dot(h.T, X_noise)) / self.hp.batch_size) log_phx = T.nnet.binary_crossentropy(phx, X_noise).sum() h2 = dropout(rectify(T.dot(h, params.w_h2) + params.b_h2), p_drop_hidden) h3 = batch_norm(dropout(rectify(T.dot(h2, params.w_h3) + params.b_h3), p_drop_hidden)) h4 = dropout(rectify(T.dot(h3, params.w_h4) + params.b_h4), p_drop_hidden) py_x = softmax(T.dot(h4, params.w_o)) return [py_x, log_phx] noise_py_x, cost_recon = model(self.X, self.params, 0.2, 0.5) cost_y2 = -T.sum(self.Y * T.log(noise_py_x)) cost = cost_y2 + cost_recon pyx, _ = model(self.X, self.params, 0., 0.) map_pyx = T.argmax(pyx, axis=1) error_map_pyx = T.sum(T.neq(map_pyx, T.argmax(self.Y, axis=1))) self.compile(cost, error_map_pyx)
34.613636
97
0.591924
5c8c24258092d92748685f9c86b6cbcdddee9444
2,687
c
C
codes/RT-Thread_W60X_SDK/libraries/oneshot/oneshot_demo.c
iot-xiaoyi/rt_thread_w600_app_rgb_led
0524c56aeb1a08a203cb3d60791dbb570a7df80b
[ "CC-BY-4.0" ]
1
2019-10-09T01:31:16.000Z
2019-10-09T01:31:16.000Z
codes/RT-Thread_W60X_SDK/libraries/oneshot/oneshot_demo.c
iot-xiaoyi/rt_thread_w600_app_rgb_led
0524c56aeb1a08a203cb3d60791dbb570a7df80b
[ "CC-BY-4.0" ]
null
null
null
codes/RT-Thread_W60X_SDK/libraries/oneshot/oneshot_demo.c
iot-xiaoyi/rt_thread_w600_app_rgb_led
0524c56aeb1a08a203cb3d60791dbb570a7df80b
[ "CC-BY-4.0" ]
null
null
null
/* * Copyright (c) 2006-2018, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2019-01-25 tyx add w600 */ #include <rtthread.h> #include <rtdevice.h> #include "oneshot.h" #define NET_READY_TIME_OUT (rt_tick_from_millisecond(30 * 1000)) struct join_info { char ssid[64]; char passwd[64]; }; static int rt_wlan_device_connetct(char *ssid, char *passwd) { int result = RT_EOK; rt_uint8_t time_cnt = 0; result = rt_wlan_connect(ssid, passwd); if (result != RT_EOK) { rt_kprintf("\nconnect ssid %s error:%d!\n", ssid, result); return result; }; do { rt_thread_mdelay(1000); time_cnt ++; if (rt_wlan_is_ready()) { break; } } while (time_cnt <= (NET_READY_TIME_OUT / 1000)); if (time_cnt <= (NET_READY_TIME_OUT / 1000)) { rt_kprintf("networking ready!\n"); } else { rt_kprintf("wait ip got timeout!\n"); result = -RT_ETIMEOUT; } return result; } static void join_wifi_thread(void *param) { struct join_info *info = param; rt_kprintf("connect wifi:%s\n", info->ssid); if (rt_strlen(info->passwd) > 0) { rt_wlan_device_connetct(info->ssid, info->passwd); } else { rt_wlan_device_connetct(info->ssid, RT_NULL); } rt_free(info); } static void wm_oneshot_result_cb(int state, unsigned char *ssid, unsigned char *passwd) { rt_thread_t tid; struct join_info *info; if (state != 0) { rt_kprintf("Receive wifi info timeout(%d). exit!\n", state); return; } if (ssid == RT_NULL) { rt_kprintf("SSID is NULL. exit!\n"); return; } rt_kprintf("Receive ssid:%s passwd:%s\n", ssid == RT_NULL ? "" : ssid, passwd == RT_NULL ? "" : passwd); info = rt_malloc(sizeof(struct join_info)); if (info == RT_NULL) { return; } rt_memset(info, 0, sizeof(struct join_info)); rt_strncpy(info->ssid, ssid, sizeof(info->ssid)); if (passwd) { rt_strncpy(info->passwd, passwd, sizeof(info->passwd)); } tid = rt_thread_create("join", join_wifi_thread, info, 2048, 22, 20); if (tid == RT_NULL) { rt_free(info); return; } rt_thread_startup(tid); } void oneshot_demo(void) { if (wm_oneshot_start(wm_oneshot_result_cb) == 0) { rt_kprintf("oneshot start...\n"); } else { rt_kprintf("oneshot start failed\n"); } } #ifdef RT_USING_FINSH #include "finsh.h" MSH_CMD_EXPORT(oneshot_demo, oneshot demo); #endif
21.15748
108
0.5869
f000c275681d6eb860ca8edd89619bd04e3efa9d
508
py
Python
conv/setup.py
hughpyle/GW-BASIC
f0c1ef3c9655b36cd312d18e4620bb076f03afd3
[ "MIT" ]
26
2020-05-23T18:09:05.000Z
2022-01-30T10:07:04.000Z
conv/setup.py
hughpyle/GW-BASIC
f0c1ef3c9655b36cd312d18e4620bb076f03afd3
[ "MIT" ]
1
2020-06-25T06:20:01.000Z
2020-06-25T06:20:01.000Z
conv/setup.py
hughpyle/GW-BASIC
f0c1ef3c9655b36cd312d18e4620bb076f03afd3
[ "MIT" ]
4
2020-05-23T12:36:44.000Z
2022-01-16T00:20:20.000Z
from setuptools import setup, find_packages """ https://tia.mat.br/posts/2020/06/21/converting-gwbasic-to-z80.html """ setup( name="z80conv", version='0.0.1', author="lp", description="Porting GW-BASIC from 8086 back to the Z80", license="GPLv2", packages=find_packages(), long_description="Porting GW-BASIC from 8086 back to the Z80", install_requires=[], tests_require=['pytest'], entry_points = { 'console_scripts': ['z80conv=z80conv.conv:main'], } )
24.190476
66
0.661417
e74d5246d7376ddc2d2078554dae965d9c2a57de
5,969
js
JavaScript
webpack.config.js
father-gregor/capture-bros-site
59e8061c37287dc2222cf395f1dcdc9c49906368
[ "MIT" ]
null
null
null
webpack.config.js
father-gregor/capture-bros-site
59e8061c37287dc2222cf395f1dcdc9c49906368
[ "MIT" ]
null
null
null
webpack.config.js
father-gregor/capture-bros-site
59e8061c37287dc2222cf395f1dcdc9c49906368
[ "MIT" ]
null
null
null
const _ = require('lodash'); const path = require('path'); const webpack = require('webpack'); const CopyWebpackPlugin = require('copy-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const {CleanWebpackPlugin} = require('clean-webpack-plugin'); const CssMinimizerPlugin = require('css-minimizer-webpack-plugin'); const TerserPlugin = require('terser-webpack-plugin'); const clientConfig = require('./config/client.json'); function flatten (object, path = null, separator = '.') { return Object.keys(object).reduce((acc, key) => { const value = object[key]; const newPath = [path, key].filter(Boolean).join(separator); const isObject = [ typeof value === 'object', value !== null, !(value instanceof Date), !(value instanceof RegExp), !(Array.isArray(value) && value.length === 0), ].every(Boolean); return isObject ? {...acc, ...flatten(value, newPath, separator)} : {...acc, [newPath]: value}; }, {}); } function flattenConfig (object) { const flatObj = flatten(object); for (let key of Object.keys(flatObj)) { flatObj[`config.${key}`] = JSON.stringify(flatObj[key]); delete flatObj[key]; } return flatObj; } _.templateSettings.imports = { config: clientConfig, }; module.exports = (env, options) => { return { entry: [ './src/client/ts/index.ts', './src/client/scss/style.scss' ], output: { filename: `./js/bundle.[contenthash]${process.env.NODE_ENV === 'production' ? '.min' : ''}.js`, path: path.resolve(__dirname, process.env.NODE_ENV === 'production' ? 'dist' : 'distDev') }, devtool: process.env.NODE_ENV === 'development' ? 'source-map' : false, module: { rules: [ { test: /\.tsx?$/, use: 'ts-loader', exclude: /node_modules/, }, { test: /\.html$/, loader: 'underscore-template-loader', query: { engine: 'lodash', withImports: true } }, { test: /\.scss$/, use: [ MiniCssExtractPlugin.loader, { loader: 'css-loader', options: { sourceMap: true } }, { loader: 'postcss-loader', options: { sourceMap: true, postcssOptions: { plugins: [ require('postcss-import'), require('tailwindcss'), require('autoprefixer') ] } } }, { loader: 'sass-loader' } ] }, { test: /\.(png|jpg|jpeg|svg|gif|ico)$/, use: [ { loader: 'file-loader', options: { name: '[name].[ext]', outputPath: 'public/img/' } } ] }, { test: /\.(woff|woff2|eot|ttf|otf)$/, use: [ { loader: 'file-loader', options: { name: '[name].[ext]', outputPath: 'public/fonts/' } } ] } ] }, resolve: { extensions: ['.tsx', '.ts', '.js'], }, plugins: [ new webpack.DefinePlugin({ ENV: JSON.stringify(options.mode), ...flattenConfig(clientConfig) }), ...['index.html', 'portfolio.html'].map((page) => { return new HtmlWebpackPlugin({ filename: page, template: `!!underscore-template-loader!./src/client/html/views/${page}`, templateParameters: { config: clientConfig }, cache: false, inject: 'body', scriptLoading: 'defer', minify: process.env.NODE_ENV === 'development' ? false : { collapseWhitespace: false } }); }), new MiniCssExtractPlugin({ filename: '[name].[contenthash].css', chunkFilename: '[id].css' }), new CopyWebpackPlugin({ patterns: [ {from: './src/client/favicon', to: './public/favicon'}, {from: './src/client/img', to: './public/img'} ] }), new CleanWebpackPlugin({}) ], optimization: { minimize: process.env.NODE_ENV === 'production', minimizer: [ new TerserPlugin({ parallel: true, }), new CssMinimizerPlugin(), ], }, }; };
34.906433
107
0.382309
c62f2febf46c940ac5e29075f266c58a488e80db
984
rb
Ruby
lib/sigimera/version.rb
csae1152/sigimera-ruby-client
76a28739503ec94f16ce81417ee6e4b483accea0
[ "MIT" ]
1
2015-11-07T11:22:01.000Z
2015-11-07T11:22:01.000Z
lib/sigimera/version.rb
csae1152/sigimera-ruby-client
76a28739503ec94f16ce81417ee6e4b483accea0
[ "MIT" ]
null
null
null
lib/sigimera/version.rb
csae1152/sigimera-ruby-client
76a28739503ec94f16ce81417ee6e4b483accea0
[ "MIT" ]
null
null
null
# encoding: UTF-8 module Sigimera # Module that encapsulates the version number. module VERSION # The major version number that changes only if incompatibility with # the previous version was introduced. MAJOR = 0 # The minor version number indicates that new features were added. MINOR = 1 # The tiny number stands for bug fixes. TINY = 1 # The extra string marks the version as beta, alpha, rcX, ... EXTRA = nil # Concatenates the version to a point separated string STRING = [MAJOR, MINOR, TINY].join('.') STRING << ".#{EXTRA}" if EXTRA ## # @return [String] def self.to_s() STRING end ## # @return [String] def self.to_str() STRING end ## # @return [Array(Integer, Integer, Integer)] def self.to_a() [MAJOR, MINOR, TINY] end end end
24.6
76
0.544715
969483c9c338b66fcee5bee2f98aa94ec444b1f6
4,014
html
HTML
index.html
JasperDre/jasperdrescher.github.io
ae8c1e3596e31e03a06e66c0a8e50113e3abfe06
[ "MIT" ]
1
2019-01-29T21:35:33.000Z
2019-01-29T21:35:33.000Z
index.html
JasperDre/jasperdrescher.github.io
ae8c1e3596e31e03a06e66c0a8e50113e3abfe06
[ "MIT" ]
null
null
null
index.html
JasperDre/jasperdrescher.github.io
ae8c1e3596e31e03a06e66c0a8e50113e3abfe06
[ "MIT" ]
null
null
null
<!DOCTYPE html> <html lang="en"> <head> <title>Jasper Drescher &middot; Portfolio</title> <!-- Meta --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="description" content="Jasper Drescher's portfolio and résumé. Experience with gameplay, tools, and engine programming for multiple games and platforms."> <meta name="keywords" content="hmtl,css,javascript,php,c++,c#,programmer,portfolio,jasper,drescher"> <meta name="author" content="Jasper Drescher"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta property="og:title" content="Jasper Drescher's portfolio and résumé"> <meta property="og:image" content="https://raw.githubusercontent.com/JasperDre/jasperdre.github.io/main/assets/images/linkedinheader.png"> <meta property="og:description" content="Jasper Drescher's portfolio and résumé."> <meta property="og:url" content="https://jasperdre.com/"> <!-- Favicon --> <link rel="shortcut icon" type="image/png" href="assets/images/Branding/icon.png"> <!-- CSS --> <link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet" type="text/css"> <link href="assets/fontawesome/css/all.css" rel="stylesheet" type="text/css"> <link href="assets/css/style.css" rel="stylesheet" type="text/css"> </head> <body> <div class="card about"> <div class="p-name">Jasper Drescher</div> <div class="p-description">Engine, Gameplay & Tools Programmer</div> <div class="resume"><a href="resume/Résumé_Jasper.pdf" target="_blank">📜</a></div> <div class="p-sm"> <a href="https://github.com/JasperDre" target="_blank"><i class="fab fa-github fa-lg"></i></a> <a href="https://www.linkedin.com/in/jasperdre/" target="_blank"><i class="fab fa-linkedin fa-lg"></i></a> </div> </div> <div class="highlights"> <div class="info"> <div class="block"> <h4>Education</h4> <span>BSc. in Creative Media and Game Technologies</span> <span>Breda University of Applied Sciences</span> <span class="date"><i class="far fa-calendar"></i> 2016-2020</span> </div> <div class="block"> <h4>Experience</h4> <span>Junior Gameplay Programmer</span> <span>Massive Entertainment</span> <span class="date"><i class="far fa-calendar"></i> Sep 2019 - Present</span> </div> <div class="block"> <h4>Locations</h4> <span>Sweden</span> <span>Netherlands</span> </div> </div> <h4>Highlights</h4> <div class="projects"> <a class="tctd2ft" href="https://www.ubisoft.com/en-gb/game/the-division/the-division-2/free-trial" target="_blank"> <span>Tom Clancy's The Division® 2 Trial</span> <span>2020</span> </a> <a class="tctd2wony" href="https://www.ubisoft.com/en-gb/game/the-division/the-division-2/expansion/warlords-of-new-york" target="_blank"> <span>Tom Clancy's The Division® 2 Warlords of New York</span> <span>2020</span> </a> <a class="tctd2" href="https://www.ubisoft.com/en-gb/game/the-division/the-division-2/details" target="_blank"> <span>Tom Clancy’s The Division® 2</span> <span>2019</span> </a> <a class="stellarsurvivor" href="https://store.steampowered.com/app/1032120/Stellar_Survivor/" target="_blank"> <span>Stellar Survivor</span> <span>2018</span> </a> <a class="drivinity" href="https://igad.itch.io/drivinity" target="_blank"> <span>Drivinity</span> <span>2018</span> </a> </div> </div> </body> </html>
45.101124
150
0.586697
829db563d954bdc7a96660846c62332b069f66df
2,188
swift
Swift
Sources/App/Controllers/ConversationController.swift
AddaMeSPB/AddaAPIGateway
e907a5f4e0c69f278151b6f48cb95f7ae8f992e4
[ "MIT" ]
7
2020-08-03T17:47:09.000Z
2021-07-21T21:01:58.000Z
Sources/App/Controllers/ConversationController.swift
AddaMeSPB/AddaAPIGateway
e907a5f4e0c69f278151b6f48cb95f7ae8f992e4
[ "MIT" ]
null
null
null
Sources/App/Controllers/ConversationController.swift
AddaMeSPB/AddaAPIGateway
e907a5f4e0c69f278151b6f48cb95f7ae8f992e4
[ "MIT" ]
null
null
null
// // ConversationController.swift // // // Created by Saroar Khandoker on 28.10.2020. // import Vapor extension ConversationController: RouteCollection { func boot(routes: RoutesBuilder) throws { routes.post(use: create) routes.post(":conversationsId", "users", ":usersId", use: addUserToConversation) routes.get(use: readAll) // "users", ":users_id", routes.get(":conversationsId", use: read) routes.get(":conversationsId", "messages", use: readAllMessageByCoversationID) routes.put(use: update) routes.delete(":conversationsId", use: delete) } } final class ConversationController { func create(_ req: Request) throws -> EventLoopFuture<ClientResponse> { if req.loggedIn == false { throw Abort(.unauthorized) } return try req.chats.createConversation(req).hop(to: req.eventLoop) } func readAll(_ req: Request) throws -> EventLoopFuture<ClientResponse> { if req.loggedIn == false { throw Abort(.unauthorized) } return try req.chats.readAllConversations(req).hop(to: req.eventLoop) } func read(_ req: Request) throws -> EventLoopFuture<ClientResponse> { if req.loggedIn == false { throw Abort(.unauthorized) } return try req.chats.read(req).hop(to: req.eventLoop) } private func readAllMessageByCoversationID(_ req: Request) throws -> EventLoopFuture<ClientResponse> { if req.loggedIn == false { throw Abort(.unauthorized) } return try req.chats.readAllMessageByCoversationID(req).hop(to: req.eventLoop) } func addUserToConversation(_ req: Request) throws -> EventLoopFuture<ClientResponse> { return try req.chats.addUserToConversation(req).hop(to: req.eventLoop) } private func update(_ req: Request) throws -> EventLoopFuture<ClientResponse> { if req.loggedIn == false { throw Abort(.unauthorized) } return try req.chats.updateConversations(req).hop(to: req.eventLoop) } private func delete(_ req: Request) throws -> EventLoopFuture<ClientResponse> { if req.loggedIn == false { throw Abort(.unauthorized) } return try req.chats.deleteConversation(req).hop(to: req.eventLoop) } }
29.567568
104
0.695612
503d7240c7958e5a04ab64048bbdffdb2c0bee84
681
go
Go
cmd/querydigest/main.go
orisano/querydigest
ab459cab44b4a35b69ccedf8164fa6b503a26047
[ "Apache-2.0" ]
null
null
null
cmd/querydigest/main.go
orisano/querydigest
ab459cab44b4a35b69ccedf8164fa6b503a26047
[ "Apache-2.0" ]
null
null
null
cmd/querydigest/main.go
orisano/querydigest
ab459cab44b4a35b69ccedf8164fa6b503a26047
[ "Apache-2.0" ]
null
null
null
package main import ( "flag" "log" "os" "runtime" "github.com/akito0107/querydigest" ) var slowLogPath = flag.String("f", "slow.log", "slow log filepath") var previewSize = flag.Int("n", 0, "count") var concurrency = flag.Int("j", 0, "concurrency (default = num of cpus)") func main() { // defer profile.Start(profile.ProfilePath("."), profile.TraceProfile).Stop() // defer profile.Start(profile.ProfilePath("."), profile.CPUProfile).Stop() flag.Parse() f, err := os.Open(*slowLogPath) if err != nil { log.Fatal(err) } defer f.Close() if *concurrency == 0 { *concurrency = runtime.NumCPU() } querydigest.Run(os.Stdout, f, *previewSize, *concurrency) }
18.916667
78
0.66373
7b1d922ef162b921fc64a2b9bff6cc1c9839c45a
793
rb
Ruby
app/models/factory/model/production_item.rb
work-design/rails_factory
1e8f555c6d6df9aa10a6ff8dcba467dd8778f8ed
[ "MIT" ]
1
2019-08-20T06:00:14.000Z
2019-08-20T06:00:14.000Z
app/models/factory/model/production_item.rb
work-design/rails_factory
1e8f555c6d6df9aa10a6ff8dcba467dd8778f8ed
[ "MIT" ]
11
2019-11-29T14:18:05.000Z
2022-02-12T11:11:47.000Z
app/models/factory/model/production_item.rb
work-design/rails_factory
1e8f555c6d6df9aa10a6ff8dcba467dd8778f8ed
[ "MIT" ]
null
null
null
module Factory module Model::ProductionItem extend ActiveSupport::Concern included do attribute :state, :string, default: 'producing' attribute :qr_code, :string attribute :produced_at, :datetime belongs_to :production belongs_to :production_plan has_many :part_items enum state: { producing: 'producing', receiving: 'receiving', warehouse_in: 'warehouse_in', warehouse_out: 'warehouse_out', used: 'used' } after_initialize if: :new_record? do self.production = self.production_plan.production if production_plan self.qr_code ||= UidHelper.nsec_uuid self.production&.qr_code end end def qrcode_url QrcodeHelper.data_url(qr_code) end end end
23.323529
76
0.656999
dd31c452122f2ae3be5d3fd09cc52f5d55f9bbc1
2,524
go
Go
exchange_api/tool/huobi.go
GitTsewell/exchange_data
5261a027a00c6bd54648486ecb73f806be30a910
[ "MIT" ]
54
2019-11-21T10:11:08.000Z
2022-03-24T11:18:25.000Z
exchange_api/tool/huobi.go
hsyf/exchange_data
5261a027a00c6bd54648486ecb73f806be30a910
[ "MIT" ]
5
2019-11-22T03:58:59.000Z
2022-03-02T06:22:52.000Z
exchange_api/tool/huobi.go
hsyf/exchange_data
5261a027a00c6bd54648486ecb73f806be30a910
[ "MIT" ]
26
2019-12-17T02:29:53.000Z
2022-03-24T11:18:31.000Z
package tool import ( "encoding/json" "exchange_api/config" "exchange_api/db" "exchange_api/model" "fmt" "github.com/go-redis/redis" "strconv" "strings" "sync" "time" ) type HuobiWs struct { *Wsbuilder sync.Once wsConn *WsConn redis *redis.Client depthData *model.HuobiDepth depthCallback func([]byte) } func NewHuobiWs(url string) *HuobiWs { huobiWs := &HuobiWs{Wsbuilder:NewBuilder()} huobiWs.redis = db.InitRedis() huobiWs.Wsbuilder.SetUrl(url) // url配置 huobiWs.Wsbuilder.SetCheckStatusTime(time.Second * 30) // 检测时间 huobiWs.WsConfig.Handle = huobiWs.handle return huobiWs } func (hbws *HuobiWs) HuobiSetCallback(f func([]byte)) { hbws.depthCallback = f } func (hbws *HuobiWs) HuobiConnect() { hbws.Once.Do(func() { hbws.wsConn = hbws.Wsbuilder.Build() hbws.wsConn.ReceiveMessage() }) } func (hbws *HuobiWs) HuobiSubscribeDepth(msg string) { hbws.HuobiConnect() _ = hbws.wsConn.Subscribe(msg) } func (hbws *HuobiWs) handle(msg []byte) { text,err := GzipDecodeHuobi(msg) if err != nil { fmt.Println(err) } if strings.Contains(string(text),"ping") { str := strconv.FormatInt(time.Now().Unix(),10) pong := `{"pong": ` + str + `}` _ = hbws.wsConn.SendMessage([]byte(pong)) hbws.wsConn.UpdateActiveTime() } hbws.depthCallback(text) } func (hbws *HuobiWs) HuobiDepth (msg []byte) { err := json.Unmarshal(msg,&hbws.depthData) if err == nil && len(hbws.depthData.Tick.Bids) > 0 { hbws.depthToDb() } } func (hbws *HuobiWs) depthToDb () { origin := map[string]interface{}{ "sell":hbws.depthData.Tick.Asks, "buy":hbws.depthData.Tick.Bids, } st ,_ := json.Marshal(origin) rst := map[string]interface{}{ "average_buy" : hbws.depthData.Tick.Asks[0][0], "average_sell" : hbws.depthData.Tick.Bids[0][0], "average_price" : hbws.depthData.Tick.Asks[0][0], "microtime" : time.Now().UnixNano() / 1e6, "origin" : st, } var key string chs := strings.Split(hbws.depthData.Ch,".") if strings.Contains(chs[1],"_") { // 期货 key = fmt.Sprintf("huobi:depth:%s:%s",config.FUTURE,chs[1]) }else { key = fmt.Sprintf("huobi:depth:%s:%s",config.SPOT,chs[1]) } hbws.redis.HMSet(key,rst) hbws.redis.Expire(key,time.Minute * 5) } func (hbws *HuobiWs) HuobiDepthTmp (msg []byte) { err := json.Unmarshal(msg,&hbws.depthData) if err == nil && len(hbws.depthData.Tick.Bids) > 0 { chs := strings.Split(hbws.depthData.Ch,".") if res,_ := hbws.redis.SIsMember("tmp:depth:huobi",chs[1]).Result(); !res { hbws.redis.SAdd("tmp:depth:huobi",chs[1]) } } }
22.945455
77
0.673138
c6643c37fb72a34e3d01b84570f70c81dfb26c3d
260
rb
Ruby
db/migrate/20081223082232_change_to_learned_from_reminders.rb
authorNari/brushup
28958d0fb3a5ad087ffb6af5393b821079c4c156
[ "MIT" ]
5
2015-11-05T23:58:16.000Z
2016-02-08T05:46:30.000Z
db/migrate/20081223082232_change_to_learned_from_reminders.rb
takaokouji/brushup
f4d5b2c36b0202207333c02975d2847daab13a11
[ "MIT" ]
4
2020-02-25T05:41:38.000Z
2022-02-26T03:14:50.000Z
db/migrate/20081223082232_change_to_learned_from_reminders.rb
takaokouji/brushup
f4d5b2c36b0202207333c02975d2847daab13a11
[ "MIT" ]
1
2016-06-22T10:40:56.000Z
2016-06-22T10:40:56.000Z
class ChangeToLearnedFromReminders < ActiveRecord::Migration def self.up change_table :reminders do |t| t.rename :leared, :learned end end def self.down change_table :reminders do |t| t.rename :learned, :leared end end end
18.571429
60
0.680769
2a2333b3817dc1e9dc935d01b2c51917f4876bda
1,871
htm
HTML
docs/people/get.htm
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
5
2015-01-30T06:16:32.000Z
2020-04-14T09:08:49.000Z
docs/people/get.htm
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
null
null
null
docs/people/get.htm
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
null
null
null
<page title="Fetch basic information for a person" api="GET /db/{db}/people/{id}" js="method RunOrg.Person.Load" tags="methods:person" parent="people.htm" /> <doc for="js"> If `person` is an instance of [`RunOrg.Person`](/people/person.htm), then `person.Load()` fills (or replaces) its non-`id` fields with data retrieved from the API. Returns a [promise](/concepts/promise.htm) that will resolve to the `person` object if it could be filled. </doc> <example type="js" caption="Example usage"> new RunOrg.Person("1ax69bfa335").Load().then(function(person) { console.log("Fetched data for %s.", person.label) }) </example> <example type="js" caption="Example usage, with error handling"> var person = new RunOrg.Person("1ax69bfa335"); person.Load().then(function() { console.log("Fetched data for %s.", person.label) }, function(error) { if (error.HTTP == 404) console.log("Person %s not found.", person.id) else console.log("An error happened: %o", error) }) </example> <see for="js" ref="concepts/errors.md" /> <doc for="api"> Returns a [`<person>`](/people/person.htm) representation of the person with identifier `{id}` in database `{db}`. </doc> <example type="api" caption="Example request"> GET /db/0Et4X0016om/people/0Et9j0026rO </example> <example type="api" caption="Example response"> 200 OK Content-Type: application/json { "id" : "0Et9j0026rO", "label" : "Victor Nicollet", "gender" : "M", "pic" : "https://www.gravatar.com/avatar/648e25e4372728b2d3e0c0b2b6e26f4e" } </example> <doc> # Errors ## Returns `404 Not Found` - if the database does not exist, - if person `{id}` does not exist in the database. # Access restrictions Anyone can view any person's basic information, if they have their identifier. </doc>
28.348485
80
0.65954
dd02a96748d8cf12c8a23a26ce372d5dd73895ef
1,075
go
Go
app/update_cmd.go
damienrj/hermit
c6056edf6e6260c5bc2059562116d80b2b362d7c
[ "Apache-2.0" ]
null
null
null
app/update_cmd.go
damienrj/hermit
c6056edf6e6260c5bc2059562116d80b2b362d7c
[ "Apache-2.0" ]
null
null
null
app/update_cmd.go
damienrj/hermit
c6056edf6e6260c5bc2059562116d80b2b362d7c
[ "Apache-2.0" ]
null
null
null
package app import ( "os" "path/filepath" "strings" "github.com/cashapp/hermit" "github.com/cashapp/hermit/errors" "github.com/cashapp/hermit/manifest" "github.com/cashapp/hermit/state" "github.com/cashapp/hermit/ui" ) type updateCmd struct{} func (s *updateCmd) Run(l *ui.UI, env *hermit.Env, state *state.State) error { self, err := os.Executable() if err != nil { return errors.WithStack(err) } srcs, err := state.Sources(l) if err != nil { return errors.WithStack(err) } // Update sources from either the env or default sources. if env != nil { err = env.Update(l, true) } else { err = srcs.Sync(l, true) } if err != nil { return errors.WithStack(err) } // Upgrade hermit if necessary pkgRef := filepath.Base(filepath.Dir(self)) if strings.HasPrefix(pkgRef, "hermit@") { pkg, err := state.Resolve(l, manifest.ExactSelector(manifest.ParseReference(pkgRef))) if err != nil { return errors.WithStack(err) } err = state.UpgradeChannel(l.Task(pkgRef), pkg) if err != nil { return errors.WithStack(err) } } return nil }
21.938776
87
0.67907
26a5cbc6988ded6c7b6e7adb7f84ab442cfff3a4
2,353
kt
Kotlin
sdk/src/main/java/co/omise/android/ui/MobileBankingChooserFragment.kt
Nutza974/omise-android
1494f4172c2c82ef47b55209de2f07b2330a4b3d
[ "MIT" ]
47
2015-01-20T12:04:54.000Z
2022-01-31T05:41:20.000Z
sdk/src/main/java/co/omise/android/ui/MobileBankingChooserFragment.kt
Nutza974/omise-android
1494f4172c2c82ef47b55209de2f07b2330a4b3d
[ "MIT" ]
74
2015-01-14T02:38:13.000Z
2022-03-30T03:59:20.000Z
sdk/src/main/java/co/omise/android/ui/MobileBankingChooserFragment.kt
omise/omise-android
eca24741753ed4588db0d4e0c8005f7e03dcd5d4
[ "MIT" ]
28
2015-08-03T11:52:26.000Z
2022-03-28T02:11:19.000Z
package co.omise.android.ui import android.os.Bundle import co.omise.android.R import co.omise.android.models.BackendType import co.omise.android.models.PaymentMethod import co.omise.android.models.Source import co.omise.android.models.SourceType import co.omise.android.models.backendType /** * MobileBankingChooserFragment is the UI class, extended from base [OmiseListFragment] to show * available Mobile Banking options list for the user to choose from. */ internal class MobileBankingChooserFragment : OmiseListFragment<MobileBankingResource>() { private val allowedBanks: List<SourceType.MobileBanking> by lazy { val args = arguments ?: return@lazy emptyList<SourceType.MobileBanking>() val paymentMethods = args.getParcelableArray(EXTRA_MOBILE_BANKING_METHODS) as Array<PaymentMethod> return@lazy paymentMethods .filter { it.backendType is BackendType.Source && (it.backendType as BackendType.Source).sourceType is SourceType.MobileBanking } .map { (it.backendType as BackendType.Source).sourceType as SourceType.MobileBanking } } var requester: PaymentCreatorRequester<Source>? = null override fun onActivityCreated(savedInstanceState: Bundle?) { super.onActivityCreated(savedInstanceState) title = getString(R.string.mobile_banking_chooser_title) setHasOptionsMenu(true) } override fun onListItemClicked(item: MobileBankingResource) { val req = requester ?: return view?.let { setAllViewsEnabled(it, false) } val sourceType = item.sourceType val request = Source.CreateSourceRequestBuilder(req.amount, req.currency, sourceType).build() requester?.request(request) { view?.let { setAllViewsEnabled(it, true) } } } override fun listItems(): List<MobileBankingResource> { return allowedBanks.mobileBankingResources } companion object { private const val EXTRA_MOBILE_BANKING_METHODS = "MobileBankingChooserFragment.mobileBankingMethods" fun newInstance(availableBanks: List<PaymentMethod>) = MobileBankingChooserFragment().apply { arguments = Bundle().apply { putParcelableArray(EXTRA_MOBILE_BANKING_METHODS, availableBanks.toTypedArray()) } } } }
39.881356
145
0.718232
e2a99d98584e0d6e4ac22ebf6caa5f42810ab781
631
kts
Kotlin
fizzbuzz/build.gradle.kts
jangalinski/jqwik-playground
212db45c3aa6a58c62c6a0382e5001376de288b8
[ "BSD-3-Clause" ]
1
2019-05-19T22:18:12.000Z
2019-05-19T22:18:12.000Z
fizzbuzz/build.gradle.kts
jangalinski/jqwik-playground
212db45c3aa6a58c62c6a0382e5001376de288b8
[ "BSD-3-Clause" ]
null
null
null
fizzbuzz/build.gradle.kts
jangalinski/jqwik-playground
212db45c3aa6a58c62c6a0382e5001376de288b8
[ "BSD-3-Clause" ]
null
null
null
plugins { kotlin("jvm") version Versions.kotlin `java-library` } dependencies { compile(kotlin("stdlib-jdk8")) testCompile("net.jqwik:jqwik-api:${Versions.test.jqwik}") testRuntime("net.jqwik:jqwik-engine:${Versions.test.jqwik}") // Add if you also want to use the Jupiter engine or Assertions from it testCompile("org.junit.jupiter:junit-jupiter-engine:${Versions.test.junit.jupiter}") testCompile("org.assertj:assertj-core:3.9.1") } tasks.withType<Test> { useJUnitPlatform { includeEngines("jqwik") } include("**/*Properties.class") include("**/*Test.class") include("**/*Tests.class") }
19.71875
86
0.695721
9ba75eb0c74e37bc2e8d2cb150dc8c71bb63409e
1,196
js
JavaScript
functions/mocks/firebase.mock.js
Danielos15/mdb_api
3c1b836f97951a367d9665b46b37f30f728beb08
[ "MIT" ]
null
null
null
functions/mocks/firebase.mock.js
Danielos15/mdb_api
3c1b836f97951a367d9665b46b37f30f728beb08
[ "MIT" ]
null
null
null
functions/mocks/firebase.mock.js
Danielos15/mdb_api
3c1b836f97951a367d9665b46b37f30f728beb08
[ "MIT" ]
null
null
null
let admin = { database: () => { return databaseStub; }, auth: () => { return user; } }; let user = { getUser: () => { return new Promise((resolve, reject) => { resolve({ id: 550, displayName: "Test User" }) }) } }; let refStub = { child: (id) => { this.id = id; return refStub; }, once: (value, callback) => { callback(snapshot); }, on: (value, callback) => { callback(snapshot); }, orderByChild: () => { return refStub; }, equalTo: () => { return refStub; }, update: () => { return refStub; }, push: () => { return refStub; }, set: () => { return setObject(); }, }; let databaseStub = { path: "", child: refStub, ref: function(path) { this.child.path = path; this.path = path; return this.child; } }; let setObject = () => { return new Promise((resolve, reject) => { resolve({ id: 550, displayName: "Test User" }) }); }; let snapshot = { numChildren: () => { return 1; }, forEach: (callback) => { callback(item); }, val: () => { return value; } }; let item = { val: () => { return value; } }; let value = { rating: 1.2, movieId: 550, tvId: 1418, uid: 1000291 }; module.exports = admin;
13.288889
43
0.533445
7c32dedc3ab78f468bbecad2ceaeeae1e845f80c
1,443
rs
Rust
src/utils/input.rs
shimarulin/archi
e11e377ae12e03c1fc28109e67dac238c0c6fa4c
[ "MIT" ]
null
null
null
src/utils/input.rs
shimarulin/archi
e11e377ae12e03c1fc28109e67dac238c0c6fa4c
[ "MIT" ]
1
2021-08-17T15:26:23.000Z
2021-08-17T23:44:39.000Z
src/utils/input.rs
shimarulin/archi
e11e377ae12e03c1fc28109e67dac238c0c6fa4c
[ "MIT" ]
null
null
null
use console::style; use inquire::error::InquireResult; use inquire::list_option::ListOption; pub fn exit_by_user() { let top_line = style("\n ╔══════════════════════════════════════════════════════════╗").cyan(); let bottom_line = style("\n ╚══════════════════════════════════════════════════════════╝").cyan(); let cancel_line = style("\n ║ Installation canceled by user ║").cyan(); println!("{}{}{}", top_line, cancel_line, bottom_line); std::process::exit(0); } pub fn answer_string_handler(answer: InquireResult<String>) -> String { match answer { Ok(_) => answer.unwrap(), Err(_) => { exit_by_user(); String::from("") } } } pub fn answer_option_handler(answer: InquireResult<ListOption<String>>) -> String { match answer { Ok(_) => String::from(answer.unwrap().value), Err(_) => { exit_by_user(); String::from("") } } } pub fn answer_option_index_handler(answer: InquireResult<ListOption<String>>) -> usize { match answer { Ok(_) => answer.unwrap().index, Err(_) => { exit_by_user(); 0 } } } pub fn answer_boolean_handler(answer: InquireResult<bool>) -> bool { match answer { Ok(_) => answer.unwrap(), Err(_) => { exit_by_user(); false } } }
26.236364
100
0.486486
9e9458e70bdbb997906b8d371dea7f1fa299b354
52
rs
Rust
JsonParser/build/classes/main/java/org/apache/commons/io/filefilter/AbstractFileFilter.rs
akibis/facial_recognition
1334b6d7968b87de4fb89c8c821657a4aa8d65ae
[ "MIT" ]
null
null
null
JsonParser/build/classes/main/java/org/apache/commons/io/filefilter/AbstractFileFilter.rs
akibis/facial_recognition
1334b6d7968b87de4fb89c8c821657a4aa8d65ae
[ "MIT" ]
null
null
null
JsonParser/build/classes/main/java/org/apache/commons/io/filefilter/AbstractFileFilter.rs
akibis/facial_recognition
1334b6d7968b87de4fb89c8c821657a4aa8d65ae
[ "MIT" ]
null
null
null
org.apache.commons.io.filefilter.AbstractFileFilter
26
51
0.884615
c383ef1d58d3c67094a50e369efe80f1a071bc22
942
go
Go
gob.go
LUSHDigital/core-redis
4643f247160ae884685de1bb3da2c8edd4624fb3
[ "Apache-2.0" ]
1
2019-04-05T15:27:37.000Z
2019-04-05T15:27:37.000Z
gob.go
LUSHDigital/core-redis
4643f247160ae884685de1bb3da2c8edd4624fb3
[ "Apache-2.0" ]
null
null
null
gob.go
LUSHDigital/core-redis
4643f247160ae884685de1bb3da2c8edd4624fb3
[ "Apache-2.0" ]
null
null
null
package coreredis import ( "bytes" "encoding/gob" "time" ) // NewGobClient returns a redis client wrapper for Gob operations. func NewGobClient(c *Client) *GobClient { return &GobClient{c} } // GobClient represents a wrapped redis client for Gob operations. type GobClient struct { *Client } // GetGob will get try and get byte data from a key in redis and gob unmarshal to the provided container. func (c *GobClient) GetGob(key string, v interface{}) error { var data []byte data, err := c.Get(key).Bytes() if err != nil { return err } b := bytes.NewBuffer(data) return gob.NewDecoder(b).Decode(v) } // SetGob will take the value and gob marshal it to bytes and store in redis. func (c *GobClient) SetGob(key string, v interface{}, expiration time.Duration) error { b := new(bytes.Buffer) if err := gob.NewEncoder(b).Encode(v); err != nil { return err } data := b.Bytes() return c.Set(key, data, expiration).Err() }
24.153846
105
0.703822
9c0cc32f257b967bbf2bd849b66fa2b7234c72c9
788
js
JavaScript
_~2017/promise/simple-co/simple-co.js
zhoukekestar/drafts
e4bbe71a941b30e709d661822ba29a2fd08e6d8e
[ "MIT" ]
1
2018-04-15T14:58:24.000Z
2018-04-15T14:58:24.000Z
_~2017/promise/simple-co/simple-co.js
zhoukekestar/drafts
e4bbe71a941b30e709d661822ba29a2fd08e6d8e
[ "MIT" ]
null
null
null
_~2017/promise/simple-co/simple-co.js
zhoukekestar/drafts
e4bbe71a941b30e709d661822ba29a2fd08e6d8e
[ "MIT" ]
3
2020-03-24T09:20:19.000Z
2020-11-19T02:21:37.000Z
const co = function (gen, ...args) { const ctx = this; return new Promise((resolve, reject) => { if (typeof gen === 'function') gen = gen.apply(ctx, args); if (!gen || typeof gen.next !== 'function') resolve(gen); onFulfilled(); function onFulfilled(res) { var ret; try { ret = gen.next(res); } catch (e) { return reject(e); } next(ret); return null; } function onRejected(err) { var ret; try { ret = gen.throw(err); } catch (e) { return reject(e); } next(ret); } function next(ret) { if (ret.done) return resolve(ret.value); ret.value.then(onFulfilled, onRejected); } }) } if (window) window.co = co; else module.exports = co;
18.761905
62
0.522843
1835d6a9401fbfdd24b608ce088c9f5c35611757
500
css
CSS
css/main-minimal.css
GinoGalotti/bardsjournal
8db43061fdff49e60d87cb7eb72749a716ec1863
[ "MIT" ]
2
2019-02-07T06:37:06.000Z
2019-02-14T14:43:03.000Z
css/main-minimal.css
GinoGalotti/bardsjournal
8db43061fdff49e60d87cb7eb72749a716ec1863
[ "MIT" ]
3
2021-05-20T11:05:41.000Z
2022-02-26T05:58:59.000Z
css/main-minimal.css
GinoGalotti/bardsjournal
8db43061fdff49e60d87cb7eb72749a716ec1863
[ "MIT" ]
null
null
null
.main-content { padding-bottom: 50px; } footer.footer-min { position: fixed; bottom: 0; width: 100%; padding: 3px; background-color: #f5f5f5; border-top: 1px solid #eeeeee; text-align: center; } .archives .post-meta .list-inline li { font-size: 12pt; } .post-meta .list-inline li:not(:last-child):after { margin-left: 10px; content: "\2022"; } .post-meta .list-inline.social-sharing li:after { content: ""; margin-left: 0; } .post-meta .mdl2 { vertical-align: middle; }
16.129032
51
0.658
751c816752848928ce066e206def9c2061b0f753
7,725
c
C
beer_machine_mqtt/Src/lib/src/xuart.c
wkxboot/beer_machine_mqtt
01bfdc70542482f21d8688d7ac4c2d95ed36831b
[ "MIT" ]
null
null
null
beer_machine_mqtt/Src/lib/src/xuart.c
wkxboot/beer_machine_mqtt
01bfdc70542482f21d8688d7ac4c2d95ed36831b
[ "MIT" ]
null
null
null
beer_machine_mqtt/Src/lib/src/xuart.c
wkxboot/beer_machine_mqtt
01bfdc70542482f21d8688d7ac4c2d95ed36831b
[ "MIT" ]
2
2020-05-19T08:47:53.000Z
2020-11-06T02:48:16.000Z
/** **************************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * @file xuart.c * @brief uart库 * @author wkxboot * @version v1.0.0 * @date 2019/7/3 * @copyright <h4><left>&copy; copyright(c) 2019 wkxboot 1131204425@qq.com</center></h4> * * ****************************************************************************************/ #include "xuart.h" #include "debug_assert.h" /** 内部维护的实体*/ typedef struct { uint8_t is_driver_register;/**< 驱动是否注册*/ xuart_hal_driver_t *driver;/**< 驱动指针*/ }xuart_instance_t; /** 内部维护的实体*/ static xuart_instance_t xuart; /** * @brief 从串口非阻塞的读取数据 * @param handle 串口句柄 * @param dst 数据保存目的地址 * @param size 期望读取的数量 * @return 读取的数量 * @note 可重入 */ uint32_t xuart_read(xuart_handle_t *handle,uint8_t *dst,uint32_t size) { uint32_t read = 0; DEBUG_ASSERT_FALSE(xuart.is_driver_register); DEBUG_ASSERT_NULL(handle); DEBUG_ASSERT_NULL(dst); XUART_ENTER_CRITICAL(); read = circle_buffer_read(&handle->recv,dst,size); if (read > 0 && handle->is_rxne_int_enable == 0) { handle->is_rxne_int_enable = 1; xuart.driver->enable_rxne_it(handle->setting.port); } XUART_EXIT_CRITICAL(); return read; } /** * @brief 从串口非阻塞的写入指定数量的数据 * @param handle 串口句柄 * @param src 数据源地址 * @param size 期望写入的数量 * @return 实际写入的数量 * @note 可重入 */ uint32_t xuart_write(xuart_handle_t *handle,const uint8_t *src,uint32_t size) { uint32_t write = 0; DEBUG_ASSERT_FALSE(xuart.is_driver_register); DEBUG_ASSERT_NULL(handle); DEBUG_ASSERT_NULL(src); XUART_ENTER_CRITICAL(); write = circle_buffer_write(&handle->send,src,size); if (write > 0 && handle->is_txe_int_enable == 0){ handle->is_txe_int_enable = 1; xuart.driver->enable_txe_it(handle->setting.port); } XUART_EXIT_CRITICAL(); return write; } /** * @brief 串口缓存清除 * @param handle 串口句柄 * @return 无 * @note */ void xuart_clear(xuart_handle_t *handle) { DEBUG_ASSERT_FALSE(xuart.is_driver_register); DEBUG_ASSERT_NULL(handle); DEBUG_ASSERT_NULL(handle->is_port_open); XUART_ENTER_CRITICAL(); handle->is_txe_int_enable = 0; handle->is_rxne_int_enable = 1; xuart.driver->disable_txe_it(handle->setting.port); xuart.driver->enable_rxne_it(handle->setting.port); circle_buffer_flush(&handle->recv); circle_buffer_flush(&handle->send); XUART_EXIT_CRITICAL(); } /** * @brief 打开串口 * @param handle 创建输出的串口句柄指针 * @param port 端口号 * @param baudrate 波特率 * @param data_bits 数据位 * @param stop_bit 数据 * @param handle 创建输出的串口句柄指针 * @return -1:失败 0:成功 * @note */ int xuart_open(xuart_handle_t *handle,uint8_t port,uint32_t baudrate,uint8_t data_bit,uint8_t stop_bit, uint8_t *rx_buffer,uint32_t rx_size,uint8_t *tx_buffer,uint32_t tx_size) { int rc; DEBUG_ASSERT_FALSE(xuart.is_driver_register); DEBUG_ASSERT_NULL(handle); XUART_ENTER_CRITICAL(); rc = xuart.driver->init(port,baudrate,data_bit,stop_bit); if (rc != 0){ return -1; } handle->setting.port = port; handle->setting.baudrate = baudrate; handle->setting.data_bit = data_bit; handle->setting.stop_bit = stop_bit; xuart.driver->enable_rxne_it(handle->setting.port); xuart.driver->disable_txe_it(handle->setting.port); handle->is_rxne_int_enable = 1; handle->is_txe_int_enable = 0; circle_buffer_init(&handle->recv,rx_buffer,rx_size); circle_buffer_init(&handle->send,tx_buffer,tx_size); handle->is_port_open = 1; XUART_EXIT_CRITICAL(); return 0; } /** * @brief 关闭串口 * @param handle 串口句柄 * @return -1: 失败 0:失败 * @note */ int xuart_close(xuart_handle_t *handle) { int rc = 0; DEBUG_ASSERT_FALSE(xuart.is_driver_register); DEBUG_ASSERT_NULL(handle); if (handle->is_port_open == 0) { return 0; } XUART_ENTER_CRITICAL(); rc = xuart.driver->deinit(handle->setting.port); if (rc != 0){ return -1; } xuart.driver->disable_rxne_it(handle->setting.port); xuart.driver->disable_txe_it(handle->setting.port); handle->is_rxne_int_enable = 0; handle->is_txe_int_enable = 0; handle->is_port_open = 0; circle_buffer_flush(&handle->recv); circle_buffer_flush(&handle->send); XUART_EXIT_CRITICAL(); return 0; } /** * @brief 串口注册驱动 * @param driver 串口硬件驱动 * @return 初始化是否成功 * @retval 0 成功 * @retval -1 失败 * @note */ int xuart_register_hal_driver(xuart_hal_driver_t *driver) { if (driver == NULL || driver->init == NULL || driver->deinit == NULL || \ driver->enable_txe_it == NULL || driver->disable_txe_it == NULL || \ driver->enable_rxne_it == NULL || driver->disable_rxne_it == NULL) { return -1; } xuart.driver = driver; xuart.is_driver_register = 1; return 0; } /** * @brief 串口中断接收一个字节 * @param handle 串口句柄 * @param recv 接收到的字节 * @return none * @note */ uint32_t xuart_isr_put_char(xuart_handle_t *handle,uint8_t recv) { uint32_t write; DEBUG_ASSERT_FALSE(xuart.is_driver_register); DEBUG_ASSERT_NULL(handle); DEBUG_ASSERT_NULL(handle->is_port_open); write = circle_buffer_write(&handle->recv,&recv,1); if (write == 0 ) { /*禁止接收中断*/ handle->is_rxne_int_enable = 0; xuart.driver->disable_rxne_it(handle->setting.port); } return write; } /** * @brief 串口中断发送一个字节 * @param handle 串口句柄 * @param recv 需要发送的字节 * @return none * @note */ uint32_t xuart_isr_get_char(xuart_handle_t *handle,uint8_t *send) { uint32_t read; DEBUG_ASSERT_FALSE(xuart.is_driver_register); DEBUG_ASSERT_NULL(handle); DEBUG_ASSERT_NULL(handle->is_port_open); read = circle_buffer_read(&handle->send,send,1); if (read == 0 ) { /*禁止发送中断*/ handle->is_txe_int_enable = 0; xuart.driver->disable_txe_it(handle->setting.port); } return read; } #if XUART_IN_FREERTOS > 0 #include "cmsis_os.h" #include "tiny_timer.h" /** * @brief 串口等待数据 * @param handle 串口句柄 * @param timeout 超时时间 * @return 接收缓存中的数据量 * @note */ uint32_t xuart_select(xuart_handle_t *handle,uint32_t timeout) { tiny_timer_t timer; DEBUG_ASSERT_FALSE(xuart.is_driver_register); DEBUG_ASSERT_NULL(handle); DEBUG_ASSERT_NULL(handle->is_port_open); tiny_timer_init(&timer,0,timeout); while (tiny_timer_value(&timer) > 0 && circle_buffer_size(&handle->recv) == 0) { osDelay(1); } return circle_buffer_size(&handle->recv); } /** * @brief 串口等待数据发送完毕 * @param handle 串口句柄 * @param timeout 超时时间 * @return 发送缓存中的数据量 * @note */ uint32_t xuart_complete(xuart_handle_t *handle,uint32_t timeout) { tiny_timer_t timer; DEBUG_ASSERT_FALSE(xuart.is_driver_register); DEBUG_ASSERT_NULL(handle); DEBUG_ASSERT_NULL(handle->is_port_open); tiny_timer_init(&timer,0,timeout); while (tiny_timer_value(&timer) > 0 && circle_buffer_size(&handle->send) > 0) { osDelay(1); } return circle_buffer_size(&handle->send); } #endif
24.839228
239
0.617217
fb56a79a39bc42bf15620c95cd28b0fe6e3f0cf3
940
kt
Kotlin
lib/src/main/java/com/raqun/smartclient/lib/headers/DefaultHeaderKeys.kt
savepopulation/smart-client
71c6476300540fa34cefc4dc568aefd362969c93
[ "Apache-2.0" ]
27
2022-01-23T17:58:19.000Z
2022-03-19T12:01:16.000Z
lib/src/main/java/com/raqun/smartclient/lib/headers/DefaultHeaderKeys.kt
savepopulation/smart-client
71c6476300540fa34cefc4dc568aefd362969c93
[ "Apache-2.0" ]
null
null
null
lib/src/main/java/com/raqun/smartclient/lib/headers/DefaultHeaderKeys.kt
savepopulation/smart-client
71c6476300540fa34cefc4dc568aefd362969c93
[ "Apache-2.0" ]
2
2022-02-21T03:11:58.000Z
2022-03-06T06:01:18.000Z
package com.raqun.smartclient.lib.headers open class DefaultHeaderKeys( override val contentTypeKey: String = "Content-Type", override val acceptKey: String = "Accept", override val deviceLocaleKey: String = "x-device-locale", override val deviceBrandKey: String = "x-device-brand", override val deviceModelKey: String = "x-device-model", override val deviceOsKey: String = "x-device-os", override val deviceOsTypeKey: String = "x-device-os-type", override val channelKey: String = "x-channel", override val deviceTypeKey: String = "x-device-type", override val isEmulatorKey: String = "x-app-is-emulator", override val isRootedKey: String = "x-is-rooted", override val timeStampKey: String = "x-timestamp", override val clientIdKey: String = "x-client-id", override val sessionIdKey: String = "x-session-id", override val isFirstOpen: String = "x-is-first-open" ) : HeaderKeyMap
49.473684
62
0.715957
9b9c680869b7bac00bc667b81b7b717d9d5d46a0
1,111
js
JavaScript
script.js
Agnes-N/Akan-Names
8ca6c4f853156c9d5f16c630597c1340cd635225
[ "MIT" ]
null
null
null
script.js
Agnes-N/Akan-Names
8ca6c4f853156c9d5f16c630597c1340cd635225
[ "MIT" ]
null
null
null
script.js
Agnes-N/Akan-Names
8ca6c4f853156c9d5f16c630597c1340cd635225
[ "MIT" ]
null
null
null
function weekdays() { var day = document.getElementById("day").value; var enterDate = day.split("-"); var dd = parseInt(enterDate[2]); var mm = parseInt(enterDate[1]); var yy = parseInt(enterDate[0]); var CC = (yy - 1) / 100 + 1; var birthDay = (CC / 4 - 2 * CC - 1 + 5 * yy / 4 + 26 * (mm + 1) / 10 + dd) % 7; document.getElementById("display").innerHTML = Math.round(birthDay); var malesNames = ["kwasi", "kwadwo", "kwabena", "kwaku", "yaw", "kofi", "kwame"]; var femalesNames = ["Akosua", "Adwoa", "Abenaa", "Akua", "Yaa", "Afua", "Ama"]; var gender = document.querySelector('input[name="optradio"]:checked').value;; console.log(gender); if (gender === "male") { console.log(malesNames[Math.round(birthDay)]); document.getElementById("names").innerHTML = malesNames[Math.round(birthDay)]; } else if (gender === "female") { console.log(femalesNames[Math.round(birthDay)]); document.getElementById("names").innerHTML = femalesNames[Math.round(birthDay)]; } else { console.log("invalid outuput"); } }
37.033333
88
0.60396
6e1b9bcc2e58b4fb122daf241903deae06ec71d0
7,492
html
HTML
connectingToInternet/guides/checkingStatusOfNetworkEthernet.html
OldDigibox/sky-broadband-help-2007
a02f86aa166a3a671df67916dd5f58dec7dd02a0
[ "MIT" ]
null
null
null
connectingToInternet/guides/checkingStatusOfNetworkEthernet.html
OldDigibox/sky-broadband-help-2007
a02f86aa166a3a671df67916dd5f58dec7dd02a0
[ "MIT" ]
null
null
null
connectingToInternet/guides/checkingStatusOfNetworkEthernet.html
OldDigibox/sky-broadband-help-2007
a02f86aa166a3a671df67916dd5f58dec7dd02a0
[ "MIT" ]
null
null
null
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><title>Sky Broadband Help : Step 4</title><meta content="text/xhtml; charset=UTF-8" http-equiv="Content-Type" /><link media="screen" rel="stylesheet" type="text/css" href="../../library/css/screen.css" /><link media="print" rel="stylesheet" type="text/css" href="../../library/css/print.css" /><script type="text/javascript" src="../../library/js/scripts.js"> </script></head><body><div id="container"><div id="header"><a href="../../index.html"><img alt="Home" height="87" width="329" src="../../library/images/general/logo.gif" /></a></div><ul id="nav"><li><a id="nav0" title="Home" href="../../index.html">Home</a></li><li class="selected"><a id="nav1" title="Connecting to the Internet" href="../../connectingToInternet/qa.html">Connecting to the Internet</a></li><li><a id="nav2" title="Setting up wireless" href="../../settingUpWireless/qa.html">Setting Up Wireless</a></li><li><a id="nav3" title="Staying Secure With McAfee" href="../../stayingSecureWithMacafee/qa.html">Staying Secure With McAfee</a></li><li><a id="nav4" title="Using Sky Email" href="../../usingSkyEmail/qa.html">Using Sky Email</a></li><li><a id="nav5" title="Enjoying Sky Anytime" href="../../usingTheInternet/qa.html">Enjoying Sky Anytime</a></li></ul><div id="frameTop"> </div><div id="frameBody"><div id="content"><ul id="breadcrumbs"><li><a href="../../index.html">Home</a></li><li> &gt;  <a href="../../connectingToInternet/qa.html#3">Connecting to the Internet</a></li><li> &gt;  Step 4</li></ul><h1 class="step4">Step 4</h1><div id="guide"><div class="intro"> <p>To check the status of your connection with the Local Area Connection:</p> </div><div class="steps"><ol class="steps"><li class="step"><span class="stepNum step1"> </span><div class="stepCopy"> <p> From your desktop, click on <strong>START</strong> and select <strong>CONTROL PANEL</strong> </p> </div><div class="stepImage"> </div></li><li class="step"><span class="stepNum step2"> </span><div class="stepCopy"> <p> From the Control Panel window, select <strong>Network and Internet Connections</strong> </p> </div><div class="stepImage"><img alt="" src="../../library/images/guides/checkingStatusOfNetworkEthernet1.png" /></div></li><li class="step"><span class="stepNum step3"> </span><div class="stepCopy"> <p> Select <strong>Network Connections</strong> </p> </div><div class="stepImage"><img alt="" src="../../library/images/guides/checkingStatusOfNetworkEthernet2.png" /></div></li><li class="step"><span class="stepNum step4"> </span><div class="stepCopy"> <p> In the Network Connections window, look for the Local Area Connection icon </p> </div><div class="stepImage"><img alt="" src="../../library/images/guides/checkingStatusOfNetworkEthernet3.png" /></div></li><li class="step"><span class="stepNum step5"> </span><div class="stepCopy"> <p>If the Local Area Connection icon has a yellow triangle with an exclamation mark (!) where the red cross is shown in the screen above, you will need to follow the steps below to change your IP settings to a manual configuration</p> <ul> <li> If the Local Area Connection icon does not have a red cross or yellow triangle, this means you are successfully connected to the Sky wireless router - if you are still experiencing connection problems, go to check your <a href="checkingProxySettings.html">web browser’s proxy settings</a> </li> </ul> </div><div class="stepImage"> </div></li><li class="step"><span class="stepNum step6"> </span><div class="stepCopy"> <p>To manually configure your IP Settings:</p> <ul> <li> In the Network Connections window, Right Click on the Local Area Connection icon, then click on <strong>Properties</strong> at the bottom of the menu </li> </ul> </div><div class="stepImage"><img alt="" src="../../library/images/guides/checkingStatusOfNetworkEthernet4.png" /></div></li><li class="step"><span class="stepNum step7"> </span><div class="stepCopy"> <p>In the Local Area Connection Properties window, scroll down in the ‘This connection uses the following items’ window until you see Internet Protocol (TCP/IP) – click this once, then select Properties</p> </div><div class="stepImage"><img alt="" src="../../library/images/guides/checkingStatusOfNetworkEthernet5.png" /></div></li><li class="step"><span class="stepNum step8"> </span><div class="stepCopy"> <p> <strong>Select Use the following IP address</strong> </p> </div><div class="stepImage"> </div></li><li class="step"><span class="stepNum step9"> </span><div class="stepCopy"> <p> Set the <strong>IP address</strong> to: 192.168.0.X (where X <strong>must</strong> be a number of your choice between 2 and 254 and should be <strong>unique</strong> for each PC connecting to the Sky wireless router) </p> </div><div class="stepImage"> </div></li><li class="step"><span class="stepNum step10"> </span><div class="stepCopy"> <p> Set the <strong>Subnet Mask</strong> to 255.255.255.0 </p> </div><div class="stepImage"> </div></li><li class="step"><span class="stepNum step11"> </span><div class="stepCopy"> <p> Set the <strong>Default gateway</strong> as 192.168.0.1 </p> </div><div class="stepImage"> </div></li><li class="step"><span class="stepNum step12"> </span><div class="stepCopy"> <p> Select <strong>Use the following DNS server addresses</strong> </p> </div><div class="stepImage"> </div></li><li class="step"><span class="stepNum step13"> </span><div class="stepCopy"> <p> Set the <strong>Preferred DNS server</strong> to 192.168.0.1 </p> </div><div class="stepImage"> </div></li><li class="step"><span class="stepNum step14"> </span><div class="stepCopy"> <p> Leave the <strong>Alternate DNS server</strong> blank </p> </div><div class="stepImage"> </div></li><li class="step"><span class="stepNum step15"> </span><div class="stepCopy"> <p> Click <strong>OK</strong> </p> </div><div class="stepImage"><img alt="" src="../../library/images/guides/checkingStatusOfNetworkEthernet6.png" /></div></li><li class="step"><span class="stepNum step16"> </span><div class="stepCopy"> <p> Click <strong>OK</strong> again on the <strong>Local Area connection properties</strong> window </p> </div><div class="stepImage"> </div></li><li class="step"><span class="stepNum step17"> </span><div class="stepCopy"> <p>Restart your computer and open a browser window to see if this has resolved the issue</p> </div><div class="stepImage"> </div></li></ol></div></div></div></div><div id="frameBot"> </div></div><div id="footer"><div id="footerText"><div id="copyright">© 2006 BSkyB Ltd All Rights Reserved </div></div></div></body></html>
96.051282
1,437
0.626935
3e6a283af34f603d2519e3bf8a344d9ba6315463
21,525
c
C
release/src-rt-6.x.4708/linux/linux-2.6.36/arch/arm/mach-mx5/clock-mx51.c
afeng11/tomato-arm
1ca18a88480b34fd495e683d849f46c2d47bb572
[ "FSFAP" ]
4
2017-05-17T11:27:04.000Z
2020-05-24T07:23:26.000Z
release/src-rt-6.x.4708/linux/linux-2.6.36/arch/arm/mach-mx5/clock-mx51.c
afeng11/tomato-arm
1ca18a88480b34fd495e683d849f46c2d47bb572
[ "FSFAP" ]
1
2018-08-21T03:43:09.000Z
2018-08-21T03:43:09.000Z
release/src-rt-6.x.4708/linux/linux-2.6.36/arch/arm/mach-mx5/clock-mx51.c
afeng11/tomato-arm
1ca18a88480b34fd495e683d849f46c2d47bb572
[ "FSFAP" ]
5
2017-10-11T08:09:11.000Z
2020-10-14T04:10:13.000Z
/* * Copyright 2008-2010 Freescale Semiconductor, Inc. All Rights Reserved. * Copyright (C) 2009-2010 Amit Kucheria <amit.kucheria@canonical.com> * * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License * Version 2 or later at the following locations: * * http://www.opensource.org/licenses/gpl-license.html * http://www.gnu.org/copyleft/gpl.html */ #include <linux/mm.h> #include <linux/delay.h> #include <linux/clk.h> #include <linux/io.h> #include <asm/clkdev.h> #include <asm/div64.h> #include <mach/hardware.h> #include <mach/common.h> #include <mach/clock.h> #include "crm_regs.h" /* External clock values passed-in by the board code */ static unsigned long external_high_reference, external_low_reference; static unsigned long oscillator_reference, ckih2_reference; static struct clk osc_clk; static struct clk pll1_main_clk; static struct clk pll1_sw_clk; static struct clk pll2_sw_clk; static struct clk pll3_sw_clk; static struct clk lp_apm_clk; static struct clk periph_apm_clk; static struct clk ahb_clk; static struct clk ipg_clk; static struct clk usboh3_clk; #define MAX_DPLL_WAIT_TRIES 1000 /* 1000 * udelay(1) = 1ms */ static int _clk_ccgr_enable(struct clk *clk) { u32 reg; reg = __raw_readl(clk->enable_reg); reg |= MXC_CCM_CCGRx_MOD_ON << clk->enable_shift; __raw_writel(reg, clk->enable_reg); return 0; } static void _clk_ccgr_disable(struct clk *clk) { u32 reg; reg = __raw_readl(clk->enable_reg); reg &= ~(MXC_CCM_CCGRx_CG_MASK << clk->enable_shift); __raw_writel(reg, clk->enable_reg); } static void _clk_ccgr_disable_inwait(struct clk *clk) { u32 reg; reg = __raw_readl(clk->enable_reg); reg &= ~(MXC_CCM_CCGRx_CG_MASK << clk->enable_shift); reg |= MXC_CCM_CCGRx_MOD_IDLE << clk->enable_shift; __raw_writel(reg, clk->enable_reg); } /* * For the 4-to-1 muxed input clock */ static inline u32 _get_mux(struct clk *parent, struct clk *m0, struct clk *m1, struct clk *m2, struct clk *m3) { if (parent == m0) return 0; else if (parent == m1) return 1; else if (parent == m2) return 2; else if (parent == m3) return 3; else BUG(); return -EINVAL; } static inline void __iomem *_get_pll_base(struct clk *pll) { if (pll == &pll1_main_clk) return MX51_DPLL1_BASE; else if (pll == &pll2_sw_clk) return MX51_DPLL2_BASE; else if (pll == &pll3_sw_clk) return MX51_DPLL3_BASE; else BUG(); return NULL; } static unsigned long clk_pll_get_rate(struct clk *clk) { long mfi, mfn, mfd, pdf, ref_clk, mfn_abs; unsigned long dp_op, dp_mfd, dp_mfn, dp_ctl, pll_hfsm, dbl; void __iomem *pllbase; s64 temp; unsigned long parent_rate; parent_rate = clk_get_rate(clk->parent); pllbase = _get_pll_base(clk); dp_ctl = __raw_readl(pllbase + MXC_PLL_DP_CTL); pll_hfsm = dp_ctl & MXC_PLL_DP_CTL_HFSM; dbl = dp_ctl & MXC_PLL_DP_CTL_DPDCK0_2_EN; if (pll_hfsm == 0) { dp_op = __raw_readl(pllbase + MXC_PLL_DP_OP); dp_mfd = __raw_readl(pllbase + MXC_PLL_DP_MFD); dp_mfn = __raw_readl(pllbase + MXC_PLL_DP_MFN); } else { dp_op = __raw_readl(pllbase + MXC_PLL_DP_HFS_OP); dp_mfd = __raw_readl(pllbase + MXC_PLL_DP_HFS_MFD); dp_mfn = __raw_readl(pllbase + MXC_PLL_DP_HFS_MFN); } pdf = dp_op & MXC_PLL_DP_OP_PDF_MASK; mfi = (dp_op & MXC_PLL_DP_OP_MFI_MASK) >> MXC_PLL_DP_OP_MFI_OFFSET; mfi = (mfi <= 5) ? 5 : mfi; mfd = dp_mfd & MXC_PLL_DP_MFD_MASK; mfn = mfn_abs = dp_mfn & MXC_PLL_DP_MFN_MASK; /* Sign extend to 32-bits */ if (mfn >= 0x04000000) { mfn |= 0xFC000000; mfn_abs = -mfn; } ref_clk = 2 * parent_rate; if (dbl != 0) ref_clk *= 2; ref_clk /= (pdf + 1); temp = (u64) ref_clk * mfn_abs; do_div(temp, mfd + 1); if (mfn < 0) temp = -temp; temp = (ref_clk * mfi) + temp; return temp; } static int _clk_pll_set_rate(struct clk *clk, unsigned long rate) { u32 reg; void __iomem *pllbase; long mfi, pdf, mfn, mfd = 999999; s64 temp64; unsigned long quad_parent_rate; unsigned long pll_hfsm, dp_ctl; unsigned long parent_rate; parent_rate = clk_get_rate(clk->parent); pllbase = _get_pll_base(clk); quad_parent_rate = 4 * parent_rate; pdf = mfi = -1; while (++pdf < 16 && mfi < 5) mfi = rate * (pdf+1) / quad_parent_rate; if (mfi > 15) return -EINVAL; pdf--; temp64 = rate * (pdf+1) - quad_parent_rate * mfi; do_div(temp64, quad_parent_rate/1000000); mfn = (long)temp64; dp_ctl = __raw_readl(pllbase + MXC_PLL_DP_CTL); /* use dpdck0_2 */ __raw_writel(dp_ctl | 0x1000L, pllbase + MXC_PLL_DP_CTL); pll_hfsm = dp_ctl & MXC_PLL_DP_CTL_HFSM; if (pll_hfsm == 0) { reg = mfi << 4 | pdf; __raw_writel(reg, pllbase + MXC_PLL_DP_OP); __raw_writel(mfd, pllbase + MXC_PLL_DP_MFD); __raw_writel(mfn, pllbase + MXC_PLL_DP_MFN); } else { reg = mfi << 4 | pdf; __raw_writel(reg, pllbase + MXC_PLL_DP_HFS_OP); __raw_writel(mfd, pllbase + MXC_PLL_DP_HFS_MFD); __raw_writel(mfn, pllbase + MXC_PLL_DP_HFS_MFN); } return 0; } static int _clk_pll_enable(struct clk *clk) { u32 reg; void __iomem *pllbase; int i = 0; pllbase = _get_pll_base(clk); reg = __raw_readl(pllbase + MXC_PLL_DP_CTL) | MXC_PLL_DP_CTL_UPEN; __raw_writel(reg, pllbase + MXC_PLL_DP_CTL); /* Wait for lock */ do { reg = __raw_readl(pllbase + MXC_PLL_DP_CTL); if (reg & MXC_PLL_DP_CTL_LRF) break; udelay(1); } while (++i < MAX_DPLL_WAIT_TRIES); if (i == MAX_DPLL_WAIT_TRIES) { pr_err("MX5: pll locking failed\n"); return -EINVAL; } return 0; } static void _clk_pll_disable(struct clk *clk) { u32 reg; void __iomem *pllbase; pllbase = _get_pll_base(clk); reg = __raw_readl(pllbase + MXC_PLL_DP_CTL) & ~MXC_PLL_DP_CTL_UPEN; __raw_writel(reg, pllbase + MXC_PLL_DP_CTL); } static int _clk_pll1_sw_set_parent(struct clk *clk, struct clk *parent) { u32 reg, step; reg = __raw_readl(MXC_CCM_CCSR); /* When switching from pll_main_clk to a bypass clock, first select a * multiplexed clock in 'step_sel', then shift the glitchless mux * 'pll1_sw_clk_sel'. * * When switching back, do it in reverse order */ if (parent == &pll1_main_clk) { /* Switch to pll1_main_clk */ reg &= ~MXC_CCM_CCSR_PLL1_SW_CLK_SEL; __raw_writel(reg, MXC_CCM_CCSR); /* step_clk mux switched to lp_apm, to save power. */ reg = __raw_readl(MXC_CCM_CCSR); reg &= ~MXC_CCM_CCSR_STEP_SEL_MASK; reg |= (MXC_CCM_CCSR_STEP_SEL_LP_APM << MXC_CCM_CCSR_STEP_SEL_OFFSET); } else { if (parent == &lp_apm_clk) { step = MXC_CCM_CCSR_STEP_SEL_LP_APM; } else if (parent == &pll2_sw_clk) { step = MXC_CCM_CCSR_STEP_SEL_PLL2_DIVIDED; } else if (parent == &pll3_sw_clk) { step = MXC_CCM_CCSR_STEP_SEL_PLL3_DIVIDED; } else return -EINVAL; reg &= ~MXC_CCM_CCSR_STEP_SEL_MASK; reg |= (step << MXC_CCM_CCSR_STEP_SEL_OFFSET); __raw_writel(reg, MXC_CCM_CCSR); /* Switch to step_clk */ reg = __raw_readl(MXC_CCM_CCSR); reg |= MXC_CCM_CCSR_PLL1_SW_CLK_SEL; } __raw_writel(reg, MXC_CCM_CCSR); return 0; } static unsigned long clk_pll1_sw_get_rate(struct clk *clk) { u32 reg, div; unsigned long parent_rate; parent_rate = clk_get_rate(clk->parent); reg = __raw_readl(MXC_CCM_CCSR); if (clk->parent == &pll2_sw_clk) { div = ((reg & MXC_CCM_CCSR_PLL2_PODF_MASK) >> MXC_CCM_CCSR_PLL2_PODF_OFFSET) + 1; } else if (clk->parent == &pll3_sw_clk) { div = ((reg & MXC_CCM_CCSR_PLL3_PODF_MASK) >> MXC_CCM_CCSR_PLL3_PODF_OFFSET) + 1; } else div = 1; return parent_rate / div; } static int _clk_pll2_sw_set_parent(struct clk *clk, struct clk *parent) { u32 reg; reg = __raw_readl(MXC_CCM_CCSR); if (parent == &pll2_sw_clk) reg &= ~MXC_CCM_CCSR_PLL2_SW_CLK_SEL; else reg |= MXC_CCM_CCSR_PLL2_SW_CLK_SEL; __raw_writel(reg, MXC_CCM_CCSR); return 0; } static int _clk_lp_apm_set_parent(struct clk *clk, struct clk *parent) { u32 reg; if (parent == &osc_clk) reg = __raw_readl(MXC_CCM_CCSR) & ~MXC_CCM_CCSR_LP_APM_SEL; else return -EINVAL; __raw_writel(reg, MXC_CCM_CCSR); return 0; } static unsigned long clk_arm_get_rate(struct clk *clk) { u32 cacrr, div; unsigned long parent_rate; parent_rate = clk_get_rate(clk->parent); cacrr = __raw_readl(MXC_CCM_CACRR); div = (cacrr & MXC_CCM_CACRR_ARM_PODF_MASK) + 1; return parent_rate / div; } static int _clk_periph_apm_set_parent(struct clk *clk, struct clk *parent) { u32 reg, mux; int i = 0; mux = _get_mux(parent, &pll1_sw_clk, &pll3_sw_clk, &lp_apm_clk, NULL); reg = __raw_readl(MXC_CCM_CBCMR) & ~MXC_CCM_CBCMR_PERIPH_CLK_SEL_MASK; reg |= mux << MXC_CCM_CBCMR_PERIPH_CLK_SEL_OFFSET; __raw_writel(reg, MXC_CCM_CBCMR); /* Wait for lock */ do { reg = __raw_readl(MXC_CCM_CDHIPR); if (!(reg & MXC_CCM_CDHIPR_PERIPH_CLK_SEL_BUSY)) break; udelay(1); } while (++i < MAX_DPLL_WAIT_TRIES); if (i == MAX_DPLL_WAIT_TRIES) { pr_err("MX5: Set parent for periph_apm clock failed\n"); return -EINVAL; } return 0; } static int _clk_main_bus_set_parent(struct clk *clk, struct clk *parent) { u32 reg; reg = __raw_readl(MXC_CCM_CBCDR); if (parent == &pll2_sw_clk) reg &= ~MXC_CCM_CBCDR_PERIPH_CLK_SEL; else if (parent == &periph_apm_clk) reg |= MXC_CCM_CBCDR_PERIPH_CLK_SEL; else return -EINVAL; __raw_writel(reg, MXC_CCM_CBCDR); return 0; } static struct clk main_bus_clk = { .parent = &pll2_sw_clk, .set_parent = _clk_main_bus_set_parent, }; static unsigned long clk_ahb_get_rate(struct clk *clk) { u32 reg, div; unsigned long parent_rate; parent_rate = clk_get_rate(clk->parent); reg = __raw_readl(MXC_CCM_CBCDR); div = ((reg & MXC_CCM_CBCDR_AHB_PODF_MASK) >> MXC_CCM_CBCDR_AHB_PODF_OFFSET) + 1; return parent_rate / div; } static int _clk_ahb_set_rate(struct clk *clk, unsigned long rate) { u32 reg, div; unsigned long parent_rate; int i = 0; parent_rate = clk_get_rate(clk->parent); div = parent_rate / rate; if (div > 8 || div < 1 || ((parent_rate / div) != rate)) return -EINVAL; reg = __raw_readl(MXC_CCM_CBCDR); reg &= ~MXC_CCM_CBCDR_AHB_PODF_MASK; reg |= (div - 1) << MXC_CCM_CBCDR_AHB_PODF_OFFSET; __raw_writel(reg, MXC_CCM_CBCDR); /* Wait for lock */ do { reg = __raw_readl(MXC_CCM_CDHIPR); if (!(reg & MXC_CCM_CDHIPR_AHB_PODF_BUSY)) break; udelay(1); } while (++i < MAX_DPLL_WAIT_TRIES); if (i == MAX_DPLL_WAIT_TRIES) { pr_err("MX5: clk_ahb_set_rate failed\n"); return -EINVAL; } return 0; } static unsigned long _clk_ahb_round_rate(struct clk *clk, unsigned long rate) { u32 div; unsigned long parent_rate; parent_rate = clk_get_rate(clk->parent); div = parent_rate / rate; if (div > 8) div = 8; else if (div == 0) div++; return parent_rate / div; } static int _clk_max_enable(struct clk *clk) { u32 reg; _clk_ccgr_enable(clk); /* Handshake with MAX when LPM is entered. */ reg = __raw_readl(MXC_CCM_CLPCR); reg &= ~MXC_CCM_CLPCR_BYPASS_MAX_LPM_HS; __raw_writel(reg, MXC_CCM_CLPCR); return 0; } static void _clk_max_disable(struct clk *clk) { u32 reg; _clk_ccgr_disable_inwait(clk); /* No Handshake with MAX when LPM is entered as its disabled. */ reg = __raw_readl(MXC_CCM_CLPCR); reg |= MXC_CCM_CLPCR_BYPASS_MAX_LPM_HS; __raw_writel(reg, MXC_CCM_CLPCR); } static unsigned long clk_ipg_get_rate(struct clk *clk) { u32 reg, div; unsigned long parent_rate; parent_rate = clk_get_rate(clk->parent); reg = __raw_readl(MXC_CCM_CBCDR); div = ((reg & MXC_CCM_CBCDR_IPG_PODF_MASK) >> MXC_CCM_CBCDR_IPG_PODF_OFFSET) + 1; return parent_rate / div; } static unsigned long clk_ipg_per_get_rate(struct clk *clk) { u32 reg, prediv1, prediv2, podf; unsigned long parent_rate; parent_rate = clk_get_rate(clk->parent); if (clk->parent == &main_bus_clk || clk->parent == &lp_apm_clk) { /* the main_bus_clk is the one before the DVFS engine */ reg = __raw_readl(MXC_CCM_CBCDR); prediv1 = ((reg & MXC_CCM_CBCDR_PERCLK_PRED1_MASK) >> MXC_CCM_CBCDR_PERCLK_PRED1_OFFSET) + 1; prediv2 = ((reg & MXC_CCM_CBCDR_PERCLK_PRED2_MASK) >> MXC_CCM_CBCDR_PERCLK_PRED2_OFFSET) + 1; podf = ((reg & MXC_CCM_CBCDR_PERCLK_PODF_MASK) >> MXC_CCM_CBCDR_PERCLK_PODF_OFFSET) + 1; return parent_rate / (prediv1 * prediv2 * podf); } else if (clk->parent == &ipg_clk) return parent_rate; else BUG(); } static int _clk_ipg_per_set_parent(struct clk *clk, struct clk *parent) { u32 reg; reg = __raw_readl(MXC_CCM_CBCMR); reg &= ~MXC_CCM_CBCMR_PERCLK_LP_APM_CLK_SEL; reg &= ~MXC_CCM_CBCMR_PERCLK_IPG_CLK_SEL; if (parent == &ipg_clk) reg |= MXC_CCM_CBCMR_PERCLK_IPG_CLK_SEL; else if (parent == &lp_apm_clk) reg |= MXC_CCM_CBCMR_PERCLK_LP_APM_CLK_SEL; else if (parent != &main_bus_clk) return -EINVAL; __raw_writel(reg, MXC_CCM_CBCMR); return 0; } static unsigned long clk_uart_get_rate(struct clk *clk) { u32 reg, prediv, podf; unsigned long parent_rate; parent_rate = clk_get_rate(clk->parent); reg = __raw_readl(MXC_CCM_CSCDR1); prediv = ((reg & MXC_CCM_CSCDR1_UART_CLK_PRED_MASK) >> MXC_CCM_CSCDR1_UART_CLK_PRED_OFFSET) + 1; podf = ((reg & MXC_CCM_CSCDR1_UART_CLK_PODF_MASK) >> MXC_CCM_CSCDR1_UART_CLK_PODF_OFFSET) + 1; return parent_rate / (prediv * podf); } static int _clk_uart_set_parent(struct clk *clk, struct clk *parent) { u32 reg, mux; mux = _get_mux(parent, &pll1_sw_clk, &pll2_sw_clk, &pll3_sw_clk, &lp_apm_clk); reg = __raw_readl(MXC_CCM_CSCMR1) & ~MXC_CCM_CSCMR1_UART_CLK_SEL_MASK; reg |= mux << MXC_CCM_CSCMR1_UART_CLK_SEL_OFFSET; __raw_writel(reg, MXC_CCM_CSCMR1); return 0; } static unsigned long clk_usboh3_get_rate(struct clk *clk) { u32 reg, prediv, podf; unsigned long parent_rate; parent_rate = clk_get_rate(clk->parent); reg = __raw_readl(MXC_CCM_CSCDR1); prediv = ((reg & MXC_CCM_CSCDR1_USBOH3_CLK_PRED_MASK) >> MXC_CCM_CSCDR1_USBOH3_CLK_PRED_OFFSET) + 1; podf = ((reg & MXC_CCM_CSCDR1_USBOH3_CLK_PODF_MASK) >> MXC_CCM_CSCDR1_USBOH3_CLK_PODF_OFFSET) + 1; return parent_rate / (prediv * podf); } static int _clk_usboh3_set_parent(struct clk *clk, struct clk *parent) { u32 reg, mux; mux = _get_mux(parent, &pll1_sw_clk, &pll2_sw_clk, &pll3_sw_clk, &lp_apm_clk); reg = __raw_readl(MXC_CCM_CSCMR1) & ~MXC_CCM_CSCMR1_USBOH3_CLK_SEL_MASK; reg |= mux << MXC_CCM_CSCMR1_USBOH3_CLK_SEL_OFFSET; __raw_writel(reg, MXC_CCM_CSCMR1); return 0; } static unsigned long get_high_reference_clock_rate(struct clk *clk) { return external_high_reference; } static unsigned long get_low_reference_clock_rate(struct clk *clk) { return external_low_reference; } static unsigned long get_oscillator_reference_clock_rate(struct clk *clk) { return oscillator_reference; } static unsigned long get_ckih2_reference_clock_rate(struct clk *clk) { return ckih2_reference; } /* External high frequency clock */ static struct clk ckih_clk = { .get_rate = get_high_reference_clock_rate, }; static struct clk ckih2_clk = { .get_rate = get_ckih2_reference_clock_rate, }; static struct clk osc_clk = { .get_rate = get_oscillator_reference_clock_rate, }; /* External low frequency (32kHz) clock */ static struct clk ckil_clk = { .get_rate = get_low_reference_clock_rate, }; static struct clk pll1_main_clk = { .parent = &osc_clk, .get_rate = clk_pll_get_rate, .enable = _clk_pll_enable, .disable = _clk_pll_disable, }; /* Clock tree block diagram (WIP): * CCM: Clock Controller Module * * PLL output -> | * | CCM Switcher -> CCM_CLK_ROOT_GEN -> * PLL bypass -> | * */ /* PLL1 SW supplies to ARM core */ static struct clk pll1_sw_clk = { .parent = &pll1_main_clk, .set_parent = _clk_pll1_sw_set_parent, .get_rate = clk_pll1_sw_get_rate, }; /* PLL2 SW supplies to AXI/AHB/IP buses */ static struct clk pll2_sw_clk = { .parent = &osc_clk, .get_rate = clk_pll_get_rate, .set_rate = _clk_pll_set_rate, .set_parent = _clk_pll2_sw_set_parent, .enable = _clk_pll_enable, .disable = _clk_pll_disable, }; /* PLL3 SW supplies to serial clocks like USB, SSI, etc. */ static struct clk pll3_sw_clk = { .parent = &osc_clk, .set_rate = _clk_pll_set_rate, .get_rate = clk_pll_get_rate, .enable = _clk_pll_enable, .disable = _clk_pll_disable, }; /* Low-power Audio Playback Mode clock */ static struct clk lp_apm_clk = { .parent = &osc_clk, .set_parent = _clk_lp_apm_set_parent, }; static struct clk periph_apm_clk = { .parent = &pll1_sw_clk, .set_parent = _clk_periph_apm_set_parent, }; static struct clk cpu_clk = { .parent = &pll1_sw_clk, .get_rate = clk_arm_get_rate, }; static struct clk ahb_clk = { .parent = &main_bus_clk, .get_rate = clk_ahb_get_rate, .set_rate = _clk_ahb_set_rate, .round_rate = _clk_ahb_round_rate, }; /* Main IP interface clock for access to registers */ static struct clk ipg_clk = { .parent = &ahb_clk, .get_rate = clk_ipg_get_rate, }; static struct clk ipg_perclk = { .parent = &lp_apm_clk, .get_rate = clk_ipg_per_get_rate, .set_parent = _clk_ipg_per_set_parent, }; static struct clk uart_root_clk = { .parent = &pll2_sw_clk, .get_rate = clk_uart_get_rate, .set_parent = _clk_uart_set_parent, }; static struct clk usboh3_clk = { .parent = &pll2_sw_clk, .get_rate = clk_usboh3_get_rate, .set_parent = _clk_usboh3_set_parent, }; static struct clk ahb_max_clk = { .parent = &ahb_clk, .enable_reg = MXC_CCM_CCGR0, .enable_shift = MXC_CCM_CCGRx_CG14_OFFSET, .enable = _clk_max_enable, .disable = _clk_max_disable, }; static struct clk aips_tz1_clk = { .parent = &ahb_clk, .secondary = &ahb_max_clk, .enable_reg = MXC_CCM_CCGR0, .enable_shift = MXC_CCM_CCGRx_CG12_OFFSET, .enable = _clk_ccgr_enable, .disable = _clk_ccgr_disable_inwait, }; static struct clk aips_tz2_clk = { .parent = &ahb_clk, .secondary = &ahb_max_clk, .enable_reg = MXC_CCM_CCGR0, .enable_shift = MXC_CCM_CCGRx_CG13_OFFSET, .enable = _clk_ccgr_enable, .disable = _clk_ccgr_disable_inwait, }; static struct clk gpt_32k_clk = { .id = 0, .parent = &ckil_clk, }; static struct clk kpp_clk = { .id = 0, }; #define DEFINE_CLOCK(name, i, er, es, gr, sr, p, s) \ static struct clk name = { \ .id = i, \ .enable_reg = er, \ .enable_shift = es, \ .get_rate = gr, \ .set_rate = sr, \ .enable = _clk_ccgr_enable, \ .disable = _clk_ccgr_disable, \ .parent = p, \ .secondary = s, \ } /* DEFINE_CLOCK(name, id, enable_reg, enable_shift, get_rate, set_rate, parent, secondary); */ /* Shared peripheral bus arbiter */ DEFINE_CLOCK(spba_clk, 0, MXC_CCM_CCGR5, MXC_CCM_CCGRx_CG0_OFFSET, NULL, NULL, &ipg_clk, NULL); /* UART */ DEFINE_CLOCK(uart1_clk, 0, MXC_CCM_CCGR1, MXC_CCM_CCGRx_CG4_OFFSET, NULL, NULL, &uart_root_clk, NULL); DEFINE_CLOCK(uart2_clk, 1, MXC_CCM_CCGR1, MXC_CCM_CCGRx_CG6_OFFSET, NULL, NULL, &uart_root_clk, NULL); DEFINE_CLOCK(uart3_clk, 2, MXC_CCM_CCGR1, MXC_CCM_CCGRx_CG8_OFFSET, NULL, NULL, &uart_root_clk, NULL); DEFINE_CLOCK(uart1_ipg_clk, 0, MXC_CCM_CCGR1, MXC_CCM_CCGRx_CG3_OFFSET, NULL, NULL, &ipg_clk, &aips_tz1_clk); DEFINE_CLOCK(uart2_ipg_clk, 1, MXC_CCM_CCGR1, MXC_CCM_CCGRx_CG5_OFFSET, NULL, NULL, &ipg_clk, &aips_tz1_clk); DEFINE_CLOCK(uart3_ipg_clk, 2, MXC_CCM_CCGR1, MXC_CCM_CCGRx_CG7_OFFSET, NULL, NULL, &ipg_clk, &spba_clk); /* GPT */ DEFINE_CLOCK(gpt_clk, 0, MXC_CCM_CCGR2, MXC_CCM_CCGRx_CG9_OFFSET, NULL, NULL, &ipg_clk, NULL); DEFINE_CLOCK(gpt_ipg_clk, 0, MXC_CCM_CCGR2, MXC_CCM_CCGRx_CG10_OFFSET, NULL, NULL, &ipg_clk, NULL); /* I2C */ DEFINE_CLOCK(i2c1_clk, 0, MXC_CCM_CCGR1, MXC_CCM_CCGRx_CG9_OFFSET, NULL, NULL, &ipg_clk, NULL); DEFINE_CLOCK(i2c2_clk, 1, MXC_CCM_CCGR1, MXC_CCM_CCGRx_CG10_OFFSET, NULL, NULL, &ipg_clk, NULL); DEFINE_CLOCK(hsi2c_clk, 0, MXC_CCM_CCGR1, MXC_CCM_CCGRx_CG11_OFFSET, NULL, NULL, &ipg_clk, NULL); /* FEC */ DEFINE_CLOCK(fec_clk, 0, MXC_CCM_CCGR2, MXC_CCM_CCGRx_CG12_OFFSET, NULL, NULL, &ipg_clk, NULL); #define _REGISTER_CLOCK(d, n, c) \ { \ .dev_id = d, \ .con_id = n, \ .clk = &c, \ }, static struct clk_lookup lookups[] = { _REGISTER_CLOCK("imx-uart.0", NULL, uart1_clk) _REGISTER_CLOCK("imx-uart.1", NULL, uart2_clk) _REGISTER_CLOCK("imx-uart.2", NULL, uart3_clk) _REGISTER_CLOCK(NULL, "gpt", gpt_clk) _REGISTER_CLOCK("fec.0", NULL, fec_clk) _REGISTER_CLOCK("imx-i2c.0", NULL, i2c1_clk) _REGISTER_CLOCK("imx-i2c.1", NULL, i2c2_clk) _REGISTER_CLOCK("imx-i2c.2", NULL, hsi2c_clk) _REGISTER_CLOCK("mxc-ehci.0", "usb", usboh3_clk) _REGISTER_CLOCK("mxc-ehci.0", "usb_ahb", ahb_clk) _REGISTER_CLOCK("mxc-ehci.1", "usb", usboh3_clk) _REGISTER_CLOCK("mxc-ehci.1", "usb_ahb", ahb_clk) _REGISTER_CLOCK("fsl-usb2-udc", "usb", usboh3_clk) _REGISTER_CLOCK("fsl-usb2-udc", "usb_ahb", ahb_clk) _REGISTER_CLOCK("imx-keypad.0", NULL, kpp_clk) }; static void clk_tree_init(void) { u32 reg; ipg_perclk.set_parent(&ipg_perclk, &lp_apm_clk); reg = __raw_readl(MXC_CCM_CBCDR); reg &= ~MXC_CCM_CBCDR_PERCLK_PRED1_MASK; reg &= ~MXC_CCM_CBCDR_PERCLK_PRED2_MASK; reg &= ~MXC_CCM_CBCDR_PERCLK_PODF_MASK; reg |= (2 << MXC_CCM_CBCDR_PERCLK_PRED1_OFFSET); __raw_writel(reg, MXC_CCM_CBCDR); } int __init mx51_clocks_init(unsigned long ckil, unsigned long osc, unsigned long ckih1, unsigned long ckih2) { int i; external_low_reference = ckil; external_high_reference = ckih1; ckih2_reference = ckih2; oscillator_reference = osc; for (i = 0; i < ARRAY_SIZE(lookups); i++) clkdev_add(&lookups[i]); clk_tree_init(); clk_enable(&cpu_clk); clk_enable(&main_bus_clk); /* set the usboh3_clk parent to pll2_sw_clk */ clk_set_parent(&usboh3_clk, &pll2_sw_clk); /* System timer */ mxc_timer_init(&gpt_clk, MX51_IO_ADDRESS(MX51_GPT1_BASE_ADDR), MX51_MXC_INT_GPT); return 0; }
24.404762
74
0.72381
54a0fc4264c26932a2e277d96ca346450af2a97e
391,177
asm
Assembly
src/host/x86/sse/asm/uXsmmblend.asm
Navegos/uasmlib
619ba610750cb05dc689d93f07712e7595fcecc2
[ "MIT" ]
3
2020-08-14T07:08:05.000Z
2020-12-16T19:44:44.000Z
src/host/x86/sse/asm/uXsmmblend.asm
Navegos/uasmlib
619ba610750cb05dc689d93f07712e7595fcecc2
[ "MIT" ]
null
null
null
src/host/x86/sse/asm/uXsmmblend.asm
Navegos/uasmlib
619ba610750cb05dc689d93f07712e7595fcecc2
[ "MIT" ]
1
2019-07-16T03:28:30.000Z
2019-07-16T03:28:30.000Z
; / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / ; / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / ; / / / / ; / / Copyright 2021 (c) Navegos QA - optimized library / / ; / / / / ; / / 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. / / ; / / / / ; / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / ; / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / option casemap:none include macrolib.inc include uXasm.inc ifndef __MIC__ .xmm option arch:sse option evex:0 alignstackfieldproc .data? .data .const _m128iblendepi16jmptable label size_t isize_t _m128iblendepi16_0, _m128iblendepi16_1, _m128iblendepi16_2, _m128iblendepi16_3, _m128iblendepi16_4 isize_t _m128iblendepi16_5, _m128iblendepi16_6, _m128iblendepi16_7, _m128iblendepi16_8, _m128iblendepi16_9 isize_t _m128iblendepi16_10, _m128iblendepi16_11, _m128iblendepi16_12, _m128iblendepi16_13, _m128iblendepi16_14 isize_t _m128iblendepi16_15, _m128iblendepi16_16, _m128iblendepi16_17, _m128iblendepi16_18, _m128iblendepi16_19 isize_t _m128iblendepi16_20, _m128iblendepi16_21, _m128iblendepi16_22, _m128iblendepi16_23, _m128iblendepi16_24 isize_t _m128iblendepi16_25, _m128iblendepi16_26, _m128iblendepi16_27, _m128iblendepi16_28, _m128iblendepi16_29 isize_t _m128iblendepi16_30, _m128iblendepi16_31, _m128iblendepi16_32, _m128iblendepi16_33, _m128iblendepi16_34 isize_t _m128iblendepi16_35, _m128iblendepi16_36, _m128iblendepi16_37, _m128iblendepi16_38, _m128iblendepi16_39 isize_t _m128iblendepi16_40, _m128iblendepi16_41, _m128iblendepi16_42, _m128iblendepi16_43, _m128iblendepi16_44 isize_t _m128iblendepi16_45, _m128iblendepi16_46, _m128iblendepi16_47, _m128iblendepi16_48, _m128iblendepi16_49 isize_t _m128iblendepi16_50, _m128iblendepi16_51, _m128iblendepi16_52, _m128iblendepi16_53, _m128iblendepi16_54 isize_t _m128iblendepi16_55, _m128iblendepi16_56, _m128iblendepi16_57, _m128iblendepi16_58, _m128iblendepi16_59 isize_t _m128iblendepi16_60, _m128iblendepi16_61, _m128iblendepi16_62, _m128iblendepi16_63, _m128iblendepi16_64 isize_t _m128iblendepi16_65, _m128iblendepi16_66, _m128iblendepi16_67, _m128iblendepi16_68, _m128iblendepi16_69 isize_t _m128iblendepi16_70, _m128iblendepi16_71, _m128iblendepi16_72, _m128iblendepi16_73, _m128iblendepi16_74 isize_t _m128iblendepi16_75, _m128iblendepi16_76, _m128iblendepi16_77, _m128iblendepi16_78, _m128iblendepi16_79 isize_t _m128iblendepi16_80, _m128iblendepi16_81, _m128iblendepi16_82, _m128iblendepi16_83, _m128iblendepi16_84 isize_t _m128iblendepi16_85, _m128iblendepi16_86, _m128iblendepi16_87, _m128iblendepi16_88, _m128iblendepi16_89 isize_t _m128iblendepi16_90, _m128iblendepi16_91, _m128iblendepi16_92, _m128iblendepi16_93, _m128iblendepi16_94 isize_t _m128iblendepi16_95, _m128iblendepi16_96, _m128iblendepi16_97, _m128iblendepi16_98, _m128iblendepi16_99 isize_t _m128iblendepi16_100, _m128iblendepi16_101, _m128iblendepi16_102, _m128iblendepi16_103, _m128iblendepi16_104 isize_t _m128iblendepi16_105, _m128iblendepi16_106, _m128iblendepi16_107, _m128iblendepi16_108, _m128iblendepi16_109 isize_t _m128iblendepi16_110, _m128iblendepi16_111, _m128iblendepi16_112, _m128iblendepi16_113, _m128iblendepi16_114 isize_t _m128iblendepi16_115, _m128iblendepi16_116, _m128iblendepi16_117, _m128iblendepi16_118, _m128iblendepi16_119 isize_t _m128iblendepi16_120, _m128iblendepi16_121, _m128iblendepi16_122, _m128iblendepi16_123, _m128iblendepi16_124 isize_t _m128iblendepi16_125, _m128iblendepi16_126, _m128iblendepi16_127, _m128iblendepi16_128, _m128iblendepi16_129 isize_t _m128iblendepi16_130, _m128iblendepi16_131, _m128iblendepi16_132, _m128iblendepi16_133, _m128iblendepi16_134 isize_t _m128iblendepi16_135, _m128iblendepi16_136, _m128iblendepi16_137, _m128iblendepi16_138, _m128iblendepi16_139 isize_t _m128iblendepi16_140, _m128iblendepi16_141, _m128iblendepi16_142, _m128iblendepi16_143, _m128iblendepi16_144 isize_t _m128iblendepi16_145, _m128iblendepi16_146, _m128iblendepi16_147, _m128iblendepi16_148, _m128iblendepi16_149 isize_t _m128iblendepi16_150, _m128iblendepi16_151, _m128iblendepi16_152, _m128iblendepi16_153, _m128iblendepi16_154 isize_t _m128iblendepi16_155, _m128iblendepi16_156, _m128iblendepi16_157, _m128iblendepi16_158, _m128iblendepi16_159 isize_t _m128iblendepi16_160, _m128iblendepi16_161, _m128iblendepi16_162, _m128iblendepi16_163, _m128iblendepi16_164 isize_t _m128iblendepi16_165, _m128iblendepi16_166, _m128iblendepi16_167, _m128iblendepi16_168, _m128iblendepi16_169 isize_t _m128iblendepi16_170, _m128iblendepi16_171, _m128iblendepi16_172, _m128iblendepi16_173, _m128iblendepi16_174 isize_t _m128iblendepi16_175, _m128iblendepi16_176, _m128iblendepi16_177, _m128iblendepi16_178, _m128iblendepi16_179 isize_t _m128iblendepi16_180, _m128iblendepi16_181, _m128iblendepi16_182, _m128iblendepi16_183, _m128iblendepi16_184 isize_t _m128iblendepi16_185, _m128iblendepi16_186, _m128iblendepi16_187, _m128iblendepi16_188, _m128iblendepi16_189 isize_t _m128iblendepi16_190, _m128iblendepi16_191, _m128iblendepi16_192, _m128iblendepi16_193, _m128iblendepi16_194 isize_t _m128iblendepi16_195, _m128iblendepi16_196, _m128iblendepi16_197, _m128iblendepi16_198, _m128iblendepi16_199 isize_t _m128iblendepi16_200, _m128iblendepi16_201, _m128iblendepi16_202, _m128iblendepi16_203, _m128iblendepi16_204 isize_t _m128iblendepi16_205, _m128iblendepi16_206, _m128iblendepi16_207, _m128iblendepi16_208, _m128iblendepi16_209 isize_t _m128iblendepi16_210, _m128iblendepi16_211, _m128iblendepi16_212, _m128iblendepi16_213, _m128iblendepi16_214 isize_t _m128iblendepi16_215, _m128iblendepi16_216, _m128iblendepi16_217, _m128iblendepi16_218, _m128iblendepi16_219 isize_t _m128iblendepi16_220, _m128iblendepi16_221, _m128iblendepi16_222, _m128iblendepi16_223, _m128iblendepi16_224 isize_t _m128iblendepi16_225, _m128iblendepi16_226, _m128iblendepi16_227, _m128iblendepi16_228, _m128iblendepi16_229 isize_t _m128iblendepi16_230, _m128iblendepi16_231, _m128iblendepi16_232, _m128iblendepi16_233, _m128iblendepi16_234 isize_t _m128iblendepi16_235, _m128iblendepi16_236, _m128iblendepi16_237, _m128iblendepi16_238, _m128iblendepi16_239 isize_t _m128iblendepi16_240, _m128iblendepi16_241, _m128iblendepi16_242, _m128iblendepi16_243, _m128iblendepi16_244 isize_t _m128iblendepi16_245, _m128iblendepi16_246, _m128iblendepi16_247, _m128iblendepi16_248, _m128iblendepi16_249 isize_t _m128iblendepi16_250, _m128iblendepi16_251, _m128iblendepi16_252, _m128iblendepi16_253, _m128iblendepi16_254 isize_t _m128iblendepi16_255 _m128blendpsjmptable label size_t isize_t _m128blendps_0, _m128blendps_1, _m128blendps_2, _m128blendps_3, _m128blendps_4 isize_t _m128blendps_5, _m128blendps_6, _m128blendps_7, _m128blendps_8, _m128blendps_9 isize_t _m128blendps_10, _m128blendps_11, _m128blendps_12, _m128blendps_13, _m128blendps_14 isize_t _m128blendps_15 _m128dblendpdjmptable label size_t isize_t _m128dblendpd_0, _m128dblendpd_1, _m128dblendpd_2, _m128dblendpd_3 _m128dppsjmptable label size_t isize_t _m128dpps_0, _m128dpps_1, _m128dpps_2, _m128dpps_3, _m128dpps_4 isize_t _m128dpps_5, _m128dpps_6, _m128dpps_7, _m128dpps_8, _m128dpps_9 isize_t _m128dpps_10, _m128dpps_11, _m128dpps_12, _m128dpps_13, _m128dpps_14 isize_t _m128dpps_15, _m128dpps_16, _m128dpps_17, _m128dpps_18, _m128dpps_19 isize_t _m128dpps_20, _m128dpps_21, _m128dpps_22, _m128dpps_23, _m128dpps_24 isize_t _m128dpps_25, _m128dpps_26, _m128dpps_27, _m128dpps_28, _m128dpps_29 isize_t _m128dpps_30, _m128dpps_31, _m128dpps_32, _m128dpps_33, _m128dpps_34 isize_t _m128dpps_35, _m128dpps_36, _m128dpps_37, _m128dpps_38, _m128dpps_39 isize_t _m128dpps_40, _m128dpps_41, _m128dpps_42, _m128dpps_43, _m128dpps_44 isize_t _m128dpps_45, _m128dpps_46, _m128dpps_47, _m128dpps_48, _m128dpps_49 isize_t _m128dpps_50, _m128dpps_51, _m128dpps_52, _m128dpps_53, _m128dpps_54 isize_t _m128dpps_55, _m128dpps_56, _m128dpps_57, _m128dpps_58, _m128dpps_59 isize_t _m128dpps_60, _m128dpps_61, _m128dpps_62, _m128dpps_63, _m128dpps_64 isize_t _m128dpps_65, _m128dpps_66, _m128dpps_67, _m128dpps_68, _m128dpps_69 isize_t _m128dpps_70, _m128dpps_71, _m128dpps_72, _m128dpps_73, _m128dpps_74 isize_t _m128dpps_75, _m128dpps_76, _m128dpps_77, _m128dpps_78, _m128dpps_79 isize_t _m128dpps_80, _m128dpps_81, _m128dpps_82, _m128dpps_83, _m128dpps_84 isize_t _m128dpps_85, _m128dpps_86, _m128dpps_87, _m128dpps_88, _m128dpps_89 isize_t _m128dpps_90, _m128dpps_91, _m128dpps_92, _m128dpps_93, _m128dpps_94 isize_t _m128dpps_95, _m128dpps_96, _m128dpps_97, _m128dpps_98, _m128dpps_99 isize_t _m128dpps_100, _m128dpps_101, _m128dpps_102, _m128dpps_103, _m128dpps_104 isize_t _m128dpps_105, _m128dpps_106, _m128dpps_107, _m128dpps_108, _m128dpps_109 isize_t _m128dpps_110, _m128dpps_111, _m128dpps_112, _m128dpps_113, _m128dpps_114 isize_t _m128dpps_115, _m128dpps_116, _m128dpps_117, _m128dpps_118, _m128dpps_119 isize_t _m128dpps_120, _m128dpps_121, _m128dpps_122, _m128dpps_123, _m128dpps_124 isize_t _m128dpps_125, _m128dpps_126, _m128dpps_127, _m128dpps_128, _m128dpps_129 isize_t _m128dpps_130, _m128dpps_131, _m128dpps_132, _m128dpps_133, _m128dpps_134 isize_t _m128dpps_135, _m128dpps_136, _m128dpps_137, _m128dpps_138, _m128dpps_139 isize_t _m128dpps_140, _m128dpps_141, _m128dpps_142, _m128dpps_143, _m128dpps_144 isize_t _m128dpps_145, _m128dpps_146, _m128dpps_147, _m128dpps_148, _m128dpps_149 isize_t _m128dpps_150, _m128dpps_151, _m128dpps_152, _m128dpps_153, _m128dpps_154 isize_t _m128dpps_155, _m128dpps_156, _m128dpps_157, _m128dpps_158, _m128dpps_159 isize_t _m128dpps_160, _m128dpps_161, _m128dpps_162, _m128dpps_163, _m128dpps_164 isize_t _m128dpps_165, _m128dpps_166, _m128dpps_167, _m128dpps_168, _m128dpps_169 isize_t _m128dpps_170, _m128dpps_171, _m128dpps_172, _m128dpps_173, _m128dpps_174 isize_t _m128dpps_175, _m128dpps_176, _m128dpps_177, _m128dpps_178, _m128dpps_179 isize_t _m128dpps_180, _m128dpps_181, _m128dpps_182, _m128dpps_183, _m128dpps_184 isize_t _m128dpps_185, _m128dpps_186, _m128dpps_187, _m128dpps_188, _m128dpps_189 isize_t _m128dpps_190, _m128dpps_191, _m128dpps_192, _m128dpps_193, _m128dpps_194 isize_t _m128dpps_195, _m128dpps_196, _m128dpps_197, _m128dpps_198, _m128dpps_199 isize_t _m128dpps_200, _m128dpps_201, _m128dpps_202, _m128dpps_203, _m128dpps_204 isize_t _m128dpps_205, _m128dpps_206, _m128dpps_207, _m128dpps_208, _m128dpps_209 isize_t _m128dpps_210, _m128dpps_211, _m128dpps_212, _m128dpps_213, _m128dpps_214 isize_t _m128dpps_215, _m128dpps_216, _m128dpps_217, _m128dpps_218, _m128dpps_219 isize_t _m128dpps_220, _m128dpps_221, _m128dpps_222, _m128dpps_223, _m128dpps_224 isize_t _m128dpps_225, _m128dpps_226, _m128dpps_227, _m128dpps_228, _m128dpps_229 isize_t _m128dpps_230, _m128dpps_231, _m128dpps_232, _m128dpps_233, _m128dpps_234 isize_t _m128dpps_235, _m128dpps_236, _m128dpps_237, _m128dpps_238, _m128dpps_239 isize_t _m128dpps_240, _m128dpps_241, _m128dpps_242, _m128dpps_243, _m128dpps_244 isize_t _m128dpps_245, _m128dpps_246, _m128dpps_247, _m128dpps_248, _m128dpps_249 isize_t _m128dpps_250, _m128dpps_251, _m128dpps_252, _m128dpps_253, _m128dpps_254 isize_t _m128dpps_255 _m128ddppdjmptable label size_t isize_t _m128ddppd_0, _m128ddppd_1, _m128ddppd_2, _m128ddppd_3, _m128ddppd_4 isize_t _m128ddppd_5, _m128ddppd_6, _m128ddppd_7, _m128ddppd_8, _m128ddppd_9 isize_t _m128ddppd_10, _m128ddppd_11, _m128ddppd_12, _m128ddppd_13, _m128ddppd_14 isize_t _m128ddppd_15, _m128ddppd_16, _m128ddppd_17, _m128ddppd_18, _m128ddppd_19 isize_t _m128ddppd_20, _m128ddppd_21, _m128ddppd_22, _m128ddppd_23, _m128ddppd_24 isize_t _m128ddppd_25, _m128ddppd_26, _m128ddppd_27, _m128ddppd_28, _m128ddppd_29 isize_t _m128ddppd_30, _m128ddppd_31, _m128ddppd_32, _m128ddppd_33, _m128ddppd_34 isize_t _m128ddppd_35, _m128ddppd_36, _m128ddppd_37, _m128ddppd_38, _m128ddppd_39 isize_t _m128ddppd_40, _m128ddppd_41, _m128ddppd_42, _m128ddppd_43, _m128ddppd_44 isize_t _m128ddppd_45, _m128ddppd_46, _m128ddppd_47, _m128ddppd_48, _m128ddppd_49 isize_t _m128ddppd_50, _m128ddppd_51, _m128ddppd_52, _m128ddppd_53, _m128ddppd_54 isize_t _m128ddppd_55, _m128ddppd_56, _m128ddppd_57, _m128ddppd_58, _m128ddppd_59 isize_t _m128ddppd_60, _m128ddppd_61, _m128ddppd_62, _m128ddppd_63, _m128ddppd_64 isize_t _m128ddppd_65, _m128ddppd_66, _m128ddppd_67, _m128ddppd_68, _m128ddppd_69 isize_t _m128ddppd_70, _m128ddppd_71, _m128ddppd_72, _m128ddppd_73, _m128ddppd_74 isize_t _m128ddppd_75, _m128ddppd_76, _m128ddppd_77, _m128ddppd_78, _m128ddppd_79 isize_t _m128ddppd_80, _m128ddppd_81, _m128ddppd_82, _m128ddppd_83, _m128ddppd_84 isize_t _m128ddppd_85, _m128ddppd_86, _m128ddppd_87, _m128ddppd_88, _m128ddppd_89 isize_t _m128ddppd_90, _m128ddppd_91, _m128ddppd_92, _m128ddppd_93, _m128ddppd_94 isize_t _m128ddppd_95, _m128ddppd_96, _m128ddppd_97, _m128ddppd_98, _m128ddppd_99 isize_t _m128ddppd_100, _m128ddppd_101, _m128ddppd_102, _m128ddppd_103, _m128ddppd_104 isize_t _m128ddppd_105, _m128ddppd_106, _m128ddppd_107, _m128ddppd_108, _m128ddppd_109 isize_t _m128ddppd_110, _m128ddppd_111, _m128ddppd_112, _m128ddppd_113, _m128ddppd_114 isize_t _m128ddppd_115, _m128ddppd_116, _m128ddppd_117, _m128ddppd_118, _m128ddppd_119 isize_t _m128ddppd_120, _m128ddppd_121, _m128ddppd_122, _m128ddppd_123, _m128ddppd_124 isize_t _m128ddppd_125, _m128ddppd_126, _m128ddppd_127, _m128ddppd_128, _m128ddppd_129 isize_t _m128ddppd_130, _m128ddppd_131, _m128ddppd_132, _m128ddppd_133, _m128ddppd_134 isize_t _m128ddppd_135, _m128ddppd_136, _m128ddppd_137, _m128ddppd_138, _m128ddppd_139 isize_t _m128ddppd_140, _m128ddppd_141, _m128ddppd_142, _m128ddppd_143, _m128ddppd_144 isize_t _m128ddppd_145, _m128ddppd_146, _m128ddppd_147, _m128ddppd_148, _m128ddppd_149 isize_t _m128ddppd_150, _m128ddppd_151, _m128ddppd_152, _m128ddppd_153, _m128ddppd_154 isize_t _m128ddppd_155, _m128ddppd_156, _m128ddppd_157, _m128ddppd_158, _m128ddppd_159 isize_t _m128ddppd_160, _m128ddppd_161, _m128ddppd_162, _m128ddppd_163, _m128ddppd_164 isize_t _m128ddppd_165, _m128ddppd_166, _m128ddppd_167, _m128ddppd_168, _m128ddppd_169 isize_t _m128ddppd_170, _m128ddppd_171, _m128ddppd_172, _m128ddppd_173, _m128ddppd_174 isize_t _m128ddppd_175, _m128ddppd_176, _m128ddppd_177, _m128ddppd_178, _m128ddppd_179 isize_t _m128ddppd_180, _m128ddppd_181, _m128ddppd_182, _m128ddppd_183, _m128ddppd_184 isize_t _m128ddppd_185, _m128ddppd_186, _m128ddppd_187, _m128ddppd_188, _m128ddppd_189 isize_t _m128ddppd_190, _m128ddppd_191, _m128ddppd_192, _m128ddppd_193, _m128ddppd_194 isize_t _m128ddppd_195, _m128ddppd_196, _m128ddppd_197, _m128ddppd_198, _m128ddppd_199 isize_t _m128ddppd_200, _m128ddppd_201, _m128ddppd_202, _m128ddppd_203, _m128ddppd_204 isize_t _m128ddppd_205, _m128ddppd_206, _m128ddppd_207, _m128ddppd_208, _m128ddppd_209 isize_t _m128ddppd_210, _m128ddppd_211, _m128ddppd_212, _m128ddppd_213, _m128ddppd_214 isize_t _m128ddppd_215, _m128ddppd_216, _m128ddppd_217, _m128ddppd_218, _m128ddppd_219 isize_t _m128ddppd_220, _m128ddppd_221, _m128ddppd_222, _m128ddppd_223, _m128ddppd_224 isize_t _m128ddppd_225, _m128ddppd_226, _m128ddppd_227, _m128ddppd_228, _m128ddppd_229 isize_t _m128ddppd_230, _m128ddppd_231, _m128ddppd_232, _m128ddppd_233, _m128ddppd_234 isize_t _m128ddppd_235, _m128ddppd_236, _m128ddppd_237, _m128ddppd_238, _m128ddppd_239 isize_t _m128ddppd_240, _m128ddppd_241, _m128ddppd_242, _m128ddppd_243, _m128ddppd_244 isize_t _m128ddppd_245, _m128ddppd_246, _m128ddppd_247, _m128ddppd_248, _m128ddppd_249 isize_t _m128ddppd_250, _m128ddppd_251, _m128ddppd_252, _m128ddppd_253, _m128ddppd_254 isize_t _m128ddppd_255 _m128insertpsjmptable label size_t isize_t _m128insertps_0, _m128insertps_1, _m128insertps_2, _m128insertps_3, _m128insertps_4 isize_t _m128insertps_5, _m128insertps_6, _m128insertps_7, _m128insertps_8, _m128insertps_9 isize_t _m128insertps_10, _m128insertps_11, _m128insertps_12, _m128insertps_13, _m128insertps_14 isize_t _m128insertps_15, _m128insertps_16, _m128insertps_17, _m128insertps_18, _m128insertps_19 isize_t _m128insertps_20, _m128insertps_21, _m128insertps_22, _m128insertps_23, _m128insertps_24 isize_t _m128insertps_25, _m128insertps_26, _m128insertps_27, _m128insertps_28, _m128insertps_29 isize_t _m128insertps_30, _m128insertps_31, _m128insertps_32, _m128insertps_33, _m128insertps_34 isize_t _m128insertps_35, _m128insertps_36, _m128insertps_37, _m128insertps_38, _m128insertps_39 isize_t _m128insertps_40, _m128insertps_41, _m128insertps_42, _m128insertps_43, _m128insertps_44 isize_t _m128insertps_45, _m128insertps_46, _m128insertps_47, _m128insertps_48, _m128insertps_49 isize_t _m128insertps_50, _m128insertps_51, _m128insertps_52, _m128insertps_53, _m128insertps_54 isize_t _m128insertps_55, _m128insertps_56, _m128insertps_57, _m128insertps_58, _m128insertps_59 isize_t _m128insertps_60, _m128insertps_61, _m128insertps_62, _m128insertps_63, _m128insertps_64 isize_t _m128insertps_65, _m128insertps_66, _m128insertps_67, _m128insertps_68, _m128insertps_69 isize_t _m128insertps_70, _m128insertps_71, _m128insertps_72, _m128insertps_73, _m128insertps_74 isize_t _m128insertps_75, _m128insertps_76, _m128insertps_77, _m128insertps_78, _m128insertps_79 isize_t _m128insertps_80, _m128insertps_81, _m128insertps_82, _m128insertps_83, _m128insertps_84 isize_t _m128insertps_85, _m128insertps_86, _m128insertps_87, _m128insertps_88, _m128insertps_89 isize_t _m128insertps_90, _m128insertps_91, _m128insertps_92, _m128insertps_93, _m128insertps_94 isize_t _m128insertps_95, _m128insertps_96, _m128insertps_97, _m128insertps_98, _m128insertps_99 isize_t _m128insertps_100, _m128insertps_101, _m128insertps_102, _m128insertps_103, _m128insertps_104 isize_t _m128insertps_105, _m128insertps_106, _m128insertps_107, _m128insertps_108, _m128insertps_109 isize_t _m128insertps_110, _m128insertps_111, _m128insertps_112, _m128insertps_113, _m128insertps_114 isize_t _m128insertps_115, _m128insertps_116, _m128insertps_117, _m128insertps_118, _m128insertps_119 isize_t _m128insertps_120, _m128insertps_121, _m128insertps_122, _m128insertps_123, _m128insertps_124 isize_t _m128insertps_125, _m128insertps_126, _m128insertps_127, _m128insertps_128, _m128insertps_129 isize_t _m128insertps_130, _m128insertps_131, _m128insertps_132, _m128insertps_133, _m128insertps_134 isize_t _m128insertps_135, _m128insertps_136, _m128insertps_137, _m128insertps_138, _m128insertps_139 isize_t _m128insertps_140, _m128insertps_141, _m128insertps_142, _m128insertps_143, _m128insertps_144 isize_t _m128insertps_145, _m128insertps_146, _m128insertps_147, _m128insertps_148, _m128insertps_149 isize_t _m128insertps_150, _m128insertps_151, _m128insertps_152, _m128insertps_153, _m128insertps_154 isize_t _m128insertps_155, _m128insertps_156, _m128insertps_157, _m128insertps_158, _m128insertps_159 isize_t _m128insertps_160, _m128insertps_161, _m128insertps_162, _m128insertps_163, _m128insertps_164 isize_t _m128insertps_165, _m128insertps_166, _m128insertps_167, _m128insertps_168, _m128insertps_169 isize_t _m128insertps_170, _m128insertps_171, _m128insertps_172, _m128insertps_173, _m128insertps_174 isize_t _m128insertps_175, _m128insertps_176, _m128insertps_177, _m128insertps_178, _m128insertps_179 isize_t _m128insertps_180, _m128insertps_181, _m128insertps_182, _m128insertps_183, _m128insertps_184 isize_t _m128insertps_185, _m128insertps_186, _m128insertps_187, _m128insertps_188, _m128insertps_189 isize_t _m128insertps_190, _m128insertps_191, _m128insertps_192, _m128insertps_193, _m128insertps_194 isize_t _m128insertps_195, _m128insertps_196, _m128insertps_197, _m128insertps_198, _m128insertps_199 isize_t _m128insertps_200, _m128insertps_201, _m128insertps_202, _m128insertps_203, _m128insertps_204 isize_t _m128insertps_205, _m128insertps_206, _m128insertps_207, _m128insertps_208, _m128insertps_209 isize_t _m128insertps_210, _m128insertps_211, _m128insertps_212, _m128insertps_213, _m128insertps_214 isize_t _m128insertps_215, _m128insertps_216, _m128insertps_217, _m128insertps_218, _m128insertps_219 isize_t _m128insertps_220, _m128insertps_221, _m128insertps_222, _m128insertps_223, _m128insertps_224 isize_t _m128insertps_225, _m128insertps_226, _m128insertps_227, _m128insertps_228, _m128insertps_229 isize_t _m128insertps_230, _m128insertps_231, _m128insertps_232, _m128insertps_233, _m128insertps_234 isize_t _m128insertps_235, _m128insertps_236, _m128insertps_237, _m128insertps_238, _m128insertps_239 isize_t _m128insertps_240, _m128insertps_241, _m128insertps_242, _m128insertps_243, _m128insertps_244 isize_t _m128insertps_245, _m128insertps_246, _m128insertps_247, _m128insertps_248, _m128insertps_249 isize_t _m128insertps_250, _m128insertps_251, _m128insertps_252, _m128insertps_253, _m128insertps_254 isize_t _m128insertps_255 _m128impsadbwepu8jmptable label size_t isize_t _m128impsadbwepu8_0, _m128impsadbwepu8_1, _m128impsadbwepu8_2, _m128impsadbwepu8_3, _m128impsadbwepu8_4 isize_t _m128impsadbwepu8_5, _m128impsadbwepu8_6, _m128impsadbwepu8_7, _m128impsadbwepu8_8, _m128impsadbwepu8_9 isize_t _m128impsadbwepu8_10, _m128impsadbwepu8_11, _m128impsadbwepu8_12, _m128impsadbwepu8_13, _m128impsadbwepu8_14 isize_t _m128impsadbwepu8_15, _m128impsadbwepu8_16, _m128impsadbwepu8_17, _m128impsadbwepu8_18, _m128impsadbwepu8_19 isize_t _m128impsadbwepu8_20, _m128impsadbwepu8_21, _m128impsadbwepu8_22, _m128impsadbwepu8_23, _m128impsadbwepu8_24 isize_t _m128impsadbwepu8_25, _m128impsadbwepu8_26, _m128impsadbwepu8_27, _m128impsadbwepu8_28, _m128impsadbwepu8_29 isize_t _m128impsadbwepu8_30, _m128impsadbwepu8_31, _m128impsadbwepu8_32, _m128impsadbwepu8_33, _m128impsadbwepu8_34 isize_t _m128impsadbwepu8_35, _m128impsadbwepu8_36, _m128impsadbwepu8_37, _m128impsadbwepu8_38, _m128impsadbwepu8_39 isize_t _m128impsadbwepu8_40, _m128impsadbwepu8_41, _m128impsadbwepu8_42, _m128impsadbwepu8_43, _m128impsadbwepu8_44 isize_t _m128impsadbwepu8_45, _m128impsadbwepu8_46, _m128impsadbwepu8_47, _m128impsadbwepu8_48, _m128impsadbwepu8_49 isize_t _m128impsadbwepu8_50, _m128impsadbwepu8_51, _m128impsadbwepu8_52, _m128impsadbwepu8_53, _m128impsadbwepu8_54 isize_t _m128impsadbwepu8_55, _m128impsadbwepu8_56, _m128impsadbwepu8_57, _m128impsadbwepu8_58, _m128impsadbwepu8_59 isize_t _m128impsadbwepu8_60, _m128impsadbwepu8_61, _m128impsadbwepu8_62, _m128impsadbwepu8_63, _m128impsadbwepu8_64 isize_t _m128impsadbwepu8_65, _m128impsadbwepu8_66, _m128impsadbwepu8_67, _m128impsadbwepu8_68, _m128impsadbwepu8_69 isize_t _m128impsadbwepu8_70, _m128impsadbwepu8_71, _m128impsadbwepu8_72, _m128impsadbwepu8_73, _m128impsadbwepu8_74 isize_t _m128impsadbwepu8_75, _m128impsadbwepu8_76, _m128impsadbwepu8_77, _m128impsadbwepu8_78, _m128impsadbwepu8_79 isize_t _m128impsadbwepu8_80, _m128impsadbwepu8_81, _m128impsadbwepu8_82, _m128impsadbwepu8_83, _m128impsadbwepu8_84 isize_t _m128impsadbwepu8_85, _m128impsadbwepu8_86, _m128impsadbwepu8_87, _m128impsadbwepu8_88, _m128impsadbwepu8_89 isize_t _m128impsadbwepu8_90, _m128impsadbwepu8_91, _m128impsadbwepu8_92, _m128impsadbwepu8_93, _m128impsadbwepu8_94 isize_t _m128impsadbwepu8_95, _m128impsadbwepu8_96, _m128impsadbwepu8_97, _m128impsadbwepu8_98, _m128impsadbwepu8_99 isize_t _m128impsadbwepu8_100, _m128impsadbwepu8_101, _m128impsadbwepu8_102, _m128impsadbwepu8_103, _m128impsadbwepu8_104 isize_t _m128impsadbwepu8_105, _m128impsadbwepu8_106, _m128impsadbwepu8_107, _m128impsadbwepu8_108, _m128impsadbwepu8_109 isize_t _m128impsadbwepu8_110, _m128impsadbwepu8_111, _m128impsadbwepu8_112, _m128impsadbwepu8_113, _m128impsadbwepu8_114 isize_t _m128impsadbwepu8_115, _m128impsadbwepu8_116, _m128impsadbwepu8_117, _m128impsadbwepu8_118, _m128impsadbwepu8_119 isize_t _m128impsadbwepu8_120, _m128impsadbwepu8_121, _m128impsadbwepu8_122, _m128impsadbwepu8_123, _m128impsadbwepu8_124 isize_t _m128impsadbwepu8_125, _m128impsadbwepu8_126, _m128impsadbwepu8_127, _m128impsadbwepu8_128, _m128impsadbwepu8_129 isize_t _m128impsadbwepu8_130, _m128impsadbwepu8_131, _m128impsadbwepu8_132, _m128impsadbwepu8_133, _m128impsadbwepu8_134 isize_t _m128impsadbwepu8_135, _m128impsadbwepu8_136, _m128impsadbwepu8_137, _m128impsadbwepu8_138, _m128impsadbwepu8_139 isize_t _m128impsadbwepu8_140, _m128impsadbwepu8_141, _m128impsadbwepu8_142, _m128impsadbwepu8_143, _m128impsadbwepu8_144 isize_t _m128impsadbwepu8_145, _m128impsadbwepu8_146, _m128impsadbwepu8_147, _m128impsadbwepu8_148, _m128impsadbwepu8_149 isize_t _m128impsadbwepu8_150, _m128impsadbwepu8_151, _m128impsadbwepu8_152, _m128impsadbwepu8_153, _m128impsadbwepu8_154 isize_t _m128impsadbwepu8_155, _m128impsadbwepu8_156, _m128impsadbwepu8_157, _m128impsadbwepu8_158, _m128impsadbwepu8_159 isize_t _m128impsadbwepu8_160, _m128impsadbwepu8_161, _m128impsadbwepu8_162, _m128impsadbwepu8_163, _m128impsadbwepu8_164 isize_t _m128impsadbwepu8_165, _m128impsadbwepu8_166, _m128impsadbwepu8_167, _m128impsadbwepu8_168, _m128impsadbwepu8_169 isize_t _m128impsadbwepu8_170, _m128impsadbwepu8_171, _m128impsadbwepu8_172, _m128impsadbwepu8_173, _m128impsadbwepu8_174 isize_t _m128impsadbwepu8_175, _m128impsadbwepu8_176, _m128impsadbwepu8_177, _m128impsadbwepu8_178, _m128impsadbwepu8_179 isize_t _m128impsadbwepu8_180, _m128impsadbwepu8_181, _m128impsadbwepu8_182, _m128impsadbwepu8_183, _m128impsadbwepu8_184 isize_t _m128impsadbwepu8_185, _m128impsadbwepu8_186, _m128impsadbwepu8_187, _m128impsadbwepu8_188, _m128impsadbwepu8_189 isize_t _m128impsadbwepu8_190, _m128impsadbwepu8_191, _m128impsadbwepu8_192, _m128impsadbwepu8_193, _m128impsadbwepu8_194 isize_t _m128impsadbwepu8_195, _m128impsadbwepu8_196, _m128impsadbwepu8_197, _m128impsadbwepu8_198, _m128impsadbwepu8_199 isize_t _m128impsadbwepu8_200, _m128impsadbwepu8_201, _m128impsadbwepu8_202, _m128impsadbwepu8_203, _m128impsadbwepu8_204 isize_t _m128impsadbwepu8_205, _m128impsadbwepu8_206, _m128impsadbwepu8_207, _m128impsadbwepu8_208, _m128impsadbwepu8_209 isize_t _m128impsadbwepu8_210, _m128impsadbwepu8_211, _m128impsadbwepu8_212, _m128impsadbwepu8_213, _m128impsadbwepu8_214 isize_t _m128impsadbwepu8_215, _m128impsadbwepu8_216, _m128impsadbwepu8_217, _m128impsadbwepu8_218, _m128impsadbwepu8_219 isize_t _m128impsadbwepu8_220, _m128impsadbwepu8_221, _m128impsadbwepu8_222, _m128impsadbwepu8_223, _m128impsadbwepu8_224 isize_t _m128impsadbwepu8_225, _m128impsadbwepu8_226, _m128impsadbwepu8_227, _m128impsadbwepu8_228, _m128impsadbwepu8_229 isize_t _m128impsadbwepu8_230, _m128impsadbwepu8_231, _m128impsadbwepu8_232, _m128impsadbwepu8_233, _m128impsadbwepu8_234 isize_t _m128impsadbwepu8_235, _m128impsadbwepu8_236, _m128impsadbwepu8_237, _m128impsadbwepu8_238, _m128impsadbwepu8_239 isize_t _m128impsadbwepu8_240, _m128impsadbwepu8_241, _m128impsadbwepu8_242, _m128impsadbwepu8_243, _m128impsadbwepu8_244 isize_t _m128impsadbwepu8_245, _m128impsadbwepu8_246, _m128impsadbwepu8_247, _m128impsadbwepu8_248, _m128impsadbwepu8_249 isize_t _m128impsadbwepu8_250, _m128impsadbwepu8_251, _m128impsadbwepu8_252, _m128impsadbwepu8_253, _m128impsadbwepu8_254 isize_t _m128impsadbwepu8_255 .code callconvopt alignxmmfieldproc ;************************************ ; blend instructions ;************************************ procstart _uX_mm_blend_00000000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 0 ret procend procstart _uX_mm_blend_00000001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 1 ret procend procstart _uX_mm_blend_00000010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 2 ret procend procstart _uX_mm_blend_00000011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 3 ret procend procstart _uX_mm_blend_00000100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 4 ret procend procstart _uX_mm_blend_00000101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 5 ret procend procstart _uX_mm_blend_00000110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 6 ret procend procstart _uX_mm_blend_00000111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 7 ret procend procstart _uX_mm_blend_00001000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 8 ret procend procstart _uX_mm_blend_00001001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 9 ret procend procstart _uX_mm_blend_00001010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 10 ret procend procstart _uX_mm_blend_00001011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 11 ret procend procstart _uX_mm_blend_00001100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 12 ret procend procstart _uX_mm_blend_00001101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 13 ret procend procstart _uX_mm_blend_00001110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 14 ret procend procstart _uX_mm_blend_00001111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 15 ret procend procstart _uX_mm_blend_00010000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 16 ret procend procstart _uX_mm_blend_00010001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 17 ret procend procstart _uX_mm_blend_00010010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 18 ret procend procstart _uX_mm_blend_00010011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 19 ret procend procstart _uX_mm_blend_00010100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 20 ret procend procstart _uX_mm_blend_00010101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 21 ret procend procstart _uX_mm_blend_00010110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 22 ret procend procstart _uX_mm_blend_00010111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 23 ret procend procstart _uX_mm_blend_00011000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 24 ret procend procstart _uX_mm_blend_00011001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 25 ret procend procstart _uX_mm_blend_00011010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 26 ret procend procstart _uX_mm_blend_00011011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 27 ret procend procstart _uX_mm_blend_00011100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 28 ret procend procstart _uX_mm_blend_00011101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 29 ret procend procstart _uX_mm_blend_00011110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 30 ret procend procstart _uX_mm_blend_00011111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 31 ret procend procstart _uX_mm_blend_00100000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 32 ret procend procstart _uX_mm_blend_00100001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 33 ret procend procstart _uX_mm_blend_00100010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 34 ret procend procstart _uX_mm_blend_00100011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 35 ret procend procstart _uX_mm_blend_00100100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 36 ret procend procstart _uX_mm_blend_00100101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 37 ret procend procstart _uX_mm_blend_00100110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 38 ret procend procstart _uX_mm_blend_00100111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 39 ret procend procstart _uX_mm_blend_00101000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 40 ret procend procstart _uX_mm_blend_00101001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 41 ret procend procstart _uX_mm_blend_00101010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 42 ret procend procstart _uX_mm_blend_00101011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 43 ret procend procstart _uX_mm_blend_00101100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 44 ret procend procstart _uX_mm_blend_00101101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 45 ret procend procstart _uX_mm_blend_00101110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 46 ret procend procstart _uX_mm_blend_00101111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 47 ret procend procstart _uX_mm_blend_00110000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 48 ret procend procstart _uX_mm_blend_00110001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 49 ret procend procstart _uX_mm_blend_00110010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 50 ret procend procstart _uX_mm_blend_00110011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 51 ret procend procstart _uX_mm_blend_00110100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 52 ret procend procstart _uX_mm_blend_00110101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 53 ret procend procstart _uX_mm_blend_00110110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 54 ret procend procstart _uX_mm_blend_00110111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 55 ret procend procstart _uX_mm_blend_00111000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 56 ret procend procstart _uX_mm_blend_00111001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 57 ret procend procstart _uX_mm_blend_00111010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 58 ret procend procstart _uX_mm_blend_00111011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 59 ret procend procstart _uX_mm_blend_00111100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 60 ret procend procstart _uX_mm_blend_00111101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 61 ret procend procstart _uX_mm_blend_00111110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 62 ret procend procstart _uX_mm_blend_00111111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 63 ret procend procstart _uX_mm_blend_01000000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 64 ret procend procstart _uX_mm_blend_01000001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 65 ret procend procstart _uX_mm_blend_01000010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 66 ret procend procstart _uX_mm_blend_01000011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 67 ret procend procstart _uX_mm_blend_01000100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 68 ret procend procstart _uX_mm_blend_01000101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 69 ret procend procstart _uX_mm_blend_01000110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 70 ret procend procstart _uX_mm_blend_01000111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 71 ret procend procstart _uX_mm_blend_01001000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 72 ret procend procstart _uX_mm_blend_01001001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 73 ret procend procstart _uX_mm_blend_01001010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 74 ret procend procstart _uX_mm_blend_01001011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 75 ret procend procstart _uX_mm_blend_01001100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 76 ret procend procstart _uX_mm_blend_01001101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 77 ret procend procstart _uX_mm_blend_01001110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 78 ret procend procstart _uX_mm_blend_01001111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 79 ret procend procstart _uX_mm_blend_01010000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 80 ret procend procstart _uX_mm_blend_01010001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 81 ret procend procstart _uX_mm_blend_01010010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 82 ret procend procstart _uX_mm_blend_01010011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 83 ret procend procstart _uX_mm_blend_01010100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 84 ret procend procstart _uX_mm_blend_01010101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 85 ret procend procstart _uX_mm_blend_01010110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 86 ret procend procstart _uX_mm_blend_01010111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 87 ret procend procstart _uX_mm_blend_01011000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 88 ret procend procstart _uX_mm_blend_01011001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 89 ret procend procstart _uX_mm_blend_01011010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 90 ret procend procstart _uX_mm_blend_01011011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 91 ret procend procstart _uX_mm_blend_01011100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 92 ret procend procstart _uX_mm_blend_01011101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 93 ret procend procstart _uX_mm_blend_01011110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 94 ret procend procstart _uX_mm_blend_01011111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 95 ret procend procstart _uX_mm_blend_01100000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 96 ret procend procstart _uX_mm_blend_01100001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 97 ret procend procstart _uX_mm_blend_01100010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 98 ret procend procstart _uX_mm_blend_01100011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 99 ret procend procstart _uX_mm_blend_01100100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 100 ret procend procstart _uX_mm_blend_01100101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 101 ret procend procstart _uX_mm_blend_01100110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 102 ret procend procstart _uX_mm_blend_01100111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 103 ret procend procstart _uX_mm_blend_01101000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 104 ret procend procstart _uX_mm_blend_01101001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 105 ret procend procstart _uX_mm_blend_01101010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 106 ret procend procstart _uX_mm_blend_01101011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 107 ret procend procstart _uX_mm_blend_01101100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 108 ret procend procstart _uX_mm_blend_01101101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 109 ret procend procstart _uX_mm_blend_01101110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 110 ret procend procstart _uX_mm_blend_01101111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 111 ret procend procstart _uX_mm_blend_01110000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 112 ret procend procstart _uX_mm_blend_01110001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 113 ret procend procstart _uX_mm_blend_01110010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 114 ret procend procstart _uX_mm_blend_01110011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 115 ret procend procstart _uX_mm_blend_01110100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 116 ret procend procstart _uX_mm_blend_01110101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 117 ret procend procstart _uX_mm_blend_01110110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 118 ret procend procstart _uX_mm_blend_01110111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 119 ret procend procstart _uX_mm_blend_01111000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 120 ret procend procstart _uX_mm_blend_01111001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 121 ret procend procstart _uX_mm_blend_01111010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 122 ret procend procstart _uX_mm_blend_01111011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 123 ret procend procstart _uX_mm_blend_01111100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 124 ret procend procstart _uX_mm_blend_01111101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 125 ret procend procstart _uX_mm_blend_01111110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 126 ret procend procstart _uX_mm_blend_01111111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 127 ret procend procstart _uX_mm_blend_10000000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 128 ret procend procstart _uX_mm_blend_10000001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 129 ret procend procstart _uX_mm_blend_10000010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 130 ret procend procstart _uX_mm_blend_10000011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 131 ret procend procstart _uX_mm_blend_10000100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 132 ret procend procstart _uX_mm_blend_10000101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 133 ret procend procstart _uX_mm_blend_10000110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 134 ret procend procstart _uX_mm_blend_10000111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 135 ret procend procstart _uX_mm_blend_10001000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 136 ret procend procstart _uX_mm_blend_10001001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 137 ret procend procstart _uX_mm_blend_10001010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 138 ret procend procstart _uX_mm_blend_10001011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 139 ret procend procstart _uX_mm_blend_10001100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 140 ret procend procstart _uX_mm_blend_10001101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 141 ret procend procstart _uX_mm_blend_10001110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 142 ret procend procstart _uX_mm_blend_10001111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 143 ret procend procstart _uX_mm_blend_10010000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 144 ret procend procstart _uX_mm_blend_10010001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 145 ret procend procstart _uX_mm_blend_10010010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 146 ret procend procstart _uX_mm_blend_10010011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 147 ret procend procstart _uX_mm_blend_10010100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 148 ret procend procstart _uX_mm_blend_10010101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 149 ret procend procstart _uX_mm_blend_10010110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 150 ret procend procstart _uX_mm_blend_10010111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 151 ret procend procstart _uX_mm_blend_10011000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 152 ret procend procstart _uX_mm_blend_10011001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 153 ret procend procstart _uX_mm_blend_10011010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 154 ret procend procstart _uX_mm_blend_10011011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 155 ret procend procstart _uX_mm_blend_10011100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 156 ret procend procstart _uX_mm_blend_10011101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 157 ret procend procstart _uX_mm_blend_10011110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 158 ret procend procstart _uX_mm_blend_10011111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 159 ret procend procstart _uX_mm_blend_10100000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 160 ret procend procstart _uX_mm_blend_10100001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 161 ret procend procstart _uX_mm_blend_10100010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 162 ret procend procstart _uX_mm_blend_10100011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 163 ret procend procstart _uX_mm_blend_10100100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 164 ret procend procstart _uX_mm_blend_10100101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 165 ret procend procstart _uX_mm_blend_10100110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 166 ret procend procstart _uX_mm_blend_10100111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 167 ret procend procstart _uX_mm_blend_10101000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 168 ret procend procstart _uX_mm_blend_10101001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 169 ret procend procstart _uX_mm_blend_10101010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 170 ret procend procstart _uX_mm_blend_10101011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 171 ret procend procstart _uX_mm_blend_10101100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 172 ret procend procstart _uX_mm_blend_10101101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 173 ret procend procstart _uX_mm_blend_10101110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 174 ret procend procstart _uX_mm_blend_10101111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 175 ret procend procstart _uX_mm_blend_10110000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 176 ret procend procstart _uX_mm_blend_10110001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 177 ret procend procstart _uX_mm_blend_10110010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 178 ret procend procstart _uX_mm_blend_10110011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 179 ret procend procstart _uX_mm_blend_10110100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 180 ret procend procstart _uX_mm_blend_10110101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 181 ret procend procstart _uX_mm_blend_10110110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 182 ret procend procstart _uX_mm_blend_10110111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 183 ret procend procstart _uX_mm_blend_10111000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 184 ret procend procstart _uX_mm_blend_10111001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 185 ret procend procstart _uX_mm_blend_10111010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 186 ret procend procstart _uX_mm_blend_10111011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 187 ret procend procstart _uX_mm_blend_10111100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 188 ret procend procstart _uX_mm_blend_10111101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 189 ret procend procstart _uX_mm_blend_10111110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 190 ret procend procstart _uX_mm_blend_10111111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 191 ret procend procstart _uX_mm_blend_11000000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 192 ret procend procstart _uX_mm_blend_11000001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 193 ret procend procstart _uX_mm_blend_11000010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 194 ret procend procstart _uX_mm_blend_11000011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 195 ret procend procstart _uX_mm_blend_11000100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 196 ret procend procstart _uX_mm_blend_11000101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 197 ret procend procstart _uX_mm_blend_11000110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 198 ret procend procstart _uX_mm_blend_11000111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 199 ret procend procstart _uX_mm_blend_11001000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 200 ret procend procstart _uX_mm_blend_11001001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 201 ret procend procstart _uX_mm_blend_11001010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 202 ret procend procstart _uX_mm_blend_11001011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 203 ret procend procstart _uX_mm_blend_11001100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 204 ret procend procstart _uX_mm_blend_11001101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 205 ret procend procstart _uX_mm_blend_11001110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 206 ret procend procstart _uX_mm_blend_11001111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 207 ret procend procstart _uX_mm_blend_11010000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 208 ret procend procstart _uX_mm_blend_11010001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 209 ret procend procstart _uX_mm_blend_11010010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 210 ret procend procstart _uX_mm_blend_11010011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 211 ret procend procstart _uX_mm_blend_11010100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 212 ret procend procstart _uX_mm_blend_11010101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 213 ret procend procstart _uX_mm_blend_11010110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 214 ret procend procstart _uX_mm_blend_11010111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 215 ret procend procstart _uX_mm_blend_11011000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 216 ret procend procstart _uX_mm_blend_11011001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 217 ret procend procstart _uX_mm_blend_11011010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 218 ret procend procstart _uX_mm_blend_11011011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 219 ret procend procstart _uX_mm_blend_11011100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 220 ret procend procstart _uX_mm_blend_11011101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 221 ret procend procstart _uX_mm_blend_11011110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 222 ret procend procstart _uX_mm_blend_11011111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 223 ret procend procstart _uX_mm_blend_11100000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 224 ret procend procstart _uX_mm_blend_11100001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 225 ret procend procstart _uX_mm_blend_11100010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 226 ret procend procstart _uX_mm_blend_11100011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 227 ret procend procstart _uX_mm_blend_11100100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 228 ret procend procstart _uX_mm_blend_11100101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 229 ret procend procstart _uX_mm_blend_11100110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 230 ret procend procstart _uX_mm_blend_11100111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 231 ret procend procstart _uX_mm_blend_11101000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 232 ret procend procstart _uX_mm_blend_11101001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 233 ret procend procstart _uX_mm_blend_11101010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 234 ret procend procstart _uX_mm_blend_11101011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 235 ret procend procstart _uX_mm_blend_11101100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 236 ret procend procstart _uX_mm_blend_11101101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 237 ret procend procstart _uX_mm_blend_11101110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 238 ret procend procstart _uX_mm_blend_11101111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 239 ret procend procstart _uX_mm_blend_11110000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 240 ret procend procstart _uX_mm_blend_11110001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 241 ret procend procstart _uX_mm_blend_11110010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 242 ret procend procstart _uX_mm_blend_11110011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 243 ret procend procstart _uX_mm_blend_11110100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 244 ret procend procstart _uX_mm_blend_11110101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 245 ret procend procstart _uX_mm_blend_11110110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 246 ret procend procstart _uX_mm_blend_11110111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 247 ret procend procstart _uX_mm_blend_11111000_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 248 ret procend procstart _uX_mm_blend_11111001_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 249 ret procend procstart _uX_mm_blend_11111010_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 250 ret procend procstart _uX_mm_blend_11111011_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 251 ret procend procstart _uX_mm_blend_11111100_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 252 ret procend procstart _uX_mm_blend_11111101_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 253 ret procend procstart _uX_mm_blend_11111110_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 254 ret procend procstart _uX_mm_blend_11111111_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword pblendw xmm0, xmm1, 255 ret procend procstart _uX_mm_blend_epi16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword, Inint_Imm:dword push rbase() .if((rp2() < 0) || (rp2() > 255)) jmp _m128iblendepi16_end .endif ifdef __X32__ movzx rbase(), byte ptr [rp2()] jmp dword ptr [_m128iblendepi16jmptable+rbase()*size_t_size] else lea rbase(), qword ptr [_m128iblendepi16jmptable] mov rbase(), qword ptr [rbase()+rp2()*size_t_size] jmp rbx endif _m128iblendepi16_0 label size_t pblendw xmm0, xmm1, 0 jmp _m128iblendepi16_end _m128iblendepi16_1 label size_t pblendw xmm0, xmm1, 1 jmp _m128iblendepi16_end _m128iblendepi16_2 label size_t pblendw xmm0, xmm1, 2 jmp _m128iblendepi16_end _m128iblendepi16_3 label size_t pblendw xmm0, xmm1, 3 jmp _m128iblendepi16_end _m128iblendepi16_4 label size_t pblendw xmm0, xmm1, 4 jmp _m128iblendepi16_end _m128iblendepi16_5 label size_t pblendw xmm0, xmm1, 5 jmp _m128iblendepi16_end _m128iblendepi16_6 label size_t pblendw xmm0, xmm1, 6 jmp _m128iblendepi16_end _m128iblendepi16_7 label size_t pblendw xmm0, xmm1, 7 jmp _m128iblendepi16_end _m128iblendepi16_8 label size_t pblendw xmm0, xmm1, 8 jmp _m128iblendepi16_end _m128iblendepi16_9 label size_t pblendw xmm0, xmm1, 9 jmp _m128iblendepi16_end _m128iblendepi16_10 label size_t pblendw xmm0, xmm1, 10 jmp _m128iblendepi16_end _m128iblendepi16_11 label size_t pblendw xmm0, xmm1, 11 jmp _m128iblendepi16_end _m128iblendepi16_12 label size_t pblendw xmm0, xmm1, 12 jmp _m128iblendepi16_end _m128iblendepi16_13 label size_t pblendw xmm0, xmm1, 13 jmp _m128iblendepi16_end _m128iblendepi16_14 label size_t pblendw xmm0, xmm1, 14 jmp _m128iblendepi16_end _m128iblendepi16_15 label size_t pblendw xmm0, xmm1, 15 jmp _m128iblendepi16_end _m128iblendepi16_16 label size_t pblendw xmm0, xmm1, 16 jmp _m128iblendepi16_end _m128iblendepi16_17 label size_t pblendw xmm0, xmm1, 17 jmp _m128iblendepi16_end _m128iblendepi16_18 label size_t pblendw xmm0, xmm1, 18 jmp _m128iblendepi16_end _m128iblendepi16_19 label size_t pblendw xmm0, xmm1, 19 jmp _m128iblendepi16_end _m128iblendepi16_20 label size_t pblendw xmm0, xmm1, 20 jmp _m128iblendepi16_end _m128iblendepi16_21 label size_t pblendw xmm0, xmm1, 21 jmp _m128iblendepi16_end _m128iblendepi16_22 label size_t pblendw xmm0, xmm1, 22 jmp _m128iblendepi16_end _m128iblendepi16_23 label size_t pblendw xmm0, xmm1, 23 jmp _m128iblendepi16_end _m128iblendepi16_24 label size_t pblendw xmm0, xmm1, 24 jmp _m128iblendepi16_end _m128iblendepi16_25 label size_t pblendw xmm0, xmm1, 25 jmp _m128iblendepi16_end _m128iblendepi16_26 label size_t pblendw xmm0, xmm1, 26 jmp _m128iblendepi16_end _m128iblendepi16_27 label size_t pblendw xmm0, xmm1, 27 jmp _m128iblendepi16_end _m128iblendepi16_28 label size_t pblendw xmm0, xmm1, 28 jmp _m128iblendepi16_end _m128iblendepi16_29 label size_t pblendw xmm0, xmm1, 29 jmp _m128iblendepi16_end _m128iblendepi16_30 label size_t pblendw xmm0, xmm1, 30 jmp _m128iblendepi16_end _m128iblendepi16_31 label size_t pblendw xmm0, xmm1, 31 jmp _m128iblendepi16_end _m128iblendepi16_32 label size_t pblendw xmm0, xmm1, 32 jmp _m128iblendepi16_end _m128iblendepi16_33 label size_t pblendw xmm0, xmm1, 33 jmp _m128iblendepi16_end _m128iblendepi16_34 label size_t pblendw xmm0, xmm1, 34 jmp _m128iblendepi16_end _m128iblendepi16_35 label size_t pblendw xmm0, xmm1, 35 jmp _m128iblendepi16_end _m128iblendepi16_36 label size_t pblendw xmm0, xmm1, 36 jmp _m128iblendepi16_end _m128iblendepi16_37 label size_t pblendw xmm0, xmm1, 37 jmp _m128iblendepi16_end _m128iblendepi16_38 label size_t pblendw xmm0, xmm1, 38 jmp _m128iblendepi16_end _m128iblendepi16_39 label size_t pblendw xmm0, xmm1, 39 jmp _m128iblendepi16_end _m128iblendepi16_40 label size_t pblendw xmm0, xmm1, 40 jmp _m128iblendepi16_end _m128iblendepi16_41 label size_t pblendw xmm0, xmm1, 41 jmp _m128iblendepi16_end _m128iblendepi16_42 label size_t pblendw xmm0, xmm1, 42 jmp _m128iblendepi16_end _m128iblendepi16_43 label size_t pblendw xmm0, xmm1, 43 jmp _m128iblendepi16_end _m128iblendepi16_44 label size_t pblendw xmm0, xmm1, 44 jmp _m128iblendepi16_end _m128iblendepi16_45 label size_t pblendw xmm0, xmm1, 45 jmp _m128iblendepi16_end _m128iblendepi16_46 label size_t pblendw xmm0, xmm1, 46 jmp _m128iblendepi16_end _m128iblendepi16_47 label size_t pblendw xmm0, xmm1, 47 jmp _m128iblendepi16_end _m128iblendepi16_48 label size_t pblendw xmm0, xmm1, 48 jmp _m128iblendepi16_end _m128iblendepi16_49 label size_t pblendw xmm0, xmm1, 49 jmp _m128iblendepi16_end _m128iblendepi16_50 label size_t pblendw xmm0, xmm1, 50 jmp _m128iblendepi16_end _m128iblendepi16_51 label size_t pblendw xmm0, xmm1, 51 jmp _m128iblendepi16_end _m128iblendepi16_52 label size_t pblendw xmm0, xmm1, 52 jmp _m128iblendepi16_end _m128iblendepi16_53 label size_t pblendw xmm0, xmm1, 53 jmp _m128iblendepi16_end _m128iblendepi16_54 label size_t pblendw xmm0, xmm1, 54 jmp _m128iblendepi16_end _m128iblendepi16_55 label size_t pblendw xmm0, xmm1, 55 jmp _m128iblendepi16_end _m128iblendepi16_56 label size_t pblendw xmm0, xmm1, 56 jmp _m128iblendepi16_end _m128iblendepi16_57 label size_t pblendw xmm0, xmm1, 57 jmp _m128iblendepi16_end _m128iblendepi16_58 label size_t pblendw xmm0, xmm1, 58 jmp _m128iblendepi16_end _m128iblendepi16_59 label size_t pblendw xmm0, xmm1, 59 jmp _m128iblendepi16_end _m128iblendepi16_60 label size_t pblendw xmm0, xmm1, 60 jmp _m128iblendepi16_end _m128iblendepi16_61 label size_t pblendw xmm0, xmm1, 61 jmp _m128iblendepi16_end _m128iblendepi16_62 label size_t pblendw xmm0, xmm1, 62 jmp _m128iblendepi16_end _m128iblendepi16_63 label size_t pblendw xmm0, xmm1, 63 jmp _m128iblendepi16_end _m128iblendepi16_64 label size_t pblendw xmm0, xmm1, 64 jmp _m128iblendepi16_end _m128iblendepi16_65 label size_t pblendw xmm0, xmm1, 65 jmp _m128iblendepi16_end _m128iblendepi16_66 label size_t pblendw xmm0, xmm1, 66 jmp _m128iblendepi16_end _m128iblendepi16_67 label size_t pblendw xmm0, xmm1, 67 jmp _m128iblendepi16_end _m128iblendepi16_68 label size_t pblendw xmm0, xmm1, 68 jmp _m128iblendepi16_end _m128iblendepi16_69 label size_t pblendw xmm0, xmm1, 69 jmp _m128iblendepi16_end _m128iblendepi16_70 label size_t pblendw xmm0, xmm1, 70 jmp _m128iblendepi16_end _m128iblendepi16_71 label size_t pblendw xmm0, xmm1, 71 jmp _m128iblendepi16_end _m128iblendepi16_72 label size_t pblendw xmm0, xmm1, 72 jmp _m128iblendepi16_end _m128iblendepi16_73 label size_t pblendw xmm0, xmm1, 73 jmp _m128iblendepi16_end _m128iblendepi16_74 label size_t pblendw xmm0, xmm1, 74 jmp _m128iblendepi16_end _m128iblendepi16_75 label size_t pblendw xmm0, xmm1, 75 jmp _m128iblendepi16_end _m128iblendepi16_76 label size_t pblendw xmm0, xmm1, 76 jmp _m128iblendepi16_end _m128iblendepi16_77 label size_t pblendw xmm0, xmm1, 77 jmp _m128iblendepi16_end _m128iblendepi16_78 label size_t pblendw xmm0, xmm1, 78 jmp _m128iblendepi16_end _m128iblendepi16_79 label size_t pblendw xmm0, xmm1, 79 jmp _m128iblendepi16_end _m128iblendepi16_80 label size_t pblendw xmm0, xmm1, 80 jmp _m128iblendepi16_end _m128iblendepi16_81 label size_t pblendw xmm0, xmm1, 81 jmp _m128iblendepi16_end _m128iblendepi16_82 label size_t pblendw xmm0, xmm1, 82 jmp _m128iblendepi16_end _m128iblendepi16_83 label size_t pblendw xmm0, xmm1, 83 jmp _m128iblendepi16_end _m128iblendepi16_84 label size_t pblendw xmm0, xmm1, 84 jmp _m128iblendepi16_end _m128iblendepi16_85 label size_t pblendw xmm0, xmm1, 85 jmp _m128iblendepi16_end _m128iblendepi16_86 label size_t pblendw xmm0, xmm1, 86 jmp _m128iblendepi16_end _m128iblendepi16_87 label size_t pblendw xmm0, xmm1, 87 jmp _m128iblendepi16_end _m128iblendepi16_88 label size_t pblendw xmm0, xmm1, 88 jmp _m128iblendepi16_end _m128iblendepi16_89 label size_t pblendw xmm0, xmm1, 89 jmp _m128iblendepi16_end _m128iblendepi16_90 label size_t pblendw xmm0, xmm1, 90 jmp _m128iblendepi16_end _m128iblendepi16_91 label size_t pblendw xmm0, xmm1, 91 jmp _m128iblendepi16_end _m128iblendepi16_92 label size_t pblendw xmm0, xmm1, 92 jmp _m128iblendepi16_end _m128iblendepi16_93 label size_t pblendw xmm0, xmm1, 93 jmp _m128iblendepi16_end _m128iblendepi16_94 label size_t pblendw xmm0, xmm1, 94 jmp _m128iblendepi16_end _m128iblendepi16_95 label size_t pblendw xmm0, xmm1, 95 jmp _m128iblendepi16_end _m128iblendepi16_96 label size_t pblendw xmm0, xmm1, 96 jmp _m128iblendepi16_end _m128iblendepi16_97 label size_t pblendw xmm0, xmm1, 97 jmp _m128iblendepi16_end _m128iblendepi16_98 label size_t pblendw xmm0, xmm1, 98 jmp _m128iblendepi16_end _m128iblendepi16_99 label size_t pblendw xmm0, xmm1, 99 jmp _m128iblendepi16_end _m128iblendepi16_100 label size_t pblendw xmm0, xmm1, 100 jmp _m128iblendepi16_end _m128iblendepi16_101 label size_t pblendw xmm0, xmm1, 101 jmp _m128iblendepi16_end _m128iblendepi16_102 label size_t pblendw xmm0, xmm1, 102 jmp _m128iblendepi16_end _m128iblendepi16_103 label size_t pblendw xmm0, xmm1, 103 jmp _m128iblendepi16_end _m128iblendepi16_104 label size_t pblendw xmm0, xmm1, 104 jmp _m128iblendepi16_end _m128iblendepi16_105 label size_t pblendw xmm0, xmm1, 105 jmp _m128iblendepi16_end _m128iblendepi16_106 label size_t pblendw xmm0, xmm1, 106 jmp _m128iblendepi16_end _m128iblendepi16_107 label size_t pblendw xmm0, xmm1, 107 jmp _m128iblendepi16_end _m128iblendepi16_108 label size_t pblendw xmm0, xmm1, 108 jmp _m128iblendepi16_end _m128iblendepi16_109 label size_t pblendw xmm0, xmm1, 109 jmp _m128iblendepi16_end _m128iblendepi16_110 label size_t pblendw xmm0, xmm1, 110 jmp _m128iblendepi16_end _m128iblendepi16_111 label size_t pblendw xmm0, xmm1, 111 jmp _m128iblendepi16_end _m128iblendepi16_112 label size_t pblendw xmm0, xmm1, 112 jmp _m128iblendepi16_end _m128iblendepi16_113 label size_t pblendw xmm0, xmm1, 113 jmp _m128iblendepi16_end _m128iblendepi16_114 label size_t pblendw xmm0, xmm1, 114 jmp _m128iblendepi16_end _m128iblendepi16_115 label size_t pblendw xmm0, xmm1, 115 jmp _m128iblendepi16_end _m128iblendepi16_116 label size_t pblendw xmm0, xmm1, 116 jmp _m128iblendepi16_end _m128iblendepi16_117 label size_t pblendw xmm0, xmm1, 117 jmp _m128iblendepi16_end _m128iblendepi16_118 label size_t pblendw xmm0, xmm1, 118 jmp _m128iblendepi16_end _m128iblendepi16_119 label size_t pblendw xmm0, xmm1, 119 jmp _m128iblendepi16_end _m128iblendepi16_120 label size_t pblendw xmm0, xmm1, 120 jmp _m128iblendepi16_end _m128iblendepi16_121 label size_t pblendw xmm0, xmm1, 121 jmp _m128iblendepi16_end _m128iblendepi16_122 label size_t pblendw xmm0, xmm1, 122 jmp _m128iblendepi16_end _m128iblendepi16_123 label size_t pblendw xmm0, xmm1, 123 jmp _m128iblendepi16_end _m128iblendepi16_124 label size_t pblendw xmm0, xmm1, 124 jmp _m128iblendepi16_end _m128iblendepi16_125 label size_t pblendw xmm0, xmm1, 125 jmp _m128iblendepi16_end _m128iblendepi16_126 label size_t pblendw xmm0, xmm1, 126 jmp _m128iblendepi16_end _m128iblendepi16_127 label size_t pblendw xmm0, xmm1, 127 jmp _m128iblendepi16_end _m128iblendepi16_128 label size_t pblendw xmm0, xmm1, 128 jmp _m128iblendepi16_end _m128iblendepi16_129 label size_t pblendw xmm0, xmm1, 129 jmp _m128iblendepi16_end _m128iblendepi16_130 label size_t pblendw xmm0, xmm1, 130 jmp _m128iblendepi16_end _m128iblendepi16_131 label size_t pblendw xmm0, xmm1, 131 jmp _m128iblendepi16_end _m128iblendepi16_132 label size_t pblendw xmm0, xmm1, 132 jmp _m128iblendepi16_end _m128iblendepi16_133 label size_t pblendw xmm0, xmm1, 133 jmp _m128iblendepi16_end _m128iblendepi16_134 label size_t pblendw xmm0, xmm1, 134 jmp _m128iblendepi16_end _m128iblendepi16_135 label size_t pblendw xmm0, xmm1, 135 jmp _m128iblendepi16_end _m128iblendepi16_136 label size_t pblendw xmm0, xmm1, 136 jmp _m128iblendepi16_end _m128iblendepi16_137 label size_t pblendw xmm0, xmm1, 137 jmp _m128iblendepi16_end _m128iblendepi16_138 label size_t pblendw xmm0, xmm1, 138 jmp _m128iblendepi16_end _m128iblendepi16_139 label size_t pblendw xmm0, xmm1, 139 jmp _m128iblendepi16_end _m128iblendepi16_140 label size_t pblendw xmm0, xmm1, 140 jmp _m128iblendepi16_end _m128iblendepi16_141 label size_t pblendw xmm0, xmm1, 141 jmp _m128iblendepi16_end _m128iblendepi16_142 label size_t pblendw xmm0, xmm1, 142 jmp _m128iblendepi16_end _m128iblendepi16_143 label size_t pblendw xmm0, xmm1, 143 jmp _m128iblendepi16_end _m128iblendepi16_144 label size_t pblendw xmm0, xmm1, 144 jmp _m128iblendepi16_end _m128iblendepi16_145 label size_t pblendw xmm0, xmm1, 145 jmp _m128iblendepi16_end _m128iblendepi16_146 label size_t pblendw xmm0, xmm1, 146 jmp _m128iblendepi16_end _m128iblendepi16_147 label size_t pblendw xmm0, xmm1, 147 jmp _m128iblendepi16_end _m128iblendepi16_148 label size_t pblendw xmm0, xmm1, 148 jmp _m128iblendepi16_end _m128iblendepi16_149 label size_t pblendw xmm0, xmm1, 149 jmp _m128iblendepi16_end _m128iblendepi16_150 label size_t pblendw xmm0, xmm1, 150 jmp _m128iblendepi16_end _m128iblendepi16_151 label size_t pblendw xmm0, xmm1, 151 jmp _m128iblendepi16_end _m128iblendepi16_152 label size_t pblendw xmm0, xmm1, 152 jmp _m128iblendepi16_end _m128iblendepi16_153 label size_t pblendw xmm0, xmm1, 153 jmp _m128iblendepi16_end _m128iblendepi16_154 label size_t pblendw xmm0, xmm1, 154 jmp _m128iblendepi16_end _m128iblendepi16_155 label size_t pblendw xmm0, xmm1, 155 jmp _m128iblendepi16_end _m128iblendepi16_156 label size_t pblendw xmm0, xmm1, 156 jmp _m128iblendepi16_end _m128iblendepi16_157 label size_t pblendw xmm0, xmm1, 157 jmp _m128iblendepi16_end _m128iblendepi16_158 label size_t pblendw xmm0, xmm1, 158 jmp _m128iblendepi16_end _m128iblendepi16_159 label size_t pblendw xmm0, xmm1, 159 jmp _m128iblendepi16_end _m128iblendepi16_160 label size_t pblendw xmm0, xmm1, 160 jmp _m128iblendepi16_end _m128iblendepi16_161 label size_t pblendw xmm0, xmm1, 161 jmp _m128iblendepi16_end _m128iblendepi16_162 label size_t pblendw xmm0, xmm1, 162 jmp _m128iblendepi16_end _m128iblendepi16_163 label size_t pblendw xmm0, xmm1, 163 jmp _m128iblendepi16_end _m128iblendepi16_164 label size_t pblendw xmm0, xmm1, 164 jmp _m128iblendepi16_end _m128iblendepi16_165 label size_t pblendw xmm0, xmm1, 165 jmp _m128iblendepi16_end _m128iblendepi16_166 label size_t pblendw xmm0, xmm1, 166 jmp _m128iblendepi16_end _m128iblendepi16_167 label size_t pblendw xmm0, xmm1, 167 jmp _m128iblendepi16_end _m128iblendepi16_168 label size_t pblendw xmm0, xmm1, 168 jmp _m128iblendepi16_end _m128iblendepi16_169 label size_t pblendw xmm0, xmm1, 169 jmp _m128iblendepi16_end _m128iblendepi16_170 label size_t pblendw xmm0, xmm1, 170 jmp _m128iblendepi16_end _m128iblendepi16_171 label size_t pblendw xmm0, xmm1, 171 jmp _m128iblendepi16_end _m128iblendepi16_172 label size_t pblendw xmm0, xmm1, 172 jmp _m128iblendepi16_end _m128iblendepi16_173 label size_t pblendw xmm0, xmm1, 173 jmp _m128iblendepi16_end _m128iblendepi16_174 label size_t pblendw xmm0, xmm1, 174 jmp _m128iblendepi16_end _m128iblendepi16_175 label size_t pblendw xmm0, xmm1, 175 jmp _m128iblendepi16_end _m128iblendepi16_176 label size_t pblendw xmm0, xmm1, 176 jmp _m128iblendepi16_end _m128iblendepi16_177 label size_t pblendw xmm0, xmm1, 177 jmp _m128iblendepi16_end _m128iblendepi16_178 label size_t pblendw xmm0, xmm1, 178 jmp _m128iblendepi16_end _m128iblendepi16_179 label size_t pblendw xmm0, xmm1, 179 jmp _m128iblendepi16_end _m128iblendepi16_180 label size_t pblendw xmm0, xmm1, 180 jmp _m128iblendepi16_end _m128iblendepi16_181 label size_t pblendw xmm0, xmm1, 181 jmp _m128iblendepi16_end _m128iblendepi16_182 label size_t pblendw xmm0, xmm1, 182 jmp _m128iblendepi16_end _m128iblendepi16_183 label size_t pblendw xmm0, xmm1, 183 jmp _m128iblendepi16_end _m128iblendepi16_184 label size_t pblendw xmm0, xmm1, 184 jmp _m128iblendepi16_end _m128iblendepi16_185 label size_t pblendw xmm0, xmm1, 185 jmp _m128iblendepi16_end _m128iblendepi16_186 label size_t pblendw xmm0, xmm1, 186 jmp _m128iblendepi16_end _m128iblendepi16_187 label size_t pblendw xmm0, xmm1, 187 jmp _m128iblendepi16_end _m128iblendepi16_188 label size_t pblendw xmm0, xmm1, 188 jmp _m128iblendepi16_end _m128iblendepi16_189 label size_t pblendw xmm0, xmm1, 189 jmp _m128iblendepi16_end _m128iblendepi16_190 label size_t pblendw xmm0, xmm1, 190 jmp _m128iblendepi16_end _m128iblendepi16_191 label size_t pblendw xmm0, xmm1, 191 jmp _m128iblendepi16_end _m128iblendepi16_192 label size_t pblendw xmm0, xmm1, 192 jmp _m128iblendepi16_end _m128iblendepi16_193 label size_t pblendw xmm0, xmm1, 193 jmp _m128iblendepi16_end _m128iblendepi16_194 label size_t pblendw xmm0, xmm1, 194 jmp _m128iblendepi16_end _m128iblendepi16_195 label size_t pblendw xmm0, xmm1, 195 jmp _m128iblendepi16_end _m128iblendepi16_196 label size_t pblendw xmm0, xmm1, 196 jmp _m128iblendepi16_end _m128iblendepi16_197 label size_t pblendw xmm0, xmm1, 197 jmp _m128iblendepi16_end _m128iblendepi16_198 label size_t pblendw xmm0, xmm1, 198 jmp _m128iblendepi16_end _m128iblendepi16_199 label size_t pblendw xmm0, xmm1, 199 jmp _m128iblendepi16_end _m128iblendepi16_200 label size_t pblendw xmm0, xmm1, 200 jmp _m128iblendepi16_end _m128iblendepi16_201 label size_t pblendw xmm0, xmm1, 201 jmp _m128iblendepi16_end _m128iblendepi16_202 label size_t pblendw xmm0, xmm1, 202 jmp _m128iblendepi16_end _m128iblendepi16_203 label size_t pblendw xmm0, xmm1, 203 jmp _m128iblendepi16_end _m128iblendepi16_204 label size_t pblendw xmm0, xmm1, 204 jmp _m128iblendepi16_end _m128iblendepi16_205 label size_t pblendw xmm0, xmm1, 205 jmp _m128iblendepi16_end _m128iblendepi16_206 label size_t pblendw xmm0, xmm1, 206 jmp _m128iblendepi16_end _m128iblendepi16_207 label size_t pblendw xmm0, xmm1, 207 jmp _m128iblendepi16_end _m128iblendepi16_208 label size_t pblendw xmm0, xmm1, 208 jmp _m128iblendepi16_end _m128iblendepi16_209 label size_t pblendw xmm0, xmm1, 209 jmp _m128iblendepi16_end _m128iblendepi16_210 label size_t pblendw xmm0, xmm1, 210 jmp _m128iblendepi16_end _m128iblendepi16_211 label size_t pblendw xmm0, xmm1, 211 jmp _m128iblendepi16_end _m128iblendepi16_212 label size_t pblendw xmm0, xmm1, 212 jmp _m128iblendepi16_end _m128iblendepi16_213 label size_t pblendw xmm0, xmm1, 213 jmp _m128iblendepi16_end _m128iblendepi16_214 label size_t pblendw xmm0, xmm1, 214 jmp _m128iblendepi16_end _m128iblendepi16_215 label size_t pblendw xmm0, xmm1, 215 jmp _m128iblendepi16_end _m128iblendepi16_216 label size_t pblendw xmm0, xmm1, 216 jmp _m128iblendepi16_end _m128iblendepi16_217 label size_t pblendw xmm0, xmm1, 217 jmp _m128iblendepi16_end _m128iblendepi16_218 label size_t pblendw xmm0, xmm1, 218 jmp _m128iblendepi16_end _m128iblendepi16_219 label size_t pblendw xmm0, xmm1, 219 jmp _m128iblendepi16_end _m128iblendepi16_220 label size_t pblendw xmm0, xmm1, 220 jmp _m128iblendepi16_end _m128iblendepi16_221 label size_t pblendw xmm0, xmm1, 221 jmp _m128iblendepi16_end _m128iblendepi16_222 label size_t pblendw xmm0, xmm1, 222 jmp _m128iblendepi16_end _m128iblendepi16_223 label size_t pblendw xmm0, xmm1, 223 jmp _m128iblendepi16_end _m128iblendepi16_224 label size_t pblendw xmm0, xmm1, 224 jmp _m128iblendepi16_end _m128iblendepi16_225 label size_t pblendw xmm0, xmm1, 225 jmp _m128iblendepi16_end _m128iblendepi16_226 label size_t pblendw xmm0, xmm1, 226 jmp _m128iblendepi16_end _m128iblendepi16_227 label size_t pblendw xmm0, xmm1, 227 jmp _m128iblendepi16_end _m128iblendepi16_228 label size_t pblendw xmm0, xmm1, 228 jmp _m128iblendepi16_end _m128iblendepi16_229 label size_t pblendw xmm0, xmm1, 229 jmp _m128iblendepi16_end _m128iblendepi16_230 label size_t pblendw xmm0, xmm1, 230 jmp _m128iblendepi16_end _m128iblendepi16_231 label size_t pblendw xmm0, xmm1, 231 jmp _m128iblendepi16_end _m128iblendepi16_232 label size_t pblendw xmm0, xmm1, 232 jmp _m128iblendepi16_end _m128iblendepi16_233 label size_t pblendw xmm0, xmm1, 233 jmp _m128iblendepi16_end _m128iblendepi16_234 label size_t pblendw xmm0, xmm1, 234 jmp _m128iblendepi16_end _m128iblendepi16_235 label size_t pblendw xmm0, xmm1, 235 jmp _m128iblendepi16_end _m128iblendepi16_236 label size_t pblendw xmm0, xmm1, 236 jmp _m128iblendepi16_end _m128iblendepi16_237 label size_t pblendw xmm0, xmm1, 237 jmp _m128iblendepi16_end _m128iblendepi16_238 label size_t pblendw xmm0, xmm1, 238 jmp _m128iblendepi16_end _m128iblendepi16_239 label size_t pblendw xmm0, xmm1, 239 jmp _m128iblendepi16_end _m128iblendepi16_240 label size_t pblendw xmm0, xmm1, 240 jmp _m128iblendepi16_end _m128iblendepi16_241 label size_t pblendw xmm0, xmm1, 241 jmp _m128iblendepi16_end _m128iblendepi16_242 label size_t pblendw xmm0, xmm1, 242 jmp _m128iblendepi16_end _m128iblendepi16_243 label size_t pblendw xmm0, xmm1, 243 jmp _m128iblendepi16_end _m128iblendepi16_244 label size_t pblendw xmm0, xmm1, 244 jmp _m128iblendepi16_end _m128iblendepi16_245 label size_t pblendw xmm0, xmm1, 245 jmp _m128iblendepi16_end _m128iblendepi16_246 label size_t pblendw xmm0, xmm1, 246 jmp _m128iblendepi16_end _m128iblendepi16_247 label size_t pblendw xmm0, xmm1, 247 jmp _m128iblendepi16_end _m128iblendepi16_248 label size_t pblendw xmm0, xmm1, 248 jmp _m128iblendepi16_end _m128iblendepi16_249 label size_t pblendw xmm0, xmm1, 249 jmp _m128iblendepi16_end _m128iblendepi16_250 label size_t pblendw xmm0, xmm1, 250 jmp _m128iblendepi16_end _m128iblendepi16_251 label size_t pblendw xmm0, xmm1, 251 jmp _m128iblendepi16_end _m128iblendepi16_252 label size_t pblendw xmm0, xmm1, 252 jmp _m128iblendepi16_end _m128iblendepi16_253 label size_t pblendw xmm0, xmm1, 253 jmp _m128iblendepi16_end _m128iblendepi16_254 label size_t pblendw xmm0, xmm1, 254 jmp _m128iblendepi16_end _m128iblendepi16_255 label size_t pblendw xmm0, xmm1, 255 ;jmp _m128iblendepi16_end _m128iblendepi16_end: pop rbase() ret procend procstart _uX_mm_blend_0000_ps, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword blendps xmm0, xmm1, 0 ret procend procstart _uX_mm_blend_0001_ps, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword blendps xmm0, xmm1, 1 ret procend procstart _uX_mm_blend_0010_ps, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword blendps xmm0, xmm1, 2 ret procend procstart _uX_mm_blend_0011_ps, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword blendps xmm0, xmm1, 3 ret procend procstart _uX_mm_blend_0100_ps, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword blendps xmm0, xmm1, 4 ret procend procstart _uX_mm_blend_0101_ps, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword blendps xmm0, xmm1, 5 ret procend procstart _uX_mm_blend_0110_ps, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword blendps xmm0, xmm1, 6 ret procend procstart _uX_mm_blend_0111_ps, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword blendps xmm0, xmm1, 7 ret procend procstart _uX_mm_blend_1000_ps, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword blendps xmm0, xmm1, 8 ret procend procstart _uX_mm_blend_1001_ps, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword blendps xmm0, xmm1, 9 ret procend procstart _uX_mm_blend_1010_ps, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword blendps xmm0, xmm1, 10 ret procend procstart _uX_mm_blend_1011_ps, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword blendps xmm0, xmm1, 11 ret procend procstart _uX_mm_blend_1100_ps, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword blendps xmm0, xmm1, 12 ret procend procstart _uX_mm_blend_1101_ps, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword blendps xmm0, xmm1, 13 ret procend procstart _uX_mm_blend_1110_ps, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword blendps xmm0, xmm1, 14 ret procend procstart _uX_mm_blend_1111_ps, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword blendps xmm0, xmm1, 15 ret procend procstart _uX_mm_blend_ps, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword, Inint_Imm:dword push rbase() .if((rp2() < 0) || (rp2() > 15)) jmp _m128blendps_end .endif ifdef __X32__ movzx rbase(), byte ptr [rp2()] jmp dword ptr [_m128blendpsjmptable+rbase()*size_t_size] else lea rbase(), qword ptr [_m128blendpsjmptable] mov rbase(), qword ptr [rbase()+rp2()*size_t_size] jmp rbx endif _m128blendps_0 label size_t blendps xmm0, xmm1, 0 jmp _m128blendps_end _m128blendps_1 label size_t blendps xmm0, xmm1, 1 jmp _m128blendps_end _m128blendps_2 label size_t blendps xmm0, xmm1, 2 jmp _m128blendps_end _m128blendps_3 label size_t blendps xmm0, xmm1, 3 jmp _m128blendps_end _m128blendps_4 label size_t blendps xmm0, xmm1, 4 jmp _m128blendps_end _m128blendps_5 label size_t blendps xmm0, xmm1, 5 jmp _m128blendps_end _m128blendps_6 label size_t blendps xmm0, xmm1, 6 jmp _m128blendps_end _m128blendps_7 label size_t blendps xmm0, xmm1, 7 jmp _m128blendps_end _m128blendps_8 label size_t blendps xmm0, xmm1, 8 jmp _m128blendps_end _m128blendps_9 label size_t blendps xmm0, xmm1, 9 jmp _m128blendps_end _m128blendps_10 label size_t blendps xmm0, xmm1, 10 jmp _m128blendps_end _m128blendps_11 label size_t blendps xmm0, xmm1, 11 jmp _m128blendps_end _m128blendps_12 label size_t blendps xmm0, xmm1, 12 jmp _m128blendps_end _m128blendps_13 label size_t blendps xmm0, xmm1, 13 jmp _m128blendps_end _m128blendps_14 label size_t blendps xmm0, xmm1, 14 jmp _m128blendps_end _m128blendps_15 label size_t blendps xmm0, xmm1, 15 ;jmp _m128blendps_end _m128blendps_end: pop rbase() ret procend procstart _uX_mm_blend_00_pd, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword blendpd xmm0, xmm1, 0 ret procend procstart _uX_mm_blend_01_pd, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword blendpd xmm0, xmm1, 1 ret procend procstart _uX_mm_blend_10_pd, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword blendpd xmm0, xmm1, 2 ret procend procstart _uX_mm_blend_11_pd, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword blendpd xmm0, xmm1, 3 ret procend procstart _uX_mm_blend, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword, Inint_Imm:dword push rbase() .if((rp2() < 0) || (rp2() > 3)) jmp _m128dblendpd_end .endif ifdef __X32__ movzx rbase(), byte ptr [rp2()] jmp dword ptr [_m128dblendpdjmptable+rbase()*size_t_size] else lea rbase(), qword ptr [_m128dblendpdjmptable] mov rbase(), qword ptr [rbase()+rp2()*size_t_size] jmp rbx endif _m128dblendpd_0 label size_t blendpd xmm0, xmm1, 0 jmp _m128dblendpd_end _m128dblendpd_1 label size_t blendpd xmm0, xmm1, 1 jmp _m128dblendpd_end _m128dblendpd_2 label size_t blendpd xmm0, xmm1, 2 jmp _m128dblendpd_end _m128dblendpd_3 label size_t blendpd xmm0, xmm1, 3 ;jmp _m128dblendpd_end _m128dblendpd_end: pop rbase() ret procend ;************************************ ; Dot product instructions ;************************************ procstart _uX_mm_dp_ps_0, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 0 ret procend procstart _uX_mm_dp_ps_1, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 1 ret procend procstart _uX_mm_dp_ps_2, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 2 ret procend procstart _uX_mm_dp_ps_3, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 3 ret procend procstart _uX_mm_dp_ps_4, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 4 ret procend procstart _uX_mm_dp_ps_5, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 5 ret procend procstart _uX_mm_dp_ps_6, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 6 ret procend procstart _uX_mm_dp_ps_7, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 7 ret procend procstart _uX_mm_dp_ps_8, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 8 ret procend procstart _uX_mm_dp_ps_9, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 9 ret procend procstart _uX_mm_dp_ps_10, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 10 ret procend procstart _uX_mm_dp_ps_11, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 11 ret procend procstart _uX_mm_dp_ps_12, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 12 ret procend procstart _uX_mm_dp_ps_13, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 13 ret procend procstart _uX_mm_dp_ps_14, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 14 ret procend procstart _uX_mm_dp_ps_15, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 15 ret procend procstart _uX_mm_dp_ps_16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 16 ret procend procstart _uX_mm_dp_ps_17, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 17 ret procend procstart _uX_mm_dp_ps_18, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 18 ret procend procstart _uX_mm_dp_ps_19, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 19 ret procend procstart _uX_mm_dp_ps_20, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 20 ret procend procstart _uX_mm_dp_ps_21, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 21 ret procend procstart _uX_mm_dp_ps_22, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 22 ret procend procstart _uX_mm_dp_ps_23, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 23 ret procend procstart _uX_mm_dp_ps_24, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 24 ret procend procstart _uX_mm_dp_ps_25, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 25 ret procend procstart _uX_mm_dp_ps_26, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 26 ret procend procstart _uX_mm_dp_ps_27, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 27 ret procend procstart _uX_mm_dp_ps_28, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 28 ret procend procstart _uX_mm_dp_ps_29, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 29 ret procend procstart _uX_mm_dp_ps_30, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 30 ret procend procstart _uX_mm_dp_ps_31, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 31 ret procend procstart _uX_mm_dp_ps_32, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 32 ret procend procstart _uX_mm_dp_ps_33, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 33 ret procend procstart _uX_mm_dp_ps_34, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 34 ret procend procstart _uX_mm_dp_ps_35, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 35 ret procend procstart _uX_mm_dp_ps_36, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 36 ret procend procstart _uX_mm_dp_ps_37, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 37 ret procend procstart _uX_mm_dp_ps_38, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 38 ret procend procstart _uX_mm_dp_ps_39, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 39 ret procend procstart _uX_mm_dp_ps_40, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 40 ret procend procstart _uX_mm_dp_ps_41, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 41 ret procend procstart _uX_mm_dp_ps_42, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 42 ret procend procstart _uX_mm_dp_ps_43, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 43 ret procend procstart _uX_mm_dp_ps_44, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 44 ret procend procstart _uX_mm_dp_ps_45, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 45 ret procend procstart _uX_mm_dp_ps_46, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 46 ret procend procstart _uX_mm_dp_ps_47, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 47 ret procend procstart _uX_mm_dp_ps_48, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 48 ret procend procstart _uX_mm_dp_ps_49, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 49 ret procend procstart _uX_mm_dp_ps_50, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 50 ret procend procstart _uX_mm_dp_ps_51, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 51 ret procend procstart _uX_mm_dp_ps_52, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 52 ret procend procstart _uX_mm_dp_ps_53, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 53 ret procend procstart _uX_mm_dp_ps_54, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 54 ret procend procstart _uX_mm_dp_ps_55, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 55 ret procend procstart _uX_mm_dp_ps_56, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 56 ret procend procstart _uX_mm_dp_ps_57, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 57 ret procend procstart _uX_mm_dp_ps_58, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 58 ret procend procstart _uX_mm_dp_ps_59, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 59 ret procend procstart _uX_mm_dp_ps_60, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 60 ret procend procstart _uX_mm_dp_ps_61, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 61 ret procend procstart _uX_mm_dp_ps_62, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 62 ret procend procstart _uX_mm_dp_ps_63, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 63 ret procend procstart _uX_mm_dp_ps_64, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 64 ret procend procstart _uX_mm_dp_ps_65, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 65 ret procend procstart _uX_mm_dp_ps_66, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 66 ret procend procstart _uX_mm_dp_ps_67, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 67 ret procend procstart _uX_mm_dp_ps_68, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 68 ret procend procstart _uX_mm_dp_ps_69, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 69 ret procend procstart _uX_mm_dp_ps_70, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 70 ret procend procstart _uX_mm_dp_ps_71, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 71 ret procend procstart _uX_mm_dp_ps_72, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 72 ret procend procstart _uX_mm_dp_ps_73, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 73 ret procend procstart _uX_mm_dp_ps_74, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 74 ret procend procstart _uX_mm_dp_ps_75, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 75 ret procend procstart _uX_mm_dp_ps_76, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 76 ret procend procstart _uX_mm_dp_ps_77, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 77 ret procend procstart _uX_mm_dp_ps_78, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 78 ret procend procstart _uX_mm_dp_ps_79, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 79 ret procend procstart _uX_mm_dp_ps_80, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 80 ret procend procstart _uX_mm_dp_ps_81, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 81 ret procend procstart _uX_mm_dp_ps_82, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 82 ret procend procstart _uX_mm_dp_ps_83, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 83 ret procend procstart _uX_mm_dp_ps_84, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 84 ret procend procstart _uX_mm_dp_ps_85, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 85 ret procend procstart _uX_mm_dp_ps_86, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 86 ret procend procstart _uX_mm_dp_ps_87, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 87 ret procend procstart _uX_mm_dp_ps_88, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 88 ret procend procstart _uX_mm_dp_ps_89, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 89 ret procend procstart _uX_mm_dp_ps_90, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 90 ret procend procstart _uX_mm_dp_ps_91, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 91 ret procend procstart _uX_mm_dp_ps_92, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 92 ret procend procstart _uX_mm_dp_ps_93, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 93 ret procend procstart _uX_mm_dp_ps_94, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 94 ret procend procstart _uX_mm_dp_ps_95, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 95 ret procend procstart _uX_mm_dp_ps_96, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 96 ret procend procstart _uX_mm_dp_ps_97, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 97 ret procend procstart _uX_mm_dp_ps_98, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 98 ret procend procstart _uX_mm_dp_ps_99, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 99 ret procend procstart _uX_mm_dp_ps_100, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 100 ret procend procstart _uX_mm_dp_ps_101, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 101 ret procend procstart _uX_mm_dp_ps_102, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 102 ret procend procstart _uX_mm_dp_ps_103, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 103 ret procend procstart _uX_mm_dp_ps_104, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 104 ret procend procstart _uX_mm_dp_ps_105, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 105 ret procend procstart _uX_mm_dp_ps_106, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 106 ret procend procstart _uX_mm_dp_ps_107, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 107 ret procend procstart _uX_mm_dp_ps_108, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 108 ret procend procstart _uX_mm_dp_ps_109, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 109 ret procend procstart _uX_mm_dp_ps_110, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 110 ret procend procstart _uX_mm_dp_ps_111, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 111 ret procend procstart _uX_mm_dp_ps_112, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 112 ret procend procstart _uX_mm_dp_ps_113, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 113 ret procend procstart _uX_mm_dp_ps_114, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 114 ret procend procstart _uX_mm_dp_ps_115, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 115 ret procend procstart _uX_mm_dp_ps_116, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 116 ret procend procstart _uX_mm_dp_ps_117, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 117 ret procend procstart _uX_mm_dp_ps_118, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 118 ret procend procstart _uX_mm_dp_ps_119, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 119 ret procend procstart _uX_mm_dp_ps_120, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 120 ret procend procstart _uX_mm_dp_ps_121, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 121 ret procend procstart _uX_mm_dp_ps_122, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 122 ret procend procstart _uX_mm_dp_ps_123, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 123 ret procend procstart _uX_mm_dp_ps_124, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 124 ret procend procstart _uX_mm_dp_ps_125, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 125 ret procend procstart _uX_mm_dp_ps_126, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 126 ret procend procstart _uX_mm_dp_ps_127, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 127 ret procend procstart _uX_mm_dp_ps_128, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 128 ret procend procstart _uX_mm_dp_ps_129, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 129 ret procend procstart _uX_mm_dp_ps_130, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 130 ret procend procstart _uX_mm_dp_ps_131, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 131 ret procend procstart _uX_mm_dp_ps_132, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 132 ret procend procstart _uX_mm_dp_ps_133, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 133 ret procend procstart _uX_mm_dp_ps_134, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 134 ret procend procstart _uX_mm_dp_ps_135, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 135 ret procend procstart _uX_mm_dp_ps_136, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 136 ret procend procstart _uX_mm_dp_ps_137, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 137 ret procend procstart _uX_mm_dp_ps_138, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 138 ret procend procstart _uX_mm_dp_ps_139, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 139 ret procend procstart _uX_mm_dp_ps_140, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 140 ret procend procstart _uX_mm_dp_ps_141, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 141 ret procend procstart _uX_mm_dp_ps_142, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 142 ret procend procstart _uX_mm_dp_ps_143, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 143 ret procend procstart _uX_mm_dp_ps_144, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 144 ret procend procstart _uX_mm_dp_ps_145, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 145 ret procend procstart _uX_mm_dp_ps_146, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 146 ret procend procstart _uX_mm_dp_ps_147, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 147 ret procend procstart _uX_mm_dp_ps_148, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 148 ret procend procstart _uX_mm_dp_ps_149, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 149 ret procend procstart _uX_mm_dp_ps_150, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 150 ret procend procstart _uX_mm_dp_ps_151, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 151 ret procend procstart _uX_mm_dp_ps_152, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 152 ret procend procstart _uX_mm_dp_ps_153, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 153 ret procend procstart _uX_mm_dp_ps_154, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 154 ret procend procstart _uX_mm_dp_ps_155, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 155 ret procend procstart _uX_mm_dp_ps_156, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 156 ret procend procstart _uX_mm_dp_ps_157, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 157 ret procend procstart _uX_mm_dp_ps_158, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 158 ret procend procstart _uX_mm_dp_ps_159, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 159 ret procend procstart _uX_mm_dp_ps_160, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 160 ret procend procstart _uX_mm_dp_ps_161, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 161 ret procend procstart _uX_mm_dp_ps_162, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 162 ret procend procstart _uX_mm_dp_ps_163, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 163 ret procend procstart _uX_mm_dp_ps_164, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 164 ret procend procstart _uX_mm_dp_ps_165, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 165 ret procend procstart _uX_mm_dp_ps_166, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 166 ret procend procstart _uX_mm_dp_ps_167, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 167 ret procend procstart _uX_mm_dp_ps_168, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 168 ret procend procstart _uX_mm_dp_ps_169, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 169 ret procend procstart _uX_mm_dp_ps_170, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 170 ret procend procstart _uX_mm_dp_ps_171, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 171 ret procend procstart _uX_mm_dp_ps_172, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 172 ret procend procstart _uX_mm_dp_ps_173, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 173 ret procend procstart _uX_mm_dp_ps_174, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 174 ret procend procstart _uX_mm_dp_ps_175, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 175 ret procend procstart _uX_mm_dp_ps_176, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 176 ret procend procstart _uX_mm_dp_ps_177, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 177 ret procend procstart _uX_mm_dp_ps_178, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 178 ret procend procstart _uX_mm_dp_ps_179, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 179 ret procend procstart _uX_mm_dp_ps_180, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 180 ret procend procstart _uX_mm_dp_ps_181, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 181 ret procend procstart _uX_mm_dp_ps_182, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 182 ret procend procstart _uX_mm_dp_ps_183, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 183 ret procend procstart _uX_mm_dp_ps_184, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 184 ret procend procstart _uX_mm_dp_ps_185, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 185 ret procend procstart _uX_mm_dp_ps_186, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 186 ret procend procstart _uX_mm_dp_ps_187, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 187 ret procend procstart _uX_mm_dp_ps_188, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 188 ret procend procstart _uX_mm_dp_ps_189, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 189 ret procend procstart _uX_mm_dp_ps_190, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 190 ret procend procstart _uX_mm_dp_ps_191, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 191 ret procend procstart _uX_mm_dp_ps_192, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 192 ret procend procstart _uX_mm_dp_ps_193, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 193 ret procend procstart _uX_mm_dp_ps_194, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 194 ret procend procstart _uX_mm_dp_ps_195, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 195 ret procend procstart _uX_mm_dp_ps_196, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 196 ret procend procstart _uX_mm_dp_ps_197, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 197 ret procend procstart _uX_mm_dp_ps_198, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 198 ret procend procstart _uX_mm_dp_ps_199, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 199 ret procend procstart _uX_mm_dp_ps_200, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 200 ret procend procstart _uX_mm_dp_ps_201, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 201 ret procend procstart _uX_mm_dp_ps_202, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 202 ret procend procstart _uX_mm_dp_ps_203, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 203 ret procend procstart _uX_mm_dp_ps_204, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 204 ret procend procstart _uX_mm_dp_ps_205, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 205 ret procend procstart _uX_mm_dp_ps_206, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 206 ret procend procstart _uX_mm_dp_ps_207, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 207 ret procend procstart _uX_mm_dp_ps_208, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 208 ret procend procstart _uX_mm_dp_ps_209, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 209 ret procend procstart _uX_mm_dp_ps_210, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 210 ret procend procstart _uX_mm_dp_ps_211, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 211 ret procend procstart _uX_mm_dp_ps_212, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 212 ret procend procstart _uX_mm_dp_ps_213, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 213 ret procend procstart _uX_mm_dp_ps_214, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 214 ret procend procstart _uX_mm_dp_ps_215, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 215 ret procend procstart _uX_mm_dp_ps_216, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 216 ret procend procstart _uX_mm_dp_ps_217, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 217 ret procend procstart _uX_mm_dp_ps_218, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 218 ret procend procstart _uX_mm_dp_ps_219, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 219 ret procend procstart _uX_mm_dp_ps_220, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 220 ret procend procstart _uX_mm_dp_ps_221, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 221 ret procend procstart _uX_mm_dp_ps_222, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 222 ret procend procstart _uX_mm_dp_ps_223, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 223 ret procend procstart _uX_mm_dp_ps_224, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 224 ret procend procstart _uX_mm_dp_ps_225, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 225 ret procend procstart _uX_mm_dp_ps_226, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 226 ret procend procstart _uX_mm_dp_ps_227, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 227 ret procend procstart _uX_mm_dp_ps_228, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 228 ret procend procstart _uX_mm_dp_ps_229, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 229 ret procend procstart _uX_mm_dp_ps_230, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 230 ret procend procstart _uX_mm_dp_ps_231, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 231 ret procend procstart _uX_mm_dp_ps_232, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 232 ret procend procstart _uX_mm_dp_ps_233, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 233 ret procend procstart _uX_mm_dp_ps_234, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 234 ret procend procstart _uX_mm_dp_ps_235, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 235 ret procend procstart _uX_mm_dp_ps_236, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 236 ret procend procstart _uX_mm_dp_ps_237, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 237 ret procend procstart _uX_mm_dp_ps_238, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 238 ret procend procstart _uX_mm_dp_ps_239, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 239 ret procend procstart _uX_mm_dp_ps_240, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 240 ret procend procstart _uX_mm_dp_ps_241, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 241 ret procend procstart _uX_mm_dp_ps_242, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 242 ret procend procstart _uX_mm_dp_ps_243, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 243 ret procend procstart _uX_mm_dp_ps_244, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 244 ret procend procstart _uX_mm_dp_ps_245, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 245 ret procend procstart _uX_mm_dp_ps_246, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 246 ret procend procstart _uX_mm_dp_ps_247, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 247 ret procend procstart _uX_mm_dp_ps_248, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 248 ret procend procstart _uX_mm_dp_ps_249, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 249 ret procend procstart _uX_mm_dp_ps_250, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 250 ret procend procstart _uX_mm_dp_ps_251, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 251 ret procend procstart _uX_mm_dp_ps_252, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 252 ret procend procstart _uX_mm_dp_ps_253, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 253 ret procend procstart _uX_mm_dp_ps_254, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 254 ret procend procstart _uX_mm_dp_ps_255, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dpps xmm0, xmm1, 255 ret procend procstart _uX_mm_dp_ps, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword, Inint_Imm:dword push rbase() .if((rp2() < 0) || (rp2() > 255)) jmp _m128dpps_end .endif ifdef __X32__ movzx rbase(), byte ptr [rp2()] jmp dword ptr [_m128dppsjmptable+rbase()*size_t_size] else lea rbase(), qword ptr [_m128dppsjmptable] mov rbase(), qword ptr [rbase()+rp2()*size_t_size] jmp rbx endif _m128dpps_0 label size_t dpps xmm0, xmm1, 0 jmp _m128dpps_end _m128dpps_1 label size_t dpps xmm0, xmm1, 1 jmp _m128dpps_end _m128dpps_2 label size_t dpps xmm0, xmm1, 2 jmp _m128dpps_end _m128dpps_3 label size_t dpps xmm0, xmm1, 3 jmp _m128dpps_end _m128dpps_4 label size_t dpps xmm0, xmm1, 4 jmp _m128dpps_end _m128dpps_5 label size_t dpps xmm0, xmm1, 5 jmp _m128dpps_end _m128dpps_6 label size_t dpps xmm0, xmm1, 6 jmp _m128dpps_end _m128dpps_7 label size_t dpps xmm0, xmm1, 7 jmp _m128dpps_end _m128dpps_8 label size_t dpps xmm0, xmm1, 8 jmp _m128dpps_end _m128dpps_9 label size_t dpps xmm0, xmm1, 9 jmp _m128dpps_end _m128dpps_10 label size_t dpps xmm0, xmm1, 10 jmp _m128dpps_end _m128dpps_11 label size_t dpps xmm0, xmm1, 11 jmp _m128dpps_end _m128dpps_12 label size_t dpps xmm0, xmm1, 12 jmp _m128dpps_end _m128dpps_13 label size_t dpps xmm0, xmm1, 13 jmp _m128dpps_end _m128dpps_14 label size_t dpps xmm0, xmm1, 14 jmp _m128dpps_end _m128dpps_15 label size_t dpps xmm0, xmm1, 15 jmp _m128dpps_end _m128dpps_16 label size_t dpps xmm0, xmm1, 16 jmp _m128dpps_end _m128dpps_17 label size_t dpps xmm0, xmm1, 17 jmp _m128dpps_end _m128dpps_18 label size_t dpps xmm0, xmm1, 18 jmp _m128dpps_end _m128dpps_19 label size_t dpps xmm0, xmm1, 19 jmp _m128dpps_end _m128dpps_20 label size_t dpps xmm0, xmm1, 20 jmp _m128dpps_end _m128dpps_21 label size_t dpps xmm0, xmm1, 21 jmp _m128dpps_end _m128dpps_22 label size_t dpps xmm0, xmm1, 22 jmp _m128dpps_end _m128dpps_23 label size_t dpps xmm0, xmm1, 23 jmp _m128dpps_end _m128dpps_24 label size_t dpps xmm0, xmm1, 24 jmp _m128dpps_end _m128dpps_25 label size_t dpps xmm0, xmm1, 25 jmp _m128dpps_end _m128dpps_26 label size_t dpps xmm0, xmm1, 26 jmp _m128dpps_end _m128dpps_27 label size_t dpps xmm0, xmm1, 27 jmp _m128dpps_end _m128dpps_28 label size_t dpps xmm0, xmm1, 28 jmp _m128dpps_end _m128dpps_29 label size_t dpps xmm0, xmm1, 29 jmp _m128dpps_end _m128dpps_30 label size_t dpps xmm0, xmm1, 30 jmp _m128dpps_end _m128dpps_31 label size_t dpps xmm0, xmm1, 31 jmp _m128dpps_end _m128dpps_32 label size_t dpps xmm0, xmm1, 32 jmp _m128dpps_end _m128dpps_33 label size_t dpps xmm0, xmm1, 33 jmp _m128dpps_end _m128dpps_34 label size_t dpps xmm0, xmm1, 34 jmp _m128dpps_end _m128dpps_35 label size_t dpps xmm0, xmm1, 35 jmp _m128dpps_end _m128dpps_36 label size_t dpps xmm0, xmm1, 36 jmp _m128dpps_end _m128dpps_37 label size_t dpps xmm0, xmm1, 37 jmp _m128dpps_end _m128dpps_38 label size_t dpps xmm0, xmm1, 38 jmp _m128dpps_end _m128dpps_39 label size_t dpps xmm0, xmm1, 39 jmp _m128dpps_end _m128dpps_40 label size_t dpps xmm0, xmm1, 40 jmp _m128dpps_end _m128dpps_41 label size_t dpps xmm0, xmm1, 41 jmp _m128dpps_end _m128dpps_42 label size_t dpps xmm0, xmm1, 42 jmp _m128dpps_end _m128dpps_43 label size_t dpps xmm0, xmm1, 43 jmp _m128dpps_end _m128dpps_44 label size_t dpps xmm0, xmm1, 44 jmp _m128dpps_end _m128dpps_45 label size_t dpps xmm0, xmm1, 45 jmp _m128dpps_end _m128dpps_46 label size_t dpps xmm0, xmm1, 46 jmp _m128dpps_end _m128dpps_47 label size_t dpps xmm0, xmm1, 47 jmp _m128dpps_end _m128dpps_48 label size_t dpps xmm0, xmm1, 48 jmp _m128dpps_end _m128dpps_49 label size_t dpps xmm0, xmm1, 49 jmp _m128dpps_end _m128dpps_50 label size_t dpps xmm0, xmm1, 50 jmp _m128dpps_end _m128dpps_51 label size_t dpps xmm0, xmm1, 51 jmp _m128dpps_end _m128dpps_52 label size_t dpps xmm0, xmm1, 52 jmp _m128dpps_end _m128dpps_53 label size_t dpps xmm0, xmm1, 53 jmp _m128dpps_end _m128dpps_54 label size_t dpps xmm0, xmm1, 54 jmp _m128dpps_end _m128dpps_55 label size_t dpps xmm0, xmm1, 55 jmp _m128dpps_end _m128dpps_56 label size_t dpps xmm0, xmm1, 56 jmp _m128dpps_end _m128dpps_57 label size_t dpps xmm0, xmm1, 57 jmp _m128dpps_end _m128dpps_58 label size_t dpps xmm0, xmm1, 58 jmp _m128dpps_end _m128dpps_59 label size_t dpps xmm0, xmm1, 59 jmp _m128dpps_end _m128dpps_60 label size_t dpps xmm0, xmm1, 60 jmp _m128dpps_end _m128dpps_61 label size_t dpps xmm0, xmm1, 61 jmp _m128dpps_end _m128dpps_62 label size_t dpps xmm0, xmm1, 62 jmp _m128dpps_end _m128dpps_63 label size_t dpps xmm0, xmm1, 63 jmp _m128dpps_end _m128dpps_64 label size_t dpps xmm0, xmm1, 64 jmp _m128dpps_end _m128dpps_65 label size_t dpps xmm0, xmm1, 65 jmp _m128dpps_end _m128dpps_66 label size_t dpps xmm0, xmm1, 66 jmp _m128dpps_end _m128dpps_67 label size_t dpps xmm0, xmm1, 67 jmp _m128dpps_end _m128dpps_68 label size_t dpps xmm0, xmm1, 68 jmp _m128dpps_end _m128dpps_69 label size_t dpps xmm0, xmm1, 69 jmp _m128dpps_end _m128dpps_70 label size_t dpps xmm0, xmm1, 70 jmp _m128dpps_end _m128dpps_71 label size_t dpps xmm0, xmm1, 71 jmp _m128dpps_end _m128dpps_72 label size_t dpps xmm0, xmm1, 72 jmp _m128dpps_end _m128dpps_73 label size_t dpps xmm0, xmm1, 73 jmp _m128dpps_end _m128dpps_74 label size_t dpps xmm0, xmm1, 74 jmp _m128dpps_end _m128dpps_75 label size_t dpps xmm0, xmm1, 75 jmp _m128dpps_end _m128dpps_76 label size_t dpps xmm0, xmm1, 76 jmp _m128dpps_end _m128dpps_77 label size_t dpps xmm0, xmm1, 77 jmp _m128dpps_end _m128dpps_78 label size_t dpps xmm0, xmm1, 78 jmp _m128dpps_end _m128dpps_79 label size_t dpps xmm0, xmm1, 79 jmp _m128dpps_end _m128dpps_80 label size_t dpps xmm0, xmm1, 80 jmp _m128dpps_end _m128dpps_81 label size_t dpps xmm0, xmm1, 81 jmp _m128dpps_end _m128dpps_82 label size_t dpps xmm0, xmm1, 82 jmp _m128dpps_end _m128dpps_83 label size_t dpps xmm0, xmm1, 83 jmp _m128dpps_end _m128dpps_84 label size_t dpps xmm0, xmm1, 84 jmp _m128dpps_end _m128dpps_85 label size_t dpps xmm0, xmm1, 85 jmp _m128dpps_end _m128dpps_86 label size_t dpps xmm0, xmm1, 86 jmp _m128dpps_end _m128dpps_87 label size_t dpps xmm0, xmm1, 87 jmp _m128dpps_end _m128dpps_88 label size_t dpps xmm0, xmm1, 88 jmp _m128dpps_end _m128dpps_89 label size_t dpps xmm0, xmm1, 89 jmp _m128dpps_end _m128dpps_90 label size_t dpps xmm0, xmm1, 90 jmp _m128dpps_end _m128dpps_91 label size_t dpps xmm0, xmm1, 91 jmp _m128dpps_end _m128dpps_92 label size_t dpps xmm0, xmm1, 92 jmp _m128dpps_end _m128dpps_93 label size_t dpps xmm0, xmm1, 93 jmp _m128dpps_end _m128dpps_94 label size_t dpps xmm0, xmm1, 94 jmp _m128dpps_end _m128dpps_95 label size_t dpps xmm0, xmm1, 95 jmp _m128dpps_end _m128dpps_96 label size_t dpps xmm0, xmm1, 96 jmp _m128dpps_end _m128dpps_97 label size_t dpps xmm0, xmm1, 97 jmp _m128dpps_end _m128dpps_98 label size_t dpps xmm0, xmm1, 98 jmp _m128dpps_end _m128dpps_99 label size_t dpps xmm0, xmm1, 99 jmp _m128dpps_end _m128dpps_100 label size_t dpps xmm0, xmm1, 100 jmp _m128dpps_end _m128dpps_101 label size_t dpps xmm0, xmm1, 101 jmp _m128dpps_end _m128dpps_102 label size_t dpps xmm0, xmm1, 102 jmp _m128dpps_end _m128dpps_103 label size_t dpps xmm0, xmm1, 103 jmp _m128dpps_end _m128dpps_104 label size_t dpps xmm0, xmm1, 104 jmp _m128dpps_end _m128dpps_105 label size_t dpps xmm0, xmm1, 105 jmp _m128dpps_end _m128dpps_106 label size_t dpps xmm0, xmm1, 106 jmp _m128dpps_end _m128dpps_107 label size_t dpps xmm0, xmm1, 107 jmp _m128dpps_end _m128dpps_108 label size_t dpps xmm0, xmm1, 108 jmp _m128dpps_end _m128dpps_109 label size_t dpps xmm0, xmm1, 109 jmp _m128dpps_end _m128dpps_110 label size_t dpps xmm0, xmm1, 110 jmp _m128dpps_end _m128dpps_111 label size_t dpps xmm0, xmm1, 111 jmp _m128dpps_end _m128dpps_112 label size_t dpps xmm0, xmm1, 112 jmp _m128dpps_end _m128dpps_113 label size_t dpps xmm0, xmm1, 113 jmp _m128dpps_end _m128dpps_114 label size_t dpps xmm0, xmm1, 114 jmp _m128dpps_end _m128dpps_115 label size_t dpps xmm0, xmm1, 115 jmp _m128dpps_end _m128dpps_116 label size_t dpps xmm0, xmm1, 116 jmp _m128dpps_end _m128dpps_117 label size_t dpps xmm0, xmm1, 117 jmp _m128dpps_end _m128dpps_118 label size_t dpps xmm0, xmm1, 118 jmp _m128dpps_end _m128dpps_119 label size_t dpps xmm0, xmm1, 119 jmp _m128dpps_end _m128dpps_120 label size_t dpps xmm0, xmm1, 120 jmp _m128dpps_end _m128dpps_121 label size_t dpps xmm0, xmm1, 121 jmp _m128dpps_end _m128dpps_122 label size_t dpps xmm0, xmm1, 122 jmp _m128dpps_end _m128dpps_123 label size_t dpps xmm0, xmm1, 123 jmp _m128dpps_end _m128dpps_124 label size_t dpps xmm0, xmm1, 124 jmp _m128dpps_end _m128dpps_125 label size_t dpps xmm0, xmm1, 125 jmp _m128dpps_end _m128dpps_126 label size_t dpps xmm0, xmm1, 126 jmp _m128dpps_end _m128dpps_127 label size_t dpps xmm0, xmm1, 127 jmp _m128dpps_end _m128dpps_128 label size_t dpps xmm0, xmm1, 128 jmp _m128dpps_end _m128dpps_129 label size_t dpps xmm0, xmm1, 129 jmp _m128dpps_end _m128dpps_130 label size_t dpps xmm0, xmm1, 130 jmp _m128dpps_end _m128dpps_131 label size_t dpps xmm0, xmm1, 131 jmp _m128dpps_end _m128dpps_132 label size_t dpps xmm0, xmm1, 132 jmp _m128dpps_end _m128dpps_133 label size_t dpps xmm0, xmm1, 133 jmp _m128dpps_end _m128dpps_134 label size_t dpps xmm0, xmm1, 134 jmp _m128dpps_end _m128dpps_135 label size_t dpps xmm0, xmm1, 135 jmp _m128dpps_end _m128dpps_136 label size_t dpps xmm0, xmm1, 136 jmp _m128dpps_end _m128dpps_137 label size_t dpps xmm0, xmm1, 137 jmp _m128dpps_end _m128dpps_138 label size_t dpps xmm0, xmm1, 138 jmp _m128dpps_end _m128dpps_139 label size_t dpps xmm0, xmm1, 139 jmp _m128dpps_end _m128dpps_140 label size_t dpps xmm0, xmm1, 140 jmp _m128dpps_end _m128dpps_141 label size_t dpps xmm0, xmm1, 141 jmp _m128dpps_end _m128dpps_142 label size_t dpps xmm0, xmm1, 142 jmp _m128dpps_end _m128dpps_143 label size_t dpps xmm0, xmm1, 143 jmp _m128dpps_end _m128dpps_144 label size_t dpps xmm0, xmm1, 144 jmp _m128dpps_end _m128dpps_145 label size_t dpps xmm0, xmm1, 145 jmp _m128dpps_end _m128dpps_146 label size_t dpps xmm0, xmm1, 146 jmp _m128dpps_end _m128dpps_147 label size_t dpps xmm0, xmm1, 147 jmp _m128dpps_end _m128dpps_148 label size_t dpps xmm0, xmm1, 148 jmp _m128dpps_end _m128dpps_149 label size_t dpps xmm0, xmm1, 149 jmp _m128dpps_end _m128dpps_150 label size_t dpps xmm0, xmm1, 150 jmp _m128dpps_end _m128dpps_151 label size_t dpps xmm0, xmm1, 151 jmp _m128dpps_end _m128dpps_152 label size_t dpps xmm0, xmm1, 152 jmp _m128dpps_end _m128dpps_153 label size_t dpps xmm0, xmm1, 153 jmp _m128dpps_end _m128dpps_154 label size_t dpps xmm0, xmm1, 154 jmp _m128dpps_end _m128dpps_155 label size_t dpps xmm0, xmm1, 155 jmp _m128dpps_end _m128dpps_156 label size_t dpps xmm0, xmm1, 156 jmp _m128dpps_end _m128dpps_157 label size_t dpps xmm0, xmm1, 157 jmp _m128dpps_end _m128dpps_158 label size_t dpps xmm0, xmm1, 158 jmp _m128dpps_end _m128dpps_159 label size_t dpps xmm0, xmm1, 159 jmp _m128dpps_end _m128dpps_160 label size_t dpps xmm0, xmm1, 160 jmp _m128dpps_end _m128dpps_161 label size_t dpps xmm0, xmm1, 161 jmp _m128dpps_end _m128dpps_162 label size_t dpps xmm0, xmm1, 162 jmp _m128dpps_end _m128dpps_163 label size_t dpps xmm0, xmm1, 163 jmp _m128dpps_end _m128dpps_164 label size_t dpps xmm0, xmm1, 164 jmp _m128dpps_end _m128dpps_165 label size_t dpps xmm0, xmm1, 165 jmp _m128dpps_end _m128dpps_166 label size_t dpps xmm0, xmm1, 166 jmp _m128dpps_end _m128dpps_167 label size_t dpps xmm0, xmm1, 167 jmp _m128dpps_end _m128dpps_168 label size_t dpps xmm0, xmm1, 168 jmp _m128dpps_end _m128dpps_169 label size_t dpps xmm0, xmm1, 169 jmp _m128dpps_end _m128dpps_170 label size_t dpps xmm0, xmm1, 170 jmp _m128dpps_end _m128dpps_171 label size_t dpps xmm0, xmm1, 171 jmp _m128dpps_end _m128dpps_172 label size_t dpps xmm0, xmm1, 172 jmp _m128dpps_end _m128dpps_173 label size_t dpps xmm0, xmm1, 173 jmp _m128dpps_end _m128dpps_174 label size_t dpps xmm0, xmm1, 174 jmp _m128dpps_end _m128dpps_175 label size_t dpps xmm0, xmm1, 175 jmp _m128dpps_end _m128dpps_176 label size_t dpps xmm0, xmm1, 176 jmp _m128dpps_end _m128dpps_177 label size_t dpps xmm0, xmm1, 177 jmp _m128dpps_end _m128dpps_178 label size_t dpps xmm0, xmm1, 178 jmp _m128dpps_end _m128dpps_179 label size_t dpps xmm0, xmm1, 179 jmp _m128dpps_end _m128dpps_180 label size_t dpps xmm0, xmm1, 180 jmp _m128dpps_end _m128dpps_181 label size_t dpps xmm0, xmm1, 181 jmp _m128dpps_end _m128dpps_182 label size_t dpps xmm0, xmm1, 182 jmp _m128dpps_end _m128dpps_183 label size_t dpps xmm0, xmm1, 183 jmp _m128dpps_end _m128dpps_184 label size_t dpps xmm0, xmm1, 184 jmp _m128dpps_end _m128dpps_185 label size_t dpps xmm0, xmm1, 185 jmp _m128dpps_end _m128dpps_186 label size_t dpps xmm0, xmm1, 186 jmp _m128dpps_end _m128dpps_187 label size_t dpps xmm0, xmm1, 187 jmp _m128dpps_end _m128dpps_188 label size_t dpps xmm0, xmm1, 188 jmp _m128dpps_end _m128dpps_189 label size_t dpps xmm0, xmm1, 189 jmp _m128dpps_end _m128dpps_190 label size_t dpps xmm0, xmm1, 190 jmp _m128dpps_end _m128dpps_191 label size_t dpps xmm0, xmm1, 191 jmp _m128dpps_end _m128dpps_192 label size_t dpps xmm0, xmm1, 192 jmp _m128dpps_end _m128dpps_193 label size_t dpps xmm0, xmm1, 193 jmp _m128dpps_end _m128dpps_194 label size_t dpps xmm0, xmm1, 194 jmp _m128dpps_end _m128dpps_195 label size_t dpps xmm0, xmm1, 195 jmp _m128dpps_end _m128dpps_196 label size_t dpps xmm0, xmm1, 196 jmp _m128dpps_end _m128dpps_197 label size_t dpps xmm0, xmm1, 197 jmp _m128dpps_end _m128dpps_198 label size_t dpps xmm0, xmm1, 198 jmp _m128dpps_end _m128dpps_199 label size_t dpps xmm0, xmm1, 199 jmp _m128dpps_end _m128dpps_200 label size_t dpps xmm0, xmm1, 200 jmp _m128dpps_end _m128dpps_201 label size_t dpps xmm0, xmm1, 201 jmp _m128dpps_end _m128dpps_202 label size_t dpps xmm0, xmm1, 202 jmp _m128dpps_end _m128dpps_203 label size_t dpps xmm0, xmm1, 203 jmp _m128dpps_end _m128dpps_204 label size_t dpps xmm0, xmm1, 204 jmp _m128dpps_end _m128dpps_205 label size_t dpps xmm0, xmm1, 205 jmp _m128dpps_end _m128dpps_206 label size_t dpps xmm0, xmm1, 206 jmp _m128dpps_end _m128dpps_207 label size_t dpps xmm0, xmm1, 207 jmp _m128dpps_end _m128dpps_208 label size_t dpps xmm0, xmm1, 208 jmp _m128dpps_end _m128dpps_209 label size_t dpps xmm0, xmm1, 209 jmp _m128dpps_end _m128dpps_210 label size_t dpps xmm0, xmm1, 210 jmp _m128dpps_end _m128dpps_211 label size_t dpps xmm0, xmm1, 211 jmp _m128dpps_end _m128dpps_212 label size_t dpps xmm0, xmm1, 212 jmp _m128dpps_end _m128dpps_213 label size_t dpps xmm0, xmm1, 213 jmp _m128dpps_end _m128dpps_214 label size_t dpps xmm0, xmm1, 214 jmp _m128dpps_end _m128dpps_215 label size_t dpps xmm0, xmm1, 215 jmp _m128dpps_end _m128dpps_216 label size_t dpps xmm0, xmm1, 216 jmp _m128dpps_end _m128dpps_217 label size_t dpps xmm0, xmm1, 217 jmp _m128dpps_end _m128dpps_218 label size_t dpps xmm0, xmm1, 218 jmp _m128dpps_end _m128dpps_219 label size_t dpps xmm0, xmm1, 219 jmp _m128dpps_end _m128dpps_220 label size_t dpps xmm0, xmm1, 220 jmp _m128dpps_end _m128dpps_221 label size_t dpps xmm0, xmm1, 221 jmp _m128dpps_end _m128dpps_222 label size_t dpps xmm0, xmm1, 222 jmp _m128dpps_end _m128dpps_223 label size_t dpps xmm0, xmm1, 223 jmp _m128dpps_end _m128dpps_224 label size_t dpps xmm0, xmm1, 224 jmp _m128dpps_end _m128dpps_225 label size_t dpps xmm0, xmm1, 225 jmp _m128dpps_end _m128dpps_226 label size_t dpps xmm0, xmm1, 226 jmp _m128dpps_end _m128dpps_227 label size_t dpps xmm0, xmm1, 227 jmp _m128dpps_end _m128dpps_228 label size_t dpps xmm0, xmm1, 228 jmp _m128dpps_end _m128dpps_229 label size_t dpps xmm0, xmm1, 229 jmp _m128dpps_end _m128dpps_230 label size_t dpps xmm0, xmm1, 230 jmp _m128dpps_end _m128dpps_231 label size_t dpps xmm0, xmm1, 231 jmp _m128dpps_end _m128dpps_232 label size_t dpps xmm0, xmm1, 232 jmp _m128dpps_end _m128dpps_233 label size_t dpps xmm0, xmm1, 233 jmp _m128dpps_end _m128dpps_234 label size_t dpps xmm0, xmm1, 234 jmp _m128dpps_end _m128dpps_235 label size_t dpps xmm0, xmm1, 235 jmp _m128dpps_end _m128dpps_236 label size_t dpps xmm0, xmm1, 236 jmp _m128dpps_end _m128dpps_237 label size_t dpps xmm0, xmm1, 237 jmp _m128dpps_end _m128dpps_238 label size_t dpps xmm0, xmm1, 238 jmp _m128dpps_end _m128dpps_239 label size_t dpps xmm0, xmm1, 239 jmp _m128dpps_end _m128dpps_240 label size_t dpps xmm0, xmm1, 240 jmp _m128dpps_end _m128dpps_241 label size_t dpps xmm0, xmm1, 241 jmp _m128dpps_end _m128dpps_242 label size_t dpps xmm0, xmm1, 242 jmp _m128dpps_end _m128dpps_243 label size_t dpps xmm0, xmm1, 243 jmp _m128dpps_end _m128dpps_244 label size_t dpps xmm0, xmm1, 244 jmp _m128dpps_end _m128dpps_245 label size_t dpps xmm0, xmm1, 245 jmp _m128dpps_end _m128dpps_246 label size_t dpps xmm0, xmm1, 246 jmp _m128dpps_end _m128dpps_247 label size_t dpps xmm0, xmm1, 247 jmp _m128dpps_end _m128dpps_248 label size_t dpps xmm0, xmm1, 248 jmp _m128dpps_end _m128dpps_249 label size_t dpps xmm0, xmm1, 249 jmp _m128dpps_end _m128dpps_250 label size_t dpps xmm0, xmm1, 250 jmp _m128dpps_end _m128dpps_251 label size_t dpps xmm0, xmm1, 251 jmp _m128dpps_end _m128dpps_252 label size_t dpps xmm0, xmm1, 252 jmp _m128dpps_end _m128dpps_253 label size_t dpps xmm0, xmm1, 253 jmp _m128dpps_end _m128dpps_254 label size_t dpps xmm0, xmm1, 254 jmp _m128dpps_end _m128dpps_255 label size_t dpps xmm0, xmm1, 255 ;jmp _m128dpps_end _m128dpps_end: pop rbase() ret procend procstart _uX_mm_dp_pd_0, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 0 ret procend procstart _uX_mm_dp_pd_1, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 1 ret procend procstart _uX_mm_dp_pd_2, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 2 ret procend procstart _uX_mm_dp_pd_3, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 3 ret procend procstart _uX_mm_dp_pd_4, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 4 ret procend procstart _uX_mm_dp_pd_5, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 5 ret procend procstart _uX_mm_dp_pd_6, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 6 ret procend procstart _uX_mm_dp_pd_7, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 7 ret procend procstart _uX_mm_dp_pd_8, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 8 ret procend procstart _uX_mm_dp_pd_9, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 9 ret procend procstart _uX_mm_dp_pd_10, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 10 ret procend procstart _uX_mm_dp_pd_11, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 11 ret procend procstart _uX_mm_dp_pd_12, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 12 ret procend procstart _uX_mm_dp_pd_13, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 13 ret procend procstart _uX_mm_dp_pd_14, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 14 ret procend procstart _uX_mm_dp_pd_15, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 15 ret procend procstart _uX_mm_dp_pd_16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 16 ret procend procstart _uX_mm_dp_pd_17, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 17 ret procend procstart _uX_mm_dp_pd_18, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 18 ret procend procstart _uX_mm_dp_pd_19, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 19 ret procend procstart _uX_mm_dp_pd_20, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 20 ret procend procstart _uX_mm_dp_pd_21, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 21 ret procend procstart _uX_mm_dp_pd_22, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 22 ret procend procstart _uX_mm_dp_pd_23, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 23 ret procend procstart _uX_mm_dp_pd_24, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 24 ret procend procstart _uX_mm_dp_pd_25, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 25 ret procend procstart _uX_mm_dp_pd_26, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 26 ret procend procstart _uX_mm_dp_pd_27, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 27 ret procend procstart _uX_mm_dp_pd_28, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 28 ret procend procstart _uX_mm_dp_pd_29, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 29 ret procend procstart _uX_mm_dp_pd_30, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 30 ret procend procstart _uX_mm_dp_pd_31, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 31 ret procend procstart _uX_mm_dp_pd_32, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 32 ret procend procstart _uX_mm_dp_pd_33, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 33 ret procend procstart _uX_mm_dp_pd_34, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 34 ret procend procstart _uX_mm_dp_pd_35, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 35 ret procend procstart _uX_mm_dp_pd_36, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 36 ret procend procstart _uX_mm_dp_pd_37, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 37 ret procend procstart _uX_mm_dp_pd_38, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 38 ret procend procstart _uX_mm_dp_pd_39, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 39 ret procend procstart _uX_mm_dp_pd_40, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 40 ret procend procstart _uX_mm_dp_pd_41, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 41 ret procend procstart _uX_mm_dp_pd_42, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 42 ret procend procstart _uX_mm_dp_pd_43, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 43 ret procend procstart _uX_mm_dp_pd_44, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 44 ret procend procstart _uX_mm_dp_pd_45, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 45 ret procend procstart _uX_mm_dp_pd_46, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 46 ret procend procstart _uX_mm_dp_pd_47, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 47 ret procend procstart _uX_mm_dp_pd_48, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 48 ret procend procstart _uX_mm_dp_pd_49, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 49 ret procend procstart _uX_mm_dp_pd_50, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 50 ret procend procstart _uX_mm_dp_pd_51, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 51 ret procend procstart _uX_mm_dp_pd_52, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 52 ret procend procstart _uX_mm_dp_pd_53, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 53 ret procend procstart _uX_mm_dp_pd_54, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 54 ret procend procstart _uX_mm_dp_pd_55, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 55 ret procend procstart _uX_mm_dp_pd_56, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 56 ret procend procstart _uX_mm_dp_pd_57, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 57 ret procend procstart _uX_mm_dp_pd_58, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 58 ret procend procstart _uX_mm_dp_pd_59, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 59 ret procend procstart _uX_mm_dp_pd_60, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 60 ret procend procstart _uX_mm_dp_pd_61, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 61 ret procend procstart _uX_mm_dp_pd_62, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 62 ret procend procstart _uX_mm_dp_pd_63, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword dppd xmm0, xmm1, 63 ret procend procstart _uX_mm_dp_pd, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword, Inint_Imm:dword push rbase() .if((rp2() < 0) || (rp2() > 63)) jmp _m128ddppd_end .endif ifdef __X32__ movzx rbase(), byte ptr [rp2()] jmp dword ptr [_m128ddppdjmptable+rbase()*size_t_size] else lea rbase(), qword ptr [_m128ddppdjmptable] mov rbase(), qword ptr [rbase()+rp2()*size_t_size] jmp rbx endif _m128ddppd_0 label size_t dppd xmm0, xmm1, 0 jmp _m128ddppd_end _m128ddppd_1 label size_t dppd xmm0, xmm1, 1 jmp _m128ddppd_end _m128ddppd_2 label size_t dppd xmm0, xmm1, 2 jmp _m128ddppd_end _m128ddppd_3 label size_t dppd xmm0, xmm1, 3 jmp _m128ddppd_end _m128ddppd_4 label size_t dppd xmm0, xmm1, 4 jmp _m128ddppd_end _m128ddppd_5 label size_t dppd xmm0, xmm1, 5 jmp _m128ddppd_end _m128ddppd_6 label size_t dppd xmm0, xmm1, 6 jmp _m128ddppd_end _m128ddppd_7 label size_t dppd xmm0, xmm1, 7 jmp _m128ddppd_end _m128ddppd_8 label size_t dppd xmm0, xmm1, 8 jmp _m128ddppd_end _m128ddppd_9 label size_t dppd xmm0, xmm1, 9 jmp _m128ddppd_end _m128ddppd_10 label size_t dppd xmm0, xmm1, 10 jmp _m128ddppd_end _m128ddppd_11 label size_t dppd xmm0, xmm1, 11 jmp _m128ddppd_end _m128ddppd_12 label size_t dppd xmm0, xmm1, 12 jmp _m128ddppd_end _m128ddppd_13 label size_t dppd xmm0, xmm1, 13 jmp _m128ddppd_end _m128ddppd_14 label size_t dppd xmm0, xmm1, 14 jmp _m128ddppd_end _m128ddppd_15 label size_t dppd xmm0, xmm1, 15 jmp _m128ddppd_end _m128ddppd_16 label size_t dppd xmm0, xmm1, 16 jmp _m128ddppd_end _m128ddppd_17 label size_t dppd xmm0, xmm1, 17 jmp _m128ddppd_end _m128ddppd_18 label size_t dppd xmm0, xmm1, 18 jmp _m128ddppd_end _m128ddppd_19 label size_t dppd xmm0, xmm1, 19 jmp _m128ddppd_end _m128ddppd_20 label size_t dppd xmm0, xmm1, 20 jmp _m128ddppd_end _m128ddppd_21 label size_t dppd xmm0, xmm1, 21 jmp _m128ddppd_end _m128ddppd_22 label size_t dppd xmm0, xmm1, 22 jmp _m128ddppd_end _m128ddppd_23 label size_t dppd xmm0, xmm1, 23 jmp _m128ddppd_end _m128ddppd_24 label size_t dppd xmm0, xmm1, 24 jmp _m128ddppd_end _m128ddppd_25 label size_t dppd xmm0, xmm1, 25 jmp _m128ddppd_end _m128ddppd_26 label size_t dppd xmm0, xmm1, 26 jmp _m128ddppd_end _m128ddppd_27 label size_t dppd xmm0, xmm1, 27 jmp _m128ddppd_end _m128ddppd_28 label size_t dppd xmm0, xmm1, 28 jmp _m128ddppd_end _m128ddppd_29 label size_t dppd xmm0, xmm1, 29 jmp _m128ddppd_end _m128ddppd_30 label size_t dppd xmm0, xmm1, 30 jmp _m128ddppd_end _m128ddppd_31 label size_t dppd xmm0, xmm1, 31 jmp _m128ddppd_end _m128ddppd_32 label size_t dppd xmm0, xmm1, 32 jmp _m128ddppd_end _m128ddppd_33 label size_t dppd xmm0, xmm1, 33 jmp _m128ddppd_end _m128ddppd_34 label size_t dppd xmm0, xmm1, 34 jmp _m128ddppd_end _m128ddppd_35 label size_t dppd xmm0, xmm1, 35 jmp _m128ddppd_end _m128ddppd_36 label size_t dppd xmm0, xmm1, 36 jmp _m128ddppd_end _m128ddppd_37 label size_t dppd xmm0, xmm1, 37 jmp _m128ddppd_end _m128ddppd_38 label size_t dppd xmm0, xmm1, 38 jmp _m128ddppd_end _m128ddppd_39 label size_t dppd xmm0, xmm1, 39 jmp _m128ddppd_end _m128ddppd_40 label size_t dppd xmm0, xmm1, 40 jmp _m128ddppd_end _m128ddppd_41 label size_t dppd xmm0, xmm1, 41 jmp _m128ddppd_end _m128ddppd_42 label size_t dppd xmm0, xmm1, 42 jmp _m128ddppd_end _m128ddppd_43 label size_t dppd xmm0, xmm1, 43 jmp _m128ddppd_end _m128ddppd_44 label size_t dppd xmm0, xmm1, 44 jmp _m128ddppd_end _m128ddppd_45 label size_t dppd xmm0, xmm1, 45 jmp _m128ddppd_end _m128ddppd_46 label size_t dppd xmm0, xmm1, 46 jmp _m128ddppd_end _m128ddppd_47 label size_t dppd xmm0, xmm1, 47 jmp _m128ddppd_end _m128ddppd_48 label size_t dppd xmm0, xmm1, 48 jmp _m128ddppd_end _m128ddppd_49 label size_t dppd xmm0, xmm1, 49 jmp _m128ddppd_end _m128ddppd_50 label size_t dppd xmm0, xmm1, 50 jmp _m128ddppd_end _m128ddppd_51 label size_t dppd xmm0, xmm1, 51 jmp _m128ddppd_end _m128ddppd_52 label size_t dppd xmm0, xmm1, 52 jmp _m128ddppd_end _m128ddppd_53 label size_t dppd xmm0, xmm1, 53 jmp _m128ddppd_end _m128ddppd_54 label size_t dppd xmm0, xmm1, 54 jmp _m128ddppd_end _m128ddppd_55 label size_t dppd xmm0, xmm1, 55 jmp _m128ddppd_end _m128ddppd_56 label size_t dppd xmm0, xmm1, 56 jmp _m128ddppd_end _m128ddppd_57 label size_t dppd xmm0, xmm1, 57 jmp _m128ddppd_end _m128ddppd_58 label size_t dppd xmm0, xmm1, 58 jmp _m128ddppd_end _m128ddppd_59 label size_t dppd xmm0, xmm1, 59 jmp _m128ddppd_end _m128ddppd_60 label size_t dppd xmm0, xmm1, 60 jmp _m128ddppd_end _m128ddppd_61 label size_t dppd xmm0, xmm1, 61 jmp _m128ddppd_end _m128ddppd_62 label size_t dppd xmm0, xmm1, 62 jmp _m128ddppd_end _m128ddppd_63 label size_t dppd xmm0, xmm1, 63 ;jmp _m128ddppd_end _m128ddppd_end: pop rbase() ret procend ;************************************ ; Insert single precision float ;************************************ procstart _uX_mm_insert_ps_0, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 0 ret procend procstart _uX_mm_insert_ps_1, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 1 ret procend procstart _uX_mm_insert_ps_2, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 2 ret procend procstart _uX_mm_insert_ps_3, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 3 ret procend procstart _uX_mm_insert_ps_4, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 4 ret procend procstart _uX_mm_insert_ps_5, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 5 ret procend procstart _uX_mm_insert_ps_6, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 6 ret procend procstart _uX_mm_insert_ps_7, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 7 ret procend procstart _uX_mm_insert_ps_8, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 8 ret procend procstart _uX_mm_insert_ps_9, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 9 ret procend procstart _uX_mm_insert_ps_10, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 10 ret procend procstart _uX_mm_insert_ps_11, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 11 ret procend procstart _uX_mm_insert_ps_12, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 12 ret procend procstart _uX_mm_insert_ps_13, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 13 ret procend procstart _uX_mm_insert_ps_14, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 14 ret procend procstart _uX_mm_insert_ps_15, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 15 ret procend procstart _uX_mm_insert_ps_16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 16 ret procend procstart _uX_mm_insert_ps_17, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 17 ret procend procstart _uX_mm_insert_ps_18, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 18 ret procend procstart _uX_mm_insert_ps_19, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 19 ret procend procstart _uX_mm_insert_ps_20, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 20 ret procend procstart _uX_mm_insert_ps_21, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 21 ret procend procstart _uX_mm_insert_ps_22, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 22 ret procend procstart _uX_mm_insert_ps_23, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 23 ret procend procstart _uX_mm_insert_ps_24, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 24 ret procend procstart _uX_mm_insert_ps_25, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 25 ret procend procstart _uX_mm_insert_ps_26, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 26 ret procend procstart _uX_mm_insert_ps_27, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 27 ret procend procstart _uX_mm_insert_ps_28, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 28 ret procend procstart _uX_mm_insert_ps_29, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 29 ret procend procstart _uX_mm_insert_ps_30, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 30 ret procend procstart _uX_mm_insert_ps_31, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 31 ret procend procstart _uX_mm_insert_ps_32, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 32 ret procend procstart _uX_mm_insert_ps_33, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 33 ret procend procstart _uX_mm_insert_ps_34, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 34 ret procend procstart _uX_mm_insert_ps_35, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 35 ret procend procstart _uX_mm_insert_ps_36, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 36 ret procend procstart _uX_mm_insert_ps_37, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 37 ret procend procstart _uX_mm_insert_ps_38, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 38 ret procend procstart _uX_mm_insert_ps_39, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 39 ret procend procstart _uX_mm_insert_ps_40, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 40 ret procend procstart _uX_mm_insert_ps_41, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 41 ret procend procstart _uX_mm_insert_ps_42, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 42 ret procend procstart _uX_mm_insert_ps_43, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 43 ret procend procstart _uX_mm_insert_ps_44, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 44 ret procend procstart _uX_mm_insert_ps_45, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 45 ret procend procstart _uX_mm_insert_ps_46, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 46 ret procend procstart _uX_mm_insert_ps_47, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 47 ret procend procstart _uX_mm_insert_ps_48, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 48 ret procend procstart _uX_mm_insert_ps_49, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 49 ret procend procstart _uX_mm_insert_ps_50, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 50 ret procend procstart _uX_mm_insert_ps_51, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 51 ret procend procstart _uX_mm_insert_ps_52, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 52 ret procend procstart _uX_mm_insert_ps_53, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 53 ret procend procstart _uX_mm_insert_ps_54, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 54 ret procend procstart _uX_mm_insert_ps_55, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 55 ret procend procstart _uX_mm_insert_ps_56, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 56 ret procend procstart _uX_mm_insert_ps_57, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 57 ret procend procstart _uX_mm_insert_ps_58, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 58 ret procend procstart _uX_mm_insert_ps_59, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 59 ret procend procstart _uX_mm_insert_ps_60, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 60 ret procend procstart _uX_mm_insert_ps_61, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 61 ret procend procstart _uX_mm_insert_ps_62, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 62 ret procend procstart _uX_mm_insert_ps_63, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 63 ret procend procstart _uX_mm_insert_ps_64, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 64 ret procend procstart _uX_mm_insert_ps_65, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 65 ret procend procstart _uX_mm_insert_ps_66, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 66 ret procend procstart _uX_mm_insert_ps_67, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 67 ret procend procstart _uX_mm_insert_ps_68, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 68 ret procend procstart _uX_mm_insert_ps_69, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 69 ret procend procstart _uX_mm_insert_ps_70, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 70 ret procend procstart _uX_mm_insert_ps_71, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 71 ret procend procstart _uX_mm_insert_ps_72, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 72 ret procend procstart _uX_mm_insert_ps_73, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 73 ret procend procstart _uX_mm_insert_ps_74, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 74 ret procend procstart _uX_mm_insert_ps_75, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 75 ret procend procstart _uX_mm_insert_ps_76, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 76 ret procend procstart _uX_mm_insert_ps_77, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 77 ret procend procstart _uX_mm_insert_ps_78, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 78 ret procend procstart _uX_mm_insert_ps_79, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 79 ret procend procstart _uX_mm_insert_ps_80, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 80 ret procend procstart _uX_mm_insert_ps_81, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 81 ret procend procstart _uX_mm_insert_ps_82, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 82 ret procend procstart _uX_mm_insert_ps_83, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 83 ret procend procstart _uX_mm_insert_ps_84, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 84 ret procend procstart _uX_mm_insert_ps_85, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 85 ret procend procstart _uX_mm_insert_ps_86, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 86 ret procend procstart _uX_mm_insert_ps_87, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 87 ret procend procstart _uX_mm_insert_ps_88, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 88 ret procend procstart _uX_mm_insert_ps_89, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 89 ret procend procstart _uX_mm_insert_ps_90, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 90 ret procend procstart _uX_mm_insert_ps_91, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 91 ret procend procstart _uX_mm_insert_ps_92, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 92 ret procend procstart _uX_mm_insert_ps_93, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 93 ret procend procstart _uX_mm_insert_ps_94, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 94 ret procend procstart _uX_mm_insert_ps_95, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 95 ret procend procstart _uX_mm_insert_ps_96, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 96 ret procend procstart _uX_mm_insert_ps_97, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 97 ret procend procstart _uX_mm_insert_ps_98, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 98 ret procend procstart _uX_mm_insert_ps_99, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 99 ret procend procstart _uX_mm_insert_ps_100, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 100 ret procend procstart _uX_mm_insert_ps_101, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 101 ret procend procstart _uX_mm_insert_ps_102, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 102 ret procend procstart _uX_mm_insert_ps_103, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 103 ret procend procstart _uX_mm_insert_ps_104, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 104 ret procend procstart _uX_mm_insert_ps_105, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 105 ret procend procstart _uX_mm_insert_ps_106, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 106 ret procend procstart _uX_mm_insert_ps_107, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 107 ret procend procstart _uX_mm_insert_ps_108, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 108 ret procend procstart _uX_mm_insert_ps_109, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 109 ret procend procstart _uX_mm_insert_ps_110, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 110 ret procend procstart _uX_mm_insert_ps_111, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 111 ret procend procstart _uX_mm_insert_ps_112, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 112 ret procend procstart _uX_mm_insert_ps_113, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 113 ret procend procstart _uX_mm_insert_ps_114, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 114 ret procend procstart _uX_mm_insert_ps_115, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 115 ret procend procstart _uX_mm_insert_ps_116, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 116 ret procend procstart _uX_mm_insert_ps_117, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 117 ret procend procstart _uX_mm_insert_ps_118, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 118 ret procend procstart _uX_mm_insert_ps_119, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 119 ret procend procstart _uX_mm_insert_ps_120, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 120 ret procend procstart _uX_mm_insert_ps_121, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 121 ret procend procstart _uX_mm_insert_ps_122, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 122 ret procend procstart _uX_mm_insert_ps_123, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 123 ret procend procstart _uX_mm_insert_ps_124, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 124 ret procend procstart _uX_mm_insert_ps_125, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 125 ret procend procstart _uX_mm_insert_ps_126, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 126 ret procend procstart _uX_mm_insert_ps_127, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 127 ret procend procstart _uX_mm_insert_ps_128, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 128 ret procend procstart _uX_mm_insert_ps_129, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 129 ret procend procstart _uX_mm_insert_ps_130, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 130 ret procend procstart _uX_mm_insert_ps_131, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 131 ret procend procstart _uX_mm_insert_ps_132, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 132 ret procend procstart _uX_mm_insert_ps_133, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 133 ret procend procstart _uX_mm_insert_ps_134, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 134 ret procend procstart _uX_mm_insert_ps_135, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 135 ret procend procstart _uX_mm_insert_ps_136, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 136 ret procend procstart _uX_mm_insert_ps_137, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 137 ret procend procstart _uX_mm_insert_ps_138, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 138 ret procend procstart _uX_mm_insert_ps_139, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 139 ret procend procstart _uX_mm_insert_ps_140, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 140 ret procend procstart _uX_mm_insert_ps_141, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 141 ret procend procstart _uX_mm_insert_ps_142, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 142 ret procend procstart _uX_mm_insert_ps_143, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 143 ret procend procstart _uX_mm_insert_ps_144, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 144 ret procend procstart _uX_mm_insert_ps_145, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 145 ret procend procstart _uX_mm_insert_ps_146, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 146 ret procend procstart _uX_mm_insert_ps_147, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 147 ret procend procstart _uX_mm_insert_ps_148, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 148 ret procend procstart _uX_mm_insert_ps_149, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 149 ret procend procstart _uX_mm_insert_ps_150, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 150 ret procend procstart _uX_mm_insert_ps_151, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 151 ret procend procstart _uX_mm_insert_ps_152, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 152 ret procend procstart _uX_mm_insert_ps_153, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 153 ret procend procstart _uX_mm_insert_ps_154, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 154 ret procend procstart _uX_mm_insert_ps_155, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 155 ret procend procstart _uX_mm_insert_ps_156, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 156 ret procend procstart _uX_mm_insert_ps_157, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 157 ret procend procstart _uX_mm_insert_ps_158, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 158 ret procend procstart _uX_mm_insert_ps_159, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 159 ret procend procstart _uX_mm_insert_ps_160, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 160 ret procend procstart _uX_mm_insert_ps_161, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 161 ret procend procstart _uX_mm_insert_ps_162, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 162 ret procend procstart _uX_mm_insert_ps_163, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 163 ret procend procstart _uX_mm_insert_ps_164, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 164 ret procend procstart _uX_mm_insert_ps_165, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 165 ret procend procstart _uX_mm_insert_ps_166, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 166 ret procend procstart _uX_mm_insert_ps_167, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 167 ret procend procstart _uX_mm_insert_ps_168, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 168 ret procend procstart _uX_mm_insert_ps_169, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 169 ret procend procstart _uX_mm_insert_ps_170, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 170 ret procend procstart _uX_mm_insert_ps_171, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 171 ret procend procstart _uX_mm_insert_ps_172, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 172 ret procend procstart _uX_mm_insert_ps_173, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 173 ret procend procstart _uX_mm_insert_ps_174, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 174 ret procend procstart _uX_mm_insert_ps_175, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 175 ret procend procstart _uX_mm_insert_ps_176, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 176 ret procend procstart _uX_mm_insert_ps_177, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 177 ret procend procstart _uX_mm_insert_ps_178, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 178 ret procend procstart _uX_mm_insert_ps_179, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 179 ret procend procstart _uX_mm_insert_ps_180, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 180 ret procend procstart _uX_mm_insert_ps_181, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 181 ret procend procstart _uX_mm_insert_ps_182, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 182 ret procend procstart _uX_mm_insert_ps_183, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 183 ret procend procstart _uX_mm_insert_ps_184, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 184 ret procend procstart _uX_mm_insert_ps_185, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 185 ret procend procstart _uX_mm_insert_ps_186, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 186 ret procend procstart _uX_mm_insert_ps_187, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 187 ret procend procstart _uX_mm_insert_ps_188, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 188 ret procend procstart _uX_mm_insert_ps_189, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 189 ret procend procstart _uX_mm_insert_ps_190, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 190 ret procend procstart _uX_mm_insert_ps_191, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 191 ret procend procstart _uX_mm_insert_ps_192, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 192 ret procend procstart _uX_mm_insert_ps_193, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 193 ret procend procstart _uX_mm_insert_ps_194, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 194 ret procend procstart _uX_mm_insert_ps_195, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 195 ret procend procstart _uX_mm_insert_ps_196, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 196 ret procend procstart _uX_mm_insert_ps_197, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 197 ret procend procstart _uX_mm_insert_ps_198, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 198 ret procend procstart _uX_mm_insert_ps_199, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 199 ret procend procstart _uX_mm_insert_ps_200, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 200 ret procend procstart _uX_mm_insert_ps_201, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 201 ret procend procstart _uX_mm_insert_ps_202, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 202 ret procend procstart _uX_mm_insert_ps_203, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 203 ret procend procstart _uX_mm_insert_ps_204, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 204 ret procend procstart _uX_mm_insert_ps_205, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 205 ret procend procstart _uX_mm_insert_ps_206, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 206 ret procend procstart _uX_mm_insert_ps_207, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 207 ret procend procstart _uX_mm_insert_ps_208, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 208 ret procend procstart _uX_mm_insert_ps_209, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 209 ret procend procstart _uX_mm_insert_ps_210, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 210 ret procend procstart _uX_mm_insert_ps_211, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 211 ret procend procstart _uX_mm_insert_ps_212, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 212 ret procend procstart _uX_mm_insert_ps_213, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 213 ret procend procstart _uX_mm_insert_ps_214, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 214 ret procend procstart _uX_mm_insert_ps_215, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 215 ret procend procstart _uX_mm_insert_ps_216, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 216 ret procend procstart _uX_mm_insert_ps_217, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 217 ret procend procstart _uX_mm_insert_ps_218, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 218 ret procend procstart _uX_mm_insert_ps_219, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 219 ret procend procstart _uX_mm_insert_ps_220, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 220 ret procend procstart _uX_mm_insert_ps_221, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 221 ret procend procstart _uX_mm_insert_ps_222, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 222 ret procend procstart _uX_mm_insert_ps_223, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 223 ret procend procstart _uX_mm_insert_ps_224, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 224 ret procend procstart _uX_mm_insert_ps_225, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 225 ret procend procstart _uX_mm_insert_ps_226, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 226 ret procend procstart _uX_mm_insert_ps_227, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 227 ret procend procstart _uX_mm_insert_ps_228, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 228 ret procend procstart _uX_mm_insert_ps_229, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 229 ret procend procstart _uX_mm_insert_ps_230, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 230 ret procend procstart _uX_mm_insert_ps_231, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 231 ret procend procstart _uX_mm_insert_ps_232, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 232 ret procend procstart _uX_mm_insert_ps_233, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 233 ret procend procstart _uX_mm_insert_ps_234, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 234 ret procend procstart _uX_mm_insert_ps_235, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 235 ret procend procstart _uX_mm_insert_ps_236, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 236 ret procend procstart _uX_mm_insert_ps_237, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 237 ret procend procstart _uX_mm_insert_ps_238, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 238 ret procend procstart _uX_mm_insert_ps_239, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 239 ret procend procstart _uX_mm_insert_ps_240, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 240 ret procend procstart _uX_mm_insert_ps_241, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 241 ret procend procstart _uX_mm_insert_ps_242, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 242 ret procend procstart _uX_mm_insert_ps_243, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 243 ret procend procstart _uX_mm_insert_ps_244, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 244 ret procend procstart _uX_mm_insert_ps_245, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 245 ret procend procstart _uX_mm_insert_ps_246, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 246 ret procend procstart _uX_mm_insert_ps_247, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 247 ret procend procstart _uX_mm_insert_ps_248, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 248 ret procend procstart _uX_mm_insert_ps_249, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 249 ret procend procstart _uX_mm_insert_ps_250, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 250 ret procend procstart _uX_mm_insert_ps_251, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 251 ret procend procstart _uX_mm_insert_ps_252, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 252 ret procend procstart _uX_mm_insert_ps_253, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 253 ret procend procstart _uX_mm_insert_ps_254, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 254 ret procend procstart _uX_mm_insert_ps_255, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword insertps xmm0, xmm1, 255 ret procend procstart _uX_mm_insert_ps, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword, Inint_Imm:dword push rbase() .if((rp2() < 0) || (rp2() > 255)) jmp _m128insertps_end .endif ifdef __X32__ movzx rbase(), byte ptr [rp2()] jmp dword ptr [_m128insertpsjmptable+rbase()*size_t_size] else lea rbase(), qword ptr [_m128insertpsjmptable] mov rbase(), qword ptr [rbase()+rp2()*size_t_size] jmp rbx endif _m128insertps_0 label size_t insertps xmm0, xmm1, 0 jmp _m128insertps_end _m128insertps_1 label size_t insertps xmm0, xmm1, 1 jmp _m128insertps_end _m128insertps_2 label size_t insertps xmm0, xmm1, 2 jmp _m128insertps_end _m128insertps_3 label size_t insertps xmm0, xmm1, 3 jmp _m128insertps_end _m128insertps_4 label size_t insertps xmm0, xmm1, 4 jmp _m128insertps_end _m128insertps_5 label size_t insertps xmm0, xmm1, 5 jmp _m128insertps_end _m128insertps_6 label size_t insertps xmm0, xmm1, 6 jmp _m128insertps_end _m128insertps_7 label size_t insertps xmm0, xmm1, 7 jmp _m128insertps_end _m128insertps_8 label size_t insertps xmm0, xmm1, 8 jmp _m128insertps_end _m128insertps_9 label size_t insertps xmm0, xmm1, 9 jmp _m128insertps_end _m128insertps_10 label size_t insertps xmm0, xmm1, 10 jmp _m128insertps_end _m128insertps_11 label size_t insertps xmm0, xmm1, 11 jmp _m128insertps_end _m128insertps_12 label size_t insertps xmm0, xmm1, 12 jmp _m128insertps_end _m128insertps_13 label size_t insertps xmm0, xmm1, 13 jmp _m128insertps_end _m128insertps_14 label size_t insertps xmm0, xmm1, 14 jmp _m128insertps_end _m128insertps_15 label size_t insertps xmm0, xmm1, 15 jmp _m128insertps_end _m128insertps_16 label size_t insertps xmm0, xmm1, 16 jmp _m128insertps_end _m128insertps_17 label size_t insertps xmm0, xmm1, 17 jmp _m128insertps_end _m128insertps_18 label size_t insertps xmm0, xmm1, 18 jmp _m128insertps_end _m128insertps_19 label size_t insertps xmm0, xmm1, 19 jmp _m128insertps_end _m128insertps_20 label size_t insertps xmm0, xmm1, 20 jmp _m128insertps_end _m128insertps_21 label size_t insertps xmm0, xmm1, 21 jmp _m128insertps_end _m128insertps_22 label size_t insertps xmm0, xmm1, 22 jmp _m128insertps_end _m128insertps_23 label size_t insertps xmm0, xmm1, 23 jmp _m128insertps_end _m128insertps_24 label size_t insertps xmm0, xmm1, 24 jmp _m128insertps_end _m128insertps_25 label size_t insertps xmm0, xmm1, 25 jmp _m128insertps_end _m128insertps_26 label size_t insertps xmm0, xmm1, 26 jmp _m128insertps_end _m128insertps_27 label size_t insertps xmm0, xmm1, 27 jmp _m128insertps_end _m128insertps_28 label size_t insertps xmm0, xmm1, 28 jmp _m128insertps_end _m128insertps_29 label size_t insertps xmm0, xmm1, 29 jmp _m128insertps_end _m128insertps_30 label size_t insertps xmm0, xmm1, 30 jmp _m128insertps_end _m128insertps_31 label size_t insertps xmm0, xmm1, 31 jmp _m128insertps_end _m128insertps_32 label size_t insertps xmm0, xmm1, 32 jmp _m128insertps_end _m128insertps_33 label size_t insertps xmm0, xmm1, 33 jmp _m128insertps_end _m128insertps_34 label size_t insertps xmm0, xmm1, 34 jmp _m128insertps_end _m128insertps_35 label size_t insertps xmm0, xmm1, 35 jmp _m128insertps_end _m128insertps_36 label size_t insertps xmm0, xmm1, 36 jmp _m128insertps_end _m128insertps_37 label size_t insertps xmm0, xmm1, 37 jmp _m128insertps_end _m128insertps_38 label size_t insertps xmm0, xmm1, 38 jmp _m128insertps_end _m128insertps_39 label size_t insertps xmm0, xmm1, 39 jmp _m128insertps_end _m128insertps_40 label size_t insertps xmm0, xmm1, 40 jmp _m128insertps_end _m128insertps_41 label size_t insertps xmm0, xmm1, 41 jmp _m128insertps_end _m128insertps_42 label size_t insertps xmm0, xmm1, 42 jmp _m128insertps_end _m128insertps_43 label size_t insertps xmm0, xmm1, 43 jmp _m128insertps_end _m128insertps_44 label size_t insertps xmm0, xmm1, 44 jmp _m128insertps_end _m128insertps_45 label size_t insertps xmm0, xmm1, 45 jmp _m128insertps_end _m128insertps_46 label size_t insertps xmm0, xmm1, 46 jmp _m128insertps_end _m128insertps_47 label size_t insertps xmm0, xmm1, 47 jmp _m128insertps_end _m128insertps_48 label size_t insertps xmm0, xmm1, 48 jmp _m128insertps_end _m128insertps_49 label size_t insertps xmm0, xmm1, 49 jmp _m128insertps_end _m128insertps_50 label size_t insertps xmm0, xmm1, 50 jmp _m128insertps_end _m128insertps_51 label size_t insertps xmm0, xmm1, 51 jmp _m128insertps_end _m128insertps_52 label size_t insertps xmm0, xmm1, 52 jmp _m128insertps_end _m128insertps_53 label size_t insertps xmm0, xmm1, 53 jmp _m128insertps_end _m128insertps_54 label size_t insertps xmm0, xmm1, 54 jmp _m128insertps_end _m128insertps_55 label size_t insertps xmm0, xmm1, 55 jmp _m128insertps_end _m128insertps_56 label size_t insertps xmm0, xmm1, 56 jmp _m128insertps_end _m128insertps_57 label size_t insertps xmm0, xmm1, 57 jmp _m128insertps_end _m128insertps_58 label size_t insertps xmm0, xmm1, 58 jmp _m128insertps_end _m128insertps_59 label size_t insertps xmm0, xmm1, 59 jmp _m128insertps_end _m128insertps_60 label size_t insertps xmm0, xmm1, 60 jmp _m128insertps_end _m128insertps_61 label size_t insertps xmm0, xmm1, 61 jmp _m128insertps_end _m128insertps_62 label size_t insertps xmm0, xmm1, 62 jmp _m128insertps_end _m128insertps_63 label size_t insertps xmm0, xmm1, 63 jmp _m128insertps_end _m128insertps_64 label size_t insertps xmm0, xmm1, 64 jmp _m128insertps_end _m128insertps_65 label size_t insertps xmm0, xmm1, 65 jmp _m128insertps_end _m128insertps_66 label size_t insertps xmm0, xmm1, 66 jmp _m128insertps_end _m128insertps_67 label size_t insertps xmm0, xmm1, 67 jmp _m128insertps_end _m128insertps_68 label size_t insertps xmm0, xmm1, 68 jmp _m128insertps_end _m128insertps_69 label size_t insertps xmm0, xmm1, 69 jmp _m128insertps_end _m128insertps_70 label size_t insertps xmm0, xmm1, 70 jmp _m128insertps_end _m128insertps_71 label size_t insertps xmm0, xmm1, 71 jmp _m128insertps_end _m128insertps_72 label size_t insertps xmm0, xmm1, 72 jmp _m128insertps_end _m128insertps_73 label size_t insertps xmm0, xmm1, 73 jmp _m128insertps_end _m128insertps_74 label size_t insertps xmm0, xmm1, 74 jmp _m128insertps_end _m128insertps_75 label size_t insertps xmm0, xmm1, 75 jmp _m128insertps_end _m128insertps_76 label size_t insertps xmm0, xmm1, 76 jmp _m128insertps_end _m128insertps_77 label size_t insertps xmm0, xmm1, 77 jmp _m128insertps_end _m128insertps_78 label size_t insertps xmm0, xmm1, 78 jmp _m128insertps_end _m128insertps_79 label size_t insertps xmm0, xmm1, 79 jmp _m128insertps_end _m128insertps_80 label size_t insertps xmm0, xmm1, 80 jmp _m128insertps_end _m128insertps_81 label size_t insertps xmm0, xmm1, 81 jmp _m128insertps_end _m128insertps_82 label size_t insertps xmm0, xmm1, 82 jmp _m128insertps_end _m128insertps_83 label size_t insertps xmm0, xmm1, 83 jmp _m128insertps_end _m128insertps_84 label size_t insertps xmm0, xmm1, 84 jmp _m128insertps_end _m128insertps_85 label size_t insertps xmm0, xmm1, 85 jmp _m128insertps_end _m128insertps_86 label size_t insertps xmm0, xmm1, 86 jmp _m128insertps_end _m128insertps_87 label size_t insertps xmm0, xmm1, 87 jmp _m128insertps_end _m128insertps_88 label size_t insertps xmm0, xmm1, 88 jmp _m128insertps_end _m128insertps_89 label size_t insertps xmm0, xmm1, 89 jmp _m128insertps_end _m128insertps_90 label size_t insertps xmm0, xmm1, 90 jmp _m128insertps_end _m128insertps_91 label size_t insertps xmm0, xmm1, 91 jmp _m128insertps_end _m128insertps_92 label size_t insertps xmm0, xmm1, 92 jmp _m128insertps_end _m128insertps_93 label size_t insertps xmm0, xmm1, 93 jmp _m128insertps_end _m128insertps_94 label size_t insertps xmm0, xmm1, 94 jmp _m128insertps_end _m128insertps_95 label size_t insertps xmm0, xmm1, 95 jmp _m128insertps_end _m128insertps_96 label size_t insertps xmm0, xmm1, 96 jmp _m128insertps_end _m128insertps_97 label size_t insertps xmm0, xmm1, 97 jmp _m128insertps_end _m128insertps_98 label size_t insertps xmm0, xmm1, 98 jmp _m128insertps_end _m128insertps_99 label size_t insertps xmm0, xmm1, 99 jmp _m128insertps_end _m128insertps_100 label size_t insertps xmm0, xmm1, 100 jmp _m128insertps_end _m128insertps_101 label size_t insertps xmm0, xmm1, 101 jmp _m128insertps_end _m128insertps_102 label size_t insertps xmm0, xmm1, 102 jmp _m128insertps_end _m128insertps_103 label size_t insertps xmm0, xmm1, 103 jmp _m128insertps_end _m128insertps_104 label size_t insertps xmm0, xmm1, 104 jmp _m128insertps_end _m128insertps_105 label size_t insertps xmm0, xmm1, 105 jmp _m128insertps_end _m128insertps_106 label size_t insertps xmm0, xmm1, 106 jmp _m128insertps_end _m128insertps_107 label size_t insertps xmm0, xmm1, 107 jmp _m128insertps_end _m128insertps_108 label size_t insertps xmm0, xmm1, 108 jmp _m128insertps_end _m128insertps_109 label size_t insertps xmm0, xmm1, 109 jmp _m128insertps_end _m128insertps_110 label size_t insertps xmm0, xmm1, 110 jmp _m128insertps_end _m128insertps_111 label size_t insertps xmm0, xmm1, 111 jmp _m128insertps_end _m128insertps_112 label size_t insertps xmm0, xmm1, 112 jmp _m128insertps_end _m128insertps_113 label size_t insertps xmm0, xmm1, 113 jmp _m128insertps_end _m128insertps_114 label size_t insertps xmm0, xmm1, 114 jmp _m128insertps_end _m128insertps_115 label size_t insertps xmm0, xmm1, 115 jmp _m128insertps_end _m128insertps_116 label size_t insertps xmm0, xmm1, 116 jmp _m128insertps_end _m128insertps_117 label size_t insertps xmm0, xmm1, 117 jmp _m128insertps_end _m128insertps_118 label size_t insertps xmm0, xmm1, 118 jmp _m128insertps_end _m128insertps_119 label size_t insertps xmm0, xmm1, 119 jmp _m128insertps_end _m128insertps_120 label size_t insertps xmm0, xmm1, 120 jmp _m128insertps_end _m128insertps_121 label size_t insertps xmm0, xmm1, 121 jmp _m128insertps_end _m128insertps_122 label size_t insertps xmm0, xmm1, 122 jmp _m128insertps_end _m128insertps_123 label size_t insertps xmm0, xmm1, 123 jmp _m128insertps_end _m128insertps_124 label size_t insertps xmm0, xmm1, 124 jmp _m128insertps_end _m128insertps_125 label size_t insertps xmm0, xmm1, 125 jmp _m128insertps_end _m128insertps_126 label size_t insertps xmm0, xmm1, 126 jmp _m128insertps_end _m128insertps_127 label size_t insertps xmm0, xmm1, 127 jmp _m128insertps_end _m128insertps_128 label size_t insertps xmm0, xmm1, 128 jmp _m128insertps_end _m128insertps_129 label size_t insertps xmm0, xmm1, 129 jmp _m128insertps_end _m128insertps_130 label size_t insertps xmm0, xmm1, 130 jmp _m128insertps_end _m128insertps_131 label size_t insertps xmm0, xmm1, 131 jmp _m128insertps_end _m128insertps_132 label size_t insertps xmm0, xmm1, 132 jmp _m128insertps_end _m128insertps_133 label size_t insertps xmm0, xmm1, 133 jmp _m128insertps_end _m128insertps_134 label size_t insertps xmm0, xmm1, 134 jmp _m128insertps_end _m128insertps_135 label size_t insertps xmm0, xmm1, 135 jmp _m128insertps_end _m128insertps_136 label size_t insertps xmm0, xmm1, 136 jmp _m128insertps_end _m128insertps_137 label size_t insertps xmm0, xmm1, 137 jmp _m128insertps_end _m128insertps_138 label size_t insertps xmm0, xmm1, 138 jmp _m128insertps_end _m128insertps_139 label size_t insertps xmm0, xmm1, 139 jmp _m128insertps_end _m128insertps_140 label size_t insertps xmm0, xmm1, 140 jmp _m128insertps_end _m128insertps_141 label size_t insertps xmm0, xmm1, 141 jmp _m128insertps_end _m128insertps_142 label size_t insertps xmm0, xmm1, 142 jmp _m128insertps_end _m128insertps_143 label size_t insertps xmm0, xmm1, 143 jmp _m128insertps_end _m128insertps_144 label size_t insertps xmm0, xmm1, 144 jmp _m128insertps_end _m128insertps_145 label size_t insertps xmm0, xmm1, 145 jmp _m128insertps_end _m128insertps_146 label size_t insertps xmm0, xmm1, 146 jmp _m128insertps_end _m128insertps_147 label size_t insertps xmm0, xmm1, 147 jmp _m128insertps_end _m128insertps_148 label size_t insertps xmm0, xmm1, 148 jmp _m128insertps_end _m128insertps_149 label size_t insertps xmm0, xmm1, 149 jmp _m128insertps_end _m128insertps_150 label size_t insertps xmm0, xmm1, 150 jmp _m128insertps_end _m128insertps_151 label size_t insertps xmm0, xmm1, 151 jmp _m128insertps_end _m128insertps_152 label size_t insertps xmm0, xmm1, 152 jmp _m128insertps_end _m128insertps_153 label size_t insertps xmm0, xmm1, 153 jmp _m128insertps_end _m128insertps_154 label size_t insertps xmm0, xmm1, 154 jmp _m128insertps_end _m128insertps_155 label size_t insertps xmm0, xmm1, 155 jmp _m128insertps_end _m128insertps_156 label size_t insertps xmm0, xmm1, 156 jmp _m128insertps_end _m128insertps_157 label size_t insertps xmm0, xmm1, 157 jmp _m128insertps_end _m128insertps_158 label size_t insertps xmm0, xmm1, 158 jmp _m128insertps_end _m128insertps_159 label size_t insertps xmm0, xmm1, 159 jmp _m128insertps_end _m128insertps_160 label size_t insertps xmm0, xmm1, 160 jmp _m128insertps_end _m128insertps_161 label size_t insertps xmm0, xmm1, 161 jmp _m128insertps_end _m128insertps_162 label size_t insertps xmm0, xmm1, 162 jmp _m128insertps_end _m128insertps_163 label size_t insertps xmm0, xmm1, 163 jmp _m128insertps_end _m128insertps_164 label size_t insertps xmm0, xmm1, 164 jmp _m128insertps_end _m128insertps_165 label size_t insertps xmm0, xmm1, 165 jmp _m128insertps_end _m128insertps_166 label size_t insertps xmm0, xmm1, 166 jmp _m128insertps_end _m128insertps_167 label size_t insertps xmm0, xmm1, 167 jmp _m128insertps_end _m128insertps_168 label size_t insertps xmm0, xmm1, 168 jmp _m128insertps_end _m128insertps_169 label size_t insertps xmm0, xmm1, 169 jmp _m128insertps_end _m128insertps_170 label size_t insertps xmm0, xmm1, 170 jmp _m128insertps_end _m128insertps_171 label size_t insertps xmm0, xmm1, 171 jmp _m128insertps_end _m128insertps_172 label size_t insertps xmm0, xmm1, 172 jmp _m128insertps_end _m128insertps_173 label size_t insertps xmm0, xmm1, 173 jmp _m128insertps_end _m128insertps_174 label size_t insertps xmm0, xmm1, 174 jmp _m128insertps_end _m128insertps_175 label size_t insertps xmm0, xmm1, 175 jmp _m128insertps_end _m128insertps_176 label size_t insertps xmm0, xmm1, 176 jmp _m128insertps_end _m128insertps_177 label size_t insertps xmm0, xmm1, 177 jmp _m128insertps_end _m128insertps_178 label size_t insertps xmm0, xmm1, 178 jmp _m128insertps_end _m128insertps_179 label size_t insertps xmm0, xmm1, 179 jmp _m128insertps_end _m128insertps_180 label size_t insertps xmm0, xmm1, 180 jmp _m128insertps_end _m128insertps_181 label size_t insertps xmm0, xmm1, 181 jmp _m128insertps_end _m128insertps_182 label size_t insertps xmm0, xmm1, 182 jmp _m128insertps_end _m128insertps_183 label size_t insertps xmm0, xmm1, 183 jmp _m128insertps_end _m128insertps_184 label size_t insertps xmm0, xmm1, 184 jmp _m128insertps_end _m128insertps_185 label size_t insertps xmm0, xmm1, 185 jmp _m128insertps_end _m128insertps_186 label size_t insertps xmm0, xmm1, 186 jmp _m128insertps_end _m128insertps_187 label size_t insertps xmm0, xmm1, 187 jmp _m128insertps_end _m128insertps_188 label size_t insertps xmm0, xmm1, 188 jmp _m128insertps_end _m128insertps_189 label size_t insertps xmm0, xmm1, 189 jmp _m128insertps_end _m128insertps_190 label size_t insertps xmm0, xmm1, 190 jmp _m128insertps_end _m128insertps_191 label size_t insertps xmm0, xmm1, 191 jmp _m128insertps_end _m128insertps_192 label size_t insertps xmm0, xmm1, 192 jmp _m128insertps_end _m128insertps_193 label size_t insertps xmm0, xmm1, 193 jmp _m128insertps_end _m128insertps_194 label size_t insertps xmm0, xmm1, 194 jmp _m128insertps_end _m128insertps_195 label size_t insertps xmm0, xmm1, 195 jmp _m128insertps_end _m128insertps_196 label size_t insertps xmm0, xmm1, 196 jmp _m128insertps_end _m128insertps_197 label size_t insertps xmm0, xmm1, 197 jmp _m128insertps_end _m128insertps_198 label size_t insertps xmm0, xmm1, 198 jmp _m128insertps_end _m128insertps_199 label size_t insertps xmm0, xmm1, 199 jmp _m128insertps_end _m128insertps_200 label size_t insertps xmm0, xmm1, 200 jmp _m128insertps_end _m128insertps_201 label size_t insertps xmm0, xmm1, 201 jmp _m128insertps_end _m128insertps_202 label size_t insertps xmm0, xmm1, 202 jmp _m128insertps_end _m128insertps_203 label size_t insertps xmm0, xmm1, 203 jmp _m128insertps_end _m128insertps_204 label size_t insertps xmm0, xmm1, 204 jmp _m128insertps_end _m128insertps_205 label size_t insertps xmm0, xmm1, 205 jmp _m128insertps_end _m128insertps_206 label size_t insertps xmm0, xmm1, 206 jmp _m128insertps_end _m128insertps_207 label size_t insertps xmm0, xmm1, 207 jmp _m128insertps_end _m128insertps_208 label size_t insertps xmm0, xmm1, 208 jmp _m128insertps_end _m128insertps_209 label size_t insertps xmm0, xmm1, 209 jmp _m128insertps_end _m128insertps_210 label size_t insertps xmm0, xmm1, 210 jmp _m128insertps_end _m128insertps_211 label size_t insertps xmm0, xmm1, 211 jmp _m128insertps_end _m128insertps_212 label size_t insertps xmm0, xmm1, 212 jmp _m128insertps_end _m128insertps_213 label size_t insertps xmm0, xmm1, 213 jmp _m128insertps_end _m128insertps_214 label size_t insertps xmm0, xmm1, 214 jmp _m128insertps_end _m128insertps_215 label size_t insertps xmm0, xmm1, 215 jmp _m128insertps_end _m128insertps_216 label size_t insertps xmm0, xmm1, 216 jmp _m128insertps_end _m128insertps_217 label size_t insertps xmm0, xmm1, 217 jmp _m128insertps_end _m128insertps_218 label size_t insertps xmm0, xmm1, 218 jmp _m128insertps_end _m128insertps_219 label size_t insertps xmm0, xmm1, 219 jmp _m128insertps_end _m128insertps_220 label size_t insertps xmm0, xmm1, 220 jmp _m128insertps_end _m128insertps_221 label size_t insertps xmm0, xmm1, 221 jmp _m128insertps_end _m128insertps_222 label size_t insertps xmm0, xmm1, 222 jmp _m128insertps_end _m128insertps_223 label size_t insertps xmm0, xmm1, 223 jmp _m128insertps_end _m128insertps_224 label size_t insertps xmm0, xmm1, 224 jmp _m128insertps_end _m128insertps_225 label size_t insertps xmm0, xmm1, 225 jmp _m128insertps_end _m128insertps_226 label size_t insertps xmm0, xmm1, 226 jmp _m128insertps_end _m128insertps_227 label size_t insertps xmm0, xmm1, 227 jmp _m128insertps_end _m128insertps_228 label size_t insertps xmm0, xmm1, 228 jmp _m128insertps_end _m128insertps_229 label size_t insertps xmm0, xmm1, 229 jmp _m128insertps_end _m128insertps_230 label size_t insertps xmm0, xmm1, 230 jmp _m128insertps_end _m128insertps_231 label size_t insertps xmm0, xmm1, 231 jmp _m128insertps_end _m128insertps_232 label size_t insertps xmm0, xmm1, 232 jmp _m128insertps_end _m128insertps_233 label size_t insertps xmm0, xmm1, 233 jmp _m128insertps_end _m128insertps_234 label size_t insertps xmm0, xmm1, 234 jmp _m128insertps_end _m128insertps_235 label size_t insertps xmm0, xmm1, 235 jmp _m128insertps_end _m128insertps_236 label size_t insertps xmm0, xmm1, 236 jmp _m128insertps_end _m128insertps_237 label size_t insertps xmm0, xmm1, 237 jmp _m128insertps_end _m128insertps_238 label size_t insertps xmm0, xmm1, 238 jmp _m128insertps_end _m128insertps_239 label size_t insertps xmm0, xmm1, 239 jmp _m128insertps_end _m128insertps_240 label size_t insertps xmm0, xmm1, 240 jmp _m128insertps_end _m128insertps_241 label size_t insertps xmm0, xmm1, 241 jmp _m128insertps_end _m128insertps_242 label size_t insertps xmm0, xmm1, 242 jmp _m128insertps_end _m128insertps_243 label size_t insertps xmm0, xmm1, 243 jmp _m128insertps_end _m128insertps_244 label size_t insertps xmm0, xmm1, 244 jmp _m128insertps_end _m128insertps_245 label size_t insertps xmm0, xmm1, 245 jmp _m128insertps_end _m128insertps_246 label size_t insertps xmm0, xmm1, 246 jmp _m128insertps_end _m128insertps_247 label size_t insertps xmm0, xmm1, 247 jmp _m128insertps_end _m128insertps_248 label size_t insertps xmm0, xmm1, 248 jmp _m128insertps_end _m128insertps_249 label size_t insertps xmm0, xmm1, 249 jmp _m128insertps_end _m128insertps_250 label size_t insertps xmm0, xmm1, 250 jmp _m128insertps_end _m128insertps_251 label size_t insertps xmm0, xmm1, 251 jmp _m128insertps_end _m128insertps_252 label size_t insertps xmm0, xmm1, 252 jmp _m128insertps_end _m128insertps_253 label size_t insertps xmm0, xmm1, 253 jmp _m128insertps_end _m128insertps_254 label size_t insertps xmm0, xmm1, 254 jmp _m128insertps_end _m128insertps_255 label size_t insertps xmm0, xmm1, 255 ;jmp _m128insertps_end _m128insertps_end: pop rbase() ret procend ;************************************ ; Sum absolute 8-bit integer difference of adjacent groups of 4 byte ;************************************ procstart _uX_mm_mpsadbw_epu8_0, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 0 ret procend procstart _uX_mm_mpsadbw_epu8_1, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 1 ret procend procstart _uX_mm_mpsadbw_epu8_2, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 2 ret procend procstart _uX_mm_mpsadbw_epu8_3, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 3 ret procend procstart _uX_mm_mpsadbw_epu8_4, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 4 ret procend procstart _uX_mm_mpsadbw_epu8_5, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 5 ret procend procstart _uX_mm_mpsadbw_epu8_6, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 6 ret procend procstart _uX_mm_mpsadbw_epu8_7, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 7 ret procend procstart _uX_mm_mpsadbw_epu8_8, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 8 ret procend procstart _uX_mm_mpsadbw_epu8_9, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 9 ret procend procstart _uX_mm_mpsadbw_epu8_10, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 10 ret procend procstart _uX_mm_mpsadbw_epu8_11, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 11 ret procend procstart _uX_mm_mpsadbw_epu8_12, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 12 ret procend procstart _uX_mm_mpsadbw_epu8_13, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 13 ret procend procstart _uX_mm_mpsadbw_epu8_14, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 14 ret procend procstart _uX_mm_mpsadbw_epu8_15, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 15 ret procend procstart _uX_mm_mpsadbw_epu8_16, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 16 ret procend procstart _uX_mm_mpsadbw_epu8_17, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 17 ret procend procstart _uX_mm_mpsadbw_epu8_18, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 18 ret procend procstart _uX_mm_mpsadbw_epu8_19, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 19 ret procend procstart _uX_mm_mpsadbw_epu8_20, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 20 ret procend procstart _uX_mm_mpsadbw_epu8_21, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 21 ret procend procstart _uX_mm_mpsadbw_epu8_22, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 22 ret procend procstart _uX_mm_mpsadbw_epu8_23, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 23 ret procend procstart _uX_mm_mpsadbw_epu8_24, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 24 ret procend procstart _uX_mm_mpsadbw_epu8_25, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 25 ret procend procstart _uX_mm_mpsadbw_epu8_26, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 26 ret procend procstart _uX_mm_mpsadbw_epu8_27, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 27 ret procend procstart _uX_mm_mpsadbw_epu8_28, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 28 ret procend procstart _uX_mm_mpsadbw_epu8_29, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 29 ret procend procstart _uX_mm_mpsadbw_epu8_30, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 30 ret procend procstart _uX_mm_mpsadbw_epu8_31, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 31 ret procend procstart _uX_mm_mpsadbw_epu8_32, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 32 ret procend procstart _uX_mm_mpsadbw_epu8_33, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 33 ret procend procstart _uX_mm_mpsadbw_epu8_34, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 34 ret procend procstart _uX_mm_mpsadbw_epu8_35, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 35 ret procend procstart _uX_mm_mpsadbw_epu8_36, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 36 ret procend procstart _uX_mm_mpsadbw_epu8_37, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 37 ret procend procstart _uX_mm_mpsadbw_epu8_38, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 38 ret procend procstart _uX_mm_mpsadbw_epu8_39, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 39 ret procend procstart _uX_mm_mpsadbw_epu8_40, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 40 ret procend procstart _uX_mm_mpsadbw_epu8_41, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 41 ret procend procstart _uX_mm_mpsadbw_epu8_42, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 42 ret procend procstart _uX_mm_mpsadbw_epu8_43, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 43 ret procend procstart _uX_mm_mpsadbw_epu8_44, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 44 ret procend procstart _uX_mm_mpsadbw_epu8_45, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 45 ret procend procstart _uX_mm_mpsadbw_epu8_46, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 46 ret procend procstart _uX_mm_mpsadbw_epu8_47, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 47 ret procend procstart _uX_mm_mpsadbw_epu8_48, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 48 ret procend procstart _uX_mm_mpsadbw_epu8_49, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 49 ret procend procstart _uX_mm_mpsadbw_epu8_50, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 50 ret procend procstart _uX_mm_mpsadbw_epu8_51, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 51 ret procend procstart _uX_mm_mpsadbw_epu8_52, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 52 ret procend procstart _uX_mm_mpsadbw_epu8_53, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 53 ret procend procstart _uX_mm_mpsadbw_epu8_54, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 54 ret procend procstart _uX_mm_mpsadbw_epu8_55, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 55 ret procend procstart _uX_mm_mpsadbw_epu8_56, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 56 ret procend procstart _uX_mm_mpsadbw_epu8_57, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 57 ret procend procstart _uX_mm_mpsadbw_epu8_58, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 58 ret procend procstart _uX_mm_mpsadbw_epu8_59, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 59 ret procend procstart _uX_mm_mpsadbw_epu8_60, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 60 ret procend procstart _uX_mm_mpsadbw_epu8_61, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 61 ret procend procstart _uX_mm_mpsadbw_epu8_62, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 62 ret procend procstart _uX_mm_mpsadbw_epu8_63, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 63 ret procend procstart _uX_mm_mpsadbw_epu8_64, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 64 ret procend procstart _uX_mm_mpsadbw_epu8_65, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 65 ret procend procstart _uX_mm_mpsadbw_epu8_66, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 66 ret procend procstart _uX_mm_mpsadbw_epu8_67, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 67 ret procend procstart _uX_mm_mpsadbw_epu8_68, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 68 ret procend procstart _uX_mm_mpsadbw_epu8_69, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 69 ret procend procstart _uX_mm_mpsadbw_epu8_70, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 70 ret procend procstart _uX_mm_mpsadbw_epu8_71, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 71 ret procend procstart _uX_mm_mpsadbw_epu8_72, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 72 ret procend procstart _uX_mm_mpsadbw_epu8_73, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 73 ret procend procstart _uX_mm_mpsadbw_epu8_74, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 74 ret procend procstart _uX_mm_mpsadbw_epu8_75, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 75 ret procend procstart _uX_mm_mpsadbw_epu8_76, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 76 ret procend procstart _uX_mm_mpsadbw_epu8_77, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 77 ret procend procstart _uX_mm_mpsadbw_epu8_78, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 78 ret procend procstart _uX_mm_mpsadbw_epu8_79, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 79 ret procend procstart _uX_mm_mpsadbw_epu8_80, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 80 ret procend procstart _uX_mm_mpsadbw_epu8_81, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 81 ret procend procstart _uX_mm_mpsadbw_epu8_82, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 82 ret procend procstart _uX_mm_mpsadbw_epu8_83, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 83 ret procend procstart _uX_mm_mpsadbw_epu8_84, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 84 ret procend procstart _uX_mm_mpsadbw_epu8_85, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 85 ret procend procstart _uX_mm_mpsadbw_epu8_86, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 86 ret procend procstart _uX_mm_mpsadbw_epu8_87, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 87 ret procend procstart _uX_mm_mpsadbw_epu8_88, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 88 ret procend procstart _uX_mm_mpsadbw_epu8_89, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 89 ret procend procstart _uX_mm_mpsadbw_epu8_90, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 90 ret procend procstart _uX_mm_mpsadbw_epu8_91, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 91 ret procend procstart _uX_mm_mpsadbw_epu8_92, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 92 ret procend procstart _uX_mm_mpsadbw_epu8_93, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 93 ret procend procstart _uX_mm_mpsadbw_epu8_94, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 94 ret procend procstart _uX_mm_mpsadbw_epu8_95, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 95 ret procend procstart _uX_mm_mpsadbw_epu8_96, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 96 ret procend procstart _uX_mm_mpsadbw_epu8_97, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 97 ret procend procstart _uX_mm_mpsadbw_epu8_98, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 98 ret procend procstart _uX_mm_mpsadbw_epu8_99, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 99 ret procend procstart _uX_mm_mpsadbw_epu8_100, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 100 ret procend procstart _uX_mm_mpsadbw_epu8_101, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 101 ret procend procstart _uX_mm_mpsadbw_epu8_102, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 102 ret procend procstart _uX_mm_mpsadbw_epu8_103, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 103 ret procend procstart _uX_mm_mpsadbw_epu8_104, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 104 ret procend procstart _uX_mm_mpsadbw_epu8_105, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 105 ret procend procstart _uX_mm_mpsadbw_epu8_106, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 106 ret procend procstart _uX_mm_mpsadbw_epu8_107, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 107 ret procend procstart _uX_mm_mpsadbw_epu8_108, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 108 ret procend procstart _uX_mm_mpsadbw_epu8_109, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 109 ret procend procstart _uX_mm_mpsadbw_epu8_110, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 110 ret procend procstart _uX_mm_mpsadbw_epu8_111, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 111 ret procend procstart _uX_mm_mpsadbw_epu8_112, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 112 ret procend procstart _uX_mm_mpsadbw_epu8_113, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 113 ret procend procstart _uX_mm_mpsadbw_epu8_114, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 114 ret procend procstart _uX_mm_mpsadbw_epu8_115, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 115 ret procend procstart _uX_mm_mpsadbw_epu8_116, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 116 ret procend procstart _uX_mm_mpsadbw_epu8_117, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 117 ret procend procstart _uX_mm_mpsadbw_epu8_118, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 118 ret procend procstart _uX_mm_mpsadbw_epu8_119, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 119 ret procend procstart _uX_mm_mpsadbw_epu8_120, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 120 ret procend procstart _uX_mm_mpsadbw_epu8_121, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 121 ret procend procstart _uX_mm_mpsadbw_epu8_122, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 122 ret procend procstart _uX_mm_mpsadbw_epu8_123, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 123 ret procend procstart _uX_mm_mpsadbw_epu8_124, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 124 ret procend procstart _uX_mm_mpsadbw_epu8_125, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 125 ret procend procstart _uX_mm_mpsadbw_epu8_126, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 126 ret procend procstart _uX_mm_mpsadbw_epu8_127, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 127 ret procend procstart _uX_mm_mpsadbw_epu8_128, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 128 ret procend procstart _uX_mm_mpsadbw_epu8_129, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 129 ret procend procstart _uX_mm_mpsadbw_epu8_130, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 130 ret procend procstart _uX_mm_mpsadbw_epu8_131, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 131 ret procend procstart _uX_mm_mpsadbw_epu8_132, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 132 ret procend procstart _uX_mm_mpsadbw_epu8_133, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 133 ret procend procstart _uX_mm_mpsadbw_epu8_134, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 134 ret procend procstart _uX_mm_mpsadbw_epu8_135, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 135 ret procend procstart _uX_mm_mpsadbw_epu8_136, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 136 ret procend procstart _uX_mm_mpsadbw_epu8_137, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 137 ret procend procstart _uX_mm_mpsadbw_epu8_138, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 138 ret procend procstart _uX_mm_mpsadbw_epu8_139, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 139 ret procend procstart _uX_mm_mpsadbw_epu8_140, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 140 ret procend procstart _uX_mm_mpsadbw_epu8_141, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 141 ret procend procstart _uX_mm_mpsadbw_epu8_142, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 142 ret procend procstart _uX_mm_mpsadbw_epu8_143, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 143 ret procend procstart _uX_mm_mpsadbw_epu8_144, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 144 ret procend procstart _uX_mm_mpsadbw_epu8_145, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 145 ret procend procstart _uX_mm_mpsadbw_epu8_146, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 146 ret procend procstart _uX_mm_mpsadbw_epu8_147, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 147 ret procend procstart _uX_mm_mpsadbw_epu8_148, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 148 ret procend procstart _uX_mm_mpsadbw_epu8_149, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 149 ret procend procstart _uX_mm_mpsadbw_epu8_150, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 150 ret procend procstart _uX_mm_mpsadbw_epu8_151, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 151 ret procend procstart _uX_mm_mpsadbw_epu8_152, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 152 ret procend procstart _uX_mm_mpsadbw_epu8_153, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 153 ret procend procstart _uX_mm_mpsadbw_epu8_154, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 154 ret procend procstart _uX_mm_mpsadbw_epu8_155, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 155 ret procend procstart _uX_mm_mpsadbw_epu8_156, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 156 ret procend procstart _uX_mm_mpsadbw_epu8_157, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 157 ret procend procstart _uX_mm_mpsadbw_epu8_158, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 158 ret procend procstart _uX_mm_mpsadbw_epu8_159, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 159 ret procend procstart _uX_mm_mpsadbw_epu8_160, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 160 ret procend procstart _uX_mm_mpsadbw_epu8_161, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 161 ret procend procstart _uX_mm_mpsadbw_epu8_162, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 162 ret procend procstart _uX_mm_mpsadbw_epu8_163, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 163 ret procend procstart _uX_mm_mpsadbw_epu8_164, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 164 ret procend procstart _uX_mm_mpsadbw_epu8_165, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 165 ret procend procstart _uX_mm_mpsadbw_epu8_166, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 166 ret procend procstart _uX_mm_mpsadbw_epu8_167, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 167 ret procend procstart _uX_mm_mpsadbw_epu8_168, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 168 ret procend procstart _uX_mm_mpsadbw_epu8_169, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 169 ret procend procstart _uX_mm_mpsadbw_epu8_170, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 170 ret procend procstart _uX_mm_mpsadbw_epu8_171, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 171 ret procend procstart _uX_mm_mpsadbw_epu8_172, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 172 ret procend procstart _uX_mm_mpsadbw_epu8_173, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 173 ret procend procstart _uX_mm_mpsadbw_epu8_174, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 174 ret procend procstart _uX_mm_mpsadbw_epu8_175, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 175 ret procend procstart _uX_mm_mpsadbw_epu8_176, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 176 ret procend procstart _uX_mm_mpsadbw_epu8_177, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 177 ret procend procstart _uX_mm_mpsadbw_epu8_178, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 178 ret procend procstart _uX_mm_mpsadbw_epu8_179, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 179 ret procend procstart _uX_mm_mpsadbw_epu8_180, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 180 ret procend procstart _uX_mm_mpsadbw_epu8_181, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 181 ret procend procstart _uX_mm_mpsadbw_epu8_182, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 182 ret procend procstart _uX_mm_mpsadbw_epu8_183, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 183 ret procend procstart _uX_mm_mpsadbw_epu8_184, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 184 ret procend procstart _uX_mm_mpsadbw_epu8_185, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 185 ret procend procstart _uX_mm_mpsadbw_epu8_186, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 186 ret procend procstart _uX_mm_mpsadbw_epu8_187, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 187 ret procend procstart _uX_mm_mpsadbw_epu8_188, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 188 ret procend procstart _uX_mm_mpsadbw_epu8_189, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 189 ret procend procstart _uX_mm_mpsadbw_epu8_190, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 190 ret procend procstart _uX_mm_mpsadbw_epu8_191, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 191 ret procend procstart _uX_mm_mpsadbw_epu8_192, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 192 ret procend procstart _uX_mm_mpsadbw_epu8_193, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 193 ret procend procstart _uX_mm_mpsadbw_epu8_194, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 194 ret procend procstart _uX_mm_mpsadbw_epu8_195, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 195 ret procend procstart _uX_mm_mpsadbw_epu8_196, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 196 ret procend procstart _uX_mm_mpsadbw_epu8_197, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 197 ret procend procstart _uX_mm_mpsadbw_epu8_198, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 198 ret procend procstart _uX_mm_mpsadbw_epu8_199, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 199 ret procend procstart _uX_mm_mpsadbw_epu8_200, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 200 ret procend procstart _uX_mm_mpsadbw_epu8_201, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 201 ret procend procstart _uX_mm_mpsadbw_epu8_202, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 202 ret procend procstart _uX_mm_mpsadbw_epu8_203, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 203 ret procend procstart _uX_mm_mpsadbw_epu8_204, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 204 ret procend procstart _uX_mm_mpsadbw_epu8_205, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 205 ret procend procstart _uX_mm_mpsadbw_epu8_206, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 206 ret procend procstart _uX_mm_mpsadbw_epu8_207, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 207 ret procend procstart _uX_mm_mpsadbw_epu8_208, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 208 ret procend procstart _uX_mm_mpsadbw_epu8_209, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 209 ret procend procstart _uX_mm_mpsadbw_epu8_210, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 210 ret procend procstart _uX_mm_mpsadbw_epu8_211, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 211 ret procend procstart _uX_mm_mpsadbw_epu8_212, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 212 ret procend procstart _uX_mm_mpsadbw_epu8_213, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 213 ret procend procstart _uX_mm_mpsadbw_epu8_214, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 214 ret procend procstart _uX_mm_mpsadbw_epu8_215, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 215 ret procend procstart _uX_mm_mpsadbw_epu8_216, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 216 ret procend procstart _uX_mm_mpsadbw_epu8_217, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 217 ret procend procstart _uX_mm_mpsadbw_epu8_218, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 218 ret procend procstart _uX_mm_mpsadbw_epu8_219, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 219 ret procend procstart _uX_mm_mpsadbw_epu8_220, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 220 ret procend procstart _uX_mm_mpsadbw_epu8_221, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 221 ret procend procstart _uX_mm_mpsadbw_epu8_222, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 222 ret procend procstart _uX_mm_mpsadbw_epu8_223, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 223 ret procend procstart _uX_mm_mpsadbw_epu8_224, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 224 ret procend procstart _uX_mm_mpsadbw_epu8_225, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 225 ret procend procstart _uX_mm_mpsadbw_epu8_226, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 226 ret procend procstart _uX_mm_mpsadbw_epu8_227, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 227 ret procend procstart _uX_mm_mpsadbw_epu8_228, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 228 ret procend procstart _uX_mm_mpsadbw_epu8_229, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 229 ret procend procstart _uX_mm_mpsadbw_epu8_230, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 230 ret procend procstart _uX_mm_mpsadbw_epu8_231, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 231 ret procend procstart _uX_mm_mpsadbw_epu8_232, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 232 ret procend procstart _uX_mm_mpsadbw_epu8_233, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 233 ret procend procstart _uX_mm_mpsadbw_epu8_234, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 234 ret procend procstart _uX_mm_mpsadbw_epu8_235, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 235 ret procend procstart _uX_mm_mpsadbw_epu8_236, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 236 ret procend procstart _uX_mm_mpsadbw_epu8_237, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 237 ret procend procstart _uX_mm_mpsadbw_epu8_238, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 238 ret procend procstart _uX_mm_mpsadbw_epu8_239, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 239 ret procend procstart _uX_mm_mpsadbw_epu8_240, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 240 ret procend procstart _uX_mm_mpsadbw_epu8_241, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 241 ret procend procstart _uX_mm_mpsadbw_epu8_242, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 242 ret procend procstart _uX_mm_mpsadbw_epu8_243, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 243 ret procend procstart _uX_mm_mpsadbw_epu8_244, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 244 ret procend procstart _uX_mm_mpsadbw_epu8_245, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 245 ret procend procstart _uX_mm_mpsadbw_epu8_246, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 246 ret procend procstart _uX_mm_mpsadbw_epu8_247, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 247 ret procend procstart _uX_mm_mpsadbw_epu8_248, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 248 ret procend procstart _uX_mm_mpsadbw_epu8_249, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 249 ret procend procstart _uX_mm_mpsadbw_epu8_250, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 250 ret procend procstart _uX_mm_mpsadbw_epu8_251, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 251 ret procend procstart _uX_mm_mpsadbw_epu8_252, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 252 ret procend procstart _uX_mm_mpsadbw_epu8_253, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 253 ret procend procstart _uX_mm_mpsadbw_epu8_254, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 254 ret procend procstart _uX_mm_mpsadbw_epu8_255, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword mpsadbw xmm0, xmm1, 255 ret procend procstart _uX_mm_mpsadbw_epu8, callconv, xmmword, < >, < >, Inxmm_A:xmmword, Inxmm_B:xmmword, Inint_Imm:dword push rbase() .if((rp2() < 0) || (rp2() > 255)) jmp _m128impsadbwepu8_end .endif ifdef __X32__ movzx rbase(), byte ptr [rp2()] jmp dword ptr [_m128impsadbwepu8jmptable+rbase()*size_t_size] else lea rbase(), qword ptr [_m128impsadbwepu8jmptable] mov rbase(), qword ptr [rbase()+rp2()*size_t_size] jmp rbx endif _m128impsadbwepu8_0 label size_t mpsadbw xmm0, xmm1, 0 jmp _m128impsadbwepu8_end _m128impsadbwepu8_1 label size_t mpsadbw xmm0, xmm1, 1 jmp _m128impsadbwepu8_end _m128impsadbwepu8_2 label size_t mpsadbw xmm0, xmm1, 2 jmp _m128impsadbwepu8_end _m128impsadbwepu8_3 label size_t mpsadbw xmm0, xmm1, 3 jmp _m128impsadbwepu8_end _m128impsadbwepu8_4 label size_t mpsadbw xmm0, xmm1, 4 jmp _m128impsadbwepu8_end _m128impsadbwepu8_5 label size_t mpsadbw xmm0, xmm1, 5 jmp _m128impsadbwepu8_end _m128impsadbwepu8_6 label size_t mpsadbw xmm0, xmm1, 6 jmp _m128impsadbwepu8_end _m128impsadbwepu8_7 label size_t mpsadbw xmm0, xmm1, 7 jmp _m128impsadbwepu8_end _m128impsadbwepu8_8 label size_t mpsadbw xmm0, xmm1, 8 jmp _m128impsadbwepu8_end _m128impsadbwepu8_9 label size_t mpsadbw xmm0, xmm1, 9 jmp _m128impsadbwepu8_end _m128impsadbwepu8_10 label size_t mpsadbw xmm0, xmm1, 10 jmp _m128impsadbwepu8_end _m128impsadbwepu8_11 label size_t mpsadbw xmm0, xmm1, 11 jmp _m128impsadbwepu8_end _m128impsadbwepu8_12 label size_t mpsadbw xmm0, xmm1, 12 jmp _m128impsadbwepu8_end _m128impsadbwepu8_13 label size_t mpsadbw xmm0, xmm1, 13 jmp _m128impsadbwepu8_end _m128impsadbwepu8_14 label size_t mpsadbw xmm0, xmm1, 14 jmp _m128impsadbwepu8_end _m128impsadbwepu8_15 label size_t mpsadbw xmm0, xmm1, 15 jmp _m128impsadbwepu8_end _m128impsadbwepu8_16 label size_t mpsadbw xmm0, xmm1, 16 jmp _m128impsadbwepu8_end _m128impsadbwepu8_17 label size_t mpsadbw xmm0, xmm1, 17 jmp _m128impsadbwepu8_end _m128impsadbwepu8_18 label size_t mpsadbw xmm0, xmm1, 18 jmp _m128impsadbwepu8_end _m128impsadbwepu8_19 label size_t mpsadbw xmm0, xmm1, 19 jmp _m128impsadbwepu8_end _m128impsadbwepu8_20 label size_t mpsadbw xmm0, xmm1, 20 jmp _m128impsadbwepu8_end _m128impsadbwepu8_21 label size_t mpsadbw xmm0, xmm1, 21 jmp _m128impsadbwepu8_end _m128impsadbwepu8_22 label size_t mpsadbw xmm0, xmm1, 22 jmp _m128impsadbwepu8_end _m128impsadbwepu8_23 label size_t mpsadbw xmm0, xmm1, 23 jmp _m128impsadbwepu8_end _m128impsadbwepu8_24 label size_t mpsadbw xmm0, xmm1, 24 jmp _m128impsadbwepu8_end _m128impsadbwepu8_25 label size_t mpsadbw xmm0, xmm1, 25 jmp _m128impsadbwepu8_end _m128impsadbwepu8_26 label size_t mpsadbw xmm0, xmm1, 26 jmp _m128impsadbwepu8_end _m128impsadbwepu8_27 label size_t mpsadbw xmm0, xmm1, 27 jmp _m128impsadbwepu8_end _m128impsadbwepu8_28 label size_t mpsadbw xmm0, xmm1, 28 jmp _m128impsadbwepu8_end _m128impsadbwepu8_29 label size_t mpsadbw xmm0, xmm1, 29 jmp _m128impsadbwepu8_end _m128impsadbwepu8_30 label size_t mpsadbw xmm0, xmm1, 30 jmp _m128impsadbwepu8_end _m128impsadbwepu8_31 label size_t mpsadbw xmm0, xmm1, 31 jmp _m128impsadbwepu8_end _m128impsadbwepu8_32 label size_t mpsadbw xmm0, xmm1, 32 jmp _m128impsadbwepu8_end _m128impsadbwepu8_33 label size_t mpsadbw xmm0, xmm1, 33 jmp _m128impsadbwepu8_end _m128impsadbwepu8_34 label size_t mpsadbw xmm0, xmm1, 34 jmp _m128impsadbwepu8_end _m128impsadbwepu8_35 label size_t mpsadbw xmm0, xmm1, 35 jmp _m128impsadbwepu8_end _m128impsadbwepu8_36 label size_t mpsadbw xmm0, xmm1, 36 jmp _m128impsadbwepu8_end _m128impsadbwepu8_37 label size_t mpsadbw xmm0, xmm1, 37 jmp _m128impsadbwepu8_end _m128impsadbwepu8_38 label size_t mpsadbw xmm0, xmm1, 38 jmp _m128impsadbwepu8_end _m128impsadbwepu8_39 label size_t mpsadbw xmm0, xmm1, 39 jmp _m128impsadbwepu8_end _m128impsadbwepu8_40 label size_t mpsadbw xmm0, xmm1, 40 jmp _m128impsadbwepu8_end _m128impsadbwepu8_41 label size_t mpsadbw xmm0, xmm1, 41 jmp _m128impsadbwepu8_end _m128impsadbwepu8_42 label size_t mpsadbw xmm0, xmm1, 42 jmp _m128impsadbwepu8_end _m128impsadbwepu8_43 label size_t mpsadbw xmm0, xmm1, 43 jmp _m128impsadbwepu8_end _m128impsadbwepu8_44 label size_t mpsadbw xmm0, xmm1, 44 jmp _m128impsadbwepu8_end _m128impsadbwepu8_45 label size_t mpsadbw xmm0, xmm1, 45 jmp _m128impsadbwepu8_end _m128impsadbwepu8_46 label size_t mpsadbw xmm0, xmm1, 46 jmp _m128impsadbwepu8_end _m128impsadbwepu8_47 label size_t mpsadbw xmm0, xmm1, 47 jmp _m128impsadbwepu8_end _m128impsadbwepu8_48 label size_t mpsadbw xmm0, xmm1, 48 jmp _m128impsadbwepu8_end _m128impsadbwepu8_49 label size_t mpsadbw xmm0, xmm1, 49 jmp _m128impsadbwepu8_end _m128impsadbwepu8_50 label size_t mpsadbw xmm0, xmm1, 50 jmp _m128impsadbwepu8_end _m128impsadbwepu8_51 label size_t mpsadbw xmm0, xmm1, 51 jmp _m128impsadbwepu8_end _m128impsadbwepu8_52 label size_t mpsadbw xmm0, xmm1, 52 jmp _m128impsadbwepu8_end _m128impsadbwepu8_53 label size_t mpsadbw xmm0, xmm1, 53 jmp _m128impsadbwepu8_end _m128impsadbwepu8_54 label size_t mpsadbw xmm0, xmm1, 54 jmp _m128impsadbwepu8_end _m128impsadbwepu8_55 label size_t mpsadbw xmm0, xmm1, 55 jmp _m128impsadbwepu8_end _m128impsadbwepu8_56 label size_t mpsadbw xmm0, xmm1, 56 jmp _m128impsadbwepu8_end _m128impsadbwepu8_57 label size_t mpsadbw xmm0, xmm1, 57 jmp _m128impsadbwepu8_end _m128impsadbwepu8_58 label size_t mpsadbw xmm0, xmm1, 58 jmp _m128impsadbwepu8_end _m128impsadbwepu8_59 label size_t mpsadbw xmm0, xmm1, 59 jmp _m128impsadbwepu8_end _m128impsadbwepu8_60 label size_t mpsadbw xmm0, xmm1, 60 jmp _m128impsadbwepu8_end _m128impsadbwepu8_61 label size_t mpsadbw xmm0, xmm1, 61 jmp _m128impsadbwepu8_end _m128impsadbwepu8_62 label size_t mpsadbw xmm0, xmm1, 62 jmp _m128impsadbwepu8_end _m128impsadbwepu8_63 label size_t mpsadbw xmm0, xmm1, 63 jmp _m128impsadbwepu8_end _m128impsadbwepu8_64 label size_t mpsadbw xmm0, xmm1, 64 jmp _m128impsadbwepu8_end _m128impsadbwepu8_65 label size_t mpsadbw xmm0, xmm1, 65 jmp _m128impsadbwepu8_end _m128impsadbwepu8_66 label size_t mpsadbw xmm0, xmm1, 66 jmp _m128impsadbwepu8_end _m128impsadbwepu8_67 label size_t mpsadbw xmm0, xmm1, 67 jmp _m128impsadbwepu8_end _m128impsadbwepu8_68 label size_t mpsadbw xmm0, xmm1, 68 jmp _m128impsadbwepu8_end _m128impsadbwepu8_69 label size_t mpsadbw xmm0, xmm1, 69 jmp _m128impsadbwepu8_end _m128impsadbwepu8_70 label size_t mpsadbw xmm0, xmm1, 70 jmp _m128impsadbwepu8_end _m128impsadbwepu8_71 label size_t mpsadbw xmm0, xmm1, 71 jmp _m128impsadbwepu8_end _m128impsadbwepu8_72 label size_t mpsadbw xmm0, xmm1, 72 jmp _m128impsadbwepu8_end _m128impsadbwepu8_73 label size_t mpsadbw xmm0, xmm1, 73 jmp _m128impsadbwepu8_end _m128impsadbwepu8_74 label size_t mpsadbw xmm0, xmm1, 74 jmp _m128impsadbwepu8_end _m128impsadbwepu8_75 label size_t mpsadbw xmm0, xmm1, 75 jmp _m128impsadbwepu8_end _m128impsadbwepu8_76 label size_t mpsadbw xmm0, xmm1, 76 jmp _m128impsadbwepu8_end _m128impsadbwepu8_77 label size_t mpsadbw xmm0, xmm1, 77 jmp _m128impsadbwepu8_end _m128impsadbwepu8_78 label size_t mpsadbw xmm0, xmm1, 78 jmp _m128impsadbwepu8_end _m128impsadbwepu8_79 label size_t mpsadbw xmm0, xmm1, 79 jmp _m128impsadbwepu8_end _m128impsadbwepu8_80 label size_t mpsadbw xmm0, xmm1, 80 jmp _m128impsadbwepu8_end _m128impsadbwepu8_81 label size_t mpsadbw xmm0, xmm1, 81 jmp _m128impsadbwepu8_end _m128impsadbwepu8_82 label size_t mpsadbw xmm0, xmm1, 82 jmp _m128impsadbwepu8_end _m128impsadbwepu8_83 label size_t mpsadbw xmm0, xmm1, 83 jmp _m128impsadbwepu8_end _m128impsadbwepu8_84 label size_t mpsadbw xmm0, xmm1, 84 jmp _m128impsadbwepu8_end _m128impsadbwepu8_85 label size_t mpsadbw xmm0, xmm1, 85 jmp _m128impsadbwepu8_end _m128impsadbwepu8_86 label size_t mpsadbw xmm0, xmm1, 86 jmp _m128impsadbwepu8_end _m128impsadbwepu8_87 label size_t mpsadbw xmm0, xmm1, 87 jmp _m128impsadbwepu8_end _m128impsadbwepu8_88 label size_t mpsadbw xmm0, xmm1, 88 jmp _m128impsadbwepu8_end _m128impsadbwepu8_89 label size_t mpsadbw xmm0, xmm1, 89 jmp _m128impsadbwepu8_end _m128impsadbwepu8_90 label size_t mpsadbw xmm0, xmm1, 90 jmp _m128impsadbwepu8_end _m128impsadbwepu8_91 label size_t mpsadbw xmm0, xmm1, 91 jmp _m128impsadbwepu8_end _m128impsadbwepu8_92 label size_t mpsadbw xmm0, xmm1, 92 jmp _m128impsadbwepu8_end _m128impsadbwepu8_93 label size_t mpsadbw xmm0, xmm1, 93 jmp _m128impsadbwepu8_end _m128impsadbwepu8_94 label size_t mpsadbw xmm0, xmm1, 94 jmp _m128impsadbwepu8_end _m128impsadbwepu8_95 label size_t mpsadbw xmm0, xmm1, 95 jmp _m128impsadbwepu8_end _m128impsadbwepu8_96 label size_t mpsadbw xmm0, xmm1, 96 jmp _m128impsadbwepu8_end _m128impsadbwepu8_97 label size_t mpsadbw xmm0, xmm1, 97 jmp _m128impsadbwepu8_end _m128impsadbwepu8_98 label size_t mpsadbw xmm0, xmm1, 98 jmp _m128impsadbwepu8_end _m128impsadbwepu8_99 label size_t mpsadbw xmm0, xmm1, 99 jmp _m128impsadbwepu8_end _m128impsadbwepu8_100 label size_t mpsadbw xmm0, xmm1, 100 jmp _m128impsadbwepu8_end _m128impsadbwepu8_101 label size_t mpsadbw xmm0, xmm1, 101 jmp _m128impsadbwepu8_end _m128impsadbwepu8_102 label size_t mpsadbw xmm0, xmm1, 102 jmp _m128impsadbwepu8_end _m128impsadbwepu8_103 label size_t mpsadbw xmm0, xmm1, 103 jmp _m128impsadbwepu8_end _m128impsadbwepu8_104 label size_t mpsadbw xmm0, xmm1, 104 jmp _m128impsadbwepu8_end _m128impsadbwepu8_105 label size_t mpsadbw xmm0, xmm1, 105 jmp _m128impsadbwepu8_end _m128impsadbwepu8_106 label size_t mpsadbw xmm0, xmm1, 106 jmp _m128impsadbwepu8_end _m128impsadbwepu8_107 label size_t mpsadbw xmm0, xmm1, 107 jmp _m128impsadbwepu8_end _m128impsadbwepu8_108 label size_t mpsadbw xmm0, xmm1, 108 jmp _m128impsadbwepu8_end _m128impsadbwepu8_109 label size_t mpsadbw xmm0, xmm1, 109 jmp _m128impsadbwepu8_end _m128impsadbwepu8_110 label size_t mpsadbw xmm0, xmm1, 110 jmp _m128impsadbwepu8_end _m128impsadbwepu8_111 label size_t mpsadbw xmm0, xmm1, 111 jmp _m128impsadbwepu8_end _m128impsadbwepu8_112 label size_t mpsadbw xmm0, xmm1, 112 jmp _m128impsadbwepu8_end _m128impsadbwepu8_113 label size_t mpsadbw xmm0, xmm1, 113 jmp _m128impsadbwepu8_end _m128impsadbwepu8_114 label size_t mpsadbw xmm0, xmm1, 114 jmp _m128impsadbwepu8_end _m128impsadbwepu8_115 label size_t mpsadbw xmm0, xmm1, 115 jmp _m128impsadbwepu8_end _m128impsadbwepu8_116 label size_t mpsadbw xmm0, xmm1, 116 jmp _m128impsadbwepu8_end _m128impsadbwepu8_117 label size_t mpsadbw xmm0, xmm1, 117 jmp _m128impsadbwepu8_end _m128impsadbwepu8_118 label size_t mpsadbw xmm0, xmm1, 118 jmp _m128impsadbwepu8_end _m128impsadbwepu8_119 label size_t mpsadbw xmm0, xmm1, 119 jmp _m128impsadbwepu8_end _m128impsadbwepu8_120 label size_t mpsadbw xmm0, xmm1, 120 jmp _m128impsadbwepu8_end _m128impsadbwepu8_121 label size_t mpsadbw xmm0, xmm1, 121 jmp _m128impsadbwepu8_end _m128impsadbwepu8_122 label size_t mpsadbw xmm0, xmm1, 122 jmp _m128impsadbwepu8_end _m128impsadbwepu8_123 label size_t mpsadbw xmm0, xmm1, 123 jmp _m128impsadbwepu8_end _m128impsadbwepu8_124 label size_t mpsadbw xmm0, xmm1, 124 jmp _m128impsadbwepu8_end _m128impsadbwepu8_125 label size_t mpsadbw xmm0, xmm1, 125 jmp _m128impsadbwepu8_end _m128impsadbwepu8_126 label size_t mpsadbw xmm0, xmm1, 126 jmp _m128impsadbwepu8_end _m128impsadbwepu8_127 label size_t mpsadbw xmm0, xmm1, 127 jmp _m128impsadbwepu8_end _m128impsadbwepu8_128 label size_t mpsadbw xmm0, xmm1, 128 jmp _m128impsadbwepu8_end _m128impsadbwepu8_129 label size_t mpsadbw xmm0, xmm1, 129 jmp _m128impsadbwepu8_end _m128impsadbwepu8_130 label size_t mpsadbw xmm0, xmm1, 130 jmp _m128impsadbwepu8_end _m128impsadbwepu8_131 label size_t mpsadbw xmm0, xmm1, 131 jmp _m128impsadbwepu8_end _m128impsadbwepu8_132 label size_t mpsadbw xmm0, xmm1, 132 jmp _m128impsadbwepu8_end _m128impsadbwepu8_133 label size_t mpsadbw xmm0, xmm1, 133 jmp _m128impsadbwepu8_end _m128impsadbwepu8_134 label size_t mpsadbw xmm0, xmm1, 134 jmp _m128impsadbwepu8_end _m128impsadbwepu8_135 label size_t mpsadbw xmm0, xmm1, 135 jmp _m128impsadbwepu8_end _m128impsadbwepu8_136 label size_t mpsadbw xmm0, xmm1, 136 jmp _m128impsadbwepu8_end _m128impsadbwepu8_137 label size_t mpsadbw xmm0, xmm1, 137 jmp _m128impsadbwepu8_end _m128impsadbwepu8_138 label size_t mpsadbw xmm0, xmm1, 138 jmp _m128impsadbwepu8_end _m128impsadbwepu8_139 label size_t mpsadbw xmm0, xmm1, 139 jmp _m128impsadbwepu8_end _m128impsadbwepu8_140 label size_t mpsadbw xmm0, xmm1, 140 jmp _m128impsadbwepu8_end _m128impsadbwepu8_141 label size_t mpsadbw xmm0, xmm1, 141 jmp _m128impsadbwepu8_end _m128impsadbwepu8_142 label size_t mpsadbw xmm0, xmm1, 142 jmp _m128impsadbwepu8_end _m128impsadbwepu8_143 label size_t mpsadbw xmm0, xmm1, 143 jmp _m128impsadbwepu8_end _m128impsadbwepu8_144 label size_t mpsadbw xmm0, xmm1, 144 jmp _m128impsadbwepu8_end _m128impsadbwepu8_145 label size_t mpsadbw xmm0, xmm1, 145 jmp _m128impsadbwepu8_end _m128impsadbwepu8_146 label size_t mpsadbw xmm0, xmm1, 146 jmp _m128impsadbwepu8_end _m128impsadbwepu8_147 label size_t mpsadbw xmm0, xmm1, 147 jmp _m128impsadbwepu8_end _m128impsadbwepu8_148 label size_t mpsadbw xmm0, xmm1, 148 jmp _m128impsadbwepu8_end _m128impsadbwepu8_149 label size_t mpsadbw xmm0, xmm1, 149 jmp _m128impsadbwepu8_end _m128impsadbwepu8_150 label size_t mpsadbw xmm0, xmm1, 150 jmp _m128impsadbwepu8_end _m128impsadbwepu8_151 label size_t mpsadbw xmm0, xmm1, 151 jmp _m128impsadbwepu8_end _m128impsadbwepu8_152 label size_t mpsadbw xmm0, xmm1, 152 jmp _m128impsadbwepu8_end _m128impsadbwepu8_153 label size_t mpsadbw xmm0, xmm1, 153 jmp _m128impsadbwepu8_end _m128impsadbwepu8_154 label size_t mpsadbw xmm0, xmm1, 154 jmp _m128impsadbwepu8_end _m128impsadbwepu8_155 label size_t mpsadbw xmm0, xmm1, 155 jmp _m128impsadbwepu8_end _m128impsadbwepu8_156 label size_t mpsadbw xmm0, xmm1, 156 jmp _m128impsadbwepu8_end _m128impsadbwepu8_157 label size_t mpsadbw xmm0, xmm1, 157 jmp _m128impsadbwepu8_end _m128impsadbwepu8_158 label size_t mpsadbw xmm0, xmm1, 158 jmp _m128impsadbwepu8_end _m128impsadbwepu8_159 label size_t mpsadbw xmm0, xmm1, 159 jmp _m128impsadbwepu8_end _m128impsadbwepu8_160 label size_t mpsadbw xmm0, xmm1, 160 jmp _m128impsadbwepu8_end _m128impsadbwepu8_161 label size_t mpsadbw xmm0, xmm1, 161 jmp _m128impsadbwepu8_end _m128impsadbwepu8_162 label size_t mpsadbw xmm0, xmm1, 162 jmp _m128impsadbwepu8_end _m128impsadbwepu8_163 label size_t mpsadbw xmm0, xmm1, 163 jmp _m128impsadbwepu8_end _m128impsadbwepu8_164 label size_t mpsadbw xmm0, xmm1, 164 jmp _m128impsadbwepu8_end _m128impsadbwepu8_165 label size_t mpsadbw xmm0, xmm1, 165 jmp _m128impsadbwepu8_end _m128impsadbwepu8_166 label size_t mpsadbw xmm0, xmm1, 166 jmp _m128impsadbwepu8_end _m128impsadbwepu8_167 label size_t mpsadbw xmm0, xmm1, 167 jmp _m128impsadbwepu8_end _m128impsadbwepu8_168 label size_t mpsadbw xmm0, xmm1, 168 jmp _m128impsadbwepu8_end _m128impsadbwepu8_169 label size_t mpsadbw xmm0, xmm1, 169 jmp _m128impsadbwepu8_end _m128impsadbwepu8_170 label size_t mpsadbw xmm0, xmm1, 170 jmp _m128impsadbwepu8_end _m128impsadbwepu8_171 label size_t mpsadbw xmm0, xmm1, 171 jmp _m128impsadbwepu8_end _m128impsadbwepu8_172 label size_t mpsadbw xmm0, xmm1, 172 jmp _m128impsadbwepu8_end _m128impsadbwepu8_173 label size_t mpsadbw xmm0, xmm1, 173 jmp _m128impsadbwepu8_end _m128impsadbwepu8_174 label size_t mpsadbw xmm0, xmm1, 174 jmp _m128impsadbwepu8_end _m128impsadbwepu8_175 label size_t mpsadbw xmm0, xmm1, 175 jmp _m128impsadbwepu8_end _m128impsadbwepu8_176 label size_t mpsadbw xmm0, xmm1, 176 jmp _m128impsadbwepu8_end _m128impsadbwepu8_177 label size_t mpsadbw xmm0, xmm1, 177 jmp _m128impsadbwepu8_end _m128impsadbwepu8_178 label size_t mpsadbw xmm0, xmm1, 178 jmp _m128impsadbwepu8_end _m128impsadbwepu8_179 label size_t mpsadbw xmm0, xmm1, 179 jmp _m128impsadbwepu8_end _m128impsadbwepu8_180 label size_t mpsadbw xmm0, xmm1, 180 jmp _m128impsadbwepu8_end _m128impsadbwepu8_181 label size_t mpsadbw xmm0, xmm1, 181 jmp _m128impsadbwepu8_end _m128impsadbwepu8_182 label size_t mpsadbw xmm0, xmm1, 182 jmp _m128impsadbwepu8_end _m128impsadbwepu8_183 label size_t mpsadbw xmm0, xmm1, 183 jmp _m128impsadbwepu8_end _m128impsadbwepu8_184 label size_t mpsadbw xmm0, xmm1, 184 jmp _m128impsadbwepu8_end _m128impsadbwepu8_185 label size_t mpsadbw xmm0, xmm1, 185 jmp _m128impsadbwepu8_end _m128impsadbwepu8_186 label size_t mpsadbw xmm0, xmm1, 186 jmp _m128impsadbwepu8_end _m128impsadbwepu8_187 label size_t mpsadbw xmm0, xmm1, 187 jmp _m128impsadbwepu8_end _m128impsadbwepu8_188 label size_t mpsadbw xmm0, xmm1, 188 jmp _m128impsadbwepu8_end _m128impsadbwepu8_189 label size_t mpsadbw xmm0, xmm1, 189 jmp _m128impsadbwepu8_end _m128impsadbwepu8_190 label size_t mpsadbw xmm0, xmm1, 190 jmp _m128impsadbwepu8_end _m128impsadbwepu8_191 label size_t mpsadbw xmm0, xmm1, 191 jmp _m128impsadbwepu8_end _m128impsadbwepu8_192 label size_t mpsadbw xmm0, xmm1, 192 jmp _m128impsadbwepu8_end _m128impsadbwepu8_193 label size_t mpsadbw xmm0, xmm1, 193 jmp _m128impsadbwepu8_end _m128impsadbwepu8_194 label size_t mpsadbw xmm0, xmm1, 194 jmp _m128impsadbwepu8_end _m128impsadbwepu8_195 label size_t mpsadbw xmm0, xmm1, 195 jmp _m128impsadbwepu8_end _m128impsadbwepu8_196 label size_t mpsadbw xmm0, xmm1, 196 jmp _m128impsadbwepu8_end _m128impsadbwepu8_197 label size_t mpsadbw xmm0, xmm1, 197 jmp _m128impsadbwepu8_end _m128impsadbwepu8_198 label size_t mpsadbw xmm0, xmm1, 198 jmp _m128impsadbwepu8_end _m128impsadbwepu8_199 label size_t mpsadbw xmm0, xmm1, 199 jmp _m128impsadbwepu8_end _m128impsadbwepu8_200 label size_t mpsadbw xmm0, xmm1, 200 jmp _m128impsadbwepu8_end _m128impsadbwepu8_201 label size_t mpsadbw xmm0, xmm1, 201 jmp _m128impsadbwepu8_end _m128impsadbwepu8_202 label size_t mpsadbw xmm0, xmm1, 202 jmp _m128impsadbwepu8_end _m128impsadbwepu8_203 label size_t mpsadbw xmm0, xmm1, 203 jmp _m128impsadbwepu8_end _m128impsadbwepu8_204 label size_t mpsadbw xmm0, xmm1, 204 jmp _m128impsadbwepu8_end _m128impsadbwepu8_205 label size_t mpsadbw xmm0, xmm1, 205 jmp _m128impsadbwepu8_end _m128impsadbwepu8_206 label size_t mpsadbw xmm0, xmm1, 206 jmp _m128impsadbwepu8_end _m128impsadbwepu8_207 label size_t mpsadbw xmm0, xmm1, 207 jmp _m128impsadbwepu8_end _m128impsadbwepu8_208 label size_t mpsadbw xmm0, xmm1, 208 jmp _m128impsadbwepu8_end _m128impsadbwepu8_209 label size_t mpsadbw xmm0, xmm1, 209 jmp _m128impsadbwepu8_end _m128impsadbwepu8_210 label size_t mpsadbw xmm0, xmm1, 210 jmp _m128impsadbwepu8_end _m128impsadbwepu8_211 label size_t mpsadbw xmm0, xmm1, 211 jmp _m128impsadbwepu8_end _m128impsadbwepu8_212 label size_t mpsadbw xmm0, xmm1, 212 jmp _m128impsadbwepu8_end _m128impsadbwepu8_213 label size_t mpsadbw xmm0, xmm1, 213 jmp _m128impsadbwepu8_end _m128impsadbwepu8_214 label size_t mpsadbw xmm0, xmm1, 214 jmp _m128impsadbwepu8_end _m128impsadbwepu8_215 label size_t mpsadbw xmm0, xmm1, 215 jmp _m128impsadbwepu8_end _m128impsadbwepu8_216 label size_t mpsadbw xmm0, xmm1, 216 jmp _m128impsadbwepu8_end _m128impsadbwepu8_217 label size_t mpsadbw xmm0, xmm1, 217 jmp _m128impsadbwepu8_end _m128impsadbwepu8_218 label size_t mpsadbw xmm0, xmm1, 218 jmp _m128impsadbwepu8_end _m128impsadbwepu8_219 label size_t mpsadbw xmm0, xmm1, 219 jmp _m128impsadbwepu8_end _m128impsadbwepu8_220 label size_t mpsadbw xmm0, xmm1, 220 jmp _m128impsadbwepu8_end _m128impsadbwepu8_221 label size_t mpsadbw xmm0, xmm1, 221 jmp _m128impsadbwepu8_end _m128impsadbwepu8_222 label size_t mpsadbw xmm0, xmm1, 222 jmp _m128impsadbwepu8_end _m128impsadbwepu8_223 label size_t mpsadbw xmm0, xmm1, 223 jmp _m128impsadbwepu8_end _m128impsadbwepu8_224 label size_t mpsadbw xmm0, xmm1, 224 jmp _m128impsadbwepu8_end _m128impsadbwepu8_225 label size_t mpsadbw xmm0, xmm1, 225 jmp _m128impsadbwepu8_end _m128impsadbwepu8_226 label size_t mpsadbw xmm0, xmm1, 226 jmp _m128impsadbwepu8_end _m128impsadbwepu8_227 label size_t mpsadbw xmm0, xmm1, 227 jmp _m128impsadbwepu8_end _m128impsadbwepu8_228 label size_t mpsadbw xmm0, xmm1, 228 jmp _m128impsadbwepu8_end _m128impsadbwepu8_229 label size_t mpsadbw xmm0, xmm1, 229 jmp _m128impsadbwepu8_end _m128impsadbwepu8_230 label size_t mpsadbw xmm0, xmm1, 230 jmp _m128impsadbwepu8_end _m128impsadbwepu8_231 label size_t mpsadbw xmm0, xmm1, 231 jmp _m128impsadbwepu8_end _m128impsadbwepu8_232 label size_t mpsadbw xmm0, xmm1, 232 jmp _m128impsadbwepu8_end _m128impsadbwepu8_233 label size_t mpsadbw xmm0, xmm1, 233 jmp _m128impsadbwepu8_end _m128impsadbwepu8_234 label size_t mpsadbw xmm0, xmm1, 234 jmp _m128impsadbwepu8_end _m128impsadbwepu8_235 label size_t mpsadbw xmm0, xmm1, 235 jmp _m128impsadbwepu8_end _m128impsadbwepu8_236 label size_t mpsadbw xmm0, xmm1, 236 jmp _m128impsadbwepu8_end _m128impsadbwepu8_237 label size_t mpsadbw xmm0, xmm1, 237 jmp _m128impsadbwepu8_end _m128impsadbwepu8_238 label size_t mpsadbw xmm0, xmm1, 238 jmp _m128impsadbwepu8_end _m128impsadbwepu8_239 label size_t mpsadbw xmm0, xmm1, 239 jmp _m128impsadbwepu8_end _m128impsadbwepu8_240 label size_t mpsadbw xmm0, xmm1, 240 jmp _m128impsadbwepu8_end _m128impsadbwepu8_241 label size_t mpsadbw xmm0, xmm1, 241 jmp _m128impsadbwepu8_end _m128impsadbwepu8_242 label size_t mpsadbw xmm0, xmm1, 242 jmp _m128impsadbwepu8_end _m128impsadbwepu8_243 label size_t mpsadbw xmm0, xmm1, 243 jmp _m128impsadbwepu8_end _m128impsadbwepu8_244 label size_t mpsadbw xmm0, xmm1, 244 jmp _m128impsadbwepu8_end _m128impsadbwepu8_245 label size_t mpsadbw xmm0, xmm1, 245 jmp _m128impsadbwepu8_end _m128impsadbwepu8_246 label size_t mpsadbw xmm0, xmm1, 246 jmp _m128impsadbwepu8_end _m128impsadbwepu8_247 label size_t mpsadbw xmm0, xmm1, 247 jmp _m128impsadbwepu8_end _m128impsadbwepu8_248 label size_t mpsadbw xmm0, xmm1, 248 jmp _m128impsadbwepu8_end _m128impsadbwepu8_249 label size_t mpsadbw xmm0, xmm1, 249 jmp _m128impsadbwepu8_end _m128impsadbwepu8_250 label size_t mpsadbw xmm0, xmm1, 250 jmp _m128impsadbwepu8_end _m128impsadbwepu8_251 label size_t mpsadbw xmm0, xmm1, 251 jmp _m128impsadbwepu8_end _m128impsadbwepu8_252 label size_t mpsadbw xmm0, xmm1, 252 jmp _m128impsadbwepu8_end _m128impsadbwepu8_253 label size_t mpsadbw xmm0, xmm1, 253 jmp _m128impsadbwepu8_end _m128impsadbwepu8_254 label size_t mpsadbw xmm0, xmm1, 254 jmp _m128impsadbwepu8_end _m128impsadbwepu8_255 label size_t mpsadbw xmm0, xmm1, 255 jmp _m128impsadbwepu8_end _m128impsadbwepu8_end: pop rbase() ret procend endif ;__MIC__ end
41.828165
125
0.535512
9c5ea03320f0407c80f371a786d27c1efaf61797
1,213
js
JavaScript
src/components/Pagination/components/PaginationItem/PaginationItem.test.js
frutuozo29/code-hero-frontend
edc3c29817ff0ef80ec367935622ccb0755a817d
[ "MIT" ]
null
null
null
src/components/Pagination/components/PaginationItem/PaginationItem.test.js
frutuozo29/code-hero-frontend
edc3c29817ff0ef80ec367935622ccb0755a817d
[ "MIT" ]
null
null
null
src/components/Pagination/components/PaginationItem/PaginationItem.test.js
frutuozo29/code-hero-frontend
edc3c29817ff0ef80ec367935622ccb0755a817d
[ "MIT" ]
1
2020-11-09T00:01:15.000Z
2020-11-09T00:01:15.000Z
import { render, screen, fireEvent } from '@testing-library/react' import PaginationItem from './PaginationItem' test('renders PaginationItem component', () => { render(<PaginationItem page={1} onClickItem={jest.fn()} />) expect(screen.getByTestId('pagination-item-component')).toBeInTheDocument() }) test('handle Click', () => { const onClickItem = jest.fn() render(<PaginationItem page={1} onClickItem={onClickItem} />) fireEvent.click(screen.getByTestId('pagination-item-component')) expect(onClickItem).toBeCalled() }) test('renders PaginationItem with label', () => { render(<PaginationItem page={1} onClickItem={jest.fn()} label='>' />) expect(screen.getByText('>')).toBeInTheDocument() }) test('renders PaginationItem active', () => { const { container } = render( <PaginationItem page={1} onClickItem={jest.fn()} isActive={true} /> ) expect(container.querySelector('.pagination-item-active')).toBeInTheDocument() }) test('renders PaginationItem desabled', () => { const { container } = render( <PaginationItem page={1} onClickItem={jest.fn()} isDisabled={true} /> ) expect( container.querySelector('.pagination-item-disabled') ).toBeInTheDocument() })
28.880952
80
0.69662
cc70eeec09c55dcd0dd5c9944ea3f03e730c5e2f
2,878
swift
Swift
Driver/Extension/TextFieldExtension.swift
dathtcheapgo/Jira-Demo
1df5317e59f349eb02c90fc1a0c2b2cb58ab8826
[ "MIT" ]
null
null
null
Driver/Extension/TextFieldExtension.swift
dathtcheapgo/Jira-Demo
1df5317e59f349eb02c90fc1a0c2b2cb58ab8826
[ "MIT" ]
null
null
null
Driver/Extension/TextFieldExtension.swift
dathtcheapgo/Jira-Demo
1df5317e59f349eb02c90fc1a0c2b2cb58ab8826
[ "MIT" ]
null
null
null
// // TextFieldExtension.swift // Demo // // Created by Tien Dat on 10/26/16. // Copyright © 2016 Tien Dat. All rights reserved. // import Foundation import UIKit extension UITextField { func addBottomBorder(color : UIColor){ let border = CALayer() let width = CGFloat(2.0) border.borderColor = color.cgColor border.frame = CGRect(x: 0, y: frame.size.height - width, width: frame.size.width, height: frame.size.height) border.borderWidth = width layer.addSublayer(border) layer.masksToBounds = true } func placeHolder(placeHolder: String){ text = placeHolder placeholder = placeHolder textColor = UIColor.lightGray textAlignment = NSTextAlignment.left } } class TintTextField: UITextField { var tintedClearImage: UIImage? required init(coder aDecoder: NSCoder) { super.init(coder: aDecoder)! setupTintColor() } override init(frame: CGRect) { super.init(frame: frame) setupTintColor() } func setupTintColor() { clearButtonMode = UITextFieldViewMode.whileEditing //borderStyle = UITextBorderStyle.roundedRect layer.cornerRadius = 8.0 layer.masksToBounds = true // layer.borderColor = tintColor.cgColor // layer.borderWidth = 1.5 backgroundColor = UIColor.clear // textColor = tintColor } override func layoutSubviews() { super.layoutSubviews() tintClearImage() } private func tintClearImage() { for view in subviews { if view is UIButton { let button = view as! UIButton if let uiImage = button.image(for: .highlighted) { if tintedClearImage == nil { tintedClearImage = tintImage(image: uiImage, color: tintColor) } button.setImage(tintedClearImage, for: .normal) button.setImage(tintedClearImage, for: .highlighted) } } } } } func tintImage(image: UIImage, color: UIColor) -> UIImage { let size = image.size UIGraphicsBeginImageContextWithOptions(size, false, image.scale) let context = UIGraphicsGetCurrentContext() image.draw(at: CGPoint.zero, blendMode: CGBlendMode.normal, alpha: 1.0) context!.setFillColor(color.cgColor) context!.setBlendMode(CGBlendMode.sourceIn) context!.setAlpha(1.0) let rect = CGRect( x: CGPoint.zero.x, y: CGPoint.zero.y, width: image.size.width, height: image.size.height) UIGraphicsGetCurrentContext()!.fill(rect) let tintedImage = UIGraphicsGetImageFromCurrentImageContext() UIGraphicsEndImageContext() return tintedImage! }
27.409524
118
0.610146
fccd92d1949e0d3fd25de2c816e54a87c90f7a91
579
asm
Assembly
programs/oeis/122/A122798.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/122/A122798.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/122/A122798.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A122798: A P_5-stuttered arithmetic progression with a(n+1) = a(n) if n is a pentagonal number, a(n+1) = a(n)+4 otherwise. ; 1,1,5,9,13,13,17,21,25,29,33,37,37,41,45,49,53,57,61,65,69,73,73,77,81,85,89,93,97,101,105,109,113,117,121,121,125,129,133,137,141,145,149,153,157,161,165,169,173,177,181,181,185,189,193,197,201,205,209,213,217,221,225,229,233,237,241,245,249,253,253,257,261,265,269,273,277,281,285,289,293,297,301,305,309,313,317,321,325,329,333,337,337,341,345,349,353,357,361,365 mov $1,$0 lpb $1 sub $0,1 add $2,3 sub $1,$2 trn $1,1 lpe mul $0,4 add $0,1
44.538462
368
0.683938
f162ce8e6c3b49f4e3b66810d12da03d69a55156
18,137
sql
SQL
piu.sql
Jogjat/piu_project
1f0cdd9a07f5f0ed32e1bbb6e8b23e6730ffd38f
[ "MIT" ]
null
null
null
piu.sql
Jogjat/piu_project
1f0cdd9a07f5f0ed32e1bbb6e8b23e6730ffd38f
[ "MIT" ]
null
null
null
piu.sql
Jogjat/piu_project
1f0cdd9a07f5f0ed32e1bbb6e8b23e6730ffd38f
[ "MIT" ]
null
null
null
-- MySQL dump 10.16 Distrib 10.1.25-MariaDB, for Win32 (AMD64) -- -- Host: localhost Database: piu_3 -- ------------------------------------------------------ -- Server version 10.1.25-MariaDB /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `access_document` -- DROP TABLE IF EXISTS `access_document`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `access_document` ( `id_access_doc` int(11) NOT NULL AUTO_INCREMENT, `id_doc` int(10) unsigned NOT NULL, `id_user` int(10) unsigned NOT NULL, `download_permission` varchar(191) NOT NULL, PRIMARY KEY (`id_access_doc`), KEY `access_document_users_fk` (`id_user`), CONSTRAINT `access_document_users_fk` FOREIGN KEY (`id_user`) REFERENCES `users` (`id`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `access_document` -- LOCK TABLES `access_document` WRITE; /*!40000 ALTER TABLE `access_document` DISABLE KEYS */; /*!40000 ALTER TABLE `access_document` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `access_folder` -- DROP TABLE IF EXISTS `access_folder`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `access_folder` ( `id_access_folder` int(11) NOT NULL AUTO_INCREMENT, `id_folder` int(10) unsigned NOT NULL, `id_user` int(10) unsigned NOT NULL, PRIMARY KEY (`id_access_folder`), KEY `access_folder_users_fk` (`id_user`), KEY `access_folder_folder_id_folder_fk` (`id_folder`), CONSTRAINT `access_folder_folder_id_folder_fk` FOREIGN KEY (`id_folder`) REFERENCES `folder` (`id_folder`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `access_folder_users_fk` FOREIGN KEY (`id_user`) REFERENCES `users` (`id`) ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `access_folder` -- LOCK TABLES `access_folder` WRITE; /*!40000 ALTER TABLE `access_folder` DISABLE KEYS */; /*!40000 ALTER TABLE `access_folder` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `access_logbook` -- DROP TABLE IF EXISTS `access_logbook`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `access_logbook` ( `id_access_lb` int(11) NOT NULL AUTO_INCREMENT, `id_logbook` int(10) unsigned NOT NULL, `id_user` int(10) unsigned NOT NULL, PRIMARY KEY (`id_access_lb`), KEY `access_logbook_users_fk` (`id_user`), KEY `access_logbook_logbook_fk` (`id_logbook`), CONSTRAINT `access_logbook_logbook_fk` FOREIGN KEY (`id_logbook`) REFERENCES `logbook` (`id_logbook`) ON UPDATE CASCADE, CONSTRAINT `access_logbook_users_fk` FOREIGN KEY (`id_user`) REFERENCES `users` (`id`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `access_logbook` -- LOCK TABLES `access_logbook` WRITE; /*!40000 ALTER TABLE `access_logbook` DISABLE KEYS */; /*!40000 ALTER TABLE `access_logbook` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `attachment` -- DROP TABLE IF EXISTS `attachment`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `attachment` ( `id_attach` int(11) NOT NULL AUTO_INCREMENT, `attach_name` int(11) NOT NULL, `id_logbook` int(10) unsigned NOT NULL, PRIMARY KEY (`id_attach`), KEY `attachment_logbook_fk` (`id_logbook`), CONSTRAINT `attachment_logbook_fk` FOREIGN KEY (`id_logbook`) REFERENCES `logbook` (`id_logbook`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `attachment` -- LOCK TABLES `attachment` WRITE; /*!40000 ALTER TABLE `attachment` DISABLE KEYS */; /*!40000 ALTER TABLE `attachment` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `detail_kegiatan` -- DROP TABLE IF EXISTS `detail_kegiatan`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `detail_kegiatan` ( `id_detail_kegiatan` int(10) unsigned NOT NULL AUTO_INCREMENT, `detail_kegiatan_name` varchar(191) NOT NULL, `plan_start` datetime NOT NULL, `plan_finish` datetime NOT NULL, `actual_start` datetime NOT NULL, `actual_finish` datetime NOT NULL, `status` varchar(191) NOT NULL, `create_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `id_user` int(10) unsigned NOT NULL, `id_subkegiatan` int(10) unsigned NOT NULL, `id_jenis_lelang` int(10) unsigned NOT NULL, PRIMARY KEY (`id_detail_kegiatan`), KEY `detail_kegiatan_users_fk` (`id_user`), KEY `detail_kegiatan_subkegiatan_fk` (`id_subkegiatan`), KEY `detail_kegiatan_jenis_lelang_fk` (`id_jenis_lelang`), CONSTRAINT `detail_kegiatan_jenis_lelang_fk` FOREIGN KEY (`id_jenis_lelang`) REFERENCES `jenis_lelang` (`id_jenis_lelang`) ON UPDATE CASCADE, CONSTRAINT `detail_kegiatan_subkegiatan_fk` FOREIGN KEY (`id_subkegiatan`) REFERENCES `subkegiatan` (`id_subkegiatan`) ON UPDATE CASCADE, CONSTRAINT `detail_kegiatan_users_fk` FOREIGN KEY (`id_user`) REFERENCES `users` (`id`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `detail_kegiatan` -- LOCK TABLES `detail_kegiatan` WRITE; /*!40000 ALTER TABLE `detail_kegiatan` DISABLE KEYS */; /*!40000 ALTER TABLE `detail_kegiatan` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `documents` -- DROP TABLE IF EXISTS `documents`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `documents` ( `id_doc` int(10) unsigned NOT NULL AUTO_INCREMENT, `doc_name` varchar(191) NOT NULL, `upload_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `id_folder` int(10) unsigned NOT NULL, `id_user` int(10) unsigned NOT NULL, `id_subkegiatan` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`id_doc`), KEY `documents_users_fk` (`id_user`), KEY `documents_subkegiatan_fk` (`id_subkegiatan`), KEY `documents_folder_fk` (`id_folder`), CONSTRAINT `documents_folder_fk` FOREIGN KEY (`id_folder`) REFERENCES `folder` (`id_folder`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `documents_subkegiatan_fk` FOREIGN KEY (`id_subkegiatan`) REFERENCES `subkegiatan` (`id_subkegiatan`) ON UPDATE CASCADE, CONSTRAINT `documents_users_fk` FOREIGN KEY (`id_user`) REFERENCES `users` (`id`) ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `documents` -- LOCK TABLES `documents` WRITE; /*!40000 ALTER TABLE `documents` DISABLE KEYS */; /*!40000 ALTER TABLE `documents` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `folder` -- DROP TABLE IF EXISTS `folder`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `folder` ( `id_folder` int(10) unsigned NOT NULL AUTO_INCREMENT, `folder_name` varchar(191) NOT NULL, `create_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `parent` int(10) unsigned NOT NULL, `id_user` int(10) unsigned DEFAULT NULL, `deleted_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id_folder`), KEY `folder_users_fk` (`id_user`), KEY `folder_folder_id_folder_fk` (`parent`), CONSTRAINT `folder_folder_id_folder_fk` FOREIGN KEY (`parent`) REFERENCES `folder` (`id_folder`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `folder_users_fk` FOREIGN KEY (`id_user`) REFERENCES `users` (`id`) ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `folder` -- LOCK TABLES `folder` WRITE; /*!40000 ALTER TABLE `folder` DISABLE KEYS */; INSERT INTO `folder` VALUES (0,'root','2018-12-21 10:38:52',0,1,'2018-12-21 03:38:50'),(3,'dokumentasi','2018-12-18 08:43:15',0,1,NULL),(5,'sub1','2018-12-21 10:37:47',0,1,NULL),(6,'Keuangan','2018-12-21 08:42:58',0,1,NULL),(8,'lorem ipsum 2','2018-12-21 10:37:49',0,1,NULL); /*!40000 ALTER TABLE `folder` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `jenis_lelang` -- DROP TABLE IF EXISTS `jenis_lelang`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `jenis_lelang` ( `id_jenis_lelang` int(10) unsigned NOT NULL AUTO_INCREMENT, `jenis_lelang_name` varchar(191) NOT NULL, PRIMARY KEY (`id_jenis_lelang`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `jenis_lelang` -- LOCK TABLES `jenis_lelang` WRITE; /*!40000 ALTER TABLE `jenis_lelang` DISABLE KEYS */; /*!40000 ALTER TABLE `jenis_lelang` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `kegiatan` -- DROP TABLE IF EXISTS `kegiatan`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `kegiatan` ( `id_kegiatan` int(10) unsigned NOT NULL AUTO_INCREMENT, `kegiatan_name` varchar(191) NOT NULL, `create_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `id_user` int(10) unsigned NOT NULL, PRIMARY KEY (`id_kegiatan`), KEY `kegiatan_users_fk` (`id_user`), CONSTRAINT `kegiatan_users_fk` FOREIGN KEY (`id_user`) REFERENCES `users` (`id`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `kegiatan` -- LOCK TABLES `kegiatan` WRITE; /*!40000 ALTER TABLE `kegiatan` DISABLE KEYS */; /*!40000 ALTER TABLE `kegiatan` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `log` -- DROP TABLE IF EXISTS `log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `log` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `ip` varchar(20) DEFAULT NULL, `activity` varchar(255) DEFAULT NULL, `status` varchar(20) DEFAULT NULL, `new` text, `id_user` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`id`), KEY `log_users_fk` (`id_user`) ) ENGINE=InnoDB AUTO_INCREMENT=171 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `log` -- LOCK TABLES `log` WRITE; /*!40000 ALTER TABLE `log` DISABLE KEYS */; INSERT INTO `log` VALUES (153,'::1','ACCESS LOGIN PAGE',NULL,NULL,0),(154,'::1','TRY LOGIN','FAILED','{\"id\":null,\"password\":\"password\",\"0\":{\"message\":null}}',0),(155,'::1','ACCESS LOGIN PAGE',NULL,NULL,0),(156,'::1','TRY LOGIN','FAILED','{\"id\":\"administar\",\"password\":\"password\",\"0\":{\"message\":\"Username atau password salah\"}}',0),(157,'::1','ACCESS LOGIN PAGE',NULL,NULL,0),(158,'::1','TRY LOGIN','FAILED','{\"id\":null,\"password\":\"password\",\"0\":{\"message\":\"Username atau password salah\"}}',0),(159,'::1','ACCESS LOGIN PAGE',NULL,NULL,0),(160,'::1','TRY LOGIN','FAILED','{\"id\":\"administrator1\",\"password\":\"password\",\"0\":{\"message\":\"Username atau password salah\"}}',0),(161,'::1','ACCESS LOGIN PAGE',NULL,NULL,0),(162,'::1','TRY LOGIN','FAILED','{\"id\":null,\"password\":\"password\",\"0\":{\"message\":\"Username atau password salah\"}}',0),(163,'::1','ACCESS LOGIN PAGE',NULL,NULL,0),(164,'::1','TRY LOGIN','FAILED','{\"id\":\"admin2\",\"password\":\"password\",\"0\":{\"message\":\"Username atau password salah\"}}',0),(165,'::1','ACCESS LOGIN PAGE',NULL,NULL,0),(166,'::1','TRY LOGIN','FAILED','{\"id\":null,\"password\":\"password\",\"0\":{\"message\":\"Username atau password salah\"}}',0),(167,'::1','ACCESS LOGIN PAGE',NULL,NULL,0),(168,'::1','TRY LOGIN','SUCCESS','{\"id\":\"admin@admin.com\",\"password\":\"password\"}',1),(169,'::1','ACCESS LOGIN PAGE',NULL,NULL,0),(170,'::1','TRY LOGIN','SUCCESS','{\"id\":\"admin@admin.com\",\"password\":\"password\"}',1); /*!40000 ALTER TABLE `log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `logbook` -- DROP TABLE IF EXISTS `logbook`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `logbook` ( `id_logbook` int(10) unsigned NOT NULL AUTO_INCREMENT, `logbook_name` varchar(191) NOT NULL, `id_user` int(10) unsigned NOT NULL, `access_date` datetime NOT NULL, `create_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id_logbook`), KEY `logbook_users_fk` (`id_user`), CONSTRAINT `logbook_users_fk` FOREIGN KEY (`id_user`) REFERENCES `users` (`id`) ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `logbook` -- LOCK TABLES `logbook` WRITE; /*!40000 ALTER TABLE `logbook` DISABLE KEYS */; /*!40000 ALTER TABLE `logbook` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `login_attempts` -- DROP TABLE IF EXISTS `login_attempts`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `login_attempts` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `ip_address` varchar(45) NOT NULL, `login` varchar(100) NOT NULL, `time` int(11) unsigned DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `login_attempts` -- LOCK TABLES `login_attempts` WRITE; /*!40000 ALTER TABLE `login_attempts` DISABLE KEYS */; /*!40000 ALTER TABLE `login_attempts` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `subkegiatan` -- DROP TABLE IF EXISTS `subkegiatan`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `subkegiatan` ( `id_subkegiatan` int(10) unsigned NOT NULL AUTO_INCREMENT, `subkegiatan_name` varchar(191) NOT NULL, `create_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `status` varchar(191) NOT NULL, PRIMARY KEY (`id_subkegiatan`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `subkegiatan` -- LOCK TABLES `subkegiatan` WRITE; /*!40000 ALTER TABLE `subkegiatan` DISABLE KEYS */; /*!40000 ALTER TABLE `subkegiatan` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `sumber_dana` -- DROP TABLE IF EXISTS `sumber_dana`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `sumber_dana` ( `id_dana` int(11) NOT NULL AUTO_INCREMENT, `dana_name` varchar(191) NOT NULL, PRIMARY KEY (`id_dana`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `sumber_dana` -- LOCK TABLES `sumber_dana` WRITE; /*!40000 ALTER TABLE `sumber_dana` DISABLE KEYS */; /*!40000 ALTER TABLE `sumber_dana` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `users` -- DROP TABLE IF EXISTS `users`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `users` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `ip_address` varchar(45) NOT NULL, `type` varchar(191) CHARACTER SET latin1 NOT NULL, `username` varchar(100) DEFAULT NULL, `password` varchar(255) NOT NULL, `salt` varchar(255) DEFAULT NULL, `email` varchar(254) NOT NULL, `activation_code` varchar(40) DEFAULT NULL, `forgotten_password_code` varchar(40) DEFAULT NULL, `forgotten_password_time` int(11) unsigned DEFAULT NULL, `remember_code` varchar(40) DEFAULT NULL, `created_on` int(11) unsigned NOT NULL, `last_login` int(11) unsigned DEFAULT NULL, `active` tinyint(1) unsigned DEFAULT NULL, `first_name` varchar(50) DEFAULT NULL, `last_name` varchar(50) DEFAULT NULL, `company` varchar(100) DEFAULT NULL, `phone` varchar(20) DEFAULT NULL, `deleted_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `users` -- LOCK TABLES `users` WRITE; /*!40000 ALTER TABLE `users` DISABLE KEYS */; INSERT INTO `users` VALUES (1,'127.0.0.1','','administrator','$2a$07$SeBknntpZror9uyftVopmu61qg0ms8Qv1yV6FG.kQOSM.9QhmTo36','','admin@admin.com','',NULL,NULL,NULL,1268889823,1545376534,1,'Admin','istrator','ADMIN','0',NULL),(2,'','keuangan','keuangan1','',NULL,'keuangan1@keuangan.com',NULL,NULL,NULL,NULL,0,NULL,NULL,'Agus','Susilo',NULL,NULL,NULL),(3,'','keuangan','keuangan2','',NULL,'keuangan2@keuangan.com',NULL,NULL,NULL,NULL,0,NULL,NULL,'Adi','Subagyo',NULL,NULL,NULL); /*!40000 ALTER TABLE `users` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2018-12-21 17:42:31
39.342733
1,519
0.716767
e76beb4783461034ee7278359559ae96b7029dc7
1,514
js
JavaScript
components/atoms/ProfilePicture.js
OpenBazaar/haven
ef354df0111284c76cc170c7988a3257c300c8e0
[ "MIT" ]
29
2020-08-11T02:09:38.000Z
2021-12-27T09:23:47.000Z
components/atoms/ProfilePicture.js
bachwh/haven
ef354df0111284c76cc170c7988a3257c300c8e0
[ "MIT" ]
5
2020-08-18T14:45:15.000Z
2020-12-17T09:14:54.000Z
components/atoms/ProfilePicture.js
bachwh/haven
ef354df0111284c76cc170c7988a3257c300c8e0
[ "MIT" ]
15
2020-08-11T04:18:51.000Z
2022-02-22T04:04:51.000Z
import React from 'react'; import { View } from 'react-native'; import { connect } from 'react-redux'; import * as _ from 'lodash'; import { badgeStyle } from '../../utils/navbar'; import NotificationBadge from './NotificationBadge'; import AvatarImage from '../atoms/AvatarImage'; import { brandColor } from '../commonColors'; const styles = { imageHolder: { width: 29, height: 29, flex: 1, flexDirection: 'column', justifyContent: 'flex-start', marginTop: 10, }, image: { width: 29, height: 29, }, }; class ProfilePicture extends React.PureComponent { render() { const { profilePicture, unreadCount, focused, notifications, } = this.props; const counts = notifications.filter(notif => !notif.is_seen).length; return ( <View> <View style={styles.imageHolder}> <AvatarImage style={{ ...styles.image, shadowColor: focused ? brandColor : 'rgba(0, 0, 0, 0.5)', borderColor: focused ? brandColor : '#FFF' }} thumbnail={profilePicture} showLocal /> </View> <NotificationBadge style={badgeStyle} notifCount={unreadCount + counts} /> </View> ); } } const mapStateToProps = state => ({ profilePicture: _.get(state, 'profile.data.avatarHashes.tiny'), unreadCount: state.notifications.unread, notifications: state.stream.notifications, }); export default connect(mapStateToProps)(ProfilePicture);
26.103448
82
0.619551
5b17df386209e9a7c40db88642abc4316df477ea
5,098
c
C
IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.c
CEOALT1/RefindPlusUDK
116b957ad735f96fbb6d80a0ba582046960ba164
[ "BSD-2-Clause" ]
93
2016-10-27T12:03:57.000Z
2022-03-29T15:22:10.000Z
IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.c
CEOALT1/RefindPlusUDK
116b957ad735f96fbb6d80a0ba582046960ba164
[ "BSD-2-Clause" ]
16
2016-11-02T02:08:40.000Z
2021-06-03T21:18:06.000Z
IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.c
CEOALT1/RefindPlusUDK
116b957ad735f96fbb6d80a0ba582046960ba164
[ "BSD-2-Clause" ]
41
2016-11-02T00:05:02.000Z
2022-03-29T14:33:09.000Z
/** @file Status code PEIM which produces Status Code PPI. Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/ #include "StatusCodePei.h" EFI_PEI_PROGRESS_CODE_PPI mStatusCodePpi = { ReportDispatcher }; EFI_PEI_PPI_DESCRIPTOR mStatusCodePpiDescriptor = { EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST, &gEfiPeiStatusCodePpiGuid, &mStatusCodePpi }; /** Publishes an interface that allows PEIMs to report status codes. This function implements EFI_PEI_PROGRESS_CODE_PPI.ReportStatusCode(). It publishes an interface that allows PEIMs to report status codes. @param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation. @param CodeType Indicates the type of status code being reported. @param Value Describes the current status of a hardware or software entity. This includes information about the class and subclass that is used to classify the entity as well as an operation. For progress codes, the operation is the current activity. For error codes, it is the exception.For debug codes,it is not defined at this time. @param Instance The enumeration of a hardware or software entity within the system. A system may contain multiple entities that match a class/subclass pairing. The instance differentiates between them. An instance of 0 indicates that instance information is unavailable, not meaningful, or not relevant. Valid instance numbers start with 1. @param CallerId This optional parameter may be used to identify the caller. This parameter allows the status code driver to apply different rules to different callers. @param Data This optional parameter may be used to pass additional data. @retval EFI_SUCCESS The function completed successfully. **/ EFI_STATUS EFIAPI ReportDispatcher ( IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_STATUS_CODE_TYPE CodeType, IN EFI_STATUS_CODE_VALUE Value, IN UINT32 Instance, IN CONST EFI_GUID *CallerId OPTIONAL, IN CONST EFI_STATUS_CODE_DATA *Data OPTIONAL ) { if (FeaturePcdGet (PcdStatusCodeUseSerial)) { SerialStatusCodeReportWorker ( CodeType, Value, Instance, CallerId, Data ); } if (FeaturePcdGet (PcdStatusCodeUseMemory)) { MemoryStatusCodeReportWorker ( CodeType, Value, Instance ); } if (FeaturePcdGet (PcdStatusCodeUseOEM)) { // // Call OEM hook status code library API to report status code to OEM device // OemHookStatusCodeReport ( CodeType, Value, Instance, (EFI_GUID *)CallerId, (EFI_STATUS_CODE_DATA *)Data ); } return EFI_SUCCESS; } /** Entry point of Status Code PEIM. This function is the entry point of this Status Code PEIM. It initializes supported status code devices according to PCD settings, and installs Status Code PPI. @param FileHandle Handle of the file being invoked. @param PeiServices Describes the list of possible PEI Services. @retval EFI_SUCESS The entry point of DXE IPL PEIM executes successfully. **/ EFI_STATUS EFIAPI PeiStatusCodeDriverEntry ( IN EFI_PEI_FILE_HANDLE FileHandle, IN CONST EFI_PEI_SERVICES **PeiServices ) { EFI_STATUS Status; // // Dispatch initialization request to sub-statuscode-devices. // If enable UseSerial, then initialize serial port. // if enable UseMemory, then initialize memory status code worker. // if enable UseOEM, then initialize Oem status code. // if (FeaturePcdGet (PcdStatusCodeUseSerial)) { Status = SerialPortInitialize(); ASSERT_EFI_ERROR (Status); } if (FeaturePcdGet (PcdStatusCodeUseMemory)) { Status = MemoryStatusCodeInitializeWorker (); ASSERT_EFI_ERROR (Status); } if (FeaturePcdGet (PcdStatusCodeUseOEM)) { Status = OemHookStatusCodeInitialize (); ASSERT_EFI_ERROR (Status); } // // Install Status Code PPI. // It serves the PEI Service ReportStatusCode. // Status = PeiServicesInstallPpi (&mStatusCodePpiDescriptor); ASSERT_EFI_ERROR (Status); return EFI_SUCCESS; }
34.680272
112
0.665163
85721df0dfb0e41c9ba6a04b4de00abcc5fe6538
630
js
JavaScript
static/js/main.js
gldkru/middle.messenger.praktikum.yandex
4f000e2c3d05f4001aee85b0774d35e2a03170e1
[ "Apache-2.0" ]
null
null
null
static/js/main.js
gldkru/middle.messenger.praktikum.yandex
4f000e2c3d05f4001aee85b0774d35e2a03170e1
[ "Apache-2.0" ]
null
null
null
static/js/main.js
gldkru/middle.messenger.praktikum.yandex
4f000e2c3d05f4001aee85b0774d35e2a03170e1
[ "Apache-2.0" ]
null
null
null
(function() { scrollToBottom(); formSubmit(); })() function formSubmit(e) { let form = document.forms.asyncForm; if (!form) return form.addEventListener('submit', (e) => { e.preventDefault(); let data = [] let elements = form.elements; for (let i = 0; i < elements.length; i++) { if (elements[i].name.length) { data.push(`${elements[i].name}: ${elements[i].value}`); } } console.log('===== RESULT FORM ====='); console.log(data.join('\n')); }, false); } function scrollToBottom() { let objDiv = document.getElementById("history"); if (objDiv) { objDiv.scrollTop = objDiv.scrollHeight; } }
19.090909
59
0.61746
b19c2609ad2cd08c69108dc38c7eac165e85f771
28,439
c
C
libhilti/threading.c
asilha/hilti
ebfffc7dad31059b43a02eb26abcf7a25f742eb8
[ "BSD-3-Clause" ]
46
2015-01-21T13:31:25.000Z
2020-10-27T10:18:03.000Z
libhilti/threading.c
jjchromik/hilti-104-total
0f9e0cb7114acc157211af24f8254e4b23bd78a5
[ "BSD-3-Clause" ]
29
2015-03-30T08:23:04.000Z
2019-05-03T13:11:35.000Z
libhilti/threading.c
jjchromik/hilti-104-total
0f9e0cb7114acc157211af24f8254e4b23bd78a5
[ "BSD-3-Clause" ]
20
2015-01-27T12:59:38.000Z
2020-10-28T21:40:47.000Z
/// /// HILTI's threading support, including the run-time scheduler. /// /// TODO: - Scheduling something to VID zero, i.e., the main thread, doesn't /// work yet. #define _POSIX_SOURCE #define _POSIX_C_SOURCE 199309 #define _C99_SOURCE // snprintf is gone on Darwain with the POSIX defines. #define DBG_STREAM "hilti-threads" #define DBG_STREAM_STATS "hilti-threads-stats" #include <errno.h> #include <inttypes.h> #include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include "autogen/hilti-hlt.h" #include "callable.h" #include "config.h" #include "context.h" #include "debug.h" #include "exceptions.h" #include "globals.h" #include "system.h" #include "threading.h" typedef hlt_hash khint_t; #include "3rdparty/khash/khash.h" typedef struct __hlt_blocked_job { hlt_job* job; struct __hlt_blocked_job* next; } hlt_blocked_job; typedef struct __kh_blocked_jobs_t { // These are used by khash and copied from there (see README.HILTI). khint_t n_buckets, size, n_occupied, upper_bound; uint32_t* flags; const void** keys; hlt_blocked_job** vals; } kh_blocked_jobs_t; static inline hlt_hash __kh_ptr_hash_func(const void* p, const void* unused) { return (hlt_hash)p; } static inline int8_t __kh_ptr_equal_func(const void* p1, const void* p2, const void* unused) { return p1 == p2; } KHASH_INIT(blocked_jobs, const void*, hlt_blocked_job*, 1, __kh_ptr_hash_func, __kh_ptr_equal_func) // Batch size for the jobs queues. #define QUEUE_BATCH_SIZE 100 // Number of pending elements across all job qeueus that correspond to the // maximum load of 1.0. #define QUEUE_MAX_LOAD (QUEUE_BATCH_SIZE * 3 * mgr->num_workers) static void _fatal_error(const char* msg) { fprintf(stderr, "libhilti threading: %s\n", msg); exit(1); } // Returns the execution context to use for a given virtual thread ID. static hlt_execution_context* _worker_get_ctx(hlt_worker_thread* thread, hlt_vthread_id vid) { if ( vid == 0 ) return hlt_global_execution_context(); hlt_vthread_id max = thread->max_vid; if ( max < vid ) { // Need to grow the context array. hlt_vthread_id new_max = max; while ( new_max < vid ) new_max *= 2; thread->ctxs = hlt_realloc(thread->ctxs, (new_max + 1) * sizeof(hlt_execution_context*), (max + 1) * sizeof(hlt_execution_context*)); thread->max_vid = new_max; } hlt_execution_context* ctx = thread->ctxs[vid]; if ( ! ctx ) { // Haven't seen this thread yet, need to create new context. ctx = __hlt_execution_context_new_ref(vid, 1); ctx->worker = thread; thread->ctxs[vid] = ctx; } return ctx; } static void _hlt_job_delete(hlt_job* j, hlt_execution_context* ctx) { DBG_LOG(DBG_STREAM, "deleting job %lu", j->id); if ( j->fiber ) { hlt_callable* func = hlt_fiber_get_cookie(j->fiber); GC_DTOR(func, hlt_callable, ctx); hlt_fiber_delete(j->fiber, ctx); } GC_DTOR_GENERIC(&j->tcontext, j->tcontext_type, ctx); hlt_free(j); } static void _hlt_worker_thread_delete(hlt_worker_thread* t) { DBG_LOG(DBG_STREAM, "deleting worker thread %s", t->name); while ( hlt_thread_queue_size(t->jobs) ) { hlt_job* job = hlt_thread_queue_read(t->jobs, 10); assert(job); hlt_execution_context* ctx = _worker_get_ctx(t, job->vid); _hlt_job_delete(job, ctx); } hlt_thread_queue_delete(t->jobs); for ( khiter_t i = kh_begin(t->jobs_blocked); i != kh_end(t->jobs_blocked); i++ ) { if ( ! kh_exist(t->jobs_blocked, i) ) continue; hlt_blocked_job* bjob = kh_value(t->jobs_blocked, i); while ( bjob ) { hlt_blocked_job* next = bjob->next; hlt_execution_context* ctx = _worker_get_ctx(t, bjob->job->vid); _hlt_job_delete(bjob->job, ctx); hlt_free(bjob); bjob = next; } } for ( int j = 1; j <= t->max_vid; j++ ) { if ( t->ctxs[j] ) hlt_execution_context_delete(t->ctxs[j]); } kh_destroy_blocked_jobs(t->jobs_blocked); hlt_free(t->jobs_blocked); hlt_free(t->ctxs); hlt_free(t->name); __hlt_fiber_pool_delete(t->fiber_pool); hlt_free(t); } void hlt_thread_mgr_delete(hlt_thread_mgr* mgr) { DBG_LOG(DBG_STREAM, "deleting thread manager"); if ( mgr->state != HLT_THREAD_MGR_DEAD ) _fatal_error("thread manager being deleteed still has running threads"); if ( pthread_key_delete(mgr->id) != 0 ) _fatal_error("cannot delete thread-local key"); for ( int i = 0; i < mgr->num_workers; i++ ) _hlt_worker_thread_delete(mgr->workers[i]); hlt_free(mgr->workers); hlt_free(mgr); } int8_t __hlt_thread_mgr_terminating() { return __hlt_globals()->thread_mgr_terminate; } // Flag all threads to terminate immediately. Safe to call from all threads. void _kill_all_threads(hlt_thread_mgr* mgr) { DBG_LOG(DBG_STREAM, "terminating all threads"); __hlt_globals()->thread_mgr_terminate = 1; } void __hlt_thread_mgr_uncaught_exception_in_thread(hlt_exception* excpt, hlt_execution_context* ctx) { hlt_worker_thread* thread = ctx->worker; DBG_LOG(DBG_STREAM, "uncaught exception in worker thread"); hlt_exception_print_uncaught_in_thread(excpt, ctx); // We only increase, and only check whether >0 later, so this should be // fine without locking. ++thread->mgr->num_excpts; // We shutdown all threads. _kill_all_threads(thread->mgr); } // Terminates all worker threads. The specifics depend on the given state: // // FINISH: Terminate once all workers are idle. // // STOP: Stop workers from scheduling new jobs, and give them a bit of time // to finish with what they are doing at the moment. If they exceed that // interval, kill them. // // KILL: Kill them right away. static void _terminate_threads(hlt_thread_mgr* mgr, hlt_thread_mgr_state state) { DBG_LOG(DBG_STREAM, "terminating all threads (state %d)", state); mgr->state = state; // Terminate the main thread's write ends of the job queues. for ( int i = 0; i < mgr->num_workers; ++i ) hlt_thread_queue_terminate_writer(mgr->workers[i]->jobs, 0); switch ( state ) { case HLT_THREAD_MGR_FINISH: DBG_LOG(DBG_STREAM, "waiting for all threads to become idle"); // This loop is not free of race conditions. However, I claim that // the cases where it's unpredicatable are ill-defined to begin with! :) while ( 1 ) { int idle = 0; for ( int i = 0; i < mgr->num_workers; ++i ) { if ( mgr->workers[i]->idle && hlt_thread_queue_size(mgr->workers[i]->jobs) == 0 ) ++idle; } if ( idle == mgr->num_workers ) break; hlt_util_nanosleep(1000); } mgr->state = state = HLT_THREAD_MGR_STOP; // Fall-through. case HLT_THREAD_MGR_STOP: // Workers will check for this state. break; case HLT_THREAD_MGR_KILL: _kill_all_threads(mgr); break; default: _fatal_error("internal error: unknown state in terminate threads"); } DBG_LOG(DBG_STREAM, "joining workers"); // Join all the workers. for ( int i = 0; i < mgr->num_workers; i++ ) { DBG_LOG(DBG_STREAM, "joining %s", mgr->workers[i]->name); if ( pthread_join(mgr->workers[i]->handle, 0) != 0 ) _fatal_error("cannot join worker thread"); } DBG_LOG(DBG_STREAM, "all workers joined"); } static void _add_to_blocked(hlt_worker_thread* thread, __hlt_thread_mgr_blockable* resource, hlt_job* job) { DBG_LOG(DBG_STREAM, "added job %lu to blocked queue for %s with blockable %p", job->id, thread->name, job->blockable); hlt_blocked_job* bjob = hlt_malloc(sizeof(hlt_blocked_job)); bjob->job = job; khiter_t i = kh_get_blocked_jobs(thread->jobs_blocked, resource, 0); if ( i == kh_end(thread->jobs_blocked) ) { int ret; i = kh_put_blocked_jobs(thread->jobs_blocked, resource, &ret, 0); bjob->next = 0; } else bjob->next = kh_value(thread->jobs_blocked, i); kh_value(thread->jobs_blocked, i) = bjob; ++resource->num_blocked; } // The top-level function to run inside a job's fiber. The received argument is the callable to // execute. static void _worker_fiber_entry(hlt_fiber* fiber, void* callable) { hlt_execution_context* ctx = hlt_fiber_context(fiber); hlt_exception* excpt = 0; HLT_CALLABLE_RUN((hlt_callable*)callable, 0, Hilti_CallbackSchedule, &excpt, ctx); GC_DTOR(callable, hlt_callable, ctx); if ( excpt ) { __hlt_thread_mgr_uncaught_exception_in_thread(excpt, ctx); GC_DTOR(excpt, hlt_exception, ctx); } hlt_fiber_return(fiber); } // Schedules a job to a worker thread. static void _worker_schedule_job(hlt_worker_thread* current, hlt_worker_thread* target, hlt_job* job) { DBG_LOG(DBG_STREAM, "scheduling job %lu for vid %d to %s", job->id, job->vid, target->name); if ( ! job->blockable ) hlt_thread_queue_write(target->jobs, current ? current->id : 0, job); else _add_to_blocked(target, job->blockable, job); } static void _unblock_blocked(hlt_worker_thread* thread, __hlt_thread_mgr_blockable* resource, hlt_execution_context* ctx) { khiter_t i = kh_get_blocked_jobs(thread->jobs_blocked, resource, 0); // hlt_thread_mgr_unblock() only calls us if there's a blocked job. assert(i != kh_end(thread->jobs_blocked)); DBG_LOG(DBG_STREAM, "unblocking resource %p in %s", resource, ctx->worker->name); hlt_blocked_job* bjob = kh_value(thread->jobs_blocked, i); while ( bjob ) { hlt_job* job = bjob->job; DBG_LOG(DBG_STREAM, "removing job %lu from blocked queue for %s", job->id, thread->name); assert(job->blockable == resource); job->blockable = 0; --resource->num_blocked; _worker_schedule_job(thread, thread, job); hlt_blocked_job* next = bjob->next; hlt_free(bjob); bjob = next; } kh_value(thread->jobs_blocked, i) = 0; kh_del_blocked_jobs(thread->jobs_blocked, i); } // func at +1, tcontext at +1. static void _worker_schedule(hlt_worker_thread* current, hlt_worker_thread* target, hlt_vthread_id vid, hlt_callable* func, hlt_type_info* tcontext_type, void* tcontext, hlt_execution_context* ctx) { if ( target->mgr->state != HLT_THREAD_MGR_RUN && target->mgr->state != HLT_THREAD_MGR_FINISH ) { DBG_LOG(DBG_STREAM, "omitting scheduling of job because mgr signaled termination"); return; } hlt_job* job = hlt_malloc(sizeof(hlt_job)); job->fiber = hlt_fiber_create(_worker_fiber_entry, _worker_get_ctx(target, vid), func, ctx); job->vid = vid; job->tcontext_type = tcontext_type; job->tcontext = tcontext; #if DEBUG job->id = ++__hlt_globals()->job_counter; #endif // We get the func at +1, so no ref needed. // we also get the tcontext at +1, so no ref needed either. _worker_schedule_job(current, target, job); } #ifdef DEBUG #if 0 static void _debug_print_queue_stats(const hlt_thread_queue_stats* stats) { fprintf(stderr, " elems=%" PRIu64 " batches=%" PRIu64 " blocked=%" PRIu64 " locked=%" PRIu64 "\n", stats->elems, stats->batches, stats->blocked, stats->locked); } #endif #if 0 static void _debug_print_job_summary(hlt_thread_mgr* mgr) { for ( int i = 0; i < mgr->num_workers; i++ ) { hlt_worker_thread* thread = mgr->workers[i]; uint64_t size = hlt_thread_queue_pending(thread->jobs); DBG_LOG(DBG_STREAM_STATS, "%s: %d jobs currently pending", thread->name, size); hlt_thread_queue* queue = thread->jobs; fprintf(stderr, "=== %s\n", thread->name); fprintf(stderr, " %20s : ", "read"); _debug_print_queue_stats(hlt_thread_queue_stats_reader(queue)); fprintf(stderr, " %20s : %" PRIu64 " queue size: %" PRIu64 " batches pending: %" PRIu64 "\n", "blocked jobs", kh_size(thread->jobs_blocked), hlt_thread_queue_size(thread->jobs), size); for ( int j = 0; j < mgr->num_workers + 1; j++ ) { fprintf(stderr, " %20s[%d] : ", (j == 0 ? "writer-main" : "writer-worker"), j); _debug_print_queue_stats(hlt_thread_queue_stats_writer(queue, j)); } } fprintf(stderr, "\n"); } #endif static void _debug_adapt_thread_name(hlt_worker_thread* thread) { // Show queue size in top. uint64_t size = hlt_thread_queue_size(thread->jobs); char name_buffer[128]; snprintf(name_buffer, sizeof(name_buffer), "%s (%" PRIu64 ")", thread->name, size); name_buffer[sizeof(name_buffer) - 1] = '\0'; hlt_set_thread_name(name_buffer); } #endif void __hlt_thread_mgr_unblock(__hlt_thread_mgr_blockable* resource, hlt_execution_context* ctx) { DBG_LOG(DBG_STREAM, "unblocking blocklable %p (#%d)", resource, resource->num_blocked); hlt_worker_thread* thread = ctx->worker; _unblock_blocked(thread, resource, ctx); } static void _worker_run_job(hlt_worker_thread* thread, hlt_job* job) { assert(job->fiber); hlt_execution_context* ctx = hlt_fiber_context(job->fiber); DBG_LOG(DBG_STREAM, "executing job %" PRIu64 " with context %p and thread context %p", job->id, ctx, job->tcontext); __hlt_context_set_fiber(ctx, job->fiber); __hlt_context_set_thread_context(ctx, job->tcontext_type, job->tcontext); if ( hlt_fiber_start(job->fiber, ctx) == 0 ) { // Yield. DBG_LOG(DBG_STREAM, "vid %d is yielding", ctx->vid); // See if the yield indicated a blockable to wait for. if ( ctx->blockable ) { job->blockable = ctx->blockable; __hlt_context_set_blockable(ctx, 0); } _worker_schedule_job(thread, thread, job); } else { // Done with this. DBG_LOG(DBG_STREAM, "done with job %" PRIu64 "", job->id); __hlt_context_set_fiber(ctx, 0); __hlt_context_set_thread_context(ctx, job->tcontext_type, 0); job->fiber = 0; // This is deleted already. _hlt_job_delete(job, ctx); } } // Entry function for the worker threads. static void* _worker(void* worker_thread_ptr) { hlt_worker_thread* thread = (hlt_worker_thread*)worker_thread_ptr; hlt_thread_mgr* mgr = thread->mgr; __hlt_thread_mgr_init_native_thread(mgr, thread->name, thread->id); DBG_LOG(DBG_STREAM, "processing started"); int finished = 0; #ifdef DEBUG int cnt = 0; #endif while ( ! (__hlt_thread_mgr_terminating() || hlt_thread_queue_terminated(thread->jobs)) ) { // Process next job. hlt_job* job = hlt_thread_queue_read(thread->jobs, 10); if ( mgr->state == HLT_THREAD_MGR_FINISH ) { // If the manager wants to finish once everybody is idle, check // whether we are idle. But even if, make sure we get whatever is // still queued *from* us to the other workers. if ( ! job ) { if ( ! thread->idle ) { for ( int i = 0; i < mgr->num_workers; ++i ) hlt_thread_queue_flush(mgr->workers[i]->jobs, thread->id); } thread->idle = 1; } else thread->idle = 0; } if ( job ) { if ( ! job->blockable ) _worker_run_job(thread, job); else // Move to blocked queue. _add_to_blocked(thread, job->blockable, job); } if ( mgr->state == HLT_THREAD_MGR_STOP && ! finished ) { DBG_LOG(DBG_STREAM, "wrapping up job processing"); // Tell all our writer ends that we're done. for ( int i = 0; i < mgr->num_workers; ++i ) hlt_thread_queue_terminate_writer(mgr->workers[i]->jobs, thread->id); finished = 1; } hlt_time gt = __hlt_globals()->global_time; for ( int i = 0; i < mgr->num_workers; ++i ) { hlt_worker_thread* worker = mgr->workers[i]; hlt_thread_queue_writer_update(worker->jobs, thread->id); // Advance all the virtual threads' time if the global one has // changed. if ( worker->global_time >= gt ) continue; for ( int j = 1; j <= worker->max_vid; j++ ) { hlt_execution_context* tctx = worker->ctxs[j]; hlt_exception* excpt = 0; if ( ! tctx ) continue; DBG_LOG(DBG_STREAM, "advancing vid %" PRIu64 "'s time to %" PRIu64, tctx->vid, gt); hlt_timer_mgr_advance(tctx->tmgr, gt, &excpt, tctx); if ( excpt ) { __hlt_thread_mgr_uncaught_exception_in_thread(excpt, tctx); GC_DTOR(excpt, hlt_exception, tctx); } } worker->global_time = gt; } #ifdef DEBUG hlt_thread_queue_size(thread->jobs); ++cnt; #if 0 if ( thread->id == 1 && cnt % 5000 == 0 ) _debug_print_job_summary(mgr); #endif if ( cnt % 1000 == 0 ) _debug_adapt_thread_name(thread); #endif } // Signal the command queue that we're done. __hlt_cmd_worker_terminating(thread->id); for ( int i = 0; i < mgr->num_workers; ++i ) hlt_thread_queue_flush(mgr->workers[i]->jobs, thread->id); DBG_LOG(DBG_STREAM, "exiting worker thread"); return 0; } // Maps a vthread onto an actual worker thread. An FNV-1a hash is used to // distribute the vthreads as evenly as possible between the worker threads. // This algorithm should be fairly fast, but if profiling reveals // hlt_thread_from_vthread to be a bottleneck, it can always be replaced with // a simple mod function. The desire to perform this mapping quickly should // be balanced with the desire to distribute the vthreads equitably, however, // as an uneven distribution could result in serious performance issues for // some applications. static hlt_worker_thread* _vthread_to_worker(hlt_thread_mgr* mgr, hlt_vthread_id vid) { // Some constants for the 32-bit FNV-1 hash algorithm. const uint32_t FNV_32_OFFSET_BASIS = 2166136261; const uint32_t FNV_32_PRIME = 16777619; const uint32_t FNV_32_MASK = 255; // Initialize. uint32_t hash = FNV_32_OFFSET_BASIS; // Perform a 32-bit FNV-1 hash. for ( unsigned i = 0; i < 4; i++ ) { hash = hash ^ ((vid >> (8 * i)) & FNV_32_MASK); hash = hash * FNV_32_PRIME; } // Map the hash onto the number of worker threads we actually have. Note // that using mod here introduces a slight amount of bias, but the // non-biased algorithm makes the time taken by this function // unpredictable. Further investigation may be warranted, but for now // I've used mod, which should still exhibit low bias and completes in a // fixed amount of time regardless of the input. return mgr->workers[hash % mgr->num_workers]; } int8_t hlt_is_multi_threaded() { return __hlt_globals()->multi_threaded; } void __hlt_threading_init() { if ( hlt_config_get()->num_workers == 0 ) { DBG_LOG(DBG_STREAM, "no worker threads configured"); // No threading configured. return; } DBG_LOG(DBG_STREAM, "initializing threading system"); hlt_thread_mgr* mgr = hlt_thread_mgr_new(); if ( ! mgr ) _fatal_error("cannot create threading manager"); __hlt_global_set_thread_mgr(mgr); hlt_thread_mgr_start(mgr); } void __hlt_threading_done(hlt_exception** excpt) { if ( ! hlt_global_thread_mgr() ) return; hlt_thread_mgr* mgr = hlt_global_thread_mgr(); if ( mgr->state != HLT_THREAD_MGR_DEAD ) { DBG_LOG(DBG_STREAM, "stopping threading system"); assert(mgr->state == HLT_THREAD_MGR_RUN); // Threads are still running so shut them down. If we don't have any // exceptions, we give them a chance to shutdown gracefully, // otherwise we just kill the threads. hlt_thread_mgr_set_state(mgr, hlt_check_exception(excpt) ? HLT_THREAD_MGR_KILL : HLT_THREAD_MGR_STOP); } assert(mgr->state == HLT_THREAD_MGR_DEAD); // Now that all threads have terminated, we can check for any uncaught // exceptions and then delete the thread manager. if ( ! hlt_check_exception(excpt) && mgr->num_excpts != 0 ) { DBG_LOG(DBG_STREAM, "raising UncaughtThreadException"); hlt_set_exception(excpt, &hlt_exception_uncaught_thread_exception, 0, hlt_global_execution_context()); } hlt_thread_mgr_delete(hlt_global_thread_mgr()); __hlt_global_set_thread_mgr(0); DBG_LOG(DBG_STREAM, "threading system terminated"); } double hlt_threading_load(hlt_exception** excpt) { if ( ! hlt_is_multi_threaded() ) { hlt_set_exception(excpt, &hlt_exception_no_threading, 0, hlt_global_execution_context()); return 0.0; } hlt_thread_mgr* mgr = hlt_global_thread_mgr(); uint64_t pending = 0; // We count the total number of jobs pending right now, and map that // rather arbitrarily into a range from 0..1 (but depending on our batch // size). const double high_mark = QUEUE_MAX_LOAD; // Corresponds to 1.0 for ( int i = 0; i < mgr->num_workers; i++ ) pending += hlt_thread_queue_size(mgr->workers[i]->jobs); double load = (double)pending / high_mark; return load <= 1 ? load : 1; } hlt_thread_mgr* hlt_thread_mgr_new() { // Create the manager object. hlt_thread_mgr* mgr = hlt_malloc(sizeof(hlt_thread_mgr)); int num = hlt_config_get()->num_workers; if ( ! num ) _fatal_error("no worker threads configured"); mgr->state = HLT_THREAD_MGR_NEW; mgr->num_workers = num; mgr->num_excpts = 0; mgr->workers = hlt_malloc(sizeof(hlt_worker_thread*) * num); return mgr; } void hlt_thread_mgr_start(hlt_thread_mgr* mgr) { assert(mgr->state == HLT_THREAD_MGR_NEW); if ( pthread_key_create(&mgr->id, 0) != 0 ) _fatal_error("cannot create thread-local key"); __hlt_thread_mgr_init_native_thread(mgr, "main-thread", 0); DBG_LOG(DBG_STREAM, "found %d CPUs", hlt_util_number_of_cpus()); mgr->state = HLT_THREAD_MGR_RUN; // Initialize the worker threads. pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setstacksize(&attr, hlt_config_get()->thread_stack_size); int i; for ( i = 0; i < mgr->num_workers; i++ ) { hlt_worker_thread* thread = hlt_malloc(sizeof(hlt_worker_thread)); thread->mgr = mgr; // We must not give a size limit for the queue here as otherwise the // scheduler will deadlock when blocking because each thread is both // reader and writer. thread->jobs = hlt_thread_queue_new(hlt_config_get()->num_workers + 1, QUEUE_BATCH_SIZE, 0); thread->ctxs = hlt_calloc(3, sizeof(hlt_execution_context*)); thread->max_vid = 2; thread->global_time = 0; thread->fiber_pool = __hlt_fiber_pool_new(); thread->id = i + 1; // We leave zero for the main thread so that we can use that as its writer id. thread->idle = 0; thread->jobs_blocked = kh_init(blocked_jobs); char* name = (char*)hlt_malloc(20); snprintf(name, 20, "worker-%d", thread->id); thread->name = name; mgr->workers[i] = thread; } // Do this loop separately so that all thread data structures are // initialized before any of them starts up. for ( i = 0; i < mgr->num_workers; i++ ) { hlt_worker_thread* thread = mgr->workers[i]; if ( pthread_create(&thread->handle, &attr, _worker, (void*)thread) != 0 ) { fprintf(stderr, "cannot create worker %d: %s\n", i + 1, strerror(errno)); _fatal_error("cannot create worker threads"); } DBG_LOG(DBG_STREAM, "created thread %p for %s", thread->handle, thread->name); } pthread_attr_destroy(&attr); } void hlt_thread_mgr_set_state(hlt_thread_mgr* mgr, const hlt_thread_mgr_state new_state) { if ( ! hlt_is_multi_threaded() ) return; assert(mgr); // If we're not making a change, do nothing. if ( mgr->state == new_state ) return; if ( mgr->state == HLT_THREAD_MGR_DEAD ) _fatal_error("hlt_set_thread_mgr_state already dead"); DBG_LOG(DBG_STREAM, "transitioning from mgr state %d to %d", mgr->state, new_state); _terminate_threads(mgr, new_state); mgr->state = HLT_THREAD_MGR_DEAD; DBG_LOG(DBG_STREAM, "mgr now in state dead, all threads terminated"); } hlt_thread_mgr_state hlt_thread_mgr_get_state(const hlt_thread_mgr* mgr) { return mgr->state; } uint32_t hlt_thread_mgr_num_threads(hlt_thread_mgr* mgr) { return mgr->num_workers; } void __hlt_thread_mgr_schedule(hlt_thread_mgr* mgr, hlt_vthread_id vid, hlt_callable* func, hlt_exception** excpt, hlt_execution_context* ctx) { if ( ! hlt_is_multi_threaded() ) { hlt_set_exception(excpt, &hlt_exception_no_threading, 0, ctx); return; } hlt_worker_thread* thread = _vthread_to_worker(mgr, vid); _worker_schedule(ctx->worker, thread, vid, func, 0, 0, ctx); } void __hlt_thread_mgr_schedule_tcontext(hlt_thread_mgr* mgr, hlt_type_info* type, void* tcontext, hlt_callable* func, hlt_exception** excpt, hlt_execution_context* ctx) { if ( ! hlt_is_multi_threaded() ) { hlt_set_exception(excpt, &hlt_exception_no_threading, 0, ctx); return; } hlt_vthread_id vid = tcontext ? (*type->hash)(type, &tcontext, 0, 0) : 0; if ( vid < 0 ) vid = -vid; // Scale the VID into the right interval. const hlt_config* cfg = hlt_config_get(); hlt_vthread_id n = (cfg->vid_schedule_max - cfg->vid_schedule_min + 1); if ( n <= 0 ) _fatal_error("invalid config.vld_schedule_{min,max} values"); hlt_vthread_id scaled_vid = (vid % n) + cfg->vid_schedule_min; hlt_worker_thread* thread = _vthread_to_worker(mgr, scaled_vid); void* cloned_tcontext; hlt_clone_deep(&cloned_tcontext, type, &tcontext, excpt, ctx); _worker_schedule(ctx->worker, thread, scaled_vid, func, type, cloned_tcontext, ctx); } const char* hlt_thread_mgr_current_native_thread() { if ( ! hlt_global_thread_mgr() ) return "<no-threading>"; const char* id = pthread_getspecific(hlt_global_thread_mgr()->id); return id ? id : "<no-thread-id>"; } void __hlt_thread_mgr_init_native_thread(hlt_thread_mgr* mgr, const char* name, int default_affinity) { if ( ! mgr ) return; hlt_set_thread_name(name); if ( pthread_setspecific(mgr->id, name) != 0 ) _fatal_error("cannot set thread-local key"); #ifdef DEBUG pthread_t self = pthread_self(); DBG_LOG(DBG_STREAM, "native thread %p assigned name '%s'", self, name); #endif // Set core affinity if specified for this thread. int core = -1; const char* p = hlt_config_get()->core_affinity; if ( strcmp(p, "DEFAULT") == 0 ) // Magic configuration string. core = default_affinity % hlt_util_number_of_cpus(); else { p = p ? strstr(p, name) : 0; if ( p ) { const char* end = p + strlen(name); if ( *end == ':' ) core = atoi(++end); } } if ( core >= 0 ) hlt_set_thread_affinity(core); } __hlt_thread_mgr_blockable* __hlt_object_blockable(const hlt_type_info* type, const void* obj, hlt_exception** excpt, hlt_execution_context* ctx) { assert(type->blockable); return type->blockable(type, obj, excpt, ctx); }
31.389625
100
0.637786
28de9ee629b6b9c396d006ab2c2a60fd0b688cf3
634
rb
Ruby
lib/micro_blitz/file_finder.rb
JLHOLM/MicroBlitz
e6f5937d768ede5fc4b85fb43314bc3f4716e163
[ "MIT" ]
null
null
null
lib/micro_blitz/file_finder.rb
JLHOLM/MicroBlitz
e6f5937d768ede5fc4b85fb43314bc3f4716e163
[ "MIT" ]
null
null
null
lib/micro_blitz/file_finder.rb
JLHOLM/MicroBlitz
e6f5937d768ede5fc4b85fb43314bc3f4716e163
[ "MIT" ]
null
null
null
module MicroBlitz class FileFinder attr_reader :directory def initialize @directory = MicroBlitz.configuration.directory end def walk paths = [] Dir.foreach(@directory) do |file| path = File.join(@directory, file) next if file == "." || file == ".." if File.directory?(path) walk(path) else paths.push(path) if valid_extension?(file) end end paths end def valid_extension?(file) WHITELISTED_EXTENSIONS.include? File.extname(file) end WHITELISTED_EXTENSIONS = [ ".rb" ].freeze end end
17.611111
56
0.580442
e7818c9ae92fdc5e19bb4a98affab93349ea328c
221
js
JavaScript
seeds/WebKit/microbenchmarks/locale-compare.js
gustavopinto/entente
19b65d8cafd77c198c9c441f4f5e01503360309b
[ "BSD-2-Clause" ]
16
2020-03-23T12:53:10.000Z
2021-10-11T02:31:50.000Z
seeds/WebKit/microbenchmarks/locale-compare.js
gustavopinto/entente
19b65d8cafd77c198c9c441f4f5e01503360309b
[ "BSD-2-Clause" ]
14
2018-04-09T20:16:00.000Z
2019-06-11T12:31:10.000Z
seeds/WebKit/microbenchmarks/locale-compare.js
gustavopinto/entente
19b65d8cafd77c198c9c441f4f5e01503360309b
[ "BSD-2-Clause" ]
12
2018-04-06T00:52:24.000Z
2018-07-10T19:44:16.000Z
(function(a, b) { var n = 200000; var result = 0; for (var i = 0; i < n; ++i) { result += a.localeCompare(b); } if (result != n) throw "Error: bad result: " + result; })("yes", "no");
20.090909
45
0.457014
48ef44fa6f1d9868b48fd4c65c9f058b12cbe682
237
kt
Kotlin
app/src/main/java/com/macroyau/blue2serial/demo/StofzuigerrobotApplication.kt
Doomsdayrs/stofzuigerrobot
3901ce0ebebbb5b5025deca41d54ee47c9724cb8
[ "MIT" ]
null
null
null
app/src/main/java/com/macroyau/blue2serial/demo/StofzuigerrobotApplication.kt
Doomsdayrs/stofzuigerrobot
3901ce0ebebbb5b5025deca41d54ee47c9724cb8
[ "MIT" ]
null
null
null
app/src/main/java/com/macroyau/blue2serial/demo/StofzuigerrobotApplication.kt
Doomsdayrs/stofzuigerrobot
3901ce0ebebbb5b5025deca41d54ee47c9724cb8
[ "MIT" ]
null
null
null
package com.macroyau.blue2serial.demo import android.app.Application import com.macroyau.blue2serial.BluetoothSerial @Suppress("unused") class StofzuigerrobotApplication : Application() { val bluetoothSerial: BluetoothSerial? = null }
26.333333
50
0.827004
173cc554d49aa8d32c723ff4414f873a9a03929f
349
swift
Swift
Classes/Base/BaseFXWebViewController.swift
zqw87699/FXCommonSwift
acee0db944f97f8fbe333e7f9298af81d6fe17a8
[ "MIT" ]
null
null
null
Classes/Base/BaseFXWebViewController.swift
zqw87699/FXCommonSwift
acee0db944f97f8fbe333e7f9298af81d6fe17a8
[ "MIT" ]
null
null
null
Classes/Base/BaseFXWebViewController.swift
zqw87699/FXCommonSwift
acee0db944f97f8fbe333e7f9298af81d6fe17a8
[ "MIT" ]
null
null
null
// // BaseFXWebViewController.swift // TTSwift // // Created by 张大宗 on 2017/5/17. // Copyright © 2017年 张大宗. All rights reserved. // import Foundation import FXRoutableSwift open class BaseFXWebViewController:BaseFXViewController,IFXWebRoutableProtocol{ open static func canOpenURL(_ URL: String) -> Bool { return true } }
19.388889
79
0.713467
e82f2ec8a0b73f35a4b9352ff7519b13bfad28eb
57,345
rs
Rust
src/vec.rs
pczarn/bitvec
8e2b580564fcc49ff0a112b499903e2f80d5617b
[ "MIT" ]
null
null
null
src/vec.rs
pczarn/bitvec
8e2b580564fcc49ff0a112b499903e2f80d5617b
[ "MIT" ]
null
null
null
src/vec.rs
pczarn/bitvec
8e2b580564fcc49ff0a112b499903e2f80d5617b
[ "MIT" ]
null
null
null
/*! `BitVec` structure This module holds the main working type of the library. Clients can use `BitSlice` directly, but `BitVec` is much more useful for most work. The `BitSlice` module discusses the design decisions for the separation between slice and vector types. !*/ #![cfg(feature = "alloc")] use crate::{ boxed::BitBox, cursor::{ Cursor, Local, }, indices::IntoBitIdx, pointer::BitPtr, slice::BitSlice, store::{ BitStore, Word, }, }; use alloc::{ borrow::{ Borrow, BorrowMut, }, }; use core::{ cmp, fmt::{ self, Debug, Display, Formatter, }, hash::{ Hash, Hasher, }, marker::{ PhantomData, }, mem, ops::RangeBounds, ptr::NonNull, slice, }; #[cfg(not(feature = "std"))] use alloc::{ borrow::ToOwned, boxed::Box, vec::Vec, }; #[cfg(feature = "std")] use std::{ io::{ self, Write, }, }; /** A compact [`Vec`] of bits, whose cursor and storage type can be customized. `BitVec` is a newtype wrapper over `Vec`, and as such is exactly three words in size on the stack. # Examples ```rust use bitvec::prelude::*; let mut bv: BitVec = BitVec::new(); bv.push(false); bv.push(true); assert_eq!(bv.len(), 2); assert_eq!(bv[0], false); assert_eq!(bv.pop(), Some(true)); assert_eq!(bv.len(), 1); bv.set(0, true); assert_eq!(bv[0], true); bv.extend([0u8, 1, 0].iter().map(|n| *n != 0u8)); for bit in &*bv { println!("{}", bit); } assert_eq!(bv, bitvec![1, 0, 1, 0]); ``` The [`bitvec!`] macro is provided to make initialization more convenient. ```rust use bitvec::prelude::*; let mut bv = bitvec![0, 1, 2, 3]; bv.push(false); assert_eq!(bv, bitvec![0, 1, 1, 1, 0]); ``` It can also initialize each element of a `BitVec<_, T>` with a given value. This may be more efficient than performing allocation and initialization in separate steps, especially when initializing a vector of zeros: ```rust use bitvec::prelude::*; let bv = bitvec![0; 15]; assert_eq!(bv, bitvec![0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); // The following is equivalent, but potentially slower: let mut bv1: BitVec = BitVec::with_capacity(15); bv1.resize(15, false); ``` Use a `BitVec<T>` as an efficient stack: ```rust use bitvec::prelude::*; let mut stack: BitVec = BitVec::new(); stack.push(false); stack.push(true); stack.push(true); while let Some(top) = stack.pop() { // Prints true, true, false println!("{}", top); } ``` # Indexing The `BitVec` type allows you to access values by index, because it implements the [`Index`] trait. An example will be more explicit: ```rust use bitvec::prelude::*; let bv = bitvec![0, 0, 1, 1]; println!("{}", bv[1]); // it will display 'false' ``` However, be careful: if you try to access an index which isn’t in the `BitVec`, your software will panic! You cannot do this: ```rust,should_panic use bitvec::prelude::*; let bv = bitvec![0, 1, 0, 1]; println!("{}", bv[6]); // it will panic! ``` In conclusion: always check if the index you want to get really exists before doing it. # Slicing A `BitVec` is growable. A [`BitSlice`], on the other hand, is fixed size. To get a bit slice, use `&`. Example: ```rust use bitvec::prelude::*; fn read_bitslice(slice: &BitSlice) { // use slice } let bv = bitvec![0, 1]; read_bitslice(&bv); // … and that’s all! // you can also do it like this: let bs : &BitSlice = &bv; ``` In Rust, it’s more common to pass slices as arguments rather than vectors when you do not want to grow or shrink it. The same goes for [`Vec`] and [`&[]`], and [`String`] and [`&str`]. # Capacity and Reallocation The capacity of a bit vector is the amount of space allocated for any future bits that will be added onto the vector. This is not to be confused with the *length* of a vector, which specifies the number of live, useful bits within the vector. If a vector’s length exceeds its capacity, its capacity will automatically be increased, but its storage elements will have to be reallocated. For example, a bit vector with capacity 10 and length 0 would be an allocated, but uninhabited, vector, with space for ten more bits. Pushing ten or fewer bits onto the vector will not change its capacity or cause reallocation to occur. However, if the vector’s length is increased to eleven, it will have to reallocate, which can be slow. For this reason, it is recommended to use [`with_capacity`] whenever possible to specify how big the bit vector is expected to get. # Guarantees Due to its incredibly fundamental nature, `BitVec` makes a lot of guarantees about its design. This ensures that it is as low-overhead as possible in the general case, and can be correctly manipulated in fundamental ways by `unsafe` code. Most fundamentally, `BitVec` is and always will be a `(`BitPtr`, capacity)` doublet. No more, no less. The order of these fields is unspecified, and you should **only** interact with the members through the provided APIs. Note that `BitPtr` is ***not directly manipulable***, and must ***never*** be written or interpreted as anything but opaque binary data by user code. When a `BitVec` has allocated memory, then the memory to which it points is on the heap (as defined by the allocator Rust is configured to use by default), and its pointer points to [`len`] initialized bits in order of the `Cursor` type parameter, followed by `capacity - len` logically uninitialized bits. `BitVec` will never perform a “small optimization” where elements are stored in its handle representation, for two reasons: - It would make it more difficult for user code to correctly manipulate a `BitVec`. The contents of the `BitVec` would not have a stable address if the handle were moved, and it would be more difficult to determine if a `BitVec` had allocated memory. - It would penalize the general, heap-allocated, case by incurring a branch on every access. `BitVec` will never automatically shrink itself, even if it is emptied. This ensures that no unnecessary allocations or deallocations occur. Emptying a `BitVec` and then refilling it to the same length will incur no calls to the allocator. If you wish to free up unused memory, use [`shrink_to_fit`]. ## Erasure `BitVec` will not specifically overwrite any data that is removed from it, nor will it specifically preserve it. Its uninitialized memory is scratch space that may be used however the implementation desires, and must not be relied upon as stable. Do not rely on removed data to be erased for security purposes. Even if you drop a `BitVec`, its buffer may simply be reused for other data structures in your program. Even if you zero a `BitVec`’s memory first, that may not actually occur if the optimizer does not consider this an observable side effect. There is one case that will never break, however: using `unsafe` to construct a `[T]` slice over the `BitVec`’s capacity, and writing to the excess space, then increasing the length to match, is always valid. # Type Parameters - `C`: An implementor of the `Cursor` trait. This type is used to convert semantic indices into concrete bit positions in elements, and store or retrieve bit values from the storage type. - `T`: An implementor of the `BitStore` trait: `u8`, `u16`, `u32`, or `u64` (64-bit systems only). This is the actual type in memory that the vector will use to store data. # Safety The `BitVec` handle has the same *size* as standard Rust `Vec` handles, but it is ***extremely binary incompatible*** with them. Attempting to treat `BitVec<_, T>` as `Vec<T>` in any manner except through the provided APIs is ***catastrophically*** unsafe and unsound. [`BitSlice`]: ../slice/struct.BitSlice.html [`BitVec::with_capacity`]: #method.with_capacity [`Index`]: https://doc.rust-lang.org/stable/std/ops/trait.Index.html [`String`]: https://doc.rust-lang.org/stable/std/string/struct.String.html [`Vec`]: https://doc.rust-lang.org/stable/std/vec/struct.Vec.html [`bitvec!`]: ../macro.bitvec.html [`clear_on_drop`]: https://docs.rs/clear_on_drop [`len`]: #method.len [`shrink_to_fit`]: #method.shrink_to_fit [`with_capacity`]: #method.with_capacity [`&str`]: https://doc.rust-lang.org/stable/std/primitive.str.html [`&[]`]: https://doc.rust-lang.org/stable/std/primitive.slice.html **/ #[repr(C)] pub struct BitVec<C = Local, T = Word> where C: Cursor, T: BitStore { /// Phantom `Cursor` member to satisfy the constraint checker. _cursor: PhantomData<C>, /// Slice pointer over the owned memory. pointer: BitPtr<T>, /// The number of *elements* this vector has allocated. capacity: usize, } impl<C, T> BitVec<C, T> where C: Cursor, T: BitStore { /// Constructs a new, empty, `BitVec<C, T>`. /// /// The vector does not allocate until bits are written into it. /// /// # Returns /// /// An empty, unallocated, `BitVec` handle. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let bv: BitVec = BitVec::new(); /// assert!(bv.is_empty()); /// assert_eq!(bv.capacity(), 0); /// ``` pub fn new() -> Self { Self { _cursor: PhantomData, pointer: BitPtr::empty(), capacity: 0, } } /// Constructs a new, empty, `BitVec<T>` with the specified capacity. /// /// The new vector will be able to hold at least `capacity` elements before /// it reallocates. If `capacity` is `0`, it will not allocate. /// /// # Parameters /// /// - `capacity`: The minimum number of bits that the new vector will need /// to be able to hold. /// /// # Returns /// /// An empty vector with at least the given capacity. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let bv: BitVec = BitVec::with_capacity(10); /// assert!(bv.is_empty()); /// assert!(bv.capacity() >= 10); /// ``` pub fn with_capacity(capacity: usize) -> Self { // Find the number of elements needed to store the requested capacity // of bits. let (cap, _) = 0.idx::<T>().span(capacity); // Acquire a region of memory large enough for that element number. let (ptr, cap) = { let v = Vec::with_capacity(cap); let (ptr, cap) = (v.as_ptr(), v.capacity()); mem::forget(v); (ptr, cap) }; // Take ownership of that region as an owned BitPtr Self { _cursor: PhantomData, pointer: BitPtr::uninhabited(ptr), capacity: cap, } } /// Constructs a `BitVec` from a single element. /// /// The produced `BitVec` will span the element, and include all bits in it. /// /// # Parameters /// /// - `elt`: The source element. /// /// # Returns /// /// A `BitVec` over the provided element. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let bv = BitVec::<BigEndian, u8>::from_element(5); /// assert_eq!(bv.count_ones(), 2); /// ``` pub fn from_element(elt: T) -> Self { Self::from_vec({ let mut v = Vec::with_capacity(1); v.push(elt); v }) } /// Constructs a `BitVec` from a slice of elements. /// /// The produced `BitVec` will span the provided slice. /// /// # Parameters /// /// - `slice`: The source elements to copy into the new `BitVec`. /// /// # Returns /// /// A `BitVec` set to the provided slice values. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let src = [5, 10]; /// let bv = BitVec::<BigEndian, u8>::from_slice(&src[..]); /// assert!(bv[5]); /// assert!(bv[7]); /// assert!(bv[12]); /// assert!(bv[14]); /// ``` pub fn from_slice(slice: &[T]) -> Self { BitSlice::<C, T>::from_slice(slice).to_owned() } /// Consumes a `Vec<T>` and creates a `BitVec<C, T>` from it. /// /// # Parameters /// /// - `vec`: The source vector whose memory will be used. /// /// # Returns /// /// A new `BitVec` using the `vec` `Vec`’s memory. /// /// # Panics /// /// Panics if the source vector would cause the `BitVec` to overflow /// capacity. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let bv = BitVec::<BigEndian, u8>::from_vec(vec![1, 2, 4, 8]); /// assert_eq!( /// "[00000001, 00000010, 00000100, 00001000]", /// &format!("{}", bv), /// ); /// ``` pub fn from_vec(vec: Vec<T>) -> Self { let len = vec.len(); assert!( len <= BitPtr::<T>::MAX_ELTS, "Vector length {} overflows {}", len, BitPtr::<T>::MAX_ELTS, ); let bs = BitSlice::<C, T>::from_slice(&vec[..]); let pointer = bs.bitptr(); let capacity = vec.capacity(); mem::forget(vec); Self { _cursor: PhantomData, pointer, capacity, } } /// Clones a `&BitSlice` into a `BitVec`. /// /// This method is the only mechanism by which a `BitVec` can be created /// whose first live bit is not at the `0` index. This behavior, though /// unconventional in common uses of `BitVec`, allows for a convenient clone /// of any `BitSlice` reference without having to shift every bit down. /// /// When a `BitVec` created with a non-zero head bit is emptied, its head /// reverts to `0` and will begin there at future fills. /// /// The [`::force_align`] method will shift the `BitVec`’s contents to begin /// at the zero index if you need to ensure this property. /// /// # Parameters /// /// - `slice`: The source bit-slice. This may have any head index, and its /// memory will be directly `memcpy`ed into the allocation. /// /// # Returns /// /// A `BitVec` containing the same bits as the source slice. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let bs = [0u8, !0].bits::<BigEndian>(); /// let bv = BitVec::from_bitslice(bs); /// assert_eq!(bv.len(), 16); /// assert!(bv.some()); /// ``` /// /// [`::force_align`]: #method.force_align pub fn from_bitslice(slice: &BitSlice<C, T>) -> Self { // Clone the slice’s underlying storage into a `Vec`. let v = unsafe { slice.as_total_slice() }.to_owned(); // Get a copy of the slice’s `BitPtr`. let mut pointer = slice.bitptr(); // Retarget the `BitPtr` at the allocation block. The `head` and `bits` // counters are unaffected. unsafe { pointer.set_pointer(v.as_ptr()); } let capacity = v.capacity(); mem::forget(v); Self { _cursor: PhantomData, pointer, capacity, } } /// Converts a frozen `BitBox` allocation into a growable `BitVec`. /// /// This does not copy or reallocate. /// /// # Parameters /// /// - `slice`: A `BitBox` to be thawed. /// /// # Returns /// /// A growable collection over the original memory of the slice. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let bv = BitVec::from_boxed_bitslice(bitbox![0, 1]); /// assert_eq!(bv.len(), 2); /// assert!(bv.some()); /// ``` pub fn from_boxed_bitslice(slice: BitBox<C, T>) -> Self { let bitptr = slice.bitptr(); mem::forget(slice); unsafe { Self::from_raw_parts(bitptr, bitptr.elements()) } } /// Creates a new `BitVec<C, T>` directly from the raw parts of another. /// /// # Parameters /// /// - `pointer`: The `BitPtr<T>` to use. /// - `capacity`: The number of `T` elements *allocated* in that slab. /// /// # Returns /// /// A `BitVec` over the given slab of memory. /// /// # Safety /// /// This is ***highly*** unsafe, due to the number of invariants that aren’t /// checked: /// /// - `pointer` needs to have been previously allocated by some allocating /// type. /// - `pointer`’s `T` needs to have the same size ***and alignment*** as it /// was initially allocated. /// - `pointer`’s element count needs to be less than or equal to the /// original allocation capacity. /// - `capacity` needs to be the original allocation capacity for the /// vector. This is *not* the value produced by `.capacity()`. /// /// Violating these ***will*** cause problems, like corrupting the handle’s /// concept of memory, the allocator’s internal data structures, and the /// sanity of your program. It is ***absolutely*** not safe to construct a /// `BitVec` whose `T` differs from the type used for the initial /// allocation. /// /// The ownership of `pointer` is effectively transferred to the /// `BitVec<C, T>` which may then deallocate, reallocate, or modify the /// contents of the referent slice at will. Ensure that nothing else uses /// the pointer after calling this function. pub unsafe fn from_raw_parts(pointer: BitPtr<T>, capacity: usize) -> Self { Self { _cursor: PhantomData, pointer, capacity, } } /// Returns the number of bits the vector can hold without reallocating. /// /// # Parameters /// /// - `&self` /// /// # Returns /// /// The number of bits that the vector can hold before reallocating. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let bv: BitVec = BitVec::with_capacity(10); /// assert!(bv.is_empty()); /// assert!(bv.capacity() >= 10); /// ``` pub fn capacity(&self) -> usize { self.capacity .checked_mul(T::BITS as usize) .expect("Vector capacity overflow") } /// Returns the number of elements the vector can hold without reallocating. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let bv: BitVec<BigEndian, u16> = BitVec::with_capacity(40); /// assert!(bv.is_empty()); /// assert!(bv.element_capacity() >= 3); /// ``` pub fn element_capacity(&self) -> usize { self.capacity } /// Reserves capacity for at least `additional` more bits to be inserted. /// /// The collection may reserve more space to avoid frequent reallocations. /// After calling `reserve`, capacity will be greater than or equal to /// `self.len() + additional`. Does nothing if the capacity is already /// sufficient. /// /// # Parameters /// /// - `&mut self` /// - `additional`: The number of extra bits to be granted space. /// /// # Panics /// /// Panics if the new capacity would overflow the vector’s limits. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let mut bv = bitvec![1; 5]; /// assert!(bv.capacity() >= 5); /// bv.reserve(10); /// assert!(bv.capacity() >= 15); /// ``` pub fn reserve(&mut self, additional: usize) { let newlen = self.len().saturating_add(additional); assert!( newlen <= BitPtr::<T>::MAX_INDX, "Capacity overflow: {} exceeds {}", newlen, BitPtr::<T>::MAX_INDX, ); let tail = self.pointer.tail(); // If the additional bits would not depart the last element, do nothing if *tail as usize + additional <= T::BITS as usize { return; } // Compute the number of additional elements needed to store the // requested number of additional bits. let (e, _) = tail.span(additional); self.do_unto_vec(|v| v.reserve(e)); } /// Reserves the minimum capacity for at least `additional` more bits. /// /// After calling `reserve_exact`, the capacity will be greater than or /// equal to `self.len() + additional`. Does nothing if the capacity is /// already sufficient. /// /// Note that the allocator may give the collection more space than it /// requests. Therefore, the capacity cannot be relied upon to be precisely /// minimal. Prefer `reserve` if future insertions are expected. /// /// # Parameters /// /// - `&mut self` /// - `additional`: The number of extra bits to be granted space. /// /// # Panics /// /// Panics if the new capacity would overflow the vector’s limits. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let mut bv = bitvec![1; 5]; /// assert!(bv.capacity() >= 5); /// bv.reserve_exact(10); /// assert!(bv.capacity() >= 15); /// ``` pub fn reserve_exact(&mut self, additional: usize) { let newlen = self.len() + additional; assert!( newlen <= BitPtr::<T>::MAX_INDX, "Capacity overflow: {} exceeds {}", newlen, BitPtr::<T>::MAX_INDX, ); let tail = self.pointer.tail(); if *tail as usize + additional <= T::BITS as usize { return; } let (e, _) = tail.span(additional); self.do_unto_vec(|v| v.reserve_exact(e)); } /// Shrinks the capacity of the vector as much as possible. /// /// It will drop down as close as possible to the length, but the allocator /// may still inform the vector that there is space for bits. /// /// This does not modify the contents of the memory store! It will not zero /// any memory that had been used and then removed from the vector’s live /// count. /// /// # Parameters /// /// - `&mut self` /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let mut bv = bitvec![1; 100]; /// let cap = bv.capacity(); /// bv.truncate(10); /// bv.shrink_to_fit(); /// assert!(bv.capacity() <= cap); /// ``` pub fn shrink_to_fit(&mut self) { self.do_unto_vec(Vec::shrink_to_fit); } /// Shortens the vector, keeping the first `len` bits and dropping the rest. /// /// If `len` is greater than the vector’s current length, this has no /// effect. /// /// # Parameters /// /// - `&mut self` /// - `len`: The new length of the vector. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let mut bv = bitvec![1; 15]; /// bv.truncate(10); /// assert_eq!(bv.len(), 10); /// /// bv.truncate(15); /// assert_eq!(bv.len(), 10); /// ``` pub fn truncate(&mut self, len: usize) { if len < self.len() { unsafe { self.pointer.set_len(len); } } } /// Produces a `BitSlice` containing the entire vector. /// /// Equivalent to `&s[..]`. /// /// # Parameters /// /// - `&self` /// /// # Returns /// /// A `BitSlice` over the vector. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let bv = bitvec![0, 1, 1, 0]; /// let bs = bv.as_bits(); /// ``` pub fn as_bits(&self) -> &BitSlice<C, T> { self.pointer.into_bitslice() } /// Produces a mutable `BitSlice` containing the entire vector. /// /// Equivalent to `&mut s[..]`. /// /// # Parameters /// /// - `&mut self` /// /// # Returns /// /// A mutable `BitSlice` over the vector. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let mut bv = bitvec![0, 1, 1, 0]; /// let bs = bv.as_bits_mut(); /// ``` pub fn as_bits_mut(&mut self) -> &mut BitSlice<C, T> { self.pointer.into_bitslice_mut() } /// Sets the length of the vector. /// /// This unconditionally sets the size of the vector, without modifying its /// contents. It is up to the caller to ensure that the vector’s buffer can /// hold the new size. /// /// # Parameters /// /// - `&mut self` /// - `len`: The new length of the vector. This must be less than the /// maximum number of bits that the vector can hold. /// /// # Panics /// /// This panics if `len` overflows the vector's intrinsic *or allocated* /// capacities. /// /// # Safety /// /// The caller must ensure that the new length is sound for the vector. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let mut bv: BitVec = BitVec::with_capacity(15); /// assert!(bv.is_empty()); /// unsafe { bv.set_len(10) }; /// assert_eq!(bv.len(), 10); /// ``` pub unsafe fn set_len(&mut self, len: usize) { assert!( len <= BitPtr::<T>::MAX_INDX, "Capacity overflow: {} overflows maximum length {}", len, BitPtr::<T>::MAX_INDX, ); assert!( len <= self.capacity(), "Capacity overflow: {} overflows allocation size {}", len, self.capacity(), ); self.pointer.set_len(len); } /// Removes a bit from the vector and returns it. /// /// The removed bit is replaced by the last bit in the vector. /// /// # Parameters /// /// - `&mut self` /// - `index`: The index whose bit is to be returned, and replaced by the /// tail. /// /// # Returns /// /// The bit at the requested index. /// /// # Panics /// /// Panics if the index is out of bounds. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let mut bv = bitvec![0, 0, 0, 0, 1]; /// assert!(!bv[2]); /// assert_eq!(bv.len(), 5); /// assert!(!bv.swap_remove(2)); /// assert!(bv[2]); /// assert_eq!(bv.len(), 4); /// ``` pub fn swap_remove(&mut self, index: usize) -> bool { let len = self.len(); assert!(index < len, "Index {} out of bounds: {}", index, len); if index < len - 1 { self.swap(index, len - 1); } self.pop() .expect("BitVec::swap_remove cannot fail after index validation") } /// Inserts a bit at a position, shifting all bits after it to the right. /// /// Note that this is `O(n)` runtime. /// /// # Parameters /// /// - `&mut self` /// - `index`: The position at which to insert. This may be any value from /// `0` up to *and including* `self.len()`. At `self.len()`, it is /// equivalent to calling `self.push(value)`. /// - `value`: The bit to be inserted. /// /// # Panics /// /// Panics if `index` is greater than the length. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let mut bv = bitvec![0, 0, 0, 0]; /// bv.insert(2, true); /// assert_eq!(bv, bitvec![0, 0, 1, 0, 0]); /// bv.insert(5, true); /// assert_eq!(bv, bitvec![0, 0, 1, 0, 0, 1]); /// ``` pub fn insert(&mut self, index: usize, value: bool) { let len = self.len(); assert!(index <= len, "Index {} is out of bounds: {}", index, len); self.push(value); self[index ..].rotate_right(1); } /// Removes and returns the bit at position `index`, shifting all bits after /// it to the left. /// /// # Parameters /// /// - `&mut self` /// - `index`: The position whose bit is to be removed. This must be in the /// domain `0 .. self.len()`. /// /// # Returns /// /// The bit at the requested index. /// /// # Panics /// /// Panics if `index` is out of bounds for the vector. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let mut bv = bitvec![0, 0, 1, 0, 0]; /// assert!(bv.remove(2)); /// assert_eq!(bv, bitvec![0, 0, 0, 0]); /// ``` pub fn remove(&mut self, index: usize) -> bool { let len = self.len(); assert!(index < len, "Index {} is out of bounds: {}", index, len); self[index ..].rotate_left(1); self.pop() .expect("BitVec::remove cannot fail after index validation") } /// Retains only the bits that pass the predicate. /// /// This removes all bits `b` where `f(e)` returns `false`. This method /// operates in place and preserves the order of the retained bits. Because /// it is in-place, it operates in `O(n²)` time. /// /// # Parameters /// /// - `&mut self` /// - `pred`: The testing predicate for each bit. /// /// # Type Parameters /// /// - `F`: A function that can be invoked on each bit, returning whether the /// bit should be kept or not. Receives the index (following /// [`BitSlice::for_each`]) to provide additional context to determine /// whether the entry satisfies the condition. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let mut bv = bitvec![0, 1, 0, 1, 0, 1]; /// bv.retain(|_, b| b); /// assert_eq!(bv, bitvec![1, 1, 1]); /// ``` /// /// [`BitSlice::for_each`]: ../slice/struct.BitSlice.html#method.for_each pub fn retain<F>(&mut self, mut pred: F) where F: FnMut(usize, bool) -> bool { for n in (0 .. self.len()).rev() { if !pred(n, unsafe { self.get_unchecked(n) }) { self.remove(n); } } } /// Appends a bit to the back of the vector. /// /// If the vector is at capacity, this may cause a reallocation. /// /// # Parameters /// /// - `&mut self` /// - `value`: The bit value to append. /// /// # Panics /// /// This will panic if the push will cause the vector to allocate above /// `BitPtr<T>` or machine capacity. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let mut bv: BitVec = BitVec::new(); /// assert!(bv.is_empty()); /// bv.push(true); /// assert_eq!(bv.len(), 1); /// assert!(bv[0]); /// ``` pub fn push(&mut self, value: bool) { let len = self.len(); assert!( len <= BitPtr::<T>::MAX_INDX, "Capacity overflow: {} >= {}", len, BitPtr::<T>::MAX_INDX, ); // If self is empty *or* tail is at the back edge of an element, push // an element onto the vector. if self.is_empty() || *self.pointer.tail() == T::BITS { self.do_unto_vec(|v| v.push(0.into())); } // At this point, it is always safe to increment the tail, and then // write to the newly live bit. unsafe { self.pointer = self.pointer.incr_tail(); self.set_unchecked(len, value); } } /// Removes the last bit from the collection, if present. /// /// # Parameters /// /// - `&mut self` /// /// # Returns /// /// If the vector is not empty, this returns the last bit; if it is empty, /// this returns `None`. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let mut bv: BitVec = BitVec::new(); /// assert!(bv.is_empty()); /// bv.push(true); /// assert_eq!(bv.len(), 1); /// assert!(bv[0]); /// /// assert!(bv.pop().unwrap()); /// assert!(bv.is_empty()); /// assert!(bv.pop().is_none()); /// ``` pub fn pop(&mut self) -> Option<bool> { match self.len() { 0 => None, len => unsafe { let new_len = len - 1; let out = self.get_unchecked(new_len); self.pointer.set_len(new_len); Some(out) }, } } /// Moves all the elements of `other` into `self`, leaving `other` empty. /// /// # Parameters /// /// - `&mut self` /// - `other`: A `BitVec` of any order and storage type. Its bits are /// appended to `self`. /// /// # Panics /// /// Panics if the joined vector is too large. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let mut bv1 = bitvec![0; 10]; /// let mut bv2 = bitvec![1; 10]; /// bv1.append(&mut bv2); /// assert_eq!(bv1.len(), 20); /// assert!(bv1[10]); /// assert!(bv2.is_empty()); /// ``` pub fn append<D, U>(&mut self, other: &mut BitVec<D, U>) where D: Cursor, U: BitStore { self.extend(other.iter()); other.clear(); } /// Creates a draining iterator that removes the specified range from the /// vector and yields the removed bits. /// /// # Notes /// /// 1. The element range is removed, regardless of whether the iterator is /// consumed. /// 2. The amount of items removed from the vector if the draining iterator /// is leaked, is left unspecified. /// /// # Parameters /// /// - `&mut self` /// - `range`: any range literal, which is used to define the range of the /// vector that is drained. /// /// # Returns /// /// An iterator over the specified range. /// /// # Panics /// /// Panics if the range is ill-formed, or if it is beyond the vector bounds. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let mut bv = bitvec![0, 0, 1, 1, 1, 0, 0]; /// assert_eq!(bv.len(), 7); /// for bit in bv.drain(2 .. 5) { /// assert!(bit); /// } /// assert!(bv.not_any()); /// assert_eq!(bv.len(), 4); /// ``` pub fn drain<R>(&mut self, range: R) -> iter::Drain<C, T> where R: RangeBounds<usize> { use core::ops::Bound::*; let len = self.len(); let from = match range.start_bound() { Included(&n) => n, Excluded(&n) => n + 1, Unbounded => 0, }; // First index beyond the end of the drain. let upto = match range.end_bound() { Included(&n) => n + 1, Excluded(&n) => n, Unbounded => len, }; assert!(from <= upto, "The drain start must be below the drain end"); assert!(upto <= len, "The drain end must be within the vector bounds"); unsafe { let ranging: &BitSlice<C, T> = self .as_bits()[from .. upto] // remove the lifetime and borrow awareness .bitptr() .into_bitslice(); self.set_len(from); iter::Drain { bitvec: NonNull::from(self), iter: ranging.iter(), tail_start: upto, tail_len: len - upto, } } } /// Clears the vector, removing all values. /// /// Note that this method has no effect on the allocated capacity of the /// vector. /// /// # Parameters /// /// - `&mut self` /// /// # Effects /// /// Becomes an uninhabited slice. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let mut bv = bitvec![1; 30]; /// assert_eq!(bv.len(), 30); /// assert!(bv.iter().all(|b| b)); /// bv.clear(); /// assert!(bv.is_empty()); /// ``` /// /// After calling `clear()`, `bv` will no longer show raw memory, so the /// above test cannot show that the underlying memory is not altered. This /// is also an implementation detail on which you should not rely. pub fn clear(&mut self) { unsafe { self.set_len(0) } } /// Splits the collection into two at the given index. /// /// Returns a newly allocated `Self`. `self` contains elements `[0, at)`, /// and the returned `Self` contains elements `[at, self.len())`. /// /// Note that the capacity of `self` does not change. /// /// # Parameters /// /// - `&mut self` /// - `at`: The index at which to perform the split. This must be in the /// domain `0 ..= self.len()`. When it is `self.len()`, an empty vector is /// returned. /// /// # Returns /// /// A new `BitVec` containing all the elements from `at` onwards. /// /// # Panics /// /// Panics if `at` is beyond `self.len()`. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let mut bv1 = bitvec![0, 0, 0, 1, 1, 1]; /// let bv2 = bv1.split_off(3); /// assert_eq!(bv1, bitvec![0, 0, 0]); /// assert_eq!(bv2, bitvec![1, 1, 1]); /// ``` pub fn split_off(&mut self, at: usize) -> Self { let len = self.len(); assert!(at <= len, "Index out of bounds: {} is beyond {}", at, len); match at { 0 => mem::replace(self, Self::new()), n if n == len => Self::new(), _ => { let out = self.as_bits()[at ..].to_owned(); self.truncate(at); out }, } } /// Resizes the `BitVec` in place so that `len` is equal to `new_len`. /// /// If `new_len` is greater than `len`, then the vector is extended by the /// difference, and filled with the provided value. If `new_len` is less /// than `len`, then the vector is just truncated. /// /// # Parameters /// /// - `&mut self` /// - `new_len`: The new length of the vector. /// - `value`: The fill value if the vector is to be extended. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let mut bv = bitvec![0; 4]; /// bv.resize(8, true); /// assert_eq!(bv, bitvec![0, 0, 0, 0, 1, 1, 1, 1]); /// bv.resize(5, false); /// assert_eq!(bv, bitvec![0, 0, 0, 0, 1]); /// ``` pub fn resize(&mut self, new_len: usize, value: bool) { let len = self.len(); if new_len < len { self.truncate(new_len); } else if new_len > len { self.extend(core::iter::repeat(value).take(new_len - len)); } } /// Creates a splicing iterator that exchanges the specified range for the /// `replacement` iterator, yielding the removed items. The range and its /// replacement do not need to be the same size. /// /// # Notes /// /// 1. The element range is removed and replaced even if the iterator /// produced by this method is not fully consumed. /// 2. It is unspecified how many bits are removed from the `BitVec` if the /// returned iterator is leaked. /// 3. The input iterator `replacement` is only consumed when the returned /// iterator is dropped. /// 4. This is optimal if: /// - the tail (elements in the `BitVec` after `range`) is empty, /// - `replace_with` yields fewer characters than `range`’s length, /// - the lower bound of `replacement.size_hint()` is exact. /// /// # Parameters /// /// - `&mut self` /// - `range`: A range of indices in the `BitVec` to pull out of the /// collection. /// - `replacement`: Something which can be used to provide new bits to /// replace the removed range. /// /// The entirety of `replacement` will be inserted into the slot marked by /// `range`. If `replacement` is an infinite iterator, then this will hang, /// and crash your program. /// /// # Returns /// /// An iterator over the bits marked by `range`. /// /// # Panics /// /// Panics if the range is ill-formed, or extends past the end of the /// `BitVec`. /// /// # Examples /// /// This example starts with six bits of zero, and then splices out bits 2 /// and 3 and replaces them with four bits of one. /// /// ```rust /// use bitvec::prelude::*; /// /// let mut bv = bitvec![0; 6]; /// let bv2 = bitvec![1; 4]; /// /// let s = bv.splice(2 .. 4, bv2).collect::<BitVec>(); /// assert_eq!(s.len(), 2); /// assert!(!s[0]); /// assert_eq!(bv, bitvec![0, 0, 1, 1, 1, 1, 0, 0]); /// ``` pub fn splice<R, I>( &mut self, range: R, replacement: I, ) -> iter::Splice<C, T, <I as IntoIterator>::IntoIter> where R: RangeBounds<usize>, I: IntoIterator<Item=bool> { iter::Splice { drain: self.drain(range), splice: replacement.into_iter(), } } /// Sets the backing storage to the provided element. /// /// This unconditionally sets each allocated element in the backing storage /// to the provided value, without altering the `BitVec` length or capacity. /// It operates on the underlying `Vec`’s memory region directly, and will /// ignore the `BitVec`’s cursors. /// /// This has the unobservable effect of setting the allocated, but dead, /// bits beyond the end of the vector’s *length*, up to its *capacity*. /// /// # Parameters /// /// - `&mut self` /// - `element`: The value to which each allocated element in the backing /// store will be set. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let mut bv = bitvec![Local, u8; 0; 10]; /// assert_eq!(bv.as_slice(), &[0, 0]); /// bv.set_elements(0xA5); /// assert_eq!(bv.as_slice(), &[0xA5, 0xA5]); /// ``` pub fn set_elements(&mut self, element: T) { let ptr = self.pointer.pointer().w(); let cap = self.capacity; for elt in unsafe { slice::from_raw_parts_mut(ptr, cap) } { *elt = element; } } /// Performs “reverse” addition (left to right instead of right to left). /// /// This addition traverses the addends from left to right, performing /// the addition at each index and writing the sum into `self`. /// /// If `addend` expires before `self` does, `addend` is zero-extended and /// the carry propagates through the rest of `self`. If `self` expires /// before `addend`, then `self` is zero-extended and the carry propagates /// through the rest of `addend`, growing `self` until `addend` expires. /// /// An infinite `addend` will cause unbounded memory growth until the vector /// overflows and panics. /// /// # Parameters /// /// - `self` /// - `addend: impl IntoIterator<Item=bool>`: A stream of bits to add into /// `self`, from left to right. /// /// # Returns /// /// The sum vector of `self` and `addend`. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let a = bitvec![0, 1, 0, 1]; /// let b = bitvec![0, 0, 1, 1]; /// let c = a.add_reverse(b); /// assert_eq!(c, bitvec![0, 1, 1, 0, 1]); /// ``` pub fn add_reverse<I>(mut self, addend: I) -> Self where I: IntoIterator<Item=bool> { self.add_assign_reverse(addend); self } /// Performs “reverse” addition (left to right instead of right to left). /// /// This addition traverses the addends from left to right, performing /// the addition at each index and writing the sum into `self`. /// /// If `addend` expires before `self` does, `addend` is zero-extended and /// the carry propagates through the rest of `self`. If `self` expires /// before `addend`, then `self` is zero-extended and the carry propagates /// through the rest of `addend`, growing `self` until `addend` expires. /// /// An infinite `addend` will cause unbounded memory growth until the vector /// overflows and panics. /// /// # Parameters /// /// - `&mut self` /// - `addend: impl IntoIterator<Item=bool>`: A stream of bits to add into /// `self`, from left to right. /// /// # Effects /// /// `self` may grow as a result of the final carry-out bit being `1` and /// pushed onto the right end. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let mut a = bitvec![0, 1, 0, 1]; /// let b = bitvec![0, 0, 1, 1]; /// a.add_assign_reverse(&b); /// assert_eq!(a, bitvec![0, 1, 1, 0, 1]); /// ``` pub fn add_assign_reverse<I>(&mut self, addend: I) where I: IntoIterator<Item=bool> { // Set up iteration over the addend let mut addend = addend.into_iter().fuse(); // Delegate to the `BitSlice` implementation for the initial addition. // If `addend` expires first, it zero-extends; if `self` expires first, // `addend` will still have its remnant for the next stage. let mut c = self.as_bits_mut().add_assign_reverse(addend.by_ref()); // If `addend` still has bits to provide, zero-extend `self` and add // them in. for b in addend { let (y, z) = crate::rca1(false, b, c); self.push(y); c = z; } if c { self.push(true); } } /// Force the live region of the underlying `BitSlice` to begin at `0`. /// /// This method uses `BitSlice::rotate_left` to move all the live bits in /// the slice down to the front edge of the allocation. It exits immediately /// if the vector is already aligned. /// /// It is not required to clear bits that have become garbage. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let src = &0x7Eu8.bits::<BigEndian>()[1 .. 7]; /// assert_eq!(src.len(), 6); /// let mut bv = src.to_owned(); /// assert_eq!(bv.len(), 6); /// assert_eq!(bv.as_slice(), &[0x7E]); /// assert_eq!(&bv, &0xFCu8.bits::<BigEndian>()[.. 6]); /// bv.force_align(); /// assert_eq!(bv.as_slice(), &[0xFE]); /// ``` pub fn force_align(&mut self) { let (_, head, bits) = self.pointer.raw_parts(); let head = *head as usize; if head == 0 { return; } // Extend the span to include the front of the head element let full = bits + head; unsafe { self.pointer.set_head(0.idx()); self.pointer.set_len(full); } // Shift everything down for (to, from) in (head ..).take(bits).enumerate() { unsafe { self.copy(from, to); } } // And discard the garbage now at the back. unsafe { self.pointer.set_len(bits); } } /// Changes the cursor type on the vector handle, without changing its /// contents. /// /// # Parameters /// /// - `self` /// /// # Returns /// /// An equivalent vector handle with a new cursor type. The contents of the /// backing storage are unchanged. /// /// To reorder the bits in memory, drain this vector into a new handle with /// the desired cursor type. pub fn change_cursor<D>(self) -> BitVec<D, T> where D: Cursor { let (bp, cap) = (self.pointer, self.capacity); mem::forget(self); unsafe { BitVec::from_raw_parts(bp, cap) } } /// Degrades a `BitVec` to a `BitBox`, freezing its size. /// /// # Parameters /// /// - `self` /// /// # Returns /// /// Itself, with its size frozen and ungrowable. pub fn into_boxed_bitslice(self) -> BitBox<C, T> { let pointer = self.pointer; // Convert the Vec allocation into a Box<[T]> allocation mem::forget(self.into_boxed_slice()); unsafe { BitBox::from_raw(pointer) } } /// Degrades a `BitVec` to a standard boxed slice. /// /// # Parameters /// /// - `self` /// /// # Returns /// /// A boxed slice of the data the `BitVec` had owned. pub fn into_boxed_slice(self) -> Box<[T]> { self.into_vec().into_boxed_slice() } /// Degrades a `BitVec` to a standard `Vec`. /// /// # Parameters /// /// - `self` /// /// # Returns /// /// The plain vector underlying the `BitVec`. pub fn into_vec(mut self) -> Vec<T> { self.force_align(); let slice = self.as_mut_slice(); let out = unsafe { Vec::from_raw_parts(slice.as_mut_ptr(), slice.len(), self.capacity) }; mem::forget(self); out } /// Permits a function to modify the `Vec<T>` underneath a `BitVec<_, T>`. /// /// This produces a `Vec<T>` structure referring to the same data region as /// the `BitVec<_, T>`, allows a function to mutably view it, and then /// forgets the `Vec<T>` after the function concludes. /// /// # Parameters /// /// - `&mut self` /// - `func`: A function which receives a mutable borrow to the `Vec<T>` /// underlying the `BitVec<_, T>`. /// /// # Type Parameters /// /// - `F: FnOnce(&mut Vec<T>) -> R`: Any callable object (function or /// closure) which receives a mutable borrow of a `Vec<T>`. /// /// - `R`: The return value from the called function or closure. fn do_unto_vec<F, R>(&mut self, func: F) -> R where F: FnOnce(&mut Vec<T>) -> R { let slice = self.pointer.as_mut_slice(); let mut v = unsafe { Vec::from_raw_parts(slice.as_mut_ptr(), slice.len(), self.capacity) }; let out = func(&mut v); // The only change is that the pointer might relocate. The region data // will remain untouched. Vec guarantees it will never produce an // invalid pointer. unsafe { self.pointer.set_pointer(v.as_ptr()); } // self.pointer = unsafe { BitPtr::new_unchecked(v.as_ptr(), e, h, t) }; self.capacity = v.capacity(); mem::forget(v); out } /// Permits a function to view the `Vec<T>` underneath a `BitVec<_, T>`. /// /// This produces a `Vec<T>` structure referring to the same data region as /// the `BitVec<_, T>`, allows a function to immutably view it, and then /// forgets the `Vec<T>` after the function concludes. /// /// # Parameters /// /// - `&self` /// - `func`: A function which receives an immutable borrow to the `Vec<T>` /// underlying the `BitVec<_, T>`. /// /// # Returns /// /// The return value of `func`. /// /// # Type Parameters /// /// - `F: FnOnce(&Vec<T>)`: Any callable object (function or closure) which /// receives an immutable borrow of a `Vec<T>` and returns nothing. /// /// # Safety /// /// This produces an empty `Vec<T>` if the `BitVec<_, T>` is empty. fn do_with_vec<F, R>(&self, func: F) -> R where F: FnOnce(&Vec<T>) -> R { let slice = self.pointer.as_mut_slice(); let v: Vec<T> = unsafe { Vec::from_raw_parts(slice.as_mut_ptr(), slice.len(), self.capacity) }; let out = func(&v); mem::forget(v); out } } /// Signifies that `BitSlice` is the borrowed form of `BitVec`. impl<C, T> Borrow<BitSlice<C, T>> for BitVec<C, T> where C: Cursor, T: BitStore { /// Borrows the `BitVec` as a `BitSlice`. /// /// # Parameters /// /// - `&self` /// /// # Returns /// /// A borrowed `BitSlice` of the vector. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// use std::borrow::Borrow; /// /// let bv = bitvec![0; 13]; /// let bs: &BitSlice = bv.borrow(); /// assert!(!bs[10]); /// ``` fn borrow(&self) -> &BitSlice<C, T> { self.as_bits() } } /// Signifies that `BitSlice` is the borrowed form of `BitVec`. impl<C, T> BorrowMut<BitSlice<C, T>> for BitVec<C, T> where C: Cursor, T: BitStore { /// Mutably borrows the `BitVec` as a `BitSlice`. /// /// # Parameters /// /// - `&mut self` /// /// # Returns /// /// A mutably borrowed `BitSlice` of the vector. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// use std::borrow::BorrowMut; /// /// let mut bv = bitvec![0; 13]; /// let bs: &mut BitSlice = bv.borrow_mut(); /// assert!(!bs[10]); /// bs.set(10, true); /// assert!(bs[10]); /// ``` fn borrow_mut(&mut self) -> &mut BitSlice<C, T> { self.as_bits_mut() } } impl<C, T> Clone for BitVec<C, T> where C: Cursor, T: BitStore { fn clone(&self) -> Self { let new_vec = self.do_with_vec(Clone::clone); let capacity = new_vec.capacity(); let mut pointer = self.pointer; unsafe { pointer.set_pointer(new_vec.as_ptr()); } mem::forget(new_vec); Self { _cursor: PhantomData, pointer, // unsafe { BitPtr::new_unchecked(ptr, e, h, t) }, capacity, } } fn clone_from(&mut self, other: &Self) { let slice = other.pointer.as_slice(); self.clear(); // Copy the other data region into the underlying vector, then grab its // pointer and capacity values. let (ptr, capacity) = self.do_unto_vec(|v| { v.copy_from_slice(slice); (v.as_ptr(), v.capacity()) }); // Copy the other `BitPtr<T>`, let mut pointer = other.pointer; // Then set it to aim at the copied pointer. unsafe { pointer.set_pointer(ptr); } // And set the new pointer/capacity. self.pointer = pointer; self.capacity = capacity; } } impl<C, T> Eq for BitVec<C, T> where C: Cursor, T: BitStore {} impl<C, T> Ord for BitVec<C, T> where C: Cursor, T: BitStore { fn cmp(&self, rhs: &Self) -> cmp::Ordering { self.as_bits().cmp(rhs.as_bits()) } } /** Tests if two `BitVec`s are semantically — not bitwise — equal. It is valid to compare two vectors of different cursor or element types. The equality condition requires that they have the same number of stored bits and that each pair of bits in semantic order are identical. **/ impl<A, B, C, D> PartialEq<BitVec<C, D>> for BitVec<A, B> where A: Cursor, B: BitStore, C: Cursor, D: BitStore { /// Performs a comparison by `==`. /// /// # Parameters /// /// - `&self` /// - `rhs`: The other vector to compare. /// /// # Returns /// /// Whether the vectors compare equal. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let l: BitVec<LittleEndian, u16> = bitvec![LittleEndian, u16; 0, 1, 0, 1]; /// let r: BitVec<BigEndian, u32> = bitvec![BigEndian, u32; 0, 1, 0, 1]; /// assert!(l == r); /// ``` /// /// This example uses the same types to prove that raw, bitwise, values are /// not used for equality comparison. /// /// ```rust /// use bitvec::prelude::*; /// /// let l: BitVec<BigEndian, u8> = bitvec![BigEndian, u8; 0, 1, 0, 1]; /// let r: BitVec<LittleEndian, u8> = bitvec![LittleEndian, u8; 0, 1, 0, 1]; /// /// assert_eq!(l, r); /// assert_ne!(l.as_slice(), r.as_slice()); /// ``` fn eq(&self, rhs: &BitVec<C, D>) -> bool { self.as_bits().eq(rhs.as_bits()) } } impl<A, B, C, D> PartialEq<BitSlice<C, D>> for BitVec<A, B> where A: Cursor, B: BitStore, C: Cursor, D: BitStore { fn eq(&self, rhs: &BitSlice<C, D>) -> bool { self.as_bits().eq(rhs) } } impl<A, B, C, D> PartialEq<&BitSlice<C, D>> for BitVec<A, B> where A: Cursor, B: BitStore, C: Cursor, D: BitStore { fn eq(&self, rhs: &&BitSlice<C, D>) -> bool { self.as_bits().eq(*rhs) } } /** Compares two `BitVec`s by semantic — not bitwise — ordering. The comparison sorts by testing each index for one vector to have a set bit where the other vector has a clear bit. If the vectors are different, the vector with the set bit sorts greater than the vector with the clear bit. If one of the vectors is exhausted before they differ, the longer vector is greater. **/ impl<A, B, C, D> PartialOrd<BitVec<C, D>> for BitVec<A, B> where A: Cursor, B: BitStore, C: Cursor, D: BitStore { /// Performs a comparison by `<` or `>`. /// /// # Parameters /// /// - `&self` /// - `rhs`: The other vector to compare. /// /// # Returns /// /// The relative ordering of the two vectors. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let a = bitvec![0, 1, 0, 0]; /// let b = bitvec![0, 1, 0, 1]; /// let c = bitvec![0, 1, 0, 1, 1]; /// assert!(a < b); /// assert!(b < c); /// ``` fn partial_cmp(&self, rhs: &BitVec<C, D>) -> Option<cmp::Ordering> { self.as_bits().partial_cmp(rhs.as_bits()) } } impl<A, B, C, D> PartialOrd<BitSlice<C, D>> for BitVec<A, B> where A: Cursor, B: BitStore, C: Cursor, D: BitStore { fn partial_cmp(&self, rhs: &BitSlice<C, D>) -> Option<cmp::Ordering> { self.as_bits().partial_cmp(rhs) } } impl<A, B, C, D> PartialOrd<&BitSlice<C, D>> for BitVec<A, B> where A: Cursor, B: BitStore, C: Cursor, D: BitStore { fn partial_cmp(&self, rhs: &&BitSlice<C, D>) -> Option<cmp::Ordering> { self.as_bits().partial_cmp(*rhs) } } impl<C, T> AsMut<BitSlice<C, T>> for BitVec<C, T> where C: Cursor, T: BitStore { fn as_mut(&mut self) -> &mut BitSlice<C, T> { self.as_bits_mut() } } /// Gives write access to all live elements in the underlying storage, including /// the partially-filled tail. impl<C, T> AsMut<[T]> for BitVec<C, T> where C: Cursor, T: BitStore { fn as_mut(&mut self) -> &mut [T] { self.as_mut_slice() } } impl<C, T> AsRef<BitSlice<C, T>> for BitVec<C, T> where C: Cursor, T: BitStore { fn as_ref(&self) -> &BitSlice<C, T> { self.as_bits() } } /// Gives read access to all live elements in the underlying storage, including /// the partially-filled tail. impl<C, T> AsRef<[T]> for BitVec<C, T> where C: Cursor, T: BitStore { /// Accesses the underlying store. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let bv = bitvec![BigEndian, u8; 0, 0, 0, 0, 0, 0, 0, 0, 1]; /// assert_eq!(&[0, 0b1000_0000], bv.as_slice()); /// ``` fn as_ref(&self) -> &[T] { self.as_slice() } } impl<C, T> From<&BitSlice<C, T>> for BitVec<C, T> where C: Cursor, T: BitStore { fn from(src: &BitSlice<C, T>) -> Self { Self::from_bitslice(src) } } /** Builds a `BitVec` out of a slice of `bool`. This is primarily for the `bitvec!` macro; it is not recommended for general use. **/ impl<C, T> From<&[bool]> for BitVec<C, T> where C: Cursor, T: BitStore { fn from(src: &[bool]) -> Self { src.iter().cloned().collect() } } impl<C, T> From<BitBox<C, T>> for BitVec<C, T> where C: Cursor, T: BitStore { fn from(src: BitBox<C, T>) -> Self { Self::from_boxed_bitslice(src) } } impl<C, T> From<&[T]> for BitVec<C, T> where C: Cursor, T: BitStore { fn from(src: &[T]) -> Self { Self::from_slice(src) } } impl<C, T> From<Box<[T]>> for BitVec<C, T> where C: Cursor, T: BitStore { fn from(src: Box<[T]>) -> Self { Self::from_boxed_bitslice(BitBox::from_boxed_slice(src)) } } impl<C, T> Into<Box<[T]>> for BitVec<C, T> where C: Cursor, T: BitStore { fn into(self) -> Box<[T]> { self.into_boxed_slice() } } /** Builds a `BitVec` out of a `Vec` of elements. This moves the memory as-is from the source buffer into the new `BitVec`. The source buffer will be unchanged by this operation, so you don't need to worry about using the correct cursor type. **/ impl<C, T> From<Vec<T>> for BitVec<C, T> where C: Cursor, T: BitStore { fn from(src: Vec<T>) -> Self { Self::from_vec(src) } } impl<C, T> Into<Vec<T>> for BitVec<C, T> where C: Cursor, T: BitStore { fn into(self) -> Vec<T> { self.into_vec() } } impl<C, T> Default for BitVec<C, T> where C: Cursor, T: BitStore { fn default() -> Self { Self::new() } } /** Prints the `BitVec` for debugging. The output is of the form `BitVec<C, T> [ELT, *]`, where `<C, T>` is the cursor and element type, with square brackets on each end of the bits and all the live elements in the vector printed in binary. The printout is always in semantic order, and may not reflect the underlying store. To see the underlying store, use `format!("{:?}", self.as_slice());` instead. The alternate character `{:#?}` prints each element on its own line, rather than separated by a space. **/ impl<C, T> Debug for BitVec<C, T> where C: Cursor, T: BitStore { /// Renders the `BitVec` type header and contents for debug. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let bv = bitvec![LittleEndian, u16; /// 0, 1, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1 /// ]; /// assert_eq!( /// "BitVec<LittleEndian, u16> [0101000011110101]", /// &format!("{:?}", bv) /// ); /// ``` fn fmt(&self, f: &mut Formatter) -> fmt::Result { f.write_str("BitVec<")?; f.write_str(C::TYPENAME)?; f.write_str(", ")?; f.write_str(T::TYPENAME)?; f.write_str("> ")?; Display::fmt(self.as_bits(), f) } } /** Prints the `BitVec` for displaying. This prints each element in turn, formatted in binary in semantic order (so the first bit seen is printed first and the last bit seen printed last). Each element of storage is separated by a space for ease of reading. The alternate character `{:#}` prints each element on its own line. To see the in-memory representation, use `AsRef` to get access to the raw elements and print that slice instead. **/ impl<C, T> Display for BitVec<C, T> where C: Cursor, T: BitStore { /// Renders the `BitVec` contents for display. /// /// # Examples /// /// ```rust /// use bitvec::prelude::*; /// /// let bv = bitvec![BigEndian, u8; 0, 1, 0, 0, 1, 0, 1, 1, 0, 1]; /// assert_eq!("[01001011, 01]", &format!("{}", bv)); /// ``` fn fmt(&self, f: &mut Formatter) -> fmt::Result { Display::fmt(self.as_bits(), f) } } /// Writes the contents of the `BitVec`, in semantic bit order, into a hasher. impl<C, T> Hash for BitVec<C, T> where C: Cursor, T: BitStore { /// Writes each bit of the `BitVec`, as a full `bool`, into the hasher. /// /// # Parameters /// /// - `&self` /// - `hasher`: The hashing pool into which the vector is written. fn hash<H: Hasher>(&self, hasher: &mut H) { <BitSlice<C, T> as Hash>::hash(self, hasher) } } #[cfg(feature = "std")] impl<C, T> Write for BitVec<C, T> where C: Cursor, T: BitStore { fn write(&mut self, buf: &[u8]) -> io::Result<usize> { let amt = cmp::min( buf.len(), BitPtr::<T>::MAX_INDX - self.as_slice().len(), ); let bits = BitSlice::<C, u8>::from_slice(buf); self.reserve(bits.len()); self.extend(bits); Ok(amt) } fn flush(&mut self) -> io::Result<()> { Ok(()) } } /// `BitVec` is safe to move across thread boundaries, as is `&mut BitVec`. unsafe impl<C, T> Send for BitVec<C, T> where C: Cursor, T: BitStore {} /// `&BitVec` is safe to move across thread boundaries. unsafe impl<C, T> Sync for BitVec<C, T> where C: Cursor, T: BitStore {} mod r#override; mod iter; mod ops; #[cfg(test)] mod tests;
26.985882
80
0.61552
4a3583fe2778a2c83b6ebe3c8daac0dc213feecf
14,607
js
JavaScript
source/js/aframe-meshline-component.min.js
alackles/landscapes
ba110c857ff1e8bdd4684076215bb188e832a342
[ "MIT" ]
22
2016-04-25T03:03:00.000Z
2022-02-15T03:35:40.000Z
source/js/aframe-meshline-component.min.js
alackles/landscapes
ba110c857ff1e8bdd4684076215bb188e832a342
[ "MIT" ]
16
2016-07-23T15:18:58.000Z
2021-08-25T16:13:58.000Z
source/js/aframe-meshline-component.min.js
alackles/landscapes
ba110c857ff1e8bdd4684076215bb188e832a342
[ "MIT" ]
13
2016-04-21T03:36:06.000Z
2022-03-03T01:39:45.000Z
!function(t){function e(s){if(i[s])return i[s].exports;var r=i[s]={exports:{},id:s,loaded:!1};return t[s].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var i={};return e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){if("undefined"==typeof AFRAME)throw new Error("Component attempted to register before AFRAME was available.");var s=i(1);THREE.MeshLine=s.MeshLine,THREE.MeshLineMaterial=s.MeshLineMaterial,AFRAME.registerComponent("meshline",{schema:{color:{default:"#000"},lineWidth:{default:10},lineWidthStyler:{default:""},sizeAttenuation:{default:0},path:{default:[{x:-.5,y:0,z:0},{x:.5,y:0,z:0}],parse:function(t){return t.split(",").map(AFRAME.utils.coordinates.parse)},stringify:function(t){return t.map(AFRAME.utils.coordinates.stringify).join(",")}}},init:function(){this.resolution=new THREE.Vector2(window.innerWidth,window.innerHeight);var t=this.el.sceneEl;t.addEventListener("render-target-loaded",this.do_update.bind(this)),t.addEventListener("render-target-loaded",this.addlisteners.bind(this))},addlisteners:function(){window.addEventListener("resize",this.do_update.bind(this))},do_update:function(){var t=this.el.sceneEl.canvas;this.resolution.set(t.width,t.height),this.update()},update:function(){var t=new THREE.MeshLineMaterial({color:new THREE.Color(this.data.color),resolution:this.resolution,sizeAttenuation:this.data.sizeAttenuation,lineWidth:this.data.lineWidth}),e=[];this.data.path.forEach(function(t){e.push(t.x||0,t.y||0,t.z||0)});var i="string"==typeof this.data.lineWidthStyler&&this.data.lineWidthStyler.length>0?new Function("p","return "+this.data.lineWidthStyler):function(){return 1},s=new THREE.MeshLine;s.setGeometry(new Float32Array(e),i),this.el.setObject3D("mesh",new THREE.Mesh(s.geometry,t))},remove:function(){this.el.removeObject3D("mesh")}})},function(t,e,i){(function(){"use strict";function i(){a.BufferGeometry.call(this),this.type="MeshLine",this.positions=[],this.previous=[],this.next=[],this.side=[],this.width=[],this.indices_array=[],this.uvs=[],this.counters=[],this._points=[],this._geom=null,this.widthCallback=null,this.matrixWorld=new a.Matrix4,Object.defineProperties(this,{geometry:{enumerable:!0,get:function(){return this}},geom:{enumerable:!0,get:function(){return this._geom},set:function(t){this.setGeometry(t,this.widthCallback)}},points:{enumerable:!0,get:function(){return this._points},set:function(t){this.setPoints(t,this.widthCallback)}}})}function s(t,e){var i=new a.Matrix4,s=new a.Ray,r=new a.Sphere,n=new a.Vector3,o=this.geometry;if(r.copy(o.boundingSphere),r.applyMatrix4(this.matrixWorld),t.ray.intersectSphere(r,n)!==!1){i.getInverse(this.matrixWorld),s.copy(t.ray).applyMatrix4(i);var u=new a.Vector3,h=new a.Vector3,l=new a.Vector3,p=this instanceof a.LineSegments?2:1,c=o.index,f=o.attributes;if(null!==c)for(var d=c.array,v=f.position.array,y=f.width.array,m=0,b=d.length-1;m<b;m+=p){var x=d[m],A=d[m+1];u.fromArray(v,3*x),h.fromArray(v,3*A);var g=void 0!=y[Math.floor(m/3)]?y[Math.floor(m/3)]:1,w=t.params.Line.threshold+this.material.lineWidth*g/2,M=w*w,_=s.distanceSqToSegment(u,h,n,l);if(!(_>M)){n.applyMatrix4(this.matrixWorld);var C=t.ray.origin.distanceTo(n);C<t.near||C>t.far||(e.push({distance:C,point:l.clone().applyMatrix4(this.matrixWorld),index:m,face:null,faceIndex:null,object:this}),m=b)}}}}function r(t,e,i,s,r){var n;if(t=t.subarray||t.slice?t:t.buffer,i=i.subarray||i.slice?i:i.buffer,t=e?t.subarray?t.subarray(e,r&&e+r):t.slice(e,r&&e+r):t,i.set)i.set(t,s);else for(n=0;n<t.length;n++)i[n+s]=t[n];return i}function n(t){a.ShaderMaterial.call(this,{uniforms:Object.assign({},a.UniformsLib.fog,{lineWidth:{value:1},map:{value:null},useMap:{value:0},alphaMap:{value:null},useAlphaMap:{value:0},color:{value:new a.Color(16777215)},opacity:{value:1},resolution:{value:new a.Vector2(1,1)},sizeAttenuation:{value:1},dashArray:{value:0},dashOffset:{value:0},dashRatio:{value:.5},useDash:{value:0},visibility:{value:1},alphaTest:{value:0},repeat:{value:new a.Vector2(1,1)}}),vertexShader:a.ShaderChunk.meshline_vert,fragmentShader:a.ShaderChunk.meshline_frag}),this.type="MeshLineMaterial",Object.defineProperties(this,{lineWidth:{enumerable:!0,get:function(){return this.uniforms.lineWidth.value},set:function(t){this.uniforms.lineWidth.value=t}},map:{enumerable:!0,get:function(){return this.uniforms.map.value},set:function(t){this.uniforms.map.value=t}},useMap:{enumerable:!0,get:function(){return this.uniforms.useMap.value},set:function(t){this.uniforms.useMap.value=t}},alphaMap:{enumerable:!0,get:function(){return this.uniforms.alphaMap.value},set:function(t){this.uniforms.alphaMap.value=t}},useAlphaMap:{enumerable:!0,get:function(){return this.uniforms.useAlphaMap.value},set:function(t){this.uniforms.useAlphaMap.value=t}},color:{enumerable:!0,get:function(){return this.uniforms.color.value},set:function(t){this.uniforms.color.value=t}},opacity:{enumerable:!0,get:function(){return this.uniforms.opacity.value},set:function(t){this.uniforms.opacity.value=t}},resolution:{enumerable:!0,get:function(){return this.uniforms.resolution.value},set:function(t){this.uniforms.resolution.value.copy(t)}},sizeAttenuation:{enumerable:!0,get:function(){return this.uniforms.sizeAttenuation.value},set:function(t){this.uniforms.sizeAttenuation.value=t}},dashArray:{enumerable:!0,get:function(){return this.uniforms.dashArray.value},set:function(t){this.uniforms.dashArray.value=t,this.useDash=0!==t?1:0}},dashOffset:{enumerable:!0,get:function(){return this.uniforms.dashOffset.value},set:function(t){this.uniforms.dashOffset.value=t}},dashRatio:{enumerable:!0,get:function(){return this.uniforms.dashRatio.value},set:function(t){this.uniforms.dashRatio.value=t}},useDash:{enumerable:!0,get:function(){return this.uniforms.useDash.value},set:function(t){this.uniforms.useDash.value=t}},visibility:{enumerable:!0,get:function(){return this.uniforms.visibility.value},set:function(t){this.uniforms.visibility.value=t}},alphaTest:{enumerable:!0,get:function(){return this.uniforms.alphaTest.value},set:function(t){this.uniforms.alphaTest.value=t}},repeat:{enumerable:!0,get:function(){return this.uniforms.repeat.value},set:function(t){this.uniforms.repeat.value.copy(t)}}}),this.setValues(t)}var a=AFRAME.THREE;if(!a)throw new Error("MeshLine requires three.js");i.prototype=Object.create(a.BufferGeometry.prototype),i.prototype.constructor=i,i.prototype.isMeshLine=!0,i.prototype.setMatrixWorld=function(t){this.matrixWorld=t},i.prototype.setGeometry=function(t,e){this._geometry=t,t instanceof a.BufferGeometry?this.setPoints(t.getAttribute("position").array,e):this.setPoints(t,e)},i.prototype.setPoints=function(t,e){if(!(t instanceof Float32Array||t instanceof Array))return void console.error("ERROR: The BufferArray of points is not instancied correctly.");if(this._points=t,this.widthCallback=e,this.positions=[],this.counters=[],t.length&&t[0]instanceof a.Vector3)for(var i=0;i<t.length;i++){var s=t[i],r=i/t.length;this.positions.push(s.x,s.y,s.z),this.positions.push(s.x,s.y,s.z),this.counters.push(r),this.counters.push(r)}else for(var i=0;i<t.length;i+=3){var r=i/t.length;this.positions.push(t[i],t[i+1],t[i+2]),this.positions.push(t[i],t[i+1],t[i+2]),this.counters.push(r),this.counters.push(r)}this.process()},i.prototype.raycast=s,i.prototype.compareV3=function(t,e){var i=6*t,s=6*e;return this.positions[i]===this.positions[s]&&this.positions[i+1]===this.positions[s+1]&&this.positions[i+2]===this.positions[s+2]},i.prototype.copyV3=function(t){var e=6*t;return[this.positions[e],this.positions[e+1],this.positions[e+2]]},i.prototype.process=function(){var t=this.positions.length/6;this.previous=[],this.next=[],this.side=[],this.width=[],this.indices_array=[],this.uvs=[];var e,i;i=this.compareV3(0,t-1)?this.copyV3(t-2):this.copyV3(0),this.previous.push(i[0],i[1],i[2]),this.previous.push(i[0],i[1],i[2]);for(var s=0;s<t;s++){if(this.side.push(1),this.side.push(-1),e=this.widthCallback?this.widthCallback(s/(t-1)):1,this.width.push(e),this.width.push(e),this.uvs.push(s/(t-1),0),this.uvs.push(s/(t-1),1),s<t-1){i=this.copyV3(s),this.previous.push(i[0],i[1],i[2]),this.previous.push(i[0],i[1],i[2]);var r=2*s;this.indices_array.push(r,r+1,r+2),this.indices_array.push(r+2,r+1,r+3)}s>0&&(i=this.copyV3(s),this.next.push(i[0],i[1],i[2]),this.next.push(i[0],i[1],i[2]))}i=this.compareV3(t-1,0)?this.copyV3(1):this.copyV3(t-1),this.next.push(i[0],i[1],i[2]),this.next.push(i[0],i[1],i[2]),this._attributes&&this._attributes.position.count===this.positions.length?(this._attributes.position.copyArray(new Float32Array(this.positions)),this._attributes.position.needsUpdate=!0,this._attributes.previous.copyArray(new Float32Array(this.previous)),this._attributes.previous.needsUpdate=!0,this._attributes.next.copyArray(new Float32Array(this.next)),this._attributes.next.needsUpdate=!0,this._attributes.side.copyArray(new Float32Array(this.side)),this._attributes.side.needsUpdate=!0,this._attributes.width.copyArray(new Float32Array(this.width)),this._attributes.width.needsUpdate=!0,this._attributes.uv.copyArray(new Float32Array(this.uvs)),this._attributes.uv.needsUpdate=!0,this._attributes.index.copyArray(new Uint16Array(this.indices_array)),this._attributes.index.needsUpdate=!0):this._attributes={position:new a.BufferAttribute(new Float32Array(this.positions),3),previous:new a.BufferAttribute(new Float32Array(this.previous),3),next:new a.BufferAttribute(new Float32Array(this.next),3),side:new a.BufferAttribute(new Float32Array(this.side),1),width:new a.BufferAttribute(new Float32Array(this.width),1),uv:new a.BufferAttribute(new Float32Array(this.uvs),2),index:new a.BufferAttribute(new Uint16Array(this.indices_array),1),counters:new a.BufferAttribute(new Float32Array(this.counters),1)},this.setAttribute("position",this._attributes.position),this.setAttribute("previous",this._attributes.previous),this.setAttribute("next",this._attributes.next),this.setAttribute("side",this._attributes.side),this.setAttribute("width",this._attributes.width),this.setAttribute("uv",this._attributes.uv),this.setAttribute("counters",this._attributes.counters),this.setIndex(this._attributes.index),this.computeBoundingSphere(),this.computeBoundingBox()},i.prototype.advance=function(t){var e=this._attributes.position.array,i=this._attributes.previous.array,s=this._attributes.next.array,n=e.length;r(e,0,i,0,n),r(e,6,e,0,n-6),e[n-6]=t.x,e[n-5]=t.y,e[n-4]=t.z,e[n-3]=t.x,e[n-2]=t.y,e[n-1]=t.z,r(e,6,s,0,n-6),s[n-6]=t.x,s[n-5]=t.y,s[n-4]=t.z,s[n-3]=t.x,s[n-2]=t.y,s[n-1]=t.z,this._attributes.position.needsUpdate=!0,this._attributes.previous.needsUpdate=!0,this._attributes.next.needsUpdate=!0},a.ShaderChunk.meshline_vert=["",a.ShaderChunk.logdepthbuf_pars_vertex,a.ShaderChunk.fog_pars_vertex,"","attribute vec3 previous;","attribute vec3 next;","attribute float side;","attribute float width;","attribute float counters;","","uniform vec2 resolution;","uniform float lineWidth;","uniform vec3 color;","uniform float opacity;","uniform float sizeAttenuation;","","varying vec2 vUV;","varying vec4 vColor;","varying float vCounters;","","vec2 fix( vec4 i, float aspect ) {",""," vec2 res = i.xy / i.w;"," res.x *= aspect;","\t vCounters = counters;"," return res;","","}","","void main() {",""," float aspect = resolution.x / resolution.y;",""," vColor = vec4( color, opacity );"," vUV = uv;",""," mat4 m = projectionMatrix * modelViewMatrix;"," vec4 finalPosition = m * vec4( position, 1.0 );"," vec4 prevPos = m * vec4( previous, 1.0 );"," vec4 nextPos = m * vec4( next, 1.0 );",""," vec2 currentP = fix( finalPosition, aspect );"," vec2 prevP = fix( prevPos, aspect );"," vec2 nextP = fix( nextPos, aspect );",""," float w = lineWidth * width;",""," vec2 dir;"," if( nextP == currentP ) dir = normalize( currentP - prevP );"," else if( prevP == currentP ) dir = normalize( nextP - currentP );"," else {"," vec2 dir1 = normalize( currentP - prevP );"," vec2 dir2 = normalize( nextP - currentP );"," dir = normalize( dir1 + dir2 );",""," vec2 perp = vec2( -dir1.y, dir1.x );"," vec2 miter = vec2( -dir.y, dir.x );"," //w = clamp( w / dot( miter, perp ), 0., 4. * lineWidth * width );",""," }",""," //vec2 normal = ( cross( vec3( dir, 0. ), vec3( 0., 0., 1. ) ) ).xy;"," vec4 normal = vec4( -dir.y, dir.x, 0., 1. );"," normal.xy *= .5 * w;"," normal *= projectionMatrix;"," if( sizeAttenuation == 0. ) {"," normal.xy *= finalPosition.w;"," normal.xy /= ( vec4( resolution, 0., 1. ) * projectionMatrix ).xy;"," }",""," finalPosition.xy += normal.xy * side;",""," gl_Position = finalPosition;","",a.ShaderChunk.logdepthbuf_vertex,a.ShaderChunk.fog_vertex&&" vec4 mvPosition = modelViewMatrix * vec4( position, 1.0 );",a.ShaderChunk.fog_vertex,"}"].join("\n"),a.ShaderChunk.meshline_frag=["",a.ShaderChunk.fog_pars_fragment,a.ShaderChunk.logdepthbuf_pars_fragment,"","uniform sampler2D map;","uniform sampler2D alphaMap;","uniform float useMap;","uniform float useAlphaMap;","uniform float useDash;","uniform float dashArray;","uniform float dashOffset;","uniform float dashRatio;","uniform float visibility;","uniform float alphaTest;","uniform vec2 repeat;","","varying vec2 vUV;","varying vec4 vColor;","varying float vCounters;","","void main() {","",a.ShaderChunk.logdepthbuf_fragment,""," vec4 c = vColor;"," if( useMap == 1. ) c *= texture2D( map, vUV * repeat );"," if( useAlphaMap == 1. ) c.a *= texture2D( alphaMap, vUV * repeat ).a;"," if( c.a < alphaTest ) discard;"," if( useDash == 1. ){"," c.a *= ceil(mod(vCounters + dashOffset, dashArray) - (dashArray * dashRatio));"," }"," gl_FragColor = c;"," gl_FragColor.a *= step(vCounters, visibility);","",a.ShaderChunk.fog_fragment,"}"].join("\n"),n.prototype=Object.create(a.ShaderMaterial.prototype),n.prototype.constructor=n,n.prototype.isMeshLineMaterial=!0,n.prototype.copy=function(t){return a.ShaderMaterial.prototype.copy.call(this,t),this.lineWidth=t.lineWidth,this.map=t.map,this.useMap=t.useMap,this.alphaMap=t.alphaMap,this.useAlphaMap=t.useAlphaMap,this.color.copy(t.color),this.opacity=t.opacity,this.resolution.copy(t.resolution),this.sizeAttenuation=t.sizeAttenuation,this.dashArray.copy(t.dashArray),this.dashOffset.copy(t.dashOffset),this.dashRatio.copy(t.dashRatio),this.useDash=t.useDash,this.visibility=t.visibility,this.alphaTest=t.alphaTest,this.repeat.copy(t.repeat),this},"undefined"!=typeof t&&t.exports&&(e=t.exports={MeshLine:i,MeshLineMaterial:n,MeshLineRaycast:s}),e.MeshLine=i,e.MeshLineMaterial=n,e.MeshLineRaycast=s}).call(this)}]);
14,607
14,607
0.733279
87513039833515310ab25dbcb4751649bf702393
289
kt
Kotlin
ocula-example/src/main/kotlin/cn/har01d/ocula/examples/selenium/HttpProxyExample.kt
power721/ocula
3aa8649301835965747943c5e32893c072cef3a3
[ "MIT" ]
null
null
null
ocula-example/src/main/kotlin/cn/har01d/ocula/examples/selenium/HttpProxyExample.kt
power721/ocula
3aa8649301835965747943c5e32893c072cef3a3
[ "MIT" ]
null
null
null
ocula-example/src/main/kotlin/cn/har01d/ocula/examples/selenium/HttpProxyExample.kt
power721/ocula
3aa8649301835965747943c5e32893c072cef3a3
[ "MIT" ]
null
null
null
package cn.har01d.ocula.examples.selenium import cn.har01d.ocula.selenium.SimpleSeleniumSpider fun main() { SimpleSeleniumSpider("https://www.google.com/ncr") { _, res -> res.select("div.fbar div span").text() }.apply { httpProxy("127.0.0.1", 1080) }.run() }
24.083333
66
0.650519
fed2d89ddfecac77d6fcb4b6f93e9fc8c890c1f8
1,695
sql
SQL
dbMaint/migrate/migrate0_6_6-0_6_8.sql
lsst-camera-dh/eTraveler-backend
c236014034318ab594b3cb66f7b4a8ea81a4ed8d
[ "BSD-3-Clause-LBNL" ]
null
null
null
dbMaint/migrate/migrate0_6_6-0_6_8.sql
lsst-camera-dh/eTraveler-backend
c236014034318ab594b3cb66f7b4a8ea81a4ed8d
[ "BSD-3-Clause-LBNL" ]
null
null
null
dbMaint/migrate/migrate0_6_6-0_6_8.sql
lsst-camera-dh/eTraveler-backend
c236014034318ab594b3cb66f7b4a8ea81a4ed8d
[ "BSD-3-Clause-LBNL" ]
null
null
null
# Add table # Alter table: new columns alter table HardwareStatus add isStatusValue tinyint default 1 NOT NULL COMMENT "set to 0 for labels" after name; alter table HardwareStatus add systemEntry tinyint default 1 NOT NULL COMMENT "set to 0 for user entry" after isStatusValue; alter table HardwareStatusHistory add reason varchar(1024) NOT NULL default "" COMMENT "why change was made" after activityId; alter table HardwareStatusHistory add adding tinyint default 1 NOT NULL COMMENT "set to 0 for removal of label. Regular status cannot be explicitly removed" after reason; alter table InputPattern add isOptional tinyint default 0 NOT NULL COMMENT "operator need not supply an optional input" after choiceField; # New entries insert into HardwareStatus (name, isStatusValue, systemEntry, description, createdBy, creationTS) values ("non-compliant", 0, 1, 'mark a part as suspect', 'jrb', UTC_TIMESTAMP()); insert into InternalAction (name, maskBit,createdBy, creationTS) values ('removeLabel', '128', 'jrb', UTC_TIMESTAMP()); insert into InternalAction (name, maskBit,createdBy, creationTS) values ('addLabel', '256', 'jrb', UTC_TIMESTAMP()); insert into PermissionGroup set name='qualityAssurance', maskBit='16', createdBy='jrb', creationTS=UTC_TIMESTAMP(); insert into TravelerTypeState set name="approved", createdBy='jrb', creationTS=UTC_TIMESTAMP(); INSERT into DbRelease (major, minor, patch, status, createdBy, creationTS, lastModTS, remarks) values (0, 6, 8, 'TEST', 'jrb', UTC_TIMESTAMP(), UTC_TIMESTAMP(), 'Support labels: non-status attributes of hardware components. Also optional operator inputs, new PermissionGroup for QA and approved entry in TravelerTypeState');
80.714286
325
0.784071
eadd87dc6838d96085112d5e4cbc95b57608ed64
2,279
kt
Kotlin
app/src/main/java/com/outcatcher/manhwa/smoker/fragments/runs/CustomAdapter.kt
outcatcher/ManhwaSmoker
5178d4c46e4f1c92521a7db3effd8d054663797b
[ "MIT" ]
null
null
null
app/src/main/java/com/outcatcher/manhwa/smoker/fragments/runs/CustomAdapter.kt
outcatcher/ManhwaSmoker
5178d4c46e4f1c92521a7db3effd8d054663797b
[ "MIT" ]
null
null
null
app/src/main/java/com/outcatcher/manhwa/smoker/fragments/runs/CustomAdapter.kt
outcatcher/ManhwaSmoker
5178d4c46e4f1c92521a7db3effd8d054663797b
[ "MIT" ]
null
null
null
package com.outcatcher.manhwa.smoker.fragments.runs import android.support.v7.widget.RecyclerView import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ProgressBar import android.widget.TextView import com.outcatcher.manhwa.smoker.R import com.outcatcher.manhwa.smoker.backend.TestStatus import kotlin.math.roundToInt /** * Provide views to RecyclerView with data from RunsRecyclerViewFragment.dataset */ class CustomAdapter(private val context: RunsRecyclerViewFragment) : RecyclerView.Adapter<CustomAdapter.ViewHolder>() { /** * Provide a reference to the type of views that you are using (custom ViewHolder) */ class ViewHolder(v: View) : RecyclerView.ViewHolder(v) { val rowText = v.findViewById<View>(R.id.main_activity_title) as TextView val rowProgress = v.findViewById<View>(R.id.progressBar) as ProgressBar } override fun onCreateViewHolder(viewGroup: ViewGroup, viewType: Int): ViewHolder { val v = LayoutInflater.from(viewGroup.context) .inflate(R.layout.row_item, viewGroup, false) return ViewHolder(v) } // Replace the contents of a view (invoked by the layout manager) override fun onBindViewHolder(viewHolder: ViewHolder, position: Int) { Log.d(TAG, "Element $position set.") val item = context.dataset[position] viewHolder.rowText.text = item.description val max = viewHolder.rowProgress.max viewHolder.rowProgress.progress = (item.finishedPercent * max).roundToInt() + 1 fun ifFinished() { val color = when (item.status) { TestStatus.FAIL -> context.resources.getColor(R.color.colorFail, null) TestStatus.PASS -> context.resources.getColor(R.color.colorPass, null) else -> return } viewHolder.rowText.setBackgroundColor(color) viewHolder.rowProgress.visibility = View.GONE } ifFinished() } // Return the size of your data set (invoked by the layout manager) override fun getItemCount(): Int { return context.dataset.size } companion object { private const val TAG = "CustomAdapter" } }
35.609375
119
0.695042
142a17d1f43f5474342111ade8d3f50c34bf72cb
1,550
kt
Kotlin
Themes/src/commonMain/kotlin/io/nacular/doodle/theme/ThemePicker.kt
bodiam/doodle
bd230361a1254d23fc5cc5c0b7ca3999b4f74006
[ "MIT" ]
null
null
null
Themes/src/commonMain/kotlin/io/nacular/doodle/theme/ThemePicker.kt
bodiam/doodle
bd230361a1254d23fc5cc5c0b7ca3999b4f74006
[ "MIT" ]
null
null
null
Themes/src/commonMain/kotlin/io/nacular/doodle/theme/ThemePicker.kt
bodiam/doodle
bd230361a1254d23fc5cc5c0b7ca3999b4f74006
[ "MIT" ]
null
null
null
package io.nacular.doodle.theme import io.nacular.doodle.controls.spinner.MutableListModel import io.nacular.doodle.controls.spinner.Spinner import io.nacular.doodle.core.View import io.nacular.doodle.layout.constrain /** * Created by Nicholas Eddy on 8/30/18. */ public class ThemePicker(themeManager: ThemeManager): View() { private val model = MutableListModel<Theme?>() private val spinner = Spinner(model) init { updateAvailableThemes(emptySet(), themeManager.themes) updateSelected(themeManager.selected) themeManager.selectionChanged += { _,_,new -> updateSelected(new) } themeManager.themes.changed += { _,removed,added -> updateAvailableThemes(removed, added) } children += spinner layout = constrain(spinner) { it.top = it.parent.top it.left = it.parent.left it.right = it.parent.right it.bottom = it.parent.bottom } spinner.changed += { themeManager.selected = it.value } } private fun updateSelected(theme: Theme?) { spinner.apply { while (value != theme && hasNext) { next() } while (value != theme && hasPrevious) { previous() } } } private fun updateAvailableThemes(removed: Set<Theme>, added: Set<Theme?>) { model.values.batch { removeAll(removed) addAll (added ) } } }
25.833333
80
0.579355
20b5d4cb6512edd7f6a44f06b8db73266f9ac68b
16,116
css
CSS
src/server/public/main.css
WKHAllen/Indigio
eee18026619fed9e41e2bdb9886fc7eec8cb0fcb
[ "MIT" ]
1
2019-09-05T00:28:12.000Z
2019-09-05T00:28:12.000Z
src/server/public/main.css
WKHAllen/Indigio
eee18026619fed9e41e2bdb9886fc7eec8cb0fcb
[ "MIT" ]
1
2021-05-10T10:06:15.000Z
2021-05-10T10:06:15.000Z
src/server/public/main.css
WKHAllen/Indigio
eee18026619fed9e41e2bdb9886fc7eec8cb0fcb
[ "MIT" ]
null
null
null
:root { --scrollbar-width: 8px; --std-padding: 8px; --std-border-radius: 4px; --std-outline: 0 0 0 2pt #8fafdf; --std-scrollarea-height: 600px; --menu-bar-height: 40px; --rooms-panel-width: 250px; --room-li-height: 50px; --room-li-img-height: 32px; --message-height: 32px; --message-img-height: 24px; --input-height: 60px; --input-box-height: 24px; --primary-color: #001f4f; --secondary-color: white; --secondary-hover: #bfcfff; --secondary-active: #7f9fff; --primary-text-color: white; --secondary-text-color: black; --tertiary-text-color: #7f9fff; --tertiary-text-hover: #5f7fef; --tertiary-text-active: #3f5fdf; --selection-color: #004fcf; --error-text-color: #cf0000; --success-text-color: #00af3f; --menu-color: #0f0faf; --menu-hover: #1f2fbf; --menu-active: #2f4fcf; --menu-dark-color: #2f0f8f; --menu-dark-hover: #3f1faf; --menu-dark-active: #4f2fcf; --menu-selected: #0f3faf; --menu-selected-hover: #1f4fbf; --menu-selected-active: #2f5fcf; --menu-unread: #4f1faf; --menu-unread-hover: #5f2fbf; --menu-unread-active: #6f3fcf; --notification: #1f6fbf; --notification-hover: #2f7fcf; --notification-active: #3f8fdf; --input-color: #1f2fbf; --message-user-color: #00afff; --message-timestamp-color: #9f9fcf; --message-text-size: 12pt; --friend-button-width: 80px; } ::-webkit-scrollbar { width: calc(var(--std-padding) * 0.75); z-index: 1000; } ::-webkit-scrollbar-thumb { background-color: rgba(63, 95, 223, 0.5); border-radius: 9999px; } ::-webkit-scrollbar-thumb:hover { background-color: rgba(95, 127, 239, 0.5); } ::-webkit-scrollbar-thumb:active { background-color: rgba(127, 159, 255, 0.5); } ::-moz-selection { background-color: var(--selection-color); } ::selection { background-color: var(--selection-color); } * { margin: 0; padding: 0; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } html { width: 100%; height: 100%; } body { padding: 16px; font-family: 'Titillium Web', sans-serif; font-size: 14pt; background-color: var(--primary-color); color: var(--primary-text-color); } h1, h2, h3, h4, h5, h6 { padding: 16px 0px; font-weight: 500; } h1 { padding: 16px; } p { text-align: justify; } input[type=text], input[type=email], input[type=password] { background-color: var(--secondary-color); color: var(--secondary-text-color); width: calc(100% - 2 * var(--std-padding)); padding: var(--std-padding); border-radius: var(--std-border-radius); border: none; outline: none; font-family: 'Titillium Web', sans-serif; font-size: 12pt; } input[type=text]:hover, input[type=email]:hover, input[type=password]:hover { background-color: var(--secondary-hover); } input[type=text]:active, input[type=email]:active, input[type=password]:active { background-color: var(--secondary-active); } input[type=text]:focus, input[type=email]:focus, input[type=password]:focus { background-color: var(--secondary-active); box-shadow: var(--std-outline); } button { background-color: var(--secondary-color); color: var(--secondary-text-color); padding: 8px; border-radius: var(--std-border-radius); border: none; outline: none; font-family: 'Titillium Web', sans-serif; font-size: 12pt; cursor: pointer; } button:hover { background-color: var(--secondary-hover); } button:active { background-color: var(--secondary-active); } button:focus { box-shadow: var(--std-outline); } button:disabled { background-color: var(--secondary-color); cursor: default; } a { color: var(--tertiary-text-color); text-decoration: none; border-radius: var(--std-border-radius); outline: none; } a:hover { color: var(--tertiary-text-hover); } a:active { color: var(--tertiary-text-active); } a:focus { box-shadow: var(--std-outline); } .rounded { border-radius: 9999px; padding: 8px 16px; } .centered-text { text-align: center; } .padded { padding: var(--std-padding); } .middle-content { max-width: 600px; margin: auto; } .form-label { margin-top: 12px; margin-bottom: 4px; } .form-input { margin-top: 4px; margin-bottom: 12px; } .form-button { margin: 12px 0px; padding: 8px 12px; } .invisible { display: none; } #error-text { color: var(--error-text-color); } .smaller-text { font-size: 11pt; font-style: italic; } .main { margin: 0; padding: 0; width: 100%; height: 100%; } .main-div { padding: calc(2 * var(--std-padding)); height: calc(100% - var(--menu-bar-height) - 4 * var(--std-padding)); overflow: hidden; } .main-div * { -webkit-touch-callout: text; -webkit-user-select: text; -khtml-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text; } .main-div:hover { overflow: overlay; } #menu-bar { -webkit-app-region: drag; position: relative; background-color: var(--menu-color); height: var(--menu-bar-height); } #menu-bar img { width: calc(var(--menu-bar-height) * 0.8); height: calc(var(--menu-bar-height) * 0.8); padding: calc(var(--menu-bar-height) * 0.1); } #menu-list { -webkit-app-region: no-drag; position: absolute; top: 0; left: 0; list-style-type: none; background-color: var(--menu-color); height: 100%; margin-left: var(--menu-bar-height); } #menu-list li { display: inline-block; height: 100%; } #menu-list li a:focus { box-shadow: none; } #menu-list li a button { color: var(--secondary-color); background-color: var(--menu-color); height: 100%; padding: 0 calc(var(--std-padding) * 1.2); border-radius: 0; outline: none; font-size: 10pt; } #menu-list li a button:hover { background-color: var(--menu-hover); } #menu-list li a button:active { background-color: var(--menu-active); } #menu-list li a button:focus { box-shadow: none; } #menu-list li a button.notification { background-color: var(--notification); } #menu-list li a button.notification:hover { background-color: var(--notification-hover); } #menu-list li a button.notification:active { background-color: var(--notification-active); } .main-title { position: absolute; top: 0; width: 100%; margin: auto; } .title { text-align: center; line-height: var(--menu-bar-height); padding: 0; } #window-menu { -webkit-app-region: no-drag; position: absolute; top: 0; right: 0; list-style-type: none; background-color: var(--menu-color); height: 100%; } #window-menu li { display: inline-block; width: var(--menu-bar-height); height: 100%; } #window-menu li button { color: var(--secondary-color); background-color: var(--menu-color); width: 100%; height: 100%; border-radius: 0; outline: none; padding: 0; } #window-menu li button:hover { background-color: var(--menu-hover); } #window-menu li button:active { background-color: var(--menu-active); } #window-menu li button:focus { box-shadow: none; } #window-menu li button img { width: calc(var(--menu-bar-height) * 0.5); height: calc(var(--menu-bar-height) * 0.5); padding: calc(var(--menu-bar-height) * 0.25); } .main-screen { width: 100%; height: calc(100vh - var(--menu-bar-height)); } .main-screen::after { clear: both; } .height-expand { align-items: stretch; } #rooms-panel { background-color: var(--menu-dark-color); float: left; width: var(--rooms-panel-width); height: 100%; } #room-list { width: 100%; height: 100%; list-style-type: none; overflow: hidden; } #room-list:hover { overflow: overlay; } #room-list li { height: calc(var(--room-li-height) - 2 * var(--std-padding)); line-height: calc(var(--room-li-height) - 2 * var(--std-padding)); padding: var(--std-padding); } #room-list li:hover { cursor: pointer; } #room-list li img { width: calc(var(--room-li-height) - 2 * var(--std-padding)); height: calc(var(--room-li-height) - 2 * var(--std-padding)); float: left; } #room-list li span { width: calc(100% - var(--room-li-height)); padding: 0 var(--std-padding); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; float: left; font-size: 12pt; } #room-list li::after { clear: both; } #room-list li:hover { background-color: var(--menu-dark-hover); } #room-list li:active { background-color: var(--menu-dark-active); } #room-list li.selected-room { background-color: var(--menu-selected); } #room-list li.selected-room:hover { background-color: var(--menu-selected-hover); } #room-list li.selected-room:active { background-color: var(--menu-selected-active); } #room-list li.unread-room { background-color: var(--menu-unread); } #room-list li.unread-room:hover { background-color: var(--menu-unread-hover); } #room-list li.unread-room:active { background-color: var(--menu-unread-active); } #room-list button { width: 100%; } #current-room { float: left; width: calc(100% - var(--rooms-panel-width)); height: calc(100vh - var(--menu-bar-height)); } #current-room * { -webkit-touch-callout: text; -webkit-user-select: text; -khtml-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text; } #messages { width: calc(100% - 2 * var(--std-padding)); height: calc(100% - var(--input-height) - 2 * var(--std-padding)); padding: var(--std-padding); overflow: hidden; } #messages:hover { overflow: overlay; } .message { min-height: var(--message-height); line-height: var(--message-height); font-size: var(--message-text-size); overflow-y: auto; } .message img { float: left; width: var(--message-img-height); height: var(--message-img-height); padding: calc((var(--message-height) - var(--message-img-height)) / 2); } .message .displayname { color: var(--message-user-color); padding-left: calc(var(--std-padding) / 2); padding-right: var(--std-padding); } .message .timestamp { color: var(--message-timestamp-color); padding-right: var(--std-padding); } .message .message-content { color: var(--primary-text-color); word-wrap: break-word; max-width: 100%; } .message .displayname, .message .timestamp, .message .message-content { float: left; white-space: normal; } .message::after { clear: both; } #input { background-color: var(--input-color); padding: calc((var(--input-height) - var(--input-box-height) - 2 * var(--std-padding)) / 2); } #input input { height: var(--input-box-height); } .settings-option { padding-bottom: var(--std-padding); } .checkbox-container { display: block; position: relative; padding-left: 25px; margin-top: var(--std-padding); cursor: pointer; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .checkbox-container input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; } .checkmark { position: absolute; top: 4px; left: 0; height: 20px; width: 20px; background-color: var(--secondary-color); border-radius: 4px; } .checkbox-container:hover input ~ .checkmark { background-color: var(--secondary-hover); } .checkbox-container:active input ~ .checkmark { background-color: var(--secondary-active); } .checkbox-container input:checked ~ .checkmark { background-color: #005fff; } .checkbox-container:hover input:checked ~ .checkmark { background-color: #004fef; } .checkbox-container:active input:checked ~ .checkmark { background-color: #003fdf; } .checkmark:after { content: ""; position: absolute; display: none; } .checkbox-container input:checked ~ .checkmark:after { display: block; } .checkbox-container .checkmark:after { left: 7px; top: 3px; width: 4px; height: 8px; border: solid white; border-width: 0 3px 3px 0; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); } .account-info { margin-bottom: var(--std-padding); } .account-info tr { height: 40px; } .account-info tr td { padding-right: var(--std-padding); } .account-info tr td.wrap { white-space: -moz-pre-wrap !important; white-space: -pre-wrap; white-space: -o-pre-wrap; white-space: pre-wrap; word-wrap: break-word; white-space: -webkit-pre-wrap; word-break: break-all; white-space: normal; } .std-panel { background-color: var(--menu-dark-color); width: 100%; max-height: var(--std-scrollarea-height); overflow: hidden; } .std-panel:hover { overflow: overlay; } .std-panel ul { list-style-type: none; max-height: 100%; } .std-panel ul li { height: var(--room-li-height); line-height: var(--room-li-height); } .std-panel ul li img { width: var(--room-li-img-height); height: var(--room-li-img-height); padding: calc((var(--room-li-height) - var(--room-li-img-height)) / 2); float: left; } .std-panel ul li span { width: calc(100% - var(--room-li-height)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; float: left; font-size: 12pt; } .std-panel ul li::after { clear: both; } .std-panel ul li button { color: var(--secondary-color); background-color: var(--menu-dark-color); height: 100%; width: var(--friend-button-width); padding: 0 calc(var(--std-padding) * 1.4); border-radius: 0; outline: none; float: right; } .std-panel ul li button:hover { background-color: var(--menu-dark-hover); } .std-panel ul li button:active { background-color: var(--menu-dark-active); } .std-panel ul li button:focus { box-shadow: none; } #search-results-list li span { width: calc(100% - var(--room-li-height) - 2 * var(--friend-button-width)); } #friends-list li span { width: calc(100% - var(--room-li-height) - 3 * var(--friend-button-width)); } #friends-incoming li span { width: calc(100% - var(--room-li-height) - 2 * var(--friend-button-width)); } #friends-outgoing li span { width: calc(100% - var(--room-li-height) - var(--friend-button-width)); } #blocked-users li span { width: calc(100% - var(--room-li-height) - var(--friend-button-width)); } #room-members-list li span { width: calc(100% - var(--room-li-height) - var(--friend-button-width)); } #room-members-list li span.creator { width: calc(100% - var(--room-li-height) - 2 * var(--friend-button-width)); } .invisible { display: none; } .centered-div { margin: auto; text-align: center; } .loading { color: var(--message-timestamp-color); } .space-above { margin-top: var(--std-padding); } .space-below { margin-bottom: var(--std-padding); }
21.039164
97
0.591586
0e7bcc18ff782ffcbd3ff3f4160efa2fcaef3e98
2,992
html
HTML
portfolio/cep/portfolio/gravityhearts/index.html
mqtik/mqtik.github.io
05c9606e30c9f0a90742af34c091c2d3de65a1c6
[ "MIT" ]
null
null
null
portfolio/cep/portfolio/gravityhearts/index.html
mqtik/mqtik.github.io
05c9606e30c9f0a90742af34c091c2d3de65a1c6
[ "MIT" ]
1
2018-05-21T18:33:06.000Z
2018-05-21T18:33:06.000Z
portfolio/gravityhearts/index.html
mQckingbird/mQckingbird.github.io
fcdafb1a9f6666cadf964b56c1c94281017d4b57
[ "MIT" ]
null
null
null
<!DOCTYPE html><html class=''> <head> <title>No apples</title> <style class="mtklove">body{ margin: 0; padding: 0; overflow: hidden; }</style></head><body> <script src='https://cdnjs.cloudflare.com/ajax/libs/three.js/r79/three.min.js'></script> <script>'use strict'; var container, stats; var camera, scene, renderer; var group, shapes = []; init(); function init() { container = document.createElement('div'); document.body.appendChild(container); scene = new THREE.Scene(); camera = new THREE.PerspectiveCamera(50, window.innerWidth / window.innerHeight, 1, 1000); camera.position.set(0, 150, 500); scene.add(camera); var light = new THREE.DirectionalLight(0x9955ff, 2); light.position.x = -500; light.position.y = 500; camera.add(light); var light = new THREE.DirectionalLight(0x9955ff, 1); light.position.x = 500; light.position.y = -500; light.position.z = -150; camera.add(light); scene.background = new THREE.Color('#993355'); var x = -25, y = -250; var heartShape = new THREE.Shape(); heartShape.moveTo(x + 25, y + 25); heartShape.bezierCurveTo(x + 25, y + 25, x + 20, y, x, y); heartShape.bezierCurveTo(x - 30, y, x - 30, y + 35, x - 30, y + 35); heartShape.bezierCurveTo(x - 30, y + 55, x - 10, y + 77, x + 25, y + 95); heartShape.bezierCurveTo(x + 60, y + 77, x + 80, y + 55, x + 80, y + 35); heartShape.bezierCurveTo(x + 80, y + 35, x + 80, y, x + 50, y); heartShape.bezierCurveTo(x + 35, y, x + 25, y + 25, x + 25, y + 25); var extrudeSettings = { amount: 1, bevelEnabled: true, bevelSegments: 20, steps: 2, bevelSize: 20, bevelThickness: 10 }; for (var i = -window.innerWidth / 2; i < window.innerWidth / 2; i += 60 + Math.random() * 50) { for (var j = 0; j < window.innerHeight; j += 60 + Math.random() * 50) { addShape(heartShape, extrudeSettings, '#ff0022', i, j, 0, Math.random() * 0.8, Math.random() * 0.8, Math.PI, 0.1 + Math.random() * 0.3); } } renderer = new THREE.WebGLRenderer({ antialias: true }); renderer.setPixelRatio(window.devicePixelRatio); renderer.setSize(window.innerWidth, window.innerHeight); container.appendChild(renderer.domElement); render(); } function addShape(shape, extrudeSettings, color, x, y, z, rx, ry, rz, s) { var geometry = new THREE.ExtrudeGeometry(shape, extrudeSettings); var mesh = new THREE.Mesh(geometry, new THREE.MeshPhongMaterial({ color: color })); mesh.position.set(x + 25, y - 50, z); mesh.rotation.set(rx, ry, rz); mesh.scale.set(s, s, s); shapes.push({ shape: mesh, x: Math.random(), y: Math.random(), z: Math.random() }); scene.add(mesh); } function animate() { var speed = 0.05; shapes.forEach(function (el) { el.shape.rotation.x += el.x * speed; el.shape.rotation.y += el.y * speed; el.shape.rotation.z += el.z * speed; }); } function render() { requestAnimationFrame(render); animate(); renderer.render(scene, camera); } //# sourceURL=matikheart.js </script> </body></html>
31.829787
142
0.64639
eb7539d348eb9281cced6ba98718cdddb623bf37
259
rs
Rust
src/bin/netmgr/src/network/mod.rs
ariadiamond/twizzler-Rust
5f5d01bac9127ca1d64bb8aa472a04f6634fc3a9
[ "BSD-3-Clause" ]
null
null
null
src/bin/netmgr/src/network/mod.rs
ariadiamond/twizzler-Rust
5f5d01bac9127ca1d64bb8aa472a04f6634fc3a9
[ "BSD-3-Clause" ]
null
null
null
src/bin/netmgr/src/network/mod.rs
ariadiamond/twizzler-Rust
5f5d01bac9127ca1d64bb8aa472a04f6634fc3a9
[ "BSD-3-Clause" ]
null
null
null
use twizzler_net::{PacketData, TxCompletion}; use crate::{endpoint::EndPointKey, HandleRef}; pub mod ipv4; pub async fn send_raw_packet( handle: &HandleRef, endpoint_info: EndPointKey, packet_data: PacketData, ) -> TxCompletion { todo!() }
18.5
46
0.710425
84cbfb26867391999c7c63a11c64447976942105
7,273
h
C
arm-linux-ulibc-4.8.5/usr/arm-nuvoton-linux-uclibcgnueabi/sysroot/usr/include/libnl3/netlink/xfrm/sp.h
next-generate/armv5TE-toolchain
8f107ce06fdc6d7f6e56f3b1b1c9f0f13cfa6727
[ "Apache-2.0" ]
2
2020-11-19T07:09:00.000Z
2020-11-22T12:25:17.000Z
arm-linux-ulibc-4.8.5/usr/arm-nuvoton-linux-uclibcgnueabi/sysroot/usr/include/libnl3/netlink/xfrm/sp.h
next-generate/armv5TE-toolchain
8f107ce06fdc6d7f6e56f3b1b1c9f0f13cfa6727
[ "Apache-2.0" ]
5
2019-01-28T03:53:40.000Z
2019-02-13T01:35:25.000Z
SERVER/nfsroot/usr/include/libnl3/netlink/xfrm/sp.h
minkyoungAn/MDS_BLACKBOX
0fb41fe73b9a6337f8c7fbede52fa2bc3ee6659f
[ "MIT" ]
null
null
null
/* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ * * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the * distribution. * * Neither the name of Texas Instruments Incorporated nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * */ #ifndef NETLINK_XFRM_SP_H_ #define NETLINK_XFRM_SP_H_ #include <netlink/netlink.h> #include <netlink/cache.h> #include <netlink/addr.h> #include <netlink/xfrm/template.h> #include <netlink/xfrm/lifetime.h> #include <linux/xfrm.h> #ifdef __cplusplus extern "C" { #endif struct xfrmnl_sp; extern struct xfrmnl_sp* xfrmnl_sp_alloc(void); extern void xfrmnl_sp_put(struct xfrmnl_sp *); extern int xfrmnl_sp_alloc_cache(struct nl_sock *, struct nl_cache **); extern struct xfrmnl_sp* xfrmnl_sp_get(struct nl_cache*, unsigned int, unsigned int); extern int xfrmnl_sp_parse(struct nlmsghdr *n, struct xfrmnl_sp **result); extern int xfrmnl_sp_build_get_request(unsigned int, unsigned int, unsigned int, unsigned int, struct nl_msg **); extern int xfrmnl_sp_get_kernel(struct nl_sock*, unsigned int, unsigned int, unsigned int, unsigned int, struct xfrmnl_sp**); extern int xfrmnl_sp_add(struct nl_sock*, struct xfrmnl_sp*, int); extern int xfrmnl_sp_build_add_request(struct xfrmnl_sp*, int, struct nl_msg **); extern int xfrmnl_sp_update(struct nl_sock*, struct xfrmnl_sp*, int); extern int xfrmnl_sp_build_update_request(struct xfrmnl_sp*, int, struct nl_msg **); extern int xfrmnl_sp_delete(struct nl_sock*, struct xfrmnl_sp*, int); extern int xfrmnl_sp_build_delete_request(struct xfrmnl_sp*, int, struct nl_msg **); extern struct xfrmnl_sel* xfrmnl_sp_get_sel (struct xfrmnl_sp*); extern int xfrmnl_sp_set_sel (struct xfrmnl_sp*, struct xfrmnl_sel*); extern struct xfrmnl_ltime_cfg* xfrmnl_sp_get_lifetime_cfg (struct xfrmnl_sp*); extern int xfrmnl_sp_set_lifetime_cfg (struct xfrmnl_sp*, struct xfrmnl_ltime_cfg*); extern int xfrmnl_sp_get_curlifetime (struct xfrmnl_sp*, unsigned long long int*, unsigned long long int*, unsigned long long int*, unsigned long long int*); extern int xfrmnl_sp_get_priority (struct xfrmnl_sp*); extern int xfrmnl_sp_set_priority (struct xfrmnl_sp*, unsigned int); extern int xfrmnl_sp_get_index (struct xfrmnl_sp*); extern int xfrmnl_sp_set_index (struct xfrmnl_sp*, unsigned int); extern int xfrmnl_sp_get_dir (struct xfrmnl_sp*); extern int xfrmnl_sp_set_dir (struct xfrmnl_sp*, unsigned int); extern int xfrmnl_sp_get_action (struct xfrmnl_sp*); extern int xfrmnl_sp_set_action (struct xfrmnl_sp*, unsigned int); extern int xfrmnl_sp_get_flags (struct xfrmnl_sp*); extern int xfrmnl_sp_set_flags (struct xfrmnl_sp*, unsigned int); extern int xfrmnl_sp_get_share (struct xfrmnl_sp*); extern int xfrmnl_sp_set_share (struct xfrmnl_sp*, unsigned int); extern int xfrmnl_sp_get_sec_ctx (struct xfrmnl_sp*, unsigned int*, unsigned int*, unsigned int*, unsigned int*, unsigned int*, char*); extern int xfrmnl_sp_set_sec_ctx (struct xfrmnl_sp*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, char*); extern int xfrmnl_sp_get_userpolicy_type (struct xfrmnl_sp*); extern int xfrmnl_sp_set_userpolicy_type (struct xfrmnl_sp*, unsigned int); extern void xfrmnl_sp_add_usertemplate(struct xfrmnl_sp*, struct xfrmnl_user_tmpl*); extern void xfrmnl_sp_remove_usertemplate(struct xfrmnl_sp*, struct xfrmnl_user_tmpl*); extern struct nl_list_head* xfrmnl_sp_get_usertemplates(struct xfrmnl_sp*); extern int xfrmnl_sp_get_nusertemplates(struct xfrmnl_sp*); extern void xfrmnl_sp_foreach_usertemplate(struct xfrmnl_sp*, void (*cb)(struct xfrmnl_user_tmpl*, void *), void *arg); extern struct xfrmnl_user_tmpl* xfrmnl_sp_usertemplate_n(struct xfrmnl_sp*, int); extern int xfrmnl_sp_get_mark (struct xfrmnl_sp*, unsigned int*, unsigned int*); extern int xfrmnl_sp_set_mark (struct xfrmnl_sp*, unsigned int, unsigned int); extern char* xfrmnl_sp_action2str(int, char *, size_t); extern int xfrmnl_sp_str2action(const char *); extern char* xfrmnl_sp_flags2str(int, char *, size_t); extern int xfrmnl_sp_str2flag(const char *); extern char* xfrmnl_sp_type2str(int, char *, size_t); extern int xfrmnl_sp_str2type(const char *); extern char* xfrmnl_sp_dir2str(int, char *, size_t); extern int xfrmnl_sp_str2dir(const char *); extern char* xfrmnl_sp_share2str(int, char *, size_t); extern int xfrmnl_sp_str2share(const char *); extern int xfrmnl_sp_index2dir (unsigned int); #ifdef __cplusplus } #endif #endif
50.86014
108
0.630001
9c53fc399afc983242334b78993eb155e5e5e6c7
428
js
JavaScript
rollup.config.js
WikiLogic/app
08ca7dd2df18d552e458d15cc8c3fffaf2e5760a
[ "Apache-2.0" ]
1
2018-02-17T19:09:13.000Z
2018-02-17T19:09:13.000Z
rollup.config.js
WikiLogic/app
08ca7dd2df18d552e458d15cc8c3fffaf2e5760a
[ "Apache-2.0" ]
6
2017-03-28T13:25:39.000Z
2017-04-03T08:53:52.000Z
rollup.config.js
WikiLogic/app
08ca7dd2df18d552e458d15cc8c3fffaf2e5760a
[ "Apache-2.0" ]
null
null
null
import babel from 'rollup-plugin-babel'; import resolve from 'rollup-plugin-node-resolve'; import commonjs from 'rollup-plugin-commonjs'; import uglify from 'rollup-plugin-uglify'; export default { entry: 'views/components/main.js', format: 'cjs', plugins: [ babel(), resolve({ jsnext: true, main: true, browser: true, }), commonjs(), ], dest: './static/bundle.js' }; //uglify()
21.4
49
0.635514
6525a7237e80a2dde7d058af9b7795a2a3cd2f21
4,247
py
Python
paas-ce/paas/paas/esb/apps/guide/component_template/en/hcp/get_host_list.py
renmcc/bk-PaaS
1c9e4e9cfb40fc3375cd6b5f08af8c84203de246
[ "Apache-2.0" ]
2
2019-09-22T13:54:53.000Z
2021-07-29T02:31:40.000Z
paas-ce/paas/paas/esb/apps/guide/component_template/en/hcp/get_host_list.py
renmcc/bk-PaaS
1c9e4e9cfb40fc3375cd6b5f08af8c84203de246
[ "Apache-2.0" ]
10
2021-02-08T20:32:31.000Z
2022-03-11T23:47:06.000Z
paas-ce/paas/paas/esb/apps/guide/component_template/en/hcp/get_host_list.py
renmcc/bk-PaaS
1c9e4e9cfb40fc3375cd6b5f08af8c84203de246
[ "Apache-2.0" ]
3
2019-08-22T09:05:31.000Z
2021-03-23T14:21:19.000Z
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://opensource.org/licenses/MIT 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. """ # noqa import json from django import forms from common.forms import BaseComponentForm, TypeCheckField from components.component import Component from .toolkit import configs class GetHostList(Component): """ apiLabel get host list apiMethod GET ### Functional Description Get host list ### Request Parameters {{ common_args_desc }} #### Interface Parameters | Field | Type | Required | Description | |-----------|------------|--------|------------| | app_id | int | Yes | Business ID | | ip_list | array | No | Host IP address, including ip and bk_cloud_id, bk_cloud_id represents cloud area ID | ### Request Parameters Example ```python { "bk_app_code": "esb_test", "bk_app_secret": "xxx", "bk_token": "xxx-xxx-xxx-xxx-xxx", "bk_biz_id": 1, "ip_list": [ { "ip": "10.0.0.1", "bk_cloud_id": 0 }, { "ip": "10.0.0.2" "bk_cloud_id": 0 } ] } ``` ### Return Result Example ```python { "result": true, "code": 0, "message": "", "data": [ { "inner_ip": "10.0.0.1", "bk_cloud_id": 0, "host_name": "db-1", "maintainer": "admin" }, { "inner_ip": "10.0.0.2", "bk_cloud_id": 2, "host_name": "db-2", "maintainer": "admin" } ] } ``` """ # Name of the system to which the component belongs sys_name = configs.SYSTEM_NAME # Form Processing Parameters Validation class Form(BaseComponentForm): bk_biz_id = forms.CharField(label='Business ID', required=True) ip_list = TypeCheckField(label='Host IP address', promise_type=list, required=False) # The data returned in clean method is available through the component's form_data property def clean(self): return self.get_cleaned_data_when_exist(keys=['bk_biz_id', 'ip_list']) # Component Processing Access def handle(self): # Get the data processed in Form clean data = self.form_data # Set Current Operator data['operator'] = self.current_user.username # Request System Interface try: response = self.outgoing.http_client.post( host=configs.host, path='/hcp/get_host_list/', data=json.dumps(data), ) except Exception: # TODO: To delete, only fake data for testing response = { 'code': 0, 'data': [ { 'inner_ip': '10.0.0.1', 'bk_cloud_id': 0, 'host_name': 'just_for_test', 'maintainer': 'admin', }, ] } # Analyze the Results code = response['code'] if code == 0: result = { 'result': True, 'data': response['data'], } else: result = { 'result': False, 'message': response['message'] } # Set the component return result, and payload is the actual return result of component self.response.payload = result
30.120567
305
0.536379
1fc483de7a17a6a6b3cd685b29cfc5ca0022150e
8,109
html
HTML
APP/Modules/Admin/Tpl/MemberInfo_memberCard.html
shinnlove/weact
020584f279c299cc27a8891aea372d0259f98486
[ "Apache-2.0" ]
1
2019-06-19T14:18:37.000Z
2019-06-19T14:18:37.000Z
APP/Modules/Admin/Tpl/MemberInfo_memberCard.html
shinnlove/weact
020584f279c299cc27a8891aea372d0259f98486
[ "Apache-2.0" ]
null
null
null
APP/Modules/Admin/Tpl/MemberInfo_memberCard.html
shinnlove/weact
020584f279c299cc27a8891aea372d0259f98486
[ "Apache-2.0" ]
null
null
null
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="__PUBLIC__/bootstrap/css/bootstrap2.2.css" /> <link rel="stylesheet" type="text/css" href="__PUBLIC__/uniform/themes/default/css/uniform.default.css" media="screen" /> <link rel="stylesheet" type="text/css" href="__PUBLIC__/jquery-easyui-1.3.5/themes/default/easyui.css" /> <link rel="stylesheet" type="text/css" href="__PUBLIC__/jquery-easyui-1.3.5/themes/icon.css" /> <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/uiColorButtonStyle.css" /> <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/myUniformStyle.css" /> <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/weactbrand.css" /> <script type="text/javascript" src="__PUBLIC__/js/jquery-1.9.1.min.js"></script> <script type="text/javascript" src="__PUBLIC__/uniform/jquery.uniform.js"></script> <script type="text/javascript" src="__PUBLIC__/jquery-easyui-1.3.5/jquery.easyui.min.js"></script> <title>会员卡设置</title> </head> <body class="easyui-layout"> <div id="card_tab" class="easyui-tabs" data-options="region:'center',border:false"><!-- easyUI总的TAB菜单分页 --> <div data-options="region:'center',title:'系统卡片样式',border:false"><!-- easyUI的TAB菜单分页1;自定义设置分页标题title --> <div style="margin: 10px;"> <form id="scform" name="scform" class="form-horizontal uniform" method="post" action="{:U('Admin/MemberInfoRequest/cardSelectConfirm','','')}"> <!-- 暂时不用,如果使用表单提交再用 <input type="hidden" id="finalselect" name="finalselect" value="" />表单最终选中的系统名片id <input type="hidden" id="finalpath" name="finalpath" value="" />最终选中系统名片路径 --> <div class="control-group"> <div class="controls controls-row" style="font-weight:bold; color:#666;"> <h2>会员中心名片</h2> </div> <div class="controls controls-row"> <font style="font-weight:bold; color:#666;">说明:</font><font style="color:highlight; line-height:22px;">系统名片样式简洁直观、适合没有自定义名片的商家。</font><br /> </div> </div> <hr /> <div class="control-group"> <label class="control-label">系统卡片<span class="text-error">(*)</span>:</label> <div class="controls controls-row" style="background:#fff;"> <div class="selectCard"> <ul> <foreach name="card" item="ca"> <li> <div class="memberCardStyle"> <img id="img{$ca.template_id}" src="{$ca.template_path}" width="200" alt="" /><!-- 展示系统名片的img标签 --> </div> <div class="memberCardSelected" style="text-align: center;"> <input id="{$ca.template_id}" type="radio" value="{$ca.template_name}" class="radio" name="cardstyle" />{$ca.template_name} <input type="hidden" name="cardselected" value="{$ca['selected']}" /> </div> </li> </foreach> </ul> </div> </div> </div> <div style="clear:both;"></div> <div class="form-actions no-margin" style="margin-bottom:0px; background:#fff; border-bottom:1px solid #DDD;"> <a id="scsubmit" class="large ui-color-button light-green" href="javascript:void(0)">保存</a> <a href="javascript:history.go(-1);"> <img style="width:50px; float:right;" alt="返回" src="__PUBLIC__/images/goback.png" /> </a> </div> </form> </div><!-- 调整边距的div --> </div><!-- easyUI的TAB菜单分页1结束div --> <div data-options="region:'center',title:'自定义卡片样式',border:false"><!-- easyUI的TAB菜单分页2;自定义设置分页标题title --> <div style="margin: 10px;"> <form id="myForm" name="myForm" class="form-horizontal uniform" method="post" action="{:U('Admin/MemberInfoRequest/addCardConfirm','','')}" enctype="multipart/form-data"> <div class="control-group"> <div class="controls controls-row" style="font-weight:bold; color:#666;"> <h2>自定义名片</h2> </div> <div class="controls controls-row"> <font style="font-weight:bold; color:#666;">说明:</font><font style="color:highlight; line-height:22px;">如果您有自定义的名片,请点击上传并保存,名片尺寸最佳为540 × 320。</font><br /> </div> </div> <hr /> <div class="control-group"> <label class="control-label">DIY会员名片<span class="text-error">(*)</span>:</label> <div class="controls controls-row" style="background:#fff;"> <input type="text" class="uniform myinput" id="membercardimagesrc" name="membercardimagesrc" placeholder="请点击按钮选择要上传的自定义会员卡" value="{$diypath}" required="required" /> <br /> <div class="btn"> <span style="font-size:12px;">添加附件:</span> <input type="file" name="membercardpicture" class="uniform membercardpicture" /> </div> <div class="membercard_img" style="margin-top: 20px;"> <img id="membercardimage" name="membercardimage" src="{$diypath}" alt="" style="width:260px;" /> </div> </div> </div> <div style="clear: both;"></div> <div class="form-actions no-margin" style="margin-bottom:0px; background:#fff; border-bottom:1px solid #DDD;"> <a id="diysubmit" class="large ui-color-button light-green" href="javascript:void(0)">保存</a> <a href="javascript:history.go(-1);"> <img style="width:50px; float:right;" alt="返回" src="__PUBLIC__/images/goback.png" /> </a> </div> </form> </div><!-- 调整边距的div --> </div><!-- easyUI的TAB菜单分页2结束div --> </div><!-- easyUI的TAB菜单容器结束div --> <script type="text/javascript"> var defaultflag = {$defaultflag}; //默认使用系统卡片标记 $(function(){ $(".uniform").uniform(); //初始化uniform,文本框的uniform格式化 if(defaultflag){ $("#card_tab").tabs("select","系统卡片样式"); //让easyUI的tab菜单选中当前所选的系统卡片样式tab菜单 }else{ $("#card_tab").tabs("select","自定义卡片样式"); //让easyUI的tab菜单选中当前所选的自定义卡片样式tab菜单 } $("input[name='cardselected'][value='1']").parent().find(".radio").attr("checked","true"); //默认执行一遍,反正如果没使用系统默认,也不会选中 $('#scsubmit').click(function(){ //表单一的提交,系统图片 var finalcard = $('input[type="radio"]:checked').attr("id"); if(!finalcard){ $.messager.alert('温馨提示', '请选择您要使用的系统名片!', 'warning'); return; }else{ //$('#finalselect').val(finalcard); //把最终选中的id放入标签里 var imgfinal = '#img'+finalcard; var finalpath = $(imgfinal).attr("src"); //$('#finalpath').val(finalpath); //用静态提交方式post $.post("{:U('Admin/MemberInfoRequest/cardSelectConfirm','','')}", { finalselect : finalcard, finalpath : finalpath }, function(data){ if (data.status == 1) { $.messager.alert('温馨提示', '保存成功!', 'info'); }else{ $.messager.alert('温馨提示', '保存失败!'+data.msg, 'error'); } },'json'); } }); $('#diysubmit').click(function(){ //表单二的提交,自定义图片 var ss = $(".membercardpicture"); if(ss.val() == "" || ss.val() == null){ $.messager.alert('温馨提示', '请选择您要上传的自定义名片!', 'warning', function(){ $('#membercardimagesrc').focus(); //图片路径框聚焦 }) return } $.messager.confirm('温馨提示', '是否确定要添加这张自定义名片?', function(result){ if(result){ //用户确认 $('#myForm').submit(); //提交form表单给控制器,注意设置Action的URL }else{ return //用户取消提交 }  }); }); }); $(".membercardpicture").change(function(e) { var src = e.target || window.event.srcElement; //获取事件源,兼容chrome/IE if(e.target != null && e.target != ''){ if(e.originalEvent && e.originalEvent.srcElement && e.originalEvent.srcElement.files && e.originalEvent.srcElement.files.length > 0){ var file = e.originalEvent.srcElement.files[0]; var reader = new FileReader(); reader.onloadend = function(e) { $('#membercardimage').attr('src',reader.result); //读的是二进制 $('#membercardimagesrc').val($('.membercardpicture').val()); }; reader.readAsDataURL(file); } }else{ $('#membercardimage').attr('src',''); $('#membercardimagesrc').val($('.membercardpicture').val()); } }); </script> </body> </html>
43.596774
174
0.616599
2915502a72058a69b6b486c63926c31173715d4b
1,647
kt
Kotlin
app/src/main/java/io/github/takusan23/tatimidroid/nicovideo/fragment/NicoVideoHistoryFragment.kt
kusamaru/TatimiDroid
745d6a4f0a00349c31e48403fa25488fe6bc346b
[ "Apache-2.0" ]
16
2020-02-06T08:37:02.000Z
2021-10-03T20:59:57.000Z
app/src/main/java/io/github/takusan23/tatimidroid/nicovideo/fragment/NicoVideoHistoryFragment.kt
kusamaru/TatimiDroid
745d6a4f0a00349c31e48403fa25488fe6bc346b
[ "Apache-2.0" ]
4
2020-07-19T05:45:54.000Z
2021-04-05T09:31:51.000Z
app/src/main/java/io/github/takusan23/tatimidroid/nicovideo/fragment/NicoVideoHistoryFragment.kt
kusamaru/TatimiDroid
745d6a4f0a00349c31e48403fa25488fe6bc346b
[ "Apache-2.0" ]
3
2020-08-24T17:17:20.000Z
2021-08-22T10:18:20.000Z
package io.github.takusan23.tatimidroid.nicovideo.fragment import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.compose.material.ExperimentalMaterialApi import androidx.compose.material.MaterialTheme import androidx.compose.material.Surface import androidx.compose.ui.platform.ComposeView import androidx.compose.ui.platform.LocalContext import androidx.fragment.app.Fragment import androidx.lifecycle.viewmodel.compose.viewModel import io.github.takusan23.tatimidroid.MainActivity import io.github.takusan23.tatimidroid.nicovideo.compose.DarkColors import io.github.takusan23.tatimidroid.nicovideo.compose.LightColors import io.github.takusan23.tatimidroid.nicovideo.compose.screen.NicoVideoHistoryScreen import io.github.takusan23.tatimidroid.tool.isDarkMode /** ニコ動履歴Fragment */ class NicoVideoHistoryFragment : Fragment() { @ExperimentalMaterialApi override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { return ComposeView(requireContext()).apply { setContent { MaterialTheme(colors = if (isDarkMode(LocalContext.current)) DarkColors else LightColors) { Surface { NicoVideoHistoryScreen( viewModel = viewModel(), onVideoClick = { (requireActivity() as? MainActivity)?.setNicovideoFragment(it.videoId, it.isCache) }, onMenuClick = { } ) } } } } } }
41.175
130
0.705525
0e7954bea15558ef7322d9febee5e3c964c9cae4
33,269
html
HTML
exhibits/pages/2.html
bcgov/jag-cullencommission
0ea6835aaf483ca7e6dbf5cc01a4afa6c50fffbe
[ "Apache-2.0" ]
null
null
null
exhibits/pages/2.html
bcgov/jag-cullencommission
0ea6835aaf483ca7e6dbf5cc01a4afa6c50fffbe
[ "Apache-2.0" ]
3
2020-07-01T21:52:37.000Z
2021-11-16T01:19:22.000Z
exhibits/pages/2.html
bcgov/jag-cullencommission
0ea6835aaf483ca7e6dbf5cc01a4afa6c50fffbe
[ "Apache-2.0" ]
5
2019-11-23T15:44:14.000Z
2021-03-12T17:12:38.000Z
<div class="ExhibitElement"> <p>#200</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/200 - RESTRICTED-No.101887-v1-SANITIZED_WF_CASE_SUMMARY.pdf" target="_blank">Sanitized Case Executive Summary</a></p> </div> <div class="ExhibitElement"> <p>#199</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/199 - CAN-001123.pdf" target="_blank">Presentation to the Federation of Law Societies of Canada and the Government of Canada Working Group on Money Laundering and Terrorist Financing – June 26, 2019</a></p> </div> <div class="ExhibitElement"> <p>#198</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/198 - CAN-001254.pdf" target="_blank">Overview of the FLSC and the Govt. of Canada Working Group on Money Laundering and Terrorist Financing presented by Dept. of Finance Canada presentation - October 2020</a></p> </div> <div class="ExhibitElement"> <p>#197</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/197 - FLSC000119.pdf" target="_blank">Audit Program Presentation</a></p> </div> <div class="ExhibitElement"> <p>#196</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/196 - CAN-001124.pdf" target="_blank">Recent Amendments to Canada’s AML-ATF Regulations – June 25, 2020</a></p> </div> <div class="ExhibitElement"> <p>#195</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/195 - CAN-001122_Redacted.pdf" target="_blank">Terms of Reference - FLSC and the Government of Canada Working Group on Money Laundering and Terrorist Financing (Draft for policy discussion)_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#194</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/194 - FLSC000083.pdf" target="_blank">FINTRAC Research Report – Review of Money Laundering Court Cases in Canada – November 2015</a></p> </div> <div class="ExhibitElement"> <p>#193</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/193 - V2 FINAL OR (updated App D) Legal Professionals and Accountants Publications -Nov 16, 2020.pdf" target="_blank">Overview Report: Legal Professionals and Accountants Publications</a></p> </div> <div class="ExhibitElement"> <p>#192</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/192 - V2 Overview Report on the Regulation of Legal Professionals in BC - Nov 15, 2020.pdf" target="_blank">Overview Report on the Regulation of Legal Professionals in BC</a></p> </div> <div class="ExhibitElement"> <p>#191</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/191 - Final V2 Overview Report - Anti-Money Laundering Initiatives of the LSBC and FLSC - Nov 15, 2020.pdf" target="_blank">Overview Report - Anti-Money Laundering Initiatives of the LSBC and FLSC</a></p> </div> <div class="ExhibitElement"> <p>#190</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/190 - GPEB0188.0001.pdf" target="_blank">Gaming Policy and Enforcement Branch, Investigations and Regional Operations Division - Report of Findings</a></p> </div> <div class="ExhibitElement"> <p>#189</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/189 - BCLC0013089.pdf" target="_blank">GPEB-BCLC Joint Executive Meeting - November 5, 2012</a></p> </div> <div class="ExhibitElement"> <p>#188</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/188 - GPEB0101.0001.pdf" target="_blank">Email from Larry Vander Graaf to Bill McCrea, Re: Strategic Priority Measurements - July 23, 2013</a></p> </div> <div class="ExhibitElement"> <p>#187</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/187 - Email from John Mazure to Larry Vander Graaf Re Comments to GPEB Investigations Report on Money Laundering in BC Casions - Dec 2 2013_Redacted.pdf" target="_blank">Email from John Mazure to Larry Vander Graaf, Re: Comments to GPEB Investigations Report on Money Laundering in BC Casions - December 2, 2013</a></p> </div> <div class="ExhibitElement"> <p>#186</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/186 - Las Vegas Review Journal - Casinos shudder over possible federal requirement to divulge source of rollers gambling funds - April 8 2014_Redacted.pdf" target="_blank">Las Vegas Review Journal – Casinos shudder over possible federal requirement to divulge source of rollers’ gambling funds - April 8, 2014</a></p> </div> <div class="ExhibitElement"> <p>#185</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/185 - GPEB0688.0001.pdf" target="_blank">Gaming Policy and Enforcement Branch, Investigations and Regional Operations Division - Compliance Note to the Minister - February 19, 2014</a></p> </div> <div class="ExhibitElement"> <p>#184</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/184 - Email from Larry Vander Graaf Re Patron Gaming Fund Account Discussion - September 14 2009_Redacted.pdf" target="_blank">Email from Larry Vander Graaf, Re: Patron Gaming Fund Account Discussion - September 14, 2009</a></p> </div> <div class="ExhibitElement"> <p>#183</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/183 - GPEB0068.0001.pdf" target="_blank">Letter from Derek Struko To Vic Poleschuk - March 28, 2003</a></p> </div> <div class="ExhibitElement"> <p>#182</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/182 - DOC-00001549.pdf" target="_blank">Curriculum Vitae of Larry Peter Vander Graaf</a></p> </div> <div class="ExhibitElement"> <p>#181</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/181 - Affidavit No. 1 of Larry Vander Graaf made on November 8 2020.pdf" target="_blank">Affidavit No. 1 of Larry Vander Graaf made on November 8, 2020</a></p> </div> <div class="ExhibitElement"> <p>#180</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/180 - Email from Ross Alderson Subject Resignation - December 21 2017_Redacted.pdf" target="_blank">Email from Ross Alderson, Subject Resignation - December 21, 2017_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#179</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/179 - Email from Ross Alderson Re AML - January 24 2017_Redacted.pdf" target="_blank">Email from Ross Alderson, Re AML - January 24, 2017_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#178</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/178 - Email from Daryl Tottenham Re Jia Gao - October 5 2015_Redacted.pdf" target="_blank">Email from Daryl Tottenham, Re Jia Gao - October 5, 2015_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#177</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/177 - Email from Ross Alderson Re Jia Gao - April 27 2015_Redacted.pdf" target="_blank">Email from Ross Alderson, Re Jia Gao - April 27, 2015_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#176</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/176 - Email from Ross Alderson to Daryl Tottenham Re COMM-8669 Final Report - Provincially Banned Cash Facilitators - May 6 2017_Redacted.pdf" target="_blank">Email from Ross Alderson to Daryl Tottenham, Re COMM-8669 Final Report - Provincially Banned Cash Facilitators - May 6, 2017_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#175</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/175 - A chain of email re German Recommendation No.1 - Source of Funds Declaration - December 28 2017_Redacted.pdf" target="_blank">A chain of email re German Recommendation #1 - Source of Funds Declaration - December 28, 2017_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#174</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/174 - Email exchange between Daryl Tottenham and David Zhou - June 5, 2017_Redacted.pdf" target="_blank">Email exchange between Daryl Tottenham and David Zhou - June 5, 2017_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#173</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/173 - Email from Patrick Ennis to Daryl Tottenham, Re 200K Cash - August 17, 2016_Redacted.pdf" target="_blank">Email from Patrick Ennis to Daryl Tottenham, Re $200K Cash - August 17, 2016_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#172</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/172 - Email from Daryl Tottenham to Patrick Ennis, re cash buy-in - August 3, 2016_Redacted.pdf" target="_blank">Email from Daryl Tottenham to Patrick Ennis, re cash buy-in - August 3, 2016_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#171</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/171 - Email from Daryl Tottenham to Rob Kroeker Re Exhibit listing - October 10 2017_Redacted.pdf" target="_blank">Email from Daryl Tottenham to Rob Kroeker, Re Exhibit listing - October 10, 2017_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#170</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/170 - Email from Ross Alderson subject List for VP - September 9 2015_Redacted.pdf" target="_blank">Email from Ross Alderson, subject List for VP - September 9, 2015_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#169</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/169 - Email from Heather Samson to Laurin Stenerson Re Subject Detailed Report - October 2 2017_Redacted.pdf" target="_blank">Email from Heather Samson to Laurin Stenerson, Re Subject Detailed Report - October 2, 2017_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#168</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/168 - Email exchange between Mike Hiller and Jim Wall re Buy-ins with No Play - August 18, 2014. (Only pages 106-108).pdf" target="_blank">Email exchange between Mike Hiller and Jim Wall re Buy-ins with No Play - August 18, 2014. (Only pages 106-108)</a></p> </div> <div class="ExhibitElement"> <p>#167</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/167 - Mike Hiller notebook No.2 - June 1 2009 to June 16 2010_Redacted.pdf" target="_blank">Mike Hiller notebook #2 – June 1, 2009 to June 16, 2010_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#166</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/166 - Affidavit no. 1 of Michael Hiller sworn November 8 2020_Redacted.pdf" target="_blank">Affidavit no. 1 of Michael Hiller, sworn November 8, 2020_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#165</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/165 - CAN-000094_Redacted.pdf" target="_blank">Email from Donald Smith, Re IIGET File 05-661 Loansharking Investigation - February 25, 2005_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#164</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/164 - Transcript of a lunch meeting between Heed and Pinnock on September 7, 2018_Redacted.pdf" target="_blank">Transcript of a lunch meeting between Heed and Pinnock on September 7, 2018_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#163</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/163 - Transcript of a phone call between Heed and Pinnock on July 10, 2018_Redacted.pdf" target="_blank">Transcript of a phone call between Heed and Pinnock on July 10, 2018_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#162</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/162 - Overview of the Report on the Integrated Illegal Gaming Enforcement Team -IIGET- Effectiveness Review by Catherine Tait - March 31 2009_Redacted.pdf" target="_blank">Overview of the Report on the Integrated Illegal Gaming Enforcement Team (IIGET) Effectiveness Review by Catherine Tait – March 31, 2009</a></p> </div> <div class="ExhibitElement"> <p>#161</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/161 - CAN-000052.pdf" target="_blank">S/Sgt F Pinnock - Business Case for the Expansion of Integrated Illegal Gaming Enforcement Team (IIGET) – 20-July-2007 (redacted)</a></p> </div> <div class="ExhibitElement"> <p>#160</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/160 - CAN-000054_Redacted.pdf" target="_blank">Email from Fred Pinnock Re IIGET Business Cases – DD 07JUN27 – 19-June-2007 (redacted)</a></p> </div> <div class="ExhibitElement"> <p>#159</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/159 - CAN-000077.pdf" target="_blank">Integrated Illegal Gaming Enforecement Team (IIGET) - A Provincial Casino Enforcement - Intelligence Unit, June 27, 2007</a></p> </div> <div class="ExhibitElement"> <p>#158</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/158 - CAN-000107.pdf" target="_blank">Undated memo detailing IIGET and BCLC working group to target loan sharks and other organized criminal activity</a></p> </div> <div class="ExhibitElement"> <p>#157</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/157 - CAN-000061_Redacted.pdf" target="_blank">S/Sgt F Pinnock – Integrated Illegal Gaming Enforcement Team Performance Report for IIGET Consultative Board – 23-July-2007 (redacted)</a></p> </div> <div class="ExhibitElement"> <p>#156</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/156 - CAN-000055.pdf" target="_blank">Memo from NCO IIGET "E" Division Re Status Report – Integrated Illegal Gaming Enforcement Team– 14-March-2007 (redacted)</a></p> </div> <div class="ExhibitElement"> <p>#155</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/155 - CAN-000103.pdf" target="_blank">RCMP Backgrounder (2003-05)</a></p> </div> <div class="ExhibitElement"> <p>#154</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/154 - CAN-000074.pdf" target="_blank">Integrated Illegal Gaming Enforcement Team RCMP and GPEB Consultative Board Meeting – 29-Nov-2004 (redacted)</a></p> </div> <div class="ExhibitElement"> <p>#153</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/153 - CAN-000064.pdf" target="_blank">S/Sgt F Pinnock – IIGET Consultative Board Meeting minutes – 26-Nov-2007</a></p> </div> <div class="ExhibitElement"> <p>#152</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/152 - CAN-000046.pdf" target="_blank">RCMP - Five Year Strategic Projection Provincial Policing – 2004-2009 (redacted)</a></p> </div> <div class="ExhibitElement"> <p>#151</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/151 - CAN-000101_Redacted.pdf" target="_blank">Integrated Illegal Gaming Enforcement Team – Implementation Plan of Operations – 24-June-2004_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#150</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/150 - CAN-000087_Redacted.pdf" target="_blank">Memo from S/Sgt T Robertson Re Introduction and Mandate of the RCMP’s Integrated Illegal Gaming Enforcement Team – 10-Nov-2004_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#149</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/149 - Affidavit No.2 of Daryl Tottenham sworn October 30 2020_Redacted.pdf" target="_blank">Affidavit #2 of Daryl Tottenham, sworn October 30, 2020_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#148</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/148 - Affidavit No.1 of Daryl Tottenham sworn October 30 2020_Redacted.pdf" target="_blank">Affidavit #1 of Daryl Tottenham, sworn October 30, 2020_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#147</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/147 - Affidavit No.1 of Muriel Labine affirmed on 23 day of October 2020_Redacted.pdf" target="_blank">Affidavit #1 of Muriel Labine, affirmed on 23 day of October, 2020_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#146</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/146 - Email Robert Stewart subject Fw CIR_17-003_AML Month of December.docx - February 23 2017_Redacted.pdf" target="_blank">Email Robert Stewart, subject Fw CIR_17-003_AML Month of December - February 23, 2017</a></p> </div> <div class="ExhibitElement"> <p>#145</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/145 - Affidavit No.1 of Robert Barber made on October 29 2020_Redacted.pdf" target="_blank">Affidavit #1 of Robert Barber, made on October 29, 2020_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#144</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/144 - Affidavit No.3 of Ken Ackles made on October 28 2020_Redacted.pdf" target="_blank">Affidavit #3 of Ken Ackles made on October 28, 2020_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#143</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/143 - Affidavit No.1 of Bal Bamra affirmed October 14 2020_Redacted.pdf" target="_blank">Affidavit #1 of Bal Bamra, affirmed October 14, 2020_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#142</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/142 - Applied_BCLC6982.pdf" target="_blank">Email from John Karlovcec to Daryl Tottenham, Subject FW Post Media Inquiry - December 14, 2017_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#141</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/141 - BCLC0007108 - Summary Review Anti-Money Laundering Measures at BC Gaming Facilities, February 2011.pdf" target="_blank">(Previously marked as Exhibit B) Summary Review Anti-Money Laundering Measures at BC Gaming Facilities, February 2011</a></p> </div> <div class="ExhibitElement"> <p>#140</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/140 - Applied_BCLC49.pdf" target="_blank">AML Compliance & Analytics Enhancement Project Business Case Fiscal 2014/15_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#139</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/139 - BCLC0013119 - Notes FINTRAC Audit for SFT’s Exit Meeting – December 14, 2012.pdf" target="_blank">Meeting Notes - Fintrac Audit Jan 1-Jun 30, 2012 for SFT's Exit Meeting - Meeting date December 14, 2012 (redacted)</a></p> </div> <div class="ExhibitElement"> <p>#138</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/138 - Letter from John Karlovcec to Cary Skrine re Questions with Feedback - October 19 2018_Redacted.pdf" target="_blank">Letter from John Karlovcec to Cary Skrine re Questions with Feedback – October 19, 2018</a></p> </div> <div class="ExhibitElement"> <p>#137</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/137 - BCLC0004628 - BCLC Memo from Bal Bamra re MSB Due Diligence – January 11, 2018.pdf" target="_blank">BCLC memo from Bal Bamra to John Karlovcec and Rob Kroeker, subject MSB Due Diligence - January</a></p> </div> <div class="ExhibitElement"> <p>#136</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/136 - Applied_BCLC15438.pdf" target="_blank">Combined Forces Special Enforcement Unit British Columbia letter to John Karlovcec re Request for Information (date redacted) - February 7, 2018_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#135</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/135 - Applied_BCLC15434.pdf" target="_blank">Email from Ben Robinson to John Karlovcec re CFSEU-BC File 2016-54 – Request for Information (redacted)</a></p> </div> <div class="ExhibitElement"> <p>#134</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/134 - Applied_BCLC7026.pdf" target="_blank">Letter from Bob Stewart to John Karlovcec, re Ms. Gao 200k Buy In – December 8, 2017_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#133</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/133 - Email from Tottenham to John Karlovcec re Lisa Gao Summary - December 5 2017_Redacted.pdf" target="_blank">Email from Tottenham to John Karlovcec, re Lisa Gao Summary – December 5, 2017_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#132</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/132 - BCLC0001716 - FINTRAC Examination Nov. 2014 Findings Explanatory Document – March 4, 2015.pdf" target="_blank">FINTRAC Examination November 2014 Findings Explanatory Document – March 4, 2015</a></p> </div> <div class="ExhibitElement"> <p>#131</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/131 - Applied_BCLC1713.pdf" target="_blank">Letter from Robby Judge to Brad Desmarais, re Compliance Examination Findings – January 23, 2015_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#130</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/130 - Applied_BCLC6501.pdf" target="_blank">Email from Ross Alderson re VVIP Players and Sanctions – May 14, 2015_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#129</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/129 - GCGC_PROD_0024481 - Email re large cash buy-in - Jan 7, 2015 and Jan 8, 2015_Redacted.pdf" target="_blank">Email from John Karlovcec to Robert Kroeker, Re Large Cash Buy-Ins - January 8, 2015_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#128</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/128 - GCGC_PROD_0023900 - January 1, 2015 BCLC email re patron Binshun CAO No.11435_Redacted.pdf" target="_blank">Email from John Karlovcec to Brad Desmarais - January 2, 2015 (redacted)</a></p> </div> <div class="ExhibitElement"> <p>#127</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/127 - GCGC_PROD_0045011 - October 18, 2014 BCLC email re Unusual Financial Transactions_Redacted.pdf" target="_blank">Email from John Karlovcec to Brad Desmarais, Re FW Unusual Financial Transaction (redacted)</a></p> </div> <div class="ExhibitElement"> <p>#126</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/126 - GCGC_PROD_0045140 October 17, 2014 emails btween BCLC and GCGC re Meeting to Discuss Protocol for Approaching VIP players_Redacted.pdf" target="_blank">Email from John Karlovcec to Patrick Ennis, re Meeting to Discuss Protocol for Approaching VIP Players – October 17, 2014_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#125</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/125 - GCGC_PROD_0045155 Oct 16, 2014 emails between BCLC (Karlovcec) and GCGC (Ennis) re River Rock surveillance reports - ALERT ISSUE again_Redacted.pdf" target="_blank">Email from John Karlovcec to Patrick Ennis, re River Rock Surveillance Reports- “ALERT ISSUE again….” – October 16, 2014_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#124</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/124 - Applied_BCLC5642.pdf" target="_blank">Email from Brad Desmarais re Heads up on another large cash Buy-in River Rock 2014-52289 – November 23, 2017_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#123</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/123 - A collection of 10 target sheets -redacted-.pdf" target="_blank">A collection of 10 target sheets (redacted)</a></p> </div> <div class="ExhibitElement"> <p>#122</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/122 - Applied_BCLC45.pdf" target="_blank">Email from John Karlovcec to Trevor Emmerson, re Casino Cash Facilitators_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#121</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/121 - Email from John Karlovcec re CFSEU River Rock Casino Orientation - Jun 20, 2014_Redacted.pdf" target="_blank">Email from John Karlovcec re CFSEU River Rock Casino Orientation – Jun 20, 2014_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#120</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/120 - BCLC0000040 - Email from Kurt Bulow June 17, 2014.pdf" target="_blank">Email from Kurt Bulow to John Karlovcec, Subject: CFSEU Uniform Team BCLC - June 17, 2014</a></p> </div> <div class="ExhibitElement"> <p>#119</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/119 - Applied_BCLC38.pdf" target="_blank">Email from John Karlovcec to Brad Desmarais, Subject: FW: CFSEU list - outline of procedures - June 10, 2014</a></p> </div> <div class="ExhibitElement"> <p>#118</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/118 - Applied_BCLC5645.pdf" target="_blank">Email from Desmarais re Info For Presentation, Prohibited BCLC Patrons Numbers – November 23, 2017_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#117</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/117 - Applied_BCLC33.pdf" target="_blank">Email from John Karlovcec to Daryl Tottenham - June 6, 2014 Subject: RE: CFSEU/High Risk list review - for discussion (redacted)</a></p> </div> <div class="ExhibitElement"> <p>#116</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/116 - BCLC0000033 - Email from Daryl Tottenham June 4, 2014.pdf" target="_blank">Email from Daryl Tottenham to AML, RE CFSEU/High Risk list review - for discussion - June 4, 2014 (redacted)</a></p> </div> <div class="ExhibitElement"> <p>#115</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/115 - Exhibit 115_Applied_BCLC6636.pdf" target="_blank">Email from Rob Kroeker re Vancouver Sun – AML story today – Nov 28, 2017 (redacted)</a></p> </div> <div class="ExhibitElement"> <p>#114</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/114 - Email from John Karlovcec re Derek Dickson - Jan 27 2011_Redacted.pdf" target="_blank">Email from John Karlovcec re Derek Dickson – Jan 27, 2011</a></p> </div> <div class="ExhibitElement"> <p>#113</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/113 - Applied_BCLC0015839.pdf" target="_blank">Email exchange between Karlovcec, Alderson and Beeksma re $100 Bills at RRCR – February 3, 2012_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#112</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/112 - Letter from Joe Schalk re Money Laundering in BC Casinos - February 28 2011_Redacted.pdf" target="_blank">Letter from Joe Schalk re Money Laundering in BC Casinos – February 28, 2011_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#111</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/111 - Letter from John Karlovcec re Money Laundering in BC Casinos - December 24 2010_Redacted.pdf" target="_blank">Letter from John Karlovcec re: Money Laundering in BC Casinos - December 24, 2010_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#110</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/110 - Letter from Derek Dickson re Money Laundering in Casinos - November 24 2010.pdf" target="_blank">Letter from Derek Dickson re Money Laundering in Casinos – November 24, 2010_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#109</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/109 - Letter from Gordon Friesen re Loan Sharking Suspicious Currency and Chip Passing - May 4 2010 _Redacted.pdf" target="_blank">Letter from Gordon Friesen re Loan Sharking/Suspicious Currency and Chip Passing – May 4, 2010_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#108</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/108 - Letter from Derek Dickson re Loan Sharking Suspicious Currency and Chip Passing - April 14 2010_Redacted.pdf" target="_blank">Letter from Derek Dickson re Loan Sharking/Suspicious Currency & Chip Passing – April 14, 2010_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#107</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/107 - Applied_BCLC0012599.pdf" target="_blank">Email from Gordon Friesen re Under $50K Buy Ins in $20 Bills – September 23, 2011_Redacted</a></p> </div> <div class="ExhibitElement"> <p>#106</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/106 - Letter from Gordon Friesen re Review of BCLC Player Gaming Fund Accounts Pilot Project - February 17 2010_Redacted.pdf" target="_blank">Letter from Gordon Friesen re Review of BCLC Player Gaming Fund Accounts Pilot Project – February 17, 2010</a></p> </div> <div class="ExhibitElement"> <p>#105</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/105 - GPEB0562.0001.pdf" target="_blank">GPEB Audit Report Review of BCLC Player Gaming Fund Accounts Pilot Project 2009/2010</a></p> </div> <div class="ExhibitElement"> <p>#104</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/104 - Ex L - 2007 CoR Annual Report.pdf" target="_blank">2007 Annual Report, City of Richmond</a></p> </div> <div class="ExhibitElement"> <p>#103</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/103 - Ex K - Comm Safety Report.pdf" target="_blank">City of Richmond - Law &amp; Community Safety 2007 Achievements / 2008 Priorities</a></p> </div> <div class="ExhibitElement"> <p>#102</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/102 - Ex I - CoR Council Minutes - 2006.02.07.pdf" target="_blank">City of Richmond Regular Council Meeting, February 26th, 2007</a></p> </div> <div class="ExhibitElement"> <p>#101</p> <p><a href="https://ag-pssg-sharedservices-ex.objectstore.gov.bc.ca/ag-pssg-cc-exh-prod-bkt-ex/101 - Ex H - Memo and Presentation.pdf" target="_blank">RCMP Memorandum to City of Richmond - 06-12-11</a></p> </div>
82.965087
418
0.723406