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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c5396a7a5b32cfaf0f97341a9f167900fe1f3101 | 4,073 | swift | Swift | build/ios-swift/StyleDictionaryColor.swift | jonbestversett/design-token | 4e85e249df710c7b212a1663deb4ec0e2152079f | [
"MIT"
] | null | null | null | build/ios-swift/StyleDictionaryColor.swift | jonbestversett/design-token | 4e85e249df710c7b212a1663deb4ec0e2152079f | [
"MIT"
] | null | null | null | build/ios-swift/StyleDictionaryColor.swift | jonbestversett/design-token | 4e85e249df710c7b212a1663deb4ec0e2152079f | [
"MIT"
] | null | null | null |
//
// StyleDictionaryColor.swift
//
// Do not edit directly
// Generated on Fri, 26 Nov 2021 22:34:18 GMT
import UIKit
public enum StyleDictionaryColor {
public static let neutralsBlack = UIColor(red: 0.102, green: 0.098, blue: 0.094, alpha: 1)
public static let neutralsGrey10 = UIColor(red: 0.984, green: 0.984, blue: 0.984, alpha: 1)
public static let neutralsGrey20 = UIColor(red: 0.957, green: 0.957, blue: 0.957, alpha: 1)
public static let neutralsGrey30 = UIColor(red: 0.914, green: 0.914, blue: 0.914, alpha: 1)
public static let neutralsGrey40 = UIColor(red: 0.851, green: 0.851, blue: 0.851, alpha: 1)
public static let neutralsGrey50 = UIColor(red: 0.773, green: 0.773, blue: 0.773, alpha: 1)
public static let neutralsGrey60 = UIColor(red: 0.667, green: 0.667, blue: 0.667, alpha: 1)
public static let neutralsGrey70 = UIColor(red: 0.529, green: 0.529, blue: 0.529, alpha: 1)
public static let neutralsGrey80 = UIColor(red: 0.369, green: 0.369, blue: 0.369, alpha: 1)
public static let neutralsGrey90 = UIColor(red: 0.188, green: 0.188, blue: 0.188, alpha: 1)
public static let neutralsWhite = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
public static let primaryBlue0 = UIColor(red: 0.937, green: 0.965, blue: 1.000, alpha: 1)
public static let primaryBlue10 = UIColor(red: 0.890, green: 0.937, blue: 0.992, alpha: 1)
public static let primaryBlue100 = UIColor(red: 0.000, green: 0.224, blue: 0.502, alpha: 1)
public static let primaryBlue20 = UIColor(red: 0.827, green: 0.894, blue: 0.980, alpha: 1)
public static let primaryBlue30 = UIColor(red: 0.741, green: 0.839, blue: 0.961, alpha: 1)
public static let primaryBlue70 = UIColor(red: 0.035, green: 0.365, blue: 0.776, alpha: 1)
public static let primaryBlue80 = UIColor(red: 0.000, green: 0.310, blue: 0.698, alpha: 1)
public static let primaryBlue90 = UIColor(red: 0.000, green: 0.267, blue: 0.600, alpha: 1)
public static let secondaryGreen0 = UIColor(red: 0.882, green: 0.980, blue: 0.965, alpha: 1)
public static let secondaryGreen10 = UIColor(red: 0.835, green: 0.969, blue: 0.945, alpha: 1)
public static let secondaryGreen100 = UIColor(red: 0.000, green: 0.302, blue: 0.251, alpha: 1)
public static let secondaryGreen20 = UIColor(red: 0.761, green: 0.949, blue: 0.918, alpha: 1)
public static let secondaryGreen30 = UIColor(red: 0.655, green: 0.922, blue: 0.875, alpha: 1)
public static let secondaryGreen70 = UIColor(red: 0.000, green: 0.663, blue: 0.549, alpha: 1)
public static let secondaryGreen80 = UIColor(red: 0.000, green: 0.553, blue: 0.459, alpha: 1)
public static let secondaryGreen90 = UIColor(red: 0.000, green: 0.427, blue: 0.357, alpha: 1)
public static let stateErrorDark = UIColor(red: 0.855, green: 0.078, blue: 0.078, alpha: 1)
public static let stateErrorLight = UIColor(red: 0.984, green: 0.910, blue: 0.910, alpha: 1)
public static let stateErrorMedium = UIColor(red: 0.882, green: 0.263, blue: 0.263, alpha: 1)
public static let stateInfoDark = UIColor(red: 0.000, green: 0.298, blue: 0.675, alpha: 1) /* Primary/Blue-80 */
public static let stateInfoLight = UIColor(red: 0.902, green: 0.929, blue: 0.969, alpha: 1) /* Primary/Blue-10 */
public static let stateInfoMedium = UIColor(red: 0.200, green: 0.439, blue: 0.741, alpha: 1) /* Primary/Blue-70 */
public static let stateSuccessDark = UIColor(red: 0.000, green: 0.616, blue: 0.494, alpha: 1) /* Secondary/Green-80 */
public static let stateSuccessLight = UIColor(red: 0.902, green: 0.965, blue: 0.953, alpha: 1) /* Secondary/Green-10 */
public static let stateSuccessMedium = UIColor(red: 0.200, green: 0.694, blue: 0.596, alpha: 1) /* Secondary/Green-70 */
public static let stateWarningDark = UIColor(red: 0.922, green: 0.478, blue: 0.141, alpha: 1)
public static let stateWarningLight = UIColor(red: 0.992, green: 0.949, blue: 0.914, alpha: 1)
public static let stateWarningMedium = UIColor(red: 0.937, green: 0.584, blue: 0.314, alpha: 1)
}
| 76.849057 | 124 | 0.688191 |
f941cca0c5c0dc38192b441165033605948d1c35 | 63 | sql | SQL | _examples/northwind/sql/postgres_init.sql | walterwanderley/xo | f60a82a1c607beebf1da8383572795aedc254aa7 | [
"MIT"
] | null | null | null | _examples/northwind/sql/postgres_init.sql | walterwanderley/xo | f60a82a1c607beebf1da8383572795aedc254aa7 | [
"MIT"
] | null | null | null | _examples/northwind/sql/postgres_init.sql | walterwanderley/xo | f60a82a1c607beebf1da8383572795aedc254aa7 | [
"MIT"
] | null | null | null | DROP DATABASE IF EXISTS northwind;
CREATE DATABASE northwind;
| 15.75 | 34 | 0.825397 |
9e68fb0620838c304d4ca17061a2b135bf6f4711 | 2,703 | swift | Swift | FlikrApp/FlikrApp/View Controller/PhotosListViewController.swift | AnkitiOSiDev/FlikrApp | d6d374071c282c8660ad23cba29bef885150ad17 | [
"MIT"
] | 1 | 2020-06-18T14:56:50.000Z | 2020-06-18T14:56:50.000Z | FlikrApp/FlikrApp/View Controller/PhotosListViewController.swift | AnkitiOSiDev/FlikrApp | d6d374071c282c8660ad23cba29bef885150ad17 | [
"MIT"
] | null | null | null | FlikrApp/FlikrApp/View Controller/PhotosListViewController.swift | AnkitiOSiDev/FlikrApp | d6d374071c282c8660ad23cba29bef885150ad17 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// FlikrApp
//
// Created by Ankit Shrivastava on 16/05/19.
// Copyright © 2019 Ankit Shrivastava. All rights reserved.
//
import UIKit
class PhotosListViewController: UIViewController {
@IBOutlet weak var txtSearch: UITextField!
@IBOutlet weak var tblPhotos: UITableView!
var viewModel : PhotoListViewModel!
override func viewDidLoad() {
super.viewDidLoad()
viewModel = PhotoListViewModel(delegate: self)
setupTextField()
setupTableView()
}
// MARK: - View Setup
func setupTableView(){
tblPhotos.register(PhotosListTableViewCell.nib, forCellReuseIdentifier: PhotosListTableViewCell.identifier)
tblPhotos.dataSource = self
tblPhotos.delegate = self
tblPhotos.estimatedRowHeight = 80.0
tblPhotos.rowHeight = UITableView.automaticDimension
}
func setupTextField() {
txtSearch.delegate = self
}
}
// MARK: - UITableViewDataSource
extension PhotosListViewController : UITableViewDataSource {
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return viewModel.photosModel?.photos.photo.count ?? 0
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
if let cell = tableView.dequeueReusableCell(withIdentifier: PhotosListTableViewCell.identifier, for: indexPath) as? PhotosListTableViewCell{
cell.objPhoto = viewModel.photosModel?.photos.photo[indexPath.row]
return cell
}
return UITableViewCell()
}
}
// MARK: - UITableViewDelegate
extension PhotosListViewController : UITableViewDelegate {
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
if let objPhoto = viewModel.photosModel?.photos.photo[indexPath.row] {
let controller = Utility.getPhotoDetailsController()
controller.photo = objPhoto
present(controller, animated: true)
}
}
}
// MARK: - PhotoListDelegate
extension PhotosListViewController : PhotoListDelegate {
func dateFetched() {
DispatchQueue.main.async {
self.tblPhotos.reloadData()
}
}
}
// MARK: - UITextFieldDelegate
extension PhotosListViewController : UITextFieldDelegate {
func textFieldShouldReturn(_ textField: UITextField) -> Bool {
guard let text = textField.text, text.count > 0 else{
return false
}
viewModel.photosModel = nil
tblPhotos.reloadData()
viewModel.getPhotos(text: text)
self.view.endEditing(true)
return true
}
}
| 30.370787 | 148 | 0.678135 |
70c965a9a861041846e503b51452593d2d1abfd5 | 1,420 | h | C | common/traceRead.h | luwangli/OrderSketch | 3fdaf3262b17612fa0f0ca32a9ffbfc3e6f2f847 | [
"MIT"
] | 5 | 2021-10-31T04:45:51.000Z | 2022-03-04T13:42:36.000Z | common/traceRead.h | luwangli/OrderSketch | 3fdaf3262b17612fa0f0ca32a9ffbfc3e6f2f847 | [
"MIT"
] | null | null | null | common/traceRead.h | luwangli/OrderSketch | 3fdaf3262b17612fa0f0ca32a9ffbfc3e6f2f847 | [
"MIT"
] | 1 | 2022-03-27T09:52:24.000Z | 2022-03-27T09:52:24.000Z | //read data stream, return arrary
#ifndef _TRACEREAD_H
#define _TRACEREAD_H
#include "param.h"
using namespace std;
#define MAX_PACKET 32000000
typedef pair<uint32_t, int> KV;
uint32_t str_to_dec(string str)
{
uint32_t res = 0;
for (uint32_t i=0; i <str.length(); i++)
{
if(str[i]>='0' && str[i]<='9')
res = res *10 + str[i] - '0';
}
return res;
}
int TraceRead(char const *filename, uint32_t *datastream, unordered_map<uint32_t, int> &benchmark)
{
FILE *Fin = fopen(filename,"rb");
if(!Fin)
{
cerr << "cannot open file:" << filename <<endl;
exit(-1);
}
ifstream fin(filename);
string line;
uint32_t res_dec;
int count = 0;
while (getline(fin, line)){
// cout << line <<endl;
res_dec = str_to_dec(line);
// cout << res_dec <<endl;
datastream[count] = res_dec;
benchmark[res_dec]++;
count++;
if (count == MAX_PACKET ){
cout << "reach max packet number" <<endl;
break;
}
}
fin.clear();
fin.close();
int flow_num = benchmark.size();
cout << "Successfully read " << filename << endl;
cout<<"******************basic information********************"<<endl;
cout<<"flow number: "<<flow_num<<"\t packet number: "<<count<<endl;
return count;
}
#endif
| 23.666667 | 99 | 0.526761 |
2a129a7ede4fa5cafc6d0d09b8e1a80b790ddb40 | 5,281 | java | Java | src/main/java/io/boomerang/service/refactor/ControllerRequestProperties.java | boomerang-io/flow.service.workflow | 55dd3b8c6a31a10576527d1c4e1d80d26fb2a8c6 | [
"Apache-2.0"
] | 5 | 2021-08-21T10:34:16.000Z | 2022-03-10T10:21:34.000Z | src/main/java/io/boomerang/service/refactor/ControllerRequestProperties.java | boomerang-io/flow.service.workflow | 55dd3b8c6a31a10576527d1c4e1d80d26fb2a8c6 | [
"Apache-2.0"
] | 25 | 2020-11-02T13:52:01.000Z | 2022-03-23T23:18:54.000Z | src/main/java/io/boomerang/service/refactor/ControllerRequestProperties.java | boomerang-io/flow.service.workflow | 55dd3b8c6a31a10576527d1c4e1d80d26fb2a8c6 | [
"Apache-2.0"
] | 6 | 2020-08-04T14:09:13.000Z | 2022-03-30T07:16:08.000Z | package io.boomerang.service.refactor;
import java.util.HashMap;
import java.util.Map;
import java.util.TreeMap;
import java.util.Map.Entry;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
@JsonIgnoreProperties(ignoreUnknown = true)
public class ControllerRequestProperties {
private boolean includeGlobalProperties = true;
@JsonIgnore
private Map<String, String> systemProperties = new HashMap<>();
@JsonIgnore
private Map<String, String> globalProperties = new HashMap<>();
@JsonIgnore
private Map<String, String> teamProperties = new HashMap<>();
@JsonIgnore
private Map<String, String> workflowProperties = new HashMap<>();
@JsonIgnore
private Map<String, String> taskInputProperties = new HashMap<>();
@JsonIgnore
private Map<String, String> reservedProperties = new HashMap<>();
public Map<String, String> getReservedProperties() {
return reservedProperties;
}
public void setReservedProperties(Map<String, String> reservedProperties) {
this.reservedProperties = reservedProperties;
}
public Map<String, String> getTaskInputProperties() {
return taskInputProperties;
}
public void setTaskInputProperties(Map<String, String> taskInputProperties) {
this.taskInputProperties = taskInputProperties;
}
public Map<String, String> getGlobalProperties() {
return globalProperties;
}
public void setGlobalProperties(Map<String, String> globalProperties) {
this.globalProperties = globalProperties;
}
public Map<String, String> getSystemProperties() {
return systemProperties;
}
public void setSystemProperties(Map<String, String> systemProperties) {
this.systemProperties = systemProperties;
}
public Map<String, String> getTeamProperties() {
return teamProperties;
}
public void setTeamProperties(Map<String, String> teamProperties) {
this.teamProperties = teamProperties;
}
public Map<String, String> getWorkflowProperties() {
return workflowProperties;
}
public void setWorkflowProperties(Map<String, String> workflowProperties) {
this.workflowProperties = workflowProperties;
}
@JsonAnyGetter
public Map<String, String> getMap(boolean includeScope) {
Map<String, String> finalProperties = new TreeMap<>();
if (this.includeGlobalProperties) {
copyProperties(globalProperties, finalProperties, "global", includeScope);
}
copyProperties(teamProperties, finalProperties, "team", includeScope);
copyProperties(workflowProperties, finalProperties, "workflow", includeScope);
copyStringMap(taskInputProperties, finalProperties, "workflow", includeScope);
copyProperties(systemProperties, finalProperties, "system", includeScope);
copyProperties( this.getReservedProperties(), finalProperties, null, false);
return finalProperties;
}
public String getLayeredProperty(String key) {
Object val = this.getMap(false).get(key);
if (val instanceof Boolean) {
return String.valueOf(val);
} else {
return this.getMap(false).get(key);
}
}
private void copyProperties(Map<String, String> source, Map<String, String> target, String prefix,
boolean inludeScope) {
for (Entry<String, String> entry : source.entrySet()) {
String key = entry.getKey();
Object value = entry.getValue();
if (value != null) {
if (inludeScope) {
target.put(prefix + "/" + key, value.toString());
}
target.put(key, value.toString());
}
}
}
private void copyStringMap(Map<String, String> source, Map<String, String> target, String prefix,
boolean includeScope) {
for (Entry<String, String> entry : source.entrySet()) {
String key = entry.getKey();
Object value = entry.getValue();
if (value != null) {
if (includeScope) {
target.put(prefix + "/" + key, value.toString());
}
target.put(key, value.toString());
}
}
}
@Override
public String toString() {
ObjectMapper mapper = new ObjectMapper();
mapper.configure(SerializationFeature.ORDER_MAP_ENTRIES_BY_KEYS, true);
String jsonResult;
try {
jsonResult = mapper.writerWithDefaultPrettyPrinter().writeValueAsString(this);
} catch (JsonProcessingException e) {
return "";
}
return jsonResult;
}
public boolean isIncludeGlobalProperties() {
return includeGlobalProperties;
}
public void setIncludeGlobalProperties(boolean includeGlobalProperties) {
this.includeGlobalProperties = includeGlobalProperties;
}
public Map<String, String> getMapForKey(String key) {
if ("workflow".equals(key)) {
return this.getWorkflowProperties();
} else if ("system".equals(key)) {
return this.getSystemProperties();
} else if ("team".equals(key)) {
return this.getTeamProperties();
} else if ("global".equals(key)) {
return this.getGlobalProperties();
} else {
return new HashMap<>();
}
}
}
| 29.176796 | 100 | 0.711797 |
393924a3df04b17c352e50746a4bceac5bba1977 | 260 | kt | Kotlin | sample/src/main/java/com/programmerr47/phroom/sample/Api.kt | programmerr47/phroom | add960c87fbdb5e1e16d8400d90a200a2af26514 | [
"MIT"
] | null | null | null | sample/src/main/java/com/programmerr47/phroom/sample/Api.kt | programmerr47/phroom | add960c87fbdb5e1e16d8400d90a200a2af26514 | [
"MIT"
] | 21 | 2019-12-31T15:42:55.000Z | 2020-01-15T04:44:07.000Z | sample/src/main/java/com/programmerr47/phroom/sample/Api.kt | programmerr47/phroom | add960c87fbdb5e1e16d8400d90a200a2af26514 | [
"MIT"
] | null | null | null | package com.programmerr47.phroom.sample
import retrofit2.http.GET
import retrofit2.http.Query
interface Api {
//TODO remove default value by analyzing screen size
@GET(".")
suspend fun getUsers(@Query("results") count: Int = 20): UsersResponse
} | 23.636364 | 74 | 0.738462 |
dbb2a9d336000a60380d87af11e5ff854f006c86 | 682 | sql | SQL | JobExecutionFramework/SSISDB/catalog/Views/operations.sql | MS-BI/JobExceutionFramework | 276fac1f0ba37cf2368c96f7d7fd0c0df8f1d2f7 | [
"MIT"
] | 3 | 2016-08-29T09:41:38.000Z | 2016-11-08T15:37:44.000Z | JobExecutionFramework/SSISDB/catalog/Views/operations.sql | MS-BI/JobExecutionFramework | 276fac1f0ba37cf2368c96f7d7fd0c0df8f1d2f7 | [
"MIT"
] | null | null | null | JobExecutionFramework/SSISDB/catalog/Views/operations.sql | MS-BI/JobExecutionFramework | 276fac1f0ba37cf2368c96f7d7fd0c0df8f1d2f7 | [
"MIT"
] | null | null | null |
CREATE VIEW [catalog].[operations]
AS
SELECT [operation_id],
[operation_type],
[created_time],
[object_type],
[object_id],
[object_name],
[status],
[start_time],
[end_time],
[caller_sid],
[caller_name],
[process_id],
[stopped_by_sid],
[stopped_by_name],
[server_name],
[machine_name]
FROM internal.[operations]
WHERE [operation_id] in (SELECT [id] FROM [internal].[current_user_readable_operations])
OR (IS_MEMBER('ssis_admin') = 1)
OR (IS_SRVROLEMEMBER('sysadmin') = 1)
| 28.416667 | 93 | 0.517595 |
580c9c645bcc5801c19f3f692e14f2877d5f51fb | 6,161 | asm | Assembly | Transynther/x86/_processed/US/_st_sm_/i3-7100_9_0x84_notsx.log_21829_88.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/US/_st_sm_/i3-7100_9_0x84_notsx.log_21829_88.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/US/_st_sm_/i3-7100_9_0x84_notsx.log_21829_88.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x4073, %rsi
lea addresses_A_ht+0x15c93, %rdi
clflush (%rdi)
nop
inc %r15
mov $9, %rcx
rep movsb
nop
nop
nop
nop
nop
sub %rsi, %rsi
lea addresses_UC_ht+0x125f4, %rbx
nop
nop
nop
nop
nop
add %rcx, %rcx
mov $0x6162636465666768, %r8
movq %r8, (%rbx)
and $9717, %r8
lea addresses_WT_ht+0x1db6b, %rsi
lea addresses_D_ht+0x1176b, %rdi
nop
nop
nop
nop
add %r11, %r11
mov $43, %rcx
rep movsl
nop
nop
inc %r15
lea addresses_D_ht+0x1b83, %rcx
and %r15, %r15
mov $0x6162636465666768, %r11
movq %r11, %xmm3
vmovups %ymm3, (%rcx)
nop
dec %r11
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r8
pop %r15
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r14
push %rbp
push %rdi
push %rdx
// Load
mov $0xf0b, %rdi
and %rbp, %rbp
mov (%rdi), %r11d
nop
nop
nop
nop
and $48819, %rbp
// Store
lea addresses_US+0x1c683, %rdi
xor %r10, %r10
mov $0x5152535455565758, %rbp
movq %rbp, (%rdi)
nop
nop
add %r10, %r10
// Store
lea addresses_WC+0x6a8f, %r11
nop
add $26911, %rdx
mov $0x5152535455565758, %r10
movq %r10, %xmm4
vmovups %ymm4, (%r11)
cmp $6385, %r10
// Store
lea addresses_WC+0x14d83, %r11
nop
nop
nop
nop
nop
and $46851, %r12
movw $0x5152, (%r11)
nop
nop
and %rdi, %rdi
// Load
mov $0x603, %rdx
clflush (%rdx)
nop
nop
nop
nop
sub %r10, %r10
mov (%rdx), %r12w
xor %rbp, %rbp
// Faulty Load
lea addresses_US+0x1c683, %rdi
clflush (%rdi)
nop
nop
nop
nop
and %r11, %r11
mov (%rdi), %r14d
lea oracles, %r12
and $0xff, %r14
shlq $12, %r14
mov (%r12,%r14,1), %r14
pop %rdx
pop %rdi
pop %rbp
pop %r14
pop %r12
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_US', 'same': False, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_P', 'same': False, 'size': 4, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_US', 'same': True, 'size': 8, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_WC', 'same': False, 'size': 32, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_WC', 'same': False, 'size': 2, 'congruent': 6, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_P', 'same': False, 'size': 2, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_US', 'same': True, 'size': 4, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_D_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 2, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_UC_ht', 'same': False, 'size': 8, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 3, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_D_ht', 'same': False, 'size': 32, 'congruent': 6, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'58': 21829}
58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58
*/
| 37.567073 | 2,999 | 0.653628 |
dd2292e47f49f3b8eb3b307728e2ac355f719bc9 | 607 | kt | Kotlin | app/src/main/java/com/alibardide/notal/utils/BootReceiver.kt | alibardide5124/notal | fed178b672e8c5c54880aee5182d8a5a7d3ec815 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/alibardide/notal/utils/BootReceiver.kt | alibardide5124/notal | fed178b672e8c5c54880aee5182d8a5a7d3ec815 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/alibardide/notal/utils/BootReceiver.kt | alibardide5124/notal | fed178b672e8c5c54880aee5182d8a5a7d3ec815 | [
"Apache-2.0"
] | 1 | 2020-07-01T16:08:39.000Z | 2020-07-01T16:08:39.000Z | package com.alibardide.notal.utils
import android.content.*
import com.alibardide.notal.database.AppDatabase
class BootReceiver : BroadcastReceiver() {
override fun onReceive(p0: Context?, p1: Intent?) {
// Check if created on boot completed
if (p1?.action == Intent.ACTION_BOOT_COMPLETED) {
p0?.let { context ->
AppDatabase(context).findNotes().forEach { note ->
// Create notification for each note
NotificationUtil(context).createNotification(note.id, note.text)
}
}
}
}
} | 30.35 | 84 | 0.599671 |
3fd73ee75aaaa7b36b1a683bd9d975326c7c9b8e | 420 | h | C | MailHeaders/Lion/Message/NSDictionary-Goodies.h | w-i-n-s/SimplePlugin | b834309d470de50b2eac29d5c4488a1942bab925 | [
"MIT"
] | 10 | 2015-02-19T21:47:05.000Z | 2021-04-23T10:40:12.000Z | MailHeaders/Lion/Message/NSDictionary-Goodies.h | w-i-n-s/SimplePlugin | b834309d470de50b2eac29d5c4488a1942bab925 | [
"MIT"
] | null | null | null | MailHeaders/Lion/Message/NSDictionary-Goodies.h | w-i-n-s/SimplePlugin | b834309d470de50b2eac29d5c4488a1942bab925 | [
"MIT"
] | 2 | 2018-03-04T02:29:41.000Z | 2021-02-09T20:42:21.000Z | /*
* Generated by class-dump 3.3.3 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2010 by Steve Nygard.
*/
#import "NSDictionary.h"
@interface NSDictionary (Goodies)
- (BOOL)boolForKey:(id)arg1;
- (long long)integerForKey:(id)arg1;
- (float)floatForKey:(id)arg1;
- (double)cgfloatForKey:(id)arg1;
- (struct CGSize)sizeForKey:(id)arg1;
- (id)objectForIntegerKey:(long long)arg1;
@end
| 23.333333 | 83 | 0.692857 |
48dc877bf2dff19580241fb66afb81efcf4e3e8a | 1,572 | h | C | Multiplayer Game Engine/GameManager.h | alejandro61299/Networking-OnlineGames | f60c001753f26691535962ae9512e5e4a5772dde | [
"MIT"
] | null | null | null | Multiplayer Game Engine/GameManager.h | alejandro61299/Networking-OnlineGames | f60c001753f26691535962ae9512e5e4a5772dde | [
"MIT"
] | null | null | null | Multiplayer Game Engine/GameManager.h | alejandro61299/Networking-OnlineGames | f60c001753f26691535962ae9512e5e4a5772dde | [
"MIT"
] | null | null | null | #pragma once
#define GAME_TIME 50.F
#define RESPAWN_TIME 5.F
#define WAIT_TIME 5.F
#define RESULTS_TIME 5.F
#define READY_TIME 2.F
#define LETSROCK_TIME 2.F
#define MIN_GAME_PLAYERS 2
struct ClientProxy;
enum class GameState
{
None, WaitingPlayers, Ready, InGame, Results
};
struct GameData
{
uint8 spaceshipType = 0u;
int points = 0;
float timeToSpawn = RESPAWN_TIME;
enum class PlayerState { None, Victory, Defeat, InGame, Respawning, Waiting, Ready, Go}
playerState = PlayerState::None;
};
class GameManager
{
public:
GameManager();
void init();
void update();
GameState getState() { return gameState; };
void spawnPlayer(const uint32 clientId );
void despawnPlayer(const uint32 clientId );
void spawnAllPlayers();
void despawnAllPlayers();
void setPlayersPoints(int points);
void setPlayersState(GameData::PlayerState state);
void setPlayersResults();
// Spawn Network Objects -----------------------------
static GameObject* spawnSpaceship(uint8 spaceshipType, vec2 initialPosition, float initialAngle);
static GameObject* spawnGemstone(vec2 initialPosition, float initialAngle);
static GameObject* spawnPointer(uint32 clientId, vec2 initialPosition, float initialAngle);
static GameObject* spawnExplosion(bool bigExplosion , vec2 initialPosition, float initialAngle);
static GameObject* spawnGameStateUi();
static GameObject* spawnNumberUi();
private:
int getNumPlayers();
void enableInputPlayers(const bool);
private:
GameState gameState = GameState::None;
GameObject* gemstone = nullptr;
float currentGameTime = 0.f;
};
| 24.184615 | 98 | 0.76145 |
f8218a5f018a9a3988bd6e8b2c33fc8da269e18c | 1,442 | dart | Dart | lib/src/models/server_call_buzz_params/server_call_buzz_params.g.dart | tada-team/tdproto_dart | a91c32244d0f751395c959e8a4b244a1cc444c75 | [
"MIT"
] | 2 | 2020-11-27T01:42:12.000Z | 2020-12-25T20:35:27.000Z | lib/src/models/server_call_buzz_params/server_call_buzz_params.g.dart | tada-team/tdproto_dart | a91c32244d0f751395c959e8a4b244a1cc444c75 | [
"MIT"
] | null | null | null | lib/src/models/server_call_buzz_params/server_call_buzz_params.g.dart | tada-team/tdproto_dart | a91c32244d0f751395c959e8a4b244a1cc444c75 | [
"MIT"
] | null | null | null | // GENERATED CODE - DO NOT MODIFY BY HAND
part of 'server_call_buzz_params.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
_$_ServerCallBuzzParams _$$_ServerCallBuzzParamsFromJson(Map<String, dynamic> json) => _$_ServerCallBuzzParams(
jid: json['jid'] as String,
icons: IconData.fromJson(json['icons'] as Map<String, dynamic>),
displayName: json['display_name'] as String,
teamShort: TeamShort.fromJson(json['teaminfo'] as Map<String, dynamic>),
chatShort: ChatShort.fromJson(json['chat'] as Map<String, dynamic>),
actorShort: ContactShort.fromJson(json['actor'] as Map<String, dynamic>),
uid: json['uid'] as String,
buzzTimeout: json['buzz_timeout'] as int,
team: json['team'] as String,
callType: json['call_type'] as String,
);
Map<String, dynamic> _$$_ServerCallBuzzParamsToJson(_$_ServerCallBuzzParams instance) => <String, dynamic>{
'jid': instance.jid,
'icons': instance.icons.toJson(),
'display_name': instance.displayName,
'teaminfo': instance.teamShort.toJson(),
'chat': instance.chatShort.toJson(),
'actor': instance.actorShort.toJson(),
'uid': instance.uid,
'buzz_timeout': instance.buzzTimeout,
'team': instance.team,
'call_type': instance.callType,
};
| 42.411765 | 111 | 0.60749 |
c7e849a6128446be05ffc42cedc230b071120d5d | 173 | sql | SQL | migrations/2018-04-06-181618_binary_pass/up.sql | hel-repo/hel2-back | becb95f0eb763bf26182cf09d47f544728876f67 | [
"Apache-2.0"
] | 1 | 2020-07-30T05:00:40.000Z | 2020-07-30T05:00:40.000Z | migrations/2018-04-06-181618_binary_pass/up.sql | hel-repo/hel2-back | becb95f0eb763bf26182cf09d47f544728876f67 | [
"Apache-2.0"
] | null | null | null | migrations/2018-04-06-181618_binary_pass/up.sql | hel-repo/hel2-back | becb95f0eb763bf26182cf09d47f544728876f67 | [
"Apache-2.0"
] | null | null | null | ALTER TABLE users ALTER COLUMN password SET DATA TYPE BYTEA USING decode(password, 'hex'),
ALTER COLUMN salt SET DATA TYPE BYTEA USING decode(salt, 'hex'); | 86.5 | 90 | 0.699422 |
9dd128919ccb380503e9c9461e02cbcec86a189f | 131 | sql | SQL | aula_1/script.sql | cp2-dc-info/lp3 | 26cfc4ed3e727a4b5cbbfc5c1d7935bde297263d | [
"MIT"
] | 2 | 2019-07-01T12:11:28.000Z | 2019-07-01T12:14:14.000Z | aula_1/script.sql | cp2-dc-info/lp3 | 26cfc4ed3e727a4b5cbbfc5c1d7935bde297263d | [
"MIT"
] | null | null | null | aula_1/script.sql | cp2-dc-info/lp3 | 26cfc4ed3e727a4b5cbbfc5c1d7935bde297263d | [
"MIT"
] | null | null | null | CREATE TABLE usuario (
id INT PRIMARY KEY AUTO_INCREMENT,
nome VARCHAR(100),
email VARCHAR(100),
senha VARCHAR(100)
); | 21.833333 | 35 | 0.694656 |
96a2abe2a2aef0e1b6eb91f1ec0b4c9a502c15ac | 1,809 | html | HTML | frontend/src/app/features/issues/components/issue-comments/issue-comments.component.html | Innovacode-Solucoes/smartflow-365-kanban-project | bd97da174eb5493a9f951ab24c9e45a9373590e2 | [
"MIT"
] | null | null | null | frontend/src/app/features/issues/components/issue-comments/issue-comments.component.html | Innovacode-Solucoes/smartflow-365-kanban-project | bd97da174eb5493a9f951ab24c9e45a9373590e2 | [
"MIT"
] | null | null | null | frontend/src/app/features/issues/components/issue-comments/issue-comments.component.html | Innovacode-Solucoes/smartflow-365-kanban-project | bd97da174eb5493a9f951ab24c9e45a9373590e2 | [
"MIT"
] | null | null | null | <div class="issue-comments">Comentários</div>
<nz-comment>
<nz-avatar
nz-comment-avatar
nzIcon="user"
[nzSrc]="currentUser.avatarUrl"
></nz-avatar>
<nz-comment-content>
<ng-container *ngIf="isEditing; else readonlyModeTempl">
<quill-editor
[formControl]="commentControl"
[modules]="defaultEditorOptions"
format="object"
[styles]="{ 'min-height': '100px' }"
placeholder="Add a comment"
(onEditorCreated)="editorCreated($event)"
[trimOnValidation]="true"
[required]="true"
></quill-editor>
<div class="actions">
<button
nz-button
nzType="primary"
[nzLoading]="isLoading"
[disabled]="commentControl.invalid"
(click)="addComment()"
>
Salvar
</button>
<app-button className="btn-empty" (click)="cancel()">Cancelar</app-button>
</div>
</ng-container>
<ng-template #readonlyModeTempl>
<nz-form-item>
<input
nz-input
placeholder="Adicionar um comentário"
nzSize="large"
(focus)="onFocus()"
/>
<div class="pro-tip">
<strong>Pro tip: </strong>press<span>M</span>to comment
</div>
</nz-form-item>
</ng-template>
</nz-comment-content>
</nz-comment>
<issue-comments-item
*ngFor="let comment of comments"
[comment]="comment"
[canBeEditByCurrentUser]="currentUser.id === comment.author.id"
(editCommentEvent)="onEditComment($event)"
(deleteCommentEvent)="onDeleteComment($event)"
></issue-comments-item>
<nz-alert
*ngIf="commentsError$ | async as errorMsg"
nzType="error"
nzMessage="Não foi possível carregar os comentários"
[nzDescription]="errorMsg"
nzShowIcon
nzCloseable
>
</nz-alert>
| 27 | 82 | 0.604201 |
71e0366859bbddf9c16aa0b1d5fa84e0ba8e917c | 249 | ts | TypeScript | resources/admin/js/Pages/Ships/index.ts | Chrissle28/macrame-example | 0d82f92ee6ff0415cd610b9e089de668bcf22277 | [
"MIT"
] | null | null | null | resources/admin/js/Pages/Ships/index.ts | Chrissle28/macrame-example | 0d82f92ee6ff0415cd610b9e089de668bcf22277 | [
"MIT"
] | null | null | null | resources/admin/js/Pages/Ships/index.ts | Chrissle28/macrame-example | 0d82f92ee6ff0415cd610b9e089de668bcf22277 | [
"MIT"
] | null | null | null | import { useIndex } from '@macramejs/macrame-vue3';
import { Ship } from '@admin/modules/resources';
export const table = useIndex<Ship>({
route: '/admin/ships/items',
syncUrl: true,
defaultPerPage: 30, // deprecated
sortBy: [],
}); | 27.666667 | 51 | 0.658635 |
8fe7d68d291cbf67714ab27fd875625cb6d2f7b8 | 62 | sql | SQL | manager/src/main/resources/db/migration/0.1/V0.1.5__add_processor_transformation.sql | ricardozanini/sandbox | 9ce3dc9b5ca245cabd1b12c5ab8ecdf4e357f3b1 | [
"Apache-2.0"
] | null | null | null | manager/src/main/resources/db/migration/0.1/V0.1.5__add_processor_transformation.sql | ricardozanini/sandbox | 9ce3dc9b5ca245cabd1b12c5ab8ecdf4e357f3b1 | [
"Apache-2.0"
] | null | null | null | manager/src/main/resources/db/migration/0.1/V0.1.5__add_processor_transformation.sql | ricardozanini/sandbox | 9ce3dc9b5ca245cabd1b12c5ab8ecdf4e357f3b1 | [
"Apache-2.0"
] | null | null | null | alter table PROCESSOR add column transformation_template TEXT; | 62 | 62 | 0.887097 |
13d83a01c27330d5abd6310a153a43110314a940 | 1,117 | sql | SQL | solution/Database/ADSGoFastDatabase/ADSGoFast/Scripts/Script.PostDeployment5_TaskMasterWaterMark.sql | willfva/azure-data-services-go-fast-codebase | 9c92e317170273703f9e44e30ca62b9282723884 | [
"MIT"
] | 32 | 2020-11-30T23:40:16.000Z | 2022-03-26T01:43:58.000Z | solution/Database/ADSGoFastDatabase/ADSGoFast/Scripts/Script.PostDeployment5_TaskMasterWaterMark.sql | willfva/azure-data-services-go-fast-codebase | 9c92e317170273703f9e44e30ca62b9282723884 | [
"MIT"
] | 105 | 2020-12-09T08:30:59.000Z | 2022-03-27T02:19:04.000Z | solution/Database/ADSGoFastDatabase/ADSGoFast/Scripts/Script.PostDeployment5_TaskMasterWaterMark.sql | willfva/azure-data-services-go-fast-codebase | 9c92e317170273703f9e44e30ca62b9282723884 | [
"MIT"
] | 38 | 2020-12-09T04:02:30.000Z | 2022-03-25T07:24:19.000Z | /*-----------------------------------------------------------------------
Copyright (c) Microsoft Corporation.
Licensed under the MIT license.
-----------------------------------------------------------------------*/
/*
Post-Deployment Script Template
--------------------------------------------------------------------------------------
This file contains SQL statements that will be appended to the build script.
Use SQLCMD syntax to include a file in the post-deployment script.
Example: :r .\myfile.sql
Use SQLCMD syntax to reference a variable in the post-deployment script.
Example: :setvar TableName MyTable
SELECT * FROM [$(TableName)]
--------------------------------------------------------------------------------------
*/
/*
TaskMasterWaterMark
*/
INSERT INTO [dbo].[TaskMasterWaterMark]
([TaskMasterId],[TaskMasterWaterMarkColumn],[TaskMasterWaterMarkColumnType],[TaskMasterWaterMark_DateTime],[TaskMasterWaterMark_BigInt],[TaskWaterMarkJSON],[ActiveYN],[UpdatedOn])
VALUES (2,'ModifiedDate','DateTime',null,null,null,1,getdate())
GO
| 42.961538 | 179 | 0.519248 |
2dba782f18fc2b222614c46619f406e97129eb06 | 2,841 | html | HTML | software_manager/templates/software_manager/scheduledtask_add.html | Onemind-Services-LLC/netbox-software-manager | 3d61bdb07462b18273eca8aa5b0e5c3b39ff88b7 | [
"MIT"
] | 18 | 2021-03-15T18:02:55.000Z | 2022-03-26T09:01:32.000Z | software_manager/templates/software_manager/scheduledtask_add.html | Onemind-Services-LLC/netbox-software-manager | 3d61bdb07462b18273eca8aa5b0e5c3b39ff88b7 | [
"MIT"
] | 4 | 2021-04-14T20:17:27.000Z | 2021-11-08T10:36:55.000Z | software_manager/templates/software_manager/scheduledtask_add.html | Onemind-Services-LLC/netbox-software-manager | 3d61bdb07462b18273eca8aa5b0e5c3b39ff88b7 | [
"MIT"
] | 3 | 2021-03-11T19:32:04.000Z | 2022-01-30T09:25:29.000Z | {% extends 'base.html' %}
{% load form_helpers %}
{% load my_form_helpers %}
{% block content %}
<h1>{% block title %}Add {{ model_name|title }}{% endblock %}</h1>
<p>{{ table.rows|length }} {{ parent_model_name }} selected</p>
<form action="." method="post" class="form form-horizontal">
{% csrf_token %}
{% if request.POST.return_url %}
<input type="hidden" name="return_url" value="{{ request.POST.return_url }}" />
{% endif %}
{% for field in form.hidden_fields %}
{{ field }}
{% endfor %}
<div class="row">
<div class="col-md-7">
<div class="panel panel-default">
{% include 'inc/table.html' %}
</div>
</div>
<div class="col-md-5">
{% if form.non_field_errors %}
<div class="panel panel-danger">
<div class="panel-heading"><strong>Errors</strong></div>
<div class="panel-body">
{{ form.non_field_errors }}
</div>
</div>
{% endif %}
<div class="panel panel-default">
<div class="panel-heading"><strong>{{ model_name|title }} to Add</strong></div>
<div class="panel-body">
{% for field in form.visible_fields %}
{% if field.name in form.start_now %}
<div class="form-group{% if field.errors %} has-error{% endif %}">
<label class="col-md-3 control-label{% if field.field.required %} required{% endif %}" for="{{ field.id_for_label }}"><strong>{{ field.label }}</strong></label>
<div class="col-md-9">
{{ field }}
<label class="checkbox-inline">
<input type="checkbox" name="_nullify" value="{{ field.name }}" /> Start Now
</label>
{% if field.help_text %}
<span class="help-block">{{ field.help_text|safe }}</span>
{% endif %}
</div>
</div>
{% else %}
{% my_render_field field %}
{% endif %}
{% endfor %}
</div>
</div>
<div class="form-group text-right">
<div class="col-md-12">
<button type="submit" formaction="?return_url={{ next_url }}" name="_create" class="btn btn-primary">Create</button>
<a href="{{ return_url }}" class="btn btn-default">Cancel</a>
</div>
</div>
</div>
</div>
</form>
{% endblock %}
| 44.390625 | 188 | 0.436818 |
1517391dc4e1d19f7ec01727d3115cba5534e6c5 | 1,804 | asm | Assembly | Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_74_2320.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_74_2320.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_74_2320.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %rdx
lea addresses_normal_ht+0x88de, %rdx
nop
nop
nop
nop
nop
sub $16173, %r10
mov $0x6162636465666768, %r11
movq %r11, %xmm6
vmovups %ymm6, (%rdx)
xor $6048, %r8
pop %rdx
pop %r8
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r14
push %rax
push %rbp
push %rbx
push %rcx
// Store
lea addresses_UC+0x1a7fc, %r11
nop
sub %rcx, %rcx
movb $0x51, (%r11)
nop
nop
nop
nop
add $9661, %rcx
// Store
lea addresses_D+0x238c, %r13
clflush (%r13)
and %rax, %rax
mov $0x5152535455565758, %rcx
movq %rcx, (%r13)
nop
nop
nop
nop
nop
and %rcx, %rcx
// Faulty Load
lea addresses_US+0xfafc, %r11
nop
nop
nop
nop
xor %rbx, %rbx
mov (%r11), %ax
lea oracles, %rcx
and $0xff, %rax
shlq $12, %rax
mov (%rcx,%rax,1), %rax
pop %rcx
pop %rbx
pop %rbp
pop %rax
pop %r14
pop %r13
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_US', 'same': False, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_UC', 'same': False, 'size': 1, 'congruent': 5, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_D', 'same': False, 'size': 8, 'congruent': 2, 'NT': False, 'AVXalign': True}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'type': 'addresses_US', 'same': True, 'size': 2, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'dst': {'type': 'addresses_normal_ht', 'same': False, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'00': 74}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 19.608696 | 221 | 0.649113 |
54433b87bae7330613b00812f215d1be96fb84c9 | 12,265 | go | Go | core/api/v1/keytransparency_go_proto/frontend.pb.go | Manny27nyc/keytransparency | c1d8b03b87f098b18637b89ab17ff4c1c49fd1e2 | [
"Apache-2.0"
] | 868 | 2017-01-12T18:05:56.000Z | 2017-01-18T09:19:30.000Z | core/api/v1/keytransparency_go_proto/frontend.pb.go | Manny27nyc/keytransparency | c1d8b03b87f098b18637b89ab17ff4c1c49fd1e2 | [
"Apache-2.0"
] | 1,076 | 2017-01-18T22:48:01.000Z | 2021-07-05T06:39:35.000Z | core/api/v1/keytransparency_go_proto/frontend.pb.go | Manny27nyc/keytransparency | c1d8b03b87f098b18637b89ab17ff4c1c49fd1e2 | [
"Apache-2.0"
] | 142 | 2017-01-18T09:40:02.000Z | 2022-03-16T09:26:59.000Z | // Copyright 2018 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.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.23.0
// protoc v3.12.1
// source: v1/frontend.proto
// Key Transparency Frontend
//
// The Key Transparency API consists of a map of user names to public
// keys. Each user name also has a history of public keys that have been
// associated with it.
package keytransparency_go_proto
import (
context "context"
proto "github.com/golang/protobuf/proto"
empty "github.com/golang/protobuf/ptypes/empty"
_ "google.golang.org/genproto/googleapis/api/annotations"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
// QueueKeyUpdateRequest enqueues an update to a user's identity keys.
type QueueKeyUpdateRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// directory_id identifies the directory in which the user lives.
DirectoryId string `protobuf:"bytes,1,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"`
// user_id specifies the id for the user whose keys are being updated.
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// key_data is the key data to store.
KeyData []byte `protobuf:"bytes,3,opt,name=key_data,json=keyData,proto3" json:"key_data,omitempty"`
}
func (x *QueueKeyUpdateRequest) Reset() {
*x = QueueKeyUpdateRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_v1_frontend_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *QueueKeyUpdateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*QueueKeyUpdateRequest) ProtoMessage() {}
func (x *QueueKeyUpdateRequest) ProtoReflect() protoreflect.Message {
mi := &file_v1_frontend_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use QueueKeyUpdateRequest.ProtoReflect.Descriptor instead.
func (*QueueKeyUpdateRequest) Descriptor() ([]byte, []int) {
return file_v1_frontend_proto_rawDescGZIP(), []int{0}
}
func (x *QueueKeyUpdateRequest) GetDirectoryId() string {
if x != nil {
return x.DirectoryId
}
return ""
}
func (x *QueueKeyUpdateRequest) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
func (x *QueueKeyUpdateRequest) GetKeyData() []byte {
if x != nil {
return x.KeyData
}
return nil
}
var File_v1_frontend_proto protoreflect.FileDescriptor
var file_v1_frontend_proto_rawDesc = []byte{
0x0a, 0x11, 0x76, 0x31, 0x2f, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x12, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6b, 0x65, 0x79, 0x74,
0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x1c,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f,
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d,
0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e, 0x0a, 0x15, 0x51, 0x75, 0x65,
0x75, 0x65, 0x4b, 0x65, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x5f,
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x19,
0x0a, 0x08, 0x6b, 0x65, 0x79, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c,
0x52, 0x07, 0x6b, 0x65, 0x79, 0x44, 0x61, 0x74, 0x61, 0x32, 0xb1, 0x01, 0x0a, 0x17, 0x4b, 0x65,
0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x46, 0x72, 0x6f,
0x6e, 0x74, 0x65, 0x6e, 0x64, 0x12, 0x95, 0x01, 0x0a, 0x0e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x4b,
0x65, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2e, 0x6b, 0x65, 0x79, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x63,
0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x4b, 0x65, 0x79, 0x55, 0x70, 0x64,
0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,
0x74, 0x79, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x2e, 0x2f, 0x76, 0x31, 0x2f,
0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x69, 0x72,
0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73,
0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x3a, 0x01, 0x2a, 0x42, 0x48, 0x5a,
0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67,
0x6c, 0x65, 0x2f, 0x6b, 0x65, 0x79, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e,
0x63, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6b,
0x65, 0x79, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x67,
0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_v1_frontend_proto_rawDescOnce sync.Once
file_v1_frontend_proto_rawDescData = file_v1_frontend_proto_rawDesc
)
func file_v1_frontend_proto_rawDescGZIP() []byte {
file_v1_frontend_proto_rawDescOnce.Do(func() {
file_v1_frontend_proto_rawDescData = protoimpl.X.CompressGZIP(file_v1_frontend_proto_rawDescData)
})
return file_v1_frontend_proto_rawDescData
}
var file_v1_frontend_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_v1_frontend_proto_goTypes = []interface{}{
(*QueueKeyUpdateRequest)(nil), // 0: google.keytransparency.v1.QueueKeyUpdateRequest
(*empty.Empty)(nil), // 1: google.protobuf.Empty
}
var file_v1_frontend_proto_depIdxs = []int32{
0, // 0: google.keytransparency.v1.KeyTransparencyFrontend.QueueKeyUpdate:input_type -> google.keytransparency.v1.QueueKeyUpdateRequest
1, // 1: google.keytransparency.v1.KeyTransparencyFrontend.QueueKeyUpdate:output_type -> google.protobuf.Empty
1, // [1:2] is the sub-list for method output_type
0, // [0:1] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_v1_frontend_proto_init() }
func file_v1_frontend_proto_init() {
if File_v1_frontend_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_v1_frontend_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*QueueKeyUpdateRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_v1_frontend_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_v1_frontend_proto_goTypes,
DependencyIndexes: file_v1_frontend_proto_depIdxs,
MessageInfos: file_v1_frontend_proto_msgTypes,
}.Build()
File_v1_frontend_proto = out.File
file_v1_frontend_proto_rawDesc = nil
file_v1_frontend_proto_goTypes = nil
file_v1_frontend_proto_depIdxs = nil
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConnInterface
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion6
// KeyTransparencyFrontendClient is the client API for KeyTransparencyFrontend service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type KeyTransparencyFrontendClient interface {
// Enqueues an update to a user's identity keys.
QueueKeyUpdate(ctx context.Context, in *QueueKeyUpdateRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}
type keyTransparencyFrontendClient struct {
cc grpc.ClientConnInterface
}
func NewKeyTransparencyFrontendClient(cc grpc.ClientConnInterface) KeyTransparencyFrontendClient {
return &keyTransparencyFrontendClient{cc}
}
func (c *keyTransparencyFrontendClient) QueueKeyUpdate(ctx context.Context, in *QueueKeyUpdateRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/google.keytransparency.v1.KeyTransparencyFrontend/QueueKeyUpdate", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// KeyTransparencyFrontendServer is the server API for KeyTransparencyFrontend service.
type KeyTransparencyFrontendServer interface {
// Enqueues an update to a user's identity keys.
QueueKeyUpdate(context.Context, *QueueKeyUpdateRequest) (*empty.Empty, error)
}
// UnimplementedKeyTransparencyFrontendServer can be embedded to have forward compatible implementations.
type UnimplementedKeyTransparencyFrontendServer struct {
}
func (*UnimplementedKeyTransparencyFrontendServer) QueueKeyUpdate(context.Context, *QueueKeyUpdateRequest) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method QueueKeyUpdate not implemented")
}
func RegisterKeyTransparencyFrontendServer(s *grpc.Server, srv KeyTransparencyFrontendServer) {
s.RegisterService(&_KeyTransparencyFrontend_serviceDesc, srv)
}
func _KeyTransparencyFrontend_QueueKeyUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueueKeyUpdateRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(KeyTransparencyFrontendServer).QueueKeyUpdate(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.keytransparency.v1.KeyTransparencyFrontend/QueueKeyUpdate",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(KeyTransparencyFrontendServer).QueueKeyUpdate(ctx, req.(*QueueKeyUpdateRequest))
}
return interceptor(ctx, in, info, handler)
}
var _KeyTransparencyFrontend_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.keytransparency.v1.KeyTransparencyFrontend",
HandlerType: (*KeyTransparencyFrontendServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "QueueKeyUpdate",
Handler: _KeyTransparencyFrontend_QueueKeyUpdate_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "v1/frontend.proto",
}
| 40.478548 | 183 | 0.740807 |
e73fe0542fccc3fc24c52df12dcde0748c00b6cd | 1,536 | js | JavaScript | src/components/additionalData.js | Alejandro-Repizo/Weather-App | e22b22fbf6be6c328fceedcedd9518d23f6c68d7 | [
"MIT"
] | 1 | 2021-07-16T17:15:01.000Z | 2021-07-16T17:15:01.000Z | src/components/additionalData.js | Alejandro-Repizo/Weather-App | e22b22fbf6be6c328fceedcedd9518d23f6c68d7 | [
"MIT"
] | null | null | null | src/components/additionalData.js | Alejandro-Repizo/Weather-App | e22b22fbf6be6c328fceedcedd9518d23f6c68d7 | [
"MIT"
] | null | null | null | import Swal from "sweetalert2"
/**
* Crea la tarjeta con
* la informacion adicional
*
* @param {object} data
*/
const messageInformation = (data) => {
Swal.fire({
imageUrl: '../img/favicon.png',
title: '<p class="text-2xl font-bold text-yellow-300 uppercase">additional data<p>',
imageWidth: 29,
imageHeight: 41,
showConfirmButton: false,
allowOutsideClick: true,
keydownListenerCapture: true,
html: `
<div class="grid grid-cols-2 gap-2 tracking-wide mb-8">
<div class="col-span-2 mx-4 -mt-3 mb-4">
<p class="uppercase text-base font-bold text-gray-900">${data.name}</p>
</div>
<div>
<i class="fas fa-thermometer-full text-yellow-300"></i>
<p>Max: ${Math.trunc(data.main.temp_max)}ºC</p>
</div>
<div>
<i class="fas fa-thermometer-empty text-yellow-300"></i>
<p>Min: ${Math.trunc(data.main.temp_max)}ºC</p>
</div>
<div>
<i class="far fa-sun text-yellow-300"></i>
<p>Feels Like: ${Math.trunc(data.main.feels_like)}ºC</p>
</div>
<div>
<i class="fab fa-cloudscale text-yellow-300"></i>
<p>Pressure: ${data.main.pressure}hPa</p>
</div>
</div>
`
})
}
export default messageInformation | 34.909091 | 92 | 0.48763 |
dfc476b46b1ae6b4aa571056c17c404258834ac9 | 550 | ts | TypeScript | src/issue.ts | exploterm/terminal-file-explorer | 8e51479b4638822f6ab0d1592f6eb204123cf8d9 | [
"MIT"
] | 22 | 2021-07-04T19:48:19.000Z | 2022-02-03T16:17:39.000Z | src/issue.ts | exploterm/terminal-file-explorer | 8e51479b4638822f6ab0d1592f6eb204123cf8d9 | [
"MIT"
] | 3 | 2021-07-30T07:21:31.000Z | 2022-01-07T15:44:57.000Z | src/issue.ts | exploterm/terminal-file-explorer | 8e51479b4638822f6ab0d1592f6eb204123cf8d9 | [
"MIT"
] | 1 | 2021-10-10T13:38:44.000Z | 2021-10-10T13:38:44.000Z | import { Prompt } from "./prompt";
import { cyanBright } from "chalk";
import open = require("open");
const createUrl = (issue: string): string => {
return `https://github.com/pranavbaburaj/termex/issues/new?assignees=&template=bug_report.md&title=${issue}`;
};
export const reportIssue = () => {
new Prompt({
prompt: cyanBright("What's the issue that you face"),
character: cyanBright("[?]"),
callback: (userInput: string): void => {
open(createUrl(userInput.trim().replace(" ", "+")));
},
exitPrompt: true,
});
};
| 28.947368 | 111 | 0.636364 |
58c8ba50bf4478702111a98fbda91cb157df12a2 | 8,495 | rs | Rust | programs/token/src/state.rs | mundisnetwork/axis | da4bf50718c9d5d9a3a9cfe5c94a467409a33587 | [
"Apache-2.0"
] | 1 | 2022-03-28T06:50:01.000Z | 2022-03-28T06:50:01.000Z | programs/token/src/state.rs | mundisnetwork/axis | da4bf50718c9d5d9a3a9cfe5c94a467409a33587 | [
"Apache-2.0"
] | null | null | null | programs/token/src/state.rs | mundisnetwork/axis | da4bf50718c9d5d9a3a9cfe5c94a467409a33587 | [
"Apache-2.0"
] | null | null | null | //! State transition types
use arrayref::array_mut_ref;
use num_enum::TryFromPrimitive;
use serde_derive::{Deserialize, Serialize};
use mundis_sdk::instruction::InstructionError;
use mundis_sdk::program_pack::{IsInitialized, Sealed};
use mundis_sdk::pubkey::Pubkey;
use crate::error::TokenError;
use crate::token_instruction::MAX_SIGNERS;
pub const MAX_NAME_LENGTH: usize = 32;
pub const MAX_SYMBOL_LENGTH: usize = 10;
/// Mint data.
#[repr(C)]
#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
pub struct Mint {
/// Optional authority used to mint new tokens. The mint authority may only be provided during
/// mint creation. If no mint authority is present then the mint has a fixed supply and no
/// further tokens may be minted.
pub mint_authority: Option<Pubkey>,
/// The name of the asset
pub name: String,
/// The symbol for the asset
pub symbol: String,
/// Total supply of tokens.
pub supply: u64,
/// Number of base 10 digits to the right of the decimal place.
pub decimals: u8,
/// Is `true` if this structure has been initialized
pub is_initialized: bool,
/// Optional authority to freeze token accounts.
pub freeze_authority: Option<Pubkey>,
}
impl Mint {
/// The length, in bytes, of the packed representation
pub const LEN: usize = 134;
pub fn packed_len() -> usize {
return Self::LEN;
}
pub fn pack(&self, dst: &mut [u8]) -> Result<(), InstructionError> {
let dst = array_mut_ref![dst, 0, Mint::LEN];
let serialized_data = bincode::serialize(&self).unwrap();
assert!(serialized_data.len() <= Self::LEN);
for (dst, src) in dst.iter_mut().zip(&serialized_data) {
*dst = *src;
}
Ok(())
}
pub fn unpack(data: &[u8]) -> Result<Mint, InstructionError> {
let deser = bincode::deserialize::<Mint>(data);
if deser.is_err() {
return Err(TokenError::InvalidState.into());
}
return Ok(deser.unwrap());
}
}
impl Sealed for Mint {}
impl IsInitialized for Mint {
fn is_initialized(&self) -> bool {
self.is_initialized
}
}
/// Account data.
#[derive(Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
pub struct TokenAccount {
/// The mint associated with this account
pub mint: Pubkey,
/// The owner of this account.
pub owner: Pubkey,
/// The amount of tokens this account holds.
pub amount: u64,
/// If `delegate` is `Some` then `delegated_amount` represents
/// the amount authorized by the delegate
pub delegate: Option<Pubkey>,
/// The account's state
pub state: AccountState,
/// If is_some, this is a native token, and the value logs the rent-exempt reserve. An Account
/// is required to be rent-exempt, so the value is used by the Processor to ensure that wrapped
/// MUNDIS accounts do not drop below this threshold.
pub is_native: bool,
/// The amount delegated
pub delegated_amount: u64,
/// Optional authority to close the account.
pub close_authority: Option<Pubkey>,
}
impl TokenAccount {
/// The length, in bytes, of the packed representation
pub const LEN: usize = 151;
/// Checks if account is frozen
pub fn is_frozen(&self) -> bool {
self.state == AccountState::Frozen
}
/// Checks if account is native
pub fn is_native(&self) -> bool {
self.is_native
}
pub fn packed_len() -> usize {
return Self::LEN;
}
pub fn pack(&self, dst: &mut [u8]) -> Result<(), InstructionError> {
let dst = array_mut_ref![dst, 0, TokenAccount::LEN];
let serialized_data = bincode::serialize(&self)
.unwrap();
assert!(serialized_data.len() <= Self::LEN);
for (dst, src) in dst.iter_mut().zip(&serialized_data) {
*dst = *src;
}
Ok(())
}
pub fn unpack(data: &[u8]) -> Result<TokenAccount, InstructionError> {
let deser = bincode::deserialize::<TokenAccount>(data);
if deser.is_err() {
return Err(TokenError::InvalidState.into());
}
return Ok(deser.unwrap());
}
}
impl Sealed for TokenAccount {}
impl IsInitialized for TokenAccount {
fn is_initialized(&self) -> bool {
self.state != AccountState::Uninitialized
}
}
/// Account state.
#[repr(u8)]
#[derive(Serialize, Deserialize, Clone, Copy, Debug, PartialEq, TryFromPrimitive)]
pub enum AccountState {
/// Account is not yet initialized
Uninitialized,
/// Account is initialized; the account owner and/or delegate may perform permitted operations
/// on this account
Initialized,
/// Account has been frozen by the mint freeze authority. Neither the account owner nor
/// the delegate are able to perform operations on this account.
Frozen,
}
impl Default for AccountState {
fn default() -> Self {
AccountState::Uninitialized
}
}
/// Multisignature data.
#[derive(Serialize, Deserialize, Clone, Copy, Debug, Default, PartialEq)]
pub struct Multisig {
/// Number of signers required
pub m: u8,
/// Number of valid signers
pub n: u8,
/// Is `true` if this structure has been initialized
pub is_initialized: bool,
/// Signer public keys
pub signers: [Pubkey; MAX_SIGNERS],
}
impl Multisig {
/// The length, in bytes, of the packed representation
const LEN: usize = 355;
pub fn packed_len() -> usize {
return Self::LEN;
}
pub fn pack(&self, dst: &mut [u8]) -> Result<(), InstructionError> {
let dst = array_mut_ref![dst, 0, Multisig::LEN];
let serialized_data = bincode::serialize(&self)
.unwrap();
assert!(serialized_data.len() <= Self::LEN);
for (dst, src) in dst.iter_mut().zip(&serialized_data) {
*dst = *src;
}
Ok(())
}
pub fn unpack(data: &[u8]) -> Result<Multisig, InstructionError> {
let deser = bincode::deserialize::<Multisig>(data);
if deser.is_err() {
return Err(TokenError::InvalidState.into());
}
return Ok(deser.unwrap());
}
}
impl Sealed for Multisig {}
impl IsInitialized for Multisig {
fn is_initialized(&self) -> bool {
self.is_initialized
}
}
#[cfg(test)]
mod tests {
use std::str::from_utf8;
use mundis_sdk::pubkey::Pubkey;
use crate::state::{TokenAccount, AccountState, Mint, Multisig, MAX_NAME_LENGTH, MAX_SYMBOL_LENGTH};
use crate::token_instruction::MAX_SIGNERS;
#[test]
fn test_pack_unpack() {
let max_name_str = from_utf8(&['a' as u8;MAX_NAME_LENGTH]).unwrap();
let max_symbol_str = from_utf8(&['a' as u8;MAX_SYMBOL_LENGTH]).unwrap();
// Mint
let check = Mint {
name: String::from(max_name_str),
symbol: String::from(max_symbol_str),
mint_authority: Some(Pubkey::new(&[1; 32])),
supply: 42,
decimals: 7,
is_initialized: true,
freeze_authority: Some(Pubkey::new(&[2; 32])),
};
let packed_len = bincode::serialized_size(&check).unwrap();
assert!(packed_len <= Mint::packed_len() as u64);
let packed = bincode::serialize(&check).unwrap();
assert_eq!(check, bincode::deserialize::<Mint>(&packed).unwrap());
// Account
let check = TokenAccount {
mint: Pubkey::new(&[1; 32]),
owner: Pubkey::new(&[2; 32]),
amount: 3,
delegate: Some(Pubkey::new(&[4; 32])),
state: AccountState::Frozen,
is_native: true,
delegated_amount: 6,
close_authority: Some(Pubkey::new(&[7; 32])),
};
let packed_len = bincode::serialized_size(&check).unwrap();
assert!(packed_len <= TokenAccount::packed_len() as u64);
let packed = bincode::serialize(&check).unwrap();
assert_eq!(check, bincode::deserialize::<TokenAccount>(&packed).unwrap());
// Multisig
let check = Multisig {
m: 1,
n: 2,
is_initialized: true,
signers: [Pubkey::new(&[3; 32]); MAX_SIGNERS],
};
let packed_len = bincode::serialized_size(&check).unwrap();
assert!(packed_len <= Multisig::packed_len() as u64);
let packed = bincode::serialize(&check).unwrap();
assert_eq!(check, bincode::deserialize::<Multisig>(&packed).unwrap());
}
}
| 31.93609 | 103 | 0.618481 |
994873e4d47326ad80086375411fa5adf3ca8818 | 21,636 | h | C | 3dEngine/VecMat.h | ForNextSoftwareDevelopment/3dEngine | 7ebd5fb5ef91c08e98dbacaaa335ac1911f1d3e1 | [
"Unlicense"
] | null | null | null | 3dEngine/VecMat.h | ForNextSoftwareDevelopment/3dEngine | 7ebd5fb5ef91c08e98dbacaaa335ac1911f1d3e1 | [
"Unlicense"
] | null | null | null | 3dEngine/VecMat.h | ForNextSoftwareDevelopment/3dEngine | 7ebd5fb5ef91c08e98dbacaaa335ac1911f1d3e1 | [
"Unlicense"
] | null | null | null | #pragma once
#include <cmath>
namespace VecMat
{
#define PI 3.14159265358979f
/*********************************************************************
* The structure for our vertex type
*********************************************************************/
typedef struct Vertex
{
// The untransformed, 3D position for the vertex
float x, y, z;
// Default constructor
inline Vertex()
{
this->x = 0.0f;
this->y = 0.0f;
this->z = 0.0f;
}
// Constructor
inline Vertex(float x, float y, float z)
{
this->x = x;
this->y = y;
this->z = z;
}
// Add 2 vertices
inline Vertex operator+ (Vertex arg)
{
Vertex result;
result.x = this->x + arg.x;
result.y = this->y + arg.y;
result.z = this->z + arg.z;
return (result);
}
} Vertex;
/*********************************************************************
* The structure for our face type (allways a triangle)
*********************************************************************/
typedef struct Face
{
// First vertex
unsigned int first;
// Second vertex
unsigned int second;
// Third vertex
unsigned int third;
// Default constructor
inline Face()
{
this->first = 0;
this->second = 0;
this->third = 0;
}
// Constructor
inline Face(int first, int second, int third)
{
this->first = first;
this->second = second;
this->third = third;
}
} Face;
/*********************************************************************
* The structure for our mapping of a texture vertex to a vertex
*********************************************************************/
typedef struct Map
{
// Vertex
unsigned int ver;
// Texture vertex
unsigned int tex;
} Map;
/*********************************************************************
* Degree to Radian
*********************************************************************/
inline float DtoR (float angleInDegrees)
{
return ((2 * PI * angleInDegrees) / 360.0f);
}
/*********************************************************************
* Radian to Degree
*********************************************************************/
inline float RtoD (float angleInRadians)
{
return ((360.0f * angleInRadians) / (2 * PI));
}
/*********************************************************************
* Vector with 2 coordinates
*********************************************************************/
class Vec2
{
private:
public:
// Vector row (1 column with 2 rows)
float row[2];
// Default constructor
inline Vec2 ()
{
this->row[0] = 0.0f;
this->row[1] = 0.0f;
}
// Constructor
inline Vec2 (float x, float y)
{
this->row[0] = x;
this->row[1] = y;
}
// Subtract 2 vectors
inline Vec2 operator- (Vec2 arg)
{
Vec2 result;
result.row[0] = this->row[0] - arg.row[0];
result.row[1] = this->row[1] - arg.row[1];
return (result);
}
// Add 2 vectors
inline Vec2 operator+ (Vec2 arg)
{
Vec2 result;
result.row[0] = this->row[0] + arg.row[0];
result.row[1] = this->row[1] + arg.row[1];
return (result);
}
// Return types
inline operator const float*() const { return &row[0]; }
inline float& operator[](int n) { return row[n]; }
inline const float& operator[](int n) const { return row[n]; }
};
/*********************************************************************
* Vector with 3 coordinates
*********************************************************************/
class Vec3
{
private:
public:
// Vector row (1 column with 3 rows)
float row[3];
// Default constructor
inline Vec3 ()
{
this->row[0] = 0.0f;
this->row[1] = 0.0f;
this->row[2] = 0.0f;
}
// Constructor
inline Vec3 (float x, float y, float z)
{
this->row[0] = x;
this->row[1] = y;
this->row[2] = z;
}
// Subtract 2 vectors
inline Vec3 operator- (Vec3 arg)
{
Vec3 result;
result.row[0] = this->row[0] - arg.row[0];
result.row[1] = this->row[1] - arg.row[1];
result.row[2] = this->row[2] - arg.row[2];
return (result);
}
// Add 2 vectors
inline Vec3 operator+ (Vec3 arg)
{
Vec3 result;
result.row[0] = this->row[0] + arg.row[0];
result.row[1] = this->row[1] + arg.row[1];
result.row[2] = this->row[2] + arg.row[2];
return (result);
}
// Multiply 2 vectors (cross product)
inline Vec3 operator* (Vec3 arg)
{
Vec3 result;
result.row[0] = (this->row[1] * arg.row[2]) - (this->row[2] * arg.row[1]);
result.row[1] = (this->row[2] * arg.row[0]) - (this->row[0] * arg.row[2]);
result.row[2] = (this->row[0] * arg.row[1]) - (this->row[1] * arg.row[0]);
return (result);
}
// Return types
inline operator const float*() const { return &row[0]; }
inline float& operator[](int n) { return row[n]; }
inline const float& operator[](int n) const { return row[n]; }
};
/*********************************************************************
* Normalize a Vec3 vector
*********************************************************************/
inline Vec3 Normalize(Vec3 vec3)
{
// Normalize this vector
float normFactor = sqrt(vec3[0] * vec3[0] + vec3[1] * vec3[1] + vec3[2] * vec3[2]);
if (normFactor != 0.0f)
{
vec3[0] = vec3[0] / normFactor;
vec3[1] = vec3[1] / normFactor;
vec3[2] = vec3[2] / normFactor;
}
return (vec3);
}
/*********************************************************************
* Calculate the dot product of 2 Vec3 vectors
*********************************************************************/
inline float Dot(Vec3 vec1, Vec3 vec2)
{
// Calculate
float dot = vec1[0] * vec2[0] + vec1[1] * vec2[1] + vec1[2] * vec2[2];
return (dot);
}
/*********************************************************************
* Vector with 3 coordinates and a scalar
*********************************************************************/
class Vec4
{
private:
public:
// Vector row (1 column with 4 rows)
float row[4];
// Default constructor
inline Vec4 ()
{
this->row[0] = 0.0f;
this->row[1] = 0.0f;
this->row[2] = 0.0f;
this->row[3] = 0.0f;
}
// Constructor
inline Vec4 (float x, float y, float z, float w)
{
this->row[0] = x;
this->row[1] = y;
this->row[2] = z;
this->row[3] = w;
}
// Return types
inline operator const float*() const { return &row[0]; }
inline float& operator[](int n) { return row[n]; }
inline const float& operator[](int n) const { return row[n]; }
};
/*********************************************************************
* Normalize a Vec4 vector
*********************************************************************/
inline Vec4 Normalize(Vec4 vec4)
{
// Normalize this vector
float normFactor = sqrt(vec4[0] * vec4[0] + vec4[1] * vec4[1] + vec4[2] * vec4[2] + vec4[3] * vec4[3]);
if (normFactor != 0.0f)
{
vec4[0] = vec4[0] / normFactor;
vec4[1] = vec4[1] / normFactor;
vec4[2] = vec4[2] / normFactor;
vec4[3] = vec4[3] / normFactor;
}
return (vec4);
}
/*********************************************************************
* 3 by 3 matrix
*********************************************************************/
class Mat3
{
private:
public:
Vec3 column[3];
// Constructor (null matrix)
inline Mat3 ()
{
column[0] = Vec3 (0.0f, 0.0f, 0.0f);
column[1] = Vec3 (0.0f, 0.0f, 0.0f);
column[2] = Vec3 (0.0f, 0.0f, 0.0f);
}
// Multiply this matrix with a vector
inline Vec3 operator* (Vec3 arg)
{
Vec3 result;
for (int i=0; i<3; i++)
{
result.row[i] += this->column[0].row[i] * arg.row[0];
result.row[i] += this->column[1].row[i] * arg.row[1];
result.row[i] += this->column[2].row[i] * arg.row[2];
}
return (result);
}
// Multiply 2 matrices
inline Mat3 operator* (Mat3 arg)
{
Mat3 result;
for (int i=0; i<3; i++)
{
for (int j=0; j<3; j++)
{
result.column[j].row[i] += this->column[0].row[i] * arg.column[j].row[0];
result.column[j].row[i] += this->column[1].row[i] * arg.column[j].row[1];
result.column[j].row[i] += this->column[2].row[i] * arg.column[j].row[2];
}
}
return (result);
}
// Return types
inline Vec3& operator[](int n) { return column[n]; }
inline const Vec3& operator[](int n) const { return column[n]; }
inline operator float*() { return &column[0].row[0]; }
inline operator const float*() const { return &column[0].row[0]; }
};
/*********************************************************************
* 4 by 4 matrix
*********************************************************************/
class Mat4
{
private:
public:
Vec4 column[4];
// Constructor (null matrix)
inline Mat4 ()
{
column[0] = Vec4 (0.0f, 0.0f, 0.0f, 0.0f);
column[1] = Vec4 (0.0f, 0.0f, 0.0f, 0.0f);
column[2] = Vec4 (0.0f, 0.0f, 0.0f, 0.0f);
column[3] = Vec4 (0.0f, 0.0f, 0.0f, 0.0f);
}
// Multiply this matrix with a vector
inline Vec4 operator* (Vec4 arg)
{
Vec4 result;
for (int i=0; i<4; i++)
{
result.row[i] += this->column[0].row[i] * arg.row[0];
result.row[i] += this->column[1].row[i] * arg.row[1];
result.row[i] += this->column[2].row[i] * arg.row[2];
result.row[i] += this->column[3].row[i] * arg.row[3];
}
return (result);
}
// Multiply 2 matrices
inline Mat4 operator* (Mat4 arg)
{
Mat4 result;
for (int i=0; i<4; i++)
{
for (int j=0; j<4; j++)
{
result.column[j].row[i] += this->column[0].row[i] * arg.column[j].row[0];
result.column[j].row[i] += this->column[1].row[i] * arg.column[j].row[1];
result.column[j].row[i] += this->column[2].row[i] * arg.column[j].row[2];
result.column[j].row[i] += this->column[3].row[i] * arg.column[j].row[3];
}
}
return (result);
}
// Return types
inline Vec4& operator[](int n) { return column[n]; }
inline const Vec4& operator[](int n) const { return column[n]; }
inline operator float*() { return &column[0].row[0]; }
inline operator const float*() const { return &column[0].row[0]; }
};
/*********************************************************************
* 4 by 4 orthogonal matrix
*********************************************************************/
class Orthogonal : public Mat4
{
private:
public:
inline Orthogonal (float left, float right, float bottom, float top, float n, float f)
{
if ((right == left) || (top == bottom) || (n == f) || (n < 0.0) || (f < 0.0)) return;
column[0].row[0] = 2.0f / (right - left);
column[1].row[1] = 2.0f / (top - bottom);
column[2].row[2] = -2.0f / (f - n);
column[3].row[0] = -((right + left) / (right - left));
column[3].row[1] = -((top + bottom) / (top - bottom));
column[3].row[2] = -((f + n) / (f - n));
column[3].row[3] = 1.0f;
}
};
/*********************************************************************
* 4 by 4 frustum matrix
*********************************************************************/
class Frustum : public Mat4
{
private:
public:
inline Frustum (float left, float right, float bottom, float top, float n, float f)
{
if ((right == left) || (top == bottom) || (n == f) || (n < 0.0) || (f < 0.0)) return;
column[0].row[0] = (2.0f * n) / (right - left);
column[1].row[1] = (2.0f * n) / (top - bottom);
column[2].row[0] = (right + left) / (right - left);
column[2].row[1] = (top + bottom) / (top - bottom);
column[2].row[2] = -((f + n) / (f - n));
column[2].row[3] = -1.0f;
column[3].row[2] = -((2.0f * f * n) / (f - n));
column[3].row[3] = 0.0f;
}
};
/*********************************************************************
* 4 by 4 perspective matrix
*********************************************************************/
class Perspective : public Mat4
{
private:
public:
inline Perspective (float fov, float aspect, float n, float f)
{
float q = 1.0f / tan (DtoR(fov));
float A = q / aspect;
float B = (n + f) / (n - f);
float C = (2.0f * n * f) / (n - f);
column[0].row[0] = A;
column[1].row[1] = q;
column[2].row[2] = B;
column[2].row[3] = -1.0f;
column[3].row[2] = C;
column[3].row[3] = 0.0f;
}
};
/*********************************************************************
* Calculate a 'Look At' matrix (camera)
*********************************************************************/
class LookAt : public Mat4
{
private:
public:
inline LookAt (Vec3 eye, Vec3 center, Vec3 up)
{
Vec3 f = Normalize(center - eye);
Vec3 u = Normalize(up);
Vec3 s = Normalize(f * u);
// f and u are parallel
if ((s[0] == 0.0f) && (s[1] == 0.0f) && (s[2] == 0.0f))
{
s[0] = 0.0f;
s[1] = 0.0f;
s[2] = 1.0f;
}
u = s * f;
column[0].row[0] = s.row[0];
column[1].row[0] = s.row[1];
column[2].row[0] = s.row[2];
column[3].row[0] =-Dot(s, eye);
column[0].row[1] = u.row[0];
column[1].row[1] = u.row[1];
column[2].row[1] = u.row[2];
column[3].row[1] =-Dot(u, eye);
column[0].row[2] =-f.row[0];
column[1].row[2] =-f.row[1];
column[2].row[2] =-f.row[2];
column[3].row[2] = Dot(f, eye);
column[0].row[3] = 0.0f;
column[1].row[3] = 0.0f;
column[2].row[3] = 0.0f;
column[3].row[3] = 1.0f;
}
};
/*********************************************************************
* 4 by 4 translation matrix
*********************************************************************/
class Translate : public Mat4
{
private:
public:
inline Translate (float x, float y, float z)
{
column[0].row[0] = 1.0f;
column[1].row[1] = 1.0f;
column[2].row[2] = 1.0f;
column[3].row[0] = x;
column[3].row[1] = y;
column[3].row[2] = z;
column[3].row[3] = 1.0f;
}
};
/*********************************************************************
* 4 by 4 rotation matrix
*********************************************************************/
class Rotate : public Mat4
{
private:
float rads_x = 0.0f;
float rads_y = 0.0f;
float rads_z = 0.0f;
float A = 0.0f;
float B = 0.0f;
float C = 0.0f;
float D = 0.0f;
float E = 0.0f;
float F = 0.0f;
public:
// From 3 angles
inline Rotate (float angle_x, float angle_y, float angle_z)
{
rads_x = float(angle_x) * 0.0174532925f;
rads_y = float(angle_y) * 0.0174532925f;
rads_z = float(angle_z) * 0.0174532925f;
A = cos(rads_x);
B = sin(rads_x);
C = cos(rads_y);
D = sin(rads_y);
E = cos(rads_z);
F = sin(rads_z);
column[0].row[0] = C * E;
column[0].row[1] = B * D * E + A * F;
column[0].row[2] = -A * D * E + B * F;
column[1].row[0] = -C * F;
column[1].row[1] = -B * D * F + A * E;
column[1].row[2] = A * D * F + B * E;
column[2].row[0] = D;
column[2].row[1] = -B * C;
column[2].row[2] = A * C;
column[3].row[3] = 1.0f;
}
// From a quaternion
inline Rotate (float r, float i, float j, float k)
{
column[0].row[0] = 1.0f - 2.0f * j * j - 2.0f * k * k;
column[0].row[1] = 2.0f * i * j + 2.0f * k * r;
column[0].row[2] = 2.0f * i * k - 2.0f * j * r;
column[0].row[3] = 0.0f;
column[1].row[0] = 2.0f * i * j - 2.0f * k * r;
column[1].row[1] = 1.0f - 2.0f * i * i - 2.0f * k * k;
column[1].row[2] = 2.0f * j * k + 2.0f * i * r;
column[1].row[3] = 0.0f;
column[2].row[0] = 2.0f * i * k + 2.0f * j * r;
column[2].row[1] = 2.0f * j * k - 2.0f * i * r;
column[2].row[2] = 1.0f - 2.0f * i * i - 2.0f * j * j;
column[2].row[3] = 0.0f;
column[3].row[0] = 0.0f;
column[3].row[1] = 0.0f;
column[3].row[2] = 0.0f;
column[3].row[3] = 1.0f;
}
};
/*********************************************************************
* 4 by 4 rotation matrix
*********************************************************************/
class RotateX : public Mat4
{
private:
public:
// Constructor
inline RotateX(float angle_x)
{
float rads_x = float(angle_x) * 0.0174532925f;
column[0].row[0] = 1.0f;
column[1].row[1] = cos(rads_x);
column[1].row[2] = sin(rads_x);
column[2].row[1] = -sin(rads_x);
column[2].row[2] = cos(rads_x);
column[3].row[3] = 1.0f;
}
};
};
| 31.817647 | 112 | 0.337817 |
865c4e0a20943648b31e90984fcbaab7972f9e96 | 205 | sql | SQL | schema/migrations/1-drop-unused-tables/drop-unused-tables.sql | VegGuide/VegGuide-site | ddae7799f5f3938983bf2882c0772e50c045d6b0 | [
"Artistic-2.0"
] | 13 | 2015-03-12T21:29:57.000Z | 2021-05-03T14:50:32.000Z | schema/migrations/1-drop-unused-tables/drop-unused-tables.sql | VegGuide/VegGuide-site | ddae7799f5f3938983bf2882c0772e50c045d6b0 | [
"Artistic-2.0"
] | null | null | null | schema/migrations/1-drop-unused-tables/drop-unused-tables.sql | VegGuide/VegGuide-site | ddae7799f5f3938983bf2882c0772e50c045d6b0 | [
"Artistic-2.0"
] | 4 | 2015-03-03T23:15:49.000Z | 2020-06-18T11:07:46.000Z | DROP TABLE IF EXISTS LocationEvent;
DROP TABLE IF EXISTS LocationEventURI;
DROP TABLE IF EXISTS PersonalList;
DROP TABLE IF EXISTS PersonalListVendor;
DROP TABLE IF EXISTS Skin;
DROP TABLE IF EXISTS Team;
| 29.285714 | 40 | 0.82439 |
1759c3ad372f5c1cccd67c1e136296062ba0a4a3 | 7,129 | sql | SQL | DB/SQLQuery1.sql | damiancipolat/UNIPOS | b5bef66dd04287ef98a050b408d09b0f4e9f0fbe | [
"MIT"
] | null | null | null | DB/SQLQuery1.sql | damiancipolat/UNIPOS | b5bef66dd04287ef98a050b408d09b0f4e9f0fbe | [
"MIT"
] | null | null | null | DB/SQLQuery1.sql | damiancipolat/UNIPOS | b5bef66dd04287ef98a050b408d09b0f4e9f0fbe | [
"MIT"
] | 1 | 2019-08-20T23:51:53.000Z | 2019-08-20T23:51:53.000Z | -- Borrado de tablas.
drop table if exists color;
drop table if exists marca;
drop table if exists categoria;
drop table if exists proveedor;
drop table if exists articulo;
drop table if exists Artic_imagenes;
drop table if exists compras;
drop table if exists Artic_compras;
drop table if exists comentarios;
drop table if exists cupon;
drop table if exists pago;
drop table if exists factura;
drop table if exists Item_Factura;
drop table if exists Nota_credito;
drop table if exists oferta;
drop table if exists oferta_estado;
drop table if exists oferta_firmas;
drop table if exists bitacora;
drop table if exists MpCredenciales;
drop table if exists Orden_retiro;
drop table if exists OrdenVoucher;
drop table if exists sesion;
drop table if exists [Limites_fidelizacion];
drop table if exists Usuario;
drop table if exists [Tipo_usuario];
drop table if exists Cliente;
drop table if exists Empleado;
drop table if exists IntegridadV;
drop table if exists Diccionario_idioma;
drop table if exists Diccionario_palabra;
drop table if exists Diccionario_base;
-- Creacion de tablas
CREATE TABLE [Color]
(
Id bigint NOT NULL identity(1,1) primary key,
[nombre] varchar(50) NULL,
[rojo] varchar(50) NULL,
[verde] varchar(50) NULL,
[azul] varchar(50) NULL,
[hexa] varchar(50) NULL,
[estado] varchar(50) NULL
)
GO
CREATE TABLE [Marca]
(
Id bigint NOT NULL identity(1,1) primary key,
[nombre] varchar(50) NULL,
[web] varchar(50) NULL,
[estado] varchar(50) NULL
)
GO
CREATE TABLE [Categoria]
(
Id bigint NOT NULL identity(1,1) primary key,
[descrip] varchar(50) NULL,
[estado] varchar(50) NULL,
[IdArticulo] bigint NULL
)
GO
CREATE TABLE [Proveedor]
(
Id bigint NOT NULL identity(1,1) primary key,
[nombre] varchar(100) NULL,
[email] varchar(50) NULL,
[direccion] varchar(50) NULL,
[estado] varchar(50) NULL
)
GO
CREATE TABLE [Articulo]
(
Id bigint NOT NULL identity(1,1) primary key,
[color] bigint NULL,
[categoria] bigint NULL,
[estado] char(50) NULL,
[marca] bigint NULL,
[precio_venta] decimal NULL,
[descrip] varchar(50) NULL,
[lote] varchar(50) NULL,
[stock] int NULL,
[IdColor] bigint NULL,
[IdMarca] bigint NULL,
[IdProveedor] bigint NULL,
[IdCategoria] bigint NULL,
[IdImagen] varchar(50) NULL,
[activo] varchar(50) NULL
)
GO
CREATE TABLE [Artic_imagenes]
(
Id bigint NOT NULL identity(1,1) primary key,
[archivo] varchar(50) NULL,
[IdArticulo] varchar(50) NULL
)
GO
CREATE TABLE [Compras]
(
Id bigint NOT NULL identity(1,1) primary key,
[total] float NULL,
[IdUsuario] bigint NULL,
[IdTipoPago] bigint NULL,
[fec_compra] date NULL,
[codDescuento] varchar(50) NULL,
[estado] varchar(50) NULL,
[hash] text NULL
)
GO
CREATE TABLE [Artic_compras]
(
Id bigint not NULL identity(1,1) PRIMARY KEY,
[IdArticulo] bigint NULL
)
GO
CREATE TABLE [Comentarios]
(
Id bigint not NULL identity(1,1) PRIMARY KEY,
[texto] varchar(50) NULL,
[IdUsuario] bigint NULL,
[fec_alta] date NULL,
[indice_aceptacion] int NULL,
[IdCompra] bigint NULL,
[estado] varchar(50) NULL
)
GO
CREATE TABLE [Cupon]
(
[codDescuento] varchar(50) NOT NULL primary key,
[fec_emision] date NULL,
[fec_vencimiento] date NULL,
[valor] float NULL,
[estado] varchar(50) NULL,
[IdUsuario] bigint NULL
)
GO
CREATE TABLE [Pago]
(
Id bigint not NULL identity(1,1) PRIMARY KEY,
[fecPago] date NULL,
[IdCompra] bigint NULL,
[estado] varchar(50) NULL,
[paymendtData] text NULL,
[hash] text NULL
)
GO
CREATE TABLE [Factura]
(
Id bigint not NULL identity(1,1) PRIMARY KEY,
[fecEmision] date NULL,
[total] float NULL,
[numFactura] varchar(50) NULL,
[idCliente] bigint NULL,
[urlComprobante] varchar(50) NULL,
[emailEnvio] varchar(50) NULL,
[tipo] varchar(50) NULL,
[estado] char(10) NULL
)
GO
CREATE TABLE Item_Factura
(
Id bigint not NULL identity(1,1) PRIMARY KEY,
[IdFactura] bigint NULL,
[IdArticulo] bigint NULL,
[Valor] float NULL
)
GO
CREATE TABLE [Nota_credito]
(
Id bigint not NULL identity(1,1) PRIMARY KEY,
[idfactura] bigint NOT NULL,
[fecNota] date NULL,
[urlNota] varchar(50) NULL
)
GO
CREATE TABLE [Oferta]
(
Id bigint not NULL identity(1,1) PRIMARY KEY,
[desde] date NULL,
[hasta] date NULL,
[valor] float NULL,
[Idcategoria] bigint NULL,
[Idmarca] bigint NULL,
[estado] varchar(50) NULL
)
GO
CREATE TABLE [oferta_estado]
(
Id bigint not NULL identity(1,1) PRIMARY KEY,
[descrip] varchar(50) NULL
)
GO
CREATE TABLE [oferta_firmas]
(
Id bigint not NULL identity(1,1) PRIMARY KEY,
[idoferta] bigint NOT NULL,
[idfirmante] bigint NULL,
[aprueba] char(10) NULL,
[fechaFirma] date NULL
)
GO
CREATE TABLE Bitacora
(
Id bigint not NULL identity(1,1) PRIMARY KEY,
[Type] bigint NULL,
[fec_log] date NULL,
[payload] TEXT not NULL,
[IdUsuario] bigint NULL
)
GO
CREATE TABLE [MpCredenciales]
(
Id bigint not NULL identity(1,1) PRIMARY KEY,
[publicKey] varchar(50) NULL,
[token] varchar(50) NULL
)
GO
CREATE TABLE [Orden_retiro]
(
Id bigint not NULL identity(1,1) PRIMARY KEY,
[IdCompra] bigint NULL,
[ExpendidoPor] bigint NULL,
[fechaExp] date NULL,
[conformidad] char(10) NULL
)
GO
CREATE TABLE [OrdenVoucher]
(
Id bigint not NULL identity(1,1) PRIMARY KEY,
[fecDesde] date NULL,
[fecHasta] varchar(50) NULL,
[cargadoPor] bigint NULL,
[valor] float NULL,
[activo] int NULL
)
GO
CREATE TABLE [Limites_fidelizacion]
(
Id bigint not NULL identity(1,1) PRIMARY KEY,
[desde] date NULL,
[hasta] date NULL,
[aprobado_por] bigint NULL,
[total] int NULL,
[costo] float NULL
)
GO
CREATE TABLE [Sesion]
(
Id bigint not NULL identity(1,1) PRIMARY KEY,
[startDate] date NULL,
[endDate] date NULL,
[Idusuario] bigint NULL
)
GO
CREATE TABLE [Tipo_usuario]
(
Id bigint not NULL identity(1,1) PRIMARY KEY,
[descrip] varchar(50) NULL
)
GO
CREATE TABLE [Usuario]
(
Id bigint not NULL identity(1,1) PRIMARY KEY,
document varchar(20),
pwd varchar(100),
tipo bigint,
estado varchar(10),
fecha_alta datetime,
intentos int
)
GO
CREATE TABLE Usuario_Estado
(
cod varchar(10),
descrip varchar(100)
)
GO
CREATE TABLE [Cliente]
(
Id bigint not NULL identity(1,1) PRIMARY KEY,
usuario_id varchar(20),
nombre varchar(100),
apellido varchar(100),
email varchar(100),
tel varchar(100)
)
GO
CREATE TABLE Empleado
(
Id bigint not NULL identity(1,1) PRIMARY KEY,
usuario_id bigint,
nombre varchar(100),
apellido varchar(100),
email varchar(100),
fec_nac varchar(100)
)
GO
CREATE TABLE [IntegridadV]
(
[Idtabla] varchar(50) NULL,
[Nombre] varchar(50) NULL,
[DVV] text NULL
)
GO
create table Diccionario_base
(
Id bigint NOT NULL identity(1,1) primary key,
IdIdioma bigint NOT NULL,
[key] varchar(50),
valor varchar(100)
)
GO
create table Diccionario_palabra
(
Id bigint NOT NULL identity(1,1) primary key,
[key] varchar(50) NULL
)
GO
create table Diccionario_idioma
(
Id bigint NOT NULL identity(1,1) primary key,
[descrip] varchar(50) NULL
)
GO
CREATE TABLE [Permiso]
(
[Idpermiso] bigint NOT NULL,
[descript] varchar(50) NULL
)
GO
CREATE TABLE [Permiso_jerarq]
(
[Idpadre] bigint NULL,
[Idhijo] bigint NULL
)
GO
CREATE TABLE [Usuario_permiso]
(
[IdUsuario] bigint NULL,
[Idpermiso] bigint NULL
)
GO | 18.909814 | 49 | 0.728293 |
9190afe87ec6e34e3f3eb242e513f517e85c8df9 | 2,792 | html | HTML | app/views/userProfile.scala.html | PeterPerhac/fuel-meter | 7910b8a07f94678e84fc25effe83c20851ed62c1 | [
"Apache-2.0"
] | 1 | 2018-08-14T09:05:57.000Z | 2018-08-14T09:05:57.000Z | app/views/userProfile.scala.html | PeterPerhac/fuel-meter | 7910b8a07f94678e84fc25effe83c20851ed62c1 | [
"Apache-2.0"
] | null | null | null | app/views/userProfile.scala.html | PeterPerhac/fuel-meter | 7910b8a07f94678e84fc25effe83c20851ed62c1 | [
"Apache-2.0"
] | 1 | 2017-01-04T12:08:49.000Z | 2017-01-04T12:08:49.000Z | @(user: User)(implicit requestHeader: RequestHeader)
@import utils.ViewUtils._
@import views.html.helper.CSRF
@main(None, showButtons = false, Some(user)) {
<div class="row">
<div class="col-md-6">
<h1>Hello @user.userProfile.name</h1>
<p>Based on information on your Twitter.com profile, we setup a minimal FuelMeter account for you.</p>
<ul>
<li>
<img src="@user.userProfile.profileImageUrl" alt="profile picture" style="border-radius: 50%"/>
@user.userProfile.name
</li>
<li>@user.userProfile.location</li>
<li>First seen: @user.userProfile.createdAtFormatted</li>
</ul>
</div>
<div class="col-md-6">
<h1>Your vehicles</h1>
<ul>
@for(vehicle <- user.vehiclesOwned) {
<li>
<dl>
<dt style="font-size: large">
<a type="button" class="btn btn-lg btn-primary" href="@routes.ReadingsController.listHtml(vehicle.reg)" title="View this vehicle's stats">
<span class="glyphicon glyphicon-stats"></span>
@vehicle.reg
</a>
<a href="@routes.ReadingsController.listHtml(vehicle.reg)" title="View this vehicle's stats">
@vehicle.vehicleDescription
</a>
</dt>
<dd>
<p>
<strong>@vehicle.reg</strong>
<em>@vehicle.count</em> readings, <em>@vehicle.ls</em> liters burnt and £ <em>@vehicle.pounds</em> spent
</p>
@helper.form(action = routes.VehicleController.deleteVehicle(vehicle.reg), 'id -> "frm-delete-vehicle") {
@CSRF.formField
<button type="submit" class="btn btn-danger" onclick="return confirm('Are you sure?');">
<span class="glyphicon glyphicon-trash"></span> Delete vehicle and all readings
</button>
}
</dd>
</dl>
</li>
}
</ul>
</div>
</div>
} | 50.763636 | 174 | 0.396848 |
d2a5149ee5a03b9f54b272ffb25e5e9f64dd85eb | 1,496 | php | PHP | resources/views/weixin/qrcode.blade.php | liumengxu/api2_lshop | 7c8ec1878ce8d522a67ba94101e566a5e6378737 | [
"MIT"
] | null | null | null | resources/views/weixin/qrcode.blade.php | liumengxu/api2_lshop | 7c8ec1878ce8d522a67ba94101e566a5e6378737 | [
"MIT"
] | null | null | null | resources/views/weixin/qrcode.blade.php | liumengxu/api2_lshop | 7c8ec1878ce8d522a67ba94101e566a5e6378737 | [
"MIT"
] | null | null | null | @extends('layout.bst')
@section('content')
<h3 align="center">订单支付</h3>
<div id="qrcode" align="center"></div>
<input type="hidden" value="{{$code_url}}" id="code_url">
<input type="hidden" value="{{$order_number}}" id="order_number">
@endsection
@section('footer')
<script type="text/javascript" src="/js/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="/js/qrcode.min.js"></script>
<script>
setInterval(function () {
var order_number=$("#order_number").val();
$.ajax({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
},
url : '/weichat/success',
type : 'post',
data : {order_number:order_number},
success : function(res){
if(res==1){
alert('支付成功');
//location.href="/weichat/success";
}
}
})
},3000);
var code_url=$('#code_url').val();
//console.log(code_url);
var qrcode = new QRCode('qrcode', {
text:code_url,
width: 100,
height: 100,
colorDark : '#000000',
colorLight : '#ffffff',
correctLevel : QRCode.CorrectLevel.H
});
// 使用 API
qrcode.clear();
qrcode.makeCode(code_url);
</script>
@endsection | 33.244444 | 80 | 0.471925 |
b7841ad5dda85e09e84ba730ee40cf93a982e39c | 2,566 | swift | Swift | QSNetworkKit/Source/QSRequest/QSParamEncode.swift | xiaozao2008/QSNetworkKit-Swift | f1022339c307e9520b38c96e3b5e6488b8f127da | [
"MIT"
] | null | null | null | QSNetworkKit/Source/QSRequest/QSParamEncode.swift | xiaozao2008/QSNetworkKit-Swift | f1022339c307e9520b38c96e3b5e6488b8f127da | [
"MIT"
] | null | null | null | QSNetworkKit/Source/QSRequest/QSParamEncode.swift | xiaozao2008/QSNetworkKit-Swift | f1022339c307e9520b38c96e3b5e6488b8f127da | [
"MIT"
] | null | null | null | //
// QSParamEncode.swift
// QSNetworkKit
//
// Created by xiaozao on 2018/12/22.
// Copyright © 2018 Tony. All rights reserved.
//
import Foundation
public typealias Parameters = [String: Any]
public protocol QSParamEncode {
func encode(_ urlRequest: QSRequestFormat, with parameters: Parameters?) throws -> URLRequest
}
struct QSJSONEncoding: QSParamEncode {
public static var `default`: QSJSONEncoding { return QSJSONEncoding() }
public static var prettyPrinted: QSJSONEncoding { return QSJSONEncoding(options: .prettyPrinted) }
public let options: JSONSerialization.WritingOptions
public init(options: JSONSerialization.WritingOptions = []) {
self.options = options
}
public func encode(_ urlRequest: QSRequestFormat, with parameters: Parameters?) throws -> URLRequest {
var urlRequest = try urlRequest.asURLRequest()
guard let parameters = parameters else { return urlRequest }
do {
let data = try JSONSerialization.data(withJSONObject: parameters, options: options)
let headerKey = QSHTTPHeader.QSHTTPHeaderAcceptName.contentType.rawValue
if urlRequest.value(forHTTPHeaderField: headerKey) == nil {
urlRequest.setValue("application/json", forHTTPHeaderField: headerKey)
}
urlRequest.httpBody = data
} catch {
throw QSError.EncodingFailed(error: error)
}
return urlRequest
}
public func encode(_ urlRequest: QSRequestFormat, with jsonObject: Any? = nil) throws -> URLRequest {
var urlRequest = try urlRequest.asURLRequest()
guard let jsonObject = jsonObject else { return urlRequest }
do {
let data = try JSONSerialization.data(withJSONObject: jsonObject, options: options)
let headerKey = QSHTTPHeader.QSHTTPHeaderAcceptName.contentType.rawValue
if urlRequest.value(forHTTPHeaderField: headerKey) == nil {
urlRequest.setValue("application/json", forHTTPHeaderField: headerKey)
}
urlRequest.httpBody = data
} catch {
throw QSError.EncodingFailed(error: error)
}
return urlRequest
}
}
struct QSURLEncoding: QSParamEncode {
/// TODO header/get/delete/queryString使用拼接URL的方式
/// 其他保持不便
func encode(_ urlRequest: QSRequestFormat, with parameters: Parameters?) throws -> URLRequest {
var urlRequest = try urlRequest.asURLRequest()
return urlRequest
}
}
| 35.150685 | 106 | 0.666797 |
179e7e7604b6b86f06632edd8448a5bf29ee3813 | 1,473 | kt | Kotlin | rx-validation-validators/src/main/java/by/shostko/rxvalidation/RegExpValidator.kt | shostko/rx-validation | da47331f5eb62cd7dec9ba84b23dca2df196f9bb | [
"Apache-2.0"
] | null | null | null | rx-validation-validators/src/main/java/by/shostko/rxvalidation/RegExpValidator.kt | shostko/rx-validation | da47331f5eb62cd7dec9ba84b23dca2df196f9bb | [
"Apache-2.0"
] | null | null | null | rx-validation-validators/src/main/java/by/shostko/rxvalidation/RegExpValidator.kt | shostko/rx-validation | da47331f5eb62cd7dec9ba84b23dca2df196f9bb | [
"Apache-2.0"
] | null | null | null | @file:Suppress("unused")
package by.shostko.rxvalidation
import android.util.Patterns
import java.util.regex.Pattern
private class RegExpValidationException(message: String? = null) : ValidationException(message)
open class RegExpValidator<T : CharSequence>(private val pattern: Pattern, private val message: String? = null) : Validator<T>() {
constructor(pattern: String, message: String? = null) : this(Pattern.compile(pattern), message)
override fun validate(value: T) {
if (!pattern.matcher(value).matches()) {
throw RegExpValidationException(
message ?: "Value does not match required pattern"
)
}
}
}
class EmailValidator<T : CharSequence>(message: String? = null) : RegExpValidator<T>(Patterns.EMAIL_ADDRESS, message ?: "The e-mail address is not in a valid format")
class UrlValidator<T : CharSequence>(message: String? = null) : RegExpValidator<T>(Patterns.WEB_URL, message ?: "The URL is not in a valid format")
class PhoneValidator<T : CharSequence>(message: String? = null) : RegExpValidator<T>(Patterns.PHONE, message ?: "The phone number is not in a valid format")
class IpValidator<T : CharSequence>(message: String? = null) : RegExpValidator<T>(Patterns.IP_ADDRESS, message ?: "The ip address is not valid")
class HexValidator<T : CharSequence>(message: String? = null) : RegExpValidator<T>("^(#|)[0-9A-Fa-f]+\$", message ?: "The value has not only hexadecimal digit characters") | 49.1 | 171 | 0.715547 |
3956549a17208a485aa7acaaf012e4a389acfbdd | 3,870 | html | HTML | 01_rule_visualization/static_vis/interactive_rule_table.html | nyuvis/rule_empirical_study | 92993a5da4ad29f3a49973075d539cf11a4305ca | [
"MIT"
] | null | null | null | 01_rule_visualization/static_vis/interactive_rule_table.html | nyuvis/rule_empirical_study | 92993a5da4ad29f3a49973075d539cf11a4305ca | [
"MIT"
] | null | null | null | 01_rule_visualization/static_vis/interactive_rule_table.html | nyuvis/rule_empirical_study | 92993a5da4ad29f3a49973075d539cf11a4305ca | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bar Table</title>
<style>
text{
font-family: sans-serif;
fill: "black";
}
.legend text {
font: 12px sans-serif;
}
.grid-row line {
stroke-width: .5;
}
.grid-col line {
stroke-width: .5;
}
rect {
stroke-width: .5;
}
.rule-fill {
mask: url(#mask-stripe)
}
.fill1 {
fill: "#d9d9d9";
}
.curlyBrace {
fill: none;
stroke: #D3D3D3;
}
</style>
</head>
<body>
<div style="display: flex; flex-direction: row;">
<svg id="svg1"></svg>
<svg id="legend1"></svg>
</div>
<!-- <div style="display: flex; flex-direction: row;">
<svg id="svg7"></svg>
</div> -->
<!-- <div style="display: flex; flex-direction: row;">
<svg id="svg2">
<defs>
<pattern id="pattern-stripe"
width="4" height="4"
patternUnits="userSpaceOnUse"
patternTransform="rotate(45)">
<rect width="2" height="4" transform="translate(0,0)" fill="white"></rect>
</pattern>
<mask id="mask-stripe">
<rect x="0" y="0" width="100%" height="100%" fill="url(#pattern-stripe)" />
</mask>
</defs>
</svg>
<svg id="legend2">
<defs>
<pattern id="pattern-stripe"
width="4" height="4"
patternUnits="userSpaceOnUse"
patternTransform="rotate(45)">
<rect width="2" height="4" transform="translate(0,0)" fill="white"></rect>
</pattern>
<mask id="mask-stripe">
<rect x="0" y="0" width="100%" height="100%" fill="url(#pattern-stripe)" />
</mask>
</defs>
</svg>
</div> -->
<!-- <div style="display: flex; flex-direction: row;">
<svg id="svg3">
<defs>
<pattern id="pattern-stripe"
width="4" height="4"
patternUnits="userSpaceOnUse"
patternTransform="rotate(45)">
<rect width="2" height="4" transform="translate(0,0)" fill="white"></rect>
</pattern>
<mask id="mask-stripe">
<rect x="0" y="0" width="100%" height="100%" fill="url(#pattern-stripe)" />
</mask>
</defs>
</svg>
</div>
<div style="display: flex; flex-direction: row;">
<svg id="svg4">
<defs>
<pattern id="pattern-stripe"
width="4" height="4"
patternUnits="userSpaceOnUse"
patternTransform="rotate(45)">
<rect width="2" height="4" transform="translate(0,0)" fill="white"></rect>
</pattern>
<mask id="mask-stripe">
<rect x="0" y="0" width="100%" height="100%" fill="url(#pattern-stripe)" />
</mask>
</defs>
</svg>
</div> -->
<div style="display: flex; flex-direction: row;">
<svg id="svg1">
</svg>
<svg id="legend1">
</svg>
</div>
<div style="display: flex; flex-direction: row;">
<svg id="svg6">
</svg>
<svg id="legend2">
</svg>
</div>
<canvas id="canvas"></canvas>
<!-- <div style="display: flex; flex-direction: row;">
<svg id="svg8"></svg>
</div> -->
<!-- load the d3.js library -->
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="https://d3js.org/d3-queue.v3.min.js"></script>
<script src="./legend.js"></script>
<script src="./interactive_table_cate.js"></script>
</body>
</html> | 27.642857 | 89 | 0.457623 |
25b8671116a743e12532f324632cfe95172587d3 | 2,267 | dart | Dart | lib/models/booking_info.g.dart | HCMUS-Advanced-Mobile-Development/LeetTutur | 85a5e1ee636f3ec35532f356be6c554f5f7dbd9e | [
"MIT"
] | null | null | null | lib/models/booking_info.g.dart | HCMUS-Advanced-Mobile-Development/LeetTutur | 85a5e1ee636f3ec35532f356be6c554f5f7dbd9e | [
"MIT"
] | null | null | null | lib/models/booking_info.g.dart | HCMUS-Advanced-Mobile-Development/LeetTutur | 85a5e1ee636f3ec35532f356be6c554f5f7dbd9e | [
"MIT"
] | null | null | null | // GENERATED CODE - DO NOT MODIFY BY HAND
part of 'booking_info.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
BookingInfo _$BookingInfoFromJson(Map<String, dynamic> json) => BookingInfo(
createdAtTimeStamp: json['createdAtTimeStamp'] as int?,
updatedAtTimeStamp: json['updatedAtTimeStamp'] as int?,
id: json['id'] as String?,
userId: json['userId'] as String?,
scheduleDetailId: json['scheduleDetailId'] as String?,
tutorMeetingLink: json['tutorMeetingLink'] as String?,
studentMeetingLink: json['studentMeetingLink'] as String?,
studentRequest: json['studentRequest'] as String?,
tutorReview: json['tutorReview'] as String?,
scoreByTutor: json['scoreByTutor'] as int?,
createdAt: json['createdAt'] as String?,
updatedAt: json['updatedAt'] as String?,
recordUrl: json['recordUrl'] as String?,
isDeleted: json['isDeleted'] as bool?,
scheduleDetailInfo: json['scheduleDetailInfo'] == null
? null
: ScheduleDetail.fromJson(
json['scheduleDetailInfo'] as Map<String, dynamic>),
showRecordUrl: json['showRecordUrl'] as bool?,
studentMaterials: json['studentMaterials'] as List<dynamic>?,
);
Map<String, dynamic> _$BookingInfoToJson(BookingInfo instance) =>
<String, dynamic>{
'createdAtTimeStamp': instance.createdAtTimeStamp,
'updatedAtTimeStamp': instance.updatedAtTimeStamp,
'id': instance.id,
'userId': instance.userId,
'scheduleDetailId': instance.scheduleDetailId,
'tutorMeetingLink': instance.tutorMeetingLink,
'studentMeetingLink': instance.studentMeetingLink,
'studentRequest': instance.studentRequest,
'tutorReview': instance.tutorReview,
'scoreByTutor': instance.scoreByTutor,
'createdAt': instance.createdAt,
'updatedAt': instance.updatedAt,
'recordUrl': instance.recordUrl,
'isDeleted': instance.isDeleted,
'scheduleDetailInfo': instance.scheduleDetailInfo?.toJson(),
'showRecordUrl': instance.showRecordUrl,
'studentMaterials': instance.studentMaterials,
};
| 43.596154 | 77 | 0.644464 |
feef5b85ac1238232c53c85fc999b163f3c0dc28 | 292,120 | asm | Assembly | src/z80asm/dev/cpu/cpu_test_z180_err.asm | witchcraft2001/z88dk | 11adca337a4125aff611ddfdf3fc2401e8dda5b2 | [
"ClArtistic"
] | 4 | 2021-11-20T19:35:01.000Z | 2022-01-01T16:08:42.000Z | src/z80asm/dev/cpu/cpu_test_z180_err.asm | witchcraft2001/z88dk | 11adca337a4125aff611ddfdf3fc2401e8dda5b2 | [
"ClArtistic"
] | null | null | null | src/z80asm/dev/cpu/cpu_test_z180_err.asm | witchcraft2001/z88dk | 11adca337a4125aff611ddfdf3fc2401e8dda5b2 | [
"ClArtistic"
] | 1 | 2021-11-27T15:58:02.000Z | 2021-11-27T15:58:02.000Z | adc a', (hl) ; Error
adc a', (ix) ; Error
adc a', (ix+127) ; Error
adc a', (ix-128) ; Error
adc a', (iy) ; Error
adc a', (iy+127) ; Error
adc a', (iy-128) ; Error
adc a', -128 ; Error
adc a', 127 ; Error
adc a', 255 ; Error
adc a', a ; Error
adc a', b ; Error
adc a', c ; Error
adc a', d ; Error
adc a', e ; Error
adc a', h ; Error
adc a', l ; Error
adc a, ixh ; Error
adc a, ixl ; Error
adc a, iyh ; Error
adc a, iyl ; Error
adc hl', bc ; Error
adc hl', de ; Error
adc hl', hl ; Error
adc hl', sp ; Error
adc ixh ; Error
adc ixl ; Error
adc iyh ; Error
adc iyl ; Error
add a', (hl) ; Error
add a', (ix) ; Error
add a', (ix+127) ; Error
add a', (ix-128) ; Error
add a', (iy) ; Error
add a', (iy+127) ; Error
add a', (iy-128) ; Error
add a', -128 ; Error
add a', 127 ; Error
add a', 255 ; Error
add a', a ; Error
add a', b ; Error
add a', c ; Error
add a', d ; Error
add a', e ; Error
add a', h ; Error
add a', l ; Error
add a, ixh ; Error
add a, ixl ; Error
add a, iyh ; Error
add a, iyl ; Error
add hl', bc ; Error
add hl', de ; Error
add hl', hl ; Error
add hl', sp ; Error
add ixh ; Error
add ixl ; Error
add iyh ; Error
add iyl ; Error
add sp, -128 ; Error
add sp, 127 ; Error
adi hl, -128 ; Error
adi hl, 127 ; Error
adi hl, 255 ; Error
adi sp, -128 ; Error
adi sp, 127 ; Error
adi sp, 255 ; Error
altd adc (hl) ; Error
altd adc (ix) ; Error
altd adc (ix+127) ; Error
altd adc (ix-128) ; Error
altd adc (iy) ; Error
altd adc (iy+127) ; Error
altd adc (iy-128) ; Error
altd adc -128 ; Error
altd adc 127 ; Error
altd adc 255 ; Error
altd adc a ; Error
altd adc a, (hl) ; Error
altd adc a, (ix) ; Error
altd adc a, (ix+127) ; Error
altd adc a, (ix-128) ; Error
altd adc a, (iy) ; Error
altd adc a, (iy+127) ; Error
altd adc a, (iy-128) ; Error
altd adc a, -128 ; Error
altd adc a, 127 ; Error
altd adc a, 255 ; Error
altd adc a, a ; Error
altd adc a, b ; Error
altd adc a, c ; Error
altd adc a, d ; Error
altd adc a, e ; Error
altd adc a, h ; Error
altd adc a, l ; Error
altd adc b ; Error
altd adc c ; Error
altd adc d ; Error
altd adc e ; Error
altd adc h ; Error
altd adc hl, bc ; Error
altd adc hl, de ; Error
altd adc hl, hl ; Error
altd adc hl, sp ; Error
altd adc l ; Error
altd adc m ; Error
altd add (hl) ; Error
altd add (ix) ; Error
altd add (ix+127) ; Error
altd add (ix-128) ; Error
altd add (iy) ; Error
altd add (iy+127) ; Error
altd add (iy-128) ; Error
altd add -128 ; Error
altd add 127 ; Error
altd add 255 ; Error
altd add a ; Error
altd add a, (hl) ; Error
altd add a, (ix) ; Error
altd add a, (ix+127) ; Error
altd add a, (ix-128) ; Error
altd add a, (iy) ; Error
altd add a, (iy+127) ; Error
altd add a, (iy-128) ; Error
altd add a, -128 ; Error
altd add a, 127 ; Error
altd add a, 255 ; Error
altd add a, a ; Error
altd add a, b ; Error
altd add a, c ; Error
altd add a, d ; Error
altd add a, e ; Error
altd add a, h ; Error
altd add a, l ; Error
altd add b ; Error
altd add c ; Error
altd add d ; Error
altd add e ; Error
altd add h ; Error
altd add hl, bc ; Error
altd add hl, de ; Error
altd add hl, hl ; Error
altd add hl, sp ; Error
altd add l ; Error
altd add m ; Error
altd and (hl) ; Error
altd and (ix) ; Error
altd and (ix+127) ; Error
altd and (ix-128) ; Error
altd and (iy) ; Error
altd and (iy+127) ; Error
altd and (iy-128) ; Error
altd and -128 ; Error
altd and 127 ; Error
altd and 255 ; Error
altd and a ; Error
altd and a, (hl) ; Error
altd and a, (ix) ; Error
altd and a, (ix+127) ; Error
altd and a, (ix-128) ; Error
altd and a, (iy) ; Error
altd and a, (iy+127) ; Error
altd and a, (iy-128) ; Error
altd and a, -128 ; Error
altd and a, 127 ; Error
altd and a, 255 ; Error
altd and a, a ; Error
altd and a, b ; Error
altd and a, c ; Error
altd and a, d ; Error
altd and a, e ; Error
altd and a, h ; Error
altd and a, l ; Error
altd and b ; Error
altd and c ; Error
altd and d ; Error
altd and e ; Error
altd and h ; Error
altd and hl, de ; Error
altd and ix, de ; Error
altd and iy, de ; Error
altd and l ; Error
altd bit -1, (hl) ; Error
altd bit -1, (hl) ; Error
altd bit -1, (ix) ; Error
altd bit -1, (ix) ; Error
altd bit -1, (ix+127) ; Error
altd bit -1, (ix+127) ; Error
altd bit -1, (ix-128) ; Error
altd bit -1, (ix-128) ; Error
altd bit -1, (iy) ; Error
altd bit -1, (iy) ; Error
altd bit -1, (iy+127) ; Error
altd bit -1, (iy+127) ; Error
altd bit -1, (iy-128) ; Error
altd bit -1, (iy-128) ; Error
altd bit -1, a ; Error
altd bit -1, a ; Error
altd bit -1, b ; Error
altd bit -1, b ; Error
altd bit -1, c ; Error
altd bit -1, c ; Error
altd bit -1, d ; Error
altd bit -1, d ; Error
altd bit -1, e ; Error
altd bit -1, e ; Error
altd bit -1, h ; Error
altd bit -1, h ; Error
altd bit -1, l ; Error
altd bit -1, l ; Error
altd bit 0, (hl) ; Error
altd bit 0, (ix) ; Error
altd bit 0, (ix+127) ; Error
altd bit 0, (ix-128) ; Error
altd bit 0, (iy) ; Error
altd bit 0, (iy+127) ; Error
altd bit 0, (iy-128) ; Error
altd bit 0, a ; Error
altd bit 0, b ; Error
altd bit 0, c ; Error
altd bit 0, d ; Error
altd bit 0, e ; Error
altd bit 0, h ; Error
altd bit 0, l ; Error
altd bit 1, (hl) ; Error
altd bit 1, (ix) ; Error
altd bit 1, (ix+127) ; Error
altd bit 1, (ix-128) ; Error
altd bit 1, (iy) ; Error
altd bit 1, (iy+127) ; Error
altd bit 1, (iy-128) ; Error
altd bit 1, a ; Error
altd bit 1, b ; Error
altd bit 1, c ; Error
altd bit 1, d ; Error
altd bit 1, e ; Error
altd bit 1, h ; Error
altd bit 1, l ; Error
altd bit 2, (hl) ; Error
altd bit 2, (ix) ; Error
altd bit 2, (ix+127) ; Error
altd bit 2, (ix-128) ; Error
altd bit 2, (iy) ; Error
altd bit 2, (iy+127) ; Error
altd bit 2, (iy-128) ; Error
altd bit 2, a ; Error
altd bit 2, b ; Error
altd bit 2, c ; Error
altd bit 2, d ; Error
altd bit 2, e ; Error
altd bit 2, h ; Error
altd bit 2, l ; Error
altd bit 3, (hl) ; Error
altd bit 3, (ix) ; Error
altd bit 3, (ix+127) ; Error
altd bit 3, (ix-128) ; Error
altd bit 3, (iy) ; Error
altd bit 3, (iy+127) ; Error
altd bit 3, (iy-128) ; Error
altd bit 3, a ; Error
altd bit 3, b ; Error
altd bit 3, c ; Error
altd bit 3, d ; Error
altd bit 3, e ; Error
altd bit 3, h ; Error
altd bit 3, l ; Error
altd bit 4, (hl) ; Error
altd bit 4, (ix) ; Error
altd bit 4, (ix+127) ; Error
altd bit 4, (ix-128) ; Error
altd bit 4, (iy) ; Error
altd bit 4, (iy+127) ; Error
altd bit 4, (iy-128) ; Error
altd bit 4, a ; Error
altd bit 4, b ; Error
altd bit 4, c ; Error
altd bit 4, d ; Error
altd bit 4, e ; Error
altd bit 4, h ; Error
altd bit 4, l ; Error
altd bit 5, (hl) ; Error
altd bit 5, (ix) ; Error
altd bit 5, (ix+127) ; Error
altd bit 5, (ix-128) ; Error
altd bit 5, (iy) ; Error
altd bit 5, (iy+127) ; Error
altd bit 5, (iy-128) ; Error
altd bit 5, a ; Error
altd bit 5, b ; Error
altd bit 5, c ; Error
altd bit 5, d ; Error
altd bit 5, e ; Error
altd bit 5, h ; Error
altd bit 5, l ; Error
altd bit 6, (hl) ; Error
altd bit 6, (ix) ; Error
altd bit 6, (ix+127) ; Error
altd bit 6, (ix-128) ; Error
altd bit 6, (iy) ; Error
altd bit 6, (iy+127) ; Error
altd bit 6, (iy-128) ; Error
altd bit 6, a ; Error
altd bit 6, b ; Error
altd bit 6, c ; Error
altd bit 6, d ; Error
altd bit 6, e ; Error
altd bit 6, h ; Error
altd bit 6, l ; Error
altd bit 7, (hl) ; Error
altd bit 7, (ix) ; Error
altd bit 7, (ix+127) ; Error
altd bit 7, (ix-128) ; Error
altd bit 7, (iy) ; Error
altd bit 7, (iy+127) ; Error
altd bit 7, (iy-128) ; Error
altd bit 7, a ; Error
altd bit 7, b ; Error
altd bit 7, c ; Error
altd bit 7, d ; Error
altd bit 7, e ; Error
altd bit 7, h ; Error
altd bit 7, l ; Error
altd bit 8, (hl) ; Error
altd bit 8, (hl) ; Error
altd bit 8, (ix) ; Error
altd bit 8, (ix) ; Error
altd bit 8, (ix+127) ; Error
altd bit 8, (ix+127) ; Error
altd bit 8, (ix-128) ; Error
altd bit 8, (ix-128) ; Error
altd bit 8, (iy) ; Error
altd bit 8, (iy) ; Error
altd bit 8, (iy+127) ; Error
altd bit 8, (iy+127) ; Error
altd bit 8, (iy-128) ; Error
altd bit 8, (iy-128) ; Error
altd bit 8, a ; Error
altd bit 8, a ; Error
altd bit 8, b ; Error
altd bit 8, b ; Error
altd bit 8, c ; Error
altd bit 8, c ; Error
altd bit 8, d ; Error
altd bit 8, d ; Error
altd bit 8, e ; Error
altd bit 8, e ; Error
altd bit 8, h ; Error
altd bit 8, h ; Error
altd bit 8, l ; Error
altd bit 8, l ; Error
altd bool hl ; Error
altd bool ix ; Error
altd bool iy ; Error
altd ccf ; Error
altd cp (hl) ; Error
altd cp (ix) ; Error
altd cp (ix+127) ; Error
altd cp (ix-128) ; Error
altd cp (iy) ; Error
altd cp (iy+127) ; Error
altd cp (iy-128) ; Error
altd cp -128 ; Error
altd cp 127 ; Error
altd cp 255 ; Error
altd cp a ; Error
altd cp a, (hl) ; Error
altd cp a, (ix) ; Error
altd cp a, (ix+127) ; Error
altd cp a, (ix-128) ; Error
altd cp a, (iy) ; Error
altd cp a, (iy+127) ; Error
altd cp a, (iy-128) ; Error
altd cp a, -128 ; Error
altd cp a, 127 ; Error
altd cp a, 255 ; Error
altd cp a, a ; Error
altd cp a, b ; Error
altd cp a, c ; Error
altd cp a, d ; Error
altd cp a, e ; Error
altd cp a, h ; Error
altd cp a, l ; Error
altd cp b ; Error
altd cp c ; Error
altd cp d ; Error
altd cp e ; Error
altd cp h ; Error
altd cp l ; Error
altd cpl ; Error
altd cpl a ; Error
altd dec (hl) ; Error
altd dec (ix) ; Error
altd dec (ix+127) ; Error
altd dec (ix-128) ; Error
altd dec (iy) ; Error
altd dec (iy+127) ; Error
altd dec (iy-128) ; Error
altd dec a ; Error
altd dec b ; Error
altd dec bc ; Error
altd dec c ; Error
altd dec d ; Error
altd dec de ; Error
altd dec e ; Error
altd dec h ; Error
altd dec hl ; Error
altd dec l ; Error
altd djnz ASMPC ; Error
altd djnz b, ASMPC ; Error
altd ex (sp), hl ; Error
altd ex de', hl ; Error
altd ex de, hl ; Error
altd inc (hl) ; Error
altd inc (ix) ; Error
altd inc (ix+127) ; Error
altd inc (ix-128) ; Error
altd inc (iy) ; Error
altd inc (iy+127) ; Error
altd inc (iy-128) ; Error
altd inc a ; Error
altd inc b ; Error
altd inc bc ; Error
altd inc c ; Error
altd inc d ; Error
altd inc de ; Error
altd inc e ; Error
altd inc h ; Error
altd inc hl ; Error
altd inc l ; Error
altd ioe adc (hl) ; Error
altd ioe adc (ix) ; Error
altd ioe adc (ix+127) ; Error
altd ioe adc (ix-128) ; Error
altd ioe adc (iy) ; Error
altd ioe adc (iy+127) ; Error
altd ioe adc (iy-128) ; Error
altd ioe adc a, (hl) ; Error
altd ioe adc a, (ix) ; Error
altd ioe adc a, (ix+127) ; Error
altd ioe adc a, (ix-128) ; Error
altd ioe adc a, (iy) ; Error
altd ioe adc a, (iy+127) ; Error
altd ioe adc a, (iy-128) ; Error
altd ioe add (hl) ; Error
altd ioe add (ix) ; Error
altd ioe add (ix+127) ; Error
altd ioe add (ix-128) ; Error
altd ioe add (iy) ; Error
altd ioe add (iy+127) ; Error
altd ioe add (iy-128) ; Error
altd ioe add a, (hl) ; Error
altd ioe add a, (ix) ; Error
altd ioe add a, (ix+127) ; Error
altd ioe add a, (ix-128) ; Error
altd ioe add a, (iy) ; Error
altd ioe add a, (iy+127) ; Error
altd ioe add a, (iy-128) ; Error
altd ioe and (hl) ; Error
altd ioe and (ix) ; Error
altd ioe and (ix+127) ; Error
altd ioe and (ix-128) ; Error
altd ioe and (iy) ; Error
altd ioe and (iy+127) ; Error
altd ioe and (iy-128) ; Error
altd ioe and a, (hl) ; Error
altd ioe and a, (ix) ; Error
altd ioe and a, (ix+127) ; Error
altd ioe and a, (ix-128) ; Error
altd ioe and a, (iy) ; Error
altd ioe and a, (iy+127) ; Error
altd ioe and a, (iy-128) ; Error
altd ioe bit -1, (hl) ; Error
altd ioe bit -1, (hl) ; Error
altd ioe bit -1, (ix) ; Error
altd ioe bit -1, (ix) ; Error
altd ioe bit -1, (ix+127) ; Error
altd ioe bit -1, (ix+127) ; Error
altd ioe bit -1, (ix-128) ; Error
altd ioe bit -1, (ix-128) ; Error
altd ioe bit -1, (iy) ; Error
altd ioe bit -1, (iy) ; Error
altd ioe bit -1, (iy+127) ; Error
altd ioe bit -1, (iy+127) ; Error
altd ioe bit -1, (iy-128) ; Error
altd ioe bit -1, (iy-128) ; Error
altd ioe bit 0, (hl) ; Error
altd ioe bit 0, (ix) ; Error
altd ioe bit 0, (ix+127) ; Error
altd ioe bit 0, (ix-128) ; Error
altd ioe bit 0, (iy) ; Error
altd ioe bit 0, (iy+127) ; Error
altd ioe bit 0, (iy-128) ; Error
altd ioe bit 1, (hl) ; Error
altd ioe bit 1, (ix) ; Error
altd ioe bit 1, (ix+127) ; Error
altd ioe bit 1, (ix-128) ; Error
altd ioe bit 1, (iy) ; Error
altd ioe bit 1, (iy+127) ; Error
altd ioe bit 1, (iy-128) ; Error
altd ioe bit 2, (hl) ; Error
altd ioe bit 2, (ix) ; Error
altd ioe bit 2, (ix+127) ; Error
altd ioe bit 2, (ix-128) ; Error
altd ioe bit 2, (iy) ; Error
altd ioe bit 2, (iy+127) ; Error
altd ioe bit 2, (iy-128) ; Error
altd ioe bit 3, (hl) ; Error
altd ioe bit 3, (ix) ; Error
altd ioe bit 3, (ix+127) ; Error
altd ioe bit 3, (ix-128) ; Error
altd ioe bit 3, (iy) ; Error
altd ioe bit 3, (iy+127) ; Error
altd ioe bit 3, (iy-128) ; Error
altd ioe bit 4, (hl) ; Error
altd ioe bit 4, (ix) ; Error
altd ioe bit 4, (ix+127) ; Error
altd ioe bit 4, (ix-128) ; Error
altd ioe bit 4, (iy) ; Error
altd ioe bit 4, (iy+127) ; Error
altd ioe bit 4, (iy-128) ; Error
altd ioe bit 5, (hl) ; Error
altd ioe bit 5, (ix) ; Error
altd ioe bit 5, (ix+127) ; Error
altd ioe bit 5, (ix-128) ; Error
altd ioe bit 5, (iy) ; Error
altd ioe bit 5, (iy+127) ; Error
altd ioe bit 5, (iy-128) ; Error
altd ioe bit 6, (hl) ; Error
altd ioe bit 6, (ix) ; Error
altd ioe bit 6, (ix+127) ; Error
altd ioe bit 6, (ix-128) ; Error
altd ioe bit 6, (iy) ; Error
altd ioe bit 6, (iy+127) ; Error
altd ioe bit 6, (iy-128) ; Error
altd ioe bit 7, (hl) ; Error
altd ioe bit 7, (ix) ; Error
altd ioe bit 7, (ix+127) ; Error
altd ioe bit 7, (ix-128) ; Error
altd ioe bit 7, (iy) ; Error
altd ioe bit 7, (iy+127) ; Error
altd ioe bit 7, (iy-128) ; Error
altd ioe bit 8, (hl) ; Error
altd ioe bit 8, (hl) ; Error
altd ioe bit 8, (ix) ; Error
altd ioe bit 8, (ix) ; Error
altd ioe bit 8, (ix+127) ; Error
altd ioe bit 8, (ix+127) ; Error
altd ioe bit 8, (ix-128) ; Error
altd ioe bit 8, (ix-128) ; Error
altd ioe bit 8, (iy) ; Error
altd ioe bit 8, (iy) ; Error
altd ioe bit 8, (iy+127) ; Error
altd ioe bit 8, (iy+127) ; Error
altd ioe bit 8, (iy-128) ; Error
altd ioe bit 8, (iy-128) ; Error
altd ioe cp (hl) ; Error
altd ioe cp (ix) ; Error
altd ioe cp (ix+127) ; Error
altd ioe cp (ix-128) ; Error
altd ioe cp (iy) ; Error
altd ioe cp (iy+127) ; Error
altd ioe cp (iy-128) ; Error
altd ioe cp a, (hl) ; Error
altd ioe cp a, (ix) ; Error
altd ioe cp a, (ix+127) ; Error
altd ioe cp a, (ix-128) ; Error
altd ioe cp a, (iy) ; Error
altd ioe cp a, (iy+127) ; Error
altd ioe cp a, (iy-128) ; Error
altd ioe dec (hl) ; Error
altd ioe dec (ix) ; Error
altd ioe dec (ix+127) ; Error
altd ioe dec (ix-128) ; Error
altd ioe dec (iy) ; Error
altd ioe dec (iy+127) ; Error
altd ioe dec (iy-128) ; Error
altd ioe inc (hl) ; Error
altd ioe inc (ix) ; Error
altd ioe inc (ix+127) ; Error
altd ioe inc (ix-128) ; Error
altd ioe inc (iy) ; Error
altd ioe inc (iy+127) ; Error
altd ioe inc (iy-128) ; Error
altd ioe ld a, (-32768) ; Error
altd ioe ld a, (32767) ; Error
altd ioe ld a, (65535) ; Error
altd ioe ld a, (bc) ; Error
altd ioe ld a, (bc+) ; Error
altd ioe ld a, (bc-) ; Error
altd ioe ld a, (de) ; Error
altd ioe ld a, (de+) ; Error
altd ioe ld a, (de-) ; Error
altd ioe ld a, (hl) ; Error
altd ioe ld a, (hl+) ; Error
altd ioe ld a, (hl-) ; Error
altd ioe ld a, (hld) ; Error
altd ioe ld a, (hli) ; Error
altd ioe ld a, (ix) ; Error
altd ioe ld a, (ix+127) ; Error
altd ioe ld a, (ix-128) ; Error
altd ioe ld a, (iy) ; Error
altd ioe ld a, (iy+127) ; Error
altd ioe ld a, (iy-128) ; Error
altd ioe ld b, (hl) ; Error
altd ioe ld b, (ix) ; Error
altd ioe ld b, (ix+127) ; Error
altd ioe ld b, (ix-128) ; Error
altd ioe ld b, (iy) ; Error
altd ioe ld b, (iy+127) ; Error
altd ioe ld b, (iy-128) ; Error
altd ioe ld bc, (-32768) ; Error
altd ioe ld bc, (32767) ; Error
altd ioe ld bc, (65535) ; Error
altd ioe ld c, (hl) ; Error
altd ioe ld c, (ix) ; Error
altd ioe ld c, (ix+127) ; Error
altd ioe ld c, (ix-128) ; Error
altd ioe ld c, (iy) ; Error
altd ioe ld c, (iy+127) ; Error
altd ioe ld c, (iy-128) ; Error
altd ioe ld d, (hl) ; Error
altd ioe ld d, (ix) ; Error
altd ioe ld d, (ix+127) ; Error
altd ioe ld d, (ix-128) ; Error
altd ioe ld d, (iy) ; Error
altd ioe ld d, (iy+127) ; Error
altd ioe ld d, (iy-128) ; Error
altd ioe ld de, (-32768) ; Error
altd ioe ld de, (32767) ; Error
altd ioe ld de, (65535) ; Error
altd ioe ld e, (hl) ; Error
altd ioe ld e, (ix) ; Error
altd ioe ld e, (ix+127) ; Error
altd ioe ld e, (ix-128) ; Error
altd ioe ld e, (iy) ; Error
altd ioe ld e, (iy+127) ; Error
altd ioe ld e, (iy-128) ; Error
altd ioe ld h, (hl) ; Error
altd ioe ld h, (ix) ; Error
altd ioe ld h, (ix+127) ; Error
altd ioe ld h, (ix-128) ; Error
altd ioe ld h, (iy) ; Error
altd ioe ld h, (iy+127) ; Error
altd ioe ld h, (iy-128) ; Error
altd ioe ld hl, (-32768) ; Error
altd ioe ld hl, (32767) ; Error
altd ioe ld hl, (65535) ; Error
altd ioe ld hl, (hl) ; Error
altd ioe ld hl, (hl+127) ; Error
altd ioe ld hl, (hl-128) ; Error
altd ioe ld hl, (ix) ; Error
altd ioe ld hl, (ix+127) ; Error
altd ioe ld hl, (ix-128) ; Error
altd ioe ld hl, (iy) ; Error
altd ioe ld hl, (iy+127) ; Error
altd ioe ld hl, (iy-128) ; Error
altd ioe ld l, (hl) ; Error
altd ioe ld l, (ix) ; Error
altd ioe ld l, (ix+127) ; Error
altd ioe ld l, (ix-128) ; Error
altd ioe ld l, (iy) ; Error
altd ioe ld l, (iy+127) ; Error
altd ioe ld l, (iy-128) ; Error
altd ioe or (hl) ; Error
altd ioe or (ix) ; Error
altd ioe or (ix+127) ; Error
altd ioe or (ix-128) ; Error
altd ioe or (iy) ; Error
altd ioe or (iy+127) ; Error
altd ioe or (iy-128) ; Error
altd ioe or a, (hl) ; Error
altd ioe or a, (ix) ; Error
altd ioe or a, (ix+127) ; Error
altd ioe or a, (ix-128) ; Error
altd ioe or a, (iy) ; Error
altd ioe or a, (iy+127) ; Error
altd ioe or a, (iy-128) ; Error
altd ioe rl (hl) ; Error
altd ioe rl (ix) ; Error
altd ioe rl (ix+127) ; Error
altd ioe rl (ix-128) ; Error
altd ioe rl (iy) ; Error
altd ioe rl (iy+127) ; Error
altd ioe rl (iy-128) ; Error
altd ioe rlc (hl) ; Error
altd ioe rlc (ix) ; Error
altd ioe rlc (ix+127) ; Error
altd ioe rlc (ix-128) ; Error
altd ioe rlc (iy) ; Error
altd ioe rlc (iy+127) ; Error
altd ioe rlc (iy-128) ; Error
altd ioe rr (hl) ; Error
altd ioe rr (ix) ; Error
altd ioe rr (ix+127) ; Error
altd ioe rr (ix-128) ; Error
altd ioe rr (iy) ; Error
altd ioe rr (iy+127) ; Error
altd ioe rr (iy-128) ; Error
altd ioe rrc (hl) ; Error
altd ioe rrc (ix) ; Error
altd ioe rrc (ix+127) ; Error
altd ioe rrc (ix-128) ; Error
altd ioe rrc (iy) ; Error
altd ioe rrc (iy+127) ; Error
altd ioe rrc (iy-128) ; Error
altd ioe sbc (hl) ; Error
altd ioe sbc (ix) ; Error
altd ioe sbc (ix+127) ; Error
altd ioe sbc (ix-128) ; Error
altd ioe sbc (iy) ; Error
altd ioe sbc (iy+127) ; Error
altd ioe sbc (iy-128) ; Error
altd ioe sbc a, (hl) ; Error
altd ioe sbc a, (ix) ; Error
altd ioe sbc a, (ix+127) ; Error
altd ioe sbc a, (ix-128) ; Error
altd ioe sbc a, (iy) ; Error
altd ioe sbc a, (iy+127) ; Error
altd ioe sbc a, (iy-128) ; Error
altd ioe sla (hl) ; Error
altd ioe sla (ix) ; Error
altd ioe sla (ix+127) ; Error
altd ioe sla (ix-128) ; Error
altd ioe sla (iy) ; Error
altd ioe sla (iy+127) ; Error
altd ioe sla (iy-128) ; Error
altd ioe sra (hl) ; Error
altd ioe sra (ix) ; Error
altd ioe sra (ix+127) ; Error
altd ioe sra (ix-128) ; Error
altd ioe sra (iy) ; Error
altd ioe sra (iy+127) ; Error
altd ioe sra (iy-128) ; Error
altd ioe srl (hl) ; Error
altd ioe srl (ix) ; Error
altd ioe srl (ix+127) ; Error
altd ioe srl (ix-128) ; Error
altd ioe srl (iy) ; Error
altd ioe srl (iy+127) ; Error
altd ioe srl (iy-128) ; Error
altd ioe sub (hl) ; Error
altd ioe sub (ix) ; Error
altd ioe sub (ix+127) ; Error
altd ioe sub (ix-128) ; Error
altd ioe sub (iy) ; Error
altd ioe sub (iy+127) ; Error
altd ioe sub (iy-128) ; Error
altd ioe sub a, (hl) ; Error
altd ioe sub a, (ix) ; Error
altd ioe sub a, (ix+127) ; Error
altd ioe sub a, (ix-128) ; Error
altd ioe sub a, (iy) ; Error
altd ioe sub a, (iy+127) ; Error
altd ioe sub a, (iy-128) ; Error
altd ioe xor (hl) ; Error
altd ioe xor (ix) ; Error
altd ioe xor (ix+127) ; Error
altd ioe xor (ix-128) ; Error
altd ioe xor (iy) ; Error
altd ioe xor (iy+127) ; Error
altd ioe xor (iy-128) ; Error
altd ioe xor a, (hl) ; Error
altd ioe xor a, (ix) ; Error
altd ioe xor a, (ix+127) ; Error
altd ioe xor a, (ix-128) ; Error
altd ioe xor a, (iy) ; Error
altd ioe xor a, (iy+127) ; Error
altd ioe xor a, (iy-128) ; Error
altd ioi adc (hl) ; Error
altd ioi adc (ix) ; Error
altd ioi adc (ix+127) ; Error
altd ioi adc (ix-128) ; Error
altd ioi adc (iy) ; Error
altd ioi adc (iy+127) ; Error
altd ioi adc (iy-128) ; Error
altd ioi adc a, (hl) ; Error
altd ioi adc a, (ix) ; Error
altd ioi adc a, (ix+127) ; Error
altd ioi adc a, (ix-128) ; Error
altd ioi adc a, (iy) ; Error
altd ioi adc a, (iy+127) ; Error
altd ioi adc a, (iy-128) ; Error
altd ioi add (hl) ; Error
altd ioi add (ix) ; Error
altd ioi add (ix+127) ; Error
altd ioi add (ix-128) ; Error
altd ioi add (iy) ; Error
altd ioi add (iy+127) ; Error
altd ioi add (iy-128) ; Error
altd ioi add a, (hl) ; Error
altd ioi add a, (ix) ; Error
altd ioi add a, (ix+127) ; Error
altd ioi add a, (ix-128) ; Error
altd ioi add a, (iy) ; Error
altd ioi add a, (iy+127) ; Error
altd ioi add a, (iy-128) ; Error
altd ioi and (hl) ; Error
altd ioi and (ix) ; Error
altd ioi and (ix+127) ; Error
altd ioi and (ix-128) ; Error
altd ioi and (iy) ; Error
altd ioi and (iy+127) ; Error
altd ioi and (iy-128) ; Error
altd ioi and a, (hl) ; Error
altd ioi and a, (ix) ; Error
altd ioi and a, (ix+127) ; Error
altd ioi and a, (ix-128) ; Error
altd ioi and a, (iy) ; Error
altd ioi and a, (iy+127) ; Error
altd ioi and a, (iy-128) ; Error
altd ioi bit -1, (hl) ; Error
altd ioi bit -1, (hl) ; Error
altd ioi bit -1, (ix) ; Error
altd ioi bit -1, (ix) ; Error
altd ioi bit -1, (ix+127) ; Error
altd ioi bit -1, (ix+127) ; Error
altd ioi bit -1, (ix-128) ; Error
altd ioi bit -1, (ix-128) ; Error
altd ioi bit -1, (iy) ; Error
altd ioi bit -1, (iy) ; Error
altd ioi bit -1, (iy+127) ; Error
altd ioi bit -1, (iy+127) ; Error
altd ioi bit -1, (iy-128) ; Error
altd ioi bit -1, (iy-128) ; Error
altd ioi bit 0, (hl) ; Error
altd ioi bit 0, (ix) ; Error
altd ioi bit 0, (ix+127) ; Error
altd ioi bit 0, (ix-128) ; Error
altd ioi bit 0, (iy) ; Error
altd ioi bit 0, (iy+127) ; Error
altd ioi bit 0, (iy-128) ; Error
altd ioi bit 1, (hl) ; Error
altd ioi bit 1, (ix) ; Error
altd ioi bit 1, (ix+127) ; Error
altd ioi bit 1, (ix-128) ; Error
altd ioi bit 1, (iy) ; Error
altd ioi bit 1, (iy+127) ; Error
altd ioi bit 1, (iy-128) ; Error
altd ioi bit 2, (hl) ; Error
altd ioi bit 2, (ix) ; Error
altd ioi bit 2, (ix+127) ; Error
altd ioi bit 2, (ix-128) ; Error
altd ioi bit 2, (iy) ; Error
altd ioi bit 2, (iy+127) ; Error
altd ioi bit 2, (iy-128) ; Error
altd ioi bit 3, (hl) ; Error
altd ioi bit 3, (ix) ; Error
altd ioi bit 3, (ix+127) ; Error
altd ioi bit 3, (ix-128) ; Error
altd ioi bit 3, (iy) ; Error
altd ioi bit 3, (iy+127) ; Error
altd ioi bit 3, (iy-128) ; Error
altd ioi bit 4, (hl) ; Error
altd ioi bit 4, (ix) ; Error
altd ioi bit 4, (ix+127) ; Error
altd ioi bit 4, (ix-128) ; Error
altd ioi bit 4, (iy) ; Error
altd ioi bit 4, (iy+127) ; Error
altd ioi bit 4, (iy-128) ; Error
altd ioi bit 5, (hl) ; Error
altd ioi bit 5, (ix) ; Error
altd ioi bit 5, (ix+127) ; Error
altd ioi bit 5, (ix-128) ; Error
altd ioi bit 5, (iy) ; Error
altd ioi bit 5, (iy+127) ; Error
altd ioi bit 5, (iy-128) ; Error
altd ioi bit 6, (hl) ; Error
altd ioi bit 6, (ix) ; Error
altd ioi bit 6, (ix+127) ; Error
altd ioi bit 6, (ix-128) ; Error
altd ioi bit 6, (iy) ; Error
altd ioi bit 6, (iy+127) ; Error
altd ioi bit 6, (iy-128) ; Error
altd ioi bit 7, (hl) ; Error
altd ioi bit 7, (ix) ; Error
altd ioi bit 7, (ix+127) ; Error
altd ioi bit 7, (ix-128) ; Error
altd ioi bit 7, (iy) ; Error
altd ioi bit 7, (iy+127) ; Error
altd ioi bit 7, (iy-128) ; Error
altd ioi bit 8, (hl) ; Error
altd ioi bit 8, (hl) ; Error
altd ioi bit 8, (ix) ; Error
altd ioi bit 8, (ix) ; Error
altd ioi bit 8, (ix+127) ; Error
altd ioi bit 8, (ix+127) ; Error
altd ioi bit 8, (ix-128) ; Error
altd ioi bit 8, (ix-128) ; Error
altd ioi bit 8, (iy) ; Error
altd ioi bit 8, (iy) ; Error
altd ioi bit 8, (iy+127) ; Error
altd ioi bit 8, (iy+127) ; Error
altd ioi bit 8, (iy-128) ; Error
altd ioi bit 8, (iy-128) ; Error
altd ioi cp (hl) ; Error
altd ioi cp (ix) ; Error
altd ioi cp (ix+127) ; Error
altd ioi cp (ix-128) ; Error
altd ioi cp (iy) ; Error
altd ioi cp (iy+127) ; Error
altd ioi cp (iy-128) ; Error
altd ioi cp a, (hl) ; Error
altd ioi cp a, (ix) ; Error
altd ioi cp a, (ix+127) ; Error
altd ioi cp a, (ix-128) ; Error
altd ioi cp a, (iy) ; Error
altd ioi cp a, (iy+127) ; Error
altd ioi cp a, (iy-128) ; Error
altd ioi dec (hl) ; Error
altd ioi dec (ix) ; Error
altd ioi dec (ix+127) ; Error
altd ioi dec (ix-128) ; Error
altd ioi dec (iy) ; Error
altd ioi dec (iy+127) ; Error
altd ioi dec (iy-128) ; Error
altd ioi inc (hl) ; Error
altd ioi inc (ix) ; Error
altd ioi inc (ix+127) ; Error
altd ioi inc (ix-128) ; Error
altd ioi inc (iy) ; Error
altd ioi inc (iy+127) ; Error
altd ioi inc (iy-128) ; Error
altd ioi ld a, (-32768) ; Error
altd ioi ld a, (32767) ; Error
altd ioi ld a, (65535) ; Error
altd ioi ld a, (bc) ; Error
altd ioi ld a, (bc+) ; Error
altd ioi ld a, (bc-) ; Error
altd ioi ld a, (de) ; Error
altd ioi ld a, (de+) ; Error
altd ioi ld a, (de-) ; Error
altd ioi ld a, (hl) ; Error
altd ioi ld a, (hl+) ; Error
altd ioi ld a, (hl-) ; Error
altd ioi ld a, (hld) ; Error
altd ioi ld a, (hli) ; Error
altd ioi ld a, (ix) ; Error
altd ioi ld a, (ix+127) ; Error
altd ioi ld a, (ix-128) ; Error
altd ioi ld a, (iy) ; Error
altd ioi ld a, (iy+127) ; Error
altd ioi ld a, (iy-128) ; Error
altd ioi ld b, (hl) ; Error
altd ioi ld b, (ix) ; Error
altd ioi ld b, (ix+127) ; Error
altd ioi ld b, (ix-128) ; Error
altd ioi ld b, (iy) ; Error
altd ioi ld b, (iy+127) ; Error
altd ioi ld b, (iy-128) ; Error
altd ioi ld bc, (-32768) ; Error
altd ioi ld bc, (32767) ; Error
altd ioi ld bc, (65535) ; Error
altd ioi ld c, (hl) ; Error
altd ioi ld c, (ix) ; Error
altd ioi ld c, (ix+127) ; Error
altd ioi ld c, (ix-128) ; Error
altd ioi ld c, (iy) ; Error
altd ioi ld c, (iy+127) ; Error
altd ioi ld c, (iy-128) ; Error
altd ioi ld d, (hl) ; Error
altd ioi ld d, (ix) ; Error
altd ioi ld d, (ix+127) ; Error
altd ioi ld d, (ix-128) ; Error
altd ioi ld d, (iy) ; Error
altd ioi ld d, (iy+127) ; Error
altd ioi ld d, (iy-128) ; Error
altd ioi ld de, (-32768) ; Error
altd ioi ld de, (32767) ; Error
altd ioi ld de, (65535) ; Error
altd ioi ld e, (hl) ; Error
altd ioi ld e, (ix) ; Error
altd ioi ld e, (ix+127) ; Error
altd ioi ld e, (ix-128) ; Error
altd ioi ld e, (iy) ; Error
altd ioi ld e, (iy+127) ; Error
altd ioi ld e, (iy-128) ; Error
altd ioi ld h, (hl) ; Error
altd ioi ld h, (ix) ; Error
altd ioi ld h, (ix+127) ; Error
altd ioi ld h, (ix-128) ; Error
altd ioi ld h, (iy) ; Error
altd ioi ld h, (iy+127) ; Error
altd ioi ld h, (iy-128) ; Error
altd ioi ld hl, (-32768) ; Error
altd ioi ld hl, (32767) ; Error
altd ioi ld hl, (65535) ; Error
altd ioi ld hl, (hl) ; Error
altd ioi ld hl, (hl+127) ; Error
altd ioi ld hl, (hl-128) ; Error
altd ioi ld hl, (ix) ; Error
altd ioi ld hl, (ix+127) ; Error
altd ioi ld hl, (ix-128) ; Error
altd ioi ld hl, (iy) ; Error
altd ioi ld hl, (iy+127) ; Error
altd ioi ld hl, (iy-128) ; Error
altd ioi ld l, (hl) ; Error
altd ioi ld l, (ix) ; Error
altd ioi ld l, (ix+127) ; Error
altd ioi ld l, (ix-128) ; Error
altd ioi ld l, (iy) ; Error
altd ioi ld l, (iy+127) ; Error
altd ioi ld l, (iy-128) ; Error
altd ioi or (hl) ; Error
altd ioi or (ix) ; Error
altd ioi or (ix+127) ; Error
altd ioi or (ix-128) ; Error
altd ioi or (iy) ; Error
altd ioi or (iy+127) ; Error
altd ioi or (iy-128) ; Error
altd ioi or a, (hl) ; Error
altd ioi or a, (ix) ; Error
altd ioi or a, (ix+127) ; Error
altd ioi or a, (ix-128) ; Error
altd ioi or a, (iy) ; Error
altd ioi or a, (iy+127) ; Error
altd ioi or a, (iy-128) ; Error
altd ioi rl (hl) ; Error
altd ioi rl (ix) ; Error
altd ioi rl (ix+127) ; Error
altd ioi rl (ix-128) ; Error
altd ioi rl (iy) ; Error
altd ioi rl (iy+127) ; Error
altd ioi rl (iy-128) ; Error
altd ioi rlc (hl) ; Error
altd ioi rlc (ix) ; Error
altd ioi rlc (ix+127) ; Error
altd ioi rlc (ix-128) ; Error
altd ioi rlc (iy) ; Error
altd ioi rlc (iy+127) ; Error
altd ioi rlc (iy-128) ; Error
altd ioi rr (hl) ; Error
altd ioi rr (ix) ; Error
altd ioi rr (ix+127) ; Error
altd ioi rr (ix-128) ; Error
altd ioi rr (iy) ; Error
altd ioi rr (iy+127) ; Error
altd ioi rr (iy-128) ; Error
altd ioi rrc (hl) ; Error
altd ioi rrc (ix) ; Error
altd ioi rrc (ix+127) ; Error
altd ioi rrc (ix-128) ; Error
altd ioi rrc (iy) ; Error
altd ioi rrc (iy+127) ; Error
altd ioi rrc (iy-128) ; Error
altd ioi sbc (hl) ; Error
altd ioi sbc (ix) ; Error
altd ioi sbc (ix+127) ; Error
altd ioi sbc (ix-128) ; Error
altd ioi sbc (iy) ; Error
altd ioi sbc (iy+127) ; Error
altd ioi sbc (iy-128) ; Error
altd ioi sbc a, (hl) ; Error
altd ioi sbc a, (ix) ; Error
altd ioi sbc a, (ix+127) ; Error
altd ioi sbc a, (ix-128) ; Error
altd ioi sbc a, (iy) ; Error
altd ioi sbc a, (iy+127) ; Error
altd ioi sbc a, (iy-128) ; Error
altd ioi sla (hl) ; Error
altd ioi sla (ix) ; Error
altd ioi sla (ix+127) ; Error
altd ioi sla (ix-128) ; Error
altd ioi sla (iy) ; Error
altd ioi sla (iy+127) ; Error
altd ioi sla (iy-128) ; Error
altd ioi sra (hl) ; Error
altd ioi sra (ix) ; Error
altd ioi sra (ix+127) ; Error
altd ioi sra (ix-128) ; Error
altd ioi sra (iy) ; Error
altd ioi sra (iy+127) ; Error
altd ioi sra (iy-128) ; Error
altd ioi srl (hl) ; Error
altd ioi srl (ix) ; Error
altd ioi srl (ix+127) ; Error
altd ioi srl (ix-128) ; Error
altd ioi srl (iy) ; Error
altd ioi srl (iy+127) ; Error
altd ioi srl (iy-128) ; Error
altd ioi sub (hl) ; Error
altd ioi sub (ix) ; Error
altd ioi sub (ix+127) ; Error
altd ioi sub (ix-128) ; Error
altd ioi sub (iy) ; Error
altd ioi sub (iy+127) ; Error
altd ioi sub (iy-128) ; Error
altd ioi sub a, (hl) ; Error
altd ioi sub a, (ix) ; Error
altd ioi sub a, (ix+127) ; Error
altd ioi sub a, (ix-128) ; Error
altd ioi sub a, (iy) ; Error
altd ioi sub a, (iy+127) ; Error
altd ioi sub a, (iy-128) ; Error
altd ioi xor (hl) ; Error
altd ioi xor (ix) ; Error
altd ioi xor (ix+127) ; Error
altd ioi xor (ix-128) ; Error
altd ioi xor (iy) ; Error
altd ioi xor (iy+127) ; Error
altd ioi xor (iy-128) ; Error
altd ioi xor a, (hl) ; Error
altd ioi xor a, (ix) ; Error
altd ioi xor a, (ix+127) ; Error
altd ioi xor a, (ix-128) ; Error
altd ioi xor a, (iy) ; Error
altd ioi xor a, (iy+127) ; Error
altd ioi xor a, (iy-128) ; Error
altd ld a, (-32768) ; Error
altd ld a, (32767) ; Error
altd ld a, (65535) ; Error
altd ld a, (bc) ; Error
altd ld a, (bc+) ; Error
altd ld a, (bc-) ; Error
altd ld a, (de) ; Error
altd ld a, (de+) ; Error
altd ld a, (de-) ; Error
altd ld a, (hl) ; Error
altd ld a, (hl+) ; Error
altd ld a, (hl-) ; Error
altd ld a, (hld) ; Error
altd ld a, (hli) ; Error
altd ld a, (ix) ; Error
altd ld a, (ix+127) ; Error
altd ld a, (ix-128) ; Error
altd ld a, (iy) ; Error
altd ld a, (iy+127) ; Error
altd ld a, (iy-128) ; Error
altd ld a, -128 ; Error
altd ld a, 127 ; Error
altd ld a, 255 ; Error
altd ld a, a ; Error
altd ld a, b ; Error
altd ld a, c ; Error
altd ld a, d ; Error
altd ld a, e ; Error
altd ld a, eir ; Error
altd ld a, h ; Error
altd ld a, iir ; Error
altd ld a, l ; Error
altd ld a, xpc ; Error
altd ld b, (hl) ; Error
altd ld b, (ix) ; Error
altd ld b, (ix+127) ; Error
altd ld b, (ix-128) ; Error
altd ld b, (iy) ; Error
altd ld b, (iy+127) ; Error
altd ld b, (iy-128) ; Error
altd ld b, -128 ; Error
altd ld b, 127 ; Error
altd ld b, 255 ; Error
altd ld b, a ; Error
altd ld b, b ; Error
altd ld b, c ; Error
altd ld b, d ; Error
altd ld b, e ; Error
altd ld b, h ; Error
altd ld b, l ; Error
altd ld bc, (-32768) ; Error
altd ld bc, (32767) ; Error
altd ld bc, (65535) ; Error
altd ld bc, -32768 ; Error
altd ld bc, 32767 ; Error
altd ld bc, 65535 ; Error
altd ld bc, bc ; Error
altd ld bc, de ; Error
altd ld c, (hl) ; Error
altd ld c, (ix) ; Error
altd ld c, (ix+127) ; Error
altd ld c, (ix-128) ; Error
altd ld c, (iy) ; Error
altd ld c, (iy+127) ; Error
altd ld c, (iy-128) ; Error
altd ld c, -128 ; Error
altd ld c, 127 ; Error
altd ld c, 255 ; Error
altd ld c, a ; Error
altd ld c, b ; Error
altd ld c, c ; Error
altd ld c, d ; Error
altd ld c, e ; Error
altd ld c, h ; Error
altd ld c, l ; Error
altd ld d, (hl) ; Error
altd ld d, (ix) ; Error
altd ld d, (ix+127) ; Error
altd ld d, (ix-128) ; Error
altd ld d, (iy) ; Error
altd ld d, (iy+127) ; Error
altd ld d, (iy-128) ; Error
altd ld d, -128 ; Error
altd ld d, 127 ; Error
altd ld d, 255 ; Error
altd ld d, a ; Error
altd ld d, b ; Error
altd ld d, c ; Error
altd ld d, d ; Error
altd ld d, e ; Error
altd ld d, h ; Error
altd ld d, l ; Error
altd ld de, (-32768) ; Error
altd ld de, (32767) ; Error
altd ld de, (65535) ; Error
altd ld de, -32768 ; Error
altd ld de, 32767 ; Error
altd ld de, 65535 ; Error
altd ld de, bc ; Error
altd ld de, de ; Error
altd ld e, (hl) ; Error
altd ld e, (ix) ; Error
altd ld e, (ix+127) ; Error
altd ld e, (ix-128) ; Error
altd ld e, (iy) ; Error
altd ld e, (iy+127) ; Error
altd ld e, (iy-128) ; Error
altd ld e, -128 ; Error
altd ld e, 127 ; Error
altd ld e, 255 ; Error
altd ld e, a ; Error
altd ld e, b ; Error
altd ld e, c ; Error
altd ld e, d ; Error
altd ld e, e ; Error
altd ld e, h ; Error
altd ld e, l ; Error
altd ld h, (hl) ; Error
altd ld h, (ix) ; Error
altd ld h, (ix+127) ; Error
altd ld h, (ix-128) ; Error
altd ld h, (iy) ; Error
altd ld h, (iy+127) ; Error
altd ld h, (iy-128) ; Error
altd ld h, -128 ; Error
altd ld h, 127 ; Error
altd ld h, 255 ; Error
altd ld h, a ; Error
altd ld h, b ; Error
altd ld h, c ; Error
altd ld h, d ; Error
altd ld h, e ; Error
altd ld h, h ; Error
altd ld h, l ; Error
altd ld hl, (-32768) ; Error
altd ld hl, (32767) ; Error
altd ld hl, (65535) ; Error
altd ld hl, (hl) ; Error
altd ld hl, (hl+127) ; Error
altd ld hl, (hl-128) ; Error
altd ld hl, (ix) ; Error
altd ld hl, (ix+127) ; Error
altd ld hl, (ix-128) ; Error
altd ld hl, (iy) ; Error
altd ld hl, (iy+127) ; Error
altd ld hl, (iy-128) ; Error
altd ld hl, (sp) ; Error
altd ld hl, (sp+0) ; Error
altd ld hl, (sp+255) ; Error
altd ld hl, -32768 ; Error
altd ld hl, 32767 ; Error
altd ld hl, 65535 ; Error
altd ld hl, bc ; Error
altd ld hl, de ; Error
altd ld hl, ix ; Error
altd ld hl, iy ; Error
altd ld l, (hl) ; Error
altd ld l, (ix) ; Error
altd ld l, (ix+127) ; Error
altd ld l, (ix-128) ; Error
altd ld l, (iy) ; Error
altd ld l, (iy+127) ; Error
altd ld l, (iy-128) ; Error
altd ld l, -128 ; Error
altd ld l, 127 ; Error
altd ld l, 255 ; Error
altd ld l, a ; Error
altd ld l, b ; Error
altd ld l, c ; Error
altd ld l, d ; Error
altd ld l, e ; Error
altd ld l, h ; Error
altd ld l, l ; Error
altd neg ; Error
altd neg a ; Error
altd or (hl) ; Error
altd or (ix) ; Error
altd or (ix+127) ; Error
altd or (ix-128) ; Error
altd or (iy) ; Error
altd or (iy+127) ; Error
altd or (iy-128) ; Error
altd or -128 ; Error
altd or 127 ; Error
altd or 255 ; Error
altd or a ; Error
altd or a, (hl) ; Error
altd or a, (ix) ; Error
altd or a, (ix+127) ; Error
altd or a, (ix-128) ; Error
altd or a, (iy) ; Error
altd or a, (iy+127) ; Error
altd or a, (iy-128) ; Error
altd or a, -128 ; Error
altd or a, 127 ; Error
altd or a, 255 ; Error
altd or a, a ; Error
altd or a, b ; Error
altd or a, c ; Error
altd or a, d ; Error
altd or a, e ; Error
altd or a, h ; Error
altd or a, l ; Error
altd or b ; Error
altd or c ; Error
altd or d ; Error
altd or e ; Error
altd or h ; Error
altd or hl, de ; Error
altd or ix, de ; Error
altd or iy, de ; Error
altd or l ; Error
altd pop af ; Error
altd pop b ; Error
altd pop bc ; Error
altd pop d ; Error
altd pop de ; Error
altd pop h ; Error
altd pop hl ; Error
altd res -1, a ; Error
altd res -1, a ; Error
altd res -1, b ; Error
altd res -1, b ; Error
altd res -1, c ; Error
altd res -1, c ; Error
altd res -1, d ; Error
altd res -1, d ; Error
altd res -1, e ; Error
altd res -1, e ; Error
altd res -1, h ; Error
altd res -1, h ; Error
altd res -1, l ; Error
altd res -1, l ; Error
altd res 0, a ; Error
altd res 0, b ; Error
altd res 0, c ; Error
altd res 0, d ; Error
altd res 0, e ; Error
altd res 0, h ; Error
altd res 0, l ; Error
altd res 1, a ; Error
altd res 1, b ; Error
altd res 1, c ; Error
altd res 1, d ; Error
altd res 1, e ; Error
altd res 1, h ; Error
altd res 1, l ; Error
altd res 2, a ; Error
altd res 2, b ; Error
altd res 2, c ; Error
altd res 2, d ; Error
altd res 2, e ; Error
altd res 2, h ; Error
altd res 2, l ; Error
altd res 3, a ; Error
altd res 3, b ; Error
altd res 3, c ; Error
altd res 3, d ; Error
altd res 3, e ; Error
altd res 3, h ; Error
altd res 3, l ; Error
altd res 4, a ; Error
altd res 4, b ; Error
altd res 4, c ; Error
altd res 4, d ; Error
altd res 4, e ; Error
altd res 4, h ; Error
altd res 4, l ; Error
altd res 5, a ; Error
altd res 5, b ; Error
altd res 5, c ; Error
altd res 5, d ; Error
altd res 5, e ; Error
altd res 5, h ; Error
altd res 5, l ; Error
altd res 6, a ; Error
altd res 6, b ; Error
altd res 6, c ; Error
altd res 6, d ; Error
altd res 6, e ; Error
altd res 6, h ; Error
altd res 6, l ; Error
altd res 7, a ; Error
altd res 7, b ; Error
altd res 7, c ; Error
altd res 7, d ; Error
altd res 7, e ; Error
altd res 7, h ; Error
altd res 7, l ; Error
altd res 8, a ; Error
altd res 8, a ; Error
altd res 8, b ; Error
altd res 8, b ; Error
altd res 8, c ; Error
altd res 8, c ; Error
altd res 8, d ; Error
altd res 8, d ; Error
altd res 8, e ; Error
altd res 8, e ; Error
altd res 8, h ; Error
altd res 8, h ; Error
altd res 8, l ; Error
altd res 8, l ; Error
altd rl (hl) ; Error
altd rl (ix) ; Error
altd rl (ix+127) ; Error
altd rl (ix-128) ; Error
altd rl (iy) ; Error
altd rl (iy+127) ; Error
altd rl (iy-128) ; Error
altd rl a ; Error
altd rl b ; Error
altd rl c ; Error
altd rl d ; Error
altd rl de ; Error
altd rl e ; Error
altd rl h ; Error
altd rl l ; Error
altd rla ; Error
altd rlc (hl) ; Error
altd rlc (ix) ; Error
altd rlc (ix+127) ; Error
altd rlc (ix-128) ; Error
altd rlc (iy) ; Error
altd rlc (iy+127) ; Error
altd rlc (iy-128) ; Error
altd rlc a ; Error
altd rlc b ; Error
altd rlc c ; Error
altd rlc d ; Error
altd rlc e ; Error
altd rlc h ; Error
altd rlc l ; Error
altd rlca ; Error
altd rr (hl) ; Error
altd rr (ix) ; Error
altd rr (ix+127) ; Error
altd rr (ix-128) ; Error
altd rr (iy) ; Error
altd rr (iy+127) ; Error
altd rr (iy-128) ; Error
altd rr a ; Error
altd rr b ; Error
altd rr c ; Error
altd rr d ; Error
altd rr de ; Error
altd rr e ; Error
altd rr h ; Error
altd rr hl ; Error
altd rr ix ; Error
altd rr iy ; Error
altd rr l ; Error
altd rra ; Error
altd rrc (hl) ; Error
altd rrc (ix) ; Error
altd rrc (ix+127) ; Error
altd rrc (ix-128) ; Error
altd rrc (iy) ; Error
altd rrc (iy+127) ; Error
altd rrc (iy-128) ; Error
altd rrc a ; Error
altd rrc b ; Error
altd rrc c ; Error
altd rrc d ; Error
altd rrc e ; Error
altd rrc h ; Error
altd rrc l ; Error
altd rrca ; Error
altd sbc (hl) ; Error
altd sbc (ix) ; Error
altd sbc (ix+127) ; Error
altd sbc (ix-128) ; Error
altd sbc (iy) ; Error
altd sbc (iy+127) ; Error
altd sbc (iy-128) ; Error
altd sbc -128 ; Error
altd sbc 127 ; Error
altd sbc 255 ; Error
altd sbc a ; Error
altd sbc a, (hl) ; Error
altd sbc a, (ix) ; Error
altd sbc a, (ix+127) ; Error
altd sbc a, (ix-128) ; Error
altd sbc a, (iy) ; Error
altd sbc a, (iy+127) ; Error
altd sbc a, (iy-128) ; Error
altd sbc a, -128 ; Error
altd sbc a, 127 ; Error
altd sbc a, 255 ; Error
altd sbc a, a ; Error
altd sbc a, b ; Error
altd sbc a, c ; Error
altd sbc a, d ; Error
altd sbc a, e ; Error
altd sbc a, h ; Error
altd sbc a, l ; Error
altd sbc b ; Error
altd sbc c ; Error
altd sbc d ; Error
altd sbc e ; Error
altd sbc h ; Error
altd sbc hl, bc ; Error
altd sbc hl, de ; Error
altd sbc hl, hl ; Error
altd sbc hl, sp ; Error
altd sbc l ; Error
altd scf ; Error
altd set -1, a ; Error
altd set -1, a ; Error
altd set -1, b ; Error
altd set -1, b ; Error
altd set -1, c ; Error
altd set -1, c ; Error
altd set -1, d ; Error
altd set -1, d ; Error
altd set -1, e ; Error
altd set -1, e ; Error
altd set -1, h ; Error
altd set -1, h ; Error
altd set -1, l ; Error
altd set -1, l ; Error
altd set 0, a ; Error
altd set 0, b ; Error
altd set 0, c ; Error
altd set 0, d ; Error
altd set 0, e ; Error
altd set 0, h ; Error
altd set 0, l ; Error
altd set 1, a ; Error
altd set 1, b ; Error
altd set 1, c ; Error
altd set 1, d ; Error
altd set 1, e ; Error
altd set 1, h ; Error
altd set 1, l ; Error
altd set 2, a ; Error
altd set 2, b ; Error
altd set 2, c ; Error
altd set 2, d ; Error
altd set 2, e ; Error
altd set 2, h ; Error
altd set 2, l ; Error
altd set 3, a ; Error
altd set 3, b ; Error
altd set 3, c ; Error
altd set 3, d ; Error
altd set 3, e ; Error
altd set 3, h ; Error
altd set 3, l ; Error
altd set 4, a ; Error
altd set 4, b ; Error
altd set 4, c ; Error
altd set 4, d ; Error
altd set 4, e ; Error
altd set 4, h ; Error
altd set 4, l ; Error
altd set 5, a ; Error
altd set 5, b ; Error
altd set 5, c ; Error
altd set 5, d ; Error
altd set 5, e ; Error
altd set 5, h ; Error
altd set 5, l ; Error
altd set 6, a ; Error
altd set 6, b ; Error
altd set 6, c ; Error
altd set 6, d ; Error
altd set 6, e ; Error
altd set 6, h ; Error
altd set 6, l ; Error
altd set 7, a ; Error
altd set 7, b ; Error
altd set 7, c ; Error
altd set 7, d ; Error
altd set 7, e ; Error
altd set 7, h ; Error
altd set 7, l ; Error
altd set 8, a ; Error
altd set 8, a ; Error
altd set 8, b ; Error
altd set 8, b ; Error
altd set 8, c ; Error
altd set 8, c ; Error
altd set 8, d ; Error
altd set 8, d ; Error
altd set 8, e ; Error
altd set 8, e ; Error
altd set 8, h ; Error
altd set 8, h ; Error
altd set 8, l ; Error
altd set 8, l ; Error
altd sla (hl) ; Error
altd sla (ix) ; Error
altd sla (ix+127) ; Error
altd sla (ix-128) ; Error
altd sla (iy) ; Error
altd sla (iy+127) ; Error
altd sla (iy-128) ; Error
altd sla a ; Error
altd sla b ; Error
altd sla c ; Error
altd sla d ; Error
altd sla e ; Error
altd sla h ; Error
altd sla l ; Error
altd sra (hl) ; Error
altd sra (ix) ; Error
altd sra (ix+127) ; Error
altd sra (ix-128) ; Error
altd sra (iy) ; Error
altd sra (iy+127) ; Error
altd sra (iy-128) ; Error
altd sra a ; Error
altd sra b ; Error
altd sra c ; Error
altd sra d ; Error
altd sra e ; Error
altd sra h ; Error
altd sra l ; Error
altd srl (hl) ; Error
altd srl (ix) ; Error
altd srl (ix+127) ; Error
altd srl (ix-128) ; Error
altd srl (iy) ; Error
altd srl (iy+127) ; Error
altd srl (iy-128) ; Error
altd srl a ; Error
altd srl b ; Error
altd srl c ; Error
altd srl d ; Error
altd srl e ; Error
altd srl h ; Error
altd srl l ; Error
altd sub (hl) ; Error
altd sub (ix) ; Error
altd sub (ix+127) ; Error
altd sub (ix-128) ; Error
altd sub (iy) ; Error
altd sub (iy+127) ; Error
altd sub (iy-128) ; Error
altd sub -128 ; Error
altd sub 127 ; Error
altd sub 255 ; Error
altd sub a ; Error
altd sub a, (hl) ; Error
altd sub a, (ix) ; Error
altd sub a, (ix+127) ; Error
altd sub a, (ix-128) ; Error
altd sub a, (iy) ; Error
altd sub a, (iy+127) ; Error
altd sub a, (iy-128) ; Error
altd sub a, -128 ; Error
altd sub a, 127 ; Error
altd sub a, 255 ; Error
altd sub a, a ; Error
altd sub a, b ; Error
altd sub a, c ; Error
altd sub a, d ; Error
altd sub a, e ; Error
altd sub a, h ; Error
altd sub a, l ; Error
altd sub b ; Error
altd sub c ; Error
altd sub d ; Error
altd sub e ; Error
altd sub h ; Error
altd sub l ; Error
altd sub m ; Error
altd xor (hl) ; Error
altd xor (ix) ; Error
altd xor (ix+127) ; Error
altd xor (ix-128) ; Error
altd xor (iy) ; Error
altd xor (iy+127) ; Error
altd xor (iy-128) ; Error
altd xor -128 ; Error
altd xor 127 ; Error
altd xor 255 ; Error
altd xor a ; Error
altd xor a, (hl) ; Error
altd xor a, (ix) ; Error
altd xor a, (ix+127) ; Error
altd xor a, (ix-128) ; Error
altd xor a, (iy) ; Error
altd xor a, (iy+127) ; Error
altd xor a, (iy-128) ; Error
altd xor a, -128 ; Error
altd xor a, 127 ; Error
altd xor a, 255 ; Error
altd xor a, a ; Error
altd xor a, b ; Error
altd xor a, c ; Error
altd xor a, d ; Error
altd xor a, e ; Error
altd xor a, h ; Error
altd xor a, l ; Error
altd xor b ; Error
altd xor c ; Error
altd xor d ; Error
altd xor e ; Error
altd xor h ; Error
altd xor l ; Error
and a', (hl) ; Error
and a', (ix) ; Error
and a', (ix+127) ; Error
and a', (ix-128) ; Error
and a', (iy) ; Error
and a', (iy+127) ; Error
and a', (iy-128) ; Error
and a', -128 ; Error
and a', 127 ; Error
and a', 255 ; Error
and a', a ; Error
and a', b ; Error
and a', c ; Error
and a', d ; Error
and a', e ; Error
and a', h ; Error
and a', l ; Error
and a, ixh ; Error
and a, ixl ; Error
and a, iyh ; Error
and a, iyl ; Error
and hl', de ; Error
and hl, de ; Error
and ix, de ; Error
and ixh ; Error
and ixl ; Error
and iy, de ; Error
and iyh ; Error
and iyl ; Error
and.a ix, de ; Error
and.a iy, de ; Error
bit -1, (hl) ; Error
bit -1, (hl) ; Error
bit -1, (ix) ; Error
bit -1, (ix) ; Error
bit -1, (ix+127) ; Error
bit -1, (ix+127) ; Error
bit -1, (ix-128) ; Error
bit -1, (ix-128) ; Error
bit -1, (iy) ; Error
bit -1, (iy) ; Error
bit -1, (iy+127) ; Error
bit -1, (iy+127) ; Error
bit -1, (iy-128) ; Error
bit -1, (iy-128) ; Error
bit -1, a ; Error
bit -1, a ; Error
bit -1, b ; Error
bit -1, b ; Error
bit -1, c ; Error
bit -1, c ; Error
bit -1, d ; Error
bit -1, d ; Error
bit -1, e ; Error
bit -1, e ; Error
bit -1, h ; Error
bit -1, h ; Error
bit -1, l ; Error
bit -1, l ; Error
bit 8, (hl) ; Error
bit 8, (hl) ; Error
bit 8, (ix) ; Error
bit 8, (ix) ; Error
bit 8, (ix+127) ; Error
bit 8, (ix+127) ; Error
bit 8, (ix-128) ; Error
bit 8, (ix-128) ; Error
bit 8, (iy) ; Error
bit 8, (iy) ; Error
bit 8, (iy+127) ; Error
bit 8, (iy+127) ; Error
bit 8, (iy-128) ; Error
bit 8, (iy-128) ; Error
bit 8, a ; Error
bit 8, a ; Error
bit 8, b ; Error
bit 8, b ; Error
bit 8, c ; Error
bit 8, c ; Error
bit 8, d ; Error
bit 8, d ; Error
bit 8, e ; Error
bit 8, e ; Error
bit 8, h ; Error
bit 8, h ; Error
bit 8, l ; Error
bit 8, l ; Error
bit.a -1, (hl) ; Error
bit.a -1, (hl) ; Error
bit.a -1, (ix) ; Error
bit.a -1, (ix) ; Error
bit.a -1, (ix+127) ; Error
bit.a -1, (ix+127) ; Error
bit.a -1, (ix-128) ; Error
bit.a -1, (ix-128) ; Error
bit.a -1, (iy) ; Error
bit.a -1, (iy) ; Error
bit.a -1, (iy+127) ; Error
bit.a -1, (iy+127) ; Error
bit.a -1, (iy-128) ; Error
bit.a -1, (iy-128) ; Error
bit.a -1, a ; Error
bit.a -1, a ; Error
bit.a -1, b ; Error
bit.a -1, b ; Error
bit.a -1, c ; Error
bit.a -1, c ; Error
bit.a -1, d ; Error
bit.a -1, d ; Error
bit.a -1, e ; Error
bit.a -1, e ; Error
bit.a -1, h ; Error
bit.a -1, h ; Error
bit.a -1, l ; Error
bit.a -1, l ; Error
bit.a 8, (hl) ; Error
bit.a 8, (hl) ; Error
bit.a 8, (ix) ; Error
bit.a 8, (ix) ; Error
bit.a 8, (ix+127) ; Error
bit.a 8, (ix+127) ; Error
bit.a 8, (ix-128) ; Error
bit.a 8, (ix-128) ; Error
bit.a 8, (iy) ; Error
bit.a 8, (iy) ; Error
bit.a 8, (iy+127) ; Error
bit.a 8, (iy+127) ; Error
bit.a 8, (iy-128) ; Error
bit.a 8, (iy-128) ; Error
bit.a 8, a ; Error
bit.a 8, a ; Error
bit.a 8, b ; Error
bit.a 8, b ; Error
bit.a 8, c ; Error
bit.a 8, c ; Error
bit.a 8, d ; Error
bit.a 8, d ; Error
bit.a 8, e ; Error
bit.a 8, e ; Error
bit.a 8, h ; Error
bit.a 8, h ; Error
bit.a 8, l ; Error
bit.a 8, l ; Error
bool hl ; Error
bool hl' ; Error
bool ix ; Error
bool iy ; Error
brlc de,b ; Error
bsla de,b ; Error
bsra de,b ; Error
bsrf de,b ; Error
bsrl de,b ; Error
call lo, -32768 ; Error
call lo, 32767 ; Error
call lo, 65535 ; Error
call lz, -32768 ; Error
call lz, 32767 ; Error
call lz, 65535 ; Error
ccf' ; Error
clo -32768 ; Error
clo 32767 ; Error
clo 65535 ; Error
clz -32768 ; Error
clz 32767 ; Error
clz 65535 ; Error
cmp a, ixh ; Error
cmp a, ixl ; Error
cmp a, iyh ; Error
cmp a, iyl ; Error
cmp ixh ; Error
cmp ixl ; Error
cmp iyh ; Error
cmp iyl ; Error
cp a, ixh ; Error
cp a, ixl ; Error
cp a, iyh ; Error
cp a, iyl ; Error
cp ixh ; Error
cp ixl ; Error
cp iyh ; Error
cp iyl ; Error
cpl a' ; Error
dec a' ; Error
dec b' ; Error
dec bc' ; Error
dec c' ; Error
dec d' ; Error
dec de' ; Error
dec e' ; Error
dec h' ; Error
dec hl' ; Error
dec ixh ; Error
dec ixl ; Error
dec iyh ; Error
dec iyl ; Error
dec l' ; Error
djnz b', ASMPC ; Error
ex (sp), hl' ; Error
ex de', hl ; Error
ex de', hl' ; Error
ex de, hl' ; Error
idet ; Error
im -1 ; Error
im -1 ; Error
im 3 ; Error
im 3 ; Error
inc a' ; Error
inc b' ; Error
inc bc' ; Error
inc c' ; Error
inc d' ; Error
inc de' ; Error
inc e' ; Error
inc h' ; Error
inc hl' ; Error
inc ixh ; Error
inc ixl ; Error
inc iyh ; Error
inc iyl ; Error
inc l' ; Error
ioe adc (hl) ; Error
ioe adc (ix) ; Error
ioe adc (ix+127) ; Error
ioe adc (ix-128) ; Error
ioe adc (iy) ; Error
ioe adc (iy+127) ; Error
ioe adc (iy-128) ; Error
ioe adc a', (hl) ; Error
ioe adc a', (ix) ; Error
ioe adc a', (ix+127) ; Error
ioe adc a', (ix-128) ; Error
ioe adc a', (iy) ; Error
ioe adc a', (iy+127) ; Error
ioe adc a', (iy-128) ; Error
ioe adc a, (hl) ; Error
ioe adc a, (ix) ; Error
ioe adc a, (ix+127) ; Error
ioe adc a, (ix-128) ; Error
ioe adc a, (iy) ; Error
ioe adc a, (iy+127) ; Error
ioe adc a, (iy-128) ; Error
ioe add (hl) ; Error
ioe add (ix) ; Error
ioe add (ix+127) ; Error
ioe add (ix-128) ; Error
ioe add (iy) ; Error
ioe add (iy+127) ; Error
ioe add (iy-128) ; Error
ioe add a', (hl) ; Error
ioe add a', (ix) ; Error
ioe add a', (ix+127) ; Error
ioe add a', (ix-128) ; Error
ioe add a', (iy) ; Error
ioe add a', (iy+127) ; Error
ioe add a', (iy-128) ; Error
ioe add a, (hl) ; Error
ioe add a, (ix) ; Error
ioe add a, (ix+127) ; Error
ioe add a, (ix-128) ; Error
ioe add a, (iy) ; Error
ioe add a, (iy+127) ; Error
ioe add a, (iy-128) ; Error
ioe altd adc (hl) ; Error
ioe altd adc (ix) ; Error
ioe altd adc (ix+127) ; Error
ioe altd adc (ix-128) ; Error
ioe altd adc (iy) ; Error
ioe altd adc (iy+127) ; Error
ioe altd adc (iy-128) ; Error
ioe altd adc a, (hl) ; Error
ioe altd adc a, (ix) ; Error
ioe altd adc a, (ix+127) ; Error
ioe altd adc a, (ix-128) ; Error
ioe altd adc a, (iy) ; Error
ioe altd adc a, (iy+127) ; Error
ioe altd adc a, (iy-128) ; Error
ioe altd add (hl) ; Error
ioe altd add (ix) ; Error
ioe altd add (ix+127) ; Error
ioe altd add (ix-128) ; Error
ioe altd add (iy) ; Error
ioe altd add (iy+127) ; Error
ioe altd add (iy-128) ; Error
ioe altd add a, (hl) ; Error
ioe altd add a, (ix) ; Error
ioe altd add a, (ix+127) ; Error
ioe altd add a, (ix-128) ; Error
ioe altd add a, (iy) ; Error
ioe altd add a, (iy+127) ; Error
ioe altd add a, (iy-128) ; Error
ioe altd and (hl) ; Error
ioe altd and (ix) ; Error
ioe altd and (ix+127) ; Error
ioe altd and (ix-128) ; Error
ioe altd and (iy) ; Error
ioe altd and (iy+127) ; Error
ioe altd and (iy-128) ; Error
ioe altd and a, (hl) ; Error
ioe altd and a, (ix) ; Error
ioe altd and a, (ix+127) ; Error
ioe altd and a, (ix-128) ; Error
ioe altd and a, (iy) ; Error
ioe altd and a, (iy+127) ; Error
ioe altd and a, (iy-128) ; Error
ioe altd bit -1, (hl) ; Error
ioe altd bit -1, (hl) ; Error
ioe altd bit -1, (ix) ; Error
ioe altd bit -1, (ix) ; Error
ioe altd bit -1, (ix+127) ; Error
ioe altd bit -1, (ix+127) ; Error
ioe altd bit -1, (ix-128) ; Error
ioe altd bit -1, (ix-128) ; Error
ioe altd bit -1, (iy) ; Error
ioe altd bit -1, (iy) ; Error
ioe altd bit -1, (iy+127) ; Error
ioe altd bit -1, (iy+127) ; Error
ioe altd bit -1, (iy-128) ; Error
ioe altd bit -1, (iy-128) ; Error
ioe altd bit 0, (hl) ; Error
ioe altd bit 0, (ix) ; Error
ioe altd bit 0, (ix+127) ; Error
ioe altd bit 0, (ix-128) ; Error
ioe altd bit 0, (iy) ; Error
ioe altd bit 0, (iy+127) ; Error
ioe altd bit 0, (iy-128) ; Error
ioe altd bit 1, (hl) ; Error
ioe altd bit 1, (ix) ; Error
ioe altd bit 1, (ix+127) ; Error
ioe altd bit 1, (ix-128) ; Error
ioe altd bit 1, (iy) ; Error
ioe altd bit 1, (iy+127) ; Error
ioe altd bit 1, (iy-128) ; Error
ioe altd bit 2, (hl) ; Error
ioe altd bit 2, (ix) ; Error
ioe altd bit 2, (ix+127) ; Error
ioe altd bit 2, (ix-128) ; Error
ioe altd bit 2, (iy) ; Error
ioe altd bit 2, (iy+127) ; Error
ioe altd bit 2, (iy-128) ; Error
ioe altd bit 3, (hl) ; Error
ioe altd bit 3, (ix) ; Error
ioe altd bit 3, (ix+127) ; Error
ioe altd bit 3, (ix-128) ; Error
ioe altd bit 3, (iy) ; Error
ioe altd bit 3, (iy+127) ; Error
ioe altd bit 3, (iy-128) ; Error
ioe altd bit 4, (hl) ; Error
ioe altd bit 4, (ix) ; Error
ioe altd bit 4, (ix+127) ; Error
ioe altd bit 4, (ix-128) ; Error
ioe altd bit 4, (iy) ; Error
ioe altd bit 4, (iy+127) ; Error
ioe altd bit 4, (iy-128) ; Error
ioe altd bit 5, (hl) ; Error
ioe altd bit 5, (ix) ; Error
ioe altd bit 5, (ix+127) ; Error
ioe altd bit 5, (ix-128) ; Error
ioe altd bit 5, (iy) ; Error
ioe altd bit 5, (iy+127) ; Error
ioe altd bit 5, (iy-128) ; Error
ioe altd bit 6, (hl) ; Error
ioe altd bit 6, (ix) ; Error
ioe altd bit 6, (ix+127) ; Error
ioe altd bit 6, (ix-128) ; Error
ioe altd bit 6, (iy) ; Error
ioe altd bit 6, (iy+127) ; Error
ioe altd bit 6, (iy-128) ; Error
ioe altd bit 7, (hl) ; Error
ioe altd bit 7, (ix) ; Error
ioe altd bit 7, (ix+127) ; Error
ioe altd bit 7, (ix-128) ; Error
ioe altd bit 7, (iy) ; Error
ioe altd bit 7, (iy+127) ; Error
ioe altd bit 7, (iy-128) ; Error
ioe altd bit 8, (hl) ; Error
ioe altd bit 8, (hl) ; Error
ioe altd bit 8, (ix) ; Error
ioe altd bit 8, (ix) ; Error
ioe altd bit 8, (ix+127) ; Error
ioe altd bit 8, (ix+127) ; Error
ioe altd bit 8, (ix-128) ; Error
ioe altd bit 8, (ix-128) ; Error
ioe altd bit 8, (iy) ; Error
ioe altd bit 8, (iy) ; Error
ioe altd bit 8, (iy+127) ; Error
ioe altd bit 8, (iy+127) ; Error
ioe altd bit 8, (iy-128) ; Error
ioe altd bit 8, (iy-128) ; Error
ioe altd cp (hl) ; Error
ioe altd cp (ix) ; Error
ioe altd cp (ix+127) ; Error
ioe altd cp (ix-128) ; Error
ioe altd cp (iy) ; Error
ioe altd cp (iy+127) ; Error
ioe altd cp (iy-128) ; Error
ioe altd cp a, (hl) ; Error
ioe altd cp a, (ix) ; Error
ioe altd cp a, (ix+127) ; Error
ioe altd cp a, (ix-128) ; Error
ioe altd cp a, (iy) ; Error
ioe altd cp a, (iy+127) ; Error
ioe altd cp a, (iy-128) ; Error
ioe altd dec (hl) ; Error
ioe altd dec (ix) ; Error
ioe altd dec (ix+127) ; Error
ioe altd dec (ix-128) ; Error
ioe altd dec (iy) ; Error
ioe altd dec (iy+127) ; Error
ioe altd dec (iy-128) ; Error
ioe altd inc (hl) ; Error
ioe altd inc (ix) ; Error
ioe altd inc (ix+127) ; Error
ioe altd inc (ix-128) ; Error
ioe altd inc (iy) ; Error
ioe altd inc (iy+127) ; Error
ioe altd inc (iy-128) ; Error
ioe altd ld a, (-32768) ; Error
ioe altd ld a, (32767) ; Error
ioe altd ld a, (65535) ; Error
ioe altd ld a, (bc) ; Error
ioe altd ld a, (bc+) ; Error
ioe altd ld a, (bc-) ; Error
ioe altd ld a, (de) ; Error
ioe altd ld a, (de+) ; Error
ioe altd ld a, (de-) ; Error
ioe altd ld a, (hl) ; Error
ioe altd ld a, (hl+) ; Error
ioe altd ld a, (hl-) ; Error
ioe altd ld a, (hld) ; Error
ioe altd ld a, (hli) ; Error
ioe altd ld a, (ix) ; Error
ioe altd ld a, (ix+127) ; Error
ioe altd ld a, (ix-128) ; Error
ioe altd ld a, (iy) ; Error
ioe altd ld a, (iy+127) ; Error
ioe altd ld a, (iy-128) ; Error
ioe altd ld b, (hl) ; Error
ioe altd ld b, (ix) ; Error
ioe altd ld b, (ix+127) ; Error
ioe altd ld b, (ix-128) ; Error
ioe altd ld b, (iy) ; Error
ioe altd ld b, (iy+127) ; Error
ioe altd ld b, (iy-128) ; Error
ioe altd ld bc, (-32768) ; Error
ioe altd ld bc, (32767) ; Error
ioe altd ld bc, (65535) ; Error
ioe altd ld c, (hl) ; Error
ioe altd ld c, (ix) ; Error
ioe altd ld c, (ix+127) ; Error
ioe altd ld c, (ix-128) ; Error
ioe altd ld c, (iy) ; Error
ioe altd ld c, (iy+127) ; Error
ioe altd ld c, (iy-128) ; Error
ioe altd ld d, (hl) ; Error
ioe altd ld d, (ix) ; Error
ioe altd ld d, (ix+127) ; Error
ioe altd ld d, (ix-128) ; Error
ioe altd ld d, (iy) ; Error
ioe altd ld d, (iy+127) ; Error
ioe altd ld d, (iy-128) ; Error
ioe altd ld de, (-32768) ; Error
ioe altd ld de, (32767) ; Error
ioe altd ld de, (65535) ; Error
ioe altd ld e, (hl) ; Error
ioe altd ld e, (ix) ; Error
ioe altd ld e, (ix+127) ; Error
ioe altd ld e, (ix-128) ; Error
ioe altd ld e, (iy) ; Error
ioe altd ld e, (iy+127) ; Error
ioe altd ld e, (iy-128) ; Error
ioe altd ld h, (hl) ; Error
ioe altd ld h, (ix) ; Error
ioe altd ld h, (ix+127) ; Error
ioe altd ld h, (ix-128) ; Error
ioe altd ld h, (iy) ; Error
ioe altd ld h, (iy+127) ; Error
ioe altd ld h, (iy-128) ; Error
ioe altd ld hl, (-32768) ; Error
ioe altd ld hl, (32767) ; Error
ioe altd ld hl, (65535) ; Error
ioe altd ld hl, (hl) ; Error
ioe altd ld hl, (hl+127) ; Error
ioe altd ld hl, (hl-128) ; Error
ioe altd ld hl, (ix) ; Error
ioe altd ld hl, (ix+127) ; Error
ioe altd ld hl, (ix-128) ; Error
ioe altd ld hl, (iy) ; Error
ioe altd ld hl, (iy+127) ; Error
ioe altd ld hl, (iy-128) ; Error
ioe altd ld l, (hl) ; Error
ioe altd ld l, (ix) ; Error
ioe altd ld l, (ix+127) ; Error
ioe altd ld l, (ix-128) ; Error
ioe altd ld l, (iy) ; Error
ioe altd ld l, (iy+127) ; Error
ioe altd ld l, (iy-128) ; Error
ioe altd or (hl) ; Error
ioe altd or (ix) ; Error
ioe altd or (ix+127) ; Error
ioe altd or (ix-128) ; Error
ioe altd or (iy) ; Error
ioe altd or (iy+127) ; Error
ioe altd or (iy-128) ; Error
ioe altd or a, (hl) ; Error
ioe altd or a, (ix) ; Error
ioe altd or a, (ix+127) ; Error
ioe altd or a, (ix-128) ; Error
ioe altd or a, (iy) ; Error
ioe altd or a, (iy+127) ; Error
ioe altd or a, (iy-128) ; Error
ioe altd rl (hl) ; Error
ioe altd rl (ix) ; Error
ioe altd rl (ix+127) ; Error
ioe altd rl (ix-128) ; Error
ioe altd rl (iy) ; Error
ioe altd rl (iy+127) ; Error
ioe altd rl (iy-128) ; Error
ioe altd rlc (hl) ; Error
ioe altd rlc (ix) ; Error
ioe altd rlc (ix+127) ; Error
ioe altd rlc (ix-128) ; Error
ioe altd rlc (iy) ; Error
ioe altd rlc (iy+127) ; Error
ioe altd rlc (iy-128) ; Error
ioe altd rr (hl) ; Error
ioe altd rr (ix) ; Error
ioe altd rr (ix+127) ; Error
ioe altd rr (ix-128) ; Error
ioe altd rr (iy) ; Error
ioe altd rr (iy+127) ; Error
ioe altd rr (iy-128) ; Error
ioe altd rrc (hl) ; Error
ioe altd rrc (ix) ; Error
ioe altd rrc (ix+127) ; Error
ioe altd rrc (ix-128) ; Error
ioe altd rrc (iy) ; Error
ioe altd rrc (iy+127) ; Error
ioe altd rrc (iy-128) ; Error
ioe altd sbc (hl) ; Error
ioe altd sbc (ix) ; Error
ioe altd sbc (ix+127) ; Error
ioe altd sbc (ix-128) ; Error
ioe altd sbc (iy) ; Error
ioe altd sbc (iy+127) ; Error
ioe altd sbc (iy-128) ; Error
ioe altd sbc a, (hl) ; Error
ioe altd sbc a, (ix) ; Error
ioe altd sbc a, (ix+127) ; Error
ioe altd sbc a, (ix-128) ; Error
ioe altd sbc a, (iy) ; Error
ioe altd sbc a, (iy+127) ; Error
ioe altd sbc a, (iy-128) ; Error
ioe altd sla (hl) ; Error
ioe altd sla (ix) ; Error
ioe altd sla (ix+127) ; Error
ioe altd sla (ix-128) ; Error
ioe altd sla (iy) ; Error
ioe altd sla (iy+127) ; Error
ioe altd sla (iy-128) ; Error
ioe altd sra (hl) ; Error
ioe altd sra (ix) ; Error
ioe altd sra (ix+127) ; Error
ioe altd sra (ix-128) ; Error
ioe altd sra (iy) ; Error
ioe altd sra (iy+127) ; Error
ioe altd sra (iy-128) ; Error
ioe altd srl (hl) ; Error
ioe altd srl (ix) ; Error
ioe altd srl (ix+127) ; Error
ioe altd srl (ix-128) ; Error
ioe altd srl (iy) ; Error
ioe altd srl (iy+127) ; Error
ioe altd srl (iy-128) ; Error
ioe altd sub (hl) ; Error
ioe altd sub (ix) ; Error
ioe altd sub (ix+127) ; Error
ioe altd sub (ix-128) ; Error
ioe altd sub (iy) ; Error
ioe altd sub (iy+127) ; Error
ioe altd sub (iy-128) ; Error
ioe altd sub a, (hl) ; Error
ioe altd sub a, (ix) ; Error
ioe altd sub a, (ix+127) ; Error
ioe altd sub a, (ix-128) ; Error
ioe altd sub a, (iy) ; Error
ioe altd sub a, (iy+127) ; Error
ioe altd sub a, (iy-128) ; Error
ioe altd xor (hl) ; Error
ioe altd xor (ix) ; Error
ioe altd xor (ix+127) ; Error
ioe altd xor (ix-128) ; Error
ioe altd xor (iy) ; Error
ioe altd xor (iy+127) ; Error
ioe altd xor (iy-128) ; Error
ioe altd xor a, (hl) ; Error
ioe altd xor a, (ix) ; Error
ioe altd xor a, (ix+127) ; Error
ioe altd xor a, (ix-128) ; Error
ioe altd xor a, (iy) ; Error
ioe altd xor a, (iy+127) ; Error
ioe altd xor a, (iy-128) ; Error
ioe and (hl) ; Error
ioe and (ix) ; Error
ioe and (ix+127) ; Error
ioe and (ix-128) ; Error
ioe and (iy) ; Error
ioe and (iy+127) ; Error
ioe and (iy-128) ; Error
ioe and a', (hl) ; Error
ioe and a', (ix) ; Error
ioe and a', (ix+127) ; Error
ioe and a', (ix-128) ; Error
ioe and a', (iy) ; Error
ioe and a', (iy+127) ; Error
ioe and a', (iy-128) ; Error
ioe and a, (hl) ; Error
ioe and a, (ix) ; Error
ioe and a, (ix+127) ; Error
ioe and a, (ix-128) ; Error
ioe and a, (iy) ; Error
ioe and a, (iy+127) ; Error
ioe and a, (iy-128) ; Error
ioe bit -1, (hl) ; Error
ioe bit -1, (hl) ; Error
ioe bit -1, (ix) ; Error
ioe bit -1, (ix) ; Error
ioe bit -1, (ix+127) ; Error
ioe bit -1, (ix+127) ; Error
ioe bit -1, (ix-128) ; Error
ioe bit -1, (ix-128) ; Error
ioe bit -1, (iy) ; Error
ioe bit -1, (iy) ; Error
ioe bit -1, (iy+127) ; Error
ioe bit -1, (iy+127) ; Error
ioe bit -1, (iy-128) ; Error
ioe bit -1, (iy-128) ; Error
ioe bit 0, (hl) ; Error
ioe bit 0, (ix) ; Error
ioe bit 0, (ix+127) ; Error
ioe bit 0, (ix-128) ; Error
ioe bit 0, (iy) ; Error
ioe bit 0, (iy+127) ; Error
ioe bit 0, (iy-128) ; Error
ioe bit 1, (hl) ; Error
ioe bit 1, (ix) ; Error
ioe bit 1, (ix+127) ; Error
ioe bit 1, (ix-128) ; Error
ioe bit 1, (iy) ; Error
ioe bit 1, (iy+127) ; Error
ioe bit 1, (iy-128) ; Error
ioe bit 2, (hl) ; Error
ioe bit 2, (ix) ; Error
ioe bit 2, (ix+127) ; Error
ioe bit 2, (ix-128) ; Error
ioe bit 2, (iy) ; Error
ioe bit 2, (iy+127) ; Error
ioe bit 2, (iy-128) ; Error
ioe bit 3, (hl) ; Error
ioe bit 3, (ix) ; Error
ioe bit 3, (ix+127) ; Error
ioe bit 3, (ix-128) ; Error
ioe bit 3, (iy) ; Error
ioe bit 3, (iy+127) ; Error
ioe bit 3, (iy-128) ; Error
ioe bit 4, (hl) ; Error
ioe bit 4, (ix) ; Error
ioe bit 4, (ix+127) ; Error
ioe bit 4, (ix-128) ; Error
ioe bit 4, (iy) ; Error
ioe bit 4, (iy+127) ; Error
ioe bit 4, (iy-128) ; Error
ioe bit 5, (hl) ; Error
ioe bit 5, (ix) ; Error
ioe bit 5, (ix+127) ; Error
ioe bit 5, (ix-128) ; Error
ioe bit 5, (iy) ; Error
ioe bit 5, (iy+127) ; Error
ioe bit 5, (iy-128) ; Error
ioe bit 6, (hl) ; Error
ioe bit 6, (ix) ; Error
ioe bit 6, (ix+127) ; Error
ioe bit 6, (ix-128) ; Error
ioe bit 6, (iy) ; Error
ioe bit 6, (iy+127) ; Error
ioe bit 6, (iy-128) ; Error
ioe bit 7, (hl) ; Error
ioe bit 7, (ix) ; Error
ioe bit 7, (ix+127) ; Error
ioe bit 7, (ix-128) ; Error
ioe bit 7, (iy) ; Error
ioe bit 7, (iy+127) ; Error
ioe bit 7, (iy-128) ; Error
ioe bit 8, (hl) ; Error
ioe bit 8, (hl) ; Error
ioe bit 8, (ix) ; Error
ioe bit 8, (ix) ; Error
ioe bit 8, (ix+127) ; Error
ioe bit 8, (ix+127) ; Error
ioe bit 8, (ix-128) ; Error
ioe bit 8, (ix-128) ; Error
ioe bit 8, (iy) ; Error
ioe bit 8, (iy) ; Error
ioe bit 8, (iy+127) ; Error
ioe bit 8, (iy+127) ; Error
ioe bit 8, (iy-128) ; Error
ioe bit 8, (iy-128) ; Error
ioe bit.a -1, (hl) ; Error
ioe bit.a -1, (hl) ; Error
ioe bit.a -1, (ix) ; Error
ioe bit.a -1, (ix) ; Error
ioe bit.a -1, (ix+127) ; Error
ioe bit.a -1, (ix+127) ; Error
ioe bit.a -1, (ix-128) ; Error
ioe bit.a -1, (ix-128) ; Error
ioe bit.a -1, (iy) ; Error
ioe bit.a -1, (iy) ; Error
ioe bit.a -1, (iy+127) ; Error
ioe bit.a -1, (iy+127) ; Error
ioe bit.a -1, (iy-128) ; Error
ioe bit.a -1, (iy-128) ; Error
ioe bit.a 0, (hl) ; Error
ioe bit.a 0, (ix) ; Error
ioe bit.a 0, (ix+127) ; Error
ioe bit.a 0, (ix-128) ; Error
ioe bit.a 0, (iy) ; Error
ioe bit.a 0, (iy+127) ; Error
ioe bit.a 0, (iy-128) ; Error
ioe bit.a 1, (hl) ; Error
ioe bit.a 1, (ix) ; Error
ioe bit.a 1, (ix+127) ; Error
ioe bit.a 1, (ix-128) ; Error
ioe bit.a 1, (iy) ; Error
ioe bit.a 1, (iy+127) ; Error
ioe bit.a 1, (iy-128) ; Error
ioe bit.a 2, (hl) ; Error
ioe bit.a 2, (ix) ; Error
ioe bit.a 2, (ix+127) ; Error
ioe bit.a 2, (ix-128) ; Error
ioe bit.a 2, (iy) ; Error
ioe bit.a 2, (iy+127) ; Error
ioe bit.a 2, (iy-128) ; Error
ioe bit.a 3, (hl) ; Error
ioe bit.a 3, (ix) ; Error
ioe bit.a 3, (ix+127) ; Error
ioe bit.a 3, (ix-128) ; Error
ioe bit.a 3, (iy) ; Error
ioe bit.a 3, (iy+127) ; Error
ioe bit.a 3, (iy-128) ; Error
ioe bit.a 4, (hl) ; Error
ioe bit.a 4, (ix) ; Error
ioe bit.a 4, (ix+127) ; Error
ioe bit.a 4, (ix-128) ; Error
ioe bit.a 4, (iy) ; Error
ioe bit.a 4, (iy+127) ; Error
ioe bit.a 4, (iy-128) ; Error
ioe bit.a 5, (hl) ; Error
ioe bit.a 5, (ix) ; Error
ioe bit.a 5, (ix+127) ; Error
ioe bit.a 5, (ix-128) ; Error
ioe bit.a 5, (iy) ; Error
ioe bit.a 5, (iy+127) ; Error
ioe bit.a 5, (iy-128) ; Error
ioe bit.a 6, (hl) ; Error
ioe bit.a 6, (ix) ; Error
ioe bit.a 6, (ix+127) ; Error
ioe bit.a 6, (ix-128) ; Error
ioe bit.a 6, (iy) ; Error
ioe bit.a 6, (iy+127) ; Error
ioe bit.a 6, (iy-128) ; Error
ioe bit.a 7, (hl) ; Error
ioe bit.a 7, (ix) ; Error
ioe bit.a 7, (ix+127) ; Error
ioe bit.a 7, (ix-128) ; Error
ioe bit.a 7, (iy) ; Error
ioe bit.a 7, (iy+127) ; Error
ioe bit.a 7, (iy-128) ; Error
ioe bit.a 8, (hl) ; Error
ioe bit.a 8, (hl) ; Error
ioe bit.a 8, (ix) ; Error
ioe bit.a 8, (ix) ; Error
ioe bit.a 8, (ix+127) ; Error
ioe bit.a 8, (ix+127) ; Error
ioe bit.a 8, (ix-128) ; Error
ioe bit.a 8, (ix-128) ; Error
ioe bit.a 8, (iy) ; Error
ioe bit.a 8, (iy) ; Error
ioe bit.a 8, (iy+127) ; Error
ioe bit.a 8, (iy+127) ; Error
ioe bit.a 8, (iy-128) ; Error
ioe bit.a 8, (iy-128) ; Error
ioe cmp (hl) ; Error
ioe cmp (ix) ; Error
ioe cmp (ix+127) ; Error
ioe cmp (ix-128) ; Error
ioe cmp (iy) ; Error
ioe cmp (iy+127) ; Error
ioe cmp (iy-128) ; Error
ioe cmp a, (hl) ; Error
ioe cmp a, (ix) ; Error
ioe cmp a, (ix+127) ; Error
ioe cmp a, (ix-128) ; Error
ioe cmp a, (iy) ; Error
ioe cmp a, (iy+127) ; Error
ioe cmp a, (iy-128) ; Error
ioe cp (hl) ; Error
ioe cp (ix) ; Error
ioe cp (ix+127) ; Error
ioe cp (ix-128) ; Error
ioe cp (iy) ; Error
ioe cp (iy+127) ; Error
ioe cp (iy-128) ; Error
ioe cp a, (hl) ; Error
ioe cp a, (ix) ; Error
ioe cp a, (ix+127) ; Error
ioe cp a, (ix-128) ; Error
ioe cp a, (iy) ; Error
ioe cp a, (iy+127) ; Error
ioe cp a, (iy-128) ; Error
ioe dec (hl) ; Error
ioe dec (ix) ; Error
ioe dec (ix+127) ; Error
ioe dec (ix-128) ; Error
ioe dec (iy) ; Error
ioe dec (iy+127) ; Error
ioe dec (iy-128) ; Error
ioe inc (hl) ; Error
ioe inc (ix) ; Error
ioe inc (ix+127) ; Error
ioe inc (ix-128) ; Error
ioe inc (iy) ; Error
ioe inc (iy+127) ; Error
ioe inc (iy-128) ; Error
ioe ld (-32768), a ; Error
ioe ld (-32768), bc ; Error
ioe ld (-32768), de ; Error
ioe ld (-32768), hl ; Error
ioe ld (-32768), ix ; Error
ioe ld (-32768), iy ; Error
ioe ld (-32768), sp ; Error
ioe ld (32767), a ; Error
ioe ld (32767), bc ; Error
ioe ld (32767), de ; Error
ioe ld (32767), hl ; Error
ioe ld (32767), ix ; Error
ioe ld (32767), iy ; Error
ioe ld (32767), sp ; Error
ioe ld (65535), a ; Error
ioe ld (65535), bc ; Error
ioe ld (65535), de ; Error
ioe ld (65535), hl ; Error
ioe ld (65535), ix ; Error
ioe ld (65535), iy ; Error
ioe ld (65535), sp ; Error
ioe ld (bc), a ; Error
ioe ld (bc+), a ; Error
ioe ld (bc-), a ; Error
ioe ld (de), a ; Error
ioe ld (de+), a ; Error
ioe ld (de-), a ; Error
ioe ld (hl), -128 ; Error
ioe ld (hl), 127 ; Error
ioe ld (hl), 255 ; Error
ioe ld (hl), a ; Error
ioe ld (hl), b ; Error
ioe ld (hl), c ; Error
ioe ld (hl), d ; Error
ioe ld (hl), e ; Error
ioe ld (hl), h ; Error
ioe ld (hl), hl ; Error
ioe ld (hl), l ; Error
ioe ld (hl+), a ; Error
ioe ld (hl+127), hl ; Error
ioe ld (hl-), a ; Error
ioe ld (hl-128), hl ; Error
ioe ld (hld), a ; Error
ioe ld (hli), a ; Error
ioe ld (ix), -128 ; Error
ioe ld (ix), 127 ; Error
ioe ld (ix), 255 ; Error
ioe ld (ix), a ; Error
ioe ld (ix), b ; Error
ioe ld (ix), c ; Error
ioe ld (ix), d ; Error
ioe ld (ix), e ; Error
ioe ld (ix), h ; Error
ioe ld (ix), hl ; Error
ioe ld (ix), l ; Error
ioe ld (ix+127), -128 ; Error
ioe ld (ix+127), 127 ; Error
ioe ld (ix+127), 255 ; Error
ioe ld (ix+127), a ; Error
ioe ld (ix+127), b ; Error
ioe ld (ix+127), c ; Error
ioe ld (ix+127), d ; Error
ioe ld (ix+127), e ; Error
ioe ld (ix+127), h ; Error
ioe ld (ix+127), hl ; Error
ioe ld (ix+127), l ; Error
ioe ld (ix-128), -128 ; Error
ioe ld (ix-128), 127 ; Error
ioe ld (ix-128), 255 ; Error
ioe ld (ix-128), a ; Error
ioe ld (ix-128), b ; Error
ioe ld (ix-128), c ; Error
ioe ld (ix-128), d ; Error
ioe ld (ix-128), e ; Error
ioe ld (ix-128), h ; Error
ioe ld (ix-128), hl ; Error
ioe ld (ix-128), l ; Error
ioe ld (iy), -128 ; Error
ioe ld (iy), 127 ; Error
ioe ld (iy), 255 ; Error
ioe ld (iy), a ; Error
ioe ld (iy), b ; Error
ioe ld (iy), c ; Error
ioe ld (iy), d ; Error
ioe ld (iy), e ; Error
ioe ld (iy), h ; Error
ioe ld (iy), hl ; Error
ioe ld (iy), l ; Error
ioe ld (iy+127), -128 ; Error
ioe ld (iy+127), 127 ; Error
ioe ld (iy+127), 255 ; Error
ioe ld (iy+127), a ; Error
ioe ld (iy+127), b ; Error
ioe ld (iy+127), c ; Error
ioe ld (iy+127), d ; Error
ioe ld (iy+127), e ; Error
ioe ld (iy+127), h ; Error
ioe ld (iy+127), hl ; Error
ioe ld (iy+127), l ; Error
ioe ld (iy-128), -128 ; Error
ioe ld (iy-128), 127 ; Error
ioe ld (iy-128), 255 ; Error
ioe ld (iy-128), a ; Error
ioe ld (iy-128), b ; Error
ioe ld (iy-128), c ; Error
ioe ld (iy-128), d ; Error
ioe ld (iy-128), e ; Error
ioe ld (iy-128), h ; Error
ioe ld (iy-128), hl ; Error
ioe ld (iy-128), l ; Error
ioe ld a', (-32768) ; Error
ioe ld a', (32767) ; Error
ioe ld a', (65535) ; Error
ioe ld a', (bc) ; Error
ioe ld a', (bc+) ; Error
ioe ld a', (bc-) ; Error
ioe ld a', (de) ; Error
ioe ld a', (de+) ; Error
ioe ld a', (de-) ; Error
ioe ld a', (hl) ; Error
ioe ld a', (hl+) ; Error
ioe ld a', (hl-) ; Error
ioe ld a', (hld) ; Error
ioe ld a', (hli) ; Error
ioe ld a', (ix) ; Error
ioe ld a', (ix+127) ; Error
ioe ld a', (ix-128) ; Error
ioe ld a', (iy) ; Error
ioe ld a', (iy+127) ; Error
ioe ld a', (iy-128) ; Error
ioe ld a, (-32768) ; Error
ioe ld a, (32767) ; Error
ioe ld a, (65535) ; Error
ioe ld a, (bc) ; Error
ioe ld a, (bc+) ; Error
ioe ld a, (bc-) ; Error
ioe ld a, (de) ; Error
ioe ld a, (de+) ; Error
ioe ld a, (de-) ; Error
ioe ld a, (hl) ; Error
ioe ld a, (hl+) ; Error
ioe ld a, (hl-) ; Error
ioe ld a, (hld) ; Error
ioe ld a, (hli) ; Error
ioe ld a, (ix) ; Error
ioe ld a, (ix+127) ; Error
ioe ld a, (ix-128) ; Error
ioe ld a, (iy) ; Error
ioe ld a, (iy+127) ; Error
ioe ld a, (iy-128) ; Error
ioe ld b', (hl) ; Error
ioe ld b', (ix) ; Error
ioe ld b', (ix+127) ; Error
ioe ld b', (ix-128) ; Error
ioe ld b', (iy) ; Error
ioe ld b', (iy+127) ; Error
ioe ld b', (iy-128) ; Error
ioe ld b, (hl) ; Error
ioe ld b, (ix) ; Error
ioe ld b, (ix+127) ; Error
ioe ld b, (ix-128) ; Error
ioe ld b, (iy) ; Error
ioe ld b, (iy+127) ; Error
ioe ld b, (iy-128) ; Error
ioe ld bc', (-32768) ; Error
ioe ld bc', (32767) ; Error
ioe ld bc', (65535) ; Error
ioe ld bc, (-32768) ; Error
ioe ld bc, (32767) ; Error
ioe ld bc, (65535) ; Error
ioe ld c', (hl) ; Error
ioe ld c', (ix) ; Error
ioe ld c', (ix+127) ; Error
ioe ld c', (ix-128) ; Error
ioe ld c', (iy) ; Error
ioe ld c', (iy+127) ; Error
ioe ld c', (iy-128) ; Error
ioe ld c, (hl) ; Error
ioe ld c, (ix) ; Error
ioe ld c, (ix+127) ; Error
ioe ld c, (ix-128) ; Error
ioe ld c, (iy) ; Error
ioe ld c, (iy+127) ; Error
ioe ld c, (iy-128) ; Error
ioe ld d', (hl) ; Error
ioe ld d', (ix) ; Error
ioe ld d', (ix+127) ; Error
ioe ld d', (ix-128) ; Error
ioe ld d', (iy) ; Error
ioe ld d', (iy+127) ; Error
ioe ld d', (iy-128) ; Error
ioe ld d, (hl) ; Error
ioe ld d, (ix) ; Error
ioe ld d, (ix+127) ; Error
ioe ld d, (ix-128) ; Error
ioe ld d, (iy) ; Error
ioe ld d, (iy+127) ; Error
ioe ld d, (iy-128) ; Error
ioe ld de', (-32768) ; Error
ioe ld de', (32767) ; Error
ioe ld de', (65535) ; Error
ioe ld de, (-32768) ; Error
ioe ld de, (32767) ; Error
ioe ld de, (65535) ; Error
ioe ld e', (hl) ; Error
ioe ld e', (ix) ; Error
ioe ld e', (ix+127) ; Error
ioe ld e', (ix-128) ; Error
ioe ld e', (iy) ; Error
ioe ld e', (iy+127) ; Error
ioe ld e', (iy-128) ; Error
ioe ld e, (hl) ; Error
ioe ld e, (ix) ; Error
ioe ld e, (ix+127) ; Error
ioe ld e, (ix-128) ; Error
ioe ld e, (iy) ; Error
ioe ld e, (iy+127) ; Error
ioe ld e, (iy-128) ; Error
ioe ld h', (hl) ; Error
ioe ld h', (ix) ; Error
ioe ld h', (ix+127) ; Error
ioe ld h', (ix-128) ; Error
ioe ld h', (iy) ; Error
ioe ld h', (iy+127) ; Error
ioe ld h', (iy-128) ; Error
ioe ld h, (hl) ; Error
ioe ld h, (ix) ; Error
ioe ld h, (ix+127) ; Error
ioe ld h, (ix-128) ; Error
ioe ld h, (iy) ; Error
ioe ld h, (iy+127) ; Error
ioe ld h, (iy-128) ; Error
ioe ld hl', (-32768) ; Error
ioe ld hl', (32767) ; Error
ioe ld hl', (65535) ; Error
ioe ld hl', (hl) ; Error
ioe ld hl', (hl+127) ; Error
ioe ld hl', (hl-128) ; Error
ioe ld hl', (ix) ; Error
ioe ld hl', (ix+127) ; Error
ioe ld hl', (ix-128) ; Error
ioe ld hl', (iy) ; Error
ioe ld hl', (iy+127) ; Error
ioe ld hl', (iy-128) ; Error
ioe ld hl, (-32768) ; Error
ioe ld hl, (32767) ; Error
ioe ld hl, (65535) ; Error
ioe ld hl, (hl) ; Error
ioe ld hl, (hl+127) ; Error
ioe ld hl, (hl-128) ; Error
ioe ld hl, (ix) ; Error
ioe ld hl, (ix+127) ; Error
ioe ld hl, (ix-128) ; Error
ioe ld hl, (iy) ; Error
ioe ld hl, (iy+127) ; Error
ioe ld hl, (iy-128) ; Error
ioe ld ix, (-32768) ; Error
ioe ld ix, (32767) ; Error
ioe ld ix, (65535) ; Error
ioe ld iy, (-32768) ; Error
ioe ld iy, (32767) ; Error
ioe ld iy, (65535) ; Error
ioe ld l', (hl) ; Error
ioe ld l', (ix) ; Error
ioe ld l', (ix+127) ; Error
ioe ld l', (ix-128) ; Error
ioe ld l', (iy) ; Error
ioe ld l', (iy+127) ; Error
ioe ld l', (iy-128) ; Error
ioe ld l, (hl) ; Error
ioe ld l, (ix) ; Error
ioe ld l, (ix+127) ; Error
ioe ld l, (ix-128) ; Error
ioe ld l, (iy) ; Error
ioe ld l, (iy+127) ; Error
ioe ld l, (iy-128) ; Error
ioe ld sp, (-32768) ; Error
ioe ld sp, (32767) ; Error
ioe ld sp, (65535) ; Error
ioe ldd ; Error
ioe ldd (bc), a ; Error
ioe ldd (de), a ; Error
ioe ldd (hl), a ; Error
ioe ldd a, (bc) ; Error
ioe ldd a, (de) ; Error
ioe ldd a, (hl) ; Error
ioe lddr ; Error
ioe lddsr ; Error
ioe ldi ; Error
ioe ldi (bc), a ; Error
ioe ldi (de), a ; Error
ioe ldi (hl), a ; Error
ioe ldi a, (bc) ; Error
ioe ldi a, (de) ; Error
ioe ldi a, (hl) ; Error
ioe ldir ; Error
ioe ldisr ; Error
ioe lsddr ; Error
ioe lsdr ; Error
ioe lsidr ; Error
ioe lsir ; Error
ioe or (hl) ; Error
ioe or (ix) ; Error
ioe or (ix+127) ; Error
ioe or (ix-128) ; Error
ioe or (iy) ; Error
ioe or (iy+127) ; Error
ioe or (iy-128) ; Error
ioe or a', (hl) ; Error
ioe or a', (ix) ; Error
ioe or a', (ix+127) ; Error
ioe or a', (ix-128) ; Error
ioe or a', (iy) ; Error
ioe or a', (iy+127) ; Error
ioe or a', (iy-128) ; Error
ioe or a, (hl) ; Error
ioe or a, (ix) ; Error
ioe or a, (ix+127) ; Error
ioe or a, (ix-128) ; Error
ioe or a, (iy) ; Error
ioe or a, (iy+127) ; Error
ioe or a, (iy-128) ; Error
ioe res -1, (hl) ; Error
ioe res -1, (hl) ; Error
ioe res -1, (ix) ; Error
ioe res -1, (ix) ; Error
ioe res -1, (ix+127) ; Error
ioe res -1, (ix+127) ; Error
ioe res -1, (ix-128) ; Error
ioe res -1, (ix-128) ; Error
ioe res -1, (iy) ; Error
ioe res -1, (iy) ; Error
ioe res -1, (iy+127) ; Error
ioe res -1, (iy+127) ; Error
ioe res -1, (iy-128) ; Error
ioe res -1, (iy-128) ; Error
ioe res 0, (hl) ; Error
ioe res 0, (ix) ; Error
ioe res 0, (ix+127) ; Error
ioe res 0, (ix-128) ; Error
ioe res 0, (iy) ; Error
ioe res 0, (iy+127) ; Error
ioe res 0, (iy-128) ; Error
ioe res 1, (hl) ; Error
ioe res 1, (ix) ; Error
ioe res 1, (ix+127) ; Error
ioe res 1, (ix-128) ; Error
ioe res 1, (iy) ; Error
ioe res 1, (iy+127) ; Error
ioe res 1, (iy-128) ; Error
ioe res 2, (hl) ; Error
ioe res 2, (ix) ; Error
ioe res 2, (ix+127) ; Error
ioe res 2, (ix-128) ; Error
ioe res 2, (iy) ; Error
ioe res 2, (iy+127) ; Error
ioe res 2, (iy-128) ; Error
ioe res 3, (hl) ; Error
ioe res 3, (ix) ; Error
ioe res 3, (ix+127) ; Error
ioe res 3, (ix-128) ; Error
ioe res 3, (iy) ; Error
ioe res 3, (iy+127) ; Error
ioe res 3, (iy-128) ; Error
ioe res 4, (hl) ; Error
ioe res 4, (ix) ; Error
ioe res 4, (ix+127) ; Error
ioe res 4, (ix-128) ; Error
ioe res 4, (iy) ; Error
ioe res 4, (iy+127) ; Error
ioe res 4, (iy-128) ; Error
ioe res 5, (hl) ; Error
ioe res 5, (ix) ; Error
ioe res 5, (ix+127) ; Error
ioe res 5, (ix-128) ; Error
ioe res 5, (iy) ; Error
ioe res 5, (iy+127) ; Error
ioe res 5, (iy-128) ; Error
ioe res 6, (hl) ; Error
ioe res 6, (ix) ; Error
ioe res 6, (ix+127) ; Error
ioe res 6, (ix-128) ; Error
ioe res 6, (iy) ; Error
ioe res 6, (iy+127) ; Error
ioe res 6, (iy-128) ; Error
ioe res 7, (hl) ; Error
ioe res 7, (ix) ; Error
ioe res 7, (ix+127) ; Error
ioe res 7, (ix-128) ; Error
ioe res 7, (iy) ; Error
ioe res 7, (iy+127) ; Error
ioe res 7, (iy-128) ; Error
ioe res 8, (hl) ; Error
ioe res 8, (hl) ; Error
ioe res 8, (ix) ; Error
ioe res 8, (ix) ; Error
ioe res 8, (ix+127) ; Error
ioe res 8, (ix+127) ; Error
ioe res 8, (ix-128) ; Error
ioe res 8, (ix-128) ; Error
ioe res 8, (iy) ; Error
ioe res 8, (iy) ; Error
ioe res 8, (iy+127) ; Error
ioe res 8, (iy+127) ; Error
ioe res 8, (iy-128) ; Error
ioe res 8, (iy-128) ; Error
ioe res.a -1, (hl) ; Error
ioe res.a -1, (hl) ; Error
ioe res.a -1, (ix) ; Error
ioe res.a -1, (ix) ; Error
ioe res.a -1, (ix+127) ; Error
ioe res.a -1, (ix+127) ; Error
ioe res.a -1, (ix-128) ; Error
ioe res.a -1, (ix-128) ; Error
ioe res.a -1, (iy) ; Error
ioe res.a -1, (iy) ; Error
ioe res.a -1, (iy+127) ; Error
ioe res.a -1, (iy+127) ; Error
ioe res.a -1, (iy-128) ; Error
ioe res.a -1, (iy-128) ; Error
ioe res.a 0, (hl) ; Error
ioe res.a 0, (ix) ; Error
ioe res.a 0, (ix+127) ; Error
ioe res.a 0, (ix-128) ; Error
ioe res.a 0, (iy) ; Error
ioe res.a 0, (iy+127) ; Error
ioe res.a 0, (iy-128) ; Error
ioe res.a 1, (hl) ; Error
ioe res.a 1, (ix) ; Error
ioe res.a 1, (ix+127) ; Error
ioe res.a 1, (ix-128) ; Error
ioe res.a 1, (iy) ; Error
ioe res.a 1, (iy+127) ; Error
ioe res.a 1, (iy-128) ; Error
ioe res.a 2, (hl) ; Error
ioe res.a 2, (ix) ; Error
ioe res.a 2, (ix+127) ; Error
ioe res.a 2, (ix-128) ; Error
ioe res.a 2, (iy) ; Error
ioe res.a 2, (iy+127) ; Error
ioe res.a 2, (iy-128) ; Error
ioe res.a 3, (hl) ; Error
ioe res.a 3, (ix) ; Error
ioe res.a 3, (ix+127) ; Error
ioe res.a 3, (ix-128) ; Error
ioe res.a 3, (iy) ; Error
ioe res.a 3, (iy+127) ; Error
ioe res.a 3, (iy-128) ; Error
ioe res.a 4, (hl) ; Error
ioe res.a 4, (ix) ; Error
ioe res.a 4, (ix+127) ; Error
ioe res.a 4, (ix-128) ; Error
ioe res.a 4, (iy) ; Error
ioe res.a 4, (iy+127) ; Error
ioe res.a 4, (iy-128) ; Error
ioe res.a 5, (hl) ; Error
ioe res.a 5, (ix) ; Error
ioe res.a 5, (ix+127) ; Error
ioe res.a 5, (ix-128) ; Error
ioe res.a 5, (iy) ; Error
ioe res.a 5, (iy+127) ; Error
ioe res.a 5, (iy-128) ; Error
ioe res.a 6, (hl) ; Error
ioe res.a 6, (ix) ; Error
ioe res.a 6, (ix+127) ; Error
ioe res.a 6, (ix-128) ; Error
ioe res.a 6, (iy) ; Error
ioe res.a 6, (iy+127) ; Error
ioe res.a 6, (iy-128) ; Error
ioe res.a 7, (hl) ; Error
ioe res.a 7, (ix) ; Error
ioe res.a 7, (ix+127) ; Error
ioe res.a 7, (ix-128) ; Error
ioe res.a 7, (iy) ; Error
ioe res.a 7, (iy+127) ; Error
ioe res.a 7, (iy-128) ; Error
ioe res.a 8, (hl) ; Error
ioe res.a 8, (hl) ; Error
ioe res.a 8, (ix) ; Error
ioe res.a 8, (ix) ; Error
ioe res.a 8, (ix+127) ; Error
ioe res.a 8, (ix+127) ; Error
ioe res.a 8, (ix-128) ; Error
ioe res.a 8, (ix-128) ; Error
ioe res.a 8, (iy) ; Error
ioe res.a 8, (iy) ; Error
ioe res.a 8, (iy+127) ; Error
ioe res.a 8, (iy+127) ; Error
ioe res.a 8, (iy-128) ; Error
ioe res.a 8, (iy-128) ; Error
ioe rl (hl) ; Error
ioe rl (ix) ; Error
ioe rl (ix+127) ; Error
ioe rl (ix-128) ; Error
ioe rl (iy) ; Error
ioe rl (iy+127) ; Error
ioe rl (iy-128) ; Error
ioe rlc (hl) ; Error
ioe rlc (ix) ; Error
ioe rlc (ix+127) ; Error
ioe rlc (ix-128) ; Error
ioe rlc (iy) ; Error
ioe rlc (iy+127) ; Error
ioe rlc (iy-128) ; Error
ioe rr (hl) ; Error
ioe rr (ix) ; Error
ioe rr (ix+127) ; Error
ioe rr (ix-128) ; Error
ioe rr (iy) ; Error
ioe rr (iy+127) ; Error
ioe rr (iy-128) ; Error
ioe rrc (hl) ; Error
ioe rrc (ix) ; Error
ioe rrc (ix+127) ; Error
ioe rrc (ix-128) ; Error
ioe rrc (iy) ; Error
ioe rrc (iy+127) ; Error
ioe rrc (iy-128) ; Error
ioe sbc (hl) ; Error
ioe sbc (ix) ; Error
ioe sbc (ix+127) ; Error
ioe sbc (ix-128) ; Error
ioe sbc (iy) ; Error
ioe sbc (iy+127) ; Error
ioe sbc (iy-128) ; Error
ioe sbc a', (hl) ; Error
ioe sbc a', (ix) ; Error
ioe sbc a', (ix+127) ; Error
ioe sbc a', (ix-128) ; Error
ioe sbc a', (iy) ; Error
ioe sbc a', (iy+127) ; Error
ioe sbc a', (iy-128) ; Error
ioe sbc a, (hl) ; Error
ioe sbc a, (ix) ; Error
ioe sbc a, (ix+127) ; Error
ioe sbc a, (ix-128) ; Error
ioe sbc a, (iy) ; Error
ioe sbc a, (iy+127) ; Error
ioe sbc a, (iy-128) ; Error
ioe set -1, (hl) ; Error
ioe set -1, (hl) ; Error
ioe set -1, (ix) ; Error
ioe set -1, (ix) ; Error
ioe set -1, (ix+127) ; Error
ioe set -1, (ix+127) ; Error
ioe set -1, (ix-128) ; Error
ioe set -1, (ix-128) ; Error
ioe set -1, (iy) ; Error
ioe set -1, (iy) ; Error
ioe set -1, (iy+127) ; Error
ioe set -1, (iy+127) ; Error
ioe set -1, (iy-128) ; Error
ioe set -1, (iy-128) ; Error
ioe set 0, (hl) ; Error
ioe set 0, (ix) ; Error
ioe set 0, (ix+127) ; Error
ioe set 0, (ix-128) ; Error
ioe set 0, (iy) ; Error
ioe set 0, (iy+127) ; Error
ioe set 0, (iy-128) ; Error
ioe set 1, (hl) ; Error
ioe set 1, (ix) ; Error
ioe set 1, (ix+127) ; Error
ioe set 1, (ix-128) ; Error
ioe set 1, (iy) ; Error
ioe set 1, (iy+127) ; Error
ioe set 1, (iy-128) ; Error
ioe set 2, (hl) ; Error
ioe set 2, (ix) ; Error
ioe set 2, (ix+127) ; Error
ioe set 2, (ix-128) ; Error
ioe set 2, (iy) ; Error
ioe set 2, (iy+127) ; Error
ioe set 2, (iy-128) ; Error
ioe set 3, (hl) ; Error
ioe set 3, (ix) ; Error
ioe set 3, (ix+127) ; Error
ioe set 3, (ix-128) ; Error
ioe set 3, (iy) ; Error
ioe set 3, (iy+127) ; Error
ioe set 3, (iy-128) ; Error
ioe set 4, (hl) ; Error
ioe set 4, (ix) ; Error
ioe set 4, (ix+127) ; Error
ioe set 4, (ix-128) ; Error
ioe set 4, (iy) ; Error
ioe set 4, (iy+127) ; Error
ioe set 4, (iy-128) ; Error
ioe set 5, (hl) ; Error
ioe set 5, (ix) ; Error
ioe set 5, (ix+127) ; Error
ioe set 5, (ix-128) ; Error
ioe set 5, (iy) ; Error
ioe set 5, (iy+127) ; Error
ioe set 5, (iy-128) ; Error
ioe set 6, (hl) ; Error
ioe set 6, (ix) ; Error
ioe set 6, (ix+127) ; Error
ioe set 6, (ix-128) ; Error
ioe set 6, (iy) ; Error
ioe set 6, (iy+127) ; Error
ioe set 6, (iy-128) ; Error
ioe set 7, (hl) ; Error
ioe set 7, (ix) ; Error
ioe set 7, (ix+127) ; Error
ioe set 7, (ix-128) ; Error
ioe set 7, (iy) ; Error
ioe set 7, (iy+127) ; Error
ioe set 7, (iy-128) ; Error
ioe set 8, (hl) ; Error
ioe set 8, (hl) ; Error
ioe set 8, (ix) ; Error
ioe set 8, (ix) ; Error
ioe set 8, (ix+127) ; Error
ioe set 8, (ix+127) ; Error
ioe set 8, (ix-128) ; Error
ioe set 8, (ix-128) ; Error
ioe set 8, (iy) ; Error
ioe set 8, (iy) ; Error
ioe set 8, (iy+127) ; Error
ioe set 8, (iy+127) ; Error
ioe set 8, (iy-128) ; Error
ioe set 8, (iy-128) ; Error
ioe set.a -1, (hl) ; Error
ioe set.a -1, (hl) ; Error
ioe set.a -1, (ix) ; Error
ioe set.a -1, (ix) ; Error
ioe set.a -1, (ix+127) ; Error
ioe set.a -1, (ix+127) ; Error
ioe set.a -1, (ix-128) ; Error
ioe set.a -1, (ix-128) ; Error
ioe set.a -1, (iy) ; Error
ioe set.a -1, (iy) ; Error
ioe set.a -1, (iy+127) ; Error
ioe set.a -1, (iy+127) ; Error
ioe set.a -1, (iy-128) ; Error
ioe set.a -1, (iy-128) ; Error
ioe set.a 0, (hl) ; Error
ioe set.a 0, (ix) ; Error
ioe set.a 0, (ix+127) ; Error
ioe set.a 0, (ix-128) ; Error
ioe set.a 0, (iy) ; Error
ioe set.a 0, (iy+127) ; Error
ioe set.a 0, (iy-128) ; Error
ioe set.a 1, (hl) ; Error
ioe set.a 1, (ix) ; Error
ioe set.a 1, (ix+127) ; Error
ioe set.a 1, (ix-128) ; Error
ioe set.a 1, (iy) ; Error
ioe set.a 1, (iy+127) ; Error
ioe set.a 1, (iy-128) ; Error
ioe set.a 2, (hl) ; Error
ioe set.a 2, (ix) ; Error
ioe set.a 2, (ix+127) ; Error
ioe set.a 2, (ix-128) ; Error
ioe set.a 2, (iy) ; Error
ioe set.a 2, (iy+127) ; Error
ioe set.a 2, (iy-128) ; Error
ioe set.a 3, (hl) ; Error
ioe set.a 3, (ix) ; Error
ioe set.a 3, (ix+127) ; Error
ioe set.a 3, (ix-128) ; Error
ioe set.a 3, (iy) ; Error
ioe set.a 3, (iy+127) ; Error
ioe set.a 3, (iy-128) ; Error
ioe set.a 4, (hl) ; Error
ioe set.a 4, (ix) ; Error
ioe set.a 4, (ix+127) ; Error
ioe set.a 4, (ix-128) ; Error
ioe set.a 4, (iy) ; Error
ioe set.a 4, (iy+127) ; Error
ioe set.a 4, (iy-128) ; Error
ioe set.a 5, (hl) ; Error
ioe set.a 5, (ix) ; Error
ioe set.a 5, (ix+127) ; Error
ioe set.a 5, (ix-128) ; Error
ioe set.a 5, (iy) ; Error
ioe set.a 5, (iy+127) ; Error
ioe set.a 5, (iy-128) ; Error
ioe set.a 6, (hl) ; Error
ioe set.a 6, (ix) ; Error
ioe set.a 6, (ix+127) ; Error
ioe set.a 6, (ix-128) ; Error
ioe set.a 6, (iy) ; Error
ioe set.a 6, (iy+127) ; Error
ioe set.a 6, (iy-128) ; Error
ioe set.a 7, (hl) ; Error
ioe set.a 7, (ix) ; Error
ioe set.a 7, (ix+127) ; Error
ioe set.a 7, (ix-128) ; Error
ioe set.a 7, (iy) ; Error
ioe set.a 7, (iy+127) ; Error
ioe set.a 7, (iy-128) ; Error
ioe set.a 8, (hl) ; Error
ioe set.a 8, (hl) ; Error
ioe set.a 8, (ix) ; Error
ioe set.a 8, (ix) ; Error
ioe set.a 8, (ix+127) ; Error
ioe set.a 8, (ix+127) ; Error
ioe set.a 8, (ix-128) ; Error
ioe set.a 8, (ix-128) ; Error
ioe set.a 8, (iy) ; Error
ioe set.a 8, (iy) ; Error
ioe set.a 8, (iy+127) ; Error
ioe set.a 8, (iy+127) ; Error
ioe set.a 8, (iy-128) ; Error
ioe set.a 8, (iy-128) ; Error
ioe sla (hl) ; Error
ioe sla (ix) ; Error
ioe sla (ix+127) ; Error
ioe sla (ix-128) ; Error
ioe sla (iy) ; Error
ioe sla (iy+127) ; Error
ioe sla (iy-128) ; Error
ioe sra (hl) ; Error
ioe sra (ix) ; Error
ioe sra (ix+127) ; Error
ioe sra (ix-128) ; Error
ioe sra (iy) ; Error
ioe sra (iy+127) ; Error
ioe sra (iy-128) ; Error
ioe srl (hl) ; Error
ioe srl (ix) ; Error
ioe srl (ix+127) ; Error
ioe srl (ix-128) ; Error
ioe srl (iy) ; Error
ioe srl (iy+127) ; Error
ioe srl (iy-128) ; Error
ioe sub (hl) ; Error
ioe sub (ix) ; Error
ioe sub (ix+127) ; Error
ioe sub (ix-128) ; Error
ioe sub (iy) ; Error
ioe sub (iy+127) ; Error
ioe sub (iy-128) ; Error
ioe sub a', (hl) ; Error
ioe sub a', (ix) ; Error
ioe sub a', (ix+127) ; Error
ioe sub a', (ix-128) ; Error
ioe sub a', (iy) ; Error
ioe sub a', (iy+127) ; Error
ioe sub a', (iy-128) ; Error
ioe sub a, (hl) ; Error
ioe sub a, (ix) ; Error
ioe sub a, (ix+127) ; Error
ioe sub a, (ix-128) ; Error
ioe sub a, (iy) ; Error
ioe sub a, (iy+127) ; Error
ioe sub a, (iy-128) ; Error
ioe xor (hl) ; Error
ioe xor (ix) ; Error
ioe xor (ix+127) ; Error
ioe xor (ix-128) ; Error
ioe xor (iy) ; Error
ioe xor (iy+127) ; Error
ioe xor (iy-128) ; Error
ioe xor a', (hl) ; Error
ioe xor a', (ix) ; Error
ioe xor a', (ix+127) ; Error
ioe xor a', (ix-128) ; Error
ioe xor a', (iy) ; Error
ioe xor a', (iy+127) ; Error
ioe xor a', (iy-128) ; Error
ioe xor a, (hl) ; Error
ioe xor a, (ix) ; Error
ioe xor a, (ix+127) ; Error
ioe xor a, (ix-128) ; Error
ioe xor a, (iy) ; Error
ioe xor a, (iy+127) ; Error
ioe xor a, (iy-128) ; Error
ioi adc (hl) ; Error
ioi adc (ix) ; Error
ioi adc (ix+127) ; Error
ioi adc (ix-128) ; Error
ioi adc (iy) ; Error
ioi adc (iy+127) ; Error
ioi adc (iy-128) ; Error
ioi adc a', (hl) ; Error
ioi adc a', (ix) ; Error
ioi adc a', (ix+127) ; Error
ioi adc a', (ix-128) ; Error
ioi adc a', (iy) ; Error
ioi adc a', (iy+127) ; Error
ioi adc a', (iy-128) ; Error
ioi adc a, (hl) ; Error
ioi adc a, (ix) ; Error
ioi adc a, (ix+127) ; Error
ioi adc a, (ix-128) ; Error
ioi adc a, (iy) ; Error
ioi adc a, (iy+127) ; Error
ioi adc a, (iy-128) ; Error
ioi add (hl) ; Error
ioi add (ix) ; Error
ioi add (ix+127) ; Error
ioi add (ix-128) ; Error
ioi add (iy) ; Error
ioi add (iy+127) ; Error
ioi add (iy-128) ; Error
ioi add a', (hl) ; Error
ioi add a', (ix) ; Error
ioi add a', (ix+127) ; Error
ioi add a', (ix-128) ; Error
ioi add a', (iy) ; Error
ioi add a', (iy+127) ; Error
ioi add a', (iy-128) ; Error
ioi add a, (hl) ; Error
ioi add a, (ix) ; Error
ioi add a, (ix+127) ; Error
ioi add a, (ix-128) ; Error
ioi add a, (iy) ; Error
ioi add a, (iy+127) ; Error
ioi add a, (iy-128) ; Error
ioi altd adc (hl) ; Error
ioi altd adc (ix) ; Error
ioi altd adc (ix+127) ; Error
ioi altd adc (ix-128) ; Error
ioi altd adc (iy) ; Error
ioi altd adc (iy+127) ; Error
ioi altd adc (iy-128) ; Error
ioi altd adc a, (hl) ; Error
ioi altd adc a, (ix) ; Error
ioi altd adc a, (ix+127) ; Error
ioi altd adc a, (ix-128) ; Error
ioi altd adc a, (iy) ; Error
ioi altd adc a, (iy+127) ; Error
ioi altd adc a, (iy-128) ; Error
ioi altd add (hl) ; Error
ioi altd add (ix) ; Error
ioi altd add (ix+127) ; Error
ioi altd add (ix-128) ; Error
ioi altd add (iy) ; Error
ioi altd add (iy+127) ; Error
ioi altd add (iy-128) ; Error
ioi altd add a, (hl) ; Error
ioi altd add a, (ix) ; Error
ioi altd add a, (ix+127) ; Error
ioi altd add a, (ix-128) ; Error
ioi altd add a, (iy) ; Error
ioi altd add a, (iy+127) ; Error
ioi altd add a, (iy-128) ; Error
ioi altd and (hl) ; Error
ioi altd and (ix) ; Error
ioi altd and (ix+127) ; Error
ioi altd and (ix-128) ; Error
ioi altd and (iy) ; Error
ioi altd and (iy+127) ; Error
ioi altd and (iy-128) ; Error
ioi altd and a, (hl) ; Error
ioi altd and a, (ix) ; Error
ioi altd and a, (ix+127) ; Error
ioi altd and a, (ix-128) ; Error
ioi altd and a, (iy) ; Error
ioi altd and a, (iy+127) ; Error
ioi altd and a, (iy-128) ; Error
ioi altd bit -1, (hl) ; Error
ioi altd bit -1, (hl) ; Error
ioi altd bit -1, (ix) ; Error
ioi altd bit -1, (ix) ; Error
ioi altd bit -1, (ix+127) ; Error
ioi altd bit -1, (ix+127) ; Error
ioi altd bit -1, (ix-128) ; Error
ioi altd bit -1, (ix-128) ; Error
ioi altd bit -1, (iy) ; Error
ioi altd bit -1, (iy) ; Error
ioi altd bit -1, (iy+127) ; Error
ioi altd bit -1, (iy+127) ; Error
ioi altd bit -1, (iy-128) ; Error
ioi altd bit -1, (iy-128) ; Error
ioi altd bit 0, (hl) ; Error
ioi altd bit 0, (ix) ; Error
ioi altd bit 0, (ix+127) ; Error
ioi altd bit 0, (ix-128) ; Error
ioi altd bit 0, (iy) ; Error
ioi altd bit 0, (iy+127) ; Error
ioi altd bit 0, (iy-128) ; Error
ioi altd bit 1, (hl) ; Error
ioi altd bit 1, (ix) ; Error
ioi altd bit 1, (ix+127) ; Error
ioi altd bit 1, (ix-128) ; Error
ioi altd bit 1, (iy) ; Error
ioi altd bit 1, (iy+127) ; Error
ioi altd bit 1, (iy-128) ; Error
ioi altd bit 2, (hl) ; Error
ioi altd bit 2, (ix) ; Error
ioi altd bit 2, (ix+127) ; Error
ioi altd bit 2, (ix-128) ; Error
ioi altd bit 2, (iy) ; Error
ioi altd bit 2, (iy+127) ; Error
ioi altd bit 2, (iy-128) ; Error
ioi altd bit 3, (hl) ; Error
ioi altd bit 3, (ix) ; Error
ioi altd bit 3, (ix+127) ; Error
ioi altd bit 3, (ix-128) ; Error
ioi altd bit 3, (iy) ; Error
ioi altd bit 3, (iy+127) ; Error
ioi altd bit 3, (iy-128) ; Error
ioi altd bit 4, (hl) ; Error
ioi altd bit 4, (ix) ; Error
ioi altd bit 4, (ix+127) ; Error
ioi altd bit 4, (ix-128) ; Error
ioi altd bit 4, (iy) ; Error
ioi altd bit 4, (iy+127) ; Error
ioi altd bit 4, (iy-128) ; Error
ioi altd bit 5, (hl) ; Error
ioi altd bit 5, (ix) ; Error
ioi altd bit 5, (ix+127) ; Error
ioi altd bit 5, (ix-128) ; Error
ioi altd bit 5, (iy) ; Error
ioi altd bit 5, (iy+127) ; Error
ioi altd bit 5, (iy-128) ; Error
ioi altd bit 6, (hl) ; Error
ioi altd bit 6, (ix) ; Error
ioi altd bit 6, (ix+127) ; Error
ioi altd bit 6, (ix-128) ; Error
ioi altd bit 6, (iy) ; Error
ioi altd bit 6, (iy+127) ; Error
ioi altd bit 6, (iy-128) ; Error
ioi altd bit 7, (hl) ; Error
ioi altd bit 7, (ix) ; Error
ioi altd bit 7, (ix+127) ; Error
ioi altd bit 7, (ix-128) ; Error
ioi altd bit 7, (iy) ; Error
ioi altd bit 7, (iy+127) ; Error
ioi altd bit 7, (iy-128) ; Error
ioi altd bit 8, (hl) ; Error
ioi altd bit 8, (hl) ; Error
ioi altd bit 8, (ix) ; Error
ioi altd bit 8, (ix) ; Error
ioi altd bit 8, (ix+127) ; Error
ioi altd bit 8, (ix+127) ; Error
ioi altd bit 8, (ix-128) ; Error
ioi altd bit 8, (ix-128) ; Error
ioi altd bit 8, (iy) ; Error
ioi altd bit 8, (iy) ; Error
ioi altd bit 8, (iy+127) ; Error
ioi altd bit 8, (iy+127) ; Error
ioi altd bit 8, (iy-128) ; Error
ioi altd bit 8, (iy-128) ; Error
ioi altd cp (hl) ; Error
ioi altd cp (ix) ; Error
ioi altd cp (ix+127) ; Error
ioi altd cp (ix-128) ; Error
ioi altd cp (iy) ; Error
ioi altd cp (iy+127) ; Error
ioi altd cp (iy-128) ; Error
ioi altd cp a, (hl) ; Error
ioi altd cp a, (ix) ; Error
ioi altd cp a, (ix+127) ; Error
ioi altd cp a, (ix-128) ; Error
ioi altd cp a, (iy) ; Error
ioi altd cp a, (iy+127) ; Error
ioi altd cp a, (iy-128) ; Error
ioi altd dec (hl) ; Error
ioi altd dec (ix) ; Error
ioi altd dec (ix+127) ; Error
ioi altd dec (ix-128) ; Error
ioi altd dec (iy) ; Error
ioi altd dec (iy+127) ; Error
ioi altd dec (iy-128) ; Error
ioi altd inc (hl) ; Error
ioi altd inc (ix) ; Error
ioi altd inc (ix+127) ; Error
ioi altd inc (ix-128) ; Error
ioi altd inc (iy) ; Error
ioi altd inc (iy+127) ; Error
ioi altd inc (iy-128) ; Error
ioi altd ld a, (-32768) ; Error
ioi altd ld a, (32767) ; Error
ioi altd ld a, (65535) ; Error
ioi altd ld a, (bc) ; Error
ioi altd ld a, (bc+) ; Error
ioi altd ld a, (bc-) ; Error
ioi altd ld a, (de) ; Error
ioi altd ld a, (de+) ; Error
ioi altd ld a, (de-) ; Error
ioi altd ld a, (hl) ; Error
ioi altd ld a, (hl+) ; Error
ioi altd ld a, (hl-) ; Error
ioi altd ld a, (hld) ; Error
ioi altd ld a, (hli) ; Error
ioi altd ld a, (ix) ; Error
ioi altd ld a, (ix+127) ; Error
ioi altd ld a, (ix-128) ; Error
ioi altd ld a, (iy) ; Error
ioi altd ld a, (iy+127) ; Error
ioi altd ld a, (iy-128) ; Error
ioi altd ld b, (hl) ; Error
ioi altd ld b, (ix) ; Error
ioi altd ld b, (ix+127) ; Error
ioi altd ld b, (ix-128) ; Error
ioi altd ld b, (iy) ; Error
ioi altd ld b, (iy+127) ; Error
ioi altd ld b, (iy-128) ; Error
ioi altd ld bc, (-32768) ; Error
ioi altd ld bc, (32767) ; Error
ioi altd ld bc, (65535) ; Error
ioi altd ld c, (hl) ; Error
ioi altd ld c, (ix) ; Error
ioi altd ld c, (ix+127) ; Error
ioi altd ld c, (ix-128) ; Error
ioi altd ld c, (iy) ; Error
ioi altd ld c, (iy+127) ; Error
ioi altd ld c, (iy-128) ; Error
ioi altd ld d, (hl) ; Error
ioi altd ld d, (ix) ; Error
ioi altd ld d, (ix+127) ; Error
ioi altd ld d, (ix-128) ; Error
ioi altd ld d, (iy) ; Error
ioi altd ld d, (iy+127) ; Error
ioi altd ld d, (iy-128) ; Error
ioi altd ld de, (-32768) ; Error
ioi altd ld de, (32767) ; Error
ioi altd ld de, (65535) ; Error
ioi altd ld e, (hl) ; Error
ioi altd ld e, (ix) ; Error
ioi altd ld e, (ix+127) ; Error
ioi altd ld e, (ix-128) ; Error
ioi altd ld e, (iy) ; Error
ioi altd ld e, (iy+127) ; Error
ioi altd ld e, (iy-128) ; Error
ioi altd ld h, (hl) ; Error
ioi altd ld h, (ix) ; Error
ioi altd ld h, (ix+127) ; Error
ioi altd ld h, (ix-128) ; Error
ioi altd ld h, (iy) ; Error
ioi altd ld h, (iy+127) ; Error
ioi altd ld h, (iy-128) ; Error
ioi altd ld hl, (-32768) ; Error
ioi altd ld hl, (32767) ; Error
ioi altd ld hl, (65535) ; Error
ioi altd ld hl, (hl) ; Error
ioi altd ld hl, (hl+127) ; Error
ioi altd ld hl, (hl-128) ; Error
ioi altd ld hl, (ix) ; Error
ioi altd ld hl, (ix+127) ; Error
ioi altd ld hl, (ix-128) ; Error
ioi altd ld hl, (iy) ; Error
ioi altd ld hl, (iy+127) ; Error
ioi altd ld hl, (iy-128) ; Error
ioi altd ld l, (hl) ; Error
ioi altd ld l, (ix) ; Error
ioi altd ld l, (ix+127) ; Error
ioi altd ld l, (ix-128) ; Error
ioi altd ld l, (iy) ; Error
ioi altd ld l, (iy+127) ; Error
ioi altd ld l, (iy-128) ; Error
ioi altd or (hl) ; Error
ioi altd or (ix) ; Error
ioi altd or (ix+127) ; Error
ioi altd or (ix-128) ; Error
ioi altd or (iy) ; Error
ioi altd or (iy+127) ; Error
ioi altd or (iy-128) ; Error
ioi altd or a, (hl) ; Error
ioi altd or a, (ix) ; Error
ioi altd or a, (ix+127) ; Error
ioi altd or a, (ix-128) ; Error
ioi altd or a, (iy) ; Error
ioi altd or a, (iy+127) ; Error
ioi altd or a, (iy-128) ; Error
ioi altd rl (hl) ; Error
ioi altd rl (ix) ; Error
ioi altd rl (ix+127) ; Error
ioi altd rl (ix-128) ; Error
ioi altd rl (iy) ; Error
ioi altd rl (iy+127) ; Error
ioi altd rl (iy-128) ; Error
ioi altd rlc (hl) ; Error
ioi altd rlc (ix) ; Error
ioi altd rlc (ix+127) ; Error
ioi altd rlc (ix-128) ; Error
ioi altd rlc (iy) ; Error
ioi altd rlc (iy+127) ; Error
ioi altd rlc (iy-128) ; Error
ioi altd rr (hl) ; Error
ioi altd rr (ix) ; Error
ioi altd rr (ix+127) ; Error
ioi altd rr (ix-128) ; Error
ioi altd rr (iy) ; Error
ioi altd rr (iy+127) ; Error
ioi altd rr (iy-128) ; Error
ioi altd rrc (hl) ; Error
ioi altd rrc (ix) ; Error
ioi altd rrc (ix+127) ; Error
ioi altd rrc (ix-128) ; Error
ioi altd rrc (iy) ; Error
ioi altd rrc (iy+127) ; Error
ioi altd rrc (iy-128) ; Error
ioi altd sbc (hl) ; Error
ioi altd sbc (ix) ; Error
ioi altd sbc (ix+127) ; Error
ioi altd sbc (ix-128) ; Error
ioi altd sbc (iy) ; Error
ioi altd sbc (iy+127) ; Error
ioi altd sbc (iy-128) ; Error
ioi altd sbc a, (hl) ; Error
ioi altd sbc a, (ix) ; Error
ioi altd sbc a, (ix+127) ; Error
ioi altd sbc a, (ix-128) ; Error
ioi altd sbc a, (iy) ; Error
ioi altd sbc a, (iy+127) ; Error
ioi altd sbc a, (iy-128) ; Error
ioi altd sla (hl) ; Error
ioi altd sla (ix) ; Error
ioi altd sla (ix+127) ; Error
ioi altd sla (ix-128) ; Error
ioi altd sla (iy) ; Error
ioi altd sla (iy+127) ; Error
ioi altd sla (iy-128) ; Error
ioi altd sra (hl) ; Error
ioi altd sra (ix) ; Error
ioi altd sra (ix+127) ; Error
ioi altd sra (ix-128) ; Error
ioi altd sra (iy) ; Error
ioi altd sra (iy+127) ; Error
ioi altd sra (iy-128) ; Error
ioi altd srl (hl) ; Error
ioi altd srl (ix) ; Error
ioi altd srl (ix+127) ; Error
ioi altd srl (ix-128) ; Error
ioi altd srl (iy) ; Error
ioi altd srl (iy+127) ; Error
ioi altd srl (iy-128) ; Error
ioi altd sub (hl) ; Error
ioi altd sub (ix) ; Error
ioi altd sub (ix+127) ; Error
ioi altd sub (ix-128) ; Error
ioi altd sub (iy) ; Error
ioi altd sub (iy+127) ; Error
ioi altd sub (iy-128) ; Error
ioi altd sub a, (hl) ; Error
ioi altd sub a, (ix) ; Error
ioi altd sub a, (ix+127) ; Error
ioi altd sub a, (ix-128) ; Error
ioi altd sub a, (iy) ; Error
ioi altd sub a, (iy+127) ; Error
ioi altd sub a, (iy-128) ; Error
ioi altd xor (hl) ; Error
ioi altd xor (ix) ; Error
ioi altd xor (ix+127) ; Error
ioi altd xor (ix-128) ; Error
ioi altd xor (iy) ; Error
ioi altd xor (iy+127) ; Error
ioi altd xor (iy-128) ; Error
ioi altd xor a, (hl) ; Error
ioi altd xor a, (ix) ; Error
ioi altd xor a, (ix+127) ; Error
ioi altd xor a, (ix-128) ; Error
ioi altd xor a, (iy) ; Error
ioi altd xor a, (iy+127) ; Error
ioi altd xor a, (iy-128) ; Error
ioi and (hl) ; Error
ioi and (ix) ; Error
ioi and (ix+127) ; Error
ioi and (ix-128) ; Error
ioi and (iy) ; Error
ioi and (iy+127) ; Error
ioi and (iy-128) ; Error
ioi and a', (hl) ; Error
ioi and a', (ix) ; Error
ioi and a', (ix+127) ; Error
ioi and a', (ix-128) ; Error
ioi and a', (iy) ; Error
ioi and a', (iy+127) ; Error
ioi and a', (iy-128) ; Error
ioi and a, (hl) ; Error
ioi and a, (ix) ; Error
ioi and a, (ix+127) ; Error
ioi and a, (ix-128) ; Error
ioi and a, (iy) ; Error
ioi and a, (iy+127) ; Error
ioi and a, (iy-128) ; Error
ioi bit -1, (hl) ; Error
ioi bit -1, (hl) ; Error
ioi bit -1, (ix) ; Error
ioi bit -1, (ix) ; Error
ioi bit -1, (ix+127) ; Error
ioi bit -1, (ix+127) ; Error
ioi bit -1, (ix-128) ; Error
ioi bit -1, (ix-128) ; Error
ioi bit -1, (iy) ; Error
ioi bit -1, (iy) ; Error
ioi bit -1, (iy+127) ; Error
ioi bit -1, (iy+127) ; Error
ioi bit -1, (iy-128) ; Error
ioi bit -1, (iy-128) ; Error
ioi bit 0, (hl) ; Error
ioi bit 0, (ix) ; Error
ioi bit 0, (ix+127) ; Error
ioi bit 0, (ix-128) ; Error
ioi bit 0, (iy) ; Error
ioi bit 0, (iy+127) ; Error
ioi bit 0, (iy-128) ; Error
ioi bit 1, (hl) ; Error
ioi bit 1, (ix) ; Error
ioi bit 1, (ix+127) ; Error
ioi bit 1, (ix-128) ; Error
ioi bit 1, (iy) ; Error
ioi bit 1, (iy+127) ; Error
ioi bit 1, (iy-128) ; Error
ioi bit 2, (hl) ; Error
ioi bit 2, (ix) ; Error
ioi bit 2, (ix+127) ; Error
ioi bit 2, (ix-128) ; Error
ioi bit 2, (iy) ; Error
ioi bit 2, (iy+127) ; Error
ioi bit 2, (iy-128) ; Error
ioi bit 3, (hl) ; Error
ioi bit 3, (ix) ; Error
ioi bit 3, (ix+127) ; Error
ioi bit 3, (ix-128) ; Error
ioi bit 3, (iy) ; Error
ioi bit 3, (iy+127) ; Error
ioi bit 3, (iy-128) ; Error
ioi bit 4, (hl) ; Error
ioi bit 4, (ix) ; Error
ioi bit 4, (ix+127) ; Error
ioi bit 4, (ix-128) ; Error
ioi bit 4, (iy) ; Error
ioi bit 4, (iy+127) ; Error
ioi bit 4, (iy-128) ; Error
ioi bit 5, (hl) ; Error
ioi bit 5, (ix) ; Error
ioi bit 5, (ix+127) ; Error
ioi bit 5, (ix-128) ; Error
ioi bit 5, (iy) ; Error
ioi bit 5, (iy+127) ; Error
ioi bit 5, (iy-128) ; Error
ioi bit 6, (hl) ; Error
ioi bit 6, (ix) ; Error
ioi bit 6, (ix+127) ; Error
ioi bit 6, (ix-128) ; Error
ioi bit 6, (iy) ; Error
ioi bit 6, (iy+127) ; Error
ioi bit 6, (iy-128) ; Error
ioi bit 7, (hl) ; Error
ioi bit 7, (ix) ; Error
ioi bit 7, (ix+127) ; Error
ioi bit 7, (ix-128) ; Error
ioi bit 7, (iy) ; Error
ioi bit 7, (iy+127) ; Error
ioi bit 7, (iy-128) ; Error
ioi bit 8, (hl) ; Error
ioi bit 8, (hl) ; Error
ioi bit 8, (ix) ; Error
ioi bit 8, (ix) ; Error
ioi bit 8, (ix+127) ; Error
ioi bit 8, (ix+127) ; Error
ioi bit 8, (ix-128) ; Error
ioi bit 8, (ix-128) ; Error
ioi bit 8, (iy) ; Error
ioi bit 8, (iy) ; Error
ioi bit 8, (iy+127) ; Error
ioi bit 8, (iy+127) ; Error
ioi bit 8, (iy-128) ; Error
ioi bit 8, (iy-128) ; Error
ioi bit.a -1, (hl) ; Error
ioi bit.a -1, (hl) ; Error
ioi bit.a -1, (ix) ; Error
ioi bit.a -1, (ix) ; Error
ioi bit.a -1, (ix+127) ; Error
ioi bit.a -1, (ix+127) ; Error
ioi bit.a -1, (ix-128) ; Error
ioi bit.a -1, (ix-128) ; Error
ioi bit.a -1, (iy) ; Error
ioi bit.a -1, (iy) ; Error
ioi bit.a -1, (iy+127) ; Error
ioi bit.a -1, (iy+127) ; Error
ioi bit.a -1, (iy-128) ; Error
ioi bit.a -1, (iy-128) ; Error
ioi bit.a 0, (hl) ; Error
ioi bit.a 0, (ix) ; Error
ioi bit.a 0, (ix+127) ; Error
ioi bit.a 0, (ix-128) ; Error
ioi bit.a 0, (iy) ; Error
ioi bit.a 0, (iy+127) ; Error
ioi bit.a 0, (iy-128) ; Error
ioi bit.a 1, (hl) ; Error
ioi bit.a 1, (ix) ; Error
ioi bit.a 1, (ix+127) ; Error
ioi bit.a 1, (ix-128) ; Error
ioi bit.a 1, (iy) ; Error
ioi bit.a 1, (iy+127) ; Error
ioi bit.a 1, (iy-128) ; Error
ioi bit.a 2, (hl) ; Error
ioi bit.a 2, (ix) ; Error
ioi bit.a 2, (ix+127) ; Error
ioi bit.a 2, (ix-128) ; Error
ioi bit.a 2, (iy) ; Error
ioi bit.a 2, (iy+127) ; Error
ioi bit.a 2, (iy-128) ; Error
ioi bit.a 3, (hl) ; Error
ioi bit.a 3, (ix) ; Error
ioi bit.a 3, (ix+127) ; Error
ioi bit.a 3, (ix-128) ; Error
ioi bit.a 3, (iy) ; Error
ioi bit.a 3, (iy+127) ; Error
ioi bit.a 3, (iy-128) ; Error
ioi bit.a 4, (hl) ; Error
ioi bit.a 4, (ix) ; Error
ioi bit.a 4, (ix+127) ; Error
ioi bit.a 4, (ix-128) ; Error
ioi bit.a 4, (iy) ; Error
ioi bit.a 4, (iy+127) ; Error
ioi bit.a 4, (iy-128) ; Error
ioi bit.a 5, (hl) ; Error
ioi bit.a 5, (ix) ; Error
ioi bit.a 5, (ix+127) ; Error
ioi bit.a 5, (ix-128) ; Error
ioi bit.a 5, (iy) ; Error
ioi bit.a 5, (iy+127) ; Error
ioi bit.a 5, (iy-128) ; Error
ioi bit.a 6, (hl) ; Error
ioi bit.a 6, (ix) ; Error
ioi bit.a 6, (ix+127) ; Error
ioi bit.a 6, (ix-128) ; Error
ioi bit.a 6, (iy) ; Error
ioi bit.a 6, (iy+127) ; Error
ioi bit.a 6, (iy-128) ; Error
ioi bit.a 7, (hl) ; Error
ioi bit.a 7, (ix) ; Error
ioi bit.a 7, (ix+127) ; Error
ioi bit.a 7, (ix-128) ; Error
ioi bit.a 7, (iy) ; Error
ioi bit.a 7, (iy+127) ; Error
ioi bit.a 7, (iy-128) ; Error
ioi bit.a 8, (hl) ; Error
ioi bit.a 8, (hl) ; Error
ioi bit.a 8, (ix) ; Error
ioi bit.a 8, (ix) ; Error
ioi bit.a 8, (ix+127) ; Error
ioi bit.a 8, (ix+127) ; Error
ioi bit.a 8, (ix-128) ; Error
ioi bit.a 8, (ix-128) ; Error
ioi bit.a 8, (iy) ; Error
ioi bit.a 8, (iy) ; Error
ioi bit.a 8, (iy+127) ; Error
ioi bit.a 8, (iy+127) ; Error
ioi bit.a 8, (iy-128) ; Error
ioi bit.a 8, (iy-128) ; Error
ioi cmp (hl) ; Error
ioi cmp (ix) ; Error
ioi cmp (ix+127) ; Error
ioi cmp (ix-128) ; Error
ioi cmp (iy) ; Error
ioi cmp (iy+127) ; Error
ioi cmp (iy-128) ; Error
ioi cmp a, (hl) ; Error
ioi cmp a, (ix) ; Error
ioi cmp a, (ix+127) ; Error
ioi cmp a, (ix-128) ; Error
ioi cmp a, (iy) ; Error
ioi cmp a, (iy+127) ; Error
ioi cmp a, (iy-128) ; Error
ioi cp (hl) ; Error
ioi cp (ix) ; Error
ioi cp (ix+127) ; Error
ioi cp (ix-128) ; Error
ioi cp (iy) ; Error
ioi cp (iy+127) ; Error
ioi cp (iy-128) ; Error
ioi cp a, (hl) ; Error
ioi cp a, (ix) ; Error
ioi cp a, (ix+127) ; Error
ioi cp a, (ix-128) ; Error
ioi cp a, (iy) ; Error
ioi cp a, (iy+127) ; Error
ioi cp a, (iy-128) ; Error
ioi dec (hl) ; Error
ioi dec (ix) ; Error
ioi dec (ix+127) ; Error
ioi dec (ix-128) ; Error
ioi dec (iy) ; Error
ioi dec (iy+127) ; Error
ioi dec (iy-128) ; Error
ioi inc (hl) ; Error
ioi inc (ix) ; Error
ioi inc (ix+127) ; Error
ioi inc (ix-128) ; Error
ioi inc (iy) ; Error
ioi inc (iy+127) ; Error
ioi inc (iy-128) ; Error
ioi ld (-32768), a ; Error
ioi ld (-32768), bc ; Error
ioi ld (-32768), de ; Error
ioi ld (-32768), hl ; Error
ioi ld (-32768), ix ; Error
ioi ld (-32768), iy ; Error
ioi ld (-32768), sp ; Error
ioi ld (32767), a ; Error
ioi ld (32767), bc ; Error
ioi ld (32767), de ; Error
ioi ld (32767), hl ; Error
ioi ld (32767), ix ; Error
ioi ld (32767), iy ; Error
ioi ld (32767), sp ; Error
ioi ld (65535), a ; Error
ioi ld (65535), bc ; Error
ioi ld (65535), de ; Error
ioi ld (65535), hl ; Error
ioi ld (65535), ix ; Error
ioi ld (65535), iy ; Error
ioi ld (65535), sp ; Error
ioi ld (bc), a ; Error
ioi ld (bc+), a ; Error
ioi ld (bc-), a ; Error
ioi ld (de), a ; Error
ioi ld (de+), a ; Error
ioi ld (de-), a ; Error
ioi ld (hl), -128 ; Error
ioi ld (hl), 127 ; Error
ioi ld (hl), 255 ; Error
ioi ld (hl), a ; Error
ioi ld (hl), b ; Error
ioi ld (hl), c ; Error
ioi ld (hl), d ; Error
ioi ld (hl), e ; Error
ioi ld (hl), h ; Error
ioi ld (hl), hl ; Error
ioi ld (hl), l ; Error
ioi ld (hl+), a ; Error
ioi ld (hl+127), hl ; Error
ioi ld (hl-), a ; Error
ioi ld (hl-128), hl ; Error
ioi ld (hld), a ; Error
ioi ld (hli), a ; Error
ioi ld (ix), -128 ; Error
ioi ld (ix), 127 ; Error
ioi ld (ix), 255 ; Error
ioi ld (ix), a ; Error
ioi ld (ix), b ; Error
ioi ld (ix), c ; Error
ioi ld (ix), d ; Error
ioi ld (ix), e ; Error
ioi ld (ix), h ; Error
ioi ld (ix), hl ; Error
ioi ld (ix), l ; Error
ioi ld (ix+127), -128 ; Error
ioi ld (ix+127), 127 ; Error
ioi ld (ix+127), 255 ; Error
ioi ld (ix+127), a ; Error
ioi ld (ix+127), b ; Error
ioi ld (ix+127), c ; Error
ioi ld (ix+127), d ; Error
ioi ld (ix+127), e ; Error
ioi ld (ix+127), h ; Error
ioi ld (ix+127), hl ; Error
ioi ld (ix+127), l ; Error
ioi ld (ix-128), -128 ; Error
ioi ld (ix-128), 127 ; Error
ioi ld (ix-128), 255 ; Error
ioi ld (ix-128), a ; Error
ioi ld (ix-128), b ; Error
ioi ld (ix-128), c ; Error
ioi ld (ix-128), d ; Error
ioi ld (ix-128), e ; Error
ioi ld (ix-128), h ; Error
ioi ld (ix-128), hl ; Error
ioi ld (ix-128), l ; Error
ioi ld (iy), -128 ; Error
ioi ld (iy), 127 ; Error
ioi ld (iy), 255 ; Error
ioi ld (iy), a ; Error
ioi ld (iy), b ; Error
ioi ld (iy), c ; Error
ioi ld (iy), d ; Error
ioi ld (iy), e ; Error
ioi ld (iy), h ; Error
ioi ld (iy), hl ; Error
ioi ld (iy), l ; Error
ioi ld (iy+127), -128 ; Error
ioi ld (iy+127), 127 ; Error
ioi ld (iy+127), 255 ; Error
ioi ld (iy+127), a ; Error
ioi ld (iy+127), b ; Error
ioi ld (iy+127), c ; Error
ioi ld (iy+127), d ; Error
ioi ld (iy+127), e ; Error
ioi ld (iy+127), h ; Error
ioi ld (iy+127), hl ; Error
ioi ld (iy+127), l ; Error
ioi ld (iy-128), -128 ; Error
ioi ld (iy-128), 127 ; Error
ioi ld (iy-128), 255 ; Error
ioi ld (iy-128), a ; Error
ioi ld (iy-128), b ; Error
ioi ld (iy-128), c ; Error
ioi ld (iy-128), d ; Error
ioi ld (iy-128), e ; Error
ioi ld (iy-128), h ; Error
ioi ld (iy-128), hl ; Error
ioi ld (iy-128), l ; Error
ioi ld a', (-32768) ; Error
ioi ld a', (32767) ; Error
ioi ld a', (65535) ; Error
ioi ld a', (bc) ; Error
ioi ld a', (bc+) ; Error
ioi ld a', (bc-) ; Error
ioi ld a', (de) ; Error
ioi ld a', (de+) ; Error
ioi ld a', (de-) ; Error
ioi ld a', (hl) ; Error
ioi ld a', (hl+) ; Error
ioi ld a', (hl-) ; Error
ioi ld a', (hld) ; Error
ioi ld a', (hli) ; Error
ioi ld a', (ix) ; Error
ioi ld a', (ix+127) ; Error
ioi ld a', (ix-128) ; Error
ioi ld a', (iy) ; Error
ioi ld a', (iy+127) ; Error
ioi ld a', (iy-128) ; Error
ioi ld a, (-32768) ; Error
ioi ld a, (32767) ; Error
ioi ld a, (65535) ; Error
ioi ld a, (bc) ; Error
ioi ld a, (bc+) ; Error
ioi ld a, (bc-) ; Error
ioi ld a, (de) ; Error
ioi ld a, (de+) ; Error
ioi ld a, (de-) ; Error
ioi ld a, (hl) ; Error
ioi ld a, (hl+) ; Error
ioi ld a, (hl-) ; Error
ioi ld a, (hld) ; Error
ioi ld a, (hli) ; Error
ioi ld a, (ix) ; Error
ioi ld a, (ix+127) ; Error
ioi ld a, (ix-128) ; Error
ioi ld a, (iy) ; Error
ioi ld a, (iy+127) ; Error
ioi ld a, (iy-128) ; Error
ioi ld b', (hl) ; Error
ioi ld b', (ix) ; Error
ioi ld b', (ix+127) ; Error
ioi ld b', (ix-128) ; Error
ioi ld b', (iy) ; Error
ioi ld b', (iy+127) ; Error
ioi ld b', (iy-128) ; Error
ioi ld b, (hl) ; Error
ioi ld b, (ix) ; Error
ioi ld b, (ix+127) ; Error
ioi ld b, (ix-128) ; Error
ioi ld b, (iy) ; Error
ioi ld b, (iy+127) ; Error
ioi ld b, (iy-128) ; Error
ioi ld bc', (-32768) ; Error
ioi ld bc', (32767) ; Error
ioi ld bc', (65535) ; Error
ioi ld bc, (-32768) ; Error
ioi ld bc, (32767) ; Error
ioi ld bc, (65535) ; Error
ioi ld c', (hl) ; Error
ioi ld c', (ix) ; Error
ioi ld c', (ix+127) ; Error
ioi ld c', (ix-128) ; Error
ioi ld c', (iy) ; Error
ioi ld c', (iy+127) ; Error
ioi ld c', (iy-128) ; Error
ioi ld c, (hl) ; Error
ioi ld c, (ix) ; Error
ioi ld c, (ix+127) ; Error
ioi ld c, (ix-128) ; Error
ioi ld c, (iy) ; Error
ioi ld c, (iy+127) ; Error
ioi ld c, (iy-128) ; Error
ioi ld d', (hl) ; Error
ioi ld d', (ix) ; Error
ioi ld d', (ix+127) ; Error
ioi ld d', (ix-128) ; Error
ioi ld d', (iy) ; Error
ioi ld d', (iy+127) ; Error
ioi ld d', (iy-128) ; Error
ioi ld d, (hl) ; Error
ioi ld d, (ix) ; Error
ioi ld d, (ix+127) ; Error
ioi ld d, (ix-128) ; Error
ioi ld d, (iy) ; Error
ioi ld d, (iy+127) ; Error
ioi ld d, (iy-128) ; Error
ioi ld de', (-32768) ; Error
ioi ld de', (32767) ; Error
ioi ld de', (65535) ; Error
ioi ld de, (-32768) ; Error
ioi ld de, (32767) ; Error
ioi ld de, (65535) ; Error
ioi ld e', (hl) ; Error
ioi ld e', (ix) ; Error
ioi ld e', (ix+127) ; Error
ioi ld e', (ix-128) ; Error
ioi ld e', (iy) ; Error
ioi ld e', (iy+127) ; Error
ioi ld e', (iy-128) ; Error
ioi ld e, (hl) ; Error
ioi ld e, (ix) ; Error
ioi ld e, (ix+127) ; Error
ioi ld e, (ix-128) ; Error
ioi ld e, (iy) ; Error
ioi ld e, (iy+127) ; Error
ioi ld e, (iy-128) ; Error
ioi ld h', (hl) ; Error
ioi ld h', (ix) ; Error
ioi ld h', (ix+127) ; Error
ioi ld h', (ix-128) ; Error
ioi ld h', (iy) ; Error
ioi ld h', (iy+127) ; Error
ioi ld h', (iy-128) ; Error
ioi ld h, (hl) ; Error
ioi ld h, (ix) ; Error
ioi ld h, (ix+127) ; Error
ioi ld h, (ix-128) ; Error
ioi ld h, (iy) ; Error
ioi ld h, (iy+127) ; Error
ioi ld h, (iy-128) ; Error
ioi ld hl', (-32768) ; Error
ioi ld hl', (32767) ; Error
ioi ld hl', (65535) ; Error
ioi ld hl', (hl) ; Error
ioi ld hl', (hl+127) ; Error
ioi ld hl', (hl-128) ; Error
ioi ld hl', (ix) ; Error
ioi ld hl', (ix+127) ; Error
ioi ld hl', (ix-128) ; Error
ioi ld hl', (iy) ; Error
ioi ld hl', (iy+127) ; Error
ioi ld hl', (iy-128) ; Error
ioi ld hl, (-32768) ; Error
ioi ld hl, (32767) ; Error
ioi ld hl, (65535) ; Error
ioi ld hl, (hl) ; Error
ioi ld hl, (hl+127) ; Error
ioi ld hl, (hl-128) ; Error
ioi ld hl, (ix) ; Error
ioi ld hl, (ix+127) ; Error
ioi ld hl, (ix-128) ; Error
ioi ld hl, (iy) ; Error
ioi ld hl, (iy+127) ; Error
ioi ld hl, (iy-128) ; Error
ioi ld ix, (-32768) ; Error
ioi ld ix, (32767) ; Error
ioi ld ix, (65535) ; Error
ioi ld iy, (-32768) ; Error
ioi ld iy, (32767) ; Error
ioi ld iy, (65535) ; Error
ioi ld l', (hl) ; Error
ioi ld l', (ix) ; Error
ioi ld l', (ix+127) ; Error
ioi ld l', (ix-128) ; Error
ioi ld l', (iy) ; Error
ioi ld l', (iy+127) ; Error
ioi ld l', (iy-128) ; Error
ioi ld l, (hl) ; Error
ioi ld l, (ix) ; Error
ioi ld l, (ix+127) ; Error
ioi ld l, (ix-128) ; Error
ioi ld l, (iy) ; Error
ioi ld l, (iy+127) ; Error
ioi ld l, (iy-128) ; Error
ioi ld sp, (-32768) ; Error
ioi ld sp, (32767) ; Error
ioi ld sp, (65535) ; Error
ioi ldd ; Error
ioi ldd (bc), a ; Error
ioi ldd (de), a ; Error
ioi ldd (hl), a ; Error
ioi ldd a, (bc) ; Error
ioi ldd a, (de) ; Error
ioi ldd a, (hl) ; Error
ioi lddr ; Error
ioi lddsr ; Error
ioi ldi ; Error
ioi ldi (bc), a ; Error
ioi ldi (de), a ; Error
ioi ldi (hl), a ; Error
ioi ldi a, (bc) ; Error
ioi ldi a, (de) ; Error
ioi ldi a, (hl) ; Error
ioi ldir ; Error
ioi ldisr ; Error
ioi lsddr ; Error
ioi lsdr ; Error
ioi lsidr ; Error
ioi lsir ; Error
ioi or (hl) ; Error
ioi or (ix) ; Error
ioi or (ix+127) ; Error
ioi or (ix-128) ; Error
ioi or (iy) ; Error
ioi or (iy+127) ; Error
ioi or (iy-128) ; Error
ioi or a', (hl) ; Error
ioi or a', (ix) ; Error
ioi or a', (ix+127) ; Error
ioi or a', (ix-128) ; Error
ioi or a', (iy) ; Error
ioi or a', (iy+127) ; Error
ioi or a', (iy-128) ; Error
ioi or a, (hl) ; Error
ioi or a, (ix) ; Error
ioi or a, (ix+127) ; Error
ioi or a, (ix-128) ; Error
ioi or a, (iy) ; Error
ioi or a, (iy+127) ; Error
ioi or a, (iy-128) ; Error
ioi res -1, (hl) ; Error
ioi res -1, (hl) ; Error
ioi res -1, (ix) ; Error
ioi res -1, (ix) ; Error
ioi res -1, (ix+127) ; Error
ioi res -1, (ix+127) ; Error
ioi res -1, (ix-128) ; Error
ioi res -1, (ix-128) ; Error
ioi res -1, (iy) ; Error
ioi res -1, (iy) ; Error
ioi res -1, (iy+127) ; Error
ioi res -1, (iy+127) ; Error
ioi res -1, (iy-128) ; Error
ioi res -1, (iy-128) ; Error
ioi res 0, (hl) ; Error
ioi res 0, (ix) ; Error
ioi res 0, (ix+127) ; Error
ioi res 0, (ix-128) ; Error
ioi res 0, (iy) ; Error
ioi res 0, (iy+127) ; Error
ioi res 0, (iy-128) ; Error
ioi res 1, (hl) ; Error
ioi res 1, (ix) ; Error
ioi res 1, (ix+127) ; Error
ioi res 1, (ix-128) ; Error
ioi res 1, (iy) ; Error
ioi res 1, (iy+127) ; Error
ioi res 1, (iy-128) ; Error
ioi res 2, (hl) ; Error
ioi res 2, (ix) ; Error
ioi res 2, (ix+127) ; Error
ioi res 2, (ix-128) ; Error
ioi res 2, (iy) ; Error
ioi res 2, (iy+127) ; Error
ioi res 2, (iy-128) ; Error
ioi res 3, (hl) ; Error
ioi res 3, (ix) ; Error
ioi res 3, (ix+127) ; Error
ioi res 3, (ix-128) ; Error
ioi res 3, (iy) ; Error
ioi res 3, (iy+127) ; Error
ioi res 3, (iy-128) ; Error
ioi res 4, (hl) ; Error
ioi res 4, (ix) ; Error
ioi res 4, (ix+127) ; Error
ioi res 4, (ix-128) ; Error
ioi res 4, (iy) ; Error
ioi res 4, (iy+127) ; Error
ioi res 4, (iy-128) ; Error
ioi res 5, (hl) ; Error
ioi res 5, (ix) ; Error
ioi res 5, (ix+127) ; Error
ioi res 5, (ix-128) ; Error
ioi res 5, (iy) ; Error
ioi res 5, (iy+127) ; Error
ioi res 5, (iy-128) ; Error
ioi res 6, (hl) ; Error
ioi res 6, (ix) ; Error
ioi res 6, (ix+127) ; Error
ioi res 6, (ix-128) ; Error
ioi res 6, (iy) ; Error
ioi res 6, (iy+127) ; Error
ioi res 6, (iy-128) ; Error
ioi res 7, (hl) ; Error
ioi res 7, (ix) ; Error
ioi res 7, (ix+127) ; Error
ioi res 7, (ix-128) ; Error
ioi res 7, (iy) ; Error
ioi res 7, (iy+127) ; Error
ioi res 7, (iy-128) ; Error
ioi res 8, (hl) ; Error
ioi res 8, (hl) ; Error
ioi res 8, (ix) ; Error
ioi res 8, (ix) ; Error
ioi res 8, (ix+127) ; Error
ioi res 8, (ix+127) ; Error
ioi res 8, (ix-128) ; Error
ioi res 8, (ix-128) ; Error
ioi res 8, (iy) ; Error
ioi res 8, (iy) ; Error
ioi res 8, (iy+127) ; Error
ioi res 8, (iy+127) ; Error
ioi res 8, (iy-128) ; Error
ioi res 8, (iy-128) ; Error
ioi res.a -1, (hl) ; Error
ioi res.a -1, (hl) ; Error
ioi res.a -1, (ix) ; Error
ioi res.a -1, (ix) ; Error
ioi res.a -1, (ix+127) ; Error
ioi res.a -1, (ix+127) ; Error
ioi res.a -1, (ix-128) ; Error
ioi res.a -1, (ix-128) ; Error
ioi res.a -1, (iy) ; Error
ioi res.a -1, (iy) ; Error
ioi res.a -1, (iy+127) ; Error
ioi res.a -1, (iy+127) ; Error
ioi res.a -1, (iy-128) ; Error
ioi res.a -1, (iy-128) ; Error
ioi res.a 0, (hl) ; Error
ioi res.a 0, (ix) ; Error
ioi res.a 0, (ix+127) ; Error
ioi res.a 0, (ix-128) ; Error
ioi res.a 0, (iy) ; Error
ioi res.a 0, (iy+127) ; Error
ioi res.a 0, (iy-128) ; Error
ioi res.a 1, (hl) ; Error
ioi res.a 1, (ix) ; Error
ioi res.a 1, (ix+127) ; Error
ioi res.a 1, (ix-128) ; Error
ioi res.a 1, (iy) ; Error
ioi res.a 1, (iy+127) ; Error
ioi res.a 1, (iy-128) ; Error
ioi res.a 2, (hl) ; Error
ioi res.a 2, (ix) ; Error
ioi res.a 2, (ix+127) ; Error
ioi res.a 2, (ix-128) ; Error
ioi res.a 2, (iy) ; Error
ioi res.a 2, (iy+127) ; Error
ioi res.a 2, (iy-128) ; Error
ioi res.a 3, (hl) ; Error
ioi res.a 3, (ix) ; Error
ioi res.a 3, (ix+127) ; Error
ioi res.a 3, (ix-128) ; Error
ioi res.a 3, (iy) ; Error
ioi res.a 3, (iy+127) ; Error
ioi res.a 3, (iy-128) ; Error
ioi res.a 4, (hl) ; Error
ioi res.a 4, (ix) ; Error
ioi res.a 4, (ix+127) ; Error
ioi res.a 4, (ix-128) ; Error
ioi res.a 4, (iy) ; Error
ioi res.a 4, (iy+127) ; Error
ioi res.a 4, (iy-128) ; Error
ioi res.a 5, (hl) ; Error
ioi res.a 5, (ix) ; Error
ioi res.a 5, (ix+127) ; Error
ioi res.a 5, (ix-128) ; Error
ioi res.a 5, (iy) ; Error
ioi res.a 5, (iy+127) ; Error
ioi res.a 5, (iy-128) ; Error
ioi res.a 6, (hl) ; Error
ioi res.a 6, (ix) ; Error
ioi res.a 6, (ix+127) ; Error
ioi res.a 6, (ix-128) ; Error
ioi res.a 6, (iy) ; Error
ioi res.a 6, (iy+127) ; Error
ioi res.a 6, (iy-128) ; Error
ioi res.a 7, (hl) ; Error
ioi res.a 7, (ix) ; Error
ioi res.a 7, (ix+127) ; Error
ioi res.a 7, (ix-128) ; Error
ioi res.a 7, (iy) ; Error
ioi res.a 7, (iy+127) ; Error
ioi res.a 7, (iy-128) ; Error
ioi res.a 8, (hl) ; Error
ioi res.a 8, (hl) ; Error
ioi res.a 8, (ix) ; Error
ioi res.a 8, (ix) ; Error
ioi res.a 8, (ix+127) ; Error
ioi res.a 8, (ix+127) ; Error
ioi res.a 8, (ix-128) ; Error
ioi res.a 8, (ix-128) ; Error
ioi res.a 8, (iy) ; Error
ioi res.a 8, (iy) ; Error
ioi res.a 8, (iy+127) ; Error
ioi res.a 8, (iy+127) ; Error
ioi res.a 8, (iy-128) ; Error
ioi res.a 8, (iy-128) ; Error
ioi rl (hl) ; Error
ioi rl (ix) ; Error
ioi rl (ix+127) ; Error
ioi rl (ix-128) ; Error
ioi rl (iy) ; Error
ioi rl (iy+127) ; Error
ioi rl (iy-128) ; Error
ioi rlc (hl) ; Error
ioi rlc (ix) ; Error
ioi rlc (ix+127) ; Error
ioi rlc (ix-128) ; Error
ioi rlc (iy) ; Error
ioi rlc (iy+127) ; Error
ioi rlc (iy-128) ; Error
ioi rr (hl) ; Error
ioi rr (ix) ; Error
ioi rr (ix+127) ; Error
ioi rr (ix-128) ; Error
ioi rr (iy) ; Error
ioi rr (iy+127) ; Error
ioi rr (iy-128) ; Error
ioi rrc (hl) ; Error
ioi rrc (ix) ; Error
ioi rrc (ix+127) ; Error
ioi rrc (ix-128) ; Error
ioi rrc (iy) ; Error
ioi rrc (iy+127) ; Error
ioi rrc (iy-128) ; Error
ioi sbc (hl) ; Error
ioi sbc (ix) ; Error
ioi sbc (ix+127) ; Error
ioi sbc (ix-128) ; Error
ioi sbc (iy) ; Error
ioi sbc (iy+127) ; Error
ioi sbc (iy-128) ; Error
ioi sbc a', (hl) ; Error
ioi sbc a', (ix) ; Error
ioi sbc a', (ix+127) ; Error
ioi sbc a', (ix-128) ; Error
ioi sbc a', (iy) ; Error
ioi sbc a', (iy+127) ; Error
ioi sbc a', (iy-128) ; Error
ioi sbc a, (hl) ; Error
ioi sbc a, (ix) ; Error
ioi sbc a, (ix+127) ; Error
ioi sbc a, (ix-128) ; Error
ioi sbc a, (iy) ; Error
ioi sbc a, (iy+127) ; Error
ioi sbc a, (iy-128) ; Error
ioi set -1, (hl) ; Error
ioi set -1, (hl) ; Error
ioi set -1, (ix) ; Error
ioi set -1, (ix) ; Error
ioi set -1, (ix+127) ; Error
ioi set -1, (ix+127) ; Error
ioi set -1, (ix-128) ; Error
ioi set -1, (ix-128) ; Error
ioi set -1, (iy) ; Error
ioi set -1, (iy) ; Error
ioi set -1, (iy+127) ; Error
ioi set -1, (iy+127) ; Error
ioi set -1, (iy-128) ; Error
ioi set -1, (iy-128) ; Error
ioi set 0, (hl) ; Error
ioi set 0, (ix) ; Error
ioi set 0, (ix+127) ; Error
ioi set 0, (ix-128) ; Error
ioi set 0, (iy) ; Error
ioi set 0, (iy+127) ; Error
ioi set 0, (iy-128) ; Error
ioi set 1, (hl) ; Error
ioi set 1, (ix) ; Error
ioi set 1, (ix+127) ; Error
ioi set 1, (ix-128) ; Error
ioi set 1, (iy) ; Error
ioi set 1, (iy+127) ; Error
ioi set 1, (iy-128) ; Error
ioi set 2, (hl) ; Error
ioi set 2, (ix) ; Error
ioi set 2, (ix+127) ; Error
ioi set 2, (ix-128) ; Error
ioi set 2, (iy) ; Error
ioi set 2, (iy+127) ; Error
ioi set 2, (iy-128) ; Error
ioi set 3, (hl) ; Error
ioi set 3, (ix) ; Error
ioi set 3, (ix+127) ; Error
ioi set 3, (ix-128) ; Error
ioi set 3, (iy) ; Error
ioi set 3, (iy+127) ; Error
ioi set 3, (iy-128) ; Error
ioi set 4, (hl) ; Error
ioi set 4, (ix) ; Error
ioi set 4, (ix+127) ; Error
ioi set 4, (ix-128) ; Error
ioi set 4, (iy) ; Error
ioi set 4, (iy+127) ; Error
ioi set 4, (iy-128) ; Error
ioi set 5, (hl) ; Error
ioi set 5, (ix) ; Error
ioi set 5, (ix+127) ; Error
ioi set 5, (ix-128) ; Error
ioi set 5, (iy) ; Error
ioi set 5, (iy+127) ; Error
ioi set 5, (iy-128) ; Error
ioi set 6, (hl) ; Error
ioi set 6, (ix) ; Error
ioi set 6, (ix+127) ; Error
ioi set 6, (ix-128) ; Error
ioi set 6, (iy) ; Error
ioi set 6, (iy+127) ; Error
ioi set 6, (iy-128) ; Error
ioi set 7, (hl) ; Error
ioi set 7, (ix) ; Error
ioi set 7, (ix+127) ; Error
ioi set 7, (ix-128) ; Error
ioi set 7, (iy) ; Error
ioi set 7, (iy+127) ; Error
ioi set 7, (iy-128) ; Error
ioi set 8, (hl) ; Error
ioi set 8, (hl) ; Error
ioi set 8, (ix) ; Error
ioi set 8, (ix) ; Error
ioi set 8, (ix+127) ; Error
ioi set 8, (ix+127) ; Error
ioi set 8, (ix-128) ; Error
ioi set 8, (ix-128) ; Error
ioi set 8, (iy) ; Error
ioi set 8, (iy) ; Error
ioi set 8, (iy+127) ; Error
ioi set 8, (iy+127) ; Error
ioi set 8, (iy-128) ; Error
ioi set 8, (iy-128) ; Error
ioi set.a -1, (hl) ; Error
ioi set.a -1, (hl) ; Error
ioi set.a -1, (ix) ; Error
ioi set.a -1, (ix) ; Error
ioi set.a -1, (ix+127) ; Error
ioi set.a -1, (ix+127) ; Error
ioi set.a -1, (ix-128) ; Error
ioi set.a -1, (ix-128) ; Error
ioi set.a -1, (iy) ; Error
ioi set.a -1, (iy) ; Error
ioi set.a -1, (iy+127) ; Error
ioi set.a -1, (iy+127) ; Error
ioi set.a -1, (iy-128) ; Error
ioi set.a -1, (iy-128) ; Error
ioi set.a 0, (hl) ; Error
ioi set.a 0, (ix) ; Error
ioi set.a 0, (ix+127) ; Error
ioi set.a 0, (ix-128) ; Error
ioi set.a 0, (iy) ; Error
ioi set.a 0, (iy+127) ; Error
ioi set.a 0, (iy-128) ; Error
ioi set.a 1, (hl) ; Error
ioi set.a 1, (ix) ; Error
ioi set.a 1, (ix+127) ; Error
ioi set.a 1, (ix-128) ; Error
ioi set.a 1, (iy) ; Error
ioi set.a 1, (iy+127) ; Error
ioi set.a 1, (iy-128) ; Error
ioi set.a 2, (hl) ; Error
ioi set.a 2, (ix) ; Error
ioi set.a 2, (ix+127) ; Error
ioi set.a 2, (ix-128) ; Error
ioi set.a 2, (iy) ; Error
ioi set.a 2, (iy+127) ; Error
ioi set.a 2, (iy-128) ; Error
ioi set.a 3, (hl) ; Error
ioi set.a 3, (ix) ; Error
ioi set.a 3, (ix+127) ; Error
ioi set.a 3, (ix-128) ; Error
ioi set.a 3, (iy) ; Error
ioi set.a 3, (iy+127) ; Error
ioi set.a 3, (iy-128) ; Error
ioi set.a 4, (hl) ; Error
ioi set.a 4, (ix) ; Error
ioi set.a 4, (ix+127) ; Error
ioi set.a 4, (ix-128) ; Error
ioi set.a 4, (iy) ; Error
ioi set.a 4, (iy+127) ; Error
ioi set.a 4, (iy-128) ; Error
ioi set.a 5, (hl) ; Error
ioi set.a 5, (ix) ; Error
ioi set.a 5, (ix+127) ; Error
ioi set.a 5, (ix-128) ; Error
ioi set.a 5, (iy) ; Error
ioi set.a 5, (iy+127) ; Error
ioi set.a 5, (iy-128) ; Error
ioi set.a 6, (hl) ; Error
ioi set.a 6, (ix) ; Error
ioi set.a 6, (ix+127) ; Error
ioi set.a 6, (ix-128) ; Error
ioi set.a 6, (iy) ; Error
ioi set.a 6, (iy+127) ; Error
ioi set.a 6, (iy-128) ; Error
ioi set.a 7, (hl) ; Error
ioi set.a 7, (ix) ; Error
ioi set.a 7, (ix+127) ; Error
ioi set.a 7, (ix-128) ; Error
ioi set.a 7, (iy) ; Error
ioi set.a 7, (iy+127) ; Error
ioi set.a 7, (iy-128) ; Error
ioi set.a 8, (hl) ; Error
ioi set.a 8, (hl) ; Error
ioi set.a 8, (ix) ; Error
ioi set.a 8, (ix) ; Error
ioi set.a 8, (ix+127) ; Error
ioi set.a 8, (ix+127) ; Error
ioi set.a 8, (ix-128) ; Error
ioi set.a 8, (ix-128) ; Error
ioi set.a 8, (iy) ; Error
ioi set.a 8, (iy) ; Error
ioi set.a 8, (iy+127) ; Error
ioi set.a 8, (iy+127) ; Error
ioi set.a 8, (iy-128) ; Error
ioi set.a 8, (iy-128) ; Error
ioi sla (hl) ; Error
ioi sla (ix) ; Error
ioi sla (ix+127) ; Error
ioi sla (ix-128) ; Error
ioi sla (iy) ; Error
ioi sla (iy+127) ; Error
ioi sla (iy-128) ; Error
ioi sra (hl) ; Error
ioi sra (ix) ; Error
ioi sra (ix+127) ; Error
ioi sra (ix-128) ; Error
ioi sra (iy) ; Error
ioi sra (iy+127) ; Error
ioi sra (iy-128) ; Error
ioi srl (hl) ; Error
ioi srl (ix) ; Error
ioi srl (ix+127) ; Error
ioi srl (ix-128) ; Error
ioi srl (iy) ; Error
ioi srl (iy+127) ; Error
ioi srl (iy-128) ; Error
ioi sub (hl) ; Error
ioi sub (ix) ; Error
ioi sub (ix+127) ; Error
ioi sub (ix-128) ; Error
ioi sub (iy) ; Error
ioi sub (iy+127) ; Error
ioi sub (iy-128) ; Error
ioi sub a', (hl) ; Error
ioi sub a', (ix) ; Error
ioi sub a', (ix+127) ; Error
ioi sub a', (ix-128) ; Error
ioi sub a', (iy) ; Error
ioi sub a', (iy+127) ; Error
ioi sub a', (iy-128) ; Error
ioi sub a, (hl) ; Error
ioi sub a, (ix) ; Error
ioi sub a, (ix+127) ; Error
ioi sub a, (ix-128) ; Error
ioi sub a, (iy) ; Error
ioi sub a, (iy+127) ; Error
ioi sub a, (iy-128) ; Error
ioi xor (hl) ; Error
ioi xor (ix) ; Error
ioi xor (ix+127) ; Error
ioi xor (ix-128) ; Error
ioi xor (iy) ; Error
ioi xor (iy+127) ; Error
ioi xor (iy-128) ; Error
ioi xor a', (hl) ; Error
ioi xor a', (ix) ; Error
ioi xor a', (ix+127) ; Error
ioi xor a', (ix-128) ; Error
ioi xor a', (iy) ; Error
ioi xor a', (iy+127) ; Error
ioi xor a', (iy-128) ; Error
ioi xor a, (hl) ; Error
ioi xor a, (ix) ; Error
ioi xor a, (ix+127) ; Error
ioi xor a, (ix-128) ; Error
ioi xor a, (iy) ; Error
ioi xor a, (iy+127) ; Error
ioi xor a, (iy-128) ; Error
ipres ; Error
ipset -1 ; Error
ipset -1 ; Error
ipset 0 ; Error
ipset 1 ; Error
ipset 2 ; Error
ipset 3 ; Error
ipset 4 ; Error
ipset 4 ; Error
jk -32768 ; Error
jk 32767 ; Error
jk 65535 ; Error
jlo -32768 ; Error
jlo 32767 ; Error
jlo 65535 ; Error
jlz -32768 ; Error
jlz 32767 ; Error
jlz 65535 ; Error
jnk -32768 ; Error
jnk 32767 ; Error
jnk 65535 ; Error
jnx5 -32768 ; Error
jnx5 32767 ; Error
jnx5 65535 ; Error
jp (c) ; Error
jp lo, -32768 ; Error
jp lo, 32767 ; Error
jp lo, 65535 ; Error
jp lz, -32768 ; Error
jp lz, 32767 ; Error
jp lz, 65535 ; Error
jx5 -32768 ; Error
jx5 32767 ; Error
jx5 65535 ; Error
ld (c), a ; Error
ld (de), hl ; Error
ld (hl), hl ; Error
ld (hl+127), hl ; Error
ld (hl-128), hl ; Error
ld (ix), hl ; Error
ld (ix+127), hl ; Error
ld (ix-128), hl ; Error
ld (iy), hl ; Error
ld (iy+127), hl ; Error
ld (iy-128), hl ; Error
ld (sp), hl ; Error
ld (sp), ix ; Error
ld (sp), iy ; Error
ld (sp+0), hl ; Error
ld (sp+0), ix ; Error
ld (sp+0), iy ; Error
ld (sp+255), hl ; Error
ld (sp+255), ix ; Error
ld (sp+255), iy ; Error
ld a', (-32768) ; Error
ld a', (32767) ; Error
ld a', (65535) ; Error
ld a', (bc) ; Error
ld a', (bc+) ; Error
ld a', (bc-) ; Error
ld a', (de) ; Error
ld a', (de+) ; Error
ld a', (de-) ; Error
ld a', (hl) ; Error
ld a', (hl+) ; Error
ld a', (hl-) ; Error
ld a', (hld) ; Error
ld a', (hli) ; Error
ld a', (ix) ; Error
ld a', (ix+127) ; Error
ld a', (ix-128) ; Error
ld a', (iy) ; Error
ld a', (iy+127) ; Error
ld a', (iy-128) ; Error
ld a', -128 ; Error
ld a', 127 ; Error
ld a', 255 ; Error
ld a', a ; Error
ld a', b ; Error
ld a', c ; Error
ld a', d ; Error
ld a', e ; Error
ld a', eir ; Error
ld a', h ; Error
ld a', iir ; Error
ld a', l ; Error
ld a', xpc ; Error
ld a, (c) ; Error
ld a, eir ; Error
ld a, iir ; Error
ld a, ixh ; Error
ld a, ixl ; Error
ld a, iyh ; Error
ld a, iyl ; Error
ld a, xpc ; Error
ld b', (hl) ; Error
ld b', (ix) ; Error
ld b', (ix+127) ; Error
ld b', (ix-128) ; Error
ld b', (iy) ; Error
ld b', (iy+127) ; Error
ld b', (iy-128) ; Error
ld b', -128 ; Error
ld b', 127 ; Error
ld b', 255 ; Error
ld b', a ; Error
ld b', b ; Error
ld b', c ; Error
ld b', d ; Error
ld b', e ; Error
ld b', h ; Error
ld b', l ; Error
ld b, ixh ; Error
ld b, ixl ; Error
ld b, iyh ; Error
ld b, iyl ; Error
ld bc', (-32768) ; Error
ld bc', (32767) ; Error
ld bc', (65535) ; Error
ld bc', -32768 ; Error
ld bc', 32767 ; Error
ld bc', 65535 ; Error
ld bc', bc ; Error
ld bc', de ; Error
ld bc, ix ; Error
ld bc, iy ; Error
ld c', (hl) ; Error
ld c', (ix) ; Error
ld c', (ix+127) ; Error
ld c', (ix-128) ; Error
ld c', (iy) ; Error
ld c', (iy+127) ; Error
ld c', (iy-128) ; Error
ld c', -128 ; Error
ld c', 127 ; Error
ld c', 255 ; Error
ld c', a ; Error
ld c', b ; Error
ld c', c ; Error
ld c', d ; Error
ld c', e ; Error
ld c', h ; Error
ld c', l ; Error
ld c, ixh ; Error
ld c, ixl ; Error
ld c, iyh ; Error
ld c, iyl ; Error
ld d', (hl) ; Error
ld d', (ix) ; Error
ld d', (ix+127) ; Error
ld d', (ix-128) ; Error
ld d', (iy) ; Error
ld d', (iy+127) ; Error
ld d', (iy-128) ; Error
ld d', -128 ; Error
ld d', 127 ; Error
ld d', 255 ; Error
ld d', a ; Error
ld d', b ; Error
ld d', c ; Error
ld d', d ; Error
ld d', e ; Error
ld d', h ; Error
ld d', l ; Error
ld d, ixh ; Error
ld d, ixl ; Error
ld d, iyh ; Error
ld d, iyl ; Error
ld de', (-32768) ; Error
ld de', (32767) ; Error
ld de', (65535) ; Error
ld de', -32768 ; Error
ld de', 32767 ; Error
ld de', 65535 ; Error
ld de', bc ; Error
ld de', de ; Error
ld de, hl+0 ; Error
ld de, hl+255 ; Error
ld de, ix ; Error
ld de, iy ; Error
ld e', (hl) ; Error
ld e', (ix) ; Error
ld e', (ix+127) ; Error
ld e', (ix-128) ; Error
ld e', (iy) ; Error
ld e', (iy+127) ; Error
ld e', (iy-128) ; Error
ld e', -128 ; Error
ld e', 127 ; Error
ld e', 255 ; Error
ld e', a ; Error
ld e', b ; Error
ld e', c ; Error
ld e', d ; Error
ld e', e ; Error
ld e', h ; Error
ld e', l ; Error
ld e, ixh ; Error
ld e, ixl ; Error
ld e, iyh ; Error
ld e, iyl ; Error
ld eir, a ; Error
ld h', (hl) ; Error
ld h', (ix) ; Error
ld h', (ix+127) ; Error
ld h', (ix-128) ; Error
ld h', (iy) ; Error
ld h', (iy+127) ; Error
ld h', (iy-128) ; Error
ld h', -128 ; Error
ld h', 127 ; Error
ld h', 255 ; Error
ld h', a ; Error
ld h', b ; Error
ld h', c ; Error
ld h', d ; Error
ld h', e ; Error
ld h', h ; Error
ld h', l ; Error
ld hl', (-32768) ; Error
ld hl', (32767) ; Error
ld hl', (65535) ; Error
ld hl', (hl) ; Error
ld hl', (hl+127) ; Error
ld hl', (hl-128) ; Error
ld hl', (ix) ; Error
ld hl', (ix+127) ; Error
ld hl', (ix-128) ; Error
ld hl', (iy) ; Error
ld hl', (iy+127) ; Error
ld hl', (iy-128) ; Error
ld hl', (sp) ; Error
ld hl', (sp+0) ; Error
ld hl', (sp+255) ; Error
ld hl', -32768 ; Error
ld hl', 32767 ; Error
ld hl', 65535 ; Error
ld hl', bc ; Error
ld hl', de ; Error
ld hl', ix ; Error
ld hl', iy ; Error
ld hl, (de) ; Error
ld hl, (hl) ; Error
ld hl, (hl+127) ; Error
ld hl, (hl-128) ; Error
ld hl, (ix) ; Error
ld hl, (ix+127) ; Error
ld hl, (ix-128) ; Error
ld hl, (iy) ; Error
ld hl, (iy+127) ; Error
ld hl, (iy-128) ; Error
ld hl, (sp) ; Error
ld hl, (sp+0) ; Error
ld hl, (sp+255) ; Error
ld hl, ix ; Error
ld hl, iy ; Error
ld iir, a ; Error
ld ix, (sp) ; Error
ld ix, (sp+0) ; Error
ld ix, (sp+255) ; Error
ld ix, bc ; Error
ld ix, de ; Error
ld ix, hl ; Error
ld ix, iy ; Error
ld ixh, -128 ; Error
ld ixh, 127 ; Error
ld ixh, 255 ; Error
ld ixh, a ; Error
ld ixh, b ; Error
ld ixh, c ; Error
ld ixh, d ; Error
ld ixh, e ; Error
ld ixh, ixh ; Error
ld ixh, ixl ; Error
ld ixl, -128 ; Error
ld ixl, 127 ; Error
ld ixl, 255 ; Error
ld ixl, a ; Error
ld ixl, b ; Error
ld ixl, c ; Error
ld ixl, d ; Error
ld ixl, e ; Error
ld ixl, ixh ; Error
ld ixl, ixl ; Error
ld iy, (sp) ; Error
ld iy, (sp+0) ; Error
ld iy, (sp+255) ; Error
ld iy, bc ; Error
ld iy, de ; Error
ld iy, hl ; Error
ld iy, ix ; Error
ld iyh, -128 ; Error
ld iyh, 127 ; Error
ld iyh, 255 ; Error
ld iyh, a ; Error
ld iyh, b ; Error
ld iyh, c ; Error
ld iyh, d ; Error
ld iyh, e ; Error
ld iyh, iyh ; Error
ld iyh, iyl ; Error
ld iyl, -128 ; Error
ld iyl, 127 ; Error
ld iyl, 255 ; Error
ld iyl, a ; Error
ld iyl, b ; Error
ld iyl, c ; Error
ld iyl, d ; Error
ld iyl, e ; Error
ld iyl, iyh ; Error
ld iyl, iyl ; Error
ld l', (hl) ; Error
ld l', (ix) ; Error
ld l', (ix+127) ; Error
ld l', (ix-128) ; Error
ld l', (iy) ; Error
ld l', (iy+127) ; Error
ld l', (iy-128) ; Error
ld l', -128 ; Error
ld l', 127 ; Error
ld l', 255 ; Error
ld l', a ; Error
ld l', b ; Error
ld l', c ; Error
ld l', d ; Error
ld l', e ; Error
ld l', h ; Error
ld l', l ; Error
ld xpc, a ; Error
lddrx ; Error
lddsr ; Error
lddx ; Error
ldh (-128), a ; Error
ldh (127), a ; Error
ldh (255), a ; Error
ldh (c), a ; Error
ldh a, (-128) ; Error
ldh a, (127) ; Error
ldh a, (255) ; Error
ldh a, (c) ; Error
ldhi -128 ; Error
ldhi 127 ; Error
ldhi 255 ; Error
ldhl sp, -128 ; Error
ldhl sp, 127 ; Error
ldirx ; Error
ldisr ; Error
ldix ; Error
ldp (-32768), hl ; Error
ldp (-32768), ix ; Error
ldp (-32768), iy ; Error
ldp (32767), hl ; Error
ldp (32767), ix ; Error
ldp (32767), iy ; Error
ldp (65535), hl ; Error
ldp (65535), ix ; Error
ldp (65535), iy ; Error
ldp (hl), hl ; Error
ldp (ix), hl ; Error
ldp (iy), hl ; Error
ldp hl, (-32768) ; Error
ldp hl, (32767) ; Error
ldp hl, (65535) ; Error
ldp hl, (hl) ; Error
ldp hl, (ix) ; Error
ldp hl, (iy) ; Error
ldp ix, (-32768) ; Error
ldp ix, (32767) ; Error
ldp ix, (65535) ; Error
ldp iy, (-32768) ; Error
ldp iy, (32767) ; Error
ldp iy, (65535) ; Error
ldpirx ; Error
ldsi -128 ; Error
ldsi 127 ; Error
ldsi 255 ; Error
ldws ; Error
lhlde ; Error
lhlx ; Error
lsddr ; Error
lsdr ; Error
lsidr ; Error
lsir ; Error
mirror a ; Error
mmu -1, -128 ; Error
mmu -1, -128 ; Error
mmu -1, 127 ; Error
mmu -1, 127 ; Error
mmu -1, 255 ; Error
mmu -1, 255 ; Error
mmu -1, a ; Error
mmu -1, a ; Error
mmu 0, -128 ; Error
mmu 0, 127 ; Error
mmu 0, 255 ; Error
mmu 0, a ; Error
mmu 1, -128 ; Error
mmu 1, 127 ; Error
mmu 1, 255 ; Error
mmu 1, a ; Error
mmu 2, -128 ; Error
mmu 2, 127 ; Error
mmu 2, 255 ; Error
mmu 2, a ; Error
mmu 3, -128 ; Error
mmu 3, 127 ; Error
mmu 3, 255 ; Error
mmu 3, a ; Error
mmu 4, -128 ; Error
mmu 4, 127 ; Error
mmu 4, 255 ; Error
mmu 4, a ; Error
mmu 5, -128 ; Error
mmu 5, 127 ; Error
mmu 5, 255 ; Error
mmu 5, a ; Error
mmu 6, -128 ; Error
mmu 6, 127 ; Error
mmu 6, 255 ; Error
mmu 6, a ; Error
mmu 7, -128 ; Error
mmu 7, 127 ; Error
mmu 7, 255 ; Error
mmu 7, a ; Error
mmu 8, -128 ; Error
mmu 8, -128 ; Error
mmu 8, 127 ; Error
mmu 8, 127 ; Error
mmu 8, 255 ; Error
mmu 8, 255 ; Error
mmu 8, a ; Error
mmu 8, a ; Error
mmu0 -128 ; Error
mmu0 127 ; Error
mmu0 255 ; Error
mmu0 a ; Error
mmu1 -128 ; Error
mmu1 127 ; Error
mmu1 255 ; Error
mmu1 a ; Error
mmu2 -128 ; Error
mmu2 127 ; Error
mmu2 255 ; Error
mmu2 a ; Error
mmu3 -128 ; Error
mmu3 127 ; Error
mmu3 255 ; Error
mmu3 a ; Error
mmu4 -128 ; Error
mmu4 127 ; Error
mmu4 255 ; Error
mmu4 a ; Error
mmu5 -128 ; Error
mmu5 127 ; Error
mmu5 255 ; Error
mmu5 a ; Error
mmu6 -128 ; Error
mmu6 127 ; Error
mmu6 255 ; Error
mmu6 a ; Error
mmu7 -128 ; Error
mmu7 127 ; Error
mmu7 255 ; Error
mmu7 a ; Error
mul ; Error
mul d, e ; Error
mul de ; Error
neg a' ; Error
nextreg -128, -128 ; Error
nextreg -128, a ; Error
nextreg 127, 127 ; Error
nextreg 127, a ; Error
nextreg 255, 255 ; Error
nextreg 255, a ; Error
or a', (hl) ; Error
or a', (ix) ; Error
or a', (ix+127) ; Error
or a', (ix-128) ; Error
or a', (iy) ; Error
or a', (iy+127) ; Error
or a', (iy-128) ; Error
or a', -128 ; Error
or a', 127 ; Error
or a', 255 ; Error
or a', a ; Error
or a', b ; Error
or a', c ; Error
or a', d ; Error
or a', e ; Error
or a', h ; Error
or a', l ; Error
or a, ixh ; Error
or a, ixl ; Error
or a, iyh ; Error
or a, iyl ; Error
or hl', de ; Error
or hl, de ; Error
or ix, de ; Error
or ixh ; Error
or ixl ; Error
or iy, de ; Error
or iyh ; Error
or iyl ; Error
out (c), -1 ; Error
out (c), -1 ; Error
out (c), 1 ; Error
out (c), 1 ; Error
outinb ; Error
ovrst8 ; Error
pixelad ; Error
pixeldn ; Error
pop af' ; Error
pop b' ; Error
pop bc' ; Error
pop d' ; Error
pop de' ; Error
pop h' ; Error
pop hl' ; Error
pop ip ; Error
pop su ; Error
push -32768 ; Error
push 32767 ; Error
push 65535 ; Error
push ip ; Error
push su ; Error
rdmode ; Error
res -1, (hl) ; Error
res -1, (hl) ; Error
res -1, (ix) ; Error
res -1, (ix) ; Error
res -1, (ix), a ; Error
res -1, (ix), a ; Error
res -1, (ix), b ; Error
res -1, (ix), b ; Error
res -1, (ix), c ; Error
res -1, (ix), c ; Error
res -1, (ix), d ; Error
res -1, (ix), d ; Error
res -1, (ix), e ; Error
res -1, (ix), e ; Error
res -1, (ix), h ; Error
res -1, (ix), h ; Error
res -1, (ix), l ; Error
res -1, (ix), l ; Error
res -1, (ix+127) ; Error
res -1, (ix+127) ; Error
res -1, (ix+127), a ; Error
res -1, (ix+127), a ; Error
res -1, (ix+127), b ; Error
res -1, (ix+127), b ; Error
res -1, (ix+127), c ; Error
res -1, (ix+127), c ; Error
res -1, (ix+127), d ; Error
res -1, (ix+127), d ; Error
res -1, (ix+127), e ; Error
res -1, (ix+127), e ; Error
res -1, (ix+127), h ; Error
res -1, (ix+127), h ; Error
res -1, (ix+127), l ; Error
res -1, (ix+127), l ; Error
res -1, (ix-128) ; Error
res -1, (ix-128) ; Error
res -1, (ix-128), a ; Error
res -1, (ix-128), a ; Error
res -1, (ix-128), b ; Error
res -1, (ix-128), b ; Error
res -1, (ix-128), c ; Error
res -1, (ix-128), c ; Error
res -1, (ix-128), d ; Error
res -1, (ix-128), d ; Error
res -1, (ix-128), e ; Error
res -1, (ix-128), e ; Error
res -1, (ix-128), h ; Error
res -1, (ix-128), h ; Error
res -1, (ix-128), l ; Error
res -1, (ix-128), l ; Error
res -1, (iy) ; Error
res -1, (iy) ; Error
res -1, (iy), a ; Error
res -1, (iy), a ; Error
res -1, (iy), b ; Error
res -1, (iy), b ; Error
res -1, (iy), c ; Error
res -1, (iy), c ; Error
res -1, (iy), d ; Error
res -1, (iy), d ; Error
res -1, (iy), e ; Error
res -1, (iy), e ; Error
res -1, (iy), h ; Error
res -1, (iy), h ; Error
res -1, (iy), l ; Error
res -1, (iy), l ; Error
res -1, (iy+127) ; Error
res -1, (iy+127) ; Error
res -1, (iy+127), a ; Error
res -1, (iy+127), a ; Error
res -1, (iy+127), b ; Error
res -1, (iy+127), b ; Error
res -1, (iy+127), c ; Error
res -1, (iy+127), c ; Error
res -1, (iy+127), d ; Error
res -1, (iy+127), d ; Error
res -1, (iy+127), e ; Error
res -1, (iy+127), e ; Error
res -1, (iy+127), h ; Error
res -1, (iy+127), h ; Error
res -1, (iy+127), l ; Error
res -1, (iy+127), l ; Error
res -1, (iy-128) ; Error
res -1, (iy-128) ; Error
res -1, (iy-128), a ; Error
res -1, (iy-128), a ; Error
res -1, (iy-128), b ; Error
res -1, (iy-128), b ; Error
res -1, (iy-128), c ; Error
res -1, (iy-128), c ; Error
res -1, (iy-128), d ; Error
res -1, (iy-128), d ; Error
res -1, (iy-128), e ; Error
res -1, (iy-128), e ; Error
res -1, (iy-128), h ; Error
res -1, (iy-128), h ; Error
res -1, (iy-128), l ; Error
res -1, (iy-128), l ; Error
res -1, a ; Error
res -1, a ; Error
res -1, a' ; Error
res -1, a' ; Error
res -1, b ; Error
res -1, b ; Error
res -1, b' ; Error
res -1, b' ; Error
res -1, c ; Error
res -1, c ; Error
res -1, c' ; Error
res -1, c' ; Error
res -1, d ; Error
res -1, d ; Error
res -1, d' ; Error
res -1, d' ; Error
res -1, e ; Error
res -1, e ; Error
res -1, e' ; Error
res -1, e' ; Error
res -1, h ; Error
res -1, h ; Error
res -1, h' ; Error
res -1, h' ; Error
res -1, l ; Error
res -1, l ; Error
res -1, l' ; Error
res -1, l' ; Error
res 0, (ix), a ; Error
res 0, (ix), b ; Error
res 0, (ix), c ; Error
res 0, (ix), d ; Error
res 0, (ix), e ; Error
res 0, (ix), h ; Error
res 0, (ix), l ; Error
res 0, (ix+127), a ; Error
res 0, (ix+127), b ; Error
res 0, (ix+127), c ; Error
res 0, (ix+127), d ; Error
res 0, (ix+127), e ; Error
res 0, (ix+127), h ; Error
res 0, (ix+127), l ; Error
res 0, (ix-128), a ; Error
res 0, (ix-128), b ; Error
res 0, (ix-128), c ; Error
res 0, (ix-128), d ; Error
res 0, (ix-128), e ; Error
res 0, (ix-128), h ; Error
res 0, (ix-128), l ; Error
res 0, (iy), a ; Error
res 0, (iy), b ; Error
res 0, (iy), c ; Error
res 0, (iy), d ; Error
res 0, (iy), e ; Error
res 0, (iy), h ; Error
res 0, (iy), l ; Error
res 0, (iy+127), a ; Error
res 0, (iy+127), b ; Error
res 0, (iy+127), c ; Error
res 0, (iy+127), d ; Error
res 0, (iy+127), e ; Error
res 0, (iy+127), h ; Error
res 0, (iy+127), l ; Error
res 0, (iy-128), a ; Error
res 0, (iy-128), b ; Error
res 0, (iy-128), c ; Error
res 0, (iy-128), d ; Error
res 0, (iy-128), e ; Error
res 0, (iy-128), h ; Error
res 0, (iy-128), l ; Error
res 0, a' ; Error
res 0, b' ; Error
res 0, c' ; Error
res 0, d' ; Error
res 0, e' ; Error
res 0, h' ; Error
res 0, l' ; Error
res 1, (ix), a ; Error
res 1, (ix), b ; Error
res 1, (ix), c ; Error
res 1, (ix), d ; Error
res 1, (ix), e ; Error
res 1, (ix), h ; Error
res 1, (ix), l ; Error
res 1, (ix+127), a ; Error
res 1, (ix+127), b ; Error
res 1, (ix+127), c ; Error
res 1, (ix+127), d ; Error
res 1, (ix+127), e ; Error
res 1, (ix+127), h ; Error
res 1, (ix+127), l ; Error
res 1, (ix-128), a ; Error
res 1, (ix-128), b ; Error
res 1, (ix-128), c ; Error
res 1, (ix-128), d ; Error
res 1, (ix-128), e ; Error
res 1, (ix-128), h ; Error
res 1, (ix-128), l ; Error
res 1, (iy), a ; Error
res 1, (iy), b ; Error
res 1, (iy), c ; Error
res 1, (iy), d ; Error
res 1, (iy), e ; Error
res 1, (iy), h ; Error
res 1, (iy), l ; Error
res 1, (iy+127), a ; Error
res 1, (iy+127), b ; Error
res 1, (iy+127), c ; Error
res 1, (iy+127), d ; Error
res 1, (iy+127), e ; Error
res 1, (iy+127), h ; Error
res 1, (iy+127), l ; Error
res 1, (iy-128), a ; Error
res 1, (iy-128), b ; Error
res 1, (iy-128), c ; Error
res 1, (iy-128), d ; Error
res 1, (iy-128), e ; Error
res 1, (iy-128), h ; Error
res 1, (iy-128), l ; Error
res 1, a' ; Error
res 1, b' ; Error
res 1, c' ; Error
res 1, d' ; Error
res 1, e' ; Error
res 1, h' ; Error
res 1, l' ; Error
res 2, (ix), a ; Error
res 2, (ix), b ; Error
res 2, (ix), c ; Error
res 2, (ix), d ; Error
res 2, (ix), e ; Error
res 2, (ix), h ; Error
res 2, (ix), l ; Error
res 2, (ix+127), a ; Error
res 2, (ix+127), b ; Error
res 2, (ix+127), c ; Error
res 2, (ix+127), d ; Error
res 2, (ix+127), e ; Error
res 2, (ix+127), h ; Error
res 2, (ix+127), l ; Error
res 2, (ix-128), a ; Error
res 2, (ix-128), b ; Error
res 2, (ix-128), c ; Error
res 2, (ix-128), d ; Error
res 2, (ix-128), e ; Error
res 2, (ix-128), h ; Error
res 2, (ix-128), l ; Error
res 2, (iy), a ; Error
res 2, (iy), b ; Error
res 2, (iy), c ; Error
res 2, (iy), d ; Error
res 2, (iy), e ; Error
res 2, (iy), h ; Error
res 2, (iy), l ; Error
res 2, (iy+127), a ; Error
res 2, (iy+127), b ; Error
res 2, (iy+127), c ; Error
res 2, (iy+127), d ; Error
res 2, (iy+127), e ; Error
res 2, (iy+127), h ; Error
res 2, (iy+127), l ; Error
res 2, (iy-128), a ; Error
res 2, (iy-128), b ; Error
res 2, (iy-128), c ; Error
res 2, (iy-128), d ; Error
res 2, (iy-128), e ; Error
res 2, (iy-128), h ; Error
res 2, (iy-128), l ; Error
res 2, a' ; Error
res 2, b' ; Error
res 2, c' ; Error
res 2, d' ; Error
res 2, e' ; Error
res 2, h' ; Error
res 2, l' ; Error
res 3, (ix), a ; Error
res 3, (ix), b ; Error
res 3, (ix), c ; Error
res 3, (ix), d ; Error
res 3, (ix), e ; Error
res 3, (ix), h ; Error
res 3, (ix), l ; Error
res 3, (ix+127), a ; Error
res 3, (ix+127), b ; Error
res 3, (ix+127), c ; Error
res 3, (ix+127), d ; Error
res 3, (ix+127), e ; Error
res 3, (ix+127), h ; Error
res 3, (ix+127), l ; Error
res 3, (ix-128), a ; Error
res 3, (ix-128), b ; Error
res 3, (ix-128), c ; Error
res 3, (ix-128), d ; Error
res 3, (ix-128), e ; Error
res 3, (ix-128), h ; Error
res 3, (ix-128), l ; Error
res 3, (iy), a ; Error
res 3, (iy), b ; Error
res 3, (iy), c ; Error
res 3, (iy), d ; Error
res 3, (iy), e ; Error
res 3, (iy), h ; Error
res 3, (iy), l ; Error
res 3, (iy+127), a ; Error
res 3, (iy+127), b ; Error
res 3, (iy+127), c ; Error
res 3, (iy+127), d ; Error
res 3, (iy+127), e ; Error
res 3, (iy+127), h ; Error
res 3, (iy+127), l ; Error
res 3, (iy-128), a ; Error
res 3, (iy-128), b ; Error
res 3, (iy-128), c ; Error
res 3, (iy-128), d ; Error
res 3, (iy-128), e ; Error
res 3, (iy-128), h ; Error
res 3, (iy-128), l ; Error
res 3, a' ; Error
res 3, b' ; Error
res 3, c' ; Error
res 3, d' ; Error
res 3, e' ; Error
res 3, h' ; Error
res 3, l' ; Error
res 4, (ix), a ; Error
res 4, (ix), b ; Error
res 4, (ix), c ; Error
res 4, (ix), d ; Error
res 4, (ix), e ; Error
res 4, (ix), h ; Error
res 4, (ix), l ; Error
res 4, (ix+127), a ; Error
res 4, (ix+127), b ; Error
res 4, (ix+127), c ; Error
res 4, (ix+127), d ; Error
res 4, (ix+127), e ; Error
res 4, (ix+127), h ; Error
res 4, (ix+127), l ; Error
res 4, (ix-128), a ; Error
res 4, (ix-128), b ; Error
res 4, (ix-128), c ; Error
res 4, (ix-128), d ; Error
res 4, (ix-128), e ; Error
res 4, (ix-128), h ; Error
res 4, (ix-128), l ; Error
res 4, (iy), a ; Error
res 4, (iy), b ; Error
res 4, (iy), c ; Error
res 4, (iy), d ; Error
res 4, (iy), e ; Error
res 4, (iy), h ; Error
res 4, (iy), l ; Error
res 4, (iy+127), a ; Error
res 4, (iy+127), b ; Error
res 4, (iy+127), c ; Error
res 4, (iy+127), d ; Error
res 4, (iy+127), e ; Error
res 4, (iy+127), h ; Error
res 4, (iy+127), l ; Error
res 4, (iy-128), a ; Error
res 4, (iy-128), b ; Error
res 4, (iy-128), c ; Error
res 4, (iy-128), d ; Error
res 4, (iy-128), e ; Error
res 4, (iy-128), h ; Error
res 4, (iy-128), l ; Error
res 4, a' ; Error
res 4, b' ; Error
res 4, c' ; Error
res 4, d' ; Error
res 4, e' ; Error
res 4, h' ; Error
res 4, l' ; Error
res 5, (ix), a ; Error
res 5, (ix), b ; Error
res 5, (ix), c ; Error
res 5, (ix), d ; Error
res 5, (ix), e ; Error
res 5, (ix), h ; Error
res 5, (ix), l ; Error
res 5, (ix+127), a ; Error
res 5, (ix+127), b ; Error
res 5, (ix+127), c ; Error
res 5, (ix+127), d ; Error
res 5, (ix+127), e ; Error
res 5, (ix+127), h ; Error
res 5, (ix+127), l ; Error
res 5, (ix-128), a ; Error
res 5, (ix-128), b ; Error
res 5, (ix-128), c ; Error
res 5, (ix-128), d ; Error
res 5, (ix-128), e ; Error
res 5, (ix-128), h ; Error
res 5, (ix-128), l ; Error
res 5, (iy), a ; Error
res 5, (iy), b ; Error
res 5, (iy), c ; Error
res 5, (iy), d ; Error
res 5, (iy), e ; Error
res 5, (iy), h ; Error
res 5, (iy), l ; Error
res 5, (iy+127), a ; Error
res 5, (iy+127), b ; Error
res 5, (iy+127), c ; Error
res 5, (iy+127), d ; Error
res 5, (iy+127), e ; Error
res 5, (iy+127), h ; Error
res 5, (iy+127), l ; Error
res 5, (iy-128), a ; Error
res 5, (iy-128), b ; Error
res 5, (iy-128), c ; Error
res 5, (iy-128), d ; Error
res 5, (iy-128), e ; Error
res 5, (iy-128), h ; Error
res 5, (iy-128), l ; Error
res 5, a' ; Error
res 5, b' ; Error
res 5, c' ; Error
res 5, d' ; Error
res 5, e' ; Error
res 5, h' ; Error
res 5, l' ; Error
res 6, (ix), a ; Error
res 6, (ix), b ; Error
res 6, (ix), c ; Error
res 6, (ix), d ; Error
res 6, (ix), e ; Error
res 6, (ix), h ; Error
res 6, (ix), l ; Error
res 6, (ix+127), a ; Error
res 6, (ix+127), b ; Error
res 6, (ix+127), c ; Error
res 6, (ix+127), d ; Error
res 6, (ix+127), e ; Error
res 6, (ix+127), h ; Error
res 6, (ix+127), l ; Error
res 6, (ix-128), a ; Error
res 6, (ix-128), b ; Error
res 6, (ix-128), c ; Error
res 6, (ix-128), d ; Error
res 6, (ix-128), e ; Error
res 6, (ix-128), h ; Error
res 6, (ix-128), l ; Error
res 6, (iy), a ; Error
res 6, (iy), b ; Error
res 6, (iy), c ; Error
res 6, (iy), d ; Error
res 6, (iy), e ; Error
res 6, (iy), h ; Error
res 6, (iy), l ; Error
res 6, (iy+127), a ; Error
res 6, (iy+127), b ; Error
res 6, (iy+127), c ; Error
res 6, (iy+127), d ; Error
res 6, (iy+127), e ; Error
res 6, (iy+127), h ; Error
res 6, (iy+127), l ; Error
res 6, (iy-128), a ; Error
res 6, (iy-128), b ; Error
res 6, (iy-128), c ; Error
res 6, (iy-128), d ; Error
res 6, (iy-128), e ; Error
res 6, (iy-128), h ; Error
res 6, (iy-128), l ; Error
res 6, a' ; Error
res 6, b' ; Error
res 6, c' ; Error
res 6, d' ; Error
res 6, e' ; Error
res 6, h' ; Error
res 6, l' ; Error
res 7, (ix), a ; Error
res 7, (ix), b ; Error
res 7, (ix), c ; Error
res 7, (ix), d ; Error
res 7, (ix), e ; Error
res 7, (ix), h ; Error
res 7, (ix), l ; Error
res 7, (ix+127), a ; Error
res 7, (ix+127), b ; Error
res 7, (ix+127), c ; Error
res 7, (ix+127), d ; Error
res 7, (ix+127), e ; Error
res 7, (ix+127), h ; Error
res 7, (ix+127), l ; Error
res 7, (ix-128), a ; Error
res 7, (ix-128), b ; Error
res 7, (ix-128), c ; Error
res 7, (ix-128), d ; Error
res 7, (ix-128), e ; Error
res 7, (ix-128), h ; Error
res 7, (ix-128), l ; Error
res 7, (iy), a ; Error
res 7, (iy), b ; Error
res 7, (iy), c ; Error
res 7, (iy), d ; Error
res 7, (iy), e ; Error
res 7, (iy), h ; Error
res 7, (iy), l ; Error
res 7, (iy+127), a ; Error
res 7, (iy+127), b ; Error
res 7, (iy+127), c ; Error
res 7, (iy+127), d ; Error
res 7, (iy+127), e ; Error
res 7, (iy+127), h ; Error
res 7, (iy+127), l ; Error
res 7, (iy-128), a ; Error
res 7, (iy-128), b ; Error
res 7, (iy-128), c ; Error
res 7, (iy-128), d ; Error
res 7, (iy-128), e ; Error
res 7, (iy-128), h ; Error
res 7, (iy-128), l ; Error
res 7, a' ; Error
res 7, b' ; Error
res 7, c' ; Error
res 7, d' ; Error
res 7, e' ; Error
res 7, h' ; Error
res 7, l' ; Error
res 8, (hl) ; Error
res 8, (hl) ; Error
res 8, (ix) ; Error
res 8, (ix) ; Error
res 8, (ix), a ; Error
res 8, (ix), a ; Error
res 8, (ix), b ; Error
res 8, (ix), b ; Error
res 8, (ix), c ; Error
res 8, (ix), c ; Error
res 8, (ix), d ; Error
res 8, (ix), d ; Error
res 8, (ix), e ; Error
res 8, (ix), e ; Error
res 8, (ix), h ; Error
res 8, (ix), h ; Error
res 8, (ix), l ; Error
res 8, (ix), l ; Error
res 8, (ix+127) ; Error
res 8, (ix+127) ; Error
res 8, (ix+127), a ; Error
res 8, (ix+127), a ; Error
res 8, (ix+127), b ; Error
res 8, (ix+127), b ; Error
res 8, (ix+127), c ; Error
res 8, (ix+127), c ; Error
res 8, (ix+127), d ; Error
res 8, (ix+127), d ; Error
res 8, (ix+127), e ; Error
res 8, (ix+127), e ; Error
res 8, (ix+127), h ; Error
res 8, (ix+127), h ; Error
res 8, (ix+127), l ; Error
res 8, (ix+127), l ; Error
res 8, (ix-128) ; Error
res 8, (ix-128) ; Error
res 8, (ix-128), a ; Error
res 8, (ix-128), a ; Error
res 8, (ix-128), b ; Error
res 8, (ix-128), b ; Error
res 8, (ix-128), c ; Error
res 8, (ix-128), c ; Error
res 8, (ix-128), d ; Error
res 8, (ix-128), d ; Error
res 8, (ix-128), e ; Error
res 8, (ix-128), e ; Error
res 8, (ix-128), h ; Error
res 8, (ix-128), h ; Error
res 8, (ix-128), l ; Error
res 8, (ix-128), l ; Error
res 8, (iy) ; Error
res 8, (iy) ; Error
res 8, (iy), a ; Error
res 8, (iy), a ; Error
res 8, (iy), b ; Error
res 8, (iy), b ; Error
res 8, (iy), c ; Error
res 8, (iy), c ; Error
res 8, (iy), d ; Error
res 8, (iy), d ; Error
res 8, (iy), e ; Error
res 8, (iy), e ; Error
res 8, (iy), h ; Error
res 8, (iy), h ; Error
res 8, (iy), l ; Error
res 8, (iy), l ; Error
res 8, (iy+127) ; Error
res 8, (iy+127) ; Error
res 8, (iy+127), a ; Error
res 8, (iy+127), a ; Error
res 8, (iy+127), b ; Error
res 8, (iy+127), b ; Error
res 8, (iy+127), c ; Error
res 8, (iy+127), c ; Error
res 8, (iy+127), d ; Error
res 8, (iy+127), d ; Error
res 8, (iy+127), e ; Error
res 8, (iy+127), e ; Error
res 8, (iy+127), h ; Error
res 8, (iy+127), h ; Error
res 8, (iy+127), l ; Error
res 8, (iy+127), l ; Error
res 8, (iy-128) ; Error
res 8, (iy-128) ; Error
res 8, (iy-128), a ; Error
res 8, (iy-128), a ; Error
res 8, (iy-128), b ; Error
res 8, (iy-128), b ; Error
res 8, (iy-128), c ; Error
res 8, (iy-128), c ; Error
res 8, (iy-128), d ; Error
res 8, (iy-128), d ; Error
res 8, (iy-128), e ; Error
res 8, (iy-128), e ; Error
res 8, (iy-128), h ; Error
res 8, (iy-128), h ; Error
res 8, (iy-128), l ; Error
res 8, (iy-128), l ; Error
res 8, a ; Error
res 8, a ; Error
res 8, a' ; Error
res 8, a' ; Error
res 8, b ; Error
res 8, b ; Error
res 8, b' ; Error
res 8, b' ; Error
res 8, c ; Error
res 8, c ; Error
res 8, c' ; Error
res 8, c' ; Error
res 8, d ; Error
res 8, d ; Error
res 8, d' ; Error
res 8, d' ; Error
res 8, e ; Error
res 8, e ; Error
res 8, e' ; Error
res 8, e' ; Error
res 8, h ; Error
res 8, h ; Error
res 8, h' ; Error
res 8, h' ; Error
res 8, l ; Error
res 8, l ; Error
res 8, l' ; Error
res 8, l' ; Error
res.a -1, (hl) ; Error
res.a -1, (hl) ; Error
res.a -1, (ix) ; Error
res.a -1, (ix) ; Error
res.a -1, (ix+127) ; Error
res.a -1, (ix+127) ; Error
res.a -1, (ix-128) ; Error
res.a -1, (ix-128) ; Error
res.a -1, (iy) ; Error
res.a -1, (iy) ; Error
res.a -1, (iy+127) ; Error
res.a -1, (iy+127) ; Error
res.a -1, (iy-128) ; Error
res.a -1, (iy-128) ; Error
res.a -1, a ; Error
res.a -1, a ; Error
res.a -1, b ; Error
res.a -1, b ; Error
res.a -1, c ; Error
res.a -1, c ; Error
res.a -1, d ; Error
res.a -1, d ; Error
res.a -1, e ; Error
res.a -1, e ; Error
res.a -1, h ; Error
res.a -1, h ; Error
res.a -1, l ; Error
res.a -1, l ; Error
res.a 8, (hl) ; Error
res.a 8, (hl) ; Error
res.a 8, (ix) ; Error
res.a 8, (ix) ; Error
res.a 8, (ix+127) ; Error
res.a 8, (ix+127) ; Error
res.a 8, (ix-128) ; Error
res.a 8, (ix-128) ; Error
res.a 8, (iy) ; Error
res.a 8, (iy) ; Error
res.a 8, (iy+127) ; Error
res.a 8, (iy+127) ; Error
res.a 8, (iy-128) ; Error
res.a 8, (iy-128) ; Error
res.a 8, a ; Error
res.a 8, a ; Error
res.a 8, b ; Error
res.a 8, b ; Error
res.a 8, c ; Error
res.a 8, c ; Error
res.a 8, d ; Error
res.a 8, d ; Error
res.a 8, e ; Error
res.a 8, e ; Error
res.a 8, h ; Error
res.a 8, h ; Error
res.a 8, l ; Error
res.a 8, l ; Error
ret lo ; Error
ret lz ; Error
rim ; Error
rl (ix), a ; Error
rl (ix), b ; Error
rl (ix), c ; Error
rl (ix), d ; Error
rl (ix), e ; Error
rl (ix), h ; Error
rl (ix), l ; Error
rl (ix+127), a ; Error
rl (ix+127), b ; Error
rl (ix+127), c ; Error
rl (ix+127), d ; Error
rl (ix+127), e ; Error
rl (ix+127), h ; Error
rl (ix+127), l ; Error
rl (ix-128), a ; Error
rl (ix-128), b ; Error
rl (ix-128), c ; Error
rl (ix-128), d ; Error
rl (ix-128), e ; Error
rl (ix-128), h ; Error
rl (ix-128), l ; Error
rl (iy), a ; Error
rl (iy), b ; Error
rl (iy), c ; Error
rl (iy), d ; Error
rl (iy), e ; Error
rl (iy), h ; Error
rl (iy), l ; Error
rl (iy+127), a ; Error
rl (iy+127), b ; Error
rl (iy+127), c ; Error
rl (iy+127), d ; Error
rl (iy+127), e ; Error
rl (iy+127), h ; Error
rl (iy+127), l ; Error
rl (iy-128), a ; Error
rl (iy-128), b ; Error
rl (iy-128), c ; Error
rl (iy-128), d ; Error
rl (iy-128), e ; Error
rl (iy-128), h ; Error
rl (iy-128), l ; Error
rl a' ; Error
rl b' ; Error
rl c' ; Error
rl d' ; Error
rl de' ; Error
rl e' ; Error
rl h' ; Error
rl l' ; Error
rla' ; Error
rlc (ix), a ; Error
rlc (ix), b ; Error
rlc (ix), c ; Error
rlc (ix), d ; Error
rlc (ix), e ; Error
rlc (ix), h ; Error
rlc (ix), l ; Error
rlc (ix+127), a ; Error
rlc (ix+127), b ; Error
rlc (ix+127), c ; Error
rlc (ix+127), d ; Error
rlc (ix+127), e ; Error
rlc (ix+127), h ; Error
rlc (ix+127), l ; Error
rlc (ix-128), a ; Error
rlc (ix-128), b ; Error
rlc (ix-128), c ; Error
rlc (ix-128), d ; Error
rlc (ix-128), e ; Error
rlc (ix-128), h ; Error
rlc (ix-128), l ; Error
rlc (iy), a ; Error
rlc (iy), b ; Error
rlc (iy), c ; Error
rlc (iy), d ; Error
rlc (iy), e ; Error
rlc (iy), h ; Error
rlc (iy), l ; Error
rlc (iy+127), a ; Error
rlc (iy+127), b ; Error
rlc (iy+127), c ; Error
rlc (iy+127), d ; Error
rlc (iy+127), e ; Error
rlc (iy+127), h ; Error
rlc (iy+127), l ; Error
rlc (iy-128), a ; Error
rlc (iy-128), b ; Error
rlc (iy-128), c ; Error
rlc (iy-128), d ; Error
rlc (iy-128), e ; Error
rlc (iy-128), h ; Error
rlc (iy-128), l ; Error
rlc a' ; Error
rlc b' ; Error
rlc c' ; Error
rlc d' ; Error
rlc e' ; Error
rlc h' ; Error
rlc l' ; Error
rlca' ; Error
rlo ; Error
rlz ; Error
rr (ix), a ; Error
rr (ix), b ; Error
rr (ix), c ; Error
rr (ix), d ; Error
rr (ix), e ; Error
rr (ix), h ; Error
rr (ix), l ; Error
rr (ix+127), a ; Error
rr (ix+127), b ; Error
rr (ix+127), c ; Error
rr (ix+127), d ; Error
rr (ix+127), e ; Error
rr (ix+127), h ; Error
rr (ix+127), l ; Error
rr (ix-128), a ; Error
rr (ix-128), b ; Error
rr (ix-128), c ; Error
rr (ix-128), d ; Error
rr (ix-128), e ; Error
rr (ix-128), h ; Error
rr (ix-128), l ; Error
rr (iy), a ; Error
rr (iy), b ; Error
rr (iy), c ; Error
rr (iy), d ; Error
rr (iy), e ; Error
rr (iy), h ; Error
rr (iy), l ; Error
rr (iy+127), a ; Error
rr (iy+127), b ; Error
rr (iy+127), c ; Error
rr (iy+127), d ; Error
rr (iy+127), e ; Error
rr (iy+127), h ; Error
rr (iy+127), l ; Error
rr (iy-128), a ; Error
rr (iy-128), b ; Error
rr (iy-128), c ; Error
rr (iy-128), d ; Error
rr (iy-128), e ; Error
rr (iy-128), h ; Error
rr (iy-128), l ; Error
rr a' ; Error
rr b' ; Error
rr c' ; Error
rr d' ; Error
rr de' ; Error
rr e' ; Error
rr h' ; Error
rr hl' ; Error
rr ix ; Error
rr iy ; Error
rr l' ; Error
rra' ; Error
rrc (ix), a ; Error
rrc (ix), b ; Error
rrc (ix), c ; Error
rrc (ix), d ; Error
rrc (ix), e ; Error
rrc (ix), h ; Error
rrc (ix), l ; Error
rrc (ix+127), a ; Error
rrc (ix+127), b ; Error
rrc (ix+127), c ; Error
rrc (ix+127), d ; Error
rrc (ix+127), e ; Error
rrc (ix+127), h ; Error
rrc (ix+127), l ; Error
rrc (ix-128), a ; Error
rrc (ix-128), b ; Error
rrc (ix-128), c ; Error
rrc (ix-128), d ; Error
rrc (ix-128), e ; Error
rrc (ix-128), h ; Error
rrc (ix-128), l ; Error
rrc (iy), a ; Error
rrc (iy), b ; Error
rrc (iy), c ; Error
rrc (iy), d ; Error
rrc (iy), e ; Error
rrc (iy), h ; Error
rrc (iy), l ; Error
rrc (iy+127), a ; Error
rrc (iy+127), b ; Error
rrc (iy+127), c ; Error
rrc (iy+127), d ; Error
rrc (iy+127), e ; Error
rrc (iy+127), h ; Error
rrc (iy+127), l ; Error
rrc (iy-128), a ; Error
rrc (iy-128), b ; Error
rrc (iy-128), c ; Error
rrc (iy-128), d ; Error
rrc (iy-128), e ; Error
rrc (iy-128), h ; Error
rrc (iy-128), l ; Error
rrc a' ; Error
rrc b' ; Error
rrc c' ; Error
rrc d' ; Error
rrc e' ; Error
rrc h' ; Error
rrc l' ; Error
rrca' ; Error
rst -1 ; Error
rst -1 ; Error
rst 10 ; Error
rst 10 ; Error
rst 11 ; Error
rst 11 ; Error
rst 12 ; Error
rst 12 ; Error
rst 13 ; Error
rst 13 ; Error
rst 14 ; Error
rst 14 ; Error
rst 15 ; Error
rst 15 ; Error
rst 17 ; Error
rst 17 ; Error
rst 18 ; Error
rst 18 ; Error
rst 19 ; Error
rst 19 ; Error
rst 20 ; Error
rst 20 ; Error
rst 21 ; Error
rst 21 ; Error
rst 22 ; Error
rst 22 ; Error
rst 23 ; Error
rst 23 ; Error
rst 25 ; Error
rst 25 ; Error
rst 26 ; Error
rst 26 ; Error
rst 27 ; Error
rst 27 ; Error
rst 28 ; Error
rst 28 ; Error
rst 29 ; Error
rst 29 ; Error
rst 30 ; Error
rst 30 ; Error
rst 31 ; Error
rst 31 ; Error
rst 33 ; Error
rst 33 ; Error
rst 34 ; Error
rst 34 ; Error
rst 35 ; Error
rst 35 ; Error
rst 36 ; Error
rst 36 ; Error
rst 37 ; Error
rst 37 ; Error
rst 38 ; Error
rst 38 ; Error
rst 39 ; Error
rst 39 ; Error
rst 41 ; Error
rst 41 ; Error
rst 42 ; Error
rst 42 ; Error
rst 43 ; Error
rst 43 ; Error
rst 44 ; Error
rst 44 ; Error
rst 45 ; Error
rst 45 ; Error
rst 46 ; Error
rst 46 ; Error
rst 47 ; Error
rst 47 ; Error
rst 49 ; Error
rst 49 ; Error
rst 50 ; Error
rst 50 ; Error
rst 51 ; Error
rst 51 ; Error
rst 52 ; Error
rst 52 ; Error
rst 53 ; Error
rst 53 ; Error
rst 54 ; Error
rst 54 ; Error
rst 55 ; Error
rst 55 ; Error
rst 57 ; Error
rst 57 ; Error
rst 58 ; Error
rst 58 ; Error
rst 59 ; Error
rst 59 ; Error
rst 60 ; Error
rst 60 ; Error
rst 61 ; Error
rst 61 ; Error
rst 62 ; Error
rst 62 ; Error
rst 63 ; Error
rst 63 ; Error
rst 64 ; Error
rst 64 ; Error
rst 9 ; Error
rst 9 ; Error
rstv ; Error
sbc a', (hl) ; Error
sbc a', (ix) ; Error
sbc a', (ix+127) ; Error
sbc a', (ix-128) ; Error
sbc a', (iy) ; Error
sbc a', (iy+127) ; Error
sbc a', (iy-128) ; Error
sbc a', -128 ; Error
sbc a', 127 ; Error
sbc a', 255 ; Error
sbc a', a ; Error
sbc a', b ; Error
sbc a', c ; Error
sbc a', d ; Error
sbc a', e ; Error
sbc a', h ; Error
sbc a', l ; Error
sbc a, ixh ; Error
sbc a, ixl ; Error
sbc a, iyh ; Error
sbc a, iyl ; Error
sbc hl', bc ; Error
sbc hl', de ; Error
sbc hl', hl ; Error
sbc hl', sp ; Error
sbc ixh ; Error
sbc ixl ; Error
sbc iyh ; Error
sbc iyl ; Error
scf' ; Error
set -1, (hl) ; Error
set -1, (hl) ; Error
set -1, (ix) ; Error
set -1, (ix) ; Error
set -1, (ix), a ; Error
set -1, (ix), a ; Error
set -1, (ix), b ; Error
set -1, (ix), b ; Error
set -1, (ix), c ; Error
set -1, (ix), c ; Error
set -1, (ix), d ; Error
set -1, (ix), d ; Error
set -1, (ix), e ; Error
set -1, (ix), e ; Error
set -1, (ix), h ; Error
set -1, (ix), h ; Error
set -1, (ix), l ; Error
set -1, (ix), l ; Error
set -1, (ix+127) ; Error
set -1, (ix+127) ; Error
set -1, (ix+127), a ; Error
set -1, (ix+127), a ; Error
set -1, (ix+127), b ; Error
set -1, (ix+127), b ; Error
set -1, (ix+127), c ; Error
set -1, (ix+127), c ; Error
set -1, (ix+127), d ; Error
set -1, (ix+127), d ; Error
set -1, (ix+127), e ; Error
set -1, (ix+127), e ; Error
set -1, (ix+127), h ; Error
set -1, (ix+127), h ; Error
set -1, (ix+127), l ; Error
set -1, (ix+127), l ; Error
set -1, (ix-128) ; Error
set -1, (ix-128) ; Error
set -1, (ix-128), a ; Error
set -1, (ix-128), a ; Error
set -1, (ix-128), b ; Error
set -1, (ix-128), b ; Error
set -1, (ix-128), c ; Error
set -1, (ix-128), c ; Error
set -1, (ix-128), d ; Error
set -1, (ix-128), d ; Error
set -1, (ix-128), e ; Error
set -1, (ix-128), e ; Error
set -1, (ix-128), h ; Error
set -1, (ix-128), h ; Error
set -1, (ix-128), l ; Error
set -1, (ix-128), l ; Error
set -1, (iy) ; Error
set -1, (iy) ; Error
set -1, (iy), a ; Error
set -1, (iy), a ; Error
set -1, (iy), b ; Error
set -1, (iy), b ; Error
set -1, (iy), c ; Error
set -1, (iy), c ; Error
set -1, (iy), d ; Error
set -1, (iy), d ; Error
set -1, (iy), e ; Error
set -1, (iy), e ; Error
set -1, (iy), h ; Error
set -1, (iy), h ; Error
set -1, (iy), l ; Error
set -1, (iy), l ; Error
set -1, (iy+127) ; Error
set -1, (iy+127) ; Error
set -1, (iy+127), a ; Error
set -1, (iy+127), a ; Error
set -1, (iy+127), b ; Error
set -1, (iy+127), b ; Error
set -1, (iy+127), c ; Error
set -1, (iy+127), c ; Error
set -1, (iy+127), d ; Error
set -1, (iy+127), d ; Error
set -1, (iy+127), e ; Error
set -1, (iy+127), e ; Error
set -1, (iy+127), h ; Error
set -1, (iy+127), h ; Error
set -1, (iy+127), l ; Error
set -1, (iy+127), l ; Error
set -1, (iy-128) ; Error
set -1, (iy-128) ; Error
set -1, (iy-128), a ; Error
set -1, (iy-128), a ; Error
set -1, (iy-128), b ; Error
set -1, (iy-128), b ; Error
set -1, (iy-128), c ; Error
set -1, (iy-128), c ; Error
set -1, (iy-128), d ; Error
set -1, (iy-128), d ; Error
set -1, (iy-128), e ; Error
set -1, (iy-128), e ; Error
set -1, (iy-128), h ; Error
set -1, (iy-128), h ; Error
set -1, (iy-128), l ; Error
set -1, (iy-128), l ; Error
set -1, a ; Error
set -1, a ; Error
set -1, a' ; Error
set -1, a' ; Error
set -1, b ; Error
set -1, b ; Error
set -1, b' ; Error
set -1, b' ; Error
set -1, c ; Error
set -1, c ; Error
set -1, c' ; Error
set -1, c' ; Error
set -1, d ; Error
set -1, d ; Error
set -1, d' ; Error
set -1, d' ; Error
set -1, e ; Error
set -1, e ; Error
set -1, e' ; Error
set -1, e' ; Error
set -1, h ; Error
set -1, h ; Error
set -1, h' ; Error
set -1, h' ; Error
set -1, l ; Error
set -1, l ; Error
set -1, l' ; Error
set -1, l' ; Error
set 0, (ix), a ; Error
set 0, (ix), b ; Error
set 0, (ix), c ; Error
set 0, (ix), d ; Error
set 0, (ix), e ; Error
set 0, (ix), h ; Error
set 0, (ix), l ; Error
set 0, (ix+127), a ; Error
set 0, (ix+127), b ; Error
set 0, (ix+127), c ; Error
set 0, (ix+127), d ; Error
set 0, (ix+127), e ; Error
set 0, (ix+127), h ; Error
set 0, (ix+127), l ; Error
set 0, (ix-128), a ; Error
set 0, (ix-128), b ; Error
set 0, (ix-128), c ; Error
set 0, (ix-128), d ; Error
set 0, (ix-128), e ; Error
set 0, (ix-128), h ; Error
set 0, (ix-128), l ; Error
set 0, (iy), a ; Error
set 0, (iy), b ; Error
set 0, (iy), c ; Error
set 0, (iy), d ; Error
set 0, (iy), e ; Error
set 0, (iy), h ; Error
set 0, (iy), l ; Error
set 0, (iy+127), a ; Error
set 0, (iy+127), b ; Error
set 0, (iy+127), c ; Error
set 0, (iy+127), d ; Error
set 0, (iy+127), e ; Error
set 0, (iy+127), h ; Error
set 0, (iy+127), l ; Error
set 0, (iy-128), a ; Error
set 0, (iy-128), b ; Error
set 0, (iy-128), c ; Error
set 0, (iy-128), d ; Error
set 0, (iy-128), e ; Error
set 0, (iy-128), h ; Error
set 0, (iy-128), l ; Error
set 0, a' ; Error
set 0, b' ; Error
set 0, c' ; Error
set 0, d' ; Error
set 0, e' ; Error
set 0, h' ; Error
set 0, l' ; Error
set 1, (ix), a ; Error
set 1, (ix), b ; Error
set 1, (ix), c ; Error
set 1, (ix), d ; Error
set 1, (ix), e ; Error
set 1, (ix), h ; Error
set 1, (ix), l ; Error
set 1, (ix+127), a ; Error
set 1, (ix+127), b ; Error
set 1, (ix+127), c ; Error
set 1, (ix+127), d ; Error
set 1, (ix+127), e ; Error
set 1, (ix+127), h ; Error
set 1, (ix+127), l ; Error
set 1, (ix-128), a ; Error
set 1, (ix-128), b ; Error
set 1, (ix-128), c ; Error
set 1, (ix-128), d ; Error
set 1, (ix-128), e ; Error
set 1, (ix-128), h ; Error
set 1, (ix-128), l ; Error
set 1, (iy), a ; Error
set 1, (iy), b ; Error
set 1, (iy), c ; Error
set 1, (iy), d ; Error
set 1, (iy), e ; Error
set 1, (iy), h ; Error
set 1, (iy), l ; Error
set 1, (iy+127), a ; Error
set 1, (iy+127), b ; Error
set 1, (iy+127), c ; Error
set 1, (iy+127), d ; Error
set 1, (iy+127), e ; Error
set 1, (iy+127), h ; Error
set 1, (iy+127), l ; Error
set 1, (iy-128), a ; Error
set 1, (iy-128), b ; Error
set 1, (iy-128), c ; Error
set 1, (iy-128), d ; Error
set 1, (iy-128), e ; Error
set 1, (iy-128), h ; Error
set 1, (iy-128), l ; Error
set 1, a' ; Error
set 1, b' ; Error
set 1, c' ; Error
set 1, d' ; Error
set 1, e' ; Error
set 1, h' ; Error
set 1, l' ; Error
set 2, (ix), a ; Error
set 2, (ix), b ; Error
set 2, (ix), c ; Error
set 2, (ix), d ; Error
set 2, (ix), e ; Error
set 2, (ix), h ; Error
set 2, (ix), l ; Error
set 2, (ix+127), a ; Error
set 2, (ix+127), b ; Error
set 2, (ix+127), c ; Error
set 2, (ix+127), d ; Error
set 2, (ix+127), e ; Error
set 2, (ix+127), h ; Error
set 2, (ix+127), l ; Error
set 2, (ix-128), a ; Error
set 2, (ix-128), b ; Error
set 2, (ix-128), c ; Error
set 2, (ix-128), d ; Error
set 2, (ix-128), e ; Error
set 2, (ix-128), h ; Error
set 2, (ix-128), l ; Error
set 2, (iy), a ; Error
set 2, (iy), b ; Error
set 2, (iy), c ; Error
set 2, (iy), d ; Error
set 2, (iy), e ; Error
set 2, (iy), h ; Error
set 2, (iy), l ; Error
set 2, (iy+127), a ; Error
set 2, (iy+127), b ; Error
set 2, (iy+127), c ; Error
set 2, (iy+127), d ; Error
set 2, (iy+127), e ; Error
set 2, (iy+127), h ; Error
set 2, (iy+127), l ; Error
set 2, (iy-128), a ; Error
set 2, (iy-128), b ; Error
set 2, (iy-128), c ; Error
set 2, (iy-128), d ; Error
set 2, (iy-128), e ; Error
set 2, (iy-128), h ; Error
set 2, (iy-128), l ; Error
set 2, a' ; Error
set 2, b' ; Error
set 2, c' ; Error
set 2, d' ; Error
set 2, e' ; Error
set 2, h' ; Error
set 2, l' ; Error
set 3, (ix), a ; Error
set 3, (ix), b ; Error
set 3, (ix), c ; Error
set 3, (ix), d ; Error
set 3, (ix), e ; Error
set 3, (ix), h ; Error
set 3, (ix), l ; Error
set 3, (ix+127), a ; Error
set 3, (ix+127), b ; Error
set 3, (ix+127), c ; Error
set 3, (ix+127), d ; Error
set 3, (ix+127), e ; Error
set 3, (ix+127), h ; Error
set 3, (ix+127), l ; Error
set 3, (ix-128), a ; Error
set 3, (ix-128), b ; Error
set 3, (ix-128), c ; Error
set 3, (ix-128), d ; Error
set 3, (ix-128), e ; Error
set 3, (ix-128), h ; Error
set 3, (ix-128), l ; Error
set 3, (iy), a ; Error
set 3, (iy), b ; Error
set 3, (iy), c ; Error
set 3, (iy), d ; Error
set 3, (iy), e ; Error
set 3, (iy), h ; Error
set 3, (iy), l ; Error
set 3, (iy+127), a ; Error
set 3, (iy+127), b ; Error
set 3, (iy+127), c ; Error
set 3, (iy+127), d ; Error
set 3, (iy+127), e ; Error
set 3, (iy+127), h ; Error
set 3, (iy+127), l ; Error
set 3, (iy-128), a ; Error
set 3, (iy-128), b ; Error
set 3, (iy-128), c ; Error
set 3, (iy-128), d ; Error
set 3, (iy-128), e ; Error
set 3, (iy-128), h ; Error
set 3, (iy-128), l ; Error
set 3, a' ; Error
set 3, b' ; Error
set 3, c' ; Error
set 3, d' ; Error
set 3, e' ; Error
set 3, h' ; Error
set 3, l' ; Error
set 4, (ix), a ; Error
set 4, (ix), b ; Error
set 4, (ix), c ; Error
set 4, (ix), d ; Error
set 4, (ix), e ; Error
set 4, (ix), h ; Error
set 4, (ix), l ; Error
set 4, (ix+127), a ; Error
set 4, (ix+127), b ; Error
set 4, (ix+127), c ; Error
set 4, (ix+127), d ; Error
set 4, (ix+127), e ; Error
set 4, (ix+127), h ; Error
set 4, (ix+127), l ; Error
set 4, (ix-128), a ; Error
set 4, (ix-128), b ; Error
set 4, (ix-128), c ; Error
set 4, (ix-128), d ; Error
set 4, (ix-128), e ; Error
set 4, (ix-128), h ; Error
set 4, (ix-128), l ; Error
set 4, (iy), a ; Error
set 4, (iy), b ; Error
set 4, (iy), c ; Error
set 4, (iy), d ; Error
set 4, (iy), e ; Error
set 4, (iy), h ; Error
set 4, (iy), l ; Error
set 4, (iy+127), a ; Error
set 4, (iy+127), b ; Error
set 4, (iy+127), c ; Error
set 4, (iy+127), d ; Error
set 4, (iy+127), e ; Error
set 4, (iy+127), h ; Error
set 4, (iy+127), l ; Error
set 4, (iy-128), a ; Error
set 4, (iy-128), b ; Error
set 4, (iy-128), c ; Error
set 4, (iy-128), d ; Error
set 4, (iy-128), e ; Error
set 4, (iy-128), h ; Error
set 4, (iy-128), l ; Error
set 4, a' ; Error
set 4, b' ; Error
set 4, c' ; Error
set 4, d' ; Error
set 4, e' ; Error
set 4, h' ; Error
set 4, l' ; Error
set 5, (ix), a ; Error
set 5, (ix), b ; Error
set 5, (ix), c ; Error
set 5, (ix), d ; Error
set 5, (ix), e ; Error
set 5, (ix), h ; Error
set 5, (ix), l ; Error
set 5, (ix+127), a ; Error
set 5, (ix+127), b ; Error
set 5, (ix+127), c ; Error
set 5, (ix+127), d ; Error
set 5, (ix+127), e ; Error
set 5, (ix+127), h ; Error
set 5, (ix+127), l ; Error
set 5, (ix-128), a ; Error
set 5, (ix-128), b ; Error
set 5, (ix-128), c ; Error
set 5, (ix-128), d ; Error
set 5, (ix-128), e ; Error
set 5, (ix-128), h ; Error
set 5, (ix-128), l ; Error
set 5, (iy), a ; Error
set 5, (iy), b ; Error
set 5, (iy), c ; Error
set 5, (iy), d ; Error
set 5, (iy), e ; Error
set 5, (iy), h ; Error
set 5, (iy), l ; Error
set 5, (iy+127), a ; Error
set 5, (iy+127), b ; Error
set 5, (iy+127), c ; Error
set 5, (iy+127), d ; Error
set 5, (iy+127), e ; Error
set 5, (iy+127), h ; Error
set 5, (iy+127), l ; Error
set 5, (iy-128), a ; Error
set 5, (iy-128), b ; Error
set 5, (iy-128), c ; Error
set 5, (iy-128), d ; Error
set 5, (iy-128), e ; Error
set 5, (iy-128), h ; Error
set 5, (iy-128), l ; Error
set 5, a' ; Error
set 5, b' ; Error
set 5, c' ; Error
set 5, d' ; Error
set 5, e' ; Error
set 5, h' ; Error
set 5, l' ; Error
set 6, (ix), a ; Error
set 6, (ix), b ; Error
set 6, (ix), c ; Error
set 6, (ix), d ; Error
set 6, (ix), e ; Error
set 6, (ix), h ; Error
set 6, (ix), l ; Error
set 6, (ix+127), a ; Error
set 6, (ix+127), b ; Error
set 6, (ix+127), c ; Error
set 6, (ix+127), d ; Error
set 6, (ix+127), e ; Error
set 6, (ix+127), h ; Error
set 6, (ix+127), l ; Error
set 6, (ix-128), a ; Error
set 6, (ix-128), b ; Error
set 6, (ix-128), c ; Error
set 6, (ix-128), d ; Error
set 6, (ix-128), e ; Error
set 6, (ix-128), h ; Error
set 6, (ix-128), l ; Error
set 6, (iy), a ; Error
set 6, (iy), b ; Error
set 6, (iy), c ; Error
set 6, (iy), d ; Error
set 6, (iy), e ; Error
set 6, (iy), h ; Error
set 6, (iy), l ; Error
set 6, (iy+127), a ; Error
set 6, (iy+127), b ; Error
set 6, (iy+127), c ; Error
set 6, (iy+127), d ; Error
set 6, (iy+127), e ; Error
set 6, (iy+127), h ; Error
set 6, (iy+127), l ; Error
set 6, (iy-128), a ; Error
set 6, (iy-128), b ; Error
set 6, (iy-128), c ; Error
set 6, (iy-128), d ; Error
set 6, (iy-128), e ; Error
set 6, (iy-128), h ; Error
set 6, (iy-128), l ; Error
set 6, a' ; Error
set 6, b' ; Error
set 6, c' ; Error
set 6, d' ; Error
set 6, e' ; Error
set 6, h' ; Error
set 6, l' ; Error
set 7, (ix), a ; Error
set 7, (ix), b ; Error
set 7, (ix), c ; Error
set 7, (ix), d ; Error
set 7, (ix), e ; Error
set 7, (ix), h ; Error
set 7, (ix), l ; Error
set 7, (ix+127), a ; Error
set 7, (ix+127), b ; Error
set 7, (ix+127), c ; Error
set 7, (ix+127), d ; Error
set 7, (ix+127), e ; Error
set 7, (ix+127), h ; Error
set 7, (ix+127), l ; Error
set 7, (ix-128), a ; Error
set 7, (ix-128), b ; Error
set 7, (ix-128), c ; Error
set 7, (ix-128), d ; Error
set 7, (ix-128), e ; Error
set 7, (ix-128), h ; Error
set 7, (ix-128), l ; Error
set 7, (iy), a ; Error
set 7, (iy), b ; Error
set 7, (iy), c ; Error
set 7, (iy), d ; Error
set 7, (iy), e ; Error
set 7, (iy), h ; Error
set 7, (iy), l ; Error
set 7, (iy+127), a ; Error
set 7, (iy+127), b ; Error
set 7, (iy+127), c ; Error
set 7, (iy+127), d ; Error
set 7, (iy+127), e ; Error
set 7, (iy+127), h ; Error
set 7, (iy+127), l ; Error
set 7, (iy-128), a ; Error
set 7, (iy-128), b ; Error
set 7, (iy-128), c ; Error
set 7, (iy-128), d ; Error
set 7, (iy-128), e ; Error
set 7, (iy-128), h ; Error
set 7, (iy-128), l ; Error
set 7, a' ; Error
set 7, b' ; Error
set 7, c' ; Error
set 7, d' ; Error
set 7, e' ; Error
set 7, h' ; Error
set 7, l' ; Error
set 8, (hl) ; Error
set 8, (hl) ; Error
set 8, (ix) ; Error
set 8, (ix) ; Error
set 8, (ix), a ; Error
set 8, (ix), a ; Error
set 8, (ix), b ; Error
set 8, (ix), b ; Error
set 8, (ix), c ; Error
set 8, (ix), c ; Error
set 8, (ix), d ; Error
set 8, (ix), d ; Error
set 8, (ix), e ; Error
set 8, (ix), e ; Error
set 8, (ix), h ; Error
set 8, (ix), h ; Error
set 8, (ix), l ; Error
set 8, (ix), l ; Error
set 8, (ix+127) ; Error
set 8, (ix+127) ; Error
set 8, (ix+127), a ; Error
set 8, (ix+127), a ; Error
set 8, (ix+127), b ; Error
set 8, (ix+127), b ; Error
set 8, (ix+127), c ; Error
set 8, (ix+127), c ; Error
set 8, (ix+127), d ; Error
set 8, (ix+127), d ; Error
set 8, (ix+127), e ; Error
set 8, (ix+127), e ; Error
set 8, (ix+127), h ; Error
set 8, (ix+127), h ; Error
set 8, (ix+127), l ; Error
set 8, (ix+127), l ; Error
set 8, (ix-128) ; Error
set 8, (ix-128) ; Error
set 8, (ix-128), a ; Error
set 8, (ix-128), a ; Error
set 8, (ix-128), b ; Error
set 8, (ix-128), b ; Error
set 8, (ix-128), c ; Error
set 8, (ix-128), c ; Error
set 8, (ix-128), d ; Error
set 8, (ix-128), d ; Error
set 8, (ix-128), e ; Error
set 8, (ix-128), e ; Error
set 8, (ix-128), h ; Error
set 8, (ix-128), h ; Error
set 8, (ix-128), l ; Error
set 8, (ix-128), l ; Error
set 8, (iy) ; Error
set 8, (iy) ; Error
set 8, (iy), a ; Error
set 8, (iy), a ; Error
set 8, (iy), b ; Error
set 8, (iy), b ; Error
set 8, (iy), c ; Error
set 8, (iy), c ; Error
set 8, (iy), d ; Error
set 8, (iy), d ; Error
set 8, (iy), e ; Error
set 8, (iy), e ; Error
set 8, (iy), h ; Error
set 8, (iy), h ; Error
set 8, (iy), l ; Error
set 8, (iy), l ; Error
set 8, (iy+127) ; Error
set 8, (iy+127) ; Error
set 8, (iy+127), a ; Error
set 8, (iy+127), a ; Error
set 8, (iy+127), b ; Error
set 8, (iy+127), b ; Error
set 8, (iy+127), c ; Error
set 8, (iy+127), c ; Error
set 8, (iy+127), d ; Error
set 8, (iy+127), d ; Error
set 8, (iy+127), e ; Error
set 8, (iy+127), e ; Error
set 8, (iy+127), h ; Error
set 8, (iy+127), h ; Error
set 8, (iy+127), l ; Error
set 8, (iy+127), l ; Error
set 8, (iy-128) ; Error
set 8, (iy-128) ; Error
set 8, (iy-128), a ; Error
set 8, (iy-128), a ; Error
set 8, (iy-128), b ; Error
set 8, (iy-128), b ; Error
set 8, (iy-128), c ; Error
set 8, (iy-128), c ; Error
set 8, (iy-128), d ; Error
set 8, (iy-128), d ; Error
set 8, (iy-128), e ; Error
set 8, (iy-128), e ; Error
set 8, (iy-128), h ; Error
set 8, (iy-128), h ; Error
set 8, (iy-128), l ; Error
set 8, (iy-128), l ; Error
set 8, a ; Error
set 8, a ; Error
set 8, a' ; Error
set 8, a' ; Error
set 8, b ; Error
set 8, b ; Error
set 8, b' ; Error
set 8, b' ; Error
set 8, c ; Error
set 8, c ; Error
set 8, c' ; Error
set 8, c' ; Error
set 8, d ; Error
set 8, d ; Error
set 8, d' ; Error
set 8, d' ; Error
set 8, e ; Error
set 8, e ; Error
set 8, e' ; Error
set 8, e' ; Error
set 8, h ; Error
set 8, h ; Error
set 8, h' ; Error
set 8, h' ; Error
set 8, l ; Error
set 8, l ; Error
set 8, l' ; Error
set 8, l' ; Error
set.a -1, (hl) ; Error
set.a -1, (hl) ; Error
set.a -1, (ix) ; Error
set.a -1, (ix) ; Error
set.a -1, (ix+127) ; Error
set.a -1, (ix+127) ; Error
set.a -1, (ix-128) ; Error
set.a -1, (ix-128) ; Error
set.a -1, (iy) ; Error
set.a -1, (iy) ; Error
set.a -1, (iy+127) ; Error
set.a -1, (iy+127) ; Error
set.a -1, (iy-128) ; Error
set.a -1, (iy-128) ; Error
set.a -1, a ; Error
set.a -1, a ; Error
set.a -1, b ; Error
set.a -1, b ; Error
set.a -1, c ; Error
set.a -1, c ; Error
set.a -1, d ; Error
set.a -1, d ; Error
set.a -1, e ; Error
set.a -1, e ; Error
set.a -1, h ; Error
set.a -1, h ; Error
set.a -1, l ; Error
set.a -1, l ; Error
set.a 8, (hl) ; Error
set.a 8, (hl) ; Error
set.a 8, (ix) ; Error
set.a 8, (ix) ; Error
set.a 8, (ix+127) ; Error
set.a 8, (ix+127) ; Error
set.a 8, (ix-128) ; Error
set.a 8, (ix-128) ; Error
set.a 8, (iy) ; Error
set.a 8, (iy) ; Error
set.a 8, (iy+127) ; Error
set.a 8, (iy+127) ; Error
set.a 8, (iy-128) ; Error
set.a 8, (iy-128) ; Error
set.a 8, a ; Error
set.a 8, a ; Error
set.a 8, b ; Error
set.a 8, b ; Error
set.a 8, c ; Error
set.a 8, c ; Error
set.a 8, d ; Error
set.a 8, d ; Error
set.a 8, e ; Error
set.a 8, e ; Error
set.a 8, h ; Error
set.a 8, h ; Error
set.a 8, l ; Error
set.a 8, l ; Error
setae ; Error
setusr ; Error
shlde ; Error
shlx ; Error
sim ; Error
sla (ix), a ; Error
sla (ix), b ; Error
sla (ix), c ; Error
sla (ix), d ; Error
sla (ix), e ; Error
sla (ix), h ; Error
sla (ix), l ; Error
sla (ix+127), a ; Error
sla (ix+127), b ; Error
sla (ix+127), c ; Error
sla (ix+127), d ; Error
sla (ix+127), e ; Error
sla (ix+127), h ; Error
sla (ix+127), l ; Error
sla (ix-128), a ; Error
sla (ix-128), b ; Error
sla (ix-128), c ; Error
sla (ix-128), d ; Error
sla (ix-128), e ; Error
sla (ix-128), h ; Error
sla (ix-128), l ; Error
sla (iy), a ; Error
sla (iy), b ; Error
sla (iy), c ; Error
sla (iy), d ; Error
sla (iy), e ; Error
sla (iy), h ; Error
sla (iy), l ; Error
sla (iy+127), a ; Error
sla (iy+127), b ; Error
sla (iy+127), c ; Error
sla (iy+127), d ; Error
sla (iy+127), e ; Error
sla (iy+127), h ; Error
sla (iy+127), l ; Error
sla (iy-128), a ; Error
sla (iy-128), b ; Error
sla (iy-128), c ; Error
sla (iy-128), d ; Error
sla (iy-128), e ; Error
sla (iy-128), h ; Error
sla (iy-128), l ; Error
sla a' ; Error
sla b' ; Error
sla c' ; Error
sla d' ; Error
sla e' ; Error
sla h' ; Error
sla l' ; Error
sli (ix), a ; Error
sli (ix), b ; Error
sli (ix), c ; Error
sli (ix), d ; Error
sli (ix), e ; Error
sli (ix), h ; Error
sli (ix), l ; Error
sli (ix+127), a ; Error
sli (ix+127), b ; Error
sli (ix+127), c ; Error
sli (ix+127), d ; Error
sli (ix+127), e ; Error
sli (ix+127), h ; Error
sli (ix+127), l ; Error
sli (ix-128), a ; Error
sli (ix-128), b ; Error
sli (ix-128), c ; Error
sli (ix-128), d ; Error
sli (ix-128), e ; Error
sli (ix-128), h ; Error
sli (ix-128), l ; Error
sli (iy), a ; Error
sli (iy), b ; Error
sli (iy), c ; Error
sli (iy), d ; Error
sli (iy), e ; Error
sli (iy), h ; Error
sli (iy), l ; Error
sli (iy+127), a ; Error
sli (iy+127), b ; Error
sli (iy+127), c ; Error
sli (iy+127), d ; Error
sli (iy+127), e ; Error
sli (iy+127), h ; Error
sli (iy+127), l ; Error
sli (iy-128), a ; Error
sli (iy-128), b ; Error
sli (iy-128), c ; Error
sli (iy-128), d ; Error
sli (iy-128), e ; Error
sli (iy-128), h ; Error
sli (iy-128), l ; Error
sll (ix), a ; Error
sll (ix), b ; Error
sll (ix), c ; Error
sll (ix), d ; Error
sll (ix), e ; Error
sll (ix), h ; Error
sll (ix), l ; Error
sll (ix+127), a ; Error
sll (ix+127), b ; Error
sll (ix+127), c ; Error
sll (ix+127), d ; Error
sll (ix+127), e ; Error
sll (ix+127), h ; Error
sll (ix+127), l ; Error
sll (ix-128), a ; Error
sll (ix-128), b ; Error
sll (ix-128), c ; Error
sll (ix-128), d ; Error
sll (ix-128), e ; Error
sll (ix-128), h ; Error
sll (ix-128), l ; Error
sll (iy), a ; Error
sll (iy), b ; Error
sll (iy), c ; Error
sll (iy), d ; Error
sll (iy), e ; Error
sll (iy), h ; Error
sll (iy), l ; Error
sll (iy+127), a ; Error
sll (iy+127), b ; Error
sll (iy+127), c ; Error
sll (iy+127), d ; Error
sll (iy+127), e ; Error
sll (iy+127), h ; Error
sll (iy+127), l ; Error
sll (iy-128), a ; Error
sll (iy-128), b ; Error
sll (iy-128), c ; Error
sll (iy-128), d ; Error
sll (iy-128), e ; Error
sll (iy-128), h ; Error
sll (iy-128), l ; Error
sls (ix), a ; Error
sls (ix), b ; Error
sls (ix), c ; Error
sls (ix), d ; Error
sls (ix), e ; Error
sls (ix), h ; Error
sls (ix), l ; Error
sls (ix+127), a ; Error
sls (ix+127), b ; Error
sls (ix+127), c ; Error
sls (ix+127), d ; Error
sls (ix+127), e ; Error
sls (ix+127), h ; Error
sls (ix+127), l ; Error
sls (ix-128), a ; Error
sls (ix-128), b ; Error
sls (ix-128), c ; Error
sls (ix-128), d ; Error
sls (ix-128), e ; Error
sls (ix-128), h ; Error
sls (ix-128), l ; Error
sls (iy), a ; Error
sls (iy), b ; Error
sls (iy), c ; Error
sls (iy), d ; Error
sls (iy), e ; Error
sls (iy), h ; Error
sls (iy), l ; Error
sls (iy+127), a ; Error
sls (iy+127), b ; Error
sls (iy+127), c ; Error
sls (iy+127), d ; Error
sls (iy+127), e ; Error
sls (iy+127), h ; Error
sls (iy+127), l ; Error
sls (iy-128), a ; Error
sls (iy-128), b ; Error
sls (iy-128), c ; Error
sls (iy-128), d ; Error
sls (iy-128), e ; Error
sls (iy-128), h ; Error
sls (iy-128), l ; Error
sra (ix), a ; Error
sra (ix), b ; Error
sra (ix), c ; Error
sra (ix), d ; Error
sra (ix), e ; Error
sra (ix), h ; Error
sra (ix), l ; Error
sra (ix+127), a ; Error
sra (ix+127), b ; Error
sra (ix+127), c ; Error
sra (ix+127), d ; Error
sra (ix+127), e ; Error
sra (ix+127), h ; Error
sra (ix+127), l ; Error
sra (ix-128), a ; Error
sra (ix-128), b ; Error
sra (ix-128), c ; Error
sra (ix-128), d ; Error
sra (ix-128), e ; Error
sra (ix-128), h ; Error
sra (ix-128), l ; Error
sra (iy), a ; Error
sra (iy), b ; Error
sra (iy), c ; Error
sra (iy), d ; Error
sra (iy), e ; Error
sra (iy), h ; Error
sra (iy), l ; Error
sra (iy+127), a ; Error
sra (iy+127), b ; Error
sra (iy+127), c ; Error
sra (iy+127), d ; Error
sra (iy+127), e ; Error
sra (iy+127), h ; Error
sra (iy+127), l ; Error
sra (iy-128), a ; Error
sra (iy-128), b ; Error
sra (iy-128), c ; Error
sra (iy-128), d ; Error
sra (iy-128), e ; Error
sra (iy-128), h ; Error
sra (iy-128), l ; Error
sra a' ; Error
sra b' ; Error
sra c' ; Error
sra d' ; Error
sra e' ; Error
sra h' ; Error
sra l' ; Error
srl (ix), a ; Error
srl (ix), b ; Error
srl (ix), c ; Error
srl (ix), d ; Error
srl (ix), e ; Error
srl (ix), h ; Error
srl (ix), l ; Error
srl (ix+127), a ; Error
srl (ix+127), b ; Error
srl (ix+127), c ; Error
srl (ix+127), d ; Error
srl (ix+127), e ; Error
srl (ix+127), h ; Error
srl (ix+127), l ; Error
srl (ix-128), a ; Error
srl (ix-128), b ; Error
srl (ix-128), c ; Error
srl (ix-128), d ; Error
srl (ix-128), e ; Error
srl (ix-128), h ; Error
srl (ix-128), l ; Error
srl (iy), a ; Error
srl (iy), b ; Error
srl (iy), c ; Error
srl (iy), d ; Error
srl (iy), e ; Error
srl (iy), h ; Error
srl (iy), l ; Error
srl (iy+127), a ; Error
srl (iy+127), b ; Error
srl (iy+127), c ; Error
srl (iy+127), d ; Error
srl (iy+127), e ; Error
srl (iy+127), h ; Error
srl (iy+127), l ; Error
srl (iy-128), a ; Error
srl (iy-128), b ; Error
srl (iy-128), c ; Error
srl (iy-128), d ; Error
srl (iy-128), e ; Error
srl (iy-128), h ; Error
srl (iy-128), l ; Error
srl a' ; Error
srl b' ; Error
srl c' ; Error
srl d' ; Error
srl e' ; Error
srl h' ; Error
srl l' ; Error
stop ; Error
sub a', (hl) ; Error
sub a', (ix) ; Error
sub a', (ix+127) ; Error
sub a', (ix-128) ; Error
sub a', (iy) ; Error
sub a', (iy+127) ; Error
sub a', (iy-128) ; Error
sub a', -128 ; Error
sub a', 127 ; Error
sub a', 255 ; Error
sub a', a ; Error
sub a', b ; Error
sub a', c ; Error
sub a', d ; Error
sub a', e ; Error
sub a', h ; Error
sub a', l ; Error
sub a, ixh ; Error
sub a, ixl ; Error
sub a, iyh ; Error
sub a, iyl ; Error
sub ixh ; Error
sub ixl ; Error
sub iyh ; Error
sub iyl ; Error
sures ; Error
swap (hl) ; Error
swap a ; Error
swap b ; Error
swap c ; Error
swap d ; Error
swap e ; Error
swap h ; Error
swap l ; Error
swapnib ; Error
syscall ; Error
uma ; Error
ums ; Error
xor a', (hl) ; Error
xor a', (ix) ; Error
xor a', (ix+127) ; Error
xor a', (ix-128) ; Error
xor a', (iy) ; Error
xor a', (iy+127) ; Error
xor a', (iy-128) ; Error
xor a', -128 ; Error
xor a', 127 ; Error
xor a', 255 ; Error
xor a', a ; Error
xor a', b ; Error
xor a', c ; Error
xor a', d ; Error
xor a', e ; Error
xor a', h ; Error
xor a', l ; Error
xor a, ixh ; Error
xor a, ixl ; Error
xor a, iyh ; Error
xor a, iyl ; Error
xor ixh ; Error
xor ixl ; Error
xor iyh ; Error
xor iyl ; Error
| 39.994524 | 39 | 0.371204 |
04ea5fec4c27a357f3ff0f092c284640b872a764 | 278 | java | Java | work4j-model/src/main/java/io/imast/work4j/model/iterate/IterationStatus.java | imastio/work4j | 32184ddfb566f1c982ea6400d37c0f3fe6a64e1f | [
"Apache-2.0"
] | null | null | null | work4j-model/src/main/java/io/imast/work4j/model/iterate/IterationStatus.java | imastio/work4j | 32184ddfb566f1c982ea6400d37c0f3fe6a64e1f | [
"Apache-2.0"
] | null | null | null | work4j-model/src/main/java/io/imast/work4j/model/iterate/IterationStatus.java | imastio/work4j | 32184ddfb566f1c982ea6400d37c0f3fe6a64e1f | [
"Apache-2.0"
] | null | null | null | package io.imast.work4j.model.iterate;
/**
* The status of iteration
*
* @author davitp
*/
public enum IterationStatus {
/**
* The job iteration is successful
*/
SUCCESS,
/**
* The job iteration is not successful
*/
FAILURE
}
| 13.9 | 42 | 0.57554 |
a2068d710c1aa10887d741abfde86be87ede6fa2 | 534 | sql | SQL | gx/gx-core/src/main/resources/db/graphenee/migration/h2/V15__Graphenee.sql | subanzafar/graphenee | b35a8d1d2e6d83a646f8049ee3cd4cd61379fbe3 | [
"Apache-2.0"
] | 12 | 2018-05-21T04:08:27.000Z | 2021-11-29T10:55:27.000Z | gx/gx-core/src/main/resources/db/graphenee/migration/h2/V15__Graphenee.sql | subanzafar/graphenee | b35a8d1d2e6d83a646f8049ee3cd4cd61379fbe3 | [
"Apache-2.0"
] | 29 | 2018-05-10T09:41:19.000Z | 2022-02-22T04:41:31.000Z | gx/gx-core/src/main/resources/db/graphenee/migration/h2/V15__Graphenee.sql | subanzafar/graphenee | b35a8d1d2e6d83a646f8049ee3cd4cd61379fbe3 | [
"Apache-2.0"
] | 27 | 2018-05-10T10:04:19.000Z | 2022-03-29T09:34:32.000Z | drop table gx_registered_device;
drop table gx_mobile_application;
create table gx_registered_device (
oid integer identity not null,
system_name varchar(50),
device_token varchar(200),
is_tablet boolean not null default false,
brand varchar(50),
is_active boolean not null default true,
owner_id varchar(100),
oid_namespace integer not null,
foreign key(oid_namespace) references gx_namespace(oid) on delete restrict on update cascade,
primary key(oid)
);
create index owner_id_index on gx_registered_device(owner_id); | 31.411765 | 94 | 0.808989 |
6a7d99401efadc40620278c001b96ad6948b1475 | 2,455 | kt | Kotlin | jedi-academy-admin-webapp/src/main/kotlin/com/jediacademyadmin/WebSocketClientConfig.kt | javaboybr/jedi-academy-web-admin | c8fb7a36a5ae83f6053835a22eb4d7e3eb7d915f | [
"MIT"
] | null | null | null | jedi-academy-admin-webapp/src/main/kotlin/com/jediacademyadmin/WebSocketClientConfig.kt | javaboybr/jedi-academy-web-admin | c8fb7a36a5ae83f6053835a22eb4d7e3eb7d915f | [
"MIT"
] | null | null | null | jedi-academy-admin-webapp/src/main/kotlin/com/jediacademyadmin/WebSocketClientConfig.kt | javaboybr/jedi-academy-web-admin | c8fb7a36a5ae83f6053835a22eb4d7e3eb7d915f | [
"MIT"
] | null | null | null | package com.jediacademyadmin
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.messaging.converter.MappingJackson2MessageConverter
import org.springframework.scheduling.TaskScheduler
import org.springframework.scheduling.concurrent.ConcurrentTaskScheduler
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler
import org.springframework.web.socket.client.WebSocketClient
import org.springframework.web.socket.client.standard.StandardWebSocketClient
import org.springframework.web.socket.messaging.WebSocketStompClient
import org.springframework.web.socket.sockjs.client.SockJsClient
import org.springframework.web.socket.sockjs.client.Transport
import org.springframework.web.socket.sockjs.client.WebSocketTransport
import java.util.*
@Configuration
class WebSocketClientConfig {
// @Bean
// fun requestMessage(randomStringGenerator: RandomStringGenerator): FactoryBean<RequestMessage> {
// return object : FactoryBean<RequestMessage> {
// override fun getObject(): RequestMessage {
// return RequestMessage(randomStringGenerator.generateByRegex("\\w+\\d*\\s[0-9]{0,3}X"))
// }
//
// override fun getObjectType(): Class<*> {
// return RequestMessage::class.java
// }
//
// override fun isSingleton(): Boolean {
// return false
// }
// }
// }
// @Bean
// fun randomStringGenerator(): RandomStringGenerator {
// return RandomStringGenerator()
// }
@Bean
fun webSocketClient(): WebSocketClient {
val transports: MutableList<Transport> = ArrayList(1)
transports.add(WebSocketTransport(StandardWebSocketClient()))
return SockJsClient(transports)
}
@Bean
fun webSocketStompClient(webSocketClient: WebSocketClient): WebSocketStompClient {
val stompClient = WebSocketStompClient(webSocketClient)
stompClient.messageConverter = MappingJackson2MessageConverter()
stompClient.taskScheduler = ConcurrentTaskScheduler()
return stompClient
}
@Bean
fun taskScheduler(): TaskScheduler {
val scheduler: ThreadPoolTaskScheduler = ThreadPoolTaskScheduler()
scheduler.setPoolSize(1)
scheduler.setThreadNamePrefix("scheduled-task-")
scheduler.setDaemon(true)
return scheduler
}
}
| 37.19697 | 104 | 0.728717 |
5c8f1dc9656d39f1bc2b0a21157179c8fcc20820 | 333 | asm | Assembly | commands/help.asm | alexbelm48/AtieDOS | 89e10732870ea0cb0d665974966cc19753fe6698 | [
"BSD-3-Clause"
] | 33 | 2020-03-14T16:42:25.000Z | 2022-01-15T21:04:01.000Z | commands/help.asm | alexbelm48/AtieDOS | 89e10732870ea0cb0d665974966cc19753fe6698 | [
"BSD-3-Clause"
] | 1 | 2020-03-18T11:35:36.000Z | 2020-03-18T11:35:36.000Z | commands/help.asm | alexbelm48/AtieDOS | 89e10732870ea0cb0d665974966cc19753fe6698 | [
"BSD-3-Clause"
] | 6 | 2020-03-15T09:55:26.000Z | 2021-07-06T13:47:43.000Z | ; AtieDOS 2.10 Help Command
; Copyright (c) 2020 AtieSoftware. All rights reserved.
; See LICENSE in the root folder
command_help:
call os_command_init
mov bx, .HELP_COMMANDS
call os_print_string
call os_command_finish
.HELP_COMMANDS: db "about chset clear echo help pause prompt restart shutdown stra write",0
| 20.8125 | 91 | 0.756757 |
d284f7bb9dc58914bffcfdbf628833b195de3ee4 | 636 | php | PHP | database/migrations/2016_10_28_082309_create_m_jawaban_table.php | edhosan/sipenangkis | 366b4e8fc6957ec8b0dddbe3936be538ae465892 | [
"MIT"
] | null | null | null | database/migrations/2016_10_28_082309_create_m_jawaban_table.php | edhosan/sipenangkis | 366b4e8fc6957ec8b0dddbe3936be538ae465892 | [
"MIT"
] | null | null | null | database/migrations/2016_10_28_082309_create_m_jawaban_table.php | edhosan/sipenangkis | 366b4e8fc6957ec8b0dddbe3936be538ae465892 | [
"MIT"
] | null | null | null | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateMJawabanTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('m_jawaban', function(Blueprint $table)
{
$table->increments('id');
$table->string('name', 200);
$table->integer('nilai')->unsigned();
$table->integer('m_indikator_id')->unsigned()->index('m_jawaban_m_indikator_id_foreign');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('m_jawaban');
}
}
| 17.189189 | 92 | 0.65566 |
2553fd99580d9eda3a9c182216e7baf7b481b78a | 268 | asm | Assembly | solutions/34 - Seek and Destroy 1/size-8_speed-22.asm | behrmann/7billionhumans | 36d53daf278ef4f3729bc5cba2f2398d5411bd6d | [
"MIT"
] | 45 | 2018-09-05T04:56:59.000Z | 2021-11-22T08:57:26.000Z | solutions/34 - Seek and Destroy 1/size-8_speed-22.asm | behrmann/7billionhumans | 36d53daf278ef4f3729bc5cba2f2398d5411bd6d | [
"MIT"
] | 36 | 2018-09-01T11:34:26.000Z | 2021-05-19T23:20:49.000Z | solutions/34 - Seek and Destroy 1/size-8_speed-22.asm | behrmann/7billionhumans | 36d53daf278ef4f3729bc5cba2f2398d5411bd6d | [
"MIT"
] | 36 | 2018-09-01T07:44:19.000Z | 2021-09-10T19:07:35.000Z | -- 7 Billion Humans (2087) --
-- 34: Seek and Destroy 1 --
-- Author: landfillbaby
-- Size: 8
-- Speed: 22
mem2 = nearest shredder
a:
step n
if c < mem1 or
mem1 != datacube and
c == datacube:
mem1 = set c
endif
if n != wall:
jump a
endif
pickup mem1
giveto mem2
| 12.761905 | 29 | 0.645522 |
f414248ee2c93b2d17df3326861f48799d2cd576 | 1,241 | go | Go | cmd/dispatcher/main.go | adilku/dispatcher | ef844af6bfad8442d35603374bb3c65397a508b6 | [
"MIT"
] | null | null | null | cmd/dispatcher/main.go | adilku/dispatcher | ef844af6bfad8442d35603374bb3c65397a508b6 | [
"MIT"
] | null | null | null | cmd/dispatcher/main.go | adilku/dispatcher | ef844af6bfad8442d35603374bb3c65397a508b6 | [
"MIT"
] | null | null | null | package main
import (
"encoding/json"
"github.com/slack-go/slack"
"io/ioutil"
"log"
"os"
"sync"
)
//type messages
type channel struct {
Text string `json:"text"`
ChanName string `json:"channel"`
}
type messages struct {
BotToken string `json:"bot_token"`
Channels []channel `json:"channels"`
}
func sendToChan(wg *sync.WaitGroup, mutex *sync.Mutex, chanName string, text string, api *slack.Client) {
defer wg.Done()
mutex.Lock()
log.Println("starting send")
_, _, err := api.PostMessage(chanName, slack.MsgOptionText(text, false))
if err != nil {
log.Println("cant send message", err)
}
log.Println("send finished")
mutex.Unlock()
}
func main() {
file, err := os.Open(os.Args[1]);
if err != nil {
log.Fatal(err)
}
bytes, err := ioutil.ReadAll(file)
mess := messages{}
err = json.Unmarshal(bytes, &mess)
if err != nil {
log.Fatal(err)
}
api := slack.New(mess.BotToken)
wg := &sync.WaitGroup{}
AllChannels := make(map[string]*sync.Mutex)
for _, channel := range mess.Channels {
if _, ok := AllChannels[channel.ChanName]; !ok {
AllChannels[channel.ChanName] = &sync.Mutex{}
}
wg.Add(1)
go sendToChan(wg, AllChannels[channel.ChanName], channel.ChanName, channel.Text, api)
}
wg.Wait()
} | 21.396552 | 105 | 0.671233 |
2d4c5d34816b6a04ac4544bec23ecc2c618892c9 | 2,305 | sql | SQL | predavanja/primeri-java-EE/src/p0885DbHibernateAnnot/SQL/ProdavnicaDump.sql | PmfBlBP2/BP2 | 1899016586f4aa55839a50af1cc698ecafe91398 | [
"MIT"
] | null | null | null | predavanja/primeri-java-EE/src/p0885DbHibernateAnnot/SQL/ProdavnicaDump.sql | PmfBlBP2/BP2 | 1899016586f4aa55839a50af1cc698ecafe91398 | [
"MIT"
] | 1 | 2019-05-05T12:08:32.000Z | 2020-04-19T07:55:13.000Z | predavanja/primeri-java-EE/src/p0885DbHibernateAnnot/SQL/ProdavnicaDump.sql | PmfBlBP2/BP2 | 1899016586f4aa55839a50af1cc698ecafe91398 | [
"MIT"
] | null | null | null | CREATE DATABASE IF NOT EXISTS `prodavnica` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `prodavnica`;
-- MySQL dump 10.13 Distrib 5.5.16, for Win32 (x86)
--
-- Host: 127.0.0.1 Database: prodavnica
-- ------------------------------------------------------
-- Server version 5.5.32
/*!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 `proizvod`
--
DROP TABLE IF EXISTS `proizvod`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `proizvod` (
`ProizvodId` int(11) NOT NULL AUTO_INCREMENT,
`Naziv` varchar(45) DEFAULT NULL,
`Kolicina` int(11) DEFAULT NULL,
`JedinicaMjere` varchar(45) DEFAULT NULL,
PRIMARY KEY (`ProizvodId`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `proizvod`
--
LOCK TABLES `proizvod` WRITE;
/*!40000 ALTER TABLE `proizvod` DISABLE KEYS */;
INSERT INTO `proizvod` VALUES (1,'Cokolada',300,'komad'),(3,'Mleko',400,'l'),(4,'Hleb',900,'kg'),(6,'Pivo',1000,'flasa'),(7,'Ulje',200,'litar');
/*!40000 ALTER TABLE `proizvod` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Dumping events for database 'prodavnica'
--
--
-- Dumping routines for database 'prodavnica'
--
/*!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 2014-05-21 22:28:03
| 36.015625 | 144 | 0.703254 |
f02f4e1f7df53040bb2247eb8bc8db48f7b3454e | 9,283 | py | Python | hnn_core/tests/test_dipole.py | mkhalil8/hnn-core | a761e248ddf360710dd60638269f70361f5d6cb3 | [
"BSD-3-Clause"
] | null | null | null | hnn_core/tests/test_dipole.py | mkhalil8/hnn-core | a761e248ddf360710dd60638269f70361f5d6cb3 | [
"BSD-3-Clause"
] | null | null | null | hnn_core/tests/test_dipole.py | mkhalil8/hnn-core | a761e248ddf360710dd60638269f70361f5d6cb3 | [
"BSD-3-Clause"
] | null | null | null | import os.path as op
from urllib.request import urlretrieve
import matplotlib
import numpy as np
from numpy.testing import assert_allclose
import pytest
import hnn_core
from hnn_core import read_params, read_dipole, average_dipoles
from hnn_core import Network, jones_2009_model
from hnn_core.viz import plot_dipole
from hnn_core.dipole import Dipole, simulate_dipole, _rmse
from hnn_core.parallel_backends import requires_mpi4py, requires_psutil
matplotlib.use('agg')
def test_dipole(tmpdir, run_hnn_core_fixture):
"""Test dipole object."""
hnn_core_root = op.dirname(hnn_core.__file__)
params_fname = op.join(hnn_core_root, 'param', 'default.json')
dpl_out_fname = tmpdir.join('dpl1.txt')
params = read_params(params_fname)
times = np.arange(0, 6000 * params['dt'], params['dt'])
data = np.random.random((6000, 3))
dipole = Dipole(times, data)
dipole._baseline_renormalize(params['N_pyr_x'], params['N_pyr_y'])
dipole._convert_fAm_to_nAm()
# test smoothing and scaling
dipole_raw = dipole.copy()
dipole.scale(params['dipole_scalefctr'])
dipole.smooth(window_len=params['dipole_smooth_win'])
with pytest.raises(AssertionError):
assert_allclose(dipole.data['agg'], dipole_raw.data['agg'])
assert_allclose(dipole.data['agg'],
(params['dipole_scalefctr'] * dipole_raw.smooth(
params['dipole_smooth_win']).data['agg']))
dipole.plot(show=False)
plot_dipole([dipole, dipole], show=False)
# Test IO
dipole.write(dpl_out_fname)
dipole_read = read_dipole(dpl_out_fname)
assert_allclose(dipole_read.times, dipole.times, rtol=0, atol=0.00051)
for dpl_key in dipole.data.keys():
assert_allclose(dipole_read.data[dpl_key],
dipole.data[dpl_key], rtol=0, atol=0.000051)
# average two identical dipole objects
dipole_avg = average_dipoles([dipole, dipole_read])
for dpl_key in dipole_avg.data.keys():
assert_allclose(dipole_read.data[dpl_key],
dipole_avg.data[dpl_key], rtol=0, atol=0.000051)
with pytest.raises(ValueError, match="Dipole at index 0 was already an "
"average of 2 trials"):
dipole_avg = average_dipoles([dipole_avg, dipole_read])
# average an n_of_1 dipole list
single_dpl_avg = average_dipoles([dipole])
for dpl_key in single_dpl_avg.data.keys():
assert_allclose(
dipole_read.data[dpl_key],
single_dpl_avg.data[dpl_key],
rtol=0,
atol=0.000051)
# average dipole list with one dipole object and a zero dipole object
n_times = len(dipole_read.data['agg'])
dpl_null = Dipole(np.zeros(n_times, ), np.zeros((n_times, 3)))
dpl_1 = [dipole, dpl_null]
dpl_avg = average_dipoles(dpl_1)
for dpl_key in dpl_avg.data.keys():
assert_allclose(dpl_1[0].data[dpl_key] / 2., dpl_avg.data[dpl_key])
# Test experimental dipole
dipole_exp = Dipole(times, data[:, 1])
dipole_exp.write(dpl_out_fname)
dipole_exp_read = read_dipole(dpl_out_fname)
assert_allclose(dipole_exp.data['agg'], dipole_exp_read.data['agg'],
rtol=1e-2)
dipole_exp_avg = average_dipoles([dipole_exp, dipole_exp])
assert_allclose(dipole_exp.data['agg'], dipole_exp_avg.data['agg'])
# XXX all below to be deprecated in 0.3
dpls_raw, net = run_hnn_core_fixture(backend='joblib', n_jobs=1,
reduced=True, record_isoma=True,
record_vsoma=True)
# test deprecation of postproc
with pytest.warns(DeprecationWarning,
match='The postproc-argument is deprecated'):
dpls, _ = run_hnn_core_fixture(backend='joblib', n_jobs=1,
reduced=True, record_isoma=True,
record_vsoma=True, postproc=True)
with pytest.raises(AssertionError):
assert_allclose(dpls[0].data['agg'], dpls_raw[0].data['agg'])
dpls_raw[0]._post_proc(net._params['dipole_smooth_win'],
net._params['dipole_scalefctr'])
assert_allclose(dpls_raw[0].data['agg'], dpls[0].data['agg'])
def test_dipole_simulation():
"""Test data produced from simulate_dipole() call."""
hnn_core_root = op.dirname(hnn_core.__file__)
params_fname = op.join(hnn_core_root, 'param', 'default.json')
params = read_params(params_fname)
params.update({'N_pyr_x': 3,
'N_pyr_y': 3,
'dipole_smooth_win': 5,
't_evprox_1': 5,
't_evdist_1': 10,
't_evprox_2': 20})
net = jones_2009_model(params, add_drives_from_params=True)
with pytest.raises(ValueError, match="Invalid number of simulations: 0"):
simulate_dipole(net, tstop=25., n_trials=0)
with pytest.raises(TypeError, match="record_vsoma must be bool, got int"):
simulate_dipole(net, tstop=25., n_trials=1, record_vsoma=0)
with pytest.raises(TypeError, match="record_isoma must be bool, got int"):
simulate_dipole(net, tstop=25., n_trials=1, record_vsoma=False,
record_isoma=0)
# test Network.copy() returns 'bare' network after simulating
dpl = simulate_dipole(net, tstop=25., n_trials=1)[0]
net_copy = net.copy()
assert len(net_copy.external_drives['evprox1']['events']) == 0
# test that Dipole.copy() returns the expected exact copy
assert_allclose(dpl.data['agg'], dpl.copy().data['agg'])
with pytest.warns(UserWarning, match='No connections'):
net = Network(params)
# warning triggered on simulate_dipole()
simulate_dipole(net, tstop=0.1, n_trials=1)
# Smoke test for raster plot with no spikes
net.cell_response.plot_spikes_raster()
@requires_mpi4py
@requires_psutil
def test_cell_response_backends(run_hnn_core_fixture):
"""Test cell_response outputs across backends."""
# reduced simulation has n_trials=2
trial_idx, n_trials, gid = 0, 2, 7
_, joblib_net = run_hnn_core_fixture(backend='joblib', n_jobs=1,
reduced=True, record_isoma=True,
record_vsoma=True)
_, mpi_net = run_hnn_core_fixture(backend='mpi', n_procs=2, reduced=True,
record_isoma=True, record_vsoma=True)
n_times = len(joblib_net.cell_response.times)
assert len(joblib_net.cell_response.vsoma) == n_trials
assert len(joblib_net.cell_response.isoma) == n_trials
assert len(joblib_net.cell_response.vsoma[trial_idx][gid]) == n_times
assert len(joblib_net.cell_response.isoma[
trial_idx][gid]['soma_gabaa']) == n_times
assert len(mpi_net.cell_response.vsoma) == n_trials
assert len(mpi_net.cell_response.isoma) == n_trials
assert len(mpi_net.cell_response.vsoma[trial_idx][gid]) == n_times
assert len(mpi_net.cell_response.isoma[
trial_idx][gid]['soma_gabaa']) == n_times
assert mpi_net.cell_response.vsoma == joblib_net.cell_response.vsoma
assert mpi_net.cell_response.isoma == joblib_net.cell_response.isoma
# Test if spike time falls within depolarization window above v_thresh
v_thresh = 0.0
times = np.array(joblib_net.cell_response.times)
spike_times = np.array(joblib_net.cell_response.spike_times[trial_idx])
spike_gids = np.array(joblib_net.cell_response.spike_gids[trial_idx])
vsoma = np.array(joblib_net.cell_response.vsoma[trial_idx][gid])
v_mask = vsoma > v_thresh
assert np.all([spike_times[spike_gids == gid] > times[v_mask][0],
spike_times[spike_gids == gid] < times[v_mask][-1]])
# test that event times before and after simulation are the same
for drive_name, drive in joblib_net.external_drives.items():
gid_ran = joblib_net.gid_ranges[drive_name]
for idx_drive, event_times in enumerate(drive['events'][trial_idx]):
net_ets = [spike_times[i] for i, g in enumerate(spike_gids) if
g == gid_ran[idx_drive]]
assert_allclose(np.array(event_times), np.array(net_ets))
def test_rmse():
"""Test to check RMSE calculation"""
data_url = ('https://raw.githubusercontent.com/jonescompneurolab/hnn/'
'master/data/MEG_detection_data/yes_trial_S1_ERP_all_avg.txt')
if not op.exists('yes_trial_S1_ERP_all_avg.txt'):
urlretrieve(data_url, 'yes_trial_S1_ERP_all_avg.txt')
extdata = np.loadtxt('yes_trial_S1_ERP_all_avg.txt')
exp_dpl = Dipole(times=extdata[:, 0],
data=np.c_[extdata[:, 1], extdata[:, 1], extdata[:, 1]])
hnn_core_root = op.join(op.dirname(hnn_core.__file__))
params_fname = op.join(hnn_core_root, 'param', 'default.json')
params = read_params(params_fname)
expected_rmse = 0.1
test_dpl = Dipole(times=extdata[:, 0],
data=np.c_[extdata[:, 1] + expected_rmse,
extdata[:, 1] + expected_rmse,
extdata[:, 1] + expected_rmse])
avg_rmse = _rmse(test_dpl, exp_dpl, tstop=params['tstop'])
assert_allclose(avg_rmse, expected_rmse)
| 43.378505 | 78 | 0.660885 |
e072f2a3c18579f4b62bdc93eaeda5a6d3555d04 | 1,534 | swift | Swift | tips/ViewController.swift | jjoseph3975/tips | 523fdeb3875b5e16256a490737df2bda54fceb45 | [
"Apache-2.0"
] | null | null | null | tips/ViewController.swift | jjoseph3975/tips | 523fdeb3875b5e16256a490737df2bda54fceb45 | [
"Apache-2.0"
] | 1 | 2015-12-31T20:01:19.000Z | 2016-01-01T01:12:19.000Z | tips/ViewController.swift | jjoseph3975/Tips | 523fdeb3875b5e16256a490737df2bda54fceb45 | [
"Apache-2.0"
] | null | null | null | //
// ViewController.swift
// tips
//
// Created by Justin Joseph on 12/15/15.
// Copyright © 2015 Justin. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var totalLabel: UILabel!
@IBOutlet weak var billField: UITextField!
@IBOutlet weak var tipLabel: UILabel!
@IBOutlet weak var tipControl: UISegmentedControl!
var tipRate = 0.18
var tipIndex = 0
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
tipLabel.text = "$0.00"
totalLabel.text = "$0.00"
self.title = "Tip Calculator"
let defaults = NSUserDefaults.standardUserDefaults()
tipRate = defaults.doubleForKey("default_tip_rate")
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
@IBAction func onEditingChanged(sender: AnyObject) {
var tipPercentages = [0.18, 0.20, 0.22]
tipRate = tipPercentages[tipControl.selectedSegmentIndex]
var billAmount = NSString(string: billField.text!).doubleValue
var tipAmount = billAmount * tipRate
var total = billAmount + tipAmount
tipLabel.text = String(format: "$%.2f", tipAmount)
totalLabel.text = String(format: "$%.2f", total)
}
@IBAction func onTap(sender: AnyObject) {
view.endEditing(true)
}
}
| 27.392857 | 80 | 0.640808 |
264524f37414b90a3984e844d79c28d36224956e | 1,922 | java | Java | java/src/main/java/com/cloudera/api/model/ApiBulkCommandList.java | cloudsoft/cm_api | 85c7179044188c785c793a649677a22e427d2924 | [
"Apache-2.0"
] | 329 | 2015-01-06T15:41:14.000Z | 2022-03-12T15:28:20.000Z | java/src/main/java/com/cloudera/api/model/ApiBulkCommandList.java | cloudsoft/cm_api | 85c7179044188c785c793a649677a22e427d2924 | [
"Apache-2.0"
] | 58 | 2015-02-10T11:43:42.000Z | 2021-01-20T23:05:55.000Z | java/src/main/java/com/cloudera/api/model/ApiBulkCommandList.java | cloudsoft/cm_api | 85c7179044188c785c793a649677a22e427d2924 | [
"Apache-2.0"
] | 257 | 2015-01-15T10:57:20.000Z | 2022-03-09T12:13:57.000Z | // Licensed to Cloudera, Inc. under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. Cloudera, Inc. licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package com.cloudera.api.model;
import com.google.common.base.Objects;
import com.google.common.collect.Lists;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;
/**
* A list of commands.
* <p>
* This list is returned whenever commands are issued in bulk, and contains a
* second list with information about errors issuing specific commands.
*/
@XmlRootElement(name = "bulkCommandList")
public class ApiBulkCommandList extends ApiCommandList {
private List<String> errors;
public ApiBulkCommandList() {
this.errors = Lists.newArrayList();
}
/** Errors that occurred when issuing individual commands. */
@XmlElementWrapper(name = "errors")
public List<String> getErrors() {
return errors;
}
public boolean equals(Object o) {
if (!super.equals(o)) {
return false;
}
ApiBulkCommandList that = (ApiBulkCommandList) o;
return Objects.equal(errors, that.getErrors());
}
public int hashCode() {
return 31 * super.hashCode() + Objects.hashCode(errors);
}
}
| 31.508197 | 77 | 0.738293 |
2d9b88ce9382aa6d74a351817a0f319d126c5958 | 2,704 | html | HTML | website/templates/input.html | wmvoje/pungent | 6d50052236ccd0ead7a9492ef1d42263b8221273 | [
"MIT"
] | null | null | null | website/templates/input.html | wmvoje/pungent | 6d50052236ccd0ead7a9492ef1d42263b8221273 | [
"MIT"
] | 1 | 2022-02-12T03:06:12.000Z | 2022-02-12T03:06:12.000Z | website/templates/input.html | wmvoje/pungent | 6d50052236ccd0ead7a9492ef1d42263b8221273 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Pungent - a topical pun generator</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark static-top">
<div class="container">
<a class="navbar-brand" href="#">Pungent</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Home
<span class="sr-only">(current)</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Page Content -->
<div class="container">
<form action="/output" method="GET">
<div class="row">
<div class="col-lg-12 text-center">
<h1 class="mt-5">{{title}}</h1>
<h5 class="text-left">Contextual text</h5>
<div class="media1">
<div class="media-body">
<div class="form-group" >
<textarea name="context_text" class="form-control animated" placeholder="Context text">{{text_context}}</textarea>
</div>
</div>
</div>
<h5 class="text-left">Seed sentence</h5>
<div class="input-group mb-3">
<textarea name="input_sentence" class="form-control animated" placeholder="Template sentence">{{input_sentence}}</textarea>
<div class="input-group-append">
</div>
</div>
<div class="well well-lg">
</div>
<button type="submit" class="btn btn-primary btn-lg btn-block">Generate pun</button>
</form>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
</body>
</html>
<!-- well-sm -->
| 37.555556 | 215 | 0.574334 |
d2e16fdc7334eeba9d90949d8beb750c0d7d0a1e | 514 | php | PHP | src/comparison/recipient/oboolean.php | estvoyage/risingsun | e1ae1d8497939454d230f76334375bc1246e5277 | [
"BSD-3-Clause"
] | 8 | 2015-09-14T15:14:03.000Z | 2020-04-24T20:50:09.000Z | src/comparison/recipient/oboolean.php | estvoyage/risingsun | e1ae1d8497939454d230f76334375bc1246e5277 | [
"BSD-3-Clause"
] | 1 | 2017-06-28T12:21:53.000Z | 2017-06-28T12:21:53.000Z | src/comparison/recipient/oboolean.php | estvoyage/risingsun | e1ae1d8497939454d230f76334375bc1246e5277 | [
"BSD-3-Clause"
] | null | null | null | <?php namespace estvoyage\risingsun\comparison\recipient;
use estvoyage\{ risingsun, risingsun\comparison };
class oboolean
implements
comparison\recipient
{
private
$template,
$recipient
;
function __construct(risingsun\oboolean $template, risingsun\oboolean\recipient $recipient)
{
$this->template = $template;
$this->recipient = $recipient;
}
function nbooleanIs(bool $nboolean)
{
$this->template
->recipientOfOBooleanWithNBooleanIs(
$nboolean,
$this->recipient
)
;
}
}
| 17.133333 | 92 | 0.723735 |
3996d37920facbdb1eaf99430603fc3da48c18d4 | 80 | sql | SQL | examples/sql/simple/sql/r_case.sql | DaMSL/K3 | 51749157844e76ae79dba619116fc5ad9d685643 | [
"Apache-2.0"
] | 17 | 2015-05-27T17:36:33.000Z | 2020-06-07T07:21:29.000Z | examples/sql/simple/sql/r_case.sql | DaMSL/K3 | 51749157844e76ae79dba619116fc5ad9d685643 | [
"Apache-2.0"
] | 3 | 2015-10-02T19:37:58.000Z | 2016-01-05T18:26:48.000Z | examples/sql/simple/sql/r_case.sql | DaMSL/K3 | 51749157844e76ae79dba619116fc5ad9d685643 | [
"Apache-2.0"
] | 6 | 2015-03-18T20:05:24.000Z | 2020-02-06T21:35:09.000Z | create table R(a int, b int);
select case when a > 5 then 0 else 1 end from R;
| 20 | 48 | 0.675 |
4c1b792a3883977a567dfb01c469fba933659603 | 1,063 | php | PHP | application/views/log_reg.php | Jreddysmith/quotes | 1917cf1207c589d8fe36c3cd4b345123127c2a9f | [
"MIT"
] | null | null | null | application/views/log_reg.php | Jreddysmith/quotes | 1917cf1207c589d8fe36c3cd4b345123127c2a9f | [
"MIT"
] | null | null | null | application/views/log_reg.php | Jreddysmith/quotes | 1917cf1207c589d8fe36c3cd4b345123127c2a9f | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<title>Wall</title>
</head>
<body>
<?php
if ($this->session->flashdata("errors")){
echo $this->session->flashdata("errors");
}
if ($this->session->flashdata("success_message")){
echo $this->session->flashdata("success_message");
}
?>
<fieldset style="width: 500px; font-size: 20px">
<legend>Register</legend>
<form action="/Log_in_Reg/reg" method="POST">
Name: <input type="text" name="name"><br>
alias: <input type="text" name="alias"><br>
Email: <input type="text" name="email"><br>
Password: <input type="password" name="password"><br>
Password Confirm: <input type="password" name="pass_con"><br>
Date of Birth: <input type="date" name="dob">
<input type="submit" value="Register">
</form>
</fieldset>
<fieldset style="width: 500px; font-size: 20px">
<legend>Login</legend>
<form action="/Log_in_Reg/login" method="POST">
Email: <input type="text" name="email">
Password: <input type="password" name="password">
<input type="submit" value="Login">
</form>
</fieldset>
</body>
</html>
| 27.25641 | 63 | 0.661336 |
b2f17c3de89d94e2aba8cc14a42ef09cd569851a | 41 | py | Python | tests/test_vec/__init__.py | karin0018/EduNLP | 172c36a2cd2c41a1f1c5833d7b1abcbc5e3bbd5f | [
"Apache-2.0"
] | 18 | 2021-02-15T13:10:42.000Z | 2022-03-17T12:57:34.000Z | tests/test_vec/__init__.py | karin0018/EduNLP | 172c36a2cd2c41a1f1c5833d7b1abcbc5e3bbd5f | [
"Apache-2.0"
] | 81 | 2021-06-02T07:45:20.000Z | 2022-03-29T15:21:32.000Z | tests/test_vec/__init__.py | karin0018/EduNLP | 172c36a2cd2c41a1f1c5833d7b1abcbc5e3bbd5f | [
"Apache-2.0"
] | 29 | 2021-05-18T08:34:58.000Z | 2022-03-12T00:19:09.000Z | # coding: utf-8
# 2021/5/30 @ tongshiwei
| 13.666667 | 24 | 0.658537 |
d5b4213217b9481d2efccb732515fe0cdf47d293 | 884 | h | C | Working/Game/xleres/System/LightProperties.h | alexgithubber/XLE-Another-Fork | cdd8682367d9e9fdbdda9f79d72bb5b1499cec46 | [
"MIT"
] | 1 | 2016-06-01T10:41:12.000Z | 2016-06-01T10:41:12.000Z | Working/Game/xleres/System/LightProperties.h | yorung/XLE | 083ce4c9d3fe32002ff5168e571cada2715bece4 | [
"MIT"
] | null | null | null | Working/Game/xleres/System/LightProperties.h | yorung/XLE | 083ce4c9d3fe32002ff5168e571cada2715bece4 | [
"MIT"
] | null | null | null | // Copyright 2015 XLGAMES Inc.
//
// Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
#if !defined(LIGHT_PROPERTIES_H)
#define LIGHT_PROPERTIES_H
struct DirectionalLightProperties
{
float3 negativeLightDirection;
float3 lightColor;
};
cbuffer SystemInput_Lights
{
float3 SI_NegativeLightDirection;
float3 SI_LightColor;
};
DirectionalLightProperties GetSystemStruct_DirectionalLightProperties()
{
// when using the editor, we pull these values from a system
// constants buffer. We don't have to do any extra processing,
// we just get the constants directly from the system.
DirectionalLightProperties result;
result.negativeLightDirection = SI_NegativeLightDirection;
result.lightColor = SI_LightColor;
return result;
}
#endif
| 26 | 71 | 0.754525 |
5710c71fab4275cf6e36c298912a1edeb3107b63 | 6,165 | h | C | includes/elf.h | mewbak/dynStruct | a3c2f039fbe601ff5bd7112eee98888eef12c5e7 | [
"MIT"
] | 298 | 2015-10-14T08:22:51.000Z | 2022-03-28T02:44:23.000Z | includes/elf.h | mewbak/dynStruct | a3c2f039fbe601ff5bd7112eee98888eef12c5e7 | [
"MIT"
] | 23 | 2016-06-30T04:49:32.000Z | 2019-08-11T04:26:29.000Z | includes/elf.h | mewbak/dynStruct | a3c2f039fbe601ff5bd7112eee98888eef12c5e7 | [
"MIT"
] | 36 | 2016-06-30T04:52:59.000Z | 2021-10-15T08:45:10.000Z | #ifndef ELF_H_
#define ELF_H_
// looks like dynamo doesn't care about the p_align in the elf header
// and align section with 0x1000
#define DYNAMO_ALIGN 0x1000
#include "../includes/tree.h"
#include <stdint.h>
extern tree_t *plt_tree;
#define PLT_NAME ".plt"
#define GOT_NAME ".got"
#define PT_LOAD 1
typedef struct
{
size_t sect_offset;
size_t sect_size;
size_t size_seg;
uint seg_perm;
} sect_tmp_data;
void add_plt(const module_data_t *mod, void *got, void *drcontext);
void remove_plt(const module_data_t *mod);
// Following struct, typedef and define are copied from elf.h
/* Type for a 16-bit quantity. */
typedef uint16_t Elf32_Half;
typedef uint16_t Elf64_Half;
/* Types for signed and unsigned 32-bit quantities. */
typedef uint32_t Elf32_Word;
typedef int32_t Elf32_Sword;
typedef uint32_t Elf64_Word;
typedef int32_t Elf64_Sword;
/* Types for signed and unsigned 64-bit quantities. */
typedef uint64_t Elf32_Xword;
typedef int64_t Elf32_Sxword;
typedef uint64_t Elf64_Xword;
typedef int64_t Elf64_Sxword;
/* Type of addresses. */
typedef uint32_t Elf32_Addr;
typedef uint64_t Elf64_Addr;
/* Type of file offsets. */
typedef uint32_t Elf32_Off;
typedef uint64_t Elf64_Off;
#define EI_NIDENT (16)
#define ELFMAG "\177ELF"
#define ELFCLASS32 1 /* 32-bit objects */
#define ELFCLASS64 2 /* 64-bit objects */
typedef struct{
unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */
Elf32_Half e_type; /* Object file type */
Elf32_Half e_machine; /* Architecture */
Elf32_Word e_version; /* Object file version */
Elf32_Addr e_entry; /* Entry point virtual address */
Elf32_Off e_phoff; /* Program header table file offset */
Elf32_Off e_shoff; /* Section header table file offset */
Elf32_Word e_flags; /* Processor-specific flags */
Elf32_Half e_ehsize; /* ELF header size in bytes */
Elf32_Half e_phentsize; /* Program header table entry size */
Elf32_Half e_phnum; /* Program header table entry count */
Elf32_Half e_shentsize; /* Section header table entry size */
Elf32_Half e_shnum; /* Section header table entry count */
Elf32_Half e_shstrndx; /* Section header string table index */
} Elf32_Ehdr;
typedef struct{
unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */
Elf64_Half e_type; /* Object file type */
Elf64_Half e_machine; /* Architecture */
Elf64_Word e_version; /* Object file version */
Elf64_Addr e_entry; /* Entry point virtual address */
Elf64_Off e_phoff; /* Program header table file offset */
Elf64_Off e_shoff; /* Section header table file offset */
Elf64_Word e_flags; /* Processor-specific flags */
Elf64_Half e_ehsize; /* ELF header size in bytes */
Elf64_Half e_phentsize; /* Program header table entry size */
Elf64_Half e_phnum; /* Program header table entry count */
Elf64_Half e_shentsize; /* Section header table entry size */
Elf64_Half e_shnum; /* Section header table entry count */
Elf64_Half e_shstrndx; /* Section header string table index */
} Elf64_Ehdr;
/* Section header. */
typedef struct{
Elf32_Word sh_name; /* Section name (string tbl index) */
Elf32_Word sh_type; /* Section type */
Elf32_Word sh_flags; /* Section flags */
Elf32_Addr sh_addr; /* Section virtual addr at execution */
Elf32_Off sh_offset; /* Section file offset */
Elf32_Word sh_size; /* Section size in bytes */
Elf32_Word sh_link; /* Link to another section */
Elf32_Word sh_info; /* Additional section information */
Elf32_Word sh_addralign; /* Section alignment */
Elf32_Word sh_entsize; /* Entry size if section holds table */
} Elf32_Shdr;
typedef struct{
Elf64_Word sh_name; /* Section name (string tbl index) */
Elf64_Word sh_type; /* Section type */
Elf64_Xword sh_flags; /* Section flags */
Elf64_Addr sh_addr; /* Section virtual addr at execution */
Elf64_Off sh_offset; /* Section file offset */
Elf64_Xword sh_size; /* Section size in bytes */
Elf64_Word sh_link; /* Link to another section */
Elf64_Word sh_info; /* Additional section information */
Elf64_Xword sh_addralign; /* Section alignment */
Elf64_Xword sh_entsize; /* Entry size if section holds table */
} Elf64_Shdr;
/* Program segment header. */
typedef struct{
Elf32_Word p_type; /* Segment type */
Elf32_Off p_offset; /* Segment file offset */
Elf32_Addr p_vaddr; /* Segment virtual address */
Elf32_Addr p_paddr; /* Segment physical address */
Elf32_Word p_filesz; /* Segment size in file */
Elf32_Word p_memsz; /* Segment size in memory */
Elf32_Word p_flags; /* Segment flags */
Elf32_Word p_align; /* Segment alignment */
} Elf32_Phdr;
typedef struct{
Elf64_Word p_type; /* Segment type */
Elf64_Word p_flags; /* Segment flags */
Elf64_Off p_offset; /* Segment file offset */
Elf64_Addr p_vaddr; /* Segment virtual address */
Elf64_Addr p_paddr; /* Segment physical address */
Elf64_Xword p_filesz; /* Segment size in file */
Elf64_Xword p_memsz; /* Segment size in memory */
Elf64_Xword p_align; /* Segment alignment */
} Elf64_Phdr;
#endif
| 41.1 | 79 | 0.599676 |
6d0417a2874024ff29797cc597f423075fe2ab23 | 1,462 | dart | Dart | packages/cbl_sentry/lib/src/breadcrumb_logger.dart | cbl-dart/cbl-dart | 01694fda59d1d1e47bff8aeaf717938bcecc793b | [
"Apache-2.0"
] | 25 | 2021-11-08T18:52:30.000Z | 2022-03-27T14:23:09.000Z | packages/cbl_sentry/lib/src/breadcrumb_logger.dart | cbl-dart/cbl-dart | 01694fda59d1d1e47bff8aeaf717938bcecc793b | [
"Apache-2.0"
] | 134 | 2021-10-31T17:14:25.000Z | 2022-03-31T09:24:54.000Z | packages/cbl_sentry/lib/src/breadcrumb_logger.dart | cbl-dart/cbl-dart | 01694fda59d1d1e47bff8aeaf717938bcecc793b | [
"Apache-2.0"
] | 4 | 2021-12-28T08:35:58.000Z | 2022-03-17T06:34:11.000Z | import 'package:cbl/cbl.dart';
import 'package:sentry/sentry.dart';
import 'utils.dart';
/// A [Logger] that adds a Sentry [Breadcrumb] for each log message.
///
/// This logger will add breadcrumbs of type `debug`, whose level corresponds to
/// a Couchbase Lite [LogLevel].
///
/// The [LogDomain] is used to build the category of the breadcrumb by prefixing
/// it with `cbl.`. For example, full category for a log message from the
/// [LogDomain.database] domain is `cbl.database`.
class BreadcrumbLogger extends Logger {
/// Creates a [Logger] that adds a Sentry [Breadcrumb] for each log message.
BreadcrumbLogger({LogLevel? level, Hub? hub})
: _hub = hub ?? HubAdapter(),
super(level);
final Hub _hub;
@override
void log(LogLevel level, LogDomain domain, String message) {
_hub.addBreadcrumb(Breadcrumb(
message: message,
type: 'debug',
category: 'cbl.${domain.name}',
level: level.toSentryLevel(),
));
}
}
extension _LogLevelExt on LogLevel {
SentryLevel toSentryLevel() {
switch (this) {
case LogLevel.debug:
case LogLevel.verbose:
return SentryLevel.debug;
case LogLevel.info:
return SentryLevel.info;
case LogLevel.warning:
return SentryLevel.warning;
case LogLevel.error:
return SentryLevel.error;
// coverage:ignore-start
case LogLevel.none:
unreachable();
// coverage:ignore-end
}
}
}
| 28.115385 | 80 | 0.662791 |
0bee35f5e7d937185111b5c991d6f97bf7daab7b | 533 | js | JavaScript | sql/index.js | kiwicopple/pg-json-schema-export | e793d63fb91932151f15778af77fd0fae420a69c | [
"MIT"
] | 5 | 2020-05-15T10:57:54.000Z | 2021-09-13T22:36:01.000Z | sql/index.js | kiwicopple/pg-json-schema-export | e793d63fb91932151f15778af77fd0fae420a69c | [
"MIT"
] | null | null | null | sql/index.js | kiwicopple/pg-json-schema-export | e793d63fb91932151f15778af77fd0fae420a69c | [
"MIT"
] | 2 | 2021-09-13T22:36:04.000Z | 2021-09-14T17:54:06.000Z | var fs = require('fs')
module.exports = {
getColumns: fs.readFileSync(__dirname + '/columns.sql').toString(),
getSequences: fs.readFileSync(__dirname + '/sequences.sql').toString(),
getConstraints: fs.readFileSync(__dirname + '/constraints.sql').toString(),
getTables: fs.readFileSync(__dirname + '/tables.sql').toString(),
getViews: fs.readFileSync(__dirname + '/views.sql').toString(),
getTypes: fs.readFileSync(__dirname + '/types.sql').toString(),
getJoins: fs.readFileSync(__dirname + '/joins.sql').toString(),
}
| 44.416667 | 77 | 0.716698 |
5201968b38fc7690f84505def81492345025bcd7 | 4,756 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_122_1978.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_122_1978.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_122_1978.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xb994, %r13
nop
nop
nop
xor %rbx, %rbx
movw $0x6162, (%r13)
nop
add %r13, %r13
lea addresses_D_ht+0x1b194, %rsi
lea addresses_normal_ht+0x3c54, %rdi
clflush (%rdi)
nop
nop
nop
nop
sub %r9, %r9
mov $116, %rcx
rep movsl
nop
nop
nop
nop
sub %rdi, %rdi
lea addresses_WT_ht+0x15194, %rdi
nop
nop
and %rcx, %rcx
mov $0x6162636465666768, %r13
movq %r13, (%rdi)
nop
nop
nop
nop
nop
and $39238, %r10
lea addresses_A_ht+0x16b94, %r13
clflush (%r13)
nop
nop
nop
nop
cmp $409, %r9
mov $0x6162636465666768, %rcx
movq %rcx, (%r13)
nop
nop
nop
nop
nop
and %rcx, %rcx
lea addresses_WT_ht+0x4a94, %rsi
lea addresses_normal_ht+0xde74, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
sub %rbp, %rbp
mov $47, %rcx
rep movsb
nop
nop
add $46822, %rbp
lea addresses_UC_ht+0xe092, %rsi
lea addresses_A_ht+0x6294, %rdi
cmp $21687, %rbp
mov $101, %rcx
rep movsl
sub %rbx, %rbx
lea addresses_WC_ht+0xc88c, %rsi
lea addresses_WC_ht+0x1214, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
xor %rbp, %rbp
mov $103, %rcx
rep movsl
nop
nop
nop
nop
nop
xor %rbp, %rbp
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r9
pop %r13
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r9
push %rax
push %rbp
push %rdx
push %rsi
// Load
lea addresses_normal+0x1c0b4, %rsi
nop
nop
nop
nop
xor %rbp, %rbp
movups (%rsi), %xmm4
vpextrq $0, %xmm4, %r12
nop
nop
add $26973, %rsi
// Store
lea addresses_WC+0x14b94, %r9
clflush (%r9)
nop
nop
nop
nop
nop
cmp %rax, %rax
movw $0x5152, (%r9)
nop
nop
nop
cmp $15893, %rdx
// Store
mov $0x204b960000000b5c, %rdx
clflush (%rdx)
and $7020, %r9
movl $0x51525354, (%rdx)
cmp %r9, %r9
// Load
lea addresses_D+0x18e74, %rdx
nop
nop
nop
nop
add $13202, %rsi
mov (%rdx), %r13
nop
sub $5076, %rdx
// Store
lea addresses_US+0x13514, %rax
clflush (%rax)
nop
nop
cmp %rdx, %rdx
mov $0x5152535455565758, %rsi
movq %rsi, %xmm4
vmovups %ymm4, (%rax)
sub $59295, %rbp
// Store
mov $0xbf4, %r9
nop
and $6014, %rbp
movb $0x51, (%r9)
nop
nop
nop
nop
cmp %rdx, %rdx
// Faulty Load
lea addresses_D+0x3994, %r9
nop
nop
xor %r12, %r12
movups (%r9), %xmm0
vpextrq $0, %xmm0, %rdx
lea oracles, %rsi
and $0xff, %rdx
shlq $12, %rdx
mov (%rsi,%rdx,1), %rdx
pop %rsi
pop %rdx
pop %rbp
pop %rax
pop %r9
pop %r13
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_D', 'same': False, 'size': 1, 'congruent': 0, 'NT': True, 'AVXalign': True}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_normal', 'same': False, 'size': 16, 'congruent': 5, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_WC', 'same': False, 'size': 2, 'congruent': 7, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_NC', 'same': False, 'size': 4, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_D', 'same': False, 'size': 8, 'congruent': 5, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_US', 'same': False, 'size': 32, 'congruent': 7, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_P', 'same': False, 'size': 1, 'congruent': 5, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'type': 'addresses_D', 'same': True, 'size': 16, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'dst': {'type': 'addresses_D_ht', 'same': False, 'size': 2, 'congruent': 10, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_D_ht', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_WT_ht', 'same': False, 'size': 8, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_A_ht', 'same': False, 'size': 8, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_UC_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 7, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WC_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM'}
{'36': 122}
36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36
*/
| 20.768559 | 365 | 0.646972 |
d6a00e5565258a1f2c0f0022355803c11bc16308 | 6,484 | sql | SQL | kearsipan.sql | bellamarsadewi/kearsipan | 018f76b3b05c4e36ebb6ad80a1b36486bd38e90b | [
"MIT"
] | null | null | null | kearsipan.sql | bellamarsadewi/kearsipan | 018f76b3b05c4e36ebb6ad80a1b36486bd38e90b | [
"MIT"
] | null | null | null | kearsipan.sql | bellamarsadewi/kearsipan | 018f76b3b05c4e36ebb6ad80a1b36486bd38e90b | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.7.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: 02 Mar 2018 pada 00.54
-- Versi Server: 10.1.28-MariaDB
-- PHP Version: 7.1.11
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!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 utf8mb4 */;
--
-- Database: `kearsipan`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `arsip`
--
CREATE TABLE `arsip` (
`id_arsip` int(11) NOT NULL,
`nomer_agenda` varchar(225) NOT NULL,
`nomer_arsip` varchar(225) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Struktur dari tabel `desposisi`
--
CREATE TABLE `desposisi` (
`id_despos` int(11) NOT NULL,
`pemberi_despos` varchar(200) NOT NULL,
`untuk` varchar(200) NOT NULL,
`isi_desposisi` varchar(200) NOT NULL,
`terusan` varchar(200) NOT NULL,
`status_despos` varchar(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Struktur dari tabel `kode_agenda`
--
CREATE TABLE `kode_agenda` (
`id` int(11) NOT NULL,
`no_agenda` varchar(20) NOT NULL,
`keterangan` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `kode_agenda`
--
INSERT INTO `kode_agenda` (`id`, `no_agenda`, `keterangan`) VALUES
(1, '331', 'KEPOLISIAN'),
(2, '420', 'PENDIDIKAN'),
(3, '421', 'SEKOLAH'),
(4, '421.5', 'SEKOLAH KEJURUAN'),
(5, '421.6', 'KEGIATAN SEK / PT'),
(6, '800', 'KEPEGAWAIAN'),
(7, '900', 'KEUANGAN'),
(8, '020.08', 'PENUNJUKAN'),
(9, '027.05', 'TIM / PENGADAAN'),
(10, '027.08', 'SPK / KONTRAK'),
(11, '045', 'KEARSIPAN'),
(12, '045.2', 'SURAT PENGANTAR'),
(13, '094', 'SPT ( SPPD )'),
(14, '880', 'PEMBERHENTIAN'),
(15, '979', 'BANTUAN DANA'),
(16, '510.2', 'PELELANGAN'),
(17, '423.7', 'UJIAN / IJAZAH');
-- --------------------------------------------------------
--
-- Struktur dari tabel `surat_keluar`
--
CREATE TABLE `surat_keluar` (
`id_keluar` int(11) NOT NULL,
`tgl_surat` date NOT NULL,
`kode_agenda` varchar(225) NOT NULL,
`no_surat` varchar(225) NOT NULL,
`kepada` varchar(200) NOT NULL,
`perihal` varchar(200) NOT NULL,
`pengelola` varchar(200) NOT NULL,
`foto` varchar(225) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Struktur dari tabel `surat_masuk`
--
CREATE TABLE `surat_masuk` (
`id_masuk` int(11) NOT NULL,
`tgl_surat` date NOT NULL,
`diterima_tgl` date NOT NULL,
`kode_agenda` varchar(11) NOT NULL,
`no_surat` varchar(11) NOT NULL,
`jenis_surat` varchar(225) NOT NULL,
`dari` varchar(200) NOT NULL,
`perihal` varchar(200) NOT NULL,
`pengelola` varchar(200) NOT NULL,
`foto` varchar(225) NOT NULL,
`pemberi_despos` varchar(225) NOT NULL,
`untuk` varchar(225) NOT NULL,
`isi_despos` varchar(225) NOT NULL,
`terusan` varchar(225) NOT NULL,
`status` varchar(100) NOT NULL,
`notis` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `surat_masuk`
--
INSERT INTO `surat_masuk` (`id_masuk`, `tgl_surat`, `diterima_tgl`, `kode_agenda`, `no_surat`, `jenis_surat`, `dari`, `perihal`, `pengelola`, `foto`, `pemberi_despos`, `untuk`, `isi_despos`, `terusan`, `status`, `notis`) VALUES
(10, '2017-05-23', '2017-05-25', '027.05', '420/VII/201', 'RESMI', 'kepala desa manegen', 'undangan musyawarah', 'seksi desa', 'contoh_surat_resmi.JPG', 'seksi desa', 'Dilaksanakan', 'undangan musyawarah', 'Lainnya', '0', '1'),
(11, '2013-12-24', '2013-12-26', '421', '421/SMPN1XI', 'RESMI', 'Kepala Sekolah SMP 1 SERANG', 'Undangan', 'Tata Usaha', 'surat_resmi_sekolah.jpg', 'Tata Usaha', 'Dilaksanakan', 'undangan sosialisasi beasiswa', 'KTU', '0', '0'),
(12, '2017-01-08', '2017-01-10', '421', '421/OSIS/MA', 'RESMI', 'OSIS MA AL-FATAH', 'Undangan', 'Ketua OSIS MA AL-FATAH', '', 'PEMBINA OSIS', 'Dilaksanakan', 'Undagan Maulid Nabi Muhammad SAW', 'KTU', '0', '0');
-- --------------------------------------------------------
--
-- Struktur dari tabel `user`
--
CREATE TABLE `user` (
`id` int(11) NOT NULL,
`username` varchar(200) NOT NULL,
`password` varchar(200) NOT NULL,
`level` enum('superadmin','admin','','') NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `user`
--
INSERT INTO `user` (`id`, `username`, `password`, `level`) VALUES
(1, 'admin', 'admin', 'superadmin'),
(2, 'tugas', 'tugas', 'admin');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `arsip`
--
ALTER TABLE `arsip`
ADD PRIMARY KEY (`id_arsip`);
--
-- Indexes for table `desposisi`
--
ALTER TABLE `desposisi`
ADD PRIMARY KEY (`id_despos`);
--
-- Indexes for table `kode_agenda`
--
ALTER TABLE `kode_agenda`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `surat_keluar`
--
ALTER TABLE `surat_keluar`
ADD PRIMARY KEY (`id_keluar`);
--
-- Indexes for table `surat_masuk`
--
ALTER TABLE `surat_masuk`
ADD PRIMARY KEY (`id_masuk`);
--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`username`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `arsip`
--
ALTER TABLE `arsip`
MODIFY `id_arsip` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `desposisi`
--
ALTER TABLE `desposisi`
MODIFY `id_despos` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `kode_agenda`
--
ALTER TABLE `kode_agenda`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;
--
-- AUTO_INCREMENT for table `surat_keluar`
--
ALTER TABLE `surat_keluar`
MODIFY `id_keluar` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `surat_masuk`
--
ALTER TABLE `surat_masuk`
MODIFY `id_masuk` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- Ketidakleluasaan untuk tabel pelimpahan (Dumped Tables)
--
--
-- Ketidakleluasaan untuk tabel `surat_masuk`
--
ALTER TABLE `surat_masuk`
ADD CONSTRAINT `surat_masuk_ibfk_1` FOREIGN KEY (`id_masuk`) REFERENCES `kode_agenda` (`id`);
COMMIT;
/*!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 */;
| 26.251012 | 228 | 0.640808 |
39fa5d7fe2dc65cbf068ce11c456ea7d0f7263d5 | 31 | asm | Assembly | retf.asm | uchan-nos/debugging-low-layer-distrib | 2ba7c9ced283c8bdf1aafa25f7e74b98ac766cb9 | [
"MIT"
] | 1 | 2020-03-07T21:40:10.000Z | 2020-03-07T21:40:10.000Z | retf.asm | uchan-nos/debugging-low-layer-distrib | 2ba7c9ced283c8bdf1aafa25f7e74b98ac766cb9 | [
"MIT"
] | null | null | null | retf.asm | uchan-nos/debugging-low-layer-distrib | 2ba7c9ced283c8bdf1aafa25f7e74b98ac766cb9 | [
"MIT"
] | null | null | null | bits 64
retf
o64 retf
| 6.2 | 12 | 0.548387 |
0ee413d54aebe5f09b07448f3b2b02018ba4e0a2 | 1,413 | h | C | src/d3d12gpu_sync.h | rubenpenalva/D3D12Basics | c0cac75865024b8609ac15bc21060fb0c19ace22 | [
"MIT"
] | null | null | null | src/d3d12gpu_sync.h | rubenpenalva/D3D12Basics | c0cac75865024b8609ac15bc21060fb0c19ace22 | [
"MIT"
] | 54 | 2018-01-17T02:23:14.000Z | 2019-03-12T01:49:21.000Z | src/d3d12gpu_sync.h | rubenpenalva/D3D12Basics | c0cac75865024b8609ac15bc21060fb0c19ace22 | [
"MIT"
] | null | null | null | #pragma once
// project includes
#include "d3d12basicsfwd.h"
#include "utils.h"
// windows includes
#include <windows.h>
// directx includes
#include <d3d12.h>
#define ENABLE_GPU_SYNC_DEBUG_OUTPUT (0)
#if ENABLE_GPU_SYNC_DEBUG_OUTPUT
#include <sstream>
#endif
namespace D3D12Basics
{
class D3D12GpuSynchronizer
{
public:
D3D12GpuSynchronizer(ID3D12DevicePtr device, ID3D12CommandQueuePtr cmdQueue,
unsigned int maxFramesInFlight, StopClock& waitClock);
~D3D12GpuSynchronizer();
bool Wait();
void WaitAll();
uint64_t GetLastRetiredFrameId() const { return m_waitedFenceValue; }
uint64_t GetNextFrameId() const { return m_nextFenceValue; }
private:
ID3D12CommandQueuePtr m_cmdQueue;
const uint64_t m_maxFramesInFlight;
std::vector <HANDLE> m_events;
std::vector<ID3D12FencePtr> m_fences;
unsigned int m_currentFrameIndex;
UINT64 m_waitedFenceValue;
UINT64 m_currentFenceValue;
UINT64 m_nextFenceValue;
#if ENABLE_GPU_SYNC_DEBUG_OUTPUT
std::wstringstream m_debugReportStream;
#endif
StopClock& m_waitClock;
void SignalWork();
void WaitForFence(UINT64 fenceValue);
void NextFrame();
};
} | 23.949153 | 86 | 0.629158 |
5fa6efbb29a73c85b0ca9e08d6dcae85a2804fa1 | 888 | css | CSS | config/config.css | mojaloop/dfsp-admin | 3722fe6724bc4baacfea725de096979264cc4ab3 | [
"Apache-2.0"
] | 1 | 2017-11-16T16:50:23.000Z | 2017-11-16T16:50:23.000Z | config/config.css | mojaloop/dfsp-admin | 3722fe6724bc4baacfea725de096979264cc4ab3 | [
"Apache-2.0"
] | 2 | 2018-01-29T15:54:58.000Z | 2019-09-02T05:33:57.000Z | config/config.css | mojaloop/dfsp-admin | 3722fe6724bc4baacfea725de096979264cc4ab3 | [
"Apache-2.0"
] | 3 | 2018-02-27T09:47:32.000Z | 2020-11-13T13:36:09.000Z | :root {
--ut-front-react-standardMainLogoWidth: 160px;
--ut-front-react-standardMainLogoHeight: 58px;
--ut-front-react-standardHeaderLogoContainerMargin: 0;
--ut-front-react-standardTabMenuColor: #AC2641;
--ut-front-react-standardSearchBoxColor: #AC2641;
--ut-front-react-standardDatePickerBackgroundColor: #AC2641;
--ut-front-react-standardDropdownIconColor: #AC2641;
--ut-front-react-standardDropdownSelectedColor: #AC2641;
--ut-front-react-standardToolboxLinkColor: #AC2641;
--ut-front-react-standardDataGridTableColor: #AC2641;
}
.headerLogo {
background: inline('ui/administration/assets/images/logo.jpg') no-repeat center center !important;
}
.tabMenuItemContent {
padding: 14px 29px 12px 10px !important;
}
.loginPageFooter {
background: inline('ui/administration/assets/images/logo.jpg') no-repeat center center !important;
} | 37 | 102 | 0.75 |
87b53bce9f1e802253e99bfc6ca525ee195eaf39 | 123 | sql | SQL | src/main/resources/schema.sql | shoaibrayeen/Spring-Boot-Demo | 33b1acce28761dea351cb6162e8e506555db596d | [
"Apache-2.0"
] | null | null | null | src/main/resources/schema.sql | shoaibrayeen/Spring-Boot-Demo | 33b1acce28761dea351cb6162e8e506555db596d | [
"Apache-2.0"
] | null | null | null | src/main/resources/schema.sql | shoaibrayeen/Spring-Boot-Demo | 33b1acce28761dea351cb6162e8e506555db596d | [
"Apache-2.0"
] | null | null | null | --DROP TABLE IF EXISTS persons;
CREATE TABLE IF NOT EXISTS persons(id serial PRIMARY KEY, name VARCHAR(255), age integer);
| 41 | 90 | 0.772358 |
0ccf64808d3042c572ef4543702896d84041599e | 1,393 | py | Python | benchmarks/pytorch_alexnet_inference.py | d3dave/python-macrobenchmarks | ee52cce1af120f543ce3e2f6bc99225784b59506 | [
"MIT"
] | 20 | 2020-10-20T20:55:51.000Z | 2021-11-18T16:26:49.000Z | benchmarks/pytorch_alexnet_inference.py | d3dave/python-macrobenchmarks | ee52cce1af120f543ce3e2f6bc99225784b59506 | [
"MIT"
] | 2 | 2021-11-17T18:37:27.000Z | 2022-03-22T20:26:24.000Z | benchmarks/pytorch_alexnet_inference.py | d3dave/python-macrobenchmarks | ee52cce1af120f543ce3e2f6bc99225784b59506 | [
"MIT"
] | 4 | 2020-10-30T15:09:37.000Z | 2022-02-12T00:12:12.000Z | import json
import time
import torch
import urllib
import sys
if __name__ == "__main__":
start = time.time()
model = torch.hub.load('pytorch/vision:v0.6.0', 'alexnet', pretrained=True)
# assert time.time() - start < 3, "looks like we just did the first-time download, run this benchmark again to get a clean run"
model.eval()
url, filename = ("https://github.com/pytorch/hub/raw/master/images/dog.jpg", "dog.jpg")
urllib.request.urlretrieve(url, filename)
from PIL import Image
from torchvision import transforms
input_image = Image.open(filename)
preprocess = transforms.Compose([
transforms.Resize(256),
transforms.CenterCrop(224),
transforms.ToTensor(),
transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]),
])
input_tensor = preprocess(input_image)
input_batch = input_tensor.unsqueeze(0) # create a mini-batch as expected by the model
n = 1000
if len(sys.argv) > 1:
n = int(sys.argv[1])
with torch.no_grad():
times = []
for i in range(n):
times.append(time.time())
if i % 10 == 0:
print(i)
output = model(input_batch)
times.append(time.time())
print((len(times) - 1) / (times[-1] - times[0]) , "/s")
if len(sys.argv) > 2:
json.dump(times, open(sys.argv[2], 'w'))
| 31.659091 | 131 | 0.613065 |
a9b11d6b521e54b435d2674f130ecaaeb82c5ee4 | 801 | html | HTML | index.html | linksplatform/linksplatform.github.io | ff44317eddf17bb530a7da1b790129e9fa574da6 | [
"CC0-1.0"
] | null | null | null | index.html | linksplatform/linksplatform.github.io | ff44317eddf17bb530a7da1b790129e9fa574da6 | [
"CC0-1.0"
] | 1 | 2021-03-09T14:23:47.000Z | 2021-03-09T14:23:47.000Z | index.html | linksplatform/linksplatform.github.io | ff44317eddf17bb530a7da1b790129e9fa574da6 | [
"CC0-1.0"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Links Platform</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<svg viewBox="0.2 0.2 0.6 0.6">
<svg x="0" y="0" width="1" height="1">
<circle cx="0.5" cy="0.5" r="0.25" />
<a href="https://github.com/Konard/LinksPlatform">
<circle cx="0.375" cy="0.5" r="0.145" />
<image href="./GitHub.svg" x="0.2365" y="0.364" height="0.2772" width="0.2772" />
</a>
<a href="http://linksplatform.github.io/ccc">
<circle cx="0.640" cy="0.5" r="0.055" class="eye" />
<circle cx="0.600" cy="0.5" r="0.015" class="eye" />
</a>
</svg>
</svg>
</body>
</html>
| 32.04 | 109 | 0.571785 |
04d40ced983c5b48316339fc655759ff83714652 | 2,255 | java | Java | src/main/java/asw/agents/webService/GetAgentInfoRESTController.java | mistermboy/Agents_e1b | 00195d2d12a7d88eda1360f91a8ab7c70e871ff7 | [
"Unlicense"
] | 5 | 2018-02-06T12:17:55.000Z | 2018-04-28T15:51:09.000Z | src/main/java/asw/agents/webService/GetAgentInfoRESTController.java | mistermboy/Agents_e1b | 00195d2d12a7d88eda1360f91a8ab7c70e871ff7 | [
"Unlicense"
] | 9 | 2018-02-06T09:37:06.000Z | 2018-03-24T21:01:51.000Z | src/main/java/asw/agents/webService/GetAgentInfoRESTController.java | mistermboy/Agents_e1b | 00195d2d12a7d88eda1360f91a8ab7c70e871ff7 | [
"Unlicense"
] | 5 | 2018-02-06T18:03:17.000Z | 2018-05-08T11:28:37.000Z | package asw.agents.webService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestController;
import asw.agents.GetAgentInfo;
import asw.agents.util.Assert;
import asw.agents.webService.request.PeticionInfoREST;
import asw.agents.webService.responses.RespuestaInfoREST;
import asw.agents.webService.responses.errors.ErrorResponse;
import asw.dbManagement.GetAgent;
import asw.dbManagement.model.Agent;
@RestController
public class GetAgentInfoRESTController implements GetAgentInfo {
@Autowired
private GetAgent getAgent;
@Override
@RequestMapping(value = "/user", method = RequestMethod.POST, headers = { "Accept=application/json",
"Accept=application/xml" }, produces = { "application/json", "text/xml" })
public ResponseEntity<RespuestaInfoREST> getPOSTpetition(@RequestBody(required = true) PeticionInfoREST peticion) {
// Datos de inicio de sesion
Assert.isIdentEmpty(peticion.getident());
Assert.isPasswordEmpty(peticion.getPassword());
Assert.isKindEmpty(peticion.getKind());
// Comprobaciones
Agent agent = getAgent.getAgent(peticion.getident());
Assert.isKindCorrect(peticion.getKind());
Assert.isIdValid(peticion.getident());
Assert.isParticipantNull(agent);
Assert.isPasswordCorrect(peticion.getPassword(), agent);
Assert.isKindCodeCorrect(peticion.getKind(), agent);
/*
* Añadimos la información al modelo, para que se muestre en la pagina html:
* (datosAgente|agentData).html
*/
return new ResponseEntity<RespuestaInfoREST>(new RespuestaInfoREST(agent), HttpStatus.OK);
}
@ExceptionHandler(ErrorResponse.class)
@ResponseStatus(value = HttpStatus.NOT_FOUND)
public String handleErrorResponses(ErrorResponse error) {
return error.getMessageJSONFormat();
}
}
| 38.220339 | 117 | 0.784035 |
c60ea83cf93414881a991658a38c940536f799ea | 420 | rb | Ruby | app/decorators/band_decorator.rb | hcxp/hcxp | f8d351c7877d436504b7602fcf3ae20cd8813020 | [
"Apache-2.0"
] | 4 | 2016-12-20T11:31:25.000Z | 2017-08-01T14:57:03.000Z | app/decorators/band_decorator.rb | hcxp/hcxp | f8d351c7877d436504b7602fcf3ae20cd8813020 | [
"Apache-2.0"
] | 58 | 2016-11-21T09:48:22.000Z | 2017-12-30T08:41:50.000Z | app/decorators/band_decorator.rb | hcxp/hcxp | f8d351c7877d436504b7602fcf3ae20cd8813020 | [
"Apache-2.0"
] | null | null | null | class BandDecorator < Draper::Decorator
delegate_all
def photo_url(width = 80, height = 80, opts = {})
if model.photo.present?
opts = {
width: width,
height: height,
fit_in: opts[:fit_in]
}
opts.merge!(filters: ['no_upscale()'])
h.thumbor_url(model.photo.url, opts)
else
"https://placehold.it/#{width}x#{height}?text=#{opts[:text]}"
end
end
end
| 22.105263 | 67 | 0.583333 |
39f422f274b307b705a29b3c01d4d6eff68073f3 | 9,360 | java | Java | src/jsonant/parse/JSONLexer.java | errt/Jsonant | f0566472fd7966cfc9d09a89155e1b3113f49201 | [
"Apache-2.0"
] | null | null | null | src/jsonant/parse/JSONLexer.java | errt/Jsonant | f0566472fd7966cfc9d09a89155e1b3113f49201 | [
"Apache-2.0"
] | null | null | null | src/jsonant/parse/JSONLexer.java | errt/Jsonant | f0566472fd7966cfc9d09a89155e1b3113f49201 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2017 Dominik Helm
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package jsonant.parse;
import java.io.IOException;
import java.io.Reader;
import java.util.function.Consumer;
/**
* Lexer to break the input into tokens
*
* @author Dominik Helm
*/
public class JSONLexer {
/** Reader to get the input data from */
private final Reader input;
/** Current position in the input (number of characters) */
private long curPos;
/** Current position in the input (number of lines) */
private long curLine;
/** Current position in the input (number of characters in current line) */
private long curLinePos;
/** Char currently inspected */
private int currentChar;
/** Sequence of chars to build the next token from */
private StringBuilder currentTokenString;
/** User supplied exception handler */
private final Consumer<RuntimeException> exceptionHandler;
/**
* Creates a new lexer instance for some input, only for use by JSONParser
*
* @param input
* Reader to get input data from
* @param exceptionHandler
* User supplied exception handler
* @throws IOException
* When reading the input fails
*/
JSONLexer(Reader input, Consumer<RuntimeException> exceptionHandler) throws IOException {
this.input = input;
this.exceptionHandler = exceptionHandler;
currentChar = input.read();
curPos = 0;
curLine = 1;
curLinePos = 0;
}
/**
* Helper to decide if a char is a digit in [0-9]
*
* @param character
* Character to inspect
* @return True, if character in [0-9], false otherwise
*/
private boolean isDigit(int character) {
return '0' <= character && character <= '9';
}
/**
* Finds the next token in the input
*
* @return The next token from the input
* @throws IOException
* When reading the input fails
*/
public Token nextToken() throws IOException {
while (Character.isWhitespace(currentChar)) {
readChar(true);
}
currentTokenString = new StringBuilder();
final long pos = curPos;
final long line = curLine;
final long linePos = curLinePos;
switch (currentChar) {
case '{':
readChar(false);
return new Token(TokenType.ObjStart, pos, line, linePos);
case '}':
readChar(false);
return new Token(TokenType.ObjEnd, pos, line, linePos);
case '[':
readChar(false);
return new Token(TokenType.ArrStart, pos, line, linePos);
case ']':
readChar(false);
return new Token(TokenType.ArrEnd, pos, line, linePos);
case ',':
readChar(false);
return new Token(TokenType.Comma, pos, line, linePos);
case ':':
readChar(false);
return new Token(TokenType.Colon, pos, line, linePos);
case 't':
readChar(false);
readChar('r');
readChar('u');
readChar('e');
return new Token(TokenType.True, pos, line, linePos);
case 'f':
readChar(false);
readChar('a');
readChar('l');
readChar('s');
readChar('e');
return new Token(TokenType.False, pos, line, linePos);
case 'n':
readChar(false);
readChar('u');
readChar('l');
readChar('l');
return new Token(TokenType.Null, pos, line, linePos);
case '"':
readChar(false);
while (currentChar != '"' && currentChar != -1) {
if (currentChar == '\\') {
readChar(false);
readSpecialChar();
} else {
readChar(true);
}
}
readChar(false);
return new Token(currentTokenString.toString(), pos, line, linePos);
case '-':
readChar(true);
case '0':
if (currentChar == '0') {
readChar(true);
return restOfNumber(pos, line, linePos);
}
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
if (!isDigit(currentChar)) {
currentTokenString.append('0');
exceptionHandler.accept(new RuntimeException("Unexpected character '" + (char) currentChar + "' at line " + curLine + ", position " + curLinePos
+ " [" + curPos + "], expected digit"));
} else {
readChar(true);
}
while (isDigit(currentChar)) {
readChar(true);
}
return restOfNumber(pos, line, linePos);
case -1:
return new Token(TokenType.EOF, curPos, line, linePos);
case '\ufeff': // Byte order mark
readChar(false);
return nextToken();
default:
exceptionHandler.accept(new RuntimeException(
"Unexpected character '" + (char) currentChar + "' at line " + curLine + ", position " + curLinePos + " [" + curPos + "]"));
readChar(false);
return nextToken();
}
}
/**
* Gets the next character from the input
*
* @param append
* True, if the previous char is to be appended to the currentTokenString
* @throws IOException
* When reading the input fails
*/
private void readChar(boolean append) throws IOException {
if (append) {
currentTokenString.append((char) currentChar);
}
++curPos;
++curLinePos;
if (currentChar == '\n' || currentChar == '\r') {
++curLine;
curLinePos = 0;
}
int nextChar = input.read();
if (currentChar == '\r') {
if (nextChar == '\n') {
if (append) {
currentTokenString.append('\n');
}
++curPos;
nextChar = input.read();
}
}
currentChar = nextChar;
}
/**
* Gets the next character from the input, raising an exception if the currentChar doesn't match an expectation
*
* @param expected
* The character the currentChar must match (otherwise, a RuntimeException will be raised to the exceptionHandler)
* @throws IOException
* When reading the input fails
*/
private void readChar(char expected) throws IOException {
if (currentChar == expected) {
readChar(false);
} else {
exceptionHandler.accept(new RuntimeException("Unexpected character '" + (char) currentChar + "' at line " + curLine + ", position " + curLinePos
+ " [" + curPos + "]" + ", expected '" + expected + "'"));
}
}
/**
* Inputs an escaped character inside a string
*
* @throws IOException
* When reading the input fails
*/
private void readSpecialChar() throws IOException {
switch (currentChar) {
case '"':
case '\\':
case '/':
readChar(true);
break;
case 'b':
readChar(false);
currentTokenString.append('\b');
break;
case 'f':
readChar(false);
currentTokenString.append('\f');
break;
case 'n':
readChar(false);
currentTokenString.append('\n');
break;
case 'r':
readChar(false);
currentTokenString.append('\r');
break;
case 't':
readChar(false);
currentTokenString.append('\t');
break;
case 'u':
readChar(false);
final StringBuilder codePoint = new StringBuilder(String.valueOf((char) currentChar));
readChar(false);
codePoint.append((char) currentChar);
readChar(false);
codePoint.append((char) currentChar);
readChar(false);
codePoint.append((char) currentChar);
readChar(false);
currentTokenString.appendCodePoint(Integer.parseInt(codePoint.toString(), 16));
break;
default:
currentTokenString.append('\\');
exceptionHandler.accept(new RuntimeException(
"Unexpected character '" + (char) currentChar + "' found at line " + curLine + ", position " + curLinePos + " [" + curPos + "]"));
}
}
/**
* Handles floating point numbers, lexing their decimal and scientific suffixes
*
* @param pos
* Current position in the input
* @param line
* Current line in the input
* @param linePos
* Current position in the current line
* @return The token for the number with a numerical value
* @throws IOException
* When reading the input fails
*/
private Token restOfNumber(long pos, long line, long linePos) throws IOException {
boolean integer = true;
if (currentChar == '.') {
readChar(true);
if (!isDigit(currentChar)) {
exceptionHandler.accept(new RuntimeException("Unexpected character '" + (char) currentChar + "' at line " + curLine + ", position " + curLinePos
+ " [" + curPos + "], expected digit"));
} else {
readChar(true);
}
while (isDigit(currentChar)) {
readChar(true);
}
integer = false;
}
if (currentChar == 'e' || currentChar == 'E') {
readChar(true);
if (currentChar == '+' || currentChar == '-') {
readChar(true);
}
if (!isDigit(currentChar)) {
currentTokenString.append('0');
exceptionHandler.accept(new RuntimeException("Unexpected character '" + (char) currentChar + "' at line " + curLine + ", position " + curLinePos
+ " [" + curPos + "], expected digit"));
} else {
readChar(true);
}
while (isDigit(currentChar)) {
readChar(true);
}
integer = false;
}
if (integer)
return new Token(Long.valueOf(currentTokenString.toString()), pos, line, linePos);
else
return new Token(Double.valueOf(currentTokenString.toString()), pos, line, linePos);
}
}
| 28.108108 | 148 | 0.644551 |
bc5b98fb133a8a6765f5137fd5926b4299ea3f02 | 746 | swift | Swift | FANBaseConfig/Classes/FAN_Controller/FAN_BaseTabBarController.swift | MMSuperD/FANBaseConfig | 07bfc65dc2607a390a3ed502db56948b6f1ae29d | [
"MIT"
] | null | null | null | FANBaseConfig/Classes/FAN_Controller/FAN_BaseTabBarController.swift | MMSuperD/FANBaseConfig | 07bfc65dc2607a390a3ed502db56948b6f1ae29d | [
"MIT"
] | null | null | null | FANBaseConfig/Classes/FAN_Controller/FAN_BaseTabBarController.swift | MMSuperD/FANBaseConfig | 07bfc65dc2607a390a3ed502db56948b6f1ae29d | [
"MIT"
] | null | null | null | //
// FAN_TabBarController.swift
// FANBaseConfig
//
// Created by 王丹 on 2022/3/19.
//
import UIKit
class FAN_BaseTabBarController: UITabBarController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
}
func createChildController(title: String,imageName: String, controllerClassName: String) -> UINavigationController {
let cls = NSClassFromString(Bundle.nameplace + "." + controllerClassName)! as! UIViewController.Type
let vc = cls.init()
vc.title = title
vc.tabBarItem.title = title;
let nv = FAN_BaseNavigationController.init(rootViewController: vc)
return nv
}
}
| 22.606061 | 121 | 0.646113 |
f0f1c3a687cd98d18501dd48696ddb2aa838c775 | 116 | sql | SQL | Project/sqls/create/5 town.sql | iwasingh/auxilium-db | b5b57143ee15040a736ae34842a2142db665761a | [
"Apache-2.0"
] | 2 | 2018-08-10T00:26:01.000Z | 2018-08-11T02:34:31.000Z | Project/sqls/create/5 town.sql | iwasingh/auxilium-db | b5b57143ee15040a736ae34842a2142db665761a | [
"Apache-2.0"
] | null | null | null | Project/sqls/create/5 town.sql | iwasingh/auxilium-db | b5b57143ee15040a736ae34842a2142db665761a | [
"Apache-2.0"
] | 1 | 2020-06-29T15:50:12.000Z | 2020-06-29T15:50:12.000Z | CREATE TABLE town (
cap CHAR(5) PRIMARY KEY,
name VARCHAR(40) NOT NULL,
CHECK (cap SIMILAR TO '[0-9]{5}')
);
| 16.571429 | 35 | 0.62931 |
9c677a07d3e8fdf4dc63bc9e334fc5d4be754609 | 220 | js | JavaScript | src/hooks.js | jloh/app.geojs.io | 9c6468703c3892abd332c445d23599895735c47a | [
"MIT"
] | 4 | 2018-10-10T12:06:54.000Z | 2022-01-26T11:04:46.000Z | src/hooks.js | jloh/geojs-app | da2af2e164f2c1c3124fb3b56a9df144fd13c1ab | [
"MIT"
] | 4 | 2018-01-14T09:09:33.000Z | 2020-04-18T14:51:24.000Z | src/hooks.js | jloh/app.geojs.io | 9c6468703c3892abd332c445d23599895735c47a | [
"MIT"
] | 2 | 2019-04-03T01:52:55.000Z | 2020-12-21T00:16:36.000Z | /** @type {import('@sveltejs/kit').GetSession} */
export function getSession(event) {
if (event.clientAddress !== null) {
return {
userIP: event.clientAddress
}
} else {
return {
userIP: "1.1.1.1"
}
}
}
| 16.923077 | 49 | 0.609091 |
dfd00a6a6ac02e6b442140f9a913cc61a9dd0b34 | 537 | ts | TypeScript | dist/types/components/resize-observer/resize-observer.d.ts | harisco7/shoelace | 7a966c03b144565d4e9a5d2d269c68202c3ab4f6 | [
"MIT"
] | null | null | null | dist/types/components/resize-observer/resize-observer.d.ts | harisco7/shoelace | 7a966c03b144565d4e9a5d2d269c68202c3ab4f6 | [
"MIT"
] | null | null | null | dist/types/components/resize-observer/resize-observer.d.ts | harisco7/shoelace | 7a966c03b144565d4e9a5d2d269c68202c3ab4f6 | [
"MIT"
] | null | null | null | /// <reference types="resize-observer-browser" />
import { EventEmitter } from '../../stencil-public-runtime';
/**
* @since 2.0
* @status experimental
*/
export declare class ResizeObserverUtility {
resizeObserver: ResizeObserver;
observedElements: HTMLElement[];
host: HTMLSlResizeObserverElement;
/** Emitted when the element is resized. */
slResize: EventEmitter<readonly ResizeObserverEntry[]>;
connectedCallback(): void;
disconnectedCallback(): void;
handleSlotChange(): void;
render(): any;
}
| 29.833333 | 61 | 0.703911 |
6bb61ca38cf83073f1d9d3f1c086ee1b981ad478 | 84 | h | C | util/int/debug.h | wyan/ack | cf1b02d26cdfaff4417011c49d112b8dfc877df2 | [
"BSD-3-Clause"
] | 282 | 2015-07-01T10:17:17.000Z | 2022-03-31T02:14:30.000Z | util/int/debug.h | wyan/ack | cf1b02d26cdfaff4417011c49d112b8dfc877df2 | [
"BSD-3-Clause"
] | 176 | 2016-06-07T06:46:55.000Z | 2022-03-19T21:40:17.000Z | util/int/debug.h | wyan/ack | cf1b02d26cdfaff4417011c49d112b8dfc877df2 | [
"BSD-3-Clause"
] | 58 | 2015-12-02T16:29:18.000Z | 2022-01-26T17:54:35.000Z | /*
Various debug flags
*/
/* $Id$ */
#undef DB_MALLOC /* sally malloc area */
| 9.333333 | 42 | 0.571429 |
12deed9b903e4071e85fff8ed4503c957d4a6804 | 7,407 | html | HTML | src/index.html | 4betterweb/4betterweb.github.io | c5e3ce431effb464a7b7ae594a0cd8ec0fc5e9f6 | [
"MIT"
] | null | null | null | src/index.html | 4betterweb/4betterweb.github.io | c5e3ce431effb464a7b7ae594a0cd8ec0fc5e9f6 | [
"MIT"
] | null | null | null | src/index.html | 4betterweb/4betterweb.github.io | c5e3ce431effb464a7b7ae594a0cd8ec0fc5e9f6 | [
"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">
<link href="https://fonts.googleapis.com/css2?family=Lato&family=Open+Sans:wght@400;600&display=swap" rel="stylesheet">
<title>Portfolio | Front-End Developer</title>
<style>
.loader{align-items:center;background-color:#19b39e;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:2}.loader div{margin:0 10px}.loader:after,.loader:before,.loader div{-webkit-animation:bouncing-loader .6s infinite alternate;animation:bouncing-loader .6s infinite alternate;background-color:#79ecdd;border-radius:50%;height:15px;width:15px}.loader:after,.loader:before{content:" ";display:block}.loader div{-webkit-animation-delay:.2s;animation-delay:.2s}.loader:after{-webkit-animation-delay:.4s;animation-delay:.4s}@-webkit-keyframes bouncing-loader{to{opacity:.1;transform:translate3d(0,-15px,0)}}@keyframes bouncing-loader{to{opacity:.1;transform:translate3d(0,-15px,0)}}
</style>
</head>
<body id="top">
<div class="loader">
<div></div>
</div>
<nav class="menu">
<div class="container">
<ul class="menu-links">
<li><a href="#works">Works</a></li>
<li><a href="#about">About</a></li>
<li><a href="#skills">Skills</a></li>
</ul>
</div>
</nav>
<header id="particles">
<div class="container">
<div class="welcome-text">
<h1>I'm Wojtek</h1>
<p class="leading">
Front-End Developer from Poland.<br>
Below you can see some of my works and read a few words about me.
</p>
</div>
</div>
</header>
<main>
<section id="works" class="works">
<div class="container">
<h2 class="sr-only">Some of my projects</h2>
<div class="items">
<div class="item">
<div class="image">
<img src="assets/spzoz-siennica.jpg" alt="SP ZOZ Siennica website">
</div>
<div class="description">
<h3 class="name">SP ZOZ in Siennica</h3>
<p>Website redesign for health clinic in Siennica.</p>
<p>Layout design, HTML, CSS, JavaScript, PHP, Grav CMS, WCAG</p>
<a href="https://www.spzozsiennica.pl/" target="_blank" class="visit-link">visit site</a>
</div>
</div>
<div class="item">
<div class="image">
<img src="assets/autoswiatwypozyczalnia.jpg" alt="AUTO ŚWIAT car rent website">
</div>
<div class="description">
<h3 class="name">Car Rental</h3>
<p>AUTO ŚWIAT car rental from Mińsk Mazowiecki. Reservation system.</p>
<p>Layout design, HTML, CSS, jQuery, PHP, MySQL, PayU</p>
<a href="https://autoswiatwypozyczalnia.pl/" target="_blank" class="visit-link">visit site</a>
</div>
</div>
<div class="item">
<div class="image">
<img src="assets/studio-projekt.jpg" alt="Studio Projekt website">
</div>
<div class="description">
<h3 class="name">Studio Projekt</h3>
<p>Website for architectural studio. Made as part of work in an advertising agency. No layout design</p>
<p>HTML, CSS, jQuery, PHP, Quick.CMS</p>
<a href="http://www.studio-projekt.com/" target="_blank" class="visit-link">visit site</a>
</div>
</div>
<div class="item">
<div class="image">
<img src="assets/kluj.jpg" alt="Kluj website">
</div>
<div class="description">
<h3 class="name">KLUJ</h3>
<p>Legal assistance for companies and individuals. Made as part of work in an advertising agency. No layout design</p>
<p>HTML, CSS, jQuery, PHP, Quick.CMS</p>
<a href="http://kluj.eu/" target="_blank" class="visit-link">visit site</a>
</div>
</div>
<div class="item">
<div class="image">
<img src="assets/siennicka13.jpg" alt="Siennicka 13 website">
</div>
<div class="description">
<h3 class="name">Siennicka 13a</h3>
<p>Website for the development company. Information about the investment. Made as part of work in an advertising agency. No layout design</p>
<p>HTML, CSS, jQuery, PHP, Quick.CMS</p>
<a href="http://siennicka13a.pl/" target="_blank" class="visit-link">visit site</a>
</div>
</div>
<div class="item">
<div class="image">
<img src="assets/procem.jpg" alt="Procem website">
</div>
<div class="description">
<h3 class="name">Procem</h3>
<p>Transport company. Services dedicated to construction industry, specifically, the transport of loose materials. Made as part of work in an advertising agency. No layout design</p>
<p>HTML, CSS, jQuery, PHP, Quick.CMS</p>
<a href="http://procem.pl/" target="_blank" class="visit-link">visit site</a>
</div>
</div>
</div>
</div>
</section>
<section id="about" class="about">
<div class="container">
<h2>Who I am</h2>
<p>
I'm coding since 2009. Best with it is that I can help people bring their ideas to reality. When I'm not working I spend time with my wife and daughters. I like mountain hiking and cooking.
</p>
</section>
<div class="container line">
<hr>
</div>
<section id="skills" class="skills">
<div class="container">
<h2>Things I Can Do</h2>
<p>
JavaScript ES5/ES6, Vue,<br>
HTML5, CSS3, SCSS, BEM,<br>
Git, Npm, Webpack,<br>
PHP, MySQL, jQuery
</p>
</div>
</section>
</main>
<footer>
<div class="container">
Portfolio © 2021
<a href="#top" class="back-to-top" title="Back to top">Back to top</a>
</div>
</footer>
</body>
</html> | 52.907143 | 725 | 0.481842 |
0cba78e638ec2faf5f7126a5c233d72920bc6dd8 | 3,458 | py | Python | poseidon/dags/traffic_counts/traffic_counts_jobs.py | panda-tech/poseidon-airflow | bce5bc02b55f15330635a436056d99acb93488ef | [
"Apache-2.0"
] | null | null | null | poseidon/dags/traffic_counts/traffic_counts_jobs.py | panda-tech/poseidon-airflow | bce5bc02b55f15330635a436056d99acb93488ef | [
"Apache-2.0"
] | null | null | null | poseidon/dags/traffic_counts/traffic_counts_jobs.py | panda-tech/poseidon-airflow | bce5bc02b55f15330635a436056d99acb93488ef | [
"Apache-2.0"
] | null | null | null | """Traffic counts _jobs file."""
import pandas as pd
import logging
from subprocess import Popen, PIPE
from trident.util import general
conf = general.config
fy = general.get_FY_year()
def get_traffic_counts(out_fname='traffic_counts_file'):
"""Get traffic counts file from shared drive."""
logging.info(f'Retrieving data for FY {fy}.')
command = "smbclient //ad.sannet.gov/dfs " \
+ "--user={adname}%{adpass} -W ad -c " \
+ "'cd \"TSW-TEO-Shared/TEO/" \
+ "TEO-Transportation-Systems-and-Safety-Programs/" \
+ "Traffic Data/{fy}/RECORD FINDER\";" \
+ " ls; get Machine_Count_Index.xlsx {temp_dir}/{out_f}.xlsx;'"
command = command.format(adname=conf['svc_acct_user'],
adpass=conf['svc_acct_pass'],
fy=fy,
temp_dir=conf['temp_data_dir'],
out_f=out_fname)
p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE)
output, error = p.communicate()
if p.returncode != 0:
raise Exception(output)
else:
return 'Successfully retrieved {} data.'.format(fy)
def clean_traffic_counts(src_fname='traffic_counts_file',
out_fname='traffic_counts_raw_clean'):
"""Clean traffic counts data."""
xlsx_file = "{0}/{1}.xlsx"\
.format(conf['temp_data_dir'], src_fname)
out_csv_file = "{0}/{1}.csv"\
.format(conf['temp_data_dir'], out_fname)
names = ['street_name',
'limits',
'northbound_count',
'southbound_count',
'eastbound_count',
'westbound_count',
'total_count',
'file_no',
'date_count']
worksheet = pd.read_excel(xlsx_file,
sheet_name='TRAFFIC',
header=None,
skiprows=[0, 1, 2, 3],
usecols=[8, 9, 10, 11, 12, 13, 14, 15, 16],
names=names)
# Write temp csv
general.pos_write_csv(
worksheet,
out_csv_file,
date_format=conf['date_format_ymd_hms'])
return "Successfully cleaned traffic counts data."
def build_traffic_counts(src_fname='traffic_counts_raw_clean',
out_fname='traffic_counts_datasd_v1'):
"""Build traffic counts production data."""
src_file = "{0}/{1}.csv"\
.format(conf['temp_data_dir'], src_fname)
out_file = "{0}/{1}.csv"\
.format(conf['prod_data_dir'], out_fname)
# read in csv from temp
counts = pd.read_csv(src_file)
# remove rows that are part of the main worksheet but empty for some reason
counts = counts[counts['street_name'] != ' ']
# date type
counts['date_count'] = pd.to_datetime(counts['date_count'],errors='coerce')
# create id field based on file id and street
counts['id'] = counts.street_name.str.cat(counts.file_no, sep="")\
.str.replace(" ", "")\
.str.replace("-", "")
# reorder columns
cols = counts.columns.tolist()
cols = cols[-1:] + cols[:-1]
counts = counts[cols]
# write to production file
new_file_path = out_file
general.pos_write_csv(
counts,
new_file_path,
date_format=conf['date_format_ymd_hms'])
return "Successfully built traffic counts production file."
| 32.317757 | 79 | 0.571429 |
e72beb0719370313de62b7f93f1f67d2c3013531 | 344 | js | JavaScript | webpack.config.js | waxs/needle | ea241876d08e4bf4b8a8ad308624337c04654d14 | [
"MIT"
] | 5 | 2020-07-10T07:20:15.000Z | 2021-04-15T08:22:16.000Z | webpack.config.js | waxs/needle | ea241876d08e4bf4b8a8ad308624337c04654d14 | [
"MIT"
] | null | null | null | webpack.config.js | waxs/needle | ea241876d08e4bf4b8a8ad308624337c04654d14 | [
"MIT"
] | 2 | 2020-10-29T12:56:35.000Z | 2021-06-10T07:56:57.000Z | /** ----------------------------------------
Webpack Configuration
---------------------------------------- */
const path = './webpack';
/** ----------------------------------------
Webpack Exports
---------------------------------------- */
module.exports = (env) => {
return require(`${ path }/webpack.${ env }.config.js`);
} | 26.461538 | 59 | 0.293605 |
c80f0fef8fd60ec042a7e3ee9b4849b285e26e78 | 5,827 | sql | SQL | sql/updates/0.10/5636_mangos_loot_template.sql | Ambal/mangos | 9833ce4e393ca36668751dbcc9dfcf7cae8ff4ff | [
"OpenSSL"
] | 1 | 2019-01-19T06:35:40.000Z | 2019-01-19T06:35:40.000Z | sql/updates/0.10/5636_mangos_loot_template.sql | mfooo/wow | 3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d | [
"OpenSSL"
] | null | null | null | sql/updates/0.10/5636_mangos_loot_template.sql | mfooo/wow | 3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d | [
"OpenSSL"
] | null | null | null | ALTER TABLE `creature_loot_template`
ADD `ChanceOrQuestChance` FLOAT NOT NULL default '100' AFTER `ChanceOrRef`,
ADD `group` tinyint unsigned NOT NULL default '0' AFTER `QuestChanceOrGroup`,
ADD `mincountOrRef` mediumint NOT NULL default '1' AFTER `mincount`;
UPDATE `creature_loot_template` SET
`ChanceOrQuestChance` = if(`QuestChanceOrGroup` > 0, -`QuestChanceOrGroup`, if(`ChanceOrRef` < 0, 100, `ChanceOrRef`)),
`group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`),
`mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`),
`maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`);
ALTER TABLE `creature_loot_template`
DROP `ChanceOrRef`,
DROP `QuestChanceOrGroup`,
DROP `mincount`;
ALTER TABLE `disenchant_loot_template`
ADD `ChanceOrQuestChance` FLOAT NOT NULL default '100' AFTER `ChanceOrRef`,
ADD `group` tinyint unsigned NOT NULL default '0' AFTER `QuestChanceOrGroup`,
ADD `mincountOrRef` mediumint NOT NULL default '1' AFTER `mincount`;
UPDATE `disenchant_loot_template` SET
`ChanceOrQuestChance` = if(`QuestChanceOrGroup` > 0, -`QuestChanceOrGroup`, if(`ChanceOrRef` < 0, 100, `ChanceOrRef`)),
`group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`),
`mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`),
`maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`);
ALTER TABLE `disenchant_loot_template`
DROP `ChanceOrRef`,
DROP `QuestChanceOrGroup`,
DROP `mincount`;
ALTER TABLE `fishing_loot_template`
ADD `ChanceOrQuestChance` FLOAT NOT NULL default '100' AFTER `ChanceOrRef`,
ADD `group` tinyint unsigned NOT NULL default '0' AFTER `QuestChanceOrGroup`,
ADD `mincountOrRef` mediumint NOT NULL default '1' AFTER `mincount`;
UPDATE `fishing_loot_template` SET
`ChanceOrQuestChance` = if(`QuestChanceOrGroup` > 0, -`QuestChanceOrGroup`, if(`ChanceOrRef` < 0, 100, `ChanceOrRef`)),
`group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`),
`mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`),
`maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`);
ALTER TABLE `fishing_loot_template`
DROP `ChanceOrRef`,
DROP `QuestChanceOrGroup`,
DROP `mincount`;
ALTER TABLE `gameobject_loot_template`
ADD `ChanceOrQuestChance` FLOAT NOT NULL default '100' AFTER `ChanceOrRef`,
ADD `group` tinyint unsigned NOT NULL default '0' AFTER `QuestChanceOrGroup`,
ADD `mincountOrRef` mediumint NOT NULL default '1' AFTER `mincount`;
UPDATE `gameobject_loot_template` SET
`ChanceOrQuestChance` = if(`QuestChanceOrGroup` > 0, -`QuestChanceOrGroup`, if(`ChanceOrRef` < 0, 100, `ChanceOrRef`)),
`group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`),
`mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`),
`maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`);
ALTER TABLE `gameobject_loot_template`
DROP `ChanceOrRef`,
DROP `QuestChanceOrGroup`,
DROP `mincount`;
ALTER TABLE `item_loot_template`
ADD `ChanceOrQuestChance` FLOAT NOT NULL default '100' AFTER `ChanceOrRef`,
ADD `group` tinyint unsigned NOT NULL default '0' AFTER `QuestChanceOrGroup`,
ADD `mincountOrRef` mediumint NOT NULL default '1' AFTER `mincount`;
UPDATE `item_loot_template` SET
`ChanceOrQuestChance` = if(`QuestChanceOrGroup` > 0, -`QuestChanceOrGroup`, if(`ChanceOrRef` < 0, 100, `ChanceOrRef`)),
`group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`),
`mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`),
`maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`);
ALTER TABLE `item_loot_template`
DROP `ChanceOrRef`,
DROP `QuestChanceOrGroup`,
DROP `mincount`;
ALTER TABLE `pickpocketing_loot_template`
ADD `ChanceOrQuestChance` FLOAT NOT NULL default '100' AFTER `ChanceOrRef`,
ADD `group` tinyint unsigned NOT NULL default '0' AFTER `QuestChanceOrGroup`,
ADD `mincountOrRef` mediumint NOT NULL default '1' AFTER `mincount`;
UPDATE `pickpocketing_loot_template` SET
`ChanceOrQuestChance` = if(`QuestChanceOrGroup` > 0, -`QuestChanceOrGroup`, if(`ChanceOrRef` < 0, 100, `ChanceOrRef`)),
`group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`),
`mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`),
`maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`);
ALTER TABLE `pickpocketing_loot_template`
DROP `ChanceOrRef`,
DROP `QuestChanceOrGroup`,
DROP `mincount`;
ALTER TABLE `prospecting_loot_template`
ADD `ChanceOrQuestChance` FLOAT NOT NULL default '100' AFTER `ChanceOrRef`,
ADD `group` tinyint unsigned NOT NULL default '0' AFTER `QuestChanceOrGroup`,
ADD `mincountOrRef` mediumint NOT NULL default '1' AFTER `mincount`;
UPDATE `prospecting_loot_template`SET
`ChanceOrQuestChance` = if(`QuestChanceOrGroup` > 0, -`QuestChanceOrGroup`, if(`ChanceOrRef` < 0, 100, `ChanceOrRef`)),
`group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`),
`mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`),
`maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`);
ALTER TABLE `prospecting_loot_template`
DROP `ChanceOrRef`,
DROP `QuestChanceOrGroup`,
DROP `mincount`;
ALTER TABLE `skinning_loot_template`
ADD `ChanceOrQuestChance` FLOAT NOT NULL default '100' AFTER `ChanceOrRef`,
ADD `group` tinyint unsigned NOT NULL default '0' AFTER `QuestChanceOrGroup`,
ADD `mincountOrRef` mediumint NOT NULL default '1' AFTER `mincount`;
UPDATE `skinning_loot_template` SET
`ChanceOrQuestChance` = if(`QuestChanceOrGroup` > 0, -`QuestChanceOrGroup`, if(`ChanceOrRef` < 0, 100, `ChanceOrRef`)),
`group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`),
`mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`),
`maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`);
ALTER TABLE `skinning_loot_template`
DROP `ChanceOrRef`,
DROP `QuestChanceOrGroup`,
DROP `mincount`;
| 43.162963 | 121 | 0.725759 |
9b8d7a8b7d62da1297aa71904ce35ea81881ef7b | 1,452 | js | JavaScript | utils/generateMarkdown.js | khargol1/readme-writer | a8e647e35fee6e3ff9c4032bd3906ee19ccabca5 | [
"MIT"
] | null | null | null | utils/generateMarkdown.js | khargol1/readme-writer | a8e647e35fee6e3ff9c4032bd3906ee19ccabca5 | [
"MIT"
] | null | null | null | utils/generateMarkdown.js | khargol1/readme-writer | a8e647e35fee6e3ff9c4032bd3906ee19ccabca5 | [
"MIT"
] | null | null | null | // function to generate markdown for README
function generateMarkdown(data) {
licence = '';
switch(data.licence){
case 'MIT':
licence = '[](https://opensource.org/licenses/MIT)';
break;
case 'Apache 2.0':
licence = '[](https://opensource.org/licenses/Apache-2.0)';
break;
case 'GNU GPL 3.0':
licence = '[](https://www.gnu.org/licenses/gpl-3.0)';
break;
case 'Mozzilla Public License 2.0':
licence = '[](https://opensource.org/licenses/MPL-2.0)';
break;
}
return `# ${data.projectName}
${data.description}
${licence}
## Table of Contents
* [Installation](##Installation)
* [Usage](##Usage)
* [Licence](##Licence)
* [Contributing](##Contriuting)
* [Tests](##Tests)
* [Questions](##Questions)
## Installation
${data.install}
## Usage
${data.usage}
## Licence
This program is covered under ${data.licence} licence agreement.
## Contributing
${data.contribute}
## Tests
${data.tests}
## Questions
To contact me please use ${data.email}.
[GitHub Repository](http://github.com/${data.userName})
`;
}
module.exports = generateMarkdown;
| 24.610169 | 145 | 0.643251 |
d0a4a6c9b04577bc96076cf53f23e6ffe6997cb5 | 2,334 | css | CSS | Modul 2/No1/css/style.css | evanezcent/Web-Programming-College | 9972663099adc7648939ffed1a6d9dc68be1b23e | [
"MIT"
] | null | null | null | Modul 2/No1/css/style.css | evanezcent/Web-Programming-College | 9972663099adc7648939ffed1a6d9dc68be1b23e | [
"MIT"
] | 1 | 2019-04-18T04:33:38.000Z | 2019-04-18T04:33:38.000Z | Modul 2/No1/css/style.css | evanezcent/WEBPRO | 9972663099adc7648939ffed1a6d9dc68be1b23e | [
"MIT"
] | null | null | null | /* Browser reset & Basic styling [Don't ruin this] */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
background: transparent;
border: 0;
margin: 0;
padding: 0;
vertical-align: baseline;
text-decoration: none;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
strike{text-decoration: line-through;}
strong{font-weight: bold;}
ol, ul {
list-style: none;
}
*, *:before, *:after {box-sizing: border-box !important;}
body{
line-height: 1.5;
margin: auto;
float: none;
font-family: Arial,sans-serif;
font-weight: lighter;
}
img{
max-width: 100%;
max-height: 100%;
border-radius: 1px;
}
a {
outline: 0;
}
/* Code your CSS here */
/* Like here */
/* Right here */
/* And here */
nav
{
background-color: #006266;
color: whitesmoke;
display:flex;
align-items: center;
margin: 2% 0% 2% 2%
}
nav p
{
display: flex;
padding-left: 1%;
font-weight: bold;
font-size: 30px;
}
nav ul
{
display: flex;
padding-left: 80%;
}
nav ul li
{
display: inline-block;
padding: 5px;
width: 60px;
}
body
{
background-color: #006266;
color: whitesmoke;
text-align: center;
}
header
{
position: fixed;
background-color: #006266;
width: 100%;
}
h3
{
color: black;
}
.row
{
padding-top: 5%;
width: 100%;
background-color: whitesmoke;
display: flex;
flex-wrap: wrap;
}
.row .col
{
width: 360px;
height: 270px;
margin: 2% 1% 1% 1%;
}
nav ul li:hover
{
cursor: pointer;
background-color: whitesmoke;
color: #006266;
border-radius: 3px;
}
@media screen and (max-width: 992px) {
.row .col
{
width: 370px;
padding-left: 5%;
margin-bottom: 5%;
}
nav ul
{
padding-left: 60%;
}
.row
{
padding-top : 12%;
}
}
@media screen and (max-width: 768px) {
nav ul
{
padding-left: 50%;
}
.row .col
{
width: 100%;
margin-bottom: 5%;
}
.row
{
padding-top : 20%;
}
} | 14.772152 | 58 | 0.636675 |
0ef32bb0ff89271f014e72888acf4847cdf7b114 | 17,530 | h | C | src/xapian/backends/honey/honey_table.h | Kronuz/Xapiand | a71570859dcfc9f48090d845053f359b07f4f78c | [
"MIT"
] | 370 | 2016-03-14T12:19:08.000Z | 2022-03-25T02:07:29.000Z | src/xapian/backends/honey/honey_table.h | YosefMac/Xapiand-1 | a71570859dcfc9f48090d845053f359b07f4f78c | [
"MIT"
] | 34 | 2015-11-30T19:06:40.000Z | 2022-02-26T03:46:58.000Z | src/xapian/backends/honey/honey_table.h | YosefMac/Xapiand-1 | a71570859dcfc9f48090d845053f359b07f4f78c | [
"MIT"
] | 31 | 2015-02-13T22:27:34.000Z | 2022-03-25T02:07:34.000Z | /** @file honey_table.h
* @brief HoneyTable class
*/
/* Copyright (C) 2017,2018 Olly Betts
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef XAPIAN_INCLUDED_HONEY_TABLE_H
#define XAPIAN_INCLUDED_HONEY_TABLE_H
#ifndef PACKAGE
# error config.h must be included first in each C++ source file
#endif
#define SSTINDEX_ARRAY
//#define SSTINDEX_BINARY_CHOP
//#define SSTINDEX_SKIPLIST
#define SSTINDEX_BINARY_CHOP_KEY_SIZE 4
#define SSTINDEX_BINARY_CHOP_PTR_SIZE 4
#define SSTINDEX_BINARY_CHOP_ENTRY_SIZE \
(SSTINDEX_BINARY_CHOP_KEY_SIZE + SSTINDEX_BINARY_CHOP_PTR_SIZE)
//#include "xapian/constants.h"
#include "xapian/error.h"
#include <algorithm>
#if 0
#include <iostream> // FIXME
#endif
#include <cstdio> // For EOF
#include <cstdlib> // std::abort()
#include <type_traits>
#ifdef HAVE_SYS_UIO_H
# include <sys/uio.h>
#endif
#include <sys/types.h>
#include "xapian/common/safesysstat.h"
#include "xapian/common/safeunistd.h"
#include "xapian/common/compression_stream.h"
#include "xapian/backends/honey/honey_defs.h"
#include "xapian/backends/honey/honey_version.h"
#include "xapian/common/internaltypes.h"
#include "xapian/common/io_utils.h"
#include "xapian/common/pack.h"
#include "xapian/common/str.h"
#include "xapian/common/stringutils.h"
#include "xapian/common/wordaccess.h"
#include "xapian/unicode/description_append.h"
#ifdef BLK_UNUSED
# undef BLK_UNUSED
#endif // FIXME: namespace it?
const uint4 BLK_UNUSED = uint4(-1);
class HoneyFreeListChecker;
class BufferedFileCommon {
friend class BufferedFile;
int fd = -1;
unsigned _refs = 0;
off_t offset = 0;
BufferedFileCommon(int fd_, off_t offset_)
: fd(fd_), _refs(1), offset(offset_) {}
BufferedFileCommon(const BufferedFileCommon&) = delete;
BufferedFileCommon& operator=(const BufferedFileCommon&) = delete;
};
class BufferedFile {
BufferedFileCommon* common = nullptr;
mutable off_t pos = 0;
bool read_only = true;
mutable size_t buf_end = 0;
mutable char buf[4096];
const int FORCED_CLOSE = -2;
public:
BufferedFile() { }
BufferedFile(const BufferedFile& o) : common(o.common) {
if (!o.read_only) std::abort();
if (common) ++common->_refs;
#if 0
if (o.buf_end) {
buf_end = o.buf_end;
std::memcpy(buf, o.buf, buf_end);
}
#endif
}
BufferedFile(int fd_, off_t offset_, off_t pos_, bool read_only_)
: common(new BufferedFileCommon(fd_, offset_)),
pos(pos_), read_only(read_only_) {}
~BufferedFile() {
if (common && --common->_refs == 0)
delete common;
}
off_t get_offset() const { return common->offset; }
void close(bool fd_owned) {
if (common && common->fd >= 0) {
if (fd_owned) ::close(common->fd);
common->fd = -1;
}
}
void force_close(bool fd_owned) {
if (common) {
if (fd_owned && common->fd >= 0) ::close(common->fd);
common->fd = FORCED_CLOSE;
}
}
bool is_open() const { return common && common->fd >= 0; }
bool was_forced_closed() const {
return common && common->fd == FORCED_CLOSE;
}
bool open(const std::string& path, bool read_only_) {
if (common && --common->_refs == 0)
delete common;
common = nullptr;
read_only = read_only_;
int fd;
if (read_only) {
// FIXME: add new io_open_stream_rd() etc?
fd = io_open_block_rd(path);
} else {
// FIXME: Always create anew for now...
fd = io_open_block_wr(path, true);
}
if (fd < 0) return false;
common = new BufferedFileCommon(fd, 0);
return true;
}
off_t get_pos() const {
return read_only ? pos - buf_end : pos + buf_end;
}
void set_pos(off_t pos_) {
if (!read_only) flush();
if (false && pos_ >= pos) { // FIXME: need to take buf_end into account
skip(pos_ - pos);
} else {
// FIXME: salvage some of the buffer if we can?
buf_end = 0;
pos = pos_;
}
}
void skip(size_t delta) const {
if (!read_only) std::abort();
// Keep any buffered data we can.
if (delta > buf_end) {
pos -= buf_end;
pos += delta;
buf_end = 0;
} else {
buf_end -= delta;
}
}
#if 0
bool empty() const {
if (buf_end) return false;
struct stat sbuf;
if (fd == -1 || fstat(fd, &sbuf) < 0) return true;
return (sbuf.st_size == 0);
}
#endif
void write(unsigned char ch) {
if (buf_end == sizeof(buf)) {
// writev()?
io_write(common->fd, buf, buf_end);
pos += buf_end;
buf_end = 0;
}
buf[buf_end++] = ch;
}
void write(const char* p, size_t len) {
if (buf_end + len <= sizeof(buf)) {
memcpy(buf + buf_end, p, len);
buf_end += len;
return;
}
#ifdef HAVE_WRITEV
pos += buf_end + len;
while (true) {
struct iovec iov[2];
iov[0].iov_base = buf;
iov[0].iov_len = buf_end;
iov[1].iov_base = const_cast<char*>(p);
iov[1].iov_len = len;
ssize_t n_ = writev(common->fd, iov, 2);
if (n_ < 0) std::abort();
size_t n = n_;
if (n == buf_end + len) {
// Wrote everything.
buf_end = 0;
return;
}
if (n >= buf_end) {
// Wrote all of buf.
n -= buf_end;
p += n;
len -= n;
io_write(common->fd, p, len);
buf_end = 0;
return;
}
buf_end -= n;
memmove(buf, buf + n, buf_end);
}
#else
io_write(common->fd, buf, buf_end);
pos += buf_end;
if (len >= sizeof(buf)) {
// If it's bigger than our buffer, just write it directly.
io_write(common->fd, p, len);
pos += len;
buf_end = 0;
return;
}
memcpy(buf, p, len);
buf_end = len;
#endif
}
int read() const {
if (buf_end == 0) {
// The buffer is currently empty, so we need to read at least one
// byte.
size_t r = io_pread(common->fd, buf, sizeof(buf), pos, 0);
if (r < sizeof(buf)) {
if (r == 0) {
return EOF;
}
memmove(buf + sizeof(buf) - r, buf, r);
}
pos += r;
buf_end = r;
}
return static_cast<unsigned char>(buf[sizeof(buf) - buf_end--]);
}
uint4 read_uint4_be() const {
uint4 res = read() << 24;
res |= read() << 16;
res |= read() << 8;
res |= read();
return res;
}
void read(char* p, size_t len) const {
if (buf_end != 0) {
if (len <= buf_end) {
memcpy(p, buf + sizeof(buf) - buf_end, len);
buf_end -= len;
return;
}
memcpy(p, buf + sizeof(buf) - buf_end, buf_end);
p += buf_end;
len -= buf_end;
buf_end = 0;
}
// FIXME: refill buffer if len < sizeof(buf)
size_t r = io_pread(common->fd, p, len, pos + common->offset, len);
// io_pread() should throw an exception if it read < len bytes.
AssertEq(r, len);
pos += r;
}
void flush() {
if (!read_only && buf_end) {
io_write(common->fd, buf, buf_end);
pos += buf_end;
buf_end = 0;
}
}
void sync() {
io_sync(common->fd);
}
void rewind(off_t start) {
read_only = true;
pos = start;
buf_end = 0;
}
};
class HoneyCursor;
class SSTIndex {
std::string data;
#if defined SSTINDEX_BINARY_CHOP
size_t block = size_t(-1);
#elif defined SSTINDEX_SKIPLIST
size_t block = 0;
#endif
#if defined SSTINDEX_BINARY_CHOP || defined SSTINDEX_SKIPLIST
std::string last_index_key;
#endif
// Put an index entry every this much:
// FIXME: tune - seems 64K is common elsewhere
enum { INDEXBLOCK = 4096 };
SSTIndex* parent_index = NULL;
#ifdef SSTINDEX_ARRAY
unsigned char first, last = static_cast<unsigned char>(-1);
off_t* pointers = NULL;
#endif
public:
SSTIndex() {
#ifdef SSTINDEX_ARRAY
// Header added in write() method.
#elif defined SSTINDEX_BINARY_CHOP
data.assign(5, '\x01');
#elif defined SSTINDEX_SKIPLIST
data.assign(1, '\x02');
#else
# error "SSTINDEX type not specified"
#endif
}
~SSTIndex() {
#ifdef SSTINDEX_ARRAY
delete [] pointers;
#endif
}
void maybe_add_entry(const std::string& key, off_t ptr) {
#ifdef SSTINDEX_ARRAY
unsigned char initial = key[0];
if (!pointers) {
pointers = new off_t[256]();
first = initial;
}
// We should only be called for valid index points.
AssertRel(int(initial), !=, last);
while (++last != int(initial)) {
pointers[last] = ptr;
// FIXME: Perhaps record this differently so that an exact key
// search can return false?
}
pointers[initial] = ptr;
last = initial;
#elif defined SSTINDEX_BINARY_CHOP
// We store entries truncated to a maximum width (and trailing zeros
// are used to indicate keys shorter than that max width). These then
// point to the first key that maps to this truncated value.
//
// We need constant width entries to allow binary chop to work, but
// there are other ways to achieve this which could be explored. We
// could allow the full key width of 256 bytes, but that would take a
// lot more space. We could store a pointer (offset) to the key data,
// but that's more complex to read, and adds the pointer overhead. We
// could use a "SKO" - a fixed width entry which encodes variable
// length pointer and key with short keys in the entry and long keys
// pointed to (or prefix included and rest pointed to).
if (last_index_key.size() == SSTINDEX_BINARY_CHOP_KEY_SIZE) {
if (startswith(key, last_index_key)) {
return;
}
}
// Ensure the truncated key doesn't end in a zero byte.
if (key.size() >= SSTINDEX_BINARY_CHOP_KEY_SIZE) {
// FIXME: Start from char N if we have N array index levels above.
last_index_key.assign(key, 0, SSTINDEX_BINARY_CHOP_KEY_SIZE);
if (key[SSTINDEX_BINARY_CHOP_KEY_SIZE - 1] == '\0')
return;
} else {
last_index_key = key;
if (key.back() == '\0')
return;
// Pad with zero bytes.
last_index_key.resize(SSTINDEX_BINARY_CHOP_KEY_SIZE);
}
// Thin entries to at most one per INDEXBLOCK sized block.
size_t cur_block = ptr / INDEXBLOCK;
if (cur_block == block)
return;
#if 0
{
std::string esc;
description_append(esc, last_index_key);
std::cout << "Adding «" << esc << "» -> file offset " << ptr << std::endl;
}
#endif
data += last_index_key;
size_t c = data.size();
data.resize(c + 4);
unaligned_write4(reinterpret_cast<unsigned char*>(&data[c]), ptr);
block = cur_block;
#elif defined SSTINDEX_SKIPLIST
size_t cur_block = ptr / INDEXBLOCK;
if (cur_block == block) return;
size_t reuse = common_prefix_length(last_index_key, key);
data += char(reuse);
data += char(key.size() - reuse);
data.append(key, reuse, key.size() - reuse);
pack_uint(data, static_cast<std::make_unsigned<off_t>::type>(ptr));
block = cur_block;
// FIXME: deal with parent_index...
last_index_key = key;
#else
# error "SSTINDEX type not specified"
#endif
}
off_t write(BufferedFile& store) {
off_t root = store.get_pos();
#ifdef SSTINDEX_ARRAY
if (!pointers) {
first = last = 0;
pointers = new off_t[1]();
}
data.resize(0);
data.resize(3 + (last - first + 1) * 4);
data[0] = 0;
data[1] = first;
data[2] = last - first;
for (unsigned ch = first; ch <= last; ++ch) {
size_t o = 3 + (ch - first) * 4;
// FIXME: Just make offsets 8 bytes? Or allow different widths?
off_t ptr = pointers[ch];
if (sizeof(off_t) > 4 && ptr > off_t(0xffffffff))
throw Xapian::DatabaseError("Index offset needs >4 bytes");
Assert(o + 4 <= data.size());
unaligned_write4(reinterpret_cast<unsigned char*>(&data[o]), ptr);
}
delete [] pointers;
pointers = NULL;
#elif defined SSTINDEX_BINARY_CHOP
if (last_index_key.size() == SSTINDEX_BINARY_CHOP_KEY_SIZE) {
// Increment final byte(s) to give a key which is definitely
// at or above any key which this could be truncated from.
size_t i = last_index_key.size();
unsigned char ch;
do {
if (i == 0) {
// We can't increment "\xff\xff\xff\xff" to give an upper
// bound - just skip adding one in this case as the table
// will handle it OK and there's not much to be gained by
// adding one as few keys are larger.
goto skip_adding_upper_bound;
}
--i;
ch = static_cast<unsigned char>(last_index_key[i]) + 1;
last_index_key[i] = ch;
} while (ch == 0);
} else {
// Pad with zeros, which gives an upper bound.
last_index_key.resize(SSTINDEX_BINARY_CHOP_KEY_SIZE);
}
{
data += last_index_key;
size_t c = data.size();
data.resize(c + 4);
unaligned_write4(reinterpret_cast<unsigned char*>(&data[c]), root);
}
skip_adding_upper_bound:
// Fill in bytes 1 to 4 with the number of entries.
size_t n_index = (data.size() - 5) / SSTINDEX_BINARY_CHOP_ENTRY_SIZE;
data[1] = n_index >> 24;
data[2] = n_index >> 16;
data[3] = n_index >> 8;
data[4] = n_index;
#elif defined SSTINDEX_SKIPLIST
// Already built in data.
#else
# error "SSTINDEX type not specified"
#endif
store.write(data.data(), data.size());
// FIXME: parent stuff...
return root;
}
size_t size() const {
// FIXME: For SSTINDEX_ARRAY, data.size() only correct after calling
// write().
size_t s = data.size();
if (parent_index) s += parent_index->size();
return s;
}
};
class HoneyCursor;
class MutableHoneyCursor;
class HoneyTable {
// FIXME cleaner way?
friend class HoneyCursor; // Allow access to store.
friend class MutableHoneyCursor; // Allow access to store.
std::string path;
bool read_only;
int flags;
uint4 compress_min;
mutable BufferedFile store;
mutable std::string last_key;
SSTIndex index;
off_t root = -1;
honey_tablesize_t num_entries = 0;
bool lazy;
bool single_file() const { return path.empty(); }
/** Offset to add to pointers in this table.
*
* This is zero when each table is a separate file, but likely non-zero
* when the tables are all embedded in one file.
*/
off_t offset = 0;
bool get_exact_entry(const std::string& key, std::string* tag) const;
bool read_key(std::string& key, size_t& val_size, bool& compressed) const;
void read_val(std::string& val, size_t val_size) const;
public:
HoneyTable(const char*, const std::string& path_, bool read_only_,
bool lazy_ = false)
: path(path_ + HONEY_TABLE_EXTENSION),
read_only(read_only_),
lazy(lazy_)
{
}
HoneyTable(const char*, int fd, off_t offset_, bool read_only_,
bool lazy_ = false)
: read_only(read_only_),
store(fd, 0, offset_, read_only_),
lazy(lazy_),
offset(offset_)
{
}
~HoneyTable() {
#if 0
size_t index_size = index.size();
if (index_size)
std::cout << "*** " << path << " - index " << index_size << " for "
<< index.get_num_entries() << " entries" << std::endl;
#endif
bool fd_owned = !single_file();
store.close(fd_owned);
}
bool is_writable() const { return !read_only; }
int get_flags() const { return flags; }
void create_and_open(int flags_, const Honey::RootInfo& root_info);
void open(int flags_, const Honey::RootInfo& root_info,
honey_revision_number_t);
void close(bool permanent) {
bool fd_owned = !single_file();
if (permanent)
store.force_close(fd_owned);
else
store.close(fd_owned);
}
const std::string& get_path() const { return path; }
void add(const std::string& key,
const char* val,
size_t val_size,
bool compressed = false);
void add(const std::string& key,
const std::string& val,
bool compressed = false) {
add(key, val.data(), val.size(), compressed);
}
void flush_db() {
root = index.write(store);
store.flush();
}
void cancel(const Honey::RootInfo&, honey_revision_number_t) {
std::abort();
}
void commit(honey_revision_number_t, Honey::RootInfo* root_info);
bool sync() {
store.sync();
return true;
}
bool empty() const {
return num_entries == 0;
}
bool get_exact_entry(const std::string& key, std::string& tag) const {
return get_exact_entry(key, &tag);
}
bool key_exists(const std::string& key) const {
return get_exact_entry(key, NULL);
}
bool del(const std::string&) {
std::abort();
}
// readahead probably not useful? (FIXME)
bool readahead_key(const std::string&) const { return false; }
bool is_modified() const { return !read_only && !empty(); }
HoneyCursor* cursor_get() const;
bool exists() const {
struct stat sbuf;
return stat(path.c_str(), &sbuf) == 0;
}
bool is_open() const { return store.is_open(); }
static void throw_database_closed() {
throw Xapian::DatabaseClosedError("Closed!");
}
honey_tablesize_t get_entry_count() const { return num_entries; }
/** Return an approximation of the number of entries in the table.
*
* Currently this is exact, but may not be in the future.
*/
honey_tablesize_t get_approx_entry_count() const { return num_entries; }
off_t get_root() const { return root; }
off_t get_offset() const { return offset; }
};
#endif // XAPIAN_INCLUDED_HONEY_TABLE_H
| 25.442671 | 79 | 0.649059 |
e787465d2973f0fa1906320390e94d32e0fde334 | 411 | js | JavaScript | src/store/reducer.js | yepwaibin/music-react | 96a27093e70f62300238fc3c1d840bb2dbccc2cf | [
"MIT"
] | null | null | null | src/store/reducer.js | yepwaibin/music-react | 96a27093e70f62300238fc3c1d840bb2dbccc2cf | [
"MIT"
] | null | null | null | src/store/reducer.js | yepwaibin/music-react | 96a27093e70f62300238fc3c1d840bb2dbccc2cf | [
"MIT"
] | null | null | null | import {combineReducers} from "redux-immutable"
import { reducer as recommendReducer } from '../pages/discover/child-pages/recommend/store'
import {reducer as playerReducer } from '../pages/player/store'
import {reducer as rankingReducer } from '../pages/discover/child-pages/ranking/store'
export default combineReducers({
recommend: recommendReducer,
player: playerReducer,
ranking: rankingReducer
})
| 34.25 | 91 | 0.778589 |
ce3b8569c51345055869eaa3d544a880a3f404bf | 8,831 | dart | Dart | app/lib/main_menu/main_menu_section.dart | herediasamuel/HistoryOfEverything | cf62ffd96c261afc42a7b5d22d8df551cd0196c6 | [
"MIT"
] | 4 | 2019-07-12T23:01:39.000Z | 2020-11-13T12:52:20.000Z | app/lib/main_menu/main_menu_section.dart | ignertic/HistoryOfEverything | 73f5bc77a386af165dab099bd63884b9dc26c24e | [
"MIT"
] | null | null | null | app/lib/main_menu/main_menu_section.dart | ignertic/HistoryOfEverything | 73f5bc77a386af165dab099bd63884b9dc26c24e | [
"MIT"
] | 4 | 2019-04-28T23:03:16.000Z | 2020-11-13T12:52:22.000Z | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:timeline/main_menu/menu_data.dart';
import "package:flare/flare_actor.dart" as flare;
import 'package:timeline/main_menu/menu_vignette.dart';
typedef NavigateTo(MenuItemData item);
/// This widget displays the single menu section of the [MainMenuWidget].
///
/// There are three main sections, as loaded from the menu.json file in the
/// assets folder.
/// Each section has a backgroundColor, an accentColor, a background Flare asset,
/// and a list of elements it needs to display when expanded.
///
/// Since this widget expands and contracts when tapped, it needs to maintain a [State].
class MenuSection extends StatefulWidget {
final String title;
final Color backgroundColor;
final Color accentColor;
final List<MenuItemData> menuOptions;
final String assetId;
final NavigateTo navigateTo;
final bool isActive;
MenuSection(this.title, this.backgroundColor, this.accentColor,
this.menuOptions, this.navigateTo, this.isActive,
{this.assetId, Key key})
: super(key: key);
@override
State<StatefulWidget> createState() => _SectionState();
}
/// This [State] uses the [SingleTickerProviderStateMixin] to add [vsync] to it.
/// This allows the animation to run smoothly and avoids consuming unnecessary resources.
class _SectionState extends State<MenuSection>
with SingleTickerProviderStateMixin {
/// The [AnimationController] is a Flutter Animation object that generates a new value
/// whenever the hardware is ready to draw a new frame.
AnimationController _controller;
/// Since the above object interpolates only between 0 and 1, but we'd rather apply a curve to the current
/// animation, we're providing a custom [Tween] that allows to build more advanced animations, as seen in [initState()].
static final Animatable<double> _sizeTween = Tween<double>(
begin: 0.0,
end: 1.0,
);
/// The [Animation] object itself, which is required by the [SizeTransition] widget in the [build()] method.
Animation<double> _sizeAnimation;
/// Detects which state the widget is currently in, and triggers the animation upon change.
bool _isExpanded = false;
/// Here we initialize the fields described above, and set up the widget to its initial state.
@override
initState() {
super.initState();
_controller = AnimationController(
vsync: this,
duration: const Duration(milliseconds: 200),
);
/// This curve is controlled by [_controller].
final CurvedAnimation curve =
CurvedAnimation(parent: _controller, curve: Curves.fastOutSlowIn);
/// [_sizeAnimation] will interpolate using this curve - [Curves.fastOutSlowIn].
_sizeAnimation = _sizeTween.animate(curve);
_controller.addListener(() {
setState(() {});
});
}
@override
dispose() {
_controller.dispose();
super.dispose();
}
/// Whenever a tap is detected, toggle a change in the state and move the animation forward
/// or backwards depending on the initial status.
_toggleExpand() {
setState(() {
_isExpanded = !_isExpanded;
});
switch (_sizeAnimation.status) {
case AnimationStatus.completed:
_controller.reverse();
break;
case AnimationStatus.dismissed:
_controller.forward();
break;
case AnimationStatus.reverse:
case AnimationStatus.forward:
break;
}
}
/// This method wraps the whole widget in a [GestureDetector] to handle taps appropriately.
///
/// A custom [BoxDecoration] is used to render the rounded rectangle on the screen, and a
/// [MenuVignette] is used as a background decoration for the whole widget.
///
/// The [SizeTransition] opens up the section and displays the list underneath the section title.
///
/// Each section sub-element is wrapped into a [GestureDetector] too so that the Timeline can be displayed
/// when that element is tapped.
@override
Widget build(BuildContext context) {
return GestureDetector(
onTap: _toggleExpand,
child: Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(10.0),
color: widget.backgroundColor),
child: ClipRRect(
borderRadius: BorderRadius.circular(10.0),
child: Stack(
children: <Widget>[
Positioned.fill(
left: 0,
top: 0,
child: MenuVignette(
gradientColor: widget.backgroundColor,
isActive: widget.isActive,
assetId: widget.assetId)),
Column(children: <Widget>[
Container(
height: 150.0,
alignment: Alignment.bottomCenter,
child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Container(
height: 21.0,
width: 21.0,
margin: EdgeInsets.all(18.0),
/// Another [FlareActor] widget that
/// you can experiment with here: https://www.2dimensions.com/a/pollux/files/flare/expandcollapse/preview
child: flare.FlareActor(
"assets/ExpandCollapse.flr",
color: widget.accentColor,
animation:
_isExpanded ? "Collapse" : "Expand")),
Text(
widget.title,
style: TextStyle(
fontSize: 20.0,
fontFamily: "RobotoMedium",
color: widget.accentColor),
)
],
)),
SizeTransition(
axisAlignment: 0.0,
axis: Axis.vertical,
sizeFactor: _sizeAnimation,
child: Container(
child: Padding(
padding: EdgeInsets.only(
left: 56.0, right: 20.0, top: 10.0),
child: Column(
children: widget.menuOptions.map((item) {
return GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: () => widget.navigateTo(item),
child: Row(
crossAxisAlignment:
CrossAxisAlignment.start,
children: [
Expanded(
child: Container(
margin: EdgeInsets.only(
bottom: 20.0),
child: Text(
item.label,
style: TextStyle(
color: widget
.accentColor,
fontSize: 20.0,
fontFamily:
"RobotoMedium"),
))),
Container(
alignment: Alignment.center,
child: Image.asset(
"assets/right_arrow.png",
color: widget.accentColor,
height: 22.0,
width: 22.0))
]));
}).toList()))))
]),
],
))));
}
} | 44.155 | 139 | 0.482278 |
64f387ae6b5cbac4239f6f3fa925526498459bea | 3,071 | java | Java | odps-sdk-impl/odps-mapred-local/src/main/java/com/aliyun/odps/mapred/local/utils/LocalColumnBasedRecordComparator.java | yuanice/aliyun-odps-java-sdk | 170e2d9f0d2522fd84f5694a5c8c1e62adfc455f | [
"Apache-2.0"
] | 80 | 2015-07-08T09:33:25.000Z | 2022-03-12T16:58:28.000Z | odps-sdk-impl/odps-mapred-local/src/main/java/com/aliyun/odps/mapred/local/utils/LocalColumnBasedRecordComparator.java | yuanice/aliyun-odps-java-sdk | 170e2d9f0d2522fd84f5694a5c8c1e62adfc455f | [
"Apache-2.0"
] | 43 | 2016-03-29T06:40:44.000Z | 2022-02-28T10:32:10.000Z | odps-sdk-impl/odps-mapred-local/src/main/java/com/aliyun/odps/mapred/local/utils/LocalColumnBasedRecordComparator.java | yuanice/aliyun-odps-java-sdk | 170e2d9f0d2522fd84f5694a5c8c1e62adfc455f | [
"Apache-2.0"
] | 55 | 2015-09-02T14:27:29.000Z | 2022-01-12T02:33:22.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyun.odps.mapred.local.utils;
import java.util.HashMap;
import java.util.Map;
import com.aliyun.odps.Column;
import com.aliyun.odps.mapred.bridge.type.NaturalRecordComparator;
import com.aliyun.odps.mapred.conf.JobConf.SortOrder;
/**
* 可以指定排序列的RecordComparator。排序策略是自然序。
*/
public class LocalColumnBasedRecordComparator extends NaturalRecordComparator {
int[] selIdxs;
SortOrder[] sortOrders;
/**
* ColumnBasedRecordComparator的构造方法,指定排序列的下标索引。例如指定排序列的下标索引为0,3,则比较时先用第0列比较,
* 第0列相同时使用第3列比较。
*
* @param selIdxs
* 排序列的下标索引
* @param schema
* 整个Record的行属性
*/
public LocalColumnBasedRecordComparator(int[] selIdxs, Column[] schema, SortOrder[] sortOrders) {
super(schema);
this.selIdxs = selIdxs;
this.sortOrders = sortOrders;
}
/**
* ColumnBasedRecordComparator的构造方法,指定排序列的列名。例如指定排序列的下标索引为“word”,“count”,
* 则比较时先用word列比较, word列相同时使用count列比较。
*
* @param selCols
* @param schema
*/
public LocalColumnBasedRecordComparator(String[] selCols, Column[] schema,
SortOrder[] sortOrders) {
super(schema);
this.selIdxs = new int[selCols.length];
this.sortOrders = sortOrders;
Map<String, Integer> reverseLookupMap = new HashMap<String, Integer>();
int i = 0;
for (Column c : schema) {
reverseLookupMap.put(c.getName(), i);
i++;
}
i = 0;
for (String col : selCols) {
selIdxs[i] = reverseLookupMap.get(col);
i++;
}
}
@Override
public int compare(Object[] l, Object[] r) {
int result = 0;
int index = 0;
for (int i : selIdxs) {
if (r.length < i) {
if (sortOrders != null && sortOrders[index] == SortOrder.DESC) {
return 1;
}
return -1;
}
if (l.length < i) {
if (sortOrders != null && sortOrders[index] == SortOrder.DESC) {
return -1;
}
return 1;
}
result = compare(l[i], r[i], comparators[i]);
if (result != 0) {
if (sortOrders != null && sortOrders.length == selIdxs.length
&& sortOrders[index] == SortOrder.DESC) {
return (0 - result);
}
return result;
}
index++;
}
return 0;
}
}
| 28.435185 | 99 | 0.642787 |
1742114eb5b164be3194a19f799c7d8c02d12a39 | 21,473 | html | HTML | docs/html/WriteIndex_8cpp_source.html | buckaroo-upgrade-bot/facebookresearch-faiss | 94464ab00b5bab579ddfbf1b9ee530816888d670 | [
"BSD-3-Clause"
] | 2 | 2019-04-07T05:01:30.000Z | 2019-10-25T02:27:20.000Z | docs/html/WriteIndex_8cpp_source.html | omar16100/faiss | 712edb043ac83aa7a8235dafdfa4fc299448d84e | [
"BSD-3-Clause"
] | null | null | null | docs/html/WriteIndex_8cpp_source.html | omar16100/faiss | 712edb043ac83aa7a8235dafdfa4fc299448d84e | [
"BSD-3-Clause"
] | 2 | 2022-01-12T12:05:17.000Z | 2022-02-14T07:13:38.000Z | <!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/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>Faiss: /tmp/faiss/gpu/perf/WriteIndex.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Faiss
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_af0e5773a0d3761542ab6067d117c294.html">gpu</a></li><li class="navelem"><a class="el" href="dir_22ce118cf589ce24f4cc723d5eba89a1.html">perf</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">WriteIndex.cpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2015-present, Facebook, Inc.</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * All rights reserved.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * This source code is licensed under the BSD+Patents license found in the</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * LICENSE file in the root directory of this source tree.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> </div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include "../../IndexIVFFlat.h"</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include "../../IndexIVFPQ.h"</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "../../IndexFlat.h"</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include "../../index_io.h"</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "../test/TestUtils.h"</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <vector></span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <gflags/gflags.h></span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">// For IVFPQ:</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> DEFINE_bool(ivfpq, <span class="keyword">false</span>, <span class="stringliteral">"use IVFPQ encoding"</span>);</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> DEFINE_int32(codes, 4, <span class="stringliteral">"number of PQ codes per vector"</span>);</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> DEFINE_int32(bits_per_code, 8, <span class="stringliteral">"number of bits per PQ code"</span>);</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">// For IVFFlat:</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> DEFINE_bool(l2, <span class="keyword">true</span>, <span class="stringliteral">"use L2 metric (versus IP metric)"</span>);</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> DEFINE_bool(ivfflat, <span class="keyword">false</span>, <span class="stringliteral">"use IVF flat encoding"</span>);</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment">// For both:</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> DEFINE_string(out, <span class="stringliteral">"/home/jhj/local/index.out"</span>, <span class="stringliteral">"index file for output"</span>);</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> DEFINE_int32(dim, 128, <span class="stringliteral">"vector dimension"</span>);</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> DEFINE_int32(num_coarse, 100, <span class="stringliteral">"number of coarse centroids"</span>);</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> DEFINE_int32(num, 100000, <span class="stringliteral">"total database size"</span>);</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> DEFINE_int32(num_train, -1, <span class="stringliteral">"number of database vecs to train on"</span>);</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keywordtype">void</span> fillAndSave(T& index, <span class="keywordtype">int</span> numTrain, <span class="keywordtype">int</span> num, <span class="keywordtype">int</span> dim) {</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keyword">auto</span> trainVecs = faiss::gpu::randVecs(numTrain, dim);</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  index.train(numTrain, trainVecs.data());</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  constexpr <span class="keywordtype">int</span> kAddChunk = 1000000;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < num; i += kAddChunk) {</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordtype">int</span> numRemaining = (num - i) < kAddChunk ? (num - i) : kAddChunk;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">auto</span> vecs = faiss::gpu::randVecs(numRemaining, dim);</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  printf(<span class="stringliteral">"adding at %d: %d\n"</span>, i, numRemaining);</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  index.add(numRemaining, vecs.data());</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  }</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  faiss::write_index(&index, FLAGS_out.c_str());</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> }</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="keywordtype">int</span> main(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span>** argv) {</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  gflags::ParseCommandLineFlags(&argc, &argv, <span class="keyword">true</span>);</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="comment">// Either ivfpq or ivfflat must be set</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordflow">if</span> ((FLAGS_ivfpq && FLAGS_ivfflat) ||</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  (!FLAGS_ivfpq && !FLAGS_ivfflat)) {</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  printf(<span class="stringliteral">"must specify either ivfpq or ivfflat\n"</span>);</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  }</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">auto</span> dim = FLAGS_dim;</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">auto</span> numCentroids = FLAGS_num_coarse;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keyword">auto</span> num = FLAGS_num;</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">auto</span> numTrain = FLAGS_num_train;</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  numTrain = numTrain == -1 ? std::max((num / 4), 1) : numTrain;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  numTrain = std::min(num, numTrain);</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordflow">if</span> (FLAGS_ivfpq) {</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <a class="code" href="structfaiss_1_1IndexFlatL2.html">faiss::IndexFlatL2</a> quantizer(dim);</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="structfaiss_1_1IndexIVFPQ.html">faiss::IndexIVFPQ</a> index(&quantizer, dim, numCentroids,</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  FLAGS_codes, FLAGS_bits_per_code);</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  index.verbose = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  printf(<span class="stringliteral">"IVFPQ: codes %d bits per code %d\n"</span>,</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  FLAGS_codes, FLAGS_bits_per_code);</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  printf(<span class="stringliteral">"Lists: %d\n"</span>, numCentroids);</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  printf(<span class="stringliteral">"Database: dim %d num vecs %d trained on %d\n"</span>, dim, num, numTrain);</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  printf(<span class="stringliteral">"output file: %s\n"</span>, FLAGS_out.c_str());</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  fillAndSave(index, numTrain, num, dim);</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (FLAGS_ivfflat) {</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <a class="code" href="structfaiss_1_1IndexFlatL2.html">faiss::IndexFlatL2</a> quantizerL2(dim);</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <a class="code" href="structfaiss_1_1IndexFlatIP.html">faiss::IndexFlatIP</a> quantizerIP(dim);</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="structfaiss_1_1IndexFlat.html">faiss::IndexFlat</a>* quantizer = FLAGS_l2 ?</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  (<a class="code" href="structfaiss_1_1IndexFlat.html">faiss::IndexFlat</a>*) &quantizerL2 :</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  (<a class="code" href="structfaiss_1_1IndexFlat.html">faiss::IndexFlat</a>*) &quantizerIP;</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="structfaiss_1_1IndexIVFFlat.html">faiss::IndexIVFFlat</a> index(quantizer, dim, numCentroids,</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  FLAGS_l2 ? faiss::METRIC_L2 :</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  faiss::METRIC_INNER_PRODUCT);</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  printf(<span class="stringliteral">"IVFFlat: metric %s\n"</span>, FLAGS_l2 ? <span class="stringliteral">"L2"</span> : <span class="stringliteral">"IP"</span>);</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  printf(<span class="stringliteral">"Lists: %d\n"</span>, numCentroids);</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  printf(<span class="stringliteral">"Database: dim %d num vecs %d trained on %d\n"</span>, dim, num, numTrain);</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  printf(<span class="stringliteral">"output file: %s\n"</span>, FLAGS_out.c_str());</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  fillAndSave(index, numTrain, num, dim);</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  }</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> }</div>
<div class="ttc" id="structfaiss_1_1IndexFlat_html"><div class="ttname"><a href="structfaiss_1_1IndexFlat.html">faiss::IndexFlat</a></div><div class="ttdef"><b>Definition:</b> <a href="IndexFlat_8h_source.html#l00022">IndexFlat.h:22</a></div></div>
<div class="ttc" id="structfaiss_1_1IndexFlatL2_html"><div class="ttname"><a href="structfaiss_1_1IndexFlatL2.html">faiss::IndexFlatL2</a></div><div class="ttdef"><b>Definition:</b> <a href="IndexFlat_8h_source.html#l00078">IndexFlat.h:78</a></div></div>
<div class="ttc" id="structfaiss_1_1IndexIVFFlat_html"><div class="ttname"><a href="structfaiss_1_1IndexIVFFlat.html">faiss::IndexIVFFlat</a></div><div class="ttdef"><b>Definition:</b> <a href="IndexIVFFlat_8h_source.html#l00025">IndexIVFFlat.h:25</a></div></div>
<div class="ttc" id="structfaiss_1_1IndexFlatIP_html"><div class="ttname"><a href="structfaiss_1_1IndexFlatIP.html">faiss::IndexFlatIP</a></div><div class="ttdef"><b>Definition:</b> <a href="IndexFlat_8h_source.html#l00072">IndexFlat.h:72</a></div></div>
<div class="ttc" id="structfaiss_1_1IndexIVFPQ_html"><div class="ttname"><a href="structfaiss_1_1IndexIVFPQ.html">faiss::IndexIVFPQ</a></div><div class="ttdef"><b>Definition:</b> <a href="IndexIVFPQ_8h_source.html#l00035">IndexIVFPQ.h:35</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>
| 103.7343 | 1,242 | 0.65608 |
7284694d49dffe1694d0d439ff5b9aef3f2636f6 | 16,080 | rs | Rust | src/alignment.rs | sjackman/rust-bio-types | e0cdbc873b635fbc520b574f576330dd0d00ffd3 | [
"MIT"
] | null | null | null | src/alignment.rs | sjackman/rust-bio-types | e0cdbc873b635fbc520b574f576330dd0d00ffd3 | [
"MIT"
] | null | null | null | src/alignment.rs | sjackman/rust-bio-types | e0cdbc873b635fbc520b574f576330dd0d00ffd3 | [
"MIT"
] | null | null | null | // Copyright 2014-2015 Johannes Köster, Vadim Nazarov, Patrick Marks
// Licensed under the MIT license (http://opensource.org/licenses/MIT)
// This file may not be copied, modified, or distributed
// except according to those terms.
//! Types for representing pairwise sequence alignments
pub type TextSlice<'a> = &'a [u8];
/// Alignment operations supported are match, substitution, insertion, deletion
/// and clipping. Clipping is a special boundary condition where you are allowed
/// to clip off the beginning/end of the sequence for a fixed clip penalty. The
/// clip penalty could be different for the two sequences x and y, and the
/// clipping operations on both are distinguishable (Xclip and Yclip). The usize
/// value associated with the clipping operations are the lengths clipped. In case
/// of standard modes like Global, Semi-Global and Local alignment, the clip operations
/// are filtered out
#[derive(Eq, PartialEq, Debug, Copy, Clone, Serialize, Deserialize)]
pub enum AlignmentOperation {
Match,
Subst,
Del,
Ins,
Xclip(usize),
Yclip(usize),
}
/// The modes of alignment supported by the aligner include standard modes such as
/// Global, Semi-Global and Local alignment. In addition to this, user can also invoke
/// the custom mode. In the custom mode, users can explicitly specify the clipping penalties
/// for prefix and suffix of strings 'x' and 'y' independently. Under the hood the standard
/// modes are implemented as special cases of the custom mode with the clipping penalties
/// appropriately set.
///
/// The default alignment mode is Global.
#[derive(Debug, PartialEq, Eq, Copy, Clone, Serialize, Deserialize)]
pub enum AlignmentMode {
Local,
Semiglobal,
Global,
Custom,
}
impl Default for AlignmentMode {
fn default() -> Self {
AlignmentMode::Global
}
}
/// We consider alignment between two sequences x and y. x is the query or read sequence
/// and y is the reference or template sequence. An alignment, consisting of a score,
/// the start and end position of the alignment on sequence x and sequence y, the
/// lengths of sequences x and y, and the alignment edit operations. The start position
/// and end position of the alignment does not include the clipped regions. The length
/// of clipped regions are already encapsulated in the Alignment Operation.
#[derive(Debug, Eq, PartialEq, Clone, Serialize, Deserialize, Default)]
pub struct Alignment {
/// Smith-Waterman alignment score
pub score: i32,
/// Start position of alignment in reference
pub ystart: usize,
/// Start position of alignment in query
pub xstart: usize,
/// End position of alignment in reference
pub yend: usize,
/// End position of alignment in query
pub xend: usize,
/// Length of the reference sequence
pub ylen: usize,
/// Length of the query sequence
pub xlen: usize,
/// Vector of alignment operations
pub operations: Vec<AlignmentOperation>,
pub mode: AlignmentMode,
}
impl Alignment {
/// Calculate the cigar string from the alignment struct. x is the target string
///
/// # Example
///
/// ```
/// use bio_types::alignment::{Alignment,AlignmentMode};
/// use bio_types::alignment::AlignmentOperation::{Match, Subst, Ins, Del};
/// let alignment = Alignment {
/// score: 5,
/// xstart: 3,
/// ystart: 0,
/// xend: 9,
/// yend: 10,
/// ylen: 10,
/// xlen: 10,
/// operations: vec![Match, Match, Match, Subst, Ins, Ins, Del, Del],
/// mode: AlignmentMode::Semiglobal
/// };
/// assert_eq!(alignment.cigar(false), "3S3=1X2I2D1S");
/// ```
pub fn cigar(&self, hard_clip: bool) -> String {
match self.mode {
AlignmentMode::Global => panic!(" Cigar fn not supported for Global Alignment mode"),
AlignmentMode::Local => panic!(" Cigar fn not supported for Local Alignment mode"),
_ => {}
}
let clip_str = if hard_clip { "H" } else { "S" };
let add_op = |op: AlignmentOperation, k, cigar: &mut String| match op {
AlignmentOperation::Match => cigar.push_str(&format!("{}{}", k, "=")),
AlignmentOperation::Subst => cigar.push_str(&format!("{}{}", k, "X")),
AlignmentOperation::Del => cigar.push_str(&format!("{}{}", k, "D")),
AlignmentOperation::Ins => cigar.push_str(&format!("{}{}", k, "I")),
_ => {}
};
let mut cigar = "".to_owned();
if self.operations.is_empty() {
return cigar;
}
let mut last = self.operations[0];
if self.xstart > 0 {
cigar.push_str(&format!("{}{}", self.xstart, clip_str))
}
let mut k = 1;
for &op in self.operations[1..].iter() {
if op == last {
k += 1;
} else {
add_op(last, k, &mut cigar);
k = 1;
}
last = op;
}
add_op(last, k, &mut cigar);
if self.xlen > self.xend {
cigar.push_str(&format!("{}{}", self.xlen - self.xend, clip_str))
}
cigar
}
/// Return the pretty formatted alignment as a String. The string
/// contains sets of 3 lines of length 100. First line is for the
/// sequence x, second line is for the alignment operation and the
/// the third line is for the sequence y. A '-' in the sequence
/// indicates a blank (insertion/deletion). The operations follow
/// the following convention: '|' for a match, '\' for a mismatch,
/// '+' for an insertion, 'x' for a deletion and ' ' for clipping
///
/// # Example
///
/// If we align the strings "CCGTCCGGCAAGGG" and "AAAAACCGTTGACGGCCAA"
/// in various modes, we will get the following output:
///
/// Semiglobal:
/// ```c
/// CCGTCCGGCAAGGG
/// ||||++++\\|\||
/// AAAAACCGT----TGACGGCCAA
/// ```
///
/// Local:
/// ```c
/// CCGTCCGGCAAGGG
/// ||||
/// AAAAACCGT TGACGGCCAA
/// ```
///
/// Global:
/// ```c
/// -----CCGT--CCGGCAAGGG
/// xxxxx||||xx\||||\|++\
/// AAAAACCGTTGACGGCCA--A
/// ```
///
pub fn pretty(&self, x: TextSlice, y: TextSlice) -> String {
let mut x_pretty = String::new();
let mut y_pretty = String::new();
let mut inb_pretty = String::new();
if !self.operations.is_empty() {
let mut x_i: usize;
let mut y_i: usize;
// If the alignment mode is one of the standard ones, the prefix clipping is
// implicit so we need to process it here
match self.mode {
AlignmentMode::Custom => {
x_i = 0;
y_i = 0;
}
_ => {
x_i = self.xstart;
y_i = self.ystart;
for k in x.iter().take(self.xstart) {
x_pretty.push_str(&format!("{}", String::from_utf8_lossy(&[*k])));
inb_pretty.push(' ');
y_pretty.push(' ')
}
for k in y.iter().take(self.ystart) {
y_pretty.push_str(&format!("{}", String::from_utf8_lossy(&[*k])));
inb_pretty.push(' ');
x_pretty.push(' ')
}
}
}
// Process the alignment.
for i in 0..self.operations.len() {
match self.operations[i] {
AlignmentOperation::Match => {
x_pretty.push_str(&format!("{}", String::from_utf8_lossy(&[x[x_i]])));
x_i += 1;
inb_pretty.push_str("|");
y_pretty.push_str(&format!("{}", String::from_utf8_lossy(&[y[y_i]])));
y_i += 1;
}
AlignmentOperation::Subst => {
x_pretty.push_str(&format!("{}", String::from_utf8_lossy(&[x[x_i]])));
x_i += 1;
inb_pretty.push('\\');
y_pretty.push_str(&format!("{}", String::from_utf8_lossy(&[y[y_i]])));
y_i += 1;
}
AlignmentOperation::Del => {
x_pretty.push('-');
inb_pretty.push('x');
y_pretty.push_str(&format!("{}", String::from_utf8_lossy(&[y[y_i]])));
y_i += 1;
}
AlignmentOperation::Ins => {
x_pretty.push_str(&format!("{}", String::from_utf8_lossy(&[x[x_i]])));
x_i += 1;
inb_pretty.push('+');
y_pretty.push('-');
}
AlignmentOperation::Xclip(len) => {
for k in x.iter().take(len) {
x_pretty.push_str(&format!("{}", String::from_utf8_lossy(&[*k])));
x_i += 1;
inb_pretty.push(' ');
y_pretty.push(' ')
}
}
AlignmentOperation::Yclip(len) => {
for k in y.iter().take(len) {
y_pretty.push_str(&format!("{}", String::from_utf8_lossy(&[*k])));
y_i += 1;
inb_pretty.push(' ');
x_pretty.push(' ')
}
}
}
}
// If the alignment mode is one of the standard ones, the suffix clipping is
// implicit so we need to process it here
match self.mode {
AlignmentMode::Custom => {}
_ => {
for k in x.iter().take(self.xlen).skip(x_i) {
x_pretty.push_str(&format!("{}", String::from_utf8_lossy(&[*k])));
inb_pretty.push(' ');
y_pretty.push(' ')
}
for k in y.iter().take(self.ylen).skip(y_i) {
y_pretty.push_str(&format!("{}", String::from_utf8_lossy(&[*k])));
inb_pretty.push(' ');
x_pretty.push(' ')
}
}
}
}
let mut s = String::new();
let mut idx = 0;
let step = 100; // Number of characters per line
use std::cmp::min;
assert_eq!(x_pretty.len(), inb_pretty.len());
assert_eq!(y_pretty.len(), inb_pretty.len());
let ml = x_pretty.len();
while idx < ml {
let rng = idx..min(idx + step, ml);
s.push_str(&x_pretty[rng.clone()]);
s.push_str("\n");
s.push_str(&inb_pretty[rng.clone()]);
s.push_str("\n");
s.push_str(&y_pretty[rng]);
s.push_str("\n");
s.push_str("\n\n");
idx += step;
}
s
}
/// Returns the optimal path in the alignment matrix
pub fn path(&self) -> Vec<(usize, usize, AlignmentOperation)> {
let mut path = Vec::new();
if !self.operations.is_empty() {
let last = match self.mode {
AlignmentMode::Custom => (self.xlen, self.ylen),
_ => (self.xend, self.yend),
};
let mut x_i = last.0;
let mut y_i = last.1;
let mut ops = self.operations.clone();
ops.reverse();
// Process the alignment.
for i in ops {
path.push((x_i, y_i, i));
match i {
AlignmentOperation::Match => {
x_i -= 1;
y_i -= 1;
}
AlignmentOperation::Subst => {
x_i -= 1;
y_i -= 1;
}
AlignmentOperation::Del => {
y_i -= 1;
}
AlignmentOperation::Ins => {
x_i -= 1;
}
AlignmentOperation::Xclip(len) => {
x_i -= len;
}
AlignmentOperation::Yclip(len) => {
y_i -= len;
}
}
}
}
path.reverse();
path
}
/// Filter out Xclip and Yclip operations from the list of operations. Useful
/// when invoking the standard modes.
pub fn filter_clip_operations(&mut self) {
use self::AlignmentOperation::{Del, Ins, Match, Subst};
self.operations
.retain(|x| (*x == Match || *x == Subst || *x == Ins || *x == Del));
}
/// Number of bases in reference sequence that are aligned
pub fn y_aln_len(&self) -> usize {
self.yend - self.ystart
}
/// Number of bases in query sequence that are aigned
pub fn x_aln_len(&self) -> usize {
self.xend - self.xstart
}
}
#[cfg(test)]
mod tests {
use super::AlignmentOperation::*;
use super::*;
#[test]
fn test_cigar() {
let alignment = Alignment {
score: 5,
xstart: 3,
ystart: 0,
xend: 9,
yend: 10,
ylen: 10,
xlen: 10,
operations: vec![Match, Match, Match, Subst, Ins, Ins, Del, Del],
mode: AlignmentMode::Semiglobal,
};
assert_eq!(alignment.cigar(false), "3S3=1X2I2D1S");
let alignment = Alignment {
score: 5,
xstart: 0,
ystart: 5,
xend: 4,
yend: 10,
ylen: 10,
xlen: 5,
operations: vec![Yclip(5), Match, Subst, Subst, Ins, Del, Del, Xclip(1)],
mode: AlignmentMode::Custom,
};
assert_eq!(alignment.cigar(false), "1=2X1I2D1S");
assert_eq!(alignment.cigar(true), "1=2X1I2D1H");
let alignment = Alignment {
score: 5,
xstart: 0,
ystart: 5,
xend: 3,
yend: 8,
ylen: 10,
xlen: 3,
operations: vec![Yclip(5), Subst, Match, Subst, Yclip(2)],
mode: AlignmentMode::Custom,
};
assert_eq!(alignment.cigar(false), "1X1=1X");
let alignment = Alignment {
score: 5,
xstart: 0,
ystart: 5,
xend: 3,
yend: 8,
ylen: 10,
xlen: 3,
operations: vec![Subst, Match, Subst],
mode: AlignmentMode::Semiglobal,
};
assert_eq!(alignment.cigar(false), "1X1=1X");
}
#[test]
fn test_pretty() {
let alignment = Alignment {
score: 1,
xstart: 0,
ystart: 2,
xend: 3,
yend: 5,
ylen: 7,
xlen: 2,
operations: vec![Subst, Match, Match],
mode: AlignmentMode::Semiglobal,
};
let pretty = concat!(" GAT \n", " \\|| \n", "CTAATCC\n", "\n\n");
assert_eq!(alignment.pretty(b"GAT", b"CTAATCC"), pretty);
let alignment = Alignment {
score: 5,
xstart: 0,
ystart: 5,
xend: 4,
yend: 10,
ylen: 10,
xlen: 5,
operations: vec![Yclip(5), Match, Subst, Subst, Ins, Del, Del, Xclip(1)],
mode: AlignmentMode::Custom,
};
let pretty = concat!(" AAAA--A\n |\\\\+xx \nTTTTTTTT-TT \n\n\n");
assert_eq!(alignment.pretty(b"AAAAA", b"TTTTTTTTTT"), pretty);
}
}
| 33.640167 | 97 | 0.485697 |
f10e7c131d5b883fe6581b6c229ccb5278f4c96b | 4,748 | sql | SQL | db/seed.sql | EricHogue/joindin-api | cbd77a4d3a6de637d1e5ea870bd691b15db92140 | [
"BSD-3-Clause"
] | 2 | 2015-08-19T19:15:49.000Z | 2016-11-26T18:17:30.000Z | db/seed.sql | EricHogue/joindin-api | cbd77a4d3a6de637d1e5ea870bd691b15db92140 | [
"BSD-3-Clause"
] | null | null | null | db/seed.sql | EricHogue/joindin-api | cbd77a4d3a6de637d1e5ea870bd691b15db92140 | [
"BSD-3-Clause"
] | 1 | 2019-12-07T01:29:58.000Z | 2019-12-07T01:29:58.000Z | /*
Please note! This assumes that you've already loaded in
the structure of the database via the other SQL file. Without
the table structure, this seed data cannot be added.
*/
/* Add in some sample users */
/* John Doe is a normal site user, his password is "password" */
insert into user (
username,password,verified,
email,last_login,
admin,full_name,
active,ID
) value (
'johndoe',
'$2y$10$OaClfzmGnjcz79RsKLe./uYVEvzen.86HZCZ9ayrvP5vFk1z7qCJy',
1,
'johndoe@sampledomain.com',
unix_timestamp(),
0,
'John Doe',
1, NULL
);
SET @fuserid:=LAST_INSERT_ID();
/* Ima Admin is an admin, her password is also "password" */
insert into user (
username,password,verified,
email,last_login,
admin,full_name,
active,ID
) value (
'imaadmin',
'$2y$10$StMpCySaSLHuvh3KLFNiZ.vSEykBF8kVWEG6ZtuXzQd4F9WWlfBFi',
1,
'ima@sampledomain.com',
unix_timestamp(),
1,
'Ima Admin',
1, NULL
);
SET @suserid:=LAST_INSERT_ID();
/* ----------------------------------*/
/* Insert sample past event data */
insert into events (
event_name,
event_start,event_end,
event_lat,event_long,
event_loc,event_desc,
event_stub,
event_icon,event_hashtag,
event_href,event_cfp_start,event_cfp_end,
event_voting,private,
pending,active,
ID,
event_tz_cont,event_tz_place
) values (
'Test Event #1',
(select unix_timestamp()-345600),
(select unix_timestamp()-259200),
null,null,'New York, NY',
'This is a sample event from the seed load script',
'seedload',
'','seedload_hash',
'http://sampledomain.com',
null,null,0,
0,0,1,NULL,
"Europe","Amsterdam"
);
SET @pevtid:=LAST_INSERT_ID();
/* ----------------------------------*/
/* Insert past event attendees */
insert into user_attend (
uid, eid, ID
) values (
@fuserid,
@pevtid,
NULL
),
(
@suserid,
@pevtid,
NULL
);
/* ----------------------------------*/
/* Insert sample event data */
insert into events (
event_name,
event_start,event_end,
event_lat,event_long,
event_loc,event_desc,
event_stub,
event_icon,event_hashtag,
event_href,event_cfp_start,event_cfp_end,
event_voting,private,
pending,active,
ID,
event_tz_cont,event_tz_place
) values (
'Test Event #2',
unix_timestamp(),
(select unix_timestamp()+86400),
null,null,'Dallas, Tx',
'This is a sample event from the seed load script',
'seedload2',
'','seedload_hash',
'http://sampledomain.com',
null,null,0,
0,0,1,NULL,
"America","Denver"
);
SET @evtid:=LAST_INSERT_ID();
/* ----------------------------------*/
/* Add a sample event comment */
insert into event_comments (
event_id,
comment,
date_made,
user_id,
active,
cname,
comment_type,
ID
) values (
@evtid,
'This is a sample comment on the Test Event #2',
unix_timestamp(),
@fuserid,
1,
'John Doe',NULL,NULL
);
/* ----------------------------------*/
/* Insert related talk data */
insert into talks (
talk_title,speaker,slides_link,
date_given,event_id,talk_desc,
active,owner_id,lang,duration,
ID
) values (
'Sample Talk #1 from Seed Load',
'John Doe',
'http://slideshare.com',
unix_timestamp(),
@evtid,
'This is sample talk #1 from the seed load. This description is here to provide an example.',
1,
NULL,
1,
45,
NULL
);
SET @ftalkid:=LAST_INSERT_ID();
/* Insert speaker data for the talk */
insert into talk_speaker (
talk_id,
speaker_name,
speaker_id,
status,
ID
)values(
@ftalkid,
'John Doe',
@fuserid,
NULL,
NULL
);
/* Insert talk category info for the talk */
insert into talk_cat (
talk_id, cat_id, ID
) values (
@ftalkid,
1,
NULL
);
insert into talks (
talk_title,speaker,slides_link,
date_given,event_id,talk_desc,
active,owner_id,lang,duration,
ID
) values (
'Sample Talk #2 from Seed Load',
'Jane Doe',
'http://slideshare.com',
unix_timestamp(),
@evtid,
'This is sample talk #2 from the seed load. This description is here to provide an example.',
1,
NULL,
1,
45,
NULL
);
SET @stalkid:=LAST_INSERT_ID();
/* Insert speaker data for the talk */
insert into talk_speaker (
talk_id,
speaker_name,
ID
)values(
@stalkid,
'Jane Doe',
NULL
);
/* Insert talk category info for the talk */
insert into talk_cat (
talk_id, cat_id, ID
) values (
@stalkid,
1,
NULL
);
/* ----------------------------------*/
/* Add a pending claim for John Doe on the first talk */
insert into user_admin (
uid,rid,
rtype,rcode,
ID
) values (
@fuserid,@ftalkid,
'talk','pending',
NULL
);
/* Make the first user the admin of an event */
insert into user_admin (
uid,rid,
rtype,rcode,
ID
) values (
@fuserid,@evtid,
'event','',NULL
);
/* Add a record to allow web2 to talk to the API */
insert into oauth_consumers set
consumer_key = "web2",
consumer_secret = "web2secret",
user_id=1, enable_password_grant=1;
| 18.916335 | 94 | 0.663648 |
01d37f58bed2aa8646b7666d65e853cddb820ad2 | 16,602 | rs | Rust | nazara_core/src/image.rs | DigitalPulseSoftware/NazarustEngine | b5de845d722a34cad4ee0eec5639ebea25738975 | [
"MIT"
] | 7 | 2019-11-26T14:12:24.000Z | 2019-11-26T17:59:58.000Z | nazara_core/src/image.rs | NazaraEngine/Nazarust | b5de845d722a34cad4ee0eec5639ebea25738975 | [
"MIT"
] | null | null | null | nazara_core/src/image.rs | NazaraEngine/Nazarust | b5de845d722a34cad4ee0eec5639ebea25738975 | [
"MIT"
] | 4 | 2019-11-26T15:46:30.000Z | 2019-11-26T19:46:36.000Z | use std::{
fs::File,
io::{BufRead, BufReader, Cursor, Seek},
path::Path,
};
use cgmath::Vector3;
use image::{io::Reader, DynamicImage, GenericImageView};
use crate::{
enums::{ImageType, PixelFormatType},
errors::{ImageError, NazaraError, NazaraResult},
};
/// Image structure for Nazarust
///
/// TODO: Mettre ici une description plus avancé, j'ai pas encore compris à quoi ça sert
pub struct Image {
dimensions: Vector3<usize>,
content: Vec<Vec<u8>>,
image_type: ImageType,
pixel_format: PixelFormatType,
}
impl Image {
/// Creates a new [`ImageType::Single1D`] [`Image`] with the given pixel format and width.
///
/// You can create a new [`ImageType::Single1D`] image:
///
/// ```
/// use nazara_core::image::Image;
/// use nazara_core::enums::{PixelFormatType, ImageType};
/// use cgmath::Vector3;
///
/// let image = Image::new_1d(PixelFormatType::A8, 40);
/// assert_eq!(image.get_dims(), Vector3 { x: 40, y: 1, z: 1 });
/// assert_eq!(image.get_pixel_format(), PixelFormatType::A8);
/// assert_eq!(image.get_image_type(), ImageType::Single1D);
/// ```
///
/// # Arguments
///
/// * `format` - Format for stored pixels
/// * `width` - Width for the new image
///
/// [`ImageType::Single1D`]: crate::enums::ImageType::Single1D
pub fn new_1d(format: PixelFormatType, width: usize) -> Image {
let size = PixelFormatType::compute_size(format, width);
Image {
dimensions: Vector3::new(width, 1, 1),
content: vec![vec![0u8; size]; 1],
image_type: ImageType::Single1D,
pixel_format: format,
}
}
/// Creates a new [`ImageType::Single2D`] [`Image`] with the given pixel format, width and height.
///
/// You can create a new [`ImageType::Single2D`] image:
///
/// ```
/// use nazara_core::image::Image;
/// use nazara_core::enums::{PixelFormatType, ImageType};
/// use cgmath::Vector3;
///
/// let image = Image::new_2d(PixelFormatType::A8, 40, 50);
/// assert_eq!(image.get_dims(), Vector3 { x: 40, y: 50, z: 1 });
/// assert_eq!(image.get_pixel_format(), PixelFormatType::A8);
/// assert_eq!(image.get_image_type(), ImageType::Single2D);
/// ```
///
/// # Arguments
///
/// * `format` - Format for stored pixels
/// * `width` - Width for the new image
/// * `height` - Height for new image
///
/// [`ImageType::Single2D`]: crate::enums::ImageType::Single2D
pub fn new_2d(format: PixelFormatType, width: usize, height: usize) -> Image {
let size = PixelFormatType::compute_size(format, width * height);
Image {
dimensions: Vector3::new(width, height, 1),
content: vec![vec![0u8; size]; 1],
image_type: ImageType::Single2D,
pixel_format: format,
}
}
/// Creates a new [`ImageType::Single3D`] [`Image`] with the given pixel format, width, height and depth.
///
/// You can create a new [`ImageType::Single3D`] image:
///
/// ```
/// use nazara_core::image::Image;
/// use nazara_core::enums::{PixelFormatType, ImageType};
/// use cgmath::Vector3;
///
/// let image = Image::new_3d(PixelFormatType::A8, 40, 50, 60);
/// assert_eq!(image.get_dims(), Vector3 { x: 40, y: 50, z: 60 });
/// assert_eq!(image.get_pixel_format(), PixelFormatType::A8);
/// assert_eq!(image.get_image_type(), ImageType::Single3D);
/// ```
///
/// # Arguments
///
/// * `format` - Format for stored pixels
/// * `width` - Width for the new image
/// * `height` - Height for the new image
/// * `depth` - Depth of new image
///
/// [`ImageType::Single3D`]: crate::enums::ImageType::Single3D
pub fn new_3d(format: PixelFormatType, width: usize, height: usize, depth: usize) -> Image {
let size = PixelFormatType::compute_size(format, width * height * depth);
Image {
dimensions: Vector3::new(width, height, depth),
content: vec![vec![0u8; size]; 1],
image_type: ImageType::Single3D,
pixel_format: format,
}
}
/// Compute mipmap dimensions
///
/// Return mipmap dimensions with a given dimension and size
///
/// ```
/// use cgmath::Vector3;
/// use nazara_core::image::Image;
/// assert_eq!(Image::compute_mipmap_dims(Vector3 {x: 33,y: 68,z: 247}, 1), Vector3 {x: 33 >> 1, y: 68 >> 1, z: 247 >> 1});
/// assert_eq!(Image::compute_mipmap_dims(Vector3 {x: 1,y: 2,z: 4}, 1), Vector3 {x: 1, y: 1, z: 2});
/// ```
///
/// # Arguments
///
/// * `dimensions` - Dimension of base image
/// * `level` - Mipmap level
pub fn compute_mipmap_dims(dimensions: Vector3<usize>, level: usize) -> Vector3<usize> {
let width = (dimensions.x >> level).max(1);
let height = (dimensions.y >> level).max(1);
let depth = (dimensions.z >> level).max(1);
Vector3 {
x: width,
y: height,
z: depth,
}
}
/// Return image type of an [`Image`] instance.
///
/// You can get image type from any [`Image`] instance:
/// ```
/// use nazara_core::image::Image;
/// use nazara_core::enums::{PixelFormatType, ImageType};
///
/// let img_1d = Image::new_1d(PixelFormatType::A8, 40);
/// let img_2d = Image::new_2d(PixelFormatType::A8, 40, 50);
/// let img_3d = Image::new_3d(PixelFormatType::A8, 40, 50, 60);
/// let img_1d_type = img_1d.get_image_type(); // img_1d_type is ImageType::Single1D
/// let img_2d_type = img_2d.get_image_type(); // img_2d_type is ImageType::Single2D
/// let img_3d_type = img_3d.get_image_type(); // img_3d_type is ImageType::Single3D
///
/// assert_eq!(img_1d_type, ImageType::Single1D);
/// assert_eq!(img_2d_type, ImageType::Single2D);
/// assert_eq!(img_3d_type, ImageType::Single3D);
/// ```
pub fn get_image_type(&self) -> ImageType {
self.image_type
}
/// Return pixel format of an [`Image`] instance.
///
/// You can get pixel type from any [`Image`] instance:
/// ```
/// use nazara_core::image::Image;
/// use nazara_core::enums::PixelFormatType;
///
/// let img_1d = Image::new_1d(PixelFormatType::A8, 40);
/// let img_2d = Image::new_2d(PixelFormatType::R16F, 40, 50);
/// let img_3d = Image::new_3d(PixelFormatType::RGB16F, 40, 50, 60);
/// let img_1d_pixel_type = img_1d.get_pixel_format(); // img_1d_type is PixelFormatType::A8
/// let img_2d_pixel_type = img_2d.get_pixel_format(); // img_2d_type is PixelFormatType::R16F
/// let img_3d_pixel_type = img_3d.get_pixel_format(); // img_3d_type is PixelFormatType::RGB16F
///
/// assert_eq!(img_1d_pixel_type, PixelFormatType::A8);
/// assert_eq!(img_2d_pixel_type, PixelFormatType::R16F);
/// assert_eq!(img_3d_pixel_type, PixelFormatType::RGB16F);
/// ```
pub fn get_pixel_format(&self) -> PixelFormatType {
self.pixel_format
}
/// Return dimensions of an [`Image`] instance.
///
/// You can get dimensions from any [`Image`] instance:
/// ```
/// use nazara_core::image::Image;
/// use nazara_core::enums::PixelFormatType;
/// use cgmath::Vector3;
///
/// let img_1d = Image::new_1d(PixelFormatType::A8, 40);
/// let img_2d = Image::new_2d(PixelFormatType::R16F, 40, 50);
/// let img_3d = Image::new_3d(PixelFormatType::RGB16F, 40, 50, 60);
/// let img_1d_dims = img_1d.get_dims(); // img_1d_dims is Vector3 { x: 40, y: 1, z: 1 }
/// let img_2d_dims = img_2d.get_dims(); // img_2d_dims is Vector3 { x: 40, y: 50, z: 1 }
/// let img_3d_dims = img_3d.get_dims(); // img_3d_dims is Vector3 { x: 40, y: 50, z: 60 }
///
/// assert_eq!(img_1d_dims, Vector3 { x: 40, y: 1, z: 1 });
/// assert_eq!(img_2d_dims, Vector3 { x: 40, y: 50, z: 1 });
/// assert_eq!(img_3d_dims, Vector3 { x: 40, y: 50, z: 60 });
/// ```
pub fn get_dims(&self) -> Vector3<usize> {
self.dimensions
}
/// Return how many byte are occupied by the first mipmap level of an [`Image`] instance.
///
/// ```
/// use nazara_core::image::Image;
/// use nazara_core::enums::PixelFormatType;
/// let img_1d = Image::new_1d(PixelFormatType::RGB8, 40);
/// let img_2d = Image::new_2d(PixelFormatType::RGB8, 40, 50);
/// let img_3d = Image::new_3d(PixelFormatType::RGBA8, 40, 50, 60);
/// assert_eq!(img_1d.get_size(), 40*3);
/// assert_eq!(img_2d.get_size(), 40*50*3);
/// assert_eq!(img_3d.get_size(), 40*50*60*4);
/// ```
pub fn get_size(&self) -> usize {
PixelFormatType::compute_size(
self.pixel_format,
self.dimensions.x * self.dimensions.y * self.dimensions.z,
)
}
/// Return how many byte are occupied by all mipmap levels of an [`Image`] instance.
///
/// ```
/// use nazara_core::image::Image;
/// use nazara_core::enums::PixelFormatType;
/// // One mipmap level
/// // TODO: Test with multiple mipmap
/// let img_1d = Image::new_1d(PixelFormatType::RGB8, 40);
/// let img_2d = Image::new_2d(PixelFormatType::RGB8, 40, 50);
/// let img_3d = Image::new_3d(PixelFormatType::RGBA8, 40, 50, 60);
/// assert_eq!(img_1d.get_size(), 40*3);
/// assert_eq!(img_2d.get_size(), 40*50*3);
/// assert_eq!(img_3d.get_size(), 40*50*60*4);
/// ```
pub fn get_total_size(&self) -> usize {
let level_count = self.content.len();
let mut size = 0;
for level in 0..level_count {
size += self.get_mipmap_size(level);
}
size
}
/// Return size of an [`Image`] instance at a specified mipmap level.
///
/// ```
/// use nazara_core::image::Image;
/// use nazara_core::enums::PixelFormatType;
/// use cgmath::Vector3;
/// // One mipmap level
/// // TODO: Test with multiple mipmap
/// let img_1d = Image::new_1d(PixelFormatType::RGB8, 40);
/// let img_2d = Image::new_2d(PixelFormatType::RGB8, 40, 50);
/// let img_3d = Image::new_3d(PixelFormatType::RGBA8, 40, 50, 60);
/// assert_eq!(img_1d.get_mipmap_dims(0), Vector3 {x: 40, y: 1, z: 1});
/// assert_eq!(img_2d.get_mipmap_dims(0), Vector3 {x: 40, y: 50, z: 1});
/// assert_eq!(img_3d.get_mipmap_dims(0), Vector3 {x: 40, y: 50, z: 60});
/// ```
///
/// # Parameters
/// * `level` - Mipmap level
pub fn get_mipmap_dims(&self, level: usize) -> Vector3<usize> {
assert!(level < self.content.len(), "Invalid mipmap size");
Image::compute_mipmap_dims(self.dimensions, level)
}
/// Return how many byte are occupied by the specified mipmap level of an [`Image`] instance.
///
/// ```
/// use nazara_core::image::Image;
/// use nazara_core::enums::PixelFormatType;
/// // One mipmap level
/// // TODO: Test with multiple mipmap
/// let img_1d = Image::new_1d(PixelFormatType::RGB8, 40);
/// let img_2d = Image::new_2d(PixelFormatType::RGB8, 40, 50);
/// let img_3d = Image::new_3d(PixelFormatType::RGBA8, 40, 50, 60);
/// assert_eq!(img_1d.get_mipmap_size(0), 40*3);
/// assert_eq!(img_2d.get_mipmap_size(0), 40*50*3);
/// assert_eq!(img_3d.get_mipmap_size(0), 40*50*60*4);
/// ```
pub fn get_mipmap_size(&self, level: usize) -> usize {
let dims = self.get_mipmap_dims(level);
PixelFormatType::compute_size(self.pixel_format, dims.x * dims.y * dims.z)
}
/// Update the content (including all mipmaps) of an [`Image`] instance.
pub fn update_content(&mut self, new_content: Vec<Vec<u8>>) {
let level_count = self.content.len();
assert_eq!(level_count, new_content.len());
for level in 0..level_count {
assert_eq!(new_content.len(), self.get_mipmap_size(level));
}
self.content = new_content;
}
/// Update the content of the specified mipmap level of an [`Image`] instance.
pub fn update_mipmap_content(&mut self, level: usize, new_content: Vec<u8>) {
assert_eq!(new_content.len(), self.get_mipmap_size(level));
self.content[level] = new_content;
}
}
/// Image loader for Nazarust
pub struct ImageLoader {}
impl ImageLoader {
/// Load an image from file
///
/// # Example
/// ```
/// use nazara_core::image::{ImageLoader, Image};
/// use std::path::Path;
/// use nazara_core::enums::{PixelFormatType, ImageType};
/// use cgmath::Vector3;
/// let image: Image = ImageLoader::load_from_file(Path::new("./test_ressources/image.png")).unwrap();
///
/// assert_eq!(image.get_pixel_format(), PixelFormatType::RGB8);
/// assert_eq!(image.get_image_type(), ImageType::Single2D);
/// assert_eq!(image.get_dims(), Vector3 { x: 800, y: 629, z:1 });
/// ```
///
/// # Arguments
/// * `file` - [`std::path::Path`] of file to load
pub fn load_from_file(file: &Path) -> NazaraResult<Image> {
let file = File::open(file).map_err(|e| NazaraError::from(ImageError::from(e)))?;
ImageLoader::load_from_reader(BufReader::new(file))
}
/// Load an image from memory
///
/// # Example
/// ```
/// use std::fs;
/// use nazara_core::image::{Image, ImageLoader};
/// use nazara_core::enums::{PixelFormatType, ImageType};
/// use cgmath::Vector3;
/// let image: Image = ImageLoader::load_from_mem(&fs::read("./test_ressources/image.png").unwrap()).unwrap();
///
/// assert_eq!(image.get_pixel_format(), PixelFormatType::RGB8);
/// assert_eq!(image.get_image_type(), ImageType::Single2D);
/// assert_eq!(image.get_dims(), Vector3 { x: 800, y:629, z:1 });
/// ```
///
/// # Arguments
/// * `image` - Array of image content
pub fn load_from_mem(image: &[u8]) -> NazaraResult<Image> {
ImageLoader::load_from_reader(Cursor::new(image))
}
/// Load an image from stream ([`std::io::BufRead`], [`std::io::Seek`])
///
/// # Load a png image
/// ```
/// use std::fs::File;
/// use nazara_core::image::{ImageLoader, Image};
/// use std::io::BufReader;
/// use nazara_core::enums::{PixelFormatType, ImageType};
/// use cgmath::Vector3;
///
/// let file = File::open("./test_ressources/image.png").unwrap();
/// let buf = BufReader::new(file);
///
/// let image: Image = ImageLoader::load_from_reader(buf).unwrap();
///
/// assert_eq!(image.get_pixel_format(), PixelFormatType::RGB8);
/// assert_eq!(image.get_image_type(), ImageType::Single2D);
/// assert_eq!(image.get_dims(), Vector3 { x: 800, y:629, z:1 });
/// ```
///
/// # Load gif image
/// ```
/// use std::fs::File;
/// use nazara_core::image::{ImageLoader, Image};
/// use std::io::BufReader;
/// use nazara_core::enums::{PixelFormatType, ImageType};
/// use cgmath::Vector3;
///
/// let file = File::open("./test_ressources/image.gif").unwrap();
/// let buf = BufReader::new(file);
///
/// let image: Image = ImageLoader::load_from_reader(buf).unwrap();
///
/// assert_eq!(image.get_pixel_format(), PixelFormatType::RGBA8);
/// assert_eq!(image.get_image_type(), ImageType::Single2D);
/// assert_eq!(image.get_dims(), Vector3 { x: 800, y:629, z:1 });
/// ```
///
/// # Arguments
///
/// * `reader` - Reader instance from which image will be loaded
pub fn load_from_reader<R: BufRead + Seek>(reader: R) -> NazaraResult<Image> {
let reader = Reader::new(reader)
.with_guessed_format()
.map_err(|e| NazaraError::from(ImageError::from(e)))?;
let image = reader
.decode()
.map_err(|e| NazaraError::from(ImageError::from(e)))?;
let dimensions = image.dimensions();
let color_type = match image {
DynamicImage::ImageLuma8(_) => PixelFormatType::L8,
DynamicImage::ImageLumaA8(_) => PixelFormatType::LA8,
DynamicImage::ImageRgb8(_) => PixelFormatType::RGB8,
DynamicImage::ImageRgba8(_) => PixelFormatType::RGBA8,
DynamicImage::ImageBgr8(_) => PixelFormatType::BGR8,
DynamicImage::ImageBgra8(_) => PixelFormatType::BGRA8,
};
let mut new_image = Image::new_2d(color_type, dimensions.0 as usize, dimensions.1 as usize);
new_image.update_mipmap_content(0, image.raw_pixels());
Ok(new_image)
}
}
| 38.165517 | 127 | 0.593663 |
3bf4d1478d98c9972b6bf9c0da0e8621d8394e3b | 312 | asm | Assembly | programs/oeis/066/A066023.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/066/A066023.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/066/A066023.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A066023: (a(n)^7+1)/(n^7+1) is the smallest integer > 1.
; 3,8,27,64,125,216,343,512,729,1000,1331,1728,2197,2744,3375,4096,4913,5832,6859,8000,9261,10648,12167,13824,15625,17576,19683,21952,24389,27000,29791,32768,35937,39304,42875,46656,50653,54872,59319,64000
add $0,1
pow $0,3
mov $1,$0
trn $1,3
add $1,3
| 34.666667 | 205 | 0.717949 |
048c7ecb59321b5b6487496c1925d49a9f14a756 | 2,949 | java | Java | src/com/patient/commonent/CollapsibleTextView.java | minger31/yxckPatient | 2f92ffd4da679c4ce589d6a4b30416bd7058c7b4 | [
"Apache-2.0"
] | null | null | null | src/com/patient/commonent/CollapsibleTextView.java | minger31/yxckPatient | 2f92ffd4da679c4ce589d6a4b30416bd7058c7b4 | [
"Apache-2.0"
] | null | null | null | src/com/patient/commonent/CollapsibleTextView.java | minger31/yxckPatient | 2f92ffd4da679c4ce589d6a4b30416bd7058c7b4 | [
"Apache-2.0"
] | null | null | null | package com.patient.commonent;
import android.annotation.SuppressLint;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.TextView.BufferType;
import com.yxck.patient.R;
@SuppressLint("DrawAllocation")
public class CollapsibleTextView extends LinearLayout implements
OnClickListener {
/** default text show max lines */
private static final int DEFAULT_MAX_LINE_COUNT = 5;
private static final int COLLAPSIBLE_STATE_NONE = 0;
private static final int COLLAPSIBLE_STATE_SHRINKUP = 1;
private static final int COLLAPSIBLE_STATE_SPREAD = 2;
private TextView desc;
private TextView descOp;
private String shrinkup;
private String spread;
private int mState;
private boolean flag;
public CollapsibleTextView(Context context, AttributeSet attrs) {
super(context, attrs);
shrinkup = context.getString(R.string.desc_shrinkup);
spread = context.getString(R.string.desc_spread);
View view = inflate(context, R.layout.collapsible_textview, this);
view.setPadding(0, -1, 0, 0);
desc = (TextView) view.findViewById(R.id.desc_tv);
descOp = (TextView) view.findViewById(R.id.desc_op_tv);
descOp.setOnClickListener(this);
}
public CollapsibleTextView(Context context) {
this(context, null);
}
public final void setDesc(CharSequence charSequence, BufferType bufferType) {
desc.setText(charSequence, bufferType);
mState = COLLAPSIBLE_STATE_SPREAD;
requestLayout();
}
@Override
public void onClick(View v) {
flag = false;
requestLayout();
}
@Override
protected void onLayout(boolean changed, int l, int t, int r, int b) {
super.onLayout(changed, l, t, r, b);
if (!flag) {
flag = true;
if (desc.getLineCount() <= DEFAULT_MAX_LINE_COUNT) {
mState = COLLAPSIBLE_STATE_NONE;
descOp.setVisibility(View.GONE);
desc.setMaxLines(DEFAULT_MAX_LINE_COUNT + 1);
} else {
post(new InnerRunnable());
}
}
}
class InnerRunnable implements Runnable {
@Override
public void run() {
if (mState == COLLAPSIBLE_STATE_SPREAD) {
desc.setMaxLines(DEFAULT_MAX_LINE_COUNT);
descOp.setVisibility(View.VISIBLE);
descOp.setText(spread);
mState = COLLAPSIBLE_STATE_SHRINKUP;
} else if (mState == COLLAPSIBLE_STATE_SHRINKUP) {
desc.setMaxLines(Integer.MAX_VALUE);
descOp.setVisibility(View.VISIBLE);
descOp.setText(shrinkup);
mState = COLLAPSIBLE_STATE_SPREAD;
}
}
}
}
| 32.054348 | 81 | 0.645982 |
706d22f8f28335dbb3158d719c55e3fc42a9c8a6 | 159 | go | Go | loggers.go | alexmherrmann/gomorra | ecc0dc4f6642e5c6c8aa3dcce1b6aca5b2750426 | [
"Apache-2.0"
] | null | null | null | loggers.go | alexmherrmann/gomorra | ecc0dc4f6642e5c6c8aa3dcce1b6aca5b2750426 | [
"Apache-2.0"
] | null | null | null | loggers.go | alexmherrmann/gomorra | ecc0dc4f6642e5c6c8aa3dcce1b6aca5b2750426 | [
"Apache-2.0"
] | null | null | null | package gomorra
import (
"log"
"os"
)
var debugLogger *log.Logger = log.New(os.Stderr, "DEBUG", log.LstdFlags)
func D() *log.Logger {
return debugLogger
} | 14.454545 | 72 | 0.691824 |
ea0e421cac4fee9df3c8fe2a2075a5324ba887d6 | 452 | sql | SQL | openGaussBase/testcase/KEYWORDS/strip/Opengauss_Function_Keyword_Strip_Case0027.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/strip/Opengauss_Function_Keyword_Strip_Case0027.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/strip/Opengauss_Function_Keyword_Strip_Case0027.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | -- @testpoint:opengauss关键字strip非保留),作为序列名
--关键字不带引号-成功
drop sequence if exists strip;
create sequence strip start 100 cache 50;
drop sequence strip;
--关键字带双引号-成功
drop sequence if exists "strip";
create sequence "strip" start 100 cache 50;
drop sequence "strip";
--关键字带单引号-合理报错
drop sequence if exists 'strip';
create sequence 'strip' start 100 cache 50;
--关键字带反引号-合理报错
drop sequence if exists `strip`;
create sequence `strip` start 100 cache 50;
| 21.52381 | 43 | 0.761062 |
f8bfebda602119ee95b907e4b903045374c3d601 | 948 | asm | Assembly | src/arch/i686/gdt_asm.asm | KristianJerpetjon/IncludeOS | 367a1dcefafd6f9618e5373c9133839f9ee2d675 | [
"Apache-2.0"
] | 5 | 2016-10-01T11:50:51.000Z | 2019-10-24T12:54:36.000Z | src/arch/i686/gdt_asm.asm | KristianJerpetjon/IncludeOS | 367a1dcefafd6f9618e5373c9133839f9ee2d675 | [
"Apache-2.0"
] | 1 | 2016-11-25T22:37:41.000Z | 2016-11-25T22:37:41.000Z | src/arch/i686/gdt_asm.asm | AndreasAakesson/IncludeOS | 891b960a0a7473c08cd0d93a2bba7569c6d88b48 | [
"Apache-2.0"
] | 3 | 2016-09-28T18:15:50.000Z | 2017-07-18T17:02:25.000Z | ; This file is a part of the IncludeOS unikernel - www.includeos.org
;
; Copyright 2015 Oslo and Akershus University College of Applied Sciences
; and Alfred Bratterud
;
; 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.
USE32
global __load_gdt:function
__load_gdt:
mov eax, [esp+4]
lgdt [eax]
jmp 0x8:reload_segments
reload_segments:
mov ax, 0x10
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov ss, ax
ret
| 29.625 | 74 | 0.725738 |
5bef00b5226e17af1564d3152a53a98730cbb846 | 309 | h | C | SpriteBuilder/ccBuilder/MoveFileCommand.h | andykorth/SpriteBuilder | cd8a5c8d4a25b66c74e7609682c95106095d0267 | [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause"
] | 365 | 2015-01-02T17:15:39.000Z | 2022-03-05T23:15:55.000Z | SpriteBuilder/ccBuilder/MoveFileCommand.h | andykorth/SpriteBuilder | cd8a5c8d4a25b66c74e7609682c95106095d0267 | [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause"
] | 559 | 2015-01-01T16:23:13.000Z | 2021-11-13T13:55:07.000Z | SpriteBuilder/ccBuilder/MoveFileCommand.h | andykorth/SpriteBuilder | cd8a5c8d4a25b66c74e7609682c95106095d0267 | [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause"
] | 179 | 2015-01-01T02:22:15.000Z | 2021-07-08T15:43:16.000Z | #import <Foundation/Foundation.h>
#import "FileCommandProtocol.h"
@interface MoveFileCommand : NSObject <FileCommandProtocol>
@property (nonatomic, copy) NSString *fromPath;
@property (nonatomic, copy) NSString *toPath;
- (instancetype)initWithFromPath:(NSString *)fromPath toPath:(NSString *)toPath;
@end | 28.090909 | 80 | 0.786408 |
dd737fabc466e30ff32bcead26146b77f813b270 | 5,190 | php | PHP | src/Gen/Link.php | begicf/AReportDpmXBRL | 3a4aa4b5dfe60b665b619673fac8491c855ee234 | [
"BSD-3-Clause"
] | 2 | 2020-10-23T01:13:03.000Z | 2022-01-11T15:53:43.000Z | src/Gen/Link.php | begicf/AReportDpmXBRL | 3a4aa4b5dfe60b665b619673fac8491c855ee234 | [
"BSD-3-Clause"
] | null | null | null | src/Gen/Link.php | begicf/AReportDpmXBRL | 3a4aa4b5dfe60b665b619673fac8491c855ee234 | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace AReportDpmXBRL\Gen;
use DOMXPath;
use AReportDpmXBRL\Library\DomToArray;
use AReportDpmXBRL\XbrlInterface;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Class Link
* @category
* Areport @package AReportDpmXBRL\Config
* @author Fuad Begic <fuad.begic@gmail.com>
* Date: 12/06/2020
*/
class Link implements XbrlInterface
{
public $Xbrl;
private $label, $gen, $link;
private $namespace;
private $dom;
public function __construct($path)
{
$this->dom = DomToArray::invoke($path);
$context = $this->dom->documentElement;
$xpath = new DOMXPath($this->dom);
foreach ($xpath->query('namespace::*', $context) as $node) {
$xpath->registerNamespace($node->prefix, $node->nodeValue);
$this->namespace[$node->prefix] = $node->nodeValue;
}
foreach ($this->namespace as $prefix => $value):
switch ($prefix):
case 'label':
$xpath->registerNamespace($prefix, $value);
$label = $xpath->query("//label:label", $context);
foreach ($label as $element):
$this->label[$element->getAttribute('xlink:label')]['lang'] =
$element->getAttribute('xml:lang');
$this->label[$element->getAttribute('xlink:label')]['@content'] = $element->nodeValue;
$this->label[$element->getAttribute('xlink:label')]['role'] =
$element->getAttribute('xlink:role');
endforeach;
break;
case 'gen':
$xpath->registerNamespace($prefix, $value);
$arc = $xpath->query("//gen:arc ", $context);
foreach ($arc as $element):
$this->gen[$element->getAttribute('xlink:to')]['to'] = $element->getAttribute('xlink:to');
$this->gen[$element->getAttribute('xlink:to')]['from'] = $element->getAttribute('xlink:from');
$this->gen[$element->getAttribute('xlink:to')]['arcrole'] =
$element->getAttribute('xlink:arcrole');
$this->gen[$element->getAttribute('xlink:to')]['type'] = $element->getAttribute('xlink:type');
endforeach;
break;
case 'link':
$xpath->registerNamespace($prefix, $value);
$link = $xpath->query("//*[namespace-uri()='$value'] ");
foreach ($link as $element):
if ($element->tagName == 'link:loc'):
$this->link[$element->getAttribute('xlink:label')]['href'] =
$element->getAttribute('xlink:href');
$this->link[$element->getAttribute('xlink:label')]['type'] =
$element->getAttribute('xlink:type');
elseif ($element->tagName == 'link:label'):
$this->link[$element->getAttribute('xlink:label')]['@content'] = $element->nodeValue;
$this->link[$element->getAttribute('xlink:label')]['lang'] =
$element->getAttribute('xml:lang');
elseif ($element->tagName == 'link:labelArc'):
$this->link[$element->getAttribute('xlink:to')]['to'] = $element->getAttribute('xlink:to');
$this->link[$element->getAttribute('xlink:to')]['from'] =
$element->getAttribute('xlink:from');
endif;
endforeach;
break;
endswitch;
endforeach;
if (array_key_exists('gen', $this->namespace)):
if (!empty($this->gen) && !empty($this->label)):
$this->Xbrl = array_merge_recursive($this->gen, $this->label);
elseif (!empty($this->gen) && is_array($this->link)):
$this->Xbrl = array_merge_recursive($this->gen, $this->link);
endif;
if (is_array($this->link)):
foreach ($this->link as $key => $row):
$found = DomToArray::search_multdim($this->Xbrl, 'from', $key);
if ($found):
foreach ($found as $k => $fo):
$this->Xbrl[$k]['href'] = $row['href'];
endforeach;
endif;
endforeach;
endif;
else:
$this->Xbrl = $this->link;
foreach ($this->link as $key => $row):
$found = DomToArray::search_multdim($this->link, 'from', $key);
if ($found):
$this->Xbrl[key($found)]['href'] = $row['href'];
unset($this->Xbrl[$key]);
endif;
endforeach;
endif;
}
}
| 34.144737 | 119 | 0.478035 |
0d3aca78fe11b9c848b2e25814894c1820225a39 | 4,801 | asm | Assembly | tests/struct/field_type_text.asm | fengjixuchui/sjasmplus | df0fabd2411bf89e23637fce46d273f52dafbe16 | [
"BSD-3-Clause"
] | 220 | 2016-10-22T19:44:39.000Z | 2022-03-29T20:57:04.000Z | tests/struct/field_type_text.asm | ped7g/sjasmplus | 487635c8057cd5594c372d9b70bc00a3f3a1ecc4 | [
"BSD-3-Clause"
] | 153 | 2018-05-07T10:31:23.000Z | 2022-03-30T04:35:59.000Z | tests/struct/field_type_text.asm | ped7g/sjasmplus | 487635c8057cd5594c372d9b70bc00a3f3a1ecc4 | [
"BSD-3-Clause"
] | 51 | 2016-05-12T21:27:36.000Z | 2022-03-27T15:16:16.000Z | STRUCT substr1
sm00 text 5, { "12!" } ; last byte fills remaining size, i.e. `12!!!` (in definition)
ENDS
STRUCT substr2
byte '3'
sub0 substr1 { { "4", "5", "67" } } ; `4567!` - init value does only replace definition values
byte '8'
sub1 text 3, { '?' } ; `???`
byte 'A'
ENDS
STRUCT str, 1
m00 byte 'B'
m01 text 10, { "CDEFG", "H", $40+9, "JKL" } ; `CDEFGHIJKL`
m02 block 1, 'M'
m03 TEXT 5, { 'N' } ; `NNNNN`
m04 defs 1, 'O'
m05 substr2 { 'P', { {"QRSTU"} }, 'V', { 'W', "XY" }, 'Z' }
m06 substr2
m07 substr1
m08 substr2 { 'a', 'b', 'c' } ; texts are skipped with default initializer
m09 substr2 { 'd', {}, 'e', {}, 'f' } ; texts are skipped with default initializer
ENDS
DEVICE ZXSPECTRUM48
ORG 0x8000
ds 0x4000, '_' ; fill memory with '_'
ORG 0x8000
;; first set testing init-values list structure parsing
d01 str : DB "\n"
; "_BCDEFGHIJKLMNNNNNOPQRSTUVWXYZ34567!8???A12!!!a4567!b???cd4567!e???f\n"
d02 str {,,,{'#'}} : DB "\n"
; "_BCDEFGHIJKLMNNNNNO#QRSTUVWXYZ34567!8???A12!!!a4567!b???cd4567!e???f\n"
d03 str {{},{}{'#'{{"Q##"}}}} : DB "\n"
; "_BCDEFGHIJKLMNNNNNO#Q##TUVWXYZ34567!8???A12!!!a4567!b???cd4567!e???f\n"
d04 str {{},{},{'#',{{"Q##"}}}} : DB "\n"
; "_BCDEFGHIJKLMNNNNNO#Q##TUVWXYZ34567!8???A12!!!a4567!b???cd4567!e???f\n"
d05 str {{},{},{{}},{'#',{},,{"."}}} : DB "\n"
; "_BCDEFGHIJKLMNNNNNOPQRSTUVWXYZ#4567!8.??A12!!!a4567!b???cd4567!e???f\n"
;; identical test cases as d02..d05, but without the top-level enclosing {}
;; but then these need initial comma for 'B' byte, to force first {} to "CDEFG.." text
dx2 str ,,,{'#'} : DB "\n"
; "_BCDEFGHIJKLMNNNNNO#QRSTUVWXYZ34567!8???A12!!!a4567!b???cd4567!e???f\n"
dx3 str ,{},{}{'#'{{"Q##"}}} : DB "\n"
; "_BCDEFGHIJKLMNNNNNO#Q##TUVWXYZ34567!8???A12!!!a4567!b???cd4567!e???f\n"
dx4 str ,{},{},{'#',{{"Q##"}}} : DB "\n"
; "_BCDEFGHIJKLMNNNNNO#Q##TUVWXYZ34567!8???A12!!!a4567!b???cd4567!e???f\n"
dx5 str ,{},{},{{}},{'#',{},,{"."}} : DB "\n"
; "_BCDEFGHIJKLMNNNNNOPQRSTUVWXYZ#4567!8.??A12!!!a4567!b???cd4567!e???f\n"
;; initial 'B' explicitly modified
dy2 str 'g',,,{'#'} : DB "\n"
; "_gCDEFGHIJKLMNNNNNO#QRSTUVWXYZ34567!8???A12!!!a4567!b???cd4567!e???f\n"
dy3 str 'h',{},{}{'#'{{"Q##"}}} : DB "\n"
; "_hCDEFGHIJKLMNNNNNO#Q##TUVWXYZ34567!8???A12!!!a4567!b???cd4567!e???f\n"
dy4 str 'i',{},{},{'#',{{"Q##"}}} : DB "\n"
; "_iCDEFGHIJKLMNNNNNO#Q##TUVWXYZ34567!8???A12!!!a4567!b???cd4567!e???f\n"
dy5 str 'j',{},{},{{}},{'#',{},,{"."}} : DB "\n"
; "_jCDEFGHIJKLMNNNNNOPQRSTUVWXYZ#4567!8.??A12!!!a4567!b???cd4567!e???f\n"
parse1 substr1 {{'0'|1,'0'|2,'0'+3}} : DB "\n"
; "123!!\n"
; BIN is produced only from valid emits (skipping the following error checking part)
SAVEBIN "field_type_text.bin", 0x8000, $-0x8000
;; too long text initializer
err1 substr1 {{"abcde!"}}
;; too long text initializer (defined by single bytes)
err2 substr1 {{'a','b','c','d','e','!'}}
err3 substr1 {{'a','b','c','d','e',$21}}
; error in text field definition
STRUCT S_ERR1
text 2 ; valid (zeroed)
text 1, {'1'} ; valid
text 1, { } ; valid (zeroed)
text 128, {'2'} ; valid ; 128 was old maximum, now it is 8192 (not testing)
; invalid ones (some error should be reported):
text
text 0, {'3'}
text -1, {'4'}
text 8193, {'5'}
; next line emits 00 00
text 2 @
; next line emits 00 00
text 2,
; next line emits 00 00
text 2, {,
; next line emits 00 00
text 2, {'
'
; next line emits 36 00
text 2, {'6
'
; next line emits 37 00
text 2, {'7'
endIt
; next line emits 00 00
text 2, "89"
; next line emits 00 00
text 2, { @, @ }
ENDS
emitE1 S_ERR1
STRUCT S_ERR2
texts 30, { "invalid type" } ; but looks similar
TEXTS 30, { "invalid type" } ; but looks similar
ENDS
| 41.747826 | 98 | 0.451573 |
06ad5b649a1597532112e29577ce9db3ecd2a069 | 189 | swift | Swift | Sources/Model Result/SimpleResponse.swift | Soloqub/d.lvovich-online-store-server-side | 512af6d1148c80ee16225649a8f08618a6e6c506 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | Sources/Model Result/SimpleResponse.swift | Soloqub/d.lvovich-online-store-server-side | 512af6d1148c80ee16225649a8f08618a6e6c506 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | Sources/Model Result/SimpleResponse.swift | Soloqub/d.lvovich-online-store-server-side | 512af6d1148c80ee16225649a8f08618a6e6c506 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | //
// SimpleResponse.swift
// PerfectTemplate
//
// Created by Денис on 13.07.2018.
//
import Foundation
struct SimpleResponse: Codable {
let result: Int
let message: String
}
| 13.5 | 35 | 0.68254 |
2393550f79f6583e96dcb53abadad454cb54b44f | 2,230 | swift | Swift | Sources/SWCompression/AR/ArParser.swift | Lessica/SWCompression | d146117e99409d347a133362d4bf0887be0d47bc | [
"MIT"
] | null | null | null | Sources/SWCompression/AR/ArParser.swift | Lessica/SWCompression | d146117e99409d347a133362d4bf0887be0d47bc | [
"MIT"
] | null | null | null | Sources/SWCompression/AR/ArParser.swift | Lessica/SWCompression | d146117e99409d347a133362d4bf0887be0d47bc | [
"MIT"
] | null | null | null | //
// ArParser.swift
// SWCompression
//
// Created by Lessica <82flex@gmail.com> on 2022/1/15.
// Copyright © 2022 Timofey Solomko. All rights reserved.
//
import BitByteData
import Foundation
struct ArParser {
enum ParsingResult {
case truncated
case finished
case specialEntry(ArHeader.HeaderEntryType)
case entryInfo(
_ info: ArEntryInfo,
_ format: ArContainer.Format,
_ dataRange: Range<Int>
)
}
private let reader: LittleEndianByteReader
private var signature: String?
init(_ data: Data) {
self.reader = LittleEndianByteReader(data: data)
}
mutating func next() throws -> ParsingResult {
guard !reader.isFinished else {
return .finished
}
guard signature != nil else {
let signatureLength = ArHeader.signature.count
if reader.bytesLeft < signatureLength {
return .truncated
}
let sign = reader.arCString(maxLength: signatureLength)
assert(reader.offset == signatureLength)
guard sign == ArHeader.signature else {
throw ArError.wrongMagic
}
self.signature = sign
return .specialEntry(.signature)
}
guard reader.bytesLeft >= ArHeader.commonLength else {
return .truncated
}
let header = try ArHeader(reader)
// Check, just in case, since we use blockStartIndex = -1 when creating AR containers.
assert(header.blockStartIndex >= 0)
// For header we read at least 60 bytes.
assert(reader.offset - header.blockStartIndex >= ArHeader.commonLength)
// Skip file data.
let info = ArEntryInfo(header)
let startIndex = header.blockStartIndex + ArHeader.commonLength
let dataStartIndex = startIndex + header.extraNameSize
let dataEndIndex = startIndex + header.size
reader.offset = dataEndIndex.roundToEven()
return .entryInfo(info, header.format, dataStartIndex..<dataEndIndex)
}
}
| 29.342105 | 94 | 0.587444 |
f76b0e24c8f1d7080706f0f9879e1a63c41ab42f | 865 | c | C | CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab1 part 1/Lab-1.c | diptu/Teaching | 20655bb2c688ae29566b0a914df4a3e5936a2f61 | [
"MIT"
] | null | null | null | CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab1 part 1/Lab-1.c | diptu/Teaching | 20655bb2c688ae29566b0a914df4a3e5936a2f61 | [
"MIT"
] | null | null | null | CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab1 part 1/Lab-1.c | diptu/Teaching | 20655bb2c688ae29566b0a914df4a3e5936a2f61 | [
"MIT"
] | null | null | null | //Task-1
int main()
{
int vrbl;
cout<<"Enter the size of array: "<<endln;
cin>>vrbl;
int *p;
p=new int[vrbl];
for(int i=0; i<vrbl; i++)
{
cout<<"Element "<<i+1<<": "<<endln;
cin>>p[i];
}
for(int i=0; i<vrbl; i++)
{
cout<<p[i]<<" ";
}
delete [] p;
return 0;
}
//Task-2
int row, col;
cout<<"Number of rows: "<<endln;
cin>>row;
cout<<"Number of columns: "<<endln;
cin>>col;
string **p;
p=new string*[row];
for(int i=0; i<row; i++)
{
p[i]=new string[col];
}
cout<<"Enter elements: "<<endln;
for(int i=0; i<row; i++)
{
for(int j=0; j<col; j++)
cin>>p[i][j];
}
for(i=0; i<row; i++)
{
for(j=0; j<col; j++)
{
for(j=0; j<col; j++)
cout<<p[i][j]<<" "<<endln;
}
for(i=0; i<row; i++)
{
delete [] p[i];
}
delete [] p;
}
| 13.951613 | 45 | 0.43815 |
abdd5d23fcdbd6b4d66663a7243a7bb63336a46d | 5,154 | go | Go | cmd/folder/main.go | veeableful/folder | 6a288690eccde024ccb077f12452725e61f20ad7 | [
"BSD-3-Clause"
] | 2 | 2021-04-03T15:46:04.000Z | 2021-09-26T15:25:20.000Z | cmd/folder/main.go | veeableful/folder | 6a288690eccde024ccb077f12452725e61f20ad7 | [
"BSD-3-Clause"
] | null | null | null | cmd/folder/main.go | veeableful/folder | 6a288690eccde024ccb077f12452725e61f20ad7 | [
"BSD-3-Clause"
] | 1 | 2021-04-03T15:46:06.000Z | 2021-04-03T15:46:06.000Z | // +build !tinygo
package main
import (
"encoding/json"
"errors"
"fmt"
"io/fs"
"os"
"path"
"path/filepath"
"plugin"
"syscall"
log "github.com/sirupsen/logrus"
"github.com/urfave/cli/v2"
"github.com/veeableful/folder"
)
func doIndex(c *cli.Context) (err error) {
var index *folder.Index
if c.NArg() <= 0 {
err = errors.New("please specify the document file or directory path")
return
}
filePath := c.Args().Get(0)
dataType := c.String("type")
pluginName := c.String("plugin")
indexName := c.String("index")
idField := c.String("id-field")
var info os.FileInfo
info, err = os.Stat(filePath)
if err != nil {
return
}
index, err = folder.Load(indexName)
if err != nil {
if err2 := err.(*fs.PathError); err2.Err == syscall.ENOENT {
// do nothing
} else {
return
}
}
if pluginName != "" {
var p *plugin.Plugin
var sym plugin.Symbol
var data []byte
p, err = plugin.Open(path.Join("plugins", pluginName, pluginName+".so"))
if err != nil {
return
}
sym, err = p.Lookup("Data")
if err != nil {
return
}
data, err = sym.(func(args ...interface{}) ([]byte, error))(c.Args().First())
if err != nil {
return
}
if idField != "" {
err = index.IndexDataWithIDField(data, dataType, idField)
if err != nil {
return
}
} else {
err = index.IndexData(data, dataType)
if err != nil {
return
}
}
} else {
if info.IsDir() {
err = filepath.WalkDir(filePath, func(path string, d os.DirEntry, err error) error {
if idField != "" {
return index.IndexFilePathWithIDField(path, dataType, idField)
} else {
return index.IndexFilePath(path, dataType)
}
})
} else {
if idField != "" {
err = index.IndexFilePathWithIDField(filePath, dataType, idField)
} else {
err = index.IndexFilePath(filePath, dataType)
}
}
if err != nil {
return err
}
}
err = index.SaveToShards(indexName, c.Int("shards"))
if err != nil {
return
}
return
}
func doSearch(c *cli.Context) error {
indexName := c.String("index")
format := c.String("format")
size := c.Int("size")
from := c.Int("from")
index, err := folder.LoadDeferred(indexName)
if err != nil {
return err
}
s := c.Args().First()
opts := folder.DefaultSearchOptions
opts.From = from
opts.Size = size
result, err := index.SearchWithOptions(s, opts)
if err != nil {
log.Fatal(err)
}
result, err = index.SearchWithOptions(s, opts)
if err != nil {
log.Fatal(err)
}
if format == "go" {
fmt.Printf("%+v\n", result)
} else if format == "json" {
data, _ := json.Marshal(result)
fmt.Printf("%s\n", string(data))
}
return nil
}
func doFetch(c *cli.Context) error {
indexName := c.String("index")
format := c.String("format")
index, err := folder.LoadDeferred(indexName)
if err != nil {
return err
}
documentID := c.Args().First()
document, err := index.Fetch(documentID) // Load related shards to memory first
if err != nil {
log.Fatal(err)
}
if format == "go" {
fmt.Printf("%+v\n", document)
} else if format == "json" {
data, _ := json.Marshal(document)
fmt.Printf("%s\n", string(data))
}
return nil
}
func main() {
app := &cli.App{
Name: "folder",
Usage: "Folder is a utility program for testing indexing and searching documents",
Commands: []*cli.Command{
{
Name: "index",
Aliases: []string{"i"},
Usage: "Index a document",
Action: doIndex,
Flags: []cli.Flag{
&cli.StringFlag{
Name: "type",
Usage: "Document file data type [text, json, jsonl]",
Value: "text",
},
&cli.StringFlag{
Name: "plugin",
Usage: "Plugin name that provides documents to index",
},
&cli.StringFlag{
Name: "index",
Usage: "Name of the index",
Value: "index",
},
&cli.IntFlag{
Name: "shards",
Usage: "Number of shards",
Value: 1000,
},
&cli.StringFlag{
Name: "id-field",
Usage: "Field to be used for document ID",
Value: "",
},
},
},
{
Name: "search",
Aliases: []string{"s"},
Usage: "Search documents containing specified terms",
Action: doSearch,
Flags: []cli.Flag{
&cli.StringFlag{
Name: "format",
Usage: "Format of the search result output [go, json]",
Value: "go",
},
&cli.StringFlag{
Name: "index",
Usage: "Name of the index",
Value: "index",
},
&cli.IntFlag{
Name: "size",
Usage: "Max number of documents to document",
Value: 10,
},
&cli.IntFlag{
Name: "from",
Usage: "Starting offset of documents",
Value: 0,
},
},
},
{
Name: "fetch",
Aliases: []string{"s"},
Usage: "Fetch a document with specific ID",
Action: doFetch,
Flags: []cli.Flag{
&cli.StringFlag{
Name: "format",
Usage: "Format of the fetch output [go, json]",
Value: "go",
},
&cli.StringFlag{
Name: "index",
Usage: "Name of the index",
Value: "index",
},
},
},
},
}
err := app.Run(os.Args)
if err != nil {
log.Fatal(err)
}
}
| 19.899614 | 87 | 0.577998 |
5b209f0a2e65678ceee05f32a1ba3a96110342fe | 1,254 | h | C | src/coreclr/inc/posterror.h | berkansasmaz/runtime | 7626c5d8be527d6735eddcdc7c97423211d8f9e9 | [
"MIT"
] | 1 | 2021-11-21T18:25:08.000Z | 2021-11-21T18:25:08.000Z | src/coreclr/inc/posterror.h | berkansasmaz/runtime | 7626c5d8be527d6735eddcdc7c97423211d8f9e9 | [
"MIT"
] | 1 | 2021-11-19T10:42:54.000Z | 2021-11-19T10:42:54.000Z | src/coreclr/inc/posterror.h | berkansasmaz/runtime | 7626c5d8be527d6735eddcdc7c97423211d8f9e9 | [
"MIT"
] | 1 | 2020-01-31T06:16:53.000Z | 2020-01-31T06:16:53.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
//*****************************************************************************
// UtilCode.h
//
// Utility functions implemented in UtilCode.lib.
//
//*****************************************************************************
#ifndef __PostError_h__
#define __PostError_h__
#include "switches.h"
//*****************************************************************************
// This function will post an error for the client. If the LOWORD(hrRpt) can
// be found as a valid error message, then it is loaded and formatted with
// the arguments passed in. If it cannot be found, then the error is checked
// against FormatMessage to see if it is a system error. System errors are
// not formatted so no add'l parameters are required. If any errors in this
// process occur, hrRpt is returned for the client with no error posted.
//*****************************************************************************
HRESULT PostError( // Returned error.
HRESULT hrRpt, // Reported error.
...); // Error arguments.
#endif // __PostError_h__
| 43.241379 | 79 | 0.514354 |
0ba874d8e58b9b0c9bcf306f312845f938bd023b | 2,089 | js | JavaScript | gulp/deploy.js | MatteoNardi/dyanote | be0a321a053c825ee0d616dbe3417668380ffa58 | [
"MIT"
] | null | null | null | gulp/deploy.js | MatteoNardi/dyanote | be0a321a053c825ee0d616dbe3417668380ffa58 | [
"MIT"
] | 1 | 2019-02-03T11:32:50.000Z | 2019-02-03T11:32:50.000Z | gulp/deploy.js | MatteoNardi/dyanote | be0a321a053c825ee0d616dbe3417668380ffa58 | [
"MIT"
] | null | null | null | var gulp = require('gulp'),
awspublish = require('gulp-awspublish'),
uglify = require('gulp-uglify'),
concat = require('gulp-concat'),
templateCache = require('gulp-angular-templatecache'),
del = require('del'),
es = require('event-stream'),
replace = require('gulp-replace');
var sources = require('./config.json').sources;
gulp.task('clean', function (cb) {
del([
'dist/**'
], cb);
});
gulp.task('build:deploy', ['style', 'fonts', 'images', 'js:vendor', 'js:dyanote:deploy'],
function () {
var buildNum = new Date().valueOf();
var buildFolder = 'dist/build_' + buildNum;
var scout = gulp.src('app/index.html')
.pipe(replace(/="\/build\//g, '="\/build_' +buildNum+ '/'))
.pipe(gulp.dest('dist'));
var build = gulp.src('dist/build/**/*'/*, {base:'dist'}*/)
.pipe(gulp.dest(buildFolder));
return es.merge(build, scout);
});
gulp.task('publish', ['build:deploy'], function() {
var publisher = awspublish.create({
region: 'eu-west-1',
params: {
Bucket: 'dyanote.com'
}
});
var build = gulp.src(['dist/**', '!dist/build/**', '!dist/index.html'])
.pipe(awspublish.gzip())
.pipe(publisher.publish({
// Two Year cache policy (1000 * 60 * 60 * 24 * 730)
'Cache-Control': 'max-age=630720000, public',
'Expires': new Date(Date.now() + 63072000000)
}))
.pipe(publisher.cache())
.pipe(awspublish.reporter());
var scout = gulp.src('dist/index.html')
.pipe(awspublish.gzip())
.pipe(publisher.publish({
// 5 minutes cache policy (1000 * 60 * 5)
'Cache-Control': 'max-age=300000, public',
'Expires': new Date(Date.now() + 300000)
}))
.pipe(awspublish.reporter());
return es.merge(build, scout);
});
// No sourcemaps
gulp.task('js:dyanote:deploy', function () {
var js = gulp.src(sources.dyanote.concat('app/config_production.js'));
var templates = gulp.src(sources.templates).pipe(templateCache({ module: 'dyanote' }));
return es.merge(js, templates)
.pipe(babel())
.pipe(concat('dyanote.js'))
.pipe(gulp.dest('dist/build'));
});
| 29.013889 | 89 | 0.612255 |
e2f8dccc34239f06b7365020d12fb94a6c99ffad | 9,101 | dart | Dart | GuruCool_Web/My Institute/Widgets/studentDialogBox.dart | mandanshubham/GuruCool_UserInterface | aaf28d6d60a4e288ba50f0821be125d520ad5a38 | [
"MIT"
] | null | null | null | GuruCool_Web/My Institute/Widgets/studentDialogBox.dart | mandanshubham/GuruCool_UserInterface | aaf28d6d60a4e288ba50f0821be125d520ad5a38 | [
"MIT"
] | null | null | null | GuruCool_Web/My Institute/Widgets/studentDialogBox.dart | mandanshubham/GuruCool_UserInterface | aaf28d6d60a4e288ba50f0821be125d520ad5a38 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:institute/Utils/sizeConfig.dart';
void studentDialogBox(BuildContext context) {
showDialog(
context: context,
builder: (BuildContext context) {
return StudentDialogBox();
});
}
class StudentDialogBox extends StatelessWidget {
@override
Widget build(BuildContext context) {
SizeConfig().init(context);
return Dialog(
insetPadding:
EdgeInsets.symmetric(horizontal: SizeConfig.screenWidth * 450 / 1440),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(SizeConfig.screenWidth * 5 / 1440),
),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
Container(
padding: EdgeInsets.all(SizeConfig.screenWidth * 28 / 1140),
child: Column(
children: [
TextField(
style: TextStyle(
color: Color(0xff848484),
fontSize: SizeConfig.screenWidth * 16 / 1440,
fontWeight: FontWeight.w400,
letterSpacing: SizeConfig.b * 0.037),
decoration: InputDecoration(
hintText: 'Name',
isDense: true,
contentPadding: EdgeInsets.only(
left: SizeConfig.screenWidth * 15 / 1440,
top: SizeConfig.screenHeight * 11 / 900,
bottom: SizeConfig.screenHeight * 5 / 900,
),
border: OutlineInputBorder(),
focusedBorder: OutlineInputBorder(
borderSide: BorderSide(color: Color(0xffD5D5D5))),
hintStyle: TextStyle(
color: Color(0xff848484),
fontSize: SizeConfig.screenWidth * 16 / 1440,
fontWeight: FontWeight.w400,
letterSpacing: SizeConfig.b * 0.037)),
maxLines: null,
),
SizedBox(
height: SizeConfig.screenHeight * 14 / 900,
),
TextField(
style: TextStyle(
color: Color(0xff848484),
fontSize: SizeConfig.screenWidth * 16 / 1440,
fontWeight: FontWeight.w400,
letterSpacing: SizeConfig.b * 0.037),
decoration: InputDecoration(
hintText: 'Email',
isDense: true,
contentPadding: EdgeInsets.only(
left: SizeConfig.screenWidth * 15 / 1440,
top: SizeConfig.screenHeight * 11 / 900,
bottom: SizeConfig.screenHeight * 5 / 900,
),
border: OutlineInputBorder(),
focusedBorder: OutlineInputBorder(
borderSide: BorderSide(color: Color(0xffD5D5D5))),
hintStyle: TextStyle(
color: Color(0xff848484),
fontSize: SizeConfig.screenWidth * 16 / 1440,
fontWeight: FontWeight.w400,
letterSpacing: SizeConfig.b * 0.037)),
maxLines: null,
),
SizedBox(
height: SizeConfig.screenHeight * 14 / 900,
),
TextField(
style: TextStyle(
color: Color(0xff848484),
fontSize: SizeConfig.screenWidth * 16 / 1440,
fontWeight: FontWeight.w400,
letterSpacing: SizeConfig.b * 0.037),
decoration: InputDecoration(
hintText: 'Phone Number',
isDense: true,
contentPadding: EdgeInsets.only(
left: SizeConfig.screenWidth * 15 / 1440,
top: SizeConfig.screenHeight * 11 / 900,
bottom: SizeConfig.screenHeight * 5 / 900,
),
border: OutlineInputBorder(),
focusedBorder: OutlineInputBorder(
borderSide: BorderSide(color: Color(0xffD5D5D5))),
hintStyle: TextStyle(
color: Color(0xff848484),
fontSize: SizeConfig.screenWidth * 16 / 1440,
fontWeight: FontWeight.w400,
letterSpacing: SizeConfig.b * 0.037)),
maxLines: null,
),
SizedBox(
height: SizeConfig.screenHeight * 14 / 900,
),
TextField(
style: TextStyle(
color: Color(0xff848484),
fontSize: SizeConfig.screenWidth * 16 / 1440,
fontWeight: FontWeight.w400,
letterSpacing: SizeConfig.b * 0.037),
decoration: InputDecoration(
hintText: 'Address',
isDense: true,
contentPadding: EdgeInsets.only(
left: SizeConfig.screenWidth * 15 / 1440,
top: SizeConfig.screenHeight * 11 / 900,
bottom: SizeConfig.screenHeight * 5 / 900,
),
border: OutlineInputBorder(),
focusedBorder: OutlineInputBorder(
borderSide: BorderSide(color: Color(0xffD5D5D5))),
hintStyle: TextStyle(
color: Color(0xff848484),
fontSize: SizeConfig.screenWidth * 16 / 1440,
fontWeight: FontWeight.w400,
letterSpacing: SizeConfig.b * 0.037),
),
maxLines: null,
),
SizedBox(
height: SizeConfig.screenHeight * 14 / 900,
),
TextField(
style: TextStyle(
color: Color(0xff848484),
fontSize: SizeConfig.screenWidth * 16 / 1440,
fontWeight: FontWeight.w400,
letterSpacing: SizeConfig.b * 0.037),
decoration: InputDecoration(
hintText: 'Select Course',
isDense: true,
contentPadding: EdgeInsets.only(
left: SizeConfig.screenWidth * 15 / 1440,
top: SizeConfig.screenHeight * 11 / 900,
bottom: SizeConfig.screenHeight * 5 / 900,
),
border: OutlineInputBorder(),
focusedBorder: OutlineInputBorder(
borderSide: BorderSide(color: Color(0xffD5D5D5))),
hintStyle: TextStyle(
color: Color(0xff848484),
fontSize: SizeConfig.screenWidth * 16 / 1440,
fontWeight: FontWeight.w400,
letterSpacing: SizeConfig.b * 0.037),
),
maxLines: null,
),
SizedBox(
height: SizeConfig.screenHeight * 14 / 900,
),
Row(
mainAxisAlignment: MainAxisAlignment.end,
children: [
Container(
width: SizeConfig.screenWidth * 135 / 1440,
height: SizeConfig.screenHeight * 40 / 900,
decoration: BoxDecoration(
color: Color(0xffF36C24),
borderRadius: BorderRadius.circular(
SizeConfig.screenWidth * 5 / 1440),
),
child: MaterialButton(
onPressed: () {},
minWidth: SizeConfig.screenWidth * 0.25,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(
SizeConfig.screenWidth * 5 / 1440),
),
child: Text(
'Add',
style: TextStyle(
fontWeight: FontWeight.w500,
color: Colors.white,
fontSize: SizeConfig.screenWidth * 16 / 1440),
),
))
],
)
],
),
),
],
),
);
}
}
| 45.054455 | 81 | 0.430942 |
09dada469cc95dfe2210269c42d1fe88e8bf5367 | 323 | kt | Kotlin | Example/src/main/kotlin/iterators.kt | A1esandr/kotlin_examples | 69f287ec698830cde7fe7c013bbbc16bd2f193ed | [
"MIT"
] | null | null | null | Example/src/main/kotlin/iterators.kt | A1esandr/kotlin_examples | 69f287ec698830cde7fe7c013bbbc16bd2f193ed | [
"MIT"
] | null | null | null | Example/src/main/kotlin/iterators.kt | A1esandr/kotlin_examples | 69f287ec698830cde7fe7c013bbbc16bd2f193ed | [
"MIT"
] | null | null | null | class Animal(val name: String)
class Zoo(val animals: List<Animal>) {
operator fun iterator(): Iterator<Animal> {
return animals.iterator()
}
}
fun main() {
val zoo = Zoo(listOf(Animal("zebra"), Animal("lion")))
for (animal in zoo) {
println("Watch out, it's a ${animal.name}")
}
} | 17.944444 | 58 | 0.594427 |