text
stringlengths 2
100k
| meta
dict |
---|---|
/*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* 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 org.drools.examples.fire;
public class Sprinkler {
private Room room;
private boolean on;
public Sprinkler(Room room) {
this.room = room;
}
public Sprinkler(Room room, boolean on) {
this.room = room;
this.on = on;
}
public Room getRoom() {
return room;
}
public void setRoom(Room room) {
this.room = room;
}
public boolean isOn() {
return on;
}
public void setOn(boolean on) {
this.on = on;
}
@Override
public String toString() {
return "Sprinkler{" +
"room=" + room +
", on=" + on +
'}';
}
@Override
public boolean equals(Object o) {
if (this == o) { return true; }
if (o == null || getClass() != o.getClass()) { return false; }
Sprinkler sprinkler = (Sprinkler) o;
if (on != sprinkler.on) { return false; }
if (!room.equals(sprinkler.room)) { return false; }
return true;
}
@Override
public int hashCode() {
int result = room.hashCode();
result = 31 * result + (on ? 1 : 0);
return result;
}
}
| {
"pile_set_name": "Github"
} |
/* crypto/sha/sha256t.c */
/* ====================================================================
* Copyright (c) 2004 The OpenSSL Project. All rights reserved.
* ====================================================================
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <openssl/sha.h>
#include <openssl/evp.h>
#if defined(OPENSSL_NO_SHA) || defined(OPENSSL_NO_SHA256)
int main(int argc, char *argv[])
{
printf("No SHA256 support\n");
return(0);
}
#else
unsigned char app_b1[SHA256_DIGEST_LENGTH] = {
0xba,0x78,0x16,0xbf,0x8f,0x01,0xcf,0xea,
0x41,0x41,0x40,0xde,0x5d,0xae,0x22,0x23,
0xb0,0x03,0x61,0xa3,0x96,0x17,0x7a,0x9c,
0xb4,0x10,0xff,0x61,0xf2,0x00,0x15,0xad };
unsigned char app_b2[SHA256_DIGEST_LENGTH] = {
0x24,0x8d,0x6a,0x61,0xd2,0x06,0x38,0xb8,
0xe5,0xc0,0x26,0x93,0x0c,0x3e,0x60,0x39,
0xa3,0x3c,0xe4,0x59,0x64,0xff,0x21,0x67,
0xf6,0xec,0xed,0xd4,0x19,0xdb,0x06,0xc1 };
unsigned char app_b3[SHA256_DIGEST_LENGTH] = {
0xcd,0xc7,0x6e,0x5c,0x99,0x14,0xfb,0x92,
0x81,0xa1,0xc7,0xe2,0x84,0xd7,0x3e,0x67,
0xf1,0x80,0x9a,0x48,0xa4,0x97,0x20,0x0e,
0x04,0x6d,0x39,0xcc,0xc7,0x11,0x2c,0xd0 };
unsigned char addenum_1[SHA224_DIGEST_LENGTH] = {
0x23,0x09,0x7d,0x22,0x34,0x05,0xd8,0x22,
0x86,0x42,0xa4,0x77,0xbd,0xa2,0x55,0xb3,
0x2a,0xad,0xbc,0xe4,0xbd,0xa0,0xb3,0xf7,
0xe3,0x6c,0x9d,0xa7 };
unsigned char addenum_2[SHA224_DIGEST_LENGTH] = {
0x75,0x38,0x8b,0x16,0x51,0x27,0x76,0xcc,
0x5d,0xba,0x5d,0xa1,0xfd,0x89,0x01,0x50,
0xb0,0xc6,0x45,0x5c,0xb4,0xf5,0x8b,0x19,
0x52,0x52,0x25,0x25 };
unsigned char addenum_3[SHA224_DIGEST_LENGTH] = {
0x20,0x79,0x46,0x55,0x98,0x0c,0x91,0xd8,
0xbb,0xb4,0xc1,0xea,0x97,0x61,0x8a,0x4b,
0xf0,0x3f,0x42,0x58,0x19,0x48,0xb2,0xee,
0x4e,0xe7,0xad,0x67 };
int main (int argc,char **argv)
{ unsigned char md[SHA256_DIGEST_LENGTH];
int i;
EVP_MD_CTX evp;
fprintf(stdout,"Testing SHA-256 ");
EVP_Digest ("abc",3,md,NULL,EVP_sha256(),NULL);
if (memcmp(md,app_b1,sizeof(app_b1)))
{ fflush(stdout);
fprintf(stderr,"\nTEST 1 of 3 failed.\n");
return 1;
}
else
fprintf(stdout,"."); fflush(stdout);
EVP_Digest ("abcdbcde""cdefdefg""efghfghi""ghijhijk"
"ijkljklm""klmnlmno""mnopnopq",56,md,NULL,EVP_sha256(),NULL);
if (memcmp(md,app_b2,sizeof(app_b2)))
{ fflush(stdout);
fprintf(stderr,"\nTEST 2 of 3 failed.\n");
return 1;
}
else
fprintf(stdout,"."); fflush(stdout);
EVP_MD_CTX_init (&evp);
EVP_DigestInit_ex (&evp,EVP_sha256(),NULL);
for (i=0;i<1000000;i+=160)
EVP_DigestUpdate (&evp, "aaaaaaaa""aaaaaaaa""aaaaaaaa""aaaaaaaa"
"aaaaaaaa""aaaaaaaa""aaaaaaaa""aaaaaaaa"
"aaaaaaaa""aaaaaaaa""aaaaaaaa""aaaaaaaa"
"aaaaaaaa""aaaaaaaa""aaaaaaaa""aaaaaaaa"
"aaaaaaaa""aaaaaaaa""aaaaaaaa""aaaaaaaa",
(1000000-i)<160?1000000-i:160);
EVP_DigestFinal_ex (&evp,md,NULL);
EVP_MD_CTX_cleanup (&evp);
if (memcmp(md,app_b3,sizeof(app_b3)))
{ fflush(stdout);
fprintf(stderr,"\nTEST 3 of 3 failed.\n");
return 1;
}
else
fprintf(stdout,"."); fflush(stdout);
fprintf(stdout," passed.\n"); fflush(stdout);
fprintf(stdout,"Testing SHA-224 ");
EVP_Digest ("abc",3,md,NULL,EVP_sha224(),NULL);
if (memcmp(md,addenum_1,sizeof(addenum_1)))
{ fflush(stdout);
fprintf(stderr,"\nTEST 1 of 3 failed.\n");
return 1;
}
else
fprintf(stdout,"."); fflush(stdout);
EVP_Digest ("abcdbcde""cdefdefg""efghfghi""ghijhijk"
"ijkljklm""klmnlmno""mnopnopq",56,md,NULL,EVP_sha224(),NULL);
if (memcmp(md,addenum_2,sizeof(addenum_2)))
{ fflush(stdout);
fprintf(stderr,"\nTEST 2 of 3 failed.\n");
return 1;
}
else
fprintf(stdout,"."); fflush(stdout);
EVP_MD_CTX_init (&evp);
EVP_DigestInit_ex (&evp,EVP_sha224(),NULL);
for (i=0;i<1000000;i+=64)
EVP_DigestUpdate (&evp, "aaaaaaaa""aaaaaaaa""aaaaaaaa""aaaaaaaa"
"aaaaaaaa""aaaaaaaa""aaaaaaaa""aaaaaaaa",
(1000000-i)<64?1000000-i:64);
EVP_DigestFinal_ex (&evp,md,NULL);
EVP_MD_CTX_cleanup (&evp);
if (memcmp(md,addenum_3,sizeof(addenum_3)))
{ fflush(stdout);
fprintf(stderr,"\nTEST 3 of 3 failed.\n");
return 1;
}
else
fprintf(stdout,"."); fflush(stdout);
fprintf(stdout," passed.\n"); fflush(stdout);
return 0;
}
#endif
| {
"pile_set_name": "Github"
} |
{
"NAME" : "简体中文",
"APP" : {
"ACTION_ACKNOWLEDGE" : "确定",
"ACTION_CANCEL" : "取消",
"ACTION_CLONE" : "克隆",
"ACTION_CONTINUE" : "继续",
"ACTION_DELETE" : "删除",
"ACTION_DELETE_SESSIONS" : "删除会话",
"ACTION_DOWNLOAD" : "下载",
"ACTION_LOGIN" : "登录",
"ACTION_LOGOUT" : "登出",
"ACTION_MANAGE_CONNECTIONS" : "连接",
"ACTION_MANAGE_PREFERENCES" : "偏好",
"ACTION_MANAGE_SETTINGS" : "设置",
"ACTION_MANAGE_SESSIONS" : "活动会话",
"ACTION_MANAGE_USERS" : "用户",
"ACTION_NAVIGATE_BACK" : "返回",
"ACTION_NAVIGATE_HOME" : "首页",
"ACTION_SAVE" : "保存",
"ACTION_SEARCH" : "搜索",
"ACTION_SHARE" : "共享",
"ACTION_UPDATE_PASSWORD" : "更新密码",
"ACTION_VIEW_HISTORY" : "历史",
"DIALOG_HEADER_ERROR" : "出错",
"ERROR_PASSWORD_BLANK" : "密码不能留空。",
"ERROR_PASSWORD_MISMATCH" : "输入的密码不吻合。",
"FIELD_HEADER_PASSWORD" : "密码:",
"FIELD_HEADER_PASSWORD_AGAIN" : "重输密码:",
"FIELD_PLACEHOLDER_FILTER" : "过滤",
"FORMAT_DATE_TIME_PRECISE" : "yyyy-MM-dd HH:mm:ss",
"INFO_ACTIVE_USER_COUNT" : "正在被{USERS}用户使用。",
"TEXT_ANONYMOUS_USER" : "匿名",
"TEXT_HISTORY_DURATION" : "{VALUE} {UNIT, select, second{秒} minute{分} hour{小时} day{天} other{}}"
},
"CLIENT" : {
"ACTION_ACKNOWLEDGE" : "@:APP.ACTION_ACKNOWLEDGE",
"ACTION_CLEAR_COMPLETED_TRANSFERS" : "清除",
"ACTION_DISCONNECT" : "断开连接",
"ACTION_LOGOUT" : "@:APP.ACTION_LOGOUT",
"ACTION_NAVIGATE_BACK" : "@:APP.ACTION_NAVIGATE_BACK",
"ACTION_NAVIGATE_HOME" : "@:APP.ACTION_NAVIGATE_HOME",
"ACTION_RECONNECT" : "重新连接",
"ACTION_SAVE_FILE" : "@:APP.ACTION_SAVE",
"ACTION_SHARE" : "@:APP.ACTION_SHARE",
"ACTION_UPLOAD_FILES" : "上传文件",
"DIALOG_HEADER_CONNECTING" : "正在连接",
"DIALOG_HEADER_CONNECTION_ERROR" : "连接出错",
"DIALOG_HEADER_DISCONNECTED" : "已断开连接",
"ERROR_CLIENT_201" : "因服务器繁忙,本连接已被关闭。请稍候几分钟再重试。",
"ERROR_CLIENT_202" : "因远程桌面太久没有应答,Guacamole服务器关闭了本连接。请重试或联系您的系统管理员。",
"ERROR_CLIENT_203" : "远程桌面服务器因为出错而关闭了本连接。请重试或联系您的系统管理员。",
"ERROR_CLIENT_207" : "联系不上远程桌面服务器。如果问题持续,请通知您的系统管理员,或检查您的系统日志。",
"ERROR_CLIENT_208" : "远程桌面服务器不在线。如果问题持续,请通知您的系统管理员,或检查您的系统日志。",
"ERROR_CLIENT_209" : "因与另一个连接冲突,远程桌面服务器关闭了本连接。请稍后重试。",
"ERROR_CLIENT_20A" : "因长时间没有活动,远程桌面服务器关闭了本连接。如果这不是期望的设置,请通知您的系统管理员,或检查您的系统设置。",
"ERROR_CLIENT_20B" : "远程桌面服务器强制关闭了本连接。如果这不是期望的配置,请通知您的系统管理员,或检查您的系统日志。",
"ERROR_CLIENT_301" : "登录失败。请先重新连接再重试。",
"ERROR_CLIENT_303" : "远程桌面服务器拒绝了本连接。如果需要使用本连接,请联系您的系统管理员开放权限,或者检查您的系统设置。",
"ERROR_CLIENT_308" : "因为您的浏览器长时间没有应答,Guacamole服务器关闭了本连接。这通常是因为网络问题(如不稳定的无线连接或网速太慢等)而导致的。请先检查您的网络连接再重试。",
"ERROR_CLIENT_31D" : "因为您已超出了单一用户可同时使用的连接数量,Guacamole服务器拒绝了本连接。请先关闭至少一个连接再重试。",
"ERROR_CLIENT_DEFAULT" : "本连接因为Guacamole服务器出现了内部错误而被终止。如果问题持续,请通知您的系统管理员,或检查您的系统日志。",
"ERROR_TUNNEL_201" : "因为正在使用的活动连接太多,Guacamole服务器拒绝了本连接。请稍后再重试。",
"ERROR_TUNNEL_202" : "因服务器太久没有应答,本连续已被关闭。这通常是因为网络问题(如不稳定的无线连接或网速太慢等)而导致的。请先检查您的网络连接再重试,或者联系您的系统管理员。",
"ERROR_TUNNEL_203" : "服务器出错并关闭了本连接。请重试,或联系您的系统管理员。",
"ERROR_TUNNEL_204" : "请求的连接不存在。请先检查连接的名字再重试。",
"ERROR_TUNNEL_205" : "本连接正在使用中,并且不允许共享连接。请稍后重试。",
"ERROR_TUNNEL_207" : "联系不上Guacamole服务器。请先检查您的网络连接再重试。",
"ERROR_TUNNEL_208" : "Guacamole服务器不接受连接请求。请先检查您的网络连接再重试。",
"ERROR_TUNNEL_301" : "您还未登录,所以没有使用此连接的权限。请先登录再重试。",
"ERROR_TUNNEL_303" : "您没有使用此连接的权限。如果您的确需要使用此连接,请联系您的系统管理员开通权限,或检查您的系统设置。",
"ERROR_TUNNEL_308" : "因为您的浏览器长时间没有应答,Guacamole服务器关闭了本连接。这通常是因为网络问题(如不稳定的无线连接或网速太慢等)而导致的。请先检查您的网络连接再重试。",
"ERROR_TUNNEL_31D" : "因为您已超出了单一用户可同时使用的连接数量,Guacamole服务器拒绝了本连接。请先关闭至少一个连接再重试。",
"ERROR_TUNNEL_DEFAULT" : "本连接因为Guacamole服务器出现了内部错误而被终止。如果问题持续,请通知您的系统管理员,或检查您的系统日志。",
"ERROR_UPLOAD_100" : "不支持或不允许使用文件传输。请联系您的系统管理员,或检查您的系统日志。",
"ERROR_UPLOAD_201" : "正在同时传输太多文件。请等待当前的文件传输任务完成后,再重试。",
"ERROR_UPLOAD_202" : "因远程桌面服务器太久没有应答,文件不能传输。请重试或联系您的系统管理员。",
"ERROR_UPLOAD_203" : "远程桌面服务器在文件传输时出错。请重试或联系您的系统管理员。",
"ERROR_UPLOAD_204" : "文件传输的接收目录不存在。请先检查接收目录再重试。",
"ERROR_UPLOAD_205" : "文件传输的接收目录正被锁定。请等待正在进行的操作完成后,再重试。",
"ERROR_UPLOAD_301" : "您还未登录,所以没有上传此文件的权限。请先登录再重试。",
"ERROR_UPLOAD_303" : "您没有上传此文件的权限。如果您需要权限,请检查您的系统设置,或联系您的系统管理员。",
"ERROR_UPLOAD_308" : "文件传输已停止。这通常是因为网络问题(如不稳定的无线连接或网速太慢等)而导致的。请先检查您的网络连接再重试。",
"ERROR_UPLOAD_31D" : "正在同时传输太多文件。请等待当前的传输任务完成后,再重试。",
"ERROR_UPLOAD_DEFAULT" : "本连接因为Guacamole服务器出现了内部错误而被终止。如果问题持续,请通知您的系统管理员,或检查您的系统日志。",
"FIELD_PLACEHOLDER_FILTER" : "@:APP.FIELD_PLACEHOLDER_FILTER",
"HELP_CLIPBOARD" : "复制/剪切的文本将出现在这里。对下面文本内容所作的修改将会影响远程电脑上的剪贴板。",
"HELP_INPUT_METHOD_NONE" : "没有选择任何输入法。将从连接的物理键盘接受键盘输入。",
"HELP_INPUT_METHOD_OSK" : "显示并从内建的Guacamole屏幕键盘接受输入。屏幕键盘可以输入平常无法输入的按键组合(如Ctrl-Alt-Del等)。",
"HELP_INPUT_METHOD_TEXT" : "允许输入文本,并根据所输入的文本模拟键盘事件。可用于没有物理键盘的设备,如手机等。",
"HELP_MOUSE_MODE" : "设置远程电脑上的鼠标对触控行为的反应。",
"HELP_MOUSE_MODE_ABSOLUTE" : "点击时立即触发按键。在点击的位置触发鼠标按键事件。",
"HELP_MOUSE_MODE_RELATIVE" : "拖拽时移动鼠标,再点击时触发按键。在鼠标当前所在的位置触发按键事件。",
"HELP_SHARE_LINK" : "正在共享当前连接,并可被使用以下链接的任何人使用:",
"INFO_CONNECTION_SHARED" : "此连接已被共享。",
"INFO_NO_FILE_TRANSFERS" : "无文件传输任务。",
"NAME_INPUT_METHOD_NONE" : "无输入法",
"NAME_INPUT_METHOD_OSK" : "屏幕键盘",
"NAME_INPUT_METHOD_TEXT" : "文本输入",
"NAME_KEY_CTRL" : "Ctrl",
"NAME_KEY_ALT" : "Alt",
"NAME_KEY_ESC" : "Esc",
"NAME_KEY_TAB" : "Tab",
"NAME_MOUSE_MODE_ABSOLUTE" : "触控屏",
"NAME_MOUSE_MODE_RELATIVE" : "触控板",
"SECTION_HEADER_CLIPBOARD" : "剪贴板",
"SECTION_HEADER_DEVICES" : "设备",
"SECTION_HEADER_DISPLAY" : "显示",
"SECTION_HEADER_FILE_TRANSFERS" : "文件传输",
"SECTION_HEADER_INPUT_METHOD" : "输入法",
"SECTION_HEADER_MOUSE_MODE" : "模拟鼠标模式",
"TEXT_ZOOM_AUTO_FIT" : "自适应浏览器窗口大小",
"TEXT_CLIENT_STATUS_IDLE" : "空闲。",
"TEXT_CLIENT_STATUS_CONNECTING" : "正在连接Guacamole……",
"TEXT_CLIENT_STATUS_DISCONNECTED" : "您的连接已断开。",
"TEXT_CLIENT_STATUS_UNSTABLE" : "到Guacamole服务器的网络连接似乎不太稳定。",
"TEXT_CLIENT_STATUS_WAITING" : "已连接到Guacamole。正在等候应答……",
"TEXT_RECONNECT_COUNTDOWN" : "在{REMAINING}秒后重连……",
"TEXT_FILE_TRANSFER_PROGRESS" : "{PROGRESS} {UNIT, select, b{B} kb{KB} mb{MB} gb{GB} other{}}",
"URL_OSK_LAYOUT" : "layouts/en-us-qwerty.json"
},
"DATA_SOURCE_DEFAULT" : {
"NAME" : "缺省(XML)"
},
"FORM" : {
"FIELD_PLACEHOLDER_DATE" : "YYYY-MM-DD",
"FIELD_PLACEHOLDER_TIME" : "HH:MM:SS",
"HELP_SHOW_PASSWORD" : "点击显示密码",
"HELP_HIDE_PASSWORD" : "点击隐藏密码"
},
"HOME" : {
"FIELD_PLACEHOLDER_FILTER" : "@:APP.FIELD_PLACEHOLDER_FILTER",
"INFO_ACTIVE_USER_COUNT" : "@:APP.INFO_ACTIVE_USER_COUNT",
"INFO_NO_RECENT_CONNECTIONS" : "无最近使用过的连接。",
"PASSWORD_CHANGED" : "密码已修改。",
"SECTION_HEADER_ALL_CONNECTIONS" : "全部连接",
"SECTION_HEADER_RECENT_CONNECTIONS" : "最近使用过的连接"
},
"LIST" : {
"TEXT_ANONYMOUS_USER" : "匿名"
},
"LOGIN": {
"ACTION_ACKNOWLEDGE" : "@:APP.ACTION_ACKNOWLEDGE",
"ACTION_CONTINUE" : "@:APP.ACTION_CONTINUE",
"ACTION_LOGIN" : "@:APP.ACTION_LOGIN",
"DIALOG_HEADER_ERROR" : "@:APP.DIALOG_HEADER_ERROR",
"ERROR_INVALID_LOGIN" : "非法登录",
"FIELD_HEADER_USERNAME" : "用户名",
"FIELD_HEADER_PASSWORD" : "密码"
},
"MANAGE_CONNECTION" : {
"ACTION_ACKNOWLEDGE" : "@:APP.ACTION_ACKNOWLEDGE",
"ACTION_CANCEL" : "@:APP.ACTION_CANCEL",
"ACTION_CLONE" : "@:APP.ACTION_CLONE",
"ACTION_DELETE" : "@:APP.ACTION_DELETE",
"ACTION_SAVE" : "@:APP.ACTION_SAVE",
"DIALOG_HEADER_CONFIRM_DELETE" : "删除连接",
"DIALOG_HEADER_ERROR" : "@:APP.DIALOG_HEADER_ERROR",
"FIELD_HEADER_LOCATION" : "位置:",
"FIELD_HEADER_NAME" : "名称:",
"FIELD_HEADER_PROTOCOL" : "协议:",
"FORMAT_HISTORY_START" : "@:APP.FORMAT_DATE_TIME_PRECISE",
"INFO_CONNECTION_DURATION_UNKNOWN" : "--",
"INFO_CONNECTION_ACTIVE_NOW" : "活动中",
"INFO_CONNECTION_NOT_USED" : "此连接未被使用过。",
"SECTION_HEADER_EDIT_CONNECTION" : "编辑连接",
"SECTION_HEADER_HISTORY" : "使用历史",
"SECTION_HEADER_PARAMETERS" : "参数",
"TABLE_HEADER_HISTORY_USERNAME" : "用户名",
"TABLE_HEADER_HISTORY_START" : "开始时间",
"TABLE_HEADER_HISTORY_DURATION" : "持续时间",
"TABLE_HEADER_HISTORY_REMOTEHOST" : "远程主机",
"TEXT_CONFIRM_DELETE" : "将无法恢复已被删除的连接。确定要删除这个连接吗?",
"TEXT_HISTORY_DURATION" : "@:APP.TEXT_HISTORY_DURATION"
},
"MANAGE_CONNECTION_GROUP" : {
"ACTION_ACKNOWLEDGE" : "@:APP.ACTION_ACKNOWLEDGE",
"ACTION_CANCEL" : "@:APP.ACTION_CANCEL",
"ACTION_CLONE" : "@:APP.ACTION_CLONE",
"ACTION_DELETE" : "@:APP.ACTION_DELETE",
"ACTION_SAVE" : "@:APP.ACTION_SAVE",
"DIALOG_HEADER_CONFIRM_DELETE" : "删除连接组",
"DIALOG_HEADER_ERROR" : "@:APP.DIALOG_HEADER_ERROR",
"FIELD_HEADER_LOCATION" : "位置:",
"FIELD_HEADER_NAME" : "名字:",
"FIELD_HEADER_TYPE" : "类型:",
"NAME_TYPE_BALANCING" : "负载平衡",
"NAME_TYPE_ORGANIZATIONAL" : "组织架构",
"SECTION_HEADER_EDIT_CONNECTION_GROUP" : "编辑连接组",
"TEXT_CONFIRM_DELETE" : "将不能恢复已被删除的连接组。确定要删除这个连接组吗?"
},
"MANAGE_SHARING_PROFILE" : {
"ACTION_ACKNOWLEDGE" : "@:APP.ACTION_ACKNOWLEDGE",
"ACTION_CANCEL" : "@:APP.ACTION_CANCEL",
"ACTION_CLONE" : "@:APP.ACTION_CLONE",
"ACTION_DELETE" : "@:APP.ACTION_DELETE",
"ACTION_SAVE" : "@:APP.ACTION_SAVE",
"DIALOG_HEADER_CONFIRM_DELETE" : "删除共享设定",
"DIALOG_HEADER_ERROR" : "@:APP.DIALOG_HEADER_ERROR",
"FIELD_HEADER_NAME" : "名字:",
"FIELD_HEADER_PRIMARY_CONNECTION" : "主连接:",
"SECTION_HEADER_EDIT_SHARING_PROFILE" : "编辑共享设定",
"SECTION_HEADER_PARAMETERS" : "参数",
"TEXT_CONFIRM_DELETE" : "将不能恢复已被删除的共享设定。确定要删除这个共享设定吗?"
},
"MANAGE_USER" : {
"ACTION_ACKNOWLEDGE" : "@:APP.ACTION_ACKNOWLEDGE",
"ACTION_CANCEL" : "@:APP.ACTION_CANCEL",
"ACTION_CLONE" : "@:APP.ACTION_CLONE",
"ACTION_DELETE" : "@:APP.ACTION_DELETE",
"ACTION_SAVE" : "@:APP.ACTION_SAVE",
"DIALOG_HEADER_CONFIRM_DELETE" : "删除用户",
"DIALOG_HEADER_ERROR" : "@:APP.DIALOG_HEADER_ERROR",
"ERROR_PASSWORD_MISMATCH" : "@:APP.ERROR_PASSWORD_MISMATCH",
"FIELD_HEADER_ADMINISTER_SYSTEM" : "授权管理系统:",
"FIELD_HEADER_CHANGE_OWN_PASSWORD" : "修改自己的密码:",
"FIELD_HEADER_CREATE_NEW_USERS" : "新建用户:",
"FIELD_HEADER_CREATE_NEW_CONNECTIONS" : "新建连接:",
"FIELD_HEADER_CREATE_NEW_CONNECTION_GROUPS" : "新建连接组:",
"FIELD_HEADER_CREATE_NEW_SHARING_PROFILES" : "新建共享设定:",
"FIELD_HEADER_PASSWORD" : "@:APP.FIELD_HEADER_PASSWORD",
"FIELD_HEADER_PASSWORD_AGAIN" : "@:APP.FIELD_HEADER_PASSWORD_AGAIN",
"FIELD_HEADER_USERNAME" : "用户名:",
"FIELD_PLACEHOLDER_FILTER" : "@:APP.FIELD_PLACEHOLDER_FILTER",
"INFO_READ_ONLY" : "对不起,不能编辑此用户的账户。",
"SECTION_HEADER_CONNECTIONS" : "连接",
"SECTION_HEADER_EDIT_USER" : "编辑用户",
"SECTION_HEADER_PERMISSIONS" : "使用权限",
"TEXT_CONFIRM_DELETE" : "将不能恢复已被删除的用户。确定要删除这个用户吗?"
},
"PROTOCOL_RDP" : {
"FIELD_HEADER_CLIENT_NAME" : "客户端:",
"FIELD_HEADER_COLOR_DEPTH" : "色彩深度:",
"FIELD_HEADER_CONSOLE" : "管理员控制台:",
"FIELD_HEADER_CONSOLE_AUDIO" : "在控制台内支持音频:",
"FIELD_HEADER_CREATE_DRIVE_PATH" : "自动建立虚拟盘:",
"FIELD_HEADER_CREATE_RECORDING_PATH" : "自动建立录像目录:",
"FIELD_HEADER_DISABLE_AUDIO" : "禁用音频:",
"FIELD_HEADER_DISABLE_AUTH" : "禁用认证:",
"FIELD_HEADER_DOMAIN" : "域:",
"FIELD_HEADER_DPI" : "分辨率(DPI):",
"FIELD_HEADER_DRIVE_PATH" : "虚拟盘路径:",
"FIELD_HEADER_ENABLE_AUDIO_INPUT" : "启用音频输入(话筒):",
"FIELD_HEADER_ENABLE_DESKTOP_COMPOSITION" : "启用桌面合成效果(Aero):",
"FIELD_HEADER_ENABLE_DRIVE" : "启用虚拟盘:",
"FIELD_HEADER_ENABLE_FONT_SMOOTHING" : "启用字体平滑(ClearType):",
"FIELD_HEADER_ENABLE_FULL_WINDOW_DRAG" : "启用全窗口拖拽:",
"FIELD_HEADER_ENABLE_MENU_ANIMATIONS" : "启用菜单动画:",
"FIELD_HEADER_DISABLE_BITMAP_CACHING" : "启用位图缓存:",
"FIELD_HEADER_DISABLE_OFFSCREEN_CACHING" : "启用离屏缓存:",
"FIELD_HEADER_DISABLE_GLYPH_CACHING" : "禁用字形缓存:",
"FIELD_HEADER_ENABLE_PRINTING" : "启用打印功能:",
"FIELD_HEADER_ENABLE_SFTP" : "启用SFTP:",
"FIELD_HEADER_ENABLE_THEMING" : "启用桌面主题:",
"FIELD_HEADER_ENABLE_WALLPAPER" : "启用桌面墙纸:",
"FIELD_HEADER_GATEWAY_DOMAIN" : "域:",
"FIELD_HEADER_GATEWAY_HOSTNAME" : "主机名:",
"FIELD_HEADER_GATEWAY_PASSWORD" : "密码:",
"FIELD_HEADER_GATEWAY_PORT" : "端口:",
"FIELD_HEADER_GATEWAY_USERNAME" : "用户名:",
"FIELD_HEADER_HEIGHT" : "高度:",
"FIELD_HEADER_HOSTNAME" : "主机名:",
"FIELD_HEADER_IGNORE_CERT" : "忽略服务器证书:",
"FIELD_HEADER_INITIAL_PROGRAM" : "初始程序:",
"FIELD_HEADER_LOAD_BALANCE_INFO" : "负载平衡信息/cookie:",
"FIELD_HEADER_PASSWORD" : "密码:",
"FIELD_HEADER_PORT" : "端口:",
"FIELD_HEADER_PRECONNECTION_BLOB" : "预连接BLOB(VM标识):",
"FIELD_HEADER_PRECONNECTION_ID" : "RDP源标识:",
"FIELD_HEADER_READ_ONLY" : "只读:",
"FIELD_HEADER_RECORDING_EXCLUDE_MOUSE" : "排除鼠标:",
"FIELD_HEADER_RECORDING_EXCLUDE_OUTPUT" : "排除图像/数据流:",
"FIELD_HEADER_RECORDING_INCLUDE_KEYS" : "包含按键事件:",
"FIELD_HEADER_RECORDING_NAME" : "录像名:",
"FIELD_HEADER_RECORDING_PATH" : "录像路径:",
"FIELD_HEADER_RESIZE_METHOD" : "缩放方法:",
"FIELD_HEADER_REMOTE_APP_ARGS" : "参数:",
"FIELD_HEADER_REMOTE_APP_DIR" : "工作目录:",
"FIELD_HEADER_REMOTE_APP" : "程序:",
"FIELD_HEADER_SECURITY" : "安全模式:",
"FIELD_HEADER_SERVER_LAYOUT" : "键盘布局:",
"FIELD_HEADER_SFTP_DIRECTORY" : "缺省文件上传目录:",
"FIELD_HEADER_SFTP_HOSTNAME" : "主机名:",
"FIELD_HEADER_SFTP_SERVER_ALIVE_INTERVAL" : "SFTP keepalive时间间隔:",
"FIELD_HEADER_SFTP_PASSPHRASE" : "口令:",
"FIELD_HEADER_SFTP_PASSWORD" : "密码:",
"FIELD_HEADER_SFTP_PORT" : "端口:",
"FIELD_HEADER_SFTP_PRIVATE_KEY" : "私钥:",
"FIELD_HEADER_SFTP_ROOT_DIRECTORY" : "文件浏览器根目录:",
"FIELD_HEADER_SFTP_USERNAME" : "用户名:",
"FIELD_HEADER_STATIC_CHANNELS" : "静态通道名:",
"FIELD_HEADER_USERNAME" : "用户名:",
"FIELD_HEADER_WIDTH" : "宽度:",
"FIELD_OPTION_COLOR_DEPTH_16" : "低色(16位)",
"FIELD_OPTION_COLOR_DEPTH_24" : "真彩(24位)",
"FIELD_OPTION_COLOR_DEPTH_32" : "真彩(32位)",
"FIELD_OPTION_COLOR_DEPTH_8" : "256色",
"FIELD_OPTION_COLOR_DEPTH_EMPTY" : "",
"FIELD_OPTION_RESIZE_METHOD_DISPLAY_UPDATE" : "“显示更新”虚拟通道(RDP 8.1+)",
"FIELD_OPTION_RESIZE_METHOD_EMPTY" : "",
"FIELD_OPTION_RESIZE_METHOD_RECONNECT" : "重新连接",
"FIELD_OPTION_SECURITY_ANY" : "任意",
"FIELD_OPTION_SECURITY_EMPTY" : "",
"FIELD_OPTION_SECURITY_NLA" : "NLA(网络级别认证)",
"FIELD_OPTION_SECURITY_RDP" : "RDP加密",
"FIELD_OPTION_SECURITY_TLS" : "TLS加密",
"FIELD_OPTION_SERVER_LAYOUT_DE_DE_QWERTZ" : "German (Qwertz)",
"FIELD_OPTION_SERVER_LAYOUT_EMPTY" : "",
"FIELD_OPTION_SERVER_LAYOUT_EN_GB_QWERTY" : "UK English (Qwerty)",
"FIELD_OPTION_SERVER_LAYOUT_EN_US_QWERTY" : "US English (Qwerty)",
"FIELD_OPTION_SERVER_LAYOUT_ES_ES_QWERTY" : "Spanish (Qwerty)",
"FIELD_OPTION_SERVER_LAYOUT_FAILSAFE" : "Unicode",
"FIELD_OPTION_SERVER_LAYOUT_FR_CH_QWERTZ" : "Swiss French (Qwertz)",
"FIELD_OPTION_SERVER_LAYOUT_FR_FR_AZERTY" : "French (Azerty)",
"FIELD_OPTION_SERVER_LAYOUT_IT_IT_QWERTY" : "Italian (Qwerty)",
"FIELD_OPTION_SERVER_LAYOUT_JA_JP_QWERTY" : "Japanese (Qwerty)",
"FIELD_OPTION_SERVER_LAYOUT_PT_BR_QWERTY" : "Portuguese Brazilian (Qwerty)",
"FIELD_OPTION_SERVER_LAYOUT_SV_SE_QWERTY" : "Swedish (Qwerty)",
"FIELD_OPTION_SERVER_LAYOUT_TR_TR_QWERTY" : "Turkish-Q (Qwerty)",
"NAME" : "RDP",
"SECTION_HEADER_AUTHENTICATION" : "认证",
"SECTION_HEADER_BASIC_PARAMETERS" : "基础设置",
"SECTION_HEADER_CLIPBOARD" : "剪贴板",
"SECTION_HEADER_DEVICE_REDIRECTION" : "设备重定向",
"SECTION_HEADER_DISPLAY" : "显示",
"SECTION_HEADER_GATEWAY" : "远程桌面网关",
"SECTION_HEADER_LOAD_BALANCING" : "负载平衡",
"SECTION_HEADER_NETWORK" : "网络",
"SECTION_HEADER_PERFORMANCE" : "性能",
"SECTION_HEADER_PRECONNECTION_PDU" : "预连接PDU / Hyper-V",
"SECTION_HEADER_RECORDING" : "屏幕录像",
"SECTION_HEADER_REMOTEAPP" : "RemoteApp",
"SECTION_HEADER_SFTP" : "SFTP"
},
"PROTOCOL_SSH" : {
"FIELD_HEADER_BACKSPACE" : "退格键发送:",
"FIELD_HEADER_COLOR_SCHEME" : "配色方案:",
"FIELD_HEADER_COMMAND" : "运行命令:",
"FIELD_HEADER_CREATE_RECORDING_PATH" : "自动建立录像目录:",
"FIELD_HEADER_CREATE_TYPESCRIPT_PATH" : "自动建立打字稿目录:",
"FIELD_HEADER_FONT_NAME" : "字体名:",
"FIELD_HEADER_FONT_SIZE" : "字体大小:",
"FIELD_HEADER_ENABLE_SFTP" : "启用SFTP:",
"FIELD_HEADER_HOSTNAME" : "主机名:",
"FIELD_HEADER_USERNAME" : "用户名:",
"FIELD_HEADER_PASSWORD" : "密码:",
"FIELD_HEADER_PASSPHRASE" : "口令:",
"FIELD_HEADER_PORT" : "端口:",
"FIELD_HEADER_PRIVATE_KEY" : "私钥:",
"FIELD_HEADER_READ_ONLY" : "只读:",
"FIELD_HEADER_RECORDING_EXCLUDE_MOUSE" : "排除鼠标:",
"FIELD_HEADER_RECORDING_EXCLUDE_OUTPUT" : "排除图像/数据流:",
"FIELD_HEADER_RECORDING_INCLUDE_KEYS" : "包含按键事件:",
"FIELD_HEADER_RECORDING_NAME" : "录像名:",
"FIELD_HEADER_RECORDING_PATH" : "录像路径:",
"FIELD_HEADER_SERVER_ALIVE_INTERVAL" : "服务器keepalive时间间隔:",
"FIELD_HEADER_SFTP_ROOT_DIRECTORY" : "文件浏览器根目录:",
"FIELD_HEADER_TYPESCRIPT_NAME" : "打字稿名:",
"FIELD_HEADER_TYPESCRIPT_PATH" : "打字稿路径:",
"FIELD_OPTION_BACKSPACE_EMPTY" : "",
"FIELD_OPTION_BACKSPACE_8" : "退格键(Ctrl-H)",
"FIELD_OPTION_BACKSPACE_127" : "删除键(Ctrl-?)",
"FIELD_OPTION_COLOR_SCHEME_BLACK_WHITE" : "白底黑字",
"FIELD_OPTION_COLOR_SCHEME_EMPTY" : "",
"FIELD_OPTION_COLOR_SCHEME_GRAY_BLACK" : "黑底灰字",
"FIELD_OPTION_COLOR_SCHEME_GREEN_BLACK" : "黑底绿字",
"FIELD_OPTION_COLOR_SCHEME_WHITE_BLACK" : "黑底白字",
"FIELD_OPTION_FONT_SIZE_8" : "8",
"FIELD_OPTION_FONT_SIZE_9" : "9",
"FIELD_OPTION_FONT_SIZE_10" : "10",
"FIELD_OPTION_FONT_SIZE_11" : "11",
"FIELD_OPTION_FONT_SIZE_12" : "12",
"FIELD_OPTION_FONT_SIZE_14" : "14",
"FIELD_OPTION_FONT_SIZE_18" : "18",
"FIELD_OPTION_FONT_SIZE_24" : "24",
"FIELD_OPTION_FONT_SIZE_30" : "30",
"FIELD_OPTION_FONT_SIZE_36" : "36",
"FIELD_OPTION_FONT_SIZE_48" : "48",
"FIELD_OPTION_FONT_SIZE_60" : "60",
"FIELD_OPTION_FONT_SIZE_72" : "72",
"FIELD_OPTION_FONT_SIZE_96" : "96",
"FIELD_OPTION_FONT_SIZE_EMPTY" : "",
"NAME" : "SSH",
"SECTION_HEADER_AUTHENTICATION" : "认证",
"SECTION_HEADER_BEHAVIOR" : "终端行为",
"SECTION_HEADER_CLIPBOARD" : "剪贴板",
"SECTION_HEADER_DISPLAY" : "显示",
"SECTION_HEADER_NETWORK" : "网络",
"SECTION_HEADER_RECORDING" : "屏幕录像",
"SECTION_HEADER_SESSION" : "会话 / 环境",
"SECTION_HEADER_TYPESCRIPT" : "打字稿(文本会话录像)",
"SECTION_HEADER_SFTP" : "SFTP"
},
"PROTOCOL_TELNET" : {
"FIELD_HEADER_BACKSPACE" : "退格键发送:",
"FIELD_HEADER_COLOR_SCHEME" : "配色方案:",
"FIELD_HEADER_CREATE_RECORDING_PATH" : "自动建立录像目录:",
"FIELD_HEADER_CREATE_TYPESCRIPT_PATH" : "自动建立打字稿目录:",
"FIELD_HEADER_FONT_NAME" : "字体名:",
"FIELD_HEADER_FONT_SIZE" : "字体大小:",
"FIELD_HEADER_HOSTNAME" : "主机名:",
"FIELD_HEADER_USERNAME" : "用户名:",
"FIELD_HEADER_PASSWORD" : "密码:",
"FIELD_HEADER_PASSWORD_REGEX" : "密码规则正则表达式:",
"FIELD_HEADER_PORT" : "端口:",
"FIELD_HEADER_READ_ONLY" : "只读:",
"FIELD_HEADER_RECORDING_EXCLUDE_MOUSE" : "排除鼠标:",
"FIELD_HEADER_RECORDING_EXCLUDE_OUTPUT" : "排除图像/数据流:",
"FIELD_HEADER_RECORDING_INCLUDE_KEYS" : "包含按键事件:",
"FIELD_HEADER_RECORDING_NAME" : "录像名:",
"FIELD_HEADER_RECORDING_PATH" : "录像路径:",
"FIELD_HEADER_TYPESCRIPT_NAME" : "打字稿名:",
"FIELD_HEADER_TYPESCRIPT_PATH" : "打字稿路径:",
"FIELD_OPTION_BACKSPACE_EMPTY" : "",
"FIELD_OPTION_BACKSPACE_8" : "退格键(Ctrl-H)",
"FIELD_OPTION_BACKSPACE_127" : "删除键(Ctrl-?)",
"FIELD_OPTION_COLOR_SCHEME_BLACK_WHITE" : "白底黑字",
"FIELD_OPTION_COLOR_SCHEME_EMPTY" : "",
"FIELD_OPTION_COLOR_SCHEME_GRAY_BLACK" : "黑底灰字",
"FIELD_OPTION_COLOR_SCHEME_GREEN_BLACK" : "黑底绿字",
"FIELD_OPTION_COLOR_SCHEME_WHITE_BLACK" : "黑底白字",
"FIELD_OPTION_FONT_SIZE_8" : "8",
"FIELD_OPTION_FONT_SIZE_9" : "9",
"FIELD_OPTION_FONT_SIZE_10" : "10",
"FIELD_OPTION_FONT_SIZE_11" : "11",
"FIELD_OPTION_FONT_SIZE_12" : "12",
"FIELD_OPTION_FONT_SIZE_14" : "14",
"FIELD_OPTION_FONT_SIZE_18" : "18",
"FIELD_OPTION_FONT_SIZE_24" : "24",
"FIELD_OPTION_FONT_SIZE_30" : "30",
"FIELD_OPTION_FONT_SIZE_36" : "36",
"FIELD_OPTION_FONT_SIZE_48" : "48",
"FIELD_OPTION_FONT_SIZE_60" : "60",
"FIELD_OPTION_FONT_SIZE_72" : "72",
"FIELD_OPTION_FONT_SIZE_96" : "96",
"FIELD_OPTION_FONT_SIZE_EMPTY" : "",
"NAME" : "Telnet",
"SECTION_HEADER_AUTHENTICATION" : "认证",
"SECTION_HEADER_BEHAVIOR" : "终端行为",
"SECTION_HEADER_CLIPBOARD" : "剪贴板",
"SECTION_HEADER_DISPLAY" : "显示",
"SECTION_HEADER_RECORDING" : "屏幕录像",
"SECTION_HEADER_TYPESCRIPT" : "打字稿(文本会话录像)",
"SECTION_HEADER_NETWORK" : "网络"
},
"PROTOCOL_VNC" : {
"FIELD_HEADER_AUDIO_SERVERNAME" : "音频服务器名:",
"FIELD_HEADER_CLIPBOARD_ENCODING" : "编码:",
"FIELD_HEADER_COLOR_DEPTH" : "色彩深度:",
"FIELD_HEADER_CREATE_RECORDING_PATH" : "自动建立录像目录:",
"FIELD_HEADER_CURSOR" : "光标:",
"FIELD_HEADER_DEST_HOST" : "目标主机:",
"FIELD_HEADER_DEST_PORT" : "目标端口:",
"FIELD_HEADER_ENABLE_AUDIO" : "启用音频:",
"FIELD_HEADER_ENABLE_SFTP" : "启用SFTP:",
"FIELD_HEADER_HOSTNAME" : "主机名:",
"FIELD_HEADER_USERNAME" : "用户名:",
"FIELD_HEADER_PASSWORD" : "密码:",
"FIELD_HEADER_PORT" : "端口:",
"FIELD_HEADER_READ_ONLY" : "只读:",
"FIELD_HEADER_RECORDING_EXCLUDE_MOUSE" : "排除鼠标:",
"FIELD_HEADER_RECORDING_EXCLUDE_OUTPUT" : "排除图像/数据流:",
"FIELD_HEADER_RECORDING_INCLUDE_KEYS" : "包含按键事件:",
"FIELD_HEADER_RECORDING_NAME" : "录像名:",
"FIELD_HEADER_RECORDING_PATH" : "录像路径:",
"FIELD_HEADER_SFTP_DIRECTORY" : "缺省文件上传目录:",
"FIELD_HEADER_SFTP_HOSTNAME" : "主机名:",
"FIELD_HEADER_SFTP_SERVER_ALIVE_INTERVAL" : "SFTP keepalive时间间隔:",
"FIELD_HEADER_SFTP_PASSPHRASE" : "口令:",
"FIELD_HEADER_SFTP_PASSWORD" : "密码:",
"FIELD_HEADER_SFTP_PORT" : "端口:",
"FIELD_HEADER_SFTP_PRIVATE_KEY" : "私钥:",
"FIELD_HEADER_SFTP_ROOT_DIRECTORY" : "文件浏览器根目录:",
"FIELD_HEADER_SFTP_USERNAME" : "用户名:",
"FIELD_HEADER_SWAP_RED_BLUE" : "交换红/蓝成分:",
"FIELD_OPTION_COLOR_DEPTH_8" : "256色",
"FIELD_OPTION_COLOR_DEPTH_16" : "低色(16位)",
"FIELD_OPTION_COLOR_DEPTH_24" : "真彩(24位)",
"FIELD_OPTION_COLOR_DEPTH_32" : "真彩(32位)",
"FIELD_OPTION_COLOR_DEPTH_EMPTY" : "",
"FIELD_OPTION_CURSOR_EMPTY" : "",
"FIELD_OPTION_CURSOR_LOCAL" : "本地",
"FIELD_OPTION_CURSOR_REMOTE" : "远程",
"FIELD_OPTION_CLIPBOARD_ENCODING_CP1252" : "CP1252",
"FIELD_OPTION_CLIPBOARD_ENCODING_EMPTY" : "",
"FIELD_OPTION_CLIPBOARD_ENCODING_ISO8859_1" : "ISO 8859-1",
"FIELD_OPTION_CLIPBOARD_ENCODING_UTF_8" : "UTF-8",
"FIELD_OPTION_CLIPBOARD_ENCODING_UTF_16" : "UTF-16",
"NAME" : "VNC",
"SECTION_HEADER_AUDIO" : "音频",
"SECTION_HEADER_AUTHENTICATION" : "认证",
"SECTION_HEADER_CLIPBOARD" : "剪贴板",
"SECTION_HEADER_DISPLAY" : "显示",
"SECTION_HEADER_NETWORK" : "网络",
"SECTION_HEADER_RECORDING" : "屏幕录像",
"SECTION_HEADER_REPEATER" : "VNC中继",
"SECTION_HEADER_SFTP" : "SFTP"
},
"SETTINGS" : {
"SECTION_HEADER_SETTINGS" : "设置"
},
"SETTINGS_CONNECTION_HISTORY" : {
"ACTION_DOWNLOAD" : "@:APP.ACTION_DOWNLOAD",
"ACTION_SEARCH" : "@:APP.ACTION_SEARCH",
"FIELD_PLACEHOLDER_FILTER" : "@:APP.FIELD_PLACEHOLDER_FILTER",
"FILENAME_HISTORY_CSV" : "历史.csv",
"FORMAT_DATE" : "@:APP.FORMAT_DATE_TIME_PRECISE",
"HELP_CONNECTION_HISTORY" : "下表中是过往的连接历史,可以点击列头来进行排序。如需搜索特定的记录,输入一个过滤字符串并点击”搜索“。列表中将只显示符合过滤条件的记录。",
"INFO_CONNECTION_DURATION_UNKNOWN" : "--",
"INFO_NO_HISTORY" : "无符合条件的记录",
"TABLE_HEADER_SESSION_CONNECTION_NAME" : "连接名",
"TABLE_HEADER_SESSION_DURATION" : "持续时间",
"TABLE_HEADER_SESSION_REMOTEHOST" : "远程主机",
"TABLE_HEADER_SESSION_STARTDATE" : "起始时间",
"TABLE_HEADER_SESSION_USERNAME" : "用户名",
"TEXT_HISTORY_DURATION" : "@:APP.TEXT_HISTORY_DURATION"
},
"SETTINGS_CONNECTIONS" : {
"ACTION_ACKNOWLEDGE" : "@:APP.ACTION_ACKNOWLEDGE",
"ACTION_NEW_CONNECTION" : "新建连接",
"ACTION_NEW_CONNECTION_GROUP" : "新建连接组",
"ACTION_NEW_SHARING_PROFILE" : "新建共享设定",
"DIALOG_HEADER_ERROR" : "@:APP.DIALOG_HEADER_ERROR",
"FIELD_PLACEHOLDER_FILTER" : "@:APP.FIELD_PLACEHOLDER_FILTER",
"HELP_CONNECTIONS" : "点击下列连接,以管理该连接。基于您的权限,可以新建和删除连接,或修改连接的属性(如协议、主机名、端口等)。",
"INFO_ACTIVE_USER_COUNT" : "@:APP.INFO_ACTIVE_USER_COUNT",
"SECTION_HEADER_CONNECTIONS" : "连接"
},
"SETTINGS_PREFERENCES" : {
"ACTION_ACKNOWLEDGE" : "@:APP.ACTION_ACKNOWLEDGE",
"ACTION_CANCEL" : "@:APP.ACTION_CANCEL",
"ACTION_UPDATE_PASSWORD" : "@:APP.ACTION_UPDATE_PASSWORD",
"DIALOG_HEADER_ERROR" : "@:APP.DIALOG_HEADER_ERROR",
"ERROR_PASSWORD_BLANK" : "@:APP.ERROR_PASSWORD_BLANK",
"ERROR_PASSWORD_MISMATCH" : "@:APP.ERROR_PASSWORD_MISMATCH",
"FIELD_HEADER_LANGUAGE" : "界面语言:",
"FIELD_HEADER_PASSWORD" : "密码:",
"FIELD_HEADER_PASSWORD_OLD" : "当前密码:",
"FIELD_HEADER_PASSWORD_NEW" : "新密码:",
"FIELD_HEADER_PASSWORD_NEW_AGAIN" : "确认新密码:",
"FIELD_HEADER_USERNAME" : "用户名:",
"HELP_DEFAULT_INPUT_METHOD" : "缺省输入法决定了Guacamole如何接收键盘事件。当使用移动设备或使用IME输入时,有可能需要更改设置。本设置可在Guacamole菜单内被单个连接的设定覆盖。",
"HELP_DEFAULT_MOUSE_MODE" : "缺省鼠标模拟方式决定了新连接内的远程鼠标如何响应屏幕触控。本设置可在Guacamole菜单内被单个连接的设定覆盖。",
"HELP_INPUT_METHOD_NONE" : "@:CLIENT.HELP_INPUT_METHOD_NONE",
"HELP_INPUT_METHOD_OSK" : "@:CLIENT.HELP_INPUT_METHOD_OSK",
"HELP_INPUT_METHOD_TEXT" : "@:CLIENT.HELP_INPUT_METHOD_TEXT",
"HELP_LANGUAGE" : "在下方列表中选择Guacamole界面所使用的语言。可选用的语言决定于系统安装了什么语言。",
"HELP_MOUSE_MODE_ABSOLUTE" : "@:CLIENT.HELP_MOUSE_MODE_ABSOLUTE",
"HELP_MOUSE_MODE_RELATIVE" : "@:CLIENT.HELP_MOUSE_MODE_RELATIVE",
"HELP_UPDATE_PASSWORD" : "如需改变密码,请在下面输入您的当前密码与希望使用的新密码,并点击“更新密码” 。密码的改动会立即生效。",
"INFO_PASSWORD_CHANGED" : "密码已更改。",
"NAME_INPUT_METHOD_NONE" : "@:CLIENT.NAME_INPUT_METHOD_NONE",
"NAME_INPUT_METHOD_OSK" : "@:CLIENT.NAME_INPUT_METHOD_OSK",
"NAME_INPUT_METHOD_TEXT" : "@:CLIENT.NAME_INPUT_METHOD_TEXT",
"SECTION_HEADER_DEFAULT_INPUT_METHOD" : "缺省输入法",
"SECTION_HEADER_DEFAULT_MOUSE_MODE" : "缺省鼠标模拟方式",
"SECTION_HEADER_UPDATE_PASSWORD" : "更改密码"
},
"SETTINGS_USERS" : {
"ACTION_ACKNOWLEDGE" : "@:APP.ACTION_ACKNOWLEDGE",
"ACTION_NEW_USER" : "新用户",
"DIALOG_HEADER_ERROR" : "@:APP.DIALOG_HEADER_ERROR",
"FIELD_PLACEHOLDER_FILTER" : "@:APP.FIELD_PLACEHOLDER_FILTER",
"FORMAT_DATE" : "@:APP.FORMAT_DATE_TIME_PRECISE",
"HELP_USERS" : "点击下面的用户以管理该用户。基于您的权限,可以新增和删除用户,也可以更改他们的密码。",
"SECTION_HEADER_USERS" : "用户",
"TABLE_HEADER_FULL_NAME" : "全名",
"TABLE_HEADER_LAST_ACTIVE" : "最近活动",
"TABLE_HEADER_ORGANIZATION" : "组织",
"TABLE_HEADER_USERNAME" : "用户名"
},
"SETTINGS_SESSIONS" : {
"ACTION_ACKNOWLEDGE" : "@:APP.ACTION_ACKNOWLEDGE",
"ACTION_CANCEL" : "@:APP.ACTION_CANCEL",
"ACTION_DELETE" : "终止会话",
"DIALOG_HEADER_CONFIRM_DELETE" : "终止会话",
"DIALOG_HEADER_ERROR" : "@:APP.DIALOG_HEADER_ERROR",
"FIELD_PLACEHOLDER_FILTER" : "@:APP.FIELD_PLACEHOLDER_FILTER",
"FORMAT_STARTDATE" : "@:APP.FORMAT_DATE_TIME_PRECISE",
"HELP_SESSIONS" : "该页面将填充当前活动的连接。 列出的连接和终止连接的能力取决于您的访问级别。如需终止一个或多个会话,勾选目标会话并点击“终止会话”。终止会话会立即断开对应用户的连接。",
"INFO_NO_SESSIONS" : "无活动会话",
"SECTION_HEADER_SESSIONS" : "活动会话",
"TABLE_HEADER_SESSION_CONNECTION_NAME" : "连接名",
"TABLE_HEADER_SESSION_REMOTEHOST" : "远程主机",
"TABLE_HEADER_SESSION_STARTDATE" : "开始时间",
"TABLE_HEADER_SESSION_USERNAME" : "用户名",
"TEXT_CONFIRM_DELETE" : "确定要终止所选定的会话?对应的用户会被立即断开连接。"
},
"USER_ATTRIBUTES" : {
"FIELD_HEADER_GUAC_EMAIL_ADDRESS" : "电邮地址:",
"FIELD_HEADER_GUAC_FULL_NAME" : "全名:",
"FIELD_HEADER_GUAC_ORGANIZATION" : "组织:",
"FIELD_HEADER_GUAC_ORGANIZATIONAL_ROLE" : "职位:"
},
"USER_MENU" : {
"ACTION_LOGOUT" : "@:APP.ACTION_LOGOUT",
"ACTION_MANAGE_CONNECTIONS" : "@:APP.ACTION_MANAGE_CONNECTIONS",
"ACTION_MANAGE_PREFERENCES" : "@:APP.ACTION_MANAGE_PREFERENCES",
"ACTION_MANAGE_SESSIONS" : "@:APP.ACTION_MANAGE_SESSIONS",
"ACTION_MANAGE_SETTINGS" : "@:APP.ACTION_MANAGE_SETTINGS",
"ACTION_MANAGE_USERS" : "@:APP.ACTION_MANAGE_USERS",
"ACTION_NAVIGATE_HOME" : "@:APP.ACTION_NAVIGATE_HOME",
"ACTION_VIEW_HISTORY" : "@:APP.ACTION_VIEW_HISTORY"
}
}
| {
"pile_set_name": "Github"
} |
/**
* Copyright 2010 - 2020 JetBrains s.r.o.
*
* 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 jetbrains.exodus.entitystore
import jetbrains.exodus.core.dataStructures.hash.HashMap
import jetbrains.exodus.core.dataStructures.hash.HashSet
import jetbrains.exodus.core.dataStructures.hash.IntHashMap
import jetbrains.exodus.core.dataStructures.hash.ObjectProcedure
import jetbrains.exodus.core.dataStructures.persistent.EvictListener
import jetbrains.exodus.entitystore.PersistentStoreTransaction.HandleCheckerAdapter
import jetbrains.exodus.entitystore.iterate.CachedInstanceIterable
import jetbrains.exodus.entitystore.iterate.EntityIterableBase
import java.util.*
internal class EntityIterableCacheAdapterMutable private constructor(config: PersistentEntityStoreConfig,
private val handlesDistribution: HandlesDistribution,
stickyObjects: HashMap<EntityIterableHandle, Updatable>) : EntityIterableCacheAdapter(config, handlesDistribution.cache, stickyObjects) {
fun endWrite(): EntityIterableCacheAdapter {
return EntityIterableCacheAdapter(config, cache.endWrite(), stickyObjects)
}
fun update(checker: HandleCheckerAdapter) {
val procedure: ObjectProcedure<EntityIterableHandle> = ObjectProcedure {
if (checker.checkHandle(it)) {
remove(it)
}
true
}
when {
checker.linkId >= 0 -> {
handlesDistribution.byLink.forEachHandle(checker.linkId, procedure)
}
checker.propertyId >= 0 -> {
handlesDistribution.byProp.forEachHandle(checker.propertyId, procedure)
}
checker.typeIdAffectingCreation >= 0 -> {
handlesDistribution.byTypeIdAffectingCreation.forEachHandle(checker.typeIdAffectingCreation, procedure)
}
checker.typeId >= 0 -> {
handlesDistribution.byTypeId.forEachHandle(checker.typeId, procedure)
handlesDistribution.byTypeId.forEachHandle(EntityIterableBase.NULL_TYPE_ID, procedure)
}
else -> {
forEachKey(procedure)
}
}
for (handle in stickyObjects.keys) {
checker.checkHandle(handle)
}
}
override fun cacheObject(key: EntityIterableHandle, it: CachedInstanceIterable) {
super.cacheObject(key, it)
handlesDistribution.addHandle(key)
}
fun registerStickyObject(handle: EntityIterableHandle, updatable: Updatable) {
stickyObjects[handle] = updatable
}
override fun remove(key: EntityIterableHandle) {
check(!key.isSticky) { "Cannot remove sticky object" }
super.remove(key)
handlesDistribution.removeHandle(key)
}
override fun clear() {
super.clear()
handlesDistribution.clear()
}
fun cacheObjectNotAffectingHandleDistribution(handle: EntityIterableHandle, it: CachedInstanceIterable) {
super.cacheObject(handle, it)
}
private class HandlesDistribution(cache: NonAdjustablePersistentObjectCache<EntityIterableHandle, CacheItem>) : EvictListener<EntityIterableHandle, CacheItem> {
val cache: NonAdjustablePersistentObjectCache<EntityIterableHandle, CacheItem>
val removed: MutableSet<EntityIterableHandle>
val byLink: FieldIdGroupedHandles
val byProp: FieldIdGroupedHandles
val byTypeId: FieldIdGroupedHandles
val byTypeIdAffectingCreation: FieldIdGroupedHandles
init {
this.cache = cache.getClone(this)
val count = cache.count()
// this set is intentionally created quite disperse in order to reduce number of calls
// to EntityIterableHandle.equals() during iteration of handle clusters
removed = HashSet(10, .33f)
byLink = FieldIdGroupedHandles(count / 16, removed)
byProp = FieldIdGroupedHandles(count / 16, removed)
byTypeId = FieldIdGroupedHandles(count / 16, removed)
byTypeIdAffectingCreation = FieldIdGroupedHandles(count / 16, removed)
cache.forEachEntry { handle, value ->
val iterable = getCachedValue(value)
if (iterable != null) {
addHandle(handle)
}
true
}
}
override fun onEvict(key: EntityIterableHandle, value: CacheItem) {
removeHandle(key)
}
fun removeHandle(handle: EntityIterableHandle) = removed.add(handle)
fun addHandle(handle: EntityIterableHandle) {
if (removed.isNotEmpty()) {
removed.remove(handle)
}
byLink.add(handle, handle.linkIds)
byProp.add(handle, handle.propertyIds)
byTypeId.add(handle, handle.entityTypeId)
byTypeIdAffectingCreation.add(handle, handle.typeIdsAffectingCreation)
}
fun clear() {
removed.clear()
byLink.clear()
byProp.clear()
byTypeId.clear()
byTypeIdAffectingCreation.clear()
}
}
private class FieldIdGroupedHandles(capacity: Int,
private val removed: Set<EntityIterableHandle>) : IntHashMap<MutableList<EntityIterableHandle>>(capacity) {
// it is allowed to add EntityIterableBase.NULL_TYPE_ID
fun add(handle: EntityIterableHandle, fieldId: Int) {
val handles = get(fieldId) ?: ArrayList<EntityIterableHandle>(4).also { put(fieldId, it) }
handles.add(handle)
}
fun add(handle: EntityIterableHandle, fieldIds: IntArray) {
for (fieldId in fieldIds) {
if (fieldId >= 0) {
add(handle, fieldId)
}
}
}
fun forEachHandle(fieldId: Int, procedure: ObjectProcedure<EntityIterableHandle>) {
get(fieldId)?.let { handles ->
if (removed.isEmpty()) {
for (handle in handles) {
procedure.execute(handle)
}
} else {
for (handle in handles) {
if (!removed.contains(handle)) {
procedure.execute(handle)
}
}
}
}
}
}
companion object {
fun create(source: EntityIterableCacheAdapter): EntityIterableCacheAdapterMutable {
val handlesDistribution = HandlesDistribution(source.cache)
return EntityIterableCacheAdapterMutable(source.config, handlesDistribution, HashMap(source.stickyObjects))
}
}
}
| {
"pile_set_name": "Github"
} |
/*
* This file is part of WebLookAndFeel library.
*
* WebLookAndFeel library is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* WebLookAndFeel library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with WebLookAndFeel library. If not, see <http://www.gnu.org/licenses/>.
*/
package com.alee.laf.label;
import com.alee.api.annotations.NotNull;
import com.alee.api.annotations.Nullable;
import com.alee.painter.decoration.IDecoration;
import com.alee.painter.decoration.content.AbstractIconContent;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import javax.swing.*;
/**
* Label icon content implementation.
* It provides appropriate {@link JLabel} state icon.
*
* @param <C> component type
* @param <D> decoration type
* @param <I> content type
* @author Alexandr Zernov
*/
@XStreamAlias ( "LabelIcon" )
public class LabelIcon<C extends JLabel, D extends IDecoration<C, D>, I extends LabelIcon<C, D, I>>
extends AbstractIconContent<C, D, I>
{
@Nullable
@Override
protected Icon getIcon ( @NotNull final C c, @NotNull final D d )
{
return c.isEnabled () ? c.getIcon () : c.getDisabledIcon ();
}
} | {
"pile_set_name": "Github"
} |
/*=========================================================================
*
* Copyright NumFOCUS
*
* 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.txt
*
* 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.
*
*=========================================================================*/
#include "itkLBFGSBOptimizerv4.h"
namespace itk
{
/**
*\class LBFGSBOptimizerHelperv4
* \brief Wrapper helper around vnl_lbfgsb.
*
* This class is used to translate iteration events, etc, from
* vnl_lbfgsb into iteration events in ITK.
*/
class ITKOptimizersv4_EXPORT LBFGSBOptimizerHelperv4 : public LBFGSOptimizerBaseHelperv4<vnl_lbfgsb>
{
public:
using Self = LBFGSBOptimizerHelperv4;
using Superclass = LBFGSOptimizerBaseHelperv4<vnl_lbfgsb>;
/** Create with a reference to the ITK object */
LBFGSBOptimizerHelperv4(vnl_cost_function & f, LBFGSBOptimizerv4 * const itkObj);
protected:
/** Handle new iteration event */
bool
report_iter() override;
};
/** Create with a reference to the ITK object */
LBFGSBOptimizerHelperv4 ::LBFGSBOptimizerHelperv4(vnl_cost_function & f, LBFGSBOptimizerv4 * const itkObj)
: Superclass::LBFGSOptimizerBaseHelperv4(f, itkObj)
{}
/** Handle new iteration event */
bool
LBFGSBOptimizerHelperv4 ::report_iter()
{
const bool ret = Superclass::report_iter();
m_ItkObj->m_InfinityNormOfProjectedGradient = this->get_inf_norm_projected_gradient();
return ret;
}
//-------------------------------------------------------------------------
LBFGSBOptimizerv4 ::LBFGSBOptimizerv4()
: m_InitialPosition(0)
, m_LowerBound(0)
, m_UpperBound(0)
, m_BoundSelection(0)
{}
LBFGSBOptimizerv4 ::~LBFGSBOptimizerv4() = default;
void
LBFGSBOptimizerv4 ::PrintSelf(std::ostream & os, Indent indent) const
{
Superclass::PrintSelf(os, indent);
os << indent << "InitialPosition: " << m_InitialPosition << std::endl;
os << indent << "CurrentPosition: " << this->GetCurrentPosition() << std::endl;
os << indent << "LowerBound: " << m_LowerBound << std::endl;
os << indent << "UpperBound: " << m_UpperBound << std::endl;
os << indent << "BoundSelection: " << m_BoundSelection << std::endl;
os << indent << "CostFunctionConvergenceFactor: " << m_CostFunctionConvergenceFactor << std::endl;
os << indent << "MaximumNumberOfEvaluations: " << m_MaximumNumberOfFunctionEvaluations << std::endl;
os << indent << "MaximumNumberOfCorrections: " << m_MaximumNumberOfCorrections << std::endl;
os << indent << "Value: " << this->GetValue() << std::endl;
os << indent << "InfinityNormOfProjectedGradient: " << this->m_InfinityNormOfProjectedGradient << std::endl;
if (this->m_VnlOptimizer)
{
os << indent << "Vnl LBFGSB Failure Code: " << this->m_VnlOptimizer->get_failure_code() << std::endl;
}
}
void
LBFGSBOptimizerv4 ::SetScales(const ScalesType &)
{
itkWarningMacro(<< "LBFGSB optimizer does not support scaling. All scales are set to one.");
m_Scales.SetSize(this->m_Metric->GetNumberOfLocalParameters());
m_Scales.Fill(NumericTraits<ScalesType::ValueType>::OneValue());
this->m_ScalesAreIdentity = true;
}
void
LBFGSBOptimizerv4 ::SetInitialPosition(const ParametersType & param)
{
m_InitialPosition = param;
this->Modified();
}
void
LBFGSBOptimizerv4 ::SetLowerBound(const BoundValueType & value)
{
this->m_LowerBound = value;
if (m_OptimizerInitialized)
{
m_VnlOptimizer->set_lower_bound(m_LowerBound);
}
this->Modified();
}
void
LBFGSBOptimizerv4 ::SetUpperBound(const BoundValueType & value)
{
this->m_UpperBound = value;
if (m_OptimizerInitialized)
{
m_VnlOptimizer->set_upper_bound(m_UpperBound);
}
this->Modified();
}
void
LBFGSBOptimizerv4 ::SetBoundSelection(const BoundSelectionType & value)
{
m_BoundSelection = value;
if (m_OptimizerInitialized)
{
m_VnlOptimizer->set_bound_selection(m_BoundSelection);
}
this->Modified();
}
void
LBFGSBOptimizerv4 ::SetCostFunctionConvergenceFactor(double value)
{
if (value < 0.0)
{
itkExceptionMacro("Value " << value << " is too small for SetCostFunctionConvergenceFactor()"
<< "a typical range would be from 0.0 to 1e+12");
}
m_CostFunctionConvergenceFactor = value;
if (m_OptimizerInitialized)
{
m_VnlOptimizer->set_cost_function_convergence_factor(m_CostFunctionConvergenceFactor);
}
this->Modified();
}
void
LBFGSBOptimizerv4 ::SetMaximumNumberOfCorrections(unsigned int value)
{
m_MaximumNumberOfCorrections = value;
if (m_OptimizerInitialized)
{
m_VnlOptimizer->set_max_variable_metric_corrections(m_MaximumNumberOfCorrections);
}
this->Modified();
}
void
LBFGSBOptimizerv4 ::SetMetric(MetricType * metric)
{
Superclass::SetMetric(metric);
CostFunctionAdaptorType * adaptor = this->GetCostFunctionAdaptor();
m_VnlOptimizer.reset(new InternalOptimizerType(*adaptor, this));
// set the optimizer parameters
m_VnlOptimizer->set_trace(m_Trace);
m_VnlOptimizer->set_lower_bound(m_LowerBound);
m_VnlOptimizer->set_upper_bound(m_UpperBound);
m_VnlOptimizer->set_bound_selection(m_BoundSelection);
m_VnlOptimizer->set_cost_function_convergence_factor(m_CostFunctionConvergenceFactor);
m_VnlOptimizer->set_projected_gradient_tolerance(m_GradientConvergenceTolerance);
m_VnlOptimizer->set_max_function_evals(static_cast<int>(m_MaximumNumberOfFunctionEvaluations));
m_VnlOptimizer->set_max_variable_metric_corrections(m_MaximumNumberOfCorrections);
m_OptimizerInitialized = true;
this->Modified();
}
void
LBFGSBOptimizerv4 ::StartOptimization(bool /*doOnlyInitialization*/)
{
// Perform some verification, check scales,
// pass settings to cost-function adaptor.
Superclass::StartOptimization();
// Check if all the bounds parameters are the same size as the initial
// parameters.
unsigned int numberOfParameters = m_Metric->GetNumberOfParameters();
if (this->GetInitialPosition().Size() < numberOfParameters)
{
this->SetInitialPosition(m_Metric->GetParameters());
}
if (m_LowerBound.size() < numberOfParameters && !m_BoundSelection.is_zero())
{
itkExceptionMacro(<< "LowerBound array does not have sufficient number of elements");
}
if (m_UpperBound.size() < numberOfParameters && !m_BoundSelection.is_zero())
{
itkExceptionMacro(<< "UppperBound array does not have sufficient number of elements");
}
if (m_BoundSelection.size() < numberOfParameters)
{
itkExceptionMacro(<< "BoundSelection array does not have sufficient number of elements");
}
if (this->m_CostFunctionConvergenceFactor == 0.0 && this->m_GradientConvergenceTolerance == 0.0)
{
itkExceptionMacro("LBFGSB Optimizer cannot function if both CostFunctionConvergenceFactor"
" and ProjectedGradienctTolerance are zero.");
}
ParametersType parameters(this->GetInitialPosition());
this->InvokeEvent(StartEvent());
// vnl optimizers return the solution by reference
// in the variable provided as initial position
m_VnlOptimizer->minimize(parameters);
if (parameters.GetSize() != this->GetInitialPosition().Size())
{
// set current position to initial position and throw an exception
this->m_Metric->SetParameters(this->GetInitialPosition());
itkExceptionMacro(<< "Error occurred in optimization");
}
this->m_Metric->SetParameters(parameters);
this->InvokeEvent(EndEvent());
}
} // end namespace itk
| {
"pile_set_name": "Github"
} |
Title: Fedora 暑期代码大赛 2010
Date: 2010-04-17 18:48
Author: lovenemesis
Category: News
Tags: Patent
Slug: fedora-summer-coding-2010
由 Red Hat 主导的 Fedora 和 JBoss.org
暑期代码大赛开始,欢迎华语地区的学生以及导师加入进来。利用即将到来的暑期,在为自由开源项目作贡献的同时充实自己。
相信不少人对 Google Summer Code
有些了解,这个是类似的,提供了一个和大型代码库打交道的难得机会,同时也是一个自我学习的过程。
**详细内容请浏览 Fedora 维基:**
[英文](https://fedoraproject.org/wiki/Summer_Coding_2010)
[中文(部分翻译,未完成)](https://fedoraproject.org/wiki/Zh/2010%E6%9A%91%E6%9C%9F%E4%BB%A3%E7%A0%81%E5%A4%A7%E8%B5%9B)
需要帮助的话,可以通过[论坛](http://bbs.fedora-zh.org/)、[邮件列表](https://admin.fedoraproject.org/mailman/listinfo/chinese)或者
[IRC
(#fedora-zh)](http://webchat.freenode.net/?channels=fedora-zh)的方式联系
Fedora 中文贡献者们。
| {
"pile_set_name": "Github"
} |
CompiledMethod traits define: #OpStream &parents: {ReadStream}
&slots: {#codePosition -> 0. #method -> Nil}.
CompiledMethod traits define: #Instruction &slots: {#name. #arguments -> {}}.
"An Instruction just stores the name of the op-code and the arguments for it."
method@(CompiledMethod traits) opReader
[method OpStream newOn: method].
s@(CompiledMethod OpStream traits) on: method@(CompiledMethod traits)
[
s method := method.
s codePosition := 0.
s
].
s@(CompiledMethod OpStream traits) hasAnEnd [True].
s@(CompiledMethod OpStream traits) isAtEnd
[s codePosition >= s method code size].
s@(CompiledMethod OpStream traits) decodeShort
"Get the next two bytes and turn them into a SmallInteger appropriately
and advance the index."
[| n val |
n := s codePosition.
val := (s method code at: n) + ((s method code at: n + 1) << 8).
s codePosition := n + 2.
val > 16r7FFF
ifTrue: [-16r8000 + (val bitAnd: 16r7FFF)]
ifFalse: [val]
].
s@(CompiledMethod OpStream traits) decodeImmediate
"Find the next encoded SmallInteger starting with the trailing 3 bits of the
byte and then any following bytes as encoded, advancing the index."
[| n code val |
n := s codePosition.
code := s method code at: n.
val := code bitAnd: 16r7F.
[code >= 16r80]
whileTrue:
[n += 1.
code := s method code at: n.
val := val << 7 bitOr: (code bitAnd: 16r7F)].
s codePosition := n + 1.
val
].
s@(CompiledMethod OpStream traits) next
"Answer an Instruction object representing the next instruction. Immediate
values are decoded, and literal values are printed as appropriate."
[| op val name extraInfo |
"Get the opcode, increment our index, and get the next immediate value."
op := s method code at: s codePosition.
s codePosition := s codePosition + 1.
(op bitAnd: 16r0F) = 16r0F
ifFalse:
[val := op >> 4.
val = 16rF ifTrue: [val := s decodeImmediate].
op := op bitAnd: 16r0F].
"Find the Instruction's name."
VM ByteCode slotNamesAndValuesDo:
[| :slotName :code | code = op ifTrue: [name := slotName]].
"Set up the Instruction object with the name and all the available arguments."
CompiledMethod Instruction clone `setting: #{#name. #arguments} to:
{name.
(name
caseOf:
{#loadFreeVariable -> [{val. s decodeImmediate}].
#storeFreeVariable -> [{val. s decodeImmediate}].
#loadLiteral -> [{val. s method literals at: val}].
#loadSelector -> [{val. s method selectors at: val}].
#jumpTo -> [{s decodeShort}].
#branchIfTrue -> [{s decodeShort}].
#branchIfFalse -> [{s decodeShort}]}
otherwise:
[val ifNil: [#{}] ifNotNil: [{val}]])}
].
i@(CompiledMethod Instruction traits) disassembleOn: s
"For each opcode, print out the name and then each of the arguments on a line."
[
s ; i name name.
i arguments do: [| :arg | s ; ' ' ; arg printString].
s ; '\n'.
].
i@(CompiledMethod OpStream traits) disassembleOn: s
"Print out each opcode, prefixed by the instruction offset number."
[| offset |
offset := 0.
i do: [| :each |
s ; offset printString ; ': '.
each disassembleOn: s.
offset := i codePosition].
].
m@(CompiledMethod traits) printInstructionAt: pos on: out
[| opcode instr nextStart argOffset |
opcode := m code at: pos.
instr := VM SSACode Instruction ByCode at: opcode
ifAbsent: [error: 'Cannot find instruction at ' ; pos printString ; ' in ' ; m code printString].
out ; (pos printString truncateTo: 5 paddedBy: $\s &onRight: True)
; (opcode printString truncateTo: 3 paddedBy: $\s &onRight: True)
; (instr name truncateTo: 25 paddedBy: $\s &onRight: True)
; '\n'.
nextStart := instr offsettingArgIndices inject: pos + 1 + instr argNames size
into: [| :sum :offset | sum + (m code at: pos + 1 + offset)].
argOffset := 0.
(pos + 1 until: nextStart) do:
[| :codeIndex |
out ; ' ' ; (m code at: codeIndex) printString
; ' ' ; (argOffset < instr argNames size ifTrue: [instr argNames at: argOffset] ifFalse: ['']) ; '\n'.
argOffset += 1].
nextStart
].
m@(CompiledMethod traits) printCondensedInstructionAt: pos on: out
[| opcode instr nextStart argOffset |
opcode := m code at: pos.
instr := VM SSACode Instruction ByCode at: opcode
ifAbsent: [error: 'Cannot find instruction at ' ; pos printString ; ' in ' ; m code printString].
out ; (pos printString truncateTo: 5 paddedBy: $\s &onRight: True)
; (opcode printString truncateTo: 3 paddedBy: $\s &onRight: True)
; instr name
; '*'.
nextStart := instr offsettingArgIndices inject: pos + 1 + instr argNames size
into: [| :sum :offset | sum + (m code at: pos + 1 + offset)].
argOffset := 0.
(pos + 1 until: nextStart) do:
[| :codeIndex |
out ; ', ' ; (m code at: codeIndex) printString.
argOffset < instr argNames size ifTrue: [out ; ' ' ; (instr argNames at: argOffset)].
argOffset += 1].
out ; '\n'.
nextStart
].
m@(CompiledMethod traits) printInstructionsOn: out &condensed
[| pos |
condensed `defaultsTo: False.
out ; 'IP ' ; 'OP ' ; 'Instruction' ; '\n'.
pos := 0.
[pos < m code size] whileTrue:
[pos := condensed
ifTrue: [m printCondensedInstructionAt: pos on: out]
ifFalse: [m printInstructionAt: pos on: out]].
].
m@(CompiledMethod traits) disassemble &output: s &condensed
"Print out method meta-data and then the instruction stream."
[
s `defaultsTo: Console writer.
s writer
; 'name: ' ; (m selector ifNil: ['(anonymous)'] ifNotNil: [m selector name printString]) ; '\n'
; '#inputs: ' ; m inputVariables printString ; '\n'
; '#locals: ' ; m localVariables printString ; '\n'
; 'allocation: ' ; (m heapAllocate ifTrue: ['heap'] ifFalse: ['stack']) ; '\n'
; 'rest parameter: ' ; m restVariable printString ; '\n'
; 'optional keywords: ' ; (m optionalKeywords isEmpty
ifTrue: ['(none)'] ifFalse: [m optionalKeywords join &separator: ' ']) ; '\n'.
m printInstructionsOn: s &condensed: condensed.
].
closure@(Closure traits) disassemble &output: s &condensed
"Skip Closure objects and print their internal methods instead."
[closure method disassemble &output: s &condensed: condensed].
| {
"pile_set_name": "Github"
} |
<?php
/**
* Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
* CC-BY License - http://creativecommons.org/licenses/by/3.0/
*/
class BxDevUpdater extends BxDolStudioUpdater
{
function __construct($aConfig)
{
parent::__construct($aConfig);
}
}
| {
"pile_set_name": "Github"
} |
// Copyright 2010-2012 RethinkDB, all rights reserved.
/*
--------------------
Visualization styles
--------------------
*/
#database-view .ops-plot, #table-view .ops-plot, #datacenter-view .ops-plot, #server-view .ops-plot {
/* GPU acceleration */
-webkit-transform : translateZ(0);
-o-transform : translateZ(0);
-moz-transform : translateZ(0);
transform : translateZ(0);
/* For Safari */
-webkit-perspective: 1000;
-webkit-backface-visibility: hidden;
@plot_height: 220px;
.ops-plot-legend {
float: right;
color: #a3a3a3;
font: 15px @serif;
text-align: right;
.element {
display: inline-block;
vertical-align: top;
margin-left: 40px;
p {
margin: 0;
margin-left: 23px;
line-height: 15px;
}
}
.reads .color { background-color: #729E51; }
.writes .color { background-color: #983434; }
/* concentric circles for legend element */
.color {
@radius: 4px;
width: @radius*2;
height: @radius*2;
.border-radius(@radius);
margin: 2px;
}
.outer-circle {
@radius: 6px;
width: @radius*2;
height: @radius*2;
.border-radius(@radius);
border: thin solid #CCC;
float: left;
}
}
.plot-container {
/* REMOVED */
}
.plot {
position: relative;
.chart {
border: none;
z-index: 999;
position: relative;
overflow: hidden;
display: inline-block;
.title { display: none; }
.value { display: none; }
canvas { display: block; }
}
// make room for the vaxis on the left
.chart, .haxis, .hgrid, .line { margin-left: 34px; }
// common styles
.haxis, .vaxis, .hgrid, .vgrid {
// NOTE: because the plot is laid out poorly,
// this font size matter a lot. It will define
// how aligned the vaxis labels are with the
// vaxis grid. Adjust according to the font
// being used. Ugly hack!
font: 7px @sans;
line {
stroke: #dcdcdc;
shape-rendering: crispEdges;
}
opacity: 1;
line { opacity: 1; }
}
// labels on the axes
.vaxis text, .haxis text {
font: 13px @sans;
fill: #A3A3A3;
-webkit-transition: fill-opacity 250ms linear;
}
// vaxis and vgrid
.vaxis {
margin-top: -1 * (@plot_height + 26px);
.tick { display: none; }
}
.vgrid {
position: absolute;
top: 0;
left: 0px;
}
// haxis and hgrid
.haxis { margin-top: -9px; }
.hgrid {
display: none;
height: @plot_height;
position: absolute;
top: -3px;
left: 0;
}
.line {
background: #000;
opacity: .2;
z-index: 2;
}
}
}
| {
"pile_set_name": "Github"
} |
package com.twilio.guardrail.sbt
class ExampleCase(val file: java.io.File, val prefix: String, val cliArgs: List[String], val frameworks: Option[Set[(String, Set[String])]]) {
def args(cliArgs: String*): ExampleCase = new ExampleCase(file, prefix, cliArgs=cliArgs.toList, frameworks = frameworks)
def frameworks(frameworks: (String, Set[String])*): ExampleCase = new ExampleCase(file, prefix, cliArgs, Some(frameworks.toSet))
}
object ExampleCase {
def apply(file: java.io.File, prefix: String): ExampleCase = new ExampleCase(file, prefix, List.empty, None)
def unapply(value: ExampleCase): Option[(java.io.File, String, List[String], Option[Set[(String, Set[String])]])] = Option((value.file, value.prefix, value.cliArgs, value.frameworks))
}
| {
"pile_set_name": "Github"
} |
<?php
namespace Symfony\Component\HttpKernel\Tests\Exception;
use Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException;
class UnauthorizedHttpExceptionTest extends HttpExceptionTest
{
public function testHeadersDefault()
{
$exception = new UnauthorizedHttpException('Challenge');
$this->assertSame(array('WWW-Authenticate' => 'Challenge'), $exception->getHeaders());
}
/**
* @dataProvider headerDataProvider
*/
public function testHeadersSetter($headers)
{
$exception = new UnauthorizedHttpException('Challenge');
$exception->setHeaders($headers);
$this->assertSame($headers, $exception->getHeaders());
}
}
| {
"pile_set_name": "Github"
} |
/*
Copyright 2018 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by lister-gen. DO NOT EDIT.
package v1
import (
"k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/client-go/tools/cache"
v1 "k8s.io/kube-aggregator/pkg/apis/apiregistration/v1"
)
// APIServiceLister helps list APIServices.
type APIServiceLister interface {
// List lists all APIServices in the indexer.
List(selector labels.Selector) (ret []*v1.APIService, err error)
// Get retrieves the APIService from the index for a given name.
Get(name string) (*v1.APIService, error)
APIServiceListerExpansion
}
// aPIServiceLister implements the APIServiceLister interface.
type aPIServiceLister struct {
indexer cache.Indexer
}
// NewAPIServiceLister returns a new APIServiceLister.
func NewAPIServiceLister(indexer cache.Indexer) APIServiceLister {
return &aPIServiceLister{indexer: indexer}
}
// List lists all APIServices in the indexer.
func (s *aPIServiceLister) List(selector labels.Selector) (ret []*v1.APIService, err error) {
err = cache.ListAll(s.indexer, selector, func(m interface{}) {
ret = append(ret, m.(*v1.APIService))
})
return ret, err
}
// Get retrieves the APIService from the index for a given name.
func (s *aPIServiceLister) Get(name string) (*v1.APIService, error) {
obj, exists, err := s.indexer.GetByKey(name)
if err != nil {
return nil, err
}
if !exists {
return nil, errors.NewNotFound(v1.Resource("apiservice"), name)
}
return obj.(*v1.APIService), nil
}
| {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML>
<html>
<body style="text-shadow: 5px 5px 1.5px red;">
edcba
</body>
</html>
| {
"pile_set_name": "Github"
} |
import hashlib
from typing import (
List,
)
from urllib import (
parse,
)
from eth_utils import (
is_checksum_address,
to_bytes,
to_int,
to_text,
)
from ethpm._utils.chains import (
is_supported_chain_id,
)
from ethpm._utils.ipfs import (
is_ipfs_uri,
)
from ethpm._utils.registry import (
is_ens_domain,
)
from ethpm.constants import (
REGISTRY_URI_SCHEMES,
)
from ethpm.exceptions import (
EthPMValidationError,
)
from ethpm.validation.misc import (
validate_escaped_string,
)
from ethpm.validation.package import (
validate_package_name,
)
from web3 import Web3
def validate_ipfs_uri(uri: str) -> None:
"""
Raise an exception if the provided URI is not a valid IPFS URI.
"""
if not is_ipfs_uri(uri):
raise EthPMValidationError(f"URI: {uri} is not a valid IPFS URI.")
def validate_registry_uri(uri: str) -> None:
"""
Raise an exception if the URI does not conform to the registry URI scheme.
"""
parsed = parse.urlparse(uri)
scheme, authority, pkg_path = (
parsed.scheme,
parsed.netloc,
parsed.path,
)
pkg_id = pkg_path.strip("/")
if "@" in pkg_id:
if len(pkg_id.split("@")) != 2:
raise EthPMValidationError("Registry URI: {pkg_id} is not properly escaped")
pkg_name, pkg_version = pkg_id.split("@")
else:
pkg_name, pkg_version = (pkg_id, None)
validate_registry_uri_scheme(scheme)
validate_registry_uri_authority(authority)
if pkg_name:
validate_package_name(pkg_name)
if not pkg_name and pkg_version:
raise EthPMValidationError("Registry URIs cannot provide a version without a package name.")
if pkg_version:
validate_escaped_string(pkg_version)
def validate_registry_uri_authority(auth: str) -> None:
"""
Raise an exception if the authority is not a valid ENS domain
or a valid checksummed contract address.
"""
if ":" in auth:
if len(auth.split(":")) != 2:
raise EthPMValidationError(
f"{auth} is not a valid registry URI authority. "
"Please try again with a valid registry URI."
)
address, chain_id = auth.split(':')
else:
address, chain_id = auth, '1'
if is_ens_domain(address) is False and not is_checksum_address(address):
raise EthPMValidationError(
f"{address} is not a valid registry address. "
"Please try again with a valid registry URI."
)
if not is_supported_chain_id(to_int(text=chain_id)):
raise EthPMValidationError(
f"Chain ID: {chain_id} is not supported. Supported chain ids include: "
"1 (mainnet), 3 (ropsten), 4 (rinkeby), 5 (goerli) and 42 (kovan). "
"Please try again with a valid registry URI."
)
def validate_registry_uri_scheme(scheme: str) -> None:
"""
Raise an exception if the scheme is not a valid registry URI scheme:
- 'erc1319'
- 'ethpm'
"""
if scheme not in REGISTRY_URI_SCHEMES:
raise EthPMValidationError(
f"{scheme} is not a valid registry URI scheme. "
f"Valid schemes include: {REGISTRY_URI_SCHEMES}"
)
def validate_single_matching_uri(all_blockchain_uris: List[str], w3: Web3) -> str:
"""
Return a single block URI after validating that it is the *only* URI in
all_blockchain_uris that matches the w3 instance.
"""
from ethpm.uri import check_if_chain_matches_chain_uri
matching_uris = [
uri for uri in all_blockchain_uris if check_if_chain_matches_chain_uri(w3, uri)
]
if not matching_uris:
raise EthPMValidationError("Package has no matching URIs on chain.")
elif len(matching_uris) != 1:
raise EthPMValidationError(
f"Package has too many ({len(matching_uris)}) matching URIs: {matching_uris}."
)
return matching_uris[0]
def validate_blob_uri_contents(contents: bytes, blob_uri: str) -> None:
"""
Raises an exception if the sha1 hash of the contents does not match the hash found in te
blob_uri. Formula for how git calculates the hash found here:
http://alblue.bandlem.com/2011/08/git-tip-of-week-objects.html
"""
blob_path = parse.urlparse(blob_uri).path
blob_hash = blob_path.split("/")[-1]
contents_str = to_text(contents)
content_length = len(contents_str)
hashable_contents = "blob " + str(content_length) + "\0" + contents_str
hash_object = hashlib.sha1(to_bytes(text=hashable_contents))
if hash_object.hexdigest() != blob_hash:
raise EthPMValidationError(
f"Hash of contents fetched from {blob_uri} do not match its hash: {blob_hash}."
)
| {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2006 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* 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 android.content.res;
import android.os.ParcelFileDescriptor;
import android.util.Config;
import android.util.Log;
import android.util.TypedValue;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
/**
* Provides access to an application's raw asset files; see {@link Resources}
* for the way most applications will want to retrieve their resource data.
* This class presents a lower-level API that allows you to open and read raw
* files that have been bundled with the application as a simple stream of
* bytes.
*/
public final class AssetManager {
/* modes used when opening an asset */
/**
* Mode for {@link #open(String, int)}: no specific information about how
* data will be accessed.
*/
public static final int ACCESS_UNKNOWN = 0;
/**
* Mode for {@link #open(String, int)}: Read chunks, and seek forward and
* backward.
*/
public static final int ACCESS_RANDOM = 1;
/**
* Mode for {@link #open(String, int)}: Read sequentially, with an
* occasional forward seek.
*/
public static final int ACCESS_STREAMING = 2;
/**
* Mode for {@link #open(String, int)}: Attempt to load contents into
* memory, for fast small reads.
*/
public static final int ACCESS_BUFFER = 3;
private static final String TAG = "AssetManager";
private static final boolean localLOGV = Config.LOGV || false;
private static final boolean DEBUG_REFS = false;
private static final Object sSync = new Object();
private static AssetManager sSystem = null;
private final TypedValue mValue = new TypedValue();
private final long[] mOffsets = new long[2];
// For communication with native code.
private int mObject;
private int mNObject; // used by the NDK
private StringBlock mStringBlocks[] = null;
private int mNumRefs = 1;
private boolean mOpen = true;
private HashMap<Integer, RuntimeException> mRefStacks;
/**
* Create a new AssetManager containing only the basic system assets.
* Applications will not generally use this method, instead retrieving the
* appropriate asset manager with {@link Resources#getAssets}. Not for
* use by applications.
* {@hide}
*/
public AssetManager() {
synchronized (this) {
if (DEBUG_REFS) {
mNumRefs = 0;
incRefsLocked(this.hashCode());
}
init();
if (localLOGV) Log.v(TAG, "New asset manager: " + this);
ensureSystemAssets();
}
}
private static void ensureSystemAssets() {
synchronized (sSync) {
if (sSystem == null) {
AssetManager system = new AssetManager(true);
system.makeStringBlocks(false);
sSystem = system;
}
}
}
private AssetManager(boolean isSystem) {
if (DEBUG_REFS) {
synchronized (this) {
mNumRefs = 0;
incRefsLocked(this.hashCode());
}
}
init();
if (localLOGV) Log.v(TAG, "New asset manager: " + this);
}
/**
* Return a global shared asset manager that provides access to only
* system assets (no application assets).
* {@hide}
*/
public static AssetManager getSystem() {
ensureSystemAssets();
return sSystem;
}
/**
* Close this asset manager.
*/
public void close() {
synchronized(this) {
//System.out.println("Release: num=" + mNumRefs
// + ", released=" + mReleased);
if (mOpen) {
mOpen = false;
decRefsLocked(this.hashCode());
}
}
}
/**
* Retrieve the string value associated with a particular resource
* identifier for the current configuration / skin.
*/
/*package*/ final CharSequence getResourceText(int ident) {
synchronized (this) {
TypedValue tmpValue = mValue;
int block = loadResourceValue(ident, tmpValue, true);
if (block >= 0) {
if (tmpValue.type == TypedValue.TYPE_STRING) {
return mStringBlocks[block].get(tmpValue.data);
}
return tmpValue.coerceToString();
}
}
return null;
}
/**
* Retrieve the string value associated with a particular resource
* identifier for the current configuration / skin.
*/
/*package*/ final CharSequence getResourceBagText(int ident, int bagEntryId) {
synchronized (this) {
TypedValue tmpValue = mValue;
int block = loadResourceBagValue(ident, bagEntryId, tmpValue, true);
if (block >= 0) {
if (tmpValue.type == TypedValue.TYPE_STRING) {
return mStringBlocks[block].get(tmpValue.data);
}
return tmpValue.coerceToString();
}
}
return null;
}
/**
* Retrieve the string array associated with a particular resource
* identifier.
* @param id Resource id of the string array
*/
/*package*/ final String[] getResourceStringArray(final int id) {
String[] retArray = getArrayStringResource(id);
return retArray;
}
/*package*/ final boolean getResourceValue(int ident,
TypedValue outValue,
boolean resolveRefs)
{
int block = loadResourceValue(ident, outValue, resolveRefs);
if (block >= 0) {
if (outValue.type != TypedValue.TYPE_STRING) {
return true;
}
outValue.string = mStringBlocks[block].get(outValue.data);
return true;
}
return false;
}
/**
* Retrieve the text array associated with a particular resource
* identifier.
* @param id Resource id of the string array
*/
/*package*/ final CharSequence[] getResourceTextArray(final int id) {
int[] rawInfoArray = getArrayStringInfo(id);
int rawInfoArrayLen = rawInfoArray.length;
final int infoArrayLen = rawInfoArrayLen / 2;
int block;
int index;
CharSequence[] retArray = new CharSequence[infoArrayLen];
for (int i = 0, j = 0; i < rawInfoArrayLen; i = i + 2, j++) {
block = rawInfoArray[i];
index = rawInfoArray[i + 1];
retArray[j] = index >= 0 ? mStringBlocks[block].get(index) : null;
}
return retArray;
}
/*package*/ final boolean getThemeValue(int theme, int ident,
TypedValue outValue, boolean resolveRefs) {
int block = loadThemeAttributeValue(theme, ident, outValue, resolveRefs);
if (block >= 0) {
if (outValue.type != TypedValue.TYPE_STRING) {
return true;
}
StringBlock[] blocks = mStringBlocks;
if (blocks == null) {
ensureStringBlocks();
}
outValue.string = blocks[block].get(outValue.data);
return true;
}
return false;
}
/*package*/ final void ensureStringBlocks() {
if (mStringBlocks == null) {
synchronized (this) {
if (mStringBlocks == null) {
makeStringBlocks(true);
}
}
}
}
private final void makeStringBlocks(boolean copyFromSystem) {
final int sysNum = copyFromSystem ? sSystem.mStringBlocks.length : 0;
final int num = getStringBlockCount();
mStringBlocks = new StringBlock[num];
if (localLOGV) Log.v(TAG, "Making string blocks for " + this
+ ": " + num);
for (int i=0; i<num; i++) {
if (i < sysNum) {
mStringBlocks[i] = sSystem.mStringBlocks[i];
} else {
mStringBlocks[i] = new StringBlock(getNativeStringBlock(i), true);
}
}
}
/*package*/ final CharSequence getPooledString(int block, int id) {
//System.out.println("Get pooled: block=" + block
// + ", id=#" + Integer.toHexString(id)
// + ", blocks=" + mStringBlocks);
return mStringBlocks[block-1].get(id);
}
/**
* Open an asset using ACCESS_STREAMING mode. This provides access to
* files that have been bundled with an application as assets -- that is,
* files placed in to the "assets" directory.
*
* @param fileName The name of the asset to open. This name can be
* hierarchical.
*
* @see #open(String, int)
* @see #list
*/
public final InputStream open(String fileName) throws IOException {
return open(fileName, ACCESS_STREAMING);
}
/**
* Open an asset using an explicit access mode, returning an InputStream to
* read its contents. This provides access to files that have been bundled
* with an application as assets -- that is, files placed in to the
* "assets" directory.
*
* @param fileName The name of the asset to open. This name can be
* hierarchical.
* @param accessMode Desired access mode for retrieving the data.
*
* @see #ACCESS_UNKNOWN
* @see #ACCESS_STREAMING
* @see #ACCESS_RANDOM
* @see #ACCESS_BUFFER
* @see #open(String)
* @see #list
*/
public final InputStream open(String fileName, int accessMode)
throws IOException {
synchronized (this) {
if (!mOpen) {
throw new RuntimeException("Assetmanager has been closed");
}
int asset = openAsset(fileName, accessMode);
if (asset != 0) {
AssetInputStream res = new AssetInputStream(asset);
incRefsLocked(res.hashCode());
return res;
}
}
throw new FileNotFoundException("Asset file: " + fileName);
}
public final AssetFileDescriptor openFd(String fileName)
throws IOException {
synchronized (this) {
if (!mOpen) {
throw new RuntimeException("Assetmanager has been closed");
}
ParcelFileDescriptor pfd = openAssetFd(fileName, mOffsets);
if (pfd != null) {
return new AssetFileDescriptor(pfd, mOffsets[0], mOffsets[1]);
}
}
throw new FileNotFoundException("Asset file: " + fileName);
}
/**
* Return a String array of all the assets at the given path.
*
* @param path A relative path within the assets, i.e., "docs/home.html".
*
* @return String[] Array of strings, one for each asset. These file
* names are relative to 'path'. You can open the file by
* concatenating 'path' and a name in the returned string (via
* File) and passing that to open().
*
* @see #open
*/
public native final String[] list(String path)
throws IOException;
/**
* {@hide}
* Open a non-asset file as an asset using ACCESS_STREAMING mode. This
* provides direct access to all of the files included in an application
* package (not only its assets). Applications should not normally use
* this.
*
* @see #open(String)
*/
public final InputStream openNonAsset(String fileName) throws IOException {
return openNonAsset(0, fileName, ACCESS_STREAMING);
}
/**
* {@hide}
* Open a non-asset file as an asset using a specific access mode. This
* provides direct access to all of the files included in an application
* package (not only its assets). Applications should not normally use
* this.
*
* @see #open(String, int)
*/
public final InputStream openNonAsset(String fileName, int accessMode)
throws IOException {
return openNonAsset(0, fileName, accessMode);
}
/**
* {@hide}
* Open a non-asset in a specified package. Not for use by applications.
*
* @param cookie Identifier of the package to be opened.
* @param fileName Name of the asset to retrieve.
*/
public final InputStream openNonAsset(int cookie, String fileName)
throws IOException {
return openNonAsset(cookie, fileName, ACCESS_STREAMING);
}
/**
* {@hide}
* Open a non-asset in a specified package. Not for use by applications.
*
* @param cookie Identifier of the package to be opened.
* @param fileName Name of the asset to retrieve.
* @param accessMode Desired access mode for retrieving the data.
*/
public final InputStream openNonAsset(int cookie, String fileName, int accessMode)
throws IOException {
synchronized (this) {
if (!mOpen) {
throw new RuntimeException("Assetmanager has been closed");
}
int asset = openNonAssetNative(cookie, fileName, accessMode);
if (asset != 0) {
AssetInputStream res = new AssetInputStream(asset);
incRefsLocked(res.hashCode());
return res;
}
}
throw new FileNotFoundException("Asset absolute file: " + fileName);
}
public final AssetFileDescriptor openNonAssetFd(String fileName)
throws IOException {
return openNonAssetFd(0, fileName);
}
public final AssetFileDescriptor openNonAssetFd(int cookie,
String fileName) throws IOException {
synchronized (this) {
if (!mOpen) {
throw new RuntimeException("Assetmanager has been closed");
}
ParcelFileDescriptor pfd = openNonAssetFdNative(cookie,
fileName, mOffsets);
if (pfd != null) {
return new AssetFileDescriptor(pfd, mOffsets[0], mOffsets[1]);
}
}
throw new FileNotFoundException("Asset absolute file: " + fileName);
}
/**
* Retrieve a parser for a compiled XML file.
*
* @param fileName The name of the file to retrieve.
*/
public final XmlResourceParser openXmlResourceParser(String fileName)
throws IOException {
return openXmlResourceParser(0, fileName);
}
/**
* Retrieve a parser for a compiled XML file.
*
* @param cookie Identifier of the package to be opened.
* @param fileName The name of the file to retrieve.
*/
public final XmlResourceParser openXmlResourceParser(int cookie,
String fileName) throws IOException {
XmlBlock block = openXmlBlockAsset(cookie, fileName);
XmlResourceParser rp = block.newParser();
block.close();
return rp;
}
/**
* {@hide}
* Retrieve a non-asset as a compiled XML file. Not for use by
* applications.
*
* @param fileName The name of the file to retrieve.
*/
/*package*/ final XmlBlock openXmlBlockAsset(String fileName)
throws IOException {
return openXmlBlockAsset(0, fileName);
}
/**
* {@hide}
* Retrieve a non-asset as a compiled XML file. Not for use by
* applications.
*
* @param cookie Identifier of the package to be opened.
* @param fileName Name of the asset to retrieve.
*/
/*package*/ final XmlBlock openXmlBlockAsset(int cookie, String fileName)
throws IOException {
synchronized (this) {
if (!mOpen) {
throw new RuntimeException("Assetmanager has been closed");
}
int xmlBlock = openXmlAssetNative(cookie, fileName);
if (xmlBlock != 0) {
XmlBlock res = new XmlBlock(this, xmlBlock);
incRefsLocked(res.hashCode());
return res;
}
}
throw new FileNotFoundException("Asset XML file: " + fileName);
}
/*package*/ void xmlBlockGone(int id) {
synchronized (this) {
decRefsLocked(id);
}
}
/*package*/ final int createTheme() {
synchronized (this) {
if (!mOpen) {
throw new RuntimeException("Assetmanager has been closed");
}
int res = newTheme();
incRefsLocked(res);
return res;
}
}
/*package*/ final void releaseTheme(int theme) {
synchronized (this) {
deleteTheme(theme);
decRefsLocked(theme);
}
}
protected void finalize() throws Throwable {
try {
if (DEBUG_REFS && mNumRefs != 0) {
Log.w(TAG, "AssetManager " + this
+ " finalized with non-zero refs: " + mNumRefs);
if (mRefStacks != null) {
for (RuntimeException e : mRefStacks.values()) {
Log.w(TAG, "Reference from here", e);
}
}
}
destroy();
} finally {
super.finalize();
}
}
public final class AssetInputStream extends InputStream {
public final int getAssetInt() {
return mAsset;
}
private AssetInputStream(int asset)
{
mAsset = asset;
mLength = getAssetLength(asset);
}
public final int read() throws IOException {
return readAssetChar(mAsset);
}
public final boolean markSupported() {
return true;
}
public final int available() throws IOException {
long len = getAssetRemainingLength(mAsset);
return len > Integer.MAX_VALUE ? Integer.MAX_VALUE : (int)len;
}
public final void close() throws IOException {
synchronized (AssetManager.this) {
if (mAsset != 0) {
destroyAsset(mAsset);
mAsset = 0;
decRefsLocked(hashCode());
}
}
}
public final void mark(int readlimit) {
mMarkPos = seekAsset(mAsset, 0, 0);
}
public final void reset() throws IOException {
seekAsset(mAsset, mMarkPos, -1);
}
public final int read(byte[] b) throws IOException {
return readAsset(mAsset, b, 0, b.length);
}
public final int read(byte[] b, int off, int len) throws IOException {
return readAsset(mAsset, b, off, len);
}
public final long skip(long n) throws IOException {
long pos = seekAsset(mAsset, 0, 0);
if ((pos+n) > mLength) {
n = mLength-pos;
}
if (n > 0) {
seekAsset(mAsset, n, 0);
}
return n;
}
protected void finalize() throws Throwable
{
close();
}
private int mAsset;
private long mLength;
private long mMarkPos;
}
/**
* Add an additional set of assets to the asset manager. This can be
* either a directory or ZIP file. Not for use by applications. Returns
* the cookie of the added asset, or 0 on failure.
* {@hide}
*/
public native final int addAssetPath(String path);
/**
* Add multiple sets of assets to the asset manager at once. See
* {@link #addAssetPath(String)} for more information. Returns array of
* cookies for each added asset with 0 indicating failure, or null if
* the input array of paths is null.
* {@hide}
*/
public final int[] addAssetPaths(String[] paths) {
if (paths == null) {
return null;
}
int[] cookies = new int[paths.length];
for (int i = 0; i < paths.length; i++) {
cookies[i] = addAssetPath(paths[i]);
}
return cookies;
}
/**
* Determine whether the state in this asset manager is up-to-date with
* the files on the filesystem. If false is returned, you need to
* instantiate a new AssetManager class to see the new data.
* {@hide}
*/
public native final boolean isUpToDate();
/**
* Change the locale being used by this asset manager. Not for use by
* applications.
* {@hide}
*/
public native final void setLocale(String locale);
/**
* Get the locales that this asset manager contains data for.
*/
public native final String[] getLocales();
/**
* Change the configuation used when retrieving resources. Not for use by
* applications.
* {@hide}
*/
public native final void setConfiguration(int mcc, int mnc, String locale,
int orientation, int touchscreen, int density, int keyboard,
int keyboardHidden, int navigation, int screenWidth, int screenHeight,
int screenLayout, int uiMode, int majorVersion);
/**
* Retrieve the resource identifier for the given resource name.
*/
/*package*/ native final int getResourceIdentifier(String type,
String name,
String defPackage);
/*package*/ native final String getResourceName(int resid);
/*package*/ native final String getResourcePackageName(int resid);
/*package*/ native final String getResourceTypeName(int resid);
/*package*/ native final String getResourceEntryName(int resid);
private native final int openAsset(String fileName, int accessMode);
private final native ParcelFileDescriptor openAssetFd(String fileName,
long[] outOffsets) throws IOException;
private native final int openNonAssetNative(int cookie, String fileName,
int accessMode);
private native ParcelFileDescriptor openNonAssetFdNative(int cookie,
String fileName, long[] outOffsets) throws IOException;
private native final void destroyAsset(int asset);
private native final int readAssetChar(int asset);
private native final int readAsset(int asset, byte[] b, int off, int len);
private native final long seekAsset(int asset, long offset, int whence);
private native final long getAssetLength(int asset);
private native final long getAssetRemainingLength(int asset);
/** Returns true if the resource was found, filling in mRetStringBlock and
* mRetData. */
private native final int loadResourceValue(int ident, TypedValue outValue,
boolean resolve);
/** Returns true if the resource was found, filling in mRetStringBlock and
* mRetData. */
private native final int loadResourceBagValue(int ident, int bagEntryId, TypedValue outValue,
boolean resolve);
/*package*/ static final int STYLE_NUM_ENTRIES = 6;
/*package*/ static final int STYLE_TYPE = 0;
/*package*/ static final int STYLE_DATA = 1;
/*package*/ static final int STYLE_ASSET_COOKIE = 2;
/*package*/ static final int STYLE_RESOURCE_ID = 3;
/*package*/ static final int STYLE_CHANGING_CONFIGURATIONS = 4;
/*package*/ static final int STYLE_DENSITY = 5;
/*package*/ native static final boolean applyStyle(int theme,
int defStyleAttr, int defStyleRes, int xmlParser,
int[] inAttrs, int[] outValues, int[] outIndices);
/*package*/ native final boolean retrieveAttributes(
int xmlParser, int[] inAttrs, int[] outValues, int[] outIndices);
/*package*/ native final int getArraySize(int resource);
/*package*/ native final int retrieveArray(int resource, int[] outValues);
private native final int getStringBlockCount();
private native final int getNativeStringBlock(int block);
/**
* {@hide}
*/
public native final String getCookieName(int cookie);
/**
* {@hide}
*/
public native static final int getGlobalAssetCount();
/**
* {@hide}
*/
public native static final String getAssetAllocations();
/**
* {@hide}
*/
public native static final int getGlobalAssetManagerCount();
private native final int newTheme();
private native final void deleteTheme(int theme);
/*package*/ native static final void applyThemeStyle(int theme, int styleRes, boolean force);
/*package*/ native static final void copyTheme(int dest, int source);
/*package*/ native static final int loadThemeAttributeValue(int theme, int ident,
TypedValue outValue,
boolean resolve);
/*package*/ native static final void dumpTheme(int theme, int priority, String tag, String prefix);
private native final int openXmlAssetNative(int cookie, String fileName);
private native final String[] getArrayStringResource(int arrayRes);
private native final int[] getArrayStringInfo(int arrayRes);
/*package*/ native final int[] getArrayIntResource(int arrayRes);
private native final void init();
private native final void destroy();
private final void incRefsLocked(int id) {
if (DEBUG_REFS) {
if (mRefStacks == null) {
mRefStacks = new HashMap<Integer, RuntimeException>();
RuntimeException ex = new RuntimeException();
ex.fillInStackTrace();
mRefStacks.put(this.hashCode(), ex);
}
}
mNumRefs++;
}
private final void decRefsLocked(int id) {
if (DEBUG_REFS && mRefStacks != null) {
mRefStacks.remove(id);
}
mNumRefs--;
//System.out.println("Dec streams: mNumRefs=" + mNumRefs
// + " mReleased=" + mReleased);
if (mNumRefs == 0) {
destroy();
}
}
}
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" ?>
<!DOCTYPE coverage
SYSTEM 'http://cobertura.sourceforge.net/xml/coverage-04.dtd'>
<coverage branch-rate="0.428571428571" branches-covered="6" branches-valid="14" complexity="0.0" line-rate="0.674418604651" lines-covered="29" lines-valid="43" timestamp="" version="">
<sources>
<source>.</source>
</sources>
<packages>
<package branch-rate="0.333333333333" complexity="0.0" line-rate="0.538461538462" name="subdir.A">
<classes>
<class branch-rate="0.5" complexity="0.0" filename="subdir/A/file1.cpp" line-rate="0.75" name="file1_cpp">
<methods/>
<lines>
<line branch="false" hits="1" number="1"/>
<line branch="true" condition-coverage="50% (1/2)" hits="1" number="3">
<conditions>
<condition coverage="50%" number="0" type="jump"/>
</conditions>
</line>
<line branch="false" hits="0" number="4"/>
<line branch="false" hits="1" number="6"/>
</lines>
</class>
<class branch-rate="0.0" complexity="0.0" filename="subdir/A/file2.cpp" line-rate="0.571428571429" name="file2_cpp">
<methods/>
<lines>
<line branch="false" hits="1" number="1"/>
<line branch="false" hits="1" number="3"/>
<line branch="false" hits="1" number="4"/>
<line branch="false" hits="1" number="5"/>
<line branch="false" hits="0" number="8"/>
<line branch="false" hits="0" number="10"/>
<line branch="false" hits="0" number="11"/>
</lines>
</class>
<class branch-rate="0.0" complexity="0.0" filename="subdir/A/file3.cpp" line-rate="0.444444444444" name="file3_cpp">
<methods/>
<lines>
<line branch="false" hits="1" number="1"/>
<line branch="false" hits="1" number="3"/>
<line branch="false" hits="1" number="4"/>
<line branch="false" hits="1" number="5"/>
<line branch="false" hits="0" number="8"/>
<line branch="false" hits="0" number="10"/>
<line branch="true" condition-coverage="0% (0/2)" hits="0" number="11">
<conditions>
<condition coverage="0%" number="0" type="jump"/>
</conditions>
</line>
<line branch="false" hits="0" number="12"/>
<line branch="false" hits="0" number="14"/>
</lines>
</class>
<class branch-rate="0.5" complexity="0.0" filename="subdir/A/file4.cpp" line-rate="0.75" name="file4_cpp">
<methods/>
<lines>
<line branch="false" hits="1" number="1"/>
<line branch="true" condition-coverage="50% (1/2)" hits="1" number="3">
<conditions>
<condition coverage="50%" number="0" type="jump"/>
</conditions>
</line>
<line branch="false" hits="1" number="4"/>
<line branch="false" hits="0" number="6"/>
</lines>
</class>
<class branch-rate="0.0" complexity="0.0" filename="subdir/A/file7.cpp" line-rate="0.0" name="file7_cpp">
<methods/>
<lines>
<line branch="false" hits="0" number="1"/>
<line branch="false" hits="0" number="3"/>
</lines>
</class>
</classes>
</package>
<package branch-rate="0.5" complexity="0.0" line-rate="0.75" name="subdir.A.C">
<classes>
<class branch-rate="0.5" complexity="0.0" filename="subdir/A/C/file5.cpp" line-rate="0.75" name="file5_cpp">
<methods/>
<lines>
<line branch="false" hits="1" number="1"/>
<line branch="true" condition-coverage="50% (1/2)" hits="1" number="3">
<conditions>
<condition coverage="50%" number="0" type="jump"/>
</conditions>
</line>
<line branch="false" hits="0" number="4"/>
<line branch="false" hits="1" number="6"/>
</lines>
</class>
</classes>
</package>
<package branch-rate="0.5" complexity="0.0" line-rate="1.0" name="subdir.B">
<classes>
<class branch-rate="0.5" complexity="0.0" filename="subdir/B/main.cpp" line-rate="1.0" name="main_cpp">
<methods/>
<lines>
<line branch="false" hits="1" number="12"/>
<line branch="false" hits="1" number="13"/>
<line branch="false" hits="1" number="14"/>
<line branch="false" hits="1" number="15"/>
<line branch="false" hits="1" number="16"/>
<line branch="false" hits="1" number="17"/>
<line branch="false" hits="1" number="18"/>
<line branch="false" hits="1" number="20"/>
<line branch="true" condition-coverage="50% (2/4)" hits="3" number="21">
<conditions>
<condition coverage="50%" number="0" type="jump"/>
</conditions>
</line>
</lines>
</class>
</classes>
</package>
<package branch-rate="0.5" complexity="0.0" line-rate="0.75" name="subdir.m.n.C.D">
<classes>
<class branch-rate="0.5" complexity="0.0" filename="subdir/m/n/C/D/file6.cpp" line-rate="0.75" name="file6_cpp">
<methods/>
<lines>
<line branch="false" hits="1" number="1"/>
<line branch="true" condition-coverage="50% (1/2)" hits="1" number="3">
<conditions>
<condition coverage="50%" number="0" type="jump"/>
</conditions>
</line>
<line branch="false" hits="0" number="4"/>
<line branch="false" hits="1" number="6"/>
</lines>
</class>
</classes>
</package>
</packages>
</coverage>
| {
"pile_set_name": "Github"
} |
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
class d
let d{struct A<T where k:c
class A
class A{
class B{
struct c
}
}
let:A? | {
"pile_set_name": "Github"
} |
require 'tempfile'
require 'rubygems'
require 'rubygems/remote_fetcher'
##
# A fake Gem::RemoteFetcher for use in tests or to avoid real live HTTP
# requests when testing code that uses RubyGems.
#
# Example:
#
# @fetcher = Gem::FakeFetcher.new
# @fetcher.data['http://gems.example.com/yaml'] = source_index.to_yaml
# Gem::RemoteFetcher.fetcher = @fetcher
#
# # invoke RubyGems code
#
# paths = @fetcher.paths
# assert_equal 'http://gems.example.com/yaml', paths.shift
# assert paths.empty?, paths.join(', ')
#
# See RubyGems' tests for more examples of FakeFetcher.
class Gem::FakeFetcher
attr_reader :data
attr_reader :last_request
attr_accessor :paths
def initialize
@data = {}
@paths = []
end
def find_data(path)
path = path.to_s
@paths << path
raise ArgumentError, 'need full URI' unless path =~ %r'^https?://'
unless @data.key? path then
raise Gem::RemoteFetcher::FetchError.new("no data for #{path}", path)
end
@data[path]
end
def fetch_path path, mtime = nil
data = find_data(path)
if data.respond_to?(:call) then
data.call
else
if path.to_s =~ /gz$/ and not data.nil? and not data.empty? then
data = Gem.gunzip data
end
data
end
end
# Thanks, FakeWeb!
def open_uri_or_path(path)
data = find_data(path)
body, code, msg = data
response = Net::HTTPResponse.send(:response_class, code.to_s).new("1.0", code.to_s, msg)
response.instance_variable_set(:@body, body)
response.instance_variable_set(:@read, true)
response
end
def request(uri, request_class, last_modified = nil)
data = find_data(uri)
body, code, msg = data
@last_request = request_class.new uri.request_uri
yield @last_request if block_given?
response = Net::HTTPResponse.send(:response_class, code.to_s).new("1.0", code.to_s, msg)
response.instance_variable_set(:@body, body)
response.instance_variable_set(:@read, true)
response
end
def fetch_size(path)
path = path.to_s
@paths << path
raise ArgumentError, 'need full URI' unless path =~ %r'^http://'
unless @data.key? path then
raise Gem::RemoteFetcher::FetchError.new("no data for #{path}", path)
end
data = @data[path]
data.respond_to?(:call) ? data.call : data.length
end
def download spec, source_uri, install_dir = Gem.dir
name = File.basename spec.cache_file
path = File.join install_dir, "cache", name
Gem.ensure_gem_subdirectories install_dir
if source_uri =~ /^http/ then
File.open(path, "wb") do |f|
f.write fetch_path(File.join(source_uri, "gems", name))
end
else
FileUtils.cp source_uri, path
end
path
end
def download_to_cache dependency
found = Gem::SpecFetcher.fetcher.fetch dependency, true, true,
dependency.prerelease?
return if found.empty?
spec, source_uri = found.first
download spec, source_uri
end
end
# :stopdoc:
class Gem::RemoteFetcher
def self.fetcher=(fetcher)
@fetcher = fetcher
end
end
# :startdoc:
##
# A StringIO duck-typed class that uses Tempfile instead of String as the
# backing store.
#
# This is available when rubygems/test_utilities is required.
#--
# This class was added to flush out problems in Rubinius' IO implementation.
class TempIO < Tempfile
def initialize(string = '')
super "TempIO"
binmode
write string
rewind
end
def string
flush
Gem.read_binary path
end
end
| {
"pile_set_name": "Github"
} |
config RC_MAP
tristate "Compile Remote Controller keymap modules"
depends on RC_CORE
default y
---help---
This option enables the compilation of lots of Remote
Controller tables. They are short tables, but if you
don't use a remote controller, or prefer to load the
tables on userspace, you should disable it.
The ir-keytable program, available at v4l-utils package
provide the tool and the same RC maps for load from
userspace. Its available at
http://git.linuxtv.org/v4l-utils
| {
"pile_set_name": "Github"
} |
--TEST--
"autoescape" tag accepts an escaping strategy
--TEMPLATE--
{% autoescape 'js' %}{{ var }}{% endautoescape %}
{% autoescape 'html' %}{{ var }}{% endautoescape %}
--DATA--
return array('var' => '<br />"')
--EXPECT--
\x3Cbr\x20\x2F\x3E\x22
<br />"
| {
"pile_set_name": "Github"
} |
/*---------------------------------------------------------------------------*\
FILE........: resample.c
AUTHOR......: David Rowe
DATE CREATED: 5/3/2016
Resamples a stream of 16 bit shorts.
$ gcc resample.c -o resample -lm -lsamplerate -Wall
\*---------------------------------------------------------------------------*/
/*
Copyright (C) 2016 David Rowe
All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License version 2.1, as
published by the Free Software Foundation. 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 Lesser General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#define BUF_PERIOD 0.02 /* length of processingbuffer in seconds */
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <samplerate.h>
/* returns number of output samples generated by resampling */
int resample(SRC_STATE *src,
short output_short[],
short input_short[],
int output_sample_rate,
int input_sample_rate,
int length_output_short, /* maximum output array length in samples */
int length_input_short,
int *input_samples_used,
int last
)
{
SRC_DATA src_data;
float input[length_input_short];
float output[length_output_short];
int ret;
assert(src != NULL);
src_short_to_float_array(input_short, input, length_input_short);
src_data.data_in = input;
src_data.data_out = output;
src_data.input_frames = length_input_short;
src_data.output_frames = length_output_short;
src_data.end_of_input = last;
src_data.src_ratio = (float)output_sample_rate/input_sample_rate;
//printf("ratio: %f\n", src_data.src_ratio);
ret = src_process(src, &src_data);
assert(ret == 0);
assert(src_data.output_frames_gen <= length_output_short);
src_float_to_short_array(output, output_short, src_data.output_frames_gen);
*input_samples_used = src_data.input_frames_used;
return src_data.output_frames_gen;
}
int main(int argc, char *argv[]) {
FILE *fin, *fout;
SRC_STATE *src;
int FsIn, FsOut;
int length_input_short, length_output_short;
int src_error, nin, left_over, nread;
if (argc < 5) {
printf("usage: resample FsIn FsOut InputFileOfShorts OutputFileOfShortsn");
printf("e.g resample 1E6 1E5 Fs1E6HzInputShortFile.raw Fs1E5HzOutputShortFile.raw\n");
printf("e.g SampleGenerator | resample 1E6 1E5 | SampleConsumer\n");
exit(1);
}
FsIn = (int)atof(argv[1]);
FsOut = (int)atof(argv[2]);
length_input_short = BUF_PERIOD*FsIn;
length_output_short = BUF_PERIOD*FsOut;
//printf("FsIn: %d FsOut: %d length_input_short: %d length_output_short: %d\n",
// FsIn, FsOut, length_input_short, length_output_short);
short input_short[length_input_short];
short output_short[length_output_short];
if (strcmp(argv[3], "-") == 0) fin = stdin;
else if ( (fin = fopen(argv[3],"rb")) == NULL ) {
fprintf(stderr, "Error opening input speech file: %s: %s.\n",
argv[2], strerror(errno));
exit(1);
}
if (strcmp(argv[4], "-") == 0) fout = stdout;
else if ( (fout = fopen(argv[4],"wb")) == NULL ) {
fprintf(stderr, "Error opening output speech file: %s: %s.\n",
argv[3], strerror(errno));
exit(1);
}
src = src_new(SRC_SINC_FASTEST, 1, &src_error);
assert(src != NULL);
nin = length_input_short;
left_over = 0;
while((nread = fread(&input_short[left_over], sizeof(short), nin, fin)) == nin) {
length_output_short = resample(src,
output_short,
input_short,
FsOut,
FsIn,
length_output_short,
length_input_short,
&nin,
0);
left_over = length_input_short - nin;
memcpy(input_short, &input_short[nin], left_over);
//printf("length_output_short: %d length_input_short: %d nin: %d left_over: %d\n",
// length_output_short, length_input_short, nin, left_over);
fwrite(output_short, sizeof(short), length_output_short, fout);
}
length_output_short = resample(src,
output_short,
input_short,
FsOut,
FsIn,
length_output_short,
length_input_short,
&nin,
1);
fwrite(output_short, sizeof(short), length_output_short, fout);
fclose(fin);
fclose(fout);
src_delete(src);
return 0;
}
| {
"pile_set_name": "Github"
} |
Des générateurs dans des générateurs.
## Infos
On peut déléguer le contrôle de l’itération de notre générateur vers un autre.
L’expression `yield*` va s’en occuper, `*` signifiant que cette **expression**
est également un générateur, de sorte qu’on peut lui envoyer un message.
```js
function *foo() {
yield 2;
yield 3;
}
function *main() {
yield 1;
yield *foo(); // déléguer à foo
}
for (var v of main()) {
console.log( v );
}
// 1 2 3
```
## Docs
- https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Op%C3%A9rateurs/yield*
## Défi
Écrivez une fonction générateur `flat()` qui prend des tableaux imbriqués
(un tableau de tableaux de tableaux de…) et les aplatit en les traversant
comme s’il n’y avait qu’un seul niveau.
## Base de travail
Utilisez le code de départ suivant :
```js
function *flat (arr) {
// Votre code ici
}
var A = [1, [2, [3, 4], 5], 6];
for (var f of flat(A)) {
console.log( f );
}
// 1 2 3 4 5 6
```
## Astuces
La méthode native `Array.isArray()` vous sera utile.
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:foreground="?selectableItemBackground">
<ImageView
android:id="@+id/uploadsImagePreview"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_margin="2dp"
android:scaleType="center"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintDimensionRatio="H,1:1"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:src="@tools:sample/backgrounds/scenic" />
</androidx.constraintlayout.widget.ConstraintLayout> | {
"pile_set_name": "Github"
} |
# ==============================================================================
# Copyright (c) Microsoft. All rights reserved.
# Licensed under the MIT license. See LICENSE.md file in the project root
# for full license information.
# ==============================================================================
| {
"pile_set_name": "Github"
} |
# robotstxt.org
User-agent: *
| {
"pile_set_name": "Github"
} |
# Reliability
So let's talk about reliability.
This is a very important concept which could be at first sight difficult but which will be very handy later on.
As you know we have two opposites, TCP on one hand and UDP on the other.
TCP has a lot of feature UDP does not have, like shown below.
_TCP_
- Guarantee of delivery.
- Guarantee for order.
- Packets will not be dropped.
- Duplication not possible.
- Automatic [fragmentation](./../fragmentation.md).
_UDP_
- Unreliable.
- No guarantee for delivery.
- No guarantee for order.
- No way of getting the dropped packet.
- Duplication possible.
- No [fragmentation](./../fragmentation.md).
It would be useful if we could somehow specify the features we want on top of UDP.
Like that you say: I want the guarantee for my packets to arrive, however they don't need to be in order.
Or, I don't care if my packet arrives but I do want to receive only new ones.
Before continuing, it would be helpful to understand the difference between ordering and sequencing: [ordering documentation](ordering.md)
## The 5 Reliability Guarantees
Laminar provides 5 different ways for you to send your data:
| Reliability Type | Packet Drop | Packet Duplication | Packet Order | Packet Fragmentation |Packet Delivery|
| :-------------: | :-------------: | :-------------: | :-------------: | :-------------: | :-------------:
| **Unreliable Unordered** | Any | Yes | No | No | No
| **Unreliable Sequenced** | Any + old | No | Sequenced | No | No
| **Reliable Unordered** | No | No | No | Yes | Yes
| **Reliable Ordered** | No | No | Ordered | Yes | Yes
| **Reliable Sequenced** | Only old | No | Sequenced | Yes | Only newest
## Unreliable
Unreliable: Packets can be dropped, duplicated or arrive in any order.
**Details**
| Packet Drop | Packet Duplication | Packet Order | Packet Fragmentation | Packet Delivery |
| :-------------: | :-------------: | :-------------: | :-------------: | :-------------: |
| Any | Yes | No | No | No
Basically just bare UDP. The packet may or may not be delivered.
## Unreliable Sequenced
Unreliable Sequenced: Packets can be dropped, but could not be duplicated and arrive in sequence.
*Details*
| Packet Drop | Packet Duplication | Packet Order | Packet Fragmentation | Packet Delivery |
| :-------------: | :-------------: | :-------------: | :-------------: | :-------------: |
| Any + old | No | Sequenced | No | No
Basically just bare UDP, free to be dropped, but has some sequencing to it so that only the newest packets are kept.
## Reliable Unordered
Reliable UnOrder: All packets will be sent and received, but without order.
*Details*
| Packet Drop | Packet Duplication | Packet Order | Packet Fragmentation | Packet Delivery |
| :-------------: | :-------------: | :-------------: | :-------------: | :-------------: |
| No | No | No | Yes | Yes
Basically, this is almost TCP without ordering of packets.
## Reliable Ordered
Reliable Unordered: All packets will be sent and received, but in the order in which they arrived.
*Details*
| Packet Drop | Packet Duplication | Packet Order | Packet Fragmentation | Packet Delivery |
| :-------------: | :-------------: | :-------------: | :-------------: | :-------------: |
| No | No | Ordered | Yes | Yes
Basically this is almost like TCP.
## Reliable Sequenced
Reliable; All packets will be sent and received but arranged in sequence.
Which means that only the newest packets will be let through, older packets will be received but they won't get to the user.
*Details*
| Packet Drop | Packet Duplication | Packet Order | Packet Fragmentation | Packet Delivery |
| :-------------: | :-------------: | :-------------: | :-------------: | :-------------: |
| Only old | No | Sequenced | Yes | Only newest
Basically this is almost TCP-like but then sequencing instead of ordering.
### Example
```rust
use laminar::Packet;
// Creates packets with different reliabilities
let unreliable = Packet::unreliable(destination, bytes);
let reliable = Packet::reliable_unordered(destination, bytes);
// Specifies on which stream and how to order our packets, checkout our book and documentation for more information
let unreliable = Packet::unreliable_sequenced(destination, bytes, Some(1));
let reliable_sequenced = Packet::reliable_sequenced(destination, bytes, Some(2));
let reliable_ordered = Packet::reliable_ordered(destination, bytes, Some(3));
```
# Related
- [RakNet Reliability Types](http://www.jenkinssoftware.com/raknet/manual/reliabilitytypes.html) | {
"pile_set_name": "Github"
} |
//
// Blackfriday Markdown Processor
// Available at http://github.com/russross/blackfriday
//
// Copyright © 2011 Russ Ross <[email protected]>.
// Distributed under the Simplified BSD License.
// See README.md for details.
//
//
// Functions to parse inline elements.
//
package blackfriday
import (
"bytes"
"regexp"
"strconv"
)
var (
urlRe = `((https?|ftp):\/\/|\/)[-A-Za-z0-9+&@#\/%?=~_|!:,.;\(\)]+`
anchorRe = regexp.MustCompile(`^(<a\shref="` + urlRe + `"(\stitle="[^"<>]+")?\s?>` + urlRe + `<\/a>)`)
// https://www.w3.org/TR/html5/syntax.html#character-references
// highest unicode code point in 17 planes (2^20): 1,114,112d =
// 7 dec digits or 6 hex digits
// named entity references can be 2-31 characters with stuff like <
// at one end and ∳ at the other. There
// are also sometimes numbers at the end, although this isn't inherent
// in the specification; there are never numbers anywhere else in
// current character references, though; see ¾ and ▒, etc.
// https://www.w3.org/TR/html5/syntax.html#named-character-references
//
// entity := "&" (named group | number ref) ";"
// named group := [a-zA-Z]{2,31}[0-9]{0,2}
// number ref := "#" (dec ref | hex ref)
// dec ref := [0-9]{1,7}
// hex ref := ("x" | "X") [0-9a-fA-F]{1,6}
htmlEntityRe = regexp.MustCompile(`&([a-zA-Z]{2,31}[0-9]{0,2}|#([0-9]{1,7}|[xX][0-9a-fA-F]{1,6}));`)
)
// Functions to parse text within a block
// Each function returns the number of chars taken care of
// data is the complete block being rendered
// offset is the number of valid chars before the current cursor
func (p *Markdown) inline(currBlock *Node, data []byte) {
// handlers might call us recursively: enforce a maximum depth
if p.nesting >= p.maxNesting || len(data) == 0 {
return
}
p.nesting++
beg, end := 0, 0
for end < len(data) {
handler := p.inlineCallback[data[end]]
if handler != nil {
if consumed, node := handler(p, data, end); consumed == 0 {
// No action from the callback.
end++
} else {
// Copy inactive chars into the output.
currBlock.AppendChild(text(data[beg:end]))
if node != nil {
currBlock.AppendChild(node)
}
// Skip past whatever the callback used.
beg = end + consumed
end = beg
}
} else {
end++
}
}
if beg < len(data) {
if data[end-1] == '\n' {
end--
}
currBlock.AppendChild(text(data[beg:end]))
}
p.nesting--
}
// single and double emphasis parsing
func emphasis(p *Markdown, data []byte, offset int) (int, *Node) {
data = data[offset:]
c := data[0]
if len(data) > 2 && data[1] != c {
// whitespace cannot follow an opening emphasis;
// strikethrough only takes two characters '~~'
if c == '~' || isspace(data[1]) {
return 0, nil
}
ret, node := helperEmphasis(p, data[1:], c)
if ret == 0 {
return 0, nil
}
return ret + 1, node
}
if len(data) > 3 && data[1] == c && data[2] != c {
if isspace(data[2]) {
return 0, nil
}
ret, node := helperDoubleEmphasis(p, data[2:], c)
if ret == 0 {
return 0, nil
}
return ret + 2, node
}
if len(data) > 4 && data[1] == c && data[2] == c && data[3] != c {
if c == '~' || isspace(data[3]) {
return 0, nil
}
ret, node := helperTripleEmphasis(p, data, 3, c)
if ret == 0 {
return 0, nil
}
return ret + 3, node
}
return 0, nil
}
func codeSpan(p *Markdown, data []byte, offset int) (int, *Node) {
data = data[offset:]
nb := 0
// count the number of backticks in the delimiter
for nb < len(data) && data[nb] == '`' {
nb++
}
// find the next delimiter
i, end := 0, 0
for end = nb; end < len(data) && i < nb; end++ {
if data[end] == '`' {
i++
} else {
i = 0
}
}
// no matching delimiter?
if i < nb && end >= len(data) {
return 0, nil
}
// trim outside whitespace
fBegin := nb
for fBegin < end && data[fBegin] == ' ' {
fBegin++
}
fEnd := end - nb
for fEnd > fBegin && data[fEnd-1] == ' ' {
fEnd--
}
// render the code span
if fBegin != fEnd {
code := NewNode(Code)
code.Literal = data[fBegin:fEnd]
return end, code
}
return end, nil
}
// newline preceded by two spaces becomes <br>
func maybeLineBreak(p *Markdown, data []byte, offset int) (int, *Node) {
origOffset := offset
for offset < len(data) && data[offset] == ' ' {
offset++
}
if offset < len(data) && data[offset] == '\n' {
if offset-origOffset >= 2 {
return offset - origOffset + 1, NewNode(Hardbreak)
}
return offset - origOffset, nil
}
return 0, nil
}
// newline without two spaces works when HardLineBreak is enabled
func lineBreak(p *Markdown, data []byte, offset int) (int, *Node) {
if p.extensions&HardLineBreak != 0 {
return 1, NewNode(Hardbreak)
}
return 0, nil
}
type linkType int
const (
linkNormal linkType = iota
linkImg
linkDeferredFootnote
linkInlineFootnote
)
func isReferenceStyleLink(data []byte, pos int, t linkType) bool {
if t == linkDeferredFootnote {
return false
}
return pos < len(data)-1 && data[pos] == '[' && data[pos+1] != '^'
}
func maybeImage(p *Markdown, data []byte, offset int) (int, *Node) {
if offset < len(data)-1 && data[offset+1] == '[' {
return link(p, data, offset)
}
return 0, nil
}
func maybeInlineFootnote(p *Markdown, data []byte, offset int) (int, *Node) {
if offset < len(data)-1 && data[offset+1] == '[' {
return link(p, data, offset)
}
return 0, nil
}
// '[': parse a link or an image or a footnote
func link(p *Markdown, data []byte, offset int) (int, *Node) {
// no links allowed inside regular links, footnote, and deferred footnotes
if p.insideLink && (offset > 0 && data[offset-1] == '[' || len(data)-1 > offset && data[offset+1] == '^') {
return 0, nil
}
var t linkType
switch {
// special case: ![^text] == deferred footnote (that follows something with
// an exclamation point)
case p.extensions&Footnotes != 0 && len(data)-1 > offset && data[offset+1] == '^':
t = linkDeferredFootnote
// ![alt] == image
case offset >= 0 && data[offset] == '!':
t = linkImg
offset++
// ^[text] == inline footnote
// [^refId] == deferred footnote
case p.extensions&Footnotes != 0:
if offset >= 0 && data[offset] == '^' {
t = linkInlineFootnote
offset++
} else if len(data)-1 > offset && data[offset+1] == '^' {
t = linkDeferredFootnote
}
// [text] == regular link
default:
t = linkNormal
}
data = data[offset:]
var (
i = 1
noteID int
title, link, altContent []byte
textHasNl = false
)
if t == linkDeferredFootnote {
i++
}
// look for the matching closing bracket
for level := 1; level > 0 && i < len(data); i++ {
switch {
case data[i] == '\n':
textHasNl = true
case data[i-1] == '\\':
continue
case data[i] == '[':
level++
case data[i] == ']':
level--
if level <= 0 {
i-- // compensate for extra i++ in for loop
}
}
}
if i >= len(data) {
return 0, nil
}
txtE := i
i++
var footnoteNode *Node
// skip any amount of whitespace or newline
// (this is much more lax than original markdown syntax)
for i < len(data) && isspace(data[i]) {
i++
}
// inline style link
switch {
case i < len(data) && data[i] == '(':
// skip initial whitespace
i++
for i < len(data) && isspace(data[i]) {
i++
}
linkB := i
// look for link end: ' " )
findlinkend:
for i < len(data) {
switch {
case data[i] == '\\':
i += 2
case data[i] == ')' || data[i] == '\'' || data[i] == '"':
break findlinkend
default:
i++
}
}
if i >= len(data) {
return 0, nil
}
linkE := i
// look for title end if present
titleB, titleE := 0, 0
if data[i] == '\'' || data[i] == '"' {
i++
titleB = i
findtitleend:
for i < len(data) {
switch {
case data[i] == '\\':
i += 2
case data[i] == ')':
break findtitleend
default:
i++
}
}
if i >= len(data) {
return 0, nil
}
// skip whitespace after title
titleE = i - 1
for titleE > titleB && isspace(data[titleE]) {
titleE--
}
// check for closing quote presence
if data[titleE] != '\'' && data[titleE] != '"' {
titleB, titleE = 0, 0
linkE = i
}
}
// remove whitespace at the end of the link
for linkE > linkB && isspace(data[linkE-1]) {
linkE--
}
// remove optional angle brackets around the link
if data[linkB] == '<' {
linkB++
}
if data[linkE-1] == '>' {
linkE--
}
// build escaped link and title
if linkE > linkB {
link = data[linkB:linkE]
}
if titleE > titleB {
title = data[titleB:titleE]
}
i++
// reference style link
case isReferenceStyleLink(data, i, t):
var id []byte
altContentConsidered := false
// look for the id
i++
linkB := i
for i < len(data) && data[i] != ']' {
i++
}
if i >= len(data) {
return 0, nil
}
linkE := i
// find the reference
if linkB == linkE {
if textHasNl {
var b bytes.Buffer
for j := 1; j < txtE; j++ {
switch {
case data[j] != '\n':
b.WriteByte(data[j])
case data[j-1] != ' ':
b.WriteByte(' ')
}
}
id = b.Bytes()
} else {
id = data[1:txtE]
altContentConsidered = true
}
} else {
id = data[linkB:linkE]
}
// find the reference with matching id
lr, ok := p.getRef(string(id))
if !ok {
return 0, nil
}
// keep link and title from reference
link = lr.link
title = lr.title
if altContentConsidered {
altContent = lr.text
}
i++
// shortcut reference style link or reference or inline footnote
default:
var id []byte
// craft the id
if textHasNl {
var b bytes.Buffer
for j := 1; j < txtE; j++ {
switch {
case data[j] != '\n':
b.WriteByte(data[j])
case data[j-1] != ' ':
b.WriteByte(' ')
}
}
id = b.Bytes()
} else {
if t == linkDeferredFootnote {
id = data[2:txtE] // get rid of the ^
} else {
id = data[1:txtE]
}
}
footnoteNode = NewNode(Item)
if t == linkInlineFootnote {
// create a new reference
noteID = len(p.notes) + 1
var fragment []byte
if len(id) > 0 {
if len(id) < 16 {
fragment = make([]byte, len(id))
} else {
fragment = make([]byte, 16)
}
copy(fragment, slugify(id))
} else {
fragment = append([]byte("footnote-"), []byte(strconv.Itoa(noteID))...)
}
ref := &reference{
noteID: noteID,
hasBlock: false,
link: fragment,
title: id,
footnote: footnoteNode,
}
p.notes = append(p.notes, ref)
link = ref.link
title = ref.title
} else {
// find the reference with matching id
lr, ok := p.getRef(string(id))
if !ok {
return 0, nil
}
if t == linkDeferredFootnote {
lr.noteID = len(p.notes) + 1
lr.footnote = footnoteNode
p.notes = append(p.notes, lr)
}
// keep link and title from reference
link = lr.link
// if inline footnote, title == footnote contents
title = lr.title
noteID = lr.noteID
}
// rewind the whitespace
i = txtE + 1
}
var uLink []byte
if t == linkNormal || t == linkImg {
if len(link) > 0 {
var uLinkBuf bytes.Buffer
unescapeText(&uLinkBuf, link)
uLink = uLinkBuf.Bytes()
}
// links need something to click on and somewhere to go
if len(uLink) == 0 || (t == linkNormal && txtE <= 1) {
return 0, nil
}
}
// call the relevant rendering function
var linkNode *Node
switch t {
case linkNormal:
linkNode = NewNode(Link)
linkNode.Destination = normalizeURI(uLink)
linkNode.Title = title
if len(altContent) > 0 {
linkNode.AppendChild(text(altContent))
} else {
// links cannot contain other links, so turn off link parsing
// temporarily and recurse
insideLink := p.insideLink
p.insideLink = true
p.inline(linkNode, data[1:txtE])
p.insideLink = insideLink
}
case linkImg:
linkNode = NewNode(Image)
linkNode.Destination = uLink
linkNode.Title = title
linkNode.AppendChild(text(data[1:txtE]))
i++
case linkInlineFootnote, linkDeferredFootnote:
linkNode = NewNode(Link)
linkNode.Destination = link
linkNode.Title = title
linkNode.NoteID = noteID
linkNode.Footnote = footnoteNode
if t == linkInlineFootnote {
i++
}
default:
return 0, nil
}
return i, linkNode
}
func (p *Markdown) inlineHTMLComment(data []byte) int {
if len(data) < 5 {
return 0
}
if data[0] != '<' || data[1] != '!' || data[2] != '-' || data[3] != '-' {
return 0
}
i := 5
// scan for an end-of-comment marker, across lines if necessary
for i < len(data) && !(data[i-2] == '-' && data[i-1] == '-' && data[i] == '>') {
i++
}
// no end-of-comment marker
if i >= len(data) {
return 0
}
return i + 1
}
func stripMailto(link []byte) []byte {
if bytes.HasPrefix(link, []byte("mailto://")) {
return link[9:]
} else if bytes.HasPrefix(link, []byte("mailto:")) {
return link[7:]
} else {
return link
}
}
// autolinkType specifies a kind of autolink that gets detected.
type autolinkType int
// These are the possible flag values for the autolink renderer.
const (
notAutolink autolinkType = iota
normalAutolink
emailAutolink
)
// '<' when tags or autolinks are allowed
func leftAngle(p *Markdown, data []byte, offset int) (int, *Node) {
data = data[offset:]
altype, end := tagLength(data)
if size := p.inlineHTMLComment(data); size > 0 {
end = size
}
if end > 2 {
if altype != notAutolink {
var uLink bytes.Buffer
unescapeText(&uLink, data[1:end+1-2])
if uLink.Len() > 0 {
link := uLink.Bytes()
node := NewNode(Link)
node.Destination = link
if altype == emailAutolink {
node.Destination = append([]byte("mailto:"), link...)
}
node.AppendChild(text(stripMailto(link)))
return end, node
}
} else {
htmlTag := NewNode(HTMLSpan)
htmlTag.Literal = data[:end]
return end, htmlTag
}
}
return end, nil
}
// '\\' backslash escape
var escapeChars = []byte("\\`*_{}[]()#+-.!:|&<>~")
func escape(p *Markdown, data []byte, offset int) (int, *Node) {
data = data[offset:]
if len(data) > 1 {
if p.extensions&BackslashLineBreak != 0 && data[1] == '\n' {
return 2, NewNode(Hardbreak)
}
if bytes.IndexByte(escapeChars, data[1]) < 0 {
return 0, nil
}
return 2, text(data[1:2])
}
return 2, nil
}
func unescapeText(ob *bytes.Buffer, src []byte) {
i := 0
for i < len(src) {
org := i
for i < len(src) && src[i] != '\\' {
i++
}
if i > org {
ob.Write(src[org:i])
}
if i+1 >= len(src) {
break
}
ob.WriteByte(src[i+1])
i += 2
}
}
// '&' escaped when it doesn't belong to an entity
// valid entities are assumed to be anything matching &#?[A-Za-z0-9]+;
func entity(p *Markdown, data []byte, offset int) (int, *Node) {
data = data[offset:]
end := 1
if end < len(data) && data[end] == '#' {
end++
}
for end < len(data) && isalnum(data[end]) {
end++
}
if end < len(data) && data[end] == ';' {
end++ // real entity
} else {
return 0, nil // lone '&'
}
ent := data[:end]
// undo & escaping or it will be converted to &amp; by another
// escaper in the renderer
if bytes.Equal(ent, []byte("&")) {
ent = []byte{'&'}
}
return end, text(ent)
}
func linkEndsWithEntity(data []byte, linkEnd int) bool {
entityRanges := htmlEntityRe.FindAllIndex(data[:linkEnd], -1)
return entityRanges != nil && entityRanges[len(entityRanges)-1][1] == linkEnd
}
// hasPrefixCaseInsensitive is a custom implementation of
// strings.HasPrefix(strings.ToLower(s), prefix)
// we rolled our own because ToLower pulls in a huge machinery of lowercasing
// anything from Unicode and that's very slow. Since this func will only be
// used on ASCII protocol prefixes, we can take shortcuts.
func hasPrefixCaseInsensitive(s, prefix []byte) bool {
if len(s) < len(prefix) {
return false
}
delta := byte('a' - 'A')
for i, b := range prefix {
if b != s[i] && b != s[i]+delta {
return false
}
}
return true
}
var protocolPrefixes = [][]byte{
[]byte("http://"),
[]byte("https://"),
[]byte("ftp://"),
[]byte("file://"),
[]byte("mailto:"),
}
const shortestPrefix = 6 // len("ftp://"), the shortest of the above
func maybeAutoLink(p *Markdown, data []byte, offset int) (int, *Node) {
// quick check to rule out most false hits
if p.insideLink || len(data) < offset+shortestPrefix {
return 0, nil
}
for _, prefix := range protocolPrefixes {
endOfHead := offset + 8 // 8 is the len() of the longest prefix
if endOfHead > len(data) {
endOfHead = len(data)
}
if hasPrefixCaseInsensitive(data[offset:endOfHead], prefix) {
return autoLink(p, data, offset)
}
}
return 0, nil
}
func autoLink(p *Markdown, data []byte, offset int) (int, *Node) {
// Now a more expensive check to see if we're not inside an anchor element
anchorStart := offset
offsetFromAnchor := 0
for anchorStart > 0 && data[anchorStart] != '<' {
anchorStart--
offsetFromAnchor++
}
anchorStr := anchorRe.Find(data[anchorStart:])
if anchorStr != nil {
anchorClose := NewNode(HTMLSpan)
anchorClose.Literal = anchorStr[offsetFromAnchor:]
return len(anchorStr) - offsetFromAnchor, anchorClose
}
// scan backward for a word boundary
rewind := 0
for offset-rewind > 0 && rewind <= 7 && isletter(data[offset-rewind-1]) {
rewind++
}
if rewind > 6 { // longest supported protocol is "mailto" which has 6 letters
return 0, nil
}
origData := data
data = data[offset-rewind:]
if !isSafeLink(data) {
return 0, nil
}
linkEnd := 0
for linkEnd < len(data) && !isEndOfLink(data[linkEnd]) {
linkEnd++
}
// Skip punctuation at the end of the link
if (data[linkEnd-1] == '.' || data[linkEnd-1] == ',') && data[linkEnd-2] != '\\' {
linkEnd--
}
// But don't skip semicolon if it's a part of escaped entity:
if data[linkEnd-1] == ';' && data[linkEnd-2] != '\\' && !linkEndsWithEntity(data, linkEnd) {
linkEnd--
}
// See if the link finishes with a punctuation sign that can be closed.
var copen byte
switch data[linkEnd-1] {
case '"':
copen = '"'
case '\'':
copen = '\''
case ')':
copen = '('
case ']':
copen = '['
case '}':
copen = '{'
default:
copen = 0
}
if copen != 0 {
bufEnd := offset - rewind + linkEnd - 2
openDelim := 1
/* Try to close the final punctuation sign in this same line;
* if we managed to close it outside of the URL, that means that it's
* not part of the URL. If it closes inside the URL, that means it
* is part of the URL.
*
* Examples:
*
* foo http://www.pokemon.com/Pikachu_(Electric) bar
* => http://www.pokemon.com/Pikachu_(Electric)
*
* foo (http://www.pokemon.com/Pikachu_(Electric)) bar
* => http://www.pokemon.com/Pikachu_(Electric)
*
* foo http://www.pokemon.com/Pikachu_(Electric)) bar
* => http://www.pokemon.com/Pikachu_(Electric))
*
* (foo http://www.pokemon.com/Pikachu_(Electric)) bar
* => foo http://www.pokemon.com/Pikachu_(Electric)
*/
for bufEnd >= 0 && origData[bufEnd] != '\n' && openDelim != 0 {
if origData[bufEnd] == data[linkEnd-1] {
openDelim++
}
if origData[bufEnd] == copen {
openDelim--
}
bufEnd--
}
if openDelim == 0 {
linkEnd--
}
}
var uLink bytes.Buffer
unescapeText(&uLink, data[:linkEnd])
if uLink.Len() > 0 {
node := NewNode(Link)
node.Destination = uLink.Bytes()
node.AppendChild(text(uLink.Bytes()))
return linkEnd, node
}
return linkEnd, nil
}
func isEndOfLink(char byte) bool {
return isspace(char) || char == '<'
}
var validUris = [][]byte{[]byte("http://"), []byte("https://"), []byte("ftp://"), []byte("mailto://")}
var validPaths = [][]byte{[]byte("/"), []byte("./"), []byte("../")}
func isSafeLink(link []byte) bool {
for _, path := range validPaths {
if len(link) >= len(path) && bytes.Equal(link[:len(path)], path) {
if len(link) == len(path) {
return true
} else if isalnum(link[len(path)]) {
return true
}
}
}
for _, prefix := range validUris {
// TODO: handle unicode here
// case-insensitive prefix test
if len(link) > len(prefix) && bytes.Equal(bytes.ToLower(link[:len(prefix)]), prefix) && isalnum(link[len(prefix)]) {
return true
}
}
return false
}
// return the length of the given tag, or 0 is it's not valid
func tagLength(data []byte) (autolink autolinkType, end int) {
var i, j int
// a valid tag can't be shorter than 3 chars
if len(data) < 3 {
return notAutolink, 0
}
// begins with a '<' optionally followed by '/', followed by letter or number
if data[0] != '<' {
return notAutolink, 0
}
if data[1] == '/' {
i = 2
} else {
i = 1
}
if !isalnum(data[i]) {
return notAutolink, 0
}
// scheme test
autolink = notAutolink
// try to find the beginning of an URI
for i < len(data) && (isalnum(data[i]) || data[i] == '.' || data[i] == '+' || data[i] == '-') {
i++
}
if i > 1 && i < len(data) && data[i] == '@' {
if j = isMailtoAutoLink(data[i:]); j != 0 {
return emailAutolink, i + j
}
}
if i > 2 && i < len(data) && data[i] == ':' {
autolink = normalAutolink
i++
}
// complete autolink test: no whitespace or ' or "
switch {
case i >= len(data):
autolink = notAutolink
case autolink != notAutolink:
j = i
for i < len(data) {
if data[i] == '\\' {
i += 2
} else if data[i] == '>' || data[i] == '\'' || data[i] == '"' || isspace(data[i]) {
break
} else {
i++
}
}
if i >= len(data) {
return autolink, 0
}
if i > j && data[i] == '>' {
return autolink, i + 1
}
// one of the forbidden chars has been found
autolink = notAutolink
}
i += bytes.IndexByte(data[i:], '>')
if i < 0 {
return autolink, 0
}
return autolink, i + 1
}
// look for the address part of a mail autolink and '>'
// this is less strict than the original markdown e-mail address matching
func isMailtoAutoLink(data []byte) int {
nb := 0
// address is assumed to be: [-@._a-zA-Z0-9]+ with exactly one '@'
for i := 0; i < len(data); i++ {
if isalnum(data[i]) {
continue
}
switch data[i] {
case '@':
nb++
case '-', '.', '_':
break
case '>':
if nb == 1 {
return i + 1
}
return 0
default:
return 0
}
}
return 0
}
// look for the next emph char, skipping other constructs
func helperFindEmphChar(data []byte, c byte) int {
i := 0
for i < len(data) {
for i < len(data) && data[i] != c && data[i] != '`' && data[i] != '[' {
i++
}
if i >= len(data) {
return 0
}
// do not count escaped chars
if i != 0 && data[i-1] == '\\' {
i++
continue
}
if data[i] == c {
return i
}
if data[i] == '`' {
// skip a code span
tmpI := 0
i++
for i < len(data) && data[i] != '`' {
if tmpI == 0 && data[i] == c {
tmpI = i
}
i++
}
if i >= len(data) {
return tmpI
}
i++
} else if data[i] == '[' {
// skip a link
tmpI := 0
i++
for i < len(data) && data[i] != ']' {
if tmpI == 0 && data[i] == c {
tmpI = i
}
i++
}
i++
for i < len(data) && (data[i] == ' ' || data[i] == '\n') {
i++
}
if i >= len(data) {
return tmpI
}
if data[i] != '[' && data[i] != '(' { // not a link
if tmpI > 0 {
return tmpI
}
continue
}
cc := data[i]
i++
for i < len(data) && data[i] != cc {
if tmpI == 0 && data[i] == c {
return i
}
i++
}
if i >= len(data) {
return tmpI
}
i++
}
}
return 0
}
func helperEmphasis(p *Markdown, data []byte, c byte) (int, *Node) {
i := 0
// skip one symbol if coming from emph3
if len(data) > 1 && data[0] == c && data[1] == c {
i = 1
}
for i < len(data) {
length := helperFindEmphChar(data[i:], c)
if length == 0 {
return 0, nil
}
i += length
if i >= len(data) {
return 0, nil
}
if i+1 < len(data) && data[i+1] == c {
i++
continue
}
if data[i] == c && !isspace(data[i-1]) {
if p.extensions&NoIntraEmphasis != 0 {
if !(i+1 == len(data) || isspace(data[i+1]) || ispunct(data[i+1])) {
continue
}
}
emph := NewNode(Emph)
p.inline(emph, data[:i])
return i + 1, emph
}
}
return 0, nil
}
func helperDoubleEmphasis(p *Markdown, data []byte, c byte) (int, *Node) {
i := 0
for i < len(data) {
length := helperFindEmphChar(data[i:], c)
if length == 0 {
return 0, nil
}
i += length
if i+1 < len(data) && data[i] == c && data[i+1] == c && i > 0 && !isspace(data[i-1]) {
nodeType := Strong
if c == '~' {
nodeType = Del
}
node := NewNode(nodeType)
p.inline(node, data[:i])
return i + 2, node
}
i++
}
return 0, nil
}
func helperTripleEmphasis(p *Markdown, data []byte, offset int, c byte) (int, *Node) {
i := 0
origData := data
data = data[offset:]
for i < len(data) {
length := helperFindEmphChar(data[i:], c)
if length == 0 {
return 0, nil
}
i += length
// skip whitespace preceded symbols
if data[i] != c || isspace(data[i-1]) {
continue
}
switch {
case i+2 < len(data) && data[i+1] == c && data[i+2] == c:
// triple symbol found
strong := NewNode(Strong)
em := NewNode(Emph)
strong.AppendChild(em)
p.inline(em, data[:i])
return i + 3, strong
case (i+1 < len(data) && data[i+1] == c):
// double symbol found, hand over to emph1
length, node := helperEmphasis(p, origData[offset-2:], c)
if length == 0 {
return 0, nil
}
return length - 2, node
default:
// single symbol found, hand over to emph2
length, node := helperDoubleEmphasis(p, origData[offset-1:], c)
if length == 0 {
return 0, nil
}
return length - 1, node
}
}
return 0, nil
}
func text(s []byte) *Node {
node := NewNode(Text)
node.Literal = s
return node
}
func normalizeURI(s []byte) []byte {
return s // TODO: implement
}
| {
"pile_set_name": "Github"
} |
/* $Id$ */
/***************************************************************************
* (C) Copyright 2003-2010 - Stendhal *
***************************************************************************
***************************************************************************
* *
* 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. *
* *
***************************************************************************/
package games.stendhal.client.sound.system.processors;
import java.io.IOException;
import java.io.InputStream;
import com.jcraft.jogg.Packet;
import com.jcraft.jogg.Page;
import com.jcraft.jogg.StreamState;
import com.jcraft.jogg.SyncState;
import com.jcraft.jorbis.Block;
import com.jcraft.jorbis.Comment;
import com.jcraft.jorbis.DspState;
import com.jcraft.jorbis.Info;
import games.stendhal.client.sound.system.SignalProcessor;
import games.stendhal.common.memory.Field;
/**
*
* @author silvio
*/
public class OggVorbisDecoder extends SignalProcessor
{
private StreamState mOggStreamState = null;
private SyncState mOggSyncState = null;
private DspState mVorbisDspState = null;
private Block mVorbisBlock = null;
private Comment mVorbisComment = null;
private Info mVorbisInfo = null;
private float[][][] mUniformPCMData = new float[1][][];
int[] mPCMIndex = null;
private float[] mOutputBuffer = null;
private byte[] mInputBuffer = null;
private int mInputBufferSize = 0;
private int mReadPos = 0;
private boolean mEndOfStream = true;
private boolean mLastPageWasRead = false;
private boolean mDecoderIsOpened = false;
private InputStream mIStream = null;
protected final void init(InputStream stream, int inputBufferSize, int outputNumSamplesPerChannel) throws IOException
{
mOggStreamState = new StreamState();
mOggSyncState = new SyncState();
mVorbisDspState = new DspState();
mVorbisBlock = new Block(mVorbisDspState);
mVorbisComment = new Comment();
mVorbisInfo = new Info();
mReadPos = 0;
mEndOfStream = false;
mLastPageWasRead = false;
mOggSyncState.init();
mOggSyncState.buffer(inputBufferSize); // add "inputBufferSize" bytes to the buffer
mInputBuffer = mOggSyncState.data; // get a reference to the buffer
mInputBufferSize = inputBufferSize;
mIStream = stream;
if(!readHeader()) {
throw new IOException("could not read ogg headers");
}
// IMPORTANT: read the header first before setting up the buffers
// or else getNumChannels() will not return the right number
mPCMIndex = Field.expand(mPCMIndex , getNumChannels() , false);
mOutputBuffer = Field.expand(mOutputBuffer, (outputNumSamplesPerChannel * getNumChannels()), false);
mDecoderIsOpened = true;
}
protected Page readPage(boolean ignoreHoles, boolean updateStreamState) throws IOException
{
Page oggPage = new Page();
while(!mEndOfStream)
{
// try to get a page from the buffer
switch(mOggSyncState.pageout(oggPage))
{
case -1: // the page couldn't be read, because the data has a hole
if(!ignoreHoles)
{
return null;
// if we ignore holes we continue to "case 0:"
}
case 0: // we read to few to get a page
{
int numBytesRead = mIStream.read(mInputBuffer, mReadPos, mInputBufferSize); // read one data block into the buffer
if(numBytesRead <= 0) // it's the quit of the stream
{
mEndOfStream = true;
return null;
}
mOggSyncState.wrote(numBytesRead); // say syncState how many bytes we have read
}
break;
case 1: // we've got a page
{
if(updateStreamState) {
if(mOggStreamState.pagein(oggPage) == -1) {
return null;
}
}
if(oggPage.eos() != 0) {
mLastPageWasRead = true;
}
return oggPage;
}
}
mReadPos = mOggSyncState.buffer(mInputBufferSize); // add "mInputBufferSize" bytes to the buffer
mInputBuffer = mOggSyncState.data; // get a reference to the buffer
}
return null;
}
protected Packet readPacket(boolean ignoreHoles) throws IOException
{
Packet oggPacket = new Packet();
while(true)
{
switch(mOggStreamState.packetout(oggPacket))
{
case -1: // the packet couldn't be read, because the data has a hole
if(!ignoreHoles)
{
return null;
// if we ignore holes we continue to "case 0:"
}
case 0: // we read to few to get a packet
if(readPage(ignoreHoles, true) == null) {
return null;
}
break;
case 1:
return oggPacket;
}
}
}
protected boolean readHeader() throws IOException
{
Page firstOggPage = readPage(false, false);
if(firstOggPage == null) {
return false;
}
mOggStreamState.init(firstOggPage.serialno());
mOggStreamState.reset();
mVorbisInfo.init();
mVorbisComment.init();
if(mOggStreamState.pagein(firstOggPage) == -1) {
return false;
}
// read three packets to get the header
for(int i=0; i<3; ++i)
{
Packet oggPacket = readPacket(false);
if(oggPacket == null) {
return false;
}
if(mVorbisInfo.synthesis_headerin(mVorbisComment, oggPacket) < 0)
{
return false; // error while interpreting packet data
}
}
mVorbisDspState.synthesis_init(mVorbisInfo);
mVorbisBlock.init(mVorbisDspState);
return true;
}
protected int read() throws IOException
{
if(reachedEndOfStream()) {
return 0;
}
int outputBufferSize = mOutputBuffer.length;
int outputNumSamplesPerChannel = outputBufferSize / mVorbisInfo.channels;
int receivedNumSamples = 0;
int numSamplesReadPerChannel = 0;
int sampleIdx = 0;
while(!mEndOfStream && numSamplesReadPerChannel < outputNumSamplesPerChannel)
{
// if we read all pcm data from "uniformPCMData"
if(sampleIdx >= receivedNumSamples)
{
mVorbisDspState.synthesis_read(receivedNumSamples); // tell dsp-state that we read all samples
// receive the next chunk of uniform pcm data
receivedNumSamples = mVorbisDspState.synthesis_pcmout(mUniformPCMData, mPCMIndex);
sampleIdx = 0; // reset sample index
// if there are no more samples in the packet, we read in a new packet from the stream
if(receivedNumSamples == 0)
{
Packet oggPacket = readPacket(true);
if(oggPacket == null && mLastPageWasRead)
{
mEndOfStream = true;
return 0;
}
if(oggPacket == null || mVorbisBlock.synthesis(oggPacket) != 0)
{
continue; // if the packet we read from the stream is corrupted or has no audio data, we ignore it
}
mVorbisDspState.synthesis_blockin(mVorbisBlock);
}
}
else
{
int outputIndex = numSamplesReadPerChannel * mVorbisInfo.channels;
for(int c=0; c<mVorbisInfo.channels; ++c)
{
float outputValue = mUniformPCMData[0][c][mPCMIndex[c] + sampleIdx];
mOutputBuffer[outputIndex + c] = outputValue;
}
++numSamplesReadPerChannel;
++sampleIdx;
}
}
mVorbisDspState.synthesis_read(sampleIdx);
return numSamplesReadPerChannel;
}
protected float[] getOutputBuffer()
{
return mOutputBuffer;
}
@Override
protected boolean generate()
{
try
{
int numSamples = read();
if(reachedEndOfStream())
{
super.quit();
return false;
}
super.propagate(mOutputBuffer, numSamples, getNumChannels(), getSampleRate());
}
catch(IOException e)
{
close();
}
return true;
}
// --------------------- public interface ---------------------- //
public OggVorbisDecoder(InputStream stream, int inputBufferSize, int outputNumSamplesPerChannel) throws IOException
{
init(stream, inputBufferSize, outputNumSamplesPerChannel);
}
public synchronized int getNumChannels () { return mVorbisInfo.channels; }
public synchronized int getSampleRate () { return mVorbisInfo.rate; }
public synchronized boolean reachedEndOfStream() { return mEndOfStream; }
public synchronized void open(InputStream stream, int inputBufferSize, int outputNumSamplesPerChannel) throws IOException
{
if(!mDecoderIsOpened) {
init(stream, inputBufferSize, outputNumSamplesPerChannel);
}
}
public synchronized void close()
{
mOggStreamState.clear();
mOggSyncState.clear();
mVorbisBlock.clear();
mVorbisDspState.clear();
mVorbisInfo.clear();
try
{
mIStream.close();
}
catch(IOException exception)
{
assert false: exception.toString();
}
mIStream = null;
mDecoderIsOpened = false;
mEndOfStream = true;
}
}
| {
"pile_set_name": "Github"
} |
/*
* This file is part of WebLookAndFeel library.
*
* WebLookAndFeel library is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* WebLookAndFeel library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with WebLookAndFeel library. If not, see <http://www.gnu.org/licenses/>.
*/
package com.alee.extended.magnifier;
/**
* This enumeration represents available magnifier positioning types.
*
* @author Mikle Garin
*/
public enum MagnifierPosition
{
/**
* Position magnifier straight under the cursor location.
* This position will force you to always look at the magnified version of UI under the cursor.
*/
atCursor,
/**
* Position magnifier aside of the cursor location.
* This will allow you to see both magnified and normal versions of UI under the cursor.
*/
nearCursor,
/**
* Position magnifier where its component is located.
* This will allow you to manually place magnifier on the UI.
* <p>
* Be aware that magnifier takes snapshots of the JLayeredPane and to avoid visual confusion is usualy placed on glass pane.
* Otherwise it will also display magnified version of itself if you hover it in the UI.
*/
staticComponent
} | {
"pile_set_name": "Github"
} |
/*
* jQuery File Upload AngularJS Plugin 2.2.0
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2013, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
/* jshint nomen:false */
/* global define, angular */
(function (factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
// Register as an anonymous AMD module:
define([
'jquery',
'angular',
'./jquery.fileupload-image',
'./jquery.fileupload-audio',
'./jquery.fileupload-video',
'./jquery.fileupload-validate'
], factory);
} else {
factory();
}
}(function () {
'use strict';
angular.module('blueimp.fileupload', [])
// The fileUpload service provides configuration options
// for the fileUpload directive and default handlers for
// File Upload events:
.provider('fileUpload', function () {
var scopeEvalAsync = function (expression) {
var scope = angular.element(this)
.fileupload('option', 'scope');
// Schedule a new $digest cycle if not already inside of one
// and evaluate the given expression:
scope.$evalAsync(expression);
},
addFileMethods = function (scope, data) {
var files = data.files,
file = files[0];
angular.forEach(files, function (file, index) {
file._index = index;
file.$state = function () {
return data.state();
};
file.$processing = function () {
return data.processing();
};
file.$progress = function () {
return data.progress();
};
file.$response = function () {
return data.response();
};
});
file.$submit = function () {
if (!file.error) {
return data.submit();
}
};
file.$cancel = function () {
return data.abort();
};
},
$config;
$config = this.defaults = {
handleResponse: function (e, data) {
var files = data.result && data.result.files;
if (files) {
data.scope.replace(data.files, files);
} else if (data.errorThrown ||
data.textStatus === 'error') {
data.files[0].error = data.errorThrown ||
data.textStatus;
}
},
add: function (e, data) {
if (e.isDefaultPrevented()) {
return false;
}
var scope = data.scope,
filesCopy = [];
angular.forEach(data.files, function (file) {
filesCopy.push(file);
});
scope.$apply(function () {
addFileMethods(scope, data);
var method = scope.option('prependFiles') ?
'unshift' : 'push';
Array.prototype[method].apply(scope.queue, data.files);
});
data.process(function () {
return scope.process(data);
}).always(function () {
scope.$apply(function () {
addFileMethods(scope, data);
scope.replace(filesCopy, data.files);
});
}).then(function () {
if ((scope.option('autoUpload') ||
data.autoUpload) &&
data.autoUpload !== false) {
data.submit();
}
});
},
progress: function (e, data) {
if (e.isDefaultPrevented()) {
return false;
}
data.scope.$apply();
},
done: function (e, data) {
if (e.isDefaultPrevented()) {
return false;
}
var that = this;
data.scope.$apply(function () {
data.handleResponse.call(that, e, data);
});
},
fail: function (e, data) {
if (e.isDefaultPrevented()) {
return false;
}
var that = this,
scope = data.scope;
if (data.errorThrown === 'abort') {
scope.clear(data.files);
return;
}
scope.$apply(function () {
data.handleResponse.call(that, e, data);
});
},
stop: scopeEvalAsync,
processstart: scopeEvalAsync,
processstop: scopeEvalAsync,
getNumberOfFiles: function () {
var scope = this.scope;
return scope.queue.length - scope.processing();
},
dataType: 'json',
autoUpload: false
};
this.$get = [
function () {
return {
defaults: $config
};
}
];
})
// Format byte numbers to readable presentations:
.provider('formatFileSizeFilter', function () {
var $config = {
// Byte units following the IEC format
// http://en.wikipedia.org/wiki/Kilobyte
units: [
{size: 1000000000, suffix: ' GB'},
{size: 1000000, suffix: ' MB'},
{size: 1000, suffix: ' KB'}
]
};
this.defaults = $config;
this.$get = function () {
return function (bytes) {
if (!angular.isNumber(bytes)) {
return '';
}
var unit = true,
i = 0,
prefix,
suffix;
while (unit) {
unit = $config.units[i];
prefix = unit.prefix || '';
suffix = unit.suffix || '';
if (i === $config.units.length - 1 || bytes >= unit.size) {
return prefix + (bytes / unit.size).toFixed(2) + suffix;
}
i += 1;
}
};
};
})
// The FileUploadController initializes the fileupload widget and
// provides scope methods to control the File Upload functionality:
.controller('FileUploadController', [
'$scope', '$element', '$attrs', '$window', 'fileUpload',
function ($scope, $element, $attrs, $window, fileUpload) {
var uploadMethods = {
progress: function () {
return $element.fileupload('progress');
},
active: function () {
return $element.fileupload('active');
},
option: function (option, data) {
if (arguments.length === 1) {
return $element.fileupload('option', option);
}
$element.fileupload('option', option, data);
},
add: function (data) {
return $element.fileupload('add', data);
},
send: function (data) {
return $element.fileupload('send', data);
},
process: function (data) {
return $element.fileupload('process', data);
},
processing: function (data) {
return $element.fileupload('processing', data);
}
};
$scope.disabled = !$window.jQuery.support.fileInput;
$scope.queue = $scope.queue || [];
$scope.clear = function (files) {
var queue = this.queue,
i = queue.length,
file = files,
length = 1;
if (angular.isArray(files)) {
file = files[0];
length = files.length;
}
while (i) {
i -= 1;
if (queue[i] === file) {
return queue.splice(i, length);
}
}
};
$scope.replace = function (oldFiles, newFiles) {
var queue = this.queue,
file = oldFiles[0],
i,
j;
for (i = 0; i < queue.length; i += 1) {
if (queue[i] === file) {
for (j = 0; j < newFiles.length; j += 1) {
queue[i + j] = newFiles[j];
}
return;
}
}
};
$scope.applyOnQueue = function (method) {
var list = this.queue.slice(0),
i,
file;
for (i = 0; i < list.length; i += 1) {
file = list[i];
if (file[method]) {
file[method]();
}
}
};
$scope.submit = function () {
this.applyOnQueue('$submit');
};
$scope.cancel = function () {
this.applyOnQueue('$cancel');
};
// Add upload methods to the scope:
angular.extend($scope, uploadMethods);
// The fileupload widget will initialize with
// the options provided via "data-"-parameters,
// as well as those given via options object:
$element.fileupload(angular.extend(
{scope: $scope},
fileUpload.defaults
)).on('fileuploadadd', function (e, data) {
data.scope = $scope;
}).on('fileuploadfail', function (e, data) {
if (data.errorThrown === 'abort') {
return;
}
if (data.dataType &&
data.dataType.indexOf('json') === data.dataType.length - 4) {
try {
data.result = angular.fromJson(data.jqXHR.responseText);
} catch (ignore) {}
}
}).on([
'fileuploadadd',
'fileuploadsubmit',
'fileuploadsend',
'fileuploaddone',
'fileuploadfail',
'fileuploadalways',
'fileuploadprogress',
'fileuploadprogressall',
'fileuploadstart',
'fileuploadstop',
'fileuploadchange',
'fileuploadpaste',
'fileuploaddrop',
'fileuploaddragover',
'fileuploadchunksend',
'fileuploadchunkdone',
'fileuploadchunkfail',
'fileuploadchunkalways',
'fileuploadprocessstart',
'fileuploadprocess',
'fileuploadprocessdone',
'fileuploadprocessfail',
'fileuploadprocessalways',
'fileuploadprocessstop'
].join(' '), function (e, data) {
if ($scope.$emit(e.type, data).defaultPrevented) {
e.preventDefault();
}
}).on('remove', function () {
// Remove upload methods from the scope,
// when the widget is removed:
var method;
for (method in uploadMethods) {
if (uploadMethods.hasOwnProperty(method)) {
delete $scope[method];
}
}
});
// Observe option changes:
$scope.$watch(
$attrs.fileUpload,
function (newOptions) {
if (newOptions) {
$element.fileupload('option', newOptions);
}
}
);
}
])
// Provide File Upload progress feedback:
.controller('FileUploadProgressController', [
'$scope', '$attrs', '$parse',
function ($scope, $attrs, $parse) {
var fn = $parse($attrs.fileUploadProgress),
update = function () {
var progress = fn($scope);
if (!progress || !progress.total) {
return;
}
$scope.num = Math.floor(
progress.loaded / progress.total * 100
);
};
update();
$scope.$watch(
$attrs.fileUploadProgress + '.loaded',
function (newValue, oldValue) {
if (newValue !== oldValue) {
update();
}
}
);
}
])
// Display File Upload previews:
.controller('FileUploadPreviewController', [
'$scope', '$element', '$attrs',
function ($scope, $element, $attrs) {
$scope.$watch(
$attrs.fileUploadPreview + '.preview',
function (preview) {
$element.empty();
if (preview) {
$element.append(preview);
}
}
);
}
])
.directive('fileUpload', function () {
return {
controller: 'FileUploadController',
scope: true
};
})
.directive('fileUploadProgress', function () {
return {
controller: 'FileUploadProgressController',
scope: true
};
})
.directive('fileUploadPreview', function () {
return {
controller: 'FileUploadPreviewController'
};
})
// Enhance the HTML5 download attribute to
// allow drag&drop of files to the desktop:
.directive('download', function () {
return function (scope, elm) {
elm.on('dragstart', function (e) {
try {
e.originalEvent.dataTransfer.setData(
'DownloadURL',
[
'application/octet-stream',
elm.prop('download'),
elm.prop('href')
].join(':')
);
} catch (ignore) {}
});
};
});
}));
| {
"pile_set_name": "Github"
} |
# Copyright (c) 2012 OpenStack Foundation.
#
# 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.
from quantum.extensions import portbindings
from quantum.tests.unit import _test_extension_portbindings as test_bindings
from quantum.tests.unit import test_db_plugin as test_plugin
from quantum.tests.unit import test_security_groups_rpc as test_sg_rpc
PLUGIN_NAME = ('quantum.plugins.linuxbridge.'
'lb_quantum_plugin.LinuxBridgePluginV2')
class LinuxBridgePluginV2TestCase(test_plugin.QuantumDbPluginV2TestCase):
_plugin_name = PLUGIN_NAME
def setUp(self):
super(LinuxBridgePluginV2TestCase, self).setUp(PLUGIN_NAME)
self.port_create_status = 'DOWN'
class TestLinuxBridgeBasicGet(test_plugin.TestBasicGet,
LinuxBridgePluginV2TestCase):
pass
class TestLinuxBridgeV2HTTPResponse(test_plugin.TestV2HTTPResponse,
LinuxBridgePluginV2TestCase):
pass
class TestLinuxBridgeNetworksV2(test_plugin.TestNetworksV2,
LinuxBridgePluginV2TestCase):
pass
class TestLinuxBridgePortsV2(test_plugin.TestPortsV2,
LinuxBridgePluginV2TestCase):
def test_update_port_status_build(self):
with self.port() as port:
self.assertEqual(port['port']['status'], 'DOWN')
self.assertEqual(self.port_create_status, 'DOWN')
class TestLinuxBridgePortBinding(LinuxBridgePluginV2TestCase,
test_bindings.PortBindingsTestCase):
VIF_TYPE = portbindings.VIF_TYPE_BRIDGE
HAS_PORT_FILTER = True
FIREWALL_DRIVER = test_sg_rpc.FIREWALL_IPTABLES_DRIVER
def setUp(self):
test_sg_rpc.set_firewall_driver(self.FIREWALL_DRIVER)
super(TestLinuxBridgePortBinding, self).setUp()
class TestLinuxBridgePortBindingNoSG(TestLinuxBridgePortBinding):
HAS_PORT_FILTER = False
FIREWALL_DRIVER = test_sg_rpc.FIREWALL_NOOP_DRIVER
| {
"pile_set_name": "Github"
} |
oGrid := [[ "", "X", "X"] ; setup oGrid
,[ "X", "X", "X", "X"]
,[ "", "X", "X"]]
oNeighbor := [], oCell := [], oRoute := [] , oVisited := [] ; initialize objects
for row, oRow in oGrid
for col, val in oRow
if val ; for each valid cell in oGrid
oNeighbor[row, col] := Neighbors(row, col, oGrid) ; list valid no-connection neighbors
Solve:
for row, oRow in oGrid
for col , val in oRow
if val ; for each valid cell in oGrid
if (oSolution := SolveNoConnect(row, col, 1)).8 ; solve for this cell
break, Solve ; if solution found stop
; show solution
for i , val in oSolution
oCell[StrSplit(val, ":").1 , StrSplit(val, ":").2] := i
A := oCell[1, 2] , B := oCell[1, 3]
C := oCell[2, 1], D := oCell[2, 2] , E := oCell[2, 3], F := oCell[2, 4]
G := oCell[3, 2] , H := oCell[3, 3]
sol =
(
%A% %B%
/|\ /|\
/ | X | \
/ |/ \| \
%C% - %D% - %E% - %F%
\ |\ /| /
\ | X | /
\|/ \|/
%G% %H%
)
MsgBox % sol
return
;-----------------------------------------------------------------------
SolveNoConnect(row, col, val){
global
oRoute.push(row ":" col) ; save route
oVisited[row, col] := true ; mark this cell visited
if oRoute[8] ; if solution found
return true ; end recursion
for each, nn in StrSplit(oNeighbor[row, col], ",") ; for each no-connection neighbor of cell
{
rowX := StrSplit(nn, ":").1 , colX := StrSplit(nn, ":").2 ; get coords of this neighbor
if !oVisited[rowX, colX] ; if not previously visited
{
oVisited[rowX, colX] := true ; mark this cell visited
val++ ; increment
if (SolveNoConnect(rowX, colX, val)) ; recurse
return oRoute ; if solution found return route
}
}
oRoute.pop() ; Solution not found, backtrack oRoute
oVisited[row, col] := false ; Solution not found, remove mark
}
;-----------------------------------------------------------------------
Neighbors(row, col, oGrid){ ; return distant neighbors of oGrid[row,col]
for r , oRow in oGrid
for c, v in oRow
if (v="X") && (abs(row-r) > 1 || abs(col-c) > 1)
list .= r ":"c ","
if (row<>2) && oGrid[row, col]
list .= oGrid[row, col+1] ? row ":" col+1 "," : oGrid[row, col-1] ? row ":" col-1 "," : ""
return Trim(list, ",")
}
| {
"pile_set_name": "Github"
} |
var Node = Class.create({
initialize: function (val) {
this.value = val;
this.next = null;
},
addChild: function(node) {
this.next = node;
}
});
var LinkedList = Class.create({
initialize: function () {
this.root = new Node(null);
this.size = 0;
},
add: function (object) {
obj = this.root
while (obj.next!= null) {
obj = obj.next;
}
obj.next = new Node(object)
}
}); | {
"pile_set_name": "Github"
} |
/*
* Skeleton V2.0.4
* Copyright 2014, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 12/29/2014
*/
/* Table of contents
––––––––––––––––––––––––––––––––––––––––––––––––––
- Grid
- Base Styles
- Typography
- Links
- Buttons
- Forms
- Lists
- Code
- Tables
- Spacing
- Utilities
- Clearing
- Media Queries
*/
/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
position: relative;
width: 100%;
max-width: 960px;
margin: 0 auto;
padding: 0 20px;
box-sizing: border-box; }
.column,
.columns {
width: 100%;
float: left;
box-sizing: border-box; }
/* For devices larger than 400px */
@media (min-width: 400px) {
.container {
width: 85%;
padding: 0; }
}
/* For devices larger than 550px */
@media (min-width: 550px) {
.container {
width: 80%; }
.column,
.columns {
margin-left: 4%; }
.column:first-child,
.columns:first-child {
margin-left: 0; }
.one.column,
.one.columns { width: 4.66666666667%; }
.two.columns { width: 13.3333333333%; }
.three.columns { width: 22%; }
.four.columns { width: 30.6666666667%; }
.five.columns { width: 39.3333333333%; }
.six.columns { width: 48%; }
.seven.columns { width: 56.6666666667%; }
.eight.columns { width: 65.3333333333%; }
.nine.columns { width: 74.0%; }
.ten.columns { width: 82.6666666667%; }
.eleven.columns { width: 91.3333333333%; }
.twelve.columns { width: 100%; margin-left: 0; }
.one-third.column { width: 30.6666666667%; }
.two-thirds.column { width: 65.3333333333%; }
.one-half.column { width: 48%; }
/* Offsets */
.offset-by-one.column,
.offset-by-one.columns { margin-left: 8.66666666667%; }
.offset-by-two.column,
.offset-by-two.columns { margin-left: 17.3333333333%; }
.offset-by-three.column,
.offset-by-three.columns { margin-left: 26%; }
.offset-by-four.column,
.offset-by-four.columns { margin-left: 34.6666666667%; }
.offset-by-five.column,
.offset-by-five.columns { margin-left: 43.3333333333%; }
.offset-by-six.column,
.offset-by-six.columns { margin-left: 52%; }
.offset-by-seven.column,
.offset-by-seven.columns { margin-left: 60.6666666667%; }
.offset-by-eight.column,
.offset-by-eight.columns { margin-left: 69.3333333333%; }
.offset-by-nine.column,
.offset-by-nine.columns { margin-left: 78.0%; }
.offset-by-ten.column,
.offset-by-ten.columns { margin-left: 86.6666666667%; }
.offset-by-eleven.column,
.offset-by-eleven.columns { margin-left: 95.3333333333%; }
.offset-by-one-third.column,
.offset-by-one-third.columns { margin-left: 34.6666666667%; }
.offset-by-two-thirds.column,
.offset-by-two-thirds.columns { margin-left: 69.3333333333%; }
.offset-by-one-half.column,
.offset-by-one-half.columns { margin-left: 52%; }
}
/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */
html {
font-size: 62.5%; }
body {
font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
line-height: 1.6;
font-weight: 400;
font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #222; }
/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
margin-bottom: 2rem;
font-weight: 300; }
h1 { font-size: 4.0rem; line-height: 1.2; letter-spacing: -.1rem;}
h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; }
h3 { font-size: 3.0rem; line-height: 1.3; letter-spacing: -.1rem; }
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
h5 { font-size: 1.8rem; line-height: 1.5; letter-spacing: -.05rem; }
h6 { font-size: 1.5rem; line-height: 1.6; letter-spacing: 0; }
/* Larger than phablet */
@media (min-width: 550px) {
h1 { font-size: 5.0rem; }
h2 { font-size: 4.2rem; }
h3 { font-size: 3.6rem; }
h4 { font-size: 3.0rem; }
h5 { font-size: 2.4rem; }
h6 { font-size: 1.5rem; }
}
p {
margin-top: 0; }
/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
color: #1EAEDB; }
a:hover {
color: #0FA0CE; }
/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
display: inline-block;
height: 38px;
padding: 0 30px;
color: #555;
text-align: center;
font-size: 11px;
font-weight: 600;
line-height: 38px;
letter-spacing: .1rem;
text-transform: uppercase;
text-decoration: none;
white-space: nowrap;
background-color: transparent;
border-radius: 4px;
border: 1px solid #bbb;
cursor: pointer;
box-sizing: border-box; }
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
color: #333;
border-color: #888;
outline: 0; }
.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
color: #FFF;
background-color: #33C3F0;
border-color: #33C3F0; }
.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
color: #FFF;
background-color: #1EAEDB;
border-color: #1EAEDB; }
/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
height: 38px;
padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
background-color: #fff;
border: 1px solid #D1D1D1;
border-radius: 4px;
box-shadow: none;
box-sizing: border-box; }
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none; }
textarea {
min-height: 65px;
padding-top: 6px;
padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
border: 1px solid #33C3F0;
outline: 0; }
label,
legend {
display: block;
margin-bottom: .5rem;
font-weight: 600; }
fieldset {
padding: 0;
border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
display: inline; }
label > .label-body {
display: inline-block;
margin-left: .5rem;
font-weight: normal; }
/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
list-style: circle inside; }
ol {
list-style: decimal inside; }
ol, ul {
padding-left: 0;
margin-top: 0; }
ul ul,
ul ol,
ol ol,
ol ul {
margin: 1.5rem 0 1.5rem 3rem;
font-size: 90%; }
li {
margin-bottom: 1rem; }
/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
padding: .2rem .5rem;
margin: 0 .2rem;
font-size: 90%;
white-space: nowrap;
background: #F1F1F1;
border: 1px solid #E1E1E1;
border-radius: 4px; }
pre > code {
display: block;
padding: 1rem 1.5rem;
white-space: pre; }
/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
th,
td {
padding: 12px 15px;
text-align: left;
border-bottom: 1px solid #E1E1E1; }
th:first-child,
td:first-child {
padding-left: 0; }
th:last-child,
td:last-child {
padding-right: 0; }
/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
margin-bottom: 1rem; }
input,
textarea,
select,
fieldset {
margin-bottom: 1.5rem; }
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
margin-bottom: 2.5rem; }
/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
width: 100%;
box-sizing: border-box; }
.u-max-full-width {
max-width: 100%;
box-sizing: border-box; }
.u-pull-right {
float: right; }
.u-pull-left {
float: left; }
/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
margin-top: 3rem;
margin-bottom: 3.5rem;
border-width: 0;
border-top: 1px solid #E1E1E1; }
/* Clearing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf {
content: "";
display: table;
clear: both; }
/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/*
Note: The best way to structure the use of media queries is to create the queries
near the relevant code. For example, if you wanted to change the styles for buttons
on small devices, paste the mobile query code up in the buttons section and style it
there.
*/
/* Larger than mobile */
@media (min-width: 400px) {}
/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 550px) {}
/* Larger than tablet */
@media (min-width: 750px) {}
/* Larger than desktop */
@media (min-width: 1000px) {}
/* Larger than Desktop HD */
@media (min-width: 1200px) {}
| {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0+
//
// Copyright (C) 2015-2017 Socionext Inc.
// Author: Masahiro Yamada <[email protected]>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/mod_devicetable.h>
#include <linux/pinctrl/pinctrl.h>
#include <linux/platform_device.h>
#include "pinctrl-uniphier.h"
static const struct pinctrl_pin_desc uniphier_sld8_pins[] = {
UNIPHIER_PINCTRL_PIN(0, "PCA00", 0,
15, UNIPHIER_PIN_DRV_1BIT,
15, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(1, "PCA01", 0,
16, UNIPHIER_PIN_DRV_1BIT,
16, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(2, "PCA02", 0,
17, UNIPHIER_PIN_DRV_1BIT,
17, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(3, "PCA03", 0,
18, UNIPHIER_PIN_DRV_1BIT,
18, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(4, "PCA04", 0,
19, UNIPHIER_PIN_DRV_1BIT,
19, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(5, "PCA05", 0,
20, UNIPHIER_PIN_DRV_1BIT,
20, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(6, "PCA06", 0,
21, UNIPHIER_PIN_DRV_1BIT,
21, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(7, "PCA07", 0,
22, UNIPHIER_PIN_DRV_1BIT,
22, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(8, "PCA08", 0,
23, UNIPHIER_PIN_DRV_1BIT,
23, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(9, "PCA09", 0,
24, UNIPHIER_PIN_DRV_1BIT,
24, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(10, "PCA10", 0,
25, UNIPHIER_PIN_DRV_1BIT,
25, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(11, "PCA11", 0,
26, UNIPHIER_PIN_DRV_1BIT,
26, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(12, "PCA12", 0,
27, UNIPHIER_PIN_DRV_1BIT,
27, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(13, "PCA13", 0,
28, UNIPHIER_PIN_DRV_1BIT,
28, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(14, "PCA14", 0,
29, UNIPHIER_PIN_DRV_1BIT,
29, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(15, "XNFRE_GB", UNIPHIER_PIN_IECTRL_NONE,
30, UNIPHIER_PIN_DRV_1BIT,
30, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(16, "XNFWE_GB", UNIPHIER_PIN_IECTRL_NONE,
31, UNIPHIER_PIN_DRV_1BIT,
31, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(17, "NFALE_GB", UNIPHIER_PIN_IECTRL_NONE,
32, UNIPHIER_PIN_DRV_1BIT,
32, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(18, "NFCLE_GB", UNIPHIER_PIN_IECTRL_NONE,
33, UNIPHIER_PIN_DRV_1BIT,
33, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(19, "XNFWP_GB", UNIPHIER_PIN_IECTRL_NONE,
34, UNIPHIER_PIN_DRV_1BIT,
34, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(20, "XNFCE0_GB", UNIPHIER_PIN_IECTRL_NONE,
35, UNIPHIER_PIN_DRV_1BIT,
35, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(21, "NANDRYBY0_GB", UNIPHIER_PIN_IECTRL_NONE,
36, UNIPHIER_PIN_DRV_1BIT,
36, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(22, "XNFCE1_GB", UNIPHIER_PIN_IECTRL_NONE,
0, UNIPHIER_PIN_DRV_2BIT,
119, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(23, "NANDRYBY1_GB", UNIPHIER_PIN_IECTRL_NONE,
1, UNIPHIER_PIN_DRV_2BIT,
120, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(24, "NFD0_GB", UNIPHIER_PIN_IECTRL_NONE,
2, UNIPHIER_PIN_DRV_2BIT,
121, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(25, "NFD1_GB", UNIPHIER_PIN_IECTRL_NONE,
3, UNIPHIER_PIN_DRV_2BIT,
122, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(26, "NFD2_GB", UNIPHIER_PIN_IECTRL_NONE,
4, UNIPHIER_PIN_DRV_2BIT,
123, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(27, "NFD3_GB", UNIPHIER_PIN_IECTRL_NONE,
5, UNIPHIER_PIN_DRV_2BIT,
124, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(28, "NFD4_GB", UNIPHIER_PIN_IECTRL_NONE,
6, UNIPHIER_PIN_DRV_2BIT,
125, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(29, "NFD5_GB", UNIPHIER_PIN_IECTRL_NONE,
7, UNIPHIER_PIN_DRV_2BIT,
126, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(30, "NFD6_GB", UNIPHIER_PIN_IECTRL_NONE,
8, UNIPHIER_PIN_DRV_2BIT,
127, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(31, "NFD7_GB", UNIPHIER_PIN_IECTRL_NONE,
9, UNIPHIER_PIN_DRV_2BIT,
128, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(32, "SDCLK", 8,
10, UNIPHIER_PIN_DRV_2BIT,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(33, "SDCMD", 8,
11, UNIPHIER_PIN_DRV_2BIT,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(34, "SDDAT0", 8,
12, UNIPHIER_PIN_DRV_2BIT,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(35, "SDDAT1", 8,
13, UNIPHIER_PIN_DRV_2BIT,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(36, "SDDAT2", 8,
14, UNIPHIER_PIN_DRV_2BIT,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(37, "SDDAT3", 8,
15, UNIPHIER_PIN_DRV_2BIT,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(38, "SDCD", 8,
-1, UNIPHIER_PIN_DRV_FIXED4,
129, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(39, "SDWP", 8,
-1, UNIPHIER_PIN_DRV_FIXED4,
130, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(40, "SDVOLC", 9,
-1, UNIPHIER_PIN_DRV_FIXED4,
131, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(41, "USB0VBUS", 0,
37, UNIPHIER_PIN_DRV_1BIT,
37, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(42, "USB0OD", 0,
38, UNIPHIER_PIN_DRV_1BIT,
38, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(43, "USB1VBUS", 0,
39, UNIPHIER_PIN_DRV_1BIT,
39, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(44, "USB1OD", 0,
40, UNIPHIER_PIN_DRV_1BIT,
40, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(45, "PCRESET", 0,
41, UNIPHIER_PIN_DRV_1BIT,
41, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(46, "PCREG", 0,
42, UNIPHIER_PIN_DRV_1BIT,
42, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(47, "PCCE2", 0,
43, UNIPHIER_PIN_DRV_1BIT,
43, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(48, "PCVS1", 0,
44, UNIPHIER_PIN_DRV_1BIT,
44, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(49, "PCCD2", 0,
45, UNIPHIER_PIN_DRV_1BIT,
45, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(50, "PCCD1", 0,
46, UNIPHIER_PIN_DRV_1BIT,
46, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(51, "PCREADY", 0,
47, UNIPHIER_PIN_DRV_1BIT,
47, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(52, "PCDOE", 0,
48, UNIPHIER_PIN_DRV_1BIT,
48, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(53, "PCCE1", 0,
49, UNIPHIER_PIN_DRV_1BIT,
49, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(54, "PCWE", 0,
50, UNIPHIER_PIN_DRV_1BIT,
50, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(55, "PCOE", 0,
51, UNIPHIER_PIN_DRV_1BIT,
51, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(56, "PCWAIT", 0,
52, UNIPHIER_PIN_DRV_1BIT,
52, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(57, "PCIOWR", 0,
53, UNIPHIER_PIN_DRV_1BIT,
53, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(58, "PCIORD", 0,
54, UNIPHIER_PIN_DRV_1BIT,
54, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(59, "HS0DIN0", 0,
55, UNIPHIER_PIN_DRV_1BIT,
55, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(60, "HS0DIN1", 0,
56, UNIPHIER_PIN_DRV_1BIT,
56, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(61, "HS0DIN2", 0,
57, UNIPHIER_PIN_DRV_1BIT,
57, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(62, "HS0DIN3", 0,
58, UNIPHIER_PIN_DRV_1BIT,
58, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(63, "HS0DIN4", 0,
59, UNIPHIER_PIN_DRV_1BIT,
59, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(64, "HS0DIN5", 0,
60, UNIPHIER_PIN_DRV_1BIT,
60, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(65, "HS0DIN6", 0,
61, UNIPHIER_PIN_DRV_1BIT,
61, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(66, "HS0DIN7", 0,
62, UNIPHIER_PIN_DRV_1BIT,
62, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(67, "HS0BCLKIN", 0,
63, UNIPHIER_PIN_DRV_1BIT,
63, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(68, "HS0VALIN", 0,
64, UNIPHIER_PIN_DRV_1BIT,
64, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(69, "HS0SYNCIN", 0,
65, UNIPHIER_PIN_DRV_1BIT,
65, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(70, "HSDOUT0", 0,
66, UNIPHIER_PIN_DRV_1BIT,
66, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(71, "HSDOUT1", 0,
67, UNIPHIER_PIN_DRV_1BIT,
67, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(72, "HSDOUT2", 0,
68, UNIPHIER_PIN_DRV_1BIT,
68, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(73, "HSDOUT3", 0,
69, UNIPHIER_PIN_DRV_1BIT,
69, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(74, "HSDOUT4", 0,
70, UNIPHIER_PIN_DRV_1BIT,
70, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(75, "HSDOUT5", 0,
71, UNIPHIER_PIN_DRV_1BIT,
71, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(76, "HSDOUT6", 0,
72, UNIPHIER_PIN_DRV_1BIT,
72, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(77, "HSDOUT7", 0,
73, UNIPHIER_PIN_DRV_1BIT,
73, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(78, "HSBCLKOUT", 0,
74, UNIPHIER_PIN_DRV_1BIT,
74, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(79, "HSVALOUT", 0,
75, UNIPHIER_PIN_DRV_1BIT,
75, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(80, "HSSYNCOUT", 0,
76, UNIPHIER_PIN_DRV_1BIT,
76, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(81, "HS1DIN0", 0,
77, UNIPHIER_PIN_DRV_1BIT,
77, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(82, "HS1DIN1", 0,
78, UNIPHIER_PIN_DRV_1BIT,
78, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(83, "HS1DIN2", 0,
79, UNIPHIER_PIN_DRV_1BIT,
79, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(84, "HS1DIN3", 0,
80, UNIPHIER_PIN_DRV_1BIT,
80, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(85, "HS1DIN4", 0,
81, UNIPHIER_PIN_DRV_1BIT,
81, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(86, "HS1DIN5", 0,
82, UNIPHIER_PIN_DRV_1BIT,
82, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(87, "HS1DIN6", 0,
83, UNIPHIER_PIN_DRV_1BIT,
83, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(88, "HS1DIN7", 0,
84, UNIPHIER_PIN_DRV_1BIT,
84, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(89, "HS1BCLKIN", 0,
85, UNIPHIER_PIN_DRV_1BIT,
85, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(90, "HS1VALIN", 0,
86, UNIPHIER_PIN_DRV_1BIT,
86, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(91, "HS1SYNCIN", 0,
87, UNIPHIER_PIN_DRV_1BIT,
87, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(92, "AGCI", 3,
-1, UNIPHIER_PIN_DRV_FIXED4,
132, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(93, "AGCR", 4,
-1, UNIPHIER_PIN_DRV_FIXED4,
133, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(94, "AGCBS", 5,
-1, UNIPHIER_PIN_DRV_FIXED4,
134, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(95, "IECOUT", 0,
88, UNIPHIER_PIN_DRV_1BIT,
88, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(96, "ASMCK", 0,
89, UNIPHIER_PIN_DRV_1BIT,
89, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(97, "ABCKO", UNIPHIER_PIN_IECTRL_NONE,
90, UNIPHIER_PIN_DRV_1BIT,
90, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(98, "ALRCKO", UNIPHIER_PIN_IECTRL_NONE,
91, UNIPHIER_PIN_DRV_1BIT,
91, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(99, "ASDOUT0", UNIPHIER_PIN_IECTRL_NONE,
92, UNIPHIER_PIN_DRV_1BIT,
92, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(100, "ASDOUT1", UNIPHIER_PIN_IECTRL_NONE,
93, UNIPHIER_PIN_DRV_1BIT,
93, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(101, "ARCOUT", 0,
94, UNIPHIER_PIN_DRV_1BIT,
94, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(102, "SDA0", 10,
-1, UNIPHIER_PIN_DRV_FIXED4,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(103, "SCL0", 10,
-1, UNIPHIER_PIN_DRV_FIXED4,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(104, "SDA1", 11,
-1, UNIPHIER_PIN_DRV_FIXED4,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(105, "SCL1", 11,
-1, UNIPHIER_PIN_DRV_FIXED4,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(106, "DMDSDA0", 12,
-1, UNIPHIER_PIN_DRV_FIXED4,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(107, "DMDSCL0", 12,
-1, UNIPHIER_PIN_DRV_FIXED4,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(108, "DMDSDA1", 13,
-1, UNIPHIER_PIN_DRV_FIXED4,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(109, "DMDSCL1", 13,
-1, UNIPHIER_PIN_DRV_FIXED4,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(110, "SBO0", UNIPHIER_PIN_IECTRL_NONE,
95, UNIPHIER_PIN_DRV_1BIT,
95, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(111, "SBI0", UNIPHIER_PIN_IECTRL_NONE,
96, UNIPHIER_PIN_DRV_1BIT,
96, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(112, "SBO1", 0,
97, UNIPHIER_PIN_DRV_1BIT,
97, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(113, "SBI1", 0,
98, UNIPHIER_PIN_DRV_1BIT,
98, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(114, "TXD1", 0,
99, UNIPHIER_PIN_DRV_1BIT,
99, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(115, "RXD1", 0,
100, UNIPHIER_PIN_DRV_1BIT,
100, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(116, "HIN", 1,
-1, UNIPHIER_PIN_DRV_FIXED5,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(117, "VIN", 2,
-1, UNIPHIER_PIN_DRV_FIXED5,
-1, UNIPHIER_PIN_PULL_NONE),
UNIPHIER_PINCTRL_PIN(118, "TCON0", 0,
101, UNIPHIER_PIN_DRV_1BIT,
101, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(119, "TCON1", 0,
102, UNIPHIER_PIN_DRV_1BIT,
102, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(120, "TCON2", 0,
103, UNIPHIER_PIN_DRV_1BIT,
103, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(121, "TCON3", 0,
104, UNIPHIER_PIN_DRV_1BIT,
104, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(122, "TCON4", 0,
105, UNIPHIER_PIN_DRV_1BIT,
105, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(123, "TCON5", 0,
106, UNIPHIER_PIN_DRV_1BIT,
106, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(124, "TCON6", 0,
107, UNIPHIER_PIN_DRV_1BIT,
107, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(125, "TCON7", 0,
108, UNIPHIER_PIN_DRV_1BIT,
108, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(126, "TCON8", 0,
109, UNIPHIER_PIN_DRV_1BIT,
109, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(127, "PWMA", 0,
110, UNIPHIER_PIN_DRV_1BIT,
110, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(128, "XIRQ0", 0,
111, UNIPHIER_PIN_DRV_1BIT,
111, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(129, "XIRQ1", 0,
112, UNIPHIER_PIN_DRV_1BIT,
112, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(130, "XIRQ2", 0,
113, UNIPHIER_PIN_DRV_1BIT,
113, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(131, "XIRQ3", 0,
114, UNIPHIER_PIN_DRV_1BIT,
114, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(132, "XIRQ4", 0,
115, UNIPHIER_PIN_DRV_1BIT,
115, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(133, "XIRQ5", 0,
116, UNIPHIER_PIN_DRV_1BIT,
116, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(134, "XIRQ6", 0,
117, UNIPHIER_PIN_DRV_1BIT,
117, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(135, "XIRQ7", 0,
118, UNIPHIER_PIN_DRV_1BIT,
118, UNIPHIER_PIN_PULL_DOWN),
/* dedicated pins */
UNIPHIER_PINCTRL_PIN(136, "ED0", -1,
0, UNIPHIER_PIN_DRV_1BIT,
0, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(137, "ED1", -1,
1, UNIPHIER_PIN_DRV_1BIT,
1, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(138, "ED2", -1,
2, UNIPHIER_PIN_DRV_1BIT,
2, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(139, "ED3", -1,
3, UNIPHIER_PIN_DRV_1BIT,
3, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(140, "ED4", -1,
4, UNIPHIER_PIN_DRV_1BIT,
4, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(141, "ED5", -1,
5, UNIPHIER_PIN_DRV_1BIT,
5, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(142, "ED6", -1,
6, UNIPHIER_PIN_DRV_1BIT,
6, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(143, "ED7", -1,
7, UNIPHIER_PIN_DRV_1BIT,
7, UNIPHIER_PIN_PULL_DOWN),
UNIPHIER_PINCTRL_PIN(144, "XERWE0", -1,
8, UNIPHIER_PIN_DRV_1BIT,
8, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(145, "XERWE1", -1,
9, UNIPHIER_PIN_DRV_1BIT,
9, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(146, "ERXW", -1,
10, UNIPHIER_PIN_DRV_1BIT,
10, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(147, "ES0", -1,
11, UNIPHIER_PIN_DRV_1BIT,
11, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(148, "ES1", -1,
12, UNIPHIER_PIN_DRV_1BIT,
12, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(149, "ES2", -1,
13, UNIPHIER_PIN_DRV_1BIT,
13, UNIPHIER_PIN_PULL_UP),
UNIPHIER_PINCTRL_PIN(150, "XECS1", -1,
14, UNIPHIER_PIN_DRV_1BIT,
14, UNIPHIER_PIN_PULL_DOWN),
};
static const unsigned emmc_pins[] = {21, 22, 23, 24, 25, 26, 27};
static const int emmc_muxvals[] = {1, 1, 1, 1, 1, 1, 1};
static const unsigned emmc_dat8_pins[] = {28, 29, 30, 31};
static const int emmc_dat8_muxvals[] = {1, 1, 1, 1};
static const unsigned ether_mii_pins[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13, 14,
61, 63, 64, 65, 66, 67, 68};
static const int ether_mii_muxvals[] = {13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 27, 27, 27, 27, 27, 27, 27};
static const unsigned ether_rmii_pins[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13,
14};
static const int ether_rmii_muxvals[] = {13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13};
static const unsigned i2c0_pins[] = {102, 103};
static const int i2c0_muxvals[] = {0, 0};
static const unsigned i2c1_pins[] = {104, 105};
static const int i2c1_muxvals[] = {0, 0};
static const unsigned i2c2_pins[] = {108, 109};
static const int i2c2_muxvals[] = {2, 2};
static const unsigned i2c3_pins[] = {108, 109};
static const int i2c3_muxvals[] = {3, 3};
static const unsigned nand_pins[] = {15, 16, 17, 18, 19, 20, 21, 24, 25, 26,
27, 28, 29, 30, 31};
static const int nand_muxvals[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
static const unsigned nand_cs1_pins[] = {22, 23};
static const int nand_cs1_muxvals[] = {0, 0};
static const unsigned sd_pins[] = {32, 33, 34, 35, 36, 37, 38, 39, 40};
static const int sd_muxvals[] = {0, 0, 0, 0, 0, 0, 0, 0, 0};
static const unsigned spi0_pins[] = {118, 119, 120, 121};
static const int spi0_muxvals[] = {3, 3, 3, 3};
static const unsigned system_bus_pins[] = {136, 137, 138, 139, 140, 141, 142,
143, 144, 145, 146, 147, 148, 149};
static const int system_bus_muxvals[] = {-1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1};
static const unsigned system_bus_cs1_pins[] = {150};
static const int system_bus_cs1_muxvals[] = {-1};
static const unsigned system_bus_cs2_pins[] = {10};
static const int system_bus_cs2_muxvals[] = {1};
static const unsigned system_bus_cs3_pins[] = {11};
static const int system_bus_cs3_muxvals[] = {1};
static const unsigned system_bus_cs4_pins[] = {12};
static const int system_bus_cs4_muxvals[] = {1};
static const unsigned system_bus_cs5_pins[] = {13};
static const int system_bus_cs5_muxvals[] = {1};
static const unsigned uart0_pins[] = {70, 71};
static const int uart0_muxvals[] = {3, 3};
static const unsigned uart0_ctsrts_pins[] = {72, 74};
static const int uart0_ctsrts_muxvals[] = {3, 3};
static const unsigned uart0_modem_pins[] = {73};
static const int uart0_modem_muxvals[] = {3};
static const unsigned uart1_pins[] = {114, 115};
static const int uart1_muxvals[] = {0, 0};
static const unsigned uart2_pins[] = {112, 113};
static const int uart2_muxvals[] = {1, 1};
static const unsigned uart3_pins[] = {110, 111};
static const int uart3_muxvals[] = {1, 1};
static const unsigned usb0_pins[] = {41, 42};
static const int usb0_muxvals[] = {0, 0};
static const unsigned usb1_pins[] = {43, 44};
static const int usb1_muxvals[] = {0, 0};
static const unsigned usb2_pins[] = {114, 115};
static const int usb2_muxvals[] = {1, 1};
static const unsigned int gpio_range0_pins[] = {
0, 1, 2, 3, 4, 5, 6, 7, /* PORT0x */
8, 9, 10, 11, 12, 13, 14, 15, /* PORT1x */
32, 33, 34, 35, 36, 37, 38, 39, /* PORT2x */
59, 60, 61, 62, 63, 64, 65, 66, /* PORT3x */
95, 96, 97, 98, 99, 100, 101, 57, /* PORT4x */
70, 71, 72, 73, 74, 75, 76, 77, /* PORT5x */
81, 83, 84, 85, 86, 89, 90, 91, /* PORT6x */
118, 119, 120, 121, 122, 53, 54, 55, /* PORT7x */
41, 42, 43, 44, 79, 80, 18, 19, /* PORT8x */
110, 111, 112, 113, 114, 115, 16, 17, /* PORT9x */
40, 67, 68, 69, 78, 92, 93, 94, /* PORT10x */
48, 49, 46, 45, 123, 124, 125, 126, /* PORT11x */
47, 127, 20, 56, 22, /* PORT120-124 */
};
static const unsigned int gpio_range1_pins[] = {
116, 117, /* PORT130-131 */
};
static const unsigned int gpio_range2_pins[] = {
102, 103, 104, 105, 106, 107, 108, 109, /* PORT14x */
128, 129, 130, 131, 132, 133, 134, 135, /* XIRQ0-7 */
82, 87, 88, 50, 51, 23, 52, 58, /* XIRQ8-12, PORT165, XIRQ14-15 */
};
static const struct uniphier_pinctrl_group uniphier_sld8_groups[] = {
UNIPHIER_PINCTRL_GROUP(emmc),
UNIPHIER_PINCTRL_GROUP(emmc_dat8),
UNIPHIER_PINCTRL_GROUP(ether_mii),
UNIPHIER_PINCTRL_GROUP(ether_rmii),
UNIPHIER_PINCTRL_GROUP(i2c0),
UNIPHIER_PINCTRL_GROUP(i2c1),
UNIPHIER_PINCTRL_GROUP(i2c2),
UNIPHIER_PINCTRL_GROUP(i2c3),
UNIPHIER_PINCTRL_GROUP(nand),
UNIPHIER_PINCTRL_GROUP(nand_cs1),
UNIPHIER_PINCTRL_GROUP(sd),
UNIPHIER_PINCTRL_GROUP(spi0),
UNIPHIER_PINCTRL_GROUP(system_bus),
UNIPHIER_PINCTRL_GROUP(system_bus_cs1),
UNIPHIER_PINCTRL_GROUP(system_bus_cs2),
UNIPHIER_PINCTRL_GROUP(system_bus_cs3),
UNIPHIER_PINCTRL_GROUP(system_bus_cs4),
UNIPHIER_PINCTRL_GROUP(system_bus_cs5),
UNIPHIER_PINCTRL_GROUP(uart0),
UNIPHIER_PINCTRL_GROUP(uart0_ctsrts),
UNIPHIER_PINCTRL_GROUP(uart0_modem),
UNIPHIER_PINCTRL_GROUP(uart1),
UNIPHIER_PINCTRL_GROUP(uart2),
UNIPHIER_PINCTRL_GROUP(uart3),
UNIPHIER_PINCTRL_GROUP(usb0),
UNIPHIER_PINCTRL_GROUP(usb1),
UNIPHIER_PINCTRL_GROUP(usb2),
UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range0),
UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range1),
UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range2),
};
static const char * const emmc_groups[] = {"emmc", "emmc_dat8"};
static const char * const ether_mii_groups[] = {"ether_mii"};
static const char * const ether_rmii_groups[] = {"ether_rmii"};
static const char * const i2c0_groups[] = {"i2c0"};
static const char * const i2c1_groups[] = {"i2c1"};
static const char * const i2c2_groups[] = {"i2c2"};
static const char * const i2c3_groups[] = {"i2c3"};
static const char * const nand_groups[] = {"nand", "nand_cs1"};
static const char * const sd_groups[] = {"sd"};
static const char * const spi0_groups[] = {"spi0"};
static const char * const system_bus_groups[] = {"system_bus",
"system_bus_cs1",
"system_bus_cs2",
"system_bus_cs3",
"system_bus_cs4",
"system_bus_cs5"};
static const char * const uart0_groups[] = {"uart0", "uart0_ctsrts",
"uart0_modem"};
static const char * const uart1_groups[] = {"uart1"};
static const char * const uart2_groups[] = {"uart2"};
static const char * const uart3_groups[] = {"uart3"};
static const char * const usb0_groups[] = {"usb0"};
static const char * const usb1_groups[] = {"usb1"};
static const char * const usb2_groups[] = {"usb2"};
static const struct uniphier_pinmux_function uniphier_sld8_functions[] = {
UNIPHIER_PINMUX_FUNCTION(emmc),
UNIPHIER_PINMUX_FUNCTION(ether_mii),
UNIPHIER_PINMUX_FUNCTION(ether_rmii),
UNIPHIER_PINMUX_FUNCTION(i2c0),
UNIPHIER_PINMUX_FUNCTION(i2c1),
UNIPHIER_PINMUX_FUNCTION(i2c2),
UNIPHIER_PINMUX_FUNCTION(i2c3),
UNIPHIER_PINMUX_FUNCTION(nand),
UNIPHIER_PINMUX_FUNCTION(sd),
UNIPHIER_PINMUX_FUNCTION(spi0),
UNIPHIER_PINMUX_FUNCTION(system_bus),
UNIPHIER_PINMUX_FUNCTION(uart0),
UNIPHIER_PINMUX_FUNCTION(uart1),
UNIPHIER_PINMUX_FUNCTION(uart2),
UNIPHIER_PINMUX_FUNCTION(uart3),
UNIPHIER_PINMUX_FUNCTION(usb0),
UNIPHIER_PINMUX_FUNCTION(usb1),
UNIPHIER_PINMUX_FUNCTION(usb2),
};
static int uniphier_sld8_get_gpio_muxval(unsigned int pin,
unsigned int gpio_offset)
{
switch (gpio_offset) {
case 120 ... 127: /* XIRQ0-XIRQ7 */
return 0;
case 128 ... 132: /* XIRQ8-12 */
case 134 ... 135: /* XIRQ14-15 */
return 14;
default:
return 15;
}
}
static const struct uniphier_pinctrl_socdata uniphier_sld8_pindata = {
.pins = uniphier_sld8_pins,
.npins = ARRAY_SIZE(uniphier_sld8_pins),
.groups = uniphier_sld8_groups,
.groups_count = ARRAY_SIZE(uniphier_sld8_groups),
.functions = uniphier_sld8_functions,
.functions_count = ARRAY_SIZE(uniphier_sld8_functions),
.get_gpio_muxval = uniphier_sld8_get_gpio_muxval,
.caps = 0,
};
static int uniphier_sld8_pinctrl_probe(struct platform_device *pdev)
{
return uniphier_pinctrl_probe(pdev, &uniphier_sld8_pindata);
}
static const struct of_device_id uniphier_sld8_pinctrl_match[] = {
{ .compatible = "socionext,uniphier-sld8-pinctrl" },
{ /* sentinel */ }
};
static struct platform_driver uniphier_sld8_pinctrl_driver = {
.probe = uniphier_sld8_pinctrl_probe,
.driver = {
.name = "uniphier-sld8-pinctrl",
.of_match_table = uniphier_sld8_pinctrl_match,
.pm = &uniphier_pinctrl_pm_ops,
},
};
builtin_platform_driver(uniphier_sld8_pinctrl_driver);
| {
"pile_set_name": "Github"
} |
# number-is-nan [](https://travis-ci.org/sindresorhus/number-is-nan)
> ES2015 [`Number.isNaN()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN) [ponyfill](https://ponyfill.com)
## Install
```
$ npm install --save number-is-nan
```
## Usage
```js
var numberIsNan = require('number-is-nan');
numberIsNan(NaN);
//=> true
numberIsNan('unicorn');
//=> false
```
## License
MIT © [Sindre Sorhus](http://sindresorhus.com)
| {
"pile_set_name": "Github"
} |
0
| {
"pile_set_name": "Github"
} |
# hello world
| {
"pile_set_name": "Github"
} |
{{- $customRegistryURL := .Values.customRegistryURL | default "none" }}
{{- $registrySecret := .Values.registrySecret | default "none" }}
apiVersion: batch/v1
kind: Job
metadata:
namespace: kube-system
name: px-hook-predelete-nodelabel
labels:
heritage: {{.Release.Service | quote }}
release: {{.Release.Name | quote }}
chart: "{{.Chart.Name}}-{{.Chart.Version}}"
app.kubernetes.io/managed-by: {{.Release.Service | quote }}
app.kubernetes.io/instance: {{.Release.Name | quote }}
annotations:
"helm.sh/hook": pre-delete
"helm.sh/hook-weight": "-5"
"helm.sh/hook-delete-policy": before-hook-creation
spec:
{{ if semverCompare ">= 1.8-0" .Capabilities.KubeVersion.GitVersion }}
backoffLimit: 0
{{ else }}
activeDeadlineSeconds: 30
{{ end }}
template:
spec:
{{- if not (eq $registrySecret "none") }}
imagePullSecrets:
- name: {{ $registrySecret }}
{{- end }}
serviceAccountName: {{ template "px.hookServiceAccount" . }}
restartPolicy: Never
containers:
- name: pre-delete-job
{{- if eq $customRegistryURL "none" }}
image: "lachlanevenson/k8s-kubectl:{{ template "px.kubernetesVersion" . }}"
{{- else}}
image: "{{ $customRegistryURL }}/lachlanevenson/k8s-kubectl:{{ template "px.kubernetesVersion" . }}"
{{- end}}
args: ['label','nodes','--all','px/enabled=remove','--overwrite']
| {
"pile_set_name": "Github"
} |
Filter 1: ON PK Fc 31 Hz Gain -1.3 dB Q 1.41
Filter 2: ON PK Fc 62 Hz Gain -2.1 dB Q 1.41
Filter 3: ON PK Fc 125 Hz Gain -4.3 dB Q 1.41
Filter 4: ON PK Fc 250 Hz Gain -4.9 dB Q 1.41
Filter 5: ON PK Fc 500 Hz Gain -1.1 dB Q 1.41
Filter 6: ON PK Fc 1000 Hz Gain 2.2 dB Q 1.41
Filter 7: ON PK Fc 2000 Hz Gain 6.6 dB Q 1.41
Filter 8: ON PK Fc 4000 Hz Gain -2.5 dB Q 1.41
Filter 9: ON PK Fc 8000 Hz Gain 5.6 dB Q 1.41
Filter 10: ON PK Fc 16000 Hz Gain 0.3 dB Q 1.41 | {
"pile_set_name": "Github"
} |
<?php
//============================================================+
// File name : example_018.php
// Begin : 2008-03-06
// Last Update : 2009-09-30
//
// Description : Example 018 for TCPDF class
// RTL document with Persian language
//
// Author: Nicola Asuni
//
// (c) Copyright:
// Nicola Asuni
// Tecnick.com s.r.l.
// Via Della Pace, 11
// 09044 Quartucciu (CA)
// ITALY
// www.tecnick.com
// [email protected]
//============================================================+
/**
* Creates an example PDF TEST document using TCPDF
* @package com.tecnick.tcpdf
* @abstract TCPDF - Example: RTL document with Persian language
* @author Nicola Asuni
* @copyright 2004-2009 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - [email protected]
* @link http://tcpdf.org
* @license http://www.gnu.org/copyleft/lesser.html LGPL
* @since 2008-03-06
*/
require_once('../config/lang/eng.php');
require_once('../tcpdf.php');
// create new PDF document
$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
// set document information
$pdf->SetCreator(PDF_CREATOR);
$pdf->SetAuthor('Nicola Asuni');
$pdf->SetTitle('TCPDF Example 018');
$pdf->SetSubject('TCPDF Tutorial');
$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
// set default header data
$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE, PDF_HEADER_STRING);
// set header and footer fonts
$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
// set default monospaced font
$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
//set margins
$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
//set auto page breaks
$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
//set image scale factor
$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
// set some language dependent data:
$lg = Array();
$lg['a_meta_charset'] = 'UTF-8';
$lg['a_meta_dir'] = 'rtl';
$lg['a_meta_language'] = 'fa';
$lg['w_page'] = 'page';
//set some language-dependent strings
$pdf->setLanguageArray($lg);
// ---------------------------------------------------------
// set font
$pdf->SetFont('dejavusans', '', 12);
// add a page
$pdf->AddPage();
// Persian and English content
$htmlpersian = '<span color="#660000">Persian example:</span><br />سلام بالاخره مشکل PDF فارسی به طور کامل حل شد. اینم یک نمونش.<br />مشکل حرف \"ژ\" در بعضی کلمات مانند کلمه ویژه نیز بر طرف شد.<br />نگارش حروف لام و الف پشت سر هم نیز تصحیح شد.<br />با تشکر از "Asuni Nicola" و محمد علی گل کار برای پشتیبانی زبان فارسی.';
$pdf->WriteHTML($htmlpersian, true, 0, true, 0);
// set LTR direction for english translation
$pdf->setRTL(false);
$pdf->SetFontSize(10);
// Persian and English content
$htmlpersiantranslation = '<span color="#0000ff">Hi, At last Problem of Persian PDF Solved completely. This is a example for it.<br />Problem of "jeh" letter in some word like "ویژه" (=special) fix too.<br />The joining of laa and alf letter fix now.<br />Special thanks to "Nicola Asuni" and "Mohamad Ali Golkar" for Persian support.</span>';
$pdf->WriteHTML($htmlpersiantranslation, true, 0, true, 0);
// Restore RTL direction
$pdf->setRTL(true);
$pdf->Ln(10);
$pdf->SetFont('almohanad', '', 18);
// Arabic and English content
$pdf->Cell(0, 12, 'بِسْمِ اللهِ الرَّحْمنِ الرَّحِيمِ',0,1,'C');
$htmlcontent = 'تمَّ بِحمد الله حلّ مشكلة الكتابة باللغة العربية في ملفات الـ<span color="#FF0000">PDF</span> مع دعم الكتابة <span color="#0000FF">من اليمين إلى اليسار</span> و<span color="#009900">الحركَات</span> .<br />تم الحل بواسطة <span color="#993399">صالح المطرفي و Asuni Nicola</span> . ';
$pdf->WriteHTML($htmlcontent, true, 0, true, 0);
$pdf->Ln(5);
// set LTR direction for english translation
$pdf->setRTL(false);
$pdf->SetFontSize(18);
// Arabic and English content
$htmlcontent2 = '<span color="#0000ff">This is Arabic "العربية" Example With TCPDF.</span>';
$pdf->WriteHTML($htmlcontent2, true, 0, true, 0);
// ---------------------------------------------------------
//Close and output PDF document
$pdf->Output('example_018.pdf', 'I');
//============================================================+
// END OF FILE
//============================================================+
?>
| {
"pile_set_name": "Github"
} |
<!doctype html>
<html lang="en">
<head>
<title>Code coverage report for tcb-admin-node/lib/database/request.js</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="../../../prettify.css" />
<link rel="stylesheet" href="../../../base.css" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type='text/css'>
.coverage-summary .sorter {
background-image: url(../../../sort-arrow-sprite.png);
}
</style>
</head>
<body>
<div class='wrapper'>
<div class='pad1'>
<h1>
<a href="../../../index.html">All files</a> / <a href="index.html">tcb-admin-node/lib/database</a> request.js
</h1>
<div class='clearfix'>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Statements</span>
<span class='fraction'>5/5</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Branches</span>
<span class='fraction'>0/0</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Functions</span>
<span class='fraction'>2/2</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Lines</span>
<span class='fraction'>5/5</span>
</div>
</div>
</div>
<div class='status-line high'></div>
<pre><table class="coverage">
<tr><td class="line-count quiet">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17</td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-yes">21x</span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const cloudApiRequest_1 = require("../utils/cloudApiRequest");
class Request {
constructor(db) {
this.db = db;
}
send(action, params) {
return cloudApiRequest_1.default({
config: this.db.config.config,
params,
action
});
}
}
exports.Request = Request;
</pre></td></tr>
</table></pre>
<div class='push'></div><!-- for sticky footer -->
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Tue Oct 30 2018 17:03:51 GMT+0800 (GMT+08:00)
</div>
</div>
<script src="../../../prettify.js"></script>
<script>
window.onload = function () {
if (typeof prettyPrint === 'function') {
prettyPrint();
}
};
</script>
<script src="../../../sorter.js"></script>
</body>
</html>
| {
"pile_set_name": "Github"
} |
// Copyright Neil Groves 2009. Use, modification and
// distribution is subject to the Boost Software License, Version
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
//
// For more information, see http://www.boost.org/libs/range/
//
#ifndef BOOST_RANGE_ALGORITHM_LOWER_BOUND_HPP_INCLUDED
#define BOOST_RANGE_ALGORITHM_LOWER_BOUND_HPP_INCLUDED
#include <boost/concept_check.hpp>
#include <boost/range/begin.hpp>
#include <boost/range/end.hpp>
#include <boost/range/concepts.hpp>
#include <boost/range/detail/range_return.hpp>
#include <algorithm>
namespace boost
{
namespace range
{
/// \brief template function lower_bound
///
/// range-based version of the lower_bound std algorithm
///
/// \pre ForwardRange is a model of the ForwardRangeConcept
template< class ForwardRange, class Value >
inline BOOST_DEDUCED_TYPENAME disable_if<
is_const<ForwardRange>,
BOOST_DEDUCED_TYPENAME range_iterator<ForwardRange>::type
>::type
lower_bound( ForwardRange& rng, Value val )
{
BOOST_RANGE_CONCEPT_ASSERT(( ForwardRangeConcept<ForwardRange> ));
return std::lower_bound(boost::begin(rng), boost::end(rng), val);
}
/// \overload
template< class ForwardRange, class Value >
inline BOOST_DEDUCED_TYPENAME range_iterator<const ForwardRange>::type
lower_bound( const ForwardRange& rng, Value val )
{
BOOST_RANGE_CONCEPT_ASSERT(( ForwardRangeConcept<const ForwardRange> ));
return std::lower_bound(boost::begin(rng), boost::end(rng), val);
}
/// \overload
template< class ForwardRange, class Value, class SortPredicate >
inline BOOST_DEDUCED_TYPENAME disable_if<
is_const<ForwardRange>,
BOOST_DEDUCED_TYPENAME range_iterator<ForwardRange>::type
>::type
lower_bound( ForwardRange& rng, Value val, SortPredicate pred )
{
BOOST_RANGE_CONCEPT_ASSERT(( ForwardRangeConcept<ForwardRange> ));
return std::lower_bound(boost::begin(rng), boost::end(rng), val, pred);
}
/// \overload
template< class ForwardRange, class Value, class SortPredicate >
inline BOOST_DEDUCED_TYPENAME range_iterator<const ForwardRange>::type
lower_bound( const ForwardRange& rng, Value val, SortPredicate pred )
{
BOOST_RANGE_CONCEPT_ASSERT(( ForwardRangeConcept<const ForwardRange> ));
return std::lower_bound(boost::begin(rng), boost::end(rng), val, pred);
}
/// \overload
template< range_return_value re, class ForwardRange, class Value >
inline BOOST_DEDUCED_TYPENAME disable_if<
is_const<ForwardRange>,
BOOST_DEDUCED_TYPENAME range_return<ForwardRange,re>::type
>::type
lower_bound( ForwardRange& rng, Value val )
{
BOOST_RANGE_CONCEPT_ASSERT(( ForwardRangeConcept<ForwardRange> ));
return range_return<ForwardRange,re>::
pack(std::lower_bound(boost::begin(rng), boost::end(rng), val),
rng);
}
/// \overload
template< range_return_value re, class ForwardRange, class Value >
inline BOOST_DEDUCED_TYPENAME range_return<const ForwardRange,re>::type
lower_bound( const ForwardRange& rng, Value val )
{
BOOST_RANGE_CONCEPT_ASSERT(( ForwardRangeConcept<const ForwardRange> ));
return range_return<const ForwardRange,re>::
pack(std::lower_bound(boost::begin(rng), boost::end(rng), val),
rng);
}
/// \overload
template< range_return_value re, class ForwardRange, class Value, class SortPredicate >
inline BOOST_DEDUCED_TYPENAME disable_if<
is_const<ForwardRange>,
BOOST_DEDUCED_TYPENAME range_return<ForwardRange,re>::type
>::type
lower_bound( ForwardRange& rng, Value val, SortPredicate pred )
{
BOOST_RANGE_CONCEPT_ASSERT(( ForwardRangeConcept<ForwardRange> ));
return range_return<ForwardRange,re>::
pack(std::lower_bound(boost::begin(rng), boost::end(rng), val, pred),
rng);
}
/// \overload
template< range_return_value re, class ForwardRange, class Value, class SortPredicate >
inline BOOST_DEDUCED_TYPENAME range_return<const ForwardRange,re>::type
lower_bound( const ForwardRange& rng, Value val, SortPredicate pred )
{
BOOST_RANGE_CONCEPT_ASSERT(( ForwardRangeConcept<const ForwardRange> ));
return range_return<const ForwardRange,re>::
pack(std::lower_bound(boost::begin(rng), boost::end(rng), val, pred),
rng);
}
} // namespace range
using range::lower_bound;
} // namespace boost
#endif // include guard
| {
"pile_set_name": "Github"
} |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>serial_port_base::parity::parity</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../serial_port_base__parity.html" title="serial_port_base::parity">
<link rel="prev" href="load.html" title="serial_port_base::parity::load">
<link rel="next" href="store.html" title="serial_port_base::parity::store">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="load.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../serial_port_base__parity.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="store.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.serial_port_base__parity.parity"></a><a class="link" href="parity.html" title="serial_port_base::parity::parity">serial_port_base::parity::parity</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="asio.indexterm.serial_port_base__parity.parity"></a>
</p>
<pre class="programlisting">parity(
type t = none);
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2019 Christopher M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="load.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../serial_port_base__parity.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="store.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
| {
"pile_set_name": "Github"
} |
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2008-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Controller action implementation <strong>[INTERNAL USE]</strong>.
*
* @since 2.0.0
*/
package org.codehaus.griffon.runtime.javafx.controller;
| {
"pile_set_name": "Github"
} |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('just-compare')) :
typeof define === 'function' && define.amd ? define('@abp/utils', ['exports', 'just-compare'], factory) :
(global = global || self, factory((global.abp = global.abp || {}, global.abp.utils = global.abp.utils || {}, global.abp.utils.common = {}), global.compare));
}(this, (function (exports, compare) { 'use strict';
compare = compare && Object.prototype.hasOwnProperty.call(compare, 'default') ? compare['default'] : compare;
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
/* global Reflect, Promise */
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b)
if (b.hasOwnProperty(p))
d[p] = b[p]; };
return extendStatics(d, b);
};
function __extends(d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
}
var __assign = function () {
__assign = Object.assign || function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s)
if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
function __rest(s, e) {
var t = {};
for (var p in s)
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
}
function __decorate(decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
r = Reflect.decorate(decorators, target, key, desc);
else
for (var i = decorators.length - 1; i >= 0; i--)
if (d = decorators[i])
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
}
function __param(paramIndex, decorator) {
return function (target, key) { decorator(target, key, paramIndex); };
}
function __metadata(metadataKey, metadataValue) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
return Reflect.metadata(metadataKey, metadataValue);
}
function __awaiter(thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try {
step(generator.next(value));
}
catch (e) {
reject(e);
} }
function rejected(value) { try {
step(generator["throw"](value));
}
catch (e) {
reject(e);
} }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
}
function __generator(thisArg, body) {
var _ = { label: 0, sent: function () { if (t[0] & 1)
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f)
throw new TypeError("Generator is already executing.");
while (_)
try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
return t;
if (y = 0, t)
op = [op[0] & 2, t.value];
switch (op[0]) {
case 0:
case 1:
t = op;
break;
case 4:
_.label++;
return { value: op[1], done: false };
case 5:
_.label++;
y = op[1];
op = [0];
continue;
case 7:
op = _.ops.pop();
_.trys.pop();
continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
_ = 0;
continue;
}
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
_.label = op[1];
break;
}
if (op[0] === 6 && _.label < t[1]) {
_.label = t[1];
t = op;
break;
}
if (t && _.label < t[2]) {
_.label = t[2];
_.ops.push(op);
break;
}
if (t[2])
_.ops.pop();
_.trys.pop();
continue;
}
op = body.call(thisArg, _);
}
catch (e) {
op = [6, e];
y = 0;
}
finally {
f = t = 0;
}
if (op[0] & 5)
throw op[1];
return { value: op[0] ? op[1] : void 0, done: true };
}
}
var __createBinding = Object.create ? (function (o, m, k, k2) {
if (k2 === undefined)
k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
}) : (function (o, m, k, k2) {
if (k2 === undefined)
k2 = k;
o[k2] = m[k];
});
function __exportStar(m, exports) {
for (var p in m)
if (p !== "default" && !exports.hasOwnProperty(p))
__createBinding(exports, m, p);
}
function __values(o) {
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
if (m)
return m.call(o);
if (o && typeof o.length === "number")
return {
next: function () {
if (o && i >= o.length)
o = void 0;
return { value: o && o[i++], done: !o };
}
};
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
}
function __read(o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m)
return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
ar.push(r.value);
}
catch (error) {
e = { error: error };
}
finally {
try {
if (r && !r.done && (m = i["return"]))
m.call(i);
}
finally {
if (e)
throw e.error;
}
}
return ar;
}
function __spread() {
for (var ar = [], i = 0; i < arguments.length; i++)
ar = ar.concat(__read(arguments[i]));
return ar;
}
function __spreadArrays() {
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
}
;
function __await(v) {
return this instanceof __await ? (this.v = v, this) : new __await(v);
}
function __asyncGenerator(thisArg, _arguments, generator) {
if (!Symbol.asyncIterator)
throw new TypeError("Symbol.asyncIterator is not defined.");
var g = generator.apply(thisArg, _arguments || []), i, q = [];
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
function verb(n) { if (g[n])
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
function resume(n, v) { try {
step(g[n](v));
}
catch (e) {
settle(q[0][3], e);
} }
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
function fulfill(value) { resume("next", value); }
function reject(value) { resume("throw", value); }
function settle(f, v) { if (f(v), q.shift(), q.length)
resume(q[0][0], q[0][1]); }
}
function __asyncDelegator(o) {
var i, p;
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
}
function __asyncValues(o) {
if (!Symbol.asyncIterator)
throw new TypeError("Symbol.asyncIterator is not defined.");
var m = o[Symbol.asyncIterator], i;
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
}
function __makeTemplateObject(cooked, raw) {
if (Object.defineProperty) {
Object.defineProperty(cooked, "raw", { value: raw });
}
else {
cooked.raw = raw;
}
return cooked;
}
;
var __setModuleDefault = Object.create ? (function (o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function (o, v) {
o["default"] = v;
};
function __importStar(mod) {
if (mod && mod.__esModule)
return mod;
var result = {};
if (mod != null)
for (var k in mod)
if (Object.hasOwnProperty.call(mod, k))
__createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
}
function __importDefault(mod) {
return (mod && mod.__esModule) ? mod : { default: mod };
}
function __classPrivateFieldGet(receiver, privateMap) {
if (!privateMap.has(receiver)) {
throw new TypeError("attempted to get private field on non-instance");
}
return privateMap.get(receiver);
}
function __classPrivateFieldSet(receiver, privateMap, value) {
if (!privateMap.has(receiver)) {
throw new TypeError("attempted to set private field on non-instance");
}
privateMap.set(receiver, value);
return value;
}
var ListNode = /** @class */ (function () {
function ListNode(value) {
this.value = value;
}
return ListNode;
}());
var LinkedList = /** @class */ (function () {
function LinkedList() {
this.size = 0;
}
Object.defineProperty(LinkedList.prototype, "head", {
get: function () {
return this.first;
},
enumerable: false,
configurable: true
});
Object.defineProperty(LinkedList.prototype, "tail", {
get: function () {
return this.last;
},
enumerable: false,
configurable: true
});
Object.defineProperty(LinkedList.prototype, "length", {
get: function () {
return this.size;
},
enumerable: false,
configurable: true
});
LinkedList.prototype.attach = function (value, previousNode, nextNode) {
if (!previousNode)
return this.addHead(value);
if (!nextNode)
return this.addTail(value);
var node = new ListNode(value);
node.previous = previousNode;
previousNode.next = node;
node.next = nextNode;
nextNode.previous = node;
this.size++;
return node;
};
LinkedList.prototype.attachMany = function (values, previousNode, nextNode) {
if (!values.length)
return [];
if (!previousNode)
return this.addManyHead(values);
if (!nextNode)
return this.addManyTail(values);
var list = new LinkedList();
list.addManyTail(values);
list.first.previous = previousNode;
previousNode.next = list.first;
list.last.next = nextNode;
nextNode.previous = list.last;
this.size += values.length;
return list.toNodeArray();
};
LinkedList.prototype.detach = function (node) {
if (!node.previous)
return this.dropHead();
if (!node.next)
return this.dropTail();
node.previous.next = node.next;
node.next.previous = node.previous;
this.size--;
return node;
};
LinkedList.prototype.add = function (value) {
var _this = this;
return {
after: function () {
var _a;
var params = [];
for (var _i = 0; _i < arguments.length; _i++) {
params[_i] = arguments[_i];
}
return (_a = _this.addAfter).call.apply(_a, __spread([_this, value], params));
},
before: function () {
var _a;
var params = [];
for (var _i = 0; _i < arguments.length; _i++) {
params[_i] = arguments[_i];
}
return (_a = _this.addBefore).call.apply(_a, __spread([_this, value], params));
},
byIndex: function (position) { return _this.addByIndex(value, position); },
head: function () { return _this.addHead(value); },
tail: function () { return _this.addTail(value); },
};
};
LinkedList.prototype.addMany = function (values) {
var _this = this;
return {
after: function () {
var _a;
var params = [];
for (var _i = 0; _i < arguments.length; _i++) {
params[_i] = arguments[_i];
}
return (_a = _this.addManyAfter).call.apply(_a, __spread([_this, values], params));
},
before: function () {
var _a;
var params = [];
for (var _i = 0; _i < arguments.length; _i++) {
params[_i] = arguments[_i];
}
return (_a = _this.addManyBefore).call.apply(_a, __spread([_this, values], params));
},
byIndex: function (position) { return _this.addManyByIndex(values, position); },
head: function () { return _this.addManyHead(values); },
tail: function () { return _this.addManyTail(values); },
};
};
LinkedList.prototype.addAfter = function (value, previousValue, compareFn) {
if (compareFn === void 0) { compareFn = compare; }
var previous = this.find(function (node) { return compareFn(node.value, previousValue); });
return previous ? this.attach(value, previous, previous.next) : this.addTail(value);
};
LinkedList.prototype.addBefore = function (value, nextValue, compareFn) {
if (compareFn === void 0) { compareFn = compare; }
var next = this.find(function (node) { return compareFn(node.value, nextValue); });
return next ? this.attach(value, next.previous, next) : this.addHead(value);
};
LinkedList.prototype.addByIndex = function (value, position) {
if (position < 0)
position += this.size;
else if (position >= this.size)
return this.addTail(value);
if (position <= 0)
return this.addHead(value);
var next = this.get(position);
return this.attach(value, next.previous, next);
};
LinkedList.prototype.addHead = function (value) {
var node = new ListNode(value);
node.next = this.first;
if (this.first)
this.first.previous = node;
else
this.last = node;
this.first = node;
this.size++;
return node;
};
LinkedList.prototype.addTail = function (value) {
var node = new ListNode(value);
if (this.first) {
node.previous = this.last;
this.last.next = node;
this.last = node;
}
else {
this.first = node;
this.last = node;
}
this.size++;
return node;
};
LinkedList.prototype.addManyAfter = function (values, previousValue, compareFn) {
if (compareFn === void 0) { compareFn = compare; }
var previous = this.find(function (node) { return compareFn(node.value, previousValue); });
return previous ? this.attachMany(values, previous, previous.next) : this.addManyTail(values);
};
LinkedList.prototype.addManyBefore = function (values, nextValue, compareFn) {
if (compareFn === void 0) { compareFn = compare; }
var next = this.find(function (node) { return compareFn(node.value, nextValue); });
return next ? this.attachMany(values, next.previous, next) : this.addManyHead(values);
};
LinkedList.prototype.addManyByIndex = function (values, position) {
if (position < 0)
position += this.size;
if (position <= 0)
return this.addManyHead(values);
if (position >= this.size)
return this.addManyTail(values);
var next = this.get(position);
return this.attachMany(values, next.previous, next);
};
LinkedList.prototype.addManyHead = function (values) {
var _this = this;
return values.reduceRight(function (nodes, value) {
nodes.unshift(_this.addHead(value));
return nodes;
}, []);
};
LinkedList.prototype.addManyTail = function (values) {
var _this = this;
return values.map(function (value) { return _this.addTail(value); });
};
LinkedList.prototype.drop = function () {
var _this = this;
return {
byIndex: function (position) { return _this.dropByIndex(position); },
byValue: function () {
var params = [];
for (var _i = 0; _i < arguments.length; _i++) {
params[_i] = arguments[_i];
}
return _this.dropByValue.apply(_this, params);
},
byValueAll: function () {
var params = [];
for (var _i = 0; _i < arguments.length; _i++) {
params[_i] = arguments[_i];
}
return _this.dropByValueAll.apply(_this, params);
},
head: function () { return _this.dropHead(); },
tail: function () { return _this.dropTail(); },
};
};
LinkedList.prototype.dropMany = function (count) {
var _this = this;
return {
byIndex: function (position) { return _this.dropManyByIndex(count, position); },
head: function () { return _this.dropManyHead(count); },
tail: function () { return _this.dropManyTail(count); },
};
};
LinkedList.prototype.dropByIndex = function (position) {
if (position < 0)
position += this.size;
var current = this.get(position);
return current ? this.detach(current) : undefined;
};
LinkedList.prototype.dropByValue = function (value, compareFn) {
if (compareFn === void 0) { compareFn = compare; }
var position = this.findIndex(function (node) { return compareFn(node.value, value); });
return position < 0 ? undefined : this.dropByIndex(position);
};
LinkedList.prototype.dropByValueAll = function (value, compareFn) {
if (compareFn === void 0) { compareFn = compare; }
var dropped = [];
for (var current = this.first, position = 0; current; position++, current = current.next) {
if (compareFn(current.value, value)) {
dropped.push(this.dropByIndex(position - dropped.length));
}
}
return dropped;
};
LinkedList.prototype.dropHead = function () {
var head = this.first;
if (head) {
this.first = head.next;
if (this.first)
this.first.previous = undefined;
else
this.last = undefined;
this.size--;
return head;
}
return undefined;
};
LinkedList.prototype.dropTail = function () {
var tail = this.last;
if (tail) {
this.last = tail.previous;
if (this.last)
this.last.next = undefined;
else
this.first = undefined;
this.size--;
return tail;
}
return undefined;
};
LinkedList.prototype.dropManyByIndex = function (count, position) {
if (count <= 0)
return [];
if (position < 0)
position = Math.max(position + this.size, 0);
else if (position >= this.size)
return [];
count = Math.min(count, this.size - position);
var dropped = [];
while (count--) {
var current = this.get(position);
dropped.push(this.detach(current));
}
return dropped;
};
LinkedList.prototype.dropManyHead = function (count) {
if (count <= 0)
return [];
count = Math.min(count, this.size);
var dropped = [];
while (count--)
dropped.unshift(this.dropHead());
return dropped;
};
LinkedList.prototype.dropManyTail = function (count) {
if (count <= 0)
return [];
count = Math.min(count, this.size);
var dropped = [];
while (count--)
dropped.push(this.dropTail());
return dropped;
};
LinkedList.prototype.find = function (predicate) {
for (var current = this.first, position = 0; current; position++, current = current.next) {
if (predicate(current, position, this))
return current;
}
return undefined;
};
LinkedList.prototype.findIndex = function (predicate) {
for (var current = this.first, position = 0; current; position++, current = current.next) {
if (predicate(current, position, this))
return position;
}
return -1;
};
LinkedList.prototype.forEach = function (iteratorFn) {
for (var node = this.first, position = 0; node; position++, node = node.next) {
iteratorFn(node, position, this);
}
};
LinkedList.prototype.get = function (position) {
return this.find(function (_, index) { return position === index; });
};
LinkedList.prototype.indexOf = function (value, compareFn) {
if (compareFn === void 0) { compareFn = compare; }
return this.findIndex(function (node) { return compareFn(node.value, value); });
};
LinkedList.prototype.toArray = function () {
var array = new Array(this.size);
this.forEach(function (node, index) { return (array[index] = node.value); });
return array;
};
LinkedList.prototype.toNodeArray = function () {
var array = new Array(this.size);
this.forEach(function (node, index) { return (array[index] = node); });
return array;
};
LinkedList.prototype.toString = function (mapperFn) {
if (mapperFn === void 0) { mapperFn = JSON.stringify; }
return this.toArray()
.map(function (value) { return mapperFn(value); })
.join(' <-> ');
};
// Cannot use Generator type because of ng-packagr
LinkedList.prototype[Symbol.iterator] = function () {
var node, position;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
node = this.first, position = 0;
_a.label = 1;
case 1:
if (!node) return [3 /*break*/, 4];
return [4 /*yield*/, node.value];
case 2:
_a.sent();
_a.label = 3;
case 3:
position++, node = node.next;
return [3 /*break*/, 1];
case 4: return [2 /*return*/];
}
});
};
return LinkedList;
}());
/*
* Public API Surface of utils
*/
/**
* Generated bundle index. Do not edit.
*/
exports.LinkedList = LinkedList;
exports.ListNode = ListNode;
Object.defineProperty(exports, '__esModule', { value: true });
})));
//# sourceMappingURL=abp-utils.umd.js.map
| {
"pile_set_name": "Github"
} |
/*
Copyright (c) 2012, pGina Team
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the pGina Team nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Dynamic;
namespace pGina.Core.Messages
{
public class UserInformationResponseMessage : UserInformationRequestMessage
{
public string OriginalUsername { get; set; }
public string Username { get; set; }
public string Domain { get; set; }
public UserInformationResponseMessage(IDictionary<string, object> expandoVersion)
{
FromDict(expandoVersion);
}
public UserInformationResponseMessage()
{
OriginalUsername = "";
Username = "";
Domain = "";
}
public override void FromDict(IDictionary<string, object> expandoVersion)
{
base.FromDict(expandoVersion);
OriginalUsername = (string) expandoVersion["OriginalUsername"];
Username = (string) expandoVersion["Username"];
Domain = (string) expandoVersion["Domain"];
}
public override IDictionary<string, object> ToDict()
{
Dictionary<string, object> dict = base.ToDict() as Dictionary<string, object>;
dict["OriginalUsername"] = this.OriginalUsername;
dict["Username"] = this.Username;
dict["Domain"] = this.Domain;
dict["MessageType"] = (byte)MessageType.UserInfoResponse;
return dict;
}
}
}
| {
"pile_set_name": "Github"
} |
import styles from './document.module.css'
<div className={styles.Document}>
# About Me
I made a blog!
</div> | {
"pile_set_name": "Github"
} |
#!/bin/bash
# Copyright (C) 2012 The Regents of The University California.
# 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.
get_abs_path() {
local PARENT_DIR=$(dirname "$1")
cd "$PARENT_DIR"
local ABS_PATH="$(pwd)"/"$(basename $1)"
cd - >/dev/null
echo $ABS_PATH
}
CURRENTFILE=`get_abs_path $0`
BINDIR="`dirname $CURRENTFILE`"
FWDIR="`dirname $BINDIR`/.."
# Load environment variables from conf/shark-env.sh, if it exists
if [ -e $FWDIR/conf/shark-env.sh ] ; then
. $FWDIR/conf/shark-env.sh
fi
# Hive related section.
if [ -z $HIVE_DEV_HOME ] ; then
echo "No HIVE_DEV_HOME specified. Please set HIVE_DEV_HOME"
exit 1
fi
# Hive related section.
if [ -z $HADOOP_HOME ] ; then
echo "No HADOOP_HOME specified. Please set HADOOP_HOME"
exit 1
fi
# Check for SCALA_HOME
if [ -z $SCALA_HOME ] ; then
echo "No SCALA_HOME specified. Please set SCALA_HOME"
exit 1
fi
if [ -n "$TEST_FILE" ] ; then
TEST_FILE=`get_abs_path $TEST_FILE`
export TEST_FILE
fi
SPARK_CLASSPATH+=":${HIVE_DEV_HOME}/build/ql/test/classes"
SPARK_CLASSPATH+=":${HIVE_DEV_HOME}/build/ivy/lib/test/hadoop-test-0.20.2.jar"
SPARK_CLASSPATH+=":${HIVE_DEV_HOME}/data/conf"
export SPARK_CLASSPATH
BUILD_PATH=$HIVE_DEV_HOME/build/ql
# Set variables used by unit tests (ex. create_like.q).
TEST_JAVA_OPTS="-Dbuild.dir=${HIVE_DEV_HOME}/build/ql "
TEST_JAVA_OPTS+="-Dbuild.dir.hive=${HIVE_DEV_HOME}/build "
TEST_JAVA_OPTS+="-Dbuild.ivy.lib.dir=${HIVE_DEV_HOME}/build/ivy/lib "
TEST_JAVA_OPTS+="-Dderby.version=10.4.2.0 "
TEST_JAVA_OPTS+="-Dlog4j.configuration=file://${HIVE_DEV_HOME}/data/conf/hive-log4j.properties "
TEST_JAVA_OPTS+="-Dtest.log.dir=${BUILD_PATH}/test/logs "
TEST_JAVA_OPTS+="-Dtest.output.overwrite=false "
TEST_JAVA_OPTS+="-Dtest.src.data.dir=${HIVE_DEV_HOME}/data "
TEST_JAVA_OPTS+="-Dtest.tmp.dir=${BUILD_PATH}/tmp "
TEST_JAVA_OPTS+="-Dtest.warehouse.dir=${BUILD_PATH}/test/data/warehouse "
#TEST_JAVA_OPTS+="-Duser.dir=${HIVE_DEV_HOME}/ql "
export TEST_JAVA_OPTS
# Set the current directory to hive/ql since lots of tests use relative path.
cd ${HIVE_DEV_HOME}/ql
if [ "$TEST_WITH_ANT" == "1" ] ; then
CLASSPATH+=":$SCALA_HOME/lib/scala-library.jar"
CLASSPATH+=":$SCALA_HOME/lib/scala-compiler.jar"
CLASSPATH+=":$SCALA_HOME/lib/jline.jar"
export CLASSPATH
export RUNNER="ant -noclasspath -nouserlib -f $FWDIR/bin/dev/build_test.xml test"
exec $FWDIR/run "$@"
else
export SHARK_LAUNCH_WITH_JAVA=1
exec $FWDIR/run junit.textui.TestRunner shark.TestSharkCliDriver "$@"
fi
| {
"pile_set_name": "Github"
} |
---
title: CM_PROB_FAILED_POST_START
description: CM_PROB_FAILED_POST_START
ms.assetid: 82d43c8b-d5de-4395-9ca0-34d2258b9772
keywords:
- CM_PROB_FAILED_POST_START
ms.date: 02/28/2020
ms.localizationpriority: medium
---
# Code 43 - CM_PROB_FAILED_POST_START
This Device Manager error message indicates that a driver has reported a device failure.
## Error Code
43
### Display Message
"Windows has stopped this device because it has reported problems. (Code 43)"
### Recommended Resolution
Uninstall and reinstall the device.
One of the drivers controlling the device told the operating system the device failed in some manner in response to IRP_MN_QUERY_PNP_DEVICE_STATE.
## For driver developers
A driver [invalidated the device state](/windows-hardware/drivers/ddi/wdm/nf-wdm-ioinvalidatedevicestate) of the device and in the resulting query device state the device stack reported [PNP_DEVICE_FAILED](../kernel/irp-mn-query-pnp-device-state.md).
If the driver is a WDF driver, the reporting of the device as failed may be indirectly caused by the WDF driver calling [**WdfDeviceSetFailed**](/windows-hardware/drivers/ddi/wdfdevice/nf-wdfdevice-wdfdevicesetfailed) or returning an error from a WDF callback. For more info, see [Reporting Device Failures](../wdf/reporting-device-failures.md). | {
"pile_set_name": "Github"
} |
/*
* Portions of this file are copyright Rebirth contributors and licensed as
* described in COPYING.txt.
* Portions of this file are copyright Parallax Software and licensed
* according to the Parallax license below.
* See COPYING.txt for license details.
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
*/
/*
*
* header for demo playback system
*
*/
#pragma once
#ifdef __cplusplus
#include "physfsx.h"
#include "fwd-object.h"
#include "fwd-segment.h"
#include "fwd-weapon.h"
#include "fwd-window.h"
#define ND_STATE_NORMAL 0
#define ND_STATE_RECORDING 1
#define ND_STATE_PLAYBACK 2
#define ND_STATE_PAUSED 3
#define ND_STATE_REWINDING 4
#define ND_STATE_FASTFORWARD 5
#define ND_STATE_ONEFRAMEFORWARD 6
#define ND_STATE_ONEFRAMEBACKWARD 7
#define DEMO_DIR "demos/"
#define DEMO_EXT "dem"
extern const std::array<file_extension_t, 1> demo_file_extensions;
#if DXX_WORDS_BIGENDIAN
#define DEMO_BACKUP_EXT "386"
#else
#define DEMO_BACKUP_EXT "ppc"
#endif
// Gives state of recorder
extern int Newdemo_state;
extern int NewdemoFrameCount;
extern int Newdemo_vcr_state;
extern int Newdemo_game_mode;
extern sbyte Newdemo_do_interpolate;
extern int Newdemo_show_percentage;
//Does demo start automatically?
extern int Auto_demo;
extern int Newdemo_num_written;
#if defined(DXX_BUILD_DESCENT_II)
extern ubyte DemoDoRight,DemoDoLeft;
extern struct object DemoRightExtra,DemoLeftExtra;
#endif
// Functions called during recording process...
#ifdef dsx
namespace dsx {
extern void newdemo_record_start_demo();
extern void newdemo_record_start_frame(fix frame_time );
}
#endif
#ifdef dsx
#ifdef dsx
namespace dsx {
void newdemo_record_render_object(vmobjptridx_t obj);
void newdemo_record_viewer_object(vcobjptridx_t obj);
}
#endif
icobjptridx_t newdemo_find_object(object_signature_t signature);
void newdemo_record_kill_sound_linked_to_object(vcobjptridx_t);
namespace dsx {
void newdemo_start_playback(const char *filename);
void newdemo_record_morph_frame(vcobjptridx_t);
}
#endif
extern void newdemo_record_sound_3d_once( int soundno, int angle, int volume );
extern void newdemo_record_sound_once( int soundno );
extern void newdemo_record_sound( int soundno );
void newdemo_record_wall_hit_process( segnum_t segnum, int side, int damage, int playernum );
extern void newdemo_record_player_stats(int shields, int energy, int score );
void newdemo_record_wall_toggle(segnum_t segnum, int side );
extern void newdemo_record_control_center_destroyed();
extern void newdemo_record_hud_message(const char *s);
extern void newdemo_record_palette_effect(short r, short g, short b);
extern void newdemo_record_player_energy(int);
extern void newdemo_record_player_shields(int);
extern void newdemo_record_player_flags(unsigned);
extern void newdemo_record_player_weapon(int, int);
void newdemo_record_effect_blowup(segnum_t, int, const vms_vector &);
extern void newdemo_record_homing_distance(fix);
extern void newdemo_record_letterbox(void);
extern void newdemo_record_rearview(void);
extern void newdemo_record_restore_cockpit(void);
#ifdef dsx
void newdemo_record_wall_set_tmap_num1(vcsegidx_t seg, unsigned side, vcsegidx_t cseg, unsigned cside, texture1_value tmap);
void newdemo_record_wall_set_tmap_num2(vcsegidx_t seg, unsigned side, vcsegidx_t cseg, unsigned cside, texture2_value tmap);
#endif
extern void newdemo_record_multi_cloak(int pnum);
extern void newdemo_record_multi_decloak(int pnum);
#ifdef dsx
namespace dsx {
extern void newdemo_set_new_level(int level_num);
}
#endif
extern void newdemo_record_restore_rearview(void);
extern void newdemo_record_multi_death(int pnum);
extern void newdemo_record_multi_kill(int pnum, sbyte kill);
void newdemo_record_multi_connect(unsigned pnum, unsigned new_player, const char *new_callsign);
extern void newdemo_record_multi_reconnect(int pnum);
extern void newdemo_record_multi_disconnect(int pnum);
extern void newdemo_record_player_score(int score);
void newdemo_record_multi_score(unsigned pnum, int score);
extern void newdemo_record_primary_ammo(int new_ammo);
extern void newdemo_record_secondary_ammo(int new_ammo);
void newdemo_record_door_opening(segnum_t segnum, int side);
void newdemo_record_laser_level(laser_level old_level, laser_level new_level);
#ifdef dsx
namespace dsx {
#if defined(DXX_BUILD_DESCENT_II)
void newdemo_record_player_afterburner(fix afterburner);
void newdemo_record_cloaking_wall(int front_wall_num, int back_wall_num, ubyte type, ubyte state, fix cloak_value, fix l0, fix l1, fix l2, fix l3);
void newdemo_record_guided_start();
void newdemo_record_guided_end();
void newdemo_record_secret_exit_blown(int truth);
void newdemo_record_trigger(vcsegidx_t segnum, unsigned side, objnum_t objnum, unsigned shot);
#endif
}
#endif
// Functions called during playback process...
extern void newdemo_object_move_all();
extern window_event_result newdemo_playback_one_frame();
#ifdef dsx
namespace dsx {
extern window_event_result newdemo_goto_end(int to_rewrite);
}
#endif
extern window_event_result newdemo_goto_beginning();
// Interactive functions to control playback/record;
#ifdef dsx
namespace dsx {
extern void newdemo_stop_playback();
}
#endif
extern void newdemo_start_recording();
extern void newdemo_stop_recording();
extern int newdemo_swap_endian(const char *filename);
extern int newdemo_get_percent_done();
extern void newdemo_record_link_sound_to_object3( int soundno, objnum_t objnum, fix max_volume, fix max_distance, int loop_start, int loop_end );
int newdemo_count_demos();
void newdemo_strip_frames(char *, int);
#endif
| {
"pile_set_name": "Github"
} |
/**
* The main package with top level API for server side components.
*/
package tigase.server;
| {
"pile_set_name": "Github"
} |
//===---------- AArch64CollectLOH.cpp - AArch64 collect LOH pass --*- C++ -*-=//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This file contains a pass that collect the Linker Optimization Hint (LOH).
// This pass should be run at the very end of the compilation flow, just before
// assembly printer.
// To be useful for the linker, the LOH must be printed into the assembly file.
//
// A LOH describes a sequence of instructions that may be optimized by the
// linker.
// This same sequence cannot be optimized by the compiler because some of
// the information will be known at link time.
// For instance, consider the following sequence:
// L1: adrp xA, sym@PAGE
// L2: add xB, xA, sym@PAGEOFF
// L3: ldr xC, [xB, #imm]
// This sequence can be turned into:
// A literal load if sym@PAGE + sym@PAGEOFF + #imm - address(L3) is < 1MB:
// L3: ldr xC, sym+#imm
// It may also be turned into either the following more efficient
// code sequences:
// - If sym@PAGEOFF + #imm fits the encoding space of L3.
// L1: adrp xA, sym@PAGE
// L3: ldr xC, [xB, sym@PAGEOFF + #imm]
// - If sym@PAGE + sym@PAGEOFF - address(L1) < 1MB:
// L1: adr xA, sym
// L3: ldr xC, [xB, #imm]
//
// To be valid a LOH must meet all the requirements needed by all the related
// possible linker transformations.
// For instance, using the running example, the constraints to emit
// ".loh AdrpAddLdr" are:
// - L1, L2, and L3 instructions are of the expected type, i.e.,
// respectively ADRP, ADD (immediate), and LD.
// - The result of L1 is used only by L2.
// - The register argument (xA) used in the ADD instruction is defined
// only by L1.
// - The result of L2 is used only by L3.
// - The base address (xB) in L3 is defined only L2.
// - The ADRP in L1 and the ADD in L2 must reference the same symbol using
// @PAGE/@PAGEOFF with no additional constants
//
// Currently supported LOHs are:
// * So called non-ADRP-related:
// - .loh AdrpAddLdr L1, L2, L3:
// L1: adrp xA, sym@PAGE
// L2: add xB, xA, sym@PAGEOFF
// L3: ldr xC, [xB, #imm]
// - .loh AdrpLdrGotLdr L1, L2, L3:
// L1: adrp xA, sym@GOTPAGE
// L2: ldr xB, [xA, sym@GOTPAGEOFF]
// L3: ldr xC, [xB, #imm]
// - .loh AdrpLdr L1, L3:
// L1: adrp xA, sym@PAGE
// L3: ldr xC, [xA, sym@PAGEOFF]
// - .loh AdrpAddStr L1, L2, L3:
// L1: adrp xA, sym@PAGE
// L2: add xB, xA, sym@PAGEOFF
// L3: str xC, [xB, #imm]
// - .loh AdrpLdrGotStr L1, L2, L3:
// L1: adrp xA, sym@GOTPAGE
// L2: ldr xB, [xA, sym@GOTPAGEOFF]
// L3: str xC, [xB, #imm]
// - .loh AdrpAdd L1, L2:
// L1: adrp xA, sym@PAGE
// L2: add xB, xA, sym@PAGEOFF
// For all these LOHs, L1, L2, L3 form a simple chain:
// L1 result is used only by L2 and L2 result by L3.
// L3 LOH-related argument is defined only by L2 and L2 LOH-related argument
// by L1.
// All these LOHs aim at using more efficient load/store patterns by folding
// some instructions used to compute the address directly into the load/store.
//
// * So called ADRP-related:
// - .loh AdrpAdrp L2, L1:
// L2: ADRP xA, sym1@PAGE
// L1: ADRP xA, sym2@PAGE
// L2 dominates L1 and xA is not redifined between L2 and L1
// This LOH aims at getting rid of redundant ADRP instructions.
//
// The overall design for emitting the LOHs is:
// 1. AArch64CollectLOH (this pass) records the LOHs in the AArch64FunctionInfo.
// 2. AArch64AsmPrinter reads the LOHs from AArch64FunctionInfo and it:
// 1. Associates them a label.
// 2. Emits them in a MCStreamer (EmitLOHDirective).
// - The MCMachOStreamer records them into the MCAssembler.
// - The MCAsmStreamer prints them.
// - Other MCStreamers ignore them.
// 3. Closes the MCStreamer:
// - The MachObjectWriter gets them from the MCAssembler and writes
// them in the object file.
// - Other ObjectWriters ignore them.
//===----------------------------------------------------------------------===//
#include "AArch64.h"
#include "AArch64InstrInfo.h"
#include "AArch64MachineFunctionInfo.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetMachine.h"
using namespace llvm;
#define DEBUG_TYPE "aarch64-collect-loh"
STATISTIC(NumADRPSimpleCandidate,
"Number of simplifiable ADRP dominate by another");
STATISTIC(NumADDToSTR, "Number of simplifiable STR reachable by ADD");
STATISTIC(NumLDRToSTR, "Number of simplifiable STR reachable by LDR");
STATISTIC(NumADDToLDR, "Number of simplifiable LDR reachable by ADD");
STATISTIC(NumLDRToLDR, "Number of simplifiable LDR reachable by LDR");
STATISTIC(NumADRPToLDR, "Number of simplifiable LDR reachable by ADRP");
STATISTIC(NumADRSimpleCandidate, "Number of simplifiable ADRP + ADD");
#define AARCH64_COLLECT_LOH_NAME "AArch64 Collect Linker Optimization Hint (LOH)"
namespace {
struct AArch64CollectLOH : public MachineFunctionPass {
static char ID;
AArch64CollectLOH() : MachineFunctionPass(ID) {}
bool runOnMachineFunction(MachineFunction &MF) override;
MachineFunctionProperties getRequiredProperties() const override {
return MachineFunctionProperties().set(
MachineFunctionProperties::Property::NoVRegs);
}
StringRef getPassName() const override { return AARCH64_COLLECT_LOH_NAME; }
void getAnalysisUsage(AnalysisUsage &AU) const override {
MachineFunctionPass::getAnalysisUsage(AU);
AU.setPreservesAll();
}
};
char AArch64CollectLOH::ID = 0;
} // end anonymous namespace.
INITIALIZE_PASS(AArch64CollectLOH, "aarch64-collect-loh",
AARCH64_COLLECT_LOH_NAME, false, false)
static bool canAddBePartOfLOH(const MachineInstr &MI) {
// Check immediate to see if the immediate is an address.
switch (MI.getOperand(2).getType()) {
default:
return false;
case MachineOperand::MO_GlobalAddress:
case MachineOperand::MO_JumpTableIndex:
case MachineOperand::MO_ConstantPoolIndex:
case MachineOperand::MO_BlockAddress:
return true;
}
}
/// Answer the following question: Can Def be one of the definition
/// involved in a part of a LOH?
static bool canDefBePartOfLOH(const MachineInstr &MI) {
// Accept ADRP, ADDLow and LOADGot.
switch (MI.getOpcode()) {
default:
return false;
case AArch64::ADRP:
return true;
case AArch64::ADDXri:
return canAddBePartOfLOH(MI);
case AArch64::LDRXui:
case AArch64::LDRWui:
// Check immediate to see if the immediate is an address.
switch (MI.getOperand(2).getType()) {
default:
return false;
case MachineOperand::MO_GlobalAddress:
return MI.getOperand(2).getTargetFlags() & AArch64II::MO_GOT;
}
}
}
/// Check whether the given instruction can the end of a LOH chain involving a
/// store.
static bool isCandidateStore(const MachineInstr &MI, const MachineOperand &MO) {
switch (MI.getOpcode()) {
default:
return false;
case AArch64::STRBBui:
case AArch64::STRHHui:
case AArch64::STRBui:
case AArch64::STRHui:
case AArch64::STRWui:
case AArch64::STRXui:
case AArch64::STRSui:
case AArch64::STRDui:
case AArch64::STRQui:
// We can only optimize the index operand.
// In case we have str xA, [xA, #imm], this is two different uses
// of xA and we cannot fold, otherwise the xA stored may be wrong,
// even if #imm == 0.
return MI.getOperandNo(&MO) == 1 &&
MI.getOperand(0).getReg() != MI.getOperand(1).getReg();
}
}
/// Check whether the given instruction can be the end of a LOH chain
/// involving a load.
static bool isCandidateLoad(const MachineInstr &MI) {
switch (MI.getOpcode()) {
default:
return false;
case AArch64::LDRSBWui:
case AArch64::LDRSBXui:
case AArch64::LDRSHWui:
case AArch64::LDRSHXui:
case AArch64::LDRSWui:
case AArch64::LDRBui:
case AArch64::LDRHui:
case AArch64::LDRWui:
case AArch64::LDRXui:
case AArch64::LDRSui:
case AArch64::LDRDui:
case AArch64::LDRQui:
return !(MI.getOperand(2).getTargetFlags() & AArch64II::MO_GOT);
}
}
/// Check whether the given instruction can load a litteral.
static bool supportLoadFromLiteral(const MachineInstr &MI) {
switch (MI.getOpcode()) {
default:
return false;
case AArch64::LDRSWui:
case AArch64::LDRWui:
case AArch64::LDRXui:
case AArch64::LDRSui:
case AArch64::LDRDui:
case AArch64::LDRQui:
return true;
}
}
/// Number of GPR registers traked by mapRegToGPRIndex()
static const unsigned N_GPR_REGS = 31;
/// Map register number to index from 0-30.
static int mapRegToGPRIndex(MCPhysReg Reg) {
static_assert(AArch64::X28 - AArch64::X0 + 3 == N_GPR_REGS, "Number of GPRs");
static_assert(AArch64::W30 - AArch64::W0 + 1 == N_GPR_REGS, "Number of GPRs");
if (AArch64::X0 <= Reg && Reg <= AArch64::X28)
return Reg - AArch64::X0;
if (AArch64::W0 <= Reg && Reg <= AArch64::W30)
return Reg - AArch64::W0;
// TableGen gives "FP" and "LR" an index not adjacent to X28 so we have to
// handle them as special cases.
if (Reg == AArch64::FP)
return 29;
if (Reg == AArch64::LR)
return 30;
return -1;
}
/// State tracked per register.
/// The main algorithm walks backwards over a basic block maintaining this
/// datastructure for each tracked general purpose register.
struct LOHInfo {
MCLOHType Type : 8; ///< "Best" type of LOH possible.
bool IsCandidate : 1; ///< Possible LOH candidate.
bool OneUser : 1; ///< Found exactly one user (yet).
bool MultiUsers : 1; ///< Found multiple users.
const MachineInstr *MI0; ///< First instruction involved in the LOH.
const MachineInstr *MI1; ///< Second instruction involved in the LOH
/// (if any).
const MachineInstr *LastADRP; ///< Last ADRP in same register.
};
/// Update state \p Info given \p MI uses the tracked register.
static void handleUse(const MachineInstr &MI, const MachineOperand &MO,
LOHInfo &Info) {
// We have multiple uses if we already found one before.
if (Info.MultiUsers || Info.OneUser) {
Info.IsCandidate = false;
Info.MultiUsers = true;
return;
}
Info.OneUser = true;
// Start new LOHInfo if applicable.
if (isCandidateLoad(MI)) {
Info.Type = MCLOH_AdrpLdr;
Info.IsCandidate = true;
Info.MI0 = &MI;
// Note that even this is AdrpLdr now, we can switch to a Ldr variant
// later.
} else if (isCandidateStore(MI, MO)) {
Info.Type = MCLOH_AdrpAddStr;
Info.IsCandidate = true;
Info.MI0 = &MI;
Info.MI1 = nullptr;
} else if (MI.getOpcode() == AArch64::ADDXri) {
Info.Type = MCLOH_AdrpAdd;
Info.IsCandidate = true;
Info.MI0 = &MI;
} else if ((MI.getOpcode() == AArch64::LDRXui ||
MI.getOpcode() == AArch64::LDRWui) &&
MI.getOperand(2).getTargetFlags() & AArch64II::MO_GOT) {
Info.Type = MCLOH_AdrpLdrGot;
Info.IsCandidate = true;
Info.MI0 = &MI;
}
}
/// Update state \p Info given the tracked register is clobbered.
static void handleClobber(LOHInfo &Info) {
Info.IsCandidate = false;
Info.OneUser = false;
Info.MultiUsers = false;
Info.LastADRP = nullptr;
}
/// Update state \p Info given that \p MI is possibly the middle instruction
/// of an LOH involving 3 instructions.
static bool handleMiddleInst(const MachineInstr &MI, LOHInfo &DefInfo,
LOHInfo &OpInfo) {
if (!DefInfo.IsCandidate || (&DefInfo != &OpInfo && OpInfo.OneUser))
return false;
// Copy LOHInfo for dest register to LOHInfo for source register.
if (&DefInfo != &OpInfo) {
OpInfo = DefInfo;
// Invalidate \p DefInfo because we track it in \p OpInfo now.
handleClobber(DefInfo);
} else
DefInfo.LastADRP = nullptr;
// Advance state machine.
assert(OpInfo.IsCandidate && "Expect valid state");
if (MI.getOpcode() == AArch64::ADDXri && canAddBePartOfLOH(MI)) {
if (OpInfo.Type == MCLOH_AdrpLdr) {
OpInfo.Type = MCLOH_AdrpAddLdr;
OpInfo.IsCandidate = true;
OpInfo.MI1 = &MI;
return true;
} else if (OpInfo.Type == MCLOH_AdrpAddStr && OpInfo.MI1 == nullptr) {
OpInfo.Type = MCLOH_AdrpAddStr;
OpInfo.IsCandidate = true;
OpInfo.MI1 = &MI;
return true;
}
} else {
assert((MI.getOpcode() == AArch64::LDRXui ||
MI.getOpcode() == AArch64::LDRWui) &&
"Expect LDRXui or LDRWui");
assert((MI.getOperand(2).getTargetFlags() & AArch64II::MO_GOT) &&
"Expected GOT relocation");
if (OpInfo.Type == MCLOH_AdrpAddStr && OpInfo.MI1 == nullptr) {
OpInfo.Type = MCLOH_AdrpLdrGotStr;
OpInfo.IsCandidate = true;
OpInfo.MI1 = &MI;
return true;
} else if (OpInfo.Type == MCLOH_AdrpLdr) {
OpInfo.Type = MCLOH_AdrpLdrGotLdr;
OpInfo.IsCandidate = true;
OpInfo.MI1 = &MI;
return true;
}
}
return false;
}
/// Update state when seeing and ADRP instruction.
static void handleADRP(const MachineInstr &MI, AArch64FunctionInfo &AFI,
LOHInfo &Info) {
if (Info.LastADRP != nullptr) {
LLVM_DEBUG(dbgs() << "Adding MCLOH_AdrpAdrp:\n"
<< '\t' << MI << '\t' << *Info.LastADRP);
AFI.addLOHDirective(MCLOH_AdrpAdrp, {&MI, Info.LastADRP});
++NumADRPSimpleCandidate;
}
// Produce LOH directive if possible.
if (Info.IsCandidate) {
switch (Info.Type) {
case MCLOH_AdrpAdd:
LLVM_DEBUG(dbgs() << "Adding MCLOH_AdrpAdd:\n"
<< '\t' << MI << '\t' << *Info.MI0);
AFI.addLOHDirective(MCLOH_AdrpAdd, {&MI, Info.MI0});
++NumADRSimpleCandidate;
break;
case MCLOH_AdrpLdr:
if (supportLoadFromLiteral(*Info.MI0)) {
LLVM_DEBUG(dbgs() << "Adding MCLOH_AdrpLdr:\n"
<< '\t' << MI << '\t' << *Info.MI0);
AFI.addLOHDirective(MCLOH_AdrpLdr, {&MI, Info.MI0});
++NumADRPToLDR;
}
break;
case MCLOH_AdrpAddLdr:
LLVM_DEBUG(dbgs() << "Adding MCLOH_AdrpAddLdr:\n"
<< '\t' << MI << '\t' << *Info.MI1 << '\t'
<< *Info.MI0);
AFI.addLOHDirective(MCLOH_AdrpAddLdr, {&MI, Info.MI1, Info.MI0});
++NumADDToLDR;
break;
case MCLOH_AdrpAddStr:
if (Info.MI1 != nullptr) {
LLVM_DEBUG(dbgs() << "Adding MCLOH_AdrpAddStr:\n"
<< '\t' << MI << '\t' << *Info.MI1 << '\t'
<< *Info.MI0);
AFI.addLOHDirective(MCLOH_AdrpAddStr, {&MI, Info.MI1, Info.MI0});
++NumADDToSTR;
}
break;
case MCLOH_AdrpLdrGotLdr:
LLVM_DEBUG(dbgs() << "Adding MCLOH_AdrpLdrGotLdr:\n"
<< '\t' << MI << '\t' << *Info.MI1 << '\t'
<< *Info.MI0);
AFI.addLOHDirective(MCLOH_AdrpLdrGotLdr, {&MI, Info.MI1, Info.MI0});
++NumLDRToLDR;
break;
case MCLOH_AdrpLdrGotStr:
LLVM_DEBUG(dbgs() << "Adding MCLOH_AdrpLdrGotStr:\n"
<< '\t' << MI << '\t' << *Info.MI1 << '\t'
<< *Info.MI0);
AFI.addLOHDirective(MCLOH_AdrpLdrGotStr, {&MI, Info.MI1, Info.MI0});
++NumLDRToSTR;
break;
case MCLOH_AdrpLdrGot:
LLVM_DEBUG(dbgs() << "Adding MCLOH_AdrpLdrGot:\n"
<< '\t' << MI << '\t' << *Info.MI0);
AFI.addLOHDirective(MCLOH_AdrpLdrGot, {&MI, Info.MI0});
break;
case MCLOH_AdrpAdrp:
llvm_unreachable("MCLOH_AdrpAdrp not used in state machine");
}
}
handleClobber(Info);
Info.LastADRP = &MI;
}
static void handleRegMaskClobber(const uint32_t *RegMask, MCPhysReg Reg,
LOHInfo *LOHInfos) {
if (!MachineOperand::clobbersPhysReg(RegMask, Reg))
return;
int Idx = mapRegToGPRIndex(Reg);
if (Idx >= 0)
handleClobber(LOHInfos[Idx]);
}
static void handleNormalInst(const MachineInstr &MI, LOHInfo *LOHInfos) {
// Handle defs and regmasks.
for (const MachineOperand &MO : MI.operands()) {
if (MO.isRegMask()) {
const uint32_t *RegMask = MO.getRegMask();
for (MCPhysReg Reg : AArch64::GPR32RegClass)
handleRegMaskClobber(RegMask, Reg, LOHInfos);
for (MCPhysReg Reg : AArch64::GPR64RegClass)
handleRegMaskClobber(RegMask, Reg, LOHInfos);
continue;
}
if (!MO.isReg() || !MO.isDef())
continue;
int Idx = mapRegToGPRIndex(MO.getReg());
if (Idx < 0)
continue;
handleClobber(LOHInfos[Idx]);
}
// Handle uses.
SmallSet<int, 4> UsesSeen;
for (const MachineOperand &MO : MI.uses()) {
if (!MO.isReg() || !MO.readsReg())
continue;
int Idx = mapRegToGPRIndex(MO.getReg());
if (Idx < 0)
continue;
// Multiple uses of the same register within a single instruction don't
// count as MultiUser or block optimization. This is especially important on
// arm64_32, where any memory operation is likely to be an explicit use of
// xN and an implicit use of wN (the base address register).
if (!UsesSeen.count(Idx)) {
handleUse(MI, MO, LOHInfos[Idx]);
UsesSeen.insert(Idx);
}
}
}
bool AArch64CollectLOH::runOnMachineFunction(MachineFunction &MF) {
if (skipFunction(MF.getFunction()))
return false;
LLVM_DEBUG(dbgs() << "********** AArch64 Collect LOH **********\n"
<< "Looking in function " << MF.getName() << '\n');
LOHInfo LOHInfos[N_GPR_REGS];
AArch64FunctionInfo &AFI = *MF.getInfo<AArch64FunctionInfo>();
for (const MachineBasicBlock &MBB : MF) {
// Reset register tracking state.
memset(LOHInfos, 0, sizeof(LOHInfos));
// Live-out registers are used.
for (const MachineBasicBlock *Succ : MBB.successors()) {
for (const auto &LI : Succ->liveins()) {
int RegIdx = mapRegToGPRIndex(LI.PhysReg);
if (RegIdx >= 0)
LOHInfos[RegIdx].OneUser = true;
}
}
// Walk the basic block backwards and update the per register state machine
// in the process.
for (const MachineInstr &MI : make_range(MBB.rbegin(), MBB.rend())) {
unsigned Opcode = MI.getOpcode();
switch (Opcode) {
case AArch64::ADDXri:
case AArch64::LDRXui:
case AArch64::LDRWui:
if (canDefBePartOfLOH(MI)) {
const MachineOperand &Def = MI.getOperand(0);
const MachineOperand &Op = MI.getOperand(1);
assert(Def.isReg() && Def.isDef() && "Expected reg def");
assert(Op.isReg() && Op.isUse() && "Expected reg use");
int DefIdx = mapRegToGPRIndex(Def.getReg());
int OpIdx = mapRegToGPRIndex(Op.getReg());
if (DefIdx >= 0 && OpIdx >= 0 &&
handleMiddleInst(MI, LOHInfos[DefIdx], LOHInfos[OpIdx]))
continue;
}
break;
case AArch64::ADRP:
const MachineOperand &Op0 = MI.getOperand(0);
int Idx = mapRegToGPRIndex(Op0.getReg());
if (Idx >= 0) {
handleADRP(MI, AFI, LOHInfos[Idx]);
continue;
}
break;
}
handleNormalInst(MI, LOHInfos);
}
}
// Return "no change": The pass only collects information.
return false;
}
FunctionPass *llvm::createAArch64CollectLOHPass() {
return new AArch64CollectLOH();
}
| {
"pile_set_name": "Github"
} |
Config.setup do |config|
# Name of the constat exposing loaded settings
config.const_name = 'Settings'
# Ability to remove elements of the array set in earlier loaded settings file. Default: nil
# config.knockout_prefix = '--'
end
| {
"pile_set_name": "Github"
} |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* 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 .
*/
#include "vbaaddins.hxx"
#include "vbaaddin.hxx"
#include <unotools/pathoptions.hxx>
#include <sal/log.hxx>
#include <com/sun/star/lang/XMultiComponentFactory.hpp>
#include <com/sun/star/ucb/SimpleFileAccess.hpp>
using namespace ::ooo::vba;
using namespace ::com::sun::star;
static uno::Reference< container::XIndexAccess > lcl_getAddinCollection( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext )
{
XNamedObjectCollectionHelper< word::XAddin >::XNamedVec aAddins;
// first get the autoload addins in the directory STARTUP
uno::Reference< lang::XMultiComponentFactory > xMCF( xContext->getServiceManager(), uno::UNO_SET_THROW );
uno::Reference<ucb::XSimpleFileAccess3> xSFA(ucb::SimpleFileAccess::create(xContext));
SvtPathOptions aPathOpt;
// FIXME: temporary the STARTUP path is located in $OO/basic3.1/program/addin
const OUString& aAddinPath = aPathOpt.GetAddinPath();
SAL_INFO("sw.vba", "lcl_getAddinCollection: " << aAddinPath );
if( xSFA->isFolder( aAddinPath ) )
{
const uno::Sequence< OUString > sEntries = xSFA->getFolderContents( aAddinPath, false );
for( const OUString& sUrl : sEntries )
{
if( !xSFA->isFolder( sUrl ) && sUrl.endsWithIgnoreAsciiCase( ".dot" ) )
{
aAddins.push_back( uno::Reference< word::XAddin >( new SwVbaAddin( xParent, xContext, sUrl ) ) );
}
}
}
// TODO: second get the customize addins in the org.openoffice.Office.Writer/GlobalTemplateList
uno::Reference< container::XIndexAccess > xAddinsAccess( new XNamedObjectCollectionHelper< word::XAddin >( aAddins ) );
return xAddinsAccess;
}
SwVbaAddins::SwVbaAddins( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext > & xContext ): SwVbaAddins_BASE( xParent, xContext, lcl_getAddinCollection( xParent,xContext ) )
{
}
// XEnumerationAccess
uno::Type
SwVbaAddins::getElementType()
{
return cppu::UnoType<word::XAddin>::get();
}
uno::Reference< container::XEnumeration >
SwVbaAddins::createEnumeration()
{
uno::Reference< container::XEnumerationAccess > xEnumerationAccess( m_xIndexAccess, uno::UNO_QUERY_THROW );
return xEnumerationAccess->createEnumeration();
}
uno::Any
SwVbaAddins::createCollectionObject( const css::uno::Any& aSource )
{
return aSource;
}
OUString
SwVbaAddins::getServiceImplName()
{
return "SwVbaAddins";
}
css::uno::Sequence<OUString>
SwVbaAddins::getServiceNames()
{
static uno::Sequence< OUString > const sNames
{
"ooo.vba.word.Addins"
};
return sNames;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
| {
"pile_set_name": "Github"
} |
/*$Id$*/
#include <stdio.h>
#include <string.h>
#include "srtdb.h"
#include "macdecls.h"
#ifdef CRAY
#include <fortran.h>
#endif
#define FORTRAN_TRUE ((Logical) 1)
#define FORTRAN_FALSE ((Logical) 0)
#if (defined(CRAY) || defined(USE_FCD)) && !defined(__crayx1)
Logical FATR srtdb_open_(_fcd filename, _fcd mode, Integer *handle)
{
int flen = _fcdlen(filename);
int mlen = _fcdlen(mode);
#else
Logical FATR srtdb_open_(const char *filename, const char *mode, Integer *handle,
const Integer flen, const Integer mlen)
{
#endif
char fbuf[256], mbuf[256];
int hbuf;
if (!fortchar_to_string(filename, flen, fbuf, sizeof(fbuf))) {
(void) fprintf(stderr, "srtdb_open: fbuf is too small, need=%d\n",
(int) flen);
return FORTRAN_FALSE;
}
if (!fortchar_to_string(mode, mlen, mbuf, sizeof(mbuf))) {
(void) fprintf(stderr, "srtdb_open: mbuf is too small, need=%d\n",
(int) mlen);
return FORTRAN_FALSE;
}
if (srtdb_open(fbuf, mbuf, &hbuf)) {
*handle = (Integer) hbuf;
return FORTRAN_TRUE;
}
else {
return FORTRAN_FALSE;
}
}
#if (defined(CRAY) || defined(USE_FCD)) && !defined(__crayx1)
Logical FATR srtdb_close_(const Integer *handle, _fcd mode)
{
int mlen = _fcdlen(mode);
#else
Logical FATR srtdb_close_(const Integer *handle, const char *mode, const int mlen)
{
#endif
char mbuf[256];
int hbuf = (int) *handle;
if (!fortchar_to_string(mode, mlen, mbuf, sizeof(mbuf))) {
(void) fprintf(stderr, "srtdb_close: mbuf is too small, need=%d\n", mlen);
return FORTRAN_FALSE;
}
if (srtdb_close(hbuf, mbuf))
return FORTRAN_TRUE;
else
return FORTRAN_FALSE;
}
#if (defined(CRAY) || defined(USE_FCD)) && !defined(__crayx1)
Logical FATR srtdb_get_info_(const Integer *handle, _fcd name,
Integer *ma_type, Integer *nelem, _fcd date)
{
int nlen = _fcdlen(name);
int dlen = _fcdlen(date);
#else
Logical FATR srtdb_get_info_(const Integer *handle, const char *name,
Integer *ma_type, Integer *nelem, char *date,
const int nlen, const int dlen)
{
#endif
int hbuf = (int) *handle;
char dbuf[26], nbuf[256];
int nelbuf, typebuf;
if (!fortchar_to_string(name, nlen, nbuf, sizeof(nbuf))) {
(void) fprintf(stderr, "srtdb_get_info: nbuf is too small, need=%d\n",
nlen);
return FORTRAN_FALSE;
}
if (dlen < 24) {
(void) fprintf(stderr, "srtdb_get_info: date must be > character*24\n");
return FORTRAN_FALSE;
}
if (srtdb_get_info(hbuf, nbuf, &typebuf, &nelbuf, dbuf)) {
*ma_type = (Integer) typebuf;
*nelem = (Integer) nelbuf;
if (typebuf == MT_CHAR) /* Fortran is ignorant of trailing null char */
*nelem = *nelem - 1;
if (!string_to_fortchar(date, dlen, dbuf)) {
(void) fprintf(stderr, "srtdb_get_info: nbuf is too small, need=%d\n",
nlen);
return FORTRAN_FALSE;
}
return FORTRAN_TRUE;
}
else {
return FORTRAN_FALSE;
}
}
#if (defined(CRAY) || defined(USE_FCD)) && !defined(__crayx1)
Logical FATR srtdb_put_(const Integer *handle, _fcd name, const Integer *ma_type,
const Integer *nelem, const void *array)
{
int nlen = _fcdlen(name);
#else
Logical FATR srtdb_put_(const Integer *handle, const char *name, const Integer *ma_type,
const Integer *nelem, const void *array, const int nlen)
{
#endif
int hbuf = (int) *handle;
char nbuf[256];
int nelbuf;
int typebuf;
if (!fortchar_to_string(name, nlen, nbuf, sizeof(nbuf))) {
(void) fprintf(stderr, "srtdb_put: nbuf is too small, need=%d\n",
nlen);
return FORTRAN_FALSE;
}
nelbuf = (int) *nelem;
typebuf= (int) *ma_type;
#ifdef DEBUG
printf("put: rtdb=%d, mat=%d, nel=%d, name=%s\n", hbuf, typebuf, nelbuf, nbuf);
fflush(stdout);
#endif
if (srtdb_put(hbuf, nbuf, typebuf, nelbuf, array))
return FORTRAN_TRUE;
else
return FORTRAN_FALSE;
}
#if (defined(CRAY) || defined(USE_FCD)) && !defined(__crayx1)
Logical FATR srtdb_get_(const Integer *handle, _fcd name,
const Integer *ma_type, const Integer *nelem,
void *array)
{
int nlen = _fcdlen(name);
#else
Logical FATR srtdb_get_(const Integer *handle, const char *name,
const Integer *ma_type, const Integer *nelem,
void *array, const int nlen)
{
#endif
int hbuf = (int) *handle;
char nbuf[256];
int nelbuf;
int typebuf;
if (!fortchar_to_string(name, nlen, nbuf, sizeof(nbuf))) {
(void) fprintf(stderr, "srtdb_get: nbuf is too small, need=%d\n",
nlen);
return FORTRAN_FALSE;
}
nelbuf = (int) *nelem;
typebuf= (int) *ma_type;
#ifdef DEBUG
printf("get: rtdb=%d, mat=%d, nel=%d, name=%s\n", hbuf, typebuf, nelbuf, nbuf);
fflush(stdout);
#endif
if (srtdb_get(hbuf, nbuf, typebuf, nelbuf, array)) {
return FORTRAN_TRUE;
}
else
return FORTRAN_FALSE;
}
Logical FATR srtdb_print_(const Integer *handle, const Logical *print_values)
{
int hbuf = (int) *handle;
int pbuf = (int) *print_values;
if (srtdb_print(hbuf, pbuf))
return FORTRAN_TRUE;
else
return FORTRAN_FALSE;
}
#if (defined(CRAY) || defined(USE_FCD)) && !defined(__crayx1)
Logical FATR srtdb_cput_(const Integer *handle, _fcd name,
const Integer *nelem,
_fcd farray)
{
int nlen = _fcdlen(name);
int alen = _fcdlen(farray);
char *array = _fcdtocp(farray);
#else
Logical FATR srtdb_cput_(const Integer *handle, const char *name,
const Integer *nelem,
const char *array, const int nlen, const int alen)
{
#endif
/*
Insert an array of Fortran character variables into the data base.
Each array element is striped of trailing blanks, terminated with CR,
and appended to the list. The entire array must fit into abuf.
*/
int hbuf = (int) *handle;
char nbuf[256];
char abuf[20480]=" ";
int nelbuf;
int typebuf;
int i, left;
char *next;
for (i=0, left=sizeof(abuf), next=abuf;
i<*nelem;
i++, array+=alen) {
#if defined(CRAY) && !defined(__crayx1)
_fcd element = _cptofcd(array, alen);
#elif defined(WIN32)
_fcd element;
element.string = array;
element.len = alen;
#elif defined(USE_FCD)
#error Do something about _fcd
#else
const char *element = array;
#endif
if (!fortchar_to_string(element, alen, next, left)) {
(void) fprintf(stderr, "srtdb_cput: abuf is too small, need=%d\n",
(int) (alen + sizeof(abuf) - left));
return FORTRAN_FALSE;
}
left -= strlen(next) + 1;
next += strlen(next) + 1;
if (i != (*nelem - 1))
*(next-1) = '\n';
}
if (!fortchar_to_string(name, nlen, nbuf, sizeof(nbuf))) {
(void) fprintf(stderr, "srtdb_cput: nbuf is too small, need=%d\n",
nlen);
return FORTRAN_FALSE;
}
nelbuf = strlen(abuf) + 1;
typebuf= (int) MT_CHAR;
#ifdef DEBUG
printf("cput: rtdb=%d, mat=%d, nel=%d, name=%s\n", hbuf, typebuf, nelbuf, nbuf);
fflush(stdout);
#endif
if (srtdb_put(hbuf, nbuf, typebuf, nelbuf, abuf))
return FORTRAN_TRUE;
else
return FORTRAN_FALSE;
}
#if (defined(CRAY) || defined(USE_FCD)) && !defined(__crayx1)
Logical FATR srtdb_cget_(const Integer *handle, _fcd name,
const Integer *nelem,
_fcd farray)
{
int nlen = _fcdlen(name);
int alen = _fcdlen(farray);
char *array = _fcdtocp(farray);
#else
Logical FATR srtdb_cget_(const Integer *handle, const char *name,
const Integer *nelem,
char *array, const int nlen, const int alen)
{
#endif
/*
Read an array of Fortran character variables from the data base.
Put stored the array as follows:
. Each array element is striped of trailing blanks, terminated with CR,
. and appended to the list. The entire array must fit into abuf.
*/
int hbuf = (int) *handle;
char nbuf[256];
char abuf[20480];
/* char abuf[10240];*/
int nelbuf;
int typebuf;
int i;
char *next;
if (!fortchar_to_string(name, nlen, nbuf, sizeof(nbuf))) {
(void) fprintf(stderr, "srtdb_cget: nbuf is too small, need=%d\n",
nlen);
return FORTRAN_FALSE;
}
nelbuf = sizeof(abuf);
typebuf= (int) MT_CHAR;
#ifdef DEBUG
printf("cget: rtdb=%d, mat=%d, nel=%d, name=%s\n", hbuf, typebuf, nelbuf, nbuf);
fflush(stdout);
#endif
if (!srtdb_get(hbuf, nbuf, typebuf, nelbuf, abuf))
return FORTRAN_FALSE; /* Not there */
for (i=0, next=strtok(abuf, "\n");
next;
i++, array+=alen, next=strtok((char *) 0, "\n")) {
#if defined(CRAY) && !defined(__crayx1)
_fcd element = _cptofcd(array, alen);
#elif defined(WIN32)
_fcd element;
element.string = array;
element.len = alen;
#elif defined(USE_FCD)
#error Do something about _fcd
#else
char *element = array;
#endif
if (i == *nelem) {
(void) fprintf(stderr, "srtdb_cget: array has too few elements\n");
(void) fprintf(stderr, "srtdb_cget: name was <<%s>>\n",name);
return FORTRAN_FALSE;
}
if (!string_to_fortchar(element, alen, next)) {
(void) fprintf(stderr, "srtdb_cget: array element is too small\n");
(void) fprintf(stderr, "srtdb_cget: name was <<%s>>\n",name);
return FORTRAN_FALSE;
}
}
return FORTRAN_TRUE;
}
#if (defined(_CRAY) || defined(USE_FCD)) && !defined(__crayx1)
Logical FATR srtdb_first_(const Integer *handle, _fcd name)
#else
Logical FATR srtdb_first_(const Integer *handle, char *name, int nlen)
#endif
{
#if (defined(_CRAY) || defined(USE_FCD)) && !defined(__crayx1)
// dummy arg, value reassigned by string_to_fortchar in this case
int nlen = _fcdlen(name);
#endif
char nbuf[256];
if (srtdb_first((int) *handle, (int) sizeof(nbuf), nbuf) &&
string_to_fortchar(name, nlen, nbuf))
return FORTRAN_TRUE;
else
return FORTRAN_FALSE;
}
#if (defined(_CRAY) || defined(USE_FCD)) && !defined(__crayx1)
Logical FATR srtdb_next_(const Integer *handle, _fcd name)
#else
Logical FATR srtdb_next_(const Integer *handle, char *name, int nlen)
#endif
{
#if (defined(_CRAY) || defined(USE_FCD)) && !defined(__crayx1)
// dummy arg, value reassigned by string_to_fortchar in this case
int nlen = _fcdlen(name);
#endif
char nbuf[256];
if (srtdb_next((int) *handle, (int) sizeof(nbuf), nbuf) &&
string_to_fortchar(name, nlen, nbuf))
return FORTRAN_TRUE;
else
return FORTRAN_FALSE;
}
#if (defined(CRAY) || defined(USE_FCD)) && !defined(__crayx1)
Logical FATR srtdb_delete_(const Integer *handle, _fcd name)
{
int nlen = _fcdlen(name);
#else
Logical FATR srtdb_delete_(const Integer *handle, const char *name, const int nlen)
{
#endif
int hbuf = (int) *handle;
char nbuf[256];
if (!fortchar_to_string(name, nlen, nbuf, sizeof(nbuf))) {
(void) fprintf(stderr, "srtdb_delete: nbuf is too small, need=%d\n",
nlen);
return FORTRAN_FALSE;
}
if (srtdb_delete(hbuf, nbuf))
return FORTRAN_TRUE;
else
return FORTRAN_FALSE;
}
extern void srtdb_print_usage(void);
void FATR srtdb_print_usage_()
{
srtdb_print_usage();
}
| {
"pile_set_name": "Github"
} |
//
// IASKSettingsStoreUserDefaults.m
// http://www.inappsettingskit.com
//
// Copyright (c) 2010:
// Luc Vandal, Edovia Inc., http://www.edovia.com
// Ortwin Gentz, FutureTap GmbH, http://www.futuretap.com
// Marc-Etienne M.Léveillé, Edovia Inc., http://www.edovia.com
// All rights reserved.
//
// It is appreciated but not required that you give credit to Luc Vandal and Ortwin Gentz,
// as the original authors of this code. You can give credit in a blog post, a tweet or on
// a info page of your app. Also, the original authors appreciate letting them know if you use this code.
//
// This code is licensed under the BSD license that is available at: http://www.opensource.org/licenses/bsd-license.php
//
#import "IASKSettingsStoreUserDefaults.h"
@implementation IASKSettingsStoreUserDefaults
- (void)setBool:(BOOL)value forKey:(NSString*)key {
[[NSUserDefaults standardUserDefaults] setBool:value forKey:key];
}
- (void)setFloat:(float)value forKey:(NSString*)key {
[[NSUserDefaults standardUserDefaults] setFloat:value forKey:key];
}
- (void)setDouble:(double)value forKey:(NSString*)key {
[[NSUserDefaults standardUserDefaults] setDouble:value forKey:key];
}
- (void)setInteger:(int)value forKey:(NSString*)key {
[[NSUserDefaults standardUserDefaults] setInteger:value forKey:key];
}
- (void)setObject:(id)value forKey:(NSString*)key {
[[NSUserDefaults standardUserDefaults] setObject:value forKey:key];
}
- (BOOL)boolForKey:(NSString*)key {
return [[NSUserDefaults standardUserDefaults] boolForKey:key];
}
- (float)floatForKey:(NSString*)key {
return [[NSUserDefaults standardUserDefaults] floatForKey:key];
}
- (double)doubleForKey:(NSString*)key {
return [[NSUserDefaults standardUserDefaults] doubleForKey:key];
}
- (int)integerForKey:(NSString*)key {
return [[NSUserDefaults standardUserDefaults] integerForKey:key];
}
- (id)objectForKey:(NSString*)key {
return [[NSUserDefaults standardUserDefaults] objectForKey:key];
}
- (BOOL)synchronize {
return [[NSUserDefaults standardUserDefaults] synchronize];
}
@end
| {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2015, 2019 Oracle and/or its affiliates. All rights reserved. This
* code is released under a tri EPL/GPL/LGPL license. You can use it,
* redistribute it and/or modify it under the terms of the:
*
* Eclipse Public License version 2.0, or
* GNU General Public License version 2, or
* GNU Lesser General Public License version 2.1.
*/
package org.truffleruby.core.format.read.array;
import org.truffleruby.core.array.ArrayGuards;
import org.truffleruby.core.array.library.ArrayStoreLibrary;
import org.truffleruby.core.format.FormatNode;
import org.truffleruby.core.format.read.SourceNode;
import com.oracle.truffle.api.dsl.ImportStatic;
import com.oracle.truffle.api.dsl.NodeChild;
import com.oracle.truffle.api.dsl.Specialization;
import com.oracle.truffle.api.frame.VirtualFrame;
import com.oracle.truffle.api.library.CachedLibrary;
@NodeChild(value = "source", type = SourceNode.class)
@ImportStatic(ArrayGuards.class)
public abstract class ReadValueNode extends FormatNode {
@Specialization(limit = "storageStrategyLimit()")
protected Object read(VirtualFrame frame, Object source,
@CachedLibrary("source") ArrayStoreLibrary sources) {
return sources.read(source, advanceSourcePosition(frame));
}
}
| {
"pile_set_name": "Github"
} |
import "accounting";
contract shares is accounting
{
address admin;
mapping (address => uint256) shareholders;
modifier adminOnly() { if(msg.sender != admin) throw; }
function dividend(uint256 amount) adminOnly {
for(shareholder of shareholders){
shareholder.send(amount);
}
}
function sellStock(uint256 amount) returns (uint256){
if(shareholders[msg.sender] > amount && msg.sender.send(amount)){
shareholders[msg.sender] -= amount;
return shareholders[msg.sender];
}
}
function buyStock() returns (uint256){
shareholders[msg.sender] += msg.value;
return shareholders[msg.sender];
}
}
| {
"pile_set_name": "Github"
} |
package kite.springcloud.consul.oauth.server.config;
import org.springframework.context.annotation.Bean;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;
/**
* WebSecurityConfig
*
* @author fengzheng
* @date 2019/10/10
*/
@EnableWebSecurity
public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
@Bean
public PasswordEncoder passwordEncoder() {
return new BCryptPasswordEncoder();
}
@Bean
@Override
public AuthenticationManager authenticationManagerBean() throws Exception {
return super.authenticationManagerBean();
}
/**
* 允许匿名访问所有接口 主要是 oauth 接口
* @param http
* @throws Exception
*/
@Override
protected void configure(HttpSecurity http) throws Exception {
http.formLogin()
.and()
.authorizeRequests()
.antMatchers("/**").permitAll();
}
}
| {
"pile_set_name": "Github"
} |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
@protocol NSObject
- (id)description;
- (unsigned int)retainCount;
- (id)autorelease;
- (oneway void)release;
- (id)retain;
- (BOOL)respondsToSelector:(SEL)arg1;
- (BOOL)conformsToProtocol:(id)arg1;
- (BOOL)isMemberOfClass:(Class)arg1;
- (BOOL)isKindOfClass:(Class)arg1;
- (BOOL)isProxy;
- (id)performSelector:(SEL)arg1 withObject:(id)arg2 withObject:(id)arg3;
- (id)performSelector:(SEL)arg1 withObject:(id)arg2;
- (id)performSelector:(SEL)arg1;
- (struct _NSZone *)zone;
- (id)self;
- (Class)class;
- (Class)superclass;
- (unsigned int)hash;
- (BOOL)isEqual:(id)arg1;
@optional
- (id)debugDescription;
@end
| {
"pile_set_name": "Github"
} |
/*
* 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.
*/
/*
* Description : Fuzzy self joins a dataset, DBLP, based on the edit-distance-check function of its authors.
* DBLP has a 3-gram enforced open index on authors?, and we expect the join to be transformed into an indexed nested-loop join.
* Success : Yes
*/
drop dataverse test if exists;
create dataverse test;
use test;
create type test.DBLPType as
{
id : integer,
dblpid : string,
title : string,
misc : string
};
create dataset DBLP(DBLPType) primary key id;
create index ngram_index on DBLP (authors:string?) type ngram (3) enforced;
write output to asterix_nc1:"rttest/inverted-index-join_ngram-edit-distance-check_03.adm";
select element {'arec':a,'brec':b}
from DBLP as a,
DBLP as b
where (test.`edit-distance-check`(a.authors,b.authors,3)[0] and (a.id < b.id))
;
| {
"pile_set_name": "Github"
} |
<?php
/**
* PQRS Measure 0333 -- Population Criteria
*
* Copyright (C) 2015 - 2017 Suncoast Connection
*
* LICENSE: This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0
* See the Mozilla Public License for more details.
* If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* @author Art Eaton <[email protected]>
* @author Bryan lee <[email protected]>
* @package LibreHealthEHR
* @link http://suncoastconnection.com
* @link http://librehealth.io
*
* Please support this product by sharing your changes with the LibreHealth.io community.
*/
class PQRS_0333_PopulationCriteria implements PQRSPopulationCriteriaFactory
{
public function getTitle()
{
return "Population Criteria";
}
public function createInitialPatientPopulation()
{
return new PQRS_0333_InitialPatientPopulation();
}
public function createNumerators()
{
return new PQRS_0333_Numerator();
}
public function createDenominator()
{
return new PQRS_0333_Denominator();
}
public function createExclusion()
{
return new PQRS_0333_Exclusion();
}
}
?> | {
"pile_set_name": "Github"
} |
# Image
Image widget allows you to display any image within your project. You need to provide http/s url to it. Url should be valid endpoint to the binary data of the image. Url shortener will not work.
Right now image widget supports 2 display options:
* **Fit**: Image will be scaled to fit height or width of the widget size;
* **Fill**: Image will be scaled to fill widget area. Cropping may occur;
You can make image widget interactive by providing multiple links to different images with different states and change displayed image index from your hardware or via Eventor widget.
For example, select the first icon from the list :
```cpp
Blynk.virtualWrite(V1, 1); //image indexing starts from 1
```
You can also change opacity, scale or rotation of the displayed the image :
```cpp
Blynk.setProperty(V1, "opacity", 50); // 0-100%
```
```cpp
Blynk.setProperty(V1, "scale", 30); // 0-100%
```
```cpp
Blynk.setProperty(V1, "rotation", 10); //0-360 degrees
```
also, you can fully replace the list of images from the hardware:
```cpp
Blynk.setProperty(V1, "urls", "https://image1.jpg", "https://image2.jpg");
```
or you can change individual image by it index:
```cpp
Blynk.setProperty(V1, "url", 1, "https://image1.jpg");
```
| {
"pile_set_name": "Github"
} |
<testcase>
<info>
<keywords>
FTP
EPSV
STOR
</keywords>
</info>
# Client-side
<client>
<server>
ftp
</server>
<name>
FTP PASV upload file
</name>
<file name="log/test107.txt">
data
to
see
that FTP
works
so does it?
</file>
<command>
ftp://%HOSTIP:%FTPPORT/107 -T log/test107.txt
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<upload>
data
to
see
that FTP
works
so does it?
</upload>
<protocol>
USER anonymous
PASS [email protected]
PWD
EPSV
TYPE I
STOR 107
QUIT
</protocol>
</verify>
</testcase>
| {
"pile_set_name": "Github"
} |
// AFURLResponseSerialization.m
// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
#import "AFURLResponseSerialization.h"
#import <TargetConditionals.h>
#if TARGET_OS_IOS
#import <UIKit/UIKit.h>
#elif TARGET_OS_WATCH
#import <WatchKit/WatchKit.h>
#elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED)
#import <Cocoa/Cocoa.h>
#endif
NSString * const AFURLResponseSerializationErrorDomain = @"com.alamofire.error.serialization.response";
NSString * const AFNetworkingOperationFailingURLResponseErrorKey = @"com.alamofire.serialization.response.error.response";
NSString * const AFNetworkingOperationFailingURLResponseDataErrorKey = @"com.alamofire.serialization.response.error.data";
static NSError * AFErrorWithUnderlyingError(NSError *error, NSError *underlyingError) {
if (!error) {
return underlyingError;
}
if (!underlyingError || error.userInfo[NSUnderlyingErrorKey]) {
return error;
}
NSMutableDictionary *mutableUserInfo = [error.userInfo mutableCopy];
mutableUserInfo[NSUnderlyingErrorKey] = underlyingError;
return [[NSError alloc] initWithDomain:error.domain code:error.code userInfo:mutableUserInfo];
}
static BOOL AFErrorOrUnderlyingErrorHasCodeInDomain(NSError *error, NSInteger code, NSString *domain) {
if ([error.domain isEqualToString:domain] && error.code == code) {
return YES;
} else if (error.userInfo[NSUnderlyingErrorKey]) {
return AFErrorOrUnderlyingErrorHasCodeInDomain(error.userInfo[NSUnderlyingErrorKey], code, domain);
}
return NO;
}
id AFJSONObjectByRemovingKeysWithNullValues(id JSONObject, NSJSONReadingOptions readingOptions) {
if ([JSONObject isKindOfClass:[NSArray class]]) {
NSMutableArray *mutableArray = [NSMutableArray arrayWithCapacity:[(NSArray *)JSONObject count]];
for (id value in (NSArray *)JSONObject) {
if (![value isEqual:[NSNull null]]) {
[mutableArray addObject:AFJSONObjectByRemovingKeysWithNullValues(value, readingOptions)];
}
}
return (readingOptions & NSJSONReadingMutableContainers) ? mutableArray : [NSArray arrayWithArray:mutableArray];
} else if ([JSONObject isKindOfClass:[NSDictionary class]]) {
NSMutableDictionary *mutableDictionary = [NSMutableDictionary dictionaryWithDictionary:JSONObject];
for (id <NSCopying> key in [(NSDictionary *)JSONObject allKeys]) {
id value = (NSDictionary *)JSONObject[key];
if (!value || [value isEqual:[NSNull null]]) {
[mutableDictionary removeObjectForKey:key];
} else if ([value isKindOfClass:[NSArray class]] || [value isKindOfClass:[NSDictionary class]]) {
mutableDictionary[key] = AFJSONObjectByRemovingKeysWithNullValues(value, readingOptions);
}
}
return (readingOptions & NSJSONReadingMutableContainers) ? mutableDictionary : [NSDictionary dictionaryWithDictionary:mutableDictionary];
}
return JSONObject;
}
@implementation AFHTTPResponseSerializer
+ (instancetype)serializer {
return [[self alloc] init];
}
- (instancetype)init {
self = [super init];
if (!self) {
return nil;
}
self.acceptableStatusCodes = [NSIndexSet indexSetWithIndexesInRange:NSMakeRange(200, 100)];
self.acceptableContentTypes = nil;
return self;
}
#pragma mark -
- (BOOL)validateResponse:(NSHTTPURLResponse *)response
data:(NSData *)data
error:(NSError * __autoreleasing *)error
{
BOOL responseIsValid = YES;
NSError *validationError = nil;
if ([response isKindOfClass:[NSHTTPURLResponse class]]) {
if (self.acceptableContentTypes && ![self.acceptableContentTypes containsObject:[response MIMEType]] &&
!([response MIMEType] == nil && [data length] == 0)) {
if ([data length] > 0 && [response URL]) {
NSMutableDictionary *mutableUserInfo = [@{
NSLocalizedDescriptionKey: [NSString stringWithFormat:NSLocalizedStringFromTable(@"Request failed: unacceptable content-type: %@", @"AFNetworking", nil), [response MIMEType]],
NSURLErrorFailingURLErrorKey:[response URL],
AFNetworkingOperationFailingURLResponseErrorKey: response,
} mutableCopy];
if (data) {
mutableUserInfo[AFNetworkingOperationFailingURLResponseDataErrorKey] = data;
}
validationError = AFErrorWithUnderlyingError([NSError errorWithDomain:AFURLResponseSerializationErrorDomain code:NSURLErrorCannotDecodeContentData userInfo:mutableUserInfo], validationError);
}
responseIsValid = NO;
}
if (self.acceptableStatusCodes && ![self.acceptableStatusCodes containsIndex:(NSUInteger)response.statusCode] && [response URL]) {
NSMutableDictionary *mutableUserInfo = [@{
NSLocalizedDescriptionKey: [NSString stringWithFormat:NSLocalizedStringFromTable(@"Request failed: %@ (%ld)", @"AFNetworking", nil), [NSHTTPURLResponse localizedStringForStatusCode:response.statusCode], (long)response.statusCode],
NSURLErrorFailingURLErrorKey:[response URL],
AFNetworkingOperationFailingURLResponseErrorKey: response,
} mutableCopy];
if (data) {
mutableUserInfo[AFNetworkingOperationFailingURLResponseDataErrorKey] = data;
}
validationError = AFErrorWithUnderlyingError([NSError errorWithDomain:AFURLResponseSerializationErrorDomain code:NSURLErrorBadServerResponse userInfo:mutableUserInfo], validationError);
responseIsValid = NO;
}
}
if (error && !responseIsValid) {
*error = validationError;
}
return responseIsValid;
}
#pragma mark - AFURLResponseSerialization
- (id)responseObjectForResponse:(NSURLResponse *)response
data:(NSData *)data
error:(NSError *__autoreleasing *)error
{
[self validateResponse:(NSHTTPURLResponse *)response data:data error:error];
return data;
}
#pragma mark - NSSecureCoding
+ (BOOL)supportsSecureCoding {
return YES;
}
- (instancetype)initWithCoder:(NSCoder *)decoder {
self = [self init];
if (!self) {
return nil;
}
self.acceptableStatusCodes = [decoder decodeObjectOfClass:[NSIndexSet class] forKey:NSStringFromSelector(@selector(acceptableStatusCodes))];
self.acceptableContentTypes = [decoder decodeObjectOfClass:[NSSet class] forKey:NSStringFromSelector(@selector(acceptableContentTypes))];
return self;
}
- (void)encodeWithCoder:(NSCoder *)coder {
[coder encodeObject:self.acceptableStatusCodes forKey:NSStringFromSelector(@selector(acceptableStatusCodes))];
[coder encodeObject:self.acceptableContentTypes forKey:NSStringFromSelector(@selector(acceptableContentTypes))];
}
#pragma mark - NSCopying
- (instancetype)copyWithZone:(NSZone *)zone {
AFHTTPResponseSerializer *serializer = [[[self class] allocWithZone:zone] init];
serializer.acceptableStatusCodes = [self.acceptableStatusCodes copyWithZone:zone];
serializer.acceptableContentTypes = [self.acceptableContentTypes copyWithZone:zone];
return serializer;
}
@end
#pragma mark -
@implementation AFJSONResponseSerializer
+ (instancetype)serializer {
return [self serializerWithReadingOptions:(NSJSONReadingOptions)0];
}
+ (instancetype)serializerWithReadingOptions:(NSJSONReadingOptions)readingOptions {
AFJSONResponseSerializer *serializer = [[self alloc] init];
serializer.readingOptions = readingOptions;
return serializer;
}
- (instancetype)init {
self = [super init];
if (!self) {
return nil;
}
self.acceptableContentTypes = [NSSet setWithObjects:@"application/json", @"text/json", @"text/javascript", nil];
return self;
}
#pragma mark - AFURLResponseSerialization
- (id)responseObjectForResponse:(NSURLResponse *)response
data:(NSData *)data
error:(NSError *__autoreleasing *)error
{
if (![self validateResponse:(NSHTTPURLResponse *)response data:data error:error]) {
if (!error || AFErrorOrUnderlyingErrorHasCodeInDomain(*error, NSURLErrorCannotDecodeContentData, AFURLResponseSerializationErrorDomain)) {
return nil;
}
}
// Workaround for behavior of Rails to return a single space for `head :ok` (a workaround for a bug in Safari), which is not interpreted as valid input by NSJSONSerialization.
// See https://github.com/rails/rails/issues/1742
BOOL isSpace = [data isEqualToData:[NSData dataWithBytes:" " length:1]];
if (data.length == 0 || isSpace) {
return nil;
}
NSError *serializationError = nil;
id responseObject = [NSJSONSerialization JSONObjectWithData:data options:self.readingOptions error:&serializationError];
if (!responseObject)
{
if (error) {
*error = AFErrorWithUnderlyingError(serializationError, *error);
}
return nil;
}
if (self.removesKeysWithNullValues) {
return AFJSONObjectByRemovingKeysWithNullValues(responseObject, self.readingOptions);
}
return responseObject;
}
#pragma mark - NSSecureCoding
+ (BOOL)supportsSecureCoding {
return YES;
}
- (instancetype)initWithCoder:(NSCoder *)decoder {
self = [super initWithCoder:decoder];
if (!self) {
return nil;
}
self.readingOptions = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(readingOptions))] unsignedIntegerValue];
self.removesKeysWithNullValues = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(removesKeysWithNullValues))] boolValue];
return self;
}
- (void)encodeWithCoder:(NSCoder *)coder {
[super encodeWithCoder:coder];
[coder encodeObject:@(self.readingOptions) forKey:NSStringFromSelector(@selector(readingOptions))];
[coder encodeObject:@(self.removesKeysWithNullValues) forKey:NSStringFromSelector(@selector(removesKeysWithNullValues))];
}
#pragma mark - NSCopying
- (instancetype)copyWithZone:(NSZone *)zone {
AFJSONResponseSerializer *serializer = [super copyWithZone:zone];
serializer.readingOptions = self.readingOptions;
serializer.removesKeysWithNullValues = self.removesKeysWithNullValues;
return serializer;
}
@end
#pragma mark -
@implementation AFXMLParserResponseSerializer
+ (instancetype)serializer {
AFXMLParserResponseSerializer *serializer = [[self alloc] init];
return serializer;
}
- (instancetype)init {
self = [super init];
if (!self) {
return nil;
}
self.acceptableContentTypes = [[NSSet alloc] initWithObjects:@"application/xml", @"text/xml", nil];
return self;
}
#pragma mark - AFURLResponseSerialization
- (id)responseObjectForResponse:(NSHTTPURLResponse *)response
data:(NSData *)data
error:(NSError *__autoreleasing *)error
{
if (![self validateResponse:(NSHTTPURLResponse *)response data:data error:error]) {
if (!error || AFErrorOrUnderlyingErrorHasCodeInDomain(*error, NSURLErrorCannotDecodeContentData, AFURLResponseSerializationErrorDomain)) {
return nil;
}
}
return [[NSXMLParser alloc] initWithData:data];
}
@end
#pragma mark -
#ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
@implementation AFXMLDocumentResponseSerializer
+ (instancetype)serializer {
return [self serializerWithXMLDocumentOptions:0];
}
+ (instancetype)serializerWithXMLDocumentOptions:(NSUInteger)mask {
AFXMLDocumentResponseSerializer *serializer = [[self alloc] init];
serializer.options = mask;
return serializer;
}
- (instancetype)init {
self = [super init];
if (!self) {
return nil;
}
self.acceptableContentTypes = [[NSSet alloc] initWithObjects:@"application/xml", @"text/xml", nil];
return self;
}
#pragma mark - AFURLResponseSerialization
- (id)responseObjectForResponse:(NSURLResponse *)response
data:(NSData *)data
error:(NSError *__autoreleasing *)error
{
if (![self validateResponse:(NSHTTPURLResponse *)response data:data error:error]) {
if (!error || AFErrorOrUnderlyingErrorHasCodeInDomain(*error, NSURLErrorCannotDecodeContentData, AFURLResponseSerializationErrorDomain)) {
return nil;
}
}
NSError *serializationError = nil;
NSXMLDocument *document = [[NSXMLDocument alloc] initWithData:data options:self.options error:&serializationError];
if (!document)
{
if (error) {
*error = AFErrorWithUnderlyingError(serializationError, *error);
}
return nil;
}
return document;
}
#pragma mark - NSSecureCoding
- (instancetype)initWithCoder:(NSCoder *)decoder {
self = [super initWithCoder:decoder];
if (!self) {
return nil;
}
self.options = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(options))] unsignedIntegerValue];
return self;
}
- (void)encodeWithCoder:(NSCoder *)coder {
[super encodeWithCoder:coder];
[coder encodeObject:@(self.options) forKey:NSStringFromSelector(@selector(options))];
}
#pragma mark - NSCopying
- (instancetype)copyWithZone:(NSZone *)zone {
AFXMLDocumentResponseSerializer *serializer = [super copyWithZone:zone];
serializer.options = self.options;
return serializer;
}
@end
#endif
#pragma mark -
@implementation AFPropertyListResponseSerializer
+ (instancetype)serializer {
return [self serializerWithFormat:NSPropertyListXMLFormat_v1_0 readOptions:0];
}
+ (instancetype)serializerWithFormat:(NSPropertyListFormat)format
readOptions:(NSPropertyListReadOptions)readOptions
{
AFPropertyListResponseSerializer *serializer = [[self alloc] init];
serializer.format = format;
serializer.readOptions = readOptions;
return serializer;
}
- (instancetype)init {
self = [super init];
if (!self) {
return nil;
}
self.acceptableContentTypes = [[NSSet alloc] initWithObjects:@"application/x-plist", nil];
return self;
}
#pragma mark - AFURLResponseSerialization
- (id)responseObjectForResponse:(NSURLResponse *)response
data:(NSData *)data
error:(NSError *__autoreleasing *)error
{
if (![self validateResponse:(NSHTTPURLResponse *)response data:data error:error]) {
if (!error || AFErrorOrUnderlyingErrorHasCodeInDomain(*error, NSURLErrorCannotDecodeContentData, AFURLResponseSerializationErrorDomain)) {
return nil;
}
}
if (!data) {
return nil;
}
NSError *serializationError = nil;
id responseObject = [NSPropertyListSerialization propertyListWithData:data options:self.readOptions format:NULL error:&serializationError];
if (!responseObject)
{
if (error) {
*error = AFErrorWithUnderlyingError(serializationError, *error);
}
return nil;
}
return responseObject;
}
#pragma mark - NSSecureCoding
+ (BOOL)supportsSecureCoding {
return YES;
}
- (instancetype)initWithCoder:(NSCoder *)decoder {
self = [super initWithCoder:decoder];
if (!self) {
return nil;
}
self.format = (NSPropertyListFormat)[[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(format))] unsignedIntegerValue];
self.readOptions = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(readOptions))] unsignedIntegerValue];
return self;
}
- (void)encodeWithCoder:(NSCoder *)coder {
[super encodeWithCoder:coder];
[coder encodeObject:@(self.format) forKey:NSStringFromSelector(@selector(format))];
[coder encodeObject:@(self.readOptions) forKey:NSStringFromSelector(@selector(readOptions))];
}
#pragma mark - NSCopying
- (instancetype)copyWithZone:(NSZone *)zone {
AFPropertyListResponseSerializer *serializer = [super copyWithZone:zone];
serializer.format = self.format;
serializer.readOptions = self.readOptions;
return serializer;
}
@end
#pragma mark -
#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_WATCH
#import <CoreGraphics/CoreGraphics.h>
#import <UIKit/UIKit.h>
@interface UIImage (AFNetworkingSafeImageLoading)
+ (UIImage *)af_safeImageWithData:(NSData *)data;
@end
static NSLock* imageLock = nil;
@implementation UIImage (AFNetworkingSafeImageLoading)
+ (UIImage *)af_safeImageWithData:(NSData *)data {
UIImage* image = nil;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
imageLock = [[NSLock alloc] init];
});
[imageLock lock];
image = [UIImage imageWithData:data];
[imageLock unlock];
return image;
}
@end
static UIImage * AFImageWithDataAtScale(NSData *data, CGFloat scale) {
UIImage *image = [UIImage af_safeImageWithData:data];
if (image.images) {
return image;
}
return [[UIImage alloc] initWithCGImage:[image CGImage] scale:scale orientation:image.imageOrientation];
}
static UIImage * AFInflatedImageFromResponseWithDataAtScale(NSHTTPURLResponse *response, NSData *data, CGFloat scale) {
if (!data || [data length] == 0) {
return nil;
}
CGImageRef imageRef = NULL;
CGDataProviderRef dataProvider = CGDataProviderCreateWithCFData((__bridge CFDataRef)data);
if ([response.MIMEType isEqualToString:@"image/png"]) {
imageRef = CGImageCreateWithPNGDataProvider(dataProvider, NULL, true, kCGRenderingIntentDefault);
} else if ([response.MIMEType isEqualToString:@"image/jpeg"]) {
imageRef = CGImageCreateWithJPEGDataProvider(dataProvider, NULL, true, kCGRenderingIntentDefault);
if (imageRef) {
CGColorSpaceRef imageColorSpace = CGImageGetColorSpace(imageRef);
CGColorSpaceModel imageColorSpaceModel = CGColorSpaceGetModel(imageColorSpace);
// CGImageCreateWithJPEGDataProvider does not properly handle CMKY, so fall back to AFImageWithDataAtScale
if (imageColorSpaceModel == kCGColorSpaceModelCMYK) {
CGImageRelease(imageRef);
imageRef = NULL;
}
}
}
CGDataProviderRelease(dataProvider);
UIImage *image = AFImageWithDataAtScale(data, scale);
if (!imageRef) {
if (image.images || !image) {
return image;
}
imageRef = CGImageCreateCopy([image CGImage]);
if (!imageRef) {
return nil;
}
}
size_t width = CGImageGetWidth(imageRef);
size_t height = CGImageGetHeight(imageRef);
size_t bitsPerComponent = CGImageGetBitsPerComponent(imageRef);
if (width * height > 1024 * 1024 || bitsPerComponent > 8) {
CGImageRelease(imageRef);
return image;
}
// CGImageGetBytesPerRow() calculates incorrectly in iOS 5.0, so defer to CGBitmapContextCreate
size_t bytesPerRow = 0;
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
CGColorSpaceModel colorSpaceModel = CGColorSpaceGetModel(colorSpace);
CGBitmapInfo bitmapInfo = CGImageGetBitmapInfo(imageRef);
if (colorSpaceModel == kCGColorSpaceModelRGB) {
uint32_t alpha = (bitmapInfo & kCGBitmapAlphaInfoMask);
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wassign-enum"
if (alpha == kCGImageAlphaNone) {
bitmapInfo &= ~kCGBitmapAlphaInfoMask;
bitmapInfo |= kCGImageAlphaNoneSkipFirst;
} else if (!(alpha == kCGImageAlphaNoneSkipFirst || alpha == kCGImageAlphaNoneSkipLast)) {
bitmapInfo &= ~kCGBitmapAlphaInfoMask;
bitmapInfo |= kCGImageAlphaPremultipliedFirst;
}
#pragma clang diagnostic pop
}
CGContextRef context = CGBitmapContextCreate(NULL, width, height, bitsPerComponent, bytesPerRow, colorSpace, bitmapInfo);
CGColorSpaceRelease(colorSpace);
if (!context) {
CGImageRelease(imageRef);
return image;
}
CGContextDrawImage(context, CGRectMake(0.0f, 0.0f, width, height), imageRef);
CGImageRef inflatedImageRef = CGBitmapContextCreateImage(context);
CGContextRelease(context);
UIImage *inflatedImage = [[UIImage alloc] initWithCGImage:inflatedImageRef scale:scale orientation:image.imageOrientation];
CGImageRelease(inflatedImageRef);
CGImageRelease(imageRef);
return inflatedImage;
}
#endif
@implementation AFImageResponseSerializer
- (instancetype)init {
self = [super init];
if (!self) {
return nil;
}
self.acceptableContentTypes = [[NSSet alloc] initWithObjects:@"image/tiff", @"image/jpeg", @"image/gif", @"image/png", @"image/ico", @"image/x-icon", @"image/bmp", @"image/x-bmp", @"image/x-xbitmap", @"image/x-win-bitmap", nil];
#if TARGET_OS_IOS || TARGET_OS_TV
self.imageScale = [[UIScreen mainScreen] scale];
self.automaticallyInflatesResponseImage = YES;
#elif TARGET_OS_WATCH
self.imageScale = [[WKInterfaceDevice currentDevice] screenScale];
self.automaticallyInflatesResponseImage = YES;
#endif
return self;
}
#pragma mark - AFURLResponseSerializer
- (id)responseObjectForResponse:(NSURLResponse *)response
data:(NSData *)data
error:(NSError *__autoreleasing *)error
{
if (![self validateResponse:(NSHTTPURLResponse *)response data:data error:error]) {
if (!error || AFErrorOrUnderlyingErrorHasCodeInDomain(*error, NSURLErrorCannotDecodeContentData, AFURLResponseSerializationErrorDomain)) {
return nil;
}
}
#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_WATCH
if (self.automaticallyInflatesResponseImage) {
return AFInflatedImageFromResponseWithDataAtScale((NSHTTPURLResponse *)response, data, self.imageScale);
} else {
return AFImageWithDataAtScale(data, self.imageScale);
}
#else
// Ensure that the image is set to it's correct pixel width and height
NSBitmapImageRep *bitimage = [[NSBitmapImageRep alloc] initWithData:data];
NSImage *image = [[NSImage alloc] initWithSize:NSMakeSize([bitimage pixelsWide], [bitimage pixelsHigh])];
[image addRepresentation:bitimage];
return image;
#endif
return nil;
}
#pragma mark - NSSecureCoding
+ (BOOL)supportsSecureCoding {
return YES;
}
- (instancetype)initWithCoder:(NSCoder *)decoder {
self = [super initWithCoder:decoder];
if (!self) {
return nil;
}
#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_WATCH
NSNumber *imageScale = [decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(imageScale))];
#if CGFLOAT_IS_DOUBLE
self.imageScale = [imageScale doubleValue];
#else
self.imageScale = [imageScale floatValue];
#endif
self.automaticallyInflatesResponseImage = [decoder decodeBoolForKey:NSStringFromSelector(@selector(automaticallyInflatesResponseImage))];
#endif
return self;
}
- (void)encodeWithCoder:(NSCoder *)coder {
[super encodeWithCoder:coder];
#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_WATCH
[coder encodeObject:@(self.imageScale) forKey:NSStringFromSelector(@selector(imageScale))];
[coder encodeBool:self.automaticallyInflatesResponseImage forKey:NSStringFromSelector(@selector(automaticallyInflatesResponseImage))];
#endif
}
#pragma mark - NSCopying
- (instancetype)copyWithZone:(NSZone *)zone {
AFImageResponseSerializer *serializer = [super copyWithZone:zone];
#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_WATCH
serializer.imageScale = self.imageScale;
serializer.automaticallyInflatesResponseImage = self.automaticallyInflatesResponseImage;
#endif
return serializer;
}
@end
#pragma mark -
@interface AFCompoundResponseSerializer ()
@property (readwrite, nonatomic, copy) NSArray *responseSerializers;
@end
@implementation AFCompoundResponseSerializer
+ (instancetype)compoundSerializerWithResponseSerializers:(NSArray *)responseSerializers {
AFCompoundResponseSerializer *serializer = [[self alloc] init];
serializer.responseSerializers = responseSerializers;
return serializer;
}
#pragma mark - AFURLResponseSerialization
- (id)responseObjectForResponse:(NSURLResponse *)response
data:(NSData *)data
error:(NSError *__autoreleasing *)error
{
for (id <AFURLResponseSerialization> serializer in self.responseSerializers) {
if (![serializer isKindOfClass:[AFHTTPResponseSerializer class]]) {
continue;
}
NSError *serializerError = nil;
id responseObject = [serializer responseObjectForResponse:response data:data error:&serializerError];
if (responseObject) {
if (error) {
*error = AFErrorWithUnderlyingError(serializerError, *error);
}
return responseObject;
}
}
return [super responseObjectForResponse:response data:data error:error];
}
#pragma mark - NSSecureCoding
+ (BOOL)supportsSecureCoding {
return YES;
}
- (instancetype)initWithCoder:(NSCoder *)decoder {
self = [super initWithCoder:decoder];
if (!self) {
return nil;
}
NSSet *classes = [NSSet setWithArray:@[[NSArray class], [AFHTTPResponseSerializer <AFURLResponseSerialization> class]]];
self.responseSerializers = [decoder decodeObjectOfClasses:classes forKey:NSStringFromSelector(@selector(responseSerializers))];
return self;
}
- (void)encodeWithCoder:(NSCoder *)coder {
[super encodeWithCoder:coder];
[coder encodeObject:self.responseSerializers forKey:NSStringFromSelector(@selector(responseSerializers))];
}
#pragma mark - NSCopying
- (instancetype)copyWithZone:(NSZone *)zone {
AFCompoundResponseSerializer *serializer = [super copyWithZone:zone];
serializer.responseSerializers = self.responseSerializers;
return serializer;
}
@end
| {
"pile_set_name": "Github"
} |
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.defcon.sortDescriptor</key>
<array>
<dict>
<key>ascending</key>
<array>
<string>space</string>
<string>exclam</string>
<string>quotedbl</string>
<string>numbersign</string>
<string>dollar</string>
<string>percent</string>
<string>ampersand</string>
<string>quotesingle</string>
<string>parenleft</string>
<string>parenright</string>
<string>asterisk</string>
<string>plus</string>
<string>comma</string>
<string>hyphen</string>
<string>period</string>
<string>slash</string>
<string>zero</string>
<string>one</string>
<string>two</string>
<string>three</string>
<string>four</string>
<string>five</string>
<string>six</string>
<string>seven</string>
<string>eight</string>
<string>nine</string>
<string>colon</string>
<string>semicolon</string>
<string>less</string>
<string>equal</string>
<string>greater</string>
<string>question</string>
<string>at</string>
<string>A</string>
<string>B</string>
<string>C</string>
<string>D</string>
<string>E</string>
<string>F</string>
<string>G</string>
<string>H</string>
<string>I</string>
<string>J</string>
<string>K</string>
<string>L</string>
<string>M</string>
<string>N</string>
<string>O</string>
<string>P</string>
<string>Q</string>
<string>R</string>
<string>S</string>
<string>T</string>
<string>U</string>
<string>V</string>
<string>W</string>
<string>X</string>
<string>Y</string>
<string>Z</string>
<string>bracketleft</string>
<string>backslash</string>
<string>bracketright</string>
<string>asciicircum</string>
<string>underscore</string>
<string>grave</string>
<string>a</string>
<string>b</string>
<string>c</string>
<string>d</string>
<string>e</string>
<string>f</string>
<string>g</string>
<string>i</string>
<string>j</string>
<string>k</string>
<string>l</string>
<string>m</string>
<string>n</string>
<string>o</string>
<string>p</string>
<string>q</string>
<string>r</string>
<string>s</string>
<string>t</string>
<string>u</string>
<string>v</string>
<string>w</string>
<string>x</string>
<string>y</string>
<string>z</string>
<string>braceleft</string>
<string>bar</string>
<string>braceright</string>
<string>asciitilde</string>
<string>exclamdown</string>
<string>cent</string>
<string>sterling</string>
<string>currency</string>
<string>yen</string>
<string>brokenbar</string>
<string>section</string>
<string>dieresis</string>
<string>copyright</string>
<string>ordfeminine</string>
<string>logicalnot</string>
<string>registered</string>
<string>macron</string>
<string>degree</string>
<string>plusminus</string>
<string>twosuperior</string>
<string>threesuperior</string>
<string>acute</string>
<string>paragraph</string>
<string>periodcentered</string>
<string>cedilla</string>
<string>onesuperior</string>
<string>ordmasculine</string>
<string>onequarter</string>
<string>onehalf</string>
<string>threequarters</string>
<string>questiondown</string>
<string>Agrave</string>
<string>Aacute</string>
<string>Acircumflex</string>
<string>Atilde</string>
<string>Adieresis</string>
<string>Aring</string>
<string>AE</string>
<string>Ccedilla</string>
<string>Egrave</string>
<string>Eacute</string>
<string>Ecircumflex</string>
<string>Edieresis</string>
<string>Igrave</string>
<string>Iacute</string>
<string>Icircumflex</string>
<string>Idieresis</string>
<string>Eth</string>
<string>Ntilde</string>
<string>Ograve</string>
<string>Oacute</string>
<string>Ocircumflex</string>
<string>Otilde</string>
<string>Odieresis</string>
<string>multiply</string>
<string>Oslash</string>
<string>OE</string>
<string>Ugrave</string>
<string>Uacute</string>
<string>Ucircumflex</string>
<string>Udieresis</string>
<string>Yacute</string>
<string>Thorn</string>
<string>germandbls</string>
<string>agrave</string>
<string>aacute</string>
<string>acircumflex</string>
<string>atilde</string>
<string>adieresis</string>
<string>aring</string>
<string>ae</string>
<string>ccedilla</string>
<string>egrave</string>
<string>eacute</string>
<string>ecircumflex</string>
<string>edieresis</string>
<string>igrave</string>
<string>iacute</string>
<string>icircumflex</string>
<string>idieresis</string>
<string>eth</string>
<string>ntilde</string>
<string>ograve</string>
<string>oacute</string>
<string>ocircumflex</string>
<string>otilde</string>
<string>odieresis</string>
<string>divide</string>
<string>oslash</string>
<string>oe</string>
<string>ugrave</string>
<string>uacute</string>
<string>ucircumflex</string>
<string>udieresis</string>
<string>yacute</string>
<string>thorn</string>
<string>ydieresis</string>
<string>circumflex</string>
<string>caron</string>
<string>breve</string>
<string>dotaccent</string>
<string>ring</string>
<string>ogonek</string>
<string>tilde</string>
<string>hungarumlaut</string>
<string>quoteleft</string>
<string>quoteright</string>
<string>minus</string>
<string>nbspace</string>
<string>Amacron</string>
<string>Abreve</string>
<string>Aogonek</string>
<string>Aringacute</string>
<string>Adblgrave</string>
<string>Ainvertedbreve</string>
<string>Adotbelow</string>
<string>Ahookabove</string>
<string>Acircumflexacute</string>
<string>Acircumflexgrave</string>
<string>Acircumflexhookabove</string>
<string>Acircumflextilde</string>
<string>Acircumflexdotbelow</string>
<string>Abreveacute</string>
<string>Abrevegrave</string>
<string>Abrevehookabove</string>
<string>Abrevetilde</string>
<string>Abrevedotbelow</string>
<string>Cacute</string>
<string>Ccircumflex</string>
<string>Cdotaccent</string>
<string>Ccaron</string>
<string>Dcaron</string>
<string>Emacron</string>
<string>Ebreve</string>
<string>Edotaccent</string>
<string>Eogonek</string>
<string>Ecaron</string>
<string>Edblgrave</string>
<string>Einvertedbreve</string>
<string>Edotbelow</string>
<string>Ehookabove</string>
<string>Etilde</string>
<string>Ecircumflexacute</string>
<string>Ecircumflexgrave</string>
<string>Ecircumflexhookabove</string>
<string>Ecircumflextilde</string>
<string>Ecircumflexdotbelow</string>
<string>Gcircumflex</string>
<string>Gbreve</string>
<string>Gdotaccent</string>
<string>Gcommaaccent</string>
<string>Gcaron</string>
<string>Hcircumflex</string>
<string>Itilde</string>
<string>Imacron</string>
<string>Ibreve</string>
<string>Iogonek</string>
<string>Idotaccent</string>
<string>Idblgrave</string>
<string>Iinvertedbreve</string>
<string>Ihookabove</string>
<string>Idotbelow</string>
<string>Jcircumflex</string>
<string>Kcommaaccent</string>
<string>Lacute</string>
<string>Lcommaaccent</string>
<string>Lcaron</string>
<string>Nacute</string>
<string>Ncommaaccent</string>
<string>Ncaron</string>
<string>Omacron</string>
<string>Obreve</string>
<string>Ohungarumlaut</string>
<string>Ohorn</string>
<string>Oogonek</string>
<string>Odblgrave</string>
<string>Oinvertedbreve</string>
<string>Odieresismacron</string>
<string>Otildemacron</string>
<string>Odotaccentmacron</string>
<string>Odotbelow</string>
<string>Ohookabove</string>
<string>Ocircumflexacute</string>
<string>Ocircumflexgrave</string>
<string>Ocircumflexhookabove</string>
<string>Ocircumflextilde</string>
<string>Ocircumflexdotbelow</string>
<string>Ohornacute</string>
<string>Ohorngrave</string>
<string>Ohornhookabove</string>
<string>Ohorntilde</string>
<string>Ohorndotbelow</string>
<string>Racute</string>
<string>Rcommaaccent</string>
<string>Rcaron</string>
<string>Rdblgrave</string>
<string>Rinvertedbreve</string>
<string>Sacute</string>
<string>Scircumflex</string>
<string>Scedilla</string>
<string>Scaron</string>
<string>Scommaaccent</string>
<string>Tcedilla</string>
<string>Tcaron</string>
<string>Tcommaaccent</string>
<string>Utilde</string>
<string>Umacron</string>
<string>Ubreve</string>
<string>Uring</string>
<string>Uhungarumlaut</string>
<string>Uogonek</string>
<string>Uhorn</string>
<string>Udblgrave</string>
<string>Uinvertedbreve</string>
<string>Udotbelow</string>
<string>Uhornacute</string>
<string>Uhorngrave</string>
<string>Uhornhookabove</string>
<string>Uhorntilde</string>
<string>Uhorndotbelow</string>
<string>Wcircumflex</string>
<string>Wgrave</string>
<string>Wacute</string>
<string>Wdieresis</string>
<string>Ycircumflex</string>
<string>Ydieresis</string>
<string>Ymacron</string>
<string>Ygrave</string>
<string>Ydotbelow</string>
<string>Yhookabove</string>
<string>Ytilde</string>
<string>Zacute</string>
<string>Zdotaccent</string>
<string>Zcaron</string>
<string>AEacute</string>
<string>Dcroat</string>
<string>Hbar</string>
<string>IJ</string>
<string>Ldot</string>
<string>Lslash</string>
<string>Eng</string>
<string>Oslashacute</string>
<string>Tbar</string>
<string>Schwa</string>
<string>DZcaron</string>
<string>LJ</string>
<string>NJ</string>
<string>Germandbls</string>
<string>amacron</string>
<string>abreve</string>
<string>aogonek</string>
<string>aringacute</string>
<string>adblgrave</string>
<string>ainvertedbreve</string>
<string>adotbelow</string>
<string>ahookabove</string>
<string>acircumflexacute</string>
<string>acircumflexgrave</string>
<string>acircumflexhookabove</string>
<string>acircumflextilde</string>
<string>acircumflexdotbelow</string>
<string>abreveacute</string>
<string>abrevegrave</string>
<string>abrevehookabove</string>
<string>abrevetilde</string>
<string>abrevedotbelow</string>
<string>cacute</string>
<string>ccircumflex</string>
<string>cdotaccent</string>
<string>ccaron</string>
<string>dcaron</string>
<string>emacron</string>
<string>ebreve</string>
<string>edotaccent</string>
<string>eogonek</string>
<string>ecaron</string>
<string>edblgrave</string>
<string>einvertedbreve</string>
<string>edotbelow</string>
<string>ehookabove</string>
<string>etilde</string>
<string>ecircumflexacute</string>
<string>ecircumflexgrave</string>
<string>ecircumflexhookabove</string>
<string>ecircumflextilde</string>
<string>ecircumflexdotbelow</string>
<string>gcircumflex</string>
<string>gbreve</string>
<string>gdotaccent</string>
<string>gcommaaccent</string>
<string>gcaron</string>
<string>hcircumflex</string>
<string>itilde</string>
<string>imacron</string>
<string>ibreve</string>
<string>iogonek</string>
<string>idblgrave</string>
<string>iinvertedbreve</string>
<string>ihookabove</string>
<string>idotbelow</string>
<string>jcircumflex</string>
<string>kcommaaccent</string>
<string>lacute</string>
<string>lcommaaccent</string>
<string>lcaron</string>
<string>nacute</string>
<string>ncommaaccent</string>
<string>ncaron</string>
<string>omacron</string>
<string>obreve</string>
<string>ohungarumlaut</string>
<string>ohorn</string>
<string>oogonek</string>
<string>odblgrave</string>
<string>oinvertedbreve</string>
<string>odieresismacron</string>
<string>otildemacron</string>
<string>odotaccentmacron</string>
<string>odotbelow</string>
<string>ohookabove</string>
<string>ocircumflexacute</string>
<string>ocircumflexgrave</string>
<string>ocircumflexhookabove</string>
<string>ocircumflextilde</string>
<string>ocircumflexdotbelow</string>
<string>ohornacute</string>
<string>ohorngrave</string>
<string>ohornhookabove</string>
<string>ohorntilde</string>
<string>ohorndotbelow</string>
<string>racute</string>
<string>rcommaaccent</string>
<string>rcaron</string>
<string>rdblgrave</string>
<string>rinvertedbreve</string>
<string>sacute</string>
<string>scircumflex</string>
<string>scedilla</string>
<string>scaron</string>
<string>scommaaccent</string>
<string>tcedilla</string>
<string>tcaron</string>
<string>tcommaaccent</string>
<string>utilde</string>
<string>umacron</string>
<string>ubreve</string>
<string>uring</string>
<string>uhungarumlaut</string>
<string>uogonek</string>
<string>uhorn</string>
<string>udblgrave</string>
<string>uinvertedbreve</string>
<string>udotbelow</string>
<string>uhornacute</string>
<string>uhorngrave</string>
<string>uhornhookabove</string>
<string>uhorntilde</string>
<string>uhorndotbelow</string>
<string>wcircumflex</string>
<string>wgrave</string>
<string>wacute</string>
<string>wdieresis</string>
<string>ycircumflex</string>
<string>ymacron</string>
<string>ygrave</string>
<string>ydotbelow</string>
<string>yhookabove</string>
<string>ytilde</string>
<string>zacute</string>
<string>zdotaccent</string>
<string>zcaron</string>
<string>aeacute</string>
<string>dcroat</string>
<string>hbar</string>
<string>idotless</string>
<string>jdotless</string>
<string>ij</string>
<string>kgreenlandic</string>
<string>ldot</string>
<string>lslash</string>
<string>napostrophe</string>
<string>eng</string>
<string>oslashacute</string>
<string>tbar</string>
<string>micro</string>
<string>dzcaron</string>
<string>lj</string>
<string>nj</string>
<string>schwa</string>
<string>Dzcaron</string>
<string>Lj</string>
<string>Nj</string>
<string>firsttonechinese</string>
<string>acutecomb</string>
<string>gravecomb</string>
<string>circumflexcomb</string>
<string>tildecomb</string>
<string>macroncomb</string>
<string>brevecomb</string>
<string>dotaccentcomb</string>
<string>dieresiscomb</string>
<string>ringcomb</string>
<string>hungarumlautcomb</string>
<string>caroncomb</string>
<string>cedillacomb</string>
<string>ogonekcomb</string>
<string>hookabovecomb</string>
<string>breveinvertedcomb</string>
<string>dblgravecomb</string>
<string>horncomb</string>
<string>dotbelowcomb</string>
<string>dieresisbelowcomb</string>
<string>commaaccentcomb</string>
<string>brevebelowcomb</string>
<string>macronbelowcomb</string>
<string>foursuperior</string>
<string>lessequal</string>
<string>greaterequal</string>
<string>approxequal</string>
<string>notequal</string>
<string>divisionslash</string>
<string>bulletoperator</string>
<string>perthousand</string>
<string>fraction</string>
<string>franc</string>
<string>lira</string>
<string>naira</string>
<string>peseta</string>
<string>won</string>
<string>dong</string>
<string>euro</string>
<string>florin</string>
<string>kip</string>
<string>peso</string>
<string>guarani</string>
<string>cedi</string>
<string>colonsign</string>
<string>rupeeIndian</string>
<string>liraTurkish</string>
<string>manat</string>
<string>ruble</string>
<string>numero</string>
<string>endash</string>
<string>emdash</string>
<string>quotedblleft</string>
<string>quotedblright</string>
<string>quotesinglbase</string>
<string>quotedblbase</string>
<string>guilsinglleft</string>
<string>guilsinglright</string>
<string>guillemetleft</string>
<string>guillemetright</string>
<string>dagger</string>
<string>daggerdbl</string>
<string>ellipsis</string>
<string>bullet</string>
<string>trademark</string>
<string>CR</string>
<string>softhyphen</string>
<string>IJacute</string>
<string>ijacute</string>
<string>f_f</string>
<string>fi</string>
<string>fl</string>
<string>f_f_i</string>
<string>f_f_l</string>
<string>gravecomb.case</string>
<string>acutecomb.case</string>
<string>circumflexcomb.case</string>
<string>tildecomb.case</string>
<string>macroncomb.case</string>
<string>brevecomb.case</string>
<string>dotaccentcomb.case</string>
<string>dieresiscomb.case</string>
<string>ringcomb.case</string>
<string>hungarumlautcomb.case</string>
<string>caroncomb.case</string>
<string>cedillacomb.case</string>
<string>ogonekcomb.case</string>
<string>hookabovecomb.case</string>
<string>breveinvertedcomb.case</string>
<string>dblgravecomb.case</string>
<string>horncomb.case</string>
<string>dotbelowcomb.case</string>
<string>dieresisbelowcomb.case</string>
<string>commaaccentcomb.case</string>
<string>brevebelowcomb.case</string>
<string>macronbelowcomb.case</string>
<string>periodcentered.loclCAT</string>
<string>periodcentered.loclCAT.case</string>
<string>zero.lf</string>
<string>one.lf</string>
<string>two.lf</string>
<string>three.lf</string>
<string>four.lf</string>
<string>five.lf</string>
<string>six.lf</string>
<string>seven.lf</string>
<string>eight.lf</string>
<string>nine.lf</string>
<string>minute</string>
<string>second</string>
<string>caroncomb.alt</string>
<string>Uhookabove</string>
<string>uhookabove</string>
<string>primemod</string>
<string>doubleprimemod</string>
<string>apostrophemod</string>
<string>hyphentwo</string>
<string>horizontalbar</string>
<string>leftanglebracket</string>
<string>rightanglebracket</string>
<string>commercialMinusSign</string>
<string>diagonalbarO</string>
<string>diagonalbarl</string>
<string>diagonalbaro</string>
<string>engn</string>
<string>engtail</string>
<string>horizontalbarH</string>
<string>horizontalbarlc</string>
<string>hornU</string>
<string>idotaccent</string>
<string>hornu</string>
<string>Iacute_J.loclNLD</string>
<string>iacute_j.loclNLD</string>
<string>Jacute.loclNLD</string>
<string>jacute.loclNLD</string>
<string>gravecombstack.case</string>
<string>acutecombstack.case</string>
<string>circumflexcombstack.case</string>
<string>tildecombstack.case</string>
<string>brevecombstack.case</string>
<string>hookabovecombstack.case</string>
<string>dieresiscombstack.case</string>
<string>macroncombstack.case</string>
<string>dotaccentcombstack.case</string>
<string>dollar.rvrn</string>
<string>zero.tab</string>
<string>one.tab</string>
<string>two.tab</string>
<string>three.tab</string>
<string>four.tab</string>
<string>five.tab</string>
<string>six.tab</string>
<string>seven.tab</string>
<string>eight.tab</string>
<string>nine.tab</string>
<string>zero.lc</string>
<string>one.lc</string>
<string>two.lc</string>
<string>three.lc</string>
<string>four.lc</string>
<string>five.lc</string>
<string>six.lc</string>
<string>seven.lc</string>
<string>eight.lc</string>
<string>nine.lc</string>
<string>dollar.rvrn2</string>
<string>h</string>
<string>Alpha</string>
<string>Alphatonos</string>
<string>Beta</string>
<string>Gamma</string>
<string>Delta</string>
<string>Epsilon</string>
<string>Epsilontonos</string>
<string>Zeta</string>
<string>Eta</string>
<string>Etatonos</string>
<string>Theta</string>
<string>Iota</string>
<string>Iotatonos</string>
<string>Iotadieresis</string>
<string>Kappa</string>
<string>Lambda</string>
<string>Mu</string>
<string>Nu</string>
<string>Xi</string>
<string>Omicron</string>
<string>Omicrontonos</string>
<string>Pi</string>
<string>Rho</string>
<string>Sigma</string>
<string>Tau</string>
<string>Upsilon</string>
<string>Upsilontonos</string>
<string>Upsilondieresis</string>
<string>Phi</string>
<string>Chi</string>
<string>Psi</string>
<string>Omega</string>
<string>Omegatonos</string>
<string>Kaisymbol</string>
<string>ohm</string>
<string>alpha</string>
<string>alphatonos</string>
<string>beta</string>
<string>gamma</string>
<string>delta</string>
<string>epsilon</string>
<string>epsilontonos</string>
<string>zeta</string>
<string>eta</string>
<string>etatonos</string>
<string>theta</string>
<string>iota</string>
<string>iotadieresistonos</string>
<string>iotatonos</string>
<string>iotadieresis</string>
<string>kappa</string>
<string>lambda</string>
<string>mu</string>
<string>nu</string>
<string>xi</string>
<string>omicron</string>
<string>omicrontonos</string>
<string>pi</string>
<string>rho</string>
<string>finalsigma</string>
<string>sigma</string>
<string>tau</string>
<string>upsilon</string>
<string>upsilondieresistonos</string>
<string>upsilondieresis</string>
<string>upsilontonos</string>
<string>phi</string>
<string>chi</string>
<string>psi</string>
<string>omega</string>
<string>omegatonos</string>
<string>numeralsign</string>
<string>kaisymbol</string>
<string>gr:question</string>
<string>anoteleia</string>
<string>increment</string>
<string>dieresistonos</string>
<string>lownumeralsign</string>
<string>tonos</string>
<string>dieresistonoscmb</string>
<string>tonoscmb</string>
<string>tonos.case</string>
</array>
<key>type</key>
<string>glyphList</string>
</dict>
</array>
<key>com.typemytype.glyphBuilder.lastSavedFileName</key>
<string>Amstelvar-Italic</string>
<key>com.typemytype.robofont.back.layerStrokeColor</key>
<array>
<real>1.0</real>
<real>0.75</real>
<real>0.0</real>
<real>0.7</real>
</array>
<key>com.typemytype.robofont.compileSettings.MacRomanFirst</key>
<false/>
<key>com.typemytype.robofont.compileSettings.autohint</key>
<integer>0</integer>
<key>com.typemytype.robofont.compileSettings.checkOutlines</key>
<integer>1</integer>
<key>com.typemytype.robofont.compileSettings.createDummyDSIG</key>
<true/>
<key>com.typemytype.robofont.compileSettings.decompose</key>
<integer>1</integer>
<key>com.typemytype.robofont.compileSettings.generateFormat</key>
<integer>0</integer>
<key>com.typemytype.robofont.compileSettings.layerName</key>
<string>foreground</string>
<key>com.typemytype.robofont.compileSettings.path</key>
<string>/Users/richardlipton/Desktop/Git fonts/Amstelvar/sources/Amstelvar-NewCharset/Italic/Amstelvar-Italic.otf</string>
<key>com.typemytype.robofont.compileSettings.releaseMode</key>
<false/>
<key>com.typemytype.robofont.foreground.layerStrokeColor</key>
<array>
<real>0.5</real>
<real>0.0</real>
<real>0.5</real>
<real>0.7</real>
</array>
<key>com.typemytype.robofont.guideline.magnetic.5kX0M0UC7I</key>
<real>5.0</real>
<key>com.typemytype.robofont.guideline.magnetic.CvYZemKuUu</key>
<real>5.0</real>
<key>com.typemytype.robofont.guideline.magnetic.RQzTGkD5rV</key>
<real>5.0</real>
<key>com.typemytype.robofont.guideline.magnetic.cHods2VRcs</key>
<real>5.0</real>
<key>com.typemytype.robofont.guideline.showMeasurements.5kX0M0UC7I</key>
<false/>
<key>com.typemytype.robofont.guideline.showMeasurements.CvYZemKuUu</key>
<false/>
<key>com.typemytype.robofont.guideline.showMeasurements.RQzTGkD5rV</key>
<false/>
<key>com.typemytype.robofont.guideline.showMeasurements.cHods2VRcs</key>
<false/>
<key>com.typemytype.robofont.italicSlantOffset</key>
<integer>0</integer>
<key>com.typemytype.robofont.segmentType</key>
<string>qcurve</string>
<key>com.typemytype.robofont.shouldAddPointsInSplineConversion</key>
<integer>1</integer>
<key>com.typemytype.robofont.smartSets.uniqueKey</key>
<string>4507391376</string>
<key>com.typesupply.defcon.sortDescriptor</key>
<array>
<dict>
<key>ascending</key>
<array>
<string>NULL</string>
<string>CR</string>
<string>space</string>
<string>nbspace</string>
<string>A</string>
<string>B</string>
<string>C</string>
<string>D</string>
<string>E</string>
<string>F</string>
<string>G</string>
<string>H</string>
<string>I</string>
<string>J</string>
<string>K</string>
<string>L</string>
<string>M</string>
<string>N</string>
<string>O</string>
<string>P</string>
<string>Q</string>
<string>R</string>
<string>S</string>
<string>T</string>
<string>U</string>
<string>V</string>
<string>W</string>
<string>X</string>
<string>Y</string>
<string>Z</string>
<string>a</string>
<string>b</string>
<string>c</string>
<string>d</string>
<string>e</string>
<string>f</string>
<string>g</string>
<string>h</string>
<string>i</string>
<string>j</string>
<string>k</string>
<string>l</string>
<string>m</string>
<string>n</string>
<string>o</string>
<string>p</string>
<string>q</string>
<string>r</string>
<string>s</string>
<string>t</string>
<string>u</string>
<string>v</string>
<string>w</string>
<string>x</string>
<string>y</string>
<string>z</string>
<string>zero</string>
<string>one</string>
<string>two</string>
<string>three</string>
<string>four</string>
<string>five</string>
<string>six</string>
<string>seven</string>
<string>eight</string>
<string>nine</string>
<string>zero.lf</string>
<string>one.lf</string>
<string>two.lf</string>
<string>three.lf</string>
<string>four.lf</string>
<string>five.lf</string>
<string>six.lf</string>
<string>seven.lf</string>
<string>eight.lf</string>
<string>nine.lf</string>
<string>onesuperior</string>
<string>twosuperior</string>
<string>threesuperior</string>
<string>foursuperior</string>
<string>ordfeminine</string>
<string>ordmasculine</string>
<string>onehalf</string>
<string>onequarter</string>
<string>threequarters</string>
<string>idotless</string>
<string>jdotless</string>
<string>AE</string>
<string>ae</string>
<string>OE</string>
<string>oe</string>
<string>eth</string>
<string>Thorn</string>
<string>thorn</string>
<string>kgreenlandic</string>
<string>Germandbls</string>
<string>germandbls</string>
<string>Schwa</string>
<string>schwa</string>
<string>micro</string>
<string>fi</string>
<string>fl</string>
<string>f_f</string>
<string>f_f_i</string>
<string>f_f_l</string>
<string>dollar</string>
<string>cent</string>
<string>euro</string>
<string>sterling</string>
<string>yen</string>
<string>florin</string>
<string>franc</string>
<string>lira</string>
<string>naira</string>
<string>peseta</string>
<string>won</string>
<string>dong</string>
<string>kip</string>
<string>peso</string>
<string>guarani</string>
<string>cedi</string>
<string>rupeeIndian</string>
<string>liraTurkish</string>
<string>manat</string>
<string>ruble</string>
<string>colonsign</string>
<string>currency</string>
<string>exclam</string>
<string>exclamdown</string>
<string>question</string>
<string>questiondown</string>
<string>comma</string>
<string>period</string>
<string>colon</string>
<string>semicolon</string>
<string>ellipsis</string>
<string>periodcentered</string>
<string>bullet</string>
<string>underscore</string>
<string>hyphen</string>
<string>hyphentwo</string>
<string>softhyphen</string>
<string>endash</string>
<string>emdash</string>
<string>quotesingle</string>
<string>quotedbl</string>
<string>quoteleft</string>
<string>quoteright</string>
<string>quotesinglbase</string>
<string>quotedblleft</string>
<string>quotedblright</string>
<string>quotedblbase</string>
<string>apostrophemod</string>
<string>primemod</string>
<string>doubleprimemod</string>
<string>minute</string>
<string>second</string>
<string>parenleft</string>
<string>parenright</string>
<string>bracketleft</string>
<string>bracketright</string>
<string>braceleft</string>
<string>braceright</string>
<string>guillemetleft</string>
<string>guillemetright</string>
<string>guilsinglleft</string>
<string>guilsinglright</string>
<string>leftanglebracket</string>
<string>rightanglebracket</string>
<string>plus</string>
<string>minus</string>
<string>plusminus</string>
<string>multiply</string>
<string>divide</string>
<string>equal</string>
<string>notequal</string>
<string>approxequal</string>
<string>less</string>
<string>greater</string>
<string>lessequal</string>
<string>greaterequal</string>
<string>bulletoperator</string>
<string>logicalnot</string>
<string>divisionslash</string>
<string>slash</string>
<string>backslash</string>
<string>fraction</string>
<string>percent</string>
<string>perthousand</string>
<string>bar</string>
<string>brokenbar</string>
<string>dagger</string>
<string>daggerdbl</string>
<string>copyright</string>
<string>registered</string>
<string>commercialMinusSign</string>
<string>trademark</string>
<string>degree</string>
<string>asterisk</string>
<string>numbersign</string>
<string>ampersand</string>
<string>at</string>
<string>section</string>
<string>paragraph</string>
<string>numero</string>
<string>asciicircum</string>
<string>asciitilde</string>
<string>Aacute</string>
<string>Abreve</string>
<string>Abreveacute</string>
<string>Abrevedotbelow</string>
<string>Abrevegrave</string>
<string>Abrevehookabove</string>
<string>Abrevetilde</string>
<string>Acircumflex</string>
<string>Acircumflexacute</string>
<string>Acircumflexdotbelow</string>
<string>Acircumflexgrave</string>
<string>Acircumflexhookabove</string>
<string>Acircumflextilde</string>
<string>Adblgrave</string>
<string>Adieresis</string>
<string>Adotbelow</string>
<string>Agrave</string>
<string>Ahookabove</string>
<string>Ainvertedbreve</string>
<string>Amacron</string>
<string>Aogonek</string>
<string>Aring</string>
<string>Aringacute</string>
<string>Atilde</string>
<string>AEacute</string>
<string>Cacute</string>
<string>Ccaron</string>
<string>Ccedilla</string>
<string>Ccircumflex</string>
<string>Cdotaccent</string>
<string>Dcaron</string>
<string>Dcroat</string>
<string>Eacute</string>
<string>Ebreve</string>
<string>Ecaron</string>
<string>Ecircumflex</string>
<string>Ecircumflexacute</string>
<string>Ecircumflexdotbelow</string>
<string>Ecircumflexgrave</string>
<string>Ecircumflexhookabove</string>
<string>Ecircumflextilde</string>
<string>Edblgrave</string>
<string>Edieresis</string>
<string>Edotaccent</string>
<string>Edotbelow</string>
<string>Egrave</string>
<string>Ehookabove</string>
<string>Einvertedbreve</string>
<string>Emacron</string>
<string>Eng</string>
<string>Eogonek</string>
<string>Eth</string>
<string>Etilde</string>
<string>Gbreve</string>
<string>Gcaron</string>
<string>Gcircumflex</string>
<string>Gcommaaccent</string>
<string>Gdotaccent</string>
<string>Hbar</string>
<string>Hcircumflex</string>
<string>Iacute</string>
<string>Ibreve</string>
<string>Icircumflex</string>
<string>Idblgrave</string>
<string>Idieresis</string>
<string>Idotaccent</string>
<string>Idotbelow</string>
<string>Igrave</string>
<string>Ihookabove</string>
<string>Iinvertedbreve</string>
<string>Imacron</string>
<string>Iogonek</string>
<string>Itilde</string>
<string>Jcircumflex</string>
<string>Kcommaaccent</string>
<string>Lacute</string>
<string>Lcaron</string>
<string>Lcommaaccent</string>
<string>Ldot</string>
<string>Lslash</string>
<string>Nacute</string>
<string>Ncaron</string>
<string>Ncommaaccent</string>
<string>Ntilde</string>
<string>Oacute</string>
<string>Obreve</string>
<string>Ocircumflex</string>
<string>Ocircumflexacute</string>
<string>Ocircumflexdotbelow</string>
<string>Ocircumflexgrave</string>
<string>Ocircumflexhookabove</string>
<string>Ocircumflextilde</string>
<string>Odblgrave</string>
<string>Odieresis</string>
<string>Odieresismacron</string>
<string>Odotaccentmacron</string>
<string>Odotbelow</string>
<string>Ograve</string>
<string>Ohookabove</string>
<string>Ohorn</string>
<string>Ohornacute</string>
<string>Ohorndotbelow</string>
<string>Ohorngrave</string>
<string>Ohornhookabove</string>
<string>Ohorntilde</string>
<string>Ohungarumlaut</string>
<string>Oinvertedbreve</string>
<string>Omacron</string>
<string>Oogonek</string>
<string>Oslash</string>
<string>Oslashacute</string>
<string>Otilde</string>
<string>Otildemacron</string>
<string>Racute</string>
<string>Rcaron</string>
<string>Rcommaaccent</string>
<string>Rdblgrave</string>
<string>Rinvertedbreve</string>
<string>Sacute</string>
<string>Scaron</string>
<string>Scedilla</string>
<string>Scircumflex</string>
<string>Scommaaccent</string>
<string>Tbar</string>
<string>Tcaron</string>
<string>Tcedilla</string>
<string>Tcommaaccent</string>
<string>Uacute</string>
<string>Ubreve</string>
<string>Ucircumflex</string>
<string>Udblgrave</string>
<string>Udieresis</string>
<string>Udotbelow</string>
<string>Ugrave</string>
<string>Uhookabove</string>
<string>Uhorn</string>
<string>Uhornacute</string>
<string>Uhorndotbelow</string>
<string>Uhorngrave</string>
<string>Uhornhookabove</string>
<string>Uhorntilde</string>
<string>Uhungarumlaut</string>
<string>Uinvertedbreve</string>
<string>Umacron</string>
<string>Uogonek</string>
<string>Uring</string>
<string>Utilde</string>
<string>Wacute</string>
<string>Wcircumflex</string>
<string>Wdieresis</string>
<string>Wgrave</string>
<string>Yacute</string>
<string>Ycircumflex</string>
<string>Ydieresis</string>
<string>Ydotbelow</string>
<string>Ygrave</string>
<string>Yhookabove</string>
<string>Ymacron</string>
<string>Ytilde</string>
<string>Zacute</string>
<string>Zcaron</string>
<string>Zdotaccent</string>
<string>aacute</string>
<string>abreve</string>
<string>abreveacute</string>
<string>abrevedotbelow</string>
<string>abrevegrave</string>
<string>abrevehookabove</string>
<string>abrevetilde</string>
<string>acircumflex</string>
<string>acircumflexacute</string>
<string>acircumflexdotbelow</string>
<string>acircumflexgrave</string>
<string>acircumflexhookabove</string>
<string>acircumflextilde</string>
<string>adblgrave</string>
<string>adieresis</string>
<string>adotbelow</string>
<string>agrave</string>
<string>ahookabove</string>
<string>ainvertedbreve</string>
<string>amacron</string>
<string>aogonek</string>
<string>aring</string>
<string>aringacute</string>
<string>atilde</string>
<string>aeacute</string>
<string>cacute</string>
<string>ccaron</string>
<string>ccedilla</string>
<string>ccircumflex</string>
<string>cdotaccent</string>
<string>dcaron</string>
<string>dcroat</string>
<string>eacute</string>
<string>ebreve</string>
<string>ecaron</string>
<string>ecircumflex</string>
<string>ecircumflexacute</string>
<string>ecircumflexdotbelow</string>
<string>ecircumflexgrave</string>
<string>ecircumflexhookabove</string>
<string>ecircumflextilde</string>
<string>edblgrave</string>
<string>edieresis</string>
<string>edotaccent</string>
<string>edotbelow</string>
<string>egrave</string>
<string>ehookabove</string>
<string>einvertedbreve</string>
<string>emacron</string>
<string>eng</string>
<string>eogonek</string>
<string>etilde</string>
<string>gbreve</string>
<string>gcaron</string>
<string>gcircumflex</string>
<string>gcommaaccent</string>
<string>gdotaccent</string>
<string>hbar</string>
<string>hcircumflex</string>
<string>iacute</string>
<string>ibreve</string>
<string>icircumflex</string>
<string>idblgrave</string>
<string>idieresis</string>
<string>idotaccent</string>
<string>idotbelow</string>
<string>igrave</string>
<string>ihookabove</string>
<string>iinvertedbreve</string>
<string>imacron</string>
<string>iogonek</string>
<string>itilde</string>
<string>jcircumflex</string>
<string>kcommaaccent</string>
<string>lacute</string>
<string>lcaron</string>
<string>lcommaaccent</string>
<string>ldot</string>
<string>lslash</string>
<string>nacute</string>
<string>ncaron</string>
<string>ncommaaccent</string>
<string>ntilde</string>
<string>oacute</string>
<string>obreve</string>
<string>ocircumflex</string>
<string>ocircumflexacute</string>
<string>ocircumflexdotbelow</string>
<string>ocircumflexgrave</string>
<string>ocircumflexhookabove</string>
<string>ocircumflextilde</string>
<string>odblgrave</string>
<string>odieresis</string>
<string>odieresismacron</string>
<string>odotaccentmacron</string>
<string>odotbelow</string>
<string>ograve</string>
<string>ohookabove</string>
<string>ohorn</string>
<string>ohornacute</string>
<string>ohorndotbelow</string>
<string>ohorngrave</string>
<string>ohornhookabove</string>
<string>ohorntilde</string>
<string>ohungarumlaut</string>
<string>oinvertedbreve</string>
<string>omacron</string>
<string>oogonek</string>
<string>oslash</string>
<string>oslashacute</string>
<string>otilde</string>
<string>otildemacron</string>
<string>racute</string>
<string>rcaron</string>
<string>rcommaaccent</string>
<string>rdblgrave</string>
<string>rinvertedbreve</string>
<string>sacute</string>
<string>scaron</string>
<string>scedilla</string>
<string>scircumflex</string>
<string>scommaaccent</string>
<string>tbar</string>
<string>tcaron</string>
<string>tcedilla</string>
<string>tcommaaccent</string>
<string>uacute</string>
<string>ubreve</string>
<string>ucircumflex</string>
<string>udblgrave</string>
<string>udieresis</string>
<string>udotbelow</string>
<string>ugrave</string>
<string>uhookabove</string>
<string>uhorn</string>
<string>uhornacute</string>
<string>uhorndotbelow</string>
<string>uhorngrave</string>
<string>uhornhookabove</string>
<string>uhorntilde</string>
<string>uhungarumlaut</string>
<string>uinvertedbreve</string>
<string>umacron</string>
<string>uogonek</string>
<string>uring</string>
<string>utilde</string>
<string>wacute</string>
<string>wcircumflex</string>
<string>wdieresis</string>
<string>wgrave</string>
<string>yacute</string>
<string>ycircumflex</string>
<string>ydieresis</string>
<string>ydotbelow</string>
<string>ygrave</string>
<string>yhookabove</string>
<string>ymacron</string>
<string>ytilde</string>
<string>zacute</string>
<string>zcaron</string>
<string>zdotaccent</string>
<string>grave</string>
<string>acute</string>
<string>circumflex</string>
<string>tilde</string>
<string>macron</string>
<string>breve</string>
<string>dotaccent</string>
<string>dieresis</string>
<string>hookabove</string>
<string>ring</string>
<string>hungarumlaut</string>
<string>caron</string>
<string>dblgrave</string>
<string>breveinverted</string>
<string>commaturnedabove</string>
<string>horn</string>
<string>dotbelow</string>
<string>cedilla</string>
<string>ogonek</string>
<string>brevebelow</string>
<string>commaaccent</string>
<string>macronbelow</string>
<string>circumflex_acute</string>
<string>circumflex_grave</string>
<string>circumflex_hookabove</string>
<string>circumflex_tilde</string>
<string>breve_acute</string>
<string>breve_grave</string>
<string>breve_hookabove</string>
<string>breve_tilde</string>
<string>caron.alt</string>
<string>ring_acute</string>
<string>dieresis_macron</string>
<string>tilde_macron</string>
<string>dotaccent_macron</string>
<string>grave.uc</string>
<string>acute.uc</string>
<string>circumflex.uc</string>
<string>tilde.uc</string>
<string>macron.uc</string>
<string>breve.uc</string>
<string>dotaccent.uc</string>
<string>dieresis.uc</string>
<string>hookabove.uc</string>
<string>ring.uc</string>
<string>hungarumlaut.uc</string>
<string>caron.uc</string>
<string>dblgrave.uc</string>
<string>breveinverted.uc</string>
<string>commaturnedabove.uc</string>
<string>horn.uc</string>
<string>dotbelow.uc</string>
<string>cedilla.uc</string>
<string>ogonek.uc</string>
<string>brevebelow.uc</string>
<string>commaaccent.uc</string>
<string>macronbelow.uc</string>
<string>circumflex_acute.uc</string>
<string>circumflex_grave.uc</string>
<string>circumflex_hookabove.uc</string>
<string>circumflex_tilde.uc</string>
<string>breve_acute.uc</string>
<string>breve_grave.uc</string>
<string>breve_hookabove.uc</string>
<string>breve_tilde.uc</string>
<string>caron.alt.uc</string>
<string>ring_acute.uc</string>
<string>dieresis_macron.uc</string>
<string>tilde_macron.uc</string>
<string>dotaccent_macron.uc</string>
<string>engtail</string>
<string>horizontalbarH</string>
<string>hornU</string>
<string>strokeshort</string>
<string>diagonalbarO</string>
<string>diagonalbarl</string>
<string>diagonalbaro</string>
<string>engn</string>
<string>horizontalbarlc</string>
<string>horizontalbar</string>
<string>dieresisbelow</string>
<string>Dzcaron</string>
<string>dzcaron</string>
<string>LJ</string>
<string>lj</string>
<string>NJ</string>
<string>nj</string>
<string>f.altbegin</string>
<string>f.altend</string>
<string>f.altshortd</string>
<string>f.altshorta</string>
</array>
<key>type</key>
<string>glyphList</string>
</dict>
</array>
<key>com.typesupply.metricsMachine4.groupColors</key>
<dict>
<key>public.kern1.A</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.C</key>
<array>
<real>1.0</real>
<real>0.5</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.E</key>
<array>
<real>1.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.G</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.I</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.J</key>
<array>
<real>0.0</real>
<real>0.5</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.K</key>
<array>
<real>0.0</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.L</key>
<array>
<real>0.5</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.N</key>
<array>
<real>0.0</real>
<real>0.5</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.O</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.Ohorn</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>0.5</real>
<real>0.25</real>
</array>
<key>public.kern1.R</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>0.5</real>
<real>0.25</real>
</array>
<key>public.kern1.S</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.Straight_right</key>
<array>
<real>1.0</real>
<real>0.5</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.T</key>
<array>
<real>1.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.U</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.Uhorn</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.W</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.Y</key>
<array>
<real>0.0</real>
<real>0.5</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.Z</key>
<array>
<real>0.0</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.a</key>
<array>
<real>0.5</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.b_p</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.braces</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>0.5</real>
<real>0.25</real>
</array>
<key>public.kern1.bullet</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.c</key>
<array>
<real>1.0</real>
<real>0.5</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.carons</key>
<array>
<real>1.0</real>
<real>0.5</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.circles</key>
<array>
<real>1.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.colons</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.dashes</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.dots</key>
<array>
<real>0.0</real>
<real>0.5</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.e</key>
<array>
<real>0.0</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.f</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.g</key>
<array>
<real>0.5</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.guilleft</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.guilright</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>0.5</real>
<real>0.25</real>
</array>
<key>public.kern1.h_n_m</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.i</key>
<array>
<real>1.0</real>
<real>0.5</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.j</key>
<array>
<real>1.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.k</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.l</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.math</key>
<array>
<real>0.0</real>
<real>0.5</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.minute</key>
<array>
<real>0.0</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.o</key>
<array>
<real>0.0</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.ohorn</key>
<array>
<real>1.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.percent</key>
<array>
<real>0.5</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.prime</key>
<array>
<real>0.5</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.quotebase</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.quoteleft</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>0.5</real>
<real>0.25</real>
</array>
<key>public.kern1.quoteright</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.quotes</key>
<array>
<real>1.0</real>
<real>0.5</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.r</key>
<array>
<real>1.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.s</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.t</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.u</key>
<array>
<real>0.0</real>
<real>0.5</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.uhorn</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern1.w</key>
<array>
<real>0.0</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.y</key>
<array>
<real>0.5</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern1.z</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.A</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern2.AE</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern2.C_G_O</key>
<array>
<real>1.0</real>
<real>0.5</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern2.I</key>
<array>
<real>1.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern2.J</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern2.S</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.Straight_left</key>
<array>
<real>0.0</real>
<real>0.5</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.T</key>
<array>
<real>0.0</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.U</key>
<array>
<real>0.5</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.W</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.Y</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>0.5</real>
<real>0.25</real>
</array>
<key>public.kern2.Z</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern2.a</key>
<array>
<real>1.0</real>
<real>0.5</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern2.b</key>
<array>
<real>1.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern2.braces</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern2.bullet</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.c_e_o</key>
<array>
<real>0.0</real>
<real>0.5</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.circles</key>
<array>
<real>0.0</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.colons</key>
<array>
<real>0.5</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.d_q</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.dashes</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>0.5</real>
<real>0.25</real>
</array>
<key>public.kern2.dots</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern2.f</key>
<array>
<real>1.0</real>
<real>0.5</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern2.g</key>
<array>
<real>1.0</real>
<real>0.5</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern2.guilleft</key>
<array>
<real>1.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern2.guilright</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern2.i</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.j</key>
<array>
<real>0.0</real>
<real>0.5</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.math</key>
<array>
<real>0.0</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.minute</key>
<array>
<real>1.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern2.percent</key>
<array>
<real>0.5</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.prime</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern2.quotebase</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.quoteleft</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>0.5</real>
<real>0.25</real>
</array>
<key>public.kern2.quoteright</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern2.quotes</key>
<array>
<real>1.0</real>
<real>0.5</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern2.s</key>
<array>
<real>1.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern2.straight_left_asc</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>0.0</real>
<real>0.25</real>
</array>
<key>public.kern2.straight_left_x</key>
<array>
<real>0.0</real>
<real>1.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.t</key>
<array>
<real>0.0</real>
<real>0.5</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.u</key>
<array>
<real>0.0</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.w</key>
<array>
<real>0.5</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.y</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>1.0</real>
<real>0.25</real>
</array>
<key>public.kern2.z</key>
<array>
<real>1.0</real>
<real>0.0</real>
<real>0.5</real>
<real>0.25</real>
</array>
</dict>
<key>designspace.location</key>
<array>
<array>
<string>wght</string>
<real>400.0</real>
</array>
<array>
<string>wdth</string>
<real>50.0</real>
</array>
<array>
<string>opsz</string>
<real>8.0</real>
</array>
<array>
<string>GRAD</string>
<real>0.0</real>
</array>
<array>
<string>YOPQ</string>
<real>54.0</real>
</array>
<array>
<string>YTLC</string>
<real>500.0</real>
</array>
<array>
<string>YTUC</string>
<real>750.0</real>
</array>
<array>
<string>YTAS</string>
<real>767.0</real>
</array>
<array>
<string>YTDE</string>
<real>-240.0</real>
</array>
</array>
<key>public.glyphOrder</key>
<array>
<string>space</string>
<string>exclam</string>
<string>quotedbl</string>
<string>numbersign</string>
<string>dollar</string>
<string>percent</string>
<string>ampersand</string>
<string>quotesingle</string>
<string>parenleft</string>
<string>parenright</string>
<string>asterisk</string>
<string>plus</string>
<string>comma</string>
<string>hyphen</string>
<string>period</string>
<string>slash</string>
<string>zero</string>
<string>one</string>
<string>two</string>
<string>three</string>
<string>four</string>
<string>five</string>
<string>six</string>
<string>seven</string>
<string>eight</string>
<string>nine</string>
<string>colon</string>
<string>semicolon</string>
<string>less</string>
<string>equal</string>
<string>greater</string>
<string>question</string>
<string>at</string>
<string>A</string>
<string>B</string>
<string>C</string>
<string>D</string>
<string>E</string>
<string>F</string>
<string>G</string>
<string>H</string>
<string>I</string>
<string>J</string>
<string>K</string>
<string>L</string>
<string>M</string>
<string>N</string>
<string>O</string>
<string>P</string>
<string>Q</string>
<string>R</string>
<string>S</string>
<string>T</string>
<string>U</string>
<string>V</string>
<string>W</string>
<string>X</string>
<string>Y</string>
<string>Z</string>
<string>bracketleft</string>
<string>backslash</string>
<string>bracketright</string>
<string>asciicircum</string>
<string>underscore</string>
<string>grave</string>
<string>a</string>
<string>b</string>
<string>c</string>
<string>d</string>
<string>e</string>
<string>f</string>
<string>g</string>
<string>i</string>
<string>j</string>
<string>k</string>
<string>l</string>
<string>m</string>
<string>n</string>
<string>o</string>
<string>p</string>
<string>q</string>
<string>r</string>
<string>s</string>
<string>t</string>
<string>u</string>
<string>v</string>
<string>w</string>
<string>x</string>
<string>y</string>
<string>z</string>
<string>braceleft</string>
<string>bar</string>
<string>braceright</string>
<string>asciitilde</string>
<string>exclamdown</string>
<string>cent</string>
<string>sterling</string>
<string>currency</string>
<string>yen</string>
<string>brokenbar</string>
<string>section</string>
<string>dieresis</string>
<string>copyright</string>
<string>ordfeminine</string>
<string>logicalnot</string>
<string>registered</string>
<string>macron</string>
<string>degree</string>
<string>plusminus</string>
<string>twosuperior</string>
<string>threesuperior</string>
<string>acute</string>
<string>paragraph</string>
<string>periodcentered</string>
<string>cedilla</string>
<string>onesuperior</string>
<string>ordmasculine</string>
<string>onequarter</string>
<string>onehalf</string>
<string>threequarters</string>
<string>questiondown</string>
<string>Agrave</string>
<string>Aacute</string>
<string>Acircumflex</string>
<string>Atilde</string>
<string>Adieresis</string>
<string>Aring</string>
<string>AE</string>
<string>Ccedilla</string>
<string>Egrave</string>
<string>Eacute</string>
<string>Ecircumflex</string>
<string>Edieresis</string>
<string>Igrave</string>
<string>Iacute</string>
<string>Icircumflex</string>
<string>Idieresis</string>
<string>Eth</string>
<string>Ntilde</string>
<string>Ograve</string>
<string>Oacute</string>
<string>Ocircumflex</string>
<string>Otilde</string>
<string>Odieresis</string>
<string>multiply</string>
<string>Oslash</string>
<string>OE</string>
<string>Ugrave</string>
<string>Uacute</string>
<string>Ucircumflex</string>
<string>Udieresis</string>
<string>Yacute</string>
<string>Thorn</string>
<string>germandbls</string>
<string>agrave</string>
<string>aacute</string>
<string>acircumflex</string>
<string>atilde</string>
<string>adieresis</string>
<string>aring</string>
<string>ae</string>
<string>ccedilla</string>
<string>egrave</string>
<string>eacute</string>
<string>ecircumflex</string>
<string>edieresis</string>
<string>igrave</string>
<string>iacute</string>
<string>icircumflex</string>
<string>idieresis</string>
<string>eth</string>
<string>ntilde</string>
<string>ograve</string>
<string>oacute</string>
<string>ocircumflex</string>
<string>otilde</string>
<string>odieresis</string>
<string>divide</string>
<string>oslash</string>
<string>oe</string>
<string>ugrave</string>
<string>uacute</string>
<string>ucircumflex</string>
<string>udieresis</string>
<string>yacute</string>
<string>thorn</string>
<string>ydieresis</string>
<string>circumflex</string>
<string>caron</string>
<string>breve</string>
<string>dotaccent</string>
<string>ring</string>
<string>ogonek</string>
<string>tilde</string>
<string>hungarumlaut</string>
<string>quoteleft</string>
<string>quoteright</string>
<string>minus</string>
<string>nbspace</string>
<string>Amacron</string>
<string>Abreve</string>
<string>Aogonek</string>
<string>Aringacute</string>
<string>Adblgrave</string>
<string>Ainvertedbreve</string>
<string>Adotbelow</string>
<string>Ahookabove</string>
<string>Acircumflexacute</string>
<string>Acircumflexgrave</string>
<string>Acircumflexhookabove</string>
<string>Acircumflextilde</string>
<string>Acircumflexdotbelow</string>
<string>Abreveacute</string>
<string>Abrevegrave</string>
<string>Abrevehookabove</string>
<string>Abrevetilde</string>
<string>Abrevedotbelow</string>
<string>Cacute</string>
<string>Ccircumflex</string>
<string>Cdotaccent</string>
<string>Ccaron</string>
<string>Dcaron</string>
<string>Emacron</string>
<string>Ebreve</string>
<string>Edotaccent</string>
<string>Eogonek</string>
<string>Ecaron</string>
<string>Edblgrave</string>
<string>Einvertedbreve</string>
<string>Edotbelow</string>
<string>Ehookabove</string>
<string>Etilde</string>
<string>Ecircumflexacute</string>
<string>Ecircumflexgrave</string>
<string>Ecircumflexhookabove</string>
<string>Ecircumflextilde</string>
<string>Ecircumflexdotbelow</string>
<string>Gcircumflex</string>
<string>Gbreve</string>
<string>Gdotaccent</string>
<string>Gcommaaccent</string>
<string>Gcaron</string>
<string>Hcircumflex</string>
<string>Itilde</string>
<string>Imacron</string>
<string>Ibreve</string>
<string>Iogonek</string>
<string>Idotaccent</string>
<string>Idblgrave</string>
<string>Iinvertedbreve</string>
<string>Ihookabove</string>
<string>Idotbelow</string>
<string>Jcircumflex</string>
<string>Kcommaaccent</string>
<string>Lacute</string>
<string>Lcommaaccent</string>
<string>Lcaron</string>
<string>Nacute</string>
<string>Ncommaaccent</string>
<string>Ncaron</string>
<string>Omacron</string>
<string>Obreve</string>
<string>Ohungarumlaut</string>
<string>Ohorn</string>
<string>Oogonek</string>
<string>Odblgrave</string>
<string>Oinvertedbreve</string>
<string>Odieresismacron</string>
<string>Otildemacron</string>
<string>Odotaccentmacron</string>
<string>Odotbelow</string>
<string>Ohookabove</string>
<string>Ocircumflexacute</string>
<string>Ocircumflexgrave</string>
<string>Ocircumflexhookabove</string>
<string>Ocircumflextilde</string>
<string>Ocircumflexdotbelow</string>
<string>Ohornacute</string>
<string>Ohorngrave</string>
<string>Ohornhookabove</string>
<string>Ohorntilde</string>
<string>Ohorndotbelow</string>
<string>Racute</string>
<string>Rcommaaccent</string>
<string>Rcaron</string>
<string>Rdblgrave</string>
<string>Rinvertedbreve</string>
<string>Sacute</string>
<string>Scircumflex</string>
<string>Scedilla</string>
<string>Scaron</string>
<string>Scommaaccent</string>
<string>Tcedilla</string>
<string>Tcaron</string>
<string>Tcommaaccent</string>
<string>Utilde</string>
<string>Umacron</string>
<string>Ubreve</string>
<string>Uring</string>
<string>Uhungarumlaut</string>
<string>Uogonek</string>
<string>Uhorn</string>
<string>Udblgrave</string>
<string>Uinvertedbreve</string>
<string>Udotbelow</string>
<string>Uhornacute</string>
<string>Uhorngrave</string>
<string>Uhornhookabove</string>
<string>Uhorntilde</string>
<string>Uhorndotbelow</string>
<string>Wcircumflex</string>
<string>Wgrave</string>
<string>Wacute</string>
<string>Wdieresis</string>
<string>Ycircumflex</string>
<string>Ydieresis</string>
<string>Ymacron</string>
<string>Ygrave</string>
<string>Ydotbelow</string>
<string>Yhookabove</string>
<string>Ytilde</string>
<string>Zacute</string>
<string>Zdotaccent</string>
<string>Zcaron</string>
<string>AEacute</string>
<string>Dcroat</string>
<string>Hbar</string>
<string>IJ</string>
<string>Ldot</string>
<string>Lslash</string>
<string>Eng</string>
<string>Oslashacute</string>
<string>Tbar</string>
<string>Schwa</string>
<string>DZcaron</string>
<string>LJ</string>
<string>NJ</string>
<string>Germandbls</string>
<string>amacron</string>
<string>abreve</string>
<string>aogonek</string>
<string>aringacute</string>
<string>adblgrave</string>
<string>ainvertedbreve</string>
<string>adotbelow</string>
<string>ahookabove</string>
<string>acircumflexacute</string>
<string>acircumflexgrave</string>
<string>acircumflexhookabove</string>
<string>acircumflextilde</string>
<string>acircumflexdotbelow</string>
<string>abreveacute</string>
<string>abrevegrave</string>
<string>abrevehookabove</string>
<string>abrevetilde</string>
<string>abrevedotbelow</string>
<string>cacute</string>
<string>ccircumflex</string>
<string>cdotaccent</string>
<string>ccaron</string>
<string>dcaron</string>
<string>emacron</string>
<string>ebreve</string>
<string>edotaccent</string>
<string>eogonek</string>
<string>ecaron</string>
<string>edblgrave</string>
<string>einvertedbreve</string>
<string>edotbelow</string>
<string>ehookabove</string>
<string>etilde</string>
<string>ecircumflexacute</string>
<string>ecircumflexgrave</string>
<string>ecircumflexhookabove</string>
<string>ecircumflextilde</string>
<string>ecircumflexdotbelow</string>
<string>gcircumflex</string>
<string>gbreve</string>
<string>gdotaccent</string>
<string>gcommaaccent</string>
<string>gcaron</string>
<string>hcircumflex</string>
<string>itilde</string>
<string>imacron</string>
<string>ibreve</string>
<string>iogonek</string>
<string>idblgrave</string>
<string>iinvertedbreve</string>
<string>ihookabove</string>
<string>idotbelow</string>
<string>jcircumflex</string>
<string>kcommaaccent</string>
<string>lacute</string>
<string>lcommaaccent</string>
<string>lcaron</string>
<string>nacute</string>
<string>ncommaaccent</string>
<string>ncaron</string>
<string>omacron</string>
<string>obreve</string>
<string>ohungarumlaut</string>
<string>ohorn</string>
<string>oogonek</string>
<string>odblgrave</string>
<string>oinvertedbreve</string>
<string>odieresismacron</string>
<string>otildemacron</string>
<string>odotaccentmacron</string>
<string>odotbelow</string>
<string>ohookabove</string>
<string>ocircumflexacute</string>
<string>ocircumflexgrave</string>
<string>ocircumflexhookabove</string>
<string>ocircumflextilde</string>
<string>ocircumflexdotbelow</string>
<string>ohornacute</string>
<string>ohorngrave</string>
<string>ohornhookabove</string>
<string>ohorntilde</string>
<string>ohorndotbelow</string>
<string>racute</string>
<string>rcommaaccent</string>
<string>rcaron</string>
<string>rdblgrave</string>
<string>rinvertedbreve</string>
<string>sacute</string>
<string>scircumflex</string>
<string>scedilla</string>
<string>scaron</string>
<string>scommaaccent</string>
<string>tcedilla</string>
<string>tcaron</string>
<string>tcommaaccent</string>
<string>utilde</string>
<string>umacron</string>
<string>ubreve</string>
<string>uring</string>
<string>uhungarumlaut</string>
<string>uogonek</string>
<string>uhorn</string>
<string>udblgrave</string>
<string>uinvertedbreve</string>
<string>udotbelow</string>
<string>uhornacute</string>
<string>uhorngrave</string>
<string>uhornhookabove</string>
<string>uhorntilde</string>
<string>uhorndotbelow</string>
<string>wcircumflex</string>
<string>wgrave</string>
<string>wacute</string>
<string>wdieresis</string>
<string>ycircumflex</string>
<string>ymacron</string>
<string>ygrave</string>
<string>ydotbelow</string>
<string>yhookabove</string>
<string>ytilde</string>
<string>zacute</string>
<string>zdotaccent</string>
<string>zcaron</string>
<string>aeacute</string>
<string>dcroat</string>
<string>hbar</string>
<string>idotless</string>
<string>jdotless</string>
<string>ij</string>
<string>kgreenlandic</string>
<string>ldot</string>
<string>lslash</string>
<string>napostrophe</string>
<string>eng</string>
<string>oslashacute</string>
<string>tbar</string>
<string>micro</string>
<string>dzcaron</string>
<string>lj</string>
<string>nj</string>
<string>schwa</string>
<string>Dzcaron</string>
<string>Lj</string>
<string>Nj</string>
<string>firsttonechinese</string>
<string>acutecomb</string>
<string>gravecomb</string>
<string>circumflexcomb</string>
<string>tildecomb</string>
<string>macroncomb</string>
<string>brevecomb</string>
<string>dotaccentcomb</string>
<string>dieresiscomb</string>
<string>ringcomb</string>
<string>hungarumlautcomb</string>
<string>caroncomb</string>
<string>cedillacomb</string>
<string>ogonekcomb</string>
<string>hookabovecomb</string>
<string>breveinvertedcomb</string>
<string>dblgravecomb</string>
<string>horncomb</string>
<string>dotbelowcomb</string>
<string>dieresisbelowcomb</string>
<string>commaaccentcomb</string>
<string>brevebelowcomb</string>
<string>macronbelowcomb</string>
<string>foursuperior</string>
<string>lessequal</string>
<string>greaterequal</string>
<string>approxequal</string>
<string>notequal</string>
<string>divisionslash</string>
<string>bulletoperator</string>
<string>perthousand</string>
<string>fraction</string>
<string>franc</string>
<string>lira</string>
<string>naira</string>
<string>peseta</string>
<string>won</string>
<string>dong</string>
<string>euro</string>
<string>florin</string>
<string>kip</string>
<string>peso</string>
<string>guarani</string>
<string>cedi</string>
<string>colonsign</string>
<string>rupeeIndian</string>
<string>liraTurkish</string>
<string>manat</string>
<string>ruble</string>
<string>numero</string>
<string>endash</string>
<string>emdash</string>
<string>quotedblleft</string>
<string>quotedblright</string>
<string>quotesinglbase</string>
<string>quotedblbase</string>
<string>guilsinglleft</string>
<string>guilsinglright</string>
<string>guillemetleft</string>
<string>guillemetright</string>
<string>dagger</string>
<string>daggerdbl</string>
<string>ellipsis</string>
<string>bullet</string>
<string>trademark</string>
<string>CR</string>
<string>softhyphen</string>
<string>IJacute</string>
<string>ijacute</string>
<string>f_f</string>
<string>fi</string>
<string>fl</string>
<string>f_f_i</string>
<string>f_f_l</string>
<string>gravecomb.case</string>
<string>acutecomb.case</string>
<string>circumflexcomb.case</string>
<string>tildecomb.case</string>
<string>macroncomb.case</string>
<string>brevecomb.case</string>
<string>dotaccentcomb.case</string>
<string>dieresiscomb.case</string>
<string>ringcomb.case</string>
<string>hungarumlautcomb.case</string>
<string>caroncomb.case</string>
<string>cedillacomb.case</string>
<string>ogonekcomb.case</string>
<string>hookabovecomb.case</string>
<string>breveinvertedcomb.case</string>
<string>dblgravecomb.case</string>
<string>horncomb.case</string>
<string>dotbelowcomb.case</string>
<string>dieresisbelowcomb.case</string>
<string>commaaccentcomb.case</string>
<string>brevebelowcomb.case</string>
<string>macronbelowcomb.case</string>
<string>periodcentered.loclCAT</string>
<string>periodcentered.loclCAT.case</string>
<string>zero.lf</string>
<string>one.lf</string>
<string>two.lf</string>
<string>three.lf</string>
<string>four.lf</string>
<string>five.lf</string>
<string>six.lf</string>
<string>seven.lf</string>
<string>eight.lf</string>
<string>nine.lf</string>
<string>minute</string>
<string>second</string>
<string>caroncomb.alt</string>
<string>Uhookabove</string>
<string>uhookabove</string>
<string>primemod</string>
<string>doubleprimemod</string>
<string>apostrophemod</string>
<string>hyphentwo</string>
<string>horizontalbar</string>
<string>leftanglebracket</string>
<string>rightanglebracket</string>
<string>commercialMinusSign</string>
<string>diagonalbarO</string>
<string>diagonalbarl</string>
<string>diagonalbaro</string>
<string>engn</string>
<string>engtail</string>
<string>horizontalbarH</string>
<string>horizontalbarlc</string>
<string>hornU</string>
<string>idotaccent</string>
<string>hornu</string>
<string>Iacute_J.loclNLD</string>
<string>iacute_j.loclNLD</string>
<string>Jacute.loclNLD</string>
<string>jacute.loclNLD</string>
<string>gravecombstack.case</string>
<string>acutecombstack.case</string>
<string>circumflexcombstack.case</string>
<string>tildecombstack.case</string>
<string>brevecombstack.case</string>
<string>hookabovecombstack.case</string>
<string>dieresiscombstack.case</string>
<string>macroncombstack.case</string>
<string>dotaccentcombstack.case</string>
<string>dollar.rvrn</string>
<string>zero.tab</string>
<string>one.tab</string>
<string>two.tab</string>
<string>three.tab</string>
<string>four.tab</string>
<string>five.tab</string>
<string>six.tab</string>
<string>seven.tab</string>
<string>eight.tab</string>
<string>nine.tab</string>
<string>zero.lc</string>
<string>one.lc</string>
<string>two.lc</string>
<string>three.lc</string>
<string>four.lc</string>
<string>five.lc</string>
<string>six.lc</string>
<string>seven.lc</string>
<string>eight.lc</string>
<string>nine.lc</string>
<string>dollar.rvrn2</string>
<string>h</string>
<string>Alpha</string>
<string>Alphatonos</string>
<string>Beta</string>
<string>Gamma</string>
<string>Delta</string>
<string>Epsilon</string>
<string>Epsilontonos</string>
<string>Zeta</string>
<string>Eta</string>
<string>Etatonos</string>
<string>Theta</string>
<string>Iota</string>
<string>Iotatonos</string>
<string>Iotadieresis</string>
<string>Kappa</string>
<string>Lambda</string>
<string>Mu</string>
<string>Nu</string>
<string>Xi</string>
<string>Omicron</string>
<string>Omicrontonos</string>
<string>Pi</string>
<string>Rho</string>
<string>Sigma</string>
<string>Tau</string>
<string>Upsilon</string>
<string>Upsilontonos</string>
<string>Upsilondieresis</string>
<string>Phi</string>
<string>Chi</string>
<string>Psi</string>
<string>Omega</string>
<string>Omegatonos</string>
<string>Kaisymbol</string>
<string>ohm</string>
<string>alpha</string>
<string>alphatonos</string>
<string>beta</string>
<string>gamma</string>
<string>delta</string>
<string>epsilon</string>
<string>epsilontonos</string>
<string>zeta</string>
<string>eta</string>
<string>etatonos</string>
<string>theta</string>
<string>iota</string>
<string>iotadieresistonos</string>
<string>iotatonos</string>
<string>iotadieresis</string>
<string>kappa</string>
<string>lambda</string>
<string>mu</string>
<string>nu</string>
<string>xi</string>
<string>omicron</string>
<string>omicrontonos</string>
<string>pi</string>
<string>rho</string>
<string>finalsigma</string>
<string>sigma</string>
<string>tau</string>
<string>upsilon</string>
<string>upsilondieresistonos</string>
<string>upsilondieresis</string>
<string>upsilontonos</string>
<string>phi</string>
<string>chi</string>
<string>psi</string>
<string>omega</string>
<string>omegatonos</string>
<string>numeralsign</string>
<string>kaisymbol</string>
<string>gr:question</string>
<string>anoteleia</string>
<string>increment</string>
<string>dieresistonos</string>
<string>lownumeralsign</string>
<string>tonos</string>
<string>dieresistonoscmb</string>
<string>tonoscmb</string>
<string>tonos.case</string>
</array>
<key>tnCurvePalet</key>
<dict>
<key>sliderBottomMax</key>
<integer>80</integer>
<key>sliderBottomMin</key>
<integer>30</integer>
<key>sliderTopMax</key>
<integer>80</integer>
<key>sliderTopMin</key>
<integer>30</integer>
</dict>
</dict>
</plist>
| {
"pile_set_name": "Github"
} |
package com.tencent.mm.ui.chatting;
import android.os.Parcelable.Creator;
final class oc
implements Parcelable.Creator
{}
/* Location:
* Qualified Name: com.tencent.mm.ui.chatting.oc
* Java Class Version: 6 (50.0)
* JD-Core Version: 0.7.1
*/ | {
"pile_set_name": "Github"
} |
package example.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class Customer142 {
@Id @GeneratedValue(strategy = GenerationType.AUTO) private long id;
private String firstName;
private String lastName;
protected Customer142() {}
public Customer142(String firstName, String lastName) {
this.firstName = firstName;
this.lastName = lastName;
}
@Override
public String toString() {
return String.format("Customer142[id=%d, firstName='%s', lastName='%s']", id, firstName, lastName);
}
}
| {
"pile_set_name": "Github"
} |
<?php
declare(strict_types=1);
namespace Sabre\DAV\Locks\Backend;
class PDOSqliteTest extends PDOTest
{
public $driver = 'sqlite';
}
| {
"pile_set_name": "Github"
} |
/*!
* \file file_configuration.h
* \brief A ConfigurationInterface that reads the configuration from a file.
* \author Carlos Aviles, 2010. carlos.avilesr(at)googlemail.com
*
* This implementation has a text file as the source for the values of the parameters.
* The file is in the INI format, containing sections and pairs of names and values.
* For more information about the INI format, see https://en.wikipedia.org/wiki/INI_file
*
* -----------------------------------------------------------------------------
*
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR.
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
* -----------------------------------------------------------------------------
*/
#ifndef GNSS_SDR_FILE_CONFIGURATION_H
#define GNSS_SDR_FILE_CONFIGURATION_H
#include "INIReader.h"
#include "configuration_interface.h"
#include "in_memory_configuration.h"
#include "string_converter.h"
#include <cstdint>
#include <memory>
#include <string>
/*!
* \brief This class is an implementation of the interface ConfigurationInterface
*
* Derived from ConfigurationInterface, this class implements an interface
* to a configuration file. This implementation has a text file as the source
* for the values of the parameters.
* The file is in the INI format, containing sections and pairs of names and values.
* For more information about the INI format, see https://en.wikipedia.org/wiki/INI_file
*/
class FileConfiguration : public ConfigurationInterface
{
public:
explicit FileConfiguration(std::string filename);
FileConfiguration();
~FileConfiguration() = default;
std::string property(std::string property_name, std::string default_value) const override;
bool property(std::string property_name, bool default_value) const override;
int64_t property(std::string property_name, int64_t default_value) const override;
uint64_t property(std::string property_name, uint64_t default_value) const override;
int32_t property(std::string property_name, int32_t default_value) const override;
uint32_t property(std::string property_name, uint32_t default_value) const override;
int16_t property(std::string property_name, int16_t default_value) const override;
uint16_t property(std::string property_name, uint16_t default_value) const override;
float property(std::string property_name, float default_value) const override;
double property(std::string property_name, double default_value) const override;
void set_property(std::string property_name, std::string value) override;
bool is_present(const std::string& property_name) const;
private:
void init();
std::string filename_;
std::unique_ptr<INIReader> ini_reader_;
std::unique_ptr<InMemoryConfiguration> overrided_;
std::unique_ptr<StringConverter> converter_;
int error_{};
};
#endif // GNSS_SDR_FILE_CONFIGURATION_H
| {
"pile_set_name": "Github"
} |
.icon-user {
background-image: url(images/user.png) !important;
}
.icon-add {
background-image: url(images/add.png) !important;
}
.icon-delete {
background-image: url(images/delete.png) !important;
}
.x-ie6 .icon-user {
background-image: url(images/user.gif) !important;
}
.x-ie6 .icon-add {
background-image: url(images/add.gif) !important;
}
.x-ie6 .icon-delete {
background-image: url(images/delete.gif) !important;
} | {
"pile_set_name": "Github"
} |
// Protocol Buffers for Go with Gadgets
//
// Copyright (c) 2013, The GoGo Authors. All rights reserved.
// http://github.com/gogo/protobuf
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
syntax = "proto2";
package defaultcheck;
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
option (gogoproto.goproto_getters_all) = false;
message A {
optional int64 Field1 = 1 [default=1234];
}
| {
"pile_set_name": "Github"
} |
//
// Localizable.strings
// Nextcloud
//
// Copyright © 2017 Marino Faggiana. All rights reserved.
//
// Author Marino Faggiana <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// General
"_cancel_" = "Cancelar";
"_upload_file_" = "Cargar archivo";
"_accessibility_add_upload_" = "Add and upload";
"_download_file_" = "Descargar archivo";
"_loading_" = "Cargando";
"_loading_with_points_" = "Cargando...";
"_loading_num_" = "Cargando archivo %i";
"_loading_autoupload_" = "Cargas automáticas";
"_uploading_" = "Cargando";
"_synchronization_" = "Sincronización";
"_delete_" = "Borrar";
"_delete_file_n_" = "Borrar archivo %i de %i";
"_rename_" = "Renombrar";
"_move_" = "Mover";
"_move_file_n_" = "Mover archivo %i de %i";
"_creating_sharing_" = "Creando elemento compartido";
"_updating_sharing_" = "Actualizando elemento compartido";
"_removing_sharing_" = "Eliminando elemento compartido";
"_add_" = "Agregar";
"_login_" = "Iniciar sesión";
"_save_" = "Guardar";
"_warning_" = "Advertencia";
"_error_" = "Error";
"_error_e2ee_" = "Error E2EE";
"_no_" = "No";
"_yes_" = "Sí";
"_select_" = "Seleccionar";
"_deselect_" = "Deseleccionar";
"_select_all_" = "Seleccionar todo";
"_upload_" = "Cargar";
"_home_" = "Archivos";
"_file_to_upload_" = "Archivo a cargar";
"_destination_" = "Destino";
"_ok_" = "OK";
"_beta_version_" = "Versión beta";
"_function_in_testing_" = "Funcionalidad en pruebas, por favor envía la información de cualquier problema que encuentres.";
"_done_" = "Terminado";
"_passcode_too_short_" = "El código de seguridad es demasiado corto, se requieren al menos 4 caracteres";
"_selected_" = "Seleccionado";
"_scan_fingerprint_" = "Escanea tu huella digital para autenticarte";
"_no_active_account_" = "No se encontró la cuenta";
"_info_" = "Info";
"_warning_" = "Advertencia";
"_email_" = "Correo electrónico";
"_save_exit_" = "¿Deseas salir sin guardar?";
"_video_" = "Video";
"_overwrite_" = "Sobreescribir";
"_transfers_in_queue_" = "Transferencias en curso, por favor aguarda...";
"_too_errors_upload_" = "Too many errors, please verify the problem";
"_create_folder_" = "Crear carpeta";
"_create_folder_on_" = "Crear carpeta en";
"_close_" = "Cerrar";
"_postpone_" = "Postponer";
"_remove_" = "Eliminar";
"_file_not_found_" = "Archivo no encontrado";
"_continue_" = "Continuar";
"_continue_request_" = "¿Deseas continuar?";
"_auto_upload_folder_" = "Carga automática";
"_gallery_" = "Galería";
"_photo_" = "Foto";
"_audio_" = "Audio";
"_unknown_" = "Desconocido";
"_next_" = "Siguiente";
"_success_" = "Éxito";
"_initialization_" = "Inicialización";
"_experimental_" = "Expermiental";
"_select_dir_media_tab_" = "Select as folder \"Media\"";
"_error_creation_file_" = "Ops! Could not create the file";
"_save_path_" = "Save path";
"_save_settings_" = "Guardar configuraciones";
"_mode_filename_" = "Filename mode";
"_warning_owncloud_" = "You are connected to an ownCloud server. This is untested and unsupported, use at your own risk. To upgrade to Nextcloud, see https://nextcloud.com/migration";
"_warning_unsupported_" = "You are using an unsupported version of Nextcloud. For the safety of your data we strongly recommend updating to the latest stable Nextcloud";
"_restore_" = "Restaurar";
"_camera_roll_" = "Camera roll";
"_tap_here_to_change_" = "Tap here to change";
"_no_albums_" = "No albums";
"_denied_album_" = "This app does not have access to \"Photos\", you can enable access in Privacy Settings";
"_denied_camera_" = "This app does not have access to \"Camera\", you can enable access in Privacy Settings";
"_start_" = "Iniciar";
"_force_start_" = "Force the start";
"_purchase_" = "Purchase";
"_account_not_available_" = "The account %@ of %@ does not exist, please add it to be able to read the file %@";
"_error_parameter_schema_" = "Wrong parameters, impossible to continue";
"_comments_" = "Comentarios";
"_sharing_" = "Compartiendo";
"_details_" = "Detalles";
"_dark_mode_" = "Dark mode";
"_dark_mode_detect_" = "Detect iOS dark mode";
"_screen_" = "Screen";
"_wipe_account_" = "Account wiped from server";
"_appconfig_view_title_" = "Account configuration in progress…";
"_no_permission_add_file_" = "You don't have permission to add files";
"_no_permission_delete_file_" = "You don't have permission to delete files";
"_no_permission_modify_file_" = "You don't have permission to modify files";
"_request_upload_new_ver_" = "The file has been modified, do you want to upload the new version ?";
"_add_folder_info_" = "Add folder info";
"_back_" = "Atrás";
"_search_" = "Search";
"_of_" = "of";
"_internal_modify_" = "Edit with internal editor";
"_database_corrupt_" = "Oops something went wrong, please enter your credentials but don't worry, your files have remained secure";
"_download_image_max_" = "Download the image in full resolution";
"_livephoto_save_" = "Save Live Photo to photo album";
"_livephoto_save_error_" = "Error during save of Live Photo";
"_file_conflict_num_" = "file conflict";
"_file_conflicts_num_" = "file conflicts";
"_file_conflict_desc_" = "Which files do you want to keep?\nIf you select both versions, the copied file will have a number added to its name.";
"_file_conflict_new_" = "New files";
"_file_conflict_exists_" = "Archivos ya existentes";
"_file_not_rewite_doc_" = "It is not possible to overwrite a document but only to create a new one";
"_move_or_copy_" = "Mover o copiar";
"_copy_" = "Copiar";
"_now_" = "Now";
"_wait_" = "Please wait...";
"_attention_" = "Atención";
// App
"_network_available_" = "Red disponible";
"_network_not_available_" = "Red no dispionible";
// Networking
"_file_too_big_" = "File too large to be encrypted/decrypted";
"_file_too_big_max_100_" = "File too large (max 100 kb.)";
"_...loading..._" = "Cargando...";
"_download_plist_" = " ";
"_no_reuploadfile_" = "No fue posible encontrar o reenviar el archivo. Borra la carga y regarga el archivo para cargarlo. ";
"_file_already_exists_" = "No fue posible completar la operación, un archivo con el mismo nombre ya existe";
"_read_file_error_" = "No se pudo leer el archivo";
"_write_file_error_" = "Could not write the file";
// More
"_more_" = "Más";
"_notifications_" = "Notificaciones";
"_logout_" = "Salir";
"_quota_space_unlimited_" = "Ilimitado";
"_quota_space_unknown_" = "Desconocido";
"_quota_using_" = "Estás usando %@ de %@";
// Settings
"_acknowledgements_" = "Reconocimentos";
"_settings_" = "Configuraciones ";
"_passcode_" = "Contraseña";
"_lock_" = "Bloqueo";
"_lock_active_" = "Bloqueo: Activado";
"_lock_not_active_" = "Bloqueo: Desactivado";
"_lock_protection_no_screen_" = "No preguntar al iniciar";
"_lock_protection_no_screen_footer_" = "Use \"Do not ask at startup\" for the encryption option";
"_enable_touch_face_id_" = "Enable Touch/Face ID";
"_url_" = "URL";
"_username_" = "Usuario";
"_change_credentials_" = "Cambia tus credenciales";
"_wifi_only_" = "Sólo usar la conexión Wi-Fi";
"_settings_autoupload_" = "Carga automática";
"_app_version_" = "Versión de la aplicación";
"_app_in_use_" = "La aplicación está en uso";
"_contact_by_email_" = "Contáctanos por correo electrónico";
"_clear_cache_" = "Borrar el caché";
"_clear_cache_footer_" = "Clear downloaded and offline files from the app";
"_exit_" = "Reset application";
"_exit_footer_" = "Remove all accounts and local data from the app";
"_funct_not_enabled_" = "Funcionalidad no habilitada";
"_passcode_activate_" = "Bloqueo de contraseña activado";
"_disabling_passcode_" = "Eliminando bloqueo de contraseña";
"_want_exit_" = "¡Atención! Se restaurará a un estado inicial ¿Deseas continuar?";
"_proceed_" = "Proceder";
"_delete_cache_" = "Borrar caché";
"_want_delete_cache_" = "Do you want to delete the cache (this also removes the transfers in progress) ?";
"_want_delete_thumbnails_" = "¿Deseas borrar las miniaturas también?";
"_mail_deleted_" = "Correo electrónico borrado";
"_mail_saved_" = "Correo electrónico guardado";
"_mail_sent_" = "Correo electrónico enviado";
"_mail_failure_" = "No fue posible enviar el correo electrónico: %@";
"_information_req_" = "Solicitud de información";
"_write_in_english_" = "Por favor, escríbenos en Inglés";
"_credentials_" = "Credenciales";
"_manage_account_" = "Administrar cuenta";
"_change_password_" = "Cambiar contraseña";
"_add_account_" = "Agregar cuenta";
"_delete_account_" = "Eliminar cuenta";
"_want_delete_" = "¿Realmente deseas borrar?";
"_no_delete_" = "No, no borrar";
"_yes_delete_" = "Sí, borrar";
"_remove_cache_" = "Por favor aguarda, borrando el caché...";
"_optimizations_" = "Optimizaciones";
"_synchronizations_" = "Carpetas sincronizadas";
"_version_server_" = "Versión del servidor";
"_help_" = "Ayuda";
"_change_simply_passcode_" = "Cambiar el tipo de contraseña";
"_quota_" = "Cuota";
"_available_" = "Available";
"_not_available_" = "Not available";
"_accounts_" = "Cuentas";
"_information_" = "Información";
"_personal_information_" = "Información Personal";
"_user_full_name_" = "Nombre completo";
"_user_address_" = "Dirección";
"_user_phone_" = "Número telefónico";
"_user_email_" = "Correo electrónico";
"_user_web_" = "Sitio web";
"_user_twitter_" = "Twitter";
"_user_job_" = "Job";
"_user_businesssize_" = "Business size";
"_user_businesstype_" = "Business type";
"_user_city_" = "Ciudad";
"_user_country_" = "País";
"_user_company_" = "Company";
"_user_role_" = "Role";
"_user_zip_" = "Zip";
"_user_owner_" = "Dueño";
"_user_employee_" = "Employee";
"_user_contractor_" = "Contractor";
"_user_editprofile_" = "Edit profile";
"_favorite_offline_" = "Favoritos disponibles sin conexión";
"_favorite_offline_footer_" = "Hacer todos los favoritos disponibles sin conexión puede tomar algo de tiempo y usar mucha memoria en el proceso. ";
"_advanced_" = "Avanzado";
"_disable_files_app_" = "Disable Files App integration";
"_disable_files_app_footer_" = "Do not permit the access of files via the iOS Files application";
"_trial_" = "Trial";
"_trial_expired_day_" = "Days remaining";
"_disableLocalCacheAfterUpload_footer_" = "After uploading the file, do not keep it in the local cache";
"_disableLocalCacheAfterUpload_" = "Disable local cache";
// Manage AutoUpload
"_autoupload_" = "Cargar automáticamente fotos/videos";
"_autoupload_select_folder_" = "Select the \"Auto upload\" folder";
"_autoupload_error_select_folder_" = "Select a valid folder for the \"Auto upload\"";
"_autoupload_background_" = "Cargar automáticamente en 2do plano";
"_autoupload_photos_" = "Cargar automáticamente fotos";
"_autoupload_videos_" = "Cargar automáticamente videos";
"_autoupload_description_" = "New photos/videos will be automatically uploaded to your Nextcloud";
"_autoupload_description_background_" = "Esta opción requiere el uso de GPS para activar la detección de nuevas fotos/videos en el rollo de la cámara una vez que la ubicación cambie significativamente";
"_autoupload_background_title_" = "Limitantes";
"_autoupload_background_msg_" = "Debido a restricciones de iOS, aún no es posible ejecutar procesos de segundo plano, a menos de que los servicios de GPS estén activados. Una vez que la célula de la red celular haya cambiado, el sistema despierta por un breve espacio y verifica si hay nuevas fotos para subir a la nube.";
"_autoupload_change_location_" = "Cambiar carpeta";
"_autoupload_location_now_" = "Carpeta";
"_autoupload_location_default_" = "Restaurar carpeta predeterminada";
"_autoupload_change_location_footer_" = "Cambiar la carpeta usada para 'Carga automatica de fotos' (si la opción está habilitada)";
"_autoupload_not_select_home_" = "Seleccionar una carpeta";
"_autoupload_save_album_" = "Copiar la foto o video al álbum de fotos";
"_autoupload_fullphotos_" = "Cargar todo el rollo de la cámara";
"_autoupload_fullphotos_footer_" = "Completa las opciones anteriores antes de cargar. ";
"_autoupload_create_subfolder_" = "Usar subcarpetas";
"_autoupload_create_subfolder_footer_" = "Almacenar en subcarpetas con base en el año y mes";
"_autoupload_filenamemask_" = "Cambiar la máscara del nombre de archivo";
"_autoupload_filenamemask_footer_" = "Cambio en la máscara automática de nombre de archivo";
"_autoupload_current_folder_" = "Currently selected folder";
// Manage Help
"_help_tutorial_" = "Tutorial";
"_help_intro_" = "Introducción a Nextcloud";
"_help_activity_verbose_" = "Fuente de Actividades Detalladas";
"_help_activity_mail_" = "Enviar la actividad por correo electrónico";
"_help_activity_clear_" = "Borrar actividad";
// Manage Advanced
"_show_hidden_files_" = "Mostrar archivos ocultos";
"_format_compatibility_" = "Más Compatible";
"_format_compatibility_footer_" = "\"Most compatible\" will save, when possible, photos as JPEG";
"_privacy_" = "Privacidad";
"_privacy_footer_" = "Nextcloud iOS uses a service for the analysis of a crash. Your personal information is not sent with the report. If you want disable it, please change the setting \"Disable crash reporter\" to ON";
"_crashservice_title_" = "Disable crash reporter";
"_crashservice_alert_" = "This option requires a restart of the app to take effect";
"_upload_mov_livephoto_" = "Live Photo";
"_upload_mov_livephoto_footer_" = "\"Live Photo\" will save, when possible, the photo selected in \"Live Photo\" format";
"_view_capabilities_" = "View the capabilities";
"_capabilities_" = "Capabilities";
"_no_capabilities_found_" = "Capabilities not found";
"_diagnostics_" = "Diagnostics";
"_view_log_" = "View Log file";
"_clear_log_" = "Clear Log file";
"_level_log_" = "Set Log level (disabled, standard, maximum)";
// Login
"_connect_server_anyway_" = "¿Deseas conectarte al servidor de cualquier modo?";
"_connection_error_" = "Error de conexión";
"_serverstatus_error_" = "Connection to server failure, verify your server address or network status";
"_add_your_nextcloud_" = "Agrega tu cuenta Nextcloud";
"_login_url_" = "Dirección del servidor https://...";
"_login_bottom_label_" = "¿Aún no cuentas con un servidor?\n\nElige uno de los siguientes proveedores. ";
"_error_multidomain_" = "La dirección no está permitida, solo los siguientes dominios son válidos:";
"_account_already_exists_" = "La cuenta %@ ya existe";
"_traditional_login_" = "Regresar al antiguo método de inicio de sesión";
"_web_login_" = "Revert to web login method";
"_login_url_error_" = "URL error, please verify your server URL";
// Favorite
"_favorites_" = "Favoritos";
"_favorite_" = "Hacer favorito";
"_unfavorite_" = "Quitar favorito";
"_no_files_uploaded_" = "No se han cargado archivos";
"_tutorial_favorite_view_" = "Los archivos y carpetas que marques como favoritos se mostrarán aquí";
"_tutorial_offline_view_" = "Los achivos copiados aquí estarán disponible sin conexión.\n\nSe sincronizarán con tu nube. ";
"_tutorial_local_view_" = "Encontrarás los archivos desempacados de tu nube.\n\nConéctate a iTunes para compartir estos archivos.";
"_more_" = "Más";
"_favorite_no_files_" = "Aún no hay favoritos";
// Auto Upload
"_pull_down_" = "Jala hacia abajo para actualizar";
"_no_photo_load_" = "No hay fotos o video";
"_tutorial_autoupload_view_" = "Puedes habilitar las cargas automáticas desde \"Configuraciones\"";
"_no_date_" = "Sin fecha";
"_today_" = "Hoy";
"_yesterday_" = "Ayer";
"_time_" = "Hora: %@\n\n%@";
"_location_not_enabled_" = "Los Servicios de Ubicación están deshabilitados";
"_location_not_enabled_msg_" = "Por favor ve a \"Configuraciones\" y activa \"Serivicios de Ubicación\"";
"_access_photo_not_enabled_" = "El acceso a Fotos no está habilitado";
"_access_photo_not_enabled_msg_" = "Por favor ve a \"Configuraciones\" y activa \"Acceso a Fotos\"";
"_access_photo_location_not_enabled_" = "El acceso a Fotos y Ubicación no está habilitado";
"_access_photo_location_not_enabled_msg_" = "Por favor ve a \"Configuraciones y activa \"Acceso a Fotos\" y \"Servicios de Ubicación\"";
"_tutorial_photo_view_" = "Aún no se han cargado fotos o videos";
"_create_full_upload_" = "Creating archive… May take a long time. During this process, keep the application active during the transfer as well.";
"_error_createsubfolders_upload_" = "Se presentó un error al crear subcarpetas";
"_activate_autoupload_" = "Habilitar cargas automáticas";
"_remove_photo_CameraRoll_" = "Remove from camera roll";
"_remove_photo_CameraRoll_desc_" = "After successful automatic uploads, a confirmation message will be displayed to delete the uploaded photos or videos from the camera roll. The deleted photos or videos will still be available in the iOS Photos Trash for 30 days.";
// Utility
"_never_" = "nunca";
"_less_a_minute_" = "hace menos de un minuto";
"_minutes_ago_" = "hace %d minutos";
"_hours_ago_" = "hace %d horas";
"_days_ago_" = "hace %d días";
"_over_30_days_" = "más de 30 días";
"_connection_internet_offline_" = "La conexión a Internet parece estar fuera de línea o se requiere de Wi-Fi ";
"_insert_password_" = "ingresa tu contraseña";
"_update_in_progress_" = "Actualización de la versión, favor de aguardar...";
"_forbidden_characters_" = "El nombre de archivo o carpeta contiene caracteres inválidos";
"_mail_not_can_send_mail_" = "No hay una cuenta configurada, o bien se introdujo una cuenta de correo electrónico equivocada";
// File
"_photo_camera_" = "Fotos";
"_media_" = "Media";
"_unzip_in_progress_" = "Extracción en curso en almacenamiento local...";
"_file_unpacked_" = "El archivo se desempacó en almacenamiento local ";
"_file_saved_local_" = "El archivo se guardó en almacenamiento local.";
"_file_not_present_" = "Error: El archivo no se encuentra, por favor recarga. ";
"_order_by_" = "Ordenar por";
"_order_by_name_a_z_" = "Sort by name (from A to Z)";
"_sorted_by_name_a_z_" = "Sorted by name (from A to Z)";
"_order_by_name_z_a_" = "Sort by name (from Z to A)";
"_sorted_by_name_z_a_" = "Sorted by name (from Z to A)";
"_order_by_date_more_recent_" = "Sort by newest";
"_sorted_by_date_more_recent_" = "Sorted by newest";
"_order_by_date_less_recent_" = "Sort by oldest";
"_sorted_by_date_less_recent_" = "Sorted by oldest";
"_order_by_size_smallest_" = "Sort by smallest";
"_sorted_by_size_smallest_" = "Sorted by smallest";
"_order_by_size_largest_" = "Sort by largest";
"_sorted_by_size_largest_" = "Sorted by largest";
"_delete_selected_files_" = "Borrar archivos";
"_move_selected_files_" = "Mover archivos";
"_move_or_copy_selected_files_" = "Move or copy files";
"_download_selected_files_" = "Descargar archivos";
"_download_selected_files_folders_" = "Descargar archivos y carpetas";
"_error_operation_canc_" = "Error: Operación cancelada. ";
"_only_lock_passcode_" = "Disponible sólo con la opción de Bloquear contraseña. Actívala en las \"Configuraciones\".";
"_go_to_app_settings_" = "Go to app settings";
"_passcode_protection_" = "Protección con contraseña";
"_remove_favorites_" = "Eliminar de favoritos";
"_remove_offline_" = "Eliminar de sin conexión";
"_add_favorites_" = "Agregar a tus favoritos";
"_add_offline_" = "Agregar a sin conexión";
"_remove_passcode_" = "Eliminar protección de contraseña";
"_protect_passcode_" = "Proteger con contraseña";
"_share_" = "Compartir";
"_reload_" = "Volver a cargar";
"_open_in_" = "Abrir en...";
"_remove_local_file_" = "Eliminar del caché";
"_add_local_" = "Agregar al almacenamiento local";
"_comm_erro_pull_down_" = "Atención: Se presentó un error de comunicación con el servidor. Jala hacia abajo para actualizar. ";
"_file_not_downloaded_" = "el archivo no fue descargado";
"_file_not_uploaded_" = "el archivo no fue cargado";
"_folders_" = "carpetas";
"_folder_" = "carpeta";
"_files_" = "archivos";
"_file_" = "archivo";
"_folder_blocked_" = "Carpeta bloqueada";
"_downloading_progress_" = "Iniciando la descarga de archivos...";
"_no_file_pull_down_" = "Carga un archivo o jala hacia abajo para actualizar";
"_browse_images_" = "Ver imágenes";
"_synchronized_folder_" = "Mantener la carpeta sincronizada";
"_remove_synchronized_folder_" = "Apagar la sincronización";
"_synchronized_confirm_" = "Después de habilitar la sincronización, todos los archivos en esta carpeta se sincronizarán con el servidor. ¿Deseas continuar?";
"_offline_folder_confirm_" = "Después de habilitar la carpeta fuera de línea, todos los archivos serán sincronizados con el servidor, continuar?";
"_file_not_found_reload_" = "No se encontró el archivo, jala hacia abajo para actualizar";
"_title_section_download_" = "DESCARGAR";
"_title_section_upload_" = "CARGAR";
"_group_alphabetic_yes_" = "✓ Agrupar alfabéticamente";
"_group_alphabetic_no_" = "Agrupar alfabéticamente";
"_group_typefile_yes_" = "✓ Agrupar por tipo de archivo";
"_group_typefile_no_" = "Agrupar por tipo de archivo";
"_group_date_yes_" = "✓ Agrupar por fecha";
"_group_date_no_" = "Agrupar por fecha";
"_element_" = "elemento";
"_elements_" = "elementos";
"_tite_footer_upload_wwan_" = "Se requiere una red Wi-Fi, %lu%@ para cargar";
"_tite_footer_upload_" = "%lu %@ para cargar";
"_tite_footer_download_wwan_" = "Se requiere de una red Wi-Fi, %lu %@ para descargar";
"_tite_footer_download_" = "%lu %@ por descargar";
"_limited_dimension_" = "Tamaño máximo alcanzado";
"_save_selected_files_" = "Save to photo gallery";
"_file_not_saved_cameraroll_" = "Error: El archivo no se guardo en el álbum de fotos";
"_file_saved_cameraroll_" = "Archivo guardado en el álbum de fotos";
"_directory_on_top_yes_" = "✓ Carpetas arriba";
"_directory_on_top_no_" = "Carpetas arriba";
"_folder_automatic_upload_" = "Folder for \"Auto upload\"";
"_search_no_record_found_" = "Sin resultados";
"_search_in_progress_" = "Búsqueda en curso... ";
"_search_instruction_" = "Buscar archivo (mínimo 2 caracteres)";
"_files_no_files_" = "No hay archivos aquí";
"_files_no_folders_" = "No folders in here";
"_request_in_progress_" = "Request to server in progress…";
"audio" = "AUDIO";
"compress" = "COMPRIMIR";
"directory" = "CARPETAS";
"document" = "DOCUMENTOS";
"image" = "IMÁGENES";
"template" = "PLANTILLAS";
"unknow" = "DESCONOCIDO";
"video" = "VIDEO";
"_file_del_only_local_" = "El archivo no se encuentra en el servidor";
"_copy_file_" = "Copiar archivo";
"_copy_files_" = "Copiar archivos";
"_paste_file_" = "Pegar archivo";
"_paste_files_" = "Pegar archivos";
"_open_quicklook_" = "Open with Quick Look";
"_search_this_folder_" = "Buscar en esta carpeta";
"_search_all_folders_" = "Buscar en todas las carpetas";
"_search_sub_folder_" = "Buscar aquí y en todas las subcarpetas";
"_theming_is_light_" = "El tema del servidor tiene colores demasiado brillantes, no aplica ";
"_cancel_all_task_" = "Cancel all transfers";
"_status_wait_download_" = "Waiting for download";
"_status_in_download_" = "In download";
"_status_downloading_" = "Downloading";
"_status_wait_upload_" = "Waiting for upload";
"_status_in_upload_" = "In upload";
"_status_uploading_" = "Cargando";
// Media
"_select_media_folder_" = "Select the \"Media\" folder";
"_media_viewimage_show_" = "Show images";
"_media_viewimage_hide_" = "Hide images";
"_media_viewvideo_show_" = "Show video";
"_media_viewvideo_hide_" = "Hide video";
"_media_by_created_date_" = "Sort by created date";
"_media_by_upload_date_" = "Sort by upload date";
"_media_by_modified_date_" = "Sort by modified date";
// Files Preview
"_insert_password_pfd_" = "PDF Seguro. Ingresa la contraseña";
"_password_pdf_error_" = "Contraseña equivocada";
"_error_download_photobrowser_" = "Error: No fue posible descargar la foto";
// Share
"_share_link_" = "Compartir liga";
"_share_link_button_" = "Enviar liga a...";
"_password_" = "Contraseña";
"_share_password_" = "Liga protegida por contraseña";
"_share_expirationdate_" = "Establecer la fecha de expiración de la liga";
"_date_" = "Fecha";
"_share_title_" = "Compartir";
"_add_sharee_" = "Agregar usuarios o grupos";
"_add_sharee_footer_" = "Puedes compartir este recurso al agregar usuarios o grupos. Para dejar de compartir, elimina todos los usuarios y grupos";
"_find_sharee_title_" = "Buscar";
"_find_sharee_" = "Buscar un usuario o grupo...";
"_find_sharee_footer_" = "Ingresa una parte del nombre del usuario o grupo a buscar (al menos 2 caracteres) seguido de 'Entrar', selecciona los usuarios que deberían tener acceso al elemento compartido seguido por 'Terminar' para confirmar";
"_user_is_group_" = "(grupo)";
"_direct_sharee_title_" = "Compartir";
"_direct_sharee_footer_" = "Si ya conoces el nombre, ingrésalo, luego selecciona el tipo de elemento compartido y presiona en 'Terminar' para confirmar";
"_direct_sharee_" = "Ingrese el usuario...";
"_user_sharee_footer_" = "Tap to change permissions";
"_share_type_title_" = "Tipo de elemento compartido";
"_share_type_user_" = "Usuario";
"_share_type_group_" = "Grupo";
"_share_type_remote_" = "Remoto";
"_enforce_password_protection_" = "Forzar protección con contraseña";
"_password_obligatory_" = "Enforce password protection enabled, password obligatory";
"_shared_with_you_by_" = "Shared with you by";
"_shareLinksearch_placeholder_" = "Type a name and press Enter";
"_new_comment_" = "New comment…";
"_edit_comment_" = "Editar comentario";
"_delete_comment_" = "Borrar comentario";
"_share_allow_editing_" = "Permitir edición";
"_share_read_only_" = "Sólo lectura";
"_share_allow_upload_" = "Permitir carga y edición";
"_share_file_drop_" = "Permitir carga";
"_share_hide_download_" = "Hide download";
"_share_password_protect_" = "Proteger con contraseña";
"_share_expiration_date_" = "Establecer fecha de expiración";
"_share_note_recipient_" = "Note to recipient";
"_share_delete_sharelink_" = "Delete share link";
"_share_add_sharelink_" = "Add another link";
"_share_can_reshare_" = "Puede volver a compartir";
"_share_can_create_" = "Puede crear";
"_share_can_change_" = "Puede cambiar";
"_share_can_delete_" = "Puede borrar";
"_share_unshare_" = "Dejar de compartir";
"_share_internal_link_" = "Share internal link";
// Share Permission
"_share_permission_title_" = "Privilegios";
"_share_permission_edit_" = "Puede editar";
"_share_permission_file_can_write_" = "Puede escribir archivos";
"_share_permission_create_" = "Puede crear";
"_share_permission_create_file_" = "Puede crear archivos";
"_share_permission_create_folder_" = "Puede crear carpetas";
"_share_permission_change_" = "Puede cambiar";
"_share_permission_delete_" = "Puede borrar";
"_share_permission_share_" = "Puede compartir";
"_share_permission_rename_" = "Puede renombrar";
"_share_permission_move_" = "Puede mover";
"_share_permission_read_" = "Puede leer";
"_share_permission_info_" = "Compartiendo información";
"_share_permission_path_" = "Archivo/Carpeta";
"_share_permission_type_" = "Tipo";
"_share_permission_typeuser_" = "Ususario";
"_share_permission_typegroup_" = "Grupo";
"_share_permission_typepubliclink_" = "Liga";
"_share_permission_typefederated_" = "Federado";
"_share_permission_owner_" = "Dueño";
"_share_permission_date_" = "Fecha";
"_share_permission_email_" = "Notificación por correo electrónico";
"_share_link_readonly_" = "Sólo lectura";
"_share_link_modify_" = "Permitir edición";
"_share_link_upload_" = "Permitir carga";
"_share_link_upload_modify_" = "Permitir carga y edición";
"_share_link_hide_download_" = "Hide download";
// ShareInfoCMOC
"_type_resource_connect_you_" = "Compartido con usted";
"_type_resource_external_" = "Almacenamiento externo";
// Share Ext
"_destiny_folder_" = "Carpeta: %@";
"_no_transfer_" = "No hay cargas disponibles";
"_no_transfer_sub_" = "Aquí se mostrarán las cargas y descargas desde este dispositivo ";
"_no_activity_" = "Aún no hay actividades";
"_transfers_" = "Transferencias";
"_activity_" = "Actividad";
"_activity_file_not_present_" = "Ya no se encuentra el archivo ";
"_trash_file_not_found_" = "It seems that the file is not in the trash, go to the trash to update it and try again";
// List Shares
"_list_shares_" = "Elementos compartidos";
"_list_shares_no_files_" = "Aún no cuentas con elementos compartidos. ";
"_tutorial_list_shares_view_" = "Los archivos y carpetas que compartas se mostrarán aquí";
// Offline - Local Storage
"_create_synchronization_" = "Crear sincronización";
"_offline_" = "Sin conexión";
"_local_storage_" = "Almacentamiento local";
"_local_storage_no_record_" = "Aún no hay archivos";
// Create Cloud
"_upload_photos_videos_" = "Fotos o videos cargados";
"_upload_file_" = "Cargar archivo";
"_upload_file_text_" = "Crear archivo de texto";
"_create_nextcloudtext_document_" = "Create text document";
// Document Picker
"_save_document_picker_" = "Guardar aquí";
// CreateFormUploadAssets
"_destination_folder_" = "Carpeta destino";
"_use_folder_auto_upload_" = "Use the \"Auto upload\" folder as destination";
"_rename_filename_" = "Renombrar";
"_filename_" = "Nombre del archivo";
"_preview_filename_" = "Previsualización de ejemplo para nombreDeArchivo. Puedes usar la mascara%@ para fecha/hora";
"_forbidden_characters_" = "El nombre de archivo o carpeta contiene caracteres inválidos";
"_add_filenametype_" = "Especifica el tipo en el nombre de archivo";
"_filenametype_photo_video_" = "Foto/Video";
"_maintain_original_filename_" = "Maintain original filename";
"_modify_photo_" = "Modify photo";
// Notification
"_notification_" = "Notificación";
"_no_notification_" = "No notifications yet";
// Photo Browser
"Done" = "Terminado";
"Select Photos" = "Seleccionar Fotos";
"photo" = "foto";
"photos" = "fotos";
"of" = "de";
"%i of %i" = "%1$i de %2$i";
// Manage Auto Upload FileName
"_autoupload_filename_title_" = "Nombre de archivo de carga automática";
// Text File
"_untitled_txt_" = "SinTítulo.txt";
"_text_upload_title_" = "Upload text file";
// EndToEnd Encryption
"_e2e_settings_title_" = "Encripción";
"_e2e_settings_" = "Encripción de punta-a-punta";
"_e2e_settings_start_" = "Empezar encripción de punta-a-punta";
"_e2e_settings_not_available_" = "Encripción de punta-a-punta no disponible";
"_e2e_settings_activated_" = "Encripción de punta-a-punta activada";
"_e2e_settings_view_passphrase_" = "All 12 words together make a very strong password, letting only you view and make use of your encrypted files. Please write it down and keep it somewhere safe.";
"_e2e_settings_read_passphrase_" = "Leer la frase de seguirdad";
"_e2e_settings_lock_not_active_" = "Bloqueo no activo, regresa a \"Configuraciones\" para activarlo";
"_e2e_settings_the_passphrase_is_" = "La frase de seguridad es:";
"_e2e_passphrase_request_title_" = "Solicitar una frase de seguridad";
"_e2e_passphrase_request_message_" = "Inserta las 12 palabras";
"_e2e_settings_remove_" = "Eliminar la encripción localmente";
"_e2e_settings_remove_message_" = "Confirm removal of encryption along with the passphrase.";
"_e2e_set_folder_encrypted_" = "Encrypt";
"_e2e_remove_folder_encrypted_" = "Decrypt";
"_e2e_goto_settings_for_enable_" = "This is an encrypted directory, go to \"Settings\" and enable end-to-end encryption";
"_e2e_delete_folder_not_permitted_" = "No se permite el borrado de un directorio marcado como 'encriptado'";
"_e2e_error_encode_metadata_" = "Serious internal error in encoding metadata";
"_e2e_error_decode_metadata_" = "Serious internal error in decoding metadata";
"_e2e_error_create_encrypted_" = "Could not create encrypted file";
"_e2e_error_update_metadata_" = "Update metadata error";
"_e2e_error_store_metadata_" = "Could not save metadata";
"_e2e_error_send_metadata_" = "Could not send metadata";
"_e2e_error_delete_metadata_" = "Could not delete metadata";
"_e2e_error_get_metadata_" = "Could not fetch metadata";
"_e2e_error_not_enabled_" = "Serious internal error. End-to-end encryption not enabled";
"_e2e_error_record_not_found_" = "Serious internal error. Records not found";
"_e2e_error_unlock_" = "Could not unlock folder";
"_e2e_error_lock_" = "Could not lock folder";
"_e2e_error_delete_mark_folder_" = "Decrypt marked folder";
"_e2e_error_mark_folder_" = "Encrypt folder";
"_e2e_error_directory_not_empty_" = "The directory is not empty";
"_e2e_error_not_move_" = "It is not possible move files to encrypted directory";
// Scan Document
"_scans_document_" = "Scan document";
"_scanned_images_" = "Scanned images";
"_scan_document_pdf_page_" = "Page";
"_scan_label_document_zone_" = "Drag images down for document creation";
"_filter_original_" = "Original";
"_filter_bn_" = "Black & White";
"_filter_grayscale_" = "Grayscale";
"_quality_image_title_" = "Image quality";
"_quality_high_" = "Large file size of high quality";
"_quality_medium_" = "Average file size of medium quality";
"_quality_low_" = "Small file size of low quality";
"_file_type_" = "File type";
"_pdf_password_" = "PDF Password";
"_file_creation_" = "File creation";
"_delete_all_scanned_images_" = "Do you want to delete all scanned images?";
"_text_recognition_" = "Text recognition";
/* The title on the navigation bar of the Scanning screen. */
"wescan.scanning.title" = "Scanning";
/* The "Next" button on the right side of the navigation bar on the Edit screen. */
"wescan.edit.button.next" = "Siguiente";
/* The title on the navigation bar of the Edit screen. */
"wescan.edit.title" = "Edit Scan";
/* The "Done" button on the right side of the navigation bar on the Review screen. */
"wescan.review.button.done" = "Terminado";
/* The title on the navigation bar of the Review screen. */
"wescan.review.title" = "Review";
// Trah
"_trash_view_" = "Archivos borrados";
"_trash_restore_all_" = "Restore all files";
"_trash_delete_all_" = "Empty trash";
"_trash_no_trash_" = "No files deleted";
"_trash_no_trash_description_" = "You can restore deleted files from here";
"_trash_restore_selected_" = "Restore selected files";
"_trash_delete_selected_" = "Deleted selected files";
// Offline
"_manage_file_offline_" = "Manage offline files";
"_set_available_offline_" = "Set as available offline";
"_remove_available_offline_" = "Remove as available offline";
// Richdocuments
"_create_new_document_" = "Create new document";
"_create_new_spreadsheet_" = "Create new spreadsheet";
"_create_new_presentation_" = "Create new presentation";
"_go_online_" = "Go online to see the document";
// Intro
"_intro_1_title_" = "Keep your data secure and under your control";
"_intro_2_title_" = "Secure collaboration & file exchange";
"_intro_3_title_" = "Easy-to-use web mail, calendering & contacts";
"_intro_4_title_" = "Screensharing, online meetings & web conferences";
"_log_in_" = "Iniciar sesión";
"_sign_up_" = "Sign up with provider";
"_host_your_own_server" = "Host your own server";
// Error
"_unauthorized_" = "Unauthorized";
"_bad_username_password_" = "Usuario o contraseña equivocada";
"_cancelled_by_user" = "Transferencia cancelada";
"_error_folder_destiny_is_the_same_" = "It is not possible to move the folder into itself";
"_error_not_permission_" = "No tienes los permisos para hacer esta operación";
"_error_path_" = "No se pudo habrir este archivo o carpeta. Por favor verifica que exista";
"_file_upload_not_exitst_" = "The file that you want to upload does not exist";
"_forbidden_characters_from_server_" = "El nombre contiene al menos un caracter inválido";
"_not_connected_internet_" = "Error de conexión al servidor";
"_not_possible_connect_to_server_" = "No es posible conectarse al servidor en este momento";
"_not_possible_create_folder_" = "No fue posible crear la carpeta";
"_server_down_" = "Could not establish contact with server";
"_time_out_" = "El tiempo se agotó, favor de reintentar";
"_unknow_response_server_" = "Respuesta del servidor inesperada";
"_user_authentication_required_" = "User authentication required";
"_file_directory_locked_" = "Archivo o directorio bloqueado";
"_ssl_certificate_untrusted_" = "El certificado para este servidor es inválido";
"_internal_server_" = "Internal server error";
"_file_already_exists_" = "No fue posible completar la operación, un archivo con el mismo nombre ya existe";
"_file_folder_not_exists_" = "El archivo fuente no se encontró en la ruta especificada";
"_folder_contents_nochanged_" = "El contendio de la carpeta no ha cambiado";
"_images_invalid_converted_" = "La imagen es inválida y no puede convertirse a una miniatura";
"_method_not_expected_" = "Unexpected request method";
"_reauthenticate_user_" = "Access expired, log in again";
"_server_error_retry_" = "El servidor se encuentra temporalmente no disponible";
"_too_many_files_" = "Too many files would be involved in this operation";
"_too_many_request_" = "Sending too many requests caused the rate limit to be reached";
"_user_over_quota_" = "Se ha alcanzado la cuota de almacenamiento";
"_ssl_connection_error_" = "Error de la conexión SSL, por favor vuelve a intentarlo";
"_bad_request_" = "Bad request";
"_webdav_locked_" = "WebDAV Locked: Trying to access locked resource";
"_error_user_not_available_" = "The user is no longer available";
"_server_response_error_" = "Server response content error";
"_no_nextcloud_found_" = "Nextcloud server not found";
"_error_decompressing_" = "Error during decompressing. Unknown compression method or the file is corrupt";
"_error_json_decoding_" = "Serious internal error in decoding metadata (The data couldn’t be read because it isn’t in the correct format.)";
"_error_check_remote_user_" = "Server responded with error, password re-entry is required";
"_request_entity_too_large_" = "The file is too large";
"_not_possible_download_" = "It is not possible to download the file";
"_not_possible_upload_" = "It is not possible to upload the file";
"_method_not_allowed_" = "The requested method is not supported";
"_invalid_url_" = "URL del servidor inválida";
"_invalid_literal_" = "Invalid search string";
"_invalid_date_format_" = "Invalid date format";
"_invalid_data_format_" = "Invalid data format";
"_error_decode_xml_" = "Invalid response, error decode XML";
"_internal_generic_error_" = "Error interno";
"_editor_unknown_" = "Failed to open file: Editor is unknown";
"_err_asset_not_found_locally_" = "Error: Photo/video not found locally, removed from upload";
"_err_asset_not_found_" = "Error: Photo/video not found, removed from upload";
"_err_e2ee_app_version_" = "Error: The version of app End-to-End encryption is not compatible, please update your server";
// QRCode
"_qrcode_not_authorized_" = "This app is not authorized to use Back Camera";
"_qrcode_not_supported_" = "QRCode not supported by the current device";
// Voice Memo
"_create_voice_memo_" = "Create voice memo";
"_voice_memo_start_" = "Tap to start";
"_voice_memo_stop_" = "Tap to stop";
"_voice_memo_filename_" = "Voice memo";
"_voice_memo_title_" = "Upload voice memo";
// Passcode
"Enter Passcode" = "Enter Passcode";
"Enter a new passcode" = "Enter a new passcode";
"Confirm new passcode" = "Confirm new passcode";
"Passcodes didn't match. Try again." = "Passcodes didn't match. Try again.";
"Delete" = "Borrar";
"Cancel" = "Cancelar";
// IM
"_textnote_" = "Text note";
"_audionote_" = "Audio note";
"_removeaudionote_" = "Do you want delete the audio note?";
"_detailpicture_" = "Detail picture";
"_creation_archive_error_" = "Error while creating archive";
"_read_audio_error_" = "Error while reading audio file";
"_create_audio_error_" = "Error while creating audio file";
"_create_image_error_" = "Error while creating image file";
"_error_open_file_" = "Error while opening a file";
"_new_background_im_" = "Select an image, take a picture or do not select anything for a canvas background. Press 'Done' to complete.";
| {
"pile_set_name": "Github"
} |
name = "Intervals"
uuid = "d8418881-c3e1-53bb-8760-2df7ec849ed5"
repo = "https://github.com/invenia/Intervals.jl.git"
| {
"pile_set_name": "Github"
} |
//File: camera.hh
//Author: Yuxin Wu <[email protected]>
#pragma once
#include <vector>
#include "homography.hh"
#include "common/common.hh"
namespace pano {
struct MatchInfo;
// TODO might not need aspect any more
class Camera {
public:
Camera();
Camera(const Camera&) = default;
Camera& operator = (const Camera&) = default;
// return the intrinsic matrix
Homography K() const;
Homography Kinv() const { return K().inverse(); }
Homography Rinv() const { return R.transpose(); }
double focal = 1; // Focal length
double aspect = 1; // Aspect ratio
double ppx = 0; // Principal point X
double ppy = 0; // Principal point Y
Homography R; // Rotation
static double estimate_focal(
const std::vector<std::vector<MatchInfo>>& matches);
static void rotation_to_angle(const Homography& r, double& rx, double& ry, double& rz);
static void angle_to_rotation(double rx, double ry, double rz, Homography& r);
static void straighten(std::vector<Camera>&);
friend std::ostream& operator << (std::ostream& os, const Camera& c) {
os << "focal=" << c.focal << ", ppx=" << c.ppx << ", ppy="
<< c.ppy << ", R=" << c.R;
double rx, ry, rz;
Camera::rotation_to_angle(c.R, rx, ry, rz);
os << ", theta=" << rx << " " << ry << " " << rz;
return os;
}
};
}
| {
"pile_set_name": "Github"
} |
SHA256 (Devel-ArgNames-0.03.tar.gz) = 59cc9e6b77af9b4b1a24bbe858d700d0909282b26dfb7f7963adb8bca3edce98
SIZE (Devel-ArgNames-0.03.tar.gz) = 2952
| {
"pile_set_name": "Github"
} |
// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build linux
// +build mips64 mips64le
// +build !gccgo
#include "textflag.h"
//
// System calls for mips64, Linux
//
// Just jump to package syscall's implementation for all these functions.
// The runtime may know about them.
TEXT ·Syscall(SB),NOSPLIT,$0-56
JMP syscall·Syscall(SB)
TEXT ·Syscall6(SB),NOSPLIT,$0-80
JMP syscall·Syscall6(SB)
TEXT ·SyscallNoError(SB),NOSPLIT,$0-48
JAL runtime·entersyscall(SB)
MOVV a1+8(FP), R4
MOVV a2+16(FP), R5
MOVV a3+24(FP), R6
MOVV R0, R7
MOVV R0, R8
MOVV R0, R9
MOVV trap+0(FP), R2 // syscall entry
SYSCALL
MOVV R2, r1+32(FP)
MOVV R3, r2+40(FP)
JAL runtime·exitsyscall(SB)
RET
TEXT ·RawSyscall(SB),NOSPLIT,$0-56
JMP syscall·RawSyscall(SB)
TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
JMP syscall·RawSyscall6(SB)
TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-48
MOVV a1+8(FP), R4
MOVV a2+16(FP), R5
MOVV a3+24(FP), R6
MOVV R0, R7
MOVV R0, R8
MOVV R0, R9
MOVV trap+0(FP), R2 // syscall entry
SYSCALL
MOVV R2, r1+32(FP)
MOVV R3, r2+40(FP)
RET
| {
"pile_set_name": "Github"
} |
<?php
use Lit\Format\ShellTestFormat;
use Lit\Kernel\TestingConfig;
/**
* @var TestingConfig $config
*/
$config->setName('sub-suite');
$config->setSuffixes(['txt']);
$config->setTestFormat(new ShellTestFormat($litConfig));
$config->setTestSourceRoot('');
$config->setTestExecRoot('');
| {
"pile_set_name": "Github"
} |
// entity 0
{
"classname" "worldspawn"
// brush 0
{
( 64 -896 384 ) ( 64 -896 400 ) ( 2 -840 400 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -896 400 ) ( 64 -896 384 ) ( -64 -896 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -896 400 ) ( -64 -896 384 ) ( -2 -840 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 2 -840 400 ) ( -2 -840 400 ) ( -2 -840 384 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( 2 -840 400 ) ( 2 -850 400 ) ( -2 -850 400 ) mtrl/turf-green 128 0 0 0.5 0.5 0 0 0
( -2 -850 384 ) ( 2 -850 384 ) ( 2 -840 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
}
// brush 1
{
( -18 -830 384 ) ( -18 -834 384 ) ( -8 -834 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -8 -834 400 ) ( -18 -834 400 ) ( -18 -830 400 ) mtrl/turf-green 128 0 0 0.5 0.5 0 0 0
( -8 -834 400 ) ( -8 -830 400 ) ( -8 -830 384 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( -64 -768 400 ) ( -64 -768 384 ) ( -8 -830 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -896 400 ) ( -64 -896 384 ) ( -64 -768 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -896 384 ) ( -64 -896 400 ) ( -8 -834 400 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 2
{
( -64 -768 384 ) ( -64 -768 400 ) ( -2 -824 400 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -768 400 ) ( -64 -768 384 ) ( 64 -768 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -768 400 ) ( 64 -768 384 ) ( 2 -824 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -2 -824 400 ) ( 2 -824 400 ) ( 2 -824 384 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( -2 -824 400 ) ( -2 -814 400 ) ( 2 -814 400 ) mtrl/turf-green 128 0 0 0.5 0.5 0 0 0
( 2 -814 384 ) ( -2 -814 384 ) ( -2 -824 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
}
// brush 3
{
( 18 -834 384 ) ( 18 -830 384 ) ( 8 -830 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 8 -830 400 ) ( 18 -830 400 ) ( 18 -834 400 ) mtrl/turf-green 128 0 0 0.5 0.5 0 0 0
( 8 -830 400 ) ( 8 -834 400 ) ( 8 -834 384 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( 64 -896 400 ) ( 64 -896 384 ) ( 8 -834 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -768 400 ) ( 64 -768 384 ) ( 64 -896 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -768 384 ) ( 64 -768 400 ) ( 8 -830 400 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 4
{
( 6 -842 400 ) ( 6 -834 400 ) ( 16 -834 400 ) mtrl/turf-green 128 0 0 0.5 0.5 0 0 0
( 16 -834 384 ) ( 6 -834 384 ) ( 6 -842 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 6 -838 400 ) ( 6 -838 384 ) ( 8 -834 384 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( 6 -838 384 ) ( 6 -838 400 ) ( 64 -896 400 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 8 -834 400 ) ( 8 -834 384 ) ( 64 -896 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 5
{
( 6 -838 400 ) ( 6 -838 384 ) ( 64 -896 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 2 -840 384 ) ( 2 -840 400 ) ( 64 -896 400 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 6 -838 384 ) ( 6 -838 400 ) ( 2 -840 400 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( 14 -832 384 ) ( 4 -832 384 ) ( 4 -840 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 4 -840 400 ) ( 4 -832 400 ) ( 14 -832 400 ) mtrl/turf-green 128 0 0 0.5 0.5 0 0 0
}
// brush 6
{
( -2 -840 400 ) ( -2 -840 384 ) ( -64 -896 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -6 -838 384 ) ( -6 -838 400 ) ( -64 -896 400 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -6 -838 400 ) ( -6 -838 384 ) ( -2 -840 384 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( -2 -848 384 ) ( -2 -838 384 ) ( -10 -838 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -10 -838 400 ) ( -2 -838 400 ) ( -2 -848 400 ) mtrl/turf-green 128 0 0 0.5 0.5 0 0 0
}
// brush 7
{
( -8 -836 400 ) ( 0 -836 400 ) ( 0 -846 400 ) mtrl/turf-green 128 0 0 0.5 0.5 0 0 0
( 0 -846 384 ) ( 0 -836 384 ) ( -8 -836 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -6 -838 384 ) ( -6 -838 400 ) ( -8 -834 400 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( -8 -834 384 ) ( -8 -834 400 ) ( -64 -896 400 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -6 -838 400 ) ( -6 -838 384 ) ( -64 -896 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 8
{
( -6 -822 400 ) ( -6 -830 400 ) ( -16 -830 400 ) mtrl/turf-green 128 0 0 0.5 0.5 0 0 0
( -16 -830 384 ) ( -6 -830 384 ) ( -6 -822 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -6 -826 400 ) ( -6 -826 384 ) ( -8 -830 384 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( -6 -826 384 ) ( -6 -826 400 ) ( -64 -768 400 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -8 -830 400 ) ( -8 -830 384 ) ( -64 -768 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 9
{
( -6 -826 400 ) ( -6 -826 384 ) ( -64 -768 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -2 -824 384 ) ( -2 -824 400 ) ( -64 -768 400 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -6 -826 384 ) ( -6 -826 400 ) ( -2 -824 400 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( -14 -832 384 ) ( -4 -832 384 ) ( -4 -824 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -4 -824 400 ) ( -4 -832 400 ) ( -14 -832 400 ) mtrl/turf-green 128 0 0 0.5 0.5 0 0 0
}
// brush 10
{
( 2 -824 400 ) ( 2 -824 384 ) ( 64 -768 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 6 -826 384 ) ( 6 -826 400 ) ( 64 -768 400 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 6 -826 400 ) ( 6 -826 384 ) ( 2 -824 384 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( 2 -816 384 ) ( 2 -826 384 ) ( 10 -826 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 10 -826 400 ) ( 2 -826 400 ) ( 2 -816 400 ) mtrl/turf-green 128 0 0 0.5 0.5 0 0 0
}
// brush 11
{
( 8 -828 400 ) ( 0 -828 400 ) ( 0 -818 400 ) mtrl/turf-green 128 0 0 0.5 0.5 0 0 0
( 0 -818 384 ) ( 0 -828 384 ) ( 8 -828 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 6 -826 384 ) ( 6 -826 400 ) ( 8 -830 400 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( 8 -830 384 ) ( 8 -830 400 ) ( 64 -768 400 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 6 -826 400 ) ( 6 -826 384 ) ( 64 -768 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 12
{
( 192 0 16 ) ( 192 -128 16 ) ( -192 0 16 ) mtrl/turf-green-dark 0 0 0 0.5 0.5 0 0 0
( 192 64 24 ) ( -192 64 24 ) ( 192 64 0 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 88 24 ) ( 64 88 0 ) ( 64 -40 24 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -192 -128 0 ) ( 192 -128 0 ) ( -192 0 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -192 -64 0 ) ( -192 -64 24 ) ( 192 -64 0 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 0 0 ) ( -64 128 0 ) ( -64 0 24 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 13
{
( 512 0 16 ) ( 512 -128 16 ) ( 192 0 16 ) mtrl/turf-green-small 0 0 0 0.5 0.5 0 0 0
( 576 -40 16 ) ( 576 -40 0 ) ( 576 -168 16 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 192 -128 0 ) ( 512 -128 0 ) ( 192 0 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 128 -104 0 ) ( 128 24 0 ) ( 128 -104 16 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 128 16 -64 ) ( 576 128 -64 ) ( 128 16 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 128 -16 64 ) ( 576 -128 -64 ) ( 128 -16 -64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 14
{
( -192 0 16 ) ( -192 -128 16 ) ( -448 0 16 ) mtrl/turf-green-small 0 0 0 0.5 0.5 0 0 0
( -128 128 16 ) ( -128 128 0 ) ( -128 0 16 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -448 -128 0 ) ( -192 -128 0 ) ( -448 0 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -576 -144 0 ) ( -576 -16 0 ) ( -576 -144 16 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 -16 -64 ) ( -576 -128 -64 ) ( -128 -16 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -576 128 -64 ) ( -128 16 -64 ) ( -576 128 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 15
{
( -621 120 531 ) ( -621 376 531 ) ( -576 384 536 ) mtrl/glass-dark 16 -192 90 0.5 -0.5 0 0 0
( -576 -240 536 ) ( -576 16 536 ) ( -576 16 528 ) mtrl/glass-dark 32 -192 -90 0.5 0.5 0 0 0
( -621 120 531 ) ( -576 384 528 ) ( -621 376 531 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 16
{
( -576 -240 528 ) ( -576 16 528 ) ( -620 8 524 ) mtrl/turf-green-dark 16 -192 90 0.5 -0.5 0 0 0
( -620 120 524 ) ( -620 376 524 ) ( -621 376 531 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -576 128 528 ) ( -621 376 531 ) ( -576 384 528 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 17
{
( -666 112 520 ) ( -666 368 520 ) ( -621 376 531 ) mtrl/glass-dark 16 -192 90 0.5 -0.5 0 0 0
( -621 -64 531 ) ( -621 192 531 ) ( -620 192 524 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -666 -72 520 ) ( -620 192 524 ) ( -666 184 520 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 18
{
( -620 -248 524 ) ( -620 8 524 ) ( -663 0 512 ) mtrl/turf-green-dark 16 -192 90 0.5 -0.5 0 0 0
( -663 112 512 ) ( -663 368 512 ) ( -666 368 520 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -620 120 524 ) ( -666 368 520 ) ( -620 376 524 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 19
{
( -707 -80 500 ) ( -707 176 500 ) ( -666 184 520 ) mtrl/glass-dark 16 -192 90 0.5 -0.5 0 0 0
( -666 -72 520 ) ( -666 184 520 ) ( -663 184 512 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -707 -80 500 ) ( -663 184 512 ) ( -707 176 500 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 20
{
( -663 -256 512 ) ( -663 0 512 ) ( -703 -8 493 ) mtrl/turf-green-dark 16 -192 90 0.5 -0.5 0 0 0
( -703 -80 493 ) ( -703 176 493 ) ( -707 176 500 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -663 -72 512 ) ( -707 176 500 ) ( -663 184 512 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 21
{
( -745 -272 474 ) ( -745 -16 474 ) ( -707 -8 500 ) mtrl/glass-dark 16 -192 90 0.5 -0.5 0 0 0
( -707 104 500 ) ( -707 360 500 ) ( -703 360 493 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -745 -88 474 ) ( -703 176 493 ) ( -745 168 474 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 22
{
( -703 -80 493 ) ( -703 176 493 ) ( -740 168 468 ) mtrl/turf-green-dark 16 -192 90 0.5 -0.5 0 0 0
( -740 -88 468 ) ( -740 168 468 ) ( -745 168 474 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -703 -80 493 ) ( -745 168 474 ) ( -703 176 493 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 23
{
( -778 -280 441 ) ( -778 -24 441 ) ( -745 -16 474 ) mtrl/glass-dark 16 -192 90 0.5 -0.5 0 0 0
( -745 -88 474 ) ( -745 168 474 ) ( -740 168 468 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -778 -96 441 ) ( -740 168 468 ) ( -778 160 441 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 24
{
( -740 -88 468 ) ( -740 168 468 ) ( -772 160 436 ) mtrl/turf-green-dark 16 -192 90 0.5 -0.5 0 0 0
( -772 88 436 ) ( -772 344 436 ) ( -778 344 441 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -740 -88 468 ) ( -778 160 441 ) ( -740 168 468 ) mtrl/chrome 16 -192 90 0.5 -0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 25
{
( -804 -288 404 ) ( -804 -32 404 ) ( -778 -24 441 ) mtrl/glass-dark 32 -192 -90 0.5 0.5 0 0 0
( -778 88 441 ) ( -778 344 441 ) ( -772 344 436 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -804 80 404 ) ( -772 344 436 ) ( -804 336 404 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 26
{
( -772 88 436 ) ( -772 344 436 ) ( -797 336 400 ) mtrl/turf-green-dark 32 -192 -90 0.5 0.5 0 0 0
( -797 -104 400 ) ( -797 152 400 ) ( -804 152 404 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -772 -96 436 ) ( -804 152 404 ) ( -772 160 436 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 27
{
( -824 -296 362 ) ( -824 -40 362 ) ( -804 -32 404 ) mtrl/glass-dark 32 -192 -90 0.5 0.5 0 0 0
( -804 80 404 ) ( -804 336 404 ) ( -797 336 400 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -824 72 362 ) ( -797 336 400 ) ( -824 328 362 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 28
{
( -797 80 400 ) ( -797 336 400 ) ( -816 328 359 ) mtrl/turf-green-dark 32 -192 -90 0.5 0.5 0 0 0
( -816 72 359 ) ( -816 328 359 ) ( -824 328 362 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -797 80 400 ) ( -824 328 362 ) ( -797 336 400 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 29
{
( -835 -304 317 ) ( -835 -48 317 ) ( -824 -40 362 ) mtrl/glass-dark 32 -192 -90 0.5 0.5 0 0 0
( -824 72 362 ) ( -824 328 362 ) ( -816 328 359 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -835 64 317 ) ( -816 328 359 ) ( -835 320 317 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 30
{
( -816 72 359 ) ( -816 328 359 ) ( -828 320 316 ) mtrl/turf-green-dark 32 -192 -90 0.5 0.5 0 0 0
( -828 -304 316 ) ( -828 -48 316 ) ( -835 -48 317 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -816 -112 359 ) ( -835 136 317 ) ( -816 144 359 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 31
{
( -840 -312 272 ) ( -840 -56 272 ) ( -835 -48 317 ) mtrl/glass-dark 32 -192 -90 0.5 0.5 0 0 0
( -835 64 317 ) ( -835 320 317 ) ( -828 320 316 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -840 56 272 ) ( -828 320 316 ) ( -840 312 272 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 32
{
( -828 64 316 ) ( -828 320 316 ) ( -832 312 272 ) mtrl/turf-green-dark 32 -192 -90 0.5 0.5 0 0 0
( -832 -312 272 ) ( -832 -56 272 ) ( -840 -56 272 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -828 -120 316 ) ( -840 128 272 ) ( -828 136 316 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 33
{
( -835 -320 227 ) ( -835 -64 227 ) ( -840 -56 272 ) mtrl/glass-dark 32 -192 -90 0.5 0.5 0 0 0
( -840 -312 272 ) ( -840 -56 272 ) ( -832 -56 272 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -835 48 227 ) ( -832 312 272 ) ( -835 304 227 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 34
{
( -832 56 272 ) ( -832 312 272 ) ( -828 304 228 ) mtrl/turf-green-dark 32 -192 -90 0.5 0.5 0 0 0
( -828 48 228 ) ( -828 304 228 ) ( -835 304 227 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -832 -128 272 ) ( -835 120 227 ) ( -832 128 272 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 35
{
( -824 -328 182 ) ( -824 -72 182 ) ( -835 -64 227 ) mtrl/glass-dark 32 -192 -90 0.5 0.5 0 0 0
( -835 48 227 ) ( -835 304 227 ) ( -828 304 228 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -824 40 182 ) ( -828 304 228 ) ( -824 296 182 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 36
{
( -828 48 228 ) ( -828 304 228 ) ( -816 296 185 ) mtrl/turf-green-dark 32 -192 -90 0.5 0.5 0 0 0
( -816 40 185 ) ( -816 296 185 ) ( -824 296 182 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -828 -320 228 ) ( -824 -72 182 ) ( -828 -64 228 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 37
{
( -804 -336 140 ) ( -804 -80 140 ) ( -824 -72 182 ) mtrl/glass-dark 32 -192 -90 0.5 0.5 0 0 0
( -824 40 182 ) ( -824 296 182 ) ( -816 296 185 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -804 32 140 ) ( -816 296 185 ) ( -804 288 140 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 38
{
( -816 40 185 ) ( -816 296 185 ) ( -797 288 144 ) mtrl/turf-green-dark 32 -192 -90 0.5 0.5 0 0 0
( -797 32 144 ) ( -797 288 144 ) ( -804 288 140 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -816 -144 185 ) ( -804 104 140 ) ( -816 112 185 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 39
{
( -778 -344 103 ) ( -778 -88 103 ) ( -804 -80 140 ) mtrl/glass-dark 32 -192 -90 0.5 0.5 0 0 0
( -804 -152 140 ) ( -804 104 140 ) ( -797 104 144 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -778 24 103 ) ( -797 288 144 ) ( -778 280 103 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 40
{
( -797 32 144 ) ( -797 288 144 ) ( -772 280 108 ) mtrl/turf-green-dark 32 -192 -90 0.5 0.5 0 0 0
( -772 24 108 ) ( -772 280 108 ) ( -778 280 103 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -797 32 144 ) ( -778 280 103 ) ( -797 288 144 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 41
{
( -745 -352 70 ) ( -745 -96 70 ) ( -778 -88 103 ) mtrl/glass-dark 16 -192 90 0.5 -0.5 0 0 0
( -778 24 103 ) ( -778 280 103 ) ( -772 280 108 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -745 16 70 ) ( -772 280 108 ) ( -745 272 70 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 42
{
( -772 24 108 ) ( -772 280 108 ) ( -740 272 76 ) mtrl/turf-green-dark 16 -192 90 0.5 -0.5 0 0 0
( -740 -168 76 ) ( -740 88 76 ) ( -745 88 70 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -772 -160 108 ) ( -745 88 70 ) ( -772 96 108 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 43
{
( -708 -360 44 ) ( -708 -104 44 ) ( -745 -96 70 ) mtrl/glass-dark 16 -192 90 0.5 -0.5 0 0 0
( -745 -168 70 ) ( -745 88 70 ) ( -740 88 76 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -708 8 44 ) ( -740 272 76 ) ( -708 264 44 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 44
{
( -740 -168 76 ) ( -740 88 76 ) ( -704 80 51 ) mtrl/turf-green-dark 16 -192 90 0.5 -0.5 0 0 0
( -704 8 51 ) ( -704 264 51 ) ( -708 264 44 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -740 16 76 ) ( -708 264 44 ) ( -740 272 76 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 45
{
( -666 -184 24 ) ( -666 72 24 ) ( -708 80 44 ) mtrl/glass-dark 16 -192 90 0.5 -0.5 0 0 0
( -708 8 44 ) ( -708 264 44 ) ( -704 264 51 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -666 -368 24 ) ( -704 -104 51 ) ( -666 -112 24 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 46
{
( -704 -360 51 ) ( -704 -104 51 ) ( -663 -112 32 ) mtrl/turf-green-dark 16 -192 90 0.5 -0.5 0 0 0
( -663 -184 32 ) ( -663 72 32 ) ( -666 72 24 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -704 -176 51 ) ( -666 72 24 ) ( -704 80 51 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 47
{
( -621 -8 13 ) ( -621 248 13 ) ( -666 256 24 ) mtrl/glass-dark 16 -192 90 0.5 -0.5 0 0 0
( -666 0 24 ) ( -666 256 24 ) ( -663 256 32 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -621 -8 13 ) ( -663 256 32 ) ( -621 248 13 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 48
{
( -663 -368 32 ) ( -663 -112 32 ) ( -620 -120 20 ) mtrl/turf-green-dark 16 -192 90 0.5 -0.5 0 0 0
( -620 -376 20 ) ( -620 -120 20 ) ( -621 -120 13 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -663 0 32 ) ( -621 248 13 ) ( -663 256 32 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 49
{
( -576 -16 8 ) ( -576 240 8 ) ( -621 248 13 ) mtrl/glass-dark 16 -192 90 0.5 -0.5 0 0 0
( -621 -8 13 ) ( -621 248 13 ) ( -620 248 20 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -576 -200 8 ) ( -620 64 20 ) ( -576 56 8 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 50
{
( -620 -376 20 ) ( -620 -120 20 ) ( -576 -128 16 ) mtrl/turf-green-dark 16 -192 90 0.5 -0.5 0 0 0
( -576 -384 16 ) ( -576 -128 16 ) ( -576 -128 8 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( -620 -8 20 ) ( -576 240 8 ) ( -620 248 20 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( -576 128 64 ) ( -840 128 -64 ) ( -576 128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( -576 -128 -64 ) ( -848 -128 -64 ) ( -576 -128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 51
{
( 128 8 16 ) ( 128 -8 16 ) ( 64 8 16 ) mtrl/caution 0 0 0 0.5 0.5 0 0 0
( 128 16 16 ) ( 64 16 16 ) ( 128 16 0 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 120 -8 16 ) ( 120 -8 0 ) ( 120 -24 16 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -8 0 ) ( 128 -8 0 ) ( 64 8 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 64 -16 0 ) ( 64 -16 16 ) ( 128 -16 0 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 72 -24 0 ) ( 72 -8 0 ) ( 72 -24 16 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 52
{
( -64 8 16 ) ( -64 -8 16 ) ( -128 8 16 ) mtrl/caution 0 0 0 0.5 0.5 0 0 0
( -64 16 16 ) ( -128 16 16 ) ( -64 16 0 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -72 8 16 ) ( -72 8 0 ) ( -72 -8 16 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -128 -8 0 ) ( -64 -8 0 ) ( -128 8 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 -16 0 ) ( -128 -16 16 ) ( -64 -16 0 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -120 -24 0 ) ( -120 -8 0 ) ( -120 -24 16 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 53
{
( 621 -120 531 ) ( 621 -376 531 ) ( 576 -384 536 ) mtrl/glass-dark 16 -192 90 0.5 -0.5 0 0 0
( 576 240 536 ) ( 576 -16 536 ) ( 576 -16 528 ) mtrl/glass-dark 32 -192 -90 0.5 0.5 0 0 0
( 621 -120 531 ) ( 576 -384 528 ) ( 621 -376 531 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 54
{
( 576 240 528 ) ( 576 -16 528 ) ( 620 -8 524 ) mtrl/turf-green-dark 16 -192 90 0.5 -0.5 0 0 0
( 620 -120 524 ) ( 620 -376 524 ) ( 621 -376 531 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 576 -128 528 ) ( 621 -376 531 ) ( 576 -384 528 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 55
{
( 666 -112 520 ) ( 666 -368 520 ) ( 621 -376 531 ) mtrl/glass-dark 16 -192 90 0.5 -0.5 0 0 0
( 621 64 531 ) ( 621 -192 531 ) ( 620 -192 524 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 666 72 520 ) ( 620 -192 524 ) ( 666 -184 520 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 56
{
( 620 248 524 ) ( 620 -8 524 ) ( 663 0 512 ) mtrl/turf-green-dark 16 -192 90 0.5 -0.5 0 0 0
( 663 -112 512 ) ( 663 -368 512 ) ( 666 -368 520 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 620 -120 524 ) ( 666 -368 520 ) ( 620 -376 524 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 57
{
( 707 80 500 ) ( 707 -176 500 ) ( 666 -184 520 ) mtrl/glass-dark 16 -192 90 0.5 -0.5 0 0 0
( 666 72 520 ) ( 666 -184 520 ) ( 663 -184 512 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 707 80 500 ) ( 663 -184 512 ) ( 707 -176 500 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 58
{
( 663 256 512 ) ( 663 0 512 ) ( 703 8 493 ) mtrl/turf-green-dark 16 -192 90 0.5 -0.5 0 0 0
( 703 80 493 ) ( 703 -176 493 ) ( 707 -176 500 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 663 72 512 ) ( 707 -176 500 ) ( 663 -184 512 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 59
{
( 745 272 474 ) ( 745 16 474 ) ( 707 8 500 ) mtrl/glass-dark 16 -192 90 0.5 -0.5 0 0 0
( 707 -104 500 ) ( 707 -360 500 ) ( 703 -360 493 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 745 88 474 ) ( 703 -176 493 ) ( 745 -168 474 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 60
{
( 703 80 493 ) ( 703 -176 493 ) ( 740 -168 468 ) mtrl/turf-green-dark 16 -192 90 0.5 -0.5 0 0 0
( 740 88 468 ) ( 740 -168 468 ) ( 745 -168 474 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 703 80 493 ) ( 745 -168 474 ) ( 703 -176 493 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 61
{
( 778 280 441 ) ( 778 24 441 ) ( 745 16 474 ) mtrl/glass-dark 16 -192 90 0.5 -0.5 0 0 0
( 745 88 474 ) ( 745 -168 474 ) ( 740 -168 468 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 778 96 441 ) ( 740 -168 468 ) ( 778 -160 441 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 62
{
( 740 88 468 ) ( 740 -168 468 ) ( 772 -160 436 ) mtrl/turf-green-dark 16 -192 90 0.5 -0.5 0 0 0
( 772 -88 436 ) ( 772 -344 436 ) ( 778 -344 441 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 740 88 468 ) ( 778 -160 441 ) ( 740 -168 468 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 63
{
( 804 288 404 ) ( 804 32 404 ) ( 778 24 441 ) mtrl/glass-dark 32 -192 -90 0.5 0.5 0 0 0
( 778 -88 441 ) ( 778 -344 441 ) ( 772 -344 436 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 804 -80 404 ) ( 772 -344 436 ) ( 804 -336 404 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 64
{
( 772 -88 436 ) ( 772 -344 436 ) ( 797 -336 400 ) mtrl/turf-green-dark 32 -192 -90 0.5 0.5 0 0 0
( 797 104 400 ) ( 797 -152 400 ) ( 804 -152 404 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 772 96 436 ) ( 804 -152 404 ) ( 772 -160 436 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 65
{
( 824 296 362 ) ( 824 40 362 ) ( 804 32 404 ) mtrl/glass-dark 32 -192 -90 0.5 0.5 0 0 0
( 804 -80 404 ) ( 804 -336 404 ) ( 797 -336 400 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 824 -72 362 ) ( 797 -336 400 ) ( 824 -328 362 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 66
{
( 797 -80 400 ) ( 797 -336 400 ) ( 816 -328 359 ) mtrl/turf-green-dark 32 -192 -90 0.5 0.5 0 0 0
( 816 -72 359 ) ( 816 -328 359 ) ( 824 -328 362 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 797 -80 400 ) ( 824 -328 362 ) ( 797 -336 400 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 67
{
( 835 304 317 ) ( 835 48 317 ) ( 824 40 362 ) mtrl/glass-dark 32 -192 -90 0.5 0.5 0 0 0
( 824 -72 362 ) ( 824 -328 362 ) ( 816 -328 359 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 835 -64 317 ) ( 816 -328 359 ) ( 835 -320 317 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 68
{
( 816 -72 359 ) ( 816 -328 359 ) ( 828 -320 316 ) mtrl/turf-green-dark 32 -192 -90 0.5 0.5 0 0 0
( 828 304 316 ) ( 828 48 316 ) ( 835 48 317 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 816 112 359 ) ( 835 -136 317 ) ( 816 -144 359 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 69
{
( 840 312 272 ) ( 840 56 272 ) ( 835 48 317 ) mtrl/glass-dark 32 -192 -90 0.5 0.5 0 0 0
( 835 -64 317 ) ( 835 -320 317 ) ( 828 -320 316 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 840 -56 272 ) ( 828 -320 316 ) ( 840 -312 272 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 70
{
( 828 -64 316 ) ( 828 -320 316 ) ( 832 -312 272 ) mtrl/turf-green-dark 32 -192 -90 0.5 0.5 0 0 0
( 832 312 272 ) ( 832 56 272 ) ( 840 56 272 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 828 120 316 ) ( 840 -128 272 ) ( 828 -136 316 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 71
{
( 835 320 227 ) ( 835 64 227 ) ( 840 56 272 ) mtrl/glass-dark 32 -192 -90 0.5 0.5 0 0 0
( 840 312 272 ) ( 840 56 272 ) ( 832 56 272 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 835 -48 227 ) ( 832 -312 272 ) ( 835 -304 227 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 72
{
( 832 -56 272 ) ( 832 -312 272 ) ( 828 -304 228 ) mtrl/turf-green-dark 32 -192 -90 0.5 0.5 0 0 0
( 828 -48 228 ) ( 828 -304 228 ) ( 835 -304 227 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 832 128 272 ) ( 835 -120 227 ) ( 832 -128 272 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 73
{
( 824 328 182 ) ( 824 72 182 ) ( 835 64 227 ) mtrl/glass-dark 32 -192 -90 0.5 0.5 0 0 0
( 835 -48 227 ) ( 835 -304 227 ) ( 828 -304 228 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 824 -40 182 ) ( 828 -304 228 ) ( 824 -296 182 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 74
{
( 828 -48 228 ) ( 828 -304 228 ) ( 816 -296 185 ) mtrl/turf-green-dark 32 -192 -90 0.5 0.5 0 0 0
( 816 -40 185 ) ( 816 -296 185 ) ( 824 -296 182 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 828 320 228 ) ( 824 72 182 ) ( 828 64 228 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 75
{
( 804 336 140 ) ( 804 80 140 ) ( 824 72 182 ) mtrl/glass-dark 32 -192 -90 0.5 0.5 0 0 0
( 824 -40 182 ) ( 824 -296 182 ) ( 816 -296 185 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 804 -32 140 ) ( 816 -296 185 ) ( 804 -288 140 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 76
{
( 816 -40 185 ) ( 816 -296 185 ) ( 797 -288 144 ) mtrl/turf-green-dark 32 -192 -90 0.5 0.5 0 0 0
( 797 -32 144 ) ( 797 -288 144 ) ( 804 -288 140 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 816 144 185 ) ( 804 -104 140 ) ( 816 -112 185 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 77
{
( 778 344 103 ) ( 778 88 103 ) ( 804 80 140 ) mtrl/glass-dark 32 -192 -90 0.5 0.5 0 0 0
( 804 152 140 ) ( 804 -104 140 ) ( 797 -104 144 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 778 -24 103 ) ( 797 -288 144 ) ( 778 -280 103 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 78
{
( 797 -32 144 ) ( 797 -288 144 ) ( 772 -280 108 ) mtrl/turf-green-dark 32 -192 -90 0.5 0.5 0 0 0
( 772 -24 108 ) ( 772 -280 108 ) ( 778 -280 103 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 797 -32 144 ) ( 778 -280 103 ) ( 797 -288 144 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 79
{
( 745 352 70 ) ( 745 96 70 ) ( 778 88 103 ) mtrl/glass-dark 16 -192 90 0.5 -0.5 0 0 0
( 778 -24 103 ) ( 778 -280 103 ) ( 772 -280 108 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 745 -16 70 ) ( 772 -280 108 ) ( 745 -272 70 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 80
{
( 772 -24 108 ) ( 772 -280 108 ) ( 740 -272 76 ) mtrl/turf-green-dark 16 -192 90 0.5 -0.5 0 0 0
( 740 168 76 ) ( 740 -88 76 ) ( 745 -88 70 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 772 160 108 ) ( 745 -88 70 ) ( 772 -96 108 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 81
{
( 708 360 44 ) ( 708 104 44 ) ( 745 96 70 ) mtrl/glass-dark 16 -192 90 0.5 -0.5 0 0 0
( 745 168 70 ) ( 745 -88 70 ) ( 740 -88 76 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 708 -8 44 ) ( 740 -272 76 ) ( 708 -264 44 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 82
{
( 740 168 76 ) ( 740 -88 76 ) ( 704 -80 51 ) mtrl/turf-green-dark 16 -192 90 0.5 -0.5 0 0 0
( 704 -8 51 ) ( 704 -264 51 ) ( 708 -264 44 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 740 -16 76 ) ( 708 -264 44 ) ( 740 -272 76 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 83
{
( 666 184 24 ) ( 666 -72 24 ) ( 708 -80 44 ) mtrl/glass-dark 16 -192 90 0.5 -0.5 0 0 0
( 708 -8 44 ) ( 708 -264 44 ) ( 704 -264 51 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 666 368 24 ) ( 704 104 51 ) ( 666 112 24 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 84
{
( 704 360 51 ) ( 704 104 51 ) ( 663 112 32 ) mtrl/turf-green-dark 16 -192 90 0.5 -0.5 0 0 0
( 663 184 32 ) ( 663 -72 32 ) ( 666 -72 24 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 704 176 51 ) ( 666 -72 24 ) ( 704 -80 51 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 85
{
( 621 8 13 ) ( 621 -248 13 ) ( 666 -256 24 ) mtrl/glass-dark 16 -192 90 0.5 -0.5 0 0 0
( 666 0 24 ) ( 666 -256 24 ) ( 663 -256 32 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 621 8 13 ) ( 663 -256 32 ) ( 621 -248 13 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 86
{
( 663 368 32 ) ( 663 112 32 ) ( 620 120 20 ) mtrl/turf-green-dark 16 -192 90 0.5 -0.5 0 0 0
( 620 376 20 ) ( 620 120 20 ) ( 621 120 13 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 663 0 32 ) ( 621 -248 13 ) ( 663 -256 32 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 87
{
( 576 16 8 ) ( 576 -240 8 ) ( 621 -248 13 ) mtrl/glass-dark 16 -192 90 0.5 -0.5 0 0 0
( 621 8 13 ) ( 621 -248 13 ) ( 620 -248 20 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 576 200 8 ) ( 620 -64 20 ) ( 576 -56 8 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 88
{
( 620 376 20 ) ( 620 120 20 ) ( 576 128 16 ) mtrl/turf-green-dark 16 -192 90 0.5 -0.5 0 0 0
( 576 384 16 ) ( 576 128 16 ) ( 576 128 8 ) mtrl/invisible 32 -192 -90 0.5 0.5 0 0 0
( 620 8 20 ) ( 576 -240 8 ) ( 620 -248 20 ) mtrl/invisible 16 -192 90 0.5 -0.5 0 0 0
( 576 -128 64 ) ( 840 -128 -64 ) ( 576 -128 -64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 848 128 -64 ) ( 576 128 64 ) mtrl/chrome 0 0 0 0.5 0.5 0 0 0
}
// brush 89
{
( -560 128 496 ) ( -560 -128 496 ) ( -608 128 496 ) mtrl/turf-green 0 0 0 0.5 0.5 0 0 0
( -560 128 496 ) ( -608 128 496 ) ( -560 128 480 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -24 128 464 ) ( -24 128 448 ) ( -24 -128 464 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -608 -128 480 ) ( -560 -128 480 ) ( -608 128 480 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -608 -128 480 ) ( -608 -128 496 ) ( -560 -128 480 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -608 -128 480 ) ( -608 128 480 ) ( -608 -128 496 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
}
// brush 90
{
( 64 128 496 ) ( 64 -128 496 ) ( 16 128 496 ) mtrl/turf-green 0 0 0 0.5 0.5 0 0 0
( 64 128 496 ) ( 16 128 496 ) ( 64 128 480 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 608 128 464 ) ( 608 128 448 ) ( 608 -128 464 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 16 -128 480 ) ( 64 -128 480 ) ( 16 128 480 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 16 -128 480 ) ( 16 -128 496 ) ( 64 -128 480 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 -128 480 ) ( 24 128 480 ) ( 24 -128 496 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
}
// brush 91
{
( 608 128 504 ) ( 576 128 504 ) ( 608 128 496 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 576 -128 496 ) ( 608 -128 496 ) ( 576 128 496 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 576 -128 496 ) ( 576 -128 504 ) ( 608 -128 496 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 576 -128 496 ) ( 576 128 496 ) ( 576 -128 504 ) mtrl/caution 0 0 0 0.5 0.5 0 0 0
( 576 64 504 ) ( 608 64 496 ) ( 576 -64 504 ) mtrl/caution 0 0 0 0.5 0.5 0 0 0
}
// brush 92
{
( -576 128 504 ) ( -608 128 504 ) ( -576 128 496 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -576 128 504 ) ( -576 128 496 ) ( -576 -128 504 ) mtrl/caution 0 0 0 0.5 0.5 0 0 0
( -608 -128 496 ) ( -576 -128 496 ) ( -608 128 496 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -608 -128 496 ) ( -608 -128 504 ) ( -576 -128 496 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -576 -64 504 ) ( -608 64 496 ) ( -576 64 504 ) mtrl/caution 0 0 0 0.5 0.5 0 0 0
}
// brush 93
{
( 24 128 480 ) ( -24 128 480 ) ( 24 128 464 ) mtrl/glass 16 0 0 0.5 0.5 0 0 0
( 24 128 480 ) ( 24 128 464 ) ( 24 -128 480 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -24 -128 464 ) ( -24 128 464 ) ( -24 -128 480 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -512 400 ) ( -64 128 480 ) ( 64 -512 400 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( 64 -512 384 ) ( -64 128 464 ) ( -64 -512 384 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( 24 -128 -64 ) ( -24 -128 -64 ) ( 24 -128 64 ) mtrl/invisible 16 0 0 0.5 0.5 0 0 0
}
// brush 94
{
( 40 128 480 ) ( 40 -512 480 ) ( 24 128 480 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 40 128 480 ) ( 24 128 480 ) ( 40 128 384 ) mtrl/glass 16 0 0 0.5 0.5 0 0 0
( 40 128 480 ) ( 40 128 384 ) ( 40 -512 480 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( 24 -128 400 ) ( 24 -128 496 ) ( 40 -128 400 ) mtrl/invisible 16 0 0 0.5 0.5 0 0 0
( 24 -512 384 ) ( 24 128 384 ) ( 24 -512 480 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( 64 -512 384 ) ( -64 128 464 ) ( -64 -512 384 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
}
// brush 95
{
( -24 128 480 ) ( -24 -512 480 ) ( -40 128 480 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -24 128 480 ) ( -40 128 480 ) ( -24 128 384 ) mtrl/glass 16 0 0 0.5 0.5 0 0 0
( -24 128 480 ) ( -24 128 384 ) ( -24 -512 480 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( -40 -128 400 ) ( -40 -128 496 ) ( -24 -128 400 ) mtrl/invisible 16 0 0 0.5 0.5 0 0 0
( -40 -512 384 ) ( -40 128 384 ) ( -40 -512 480 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( 64 -512 384 ) ( -64 128 464 ) ( -64 -512 384 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
}
// brush 96
{
( 40 -128 480 ) ( -40 -128 480 ) ( 40 -128 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 24 -128 480 ) ( 24 -128 384 ) ( 24 -512 480 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -40 -512 384 ) ( -40 -512 480 ) ( 40 -512 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -24 -512 384 ) ( -24 -128 384 ) ( -24 -512 480 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -512 384 ) ( -64 128 464 ) ( -64 -512 384 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( 64 -128 448 ) ( -64 -512 400 ) ( -64 -128 448 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
}
// brush 97
{
( 40 -128 448 ) ( 24 -128 448 ) ( 40 -128 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 40 -128 448 ) ( 40 -128 384 ) ( 40 -512 448 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( 24 -512 384 ) ( 24 -512 448 ) ( 40 -512 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 24 -512 384 ) ( 24 -128 384 ) ( 24 -512 448 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( -64 -128 432 ) ( -64 -512 384 ) ( 64 -128 432 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( 64 -128 480 ) ( -64 -512 408 ) ( -64 -128 480 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
}
// brush 98
{
( -24 -128 448 ) ( -40 -128 448 ) ( -24 -128 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -24 -128 448 ) ( -24 -128 384 ) ( -24 -512 448 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( -40 -512 384 ) ( -40 -512 448 ) ( -24 -512 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -40 -512 384 ) ( -40 -128 384 ) ( -40 -512 448 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( -64 -128 432 ) ( -64 -512 384 ) ( 64 -128 432 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( 64 -128 480 ) ( -64 -512 408 ) ( -64 -128 480 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
}
// brush 99
{
( 24 136 504 ) ( 24 128 504 ) ( -24 136 504 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 144 488 ) ( -24 144 488 ) ( 24 144 472 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 136 488 ) ( 24 136 472 ) ( 24 128 488 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -24 128 480 ) ( 24 128 480 ) ( -24 136 480 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -24 128 472 ) ( -24 128 488 ) ( 24 128 472 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -24 128 472 ) ( -24 136 472 ) ( -24 128 488 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
}
// brush 100
{
( -560 144 536 ) ( -576 144 536 ) ( -560 144 504 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -24 136 512 ) ( -24 136 480 ) ( -24 120 512 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -576 128 480 ) ( -560 128 480 ) ( -576 144 480 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -576 128 504 ) ( -576 128 536 ) ( -560 128 504 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -576 128 504 ) ( -576 144 504 ) ( -576 128 536 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -24 -64 504 ) ( -576 64 536 ) ( -24 64 504 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
}
// brush 101
{
( 40 144 536 ) ( 24 144 536 ) ( 40 144 504 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 576 136 536 ) ( 576 136 504 ) ( 576 120 536 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 128 480 ) ( 40 128 480 ) ( 24 144 480 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 128 504 ) ( 24 128 536 ) ( 40 128 504 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 128 504 ) ( 24 144 504 ) ( 24 128 536 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 24 64 504 ) ( 576 64 536 ) ( 24 -64 504 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
}
// brush 102
{
( -560 -128 536 ) ( -576 -128 536 ) ( -560 -128 504 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -24 -136 512 ) ( -24 -136 480 ) ( -24 -152 512 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -576 -144 480 ) ( -560 -144 480 ) ( -576 -128 480 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -576 -144 504 ) ( -576 -144 536 ) ( -560 -144 504 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -576 -144 504 ) ( -576 -128 504 ) ( -576 -144 536 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -24 -64 504 ) ( -576 64 536 ) ( -24 64 504 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
}
// brush 103
{
( 40 -128 536 ) ( 24 -128 536 ) ( 40 -128 504 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 576 -136 536 ) ( 576 -136 504 ) ( 576 -152 536 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 -144 480 ) ( 40 -144 480 ) ( 24 -128 480 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 -144 504 ) ( 24 -144 536 ) ( 40 -144 504 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 -144 504 ) ( 24 -128 504 ) ( 24 -144 536 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 64 504 ) ( 576 64 536 ) ( 24 -64 504 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
}
// brush 104
{
( 128 16 16 ) ( 128 -16 16 ) ( 120 16 16 ) mtrl/wood 0 0 0 0.5 0.5 0 0 0
( 128 16 16 ) ( 120 16 16 ) ( 128 16 0 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 128 16 16 ) ( 128 16 0 ) ( 128 -16 16 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 120 -16 0 ) ( 128 -16 0 ) ( 120 16 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 120 -16 0 ) ( 120 -16 16 ) ( 128 -16 0 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 120 -16 0 ) ( 120 16 0 ) ( 120 -16 16 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 105
{
( -120 16 16 ) ( -120 -16 16 ) ( -128 16 16 ) mtrl/wood 0 0 0 0.5 0.5 0 0 0
( -120 16 16 ) ( -128 16 16 ) ( -120 16 0 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -120 16 16 ) ( -120 16 0 ) ( -120 -16 16 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -128 -16 0 ) ( -120 -16 0 ) ( -128 16 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 -16 0 ) ( -128 -16 16 ) ( -120 -16 0 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -128 -16 0 ) ( -128 16 0 ) ( -128 -16 16 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 106
{
( 72 16 16 ) ( 72 -16 16 ) ( 64 16 16 ) mtrl/wood 0 0 0 0.5 0.5 0 0 0
( 72 16 16 ) ( 64 16 16 ) ( 72 16 0 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 72 16 16 ) ( 72 16 0 ) ( 72 -16 16 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -16 0 ) ( 72 -16 0 ) ( 64 16 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 64 -16 0 ) ( 64 -16 16 ) ( 72 -16 0 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -16 0 ) ( 64 16 0 ) ( 64 -16 16 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 107
{
( -64 16 16 ) ( -64 -16 16 ) ( -72 16 16 ) mtrl/wood 0 0 0 0.5 0.5 0 0 0
( -64 16 16 ) ( -72 16 16 ) ( -64 16 0 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 16 16 ) ( -64 16 0 ) ( -64 -16 16 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -72 -16 0 ) ( -64 -16 0 ) ( -72 16 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -72 -16 0 ) ( -72 -16 16 ) ( -64 -16 0 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -72 -16 0 ) ( -72 16 0 ) ( -72 -16 16 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 108
{
( -64 -24 24 ) ( -64 -80 24 ) ( -80 -24 24 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -64 -24 24 ) ( -64 -24 0 ) ( -64 -80 24 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( -80 -80 0 ) ( -64 -80 0 ) ( -80 -24 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -80 -80 0 ) ( -80 -24 0 ) ( -80 -80 24 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -64 -64 -64 ) ( -80 -80 -64 ) ( -64 -64 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -16 64 ) ( -80 -32 -64 ) ( -64 -16 -64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 109
{
( 80 72 24 ) ( 80 16 24 ) ( 64 72 24 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 80 72 24 ) ( 80 72 0 ) ( 80 16 24 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 64 16 0 ) ( 80 16 0 ) ( 64 72 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 64 16 0 ) ( 64 72 0 ) ( 64 16 24 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( 64 64 -64 ) ( 80 80 -64 ) ( 64 64 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 80 32 -64 ) ( 64 16 -64 ) ( 80 32 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 110
{
( 80 -24 24 ) ( 80 -80 24 ) ( 64 -24 24 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 80 -24 24 ) ( 80 -24 0 ) ( 80 -80 24 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 64 -80 0 ) ( 80 -80 0 ) ( 64 -24 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 64 -80 0 ) ( 64 -24 0 ) ( 64 -80 24 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( 64 -64 64 ) ( 80 -80 -64 ) ( 64 -64 -64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 80 -32 64 ) ( 64 -16 -64 ) ( 80 -32 -64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 111
{
( -64 72 24 ) ( -64 16 24 ) ( -80 72 24 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -64 72 24 ) ( -64 72 0 ) ( -64 16 24 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( -80 16 0 ) ( -64 16 0 ) ( -80 72 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -80 16 0 ) ( -80 72 0 ) ( -80 16 24 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -64 64 64 ) ( -80 80 -64 ) ( -64 64 -64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 16 -64 ) ( -80 32 -64 ) ( -64 16 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 112
{
( 80 80 24 ) ( 80 64 24 ) ( -80 80 24 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 80 80 24 ) ( -80 80 24 ) ( 80 80 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -80 64 0 ) ( 80 64 0 ) ( -80 80 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -80 64 0 ) ( -80 64 24 ) ( 80 64 0 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( -64 64 -64 ) ( -80 80 -64 ) ( -64 64 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 64 64 ) ( 80 80 -64 ) ( 64 64 -64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 113
{
( 80 -64 24 ) ( 80 -80 24 ) ( -80 -64 24 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 80 -64 24 ) ( -80 -64 24 ) ( 80 -64 0 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( -80 -80 0 ) ( 80 -80 0 ) ( -80 -64 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -80 -80 0 ) ( -80 -80 24 ) ( 80 -80 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -80 -80 -64 ) ( -64 -64 -64 ) ( -80 -80 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 80 -80 64 ) ( 64 -64 -64 ) ( 80 -80 -64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 114
{
( 128 32 24 ) ( 128 16 24 ) ( 64 32 24 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 128 32 24 ) ( 64 32 24 ) ( 128 32 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 128 32 24 ) ( 128 32 0 ) ( 128 16 24 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 16 0 ) ( 128 16 0 ) ( 64 32 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 64 16 0 ) ( 64 16 24 ) ( 128 16 0 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( 64 16 -64 ) ( 80 32 -64 ) ( 64 16 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 115
{
( 128 -16 24 ) ( 128 -32 24 ) ( 64 -16 24 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 128 -16 24 ) ( 64 -16 24 ) ( 128 -16 0 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( 128 -16 24 ) ( 128 -16 0 ) ( 128 -32 24 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -32 0 ) ( 128 -32 0 ) ( 64 -16 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 64 -32 0 ) ( 64 -32 24 ) ( 128 -32 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 80 -32 -64 ) ( 64 -16 -64 ) ( 80 -32 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 116
{
( -64 -16 24 ) ( -64 -32 24 ) ( -128 -16 24 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -64 -16 24 ) ( -128 -16 24 ) ( -64 -16 0 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( -128 -32 0 ) ( -64 -32 0 ) ( -128 -16 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 -32 0 ) ( -128 -32 24 ) ( -64 -32 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 -32 0 ) ( -128 -16 0 ) ( -128 -32 24 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -80 -32 64 ) ( -64 -16 -64 ) ( -80 -32 -64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 117
{
( -64 32 24 ) ( -64 16 24 ) ( -128 32 24 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -64 32 24 ) ( -128 32 24 ) ( -64 32 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 16 0 ) ( -64 16 0 ) ( -128 32 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 16 0 ) ( -128 16 24 ) ( -64 16 0 ) mtrl/edge-green-dark -32 0 0 0.5 0.5 0 0 0
( -128 16 0 ) ( -128 32 0 ) ( -128 16 24 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 16 64 ) ( -80 32 -64 ) ( -64 16 -64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 118
{
( -576 32 0 ) ( -576 16 0 ) ( -128 32 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -576 32 0 ) ( -576 32 24 ) ( -576 16 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 16 24 ) ( -576 16 24 ) ( -128 32 24 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 16 24 ) ( -128 32 24 ) ( -128 16 0 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -128 32 88 ) ( -576 144 88 ) ( -128 32 -40 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 16 -40 ) ( -576 128 88 ) ( -128 16 88 ) mtrl/edge-green-dark -48 0 0 0.5 0.5 0 0 0
}
// brush 119
{
( -128 -144 0 ) ( -128 -16 0 ) ( -576 -144 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 -144 0 ) ( -128 -144 24 ) ( -128 -16 0 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -576 -16 24 ) ( -128 -16 24 ) ( -576 -144 24 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -576 -16 24 ) ( -576 -144 24 ) ( -576 -16 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -576 -144 88 ) ( -128 -32 88 ) ( -576 -144 -40 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -576 -128 -40 ) ( -128 -16 88 ) ( -576 -128 88 ) mtrl/edge-green-dark -32 0 0 0.5 0.5 0 0 0
}
// brush 120
{
( 576 -16 24 ) ( 576 -144 24 ) ( 128 -16 24 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 576 -16 24 ) ( 576 -16 0 ) ( 576 -144 24 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 128 -144 0 ) ( 576 -144 0 ) ( 128 -16 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 128 -144 0 ) ( 128 -16 0 ) ( 128 -144 24 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 128 -16 -64 ) ( 576 -128 -64 ) ( 128 -16 64 ) mtrl/edge-green-dark -32 0 0 0.5 0.5 0 0 0
( 128 -32 64 ) ( 576 -144 -64 ) ( 128 -32 -64 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
}
// brush 121
{
( 128 128 24 ) ( 128 144 24 ) ( 576 128 24 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 128 128 24 ) ( 128 128 0 ) ( 128 144 24 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 576 144 0 ) ( 128 144 0 ) ( 576 128 0 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 576 144 0 ) ( 576 128 0 ) ( 576 144 24 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 576 128 -64 ) ( 128 16 -64 ) ( 576 128 64 ) mtrl/edge-green-dark -32 0 0 0.5 0.5 0 0 0
( 576 144 64 ) ( 128 32 -64 ) ( 576 144 -64 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
}
// brush 122
{
( -24 -512 408 ) ( -24 -576 408 ) ( -40 -512 408 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -24 -512 408 ) ( -40 -512 408 ) ( -24 -512 384 ) mtrl/caution 0 0 0 0.5 0.5 0 0 0
( -24 -568 408 ) ( -24 -568 384 ) ( -24 -632 408 ) mtrl/edge-green-light -16 0 0 0.5 0.5 0 0 0
( -40 -576 384 ) ( -24 -576 384 ) ( -40 -512 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -40 -576 384 ) ( -40 -512 384 ) ( -40 -576 408 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -24 -576 -64 ) ( -40 -560 -64 ) ( -24 -576 64 ) mtrl/wood 0 0 0 0.5 0.5 0 0 0
}
// brush 123
{
( 40 -520 408 ) ( 40 -576 408 ) ( 24 -520 408 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 40 -512 408 ) ( 24 -512 408 ) ( 40 -512 384 ) mtrl/caution 0 0 0 0.5 0.5 0 0 0
( 40 -520 408 ) ( 40 -520 384 ) ( 40 -576 408 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 -576 384 ) ( 40 -576 384 ) ( 24 -520 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 -576 384 ) ( 24 -520 384 ) ( 24 -576 408 ) mtrl/edge-green-light -16 0 0 0.5 0.5 0 0 0
( 24 -576 64 ) ( 40 -560 -64 ) ( 24 -576 -64 ) mtrl/wood 0 0 0 0.5 0.5 0 0 0
}
// brush 124
{
( 24 -512 400 ) ( 24 -576 400 ) ( -24 -512 400 ) mtrl/turf-green-light 0 0 0 0.5 0.5 0 0 0
( 24 -512 400 ) ( -24 -512 400 ) ( 24 -512 384 ) mtrl/caution 0 0 0 0.5 0.5 0 0 0
( 24 -512 400 ) ( 24 -512 384 ) ( 24 -576 400 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -24 -576 384 ) ( 24 -576 384 ) ( -24 -512 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -24 -576 384 ) ( -24 -576 400 ) ( 24 -576 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -24 -576 384 ) ( -24 -512 384 ) ( -24 -576 400 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 125
{
( 136 -560 408 ) ( 136 -576 408 ) ( 24 -560 408 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 136 -560 408 ) ( 24 -560 408 ) ( 136 -560 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 -576 384 ) ( 136 -576 384 ) ( 24 -560 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 -576 384 ) ( 24 -576 408 ) ( 136 -576 384 ) mtrl/edge-green-light 0 0 0 0.5 0.5 0 0 0
( 24 -576 -64 ) ( 40 -560 -64 ) ( 24 -576 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 144 -560 -64 ) ( 128 -576 -64 ) ( 144 -560 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 126
{
( 144 -560 408 ) ( 144 -832 408 ) ( 128 -560 408 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 144 -560 408 ) ( 144 -560 384 ) ( 144 -832 408 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 128 -832 384 ) ( 144 -832 384 ) ( 128 -560 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 128 -832 384 ) ( 128 -832 408 ) ( 144 -832 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 128 -832 384 ) ( 128 -560 384 ) ( 128 -832 408 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( 128 -576 -64 ) ( 144 -560 -64 ) ( 128 -576 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 127
{
( 64 -896 408 ) ( 64 -912 408 ) ( -64 -896 408 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 64 -896 408 ) ( -64 -896 408 ) ( 64 -896 384 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( 64 -896 408 ) ( 64 -896 384 ) ( 64 -912 408 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -912 384 ) ( 64 -912 384 ) ( -64 -896 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -64 -912 384 ) ( -64 -912 408 ) ( 64 -912 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -64 -912 384 ) ( -64 -896 384 ) ( -64 -912 408 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 128
{
( -128 -560 408 ) ( -128 -832 408 ) ( -144 -560 408 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 -560 408 ) ( -128 -560 384 ) ( -128 -832 408 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( -144 -832 384 ) ( -128 -832 384 ) ( -144 -560 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -144 -832 384 ) ( -144 -832 408 ) ( -128 -832 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -144 -832 384 ) ( -144 -560 384 ) ( -144 -832 408 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 -576 64 ) ( -144 -560 -64 ) ( -128 -576 -64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 129
{
( -24 -560 408 ) ( -24 -576 408 ) ( -144 -560 408 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -24 -560 408 ) ( -144 -560 408 ) ( -24 -560 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -144 -576 384 ) ( -24 -576 384 ) ( -144 -560 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -144 -576 384 ) ( -144 -576 408 ) ( -24 -576 384 ) mtrl/edge-green-light 0 0 0 0.5 0.5 0 0 0
( -128 -576 -64 ) ( -144 -560 -64 ) ( -128 -576 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -26 -574 64 ) ( -38 -562 -64 ) ( -26 -574 -64 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
}
// brush 130
{
( 144 -832 408 ) ( 144 -912 408 ) ( 64 -832 408 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 144 -832 408 ) ( 64 -832 408 ) ( 144 -832 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -912 384 ) ( 144 -912 384 ) ( 64 -832 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 64 -912 384 ) ( 64 -832 384 ) ( 64 -912 408 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -896 -64 ) ( 128 -832 -64 ) ( 64 -896 64 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( 144 -832 -64 ) ( 64 -912 -64 ) ( 144 -832 64 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
}
// brush 131
{
( -64 -832 408 ) ( -64 -912 408 ) ( -144 -832 408 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -64 -832 408 ) ( -144 -832 408 ) ( -64 -832 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -832 408 ) ( -64 -832 384 ) ( -64 -912 408 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -144 -912 384 ) ( -64 -912 384 ) ( -144 -832 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -64 -912 -64 ) ( -144 -832 -64 ) ( -64 -912 64 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 -832 -64 ) ( -64 -896 -64 ) ( -128 -832 64 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
}
// brush 132
{
( 48 -840 384 ) ( 48 -856 384 ) ( 0 -840 384 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( 24 -840 488 ) ( -24 -840 488 ) ( 24 -840 312 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( 24 -840 488 ) ( 24 -840 312 ) ( 24 -856 488 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( -16 -856 352 ) ( 32 -856 352 ) ( -16 -840 352 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( -24 -856 312 ) ( -24 -856 488 ) ( 24 -856 312 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( -24 -856 312 ) ( -24 -840 312 ) ( -24 -856 488 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
}
// brush 133
{
( -64 768 240 ) ( -64 768 256 ) ( -2 712 256 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 768 256 ) ( -64 768 240 ) ( 64 768 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 768 256 ) ( 64 768 240 ) ( 2 712 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -2 712 256 ) ( 2 712 256 ) ( 2 712 240 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( -2 712 256 ) ( -2 722 256 ) ( 2 722 256 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( 2 722 240 ) ( -2 722 240 ) ( -2 712 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
}
// brush 134
{
( 18 702 240 ) ( 18 706 240 ) ( 8 706 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 8 706 256 ) ( 18 706 256 ) ( 18 702 256 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( 8 706 256 ) ( 8 702 256 ) ( 8 702 240 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( 64 640 256 ) ( 64 640 240 ) ( 8 702 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 768 256 ) ( 64 768 240 ) ( 64 640 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 768 240 ) ( 64 768 256 ) ( 8 706 256 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 135
{
( 64 640 240 ) ( 64 640 256 ) ( 2 696 256 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 640 256 ) ( 64 640 240 ) ( -64 640 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 640 256 ) ( -64 640 240 ) ( -2 696 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 2 696 256 ) ( -2 696 256 ) ( -2 696 240 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( 2 696 256 ) ( 2 686 256 ) ( -2 686 256 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( -2 686 240 ) ( 2 686 240 ) ( 2 696 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
}
// brush 136
{
( -18 706 240 ) ( -18 702 240 ) ( -8 702 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -8 702 256 ) ( -18 702 256 ) ( -18 706 256 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( -8 702 256 ) ( -8 706 256 ) ( -8 706 240 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( -64 768 256 ) ( -64 768 240 ) ( -8 706 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 640 256 ) ( -64 640 240 ) ( -64 768 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 640 240 ) ( -64 640 256 ) ( -8 702 256 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 137
{
( -6 714 256 ) ( -6 706 256 ) ( -16 706 256 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( -16 706 240 ) ( -6 706 240 ) ( -6 714 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -6 710 256 ) ( -6 710 240 ) ( -8 706 240 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( -6 710 240 ) ( -6 710 256 ) ( -64 768 256 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -8 706 256 ) ( -8 706 240 ) ( -64 768 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 138
{
( -6 710 256 ) ( -6 710 240 ) ( -64 768 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -2 712 240 ) ( -2 712 256 ) ( -64 768 256 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -6 710 240 ) ( -6 710 256 ) ( -2 712 256 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( -14 704 240 ) ( -4 704 240 ) ( -4 712 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -4 712 256 ) ( -4 704 256 ) ( -14 704 256 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
}
// brush 139
{
( 2 712 256 ) ( 2 712 240 ) ( 64 768 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 6 710 240 ) ( 6 710 256 ) ( 64 768 256 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 6 710 256 ) ( 6 710 240 ) ( 2 712 240 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( 2 720 240 ) ( 2 710 240 ) ( 10 710 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 10 710 256 ) ( 2 710 256 ) ( 2 720 256 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
}
// brush 140
{
( 8 708 256 ) ( 0 708 256 ) ( 0 718 256 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( 0 718 240 ) ( 0 708 240 ) ( 8 708 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 6 710 240 ) ( 6 710 256 ) ( 8 706 256 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( 8 706 240 ) ( 8 706 256 ) ( 64 768 256 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 6 710 256 ) ( 6 710 240 ) ( 64 768 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 141
{
( 6 694 256 ) ( 6 702 256 ) ( 16 702 256 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( 16 702 240 ) ( 6 702 240 ) ( 6 694 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 6 698 256 ) ( 6 698 240 ) ( 8 702 240 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( 6 698 240 ) ( 6 698 256 ) ( 64 640 256 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 8 702 256 ) ( 8 702 240 ) ( 64 640 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 142
{
( 6 698 256 ) ( 6 698 240 ) ( 64 640 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 2 696 240 ) ( 2 696 256 ) ( 64 640 256 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 6 698 240 ) ( 6 698 256 ) ( 2 696 256 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( 14 704 240 ) ( 4 704 240 ) ( 4 696 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 4 696 256 ) ( 4 704 256 ) ( 14 704 256 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
}
// brush 143
{
( -2 696 256 ) ( -2 696 240 ) ( -64 640 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -6 698 240 ) ( -6 698 256 ) ( -64 640 256 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -6 698 256 ) ( -6 698 240 ) ( -2 696 240 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( -2 688 240 ) ( -2 698 240 ) ( -10 698 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -10 698 256 ) ( -2 698 256 ) ( -2 688 256 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
}
// brush 144
{
( -8 700 256 ) ( 0 700 256 ) ( 0 690 256 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( 0 690 240 ) ( 0 700 240 ) ( -8 700 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -6 698 240 ) ( -6 698 256 ) ( -8 702 256 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( -8 702 240 ) ( -8 702 256 ) ( -64 640 256 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -6 698 256 ) ( -6 698 240 ) ( -64 640 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 145
{
( -136 432 264 ) ( -136 448 264 ) ( -24 432 264 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -136 432 264 ) ( -24 432 264 ) ( -136 432 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -24 448 240 ) ( -136 448 240 ) ( -24 432 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -24 448 240 ) ( -24 448 264 ) ( -136 448 240 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( -8 448 -208 ) ( -24 432 -208 ) ( -8 448 -80 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -144 432 -208 ) ( -128 448 -208 ) ( -144 432 -80 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 146
{
( -144 432 264 ) ( -144 704 264 ) ( -128 432 264 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -144 432 264 ) ( -144 432 240 ) ( -144 704 264 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 704 240 ) ( -144 704 240 ) ( -128 432 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 704 240 ) ( -128 704 264 ) ( -144 704 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -128 704 240 ) ( -128 432 240 ) ( -128 704 264 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( -128 448 -208 ) ( -144 432 -208 ) ( -128 448 -80 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 147
{
( -64 768 264 ) ( -64 784 264 ) ( 64 768 264 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -64 768 264 ) ( 64 768 264 ) ( -64 768 240 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( -64 768 264 ) ( -64 768 240 ) ( -64 784 264 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 784 240 ) ( -64 784 240 ) ( 64 768 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 64 784 240 ) ( 64 784 264 ) ( -64 784 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 64 784 240 ) ( 64 768 240 ) ( 64 784 264 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 148
{
( 128 432 264 ) ( 128 704 264 ) ( 144 432 264 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 128 432 264 ) ( 128 432 240 ) ( 128 704 264 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( 144 704 240 ) ( 128 704 240 ) ( 144 432 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 144 704 240 ) ( 144 704 264 ) ( 128 704 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 144 704 240 ) ( 144 432 240 ) ( 144 704 264 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 128 448 -80 ) ( 144 432 -208 ) ( 128 448 -208 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 149
{
( 24 432 264 ) ( 24 448 264 ) ( 144 432 264 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 8 432 264 ) ( 128 432 264 ) ( 8 432 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 144 448 240 ) ( 24 448 240 ) ( 144 432 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 144 448 240 ) ( 144 448 264 ) ( 24 448 240 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( 128 448 -208 ) ( 144 432 -208 ) ( 128 448 -80 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 10 446 -80 ) ( 22 434 -208 ) ( 10 446 -208 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 150
{
( -144 704 264 ) ( -144 784 264 ) ( -64 704 264 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -144 704 264 ) ( -64 704 264 ) ( -144 704 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 784 240 ) ( -144 784 240 ) ( -64 704 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -64 784 240 ) ( -64 704 240 ) ( -64 784 264 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 768 -208 ) ( -128 704 -208 ) ( -64 768 -80 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( -144 704 -208 ) ( -64 784 -208 ) ( -144 704 -80 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
}
// brush 151
{
( 64 704 264 ) ( 64 784 264 ) ( 144 704 264 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 64 704 264 ) ( 144 704 264 ) ( 64 704 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 704 264 ) ( 64 704 240 ) ( 64 784 264 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 144 784 240 ) ( 64 784 240 ) ( 144 704 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 64 784 -208 ) ( 144 704 -208 ) ( 64 784 -80 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 128 704 -208 ) ( 64 768 -208 ) ( 128 704 -80 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
}
// brush 152
{
( 16 448 256 ) ( 16 392 256 ) ( -8 448 256 ) mtrl/wood-check -16 0 0 0.5 0.5 0 0 0
( 16 448 320 ) ( -8 448 320 ) ( 16 448 208 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 8 448 256 ) ( 8 448 144 ) ( 8 392 256 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -8 392 240 ) ( 16 392 240 ) ( -8 448 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -8 384 208 ) ( -8 384 320 ) ( 16 384 208 ) mtrl/caution 32 0 0 0.5 0.5 0 0 0
( -8 392 208 ) ( -8 448 208 ) ( -8 392 320 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 153
{
( 24 432 264 ) ( 24 384 264 ) ( 8 432 264 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 432 264 ) ( 24 432 240 ) ( 24 384 264 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 8 384 240 ) ( 24 384 240 ) ( 8 432 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 8 384 240 ) ( 8 384 264 ) ( 24 384 240 ) mtrl/caution 0 0 0 0.5 0.5 0 0 0
( 8 384 240 ) ( 8 432 240 ) ( 8 384 264 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 432 0 ) ( 8 448 -128 ) ( 24 432 -128 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 154
{
( -8 432 264 ) ( -8 384 264 ) ( -24 432 264 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -8 432 264 ) ( -8 432 240 ) ( -8 384 264 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -24 384 240 ) ( -8 384 240 ) ( -24 432 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -24 384 240 ) ( -24 384 264 ) ( -8 384 240 ) mtrl/caution 0 0 0 0.5 0.5 0 0 0
( -24 384 240 ) ( -24 432 240 ) ( -24 384 264 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -24 432 -128 ) ( -8 448 -128 ) ( -24 432 0 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 155
{
( 144 384 272 ) ( -144 384 272 ) ( 144 384 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 8 344 272 ) ( 8 344 240 ) ( 8 80 272 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -144 -840 248 ) ( -144 -840 280 ) ( 144 -840 248 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -8 136 240 ) ( -8 400 240 ) ( -8 136 272 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -840 368 ) ( -64 384 256 ) ( 64 -840 368 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( 64 -840 352 ) ( -64 384 240 ) ( -64 -840 352 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
}
// brush 156
{
( 24 384 384 ) ( 24 -840 384 ) ( 8 384 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 24 384 368 ) ( 8 384 368 ) ( 24 384 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 24 384 368 ) ( 24 384 240 ) ( 24 -840 368 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( 8 -840 240 ) ( 8 -840 368 ) ( 24 -840 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 8 -840 240 ) ( 8 384 240 ) ( 8 -840 368 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( 64 -840 352 ) ( -64 384 240 ) ( -64 -840 352 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( 64 384 264 ) ( -64 -512 384 ) ( -64 384 264 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
}
// brush 157
{
( -8 384 384 ) ( -8 -840 384 ) ( -24 384 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -8 384 368 ) ( -24 384 368 ) ( -8 384 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -8 384 368 ) ( -8 384 240 ) ( -8 -840 368 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( -24 -840 240 ) ( -24 -840 368 ) ( -8 -840 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -24 -840 240 ) ( -24 384 240 ) ( -24 -840 368 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( 64 -840 352 ) ( -64 384 240 ) ( -64 -840 352 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( 64 384 264 ) ( -64 -512 384 ) ( -64 384 264 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
}
// brush 158
{
( -6 -826 112 ) ( -6 -826 96 ) ( -64 -768 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -2 -824 96 ) ( -2 -824 112 ) ( -64 -768 112 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -6 -826 96 ) ( -6 -826 112 ) ( -2 -824 112 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( -14 -832 96 ) ( -4 -832 96 ) ( -4 -824 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -4 -824 112 ) ( -4 -832 112 ) ( -14 -832 112 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
}
// brush 159
{
( 2 -824 112 ) ( 2 -824 96 ) ( 64 -768 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 6 -826 96 ) ( 6 -826 112 ) ( 64 -768 112 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 6 -826 112 ) ( 6 -826 96 ) ( 2 -824 96 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( 2 -816 96 ) ( 2 -826 96 ) ( 10 -826 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 10 -826 112 ) ( 2 -826 112 ) ( 2 -816 112 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
}
// brush 160
{
( 8 -828 112 ) ( 0 -828 112 ) ( 0 -818 112 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( 0 -818 96 ) ( 0 -828 96 ) ( 8 -828 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 6 -826 96 ) ( 6 -826 112 ) ( 8 -830 112 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( 8 -830 96 ) ( 8 -830 112 ) ( 64 -768 112 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 6 -826 112 ) ( 6 -826 96 ) ( 64 -768 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 161
{
( 136 -560 120 ) ( 136 -576 120 ) ( 24 -560 120 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 136 -560 120 ) ( 24 -560 120 ) ( 136 -560 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 -576 96 ) ( 136 -576 96 ) ( 24 -560 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 -576 96 ) ( 24 -576 120 ) ( 136 -576 96 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( 8 -576 -352 ) ( 24 -560 -352 ) ( 8 -576 -224 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 144 -560 -352 ) ( 128 -576 -352 ) ( 144 -560 -224 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 162
{
( 64 -896 120 ) ( 64 -912 120 ) ( -64 -896 120 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 64 -896 120 ) ( -64 -896 120 ) ( 64 -896 96 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( 64 -896 120 ) ( 64 -896 96 ) ( 64 -912 120 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -912 96 ) ( 64 -912 96 ) ( -64 -896 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -64 -912 96 ) ( -64 -912 120 ) ( 64 -912 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -64 -912 96 ) ( -64 -896 96 ) ( -64 -912 120 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 163
{
( -128 -560 120 ) ( -128 -832 120 ) ( -144 -560 120 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 -560 120 ) ( -128 -560 96 ) ( -128 -832 120 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( -144 -832 96 ) ( -128 -832 96 ) ( -144 -560 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -144 -832 96 ) ( -144 -832 120 ) ( -128 -832 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -144 -832 96 ) ( -144 -560 96 ) ( -144 -832 120 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 -576 -224 ) ( -144 -560 -352 ) ( -128 -576 -352 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 164
{
( -24 -560 120 ) ( -24 -576 120 ) ( -144 -560 120 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -8 -560 120 ) ( -128 -560 120 ) ( -8 -560 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -144 -576 96 ) ( -24 -576 96 ) ( -144 -560 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -144 -576 96 ) ( -144 -576 120 ) ( -24 -576 96 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( -128 -576 -352 ) ( -144 -560 -352 ) ( -128 -576 -224 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -10 -574 -224 ) ( -22 -562 -352 ) ( -10 -574 -352 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 165
{
( 144 -832 120 ) ( 144 -912 120 ) ( 64 -832 120 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 144 -832 120 ) ( 64 -832 120 ) ( 144 -832 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -912 96 ) ( 144 -912 96 ) ( 64 -832 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 64 -912 96 ) ( 64 -832 96 ) ( 64 -912 120 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -896 -352 ) ( 128 -832 -352 ) ( 64 -896 -224 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( 144 -832 -352 ) ( 64 -912 -352 ) ( 144 -832 -224 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
}
// brush 166
{
( -16 -576 112 ) ( -16 -520 112 ) ( 8 -576 112 ) mtrl/wood-check -16 0 0 0.5 0.5 0 0 0
( -16 -576 176 ) ( 8 -576 176 ) ( -16 -576 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -8 -576 112 ) ( -8 -576 0 ) ( -8 -520 112 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 8 -520 96 ) ( -16 -520 96 ) ( 8 -576 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 8 -512 64 ) ( 8 -512 176 ) ( -16 -512 64 ) mtrl/caution 16 16 0 0.5 0.5 0 0 0
( 8 -520 64 ) ( 8 -576 64 ) ( 8 -520 176 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 167
{
( 8 -560 120 ) ( 8 -512 120 ) ( 24 -560 120 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 8 -560 120 ) ( 8 -560 96 ) ( 8 -512 120 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 -512 96 ) ( 8 -512 96 ) ( 24 -560 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 -512 96 ) ( 24 -512 120 ) ( 8 -512 96 ) mtrl/caution 0 0 0 0.5 0.5 0 0 0
( 24 -512 96 ) ( 24 -560 96 ) ( 24 -512 120 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 24 -560 -272 ) ( 8 -576 -272 ) ( 24 -560 -144 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 168
{
( -144 -512 128 ) ( 144 -512 128 ) ( -144 -512 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -8 -472 128 ) ( -8 -472 96 ) ( -8 -208 128 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 144 712 104 ) ( 144 712 136 ) ( -144 712 104 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 8 -264 96 ) ( 8 -528 96 ) ( 8 -264 128 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 712 224 ) ( 64 -512 112 ) ( -64 712 224 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( -64 712 208 ) ( 64 -512 96 ) ( 64 712 208 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
}
// brush 169
{
( -24 -512 240 ) ( -24 712 240 ) ( -8 -512 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -24 -512 224 ) ( -8 -512 224 ) ( -24 -512 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -24 -512 224 ) ( -24 -512 96 ) ( -24 712 224 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( -8 712 96 ) ( -8 712 224 ) ( -24 712 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -8 712 96 ) ( -8 -512 96 ) ( -8 712 224 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( -64 712 208 ) ( 64 -512 96 ) ( 64 712 208 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( -64 -512 120 ) ( 64 384 240 ) ( 64 -512 120 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
}
// brush 170
{
( 64 -896 96 ) ( 64 -896 112 ) ( 2 -840 112 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -896 112 ) ( 64 -896 96 ) ( -64 -896 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -896 112 ) ( -64 -896 96 ) ( -2 -840 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 2 -840 112 ) ( -2 -840 112 ) ( -2 -840 96 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( 2 -840 112 ) ( 2 -850 112 ) ( -2 -850 112 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( -2 -850 96 ) ( 2 -850 96 ) ( 2 -840 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
}
// brush 171
{
( -18 -830 96 ) ( -18 -834 96 ) ( -8 -834 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -8 -834 112 ) ( -18 -834 112 ) ( -18 -830 112 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( -8 -834 112 ) ( -8 -830 112 ) ( -8 -830 96 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( -64 -768 112 ) ( -64 -768 96 ) ( -8 -830 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -896 112 ) ( -64 -896 96 ) ( -64 -768 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -896 96 ) ( -64 -896 112 ) ( -8 -834 112 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 172
{
( -64 -768 96 ) ( -64 -768 112 ) ( -2 -824 112 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -768 112 ) ( -64 -768 96 ) ( 64 -768 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -768 112 ) ( 64 -768 96 ) ( 2 -824 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -2 -824 112 ) ( 2 -824 112 ) ( 2 -824 96 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( -2 -824 112 ) ( -2 -814 112 ) ( 2 -814 112 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( 2 -814 96 ) ( -2 -814 96 ) ( -2 -824 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
}
// brush 173
{
( 18 -834 96 ) ( 18 -830 96 ) ( 8 -830 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 8 -830 112 ) ( 18 -830 112 ) ( 18 -834 112 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( 8 -830 112 ) ( 8 -834 112 ) ( 8 -834 96 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( 64 -896 112 ) ( 64 -896 96 ) ( 8 -834 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -768 112 ) ( 64 -768 96 ) ( 64 -896 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -768 96 ) ( 64 -768 112 ) ( 8 -830 112 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 174
{
( 6 -842 112 ) ( 6 -834 112 ) ( 16 -834 112 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( 16 -834 96 ) ( 6 -834 96 ) ( 6 -842 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 6 -838 112 ) ( 6 -838 96 ) ( 8 -834 96 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( 6 -838 96 ) ( 6 -838 112 ) ( 64 -896 112 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 8 -834 112 ) ( 8 -834 96 ) ( 64 -896 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 175
{
( 6 -838 112 ) ( 6 -838 96 ) ( 64 -896 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 2 -840 96 ) ( 2 -840 112 ) ( 64 -896 112 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 6 -838 96 ) ( 6 -838 112 ) ( 2 -840 112 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( 14 -832 96 ) ( 4 -832 96 ) ( 4 -840 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 4 -840 112 ) ( 4 -832 112 ) ( 14 -832 112 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
}
// brush 176
{
( -2 -840 112 ) ( -2 -840 96 ) ( -64 -896 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -6 -838 96 ) ( -6 -838 112 ) ( -64 -896 112 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -6 -838 112 ) ( -6 -838 96 ) ( -2 -840 96 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( -2 -848 96 ) ( -2 -838 96 ) ( -10 -838 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -10 -838 112 ) ( -2 -838 112 ) ( -2 -848 112 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
}
// brush 177
{
( -8 -836 112 ) ( 0 -836 112 ) ( 0 -846 112 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( 0 -846 96 ) ( 0 -836 96 ) ( -8 -836 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -6 -838 96 ) ( -6 -838 112 ) ( -8 -834 112 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( -8 -834 96 ) ( -8 -834 112 ) ( -64 -896 112 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -6 -838 112 ) ( -6 -838 96 ) ( -64 -896 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 178
{
( -6 -822 112 ) ( -6 -830 112 ) ( -16 -830 112 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( -16 -830 96 ) ( -6 -830 96 ) ( -6 -822 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -6 -826 112 ) ( -6 -826 96 ) ( -8 -830 96 ) mtrl/white 0 0 0 0.5 0.5 0 0 0
( -6 -826 96 ) ( -6 -826 112 ) ( -64 -768 112 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -8 -830 112 ) ( -8 -830 96 ) ( -64 -768 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 179
{
( 144 -560 120 ) ( 144 -832 120 ) ( 128 -560 120 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 144 -560 120 ) ( 144 -560 96 ) ( 144 -832 120 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 128 -832 96 ) ( 144 -832 96 ) ( 128 -560 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 128 -832 96 ) ( 128 -832 120 ) ( 144 -832 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 128 -832 96 ) ( 128 -560 96 ) ( 128 -832 120 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
( 128 -576 -352 ) ( 144 -560 -352 ) ( 128 -576 -224 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 180
{
( -64 -832 120 ) ( -64 -912 120 ) ( -144 -832 120 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -64 -832 120 ) ( -144 -832 120 ) ( -64 -832 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -832 120 ) ( -64 -832 96 ) ( -64 -912 120 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -144 -912 96 ) ( -64 -912 96 ) ( -144 -832 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -64 -912 -352 ) ( -144 -832 -352 ) ( -64 -912 -224 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 -832 -352 ) ( -64 -896 -352 ) ( -128 -832 -224 ) mtrl/edge-green-dark 0 0 0 0.5 0.5 0 0 0
}
// brush 181
{
( -24 -560 120 ) ( -24 -512 120 ) ( -8 -560 120 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -24 -560 120 ) ( -24 -560 96 ) ( -24 -512 120 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -8 -512 96 ) ( -24 -512 96 ) ( -8 -560 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -8 -512 96 ) ( -8 -512 120 ) ( -24 -512 96 ) mtrl/caution 0 0 0 0.5 0.5 0 0 0
( -8 -512 96 ) ( -8 -560 96 ) ( -8 -512 120 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -24 -560 -144 ) ( -8 -576 -272 ) ( -24 -560 -272 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 182
{
( -16 -848 96 ) ( -16 -816 96 ) ( 16 -848 96 ) mtrl/black 0 0 0 0.5 0.5 0 0 0
( -16 -848 96 ) ( 16 -848 96 ) ( -16 -848 64 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -16 -848 96 ) ( -16 -848 64 ) ( -16 -816 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 16 -816 88 ) ( -16 -816 88 ) ( 16 -848 88 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 16 -816 64 ) ( 16 -816 96 ) ( -16 -816 64 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 16 -816 64 ) ( 16 -848 64 ) ( 16 -816 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
}
// brush 183
{
( 8 -512 240 ) ( 8 712 240 ) ( 24 -512 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 8 -512 224 ) ( 24 -512 224 ) ( 8 -512 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 8 -512 224 ) ( 8 -512 96 ) ( 8 712 224 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( 24 712 96 ) ( 24 712 224 ) ( 8 712 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 24 712 96 ) ( 24 -512 96 ) ( 24 712 224 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( -64 712 208 ) ( 64 -512 96 ) ( 64 712 208 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( -64 -512 120 ) ( 64 384 240 ) ( 64 -512 120 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
}
// brush 184
{
( 48 728 240 ) ( 48 712 240 ) ( 0 728 240 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( 24 728 344 ) ( -24 728 344 ) ( 24 728 168 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( 24 728 344 ) ( 24 728 168 ) ( 24 712 344 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( -16 712 208 ) ( 32 712 208 ) ( -16 728 208 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( -24 712 168 ) ( -24 712 344 ) ( 24 712 168 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
( -24 712 168 ) ( -24 728 168 ) ( -24 712 344 ) mtrl/glass 0 0 0 0.5 0.5 0 0 0
}
// brush 185
{
( 64 32 16 ) ( 64 -32 16 ) ( 0 32 16 ) mtrl/arrow-green-light 128 0 -90 0.25 0.25 134217728 0 0
( 64 32 16 ) ( 0 32 16 ) ( 64 32 0 ) mtrl/invisible 0 0 0 0.5 0.5 134217728 0 0
( 64 32 16 ) ( 64 32 0 ) ( 64 -32 16 ) mtrl/invisible 0 0 0 0.5 0.5 134217728 0 0
( 0 -32 8 ) ( 64 -32 8 ) ( 0 32 8 ) mtrl/invisible 0 0 0 0.5 0.5 134217728 0 0
( 0 -32 0 ) ( 0 -32 16 ) ( 64 -32 0 ) mtrl/invisible 0 0 0 0.5 0.5 134217728 0 0
( 0 -32 0 ) ( 0 32 0 ) ( 0 -32 16 ) mtrl/invisible 0 0 0 0.5 0.5 134217728 0 0
}
// brush 186
{
( 0 32 16 ) ( 0 -32 16 ) ( -64 32 16 ) mtrl/arrow-green-light 128 0 90 0.25 0.25 134217728 0 0
( 0 32 16 ) ( -64 32 16 ) ( 0 32 0 ) mtrl/invisible 0 0 0 0.5 0.5 134217728 0 0
( 0 32 16 ) ( 0 32 0 ) ( 0 -32 16 ) mtrl/invisible 0 0 0 0.5 0.5 134217728 0 0
( -64 -32 8 ) ( 0 -32 8 ) ( -64 32 8 ) mtrl/invisible 0 0 0 0.5 0.5 134217728 0 0
( -64 -32 0 ) ( -64 -32 16 ) ( 0 -32 0 ) mtrl/invisible 0 0 0 0.5 0.5 134217728 0 0
( -64 -32 0 ) ( -64 32 0 ) ( -64 -32 16 ) mtrl/invisible 0 0 0 0.5 0.5 134217728 0 0
}
// brush 187
{
( -62 -768 400 ) ( 66 -768 400 ) ( -62 -640 400 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -704 64 ) ( 0 -768 -64 ) ( -64 -704 -64 ) mtrl/marble-grey 186.2337341309 220.3936157227 0 0.5 0.5 0 0 0
( -64 -704 -64 ) ( 0 -640 -64 ) ( -64 -704 64 ) mtrl/marble-grey 186.2337341309 220.3936157227 0 0.5 0.5 0 0 0
( 0 -640 -64 ) ( 64 -704 -64 ) ( 0 -640 64 ) mtrl/marble-grey 186.2337341309 220.3936157227 0 0.5 0.5 0 0 0
( 64 -704 -64 ) ( 0 -768 -64 ) ( 64 -704 64 ) mtrl/marble-grey 186.2337341309 220.3936157227 0 0.5 0.5 0 0 0
( 0 -768 408 ) ( 0 -704 472 ) ( 64 -704 408 ) mtrl/marble-grey 186.2337341309 220.3936157227 0 0.5 0.5 0 0 0
( 0 -640 408 ) ( 0 -704 472 ) ( -64 -704 408 ) mtrl/marble-grey 186.2337341309 220.3936157227 0 0.5 0.5 0 0 0
( 64 -704 408 ) ( 0 -704 472 ) ( 0 -640 408 ) mtrl/marble-grey 186.2337341309 220.3936157227 0 0.5 0.5 0 0 0
( -64 -704 408 ) ( 0 -704 472 ) ( 0 -768 408 ) mtrl/marble-grey 186.2337341309 220.3936157227 0 0.5 0.5 0 0 0
}
// brush 188
{
( -128 512 256 ) ( -128 640 256 ) ( 128 512 256 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( -136 448 256 ) ( 120 448 256 ) ( -136 448 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 128 640 240 ) ( -128 640 240 ) ( 128 512 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 128 640 240 ) ( 128 640 256 ) ( -128 640 240 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 640 64 ) ( -128 448 -64 ) ( -64 640 -64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 640 -64 ) ( 128 448 -64 ) ( 64 640 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 189
{
( -128 512 256 ) ( -128 640 256 ) ( 128 512 256 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( -128 512 256 ) ( -128 512 240 ) ( -128 640 256 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 128 640 240 ) ( -128 640 240 ) ( 128 512 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -64 640 -64 ) ( -128 448 -64 ) ( -64 640 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 768 240 ) ( -64 640 240 ) ( -64 768 256 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -128 704 -208 ) ( -64 768 -208 ) ( -128 704 -80 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 190
{
( 64 640 256 ) ( 64 768 256 ) ( 128 640 256 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( 64 640 256 ) ( 64 640 240 ) ( 64 768 256 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 128 768 240 ) ( 64 768 240 ) ( 128 640 240 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 128 768 240 ) ( 128 640 240 ) ( 128 768 256 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 128 704 -80 ) ( 64 768 -208 ) ( 128 704 -208 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 640 64 ) ( 128 448 -64 ) ( 64 640 -64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 191
{
( 128 -640 112 ) ( 128 -768 112 ) ( -128 -640 112 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( 136 -576 112 ) ( -120 -576 112 ) ( 136 -576 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -128 -768 96 ) ( 128 -768 96 ) ( -128 -640 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 -768 96 ) ( -128 -768 112 ) ( 128 -768 96 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -768 -64 ) ( -128 -576 -64 ) ( -64 -768 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -768 64 ) ( 128 -576 -64 ) ( 64 -768 -64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 192
{
( 128 -640 112 ) ( 128 -768 112 ) ( -128 -640 112 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( 128 -640 112 ) ( 128 -640 96 ) ( 128 -768 112 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -128 -768 96 ) ( 128 -768 96 ) ( -128 -640 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 64 -768 -64 ) ( 128 -576 -64 ) ( 64 -768 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -896 96 ) ( 64 -768 96 ) ( 64 -896 112 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 128 -832 -352 ) ( 64 -896 -352 ) ( 128 -832 -224 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 193
{
( 128 -640 112 ) ( 128 -768 112 ) ( -128 -640 112 ) mtrl/turf-green 128 256 0 0.5 0.5 0 0 0
( -128 -768 96 ) ( 128 -768 96 ) ( -128 -640 96 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 -768 96 ) ( -128 -640 96 ) ( -128 -768 112 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -768 64 ) ( -128 -576 -64 ) ( -64 -768 -64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -768 112 ) ( -64 -768 96 ) ( -64 -896 112 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -128 -832 -224 ) ( -64 -896 -352 ) ( -128 -832 -352 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 194
{
( 128 -640 400 ) ( 128 -768 400 ) ( -128 -640 400 ) mtrl/turf-green 128 0 0 0.5 0.5 0 0 0
( 136 -576 400 ) ( -120 -576 400 ) ( 136 -576 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -128 -768 384 ) ( 128 -768 384 ) ( -128 -640 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 -768 384 ) ( -128 -768 400 ) ( 128 -768 384 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -768 -64 ) ( -128 -576 -64 ) ( -64 -768 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -768 64 ) ( 128 -576 -64 ) ( 64 -768 -64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 195
{
( 128 -768 400 ) ( 128 -896 400 ) ( 64 -768 400 ) mtrl/turf-green 128 0 0 0.5 0.5 0 0 0
( 128 -768 400 ) ( 128 -768 384 ) ( 128 -896 400 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -896 384 ) ( 128 -896 384 ) ( 64 -768 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( 64 -896 384 ) ( 64 -768 384 ) ( 64 -896 400 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 128 -832 -64 ) ( 64 -896 -64 ) ( 128 -832 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 -768 -64 ) ( 128 -576 -64 ) ( 64 -768 64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 196
{
( 128 -640 400 ) ( 128 -768 400 ) ( -128 -640 400 ) mtrl/turf-green 128 0 0 0.5 0.5 0 0 0
( -128 -768 384 ) ( 128 -768 384 ) ( -128 -640 384 ) mtrl/turf-grey 0 0 0 0.5 0.5 0 0 0
( -128 -768 384 ) ( -128 -640 384 ) ( -128 -768 400 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -768 64 ) ( -128 -576 -64 ) ( -64 -768 -64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -64 -768 400 ) ( -64 -768 384 ) ( -64 -896 400 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( -128 -832 64 ) ( -64 -896 -64 ) ( -128 -832 -64 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
// brush 197
{
( -8 -424 280 ) ( 8 -424 280 ) ( -8 -424 272 ) mtrl/invisible 0 0 0 -0.5 0.5 0 0 0
( -16 32 280 ) ( -16 32 272 ) ( -16 48 280 ) mtrl/invisible 64 0 0 -0.5 0.5 0 0 0
( 0 48 272 ) ( -16 48 272 ) ( 0 32 272 ) mtrl/invisible 112 64 180 0.5 0.5 0 0 0
( 32 328 272 ) ( 32 328 280 ) ( 16 328 272 ) mtrl/invisible 48 0 0 -0.5 0.5 0 0 0
( 8 56 272 ) ( 8 40 272 ) ( 8 56 280 ) mtrl/invisible 80 0 0 -0.5 0.5 0 0 0
( -72 312 272 ) ( 56 -424 368 ) ( 56 312 272 ) mtrl/invisible 112 112 180 0.5 0.5 0 0 0
( -72 -424 376 ) ( 56 328 280 ) ( 56 -424 376 ) mtrl/invisible 112 112 180 0.5 0.5 0 0 0
}
// brush 198
{
( 0 304 136 ) ( -16 304 136 ) ( 0 304 128 ) mtrl/invisible 16 96 0 0.5 0.5 0 0 0
( 8 -152 136 ) ( 8 -152 128 ) ( 8 -168 136 ) mtrl/invisible 48 96 0 0.5 0.5 0 0 0
( -8 -168 128 ) ( 8 -168 128 ) ( -8 -152 128 ) mtrl/invisible 0 80 0 0.5 0.5 0 0 0
( -40 -448 128 ) ( -40 -448 136 ) ( -24 -448 128 ) mtrl/invisible 64 96 0 0.5 0.5 0 0 0
( -16 -176 128 ) ( -16 -160 128 ) ( -16 -176 136 ) mtrl/invisible 64 96 0 0.5 0.5 0 0 0
( 64 -432 128 ) ( -64 304 224 ) ( -64 -432 128 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
( 64 304 232 ) ( -64 -448 136 ) ( -64 304 232 ) mtrl/invisible 0 0 0 0.5 0.5 0 0 0
}
}
// entity 1
{
"classname" "info_player_start"
"origin" "0 0 40"
"radius" "0.0625"
"angle" "-1.4033e-014"
}
// entity 2
{
"classname" "info_player_start"
"origin" "0 0 40"
"radius" "0.0625"
"angle" "-1.4033e-014"
}
// entity 3
{
"classname" "info_player_start"
"origin" "0 0 40"
"radius" "0.0625"
"angle" "-1.4033e-014"
}
// entity 4
{
"classname" "info_player_start"
"origin" "0 0 40"
"radius" "0.0625"
"angle" "-1.4033e-014"
}
// entity 5
{
"classname" "info_player_start"
"origin" "0 0 40"
"radius" "0.0625"
"angle" "-1.4033e-014"
}
// entity 6
{
"classname" "target_position"
"origin" "-14.000000 204.000000 76.000000"
"targetname" "target_position1"
}
// entity 7
{
"classname" "info_player_intermission"
"origin" "642 -1604 706"
"target" "target_position1"
}
// entity 8
{
"classname" "info_player_deathmatch"
"origin" "0 -832 120"
"radius" "0.1375"
}
// entity 9
{
"classname" "path_corner"
"origin" "-96 -704 128"
"target" "p4"
"targetname" "p3"
"speed" "1"
}
// entity 10
{
"classname" "path_corner"
"origin" "-144 -704 128"
"targetname" "p4"
"speed" "1"
"target" "p3"
}
// entity 11
{
"classname" "path_corner"
"origin" "112 552 264"
"target" "p2"
"targetname" "p1"
}
// entity 12
{
"classname" "path_corner"
"origin" "112 600 264"
"targetname" "p2"
"target" "p1"
}
// entity 13
{
"classname" "target_position"
"origin" "-14.000000 204.000000 76.000000"
"targetname" "target_position2"
}
// entity 14
{
"classname" "info_player_intermission"
"origin" "642.000000 -1604.000000 706.000000"
"target" "target_position2"
}
// entity 15
{
"classname" "func_train"
"target" "p3"
// brush 0
{
( -38 -768 112 ) ( 90 -768 112 ) ( -38 -640 112 ) mtrl/invisible 80 0 0 0.5 0.5 0 0 0
( -40 -704 -224 ) ( 24 -768 -352 ) ( -40 -704 -352 ) mtrl/marble-grey 0 192 0 0.5 0.5 0 0 0
( -40 -704 -352 ) ( 24 -640 -352 ) ( -40 -704 -224 ) mtrl/marble-grey 0 192 0 0.5 0.5 0 0 0
( 24 -640 -352 ) ( 88 -704 -352 ) ( 24 -640 -224 ) mtrl/marble-grey 0 192 0 0.5 0.5 0 0 0
( 88 -704 -352 ) ( 24 -768 -352 ) ( 88 -704 -224 ) mtrl/marble-grey 0 192 0 0.5 0.5 0 0 0
( 24 -768 120 ) ( 24 -704 184 ) ( 88 -704 120 ) mtrl/marble-grey 129.6652069092 163.825088501 45 0.5 0.5 0 0 0
( 24 -640 120 ) ( 24 -704 184 ) ( -40 -704 120 ) mtrl/marble-grey 152.2926177979 209.0799102783 45 0.5 0.5 0 0 0
( 88 -704 120 ) ( 24 -704 184 ) ( 24 -640 120 ) mtrl/marble-grey 107.0377883911 186.4524993896 45 0.5 0.5 0 0 0
( -40 -704 120 ) ( 24 -704 184 ) ( 24 -768 120 ) mtrl/marble-grey 152.2926177979 186.4524993896 45 0.5 0.5 0 0 0
}
}
// entity 16
{
"classname" "func_train"
"target" "p1"
// brush 0
{
( -62 488 256 ) ( 66 488 256 ) ( -62 616 256 ) mtrl/invisible 0 80 0 0.5 0.5 0 0 0
( -64 552 -80 ) ( 0 488 -208 ) ( -64 552 -208 ) mtrl/marble-grey 156.7266845703 204.6458740234 90 0.5 0.5 0 0 0
( -64 552 -208 ) ( 0 616 -208 ) ( -64 552 -80 ) mtrl/marble-grey 156.7266845703 204.6458740234 90 0.5 0.5 0 0 0
( 0 616 -208 ) ( 64 552 -208 ) ( 0 616 -80 ) mtrl/marble-grey 156.7266845703 204.6458740234 90 0.5 0.5 0 0 0
( 64 552 -208 ) ( 0 488 -208 ) ( 64 552 -80 ) mtrl/marble-grey 156.7266845703 204.6458740234 90 0.5 0.5 0 0 0
( 0 488 264 ) ( 0 552 328 ) ( 64 552 264 ) mtrl/marble-grey 156.7266845703 204.6458740234 90 0.5 0.5 0 0 0
( 0 616 264 ) ( 0 552 328 ) ( -64 552 264 ) mtrl/marble-grey 156.7266845703 204.6458740234 90 0.5 0.5 0 0 0
( 64 552 264 ) ( 0 552 328 ) ( 0 616 264 ) mtrl/marble-grey 156.7266845703 204.6458740234 90 0.5 0.5 0 0 0
( -64 552 264 ) ( 0 552 328 ) ( 0 488 264 ) mtrl/marble-grey 156.7266845703 204.6458740234 90 0.5 0.5 0 0 0
}
}
| {
"pile_set_name": "Github"
} |
# [10.0.0](https://github.com/IndigoSoft/ngxd/compare/v9.0.0...v10.0.0) (2020-07-17)
### Features
* bump v10.0.0 and dropped @angular/core@9 and earlier ([81147f4](https://github.com/IndigoSoft/ngxd/commit/81147f4))
### BREAKING CHANGES
DROPPED @angular/core@9 AND EARLIER
If you whant to use @ngxd/core with specific angular version, please install @ngxd/core which version you need:
* @angular/core@7 => npm install @ngxd/core@7
* @angular/core@8 => npm install @ngxd/core@8
* @angular/core@9 => npm install @ngxd/core@9
* @angular/core@10 => npm install @ngxd/core@10
## [9.0.4](https://github.com/IndigoSoft/ngxd/compare/v9.0.3...v9.0.4) (2020-02-20)
### Bug Fixes
* **core:** call setter on host component with host context ([c8b5d1d](https://github.com/IndigoSoft/ngxd/commit/c8b5d1d)), closes [#21](https://github.com/IndigoSoft/ngxd/issues/21)
## [9.0.3](https://github.com/IndigoSoft/ngxd/compare/v9.0.2...v9.0.3) (2020-02-19)
### Bug Fixes
* **core:** made host input descriptor as configurable ([8dda070](https://github.com/IndigoSoft/ngxd/commit/8dda070)), closes [#26](https://github.com/IndigoSoft/ngxd/issues/26) [#29](https://github.com/IndigoSoft/ngxd/issues/29)
## [9.0.2](https://github.com/IndigoSoft/ngxd/compare/v9.0.1...v9.0.2) (2020-02-19)
### Bug Fixes
* disabled Ivy for library, libs should use ViewEngine compiler ([5ec5c79](https://github.com/IndigoSoft/ngxd/commit/5ec5c79)), closes [#28](https://github.com/IndigoSoft/ngxd/issues/28)
## [9.0.1](https://github.com/IndigoSoft/ngxd/compare/v9.0.0...v9.0.1) (2020-02-18)
### Bug Fixes
* **core:** fixes Ivy ([7ef62c9](https://github.com/IndigoSoft/ngxd/commit/7ef62c9)), closes [#28](https://github.com/IndigoSoft/ngxd/issues/28) [#29](https://github.com/IndigoSoft/ngxd/issues/29)
### Features
* up angular version to 9 ([04b4789](https://github.com/IndigoSoft/ngxd/commit/04b4789))
### BREAKING CHANGES
* **core:** Components with getter and setter without both are not supported
# [9.0.0](https://github.com/IndigoSoft/ngxd/compare/v8.0.0...v9.0.0) (2020-02-07)
### Bug Fixes
* hide angular v9 warning ([77598e9](https://github.com/IndigoSoft/ngxd/commit/77598e9))
# [8.0.0](https://github.com/IndigoSoft/ngxd/compare/v7.0.3...v8.0.0) (2019-05-29)
## [7.0.3](https://github.com/IndigoSoft/ngxd/compare/v7.0.2...v7.0.3) (2019-04-03)
### Bug Fixes
* **core:** fixes build ([b76dfdd](https://github.com/IndigoSoft/ngxd/commit/b76dfdd))
* **core:** rebind inputs on change context ([#10](https://github.com/IndigoSoft/ngxd/issues/10)) ([f20ea91](https://github.com/IndigoSoft/ngxd/commit/f20ea91))
## [7.0.2](https://github.com/IndigoSoft/ngxd/compare/v7.0.1...v7.0.2) (2019-04-02)
### Bug Fixes
* **core:** broken tests ([#9](https://github.com/IndigoSoft/ngxd/issues/9)) ([0b223fe](https://github.com/IndigoSoft/ngxd/commit/0b223fe))
* **core:** store output subscriptions and pass value to setter ([e4f2d7d](https://github.com/IndigoSoft/ngxd/commit/e4f2d7d))
## [7.0.1](https://github.com/IndigoSoft/ngxd/compare/v7.0.0...v7.0.1) (2019-01-22)
# [7.0.0](https://github.com/IndigoSoft/ngxd/compare/fd32c40...v7.0.0) (2018-11-08)
### Bug Fixes
* update to angular 7, silence warning ([278b6d2](https://github.com/IndigoSoft/ngxd/commit/278b6d2)), closes [#6](https://github.com/IndigoSoft/ngxd/issues/6)
* update to angular 7, silence warning ([fd32c40](https://github.com/IndigoSoft/ngxd/commit/fd32c40))
| {
"pile_set_name": "Github"
} |
/**
* @name exports
* @summary MedicationKnowledgeRegulatorySubstitution Class
*/
module.exports = class MedicationKnowledgeRegulatorySubstitution {
constructor(opts) {
// Create an object to store all props
Object.defineProperty(this, '__data', { value: {} });
// Define getters and setters as enumerable
Object.defineProperty(this, '_id', {
enumerable: true,
get: () => this.__data._id,
set: (value) => {
if (value === undefined || value === null) {
return;
}
let Element = require('./element.js');
this.__data._id = new Element(value);
},
});
Object.defineProperty(this, 'id', {
enumerable: true,
get: () => this.__data.id,
set: (value) => {
if (value === undefined || value === null) {
return;
}
this.__data.id = value;
},
});
Object.defineProperty(this, 'extension', {
enumerable: true,
get: () => this.__data.extension,
set: (value) => {
if (value === undefined || value === null) {
return;
}
let Extension = require('./extension.js');
this.__data.extension = Array.isArray(value)
? value.map((v) => new Extension(v))
: [new Extension(value)];
},
});
Object.defineProperty(this, 'modifierExtension', {
enumerable: true,
get: () => this.__data.modifierExtension,
set: (value) => {
if (value === undefined || value === null) {
return;
}
let Extension = require('./extension.js');
this.__data.modifierExtension = Array.isArray(value)
? value.map((v) => new Extension(v))
: [new Extension(value)];
},
});
Object.defineProperty(this, 'type', {
enumerable: true,
get: () => this.__data.type,
set: (value) => {
if (value === undefined || value === null) {
return;
}
let CodeableConcept = require('./codeableconcept.js');
this.__data.type = new CodeableConcept(value);
},
});
Object.defineProperty(this, '_allowed', {
enumerable: true,
get: () => this.__data._allowed,
set: (value) => {
if (value === undefined || value === null) {
return;
}
let Element = require('./element.js');
this.__data._allowed = new Element(value);
},
});
Object.defineProperty(this, 'allowed', {
enumerable: true,
get: () => this.__data.allowed,
set: (value) => {
if (value === undefined || value === null) {
return;
}
this.__data.allowed = value;
},
});
// Merge in any defaults
Object.assign(this, opts);
// Define a default non-writable resourceType property
Object.defineProperty(this, 'resourceType', {
value: 'MedicationKnowledgeRegulatorySubstitution',
enumerable: true,
writable: false,
});
}
static get resourceType() {
return 'MedicationKnowledgeRegulatorySubstitution';
}
toJSON() {
return {
id: this.id,
extension: this.extension && this.extension.map((v) => v.toJSON()),
modifierExtension: this.modifierExtension && this.modifierExtension.map((v) => v.toJSON()),
type: this.type && this.type.toJSON(),
_allowed: this._allowed && this._allowed.toJSON(),
allowed: this.allowed,
};
}
};
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<application-description-file version="1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../specification/appdf-description.xsd">
<application platform="android" package="com.softspb.geo_game">
<categorization>
<type>game</type>
<category>Trivia</category>
<subcategory></subcategory>
</categorization>
<description>
<texts>
<title>SPB Geo Game</title>
<keywords>spb, game, geo, world, capital, flag, country, trivia</keywords>
<short-description>With SPB Geo Game you can study national capitals and flags.</short-description>
<full-description>
With SPB Geo Game you can study national capitals and flags.
<features>
<ul>
<li>World Flags</li>
<li>World Capitals</li>
<li>3D Globe</li>
<li>Educational Animation</li>
</ul>
</features>
</full-description>
<features>
<feature>World Flags</feature>
<feature>World Capitals</feature>
<feature>3D Globe</feature>
<feature>Educational Animation</feature>
</features>
<eula href="http://spb.com/about/eula_en">
IMPORTANT - USE OF SPB SOFTWARE INC. SOFTWARE IS SUBJECT TO LICENSE RESTRICTIONS. CAREFULLY READ THIS LICENSE AGREEMENT BEFORE USING THE SOFTWARE.
NOTICE TO USER: PLEASE READ THIS AGREEMENT CAREFULLY. THIS LICENSE IS A LEGAL "AGREEMENT" CONCERNING THE USE OF SOFTWARE BETWEEN YOU, THE END USER, EITHER INDIVIDUALLY OR AS AN AUTHORIZED REPRESENTATIVE OF THE COMPANY OBTAINING THE LICENSE, AND SPB SOFTWARE INC. BY USING ALL OR ANY PORTION OF THE SOFTWARE YOU ACCEPT ALL THE TERMS AND CONDITIONS OF THIS AGREEMENT, INCLUDING, IN PARTICULAR THE LIMITATION ON: USE, TRANSFERABILITY, WARRANTY AND LIABILITY. YOU AGREE THAT THIS AGREEMENT IS ENFORCEABLE LIKE ANY WRITTEN NEGOTIATED AGREEMENT SIGNED BY YOU. IF YOU DO NOT AGREE, DO NOT USE THIS SOFTWARE. IF YOU ACQUIRED THE SOFTWARE ON TANGIBLE MEDIA (E.G. CD) WITHOUT AN OPPORTUNITY TO REVIEW THIS LICENSE AND YOU DO NOT ACCEPT THIS AGREEMENT, YOU MAY OBTAIN A REFUND OF THE AMOUNT YOU ORIGINALLY PAID IF YOU: (A) DO NOT USE THE SOFTWARE AND (B) RETURN IT, WITH PROOF OF PAYMENT, TO THE LOCATION FROM WHICH IT WAS OBTAINED WITHIN THIRTY (30) DAYS OF THE PURCHASE DATE.
1. DEFINITIONS. "Software" means (a) all of the content of the files, disk(s), CD-ROM(s) or other media with which this agreement is provided, including but not limited to (i) Spb Software Inc. or third party computer information or software; (ii) digital images, stock photographs, clip art, sounds or other artistic works ("Stock Files"); (iii) related explanatory written materials or files ("Documentation"); and (b) modified versions, updates additions, and copies of the Software, if any, licensed to you by Spb Software Inc. "Use" or "Using" means to access, install, download, copy or otherwise benefit from using the functionality of the Software in accordance with the Documentation. "Permitted Number" means one (1) unless otherwise indicated under a valid license (e.g. volume license) granted by Spb Software Inc. "Computer" means an electronic device that accepts information in digital or similar form and manipulates it for a specific result based on a sequence of instructions. "Spb Software Inc." means a joint stock company, duly organized and validly existing under the laws of the Unated States, named as Spb Software Inc., and having its principal place of business at 14 Washington Place, Hackensack, NJ 07601, USA.
2. SOFTWARE LICENSE. As long as you comply with the terms of this End User License Agreement (the "Agreement"), Spb Software Inc. grants to you a non-exclusive license to Use the Software for the purposes described in Documentation. Some third party materials included in the Software may be subject to other terms and conditions, which are typically found in a "Read Me" file located near such materials.
2.1 General Use. You may install and Use a copy of the Software on your compatible computer, up to the Permitted Number of computers;
2.2 Backup Copy. You may make one backup copy of the Software, provided your backup copy is not installed or used on any computer, for the following purposes:
-reservation of the Software copy and having it in store for a case of the Software damage. You may not transfer the rights to a backup copy unless you transfer all rights in the Software as provided under Section 4.
2.3 Home Use. You, as primary user of the computer on which the Software is installed, may also install the Software on one of your home computers. However, the Software may not be used on your home computer at the same time the Software on the primary computer is being used.
2.4 Stock Files. Unless stated otherwise in the "Read Me" files associated with the Stock Files, which may include specific rights and restrictions with respect to such materials, you may display, modify, reproduce and distribute any of the Stock Files on a stand-alone basis, i. E. In circumstances in which the Stock Files constitute the primary value of the product being distributed. Stock Files may not be used in the production of libelous defamatory, fraudulent, lewd, obscene or pornographic material or any material that infringes upon any third party intellectual rights in the Stock Files or derivative works thereof.
2.5 Lost License. If the License with its individual number is lost either along with hardware or alone, the License is deemed invalid. In this case you can either get a new license or contact Spb Software Inc. Customers Department.
2.6. Links. The Software contains links to other Web, RTSP,MMS and other sites operated by third parties. Spb Software Inc. is not responsible for the content or the privacy practices of those third party sites. Spb Software Inc. makes no warranty or representation regarding, and accepts no responsibility for the content, quality, nature or reliability of third-party sites or services accessible by hyperlink from the Software. Spb Software Inc. provides these links for your convenience only and Spb Software Inc. does not control such Web sites. Spb Software Inc.'s inclusion of links to such sites does not imply any endorsement of the materials on such third party sites or any association with their operators. It is your responsibility to review the privacy policies and terms of use of any other Web site you visit.
2.7. Submissions. You agree that any materials, including but not limited to suggestions, notes, drawings, ideas, questions, original or creative materials, plans, comments or other information, provided by you in the form of e-mail or other submissions to Spb Software Inc. are non-confidential and you grant to Spb Software Inc. a nonexclusive, perpetual, royalty-free, irrevocable, and fully sublicensable right to use, adapt, reproduce, modify, translate, publish, create derivative works from, distribute, and display such materials throughout the world in any media now known or hereafter developed with or without acknowledgment to you in Spb Software Inc.'s sole discretion and without compensation to you. You also grant to Spb Software Inc.the right to use your name in connection with the submitted materials and other information as well as in connection with all marketing, advertising and promotional material related thereto. Spb Software Inc.has no obligation to use any submitted materials and may remove any such materials in its sole discretion.
3. INTELLECTUAL PROPERTY RIGHTS. The Software and any copies that you are authorized by Spb Software Inc. to make are the intellectual property of and are owned by Spb Software Inc. The structure, organization and code of the Software are the valuable trade secrets and confidential information of Spb Software Inc. The Software is protected by copyright, including without limitation by US Copyright Law, international treaties provisions and applicable laws in the country in which it is being used. You may not copy the Software, except as set forth in Section 2 ("Software License"). Any copies that you are permitted to make pursuant to this Agreement must contain the same copyright and other proprietary notices that appear on or in the Software. You agree not to modify, adapt or translate the Software. You also agree not to reverse engineer, decompile, disassemble or otherwise attempt to discover the source code of the Software except to the extent you may be expressly permitted to decompile under applicable law, it is essential to do so in order to achieve operability of the Software with another software program, and you have first requested Spb Software Inc. to provide information necessary to achieve such operability and Spb Software Inc. has not made such information available. Spb Software Inc. has the right to impose reasonable conditions and to request a reasonable fee before providing such information. Any information supplied by Spb Software Inc. or obtained by you, as permitted hereunder, may only be used by you for the purpose described herein and may not be disclosed to any third party or used to create any software which is substantially similar to the extension of the Software. Requests for information should be directed to the Spb Software Inc. Customer Support Department. Trademarks shall be used in accordance with accepted trademark practice, including identification of trademarks owners' names. Trademarks can only be used to identify printed output produced by the Software and such use of any trademark does not give you any rights of ownership in that trademark. Except as expressly stated above, this Agreement does not grant you any intellectual property rights in the Software.
4. TRANSFER. You may not rent, lease, sublicense, or authorize all or any portion of the Software to be copied onto another users computer except as may be expressly permitted herein. You may, however, transfer all your rights to Use the Software to another person or legal entity provided that: (a) you also transfer each this Agreement, the Software and all other software or hardware bundled or pre-installed with the Software, including all copies, Updates and prior versions to such person or entity; (b) you retain no copies, including backups and copies stored on a computer; and (c) the receiving party accepts the terms and conditions of this Agreement and any other terms and conditions upon which you legally purchased a license to the Software. Notwithstanding the foregoing, you may not transfer education, pre-release, or not for resale copies of the Software.
5. MULTIPLE ENVIRONMENT SOFTWARE/ MULTIPLE LANGUAGE SOFTWARE/ DUAL MEDIA SOFTWARE/ MULTIPLE COPIES/ BUNDLES. If the Software supports multiple platforms of languages, if you receive the Software on multiple media, if you otherwise receive multiple copies of the Software, or if you received the Software bundled with other software, the total numbers of your computers on which all versions of the Software are installed may not exceed the Permitted Number. You may not rent, lease, sublicense, lend or transfer any versions or copies of such Software you do not Use.
6. NO WARRANTY. The Software is being delivered to you "AS IS" and Spb Software Inc. makes no warranty as to its use or performance. SPB SOFTWARE INC. AND ITS SUPPLIERS DO NOT AND CANNOT WARRANT THE PERFORMANCE OR RESULTS YOU MAY OBTAIN BY USING THE SOFTWARE. EXCEPT FOR ANY WARRANTY, CONDITION, REPRESENTATION OR TERM TO THE EXTENT TO WHICH THE SAME CANNOT OR MAY NOT BE EXCLUDED OR LIMITED BY LAW APPLICABLE IN YOUR JURISDICTION, SPB SOFTWARE INC. AND ITS SUPPLIERS MAKE NO WARRANTIES CONDITIONS, REPRESENTATIONS, OR TERMS (EXPRESS OR IMPLIED WHETHER BY STATUTE, COMMON LAW, CUSTOM, USAGE OR OTHERWISE) AS TO ANY MATTER INCLUDING WITHOUT LIMITATION NONINFRINGEMENT OF THIRD PARTY RIGHTS, MERCHANTABILITY, INTEGRATION, SATISFACTORY QUALITY, OR FITNESS FOR ANY PARTICULAR PURPOSE.
7. LIMITATION OF LIABILITY. IN NO EVENT WILL SPB SOFTWARE INC. OR ITS SUPPLIERS BE LIABLE TO YOU FOR ANY DAMAGES, CLAIMS OR COSTS WHATSOEVER OR ANY CONSEQUENTIAL, INDIRECT, DIRECT, INCIDENTAL DAMAGES, OR ANY LOST PROFITS OR LOST SAVINGS, EVEN IF SPB SOFTWARE INC. REPRESENTATIVE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, DAMAGES, CLAIMS OR COSTS OR FOR ANY CLAIM BY ANY THIRD PARTY. THE FOREGOING LIMITATIONS AND EXCLUSIONS APPLY TO EXTENT PERMITTED BY APPLICABLE LAW IN YOUR JURISDICTION. SPB SOFTWARE INC'S AGGREGATE LIABILITY AND THAT OF ITS SUPPLIERS UNDER OR IN CONNECTION WITH THIS AGREEMENT SHALL BE LIMITED TO THE AMOUNT PAID FOR THE SOFTWARE, IF ANY. Spb Software Inc. is acting on behalf of its suppliers for the purpose of disclaiming, excluding and/or limiting obligations, warranties and liability as provided in this Agreement, but in no other respects and for no other purpose.
8. LIFE ENDANGERING ACTIVITIES. NEITHER SPB SOFTWARE INC. NOR ITS SUPPLIERS SHALL BE LIABLE FOR ANY DAMAGES RESULTING FROM OR IN CONNECTION WITH THE USE OF SOFTWARE IN ANY APPLICATION WHERE THE FAILURE OR INACCURACY OF THE SOFTWARE MIGHT RESULT IN DEATH OR PERSONAL INJURY. YOU AGREE TO INDEMNIFY AND HOLD HARMLESS SPB SOFTWARE INC. AND ITS SUPPLIERS FROM ANY CLAIMS, LOSS, COST, DAMAGE, EXPENSE, OR LIABILITY, INCLUDING ATTORNEYS' FEES, ARISING OUT OF OR IN CONNECTION WITH SUCH USE.
9. GENERAL PROVISIONS. This Agreement contains the entire understanding between the parties relating to its subject matter and supersedes all prior or contemporaneous agreements, including but not limited to any purchase order terms and conditions, except valid license agreements related to the subject matter of this Agreement which are physically signed by you and an authorized agent of Spb Software Inc. This Agreement may only be modified by a physically signed writing between you and an authorized agent of Spb Software Inc. Waiver of terms or excuse of breach must be in writing and shall not constitute subsequent consent, waiver or excuse.
10. COMPLIANCE WITH LICENSES. If you are a business or organization, you agree that upon request of Spb Software Inc. or Spb Software Inc.'s authorized agent, you will within thirty (30) days fully document and certify that Use of any and all Spb Software Inc.'s Software at the time of the request is in conformity with your valid license obtained from Spb Software Inc.
If you have any questions regarding this agreement or if you wish to request any information from Spb Software Inc., please use the address and the contact information included in this product to contact the Spb Software Inc. office serving your jurisdiction.
</eula>
</texts>
<images>
<app-icon width="512" height="512">appicon.png</app-icon>
<screenshots>
<screenshot width="480" height="800" index="1">geogamead_ss1.png</screenshot>
<screenshot width="480" height="800" index="2">geogamead_ss2.png</screenshot>
<screenshot width="480" height="800" index="3">geogamead_ss3.png</screenshot>
<screenshot width="480" height="800" index="4">geogamead_ss4.png</screenshot>
<screenshot width="480" height="800" index="5">geogamead_ss5.png</screenshot>
<screenshot width="480" height="800" index="6">geogamead_ss6.png</screenshot>
<screenshot width="480" height="800" index="7">geogamead_ss7.png</screenshot>
<screenshot width="480" height="800" index="8">geogamead_ss8.png</screenshot>
</screenshots>
</images>
<videos>
<youtube-video>WAyMMGOqXDE</youtube-video>
</videos>
</description>
<description-localization language="ru">
<texts>
<title>SPB Geo Game</title>
<keywords>spb, гео, игра, страны, столицы, флаги</keywords>
<short-description>С помощью игры SPB Geo Game вы можете изучать столицы и флаги стран мира.</short-description>
<full-description>
С помощью игры SPB Geo Game вы можете изучать столицы и флаги стран мира.
<features>
<ul>
<li>Флаги стран мира</li>
<li>Мировые столицы</li>
<li>Глобус</li>
<li>Познавательная анимация</li>
</ul>
</features>
</full-description>
<features>
<feature>Флаги стран мира</feature>
<feature>Мировые столицы</feature>
<feature>Глобус</feature>
<feature>Познавательная анимация</feature>
</features>
</texts>
</description-localization>
<description-localization language="fr">
<texts>
<title>SPB Geo Game</title>
<keywords>spb, géo, le gibier, les pays, les capitales, drapeaux, trivia</keywords>
<short-description>Avec le jeu SPB Geo vous pouvez étudier les capitales et les drapeaux.</short-description>
<full-description>
Avec le jeu SPB Geo vous pouvez étudier les capitales et les drapeaux.
<features>
<ul>
<li>Drapeaux du monde</li>
<li>Capitales du monde</li>
<li>Globe 3d</li>
<li>Animation éducative</li>
</ul>
</features>
</full-description>
<features>
<feature>Drapeaux du monde</feature>
<feature>Capitales du monde</feature>
<feature>Globe 3d</feature>
<feature>Animation éducative</feature>
</features>
</texts>
</description-localization>
<description-localization language="de">
<texts>
<title>SPB Geo Game</title>
<keywords>spb, geo, Spiel, Länder, Hauptstädte, Flaggen, trivia</keywords>
<short-description>Mit SPB Geo Game könenn Sie Hauptstädte und Flaggen kennen lernen.</short-description>
<full-description>
Mit SPB Geo Game könenn Sie Hauptstädte und Flaggen kennen lernen.
<features>
<ul>
<li>Welt Flaggen</li>
<li>Hauptstädte</li>
<li>3D Globus</li>
<li>Schöne Animationen</li>
</ul>
</features>
</full-description>
<features>
<feature>Welt Flaggen</feature>
<feature>Hauptstädte</feature>
<feature>3D Globus</feature>
<feature>Schöne Animationen</feature>
</features>
</texts>
</description-localization>
<description-localization language="it">
<texts>
<title>SPB Geo Game</title>
<keywords>spb, geo, gioco, paesi, capitali, bandiere, curiosità</keywords>
<short-description>Con SPB Geo Game si possono studiare le capitali nazionali e le bandiere.</short-description>
<full-description>
Con SPB Geo Game si possono studiare le capitali nazionali e le bandiere.
<features>
<ul>
<li>Bandiere del mondo</li>
<li>Le capitali del mondo</li>
<li>Mappamondo 3D</li>
<li>Animazione Educativo</li>
</ul>
</features>
</full-description>
<features>
<feature>Bandiere del mondo</feature>
<feature>Le capitali del mondo</feature>
<feature>Mappamondo 3D</feature>
<feature>Animazione Educativo</feature>
</features>
</texts>
</description-localization>
<description-localization language="pt">
<texts>
<title>SPB Geo Game</title>
<keywords>spb, geo, jogos, países, capitais, bandeiras, curiosidades</keywords>
<short-description>Com o SPB Geo Game pode estudar capitais nacionais e bandeiras.</short-description>
<full-description>
Com o SPB Geo Game pode estudar capitais nacionais e bandeiras.
<features>
<ul>
<li>Bandeiras do Mundo</li>
<li>Capitais do Mundo</li>
<li>Globo 3D</li>
<li>Informação Educacional</li>
</ul>
</features>
</full-description>
<features>
<feature>Bandeiras do Mundo</feature>
<feature>Capitais do Mundo</feature>
<feature>Globo 3D</feature>
<feature>Informação Educacional</feature>
</features>
</texts>
</description-localization>
<description-localization language="ja">
<texts>
<title>SPB Geo Game</title>
<keywords>spb, geo, game, 地理、ゲーム、国、首都、フラグ、トリビア</keywords>
<short-description>SPB Geo Game では、楽しみながら首都や国旗を覚えることができます。</short-description>
<full-description>
SPB Geo Game では、楽しみながら首都や国旗を覚えることができます。
<features>
<ul>
<li>国旗</li>
<li>世界の首都</li>
<li>3D 地球儀</li>
<li>教育用アニメ</li>
</ul>
</features>
</full-description>
<features>
<feature>国旗</feature>
<feature>世界の首都</feature>
<feature>3D 地球儀</feature>
<feature>教育用アニメ</feature>
</features>
</texts>
</description-localization>
<content-description>
<content-rating>3</content-rating>
<content-descriptors>
<cartoon-violence>no</cartoon-violence>
<realistic-violence>no</realistic-violence>
<bad-language>no</bad-language>
<fear>no</fear>
<sexual-content>no</sexual-content>
<drugs>no</drugs>
<gambling-reference>no</gambling-reference>
<alcohol>no</alcohol>
<smoking>strong</smoking>
<discrimination>no</discrimination>
</content-descriptors>
<included-activities>
<in-app-billing>no</in-app-billing>
<gambling>no</gambling>
<advertising>no</advertising>
<user-generated-content>no</user-generated-content>
<user-to-user-communications>no</user-to-user-communications>
<account-creation>no</account-creation>
<personal-information-collection>no</personal-information-collection>
</included-activities>
</content-description>
<price free="no">
<base-price>0.99</base-price>
<local-price country="AU">0.99</local-price>
<local-price country="AT">0.69</local-price>
<local-price country="BE">0.69</local-price>
<local-price country="BR">2.00</local-price>
<local-price country="CA">0.99</local-price>
<local-price country="CZ">19.50</local-price>
<local-price country="DK">6.00</local-price>
<local-price country="EE">0.69</local-price>
<local-price country="FI">0.69</local-price>
<local-price country="FR">0.69</local-price>
<local-price country="DE">0.69</local-price>
<local-price country="GR">0.69</local-price>
<local-price country="HK">7.49</local-price>
<local-price country="IN">52.49</local-price>
<local-price country="IE">0.69</local-price>
<local-price country="IL">3.49</local-price>
<local-price country="IT">0.69</local-price>
<local-price country="JP">99</local-price>
<local-price country="LU">0.69</local-price>
<local-price country="MX">12.99</local-price>
<local-price country="NL">0.69</local-price>
<local-price country="NZ">0.99</local-price>
<local-price country="NO">6.00</local-price>
<local-price country="PL">2.99</local-price>
<local-price country="PT">0.69</local-price>
<local-price country="RU">30</local-price>
<local-price country="SG">0.99</local-price>
<local-price country="SK">0.69</local-price>
<local-price country="SI">0.69</local-price>
<local-price country="KR">1000</local-price>
<local-price country="ES">0.69</local-price>
<local-price country="SE">7.00</local-price>
<local-price country="CH">0.99</local-price>
<local-price country="GB">0.59</local-price>
</price>
<apk-files>
<apk-file>SPBGeoGame.apk</apk-file>
</apk-files>
<testing-instructions>
</testing-instructions>
<consent>
<google-android-content-guidelines>yes</google-android-content-guidelines>
<us-export-laws>yes</us-export-laws>
<slideme-agreement>yes</slideme-agreement>
<free-from-third-party-copytighted-content>yes</free-from-third-party-copytighted-content>
<import-export>yes</import-export>
</consent>
<customer-support>
<phone>+7 (812) 3356993</phone>
<email>[email protected]</email>
<website>http://www.yandex.ru</website>
</customer-support>
<store-specific>
<amazon>
<form-factor>all</form-factor>
<free-app-of-the-day-eligibility>yes</free-app-of-the-day-eligibility>
<apply-amazon-drm>yes</apply-amazon-drm>
<kindle-support>
<kindle-fire-first-generation>yes</kindle-fire-first-generation>
<kindle-fire>yes</kindle-fire>
<kindle-fire-hd>yes</kindle-fire-hd>
<kindle-fire-hd-8-9>yes</kindle-fire-hd-8-9>
</kindle-support>
<binary-alias>Version 1.0</binary-alias>
</amazon>
<samsung>
<form-factor>phone,tablet</form-factor>
</samsung>
</store-specific>
</application>
</application-description-file> | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 1999-2000 Harri Porten ([email protected])
* Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
* Copyright (C) 2007 Cameron Zwarich ([email protected])
* Copyright (C) 2007 Maks Orlovich
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*
*/
#ifndef JSGlobalObjectFunctions_h
#define JSGlobalObjectFunctions_h
#include "JSValue.h"
#include <wtf/unicode/Unicode.h>
namespace JSC {
class ArgList;
class ExecState;
class JSObject;
// FIXME: These functions should really be in JSGlobalObject.cpp, but putting them there
// is a 0.5% reduction.
EncodedJSValue JSC_HOST_CALL globalFuncEval(ExecState*);
EncodedJSValue JSC_HOST_CALL globalFuncParseInt(ExecState*);
EncodedJSValue JSC_HOST_CALL globalFuncParseFloat(ExecState*);
EncodedJSValue JSC_HOST_CALL globalFuncIsNaN(ExecState*);
EncodedJSValue JSC_HOST_CALL globalFuncIsFinite(ExecState*);
EncodedJSValue JSC_HOST_CALL globalFuncDecodeURI(ExecState*);
EncodedJSValue JSC_HOST_CALL globalFuncDecodeURIComponent(ExecState*);
EncodedJSValue JSC_HOST_CALL globalFuncEncodeURI(ExecState*);
EncodedJSValue JSC_HOST_CALL globalFuncEncodeURIComponent(ExecState*);
EncodedJSValue JSC_HOST_CALL globalFuncEscape(ExecState*);
EncodedJSValue JSC_HOST_CALL globalFuncUnescape(ExecState*);
#ifndef NDEBUG
EncodedJSValue JSC_HOST_CALL globalFuncJSCPrint(ExecState*);
#endif
static const double mantissaOverflowLowerBound = 9007199254740992.0;
double parseIntOverflow(const char*, int length, int radix);
double parseIntOverflow(const UChar*, int length, int radix);
bool isStrWhiteSpace(UChar);
double jsToNumber(const UString& s);
} // namespace JSC
#endif // JSGlobalObjectFunctions_h
| {
"pile_set_name": "Github"
} |
#include <string>
#include "boost/scoped_ptr.hpp"
#include "gtest/gtest.h"
#include "caffe/common.hpp"
#include "caffe/proto/caffe.pb.h"
#include "caffe/util/db.hpp"
#include "caffe/util/io.hpp"
#include "caffe/test/test_caffe_main.hpp"
namespace caffe {
using boost::scoped_ptr;
template <typename TypeParam>
class DBTest : public ::testing::Test {
protected:
DBTest()
: backend_(TypeParam::backend),
root_images_(string(EXAMPLES_SOURCE_DIR) + string("images/")) {}
virtual void SetUp() {
MakeTempDir(&source_);
source_ += "/db";
string keys[] = {"cat.jpg", "fish-bike.jpg"};
LOG(INFO) << "Using temporary db " << source_;
scoped_ptr<db::DB> db(db::GetDB(TypeParam::backend));
db->Open(this->source_, db::NEW);
scoped_ptr<db::Transaction> txn(db->NewTransaction());
for (int i = 0; i < 2; ++i) {
Datum datum;
ReadImageToDatum(root_images_ + keys[i], i, &datum);
string out;
CHECK(datum.SerializeToString(&out));
txn->Put(keys[i], out);
}
txn->Commit();
}
virtual ~DBTest() { }
DataParameter_DB backend_;
string source_;
string root_images_;
};
struct TypeLevelDB {
static DataParameter_DB backend;
};
DataParameter_DB TypeLevelDB::backend = DataParameter_DB_LEVELDB;
struct TypeLMDB {
static DataParameter_DB backend;
};
DataParameter_DB TypeLMDB::backend = DataParameter_DB_LMDB;
// typedef ::testing::Types<TypeLmdb> TestTypes;
typedef ::testing::Types<TypeLevelDB, TypeLMDB> TestTypes;
TYPED_TEST_CASE(DBTest, TestTypes);
TYPED_TEST(DBTest, TestGetDB) {
scoped_ptr<db::DB> db(db::GetDB(TypeParam::backend));
}
TYPED_TEST(DBTest, TestNext) {
scoped_ptr<db::DB> db(db::GetDB(TypeParam::backend));
db->Open(this->source_, db::READ);
scoped_ptr<db::Cursor> cursor(db->NewCursor());
EXPECT_TRUE(cursor->valid());
cursor->Next();
EXPECT_TRUE(cursor->valid());
cursor->Next();
EXPECT_FALSE(cursor->valid());
}
TYPED_TEST(DBTest, TestSeekToFirst) {
scoped_ptr<db::DB> db(db::GetDB(TypeParam::backend));
db->Open(this->source_, db::READ);
scoped_ptr<db::Cursor> cursor(db->NewCursor());
cursor->Next();
cursor->SeekToFirst();
EXPECT_TRUE(cursor->valid());
string key = cursor->key();
Datum datum;
datum.ParseFromString(cursor->value());
EXPECT_EQ(key, "cat.jpg");
EXPECT_EQ(datum.channels(), 3);
EXPECT_EQ(datum.height(), 360);
EXPECT_EQ(datum.width(), 480);
}
TYPED_TEST(DBTest, TestKeyValue) {
scoped_ptr<db::DB> db(db::GetDB(TypeParam::backend));
db->Open(this->source_, db::READ);
scoped_ptr<db::Cursor> cursor(db->NewCursor());
EXPECT_TRUE(cursor->valid());
string key = cursor->key();
Datum datum;
datum.ParseFromString(cursor->value());
EXPECT_EQ(key, "cat.jpg");
EXPECT_EQ(datum.channels(), 3);
EXPECT_EQ(datum.height(), 360);
EXPECT_EQ(datum.width(), 480);
cursor->Next();
EXPECT_TRUE(cursor->valid());
key = cursor->key();
datum.ParseFromString(cursor->value());
EXPECT_EQ(key, "fish-bike.jpg");
EXPECT_EQ(datum.channels(), 3);
EXPECT_EQ(datum.height(), 323);
EXPECT_EQ(datum.width(), 481);
cursor->Next();
EXPECT_FALSE(cursor->valid());
}
TYPED_TEST(DBTest, TestWrite) {
scoped_ptr<db::DB> db(db::GetDB(TypeParam::backend));
db->Open(this->source_, db::WRITE);
scoped_ptr<db::Transaction> txn(db->NewTransaction());
Datum datum;
ReadFileToDatum(this->root_images_ + "cat.jpg", 0, &datum);
string out;
CHECK(datum.SerializeToString(&out));
txn->Put("cat.jpg", out);
ReadFileToDatum(this->root_images_ + "fish-bike.jpg", 1, &datum);
CHECK(datum.SerializeToString(&out));
txn->Put("fish-bike.jpg", out);
txn->Commit();
}
} // namespace caffe
| {
"pile_set_name": "Github"
} |
\begin{tikzpicture}
\begin{axis}[
colorbar,
colorbar style={ylabel={}},
colormap/viridis,
point meta max=1,
point meta min=0,
tick align=outside,
tick pos=left,
x grid style={white!69.019608!black},
xmin=-0.5, xmax=2.5,
xtick style={color=black},
y dir=reverse,
y grid style={white!69.019608!black},
ymin=-0.5, ymax=2.5,
ytick style={color=black}
]
\addplot graphics [includegraphics cmd=\pgfimage,xmin=-0.5, xmax=2.5, ymin=2.5, ymax=-0.5] {tmp-000.png};
\end{axis}
\end{tikzpicture}
| {
"pile_set_name": "Github"
} |
fluffy_JJ
glazed_JJ
innocuous_JJ
good_JJ
moral_JJ
romantic_JJ
inseparable_JJ
similar_JJ
contrastive_JJ
likable_JJ
catholic_JJ
outgoing_JJ
jewish_JJ
catholic_JJ
jewish_JJ
mandatory_JJ
new_JJ
workaholic_JJ
endless_JJ
spare_JJ
ecstatic_JJ
elementary_JJ
bound_JJ
awkward_JJ
central_JJ
difficult_JJ
open_JJ
entertaining_JJ
relaxed_JJ
versatile_JJ
primal_JJ
bitter_JJ
american_JJ
vicious_JJ
quaint_JJ
romantic_JJ
peculiar_JJ
incisive_JJ
resourceful_JJ
additional_JJ
perceptive_JJ
impressive_JJ
directorial_JJ
sheepish_JJ
likable_JJ
zipper_JJR
firm_JJ
funny_JJ
fully-ripened_JJ
perky_JJ
tiresome_JJ
rambunctious_JJ
remaining_JJ
fine_JJ
animated_JJ
jewish_JJ
forman_JJ
elderly_JJ
quick_JJ
intelligent_JJ
perfect_JJ
associate_JJ
general_JJ
numerous_JJ
projected_JJ
funny_JJ
cheerful_JJ
lovable_JJ
various_JJ
true_JJ
acceptable_JJ
preceding_JJ
romantic_JJ
mishandled_JJ
enjoyable_JJ
romantic_JJ
observant_JJ
heaven-sent_JJ
little_JJ
tired_JJ
| {
"pile_set_name": "Github"
} |
'''
Python mapping for the PDFKit framework.
This module does not contain docstrings for the wrapped code, check Apple's
documentation for details on how to use these functions and classes.
'''
import sys
import objc
import AppKit
from Quartz.PDFKit import _metadata
from Quartz.PDFKit import _PDFKit
sys.modules['Quartz.PDFKit'] = mod = objc.ObjCLazyModule('Quartz.PDFKit',
"com.apple.PDFKit",
objc.pathForFramework("/System/Library/Frameworks/Quartz.framework/Frameworks/PDFKit.framework"),
_metadata.__dict__, None, {
'__doc__': __doc__,
'__path__': __path__,
'__loader__': globals().get('__loader__', None),
'objc': objc,
}, ( AppKit,))
import sys
del sys.modules['Quartz.PDFKit._metadata']
| {
"pile_set_name": "Github"
} |
/******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2019-2020 Baldur Karlsson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
******************************************************************************/
#include "d3d11_test.h"
typedef int(WINAPI *PFN_BEGIN_EVENT)(DWORD, WCHAR *);
typedef int(WINAPI *PFN_END_EVENT)();
RD_TEST(D3D11_Refcount_Check, D3D11GraphicsTest)
{
static constexpr const char *Description =
"Ensures that the device etc doesn't delete itself when there are still outstanding "
"references, and also that it *does* delete itself when any cycle is detected.";
D3D11GraphicsTest reftest;
void Prepare(int argc, char **argv)
{
reftest.headless = true;
reftest.Prepare(argc, argv);
D3D11GraphicsTest::Prepare(argc, argv);
}
#define CHECK_REFCOUNT(obj, expected) \
{ \
ULONG count = GetRefcount(obj); \
if(count != expected) \
{ \
if(!failed) \
DEBUG_BREAK(); \
failed = true; \
TEST_WARN(#obj " has wrong reference count. Got %u expected %u", count, expected); \
} \
}
bool IsICDLoaded()
{
if(rdoc || reftest.rdoc)
{
// renderdoc keeps driver DLLs around to avoid race condition bugs, so we can't check on those
// DLLs being unloaded.
// Instead we hack by calling D3D9's Begin/EndEvent. If there's no D3D11 device alive it
// always returns 0, otherwise it returns the nesting level minus 1. Since we don't have a
// device/context to force it to drain the annotation queue we take advantage of the nesting
// level starting at 0, so calling an unbalanced end() will return -1.
static HMODULE d3d9 = LoadLibraryA("d3d9.dll");
static PFN_BEGIN_EVENT begin = (PFN_BEGIN_EVENT)GetProcAddress(d3d9, "D3DPERF_BeginEvent");
static PFN_END_EVENT end = (PFN_END_EVENT)GetProcAddress(d3d9, "D3DPERF_EndEvent");
// don't care about these being unbalanced
return end() != 0;
}
// a bit of a hack but I don't know of a better way to test if the device was really destroyed
return GetModuleHandleA("nvwgf2um.dll") != NULL || GetModuleHandleA("nvwgf2umx.dll") != NULL ||
GetModuleHandleA("atidxx32.dll") != NULL || GetModuleHandleA("atidxx64.dll") != NULL ||
GetModuleHandleA("igd10iumd32.dll") != NULL ||
GetModuleHandleA("igd10iumd64.dll") != NULL;
}
bool HasMessages(ID3D11InfoQueue * infoQueue, const std::vector<std::string> &haystacks)
{
std::string concat;
UINT64 num = infoQueue->GetNumStoredMessages();
for(UINT64 i = 0; i < num; i++)
{
SIZE_T len = 0;
infoQueue->GetMessage(i, NULL, &len);
char *msgbuf = new char[len];
D3D11_MESSAGE *message = (D3D11_MESSAGE *)msgbuf;
infoQueue->GetMessage(i, message, &len);
if(message->Severity == D3D11_MESSAGE_SEVERITY_INFO)
concat += "INFO: ";
concat += message->pDescription;
concat += "\n";
delete[] msgbuf;
}
infoQueue->ClearStoredMessages();
bool ret = true;
for(const std::string &haystack : haystacks)
ret &= (concat.find(haystack) != std::string::npos);
return ret;
}
bool HasMessage(ID3D11InfoQueue * infoQueue, const std::string &haystack)
{
return HasMessages(infoQueue, {haystack});
}
int main()
{
// force a debug device
reftest.debugDevice = true;
if(!reftest.Init())
return 4;
{
D3D_FEATURE_LEVEL features[] = {D3D_FEATURE_LEVEL_11_0};
ULONG ret = 0;
UINT dummy[] = {16, 16, 16, 16, 16};
bool failed = false;
static const GUID unwrappedID3D11InfoQueue__uuid = {
0x3fc4e618, 0x3f70, 0x452a, {0x8b, 0x8f, 0xa7, 0x3a, 0xcc, 0xb5, 0x8e, 0x3d}};
// for the first device enable INFO for creation/destruction
ID3D11InfoQueue *infoQueue = NULL;
// try first with renderdoc's GUID to get the unwrapped queue for testing against
reftest.dev.QueryInterface(unwrappedID3D11InfoQueue__uuid, &infoQueue);
if(infoQueue == NULL)
reftest.dev.QueryInterface(__uuidof(ID3D11InfoQueue), &infoQueue);
infoQueue->ClearStorageFilter();
infoQueue->ClearRetrievalFilter();
infoQueue->ClearStoredMessages();
ID3D11Debug *dbg = NULL;
reftest.dev.QueryInterface(__uuidof(ID3D11Debug), &dbg);
// remove our references to everything but vb which we take locally
reftest.defaultLayout = NULL;
reftest.swap = NULL;
reftest.bbTex = NULL;
reftest.bbRTV = NULL;
reftest.dev1 = NULL;
reftest.dev2 = NULL;
reftest.dev3 = NULL;
reftest.dev4 = NULL;
reftest.dev5 = NULL;
reftest.ctx = NULL;
reftest.ctx1 = NULL;
reftest.ctx2 = NULL;
reftest.ctx3 = NULL;
reftest.ctx4 = NULL;
reftest.annot = NULL;
reftest.swapBlitVS = NULL;
reftest.swapBlitPS = NULL;
dbg->ReportLiveDeviceObjects(D3D11_RLDO_DETAIL);
// reference counting behaviour is NOT CONTRACTUAL but some applications check for it anyway.
// this is particularly annoying when they're checking for implementation details, like
// whether a resource hits 0 refcount even if it's still bound somewhere, etc.
// The below refcounting behaviour was accurate for the D3D11 runtime at time of writing, and
// we check it against renderdoc which is based on emulating that behaviour enough to fit this
// test.
// grab the device into a local pointer so we can AddRef / Release manually
ID3D11Device *localdev = reftest.dev;
localdev->AddRef();
reftest.dev = NULL;
ID3D11DeviceContext *localctx = NULL;
localdev->GetImmediateContext(&localctx);
////////////////////////////////////////////////////////////
// Create a VB and test basic 'child resource' <-> device refcounting
ID3D11BufferPtr buf = D3D11BufferCreator(localdev).Vertex().Data(DefaultTri);
ID3D11Buffer *localvb = buf;
localvb->AddRef();
buf = NULL;
dbg->ReportLiveDeviceObjects(D3D11_RLDO_DETAIL);
// the device should have 5 references - localdev, localctx, localvb, dbg, and infoQueue
CHECK_REFCOUNT(localdev, 5);
// the VB has one reference
CHECK_REFCOUNT(localvb, 1);
// add 3 refs to the vertex buffer
localvb->AddRef();
localvb->AddRef();
localvb->AddRef();
// the device should still only have 5 references, localvb only holds one on the device
CHECK_REFCOUNT(localdev, 5);
// but the VB has 4 references
CHECK_REFCOUNT(localvb, 4);
localvb->Release();
localvb->Release();
localvb->Release();
CHECK_REFCOUNT(localdev, 5);
CHECK_REFCOUNT(localvb, 1);
dbg->ReportLiveDeviceObjects(D3D11_RLDO_DETAIL);
////////////////////////////////////////////////////////////
// in spite of being cached, state objects should not refcount strangely (apart from
// duplicates sharing a pointer)
{
D3D11_RASTERIZER_DESC rsdesc = {};
// ensure this isn't the default rasterizer state
rsdesc.CullMode = D3D11_CULL_BACK;
rsdesc.FillMode = D3D11_FILL_WIREFRAME;
rsdesc.DepthBias = 55;
ID3D11RasterizerState *rs1 = NULL, *rs2 = NULL, *rs3 = NULL;
localdev->CreateRasterizerState(&rsdesc, &rs1);
CHECK_REFCOUNT(localdev, 6);
CHECK_REFCOUNT(rs1, 1);
// change the state, get a new object
rsdesc.DepthBias = 99;
localdev->CreateRasterizerState(&rsdesc, &rs2);
CHECK_REFCOUNT(localdev, 7);
CHECK_REFCOUNT(rs1, 1);
CHECK_REFCOUNT(rs2, 1);
// keep the same state, get the same object
localdev->CreateRasterizerState(&rsdesc, &rs3);
CHECK_REFCOUNT(localdev, 7);
CHECK_REFCOUNT(rs1, 1);
CHECK_REFCOUNT(rs2, 2);
CHECK_REFCOUNT(rs3, 2);
if(rs2 != rs3)
{
failed = true;
TEST_ERROR("Expected to get the same state object back");
}
rs1->Release();
rs2->Release();
rs3->Release();
}
CHECK_REFCOUNT(localdev, 5);
////////////////////////////////////////////////////////////
// create a texture and check view <-> resource <-> device refcounting
ID3D11Texture2DPtr tex =
D3D11TextureCreator(localdev, DXGI_FORMAT_BC1_UNORM, 128, 128, 1).SRV();
ID3D11Texture2D *localtex = tex;
localtex->AddRef();
tex = NULL;
// device has a new reference
CHECK_REFCOUNT(localdev, 6);
CHECK_REFCOUNT(localtex, 1);
ID3D11ShaderResourceViewPtr srv = D3D11ViewCreator(localdev, ViewType::SRV, localtex);
ID3D11ShaderResourceView *localsrv = srv;
localsrv->AddRef();
srv = NULL;
// the device has a new ref from the texture, AND from the SRV
CHECK_REFCOUNT(localdev, 7);
// the texture doesn't get a ref from the view
CHECK_REFCOUNT(localtex, 1);
CHECK_REFCOUNT(localsrv, 1);
dbg->ReportLiveDeviceObjects(D3D11_RLDO_DETAIL);
// release the texture. It is kept alive by the SRV, but the device refcount goes down too
localtex->Release();
CHECK_REFCOUNT(localdev, 6);
CHECK_REFCOUNT(localtex, 0);
CHECK_REFCOUNT(localsrv, 1);
dbg->ReportLiveDeviceObjects(D3D11_RLDO_DETAIL);
{
ID3D11Texture2D *texretrieve = NULL;
ID3D11Resource *resretrieve = NULL;
localsrv->GetResource(&resretrieve);
resretrieve->QueryInterface(__uuidof(ID3D11Texture2D), (void **)&texretrieve);
ID3D11Texture2D *texcast = (ID3D11Texture2D *)resretrieve;
if(texretrieve != localtex)
{
failed = true;
TEST_ERROR("Expected texture to come back identically");
}
if(texcast != localtex)
{
failed = true;
TEST_ERROR("Expected texture to come back identically");
}
texretrieve->Release();
resretrieve->Release();
}
localtex->AddRef();
CHECK_REFCOUNT(localdev, 7);
CHECK_REFCOUNT(localtex, 1);
CHECK_REFCOUNT(localsrv, 1);
localsrv->AddRef();
localsrv->AddRef();
localsrv->AddRef();
// external SRV references only apply to the SRV, not the texture or device. Same as any other
// ID3D11DeviceChild
CHECK_REFCOUNT(localdev, 7);
CHECK_REFCOUNT(localtex, 1);
CHECK_REFCOUNT(localsrv, 4);
localsrv->Release();
localsrv->Release();
localsrv->Release();
CHECK_REFCOUNT(localdev, 7);
CHECK_REFCOUNT(localtex, 1);
CHECK_REFCOUNT(localsrv, 1);
dbg->ReportLiveDeviceObjects(D3D11_RLDO_DETAIL);
////////////////////////////////////////////////////////////
// check refcounting on a deferred context
ID3D11DeviceContext *localdefctx;
localdev->CreateDeferredContext(0, &localdefctx);
// device gets another reference
CHECK_REFCOUNT(localdev, 8);
CHECK_REFCOUNT(localdefctx, 1);
localdefctx->ClearState();
// bind the VB. Doesn't change any public refcounts
localdefctx->IASetVertexBuffers(0, 1, &localvb, dummy, dummy);
CHECK_REFCOUNT(localdev, 8);
CHECK_REFCOUNT(localdefctx, 1);
CHECK_REFCOUNT(localvb, 1);
// VB is now held alive by the defctx
localvb->Release();
CHECK_REFCOUNT(localdev, 7);
CHECK_REFCOUNT(localdefctx, 1);
CHECK_REFCOUNT(localvb, 0);
dbg->ReportLiveDeviceObjects(D3D11_RLDO_DETAIL);
{
ID3D11Buffer *vbretrieve = NULL;
localdefctx->IAGetVertexBuffers(0, 1, &vbretrieve, NULL, NULL);
if(vbretrieve != localvb)
{
failed = true;
TEST_ERROR("Expected buffer to come back identically");
}
vbretrieve->Release();
}
localvb->AddRef();
CHECK_REFCOUNT(localdev, 8);
CHECK_REFCOUNT(localdefctx, 1);
CHECK_REFCOUNT(localvb, 1);
localdefctx->Draw(0, 0);
ID3D11CommandList *locallist = NULL;
localdefctx->FinishCommandList(FALSE, &locallist);
infoQueue->ClearStoredMessages();
// extra refcount for the list, but otherwise unchanged
CHECK_REFCOUNT(localdev, 9);
CHECK_REFCOUNT(localdefctx, 1);
CHECK_REFCOUNT(locallist, 1);
CHECK_REFCOUNT(localvb, 1);
ret = localdefctx->Release();
// this should release it
if(ret != 0)
{
failed = true;
TEST_ERROR("localdefctx still has outstanding references");
}
if(!HasMessage(infoQueue, "INFO: Destroy ID3D11Context"))
{
failed = true;
TEST_ERROR("Expected localdefctx to be really destroyed");
}
CHECK_REFCOUNT(localdev, 8);
CHECK_REFCOUNT(locallist, 1);
CHECK_REFCOUNT(localvb, 1);
// the VB is held alive by the list now, though we can't retrieve it anymore
// we skip this test because although the runtime is smart enough to keep refs
// on the necessary objects, we aren't and we hope no-one actually takes advantage of this.
if(0)
{
localvb->Release();
CHECK_REFCOUNT(localvb, 0);
dbg->ReportLiveDeviceObjects(D3D11_RLDO_DETAIL);
localvb->AddRef();
CHECK_REFCOUNT(localvb, 1);
if(HasMessage(infoQueue, "INFO: Destroy"))
{
failed = true;
TEST_ERROR("localvb should not have been destroyed");
}
}
CHECK_REFCOUNT(localdev, 8);
CHECK_REFCOUNT(locallist, 1);
CHECK_REFCOUNT(localvb, 1);
ret = locallist->Release();
localctx->Flush();
// this should release it
if(ret != 0)
{
failed = true;
TEST_ERROR("locallist still has outstanding references");
}
if(!HasMessage(infoQueue, "INFO: Destroy ID3D11CommandList"))
{
failed = true;
TEST_ERROR("Expected locallist to be really destroyed");
}
CHECK_REFCOUNT(localdev, 7);
////////////////////////////////////////////////////////////
// check that resources which are bound but don't have an external ref stay alive
dbg->ReportLiveDeviceObjects(D3D11_RLDO_DETAIL);
infoQueue->ClearStoredMessages();
// another new device refcount
CHECK_REFCOUNT(localdev, 7);
CHECK_REFCOUNT(localctx, 1);
CHECK_REFCOUNT(localvb, 1);
CHECK_REFCOUNT(localtex, 1);
CHECK_REFCOUNT(localsrv, 1);
// binding doesn't change public refcounts
localctx->ClearState();
localctx->IASetVertexBuffers(0, 1, &localvb, dummy, dummy);
localctx->PSSetShaderResources(0, 1, &localsrv);
CHECK_REFCOUNT(localdev, 7);
CHECK_REFCOUNT(localctx, 1);
CHECK_REFCOUNT(localvb, 1);
CHECK_REFCOUNT(localtex, 1);
CHECK_REFCOUNT(localsrv, 1);
// but it means we can release things and they stay alive
localvb->Release();
localtex->Release();
localsrv->Release();
localctx->Flush();
CHECK_REFCOUNT(localvb, 0);
CHECK_REFCOUNT(localtex, 0);
CHECK_REFCOUNT(localsrv, 0);
if(HasMessage(infoQueue, "INFO: Destroy"))
{
failed = true;
TEST_ERROR("Expected nothing to be destroyed");
}
localvb->AddRef();
localtex->AddRef();
localsrv->AddRef();
CHECK_REFCOUNT(localdev, 7);
CHECK_REFCOUNT(localctx, 1);
CHECK_REFCOUNT(localvb, 1);
CHECK_REFCOUNT(localtex, 1);
CHECK_REFCOUNT(localsrv, 1);
localctx->ClearState();
localctx->Flush();
////////////////////////////////////////////////////////////
dbg->ReportLiveDeviceObjects(D3D11_RLDO_DETAIL);
ret = localvb->Release();
localctx->Flush();
// this should release it
if(ret != 0)
{
failed = true;
TEST_ERROR("localvb still has outstanding references");
}
if(!HasMessage(infoQueue, "INFO: Destroy ID3D11Buffer"))
{
failed = true;
TEST_ERROR("Expected localvb to be really destroyed");
}
CHECK_REFCOUNT(localdev, 6);
ret = localsrv->Release();
localctx->Flush();
// this should release it
if(ret != 0)
{
failed = true;
TEST_ERROR("localsrv still has outstanding references");
}
if(!HasMessage(infoQueue, "INFO: Destroy ID3D11ShaderResourceView"))
{
failed = true;
TEST_ERROR("Expected localsrv to be really destroyed");
}
CHECK_REFCOUNT(localdev, 5);
ret = localtex->Release();
localctx->Flush();
// this should release it
if(ret != 0)
{
failed = true;
TEST_ERROR("localtex still has outstanding references");
}
if(!HasMessage(infoQueue, "INFO: Destroy ID3D11Texture2D"))
{
failed = true;
TEST_ERROR("Expected localtex to be really destroyed");
}
// the device should have 4 references - localdev, localctx, dbg and infoQueue
CHECK_REFCOUNT(localdev, 4);
dbg->ReportLiveDeviceObjects(D3D11_RLDO_DETAIL);
// ID3DUserDefinedAnnotation shares the context's refcount
{
CHECK_REFCOUNT(localctx, 1);
ID3DUserDefinedAnnotationPtr annottest = localctx;
if(annottest)
{
CHECK_REFCOUNT(localctx, 2);
ID3DUserDefinedAnnotation *localannot = annottest;
CHECK_REFCOUNT(localctx, 2);
CHECK_REFCOUNT(localannot, 2);
}
}
CHECK_REFCOUNT(localctx, 1);
CHECK_REFCOUNT(localdev, 4);
localctx->Release();
localctx = NULL;
dbg->Release();
dbg = NULL;
infoQueue->Release();
infoQueue = NULL;
// the device should only have this reference - localdev
CHECK_REFCOUNT(localdev, 1);
bool before = IsICDLoaded();
ret = localdev->Release();
if(ret != 0)
{
failed = true;
TEST_ERROR("localdev still has outstanding references");
}
bool after = IsICDLoaded();
if(!before)
{
TEST_WARN("Couldn't detect ICD at all - unclear if device really was destroyed");
}
else if(before && after)
{
failed = true;
TEST_ERROR("Device leaked - ICD dll stayed present");
}
///////////////////////////////////////////////////////////////////////////
// test a device staying alive based on an unbound child resource
reftest.CreateDevice({}, NULL, features, D3D11_CREATE_DEVICE_DEBUG);
localdev = reftest.dev;
localdev->AddRef();
reftest.dev = NULL;
reftest.ctx = NULL;
CHECK_REFCOUNT(localdev, 1);
buf = D3D11BufferCreator(localdev).Vertex().Data(DefaultTri);
localvb = buf;
localvb->AddRef();
buf = NULL;
CHECK_REFCOUNT(localdev, 2);
CHECK_REFCOUNT(localvb, 1);
localdev->Release();
CHECK_REFCOUNT(localdev, 1);
CHECK_REFCOUNT(localvb, 1);
// release the device with the VB
before = IsICDLoaded();
ret = localvb->Release();
if(ret != 0)
{
failed = true;
TEST_ERROR("localvb still has outstanding references");
}
after = IsICDLoaded();
if(!before)
{
TEST_WARN("Couldn't detect ICD at all - unclear if device really was destroyed");
}
else if(before && after)
{
failed = true;
TEST_ERROR("Device leaked - ICD dll stayed present");
}
///////////////////////////////////////////////////////////////////////////
// test a device staying alive based on a *bound* child resource on the immediate context
reftest.CreateDevice({}, NULL, features, D3D11_CREATE_DEVICE_DEBUG);
localdev = reftest.dev;
localdev->AddRef();
reftest.dev = NULL;
reftest.ctx = NULL;
CHECK_REFCOUNT(localdev, 1);
buf = D3D11BufferCreator(localdev).Vertex().Data(DefaultTri);
localvb = buf;
localvb->AddRef();
buf = NULL;
CHECK_REFCOUNT(localdev, 2);
CHECK_REFCOUNT(localvb, 1);
localdev->Release();
CHECK_REFCOUNT(localdev, 1);
CHECK_REFCOUNT(localvb, 1);
localdev->GetImmediateContext(&localctx);
localctx->IASetVertexBuffers(0, 1, &localvb, dummy, dummy);
localctx->Flush();
localctx->Release();
localctx = NULL;
before = IsICDLoaded();
ret = localvb->Release();
if(ret != 0)
{
failed = true;
TEST_ERROR("localvb still has outstanding references");
}
after = IsICDLoaded();
if(!before)
{
TEST_WARN("Couldn't detect ICD at all - unclear if device really was destroyed");
}
else if(before && after)
{
failed = true;
TEST_ERROR("Device leaked - ICD dll stayed present");
}
///////////////////////////////////////////////////////////////////////////
// test a resource or view being destroyed when unbound
reftest.CreateDevice({}, NULL, features, D3D11_CREATE_DEVICE_DEBUG);
localdev = reftest.dev;
localdev->AddRef();
reftest.dev = NULL;
reftest.ctx = NULL;
CHECK_REFCOUNT(localdev, 1);
buf = D3D11BufferCreator(localdev).Vertex().Data(DefaultTri);
localvb = buf;
localvb->AddRef();
buf = NULL;
tex = D3D11TextureCreator(localdev, DXGI_FORMAT_BC1_UNORM, 128, 128, 1).SRV();
localtex = tex;
localtex->AddRef();
tex = NULL;
srv = D3D11ViewCreator(localdev, ViewType::SRV, localtex);
localsrv = srv;
localsrv->AddRef();
srv = NULL;
CHECK_REFCOUNT(localdev, 4);
CHECK_REFCOUNT(localvb, 1);
CHECK_REFCOUNT(localtex, 1);
CHECK_REFCOUNT(localsrv, 1);
localdev->GetImmediateContext(&localctx);
// try first with renderdoc's GUID to get the unwrapped queue for testing against
localdev->QueryInterface(unwrappedID3D11InfoQueue__uuid, (void **)&infoQueue);
if(infoQueue == NULL)
localdev->QueryInterface(__uuidof(ID3D11InfoQueue), (void **)&infoQueue);
infoQueue->ClearStorageFilter();
infoQueue->ClearRetrievalFilter();
infoQueue->ClearStoredMessages();
CHECK_REFCOUNT(localdev, 6);
CHECK_REFCOUNT(localvb, 1);
localctx->IASetVertexBuffers(0, 1, &localvb, dummy, dummy);
localctx->PSSetShaderResources(0, 1, &localsrv);
localctx->Flush();
localvb->Release();
localtex->Release();
localsrv->Release();
localctx->Flush();
CHECK_REFCOUNT(localdev, 3);
CHECK_REFCOUNT(localvb, 0);
CHECK_REFCOUNT(localtex, 0);
CHECK_REFCOUNT(localsrv, 0);
if(HasMessage(infoQueue, "INFO: Destroy"))
{
failed = true;
TEST_ERROR("Expected nothing to be destroyed");
}
localctx->ClearState();
localctx->Flush();
CHECK_REFCOUNT(localdev, 3);
if(!HasMessages(infoQueue, {"INFO: Destroy ID3D11Buffer", "INFO: Destroy ID3D11Texture2D",
"INFO: Destroy ID3D11ShaderResourceView"}))
{
failed = true;
TEST_ERROR("Expected buffer, texture and SRV to be destroyed on unbind");
}
localctx->Release();
localctx = NULL;
infoQueue->Release();
infoQueue = NULL;
CHECK_REFCOUNT(localdev, 1);
before = IsICDLoaded();
ret = localdev->Release();
if(ret != 0)
{
failed = true;
TEST_ERROR("localdev still has outstanding references");
}
after = IsICDLoaded();
if(!before)
{
TEST_WARN("Couldn't detect ICD at all - unclear if device really was destroyed");
}
else if(before && after)
{
failed = true;
TEST_ERROR("Device leaked - ICD dll stayed present");
}
///////////////////////////////////////////////////////////////////////////
// test that resources which temporarily bounce off 0 refcounts in a naive bind/unbind don't
// get destroyed.
reftest.CreateDevice({}, NULL, features, D3D11_CREATE_DEVICE_DEBUG);
localdev = reftest.dev;
localdev->AddRef();
reftest.dev = NULL;
reftest.ctx = NULL;
CHECK_REFCOUNT(localdev, 1);
buf = D3D11BufferCreator(localdev).Vertex().Data(DefaultTri);
localvb = buf;
localvb->AddRef();
buf = NULL;
buf = D3D11BufferCreator(localdev).Vertex().Data(DefaultTri);
ID3D11Buffer *localvb2 = buf;
localvb2->AddRef();
buf = NULL;
buf = D3D11BufferCreator(localdev).Vertex().Data(DefaultTri);
ID3D11Buffer *localvb3 = buf;
localvb3->AddRef();
buf = NULL;
CHECK_REFCOUNT(localdev, 4);
CHECK_REFCOUNT(localvb, 1);
CHECK_REFCOUNT(localvb2, 1);
CHECK_REFCOUNT(localvb3, 1);
localdev->GetImmediateContext(&localctx);
// try first with renderdoc's GUID to get the unwrapped queue for testing against
localdev->QueryInterface(unwrappedID3D11InfoQueue__uuid, (void **)&infoQueue);
if(infoQueue == NULL)
localdev->QueryInterface(__uuidof(ID3D11InfoQueue), (void **)&infoQueue);
infoQueue->ClearStorageFilter();
infoQueue->ClearRetrievalFilter();
infoQueue->ClearStoredMessages();
CHECK_REFCOUNT(localdev, 6);
CHECK_REFCOUNT(localvb, 1);
CHECK_REFCOUNT(localvb2, 1);
CHECK_REFCOUNT(localvb3, 1);
ID3D11Buffer *firstBuffers[] = {localvb, localvb2, localvb3};
localctx->IASetVertexBuffers(0, 3, firstBuffers, dummy, dummy);
localctx->Flush();
localvb->Release();
localvb2->Release();
localvb3->Release();
localctx->Flush();
CHECK_REFCOUNT(localdev, 3);
CHECK_REFCOUNT(localvb, 0);
CHECK_REFCOUNT(localvb2, 0);
CHECK_REFCOUNT(localvb3, 0);
if(HasMessage(infoQueue, "INFO: Destroy"))
{
failed = true;
TEST_ERROR("Expected nothing to be destroyed");
}
// in a naive approach, when replacing localvb with localvb3 in slot 0, localvb is truly not
// referenced anywhere at all. This test ensures that we don't immediately destroy localvb
// when it's unbound from slot 0 because it's soon to be bound to slot 1. Note the same then
// happens with localvb2 which is temporarily reference-less when it's unbound from slot 1
ID3D11Buffer *secondBuffers[] = {localvb3, localvb, localvb2};
localctx->IASetVertexBuffers(0, 3, secondBuffers, dummy, dummy);
localctx->Flush();
CHECK_REFCOUNT(localdev, 3);
CHECK_REFCOUNT(localvb, 0);
CHECK_REFCOUNT(localvb2, 0);
CHECK_REFCOUNT(localvb3, 0);
if(HasMessage(infoQueue, "INFO: Destroy"))
{
failed = true;
TEST_ERROR("Expected nothing to be destroyed");
}
// clearing the state should still unbind and destroy the buffers
localctx->ClearState();
localctx->Flush();
CHECK_REFCOUNT(localdev, 3);
if(!HasMessage(infoQueue, "INFO: Destroy ID3D11Buffer"))
{
failed = true;
TEST_ERROR("Expected buffer, texture and SRV to be destroyed on unbind");
}
localctx->Release();
localctx = NULL;
infoQueue->Release();
infoQueue = NULL;
CHECK_REFCOUNT(localdev, 1);
before = IsICDLoaded();
ret = localdev->Release();
if(ret != 0)
{
failed = true;
TEST_ERROR("localdev still has outstanding references");
}
after = IsICDLoaded();
if(!before)
{
TEST_WARN("Couldn't detect ICD at all - unclear if device really was destroyed");
}
else if(before && after)
{
failed = true;
TEST_ERROR("Device leaked - ICD dll stayed present");
}
///////////////////////////////////////////////////////////////////////////
if(failed)
{
TEST_ERROR("Encountered refcounting errors, aborting test");
return 5;
}
}
// initialise, create window, create device, etc
if(!Init())
return 3;
ID3D11InfoQueuePtr infoQueue = dev;
if(infoQueue)
{
infoQueue->ClearStorageFilter();
infoQueue->ClearRetrievalFilter();
}
// run a normal test that we can capture from, so the checker can see that we got this far
// without failing
ID3DBlobPtr vsblob = Compile(D3DDefaultVertex, "main", "vs_4_0");
ID3DBlobPtr psblob = Compile(D3DDefaultPixel, "main", "ps_4_0");
CreateDefaultInputLayout(vsblob);
ID3D11VertexShaderPtr vs = CreateVS(vsblob);
ID3D11PixelShaderPtr ps = CreatePS(psblob);
ID3D11BufferPtr vb = MakeBuffer().Vertex().Data(DefaultTri);
// destroy backbuffer RTV
bbRTV = NULL;
ctx->Flush();
// save the backbuffer texture
ID3D11Texture2D *localbbtex = bbTex;
// release the backbuffer texture
bbTex = NULL;
ctx->Flush();
if(GetRefcount(localbbtex) != 0)
TEST_FATAL("backbuffer texture isn't 0 refcount!");
// get it back again
CHECK_HR(swap->GetBuffer(0, __uuidof(ID3D11Texture2D), (void **)&bbTex));
if(bbTex != localbbtex)
TEST_FATAL("Expected backbuffer texture to be identical after obtaining it again");
// recreate the RTV
CHECK_HR(dev->CreateRenderTargetView(bbTex, NULL, &bbRTV));
while(Running())
{
ClearRenderTargetView(bbRTV, {0.2f, 0.2f, 0.2f, 1.0f});
IASetVertexBuffer(vb, sizeof(DefaultA2V), 0);
ctx->IASetPrimitiveTopology(D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST);
ctx->IASetInputLayout(defaultLayout);
ctx->VSSetShader(vs, NULL, 0);
ctx->PSSetShader(ps, NULL, 0);
RSSetViewport({0.0f, 0.0f, (float)screenWidth, (float)screenHeight, 0.0f, 1.0f});
ctx->OMSetRenderTargets(1, &bbRTV.GetInterfacePtr(), NULL);
setMarker("Color Draw");
ctx->Draw(3, 0);
Present();
}
return 0;
}
};
REGISTER_TEST();
| {
"pile_set_name": "Github"
} |
#include <fusion/init.h>
BOOL WINAPI DllMain(
HINSTANCE hinstDLL, // handle to DLL module
DWORD fdwReason, // reason for calling function
LPVOID lpReserved ) // reserved
{
// Perform actions based on the reason for calling.
switch( fdwReason )
{
case DLL_PROCESS_ATTACH:
// Initialize once for each new process.
// Return FALSE to fail DLL load.
__Fusion_init_all();
break;
case DLL_THREAD_ATTACH:
// Do thread-specific initialization.
break;
case DLL_THREAD_DETACH:
// Do thread-specific cleanup.
break;
case DLL_PROCESS_DETACH:
// Perform any necessary cleanup.
__Fusion_deinit_all();
break;
}
return TRUE; // Successful DLL_PROCESS_ATTACH.
} | {
"pile_set_name": "Github"
} |
// Fixed Width Icons
// -------------------------
.@{fa-css-prefix}-fw {
width: (18em / 14);
text-align: center;
}
| {
"pile_set_name": "Github"
} |
using System;
namespace Microsoft.DotNet.XHarness.iOS.Shared {
public enum TestTarget {
None,
Simulator_iOS,
Simulator_iOS32,
Simulator_iOS64,
Simulator_tvOS,
Simulator_watchOS,
Device_iOS,
Device_tvOS,
Device_watchOS,
}
public static class TestTargetExtensions {
public static RunMode ToRunMode (this TestTarget target) => target switch
{
TestTarget.Simulator_iOS => RunMode.Classic,
TestTarget.Simulator_iOS32 => RunMode.Sim32,
TestTarget.Simulator_iOS64 => RunMode.Sim64,
TestTarget.Simulator_tvOS => RunMode.TvOS,
TestTarget.Simulator_watchOS => RunMode.WatchOS,
TestTarget.Device_iOS => RunMode.iOS,
TestTarget.Device_tvOS => RunMode.TvOS,
TestTarget.Device_watchOS => RunMode.WatchOS,
_ => throw new ArgumentOutOfRangeException ($"Unknown target: {target}"),
};
public static bool IsSimulator (this TestTarget target) => target switch
{
TestTarget.Simulator_iOS => true,
TestTarget.Simulator_iOS32 => true,
TestTarget.Simulator_iOS64 => true,
TestTarget.Simulator_tvOS => true,
TestTarget.Simulator_watchOS => true,
TestTarget.Device_iOS => false,
TestTarget.Device_tvOS => false,
TestTarget.Device_watchOS => false,
_ => throw new ArgumentOutOfRangeException ($"Unknown target: {target}"),
};
}
}
| {
"pile_set_name": "Github"
} |
Plain text to <%= @recipient %>.
Plain text to <%= @recipient %>.
| {
"pile_set_name": "Github"
} |
CREATE TABLE list (id VARCHAR(64) NOT NULL, value VARCHAR(64) NOT NULL, PRIMARY KEY(id));
INSERT INTO "list" ("id", "value") VALUES (E'AM', E'Aamenia');
INSERT INTO "list" ("id", "value") VALUES (E'IE', E'Aereland');
INSERT INTO "list" ("id", "value") VALUES (E'IS', E'Aesland');
INSERT INTO "list" ("id", "value") VALUES (E'AF', E'Afganistan');
INSERT INTO "list" ("id", "value") VALUES (E'ZA', E'Afrika Anaafo');
INSERT INTO "list" ("id", "value") VALUES (E'CF', E'Afrika Finimfin Man');
INSERT INTO "list" ("id", "value") VALUES (E'AR', E'Agyɛntina');
INSERT INTO "list" ("id", "value") VALUES (E'GB', E'Ahendiman Nkabom');
INSERT INTO "list" ("id", "value") VALUES (E'AX', E'Åland Islands');
INSERT INTO "list" ("id", "value") VALUES (E'AL', E'Albenia');
INSERT INTO "list" ("id", "value") VALUES (E'US', E'Amɛrika');
INSERT INTO "list" ("id", "value") VALUES (E'AS', E'Amɛrika Samoa');
INSERT INTO "list" ("id", "value") VALUES (E'VI', E'Amɛrika Virgin Islands');
INSERT INTO "list" ("id", "value") VALUES (E'KR', E'Anaafo Koria');
INSERT INTO "list" ("id", "value") VALUES (E'AD', E'Andora');
INSERT INTO "list" ("id", "value") VALUES (E'AO', E'Angola');
INSERT INTO "list" ("id", "value") VALUES (E'AI', E'Anguila');
INSERT INTO "list" ("id", "value") VALUES (E'AQ', E'Antarctica');
INSERT INTO "list" ("id", "value") VALUES (E'AG', E'Antigua ne Baabuda');
INSERT INTO "list" ("id", "value") VALUES (E'AW', E'Aruba');
INSERT INTO "list" ("id", "value") VALUES (E'AZ', E'Azebaegyan');
INSERT INTO "list" ("id", "value") VALUES (E'BB', E'Baabados');
INSERT INTO "list" ("id", "value") VALUES (E'BS', E'Bahama');
INSERT INTO "list" ("id", "value") VALUES (E'BD', E'Bangladɛhye');
INSERT INTO "list" ("id", "value") VALUES (E'BH', E'Baren');
INSERT INTO "list" ("id", "value") VALUES (E'BZ', E'Beliz');
INSERT INTO "list" ("id", "value") VALUES (E'BY', E'Bɛlarus');
INSERT INTO "list" ("id", "value") VALUES (E'BE', E'Bɛlgyium');
INSERT INTO "list" ("id", "value") VALUES (E'BM', E'Bɛmuda');
INSERT INTO "list" ("id", "value") VALUES (E'BJ', E'Bɛnin');
INSERT INTO "list" ("id", "value") VALUES (E'BO', E'Bolivia');
INSERT INTO "list" ("id", "value") VALUES (E'BA', E'Bosnia ne Hɛzegovina');
INSERT INTO "list" ("id", "value") VALUES (E'BV', E'Bouvet Island');
INSERT INTO "list" ("id", "value") VALUES (E'BF', E'Bɔkina Faso');
INSERT INTO "list" ("id", "value") VALUES (E'BG', E'Bɔlgeria');
INSERT INTO "list" ("id", "value") VALUES (E'BW', E'Bɔtswana');
INSERT INTO "list" ("id", "value") VALUES (E'BR', E'Brazil');
INSERT INTO "list" ("id", "value") VALUES (E'VG', E'Britainfo Virgin Islands');
INSERT INTO "list" ("id", "value") VALUES (E'IO', E'Britenfo Hɔn Man Wɔ India Po No Mu');
INSERT INTO "list" ("id", "value") VALUES (E'BN', E'Brunae');
INSERT INTO "list" ("id", "value") VALUES (E'BI', E'Burundi');
INSERT INTO "list" ("id", "value") VALUES (E'BT', E'Butan');
INSERT INTO "list" ("id", "value") VALUES (E'BQ', E'Caribbean Netherlands');
INSERT INTO "list" ("id", "value") VALUES (E'CX', E'Christmas Island');
INSERT INTO "list" ("id", "value") VALUES (E'CC', E'Cocos (Keeling) Islands');
INSERT INTO "list" ("id", "value") VALUES (E'CW', E'Curaçao');
INSERT INTO "list" ("id", "value") VALUES (E'DK', E'Dɛnmak');
INSERT INTO "list" ("id", "value") VALUES (E'DM', E'Dɔmeneka');
INSERT INTO "list" ("id", "value") VALUES (E'DO', E'Dɔmeneka Kurokɛse');
INSERT INTO "list" ("id", "value") VALUES (E'KP', E'Etifi Koria');
INSERT INTO "list" ("id", "value") VALUES (E'SV', E'Ɛl Salvadɔ');
INSERT INTO "list" ("id", "value") VALUES (E'ER', E'Ɛritrea');
INSERT INTO "list" ("id", "value") VALUES (E'EE', E'Ɛstonia');
INSERT INTO "list" ("id", "value") VALUES (E'FO', E'Faroe Islands');
INSERT INTO "list" ("id", "value") VALUES (E'FJ', E'Figyi');
INSERT INTO "list" ("id", "value") VALUES (E'FI', E'Finland');
INSERT INTO "list" ("id", "value") VALUES (E'FK', E'Fɔlkman Aeland');
INSERT INTO "list" ("id", "value") VALUES (E'TF', E'French Southern Territories');
INSERT INTO "list" ("id", "value") VALUES (E'GF', E'Frɛnkye Gayana');
INSERT INTO "list" ("id", "value") VALUES (E'PF', E'Frɛnkye Pɔlenehyia');
INSERT INTO "list" ("id", "value") VALUES (E'FR', E'Frɛnkyeman');
INSERT INTO "list" ("id", "value") VALUES (E'GH', E'Gaana');
INSERT INTO "list" ("id", "value") VALUES (E'GA', E'Gabɔn');
INSERT INTO "list" ("id", "value") VALUES (E'GM', E'Gambia');
INSERT INTO "list" ("id", "value") VALUES (E'GY', E'Gayana');
INSERT INTO "list" ("id", "value") VALUES (E'GN', E'Gini');
INSERT INTO "list" ("id", "value") VALUES (E'GW', E'Gini Bisaw');
INSERT INTO "list" ("id", "value") VALUES (E'GQ', E'Gini Ikuweta');
INSERT INTO "list" ("id", "value") VALUES (E'GR', E'Greekman');
INSERT INTO "list" ("id", "value") VALUES (E'GL', E'Greenman');
INSERT INTO "list" ("id", "value") VALUES (E'GD', E'Grenada');
INSERT INTO "list" ("id", "value") VALUES (E'GU', E'Guam');
INSERT INTO "list" ("id", "value") VALUES (E'GG', E'Guernsey');
INSERT INTO "list" ("id", "value") VALUES (E'GP', E'Guwadelup');
INSERT INTO "list" ("id", "value") VALUES (E'GT', E'Guwatemala');
INSERT INTO "list" ("id", "value") VALUES (E'DE', E'Gyaaman');
INSERT INTO "list" ("id", "value") VALUES (E'JM', E'Gyameka');
INSERT INTO "list" ("id", "value") VALUES (E'JP', E'Gyapan');
INSERT INTO "list" ("id", "value") VALUES (E'GI', E'Gyebralta');
INSERT INTO "list" ("id", "value") VALUES (E'DJ', E'Gyibuti');
INSERT INTO "list" ("id", "value") VALUES (E'JO', E'Gyɔdan');
INSERT INTO "list" ("id", "value") VALUES (E'GE', E'Gyɔgyea');
INSERT INTO "list" ("id", "value") VALUES (E'HU', E'Hangari');
INSERT INTO "list" ("id", "value") VALUES (E'HM', E'Heard & McDonald Islands');
INSERT INTO "list" ("id", "value") VALUES (E'HT', E'Heiti');
INSERT INTO "list" ("id", "value") VALUES (E'HK', E'Hong Kong SAR China');
INSERT INTO "list" ("id", "value") VALUES (E'HN', E'Hɔnduras');
INSERT INTO "list" ("id", "value") VALUES (E'EC', E'Ikuwadɔ');
INSERT INTO "list" ("id", "value") VALUES (E'IN', E'India');
INSERT INTO "list" ("id", "value") VALUES (E'ID', E'Indɔnehyia');
INSERT INTO "list" ("id", "value") VALUES (E'IQ', E'Irak');
INSERT INTO "list" ("id", "value") VALUES (E'IR', E'Iran');
INSERT INTO "list" ("id", "value") VALUES (E'IM', E'Isle of Man');
INSERT INTO "list" ("id", "value") VALUES (E'IL', E'Israel');
INSERT INTO "list" ("id", "value") VALUES (E'IT', E'Itali');
INSERT INTO "list" ("id", "value") VALUES (E'ET', E'Ithiopia');
INSERT INTO "list" ("id", "value") VALUES (E'JE', E'Jersey');
INSERT INTO "list" ("id", "value") VALUES (E'NC', E'Kaledonia Foforo');
INSERT INTO "list" ("id", "value") VALUES (E'KH', E'Kambodia');
INSERT INTO "list" ("id", "value") VALUES (E'CM', E'Kamɛrun');
INSERT INTO "list" ("id", "value") VALUES (E'CA', E'Kanada');
INSERT INTO "list" ("id", "value") VALUES (E'QA', E'Kata');
INSERT INTO "list" ("id", "value") VALUES (E'KZ', E'Kazakstan');
INSERT INTO "list" ("id", "value") VALUES (E'KY', E'Kemanfo Islands');
INSERT INTO "list" ("id", "value") VALUES (E'CV', E'Kepvɛdfo Islands');
INSERT INTO "list" ("id", "value") VALUES (E'KG', E'Kɛɛgestan');
INSERT INTO "list" ("id", "value") VALUES (E'KE', E'Kɛnya');
INSERT INTO "list" ("id", "value") VALUES (E'KI', E'Kiribati');
INSERT INTO "list" ("id", "value") VALUES (E'CO', E'Kolombia');
INSERT INTO "list" ("id", "value") VALUES (E'CG', E'Kongo');
INSERT INTO "list" ("id", "value") VALUES (E'CD', E'Kongo (Zair)');
INSERT INTO "list" ("id", "value") VALUES (E'CK', E'Kook Nsupɔw');
INSERT INTO "list" ("id", "value") VALUES (E'KM', E'Kɔmɔrɔs');
INSERT INTO "list" ("id", "value") VALUES (E'CR', E'Kɔsta Rika');
INSERT INTO "list" ("id", "value") VALUES (E'HR', E'Krowehyia');
INSERT INTO "list" ("id", "value") VALUES (E'CU', E'Kuba');
INSERT INTO "list" ("id", "value") VALUES (E'KW', E'Kuwete');
INSERT INTO "list" ("id", "value") VALUES (E'TD', E'Kyad');
INSERT INTO "list" ("id", "value") VALUES (E'CN', E'Kyaena');
INSERT INTO "list" ("id", "value") VALUES (E'CZ', E'Kyɛk Kurokɛse');
INSERT INTO "list" ("id", "value") VALUES (E'CL', E'Kyili');
INSERT INTO "list" ("id", "value") VALUES (E'CI', E'La Côte d’Ivoire');
INSERT INTO "list" ("id", "value") VALUES (E'LR', E'Laeberia');
INSERT INTO "list" ("id", "value") VALUES (E'LU', E'Laksembɛg');
INSERT INTO "list" ("id", "value") VALUES (E'LA', E'Laos');
INSERT INTO "list" ("id", "value") VALUES (E'LV', E'Latvia');
INSERT INTO "list" ("id", "value") VALUES (E'LI', E'Lektenstaen');
INSERT INTO "list" ("id", "value") VALUES (E'LB', E'Lɛbanɔn');
INSERT INTO "list" ("id", "value") VALUES (E'LS', E'Lɛsutu');
INSERT INTO "list" ("id", "value") VALUES (E'LY', E'Libya');
INSERT INTO "list" ("id", "value") VALUES (E'LT', E'Lituwenia');
INSERT INTO "list" ("id", "value") VALUES (E'MO', E'Macao SAR China');
INSERT INTO "list" ("id", "value") VALUES (E'MG', E'Madagaska');
INSERT INTO "list" ("id", "value") VALUES (E'FM', E'Maekronehyia');
INSERT INTO "list" ("id", "value") VALUES (E'MW', E'Malawi');
INSERT INTO "list" ("id", "value") VALUES (E'MV', E'Maldives');
INSERT INTO "list" ("id", "value") VALUES (E'MY', E'Malehyia');
INSERT INTO "list" ("id", "value") VALUES (E'ML', E'Mali');
INSERT INTO "list" ("id", "value") VALUES (E'MS', E'Mantserat');
INSERT INTO "list" ("id", "value") VALUES (E'MH', E'Marshall Islands');
INSERT INTO "list" ("id", "value") VALUES (E'MQ', E'Matinik');
INSERT INTO "list" ("id", "value") VALUES (E'YT', E'Mayɔte');
INSERT INTO "list" ("id", "value") VALUES (E'MX', E'Mɛksiko');
INSERT INTO "list" ("id", "value") VALUES (E'MM', E'Miyanma');
INSERT INTO "list" ("id", "value") VALUES (E'ME', E'Montenegro');
INSERT INTO "list" ("id", "value") VALUES (E'MA', E'Moroko');
INSERT INTO "list" ("id", "value") VALUES (E'MZ', E'Mozambik');
INSERT INTO "list" ("id", "value") VALUES (E'MD', E'Mɔldova');
INSERT INTO "list" ("id", "value") VALUES (E'MT', E'Mɔlta');
INSERT INTO "list" ("id", "value") VALUES (E'MC', E'Mɔnako');
INSERT INTO "list" ("id", "value") VALUES (E'MN', E'Mɔngolia');
INSERT INTO "list" ("id", "value") VALUES (E'MU', E'Mɔrehyeɔs');
INSERT INTO "list" ("id", "value") VALUES (E'MR', E'Mɔretenia');
INSERT INTO "list" ("id", "value") VALUES (E'NG', E'Naegyeria');
INSERT INTO "list" ("id", "value") VALUES (E'NA', E'Namibia');
INSERT INTO "list" ("id", "value") VALUES (E'NR', E'Naworu');
INSERT INTO "list" ("id", "value") VALUES (E'NI', E'Nekaraguwa');
INSERT INTO "list" ("id", "value") VALUES (E'NL', E'Nɛdɛland');
INSERT INTO "list" ("id", "value") VALUES (E'NP', E'Nɛpɔl');
INSERT INTO "list" ("id", "value") VALUES (E'NE', E'Nigyɛ');
INSERT INTO "list" ("id", "value") VALUES (E'EG', E'Nisrim');
INSERT INTO "list" ("id", "value") VALUES (E'NU', E'Niyu');
INSERT INTO "list" ("id", "value") VALUES (E'MK', E'North Macedonia');
INSERT INTO "list" ("id", "value") VALUES (E'MP', E'Northern Mariana Islands');
INSERT INTO "list" ("id", "value") VALUES (E'NF', E'Nɔfolk Aeland');
INSERT INTO "list" ("id", "value") VALUES (E'NO', E'Nɔɔwe');
INSERT INTO "list" ("id", "value") VALUES (E'OM', E'Oman');
INSERT INTO "list" ("id", "value") VALUES (E'DZ', E'Ɔlgyeria');
INSERT INTO "list" ("id", "value") VALUES (E'AU', E'Ɔstrelia');
INSERT INTO "list" ("id", "value") VALUES (E'AT', E'Ɔstria');
INSERT INTO "list" ("id", "value") VALUES (E'PK', E'Pakistan');
INSERT INTO "list" ("id", "value") VALUES (E'PW', E'Palau');
INSERT INTO "list" ("id", "value") VALUES (E'PS', E'Palestaen West Bank ne Gaza');
INSERT INTO "list" ("id", "value") VALUES (E'PA', E'Panama');
INSERT INTO "list" ("id", "value") VALUES (E'PG', E'Papua Guinea Foforo');
INSERT INTO "list" ("id", "value") VALUES (E'PY', E'Paraguay');
INSERT INTO "list" ("id", "value") VALUES (E'PE', E'Peru');
INSERT INTO "list" ("id", "value") VALUES (E'PH', E'Philippines');
INSERT INTO "list" ("id", "value") VALUES (E'PN', E'Pitcairn');
INSERT INTO "list" ("id", "value") VALUES (E'PL', E'Poland');
INSERT INTO "list" ("id", "value") VALUES (E'PT', E'Pɔtugal');
INSERT INTO "list" ("id", "value") VALUES (E'PR', E'Puɛto Riko');
INSERT INTO "list" ("id", "value") VALUES (E'RE', E'Reyuniɔn');
INSERT INTO "list" ("id", "value") VALUES (E'RO', E'Romenia');
INSERT INTO "list" ("id", "value") VALUES (E'RU', E'Rɔhyea');
INSERT INTO "list" ("id", "value") VALUES (E'RW', E'Rwanda');
INSERT INTO "list" ("id", "value") VALUES (E'CY', E'Saeprɔs');
INSERT INTO "list" ("id", "value") VALUES (E'SH', E'Saint Helena');
INSERT INTO "list" ("id", "value") VALUES (E'KN', E'Saint Kitts ne Nɛves');
INSERT INTO "list" ("id", "value") VALUES (E'LC', E'Saint Lucia');
INSERT INTO "list" ("id", "value") VALUES (E'PM', E'Saint Pierre ne Miquelon');
INSERT INTO "list" ("id", "value") VALUES (E'VC', E'Saint Vincent ne Grenadines');
INSERT INTO "list" ("id", "value") VALUES (E'WS', E'Samoa');
INSERT INTO "list" ("id", "value") VALUES (E'SM', E'San Marino');
INSERT INTO "list" ("id", "value") VALUES (E'ST', E'São Tomé and Príncipe');
INSERT INTO "list" ("id", "value") VALUES (E'SA', E'Saudi Arabia');
INSERT INTO "list" ("id", "value") VALUES (E'SN', E'Senegal');
INSERT INTO "list" ("id", "value") VALUES (E'RS', E'Serbia');
INSERT INTO "list" ("id", "value") VALUES (E'SC', E'Seyhyɛl');
INSERT INTO "list" ("id", "value") VALUES (E'SL', E'Sierra Leone');
INSERT INTO "list" ("id", "value") VALUES (E'SG', E'Singapɔ');
INSERT INTO "list" ("id", "value") VALUES (E'SX', E'Sint Maarten');
INSERT INTO "list" ("id", "value") VALUES (E'SY', E'Siria');
INSERT INTO "list" ("id", "value") VALUES (E'SK', E'Slovakia');
INSERT INTO "list" ("id", "value") VALUES (E'SI', E'Slovinia');
INSERT INTO "list" ("id", "value") VALUES (E'SB', E'Solomon Islands');
INSERT INTO "list" ("id", "value") VALUES (E'SO', E'Somalia');
INSERT INTO "list" ("id", "value") VALUES (E'GS', E'South Georgia & South Sandwich Islands');
INSERT INTO "list" ("id", "value") VALUES (E'SS', E'South Sudan');
INSERT INTO "list" ("id", "value") VALUES (E'ES', E'Spain');
INSERT INTO "list" ("id", "value") VALUES (E'LK', E'Sri Lanka');
INSERT INTO "list" ("id", "value") VALUES (E'BL', E'St. Barthélemy');
INSERT INTO "list" ("id", "value") VALUES (E'MF', E'St. Martin');
INSERT INTO "list" ("id", "value") VALUES (E'SD', E'Sudan');
INSERT INTO "list" ("id", "value") VALUES (E'SR', E'Suriname');
INSERT INTO "list" ("id", "value") VALUES (E'SJ', E'Svalbard & Jan Mayen');
INSERT INTO "list" ("id", "value") VALUES (E'SZ', E'Swaziland');
INSERT INTO "list" ("id", "value") VALUES (E'SE', E'Sweden');
INSERT INTO "list" ("id", "value") VALUES (E'CH', E'Swetzaland');
INSERT INTO "list" ("id", "value") VALUES (E'TH', E'Taeland');
INSERT INTO "list" ("id", "value") VALUES (E'TW', E'Taiwan');
INSERT INTO "list" ("id", "value") VALUES (E'TJ', E'Tajikistan');
INSERT INTO "list" ("id", "value") VALUES (E'TZ', E'Tanzania');
INSERT INTO "list" ("id", "value") VALUES (E'TR', E'Tɛɛki');
INSERT INTO "list" ("id", "value") VALUES (E'TM', E'Tɛkmɛnistan');
INSERT INTO "list" ("id", "value") VALUES (E'TL', E'Timɔ Boka');
INSERT INTO "list" ("id", "value") VALUES (E'TG', E'Togo');
INSERT INTO "list" ("id", "value") VALUES (E'TK', E'Tokelau');
INSERT INTO "list" ("id", "value") VALUES (E'TO', E'Tonga');
INSERT INTO "list" ("id", "value") VALUES (E'TT', E'Trinidad ne Tobago');
INSERT INTO "list" ("id", "value") VALUES (E'TN', E'Tunihyia');
INSERT INTO "list" ("id", "value") VALUES (E'TC', E'Turks ne Caicos Islands');
INSERT INTO "list" ("id", "value") VALUES (E'TV', E'Tuvalu');
INSERT INTO "list" ("id", "value") VALUES (E'UM', E'U.S. Outlying Islands');
INSERT INTO "list" ("id", "value") VALUES (E'UG', E'Uganda');
INSERT INTO "list" ("id", "value") VALUES (E'UA', E'Ukren');
INSERT INTO "list" ("id", "value") VALUES (E'AE', E'United Arab Emirates');
INSERT INTO "list" ("id", "value") VALUES (E'UZ', E'Uzbɛkistan');
INSERT INTO "list" ("id", "value") VALUES (E'VU', E'Vanuatu');
INSERT INTO "list" ("id", "value") VALUES (E'VA', E'Vatican Man');
INSERT INTO "list" ("id", "value") VALUES (E'VE', E'Venezuela');
INSERT INTO "list" ("id", "value") VALUES (E'VN', E'Viɛtnam');
INSERT INTO "list" ("id", "value") VALUES (E'WF', E'Wallis ne Futuna');
INSERT INTO "list" ("id", "value") VALUES (E'EH', E'Western Sahara');
INSERT INTO "list" ("id", "value") VALUES (E'YE', E'Yɛmen');
INSERT INTO "list" ("id", "value") VALUES (E'UY', E'Yurugwae');
INSERT INTO "list" ("id", "value") VALUES (E'ZM', E'Zambia');
INSERT INTO "list" ("id", "value") VALUES (E'ZW', E'Zembabwe');
INSERT INTO "list" ("id", "value") VALUES (E'NZ', E'Ziland Foforo');
| {
"pile_set_name": "Github"
} |
// Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2016 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://mozilla.org/MPL/2.0/.
package mysql
import (
"database/sql/driver"
"testing"
)
func TestInterpolateParams(t *testing.T) {
mc := &mysqlConn{
buf: newBuffer(nil),
maxAllowedPacket: maxPacketSize,
cfg: &Config{
InterpolateParams: true,
},
}
q, err := mc.interpolateParams("SELECT ?+?", []driver.Value{int64(42), "gopher"})
if err != nil {
t.Errorf("Expected err=nil, got %#v", err)
return
}
expected := `SELECT 42+'gopher'`
if q != expected {
t.Errorf("Expected: %q\nGot: %q", expected, q)
}
}
func TestInterpolateParamsTooManyPlaceholders(t *testing.T) {
mc := &mysqlConn{
buf: newBuffer(nil),
maxAllowedPacket: maxPacketSize,
cfg: &Config{
InterpolateParams: true,
},
}
q, err := mc.interpolateParams("SELECT ?+?", []driver.Value{int64(42)})
if err != driver.ErrSkip {
t.Errorf("Expected err=driver.ErrSkip, got err=%#v, q=%#v", err, q)
}
}
// We don't support placeholder in string literal for now.
// https://github.com/go-sql-driver/mysql/pull/490
func TestInterpolateParamsPlaceholderInString(t *testing.T) {
mc := &mysqlConn{
buf: newBuffer(nil),
maxAllowedPacket: maxPacketSize,
cfg: &Config{
InterpolateParams: true,
},
}
q, err := mc.interpolateParams("SELECT 'abc?xyz',?", []driver.Value{int64(42)})
// When InterpolateParams support string literal, this should return `"SELECT 'abc?xyz', 42`
if err != driver.ErrSkip {
t.Errorf("Expected err=driver.ErrSkip, got err=%#v, q=%#v", err, q)
}
}
| {
"pile_set_name": "Github"
} |
/*
Copyright 2015 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package discovery
import (
"encoding/json"
"fmt"
"net/url"
"sort"
"strings"
"github.com/golang/protobuf/proto"
"github.com/googleapis/gnostic/OpenAPIv2"
"k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
"k8s.io/apimachinery/pkg/runtime/serializer"
"k8s.io/apimachinery/pkg/version"
"k8s.io/client-go/kubernetes/scheme"
restclient "k8s.io/client-go/rest"
)
const (
// defaultRetries is the number of times a resource discovery is repeated if an api group disappears on the fly (e.g. ThirdPartyResources).
defaultRetries = 2
// protobuf mime type
mimePb = "application/[email protected]+protobuf"
)
// DiscoveryInterface holds the methods that discover server-supported API groups,
// versions and resources.
type DiscoveryInterface interface {
RESTClient() restclient.Interface
ServerGroupsInterface
ServerResourcesInterface
ServerVersionInterface
OpenAPISchemaInterface
}
// CachedDiscoveryInterface is a DiscoveryInterface with cache invalidation and freshness.
type CachedDiscoveryInterface interface {
DiscoveryInterface
// Fresh is supposed to tell the caller whether or not to retry if the cache
// fails to find something (false = retry, true = no need to retry).
//
// TODO: this needs to be revisited, this interface can't be locked properly
// and doesn't make a lot of sense.
Fresh() bool
// Invalidate enforces that no cached data is used in the future that is older than the current time.
Invalidate()
}
// ServerGroupsInterface has methods for obtaining supported groups on the API server
type ServerGroupsInterface interface {
// ServerGroups returns the supported groups, with information like supported versions and the
// preferred version.
ServerGroups() (*metav1.APIGroupList, error)
}
// ServerResourcesInterface has methods for obtaining supported resources on the API server
type ServerResourcesInterface interface {
// ServerResourcesForGroupVersion returns the supported resources for a group and version.
ServerResourcesForGroupVersion(groupVersion string) (*metav1.APIResourceList, error)
// ServerResources returns the supported resources for all groups and versions.
ServerResources() ([]*metav1.APIResourceList, error)
// ServerPreferredResources returns the supported resources with the version preferred by the
// server.
ServerPreferredResources() ([]*metav1.APIResourceList, error)
// ServerPreferredNamespacedResources returns the supported namespaced resources with the
// version preferred by the server.
ServerPreferredNamespacedResources() ([]*metav1.APIResourceList, error)
}
// ServerVersionInterface has a method for retrieving the server's version.
type ServerVersionInterface interface {
// ServerVersion retrieves and parses the server's version (git version).
ServerVersion() (*version.Info, error)
}
// OpenAPISchemaInterface has a method to retrieve the open API schema.
type OpenAPISchemaInterface interface {
// OpenAPISchema retrieves and parses the swagger API schema the server supports.
OpenAPISchema() (*openapi_v2.Document, error)
}
// DiscoveryClient implements the functions that discover server-supported API groups,
// versions and resources.
type DiscoveryClient struct {
restClient restclient.Interface
LegacyPrefix string
}
// Convert metav1.APIVersions to metav1.APIGroup. APIVersions is used by legacy v1, so
// group would be "".
func apiVersionsToAPIGroup(apiVersions *metav1.APIVersions) (apiGroup metav1.APIGroup) {
groupVersions := []metav1.GroupVersionForDiscovery{}
for _, version := range apiVersions.Versions {
groupVersion := metav1.GroupVersionForDiscovery{
GroupVersion: version,
Version: version,
}
groupVersions = append(groupVersions, groupVersion)
}
apiGroup.Versions = groupVersions
// There should be only one groupVersion returned at /api
apiGroup.PreferredVersion = groupVersions[0]
return
}
// ServerGroups returns the supported groups, with information like supported versions and the
// preferred version.
func (d *DiscoveryClient) ServerGroups() (apiGroupList *metav1.APIGroupList, err error) {
// Get the groupVersions exposed at /api
v := &metav1.APIVersions{}
err = d.restClient.Get().AbsPath(d.LegacyPrefix).Do().Into(v)
apiGroup := metav1.APIGroup{}
if err == nil && len(v.Versions) != 0 {
apiGroup = apiVersionsToAPIGroup(v)
}
if err != nil && !errors.IsNotFound(err) && !errors.IsForbidden(err) {
return nil, err
}
// Get the groupVersions exposed at /apis
apiGroupList = &metav1.APIGroupList{}
err = d.restClient.Get().AbsPath("/apis").Do().Into(apiGroupList)
if err != nil && !errors.IsNotFound(err) && !errors.IsForbidden(err) {
return nil, err
}
// to be compatible with a v1.0 server, if it's a 403 or 404, ignore and return whatever we got from /api
if err != nil && (errors.IsNotFound(err) || errors.IsForbidden(err)) {
apiGroupList = &metav1.APIGroupList{}
}
// prepend the group retrieved from /api to the list if not empty
if len(v.Versions) != 0 {
apiGroupList.Groups = append([]metav1.APIGroup{apiGroup}, apiGroupList.Groups...)
}
return apiGroupList, nil
}
// ServerResourcesForGroupVersion returns the supported resources for a group and version.
func (d *DiscoveryClient) ServerResourcesForGroupVersion(groupVersion string) (resources *metav1.APIResourceList, err error) {
url := url.URL{}
if len(groupVersion) == 0 {
return nil, fmt.Errorf("groupVersion shouldn't be empty")
}
if len(d.LegacyPrefix) > 0 && groupVersion == "v1" {
url.Path = d.LegacyPrefix + "/" + groupVersion
} else {
url.Path = "/apis/" + groupVersion
}
resources = &metav1.APIResourceList{
GroupVersion: groupVersion,
}
err = d.restClient.Get().AbsPath(url.String()).Do().Into(resources)
if err != nil {
// ignore 403 or 404 error to be compatible with an v1.0 server.
if groupVersion == "v1" && (errors.IsNotFound(err) || errors.IsForbidden(err)) {
return resources, nil
}
return nil, err
}
return resources, nil
}
// serverResources returns the supported resources for all groups and versions.
func (d *DiscoveryClient) serverResources() ([]*metav1.APIResourceList, error) {
apiGroups, err := d.ServerGroups()
if err != nil {
return nil, err
}
result := []*metav1.APIResourceList{}
failedGroups := make(map[schema.GroupVersion]error)
for _, apiGroup := range apiGroups.Groups {
for _, version := range apiGroup.Versions {
gv := schema.GroupVersion{Group: apiGroup.Name, Version: version.Version}
resources, err := d.ServerResourcesForGroupVersion(version.GroupVersion)
if err != nil {
// TODO: maybe restrict this to NotFound errors
failedGroups[gv] = err
continue
}
result = append(result, resources)
}
}
if len(failedGroups) == 0 {
return result, nil
}
return result, &ErrGroupDiscoveryFailed{Groups: failedGroups}
}
// ServerResources returns the supported resources for all groups and versions.
func (d *DiscoveryClient) ServerResources() ([]*metav1.APIResourceList, error) {
return withRetries(defaultRetries, d.serverResources)
}
// ErrGroupDiscoveryFailed is returned if one or more API groups fail to load.
type ErrGroupDiscoveryFailed struct {
// Groups is a list of the groups that failed to load and the error cause
Groups map[schema.GroupVersion]error
}
// Error implements the error interface
func (e *ErrGroupDiscoveryFailed) Error() string {
var groups []string
for k, v := range e.Groups {
groups = append(groups, fmt.Sprintf("%s: %v", k, v))
}
sort.Strings(groups)
return fmt.Sprintf("unable to retrieve the complete list of server APIs: %s", strings.Join(groups, ", "))
}
// IsGroupDiscoveryFailedError returns true if the provided error indicates the server was unable to discover
// a complete list of APIs for the client to use.
func IsGroupDiscoveryFailedError(err error) bool {
_, ok := err.(*ErrGroupDiscoveryFailed)
return err != nil && ok
}
// serverPreferredResources returns the supported resources with the version preferred by the server.
func (d *DiscoveryClient) serverPreferredResources() ([]*metav1.APIResourceList, error) {
serverGroupList, err := d.ServerGroups()
if err != nil {
return nil, err
}
result := []*metav1.APIResourceList{}
failedGroups := make(map[schema.GroupVersion]error)
grVersions := map[schema.GroupResource]string{} // selected version of a GroupResource
grApiResources := map[schema.GroupResource]*metav1.APIResource{} // selected APIResource for a GroupResource
gvApiResourceLists := map[schema.GroupVersion]*metav1.APIResourceList{} // blueprint for a APIResourceList for later grouping
for _, apiGroup := range serverGroupList.Groups {
for _, version := range apiGroup.Versions {
groupVersion := schema.GroupVersion{Group: apiGroup.Name, Version: version.Version}
apiResourceList, err := d.ServerResourcesForGroupVersion(version.GroupVersion)
if err != nil {
// TODO: maybe restrict this to NotFound errors
failedGroups[groupVersion] = err
continue
}
// create empty list which is filled later in another loop
emptyApiResourceList := metav1.APIResourceList{
GroupVersion: version.GroupVersion,
}
gvApiResourceLists[groupVersion] = &emptyApiResourceList
result = append(result, &emptyApiResourceList)
for i := range apiResourceList.APIResources {
apiResource := &apiResourceList.APIResources[i]
if strings.Contains(apiResource.Name, "/") {
continue
}
gv := schema.GroupResource{Group: apiGroup.Name, Resource: apiResource.Name}
if _, ok := grApiResources[gv]; ok && version.Version != apiGroup.PreferredVersion.Version {
// only override with preferred version
continue
}
grVersions[gv] = version.Version
grApiResources[gv] = apiResource
}
}
}
// group selected APIResources according to GroupVersion into APIResourceLists
for groupResource, apiResource := range grApiResources {
version := grVersions[groupResource]
groupVersion := schema.GroupVersion{Group: groupResource.Group, Version: version}
apiResourceList := gvApiResourceLists[groupVersion]
apiResourceList.APIResources = append(apiResourceList.APIResources, *apiResource)
}
if len(failedGroups) == 0 {
return result, nil
}
return result, &ErrGroupDiscoveryFailed{Groups: failedGroups}
}
// ServerPreferredResources returns the supported resources with the version preferred by the
// server.
func (d *DiscoveryClient) ServerPreferredResources() ([]*metav1.APIResourceList, error) {
return withRetries(defaultRetries, d.serverPreferredResources)
}
// ServerPreferredNamespacedResources returns the supported namespaced resources with the
// version preferred by the server.
func (d *DiscoveryClient) ServerPreferredNamespacedResources() ([]*metav1.APIResourceList, error) {
all, err := d.ServerPreferredResources()
return FilteredBy(ResourcePredicateFunc(func(groupVersion string, r *metav1.APIResource) bool {
return r.Namespaced
}), all), err
}
// ServerVersion retrieves and parses the server's version (git version).
func (d *DiscoveryClient) ServerVersion() (*version.Info, error) {
body, err := d.restClient.Get().AbsPath("/version").Do().Raw()
if err != nil {
return nil, err
}
var info version.Info
err = json.Unmarshal(body, &info)
if err != nil {
return nil, fmt.Errorf("got '%s': %v", string(body), err)
}
return &info, nil
}
// OpenAPISchema fetches the open api schema using a rest client and parses the proto.
func (d *DiscoveryClient) OpenAPISchema() (*openapi_v2.Document, error) {
data, err := d.restClient.Get().AbsPath("/openapi/v2").SetHeader("Accept", mimePb).Do().Raw()
if err != nil {
if errors.IsForbidden(err) || errors.IsNotFound(err) {
// single endpoint not found/registered in old server, try to fetch old endpoint
// TODO(roycaihw): remove this in 1.11
data, err = d.restClient.Get().AbsPath("/swagger-2.0.0.pb-v1").Do().Raw()
if err != nil {
return nil, err
}
} else {
return nil, err
}
}
document := &openapi_v2.Document{}
err = proto.Unmarshal(data, document)
if err != nil {
return nil, err
}
return document, nil
}
// withRetries retries the given recovery function in case the groups supported by the server change after ServerGroup() returns.
func withRetries(maxRetries int, f func() ([]*metav1.APIResourceList, error)) ([]*metav1.APIResourceList, error) {
var result []*metav1.APIResourceList
var err error
for i := 0; i < maxRetries; i++ {
result, err = f()
if err == nil {
return result, nil
}
if _, ok := err.(*ErrGroupDiscoveryFailed); !ok {
return nil, err
}
}
return result, err
}
func setDiscoveryDefaults(config *restclient.Config) error {
config.APIPath = ""
config.GroupVersion = nil
codec := runtime.NoopEncoder{Decoder: scheme.Codecs.UniversalDecoder()}
config.NegotiatedSerializer = serializer.NegotiatedSerializerWrapper(runtime.SerializerInfo{Serializer: codec})
if len(config.UserAgent) == 0 {
config.UserAgent = restclient.DefaultKubernetesUserAgent()
}
return nil
}
// NewDiscoveryClientForConfig creates a new DiscoveryClient for the given config. This client
// can be used to discover supported resources in the API server.
func NewDiscoveryClientForConfig(c *restclient.Config) (*DiscoveryClient, error) {
config := *c
if err := setDiscoveryDefaults(&config); err != nil {
return nil, err
}
client, err := restclient.UnversionedRESTClientFor(&config)
return &DiscoveryClient{restClient: client, LegacyPrefix: "/api"}, err
}
// NewDiscoveryClientForConfigOrDie creates a new DiscoveryClient for the given config. If
// there is an error, it panics.
func NewDiscoveryClientForConfigOrDie(c *restclient.Config) *DiscoveryClient {
client, err := NewDiscoveryClientForConfig(c)
if err != nil {
panic(err)
}
return client
}
// NewDiscoveryClient returns a new DiscoveryClient for the given RESTClient.
func NewDiscoveryClient(c restclient.Interface) *DiscoveryClient {
return &DiscoveryClient{restClient: c, LegacyPrefix: "/api"}
}
// RESTClient returns a RESTClient that is used to communicate
// with API server by this client implementation.
func (c *DiscoveryClient) RESTClient() restclient.Interface {
if c == nil {
return nil
}
return c.restClient
}
| {
"pile_set_name": "Github"
} |
<?xml version='1.0' encoding='utf-8'?>
<!--
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.
-->
<!-- Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" at this level.
Documentation at /docs/config/server.html
-->
<Server port="8005" shutdown="SHUTDOWN">
<!--APR library loader. Documentation at /docs/apr.html -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
<Listener className="org.apache.catalina.core.JasperListener" />
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<!-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html -->
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<!-- Global JNDI resources
Documentation at /docs/jndi-resources-howto.html
-->
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" Note: A "Service" is not itself a "Container",
so you may not define subcomponents such as "Valves" at this level.
Documentation at /docs/config/service.html
-->
<Service name="Sip-Servlets"
className="org.mobicents.servlet.sip.startup.SipStandardService"
sipApplicationDispatcherClassName="org.mobicents.servlet.sip.core.SipApplicationDispatcherImpl"
darConfigurationFileLocation="conf/dars/mobicents-dar.properties"
sipStackPropertiesFile="conf/mss-sip-stack.properties">
<!--The connectors can use a shared executor, you can define one or more named thread pools-->
<!--
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
maxThreads="150" minSpareThreads="4"/>
-->
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL HTTP/1.1 Connector on port 8080
-->
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
-->
<!-- Define a SSL HTTP/1.1 Connector on port 8443
This connector uses the JSSE configuration, when using APR, the
connector should be using the OpenSSL style configuration
described in the APR documentation -->
<!--
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
<!-- Define a SIP Connector on port 5080 -->
<Connector port="5080"
ipAddress = "127.0.0.1"
protocol="org.mobicents.servlet.sip.startup.SipProtocolHandler"
signalingTransport="udp"/>
<!-- Define the default TCP SIP Connector -->
<Connector port="5080"
ipAddress = "127.0.0.1"
protocol="org.mobicents.servlet.sip.startup.SipProtocolHandler"
signalingTransport="tcp"/>
<!-- Define the default TLS SIP Connector -->
<Connector port="5081"
ipAddress = "127.0.0.1"
protocol="org.mobicents.servlet.sip.startup.SipProtocolHandler"
signalingTransport="tls"/>
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host).
Documentation at /docs/config/engine.html -->
<!-- You should set jvmRoute to support load-balancing via AJP ie :
<Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
-->
<!-- Define the top level container in our container hierarchy -->
<Engine defaultHost="localhost" name="Sip-Servlets" className="org.mobicents.servlet.sip.startup.SipStandardEngine">
<!--For clustering, please take a look at documentation at:
/docs/cluster-howto.html (simple how to)
/docs/config/cluster.html (reference documentation) -->
<!--
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
-->
<!-- The request dumper valve dumps useful debugging information about
the request and response data received and sent by Tomcat.
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.valves.RequestDumperValve"/>
-->
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
<!-- Define the default virtual host
Note: XML Schema validation will not work with Xerces 2.2.
-->
<Host className="org.mobicents.servlet.sip.startup.SipStandardHost" appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true" xmlNamespaceAware="true" xmlValidation="false" configClass="org.mobicents.servlet.sip.startup.SipContextConfig">
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>
-->
</Host>
</Engine>
</Service>
</Server>
| {
"pile_set_name": "Github"
} |
package cn.binux.redis.service.impl;
import cn.binux.constant.Const;
import cn.binux.redis.service.JedisClient;
import com.alibaba.dubbo.config.annotation.Service;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;
/**
* @author 許彬.
* @creater 2017-04-22
*/
@Service(version = Const.XBIN_STORE_REDIS_VERSION)
public class JedisClientSingle implements JedisClient {
@Autowired
private JedisPool jedisPool;
@Value("${redis.password}")
private String password;
private Jedis getResource() {
Jedis resource = jedisPool.getResource();
if (StringUtils.isBlank(password)) {
return resource;
} else {
resource.auth(password);
return resource;
}
}
@Override
public String get(String key) {
Jedis resource = getResource();
String string = resource.get(key);
resource.close();
return string;
}
@Override
public String set(String key, String value) {
Jedis resource = getResource();
String string = resource.set(key, value);
resource.close();
return string;
}
@Override
public String hget(String hkey, String key) {
Jedis resource = getResource();
String string = resource.hget(hkey, key);
resource.close();
return string;
}
@Override
public long hset(String hkey, String key, String value) {
Jedis resource = getResource();
Long hset = resource.hset(hkey, key, value);
resource.close();
return hset;
}
@Override
public long incr(String key) {
Jedis resource = getResource();
Long incr = resource.incr(key);
resource.close();
return incr;
}
@Override
public long expire(String key, Integer second) {
Jedis resource = getResource();
Long expire = resource.expire(key, second);
resource.close();
return expire;
}
@Override
public long ttl(String key) {
Jedis resource = getResource();
Long ttl = resource.ttl(key);
resource.close();
return ttl;
}
@Override
public long del(String key) {
Jedis resource = getResource();
Long del = resource.del(key);
resource.close();
return del;
}
@Override
public long hdel(String hkey, String key) {
Jedis resource = getResource();
Long hdel = resource.hdel(hkey, key);
resource.close();
return hdel;
}
}
| {
"pile_set_name": "Github"
} |
<!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.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Member List</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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></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 id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classPxSpring.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</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 class="header">
<div class="headertitle">
<div class="title">PxSpring Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="classPxSpring.html">PxSpring</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classPxSpring.html#a0a87d5342df941b96ac1ad97dc3eb306">damping</a></td><td class="entry"><a class="el" href="classPxSpring.html">PxSpring</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classPxSpring.html#a2fe1f5d75c8b8e0c7ad9ce417c8fdebc">PxSpring</a>(PxReal stiffness_, PxReal damping_)</td><td class="entry"><a class="el" href="classPxSpring.html">PxSpring</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classPxSpring.html#aeb7dbc850461f2bc652ca73c80e523e1">stiffness</a></td><td class="entry"><a class="el" href="classPxSpring.html">PxSpring</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Copyright © 2008-2019 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
</ul>
</div>
</body>
</html>
| {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.