text
stringlengths 2
100k
| meta
dict |
---|---|
//
// BFShippingViewController.h
// OpenShop
//
// Created by Petr Škorňok on 23.01.16.
// Copyright © 2016 Business-Factory. All rights reserved.
//
#import "BFTableViewController.h"
@class BFDeliveryInfo, BFCartDelivery, BFCartPayment, BFOrderFormViewController;
@protocol BFPaymentViewControllerDelegate;
NS_ASSUME_NONNULL_BEGIN
/**
* `BFShippingViewControllerDelegate` handles selecting delivery info.
*/
@protocol BFShippingViewControllerDelegate <NSObject>
/**
* Delegate method which passes back selected delivery.
*/
- (void)shippingViewController:(BFViewController *)controller
selectedShipping:(BFCartDelivery *)selectedShipping;
@end
/**
* `BFShippingViewController` manages the part of the order
* where user chooses between shipping types.
*/
@interface BFShippingViewController : BFTableViewController
/**
* Delegate method which passes selected delivery.
*/
@property (nonatomic, weak) id <BFShippingViewControllerDelegate> delegate;
/**
* Delivery items.
*/
@property (nullable, nonatomic, strong) BFDeliveryInfo *deliveryInfo;
/**
* Order Form which presented this view controller.
*/
@property (nullable, nonatomic, strong) BFOrderFormViewController *orderFormController;
@end
NS_ASSUME_NONNULL_END
| {
"pile_set_name": "Github"
} |
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
$provide.value("$locale", {
"DATETIME_FORMATS": {
"AMPMS": [
"da manh\u00e3",
"da tarde"
],
"DAY": [
"domingo",
"segunda-feira",
"ter\u00e7a-feira",
"quarta-feira",
"quinta-feira",
"sexta-feira",
"s\u00e1bado"
],
"ERANAMES": [
"antes de Cristo",
"depois de Cristo"
],
"ERAS": [
"a.C.",
"d.C."
],
"FIRSTDAYOFWEEK": 0,
"MONTH": [
"janeiro",
"fevereiro",
"mar\u00e7o",
"abril",
"maio",
"junho",
"julho",
"agosto",
"setembro",
"outubro",
"novembro",
"dezembro"
],
"SHORTDAY": [
"domingo",
"segunda",
"ter\u00e7a",
"quarta",
"quinta",
"sexta",
"s\u00e1bado"
],
"SHORTMONTH": [
"jan",
"fev",
"mar",
"abr",
"mai",
"jun",
"jul",
"ago",
"set",
"out",
"nov",
"dez"
],
"STANDALONEMONTH": [
"janeiro",
"fevereiro",
"mar\u00e7o",
"abril",
"maio",
"junho",
"julho",
"agosto",
"setembro",
"outubro",
"novembro",
"dezembro"
],
"WEEKENDRANGE": [
5,
6
],
"fullDate": "EEEE, d 'de' MMMM 'de' y",
"longDate": "d 'de' MMMM 'de' y",
"medium": "dd/MM/y HH:mm:ss",
"mediumDate": "dd/MM/y",
"mediumTime": "HH:mm:ss",
"short": "dd/MM/yy HH:mm",
"shortDate": "dd/MM/yy",
"shortTime": "HH:mm"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "\u20ac",
"DECIMAL_SEP": ",",
"GROUP_SEP": "\u00a0",
"PATTERNS": [
{
"gSize": 3,
"lgSize": 3,
"maxFrac": 3,
"minFrac": 0,
"minInt": 1,
"negPre": "-",
"negSuf": "",
"posPre": "",
"posSuf": ""
},
{
"gSize": 3,
"lgSize": 3,
"maxFrac": 2,
"minFrac": 2,
"minInt": 1,
"negPre": "-",
"negSuf": "\u00a0\u00a4",
"posPre": "",
"posSuf": "\u00a0\u00a4"
}
]
},
"id": "pt-lu",
"localeID": "pt_LU",
"pluralCat": function(n, opt_precision) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
});
}]);
| {
"pile_set_name": "Github"
} |
--- oiio-Release-1.8.16/src/pnm.imageio/pnminput.cpp.orig 2018-11-30 21:59:59.037519700 +0300
+++ oiio-Release-1.8.16/src/pnm.imageio/pnminput.cpp 2018-11-30 22:00:26.981118000 +0300
@@ -331,7 +331,8 @@
{
try {
- unsigned int width, height;
+ unsigned int width = 0;
+ unsigned int height = 0;
char c;
if (!m_file)
return false;
| {
"pile_set_name": "Github"
} |
#include <cstdio>
#include <cstring>
#include <cmath>
#include <vector>
#include <set>
using namespace std;
typedef pair<int,int> pii;
typedef vector<pii> vpii;
#include <limits.h>
//I hope (sizeof(val)*CHAR_BIT-(rot)) will be precalculated in compilation.
//#define lrotr(val,rot) (( (val)<<(sizeof(val)*CHAR_BIT-(rot)) )|( (val)>>(rot) ))
#define lrotl(val,rot) (( (val)<<(rot) )|( (val)>>(sizeof(val)*CHAR_BIT-(rot)) ))
static unsigned int x = 123456789;
static unsigned int y = 362436069;
static unsigned int z = 521288629;
static unsigned int w = 88675123;
unsigned int xor_rand(){
unsigned int t;
t=x^(x<<11);
x=y;y=z;z=w;
return w=(w^(w>>19)) ^ (t^(t>>8));
}
// http://d.hatena.ne.jp/gintenlabo/20100930/1285859540
void xor_srand(unsigned int seed){
#if 1
x^=seed;
y^=lrotl(seed,17);
z^=lrotl(seed,31);
w^=lrotl(seed,18);
#else
x^=lrotl(seed,14);
y^=lrotl(seed,31);
z^=lrotl(seed,13);
w^=seed;
#endif
}
double algo1(const int N,const vpii &v){
double R=0,r1,r0;
int c=0,i=1,j,next1;
set<int>s;
s.insert(c);
for(;i<N;i++){
r1=999999999;
for(j=0;j<N;j++){
if(s.find(j)==s.end()&&(r0=hypot(v[c].first-v[j].first,v[c].second-v[j].second))<r1)r1=r0,next1=j;
}
R+=r1,c=next1,s.insert(c);
}
return R;
}
double algo2(const int N,const vpii &v){
double R=0,r1,r2,r0;
int c=0,i=1,j,next1,next2;
set<int>s;
s.insert(c);
for(;i<N-2;i++){
r1=r2=999999999;
for(j=0;j<N;j++){
if(s.find(j)==s.end()){
r0=hypot(v[c].first-v[j].first,v[c].second-v[j].second);
if(r0<r1)r2=r1,next2=next1,r1=r0,next1=j;
else if(r0<r2)r2=r0,next2=j;
}
}
R+=r2,c=next2,s.insert(c);
}
for(;i<N;i++){
r1=999999999;
for(j=0;j<N;j++){
if(s.find(j)==s.end()&&(r0=hypot(v[c].first-v[j].first,v[c].second-v[j].second))<r1)r1=r0,next1=j;
}
R+=r1,c=next1,s.insert(c);
}
return R;
}
int main(int argc, char **argv){
if(argc>1&&!strcmp(argv[1],"test")){
double d1,d2;
int N,i=0,x,y;
vpii v;
for(scanf("%d",&N);i<N;i++)scanf("%d%d",&x,&y),v.push_back(make_pair(x,y));
d1=algo1(N,v);
d2=algo2(N,v);
printf("%f %f\n",d1,d2);
}else{
unsigned int seed=(unsigned int)time(NULL)^(getpid()<<16);
xor_srand(seed);
double d1,d2;
int N=100,n=95,i=0,x,y;
long long counter=1;
vpii v(N);
for(;i<n;i++)v[i]=make_pair(i>>3,i&7);
for(;;counter++){
for(i=n;i<N;i++)v[i]=make_pair(xor_rand()%9990+10,xor_rand()%9990+10);
d1=algo1(N,v);
d2=algo2(N,v);
//printf("%f %f\n",d1,d2);
if(d1>d2)break;
}
fprintf(stderr,"Completed in try %lld:\n",counter);
printf("%d\n",N);
for(i=0;i<N;i++)printf("%d %d\n",v[i].first,v[i].second);
}
}
/*
Completed in try 217143:
100
0 0
0 1
0 2
0 3
0 4
0 5
0 6
0 7
1 0
1 1
1 2
1 3
1 4
1 5
1 6
1 7
2 0
2 1
2 2
2 3
2 4
2 5
2 6
2 7
3 0
3 1
3 2
3 3
3 4
3 5
3 6
3 7
4 0
4 1
4 2
4 3
4 4
4 5
4 6
4 7
5 0
5 1
5 2
5 3
5 4
5 5
5 6
5 7
6 0
6 1
6 2
6 3
6 4
6 5
6 6
6 7
7 0
7 1
7 2
7 3
7 4
7 5
7 6
7 7
8 0
8 1
8 2
8 3
8 4
8 5
8 6
8 7
9 0
9 1
9 2
9 3
9 4
9 5
9 6
9 7
10 0
10 1
10 2
10 3
10 4
10 5
10 6
10 7
11 0
11 1
11 2
11 3
11 4
11 5
11 6
1221 517
206 1991
2113 1042
7679 3832
3993 1266
real 1m36.082s
user 1m35.728s
sys 0m0.087s
pbpaste|./a.out test # => 15890.767844 15599.875700
*/
| {
"pile_set_name": "Github"
} |
package core.org.akaza.openclinica.domain.technicaladmin;
import core.org.akaza.openclinica.domain.enumsupport.CodedEnum;
import core.org.akaza.openclinica.i18n.util.ResourceBundleProvider;
import java.util.HashMap;
import java.util.ResourceBundle;
/*
* Use this enum as login status holder
* @author Krikor Krumlian
*
*/
public enum LoginStatus implements CodedEnum {
SUCCESSFUL_LOGIN(1, "successful_login"), FAILED_LOGIN(2, "failed_login"), FAILED_LOGIN_LOCKED(3, "failed_login_locked"), SUCCESSFUL_LOGOUT(4,
"successful_logout"),ACCESS_CODE_VIEWED(5,"access_code_viewed");
private int code;
private String description;
LoginStatus(int code) {
this(code, null);
}
LoginStatus(int code, String description) {
this.code = code;
this.description = description;
}
@Override
public String toString() {
ResourceBundle resterm = ResourceBundleProvider.getTermsBundle();
return resterm.getString(getDescription());
}
public static LoginStatus getByName(String name) {
return LoginStatus.valueOf(LoginStatus.class, name);
}
public static LoginStatus getByCode(Integer code) {
HashMap<Integer, LoginStatus> enumObjects = new HashMap<Integer, LoginStatus>();
for (LoginStatus theEnum : LoginStatus.values()) {
enumObjects.put(theEnum.getCode(), theEnum);
}
return enumObjects.get(Integer.valueOf(code));
}
public Integer getCode() {
return code;
}
public String getDescription() {
return description;
}
}
| {
"pile_set_name": "Github"
} |
/**
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* 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 this program.
* If not, see http://www.gnu.org/licenses/.
*/
package com.rapidminer.tools.math.similarity.divergences;
import Jama.Matrix;
import com.rapidminer.example.ExampleSet;
import com.rapidminer.example.Tools;
import com.rapidminer.operator.OperatorException;
import com.rapidminer.tools.math.matrix.CovarianceMatrix;
import com.rapidminer.tools.math.similarity.BregmanDivergence;
/**
* The "Mahalanobis distance ".
*
* @author Sebastian Land, Regina Fritsch
*/
public class MahalanobisDistance extends BregmanDivergence {
private static final long serialVersionUID = -5986526237805285428L;
private Matrix inverseCovariance;
@Override
public double calculateDistance(double[] value1, double[] value2) {
Matrix x = new Matrix(value1, value1.length);
Matrix y = new Matrix(value2, value2.length);
Matrix deltaxy = x.minus(y);
// compute the mahalanobis distance
return Math.sqrt(deltaxy.transpose().times(inverseCovariance).times(deltaxy).get(0, 0));
}
@Override
public void init(ExampleSet exampleSet) throws OperatorException {
super.init(exampleSet);
Tools.onlyNumericalAttributes(exampleSet, "value based similarities");
inverseCovariance = CovarianceMatrix.getCovarianceMatrix(exampleSet, null).inverse();
}
@Override
public String toString() {
return "Mahalanobis distance";
}
}
| {
"pile_set_name": "Github"
} |
/*
Copyright The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by client-gen. DO NOT EDIT.
package fake
import (
v1beta1 "k8s.io/api/apps/v1beta1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
labels "k8s.io/apimachinery/pkg/labels"
schema "k8s.io/apimachinery/pkg/runtime/schema"
types "k8s.io/apimachinery/pkg/types"
watch "k8s.io/apimachinery/pkg/watch"
testing "k8s.io/client-go/testing"
)
// FakeControllerRevisions implements ControllerRevisionInterface
type FakeControllerRevisions struct {
Fake *FakeAppsV1beta1
ns string
}
var controllerrevisionsResource = schema.GroupVersionResource{Group: "apps", Version: "v1beta1", Resource: "controllerrevisions"}
var controllerrevisionsKind = schema.GroupVersionKind{Group: "apps", Version: "v1beta1", Kind: "ControllerRevision"}
// Get takes name of the controllerRevision, and returns the corresponding controllerRevision object, and an error if there is any.
func (c *FakeControllerRevisions) Get(name string, options v1.GetOptions) (result *v1beta1.ControllerRevision, err error) {
obj, err := c.Fake.
Invokes(testing.NewGetAction(controllerrevisionsResource, c.ns, name), &v1beta1.ControllerRevision{})
if obj == nil {
return nil, err
}
return obj.(*v1beta1.ControllerRevision), err
}
// List takes label and field selectors, and returns the list of ControllerRevisions that match those selectors.
func (c *FakeControllerRevisions) List(opts v1.ListOptions) (result *v1beta1.ControllerRevisionList, err error) {
obj, err := c.Fake.
Invokes(testing.NewListAction(controllerrevisionsResource, controllerrevisionsKind, c.ns, opts), &v1beta1.ControllerRevisionList{})
if obj == nil {
return nil, err
}
label, _, _ := testing.ExtractFromListOptions(opts)
if label == nil {
label = labels.Everything()
}
list := &v1beta1.ControllerRevisionList{ListMeta: obj.(*v1beta1.ControllerRevisionList).ListMeta}
for _, item := range obj.(*v1beta1.ControllerRevisionList).Items {
if label.Matches(labels.Set(item.Labels)) {
list.Items = append(list.Items, item)
}
}
return list, err
}
// Watch returns a watch.Interface that watches the requested controllerRevisions.
func (c *FakeControllerRevisions) Watch(opts v1.ListOptions) (watch.Interface, error) {
return c.Fake.
InvokesWatch(testing.NewWatchAction(controllerrevisionsResource, c.ns, opts))
}
// Create takes the representation of a controllerRevision and creates it. Returns the server's representation of the controllerRevision, and an error, if there is any.
func (c *FakeControllerRevisions) Create(controllerRevision *v1beta1.ControllerRevision) (result *v1beta1.ControllerRevision, err error) {
obj, err := c.Fake.
Invokes(testing.NewCreateAction(controllerrevisionsResource, c.ns, controllerRevision), &v1beta1.ControllerRevision{})
if obj == nil {
return nil, err
}
return obj.(*v1beta1.ControllerRevision), err
}
// Update takes the representation of a controllerRevision and updates it. Returns the server's representation of the controllerRevision, and an error, if there is any.
func (c *FakeControllerRevisions) Update(controllerRevision *v1beta1.ControllerRevision) (result *v1beta1.ControllerRevision, err error) {
obj, err := c.Fake.
Invokes(testing.NewUpdateAction(controllerrevisionsResource, c.ns, controllerRevision), &v1beta1.ControllerRevision{})
if obj == nil {
return nil, err
}
return obj.(*v1beta1.ControllerRevision), err
}
// Delete takes name of the controllerRevision and deletes it. Returns an error if one occurs.
func (c *FakeControllerRevisions) Delete(name string, options *v1.DeleteOptions) error {
_, err := c.Fake.
Invokes(testing.NewDeleteAction(controllerrevisionsResource, c.ns, name), &v1beta1.ControllerRevision{})
return err
}
// DeleteCollection deletes a collection of objects.
func (c *FakeControllerRevisions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error {
action := testing.NewDeleteCollectionAction(controllerrevisionsResource, c.ns, listOptions)
_, err := c.Fake.Invokes(action, &v1beta1.ControllerRevisionList{})
return err
}
// Patch applies the patch and returns the patched controllerRevision.
func (c *FakeControllerRevisions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ControllerRevision, err error) {
obj, err := c.Fake.
Invokes(testing.NewPatchSubresourceAction(controllerrevisionsResource, c.ns, name, pt, data, subresources...), &v1beta1.ControllerRevision{})
if obj == nil {
return nil, err
}
return obj.(*v1beta1.ControllerRevision), err
}
| {
"pile_set_name": "Github"
} |
################## mysql-test\t\error_count_basic.test ########################
# #
# Variable Name: error_count #
# Scope: Session #
# Access Type: Static #
# Data Type: numeric #
# #
# #
# Creation Date: 2008-02-07 #
# Author : Sharique Abdullah #
# #
# #
# Description:Test Cases of Dynamic System Variable error_count #
# that checks the behavior of this variable in the following ways #
# * Value Check #
# * Scope Check #
# #
# Reference: http://dev.mysql.com/doc/refman/5.1/en/ #
# server-system-variables.html #
# #
###############################################################################
--echo '#---------------------BS_STVARS_005_01----------------------#'
####################################################################
# Displaying default value #
####################################################################
SELECT COUNT(@@SESSION.error_count);
--echo 1 Expected
--echo '#---------------------BS_STVARS_005_02----------------------#'
####################################################################
# Check if Value can set #
####################################################################
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
SET @@SESSION.error_count=1;
--echo Expected error 'Read only variable'
SELECT COUNT(@@SESSION.error_count);
--echo 1 Expected
--echo '#---------------------BS_STVARS_005_03----------------------#'
#################################################################
# Check if the value in SESSION Table matches value in variable #
#################################################################
SELECT @@SESSION.error_count = VARIABLE_VALUE
FROM INFORMATION_SCHEMA.SESSION_VARIABLES
WHERE VARIABLE_NAME='error_count';
--echo 1 Expected
SELECT COUNT(@@SESSION.error_count);
--echo 1 Expected
SELECT COUNT(VARIABLE_VALUE)
FROM INFORMATION_SCHEMA.SESSION_VARIABLES
WHERE VARIABLE_NAME='error_count';
--echo 1 Expected
--echo '#---------------------BS_STVARS_005_04----------------------#'
################################################################################
# Check if accessing variable with and without SESSION point to same variable #
################################################################################
SELECT @@error_count = @@SESSION.error_count;
--echo 1 Expected
--echo '#---------------------BS_STVARS_005_05----------------------#'
################################################################################
# Check if error_count can be accessed with and without @@ sign #
################################################################################
SELECT COUNT(@@error_count);
--echo 1 Expected
SELECT COUNT(@@local.error_count);
--echo 1 Expected
SELECT COUNT(@@SESSION.error_count);
--echo 1 Expected
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
SELECT COUNT(@@GLOBAL.error_count);
--echo Expected error 'Variable is a SESSION variable'
--error ER_BAD_FIELD_ERROR
SELECT COUNT(error_count = @@GLOBAL.error_count);
--echo Expected error 'Readonly variable'
| {
"pile_set_name": "Github"
} |
" If you need to customize launch-vim's behavior (for example,
" when trying to figure out what's going on with a particular
" set of configuration values), you can put those in here
| {
"pile_set_name": "Github"
} |
# StyleCop "Classic"
## NOTE: This project is no longer very active. See the "Considerations" section below.
[](https://gitter.im/StyleCop/StyleCop?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
StyleCop analyzes C# source code to enforce a set of style and consistency rules. It is available in two primary forms:
1. The [StyleCop Visual Studio extension](https://marketplace.visualstudio.com/items?itemName=ChrisDahlberg.StyleCop), which allows StyleCop analysis to be run on any file, project, or solution in Visual Studio without modifying the source code. Visual Studio 2010, 2012, 2013, 2015, 2017, and 2019 are supported by this extension.
2. The [StyleCop.MSBuild NuGet package](https://www.nuget.org/packages/StyleCop.MSBuild), which allows StyleCop analysis to be added to any .NET 4.0+ project without installing anything else on the system.
There is also a [ReSharper plugin](https://github.com/StyleCop/StyleCop.ReSharper) that can be added using ReSharper's Extension Manager.
## Considerations
While pull requests will continue to be accepted, it is unlikely that any major development (including support for newer C# syntax) will be done on this project. It is increasingly difficult and inefficient to maintain the custom C# parser used by StyleCop. The primary motivation for recent maintenance work was to allow developers who were already using StyleCop to upgrade to Visual Studio 2015 and C# 6.
### The Roslyn-based [StyleCopAnalyzers](https://github.com/DotNetAnalyzers/StyleCopAnalyzers) project is **strongly** recommended for developers who use only Visual Studio 2015 or later.
| {
"pile_set_name": "Github"
} |
Input goes here...
Second line.
| {
"pile_set_name": "Github"
} |
declare module "os" {
interface CpuInfo {
model: string;
speed: number;
times: {
user: number;
nice: number;
sys: number;
idle: number;
irq: number;
};
}
interface NetworkInterfaceBase {
address: string;
netmask: string;
mac: string;
internal: boolean;
cidr: string | null;
}
interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase {
family: "IPv4";
}
interface NetworkInterfaceInfoIPv6 extends NetworkInterfaceBase {
family: "IPv6";
scopeid: number;
}
interface UserInfo<T> {
username: T;
uid: number;
gid: number;
shell: T;
homedir: T;
}
type NetworkInterfaceInfo = NetworkInterfaceInfoIPv4 | NetworkInterfaceInfoIPv6;
function hostname(): string;
function loadavg(): number[];
function uptime(): number;
function freemem(): number;
function totalmem(): number;
function cpus(): CpuInfo[];
function type(): string;
function release(): string;
function networkInterfaces(): NodeJS.Dict<NetworkInterfaceInfo[]>;
function homedir(): string;
function userInfo(options: { encoding: 'buffer' }): UserInfo<Buffer>;
function userInfo(options?: { encoding: BufferEncoding }): UserInfo<string>;
type SignalConstants = {
[key in NodeJS.Signals]: number;
};
namespace constants {
const UV_UDP_REUSEADDR: number;
namespace signals {}
const signals: SignalConstants;
namespace errno {
const E2BIG: number;
const EACCES: number;
const EADDRINUSE: number;
const EADDRNOTAVAIL: number;
const EAFNOSUPPORT: number;
const EAGAIN: number;
const EALREADY: number;
const EBADF: number;
const EBADMSG: number;
const EBUSY: number;
const ECANCELED: number;
const ECHILD: number;
const ECONNABORTED: number;
const ECONNREFUSED: number;
const ECONNRESET: number;
const EDEADLK: number;
const EDESTADDRREQ: number;
const EDOM: number;
const EDQUOT: number;
const EEXIST: number;
const EFAULT: number;
const EFBIG: number;
const EHOSTUNREACH: number;
const EIDRM: number;
const EILSEQ: number;
const EINPROGRESS: number;
const EINTR: number;
const EINVAL: number;
const EIO: number;
const EISCONN: number;
const EISDIR: number;
const ELOOP: number;
const EMFILE: number;
const EMLINK: number;
const EMSGSIZE: number;
const EMULTIHOP: number;
const ENAMETOOLONG: number;
const ENETDOWN: number;
const ENETRESET: number;
const ENETUNREACH: number;
const ENFILE: number;
const ENOBUFS: number;
const ENODATA: number;
const ENODEV: number;
const ENOENT: number;
const ENOEXEC: number;
const ENOLCK: number;
const ENOLINK: number;
const ENOMEM: number;
const ENOMSG: number;
const ENOPROTOOPT: number;
const ENOSPC: number;
const ENOSR: number;
const ENOSTR: number;
const ENOSYS: number;
const ENOTCONN: number;
const ENOTDIR: number;
const ENOTEMPTY: number;
const ENOTSOCK: number;
const ENOTSUP: number;
const ENOTTY: number;
const ENXIO: number;
const EOPNOTSUPP: number;
const EOVERFLOW: number;
const EPERM: number;
const EPIPE: number;
const EPROTO: number;
const EPROTONOSUPPORT: number;
const EPROTOTYPE: number;
const ERANGE: number;
const EROFS: number;
const ESPIPE: number;
const ESRCH: number;
const ESTALE: number;
const ETIME: number;
const ETIMEDOUT: number;
const ETXTBSY: number;
const EWOULDBLOCK: number;
const EXDEV: number;
const WSAEINTR: number;
const WSAEBADF: number;
const WSAEACCES: number;
const WSAEFAULT: number;
const WSAEINVAL: number;
const WSAEMFILE: number;
const WSAEWOULDBLOCK: number;
const WSAEINPROGRESS: number;
const WSAEALREADY: number;
const WSAENOTSOCK: number;
const WSAEDESTADDRREQ: number;
const WSAEMSGSIZE: number;
const WSAEPROTOTYPE: number;
const WSAENOPROTOOPT: number;
const WSAEPROTONOSUPPORT: number;
const WSAESOCKTNOSUPPORT: number;
const WSAEOPNOTSUPP: number;
const WSAEPFNOSUPPORT: number;
const WSAEAFNOSUPPORT: number;
const WSAEADDRINUSE: number;
const WSAEADDRNOTAVAIL: number;
const WSAENETDOWN: number;
const WSAENETUNREACH: number;
const WSAENETRESET: number;
const WSAECONNABORTED: number;
const WSAECONNRESET: number;
const WSAENOBUFS: number;
const WSAEISCONN: number;
const WSAENOTCONN: number;
const WSAESHUTDOWN: number;
const WSAETOOMANYREFS: number;
const WSAETIMEDOUT: number;
const WSAECONNREFUSED: number;
const WSAELOOP: number;
const WSAENAMETOOLONG: number;
const WSAEHOSTDOWN: number;
const WSAEHOSTUNREACH: number;
const WSAENOTEMPTY: number;
const WSAEPROCLIM: number;
const WSAEUSERS: number;
const WSAEDQUOT: number;
const WSAESTALE: number;
const WSAEREMOTE: number;
const WSASYSNOTREADY: number;
const WSAVERNOTSUPPORTED: number;
const WSANOTINITIALISED: number;
const WSAEDISCON: number;
const WSAENOMORE: number;
const WSAECANCELLED: number;
const WSAEINVALIDPROCTABLE: number;
const WSAEINVALIDPROVIDER: number;
const WSAEPROVIDERFAILEDINIT: number;
const WSASYSCALLFAILURE: number;
const WSASERVICE_NOT_FOUND: number;
const WSATYPE_NOT_FOUND: number;
const WSA_E_NO_MORE: number;
const WSA_E_CANCELLED: number;
const WSAEREFUSED: number;
}
namespace priority {
const PRIORITY_LOW: number;
const PRIORITY_BELOW_NORMAL: number;
const PRIORITY_NORMAL: number;
const PRIORITY_ABOVE_NORMAL: number;
const PRIORITY_HIGH: number;
const PRIORITY_HIGHEST: number;
}
}
function arch(): string;
/**
* Returns a string identifying the kernel version.
* On POSIX systems, the operating system release is determined by calling
* [uname(3)][]. On Windows, `pRtlGetVersion` is used, and if it is not available,
* `GetVersionExW()` will be used. See
* https://en.wikipedia.org/wiki/Uname#Examples for more information.
*/
function version(): string;
function platform(): NodeJS.Platform;
function tmpdir(): string;
const EOL: string;
function endianness(): "BE" | "LE";
/**
* Gets the priority of a process.
* Defaults to current process.
*/
function getPriority(pid?: number): number;
/**
* Sets the priority of the current process.
* @param priority Must be in range of -20 to 19
*/
function setPriority(priority: number): void;
/**
* Sets the priority of the process specified process.
* @param priority Must be in range of -20 to 19
*/
function setPriority(pid: number, priority: number): void;
}
| {
"pile_set_name": "Github"
} |
/*
* Copyright 2016 Mesosphere
*
* 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 com.mesosphere.dcos.cassandra.executor;
import com.google.inject.Inject;
import io.dropwizard.lifecycle.Managed;
import org.apache.mesos.Executor;
import org.apache.mesos.ExecutorDriver;
import org.apache.mesos.Protos;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.concurrent.ExecutorService;
/**
* The ExecutorDriverDispatcher executes the Mesos Executor in a separate
* thread of execution so that is asynchronous to the main thread.
*/
public class ExecutorDriverDispatcher implements Runnable, Managed {
private static final Logger LOGGER =
LoggerFactory.getLogger(ExecutorDriverDispatcher.class);
private static final int exitCode(final Protos.Status status) {
return (status == Protos.Status.DRIVER_ABORTED ||
status == Protos.Status.DRIVER_NOT_STARTED) ?
-1 : 0;
}
private final ExecutorDriver driver;
private final ExecutorService executor;
/**
* Constructs a new ExecutorDriverDispatcher
* @param driverFactory The ExecutorDriverFactroy that will be used to
* retrieve the ExecutorDriver
* @param executor The Executor corresponding to the ExecutorDriver.
* @param executorService The ExecutorService used to execute the
* ExecutorDriver.
*/
@Inject
public ExecutorDriverDispatcher(final ExecutorDriverFactory driverFactory,
final Executor executor,
final ExecutorService executorService) {
this.driver = driverFactory.getDriver(executor);
this.executor = executorService;
}
@Override
public void run() {
LOGGER.info("Starting driver execution");
Protos.Status status = driver.run();
LOGGER.info("Driver execution complete status = {}", status);
driver.stop();
System.exit(exitCode(status));
}
@Override
public void start() throws Exception {
LOGGER.info("Starting ExecutorDriver");
executor.submit(this);
}
@Override
public void stop() throws Exception {
LOGGER.info("Stopping ExecutorDriver");
this.driver.stop();
}
}
| {
"pile_set_name": "Github"
} |
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = [
"const.go",
"doc.go",
"doctype.go",
"entity.go",
"escape.go",
"foreign.go",
"node.go",
"parse.go",
"render.go",
"token.go",
],
importmap = "kubevirt.io/containerized-data-importer/vendor/golang.org/x/net/html",
importpath = "golang.org/x/net/html",
visibility = ["//visibility:public"],
deps = ["//vendor/golang.org/x/net/html/atom:go_default_library"],
)
| {
"pile_set_name": "Github"
} |
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Image" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Cacheable__manager_id</string> </key>
<value> <string>http_cache</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>image_unit_test.jpg</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/jpeg</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>495</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>image_unit_test.jpg</string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>660</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
| {
"pile_set_name": "Github"
} |
# RUN: llvm-mc %s -arch=mips -mcpu=mips32 | \
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -arch=mips -mcpu=mips32 -filetype=obj -o - | \
# RUN: llvm-readobj -mips-abi-flags - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# CHECK-ASM: .module softfloat
# Check if the MIPS.abiflags section was correctly emitted:
# CHECK-OBJ: MIPS ABI Flags {
# CHECK-OBJ: FP ABI: Soft float (0x3)
# CHECK-OBJ: CPR1 size: 0
# CHECK-OBJ: }
.module softfloat
# FIXME: Test should include gnu_attributes directive when implemented.
# An explicit .gnu_attribute must be checked against the effective
# command line options and any inconsistencies reported via a warning.
| {
"pile_set_name": "Github"
} |
// Copyright 2013 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/command_line.h"
#include "base/compiler_specific.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/chromeos/login/captive_portal_window_proxy.h"
#include "chrome/browser/chromeos/login/login_display_host_impl.h"
#include "chrome/browser/chromeos/login/login_manager_test.h"
#include "chrome/browser/chromeos/login/startup_utils.h"
#include "chrome/browser/chromeos/login/test/oobe_screen_waiter.h"
#include "chrome/browser/chromeos/login/webui_login_view.h"
#include "chrome/browser/chromeos/net/network_portal_detector.h"
#include "chrome/browser/chromeos/net/network_portal_detector_test_impl.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chromeos/chromeos_switches.h"
namespace chromeos {
namespace {
const char kStubEthernetServicePath[] = "eth1";
// Stub implementation of CaptivePortalWindowProxyDelegate, does
// nothing and used to instantiate CaptivePortalWindowProxy.
class CaptivePortalWindowProxyStubDelegate
: public CaptivePortalWindowProxyDelegate {
public:
CaptivePortalWindowProxyStubDelegate(): num_portal_notifications_(0) {
}
virtual ~CaptivePortalWindowProxyStubDelegate() {
}
virtual void OnPortalDetected() OVERRIDE {
++num_portal_notifications_;
}
int num_portal_notifications() const { return num_portal_notifications_; }
private:
int num_portal_notifications_;
};
} // namespace
class CaptivePortalWindowTest : public InProcessBrowserTest {
protected:
void ShowIfRedirected() {
captive_portal_window_proxy_->ShowIfRedirected();
}
void Show() {
captive_portal_window_proxy_->Show();
}
void Close() {
captive_portal_window_proxy_->Close();
}
void OnRedirected() {
captive_portal_window_proxy_->OnRedirected();
}
void OnOriginalURLLoaded() {
captive_portal_window_proxy_->OnOriginalURLLoaded();
}
void CheckState(bool is_shown, int num_portal_notifications) {
bool actual_is_shown = (CaptivePortalWindowProxy::STATE_DISPLAYED ==
captive_portal_window_proxy_->GetState());
ASSERT_EQ(is_shown, actual_is_shown);
ASSERT_EQ(num_portal_notifications, delegate_.num_portal_notifications());
}
virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
command_line->AppendSwitch(chromeos::switches::kForceLoginManagerInTests);
command_line->AppendSwitch(chromeos::switches::kLoginManager);
}
virtual void SetUpOnMainThread() OVERRIDE {
host_ = LoginDisplayHostImpl::default_host();
CHECK(host_);
content::WebContents* web_contents =
LoginDisplayHostImpl::default_host()->GetWebUILoginView()->
GetWebContents();
captive_portal_window_proxy_.reset(
new CaptivePortalWindowProxy(&delegate_, web_contents));
}
virtual void CleanUpOnMainThread() OVERRIDE {
captive_portal_window_proxy_.reset();
base::MessageLoopForUI::current()->DeleteSoon(FROM_HERE, host_);
base::MessageLoopForUI::current()->RunUntilIdle();
}
private:
scoped_ptr<CaptivePortalWindowProxy> captive_portal_window_proxy_;
CaptivePortalWindowProxyStubDelegate delegate_;
LoginDisplayHost* host_;
};
IN_PROC_BROWSER_TEST_F(CaptivePortalWindowTest, Show) {
Show();
}
IN_PROC_BROWSER_TEST_F(CaptivePortalWindowTest, ShowClose) {
CheckState(false, 0);
Show();
CheckState(true, 0);
Close();
CheckState(false, 0);
}
IN_PROC_BROWSER_TEST_F(CaptivePortalWindowTest, OnRedirected) {
CheckState(false, 0);
ShowIfRedirected();
CheckState(false, 0);
OnRedirected();
CheckState(true, 1);
Close();
CheckState(false, 1);
}
IN_PROC_BROWSER_TEST_F(CaptivePortalWindowTest, OnOriginalURLLoaded) {
CheckState(false, 0);
ShowIfRedirected();
CheckState(false, 0);
OnRedirected();
CheckState(true, 1);
OnOriginalURLLoaded();
CheckState(false, 1);
}
IN_PROC_BROWSER_TEST_F(CaptivePortalWindowTest, MultipleCalls) {
CheckState(false, 0);
ShowIfRedirected();
CheckState(false, 0);
Show();
CheckState(true, 0);
Close();
CheckState(false, 0);
OnRedirected();
CheckState(false, 1);
OnOriginalURLLoaded();
CheckState(false, 1);
Show();
CheckState(true, 1);
OnRedirected();
CheckState(true, 2);
Close();
CheckState(false, 2);
OnOriginalURLLoaded();
CheckState(false, 2);
}
class CaptivePortalWindowCtorDtorTest : public LoginManagerTest {
public:
CaptivePortalWindowCtorDtorTest()
: LoginManagerTest(false) {}
virtual ~CaptivePortalWindowCtorDtorTest() {}
virtual void SetUpInProcessBrowserTestFixture() OVERRIDE {
LoginManagerTest::SetUpInProcessBrowserTestFixture();
network_portal_detector_ = new NetworkPortalDetectorTestImpl();
NetworkPortalDetector::InitializeForTesting(network_portal_detector_);
NetworkPortalDetector::CaptivePortalState portal_state;
portal_state.status = NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_PORTAL;
portal_state.response_code = 200;
network_portal_detector_->SetDefaultNetworkPathForTesting(
kStubEthernetServicePath);
network_portal_detector_->SetDetectionResultsForTesting(
kStubEthernetServicePath, portal_state);
}
protected:
NetworkPortalDetectorTestImpl* network_portal_detector() {
return network_portal_detector_;
}
private:
NetworkPortalDetectorTestImpl* network_portal_detector_;
DISALLOW_COPY_AND_ASSIGN(CaptivePortalWindowCtorDtorTest);
};
IN_PROC_BROWSER_TEST_F(CaptivePortalWindowCtorDtorTest, PRE_OpenPortalDialog) {
StartupUtils::MarkOobeCompleted();
}
IN_PROC_BROWSER_TEST_F(CaptivePortalWindowCtorDtorTest, OpenPortalDialog) {
network_portal_detector()->NotifyObserversForTesting();
OobeScreenWaiter(OobeDisplay::SCREEN_ERROR_MESSAGE).Wait();
LoginDisplayHostImpl* host =
static_cast<LoginDisplayHostImpl*>(LoginDisplayHostImpl::default_host());
ASSERT_TRUE(host);
OobeUI* oobe = host->GetOobeUI();
ASSERT_TRUE(oobe);
ErrorScreenActor* actor = oobe->GetErrorScreenActor();
ASSERT_TRUE(actor);
actor->ShowCaptivePortal();
}
} // namespace chromeos
| {
"pile_set_name": "Github"
} |
#ifndef BOOST_CORE_TYPEINFO_HPP_INCLUDED
#define BOOST_CORE_TYPEINFO_HPP_INCLUDED
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
// core::typeinfo, BOOST_CORE_TYPEID
//
// Copyright 2007, 2014 Peter Dimov
//
// Distributed under 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)
#include <boost/config.hpp>
#if defined( BOOST_NO_TYPEID )
#include <boost/current_function.hpp>
#include <functional>
namespace boost
{
namespace core
{
class typeinfo
{
private:
typeinfo( typeinfo const& );
typeinfo& operator=( typeinfo const& );
char const * name_;
public:
explicit typeinfo( char const * name ): name_( name )
{
}
bool operator==( typeinfo const& rhs ) const
{
return this == &rhs;
}
bool operator!=( typeinfo const& rhs ) const
{
return this != &rhs;
}
bool before( typeinfo const& rhs ) const
{
return std::less< typeinfo const* >()( this, &rhs );
}
char const* name() const
{
return name_;
}
};
inline char const * demangled_name( core::typeinfo const & ti )
{
return ti.name();
}
} // namespace core
namespace detail
{
template<class T> struct core_typeid_
{
static boost::core::typeinfo ti_;
static char const * name()
{
return BOOST_CURRENT_FUNCTION;
}
};
#if defined(__SUNPRO_CC)
// see #4199, the Sun Studio compiler gets confused about static initialization
// constructor arguments. But an assignment works just fine.
template<class T> boost::core::typeinfo core_typeid_< T >::ti_ = core_typeid_< T >::name();
#else
template<class T> boost::core::typeinfo core_typeid_< T >::ti_(core_typeid_< T >::name());
#endif
template<class T> struct core_typeid_< T & >: core_typeid_< T >
{
};
template<class T> struct core_typeid_< T const >: core_typeid_< T >
{
};
template<class T> struct core_typeid_< T volatile >: core_typeid_< T >
{
};
template<class T> struct core_typeid_< T const volatile >: core_typeid_< T >
{
};
} // namespace detail
} // namespace boost
#define BOOST_CORE_TYPEID(T) (boost::detail::core_typeid_<T>::ti_)
#else
#include <boost/core/demangle.hpp>
#include <typeinfo>
namespace boost
{
namespace core
{
#if defined( BOOST_NO_STD_TYPEINFO )
typedef ::type_info typeinfo;
#else
typedef std::type_info typeinfo;
#endif
inline std::string demangled_name( core::typeinfo const & ti )
{
return core::demangle( ti.name() );
}
} // namespace core
} // namespace boost
#define BOOST_CORE_TYPEID(T) typeid(T)
#endif
#endif // #ifndef BOOST_CORE_TYPEINFO_HPP_INCLUDED
| {
"pile_set_name": "Github"
} |
Car -1 -1 -10 579 181 669 251 1.51 1.55 3.57 0.41 1.76 17.98 1.79 1.00
Car -1 -1 -10 655 175 695 207 1.47 1.64 3.86 3.15 1.59 34.69 -1.41 1.00
Car -1 -1 -10 762 168 810 209 1.80 1.76 4.00 8.25 1.61 34.17 -1.44 0.97
Car -1 -1 -10 843 162 1037 281 1.66 1.66 4.23 5.25 1.52 12.21 -1.49 0.97
Car -1 -1 -10 749 173 786 201 1.62 1.63 3.88 9.60 1.69 44.17 -1.52 0.04
Car -1 -1 -10 677 178 706 205 1.70 1.66 4.04 5.35 2.07 47.72 1.62 0.02
Car -1 -1 -10 684 172 706 188 1.50 1.56 3.80 8.23 1.51 69.63 1.54 0.01
| {
"pile_set_name": "Github"
} |
<?php
$lang_downloadnotice = array
(
'head_download_notice' => "下载提示",
'text_client_banned_notice' => "被禁止客户端提示",
'text_client_banned_note' => "Tracker检查到你最近一次使用的BT客户端属于<b>被禁</b>的范畴。请阅读以下说明。",
'text_low_ratio_notice' => "低分享率提示",
'text_low_ratio_note_one' => "<span class='striking'><b>警告:</b></span>你的分享率过低!你必须在",
'text_low_ratio_note_two' => "内改善它,否则你在本站的<b>账号将被禁止</b>。如果你不明白什么是分享率,请仔细阅读以下说明。",
'text_first_time_download_notice' => "第一次下载提示",
'text_first_time_download_note' => "你好!<br />这可能是你<b>第一次</b>在本站下载种子。<br />在此之前请阅读以下几个简短的注意事项。",
'text_this_is_private_tracker' => "这是非公开BT站点,有分享率要求",
'text_private_tracker_note_one' => "这是非公开BT站点(Private Tracker),即我们的Tracker<b>只</b>提供给注册会员使用。",
'text_learn_more' => "关于非公开BT站点,见",
'text_nexuswiki' => "NexusWiki",
'text_private_tracker_note_two' => "要维持你的会员资格,你<b>必须</b>保持一个最低要求的上传量/下载量的比值(即<b>分享率</b>)。分享率过低将导致你<span class='striking'>失去在这里的会员资格</span>。",
'text_see_ratio' => "关于分享率要求,见",
'text_private_tracker_note_three' => "你当前的分享率会一直显示在导航菜单的正下面,请经常关注它。",
'text_private_tracker_note_four' => "<b>怎样才能获得良好的分享率?</b><br />最好的方式是<b>一直保持你的BT客户端处于运行状态</b>,为你下载的资源做种直到删除相应的文件为止。",
'text_use_allowed_clients' => "只能使用允许的BT客户端",
'text_allowed_clients_note_one' => "BT客户端有很多种。但是在本站,我们<b>只</b>允许其中的部分。其它客户端(如比特彗星,迅雷)属于<span class='striking'>被禁</span>范畴,我们的Tracker不会接受其连接请求。",
'text_why_banned' => "关于为什么禁止一些客户端,见",
'text_allowed_clients_note_two' => "你可以在",
'text_allowed_clients_note_three' => "中看到所有被允许的客户端。如果你不清楚该使用哪个客户端,可以选择以下两个推荐之一:",
'title_download' => "下载",
'text_for' => "支持平台:",
'text_for_more_information_read' => "了解更多信息,见",
'text_rules' => "规则",
'text_and' => "和",
'text_faq' => "常见问题",
'text_let_me_download' => "我会提高分享率的。",
'text_notice_not_show_again' => "下次不显示此提示",
'text_notice_always_show' => "每次都会显示此提示,直到你改善了分享率为止。",
'submit_download_the_torrent' => "下载种子文件",
);
?>
| {
"pile_set_name": "Github"
} |
template(name="rulesTriggers")
h2
i.fa.fa-magic
| {{{_ 'r-rule' }}} "#{data.ruleName.get}" - {{{_ 'r-add-trigger'}}}
.triggers-content
.triggers-body
.triggers-side-menu
ul
li.active.js-set-board-triggers
i.fa.fa-columns
li.js-set-card-triggers
i.fa.fa-sticky-note
li.js-set-checklist-triggers
i.fa.fa-check
.triggers-main-body
if showBoardTrigger.get
+boardTriggers
else if showCardTrigger.get
+cardTriggers
else if showChecklistTrigger.get
+checklistTriggers
div.rules-back
button.js-goback
i.fa.fa-chevron-left
| {{{_ 'back'}}}
| {
"pile_set_name": "Github"
} |
/*
* Copyright 2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.gradle.caching.internal.controller.service;
import org.gradle.caching.BuildCacheKey;
import org.gradle.caching.BuildCacheService;
import javax.annotation.Nullable;
public class NullBuildCacheServiceHandle implements BuildCacheServiceHandle {
public static final BuildCacheServiceHandle INSTANCE = new NullBuildCacheServiceHandle();
@Nullable
@Override
public BuildCacheService getService() {
return null;
}
@Override
public boolean canLoad() {
return false;
}
@Override
public void load(BuildCacheKey key, LoadTarget loadTarget) {
throw new UnsupportedOperationException();
}
@Override
public boolean canStore() {
return false;
}
@Override
public void store(BuildCacheKey key, StoreTarget storeTarget) {
throw new UnsupportedOperationException();
}
@Override
public void close() {
}
}
| {
"pile_set_name": "Github"
} |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("widget","it",{move:"Fare clic e trascinare per spostare"}); | {
"pile_set_name": "Github"
} |
I am binod
| {
"pile_set_name": "Github"
} |
.. _web_server:
Web Server
##########
Bugzilla requires a web server to run CGI scripts. It supports the following:
.. toctree::
:maxdepth: 1
apache
apache-windows
iis
| {
"pile_set_name": "Github"
} |
# $Id$
# Authority: dries
# Screenshot: http://edu.kde.org/kig/kig-snap-sine-curve.png
# ScreenshotURL: http://edu.kde.org/kig/screenshots.php
# Tag: rft
# this program is now included in kde
# ExcludeDist: fc3 fc2 fc1 el3
Summary: Explore mathematical concepts with interactive geometry
Name: kig
Version: 0.9
Release: 2%{?dist}
License: GPL
Group: Applications/Engineering
URL: http://edu.kde.org/kig
Source: ftp://ftp.kde.org/pub/kde/stable/apps/KDE3.x/math/kig-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: gettext, libart_lgpl-devel, libjpeg-devel, libpng-devel
BuildRequires: arts-devel, kdelibs-devel gcc, make, gcc-c++
BuildRequires: zlib-devel, qt-devel
Requires: kdelibs
#todo: needed for python scripting
#BuildRequires: boost-python-devel
%description
Kig is an application meant to allow high school
students to interactively explore mathematical
concepts, much like Dr.Geo, KGeo, KSeg and Cabri.
%description -l nl
Kig is een programma bedoeld om studenten op een
interactieve manier kennis te laten maken met
wiskundige concepten.
%prep
%setup
%build
. /etc/profile.d/qt.sh
%configure --disable-kig-python-scripting
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
. /etc/profile.d/qt.sh
%{__make} install DESTDIR=%{buildroot}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc AUTHORS COPYING INSTALL README VERSION
%{_bindir}/kig
%{_libdir}/kde3/libkigpart*
%{_datadir}/applications/kde/kig.desktop
%{_datadir}/apps/kig/builtin-macros/*
%{_datadir}/apps/kig/*
%{_datadir}/apps/kigpart/kigpartui.rc
%{_datadir}/doc/HTML/en/kig/*
%{_datadir}/icons/*/*/apps/kig.png
%{_datadir}/mimelnk/application/*
%{_datadir}/services/kig_part.desktop
%changelog
* Thu Mar 30 2006 Dries Verachtert <[email protected]> - 0.9-2
- Simplify buildequirements: kdelibs-devel already requires xorg-x11-devel/XFree86-devel
* Fri Oct 29 2004 Dries Verachtert <[email protected]> 0.9-1
- Update to release 0.9.
* Sun Jan 11 2004 Dries Verachtert <[email protected]> 0.6.0-4
- cleanup of spec file
* Thu Dec 11 2003 Dries Verachtert <[email protected]> 0.6.0-3
- added some BuildRequires
* Sun Nov 30 2003 Dries Verachtert <[email protected]> 0.6.0-2
- stripping of binaries added
* Sat Nov 29 2003 Dries Verachtert <[email protected]> 0.6.0-1
- first packaging for Fedora Core 1, without python support
| {
"pile_set_name": "Github"
} |
<?php
namespace Oro\Bundle\PricingBundle\Tests\Unit\Async;
use Doctrine\DBAL\Exception\DeadlockException;
use Doctrine\ORM\EntityManagerInterface;
use Doctrine\Persistence\ManagerRegistry;
use Oro\Bundle\CustomerBundle\Entity\Customer;
use Oro\Bundle\CustomerBundle\Entity\CustomerGroup;
use Oro\Bundle\PricingBundle\Async\CombinedPriceListProcessor;
use Oro\Bundle\PricingBundle\Async\Topics;
use Oro\Bundle\PricingBundle\Builder\CombinedPriceListsBuilderFacade;
use Oro\Bundle\PricingBundle\Model\CombinedPriceListTriggerHandler;
use Oro\Bundle\WebsiteBundle\Entity\Website;
use Oro\Component\MessageQueue\Consumption\MessageProcessorInterface;
use Oro\Component\MessageQueue\Transport\MessageInterface;
use Oro\Component\MessageQueue\Transport\SessionInterface;
use Oro\Component\MessageQueue\Util\JSON;
use Psr\Log\LoggerInterface;
/**
* @SuppressWarnings(PHPMD.TooManyMethods)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
class CombinedPriceListProcessorTest extends \PHPUnit\Framework\TestCase
{
/** @var ManagerRegistry|\PHPUnit\Framework\MockObject\MockObject */
private $doctrine;
/** @var LoggerInterface|\PHPUnit\Framework\MockObject\MockObject */
private $logger;
/** @var CombinedPriceListTriggerHandler|\PHPUnit\Framework\MockObject\MockObject */
private $triggerHandler;
/** @var CombinedPriceListsBuilderFacade|\PHPUnit\Framework\MockObject\MockObject */
private $combinedPriceListsBuilderFacade;
/** @var CombinedPriceListProcessor */
private $processor;
/**
* {@inheritdoc}
*/
protected function setUp(): void
{
$this->doctrine = $this->createMock(ManagerRegistry::class);
$this->logger = $this->createMock(LoggerInterface::class);
$this->triggerHandler = $this->createMock(CombinedPriceListTriggerHandler::class);
$this->combinedPriceListsBuilderFacade = $this->createMock(CombinedPriceListsBuilderFacade::class);
$this->processor = new CombinedPriceListProcessor(
$this->doctrine,
$this->logger,
$this->triggerHandler,
$this->combinedPriceListsBuilderFacade
);
}
/**
* @param mixed $body
*
* @return MessageInterface
*/
private function getMessage($body): MessageInterface
{
$message = $this->createMock(MessageInterface::class);
$message->expects($this->once())
->method('getBody')
->willReturn(JSON::encode($body));
return $message;
}
/**
* @return SessionInterface
*/
private function getSession(): SessionInterface
{
return $this->createMock(SessionInterface::class);
}
/**
* @return Website
*/
private function getWebsite(int $id): Website
{
$website = $this->createMock(Website::class);
$website->expects($this->any())
->method('getId')
->willReturn($id);
return $website;
}
/**
* @return CustomerGroup
*/
private function getCustomerGroup(int $id): CustomerGroup
{
$customerGroup = $this->createMock(CustomerGroup::class);
$customerGroup->expects($this->any())
->method('getId')
->willReturn($id);
return $customerGroup;
}
/**
* @return Customer
*/
private function getCustomer(int $id): Customer
{
$customer = $this->createMock(Customer::class);
$customer->expects($this->any())
->method('getId')
->willReturn($id);
return $customer;
}
public function testGetSubscribedTopics()
{
$this->assertEquals(
[Topics::REBUILD_COMBINED_PRICE_LISTS],
CombinedPriceListProcessor::getSubscribedTopics()
);
}
public function testProcessWithInvalidMessage()
{
$this->logger->expects($this->once())
->method('critical')
->with('Got invalid message.');
$this->assertEquals(
MessageProcessorInterface::REJECT,
$this->processor->process($this->getMessage('invalid'), $this->getSession())
);
}
public function testProcessRebuildForWebsitesWhenWebsiteNotFound()
{
$websiteId = 1;
$body = ['website' => 1];
$this->triggerHandler->expects($this->once())
->method('startCollect');
$this->triggerHandler->expects($this->once())
->method('rollback');
$this->triggerHandler->expects($this->never())
->method('commit');
$em = $this->createMock(EntityManagerInterface::class);
$this->doctrine->expects($this->once())
->method('getManagerForClass')
->with(Website::class)
->willReturn($em);
$em->expects($this->once())
->method('find')
->with(Website::class, $websiteId)
->willReturn(null);
$this->logger->expects($this->once())
->method('error')
->with('Message is invalid: Website was not found.');
$this->assertEquals(
MessageProcessorInterface::REJECT,
$this->processor->process($this->getMessage($body), $this->getSession())
);
}
public function testProcessRebuildForCustomerGroupsWhenCustomerGroupNotFound()
{
$customerGroupId = 10;
$body = ['website' => 1, 'customerGroup' => $customerGroupId];
$this->triggerHandler->expects($this->once())
->method('startCollect');
$this->triggerHandler->expects($this->once())
->method('rollback');
$this->triggerHandler->expects($this->never())
->method('commit');
$em = $this->createMock(EntityManagerInterface::class);
$this->doctrine->expects($this->once())
->method('getManagerForClass')
->with(CustomerGroup::class)
->willReturn($em);
$em->expects($this->once())
->method('find')
->with(CustomerGroup::class, $customerGroupId)
->willReturn(null);
$this->logger->expects($this->once())
->method('error')
->with('Message is invalid: Customer Group was not found.');
$this->assertEquals(
MessageProcessorInterface::REJECT,
$this->processor->process($this->getMessage($body), $this->getSession())
);
}
public function testProcessRebuildForCustomerGroupsWhenWebsiteNotFound()
{
$websiteId = 1;
$customerGroupId = 10;
$body = ['website' => $websiteId, 'customerGroup' => $customerGroupId];
$this->triggerHandler->expects($this->once())
->method('startCollect');
$this->triggerHandler->expects($this->once())
->method('rollback');
$this->triggerHandler->expects($this->never())
->method('commit');
$em = $this->createMock(EntityManagerInterface::class);
$this->doctrine->expects($this->exactly(2))
->method('getManagerForClass')
->willReturnMap([
[CustomerGroup::class, $em],
[Website::class, $em]
]);
$em->expects($this->exactly(2))
->method('find')
->willReturnMap([
[CustomerGroup::class, $customerGroupId, $this->getCustomerGroup($customerGroupId)],
[Website::class, $websiteId, null]
]);
$this->logger->expects($this->once())
->method('error')
->with('Message is invalid: Website was not found.');
$this->assertEquals(
MessageProcessorInterface::REJECT,
$this->processor->process($this->getMessage($body), $this->getSession())
);
}
public function testProcessRebuildForCustomersWhenCustomerNotFound()
{
$customerId = 100;
$body = ['website' => 1, 'customer' => $customerId];
$this->triggerHandler->expects($this->once())
->method('startCollect');
$this->triggerHandler->expects($this->once())
->method('rollback');
$this->triggerHandler->expects($this->never())
->method('commit');
$em = $this->createMock(EntityManagerInterface::class);
$this->doctrine->expects($this->once())
->method('getManagerForClass')
->with(Customer::class)
->willReturn($em);
$em->expects($this->once())
->method('find')
->with(Customer::class, $customerId)
->willReturn(null);
$this->logger->expects($this->once())
->method('error')
->with('Message is invalid: Customer was not found.');
$this->assertEquals(
MessageProcessorInterface::REJECT,
$this->processor->process($this->getMessage($body), $this->getSession())
);
}
public function testProcessRebuildForCustomersWhenWebsiteNotFound()
{
$websiteId = 1;
$customerId = 100;
$body = ['website' => $websiteId, 'customer' => $customerId];
$this->triggerHandler->expects($this->once())
->method('startCollect');
$this->triggerHandler->expects($this->once())
->method('rollback');
$this->triggerHandler->expects($this->never())
->method('commit');
$em = $this->createMock(EntityManagerInterface::class);
$this->doctrine->expects($this->exactly(2))
->method('getManagerForClass')
->willReturnMap([
[Customer::class, $em],
[Website::class, $em]
]);
$em->expects($this->exactly(2))
->method('find')
->willReturnMap([
[Customer::class, $customerId, $this->getCustomer($customerId)],
[Website::class, $websiteId, null]
]);
$this->logger->expects($this->once())
->method('error')
->with('Message is invalid: Website was not found.');
$this->assertEquals(
MessageProcessorInterface::REJECT,
$this->processor->process($this->getMessage($body), $this->getSession())
);
}
public function testProcessRebuildForCustomersWhenMessageContainsCustomerGroup()
{
$websiteId = 1;
$customerId = 100;
$website = $this->getWebsite($websiteId);
$customer = $this->getCustomer($customerId);
$body = ['website' => $websiteId, 'customerGroup' => 10, 'customer' => $customerId];
$this->triggerHandler->expects($this->once())
->method('startCollect');
$this->triggerHandler->expects($this->once())
->method('commit');
$this->triggerHandler->expects($this->never())
->method('rollback');
$em = $this->createMock(EntityManagerInterface::class);
$this->doctrine->expects($this->exactly(2))
->method('getManagerForClass')
->willReturnMap([
[Customer::class, $em],
[Website::class, $em]
]);
$em->expects($this->exactly(2))
->method('find')
->willReturnMap([
[Customer::class, $customerId, $customer],
[Website::class, $websiteId, $website]
]);
$this->combinedPriceListsBuilderFacade->expects($this->once())
->method('rebuildForCustomers')
->with([$customer], $website, false);
$this->combinedPriceListsBuilderFacade->expects($this->once())
->method('dispatchEvents');
$this->assertEquals(
MessageProcessorInterface::ACK,
$this->processor->process($this->getMessage($body), $this->getSession())
);
}
public function testProcessWhenUnexpectedExceptionOccurred()
{
$websiteId = 1;
$body = ['website' => $websiteId];
$exception = new \Exception('some error');
$this->triggerHandler->expects($this->once())
->method('startCollect');
$this->triggerHandler->expects($this->once())
->method('rollback');
$this->triggerHandler->expects($this->never())
->method('commit');
$em = $this->createMock(EntityManagerInterface::class);
$this->doctrine->expects($this->once())
->method('getManagerForClass')
->with(Website::class)
->willReturn($em);
$em->expects($this->once())
->method('find')
->with(Website::class, $websiteId)
->willReturn($this->getWebsite($websiteId));
$this->combinedPriceListsBuilderFacade->expects($this->once())
->method('rebuildForWebsites');
$this->combinedPriceListsBuilderFacade->expects($this->once())
->method('dispatchEvents')
->willThrowException($exception);
$this->logger->expects($this->once())
->method('error')
->with(
'Unexpected exception occurred during Combined Price Lists build.',
['exception' => $exception]
);
$this->assertEquals(
MessageProcessorInterface::REJECT,
$this->processor->process($this->getMessage($body), $this->getSession())
);
}
public function testProcessWhenDeadlockExceptionOccurred()
{
$websiteId = 1;
$body = ['website' => $websiteId];
$exception = $this->createMock(DeadlockException::class);
$this->triggerHandler->expects($this->once())
->method('startCollect');
$this->triggerHandler->expects($this->once())
->method('rollback');
$this->triggerHandler->expects($this->never())
->method('commit');
$em = $this->createMock(EntityManagerInterface::class);
$this->doctrine->expects($this->once())
->method('getManagerForClass')
->with(Website::class)
->willReturn($em);
$em->expects($this->once())
->method('find')
->with(Website::class, $websiteId)
->willReturn($this->getWebsite($websiteId));
$this->combinedPriceListsBuilderFacade->expects($this->once())
->method('rebuildForWebsites');
$this->combinedPriceListsBuilderFacade->expects($this->once())
->method('dispatchEvents')
->willThrowException($exception);
$this->logger->expects($this->once())
->method('error')
->with(
'Unexpected exception occurred during Combined Price Lists build.',
['exception' => $exception]
);
$this->assertEquals(
MessageProcessorInterface::REQUEUE,
$this->processor->process($this->getMessage($body), $this->getSession())
);
}
public function testProcessRebuildForWebsites()
{
$websiteId = 1;
$website = $this->getWebsite($websiteId);
$body = ['website' => $websiteId];
$this->triggerHandler->expects($this->once())
->method('startCollect');
$this->triggerHandler->expects($this->once())
->method('commit');
$this->triggerHandler->expects($this->never())
->method('rollback');
$em = $this->createMock(EntityManagerInterface::class);
$this->doctrine->expects($this->once())
->method('getManagerForClass')
->with(Website::class)
->willReturn($em);
$em->expects($this->once())
->method('find')
->with(Website::class, $websiteId)
->willReturn($website);
$this->combinedPriceListsBuilderFacade->expects($this->once())
->method('rebuildForWebsites')
->with([$website], false);
$this->combinedPriceListsBuilderFacade->expects($this->once())
->method('dispatchEvents');
$this->assertEquals(
MessageProcessorInterface::ACK,
$this->processor->process($this->getMessage($body), $this->getSession())
);
}
public function testProcessRebuildForCustomerGroups()
{
$websiteId = 1;
$customerGroupId = 10;
$website = $this->getWebsite($websiteId);
$customerGroup = $this->getCustomerGroup($customerGroupId);
$body = ['website' => $websiteId, 'customerGroup' => $customerGroupId];
$this->triggerHandler->expects($this->once())
->method('startCollect');
$this->triggerHandler->expects($this->once())
->method('commit');
$this->triggerHandler->expects($this->never())
->method('rollback');
$em = $this->createMock(EntityManagerInterface::class);
$this->doctrine->expects($this->exactly(2))
->method('getManagerForClass')
->willReturnMap([
[CustomerGroup::class, $em],
[Website::class, $em]
]);
$em->expects($this->exactly(2))
->method('find')
->willReturnMap([
[CustomerGroup::class, $customerGroupId, $customerGroup],
[Website::class, $websiteId, $website]
]);
$this->combinedPriceListsBuilderFacade->expects($this->once())
->method('rebuildForCustomerGroups')
->with([$customerGroup], $website, false);
$this->combinedPriceListsBuilderFacade->expects($this->once())
->method('dispatchEvents');
$this->assertEquals(
MessageProcessorInterface::ACK,
$this->processor->process($this->getMessage($body), $this->getSession())
);
}
public function testProcessRebuildForCustomers()
{
$websiteId = 1;
$customerId = 100;
$website = $this->getWebsite($websiteId);
$customer = $this->getCustomer($customerId);
$body = ['website' => $websiteId, 'customer' => $customerId];
$this->triggerHandler->expects($this->once())
->method('startCollect');
$this->triggerHandler->expects($this->once())
->method('commit');
$this->triggerHandler->expects($this->never())
->method('rollback');
$em = $this->createMock(EntityManagerInterface::class);
$this->doctrine->expects($this->exactly(2))
->method('getManagerForClass')
->willReturnMap([
[Customer::class, $em],
[Website::class, $em]
]);
$em->expects($this->exactly(2))
->method('find')
->willReturnMap([
[Customer::class, $customerId, $customer],
[Website::class, $websiteId, $website]
]);
$this->combinedPriceListsBuilderFacade->expects($this->once())
->method('rebuildForCustomers')
->with([$customer], $website, false);
$this->combinedPriceListsBuilderFacade->expects($this->once())
->method('dispatchEvents');
$this->assertEquals(
MessageProcessorInterface::ACK,
$this->processor->process($this->getMessage($body), $this->getSession())
);
}
public function testProcessRebuildAll()
{
$body = [];
$this->triggerHandler->expects($this->once())
->method('startCollect');
$this->triggerHandler->expects($this->once())
->method('commit');
$this->triggerHandler->expects($this->never())
->method('rollback');
$this->combinedPriceListsBuilderFacade->expects($this->once())
->method('rebuildAll')
->with(false);
$this->combinedPriceListsBuilderFacade->expects($this->once())
->method('dispatchEvents');
$this->assertEquals(
MessageProcessorInterface::ACK,
$this->processor->process($this->getMessage($body), $this->getSession())
);
}
public function testProcessRebuildAllWithForce()
{
$body = ['force' => true];
$this->triggerHandler->expects($this->once())
->method('startCollect');
$this->triggerHandler->expects($this->once())
->method('commit');
$this->triggerHandler->expects($this->never())
->method('rollback');
$this->combinedPriceListsBuilderFacade->expects($this->once())
->method('rebuildAll')
->with(true);
$this->combinedPriceListsBuilderFacade->expects($this->once())
->method('dispatchEvents');
$this->assertEquals(
MessageProcessorInterface::ACK,
$this->processor->process($this->getMessage($body), $this->getSession())
);
}
}
| {
"pile_set_name": "Github"
} |
# @configure_input@
# Makefile for libcpp. Run 'configure' to generate Makefile from Makefile.in
# Copyright (C) 2004-2019 Free Software Foundation, Inc.
#This file is part of libcpp.
#libcpp is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation; either version 3, or (at your option)
#any later version.
#libcpp is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details.
#You should have received a copy of the GNU General Public License
#along with libcpp; see the file COPYING3. If not see
#<http://www.gnu.org/licenses/>.
@SET_MAKE@
srcdir = @srcdir@
top_builddir = .
VPATH = @srcdir@
INSTALL = @INSTALL@
AR = ar
ARFLAGS = cru
ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
CATALOGS = $(patsubst %,po/%,@CATALOGS@)
CC = @CC@
CFLAGS = @CFLAGS@
WARN_CFLAGS = @warn@ @c_warn@ @WARN_PEDANTIC@ @WERROR@
CXX = @CXX@
CXXFLAGS = @CXXFLAGS@
WARN_CXXFLAGS = @warn@ @WARN_PEDANTIC@ @WERROR@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
EXEEXT = @EXEEXT@
GMSGFMT = @GMSGFMT@
INCINTL = @INCINTL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
LDFLAGS = @LDFLAGS@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
PACKAGE = @PACKAGE@
RANLIB = @RANLIB@
SHELL = @SHELL@
USED_CATALOGS = @USED_CATALOGS@
XGETTEXT = @XGETTEXT@
CCDEPMODE = @CCDEPMODE@
CXXDEPMODE = @CXXDEPMODE@
DEPDIR = @DEPDIR@
NOEXCEPTION_FLAGS = @noexception_flags@
PICFLAG = @PICFLAG@
datarootdir = @datarootdir@
datadir = @datadir@
exec_prefix = @prefix@
libdir = @libdir@
localedir = $(datadir)/locale
prefix = @prefix@
MSGMERGE = msgmerge
mkinstalldirs = $(SHELL) $(srcdir)/../mkinstalldirs
depcomp = $(SHELL) $(srcdir)/../depcomp
INCLUDES = -I$(srcdir) -I. -I$(srcdir)/../include @INCINTL@ \
-I$(srcdir)/include
ALL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(CPPFLAGS) $(PICFLAG)
ALL_CXXFLAGS = $(CXXFLAGS) $(WARN_CXXFLAGS) $(NOEXCEPTION_FLAGS) $(INCLUDES) \
$(CPPFLAGS) $(PICFLAG)
# The name of the compiler to use.
COMPILER = $(CXX)
COMPILER_FLAGS = $(ALL_CXXFLAGS)
DEPMODE = $(CXXDEPMODE)
libcpp_a_OBJS = charset.o directives.o directives-only.o errors.o \
expr.o files.o identifiers.o init.o lex.o line-map.o macro.o \
mkdeps.o pch.o symtab.o traditional.o
libcpp_a_SOURCES = charset.c directives.c directives-only.c errors.c \
expr.c files.c identifiers.c init.c lex.c line-map.c macro.c \
mkdeps.c pch.c symtab.c traditional.c
all: libcpp.a $(USED_CATALOGS)
.SUFFIXES:
.SUFFIXES: .c .gmo .o .obj .po .pox
libcpp.a: $(libcpp_a_OBJS)
-rm -f libcpp.a
$(AR) $(ARFLAGS) libcpp.a $(libcpp_a_OBJS)
$(RANLIB) libcpp.a
# Rules to rebuild the configuration
Makefile: $(srcdir)/Makefile.in config.status
$(SHELL) ./config.status Makefile
config.status: $(srcdir)/configure
$(SHELL) ./config.status --recheck
$(srcdir)/configure: @MAINT@ $(srcdir)/aclocal.m4
cd $(srcdir) && $(AUTOCONF)
$(srcdir)/aclocal.m4: @MAINT@ $(srcdir)/../config/acx.m4 \
$(srcdir)/../config/gettext-sister.m4 $(srcdir)/../config/iconv.m4 \
$(srcdir)/../config/codeset.m4 $(srcdir)/../config/lib-ld.m4 \
$(srcdir)/../config/lib-link.m4 $(srcdir)/../config/lib-prefix.m4 \
$(srcdir)/../config/override.m4 $(srcdir)/../config/proginstall.m4 \
$(srcdir)/configure.ac
cd $(srcdir) && $(ACLOCAL) -I ../config
config.h: stamp-h1
test -f config.h || (rm -f stamp-h1 && $(MAKE) stamp-h1)
stamp-h1: $(srcdir)/config.in config.status
-rm -f stamp-h1
$(SHELL) ./config.status config.h
$(srcdir)/config.in: @MAINT@ $(srcdir)/configure.ac
cd $(srcdir) && $(AUTOHEADER)
-rm -f stamp-h1
# It is not possible to get LOCALEDIR defined in config.h because
# the value it needs to be defined to is only determined in the
# Makefile. Hence we do this instead.
localedir.h: localedir.hs; @true
localedir.hs: Makefile
echo "#define LOCALEDIR \"$(localedir)\"" > localedir.new
$(srcdir)/../move-if-change localedir.new localedir.h
echo timestamp > localedir.hs
# Installation rules and other phony targets
# These rule has to look for .gmo modules in both srcdir and
# the cwd, and has to check that we actually have a catalog
# for each language, in case they weren't built or included
# with the distribution.
installdirs:
@$(mkinstalldirs) $(DESTDIR)$(datadir); \
cats="$(CATALOGS)"; for cat in $$cats; do \
lang=`basename $$cat | sed 's/\.gmo$$//'`; \
if [ -f $$cat ] || [ -f $(srcdir)/$$cat ]; then \
dir=$(localedir)/$$lang/LC_MESSAGES; \
$(mkinstalldirs) $(DESTDIR)$$dir || exit 1; \
fi; \
done
install-strip install: all installdirs
cats="$(CATALOGS)"; for cat in $$cats; do \
lang=`basename $$cat | sed 's/\.gmo$$//'`; \
if [ -f $$cat ]; then :; \
elif [ -f $(srcdir)/$$cat ]; then cat=$(srcdir)/$$cat; \
else continue; \
fi; \
dir=$(localedir)/$$lang/LC_MESSAGES; \
echo $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \
$(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \
done
mostlyclean:
-rm -f *.o
clean: mostlyclean
-rm -rf libcpp.a $(srcdir)/autom4te.cache
distclean: clean
-rm -f config.h stamp-h1 config.status config.cache config.log \
configure.lineno configure.status.lineno Makefile localedir.h \
localedir.hs $(DEPDIR)/*.Po
-rmdir $(DEPDIR)
maintainer-clean: distclean
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-rm -f $(srcdir)/configure $(srcdir)/aclocal.m4
check:
installcheck:
dvi:
pdf:
html:
info:
install-info:
install-pdf:
install-man:
install-html:
update-po: $(CATALOGS:.gmo=.pox)
.PHONY: installdirs install install-strip mostlyclean clean distclean \
maintainer-clean check installcheck dvi pdf html info install-info \
install-man update-po install-html
# Dependency rule.
COMPILE.base = $(COMPILER) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(COMPILER_FLAGS) -c
ifeq ($(DEPMODE),depmode=gcc3)
# Note that we put the dependencies into a .Tpo file, then move them
# into place if the compile succeeds. We need this because gcc does
# not atomically write the dependency output file.
COMPILE = $(COMPILE.base) -o $@ -MT $@ -MMD -MP -MF $(DEPDIR)/$*.Tpo
POSTCOMPILE = @mv $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
else
COMPILE = source='$<' object='$@' libtool=no DEPDIR=$(DEPDIR) $(DEPMODE) \
$(depcomp) $(COMPILE.base)
# depcomp handles atomicity for us, so we don't need a postcompile
# step.
POSTCOMPILE =
endif
# Implicit rules and I18N
.c.o:
$(COMPILE) $<
$(POSTCOMPILE)
# N.B. We do not attempt to copy these into $(srcdir).
.po.gmo:
$(mkinstalldirs) po
$(GMSGFMT) --statistics -o $@ $<
# The new .po has to be gone over by hand, so we deposit it into
# build/po with a different extension.
# If build/po/$(PACKAGE).pot exists, use it (it was just created),
# else use the one in srcdir.
.po.pox:
$(mkinstalldirs) po
$(MSGMERGE) $< `if test -f po/$(PACKAGE).pot; \
then echo po/$(PACKAGE).pot; \
else echo $(srcdir)/po/$(PACKAGE).pot; fi` -o $@
# Rule for regenerating the message template.
$(PACKAGE).pot: po/$(PACKAGE).pot
po/$(PACKAGE).pot: $(libcpp_a_SOURCES)
$(mkinstalldirs) $(srcdir)/po
$(XGETTEXT) --default-domain=$(PACKAGE) \
--keyword=_ --keyword=N_ \
--keyword=cpp_error:3 \
--keyword=cpp_warning:3 \
--keyword=cpp_pedwarning:3 \
--keyword=cpp_warning_syshdr:3 \
--keyword=cpp_error_with_line:5 \
--keyword=cpp_warning_with_line:5 \
--keyword=cpp_pedwarning_with_line:5 \
--keyword=cpp_warning_with_line_syshdr:5 \
--keyword=cpp_errno:3 \
--keyword=SYNTAX_ERROR --keyword=SYNTAX_ERROR2 \
--copyright-holder="Free Software Foundation, Inc." \
--msgid-bugs-address="https://gcc.gnu.org/bugs/" \
--language=c -o po/$(PACKAGE).pot.tmp $^
sed 's:$(srcdir)/::g' <po/$(PACKAGE).pot.tmp >po/$(PACKAGE).pot
rm po/$(PACKAGE).pot.tmp
TAGS_SOURCES = $(libcpp_a_SOURCES) internal.h system.h ucnid.h \
include/cpplib.h include/line-map.h include/mkdeps.h include/symtab.h
TAGS: $(TAGS_SOURCES)
cd $(srcdir) && etags $(TAGS_SOURCES)
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
# Dependencies
-include $(patsubst %.o, $(DEPDIR)/%.Po, $(libcpp_a_OBJS))
# Dependencies on generated headers have to be explicit.
init.o: localedir.h
| {
"pile_set_name": "Github"
} |
#pragma once
#define ONESHOT_TAP_TOOGLE 2
#define ONESHOT_TIMEOUT 2000
// tap dance configurations
#define TAPPING_TERM 200
#define TAPPING_TOGGLE 2
#define PERMISSIVE_HOLD
// Fix KC_GESC conflict with Cmd+Alt+Esc on macros
#define GRAVE_ESC_GUI_OVERRIDE
| {
"pile_set_name": "Github"
} |
---
title: "_com_error::_com_error"
ms.date: "11/04/2016"
f1_keywords: ["_com_error::_com_error"]
helpviewer_keywords: ["_com_error method [C++]"]
ms.assetid: 0a69e46c-caab-49ef-b091-eee401253ce6
---
# _com_error::_com_error
**Microsoft Specific**
Constructs a **_com_error** object.
## Syntax
```
_com_error(
HRESULT hr,
IErrorInfo* perrinfo = NULL,
bool fAddRef=false) throw( );
_com_error( const _com_error& that ) throw( );
```
#### Parameters
*hr*<br/>
HRESULT information.
*perrinfo*<br/>
`IErrorInfo` object.
*fAddRef*<br/>
The default causes the constructor to call AddRef on a non-null `IErrorInfo` interface. This provides for correct reference counting in the common case where ownership of the interface is passed into the **_com_error** object, such as:
```cpp
throw _com_error(hr, perrinfo);
```
If you do not want your code to transfer ownership to the **_com_error** object, and the `AddRef` is required to offset the `Release` in the **_com_error** destructor, construct the object as follows:
```cpp
_com_error err(hr, perrinfo, true);
```
*that*<br/>
An existing **_com_error** object.
## Remarks
The first constructor creates a new object given an HRESULT and optional `IErrorInfo` object. The second creates a copy of an existing **_com_error** object.
**END Microsoft Specific**
## See also
[_com_error Class](../cpp/com-error-class.md)
| {
"pile_set_name": "Github"
} |
/****************************************************************************
**
** Copyright (C) 2018 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** 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.
**
****************************************************************************/
#pragma once
#include <QtGlobal>
#if defined(LANGUAGESERVERPROTOCOL_LIBRARY)
# define LANGUAGESERVERPROTOCOL_EXPORT Q_DECL_EXPORT
#else
# define LANGUAGESERVERPROTOCOL_EXPORT Q_DECL_IMPORT
#endif
| {
"pile_set_name": "Github"
} |
package com.gf.mapper;
import com.gf.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface OrderMapper {
int insert(@Param("order") Order record);
} | {
"pile_set_name": "Github"
} |
using JetBrains.ReSharper.Psi.Tree;
namespace JetBrains.ReSharper.Plugins.FSharp.Psi.Tree
{
public partial interface IEnumMemberDeclaration : IFSharpTypeMemberDeclaration, ITypeMemberDeclaration
{
}
} | {
"pile_set_name": "Github"
} |
package com.schibsted.spain.barista.sample
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.rule.ActivityTestRule
import com.schibsted.spain.barista.rule.theme.DayNightRule
import org.junit.Rule
import org.junit.Test
class DayNightTestRuleTest {
@get:Rule
val activityRule = ActivityTestRule(HelloWorldActivity::class.java, true, false)
@get:Rule
val dayNightRule = DayNightRule()
@Test
fun someDeterministicTest() {
activityRule.launchActivity(null)
onView(withId(R.id.some_view)).check(matches(isDisplayed()))
}
@Test
fun testWillFailOnDayMode() {
try {
activityRule.launchActivity(null)
onView(withId(R.id.text_night)).check(matches(isDisplayed()))
} catch (t: Throwable) {
}
}
} | {
"pile_set_name": "Github"
} |
#!/bin/bash
cd $(dirname $0)
# Compatibility logic for older Anaconda versions.
if [ "${CONDA_EXE} " == " " ]; then
CONDA_EXE=$((find /opt/conda/bin/conda || find ~/anaconda3/bin/conda || \
find /usr/local/anaconda3/bin/conda || find ~/miniconda3/bin/conda || \
find /root/miniconda/bin/conda || find ~/Anaconda3/Scripts/conda) 2>/dev/null)
fi
if [ "${CONDA_EXE}_" == "_" ]; then
echo "Please install Anaconda w/ Python 3.7+ first"
echo "See: https://www.anaconda.com/distribution/"
exit 1
fi
CONDA_BIN=$(dirname ${CONDA_EXE})
MACOS_ENV=setup/environment.yml
LINUX_ENV=setup/environment-linux.yml
WIN64_ENV=setup/environment-win64.yml
ENV_FILE=$MACOS_ENV
if uname | egrep -qe "Linux"; then
ENV_FILE=$LINUX_ENV
elif uname | egrep -qe "MINGW64"; then
ENV_FILE=$WIN64_ENV
fi
if ${CONDA_EXE} env list | egrep -qe "^hummingbot"; then
${CONDA_EXE} env update -f $ENV_FILE
else
${CONDA_EXE} env create -f $ENV_FILE
fi
source "${CONDA_BIN}/activate" hummingbot
# For some reason, this needs to be installed outside of the environment file,
# or it'll give you the graphviz install error.
pip install objgraph
pre-commit install
| {
"pile_set_name": "Github"
} |
#! /usr/bin/env python
from _tools import parametrize, assert_raises
from numpy import random, count_nonzero
from numpy.testing import TestCase
from aubio import mfcc, cvec, float_type
buf_size = 2048
n_filters = 40
n_coeffs = 13
samplerate = 44100
new_params = ['buf_size', 'n_filters', 'n_coeffs', 'samplerate']
new_deflts = [1024, 40, 13, 44100]
class Test_aubio_mfcc(object):
members_args = 'name'
@parametrize(members_args, new_params)
def test_read_only_member(self, name):
o = mfcc()
with assert_raises((TypeError, AttributeError)):
setattr(o, name, 0)
@parametrize('name, expected', zip(new_params, new_deflts))
def test_default_param(self, name, expected):
""" test mfcc.{:s} = {:d} """.format(name, expected)
o = mfcc()
assert getattr(o, name) == expected
class aubio_mfcc_wrong_params(TestCase):
def test_wrong_buf_size(self):
with self.assertRaises(ValueError):
mfcc(buf_size = -1)
def test_wrong_n_filters(self):
with self.assertRaises(ValueError):
mfcc(n_filters = -1)
def test_wrong_n_coeffs(self):
with self.assertRaises(ValueError):
mfcc(n_coeffs = -1)
def test_wrong_samplerate(self):
with self.assertRaises(ValueError):
mfcc(samplerate = -1)
def test_wrong_input_size(self):
m = mfcc(buf_size = 1024)
with self.assertRaises(ValueError):
m(cvec(512))
class aubio_mfcc_compute(TestCase):
def test_members(self):
o = mfcc(buf_size, n_filters, n_coeffs, samplerate)
#assert_equal ([o.buf_size, o.method], [buf_size, method])
spec = cvec(buf_size)
#spec.norm[0] = 1
#spec.norm[1] = 1./2.
#print "%20s" % method, str(o(spec))
coeffs = o(spec)
self.assertEqual(coeffs.size, n_coeffs)
#print coeffs
spec.norm = random.random_sample((len(spec.norm),)).astype(float_type)
spec.phas = random.random_sample((len(spec.phas),)).astype(float_type)
#print "%20s" % method, str(o(spec))
self.assertEqual(count_nonzero(o(spec) != 0.), n_coeffs)
#print coeffs
class Test_aubio_mfcc_all_parameters(object):
run_values = [
(2048, 40, 13, 44100),
(1024, 40, 13, 44100),
(512, 40, 13, 44100),
(512, 40, 13, 16000),
(256, 40, 13, 16000),
(128, 40, 13, 16000),
(128, 40, 12, 16000),
(128, 40, 13, 15000),
(512, 40, 20, 44100),
(512, 40, 40, 44100),
(512, 40, 3, 44100),
(1024, 40, 20, 44100),
#(1024, 30, 20, 44100),
(1024, 40, 40, 44100),
(1024, 40, 3, 44100),
]
run_args = ['buf_size', 'n_filters', 'n_coeffs', 'samplerate']
@parametrize(run_args, run_values)
def test_run_with_params(self, buf_size, n_filters, n_coeffs, samplerate):
" check mfcc can run with reasonable parameters "
o = mfcc(buf_size, n_filters, n_coeffs, samplerate)
spec = cvec(buf_size)
spec.phas[0] = 0.2
for _ in range(10):
o(spec)
#print coeffs
class aubio_mfcc_fb_params(TestCase):
def test_set_scale(self):
buf_size, n_filters, n_coeffs, samplerate = 512, 20, 10, 16000
m = mfcc(buf_size, n_filters, n_coeffs, samplerate)
m.set_scale(10.5)
assert m.get_scale() == 10.5
m(cvec(buf_size))
def test_set_power(self):
buf_size, n_filters, n_coeffs, samplerate = 512, 20, 10, 16000
m = mfcc(buf_size, n_filters, n_coeffs, samplerate)
m.set_power(2.5)
assert m.get_power() == 2.5
m(cvec(buf_size))
def test_set_mel_coeffs(self):
buf_size, n_filters, n_coeffs, samplerate = 512, 20, 10, 16000
m = mfcc(buf_size, n_filters, n_coeffs, samplerate)
m.set_mel_coeffs(0., samplerate/2.)
m(cvec(buf_size))
def test_set_mel_coeffs_htk(self):
buf_size, n_filters, n_coeffs, samplerate = 512, 20, 10, 16000
m = mfcc(buf_size, n_filters, n_coeffs, samplerate)
m.set_mel_coeffs_htk(0., samplerate/2.)
m(cvec(buf_size))
def test_set_mel_coeffs_slaney(self):
buf_size, n_filters, n_coeffs, samplerate = 512, 40, 10, 16000
m = mfcc(buf_size, n_filters, n_coeffs, samplerate)
m.set_mel_coeffs_slaney()
m(cvec(buf_size))
assert m.get_power() == 1
assert m.get_scale() == 1
if __name__ == '__main__':
from _tools import run_module_suite
run_module_suite()
| {
"pile_set_name": "Github"
} |
// Copyright 2014 The Prometheus Authors
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package prometheus
import (
"math"
"math/rand"
"sort"
"sync"
"testing"
"testing/quick"
"time"
dto "github.com/coreos/etcd/Godeps/_workspace/src/github.com/prometheus/client_model/go"
)
func benchmarkSummaryObserve(w int, b *testing.B) {
b.StopTimer()
wg := new(sync.WaitGroup)
wg.Add(w)
g := new(sync.WaitGroup)
g.Add(1)
s := NewSummary(SummaryOpts{})
for i := 0; i < w; i++ {
go func() {
g.Wait()
for i := 0; i < b.N; i++ {
s.Observe(float64(i))
}
wg.Done()
}()
}
b.StartTimer()
g.Done()
wg.Wait()
}
func BenchmarkSummaryObserve1(b *testing.B) {
benchmarkSummaryObserve(1, b)
}
func BenchmarkSummaryObserve2(b *testing.B) {
benchmarkSummaryObserve(2, b)
}
func BenchmarkSummaryObserve4(b *testing.B) {
benchmarkSummaryObserve(4, b)
}
func BenchmarkSummaryObserve8(b *testing.B) {
benchmarkSummaryObserve(8, b)
}
func benchmarkSummaryWrite(w int, b *testing.B) {
b.StopTimer()
wg := new(sync.WaitGroup)
wg.Add(w)
g := new(sync.WaitGroup)
g.Add(1)
s := NewSummary(SummaryOpts{})
for i := 0; i < 1000000; i++ {
s.Observe(float64(i))
}
for j := 0; j < w; j++ {
outs := make([]dto.Metric, b.N)
go func(o []dto.Metric) {
g.Wait()
for i := 0; i < b.N; i++ {
s.Write(&o[i])
}
wg.Done()
}(outs)
}
b.StartTimer()
g.Done()
wg.Wait()
}
func BenchmarkSummaryWrite1(b *testing.B) {
benchmarkSummaryWrite(1, b)
}
func BenchmarkSummaryWrite2(b *testing.B) {
benchmarkSummaryWrite(2, b)
}
func BenchmarkSummaryWrite4(b *testing.B) {
benchmarkSummaryWrite(4, b)
}
func BenchmarkSummaryWrite8(b *testing.B) {
benchmarkSummaryWrite(8, b)
}
func TestSummaryConcurrency(t *testing.T) {
if testing.Short() {
t.Skip("Skipping test in short mode.")
}
rand.Seed(42)
it := func(n uint32) bool {
mutations := int(n%1e4 + 1e4)
concLevel := int(n%5 + 1)
total := mutations * concLevel
var start, end sync.WaitGroup
start.Add(1)
end.Add(concLevel)
sum := NewSummary(SummaryOpts{
Name: "test_summary",
Help: "helpless",
})
allVars := make([]float64, total)
var sampleSum float64
for i := 0; i < concLevel; i++ {
vals := make([]float64, mutations)
for j := 0; j < mutations; j++ {
v := rand.NormFloat64()
vals[j] = v
allVars[i*mutations+j] = v
sampleSum += v
}
go func(vals []float64) {
start.Wait()
for _, v := range vals {
sum.Observe(v)
}
end.Done()
}(vals)
}
sort.Float64s(allVars)
start.Done()
end.Wait()
m := &dto.Metric{}
sum.Write(m)
if got, want := int(*m.Summary.SampleCount), total; got != want {
t.Errorf("got sample count %d, want %d", got, want)
}
if got, want := *m.Summary.SampleSum, sampleSum; math.Abs((got-want)/want) > 0.001 {
t.Errorf("got sample sum %f, want %f", got, want)
}
objectives := make([]float64, 0, len(DefObjectives))
for qu := range DefObjectives {
objectives = append(objectives, qu)
}
sort.Float64s(objectives)
for i, wantQ := range objectives {
ε := DefObjectives[wantQ]
gotQ := *m.Summary.Quantile[i].Quantile
gotV := *m.Summary.Quantile[i].Value
min, max := getBounds(allVars, wantQ, ε)
if gotQ != wantQ {
t.Errorf("got quantile %f, want %f", gotQ, wantQ)
}
if gotV < min || gotV > max {
t.Errorf("got %f for quantile %f, want [%f,%f]", gotV, gotQ, min, max)
}
}
return true
}
if err := quick.Check(it, nil); err != nil {
t.Error(err)
}
}
func TestSummaryVecConcurrency(t *testing.T) {
if testing.Short() {
t.Skip("Skipping test in short mode.")
}
rand.Seed(42)
objectives := make([]float64, 0, len(DefObjectives))
for qu := range DefObjectives {
objectives = append(objectives, qu)
}
sort.Float64s(objectives)
it := func(n uint32) bool {
mutations := int(n%1e4 + 1e4)
concLevel := int(n%7 + 1)
vecLength := int(n%3 + 1)
var start, end sync.WaitGroup
start.Add(1)
end.Add(concLevel)
sum := NewSummaryVec(
SummaryOpts{
Name: "test_summary",
Help: "helpless",
},
[]string{"label"},
)
allVars := make([][]float64, vecLength)
sampleSums := make([]float64, vecLength)
for i := 0; i < concLevel; i++ {
vals := make([]float64, mutations)
picks := make([]int, mutations)
for j := 0; j < mutations; j++ {
v := rand.NormFloat64()
vals[j] = v
pick := rand.Intn(vecLength)
picks[j] = pick
allVars[pick] = append(allVars[pick], v)
sampleSums[pick] += v
}
go func(vals []float64) {
start.Wait()
for i, v := range vals {
sum.WithLabelValues(string('A' + picks[i])).Observe(v)
}
end.Done()
}(vals)
}
for _, vars := range allVars {
sort.Float64s(vars)
}
start.Done()
end.Wait()
for i := 0; i < vecLength; i++ {
m := &dto.Metric{}
s := sum.WithLabelValues(string('A' + i))
s.Write(m)
if got, want := int(*m.Summary.SampleCount), len(allVars[i]); got != want {
t.Errorf("got sample count %d for label %c, want %d", got, 'A'+i, want)
}
if got, want := *m.Summary.SampleSum, sampleSums[i]; math.Abs((got-want)/want) > 0.001 {
t.Errorf("got sample sum %f for label %c, want %f", got, 'A'+i, want)
}
for j, wantQ := range objectives {
ε := DefObjectives[wantQ]
gotQ := *m.Summary.Quantile[j].Quantile
gotV := *m.Summary.Quantile[j].Value
min, max := getBounds(allVars[i], wantQ, ε)
if gotQ != wantQ {
t.Errorf("got quantile %f for label %c, want %f", gotQ, 'A'+i, wantQ)
}
if gotV < min || gotV > max {
t.Errorf("got %f for quantile %f for label %c, want [%f,%f]", gotV, gotQ, 'A'+i, min, max)
}
}
}
return true
}
if err := quick.Check(it, nil); err != nil {
t.Error(err)
}
}
func TestSummaryDecay(t *testing.T) {
if testing.Short() {
t.Skip("Skipping test in short mode.")
// More because it depends on timing than because it is particularly long...
}
sum := NewSummary(SummaryOpts{
Name: "test_summary",
Help: "helpless",
MaxAge: 100 * time.Millisecond,
Objectives: map[float64]float64{0.1: 0.001},
AgeBuckets: 10,
})
m := &dto.Metric{}
i := 0
tick := time.NewTicker(time.Millisecond)
for _ = range tick.C {
i++
sum.Observe(float64(i))
if i%10 == 0 {
sum.Write(m)
if got, want := *m.Summary.Quantile[0].Value, math.Max(float64(i)/10, float64(i-90)); math.Abs(got-want) > 20 {
t.Errorf("%d. got %f, want %f", i, got, want)
}
m.Reset()
}
if i >= 1000 {
break
}
}
tick.Stop()
// Wait for MaxAge without observations and make sure quantiles are NaN.
time.Sleep(100 * time.Millisecond)
sum.Write(m)
if got := *m.Summary.Quantile[0].Value; !math.IsNaN(got) {
t.Errorf("got %f, want NaN after expiration", got)
}
}
func getBounds(vars []float64, q, ε float64) (min, max float64) {
// TODO: This currently tolerates an error of up to 2*ε. The error must
// be at most ε, but for some reason, it's sometimes slightly
// higher. That's a bug.
n := float64(len(vars))
lower := int((q - 2*ε) * n)
upper := int(math.Ceil((q + 2*ε) * n))
min = vars[0]
if lower > 1 {
min = vars[lower-1]
}
max = vars[len(vars)-1]
if upper < len(vars) {
max = vars[upper-1]
}
return
}
| {
"pile_set_name": "Github"
} |
Designers
=========
argon2 Alex Biryukov
Daniel Dinu
Dmitry Khovratovich
blake2 Jean-Philippe Aumasson
Christian Winnerlein
Samuel Neves
Zooko Wilcox-O'Hearn
chacha20 Daniel J. Bernstein
chacha20poly1305 Adam Langley
Yoav Nir
curve25519 Daniel J. Bernstein
curve25519xsalsa20poly1305 Daniel J. Bernstein
ed25519 Daniel J. Bernstein
Bo-Yin Yang
Niels Duif
Peter Schwabe
Tanja Lange
poly1305 Daniel J. Bernstein
salsa20 Daniel J. Bernstein
scrypt Colin Percival
siphash Jean-Philippe Aumasson
Daniel J. Bernstein
Implementors
============
crypto_aead/aes256gcm/aesni Romain Dolbeau
Frank Denis
crypto_aead/chacha20poly1305 Frank Denis
crypto_aead/xchacha20poly1305 Frank Denis
Jason A. Donenfeld
crypto_auth/hmacsha256 Colin Percival
crypto_auth/hmacsha512
crypto_auth/hmacsha512256
crypto_box/curve25519xsalsa20poly1305 Daniel J. Bernstein
crypto_box/curve25519xchacha20poly1305 Frank Denis
crypto_core/ed25519 Daniel J. Bernstein
Adam Langley
crypto_core/hchacha20 Frank Denis
crypto_core/hsalsa20 Daniel J. Bernstein
crypto_core/salsa
crypto_generichash/blake2b Jean-Philippe Aumasson
Christian Winnerlein
Samuel Neves
Zooko Wilcox-O'Hearn
crypto_hash/sha256 Colin Percival
crypto_hash/sha512
crypto_hash/sha512256
crypto_kdf Frank Denis
crypto_kx Frank Denis
crypto_onetimeauth/poly1305/donna Andrew "floodyberry" Moon
crypto_onetimeauth/poly1305/sse2
crypto_pwhash/argon2 Samuel Neves
Dmitry Khovratovich
Jean-Philippe Aumasson
Daniel Dinu
Thomas Pornin
crypto_pwhash/scryptsalsa208sha256 Colin Percival
Alexander Peslyak
crypto_scalarmult/curve25519/ref10 Daniel J. Bernstein
crypto_scalarmult/curve25519/sandy2x Tung Chou
crypto_scalarmult/ed25519 Frank Denis
crypto_secretbox/xsalsa20poly1305 Daniel J. Bernstein
crypto_secretbox/xchacha20poly1305 Frank Denis
crypto_secretstream/xchacha20poly1305 Frank Denis
crypto_shorthash/siphash24 Jean-Philippe Aumasson
Daniel J. Bernstein
crypto_sign/ed25519 Peter Schwabe
Daniel J. Bernstein
Niels Duif
Tanja Lange
Bo-Yin Yang
crypto_stream/chacha20/ref Daniel J. Bernstein
crypto_stream/chacha20/dolbeau Romain Dolbeau
Daniel J. Bernstein
crypto_stream/salsa20/ref Daniel J. Bernstein
crypto_stream/salsa20/xmm6
crypto_stream/salsa20/xmm6int Romain Dolbeau
Daniel J. Bernstein
crypto_stream/salsa2012/ref Daniel J. Bernstein
crypto_stream/salsa2008/ref
crypto_stream/xchacha20 Frank Denis
crypto_verify Frank Denis
sodium/codecs.c Frank Denis
Thomas Pornin
Christian Winnerlein
sodium/core.c Frank Denis
sodium/runtime.h
sodium/utils.c
| {
"pile_set_name": "Github"
} |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2015 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: yunwuxin <[email protected]>
// +----------------------------------------------------------------------
namespace think\console\command;
use think\console\Command;
use think\console\Input;
use think\console\Output;
use think\console\input\Argument as InputArgument;
use think\console\input\Option as InputOption;
use think\console\input\Definition as InputDefinition;
class Lists extends Command
{
/**
* {@inheritdoc}
*/
protected function configure()
{
$this->setName('list')->setDefinition($this->createDefinition())->setDescription('Lists commands')->setHelp(<<<EOF
The <info>%command.name%</info> command lists all commands:
<info>php %command.full_name%</info>
You can also display the commands for a specific namespace:
<info>php %command.full_name% test</info>
It's also possible to get raw list of commands (useful for embedding command runner):
<info>php %command.full_name% --raw</info>
EOF
);
}
/**
* {@inheritdoc}
*/
public function getNativeDefinition()
{
return $this->createDefinition();
}
/**
* {@inheritdoc}
*/
protected function execute(Input $input, Output $output)
{
$output->describe($this->getConsole(), [
'raw_text' => $input->getOption('raw'),
'namespace' => $input->getArgument('namespace'),
]);
}
/**
* {@inheritdoc}
*/
private function createDefinition()
{
return new InputDefinition([
new InputArgument('namespace', InputArgument::OPTIONAL, 'The namespace name'),
new InputOption('raw', null, InputOption::VALUE_NONE, 'To output raw command list')
]);
}
}
| {
"pile_set_name": "Github"
} |
extend ../layout
block content
.container
.row
table.table.table-hover.table-bordered
thead
tr
th(style="text-align:center") 名字
th 时间
th 查看
th 更新
th 删除
th 返回
tbody
each item in users
tr(class="item-id-#{item_id}")
td(style="text-align:center") #{item.name}
td #{moment(item.meta.updateAt).format('MM/DD/YYYY')}
td: a(target="_blank",href="#") 查看
td: a(target="_blank",href="#") 修改
td: button.btn.btn-danger.del(type="button",data-id="#") 删除
td: a.btn.btn-success(href="/") 返回首页 | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
"""
Do windowed detection by classifying a number of images/crops at once,
optionally using the selective search window proposal method.
This implementation follows ideas in
Ross Girshick, Jeff Donahue, Trevor Darrell, Jitendra Malik.
Rich feature hierarchies for accurate object detection and semantic
segmentation.
http://arxiv.org/abs/1311.2524
The selective_search_ijcv_with_python code required for the selective search
proposal mode is available at
https://github.com/sergeyk/selective_search_ijcv_with_python
"""
import numpy as np
import os
import caffe
class Detector(caffe.Net):
"""
Detector extends Net for windowed detection by a list of crops or
selective search proposals.
Parameters
----------
mean, input_scale, raw_scale, channel_swap : params for preprocessing
options.
context_pad : amount of surrounding context to take s.t. a `context_pad`
sized border of pixels in the network input image is context, as in
R-CNN feature extraction.
"""
def __init__(self, model_file, pretrained_file, mean=None,
input_scale=None, raw_scale=None, channel_swap=None,
context_pad=None):
caffe.Net.__init__(self, model_file, pretrained_file, caffe.TEST)
# configure pre-processing
in_ = self.inputs[0]
self.transformer = caffe.io.Transformer(
{in_: self.blobs[in_].data.shape})
self.transformer.set_transpose(in_, (2, 0, 1))
if mean is not None:
self.transformer.set_mean(in_, mean)
if input_scale is not None:
self.transformer.set_input_scale(in_, input_scale)
if raw_scale is not None:
self.transformer.set_raw_scale(in_, raw_scale)
if channel_swap is not None:
self.transformer.set_channel_swap(in_, channel_swap)
self.configure_crop(context_pad)
def detect_windows(self, images_windows):
"""
Do windowed detection over given images and windows. Windows are
extracted then warped to the input dimensions of the net.
Parameters
----------
images_windows: (image filename, window list) iterable.
context_crop: size of context border to crop in pixels.
Returns
-------
detections: list of {filename: image filename, window: crop coordinates,
predictions: prediction vector} dicts.
"""
# Extract windows.
window_inputs = []
for image_fname, windows in images_windows:
image = caffe.io.load_image(image_fname).astype(np.float32)
for window in windows:
window_inputs.append(self.crop(image, window))
# Run through the net (warping windows to input dimensions).
in_ = self.inputs[0]
caffe_in = np.zeros((len(window_inputs), window_inputs[0].shape[2])
+ self.blobs[in_].data.shape[2:],
dtype=np.float32)
for ix, window_in in enumerate(window_inputs):
caffe_in[ix] = self.transformer.preprocess(in_, window_in)
out = self.forward_all(**{in_: caffe_in})
predictions = out[self.outputs[0]].squeeze(axis=(2, 3))
# Package predictions with images and windows.
detections = []
ix = 0
for image_fname, windows in images_windows:
for window in windows:
detections.append({
'window': window,
'prediction': predictions[ix],
'filename': image_fname
})
ix += 1
return detections
def detect_selective_search(self, image_fnames):
"""
Do windowed detection over Selective Search proposals by extracting
the crop and warping to the input dimensions of the net.
Parameters
----------
image_fnames: list
Returns
-------
detections: list of {filename: image filename, window: crop coordinates,
predictions: prediction vector} dicts.
"""
import selective_search_ijcv_with_python as selective_search
# Make absolute paths so MATLAB can find the files.
image_fnames = [os.path.abspath(f) for f in image_fnames]
windows_list = selective_search.get_windows(
image_fnames,
cmd='selective_search_rcnn'
)
# Run windowed detection on the selective search list.
return self.detect_windows(zip(image_fnames, windows_list))
def crop(self, im, window):
"""
Crop a window from the image for detection. Include surrounding context
according to the `context_pad` configuration.
Parameters
----------
im: H x W x K image ndarray to crop.
window: bounding box coordinates as ymin, xmin, ymax, xmax.
Returns
-------
crop: cropped window.
"""
# Crop window from the image.
crop = im[window[0]:window[2], window[1]:window[3]]
if self.context_pad:
box = window.copy()
crop_size = self.blobs[self.inputs[0]].width # assumes square
scale = crop_size / (1. * crop_size - self.context_pad * 2)
# Crop a box + surrounding context.
half_h = (box[2] - box[0] + 1) / 2.
half_w = (box[3] - box[1] + 1) / 2.
center = (box[0] + half_h, box[1] + half_w)
scaled_dims = scale * np.array((-half_h, -half_w, half_h, half_w))
box = np.round(np.tile(center, 2) + scaled_dims)
full_h = box[2] - box[0] + 1
full_w = box[3] - box[1] + 1
scale_h = crop_size / full_h
scale_w = crop_size / full_w
pad_y = round(max(0, -box[0]) * scale_h) # amount out-of-bounds
pad_x = round(max(0, -box[1]) * scale_w)
# Clip box to image dimensions.
im_h, im_w = im.shape[:2]
box = np.clip(box, 0., [im_h, im_w, im_h, im_w])
clip_h = box[2] - box[0] + 1
clip_w = box[3] - box[1] + 1
assert(clip_h > 0 and clip_w > 0)
crop_h = round(clip_h * scale_h)
crop_w = round(clip_w * scale_w)
if pad_y + crop_h > crop_size:
crop_h = crop_size - pad_y
if pad_x + crop_w > crop_size:
crop_w = crop_size - pad_x
# collect with context padding and place in input
# with mean padding
context_crop = im[box[0]:box[2], box[1]:box[3]]
context_crop = caffe.io.resize_image(context_crop, (crop_h, crop_w))
crop = np.ones(self.crop_dims, dtype=np.float32) * self.crop_mean
crop[pad_y:(pad_y + crop_h), pad_x:(pad_x + crop_w)] = context_crop
return crop
def configure_crop(self, context_pad):
"""
Configure crop dimensions and amount of context for cropping.
If context is included, make the special input mean for context padding.
Parameters
----------
context_pad : amount of context for cropping.
"""
# crop dimensions
in_ = self.inputs[0]
tpose = self.transformer.transpose[in_]
inv_tpose = [tpose[t] for t in tpose]
self.crop_dims = np.array(self.blobs[in_].data.shape[1:])[inv_tpose]
#.transpose(inv_tpose)
# context padding
self.context_pad = context_pad
if self.context_pad:
in_ = self.inputs[0]
transpose = self.transformer.transpose.get(in_)
channel_order = self.transformer.channel_swap.get(in_)
raw_scale = self.transformer.raw_scale.get(in_)
# Padding context crops needs the mean in unprocessed input space.
mean = self.transformer.mean.get(in_)
if mean is not None:
inv_transpose = [transpose[t] for t in transpose]
crop_mean = mean.copy().transpose(inv_transpose)
if channel_order is not None:
channel_order_inverse = [channel_order.index(i)
for i in range(crop_mean.shape[2])]
crop_mean = crop_mean[:, :, channel_order_inverse]
if raw_scale is not None:
crop_mean /= raw_scale
self.crop_mean = crop_mean
else:
self.crop_mean = np.zeros(self.crop_dims, dtype=np.float32)
| {
"pile_set_name": "Github"
} |
# auto.tcl --
#
# utility procs formerly in init.tcl dealing with auto execution
# of commands and can be auto loaded themselves.
#
# Copyright (c) 1991-1993 The Regents of the University of California.
# Copyright (c) 1994-1998 Sun Microsystems, Inc.
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# auto_reset --
#
# Destroy all cached information for auto-loading and auto-execution,
# so that the information gets recomputed the next time it's needed.
# Also delete any commands that are listed in the auto-load index.
#
# Arguments:
# None.
proc auto_reset {} {
global auto_execs auto_index auto_path
if {[array exists auto_index]} {
foreach cmdName [array names auto_index] {
set fqcn [namespace which $cmdName]
if {$fqcn eq ""} {continue}
rename $fqcn {}
}
}
unset -nocomplain auto_execs auto_index ::tcl::auto_oldpath
if {[catch {llength $auto_path}]} {
set auto_path [list [info library]]
} else {
if {[info library] ni $auto_path} {
lappend auto_path [info library]
}
}
}
# tcl_findLibrary --
#
# This is a utility for extensions that searches for a library directory
# using a canonical searching algorithm. A side effect is to source
# the initialization script and set a global library variable.
#
# Arguments:
# basename Prefix of the directory name, (e.g., "tk")
# version Version number of the package, (e.g., "8.0")
# patch Patchlevel of the package, (e.g., "8.0.3")
# initScript Initialization script to source (e.g., tk.tcl)
# enVarName environment variable to honor (e.g., TK_LIBRARY)
# varName Global variable to set when done (e.g., tk_library)
proc tcl_findLibrary {basename version patch initScript enVarName varName} {
upvar #0 $varName the_library
global auto_path env tcl_platform
set dirs {}
set errors {}
# The C application may have hardwired a path, which we honor
if {[info exists the_library] && $the_library ne ""} {
lappend dirs $the_library
} else {
# Do the canonical search
# 1. From an environment variable, if it exists.
# Placing this first gives the end-user ultimate control
# to work-around any bugs, or to customize.
if {[info exists env($enVarName)]} {
lappend dirs $env($enVarName)
}
# 2. In the package script directory registered within
# the configuration of the package itself.
if {[catch {
::${basename}::pkgconfig get scriptdir,runtime
} value] == 0} {
lappend dirs $value
}
# 3. Relative to auto_path directories. This checks relative to the
# Tcl library as well as allowing loading of libraries added to the
# auto_path that is not relative to the core library or binary paths.
foreach d $auto_path {
lappend dirs [file join $d $basename$version]
if {$tcl_platform(platform) eq "unix"
&& $tcl_platform(os) eq "Darwin"} {
# 4. On MacOSX, check the Resources/Scripts subdir too
lappend dirs [file join $d $basename$version Resources Scripts]
}
}
# 3. Various locations relative to the executable
# ../lib/foo1.0 (From bin directory in install hierarchy)
# ../../lib/foo1.0 (From bin/arch directory in install hierarchy)
# ../library (From unix directory in build hierarchy)
#
# Remaining locations are out of date (when relevant, they ought
# to be covered by the $::auto_path seach above) and disabled.
#
# ../../library (From unix/arch directory in build hierarchy)
# ../../foo1.0.1/library
# (From unix directory in parallel build hierarchy)
# ../../../foo1.0.1/library
# (From unix/arch directory in parallel build hierarchy)
set parentDir [file dirname [file dirname [info nameofexecutable]]]
set grandParentDir [file dirname $parentDir]
lappend dirs [file join $parentDir lib $basename$version]
lappend dirs [file join $grandParentDir lib $basename$version]
lappend dirs [file join $parentDir library]
if {0} {
lappend dirs [file join $grandParentDir library]
lappend dirs [file join $grandParentDir $basename$patch library]
lappend dirs [file join [file dirname $grandParentDir] \
$basename$patch library]
}
}
# uniquify $dirs in order
array set seen {}
foreach i $dirs {
# Take note that the [file normalize] below has been noted to
# cause difficulties for the freewrap utility. See Bug 1072136.
# Until freewrap resolves the matter, one might work around the
# problem by disabling that branch.
if {[interp issafe]} {
set norm $i
} else {
set norm [file normalize $i]
}
if {[info exists seen($norm)]} { continue }
set seen($norm) ""
lappend uniqdirs $i
}
set dirs $uniqdirs
foreach i $dirs {
set the_library $i
set file [file join $i $initScript]
# source everything when in a safe interpreter because
# we have a source command, but no file exists command
if {[interp issafe] || [file exists $file]} {
if {![catch {uplevel #0 [list source $file]} msg opts]} {
return
} else {
append errors "$file: $msg\n"
append errors [dict get $opts -errorinfo]\n
}
}
}
unset -nocomplain the_library
set msg "Can't find a usable $initScript in the following directories: \n"
append msg " $dirs\n\n"
append msg "$errors\n\n"
append msg "This probably means that $basename wasn't installed properly.\n"
error $msg
}
# ----------------------------------------------------------------------
# auto_mkindex
# ----------------------------------------------------------------------
# The following procedures are used to generate the tclIndex file
# from Tcl source files. They use a special safe interpreter to
# parse Tcl source files, writing out index entries as "proc"
# commands are encountered. This implementation won't work in a
# safe interpreter, since a safe interpreter can't create the
# special parser and mess with its commands.
if {[interp issafe]} {
return ;# Stop sourcing the file here
}
# auto_mkindex --
# Regenerate a tclIndex file from Tcl source files. Takes as argument
# the name of the directory in which the tclIndex file is to be placed,
# followed by any number of glob patterns to use in that directory to
# locate all of the relevant files.
#
# Arguments:
# dir - Name of the directory in which to create an index.
# args - Any number of additional arguments giving the
# names of files within dir. If no additional
# are given auto_mkindex will look for *.tcl.
proc auto_mkindex {dir args} {
if {[interp issafe]} {
error "can't generate index within safe interpreter"
}
set oldDir [pwd]
cd $dir
set dir [pwd]
append index "# Tcl autoload index file, version 2.0\n"
append index "# This file is generated by the \"auto_mkindex\" command\n"
append index "# and sourced to set up indexing information for one or\n"
append index "# more commands. Typically each line is a command that\n"
append index "# sets an element in the auto_index array, where the\n"
append index "# element name is the name of a command and the value is\n"
append index "# a script that loads the command.\n\n"
if {[llength $args] == 0} {
set args *.tcl
}
auto_mkindex_parser::init
foreach file [glob -- {*}$args] {
if {[catch {auto_mkindex_parser::mkindex $file} msg opts] == 0} {
append index $msg
} else {
cd $oldDir
return -options $opts $msg
}
}
auto_mkindex_parser::cleanup
set fid [open "tclIndex" w]
puts -nonewline $fid $index
close $fid
cd $oldDir
}
# Original version of auto_mkindex that just searches the source
# code for "proc" at the beginning of the line.
proc auto_mkindex_old {dir args} {
set oldDir [pwd]
cd $dir
set dir [pwd]
append index "# Tcl autoload index file, version 2.0\n"
append index "# This file is generated by the \"auto_mkindex\" command\n"
append index "# and sourced to set up indexing information for one or\n"
append index "# more commands. Typically each line is a command that\n"
append index "# sets an element in the auto_index array, where the\n"
append index "# element name is the name of a command and the value is\n"
append index "# a script that loads the command.\n\n"
if {[llength $args] == 0} {
set args *.tcl
}
foreach file [glob -- {*}$args] {
set f ""
set error [catch {
set f [open $file]
while {[gets $f line] >= 0} {
if {[regexp {^proc[ ]+([^ ]*)} $line match procName]} {
set procName [lindex [auto_qualify $procName "::"] 0]
append index "set [list auto_index($procName)]"
append index " \[list source \[file join \$dir [list $file]\]\]\n"
}
}
close $f
} msg opts]
if {$error} {
catch {close $f}
cd $oldDir
return -options $opts $msg
}
}
set f ""
set error [catch {
set f [open tclIndex w]
puts -nonewline $f $index
close $f
cd $oldDir
} msg opts]
if {$error} {
catch {close $f}
cd $oldDir
error $msg $info $code
return -options $opts $msg
}
}
# Create a safe interpreter that can be used to parse Tcl source files
# generate a tclIndex file for autoloading. This interp contains
# commands for things that need index entries. Each time a command
# is executed, it writes an entry out to the index file.
namespace eval auto_mkindex_parser {
variable parser "" ;# parser used to build index
variable index "" ;# maintains index as it is built
variable scriptFile "" ;# name of file being processed
variable contextStack "" ;# stack of namespace scopes
variable imports "" ;# keeps track of all imported cmds
variable initCommands ;# list of commands that create aliases
if {![info exists initCommands]} {
set initCommands [list]
}
proc init {} {
variable parser
variable initCommands
if {![interp issafe]} {
set parser [interp create -safe]
$parser hide info
$parser hide rename
$parser hide proc
$parser hide namespace
$parser hide eval
$parser hide puts
$parser invokehidden namespace delete ::
$parser invokehidden proc unknown {args} {}
# We'll need access to the "namespace" command within the
# interp. Put it back, but move it out of the way.
$parser expose namespace
$parser invokehidden rename namespace _%@namespace
$parser expose eval
$parser invokehidden rename eval _%@eval
# Install all the registered psuedo-command implementations
foreach cmd $initCommands {
eval $cmd
}
}
}
proc cleanup {} {
variable parser
interp delete $parser
unset parser
}
}
# auto_mkindex_parser::mkindex --
#
# Used by the "auto_mkindex" command to create a "tclIndex" file for
# the given Tcl source file. Executes the commands in the file, and
# handles things like the "proc" command by adding an entry for the
# index file. Returns a string that represents the index file.
#
# Arguments:
# file Name of Tcl source file to be indexed.
proc auto_mkindex_parser::mkindex {file} {
variable parser
variable index
variable scriptFile
variable contextStack
variable imports
set scriptFile $file
set fid [open $file]
set contents [read $fid]
close $fid
# There is one problem with sourcing files into the safe
# interpreter: references like "$x" will fail since code is not
# really being executed and variables do not really exist.
# To avoid this, we replace all $ with \0 (literally, the null char)
# later, when getting proc names we will have to reverse this replacement,
# in case there were any $ in the proc name. This will cause a problem
# if somebody actually tries to have a \0 in their proc name. Too bad
# for them.
set contents [string map [list \$ \0] $contents]
set index ""
set contextStack ""
set imports ""
$parser eval $contents
foreach name $imports {
catch {$parser eval [list _%@namespace forget $name]}
}
return $index
}
# auto_mkindex_parser::hook command
#
# Registers a Tcl command to evaluate when initializing the
# slave interpreter used by the mkindex parser.
# The command is evaluated in the master interpreter, and can
# use the variable auto_mkindex_parser::parser to get to the slave
proc auto_mkindex_parser::hook {cmd} {
variable initCommands
lappend initCommands $cmd
}
# auto_mkindex_parser::slavehook command
#
# Registers a Tcl command to evaluate when initializing the
# slave interpreter used by the mkindex parser.
# The command is evaluated in the slave interpreter.
proc auto_mkindex_parser::slavehook {cmd} {
variable initCommands
# The $parser variable is defined to be the name of the
# slave interpreter when this command is used later.
lappend initCommands "\$parser eval [list $cmd]"
}
# auto_mkindex_parser::command --
#
# Registers a new command with the "auto_mkindex_parser" interpreter
# that parses Tcl files. These commands are fake versions of things
# like the "proc" command. When you execute them, they simply write
# out an entry to a "tclIndex" file for auto-loading.
#
# This procedure allows extensions to register their own commands
# with the auto_mkindex facility. For example, a package like
# [incr Tcl] might register a "class" command so that class definitions
# could be added to a "tclIndex" file for auto-loading.
#
# Arguments:
# name Name of command recognized in Tcl files.
# arglist Argument list for command.
# body Implementation of command to handle indexing.
proc auto_mkindex_parser::command {name arglist body} {
hook [list auto_mkindex_parser::commandInit $name $arglist $body]
}
# auto_mkindex_parser::commandInit --
#
# This does the actual work set up by auto_mkindex_parser::command
# This is called when the interpreter used by the parser is created.
#
# Arguments:
# name Name of command recognized in Tcl files.
# arglist Argument list for command.
# body Implementation of command to handle indexing.
proc auto_mkindex_parser::commandInit {name arglist body} {
variable parser
set ns [namespace qualifiers $name]
set tail [namespace tail $name]
if {$ns eq ""} {
set fakeName [namespace current]::_%@fake_$tail
} else {
set fakeName [namespace current]::[string map {:: _} _%@fake_$name]
}
proc $fakeName $arglist $body
# YUK! Tcl won't let us alias fully qualified command names,
# so we can't handle names like "::itcl::class". Instead,
# we have to build procs with the fully qualified names, and
# have the procs point to the aliases.
if {[string match *::* $name]} {
set exportCmd [list _%@namespace export [namespace tail $name]]
$parser eval [list _%@namespace eval $ns $exportCmd]
# The following proc definition does not work if you
# want to tolerate space or something else diabolical
# in the procedure name, (i.e., space in $alias)
# The following does not work:
# "_%@eval {$alias} \$args"
# because $alias gets concat'ed to $args.
# The following does not work because $cmd is somehow undefined
# "set cmd {$alias} \; _%@eval {\$cmd} \$args"
# A gold star to someone that can make test
# autoMkindex-3.3 work properly
set alias [namespace tail $fakeName]
$parser invokehidden proc $name {args} "_%@eval {$alias} \$args"
$parser alias $alias $fakeName
} else {
$parser alias $name $fakeName
}
return
}
# auto_mkindex_parser::fullname --
# Used by commands like "proc" within the auto_mkindex parser.
# Returns the qualified namespace name for the "name" argument.
# If the "name" does not start with "::", elements are added from
# the current namespace stack to produce a qualified name. Then,
# the name is examined to see whether or not it should really be
# qualified. If the name has more than the leading "::", it is
# returned as a fully qualified name. Otherwise, it is returned
# as a simple name. That way, the Tcl autoloader will recognize
# it properly.
#
# Arguments:
# name - Name that is being added to index.
proc auto_mkindex_parser::fullname {name} {
variable contextStack
if {![string match ::* $name]} {
foreach ns $contextStack {
set name "${ns}::$name"
if {[string match ::* $name]} {
break
}
}
}
if {[namespace qualifiers $name] eq ""} {
set name [namespace tail $name]
} elseif {![string match ::* $name]} {
set name "::$name"
}
# Earlier, mkindex replaced all $'s with \0. Now, we have to reverse
# that replacement.
return [string map [list \0 \$] $name]
}
if {[llength $::auto_mkindex_parser::initCommands]} {
return
}
# Register all of the procedures for the auto_mkindex parser that
# will build the "tclIndex" file.
# AUTO MKINDEX: proc name arglist body
# Adds an entry to the auto index list for the given procedure name.
auto_mkindex_parser::command proc {name args} {
variable index
variable scriptFile
# Do some fancy reformatting on the "source" call to handle platform
# differences with respect to pathnames. Use format just so that the
# command is a little easier to read (otherwise it'd be full of
# backslashed dollar signs, etc.
append index [list set auto_index([fullname $name])] \
[format { [list source [file join $dir %s]]} \
[file split $scriptFile]] "\n"
}
# Conditionally add support for Tcl byte code files. There are some
# tricky details here. First, we need to get the tbcload library
# initialized in the current interpreter. We cannot load tbcload into the
# slave until we have done so because it needs access to the tcl_patchLevel
# variable. Second, because the package index file may defer loading the
# library until we invoke a command, we need to explicitly invoke auto_load
# to force it to be loaded. This should be a noop if the package has
# already been loaded
auto_mkindex_parser::hook {
if {![catch {package require tbcload}]} {
if {[namespace which -command tbcload::bcproc] eq ""} {
auto_load tbcload::bcproc
}
load {} tbcload $auto_mkindex_parser::parser
# AUTO MKINDEX: tbcload::bcproc name arglist body
# Adds an entry to the auto index list for the given pre-compiled
# procedure name.
auto_mkindex_parser::commandInit tbcload::bcproc {name args} {
variable index
variable scriptFile
# Do some nice reformatting of the "source" call, to get around
# path differences on different platforms. We use the format
# command just so that the code is a little easier to read.
append index [list set auto_index([fullname $name])] \
[format { [list source [file join $dir %s]]} \
[file split $scriptFile]] "\n"
}
}
}
# AUTO MKINDEX: namespace eval name command ?arg arg...?
# Adds the namespace name onto the context stack and evaluates the
# associated body of commands.
#
# AUTO MKINDEX: namespace import ?-force? pattern ?pattern...?
# Performs the "import" action in the parser interpreter. This is
# important for any commands contained in a namespace that affect
# the index. For example, a script may say "itcl::class ...",
# or it may import "itcl::*" and then say "class ...". This
# procedure does the import operation, but keeps track of imported
# patterns so we can remove the imports later.
auto_mkindex_parser::command namespace {op args} {
switch -- $op {
eval {
variable parser
variable contextStack
set name [lindex $args 0]
set args [lrange $args 1 end]
set contextStack [linsert $contextStack 0 $name]
$parser eval [list _%@namespace eval $name] $args
set contextStack [lrange $contextStack 1 end]
}
import {
variable parser
variable imports
foreach pattern $args {
if {$pattern ne "-force"} {
lappend imports $pattern
}
}
catch {$parser eval "_%@namespace import $args"}
}
ensemble {
variable parser
variable contextStack
if {[lindex $args 0] eq "create"} {
set name ::[join [lreverse $contextStack] ::]
# create artifical proc to force an entry in the tclIndex
$parser eval [list ::proc $name {} {}]
}
}
}
}
return
| {
"pile_set_name": "Github"
} |
project(cascade C CXX)
configure_file(${CMAKE_SOURCE_DIR}/src/cascade/common/cmake.in ${CMAKE_CURRENT_BINARY_DIR}/../codegen/cmake.h)
if(${BISON_VERSION} VERSION_GREATER 3.2.9)
bison_target(verilog_parser cascade/verilog/parse/verilog.yy ${CMAKE_CURRENT_BINARY_DIR}/../codegen/verilog_parser.cc COMPILE_FLAGS --warnings=none)
else(${BISON_VERSION} VERSION_GREATER 3.2.9)
bison_target(verilog_parser cascade/verilog/parse/verilog.yy ${CMAKE_CURRENT_BINARY_DIR}/../codegen/verilog_parser.cc)
endif(${BISON_VERSION} VERSION_GREATER 3.2.9)
flex_target(verilog_lexer cascade/verilog/parse/verilog.ll ${CMAKE_CURRENT_BINARY_DIR}/../codegen/verilog_lexer.cc)
add_flex_bison_dependency(verilog_lexer verilog_parser)
file (GLOB_RECURSE SRC "*.cc")
add_library(libcascade SHARED STATIC
${BISON_verilog_parser_OUTPUTS}
${FLEX_verilog_lexer_OUTPUTS}
${SRC}
)
set_target_properties(libcascade PROPERTIES PREFIX "")
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm")
target_compile_options(libcascade PRIVATE -Wno-psabi)
endif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm")
install(TARGETS libcascade DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)
install(DIRECTORY cascade DESTINATION ${CMAKE_INSTALL_PREFIX}/include FILES_MATCHING PATTERN "*.h")
install(DIRECTORY cascade/codegen DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/codegen FILES_MATCHING PATTERN "*.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 arm64 amd64 ppc64 ppc64le mips64 mips64le s390x
// +build darwin dragonfly freebsd linux netbsd openbsd
package socket
import "unsafe"
func (v *iovec) set(b []byte) {
l := len(b)
if l == 0 {
return
}
v.Base = (*byte)(unsafe.Pointer(&b[0]))
v.Len = uint64(l)
}
| {
"pile_set_name": "Github"
} |
//
// FMDatabasePool.h
// fmdb
//
// Created by August Mueller on 6/22/11.
// Copyright 2011 Flying Meat Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "sqlite3.h"
@class FMDatabase;
/** Pool of `<FMDatabase>` objects.
### See also
- `<FMDatabaseQueue>`
- `<FMDatabase>`
@warning Before using `FMDatabasePool`, please consider using `<FMDatabaseQueue>` instead.
If you really really really know what you're doing and `FMDatabasePool` is what
you really really need (ie, you're using a read only database), OK you can use
it. But just be careful not to deadlock!
For an example on deadlocking, search for:
`ONLY_USE_THE_POOL_IF_YOU_ARE_DOING_READS_OTHERWISE_YOULL_DEADLOCK_USE_FMDATABASEQUEUE_INSTEAD`
in the main.m file.
*/
@interface FMDatabasePool : NSObject {
NSString *_path;
dispatch_queue_t _lockQueue;
NSMutableArray *_databaseInPool;
NSMutableArray *_databaseOutPool;
__unsafe_unretained id _delegate;
NSUInteger _maximumNumberOfDatabasesToCreate;
int _openFlags;
}
/** Database path */
@property (atomic, retain) NSString *path;
/** Delegate object */
@property (atomic, assign) id delegate;
/** Maximum number of databases to create */
@property (atomic, assign) NSUInteger maximumNumberOfDatabasesToCreate;
/** Open flags */
@property (atomic, readonly) int openFlags;
///---------------------
/// @name Initialization
///---------------------
/** Create pool using path.
@param aPath The file path of the database.
@return The `FMDatabasePool` object. `nil` on error.
*/
+ (instancetype)databasePoolWithPath:(NSString*)aPath;
/** Create pool using path and specified flags
@param aPath The file path of the database.
@param openFlags Flags passed to the openWithFlags method of the database
@return The `FMDatabasePool` object. `nil` on error.
*/
+ (instancetype)databasePoolWithPath:(NSString*)aPath flags:(int)openFlags;
/** Create pool using path.
@param aPath The file path of the database.
@return The `FMDatabasePool` object. `nil` on error.
*/
- (instancetype)initWithPath:(NSString*)aPath;
/** Create pool using path and specified flags.
@param aPath The file path of the database.
@param openFlags Flags passed to the openWithFlags method of the database
@return The `FMDatabasePool` object. `nil` on error.
*/
- (instancetype)initWithPath:(NSString*)aPath flags:(int)openFlags;
///------------------------------------------------
/// @name Keeping track of checked in/out databases
///------------------------------------------------
/** Number of checked-in databases in pool
@returns Number of databases
*/
- (NSUInteger)countOfCheckedInDatabases;
/** Number of checked-out databases in pool
@returns Number of databases
*/
- (NSUInteger)countOfCheckedOutDatabases;
/** Total number of databases in pool
@returns Number of databases
*/
- (NSUInteger)countOfOpenDatabases;
/** Release all databases in pool */
- (void)releaseAllDatabases;
///------------------------------------------
/// @name Perform database operations in pool
///------------------------------------------
/** Synchronously perform database operations in pool.
@param block The code to be run on the `FMDatabasePool` pool.
*/
- (void)inDatabase:(void (^)(FMDatabase *db))block;
/** Synchronously perform database operations in pool using transaction.
@param block The code to be run on the `FMDatabasePool` pool.
*/
- (void)inTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block;
/** Synchronously perform database operations in pool using deferred transaction.
@param block The code to be run on the `FMDatabasePool` pool.
*/
- (void)inDeferredTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block;
#if SQLITE_VERSION_NUMBER >= 3007000
/** Synchronously perform database operations in pool using save point.
@param block The code to be run on the `FMDatabasePool` pool.
@return `NSError` object if error; `nil` if successful.
@warning You can not nest these, since calling it will pull another database out of the pool and you'll get a deadlock. If you need to nest, use `<[FMDatabase startSavePointWithName:error:]>` instead.
*/
- (NSError*)inSavePoint:(void (^)(FMDatabase *db, BOOL *rollback))block;
#endif
@end
/** FMDatabasePool delegate category
This is a category that defines the protocol for the FMDatabasePool delegate
*/
@interface NSObject (FMDatabasePoolDelegate)
/** Asks the delegate whether database should be added to the pool.
@param pool The `FMDatabasePool` object.
@param database The `FMDatabase` object.
@return `YES` if it should add database to pool; `NO` if not.
*/
- (BOOL)databasePool:(FMDatabasePool*)pool shouldAddDatabaseToPool:(FMDatabase*)database;
/** Tells the delegate that database was added to the pool.
@param pool The `FMDatabasePool` object.
@param database The `FMDatabase` object.
*/
- (void)databasePool:(FMDatabasePool*)pool didAddDatabase:(FMDatabase*)database;
@end
| {
"pile_set_name": "Github"
} |
/* ========================================================================
* PROJECT: ARToolKitPlus
* ========================================================================
* This work is based on the original ARToolKit developed by
* Hirokazu Kato
* Mark Billinghurst
* HITLab, University of Washington, Seattle
* http://www.hitl.washington.edu/artoolkit/
*
* Copyright of the derived and new portions of this work
* (C) 2006 Graz University of Technology
*
* This framework 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 framework is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this framework; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* For further information please contact
* Dieter Schmalstieg
* <[email protected]>
* Graz University of Technology,
* Institut for Computer Graphics and Vision,
* Inffeldgasse 16a, 8010 Graz, Austria.
* ========================================================================
** @author Daniel Wagner
*
* $Id$
* @file
* ======================================================================== */
#ifndef __ARTKPFIXEDBASE_GENERIC_HEADERFILE__
#define __ARTKPFIXEDBASE_GENERIC_HEADERFILE__
#include <assert.h>
// Generic MATHBASE implementation for all
// platforms. This implementation is totally
// unoptimized.
// (e.g. using the sin() function from math.h)
//
template <int PBITS_, int CHECK_>
class artkpFixedBase_generic
{
public:
enum {
PBITS = PBITS_,
CHECK = CHECK_
};
static void checkInt(int nInteger)
{
__int64 v64 = ((__int64)nInteger) << PBITS;
if(v64 != int(v64))
{
assert(false && "Integer to Fixed-Point conversion failed: the target's range was overflowed");
};
}
static void checkFloat(float nFloat)
{
__int64 v64 = (__int64)(nFloat * ((float)(1 << PBITS) + 0.5f));
if(v64 != int(v64))
{
assert(false && "Float to Fixed-Point conversion failed: the target's range was overflowed");
};
}
static void checkDouble(double nDouble)
{
__int64 v64 = (__int64)(nDouble * ((double)(1 << PBITS) + 0.5f));
if(v64 != int(v64))
{
assert(false && "Double to Fixed-Point conversion failed: the target's range was overflowed");
};
}
static float floatFromFixed(int nFixed)
{
return nFixed/(float)(1 << PBITS);
}
static double doubleFromFixed(int nFixed)
{
return nFixed/(double)(1 << PBITS);
}
static int fixedFromInt(int nV)
{
if(CHECK)
checkInt(nV);
return nV<<PBITS;
}
static int fixedFromFloat(float nV)
{
if(CHECK)
checkFloat(nV);
return (int)(nV * (float)(1 << PBITS) + 0.5f);
}
static int fixedFromDouble(double nV)
{
if(CHECK)
checkDouble(nV);
return (int)(nV * (double)(1 << PBITS) + 0.5f);
}
static int inverse(int nFixed)
{
return (__int32)(((__int64)1<<(2*PBITS))/nFixed);
}
static int multiply(int nLeftFixed, int nRightFixed)
{
return (__int32)(((__int64)nLeftFixed * (__int64)nRightFixed) >> PBITS);
}
static int divide(int nLeftFixed, int nRightFixed)
{
return (__int32)(((__int64)nLeftFixed << PBITS) / nRightFixed);
}
static int cos(int nFixed)
{
return fixedFromDouble(::cos(floatFromFixed(nFixed)));
}
static int sin(int nFixed)
{
return fixedFromDouble(::sin(floatFromFixed(nFixed)));
}
static int fabs(int nFixed)
{
return nFixed<0 ? -nFixed : nFixed;
}
static int sqrt(int nFixed)
{
return fixedFromDouble(::sqrt(floatFromFixed(nFixed)));
}
static int inverseSqrt(int nFixed)
{
return inverse(sqrt(nFixed));
}
static int ceil(int nFixed)
{
int ret = (nFixed>>PBITS)<<PBITS;
if(nFixed>=0 && ret<nFixed)
ret += fixedFromInt(1);
return ret;
}
};
#endif //__ARTKPFIXEDBASE_GENERIC_HEADERFILE__
| {
"pile_set_name": "Github"
} |
/*
Copyright 2016 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package anonymous
import (
"net/http"
"k8s.io/apiserver/pkg/authentication/authenticator"
"k8s.io/apiserver/pkg/authentication/user"
)
const (
anonymousUser = user.Anonymous
unauthenticatedGroup = user.AllUnauthenticated
)
func NewAuthenticator() authenticator.Request {
return authenticator.RequestFunc(func(req *http.Request) (*authenticator.Response, bool, error) {
auds, _ := authenticator.AudiencesFrom(req.Context())
return &authenticator.Response{
User: &user.DefaultInfo{
Name: anonymousUser,
Groups: []string{unauthenticatedGroup},
},
Audiences: auds,
}, true, nil
})
}
| {
"pile_set_name": "Github"
} |
# Univers BdCd
name UCB
spacewidth 5856
pcltypeface 4148
pclproportional 1
pclweight 3
pclstyle 4
ligatures fi fl ff ffi ffl 0
kernpairs
L V -2924
P . -4388
P , -4388
V A -1949
A V -1949
T o -2924
T r -2924
T c -2924
T e -2924
T d -2924
T s -2924
T y -2924
T a -2924
T w -2924
T u -2924
T J -3413
L T -2924
L Y -2924
Y o -2924
Y e -2924
Y a -2438
Y J -3413
A W -1460
W A -1460
T A -2438
V o -1460
V e -1460
V a -1460
Y A -2438
F A -1460
F . -2924
F , -2924
A T -2438
A Y -2438
v . -1460
v , -1460
y . -1460
y , -1460
T . -2924
T , -2924
L W -1460
P A -1460
V J -1949
V . -2924
V , -2924
Y . -2924
Y , -2924
W o -974
W e -974
W a -974
W . -1460
W , -1460
r . -1460
r , -1460
w . -974
w , -974
Y u -1460
A v -1460
A y -974
A w -974
o . -1460
o , -1460
p . -974
p , -974
e . -974
e , -974
b . -974
b , -974
O T -1460
O V -485
O Y -1460
O . -1460
O , -1460
L y -974
L O -1460
L G -1949
L C -1460
L Q -1460
P J -1949
V y -485
V u -485
V O -485
V G -485
V C -485
V Q -485
D T -1949
D V -485
D Y -1460
D . -1949
D , -1949
Y O -1460
Y G -1460
Y C -1460
Y Q -1460
F o -974
F e -974
F a -974
c . -974
c , -974
O A -974
O W -485
L U -1460
R T -974
R V -485
R Y -974
R W -485
G T -1460
P o -1460
P g -1460
P e -1460
P a -974
C A -974
C . -1460
C , -1460
D A -974
D W -485
B T -1460
B Y -1460
B . -1460
B , -1460
F J -1460
A O -974
A G -974
A C -974
A U -974
A Q -974
W r -485
W y -485
W u -485
W O -485
W G -485
W C -485
W J -1460
W Q -485
J A -974
J . -1460
J , -1460
U A -974
U . -1460
U , -1460
Q W -485
f . -485
f , -485
T O -1460
T G -1949
T C -1460
T Q -1460
O X -1460
L o -1460
L e -1460
L q -974
G V -485
G Y -1460
G W -485
P T -974
P V -485
P Y -974
C T -1460
C V -485
C Y -1460
D X -1460
B V -485
B X -1460
B A -974
B W -485
S . -974
S , -974
X o -1460
X e -1460
X y -974
X O -1460
X G -1460
X C -1460
X Q -1460
A o -974
A e -974
K o -1460
K e -1460
K y -974
K w -974
K O -1460
K G -1460
K C -1460
K Q -1460
o v -485
o y -485
o x -485
o w -485
h v -485
h y -485
n v -485
n y -485
m v -485
m y -485
r g -485
p v -485
p y -485
p x -485
c v -485
c y -485
c w -485
v o -485
v g -485
v c -485
v d -485
v a -485
v q -485
e v -485
e y -485
b v -485
b y -485
b w -485
s . -485
s , -485
y o -485
y g -485
y c -485
y d -485
y a -485
y q -485
f g -485
x o -485
x c -485
x e -485
x d -485
x a -485
x q -485
a v -485
a y -485
a w -485
w o -485
w g -485
w c -485
w d -485
w a -485
w q -485
T S -974
L a -485
L S -974
P s -974
P Z -974
P X -974
P W -485
C X -1460
C W -485
C J -485
V S -485
S T -974
S V -485
S Y -974
S X -974
S A -974
S W -485
Y S -974
X a -485
X u -974
X S -974
A t -974
A c -974
A d -974
A a -485
A u -974
A q -974
A S -974
W S -485
K c -1460
K u -974
K S -974
o f -485
h w -485
n w -485
m w -485
r o -485
r c -485
r e -485
r d -485
r a -485
r q -485
p f -485
p w -485
c f -485
c x -485
v e -485
v s -485
e f -485
e x -485
e w -485
b f -485
s v -485
s y -485
s f -485
s x -485
s w -485
y e -485
y s -485
f o -485
f c -485
f e -485
f d -485
f s -485
f a -485
f q -485
x s -485
w e -485
w s -485
k o -974
k c -974
k e -974
k d -974
k a -485
k q -974
O Z -485
O J -485
L J -485
C Z -485
E J -485
Z o -1460
Z e -1460
Z d -974
Z s -974
Z y -485
Z a -485
Z w -485
Z u -485
Z O -485
Z G -485
Z C -485
Z S -485
Z J -485
Z Q -485
D Z -485
D J -485
B Z -485
B J -485
S Z -485
S J -485
X J -485
A s -974
A J -485
J J -485
U J -485
K a -485
K J -485
h f -485
n f -485
m f -485
r s -485
a f -485
k s -974
R J -485
G J -485
A f -485
L cq -4388
L ' -4388
T hy -2924
T - -2924
T en -2924
T em -2924
A cq -1460
A ' -1460
hy T -2924
- T -2924
en T -2924
em T -2924
Y hy -1460
Y - -1460
Y en -1460
Y em -1460
p cq -1460
p ' -1460
c cq -974
c ' -974
e cq -1460
e ' -1460
b cq -1460
b ' -1460
a cq -974
a ' -974
V hy -485
V - -485
V en -485
V em -485
h cq -974
h ' -974
n cq -974
n ' -974
m cq -974
m ' -974
W hy -485
W - -485
W en -485
W em -485
cq d -974
' d -974
s cq -974
s ' -974
L hy -1949
L - -1949
L en -1949
L em -1949
X hy -1460
X - -1460
X en -1460
X em -1460
A hy -974
A - -974
A en -974
A em -974
K hy -1460
K - -1460
K en -1460
K em -1460
cq s -974
' s -974
hy X -1460
- X -1460
hy A -974
- A -974
en X -1460
en A -974
em X -1460
b f -485
Z hy -485
Z - -485
Z en -485
Z em -485
charset
! 7806,18135 2 161057 -- MSL 1 (19U 33)
dq 10734,18135 2 161058 -- MSL 2 (19U 34)
" "
sh 12684,18360,825 2 161059 -- MSL 3 (19U 35)
# "
Do 12684,18705,765 2 161060 -- MSL 4 (19U 36)
$ "
% 17565,18765,900 2 161061 -- MSL 5 (19U 37)
& 16587,18390,255 2 161062 -- MSL 6 (19U 38)
cq 5856,18135 2 161170 -- MSL 8 (19U 146)
' "
( 5856,18135,2430 2 161064 -- MSL 9 (19U 40)
) 5856,18135,2430 2 161065 -- MSL 10 (19U 41)
* 12684,18495 2 161066 -- MSL 11 (19U 42)
+ 17565,12810 0 161067 -- MSL 12 (19U 43)
, 5856,3465,2430 0 161068 -- MSL 13 (19U 44)
hy 5856,7710 0 161069 -- MSL 14 (19U 45)
- "
. 5856,3330 0 161070 -- MSL 15 (19U 46)
sl 5856,18165,2430 2 161071 -- MSL 16 (19U 47)
/ "
0 12684,18360,255 2 161072 -- MSL 17 (19U 48)
1 12684,18105 2 161073 -- MSL 18 (19U 49)
2 12684,18360 2 161074 -- MSL 19 (19U 50)
3 12684,18360,255 2 161075 -- MSL 20 (19U 51)
4 12684,18105 2 161076 -- MSL 21 (19U 52)
5 12684,18105,255 2 161077 -- MSL 22 (19U 53)
6 12684,18360,255 2 161078 -- MSL 23 (19U 54)
7 12684,18105 2 161079 -- MSL 24 (19U 55)
8 12684,18360,255 2 161080 -- MSL 25 (19U 56)
9 12684,18360,255 2 161081 -- MSL 26 (19U 57)
: 5856,12378 0 161082 -- MSL 27 (19U 58)
; 5856,12378,2430 0 161083 -- MSL 28 (19U 59)
< 26346,16068 0 161084 -- MSL 29 (19U 60)
= 17565,9792 0 161085 -- MSL 30 (19U 61)
> 26346,16068 0 161086 -- MSL 31 (19U 62)
? 11709,18390 2 161087 -- MSL 32 (19U 63)
at 17565,18357,3219 2 161088 -- MSL 33 (19U 64)
@ "
A 14637,18135 2 161089 -- MSL 34 (19U 65)
B 14148,18135 2 161090 -- MSL 35 (19U 66)
C 13662,18390,255 2 161091 -- MSL 36 (19U 67)
D 14637,18135 2 161092 -- MSL 37 (19U 68)
E 12198,18135 2 161093 -- MSL 38 (19U 69)
F 11709,18135 2 161094 -- MSL 39 (19U 70)
G 14637,18390,255 2 161095 -- MSL 40 (19U 71)
H 14637,18135 2 161096 -- MSL 41 (19U 72)
I 6831,18135 2 161097 -- MSL 42 (19U 73)
J 12684,18135,255 2 161098 -- MSL 43 (19U 74)
K 14148,18135 2 161099 -- MSL 44 (19U 75)
L 11220,18135 2 161100 -- MSL 45 (19U 76)
M 19515,18135 2 161101 -- MSL 46 (19U 77)
N 15126,18135 2 161102 -- MSL 47 (19U 78)
O 14637,18390,255 2 161103 -- MSL 48 (19U 79)
P 13662,18135 2 161104 -- MSL 49 (19U 80)
Q 15126,18390,255 2 161105 -- MSL 50 (19U 81)
R 13662,18135 2 161106 -- MSL 51 (19U 82)
S 14148,18390,255 2 161107 -- MSL 52 (19U 83)
T 13173,18135 2 161108 -- MSL 53 (19U 84)
U 14637,18135,255 2 161109 -- MSL 54 (19U 85)
V 13662,18135 2 161110 -- MSL 55 (19U 86)
W 20490,18135 2 161111 -- MSL 56 (19U 87)
X 14637,18135 2 161112 -- MSL 57 (19U 88)
Y 13662,18135 2 161113 -- MSL 58 (19U 89)
Z 12198,18135 2 161114 -- MSL 59 (19U 90)
lB 5856,18135,2430 2 161115 -- MSL 60 (19U 91)
[ "
rs 5856,18165,2430 2 161116 -- MSL 61 (19U 92)
\ "
rB 5856,18135,2430 2 161117 -- MSL 62 (19U 93)
] "
ha 13173,19758 2 161118 -- MSL 63 (19U 94)
_ 13173,0,6588 1 161119 -- MSL 64 (19U 95)
oq 5856,18135 2 161169 -- MSL 66 (19U 145)
` "
a 11709,12885,255 0 161121 -- MSL 67 (19U 97)
b 11709,18165,255 2 161122 -- MSL 68 (19U 98)
c 10734,12885,255 0 161123 -- MSL 69 (19U 99)
d 11709,18165,255 2 161124 -- MSL 70 (19U 100)
e 11220,12885,255 0 161125 -- MSL 71 (19U 101)
f 8295,18315 2 161126 -- MSL 72 (19U 102)
g 11709,12885,4995 1 161127 -- MSL 73 (19U 103)
h 12198,18165 2 161128 -- MSL 74 (19U 104)
i 6342,18165 2 161129 -- MSL 75 (19U 105)
j 6342,18165,4995 3 161130 -- MSL 76 (19U 106)
k 11709,18165 2 161131 -- MSL 77 (19U 107)
l 6342,18165 2 161132 -- MSL 78 (19U 108)
m 17565,12885 0 161133 -- MSL 79 (19U 109)
n 12198,12885 0 161134 -- MSL 80 (19U 110)
o 11709,12885,255 0 161135 -- MSL 81 (19U 111)
p 11709,12885,4995 1 161136 -- MSL 82 (19U 112)
q 11709,12885,4995 1 161137 -- MSL 83 (19U 113)
r 8781,12885 0 161138 -- MSL 84 (19U 114)
s 10734,12885,255 0 161139 -- MSL 85 (19U 115)
t 8295,16086,255 0 161140 -- MSL 86 (19U 116)
u 12198,12630,255 0 161141 -- MSL 87 (19U 117)
v 11709,12630 0 161142 -- MSL 88 (19U 118)
w 18540,12630 0 161143 -- MSL 89 (19U 119)
x 11709,12630 0 161144 -- MSL 90 (19U 120)
y 11709,12630,4680 1 161145 -- MSL 91 (19U 121)
z 9759,12630 0 161146 -- MSL 92 (19U 122)
{ 13173,20130,6075 3 161147 -- MSL 93 (19U 123)
lC "
| 13173,19758,6588 3 161148 -- MSL 94 (19U 124)
ba "
} 13173,20130,6075 3 161149 -- MSL 95 (19U 125)
rC "
ti 26346,9435 0 161150 -- MSL 96 (19U 126)
`A 14637,23130 2 161216 -- MSL 99 (19U 192)
^A 14637,23130 2 161218 -- MSL 100 (19U 194)
`E 12198,23130 2 161224 -- MSL 101 (19U 200)
^E 12198,23130 2 161226 -- MSL 102 (19U 202)
:E 12198,22815 2 161227 -- MSL 103 (19U 203)
^I 6831,23130 2 161230 -- MSL 104 (19U 206)
:I 6831,22815 2 161231 -- MSL 105 (19U 207)
aa 12684,18285 2 161204 -- MSL 106 (19U 180)
ga 12684,18285 2 161120 -- MSL 107 (19U 96)
a^ 12684,18285 2 161160 -- MSL 108 (19U 136)
^ "
ad 12684,18225 2 161192 -- MSL 109 (19U 168)
~ 12684,17874 2 161176 -- MSL 110 (19U 152)
a~ "
`U 14637,23130,255 2 161241 -- MSL 111 (19U 217)
^U 14637,23130,255 2 161243 -- MSL 112 (19U 219)
u00AF 13173,21105 2 161199 -- MSL 113 (19U 175)
'Y 13662,23130 2 161245 -- MSL 114 (19U 221)
'y 11709,18285,4680 3 161277 -- MSL 115 (19U 253)
de 12684,18360 2 161200 -- MSL 116 (19U 176)
,C 13662,18390,5580 3 161223 -- MSL 117 (19U 199)
,c 10734,12885,5190 1 161255 -- MSL 118 (19U 231)
~N 15126,23031 2 161233 -- MSL 119 (19U 209)
~n 12198,17874 2 161265 -- MSL 120 (19U 241)
r! 7806,12630,5505 1 161185 -- MSL 121 (19U 161)
r? 11709,12576,5814 1 161215 -- MSL 122 (19U 191)
Cs 12684,15834 0 161188 -- MSL 123 (19U 164)
Po 12684,18360 2 161187 -- MSL 124 (19U 163)
Ye 12684,18105 2 161189 -- MSL 125 (19U 165)
sc 12684,18495,600 2 161191 -- MSL 126 (19U 167)
Fn 12684,18315 2 161155 -- MSL 127 (19U 131)
ct 12684,18705,765 2 161186 -- MSL 128 (19U 162)
^a 11709,18285,255 2 161250 -- MSL 129 (19U 226)
^e 11220,18285,255 2 161258 -- MSL 130 (19U 234)
^o 11709,18285,255 2 161268 -- MSL 131 (19U 244)
^u 12198,18285,255 2 161275 -- MSL 132 (19U 251)
'a 11709,18285,255 2 161249 -- MSL 133 (19U 225)
'e 11220,18285,255 2 161257 -- MSL 134 (19U 233)
'o 11709,18285,255 2 161267 -- MSL 135 (19U 243)
'u 12198,18285,255 2 161274 -- MSL 136 (19U 250)
`a 11709,18285,255 2 161248 -- MSL 137 (19U 224)
`e 11220,18285,255 2 161256 -- MSL 138 (19U 232)
`o 11709,18285,255 2 161266 -- MSL 139 (19U 242)
`u 12198,18285,255 2 161273 -- MSL 140 (19U 249)
:a 11709,18225,255 2 161252 -- MSL 141 (19U 228)
:e 11220,18225,255 2 161259 -- MSL 142 (19U 235)
:o 11709,18225,255 2 161270 -- MSL 143 (19U 246)
:u 12198,18225,255 2 161276 -- MSL 144 (19U 252)
oA 14637,25080 2 161221 -- MSL 145 (19U 197)
^i 6342,18285 2 161262 -- MSL 146 (19U 238)
/O 14637,19890,2019 2 161240 -- MSL 147 (19U 216)
AE 20490,18135 2 161222 -- MSL 148 (19U 198)
oa 11709,19455,255 2 161253 -- MSL 149 (19U 229)
'i 6342,18285 2 161261 -- MSL 150 (19U 237)
/o 11709,14256,2172 0 161272 -- MSL 151 (19U 248)
ae 17565,12885,255 0 161254 -- MSL 152 (19U 230)
:A 14637,22815 2 161220 -- MSL 153 (19U 196)
`i 6342,18285 2 161260 -- MSL 154 (19U 236)
:O 14637,22815,255 2 161238 -- MSL 155 (19U 214)
:U 14637,22815,255 2 161244 -- MSL 156 (19U 220)
'E 12198,23130 2 161225 -- MSL 157 (19U 201)
:i 6342,18225 2 161263 -- MSL 158 (19U 239)
ss 13173,18315,255 2 161247 -- MSL 159 (19U 223)
^O 14637,23130,255 2 161236 -- MSL 160 (19U 212)
'A 14637,23130 2 161217 -- MSL 161 (19U 193)
~A 14637,23031 2 161219 -- MSL 162 (19U 195)
~a 11709,17874,255 2 161251 -- MSL 163 (19U 227)
-D 14637,18135 2 161232 -- MSL 164 (19U 208)
Sd 11709,18573,255 2 161264 -- MSL 165 (19U 240)
'I 6831,23130 2 161229 -- MSL 166 (19U 205)
`I 6831,23130 2 161228 -- MSL 167 (19U 204)
'O 14637,23130,255 2 161235 -- MSL 168 (19U 211)
`O 14637,23130,255 2 161234 -- MSL 169 (19U 210)
~O 14637,23031,255 2 161237 -- MSL 170 (19U 213)
~o 11709,17874,255 2 161269 -- MSL 171 (19U 245)
vS 14148,23130,255 2 161162 -- MSL 172 (19U 138)
vs 10734,18285,255 2 161178 -- MSL 173 (19U 154)
'U 14637,23130,255 2 161242 -- MSL 174 (19U 218)
:Y 13662,22815 2 161183 -- MSL 175 (19U 159)
:y 11709,18225,4680 3 161279 -- MSL 176 (19U 255)
TP 13662,18135 2 161246 -- MSL 177 (19U 222)
Tp 11709,18165,4995 3 161278 -- MSL 178 (19U 254)
mc 15612,12630,4680 1 161205 -- MSL 180 (19U 181)
ps 12684,19635,4200 2 161206 -- MSL 181 (19U 182)
34 17565,18765,900 2 161214 -- MSL 182 (19U 190)
\- 17565,7740 0 60096 -- MSL 183 ( 7J 192)
14 17565,18765,900 2 161212 -- MSL 184 (19U 188)
12 17565,18765,900 2 161213 -- MSL 185 (19U 189)
Of 10734,18360 2 161194 -- MSL 186 (19U 170)
Om 10734,18360 2 161210 -- MSL 187 (19U 186)
Fo 11709,11070 0 161195 -- MSL 188 (19U 171)
Fc 11709,11070 0 161211 -- MSL 190 (19U 187)
t+- 17565,12810,2520 0 161201 -- MSL 191 (19U 177)
bb 13173,19083,5916 3 161190 -- MSL 192 (19U 166)
co 13173,19635 2 161193 -- MSL 193 (19U 169)
tno 17565,10320 0 161196 -- MSL 194 (19U 172)
u00AD 5856,7710 0 161197 -- MSL 195 (19U 173)
rg 13173,19635 2 161198 -- MSL 196 (19U 174)
S2 8295,18465 2 161202 -- MSL 197 (19U 178)
S3 8295,18465 2 161203 -- MSL 198 (19U 179)
ac 12684,0,5190 1 161208 -- MSL 199 (19U 184)
S1 8295,18345 2 161209 -- MSL 200 (19U 185)
tmu 17565,12345 0 161239 -- MSL 201 (19U 215)
tdi 17565,12015 0 161271 -- MSL 202 (19U 247)
u203C 13173,18135 2 87315 -- MSL 221 (10U 19)
u20A7 20979,18135,255 2 60121 -- MSL 232 ( 7J 217)
pc 5856,10251 0 161207 -- MSL 302 (19U 183)
u013F 11220,18135 2 51943 -- MSL 306 ( 6J 231)
u0140 9270,18165 2 51959 -- MSL 307 ( 6J 247)
u2113 12684,18045,765 2 60122 -- MSL 308 ( 7J 218)
u0149 15612,18135 2 51951 -- MSL 309 ( 6J 239)
fm 5856,18105 2 60101 -- MSL 310 ( 7J 197)
sd 12684,18105 2 60102 -- MSL 311 ( 7J 198)
dg 12684,18135 2 161158 -- MSL 312 (19U 134)
tm 16101,17850 2 161177 -- MSL 313 (19U 153)
u2017 13173,0,6588 1 60095 -- MSL 314 ( 7J 191)
ah 12684,18285 2 75169 -- MSL 315 ( 9E 161)
ao 12684,19455 2 60152 -- MSL 316 ( 7J 248)
f/ 2928,18765,900 2 60109 -- MSL 324 ( 7J 205)
em 17565,7530 0 161175 -- MSL 325 (19U 151)
en 12684,7530 0 161174 -- MSL 326 (19U 150)
dd 12684,18135 2 161159 -- MSL 327 (19U 135)
.i 6342,12630 0 46333 -- MSL 328 ( 5T 253)
aq 5856,18135 2 161063 -- MSL 329 (19U 39)
bu 13173,14226 0 161173 -- MSL 331 (19U 149)
u207F 8295,18465 2 87548 -- MSL 332 (10U 252)
u0111 11709,18165,255 2 75248 -- MSL 342 ( 9E 240)
u0041_0306 14637,23298 2 75203 -- MSL 400 ( 9E 195)
u0061_0306 11709,18285,255 2 75235 -- MSL 401 ( 9E 227)
u0041_0328 14637,18135,4860 3 75173 -- MSL 404 ( 9E 165)
u0061_0328 11709,12885,4335 0 75193 -- MSL 405 ( 9E 185)
'C 13662,23130,255 2 75206 -- MSL 406 ( 9E 198)
'c 10734,18285,255 2 75238 -- MSL 407 ( 9E 230)
u0041_030C 13662,23130,255 2 75208 -- MSL 410 ( 9E 200)
u0061_030C 10734,18285,255 2 75240 -- MSL 411 ( 9E 232)
u0044_030C 14637,23130 2 75215 -- MSL 414 ( 9E 207)
u0064_030C 14637,18165,255 2 75247 -- MSL 415 ( 9E 239)
u0045_030C 12198,23130 2 75212 -- MSL 416 ( 9E 204)
u0065_030C 11220,18285,255 2 75244 -- MSL 417 ( 9E 236)
u0045_0328 12198,18135,4860 3 75210 -- MSL 422 ( 9E 202)
u0065_0328 11220,12885,4335 0 75242 -- MSL 423 ( 9E 234)
u004C_0301 11220,23130 2 75205 -- MSL 440 ( 9E 197)
u006C_0301 6342,23745 2 75237 -- MSL 441 ( 9E 229)
u004C_030C 11220,18165 2 75196 -- MSL 442 ( 9E 188)
u006C_030C 8781,18165 2 75198 -- MSL 443 ( 9E 190)
u004E_0301 15126,23130 2 75217 -- MSL 446 ( 9E 209)
u006E_0301 12198,18285 2 75249 -- MSL 447 ( 9E 241)
u004E_030C 15126,23130 2 75218 -- MSL 448 ( 9E 210)
u006E_030C 12198,18285 2 75250 -- MSL 449 ( 9E 242)
u004F_030B 14637,23130,255 2 75221 -- MSL 452 ( 9E 213)
u006F_030B 11709,18285,255 2 75253 -- MSL 453 ( 9E 245)
u0052_0301 13662,23130 2 75200 -- MSL 456 ( 9E 192)
u0072_0301 8781,18285 2 75232 -- MSL 457 ( 9E 224)
u0052_030C 13662,23130 2 75224 -- MSL 458 ( 9E 216)
u0072_030C 8781,18285 2 75256 -- MSL 459 ( 9E 248)
u0053_0301 14148,23130,255 2 75148 -- MSL 462 ( 9E 140)
u0073_0301 10734,18285,255 2 75164 -- MSL 463 ( 9E 156)
u0054_030C 13173,23130 2 75149 -- MSL 466 ( 9E 141)
u0074_030C 9759,18165,255 2 75165 -- MSL 467 ( 9E 157)
u0054_0327 13173,18135,5580 3 75230 -- MSL 468 ( 9E 222)
u0074_0327 8295,16086,5190 1 75262 -- MSL 469 ( 9E 254)
u0055_030B 14637,23130,255 2 75227 -- MSL 474 ( 9E 219)
u0075_030B 12198,18285,255 2 75259 -- MSL 475 ( 9E 251)
u0055_030A 14637,25080,255 2 75225 -- MSL 476 ( 9E 217)
u0075_030A 12198,19455,255 2 75257 -- MSL 477 ( 9E 249)
u005A_0301 12198,23130 2 75151 -- MSL 482 ( 9E 143)
u007A_0301 9759,18285 2 75167 -- MSL 483 ( 9E 159)
u005A_0307 12198,22920 2 75183 -- MSL 484 ( 9E 175)
u007A_0307 9759,18345 2 75199 -- MSL 485 ( 9E 191)
u2070 8295,18465 2 51753 -- MSL 1000 ( 6J 41)
u2074 8295,18345 2 51748 -- MSL 1001 ( 6J 36)
u2075 8295,18345 2 51749 -- MSL 1002 ( 6J 37)
u2076 8295,18465 2 51806 -- MSL 1003 ( 6J 94)
u2077 8295,18345 2 51750 -- MSL 1004 ( 6J 38)
u2078 8295,18465 2 51754 -- MSL 1005 ( 6J 42)
u2079 8295,18465 2 51752 -- MSL 1006 ( 6J 40)
lq 10245,18135 2 161171 -- MSL 1017 (19U 147)
rq 10245,18135 2 161172 -- MSL 1018 (19U 148)
Bq 10245,3513,2382 0 161156 -- MSL 1019 (19U 132)
u2003 17565,0 0 51821 -- MSL 1020 ( 6J 109)
u2002 12684,0 0 51822 -- MSL 1021 ( 6J 110)
u2009 5856,0 0 51828 -- MSL 1023 ( 6J 116)
u2026 17565,3210 0 161157 -- MSL 1028 (19U 133)
vz 9759,18285 2 75166 -- MSL 1031 ( 9E 158)
u2120 16101,18000 2 128299 -- MSL 1034 (15U 43)
u211E 20004,18315,4056 2 51794 -- MSL 1036 ( 6J 82)
fi 14148,18315 2 60077 -- MSL 1040 ( 7J 173)
fl 14148,18315 2 60078 -- MSL 1041 ( 7J 174)
ff 15126,18315 2 51883 -- MSL 1042 ( 6J 171)
Fi 20979,18315 2 51884 -- MSL 1043 ( 6J 172)
Fl 20979,18315 2 51885 -- MSL 1044 ( 6J 173)
ij 12684,18165,4995 3 60134 -- MSL 1047 ( 7J 230)
u2105 20979,18390,255 2 60072 -- MSL 1060 ( 7J 168)
u0047_0306 14637,23298,255 2 46288 -- MSL 1061 ( 5T 208)
u0067_0306 11709,18285,4995 3 46320 -- MSL 1062 ( 5T 240)
u0053_0327 14148,18390,5580 3 75178 -- MSL 1063 ( 9E 170)
u0073_0327 10734,12885,5190 1 75194 -- MSL 1064 ( 9E 186)
u0049_0307 6831,22920 2 46301 -- MSL 1065 ( 5T 221)
bq 5856,3513,2382 0 161154 -- MSL 1067 (19U 130)
%0 26346,18765,900 2 161161 -- MSL 1068 (19U 137)
a- 12684,17595 2 60154 -- MSL 1084 ( 7J 250)
ab 12684,18285 2 75170 -- MSL 1086 ( 9E 162)
a. 12684,18345 2 75263 -- MSL 1088 ( 9E 255)
oe 17565,12885,255 0 161180 -- MSL 1090 (19U 156)
OE 20490,18270,135 2 161164 -- MSL 1091 (19U 140)
fo 6342,11070 0 161163 -- MSL 1092 (19U 139)
fc 6342,11070 0 161179 -- MSL 1093 (19U 155)
sq 19029,15624 0 60091 -- MSL 1094 ( 7J 187)
/L 11709,18135 2 75171 -- MSL 1095 ( 9E 163)
/l 6831,18165 2 75187 -- MSL 1096 ( 9E 179)
a" 12684,18285 2 75197 -- MSL 1097 ( 9E 189)
ho 12684,300,4335 0 75186 -- MSL 1098 ( 9E 178)
vZ 12198,23130 2 75150 -- MSL 1106 ( 9E 142)
IJ 18540,18135,255 2 60135 -- MSL 1107 ( 7J 231)
| {
"pile_set_name": "Github"
} |
package com.huawei.internal.telephony;
import com.huawei.android.util.NoExtAPIException;
public class VirtualNetEx {
@Deprecated
public static boolean isVirtualNet() {
throw new NoExtAPIException("method not supported.");
}
@Deprecated
public static String getApnFilter() {
throw new NoExtAPIException("method not supported.");
}
@Deprecated
public static boolean isVirtualNet(int subId) {
throw new NoExtAPIException("method not supported.");
}
@Deprecated
public static String getApnFilter(int subId) {
throw new NoExtAPIException("method not supported.");
}
}
| {
"pile_set_name": "Github"
} |
//
// Navs
// --------------------------------------------------
// Base class
// --------------------------------------------------
.nav {
margin-bottom: 0;
padding-left: 0; // Override default ul/ol
list-style: none;
&:extend(.clearfix all);
> li {
position: relative;
display: block;
> a {
position: relative;
display: block;
padding: @nav-link-padding;
&:hover,
&:focus {
text-decoration: none;
background-color: @nav-link-hover-bg;
}
}
// Disabled state sets text to gray and nukes hover/tab effects
&.disabled > a {
color: @nav-disabled-link-color;
&:hover,
&:focus {
color: @nav-disabled-link-hover-color;
text-decoration: none;
background-color: transparent;
cursor: not-allowed;
}
}
}
// Open dropdowns
.open > a {
&,
&:hover,
&:focus {
background-color: @nav-link-hover-bg;
border-color: @link-color;
}
}
// Nav dividers (deprecated with v3.0.1)
//
// This should have been removed in v3 with the dropping of `.nav-list`, but
// we missed it. We don't currently support this anywhere, but in the interest
// of maintaining backward compatibility in case you use it, it's deprecated.
.nav-divider {
.nav-divider();
}
// Prevent IE8 from misplacing imgs
//
// See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
> li > a > img {
max-width: none;
}
}
// Tabs
// -------------------------
// Give the tabs something to sit on
.nav-tabs {
border-bottom: 1px solid @nav-tabs-border-color;
> li {
float: left;
// Make the list-items overlay the bottom border
margin-bottom: -1px;
// Actual tabs (as links)
> a {
margin-right: 2px;
line-height: @line-height-base;
border: 1px solid transparent;
border-radius: @border-radius-base @border-radius-base 0 0;
&:hover {
border-color: @nav-tabs-link-hover-border-color @nav-tabs-link-hover-border-color @nav-tabs-border-color;
}
}
// Active state, and its :hover to override normal :hover
&.active > a {
&,
&:hover,
&:focus {
color: @nav-tabs-active-link-hover-color;
background-color: @nav-tabs-active-link-hover-bg;
border: 1px solid @nav-tabs-active-link-hover-border-color;
border-bottom-color: transparent;
cursor: default;
}
}
}
// pulling this in mainly for less shorthand
&.nav-justified {
.nav-justified();
.nav-tabs-justified();
}
}
// Pills
// -------------------------
.nav-pills {
> li {
float: left;
// Links rendered as pills
> a {
border-radius: @nav-pills-border-radius;
}
+ li {
margin-left: 2px;
}
// Active state
&.active > a {
&,
&:hover,
&:focus {
color: @nav-pills-active-link-hover-color;
background-color: @nav-pills-active-link-hover-bg;
}
}
}
}
// Stacked pills
.nav-stacked {
> li {
float: none;
+ li {
margin-top: 2px;
margin-left: 0; // no need for this gap between nav items
}
}
}
// Nav variations
// --------------------------------------------------
// Justified nav links
// -------------------------
.nav-justified {
width: 100%;
> li {
float: none;
> a {
text-align: center;
margin-bottom: 5px;
}
}
> .dropdown .dropdown-menu {
top: auto;
left: auto;
}
@media (min-width: @screen-sm-min) {
> li {
display: table-cell;
width: 1%;
> a {
margin-bottom: 0;
}
}
}
}
// Move borders to anchors instead of bottom of list
//
// Mixin for adding on top the shared `.nav-justified` styles for our tabs
.nav-tabs-justified {
border-bottom: 0;
> li > a {
// Override margin from .nav-tabs
margin-right: 0;
border-radius: @border-radius-base;
}
> .active > a,
> .active > a:hover,
> .active > a:focus {
border: 1px solid @nav-tabs-justified-link-border-color;
}
@media (min-width: @screen-sm-min) {
> li > a {
border-bottom: 1px solid @nav-tabs-justified-link-border-color;
border-radius: @border-radius-base @border-radius-base 0 0;
}
> .active > a,
> .active > a:hover,
> .active > a:focus {
border-bottom-color: @nav-tabs-justified-active-link-border-color;
}
}
}
// Tabbable tabs
// -------------------------
// Hide tabbable panes to start, show them when `.active`
.tab-content {
> .tab-pane {
display: none;
}
> .active {
display: block;
}
}
// Dropdowns
// -------------------------
// Specific dropdowns
.nav-tabs .dropdown-menu {
// make dropdown border overlap tab border
margin-top: -1px;
// Remove the top rounded corners here since there is a hard edge above the menu
.border-top-radius(0);
}
| {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
import ralph.lib.mixins.fields
class Migration(migrations.Migration):
dependencies = [
('assets', '0010_auto_20160405_1531'),
('data_center', '0008_datacenter_show_on_dashboard'),
]
operations = [
migrations.CreateModel(
name='BaseObjectCluster',
fields=[
('id', models.AutoField(serialize=False, verbose_name='ID', auto_created=True, primary_key=True)),
('is_master', models.BooleanField(default=False)),
],
),
migrations.CreateModel(
name='Cluster',
fields=[
('baseobject_ptr', models.OneToOneField(to='assets.BaseObject', parent_link=True, serialize=False, auto_created=True, primary_key=True)),
('name', models.CharField(verbose_name='name', max_length=255, unique=True)),
('base_objects', models.ManyToManyField(through='data_center.BaseObjectCluster', to='assets.BaseObject', verbose_name='Assigned base objects', related_name='_cluster_base_objects_+')),
],
options={
'abstract': False,
},
bases=('assets.baseobject', models.Model),
),
migrations.CreateModel(
name='ClusterType',
fields=[
('id', models.AutoField(serialize=False, verbose_name='ID', auto_created=True, primary_key=True)),
('name', models.CharField(verbose_name='name', max_length=255, unique=True)),
],
options={
'ordering': ['name'],
'abstract': False,
},
),
migrations.AddField(
model_name='cluster',
name='type',
field=models.ForeignKey(to='data_center.ClusterType'),
),
migrations.AddField(
model_name='baseobjectcluster',
name='base_object',
field=ralph.lib.mixins.fields.BaseObjectForeignKey(to='assets.BaseObject', related_name='clusters'),
),
migrations.AddField(
model_name='baseobjectcluster',
name='cluster',
field=models.ForeignKey(to='data_center.Cluster'),
),
migrations.AlterUniqueTogether(
name='baseobjectcluster',
unique_together=set([('cluster', 'base_object')]),
),
]
| {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.dx.dex.file;
import com.android.dx.dex.SizeOf;
import com.android.dx.rop.cst.CstString;
import com.android.dx.util.AnnotatedOutput;
import com.android.dx.util.Hex;
/**
* Representation of a string inside a Dalvik file.
*/
public final class StringIdItem
extends IndexedItem implements Comparable {
/** {@code non-null;} the string value */
private final CstString value;
/** {@code null-ok;} associated string data object, if known */
private StringDataItem data;
/**
* Constructs an instance.
*
* @param value {@code non-null;} the string value
*/
public StringIdItem(CstString value) {
if (value == null) {
throw new NullPointerException("value == null");
}
this.value = value;
this.data = null;
}
/** {@inheritDoc} */
@Override
public boolean equals(Object other) {
if (!(other instanceof StringIdItem)) {
return false;
}
StringIdItem otherString = (StringIdItem) other;
return value.equals(otherString.value);
}
/** {@inheritDoc} */
@Override
public int hashCode() {
return value.hashCode();
}
/** {@inheritDoc} */
public int compareTo(Object other) {
StringIdItem otherString = (StringIdItem) other;
return value.compareTo(otherString.value);
}
/** {@inheritDoc} */
@Override
public ItemType itemType() {
return ItemType.TYPE_STRING_ID_ITEM;
}
/** {@inheritDoc} */
@Override
public int writeSize() {
return SizeOf.STRING_ID_ITEM;
}
/** {@inheritDoc} */
@Override
public void addContents(DexFile file) {
if (data == null) {
// The string data hasn't yet been added, so add it.
MixedItemSection stringData = file.getStringData();
data = new StringDataItem(value);
stringData.add(data);
}
}
/** {@inheritDoc} */
@Override
public void writeTo(DexFile file, AnnotatedOutput out) {
int dataOff = data.getAbsoluteOffset();
if (out.annotates()) {
out.annotate(0, indexString() + ' ' + value.toQuoted(100));
out.annotate(4, " string_data_off: " + Hex.u4(dataOff));
}
out.writeInt(dataOff);
}
/**
* Gets the string value.
*
* @return {@code non-null;} the value
*/
public CstString getValue() {
return value;
}
/**
* Gets the associated data object for this instance, if known.
*
* @return {@code null-ok;} the associated data object or {@code null}
* if not yet known
*/
public StringDataItem getData() {
return data;
}
}
| {
"pile_set_name": "Github"
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.ignite.ml.svm;
import java.util.Random;
import org.apache.ignite.ml.dataset.Dataset;
import org.apache.ignite.ml.dataset.DatasetBuilder;
import org.apache.ignite.ml.dataset.PartitionDataBuilder;
import org.apache.ignite.ml.dataset.UpstreamEntry;
import org.apache.ignite.ml.dataset.primitive.context.EmptyContext;
import org.apache.ignite.ml.math.functions.IgniteFunction;
import org.apache.ignite.ml.math.primitives.vector.Vector;
import org.apache.ignite.ml.math.primitives.vector.impl.DenseVector;
import org.apache.ignite.ml.math.primitives.vector.impl.SparseVector;
import org.apache.ignite.ml.preprocessing.Preprocessor;
import org.apache.ignite.ml.preprocessing.developer.PatchedPreprocessor;
import org.apache.ignite.ml.structures.LabeledVector;
import org.apache.ignite.ml.structures.LabeledVectorSet;
import org.apache.ignite.ml.structures.partition.LabeledDatasetPartitionDataBuilderOnHeap;
import org.apache.ignite.ml.trainers.SingleLabelDatasetTrainer;
import org.jetbrains.annotations.NotNull;
/**
* Base class for a soft-margin SVM linear classification trainer based on the communication-efficient distributed dual
* coordinate ascent algorithm (CoCoA) with hinge-loss function. <p> This trainer takes input as Labeled Dataset with 0
* and 1 labels for two classes and makes binary classification. </p> The paper about this algorithm could be found here
* https://arxiv.org/abs/1409.1458.
*/
public class SVMLinearClassificationTrainer extends SingleLabelDatasetTrainer<SVMLinearClassificationModel> {
/** Amount of outer SDCA algorithm iterations. */
private int amountOfIterations = 200;
/** Amount of local SDCA algorithm iterations. */
private int amountOfLocIterations = 100;
/** Regularization parameter. */
private double lambda = 0.4;
/** The seed number. */
private long seed = 1234L;
/**
* Trains model based on the specified data.
*
* @param datasetBuilder Dataset builder.
* @param preprocessor Extractor of {@link UpstreamEntry} into {@link LabeledVector}.
* @return Model.
*/
@Override public <K, V> SVMLinearClassificationModel fitWithInitializedDeployingContext(DatasetBuilder<K, V> datasetBuilder,
Preprocessor<K, V> preprocessor) {
return updateModel(null, datasetBuilder, preprocessor);
}
/** {@inheritDoc} */
@Override protected <K, V> SVMLinearClassificationModel updateModel(SVMLinearClassificationModel mdl,
DatasetBuilder<K, V> datasetBuilder,
Preprocessor<K, V> preprocessor) {
assert datasetBuilder != null;
IgniteFunction<Double, Double> lbTransformer = lb -> {
if (lb == 0.0)
return -1.0;
else
return lb;
};
IgniteFunction<LabeledVector<Double>, LabeledVector<Double>> func = lv -> new LabeledVector<>(lv.features(), lbTransformer.apply(lv.label()));
PatchedPreprocessor<K, V, Double, Double> patchedPreprocessor = new PatchedPreprocessor<>(func, preprocessor);
PartitionDataBuilder<K, V, EmptyContext, LabeledVectorSet<LabeledVector>> partDataBuilder =
new LabeledDatasetPartitionDataBuilderOnHeap<>(patchedPreprocessor);
Vector weights;
try (Dataset<EmptyContext, LabeledVectorSet<LabeledVector>> dataset = datasetBuilder.build(
envBuilder,
(env, upstream, upstreamSize) -> new EmptyContext(),
partDataBuilder,
learningEnvironment()
)) {
if (mdl == null) {
final int cols = dataset.compute(org.apache.ignite.ml.structures.Dataset::colSize, (a, b) -> {
if (a == null)
return b == null ? 0 : b;
if (b == null)
return a;
return b;
});
final int weightVectorSizeWithIntercept = cols + 1;
weights = initializeWeightsWithZeros(weightVectorSizeWithIntercept);
} else
weights = getStateVector(mdl);
for (int i = 0; i < this.getAmountOfIterations(); i++) {
Vector deltaWeights = calculateUpdates(weights, dataset);
if (deltaWeights == null)
return getLastTrainedModelOrThrowEmptyDatasetException(mdl);
weights = weights.plus(deltaWeights); // creates new vector
}
} catch (Exception e) {
throw new RuntimeException(e);
}
return new SVMLinearClassificationModel(weights.viewPart(1, weights.size() - 1), weights.get(0));
}
/** {@inheritDoc} */
@Override public boolean isUpdateable(SVMLinearClassificationModel mdl) {
return true;
}
/**
* @param mdl Model.
* @return vector of model weights with intercept.
*/
private Vector getStateVector(SVMLinearClassificationModel mdl) {
double intercept = mdl.intercept();
Vector weights = mdl.weights();
int stateVectorSize = weights.size() + 1;
Vector res = weights.isDense() ?
new DenseVector(stateVectorSize) :
new SparseVector(stateVectorSize);
res.set(0, intercept);
weights.nonZeroes().forEach(ith -> res.set(ith.index(), ith.get()));
return res;
}
/** */
@NotNull private Vector initializeWeightsWithZeros(int vectorSize) {
return new DenseVector(vectorSize);
}
/** */
private Vector calculateUpdates(Vector weights,
Dataset<EmptyContext, LabeledVectorSet<LabeledVector>> dataset) {
return dataset.compute(data -> {
Vector copiedWeights = weights.copy();
Vector deltaWeights = initializeWeightsWithZeros(weights.size());
final int amountOfObservation = data.rowSize();
Vector tmpAlphas = initializeWeightsWithZeros(amountOfObservation);
Vector deltaAlphas = initializeWeightsWithZeros(amountOfObservation);
Random random = new Random(seed);
for (int i = 0; i < this.getAmountOfLocIterations(); i++) {
int randomIdx = random.nextInt(amountOfObservation);
Deltas deltas = getDeltas(data, copiedWeights, amountOfObservation, tmpAlphas, randomIdx);
copiedWeights = copiedWeights.plus(deltas.deltaWeights); // creates new vector
deltaWeights = deltaWeights.plus(deltas.deltaWeights); // creates new vector
tmpAlphas.set(randomIdx, tmpAlphas.get(randomIdx) + deltas.deltaAlpha);
deltaAlphas.set(randomIdx, deltaAlphas.get(randomIdx) + deltas.deltaAlpha);
}
return deltaWeights;
}, (a, b) -> {
if (a == null)
return b == null ? new DenseVector() : b;
if (b == null)
return a;
return a.plus(b);
});
}
/** */
private Deltas getDeltas(LabeledVectorSet data, Vector copiedWeights, int amountOfObservation, Vector tmpAlphas,
int randomIdx) {
LabeledVector row = (LabeledVector)data.getRow(randomIdx);
Double lb = (Double)row.label();
Vector v = makeVectorWithInterceptElement(row);
double alpha = tmpAlphas.get(randomIdx);
return maximize(lb, v, alpha, copiedWeights, amountOfObservation);
}
/** */
private Vector makeVectorWithInterceptElement(LabeledVector row) {
Vector vec = row.features().like(row.features().size() + 1);
vec.set(0, 1); // set intercept element
for (int j = 0; j < row.features().size(); j++)
vec.set(j + 1, row.features().get(j));
return vec;
}
/** */
private Deltas maximize(double lb, Vector v, double alpha, Vector weights, int amountOfObservation) {
double gradient = calcGradient(lb, v, weights, amountOfObservation);
double prjGrad = calculateProjectionGradient(alpha, gradient);
return calcDeltas(lb, v, alpha, prjGrad, weights.size(), amountOfObservation);
}
/** */
private Deltas calcDeltas(double lb, Vector v, double alpha, double gradient, int vectorSize,
int amountOfObservation) {
if (gradient != 0.0) {
double qii = v.dot(v);
double newAlpha = calcNewAlpha(alpha, gradient, qii);
Vector deltaWeights = v.times(lb * (newAlpha - alpha) / (this.getLambda() * amountOfObservation));
return new Deltas(newAlpha - alpha, deltaWeights);
}
else
return new Deltas(0.0, initializeWeightsWithZeros(vectorSize));
}
/** */
private double calcNewAlpha(double alpha, double gradient, double qii) {
if (qii != 0.0)
return Math.min(Math.max(alpha - (gradient / qii), 0.0), 1.0);
else
return 1.0;
}
/** */
private double calcGradient(double lb, Vector v, Vector weights, int amountOfObservation) {
double dotProduct = v.dot(weights);
return (lb * dotProduct - 1.0) * (this.getLambda() * amountOfObservation);
}
/** */
private double calculateProjectionGradient(double alpha, double gradient) {
if (alpha <= 0.0)
return Math.min(gradient, 0.0);
else if (alpha >= 1.0)
return Math.max(gradient, 0.0);
else
return gradient;
}
/**
* Set up the regularization parameter.
*
* @param lambda The regularization parameter. Should be more than 0.0.
* @return Trainer with new lambda parameter value.
*/
public SVMLinearClassificationTrainer withLambda(double lambda) {
assert lambda > 0.0;
this.lambda = lambda;
return this;
}
/**
* Get the regularization lambda.
*
* @return The property value.
*/
public double getLambda() {
return lambda;
}
/**
* Get the amount of outer iterations of SCDA algorithm.
*
* @return The property value.
*/
public int getAmountOfIterations() {
return amountOfIterations;
}
/**
* Set up the amount of outer iterations of SCDA algorithm.
*
* @param amountOfIterations The parameter value.
* @return Trainer with new amountOfIterations parameter value.
*/
public SVMLinearClassificationTrainer withAmountOfIterations(int amountOfIterations) {
this.amountOfIterations = amountOfIterations;
return this;
}
/**
* Get the amount of local iterations of SCDA algorithm.
*
* @return The property value.
*/
public int getAmountOfLocIterations() {
return amountOfLocIterations;
}
/**
* Set up the amount of local iterations of SCDA algorithm.
*
* @param amountOfLocIterations The parameter value.
* @return Trainer with new amountOfLocIterations parameter value.
*/
public SVMLinearClassificationTrainer withAmountOfLocIterations(int amountOfLocIterations) {
this.amountOfLocIterations = amountOfLocIterations;
return this;
}
/**
* Get the seed number.
*
* @return The property value.
*/
public long getSeed() {
return seed;
}
/**
* Set up the seed.
*
* @param seed The parameter value.
* @return Model with new seed parameter value.
*/
public SVMLinearClassificationTrainer withSeed(long seed) {
this.seed = seed;
return this;
}
}
/** This is a helper class to handle pair results which are returned from the calculation method. */
class Deltas {
/** */
public double deltaAlpha;
/** */
public Vector deltaWeights;
/** */
public Deltas(double deltaAlpha, Vector deltaWeights) {
this.deltaAlpha = deltaAlpha;
this.deltaWeights = deltaWeights;
}
}
| {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2011, The University of Southampton and the individual contributors.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* * Neither the name of the University of Southampton 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.
*/
/**
*
*/
package org.openimaj.image.analysis.algorithm;
import java.io.IOException;
import java.util.List;
import org.junit.Assert;
import org.junit.Test;
import org.openimaj.image.DisplayUtilities;
import org.openimaj.image.FImage;
import org.openimaj.image.ImageUtilities;
import org.openimaj.image.MBFImage;
import org.openimaj.image.renderer.MBFImageRenderer;
import org.openimaj.math.geometry.line.Line2d;
import org.openimaj.math.geometry.shape.Rectangle;
/**
* @author David Dupplaw ([email protected])
*
* @created 8 Aug 2011
*/
public class HoughLinesTest
{
/**
* Helper method for debugging when viewing images
*/
protected void forceWait()
{
synchronized(this){ try { wait( 200000 ); } catch( InterruptedException e1 ) {} }
}
/**
* Test Hough line detection
*/
@Test
public void testHoughLines()
{
try
{
HoughLines hl = new HoughLines();
FImage i = ImageUtilities.readF(
HoughLinesTest.class.getResource( "/hough.jpg" ) );
i.analyseWith( hl );
MBFImage m = new MBFImage( i.getWidth(), i.getHeight(), 3 );
MBFImageRenderer renderer = m.createRenderer();
renderer.drawImage( i, 0, 0 );
List<Line2d> lines = hl.getBestLines( 2 );
Assert.assertEquals( 2, lines.size() );
for( int j = 0; j < lines.size(); j++ )
{
Line2d l = lines.get(j);
Assert.assertEquals( -2000, l.begin.getX(), 1d );
Assert.assertEquals( 2000, l.end.getX(), 1d );
l = l.lineWithinSquare(
new Rectangle( 0, 0, m.getWidth(), m.getHeight() ) );
renderer.drawLine( l, 2, new Float[]{1f,0f,0f} );
System.out.println( l );
Assert.assertEquals( 0d, l.begin.getX(), 5d );
}
DisplayUtilities.display( m );
}
catch( IOException e )
{
e.printStackTrace();
}
// forceWait();
}
}
| {
"pile_set_name": "Github"
} |
#! /bin/sh
# Add a .gdb_index section to a file.
# Copyright (C) 2010-2020 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# This program assumes gdb and objcopy are in $PATH.
# If not, or you want others, pass the following in the environment
GDB=${GDB:=gdb}
OBJCOPY=${OBJCOPY:=objcopy}
READELF=${READELF:=readelf}
myname="${0##*/}"
dwarf5=""
if [ "$1" = "-dwarf-5" ]; then
dwarf5="$1"
shift
fi
if test $# != 1; then
echo "usage: $myname [-dwarf-5] FILE" 1>&2
exit 1
fi
file="$1"
if test ! -r "$file"; then
echo "$myname: unable to access: $file" 1>&2
exit 1
fi
dir="${file%/*}"
test "$dir" = "$file" && dir="."
dwz_file=""
if $READELF -S "$file" | grep -q " \.gnu_debugaltlink "; then
dwz_file=$($READELF --string-dump=.gnu_debugaltlink "$file" \
| grep -A1 "'\.gnu_debugaltlink':" \
| tail -n +2 \
| sed 's/.*]//')
dwz_file=$(echo $dwz_file)
if $READELF -S "$dwz_file" | grep -E -q " \.(gdb_index|debug_names) "; then
# Already has an index, skip it.
dwz_file=""
fi
fi
set_files ()
{
local file="$1"
index4="${file}.gdb-index"
index5="${file}.debug_names"
debugstr="${file}.debug_str"
debugstrmerge="${file}.debug_str.merge"
debugstrerr="${file}.debug_str.err"
}
tmp_files=
for f in "$file" "$dwz_file"; do
if [ "$f" = "" ]; then
continue
fi
set_files "$f"
tmp_files="$tmp_files $index4 $index5 $debugstr $debugstrmerge $debugstrerr"
done
rm -f $tmp_files
# Ensure intermediate index file is removed when we exit.
trap "rm -f $tmp_files" 0
$GDB --batch -nx -iex 'set auto-load no' \
-ex "file $file" -ex "save gdb-index $dwarf5 $dir" || {
# Just in case.
status=$?
echo "$myname: gdb error generating index for $file" 1>&2
exit $status
}
# In some situations gdb can exit without creating an index. This is
# not an error.
# E.g., if $file is stripped. This behaviour is akin to stripping an
# already stripped binary, it's a no-op.
status=0
handle_file ()
{
local file
file="$1"
set_files "$file"
if test -f "$index4" -a -f "$index5"; then
echo "$myname: Both index types were created for $file" 1>&2
status=1
elif test -f "$index4" -o -f "$index5"; then
if test -f "$index4"; then
index="$index4"
section=".gdb_index"
else
index="$index5"
section=".debug_names"
fi
debugstradd=false
debugstrupdate=false
if test -s "$debugstr"; then
if ! $OBJCOPY --dump-section .debug_str="$debugstrmerge" "$file" \
/dev/null 2>$debugstrerr; then
cat >&2 $debugstrerr
exit 1
fi
if grep -q "can't dump section '.debug_str' - it does not exist" \
$debugstrerr; then
debugstradd=true
else
debugstrupdate=true
cat >&2 $debugstrerr
fi
cat "$debugstr" >>"$debugstrmerge"
fi
$OBJCOPY --add-section $section="$index" \
--set-section-flags $section=readonly \
$(if $debugstradd; then \
echo --add-section .debug_str="$debugstrmerge"; \
echo --set-section-flags .debug_str=readonly; \
fi; \
if $debugstrupdate; then \
echo --update-section .debug_str="$debugstrmerge"; \
fi) \
"$file" "$file"
status=$?
else
echo "$myname: No index was created for $file" 1>&2
echo "$myname: [Was there no debuginfo? Was there already an index?]" \
1>&2
fi
}
handle_file "$file"
if [ "$dwz_file" != "" ]; then
handle_file "$dwz_file"
fi
exit $status
| {
"pile_set_name": "Github"
} |
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/
//
// 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 Castle.Windsor.Tests.Facilities.Startable
{
using System;
using System.Collections.Generic;
using Castle.Core;
using Castle.Core.Configuration;
using Castle.Facilities.Startable;
using Castle.MicroKernel;
using Castle.MicroKernel.ModelBuilder;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.Tests.ClassComponents;
using Castle.Windsor.Tests.ClassComponents;
using Castle.Windsor.Tests.Facilities.Startable.Components;
using NUnit.Framework;
[TestFixture]
public class StartableFacilityTestCase
{
[SetUp]
public void SetUp()
{
kernel = new DefaultKernel();
startableCreatedBeforeResolved = false;
}
private IKernel kernel;
private bool startableCreatedBeforeResolved;
private void OnNoInterfaceStartableComponentStarted(ComponentModel mode, object instance)
{
var startable = instance as NoInterfaceStartableComponent;
Assert.IsNotNull(startable);
Assert.IsTrue(startable.Started);
Assert.IsFalse(startable.Stopped);
startableCreatedBeforeResolved = true;
}
private void OnStartableComponentStarted(ComponentModel mode, object instance)
{
var startable = instance as StartableComponent;
Assert.IsNotNull(startable);
Assert.IsTrue(startable.Started);
Assert.IsFalse(startable.Stopped);
startableCreatedBeforeResolved = true;
}
[Test]
public void Startable_with_throwing_property_dependency()
{
HasThrowingPropertyDependency.InstancesStarted = 0;
HasThrowingPropertyDependency.InstancesCreated = 0;
kernel.AddFacility<StartableFacility>();
kernel.Register(
Component.For<ThrowsInCtor>(),
Component.For<HasThrowingPropertyDependency>()
.StartUsingMethod(x => x.Start)
);
Assert.AreEqual(1, HasThrowingPropertyDependency.InstancesCreated);
Assert.AreEqual(1, HasThrowingPropertyDependency.InstancesStarted);
}
[Test]
public void Starts_component_without_start_method()
{
ClassWithInstanceCount.InstancesCount = 0;
kernel.AddFacility<StartableFacility>(f => f.DeferredTryStart());
kernel.Register(Component.For<ClassWithInstanceCount>().Start());
Assert.AreEqual(1, ClassWithInstanceCount.InstancesCount);
}
[Test]
public void Starts_component_without_start_method_AllTypes()
{
ClassWithInstanceCount.InstancesCount = 0;
kernel.AddFacility<StartableFacility>(f => f.DeferredTryStart());
kernel.Register(AllTypes.FromThisAssembly()
.Where(t => t == typeof(ClassWithInstanceCount))
.Configure(c => c.Start()));
Assert.AreEqual(1, ClassWithInstanceCount.InstancesCount);
}
[Test]
public void TestComponentWithNoInterface()
{
kernel.ComponentCreated += OnNoInterfaceStartableComponentStarted;
var compNode = new MutableConfiguration("component");
compNode.Attributes["id"] = "b";
compNode.Attributes["startable"] = "true";
compNode.Attributes["startMethod"] = "Start";
compNode.Attributes["stopMethod"] = "Stop";
kernel.ConfigurationStore.AddComponentConfiguration("b", compNode);
kernel.AddFacility<StartableFacility>();
kernel.Register(Component.For<NoInterfaceStartableComponent>().Named("b"));
Assert.IsTrue(startableCreatedBeforeResolved, "Component was not properly started");
var component = kernel.Resolve<NoInterfaceStartableComponent>("b");
Assert.IsNotNull(component);
Assert.IsTrue(component.Started);
Assert.IsFalse(component.Stopped);
kernel.ReleaseComponent(component);
Assert.IsTrue(component.Stopped);
}
[Test]
public void TestInterfaceBasedStartable()
{
kernel.ComponentCreated += OnStartableComponentStarted;
kernel.AddFacility<StartableFacility>();
kernel.Register(Component.For(typeof(StartableComponent)).Named("a"));
Assert.IsTrue(startableCreatedBeforeResolved, "Component was not properly started");
var component = kernel.Resolve<StartableComponent>("a");
Assert.IsNotNull(component);
Assert.IsTrue(component.Started);
Assert.IsFalse(component.Stopped);
kernel.ReleaseComponent(component);
Assert.IsTrue(component.Stopped);
}
[Test]
public void TestStartableCallsStartOnlyOnceOnError()
{
StartableWithError.StartedCount = 0;
kernel.AddFacility<StartableFacility>();
var ex =
Assert.Throws<Exception>(() =>
kernel.Register(Component.For<StartableWithError>(),
Component.For<ICommon>().ImplementedBy<CommonImpl1>()));
// Every additional registration causes Start to be called again and again...
Assert.AreEqual("This should go bonk", ex.Message);
Assert.AreEqual(1, StartableWithError.StartedCount);
}
/// <summary>
/// This test has one startable component dependent on another, and both are dependent
/// on a third generic component - all are singletons. We need to make sure we only get
/// one instance of each component created.
/// </summary>
[Test]
public void TestStartableChainWithGenerics()
{
kernel.AddFacility<StartableFacility>();
// Add parent. This has a dependency so won't be started yet.
kernel.Register(Component.For(typeof(StartableChainParent)).Named("chainparent"));
Assert.AreEqual(0, StartableChainDependency.startcount);
Assert.AreEqual(0, StartableChainDependency.createcount);
// Add generic dependency. This is not startable so won't get created.
kernel.Register(Component.For(typeof(StartableChainGeneric<>)).Named("chaingeneric"));
Assert.AreEqual(0, StartableChainDependency.startcount);
Assert.AreEqual(0, StartableChainDependency.createcount);
// Add dependency. This will satisfy the dependency so everything will start.
kernel.Register(Component.For(typeof(StartableChainDependency)).Named("chaindependency"));
Assert.AreEqual(1, StartableChainParent.startcount);
Assert.AreEqual(1, StartableChainParent.createcount);
Assert.AreEqual(1, StartableChainDependency.startcount);
Assert.AreEqual(1, StartableChainDependency.createcount);
Assert.AreEqual(1, StartableChainGeneric<string>.createcount);
}
[Test]
public void TestStartableCustomDependencies()
{
kernel.ComponentCreated += OnStartableComponentStarted;
kernel.AddFacility<StartableFacility>();
kernel.Register(
Component.For<StartableComponentCustomDependencies>()
.Named("a")
.DependsOn(Property.ForKey("config").Eq(1))
);
Assert.IsTrue(startableCreatedBeforeResolved, "Component was not properly started");
var component = kernel.Resolve<StartableComponentCustomDependencies>("a");
Assert.IsNotNull(component);
Assert.IsTrue(component.Started);
Assert.IsFalse(component.Stopped);
kernel.ReleaseComponent(component);
Assert.IsTrue(component.Stopped);
}
[Test]
public void TestStartableExplicitFakeDependencies()
{
kernel.ComponentCreated += OnStartableComponentStarted;
var dependsOnSomething = new DependencyModel(null, typeof(ICommon), false);
kernel.AddFacility<StartableFacility>();
kernel.Register(
Component.For<StartableComponent>()
.AddDescriptor(new AddDependency(dependsOnSomething))
);
Assert.False(startableCreatedBeforeResolved, "Component should not have started");
kernel.Register(Component.For<ICommon>().ImplementedBy<CommonImpl1>());
Assert.True(startableCreatedBeforeResolved, "Component was not properly started");
}
[Test]
public void TestStartableWithRegisteredCustomDependencies()
{
kernel.ComponentCreated += OnStartableComponentStarted;
kernel.AddFacility<StartableFacility>();
var dependencies = new Dictionary<string, object> { { "config", 1 } };
kernel.Register(Component.For<StartableComponentCustomDependencies>().DependsOn(dependencies));;
Assert.IsTrue(startableCreatedBeforeResolved, "Component was not properly started");
var component = kernel.Resolve<StartableComponentCustomDependencies>();
Assert.IsNotNull(component);
Assert.IsTrue(component.Started);
Assert.IsFalse(component.Stopped);
kernel.ReleaseComponent(component);
Assert.IsTrue(component.Stopped);
}
[Test]
public void Works_when_Start_and_Stop_methods_have_overloads()
{
kernel.AddFacility<StartableFacility>();
kernel.Register(Component.For<WithOverloads>()
.StartUsingMethod("Start")
.StopUsingMethod("Stop"));
var c = kernel.Resolve<WithOverloads>();
Assert.IsTrue(c.StartCalled);
kernel.ReleaseComponent(c);
Assert.IsTrue(c.StopCalled);
}
}
[Transient]
public class WithOverloads
{
public bool StartCalled { get; set; }
public bool StopCalled { get; set; }
public void Start()
{
StartCalled = true;
}
public void Start(int fake)
{
}
public void Stop()
{
StopCalled = true;
}
public void Stop(string fake)
{
}
}
public class AddDependency : IComponentModelDescriptor
{
private readonly DependencyModel dependency;
public AddDependency(DependencyModel dependency)
{
this.dependency = dependency;
}
public void BuildComponentModel(IKernel kernel, ComponentModel model)
{
model.Dependencies.Add(dependency);
}
public void ConfigureComponentModel(IKernel kernel, ComponentModel model)
{
}
}
} | {
"pile_set_name": "Github"
} |
/*
Copyright 2016 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// +k8s:deepcopy-gen=package
// +groupName=storage.k8s.io
// +k8s:openapi-gen=true
package v1beta1 // import "k8s.io/api/storage/v1beta1"
| {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* (C) Copyright 2000
* Rob Taylor, Flying Pig Systems. [email protected].
*/
#ifndef _NS87308_H_
#define _NS87308_H_
#include <asm/pci_io.h>
/* Note: I couldn't find a full data sheet for the ns87308, but the ns87307 seems to be pretty
functionally- (and pin-) equivalent to the 87308, but the 308 has better ir support. */
void initialise_ns87308(void);
/*
* The following struct represents the GPIO registers on the NS87308/NS97307
*/
struct GPIO
{
unsigned char dta1; /* 0 data port 1 */
unsigned char dir1; /* 1 direction port 1 */
unsigned char out1; /* 2 output type port 1 */
unsigned char puc1; /* 3 pull-up control port 1 */
unsigned char dta2; /* 4 data port 2 */
unsigned char dir2; /* 5 direction port 2 */
unsigned char out2; /* 6 output type port 2 */
unsigned char puc2; /* 7 pull-up control port 2 */
};
/*
* The following represents the power management registers on the NS87308/NS97307
*/
#define PWM_FER1 0 /* 0 function enable reg. 1 */
#define PWM_FER2 1 /* 1 function enable reg. 2 */
#define PWM_PMC1 2 /* 2 power mgmt. control 1 */
#define PWM_PMC2 3 /* 3 power mgmt. control 2 */
#define PWM_PMC3 4 /* 4 power mgmt. control 3 */
#define PWM_WDTO 5 /* 5 watchdog time-out */
#define PWM_WDCF 6 /* 6 watchdog config. */
#define PWM_WDST 7 /* 7 watchdog status */
/*PNP config registers:
* these depend on the stated of BADDR1 and BADDR0 on startup
* so there's three versions here with the last two digits indicating
* for which configuration their valid
* the 1st of the two digits indicates the state of BADDR1
* the 2st of the two digits indicates the state of BADDR0
*/
#define IO_INDEX_OFFSET_0x 0x0279 /* full PnP isa Mode */
#define IO_INDEX_OFFSET_10 0x015C /* PnP motherboard mode */
#define IO_INDEX_OFFSET_11 0x002E /* PnP motherboard mode */
#define IO_DATA_OFFSET_0x 0x0A79 /* full PnP isa Mode */
#define IO_DATA_OFFSET_10 0x015D /* PnP motherboard mode */
#define IO_DATA_OFFSET_11 0x002F /* PnP motherboard mode */
#if defined(CONFIG_SYS_NS87308_BADDR_0x)
#define IO_INDEX (CONFIG_SYS_ISA_IO + IO_INDEX_OFFSET_0x)
#define IO_DATA (CONFIG_SYS_ISA_IO + IO_DATA_OFFSET_0x)
#elif defined(CONFIG_SYS_NS87308_BADDR_10)
#define IO_INDEX (CONFIG_SYS_ISA_IO + IO_INDEX_OFFSET_10)
#define IO_DATA (CONFIG_SYS_ISA_IO + IO_DATA_OFFSET_10)
#elif defined(CONFIG_SYS_NS87308_BADDR_11)
#define IO_INDEX (CONFIG_SYS_ISA_IO + IO_INDEX_OFFSET_11)
#define IO_DATA (CONFIG_SYS_ISA_IO + IO_DATA_OFFSET_11)
#endif
/* PnP register definitions */
#define SET_RD_DATA_PORT 0x00
#define SERIAL_ISOLATION 0x01
#define CONFIG_CONTROL 0x02
#define WAKE_CSN 0x03
#define RES_DATA 0x04
#define STATUS 0x05
#define SET_CSN 0x06
#define LOGICAL_DEVICE 0x07
/*vendor defined values */
#define SID_REG 0x20
#define SUPOERIO_CONF1 0x21
#define SUPOERIO_CONF2 0x22
#define PGCS_INDEX 0x23
#define PGCS_DATA 0x24
/* values above 30 are different for each logical device
but I can't be arsed to enter them all. the ones here
are pretty consistent between all logical devices
feel free to correct the situation if you want.. ;)
*/
#define ACTIVATE 0x30
#define ACTIVATE_OFF 0x00
#define ACTIVATE_ON 0x01
#define BASE_ADDR_HIGH 0x60
#define BASE_ADDR_LOW 0x61
#define LUN_CONFIG_REG 0xF0
#define DBASE_HIGH 0x60 /* SIO KBC data base address, 15:8 */
#define DBASE_LOW 0x61 /* SIO KBC data base address, 7:0 */
#define CBASE_HIGH 0x62 /* SIO KBC command base addr, 15:8 */
#define CBASE_LOW 0x63 /* SIO KBC command base addr, 7:0 */
/* the logical devices*/
#define LDEV_KBC1 0x00 /* 2 devices for keyboard and mouse controller*/
#define LDEV_KBC2 0x01
#define LDEV_MOUSE 0x01
#define LDEV_RTC_APC 0x02 /*Real Time Clock and Advanced Power Control*/
#define LDEV_FDC 0x03 /*floppy disk controller*/
#define LDEV_PARP 0x04 /*Parallel port*/
#define LDEV_UART2 0x05
#define LDEV_UART1 0x06
#define LDEV_GPIO 0x07 /*General Purpose IO and chip select output signals*/
#define LDEV_POWRMAN 0x08 /*Power Managment*/
#define CONFIG_SYS_NS87308_KBC1 (1 << LDEV_KBC1)
#define CONFIG_SYS_NS87308_KBC2 (1 << LDEV_KBC2)
#define CONFIG_SYS_NS87308_MOUSE (1 << LDEV_MOUSE)
#define CONFIG_SYS_NS87308_RTC_APC (1 << LDEV_RTC_APC)
#define CONFIG_SYS_NS87308_FDC (1 << LDEV_FDC)
#define CONFIG_SYS_NS87308_PARP (1 << LDEV_PARP)
#define CONFIG_SYS_NS87308_UART2 (1 << LDEV_UART2)
#define CONFIG_SYS_NS87308_UART1 (1 << LDEV_UART1)
#define CONFIG_SYS_NS87308_GPIO (1 << LDEV_GPIO)
#define CONFIG_SYS_NS87308_POWRMAN (1 << LDEV_POWRMAN)
/*some functions and macro's for doing configuration */
static inline void read_pnp_config(unsigned char index, unsigned char *data)
{
pci_writeb(index,IO_INDEX);
pci_readb(IO_DATA, *data);
}
static inline void write_pnp_config(unsigned char index, unsigned char data)
{
pci_writeb(index,IO_INDEX);
pci_writeb(data, IO_DATA);
}
static inline void pnp_set_device(unsigned char dev)
{
write_pnp_config(LOGICAL_DEVICE, dev);
}
static inline void write_pm_reg(unsigned short base, unsigned char index, unsigned char data)
{
pci_writeb(index, CONFIG_SYS_ISA_IO + base);
eieio();
pci_writeb(data, CONFIG_SYS_ISA_IO + base + 1);
}
/*void write_pnp_config(unsigned char index, unsigned char data);
void pnp_set_device(unsigned char dev);
*/
#define PNP_SET_DEVICE_BASE(dev,base) \
pnp_set_device(dev); \
write_pnp_config(ACTIVATE, ACTIVATE_OFF); \
write_pnp_config(BASE_ADDR_HIGH, ((base) >> 8) & 0xff ); \
write_pnp_config(BASE_ADDR_LOW, (base) &0xff); \
write_pnp_config(ACTIVATE, ACTIVATE_ON);
#define PNP_ACTIVATE_DEVICE(dev) \
pnp_set_device(dev); \
write_pnp_config(ACTIVATE, ACTIVATE_ON);
#define PNP_DEACTIVATE_DEVICE(dev) \
pnp_set_device(dev); \
write_pnp_config(ACTIVATE, ACTIVATE_OFF);
static inline void write_pgcs_config(unsigned char index, unsigned char data)
{
write_pnp_config(PGCS_INDEX, index);
write_pnp_config(PGCS_DATA, data);
}
/* these macrose configure the 3 CS lines
on the sandpoint board these controll NVRAM
CS0 is connected to NVRAMCS
CS1 is connected to NVRAMAS0
CS2 is connected to NVRAMAS1
*/
#define PGCS_CS_ASSERT_ON_WRITE 0x10
#define PGCS_CS_ASSERT_ON_READ 0x20
#define PNP_PGCS_CSLINE_BASE(cs, base) \
write_pgcs_config((cs) << 2, ((base) >> 8) & 0xff ); \
write_pgcs_config(((cs) << 2) + 1, (base) & 0xff );
#define PNP_PGCS_CSLINE_CONF(cs, conf) \
write_pgcs_config(((cs) << 2) + 2, (conf) );
/* The following sections are for 87308 extensions to the standard compoents it emulates */
/* extensions to 16550*/
#define MCR_MDSL_MSK 0xe0 /*mode select mask*/
#define MCR_MDSL_UART 0x00 /*uart, default*/
#define MCR_MDSL_SHRPIR 0x02 /*Sharp IR*/
#define MCR_MDSL_SIR 0x03 /*SIR*/
#define MCR_MDSL_CIR 0x06 /*Consumer IR*/
#define FCR_TXFTH0 0x10 /* these bits control threshod of data level in fifo */
#define FCR_TXFTH1 0x20 /* for interrupt trigger */
/*
* Default NS87308 configuration
*/
#ifndef CONFIG_SYS_NS87308_KBC1_BASE
#define CONFIG_SYS_NS87308_KBC1_BASE 0x0060
#endif
#ifndef CONFIG_SYS_NS87308_RTC_BASE
#define CONFIG_SYS_NS87308_RTC_BASE 0x0070
#endif
#ifndef CONFIG_SYS_NS87308_FDC_BASE
#define CONFIG_SYS_NS87308_FDC_BASE 0x03F0
#endif
#ifndef CONFIG_SYS_NS87308_LPT_BASE
#define CONFIG_SYS_NS87308_LPT_BASE 0x0278
#endif
#ifndef CONFIG_SYS_NS87308_UART1_BASE
#define CONFIG_SYS_NS87308_UART1_BASE 0x03F8
#endif
#ifndef CONFIG_SYS_NS87308_UART2_BASE
#define CONFIG_SYS_NS87308_UART2_BASE 0x02F8
#endif
#endif /*_NS87308_H_*/
| {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Dia2Sharp
{
public static class Reflectors
{
public static IEnumerable<MethodInfo> LinqPublicFunctions(this Type type)
{
if (!type.IsInterface)
return type.GetMethods();
return (new Type[] { type })
.Concat(type.GetInterfaces())
.SelectMany(i => i.GetMethods());
}
public static IEnumerable<PropertyInfo> LinqPublicProperties(this Type type)
{
if (!type.IsInterface)
return type.GetProperties();
return (new Type[] { type })
.Concat(type.GetInterfaces())
.SelectMany(i => i.GetProperties());
}
public static PropertyInfo[] GetPublicProperties(this Type type)
{
if (type.IsInterface)
{
var propertyInfos = new List<PropertyInfo>();
var considered = new List<Type>();
var queue = new Queue<Type>();
considered.Add(type);
queue.Enqueue(type);
while (queue.Count > 0)
{
var subType = queue.Dequeue();
foreach (var subInterface in subType.GetInterfaces())
{
if (considered.Contains(subInterface)) continue;
considered.Add(subInterface);
queue.Enqueue(subInterface);
}
var typeProperties = subType.GetProperties(
BindingFlags.FlattenHierarchy
| BindingFlags.Public
| BindingFlags.Instance);
var newPropertyInfos = typeProperties
.Where(x => !propertyInfos.Contains(x));
propertyInfos.InsertRange(0, newPropertyInfos);
}
return propertyInfos.ToArray();
}
return type.GetProperties(BindingFlags.FlattenHierarchy
| BindingFlags.Public | BindingFlags.Instance);
}
}
}
| {
"pile_set_name": "Github"
} |
#begin document (nw/p2.5_c2e/00/p2.5_c2e_0016); part 000
nw/p2.5_c2e/00/p2.5_c2e_0016 0 0 [WORD] NNP (TOP(FRAG(NP*) - - - - * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 1 [WORD] , * - - - - * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 2 [WORD] NNP (NP* - - - - * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 3 [WORD] CD *) - - - - * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 4 [WORD] . *)) - - - - * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 0 [WORD] NNP (TOP(S(NP(NP* - - - - * (ARG0* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 1 [WORD] POS *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 2 [WORD] `` * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 3 [WORD] NNP * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 4 [WORD] NNP * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 5 [WORD] '' *) - - - - * *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 6 [WORD] NN (NP(NP*) - - - - * (ARGM-TMP* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 7 [WORD] -LRB- * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 8 [WORD] NN * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 9 [WORD] -RRB- *) - - - - * *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 10 [WORD] VBD (VP* announce 01 1 - * (V*) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 11 [WORD] PRP$ (NP* - - - - * (ARG1* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 12 [WORD] `` * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 13 [WORD] CD * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 14 [WORD] NNP (NML* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 15 [WORD] NNP *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 16 [WORD] NNP * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 17 [WORD] '' *)) - - - - * *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 18 [WORD] . *)) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 0 [WORD] RB (TOP(S(ADVP* - - - - * * (ARGM-ADV* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 1 [WORD] IN (PP* - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 2 [WORD] NN (NP(NP(NP*) - - - - * (ARGM-LOC* * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 3 [WORD] IN (PP* - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 4 [WORD] NN (NP*))) - - - - * *) * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 5 [WORD] WRB (SBAR(WHADVP*) - - - - * (R-ARGM-LOC*) * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 6 [WORD] DT (S(NP(NP* - - - - * (ARG1* * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 7 [WORD] NN *) - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 8 [WORD] IN (PP* - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 9 [WORD] JJ (NP* - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 10 [WORD] NN *))) - - - - * *) * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 11 [WORD] VBZ (VP* be 01 1 - * (V*) * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 12 [WORD] RB (NP(QP* - - - - * (ARG2* * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 13 [WORD] CD *) - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 14 [WORD] NN *))))))) - - - - * *) *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 15 [WORD] , * - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 16 [WORD] DT (NP(NP* - - - - * * (ARG1* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 17 [WORD] NN * - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 18 [WORD] NN *) - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 19 [WORD] IN (PP* - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 20 [WORD] NN (NP*)) - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 21 [WORD] IN (PP* - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 22 [WORD] DT (NP* - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 23 [WORD] NN *))) - - - - * * *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 24 [WORD] VBZ (VP* be 01 2 - * * (V*) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 25 [WORD] CD (NP(NP* - - - - * * (ARG2* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 26 [WORD] NNS *) - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 27 [WORD] IN (PP* - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 28 [WORD] CD (NP*)))) - - - - * * *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 29 [WORD] . *)) - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 0 [WORD] IN (TOP(S(PP* - - - - * (ARGM-PRD* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 1 [WORD] JJ (ADJP*)) - - - - * *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 2 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 3 [WORD] DT (NP* - - - - * (ARG1* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 4 [WORD] JJ * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 5 [WORD] NN * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 6 [WORD] NN *) - - - - * *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 7 [WORD] VBZ (VP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 8 [WORD] VBN (VP* add 02 - - * (V*) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 9 [WORD] DT (NP* - - - - * (ARGM-TMP* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 10 [WORD] CD * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 11 [WORD] NNS *))) - - - - * *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 12 [WORD] . *)) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 0 [WORD] IN (TOP(S(PP* - - - - * (ARGM-DIS* * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 1 [WORD] DT (NP*)) - - - - * *) * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 2 [WORD] , * - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 3 [WORD] DT (NP(NP* - - - - * (ARG1* * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 4 [WORD] JJS * - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 5 [WORD] NN *) - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 6 [WORD] IN (PP* - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 7 [WORD] NNS (NP*))) - - - - * *) * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 8 [WORD] VBZ (VP* be 01 2 - * (V*) * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 9 [WORD] JJ (NP* - - - - * (ARG2* * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 10 [WORD] NN *) - - - - * *) * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 11 [WORD] , * - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 12 [WORD] IN (SBAR* - - - - * (ARGM-ADV* * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 13 [WORD] IN (S(NP(PP* - - - - * * (ARG1* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 14 [WORD] NNS (NP*))) - - - - * * *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 15 [WORD] VBZ (VP* be 01 2 - * * (V*) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 16 [WORD] NN (NP* - - - - * * (ARG2* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 17 [WORD] NN *))))) - - - - * *) *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 18 [WORD] . *)) - - - - * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 0 [WORD] VBG (TOP(S(PP* - - - - * (ARGM-ADV* * (ARGM-ADV* * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 1 [WORD] IN (PP* - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 2 [WORD] DT (NP* - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 3 [WORD] `` * - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 4 [WORD] NNP (NML* - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 5 [WORD] NNP * - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 6 [WORD] NNP *) - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 7 [WORD] '' * - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 8 [WORD] NN *))) - - - - * *) * *) * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 9 [WORD] , * - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 10 [WORD] `` * - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 11 [WORD] NNP (NP* - - - - * (ARG0* * (ARG0* * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 12 [WORD] NNP *) - - - - * *) * *) * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 13 [WORD] '' * - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 14 [WORD] VBD (VP(VP* study 01 1 - * (V*) * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 15 [WORD] DT (NP(NP* - - - - * (ARG1* * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 16 [WORD] RB (ADJP* - - - - * * (ARGM-TMP*) * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 17 [WORD] VBN *) detect 01 - - * * (V*) * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 18 [WORD] JJ * - - - - * * (ARG1* * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 19 [WORD] NN * - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 20 [WORD] NNS *) - - - - * * *) * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 21 [WORD] IN (PP* - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 22 [WORD] DT (NP(NP(NP* - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 23 [WORD] JJ * - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 24 [WORD] NN * - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 25 [WORD] POS *) - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 26 [WORD] CD * - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 27 [WORD] NNS *) - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 28 [WORD] IN (PP* - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 29 [WORD] DT (NP(NP* - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 30 [WORD] NN *) - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 31 [WORD] IN (PP* - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 32 [WORD] JJR (NP(QP* - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 33 [WORD] IN * - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 34 [WORD] CD *) - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 35 [WORD] NNS *)))))))) - - - - * *) * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 36 [WORD] CC * - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 37 [WORD] VBD (VP* reveal 01 2 - * * * (V*) * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 38 [WORD] IN (SBAR* - - - - * * * (ARG1* * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 39 [WORD] DT (S(NP(NP* - - - - * * * * (ARG1* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 40 [WORD] JJ * - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 41 [WORD] NN * - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 42 [WORD] NN *) - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 43 [WORD] IN (PP* - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 44 [WORD] NN (NP*)) - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 45 [WORD] IN (PP* - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 46 [WORD] DT (NP* - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 47 [WORD] NN *))) - - - - * * * * *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 48 [WORD] VBZ (VP* be 01 2 - * * * * (V*) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 49 [WORD] CD (NP(NP* - - - - * * * * (ARG2* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 50 [WORD] NNS *) - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 51 [WORD] IN (PP* - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 52 [WORD] CD (NP*))) - - - - * * * * *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 53 [WORD] IN (PP* - - - - * * * * (ARGM-TMP* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 54 [WORD] CD (NP*))))))) - - - - * * * *) *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 55 [WORD] . *)) - - - - * * * * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 0 [WORD] CC (TOP(S* - - - - * (ARGM-DIS*) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 1 [WORD] DT (NP* - - - - * (ARG1* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 2 [WORD] RBS (ADJP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 3 [WORD] JJ *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 4 [WORD] NN *) - - - - * *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 5 [WORD] VBZ (VP* be 01 1 - * (V*) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 6 [WORD] IN (PP* - - - - * (ARG2* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 7 [WORD] NN (NP(NP*) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 8 [WORD] IN (PP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 9 [WORD] CD (NP(NP(NP*) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 10 [WORD] IN (PP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 11 [WORD] NNS (NP*))) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 12 [WORD] CC * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 13 [WORD] CD (NP(NP*) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 14 [WORD] IN (PP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 15 [WORD] NNS (NP*)))))))) - - - - * *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 16 [WORD] . *)) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 0 [WORD] IN (TOP(S(PP* - - - - * (ARGM-DIS* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 1 [WORD] DT (NP*)) - - - - * *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 2 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 3 [WORD] DT (NP(NP* - - - - * (ARG1* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 4 [WORD] CD * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 5 [WORD] RBS (ADJP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 6 [WORD] JJ *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 7 [WORD] NNS *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 8 [WORD] IN (PP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 9 [WORD] NN (NP*)) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 10 [WORD] IN (PP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 11 [WORD] NNS (NP*))) - - - - * *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 12 [WORD] VBP (VP* be 01 1 - * (V*) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 13 [WORD] IN (PP* - - - - * (ARGM-ADV* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 14 [WORD] DT (NP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 15 [WORD] NN * following - 3 - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 16 [WORD] NN *)) - - - - * *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 17 [WORD] : * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 18 [WORD] NN (NP(NP* - - - - * (ARG2* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 19 [WORD] NN *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 20 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 21 [WORD] NN (NP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 22 [WORD] NN *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 23 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 24 [WORD] NN (NP(UCP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 25 [WORD] CC * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 26 [WORD] JJ *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 27 [WORD] NN *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 28 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 29 [WORD] JJ (NP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 30 [WORD] NN *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 31 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 32 [WORD] NN (NP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 33 [WORD] NN *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 34 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 35 [WORD] NN (NP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 36 [WORD] NN *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 37 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 38 [WORD] NN (NP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 39 [WORD] NN *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 40 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 41 [WORD] JJ (NP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 42 [WORD] NN *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 43 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 44 [WORD] JJ (NP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 45 [WORD] NN *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 46 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 47 [WORD] CC * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 48 [WORD] NN (NP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 49 [WORD] NN *))) - - - - * *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 50 [WORD] . *)) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 0 [WORD] IN (TOP(S(PP* - - - - * (ARGM-ADV* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 1 [WORD] NNS (NP*)) - - - - * *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 2 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 3 [WORD] DT (NP(NP* - - - - * (ARG1* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 4 [WORD] CD * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 5 [WORD] RBS (ADJP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 6 [WORD] JJ *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 7 [WORD] NNS *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 8 [WORD] IN (PP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 9 [WORD] NN (NP(NP*) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 10 [WORD] IN (PP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 11 [WORD] NNS (NP*))))) - - - - * *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 12 [WORD] VBP (VP* be 01 2 - * (V*) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 13 [WORD] : * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 14 [WORD] NN (NP(NP* - - - - * (ARG2* -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 15 [WORD] NN *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 16 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 17 [WORD] NN (NP(UCP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 18 [WORD] CC * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 19 [WORD] JJ *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 20 [WORD] NN *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 21 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 22 [WORD] NN (NP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 23 [WORD] NN *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 24 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 25 [WORD] NN (NP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 26 [WORD] NN *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 27 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 28 [WORD] JJ (NP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 29 [WORD] JJ * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 30 [WORD] NN *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 31 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 32 [WORD] NN (NP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 33 [WORD] NN *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 34 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 35 [WORD] NN (NP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 36 [WORD] NN *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 37 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 38 [WORD] JJ (NP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 39 [WORD] NN *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 40 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 41 [WORD] NN (NP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 42 [WORD] NN *) - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 43 [WORD] , * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 44 [WORD] CC * - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 45 [WORD] NN (NP* - - - - * * -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 46 [WORD] NN *))) - - - - * *) -
nw/p2.5_c2e/00/p2.5_c2e_0016 0 47 [WORD] . *)) - - - - * * -
#end document
| {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>RakNet: RakNet::BookmarkedUsers_Get Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">RakNet
 <span id="projectnumber">4.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.2 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceRakNet.html">RakNet</a></li><li class="navelem"><a class="el" href="structRakNet_1_1BookmarkedUsers__Get.html">BookmarkedUsers_Get</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-attribs">Public Attributes</a> |
<a href="structRakNet_1_1BookmarkedUsers__Get-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">RakNet::BookmarkedUsers_Get Struct Reference<div class="ingroups"><a class="el" href="group__LOBBY__2__COMMANDS.html">Lobby2Commands</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>Returns all users added to <a class="el" href="structRakNet_1_1BookmarkedUsers__Add.html" title="Remembers a user, with a type integer and description for you to use, if desired.">BookmarkedUsers_Add</a>.
<a href="structRakNet_1_1BookmarkedUsers__Get.html#details">More...</a></p>
<p><code>#include <Lobby2Message.h></code></p>
<div class="dynheader">
Inheritance diagram for RakNet::BookmarkedUsers_Get:</div>
<div class="dyncontent">
<div class="center">
<img src="structRakNet_1_1BookmarkedUsers__Get.png" usemap="#RakNet::BookmarkedUsers_Get_map" alt=""/>
<map id="RakNet::BookmarkedUsers_Get_map" name="RakNet::BookmarkedUsers_Get_map">
<area href="structRakNet_1_1Lobby2Message.html" title="A Lobby2Message encapsulates a networked function call from the client." alt="RakNet::Lobby2Message" shape="rect" coords="0,0,185,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aaf00d6077d097e4225f33f655376e8ae"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1BookmarkedUsers__Get.html#aaf00d6077d097e4225f33f655376e8ae">RequiresAdmin</a> (void) const </td></tr>
<tr class="separator:aaf00d6077d097e4225f33f655376e8ae"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a43b5e5d69e08d88ecd7135064a49b334"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1BookmarkedUsers__Get.html#a43b5e5d69e08d88ecd7135064a49b334">RequiresRankingPermission</a> (void) const </td></tr>
<tr class="separator:a43b5e5d69e08d88ecd7135064a49b334"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a65fd86d83cf85a0e5cfd725b765ec8a6"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1BookmarkedUsers__Get.html#a65fd86d83cf85a0e5cfd725b765ec8a6">CancelOnDisconnect</a> (void) const </td></tr>
<tr class="separator:a65fd86d83cf85a0e5cfd725b765ec8a6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5fbde6690a6c62f9ed87ba532da20ebe"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1BookmarkedUsers__Get.html#a5fbde6690a6c62f9ed87ba532da20ebe">RequiresLogin</a> (void) const </td></tr>
<tr class="separator:a5fbde6690a6c62f9ed87ba532da20ebe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9843c3ed8d7f035d3cfa5056d8c45f42"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9843c3ed8d7f035d3cfa5056d8c45f42"></a>
virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1BookmarkedUsers__Get.html#a9843c3ed8d7f035d3cfa5056d8c45f42">Serialize</a> (bool writeToBitstream, bool serializeOutput, <a class="el" href="classRakNet_1_1BitStream.html">RakNet::BitStream</a> *bitStream)</td></tr>
<tr class="memdesc:a9843c3ed8d7f035d3cfa5056d8c45f42"><td class="mdescLeft"> </td><td class="mdescRight">Overridable serialization of the contents of this message. Defaults to SerializeBase() <br/></td></tr>
<tr class="separator:a9843c3ed8d7f035d3cfa5056d8c45f42"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_structRakNet_1_1Lobby2Message"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_structRakNet_1_1Lobby2Message')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="structRakNet_1_1Lobby2Message.html">RakNet::Lobby2Message</a></td></tr>
<tr class="memitem:a92248c1609297987f41dbfcfd75806f9 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a92248c1609297987f41dbfcfd75806f9"></a>
virtual <a class="el" href="group__LOBBY__2__COMMANDS.html#gaf20aff5b3604dbaad834c046a03d8299">Lobby2MessageID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1Lobby2Message.html#a92248c1609297987f41dbfcfd75806f9">GetID</a> (void) const =0</td></tr>
<tr class="memdesc:a92248c1609297987f41dbfcfd75806f9 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="mdescLeft"> </td><td class="mdescRight">Every message has an ID identifying it across the network. <br/></td></tr>
<tr class="separator:a92248c1609297987f41dbfcfd75806f9 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a419b02230facc25fe97e364ee914e996 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1Lobby2Message.html#a419b02230facc25fe97e364ee914e996">PrevalidateInput</a> (void)</td></tr>
<tr class="separator:a419b02230facc25fe97e364ee914e996 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a73681a9a5bcfe6d7344cb7500c1bae72 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1Lobby2Message.html#a73681a9a5bcfe6d7344cb7500c1bae72">ClientImpl</a> (<a class="el" href="classRakNet_1_1Lobby2Plugin.html">RakNet::Lobby2Plugin</a> *client)</td></tr>
<tr class="separator:a73681a9a5bcfe6d7344cb7500c1bae72 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7d2c66bbb0ffbcda05e83e936976c41a inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1Lobby2Message.html#a7d2c66bbb0ffbcda05e83e936976c41a">CallCallback</a> (<a class="el" href="structRakNet_1_1Lobby2Callbacks.html">Lobby2Callbacks</a> *cb)=0</td></tr>
<tr class="separator:a7d2c66bbb0ffbcda05e83e936976c41a inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5213270ccd16a7bc6afc8df001b623e7 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1Lobby2Message.html#a5213270ccd16a7bc6afc8df001b623e7">ServerPreDBMemoryImpl</a> (<a class="el" href="classRakNet_1_1Lobby2Server.html">Lobby2Server</a> *server, <a class="el" href="classRakNet_1_1RakString.html">RakString</a> userHandle)</td></tr>
<tr class="separator:a5213270ccd16a7bc6afc8df001b623e7 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a62cc92ba3fb0e6562cf77d929d231a35 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62cc92ba3fb0e6562cf77d929d231a35"></a>
virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1Lobby2Message.html#a62cc92ba3fb0e6562cf77d929d231a35">ServerPostDBMemoryImpl</a> (<a class="el" href="classRakNet_1_1Lobby2Server.html">Lobby2Server</a> *server, <a class="el" href="classRakNet_1_1RakString.html">RakString</a> userHandle)</td></tr>
<tr class="memdesc:a62cc92ba3fb0e6562cf77d929d231a35 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="mdescLeft"> </td><td class="mdescRight">Do any <a class="el" href="classRakNet_1_1Lobby2Server.html" title="The base class for the lobby server, without database specific functionality.">Lobby2Server</a> functionality after the message has been processed by the database, in the server thread. <br/></td></tr>
<tr class="separator:a62cc92ba3fb0e6562cf77d929d231a35 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a39a885f1a8d8b636e5c7bbeb13d4f822 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1Lobby2Message.html#a39a885f1a8d8b636e5c7bbeb13d4f822">ServerDBImpl</a> (<a class="el" href="structRakNet_1_1Lobby2ServerCommand.html">Lobby2ServerCommand</a> *command, void *databaseInterface)</td></tr>
<tr class="separator:a39a885f1a8d8b636e5c7bbeb13d4f822 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6a85caa9e47c7d9fec7f156c5e7c723a inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1Lobby2Message.html#a6a85caa9e47c7d9fec7f156c5e7c723a">ValidateHandle</a> (<a class="el" href="classRakNet_1_1RakString.html">RakNet::RakString</a> *handle)</td></tr>
<tr class="separator:a6a85caa9e47c7d9fec7f156c5e7c723a inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af510ed0df868969f12118ea32027334b inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af510ed0df868969f12118ea32027334b"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1Lobby2Message.html#af510ed0df868969f12118ea32027334b">ValidateBinary</a> (RakNetSmartPtr< BinaryDataBlock >binaryDataBlock)</td></tr>
<tr class="memdesc:af510ed0df868969f12118ea32027334b inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="mdescLeft"> </td><td class="mdescRight">Binary data cannot be longer than L2_MAX_BINARY_DATA_LENGTH. <br/></td></tr>
<tr class="separator:af510ed0df868969f12118ea32027334b inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ada4ddbe1b8d880b6beb3cec2d107c3cf inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ada4ddbe1b8d880b6beb3cec2d107c3cf"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1Lobby2Message.html#ada4ddbe1b8d880b6beb3cec2d107c3cf">ValidateRequiredText</a> (<a class="el" href="classRakNet_1_1RakString.html">RakNet::RakString</a> *text)</td></tr>
<tr class="memdesc:ada4ddbe1b8d880b6beb3cec2d107c3cf inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="mdescLeft"> </td><td class="mdescRight">Required text cannot be empty. <br/></td></tr>
<tr class="separator:ada4ddbe1b8d880b6beb3cec2d107c3cf inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4cf58429201d0c452d354b6add784712 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4cf58429201d0c452d354b6add784712"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1Lobby2Message.html#a4cf58429201d0c452d354b6add784712">ValidatePassword</a> (<a class="el" href="classRakNet_1_1RakString.html">RakNet::RakString</a> *text)</td></tr>
<tr class="memdesc:a4cf58429201d0c452d354b6add784712 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="mdescLeft"> </td><td class="mdescRight">Passwords must contain at least 5 characters. <br/></td></tr>
<tr class="separator:a4cf58429201d0c452d354b6add784712 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aec0eeb9161acabd01464f4b875abed31 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aec0eeb9161acabd01464f4b875abed31"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1Lobby2Message.html#aec0eeb9161acabd01464f4b875abed31">ValidateEmailAddress</a> (<a class="el" href="classRakNet_1_1RakString.html">RakNet::RakString</a> *text)</td></tr>
<tr class="memdesc:aec0eeb9161acabd01464f4b875abed31 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="mdescLeft"> </td><td class="mdescRight">Check email address format. <br/></td></tr>
<tr class="separator:aec0eeb9161acabd01464f4b875abed31 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae417f773c4d48bc1cce69c656f2952fd inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae417f773c4d48bc1cce69c656f2952fd"></a>
virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1Lobby2Message.html#ae417f773c4d48bc1cce69c656f2952fd">GetName</a> (void) const =0</td></tr>
<tr class="memdesc:ae417f773c4d48bc1cce69c656f2952fd inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="mdescLeft"> </td><td class="mdescRight">Convert the enumeration representing this message to a string, and return it. Done automatically by macros. <br/></td></tr>
<tr class="separator:ae417f773c4d48bc1cce69c656f2952fd inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad48d6053a9d086c29dc3108e7de557dc inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad48d6053a9d086c29dc3108e7de557dc"></a>
virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1Lobby2Message.html#ad48d6053a9d086c29dc3108e7de557dc">DebugMsg</a> (<a class="el" href="classRakNet_1_1RakString.html">RakNet::RakString</a> &out) const =0</td></tr>
<tr class="memdesc:ad48d6053a9d086c29dc3108e7de557dc inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="mdescLeft"> </td><td class="mdescRight">Write the result of this message to out(). Done automatically by macros. <br/></td></tr>
<tr class="separator:ad48d6053a9d086c29dc3108e7de557dc inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:accf4946d351e9bb17ad197fc21b0b473 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="accf4946d351e9bb17ad197fc21b0b473"></a>
virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1Lobby2Message.html#accf4946d351e9bb17ad197fc21b0b473">DebugPrintf</a> (void) const </td></tr>
<tr class="memdesc:accf4946d351e9bb17ad197fc21b0b473 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="mdescLeft"> </td><td class="mdescRight">Print the result of DebugMsg. <br/></td></tr>
<tr class="separator:accf4946d351e9bb17ad197fc21b0b473 inherit pub_methods_structRakNet_1_1Lobby2Message"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a0463a745cb30b3913a947f6bf4642a1d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDataStructures_1_1List.html">DataStructures::List</a><br class="typebreak"/>
< BookmarkedUser > </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1BookmarkedUsers__Get.html#a0463a745cb30b3913a947f6bf4642a1d">bookmarkedUsers</a></td></tr>
<tr class="separator:a0463a745cb30b3913a947f6bf4642a1d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_attribs_structRakNet_1_1Lobby2Message"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_structRakNet_1_1Lobby2Message')"><img src="closed.png" alt="-"/> Public Attributes inherited from <a class="el" href="structRakNet_1_1Lobby2Message.html">RakNet::Lobby2Message</a></td></tr>
<tr class="memitem:a750b6a5d792d6f6c2532bfc7e3f74c99 inherit pub_attribs_structRakNet_1_1Lobby2Message"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a750b6a5d792d6f6c2532bfc7e3f74c99"></a>
RakNet::Lobby2ResultCode </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1Lobby2Message.html#a750b6a5d792d6f6c2532bfc7e3f74c99">resultCode</a></td></tr>
<tr class="memdesc:a750b6a5d792d6f6c2532bfc7e3f74c99 inherit pub_attribs_structRakNet_1_1Lobby2Message"><td class="mdescLeft"> </td><td class="mdescRight">Result of the operation. L2RC_SUCCESS means the result completed. Anything else means an error. <br/></td></tr>
<tr class="separator:a750b6a5d792d6f6c2532bfc7e3f74c99 inherit pub_attribs_structRakNet_1_1Lobby2Message"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6e29d665abe3559b60e9fadfb2fa1b40 inherit pub_attribs_structRakNet_1_1Lobby2Message"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1Lobby2Message.html#a6e29d665abe3559b60e9fadfb2fa1b40">callbackId</a></td></tr>
<tr class="separator:a6e29d665abe3559b60e9fadfb2fa1b40 inherit pub_attribs_structRakNet_1_1Lobby2Message"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5046c82fcca8bac36babe863c55ec9eb inherit pub_attribs_structRakNet_1_1Lobby2Message"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5046c82fcca8bac36babe863c55ec9eb"></a>
int </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1Lobby2Message.html#a5046c82fcca8bac36babe863c55ec9eb">extendedResultCode</a></td></tr>
<tr class="memdesc:a5046c82fcca8bac36babe863c55ec9eb inherit pub_attribs_structRakNet_1_1Lobby2Message"><td class="mdescLeft"> </td><td class="mdescRight">Used for consoles. <br/></td></tr>
<tr class="separator:a5046c82fcca8bac36babe863c55ec9eb inherit pub_attribs_structRakNet_1_1Lobby2Message"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a49c6460be7043aa3dd8f69955a4fb426 inherit pub_attribs_structRakNet_1_1Lobby2Message"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structRakNet_1_1Lobby2Message.html#a49c6460be7043aa3dd8f69955a4fb426">requestId</a></td></tr>
<tr class="separator:a49c6460be7043aa3dd8f69955a4fb426 inherit pub_attribs_structRakNet_1_1Lobby2Message"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Returns all users added to <a class="el" href="structRakNet_1_1BookmarkedUsers__Add.html" title="Remembers a user, with a type integer and description for you to use, if desired.">BookmarkedUsers_Add</a>. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a65fd86d83cf85a0e5cfd725b765ec8a6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool RakNet::BookmarkedUsers_Get::CancelOnDisconnect </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Should this message not be processed on the server if the requesting user disconnects before it completes? This should be true for functions that only return data. False for functions that affect other users, or change the database </p>
<p>Implements <a class="el" href="structRakNet_1_1Lobby2Message.html#aeab0f7b852042f9d664cb7ee0b8b0458">RakNet::Lobby2Message</a>.</p>
</div>
</div>
<a class="anchor" id="aaf00d6077d097e4225f33f655376e8ae"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool RakNet::BookmarkedUsers_Get::RequiresAdmin </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Is this message something that should only be run by a system with admin privileges? Set admin privileges with <a class="el" href="classRakNet_1_1Lobby2Server.html#a499cbfd420d6a6caecd62a8143a641da" title="If Lobby2Message::RequiresAdmin() returns true, the message can only be processed from a remote syste...">Lobby2Server::AddAdminAddress()</a> </p>
<p>Implements <a class="el" href="structRakNet_1_1Lobby2Message.html#a79cbb400e4521af2c353fbd640fed0f7">RakNet::Lobby2Message</a>.</p>
</div>
</div>
<a class="anchor" id="a5fbde6690a6c62f9ed87ba532da20ebe"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool RakNet::BookmarkedUsers_Get::RequiresLogin </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Does this function require logging into the server before it can be executed? If true, the user id and user handle will be automatically inferred by the last login by looking up the sender's system address. If false, the message should include the username so the database query can lookup which user is performing this operation. </p>
<p>Implements <a class="el" href="structRakNet_1_1Lobby2Message.html#a575e23419cd160aca576b56ee7476227">RakNet::Lobby2Message</a>.</p>
</div>
</div>
<a class="anchor" id="a43b5e5d69e08d88ecd7135064a49b334"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool RakNet::BookmarkedUsers_Get::RequiresRankingPermission </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Is this message something that should only be run by a system with ranking upload priviledges? Set ranking privileges with <a class="el" href="classRakNet_1_1Lobby2Server.html#a16a9ef14b0c08f5c01745908666064d5" title="If Lobby2Message::RequiresRankingPermission() returns true, then the system that sent the command mus...">Lobby2Server::AddRankingAddress()</a> </p>
<p>Implements <a class="el" href="structRakNet_1_1Lobby2Message.html#a3eab67e30f491cd3410b9d850ffcecea">RakNet::Lobby2Message</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a0463a745cb30b3913a947f6bf4642a1d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classDataStructures_1_1List.html">DataStructures::List</a><BookmarkedUser> RakNet::BookmarkedUsers_Get::bookmarkedUsers</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">recentlyMetUsers</td><td>Handles of recently met users, by <a class="el" href="structRakNet_1_1BookmarkedUsers__Add.html" title="Remembers a user, with a type integer and description for you to use, if desired.">BookmarkedUsers_Add</a>, subject to expirationTimeSeconds </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>D:/temp/RakNet_PC/DependentExtensions/Lobby2/Lobby2Message.h</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jun 2 2014 20:10:30 for RakNet by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.2
</small></address>
</body>
</html>
| {
"pile_set_name": "Github"
} |
// No release is triggered for the types commented out below.
// Commits using these types will be incorporated into the next release.
//
// NOTE: Any changes here must be reflected in `CONTRIBUTING.md`.
module.exports = [
{breaking: true, release: 'major'},
// {type: 'build', release: 'patch'},
// {type: 'chore', release: 'patch'},
// {type: 'ci', release: 'patch'},
{type: 'docs', release: 'patch'},
{type: 'feat', release: 'minor'},
{type: 'fix', release: 'patch'},
{type: 'perf', release: 'patch'},
{type: 'refactor', release: 'patch'},
{type: 'revert', release: 'patch'},
{type: 'style', release: 'patch'},
{type: 'test', release: 'patch'},
];
| {
"pile_set_name": "Github"
} |
@charset 'UTF-8';
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS and IE text size adjust after device orientation change,
* without disabling user zoom.
*/
html
{
font-family: sans-serif;
/* 1 */
-ms-text-size-adjust: 100%;
/* 2 */
-webkit-text-size-adjust: 100%;
/* 2 */
}
/**
* Remove default margin.
*/
body
{
margin: 0;
}
/* HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary
{
display: block;
}
/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
audio,
canvas,
progress,
video
{
display: inline-block;
/* 1 */
vertical-align: baseline;
/* 2 */
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls])
{
display: none;
height: 0;
}
/**
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
*/
[hidden],
template
{
display: none;
}
/* Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a
{
background-color: transparent;
}
/**
* Improve readability of focused elements when they are also in an
* active/hover state.
*/
a:active,
a:hover
{
outline: 0;
}
/* Text-level semantics
========================================================================== */
/**
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title]
{
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
b,
strong
{
font-weight: bold;
}
/**
* Address styling not present in Safari and Chrome.
*/
dfn
{
font-style: italic;
}
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari, and Chrome.
*/
h1
{
font-size: 2em;
margin: .67em 0;
}
/**
* Address styling not present in IE 8/9.
*/
mark
{
color: #000;
background: #ff0;
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small
{
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup
{
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup
{
top: -.5em;
}
sub
{
bottom: -.25em;
}
/* Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9/10.
*/
img
{
border: 0;
}
/**
* Correct overflow not hidden in IE 9/10/11.
*/
svg:not(:root)
{
overflow: hidden;
}
/* Grouping content
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari.
*/
figure
{
margin: 1em 40px;
}
/**
* Address differences between Firefox and other browsers.
*/
hr
{
box-sizing: content-box;
height: 0;
}
/**
* Contain overflow in all browsers.
*/
pre
{
overflow: auto;
}
/**
* Address odd `em`-unit font size rendering in all browsers.
*/
code,
kbd,
pre,
samp
{
font-family: monospace, monospace;
font-size: 1em;
}
/* Forms
========================================================================== */
/**
* Known limitation: by default, Chrome and Safari on OS X allow very limited
* styling of `select`, unless a `border` property is set.
*/
/**
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/
button,
input,
optgroup,
select,
textarea
{
/* 1 */
font: inherit;
/* 2 */
margin: 0;
color: inherit;
/* 3 */
}
/**
* Address `overflow` set to `hidden` in IE 8/9/10/11.
*/
button
{
overflow: visible;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox.
*/
button,
select
{
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
button,
html input[type='button'],
input[type='reset'],
input[type='submit']
{
/* 2 */
cursor: pointer;
-webkit-appearance: button;
/* 3 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled]
{
cursor: default;
}
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner
{
padding: 0;
border: 0;
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
input
{
line-height: normal;
}
/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/
input[type='checkbox'],
input[type='radio']
{
box-sizing: border-box;
/* 1 */
padding: 0;
/* 2 */
}
/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button
{
height: auto;
}
/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
*/
input[type='search']
{
/* 1 */
box-sizing: content-box;
-webkit-appearance: textfield;
/* 2 */
}
/**
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
* Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration
{
-webkit-appearance: none;
}
/**
* Define consistent border, margin, and padding.
*/
fieldset
{
margin: 0 2px;
padding: .35em .625em .75em;
border: 1px solid #c0c0c0;
}
/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend
{
/* 1 */
padding: 0;
border: 0;
/* 2 */
}
/**
* Remove default vertical scrollbar in IE 8/9/10/11.
*/
textarea
{
overflow: auto;
}
/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/
optgroup
{
font-weight: bold;
}
/* Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table
{
border-spacing: 0;
border-collapse: collapse;
}
td,
th
{
padding: 0;
}
/*
参考 _sprite.scss 的代码
*/
/*
在css中,直接@include即可
例:
.icon-search{
@include use-sprite($icon-search,$normal,$retina)
}
*/
/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript+bash+css-extras+git+handlebars+http+makefile+markdown+nginx+php+sass+scss&plugins=line-highlight+line-numbers+autolinker+file-highlight+show-language */
/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/
code[class*='language-'],
pre[class*='language-']
{
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
line-height: 1.5;
text-align: left;
white-space: pre;
word-spacing: normal;
word-wrap: normal;
word-break: normal;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
hyphens: none;
color: black;
text-shadow: 0 1px white;
direction: ltr;
-ms-hyphens: none;
}
pre[class*='language-']::-moz-selection,
pre[class*='language-'] ::-moz-selection,
code[class*='language-']::-moz-selection,
code[class*='language-'] ::-moz-selection
{
background: #b3d4fc;
text-shadow: none;
}
pre[class*='language-']::selection,
pre[class*='language-'] ::selection,
code[class*='language-']::selection,
code[class*='language-'] ::selection
{
background: #b3d4fc;
text-shadow: none;
}
@media print
{
code[class*='language-'],
pre[class*='language-']
{
text-shadow: none;
}
}
/* Code blocks */
pre[class*='language-']
{
overflow: auto;
margin: .5em 0;
padding: 1em;
}
:not(pre) > code[class*='language-'],
pre[class*='language-']
{
background: #f5f2f0;
}
/* Inline code */
:not(pre) > code[class*='language-']
{
padding: .1em;
white-space: normal;
border-radius: .3em;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata
{
color: slategray;
}
.token.punctuation
{
color: #999;
}
.namespace
{
opacity: .7;
}
.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted
{
color: #905;
}
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted
{
color: #690;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string
{
color: #a67f59;
background: rgba(255, 255, 255, .5);
}
.token.atrule,
.token.attr-value,
.token.keyword
{
color: #07a;
}
.token.function
{
color: #dd4a68;
}
.token.regex,
.token.important,
.token.variable
{
color: #e90;
}
.token.important,
.token.bold
{
font-weight: bold;
}
.token.italic
{
font-style: italic;
}
.token.entity
{
cursor: help;
}
pre[data-line]
{
position: relative;
padding: 1em 0 1em 3em;
}
.line-highlight
{
line-height: inherit;
position: absolute;
right: 0;
left: 0;
margin-top: 1em;
padding: inherit 0;
white-space: pre;
pointer-events: none;
/* Same as .prism’s padding-top */
background: rgba(153, 122, 102, .08);
background: -moz-linear-gradient(left, rgba(153, 122, 102, .1) 70%, rgba(153, 122, 102, 0));
background: -webkit-linear-gradient(left, rgba(153, 122, 102, .1) 70%, rgba(153, 122, 102, 0));
background: -o-linear-gradient(left, rgba(153, 122, 102, .1) 70%, rgba(153, 122, 102, 0));
background: linear-gradient(left, rgba(153, 122, 102, .1) 70%, rgba(153, 122, 102, 0));
}
.line-highlight:before,
.line-highlight[data-end]:after
{
font: bold 65%/1.5 sans-serif;
position: absolute;
top: .4em;
left: .6em;
min-width: 1em;
padding: 0 .5em;
content: attr(data-start);
text-align: center;
vertical-align: .3em;
color: #f5f2f0;
border-radius: 999px;
background-color: rgba(153, 122, 102, .4);
box-shadow: 0 1px white;
text-shadow: none;
}
.line-highlight[data-end]:after
{
top: auto;
bottom: .4em;
content: attr(data-end);
}
pre.line-numbers
{
position: relative;
padding-left: 3.8em;
counter-reset: linenumber;
}
pre.line-numbers > code
{
position: relative;
}
.line-numbers .line-numbers-rows
{
font-size: 100%;
position: absolute;
top: 0;
left: -3.8em;
width: 3em;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
/* works for line-numbers below 1000 lines */
letter-spacing: -1px;
pointer-events: none;
border-right: 1px solid #999;
}
.line-numbers-rows > span
{
display: block;
counter-increment: linenumber;
pointer-events: none;
}
.line-numbers-rows > span:before
{
display: block;
padding-right: .8em;
content: counter(linenumber);
text-align: right;
color: #999;
}
.token a
{
color: inherit;
}
div.prism-show-language
{
position: relative;
}
div.prism-show-language > div.prism-show-language-label[data-language]
{
font-size: .9em;
position: absolute;
z-index: 1;
top: 0;
right: 0;
bottom: auto;
left: auto;
display: inline-block;
width: auto;
height: auto;
padding: 0 .5em;
-webkit-transform: none;
-moz-transform: none;
-ms-transform: none;
-o-transform: none;
transform: none;
color: black;
border-radius: 0 0 0 5px;
background-color: #cfcfcf;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
text-shadow: none;
}
body,
html
{
position: relative;
width: 100%;
height: 100%;
min-height: 100%;
margin: 0;
padding: 0;
}
html
{
font-family: 'Exo', '-apple-system', 'Open Sans', 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
font-size: 62.5%;
max-height: 100%;
-webkit-font-smoothing: antialiased;
-webkit-tap-highlight-color: transparent;
}
a
{
text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6
{
margin: 0;
padding: 0;
}
h6
{
font-size: 1.4rem;
}
h5
{
font-size: 1.6rem;
}
h4
{
font-size: 1.8rem;
}
h3
{
font-size: 2.2rem;
line-height: 2.6rem;
}
h2
{
font-size: 2.8rem;
line-height: 4.6rem;
margin-bottom: .5rem;
}
h1
{
font-size: 3.2rem;
line-height: 3.8rem;
margin-bottom: .5rem;
}
.clearfix:before,
.clearfix:after
{
display: table;
content: ' ';
}
.clearfix:after
{
clear: both;
}
.clearfix
{
*zoom: 1;
}
.hide
{
display: none;
}
.site-wrapper
{
position: relative;
height: 100%;
max-height: 100%;
}
#header
{
position: relative;
z-index: 0;
display: table;
box-sizing: border-box;
width: 100%;
height: 60%;
max-height: 52rem;
padding: 2rem 0;
text-align: center;
}
#footer
{
position: relative;
z-index: 1;
display: table;
width: 100%;
height: 30rem;
margin-top: 12rem;
}
.site-footer
{
font-family: 'Exo', sans-serif;
font-size: 1.2rem;
font-weight: lighter;
line-height: 1.45em;
position: relative;
margin: 8rem 0 0 0;
padding: 1.5rem;
text-align: center;
color: #666665;
border-top: #ebf2f6 1px solid;
}
.site-footer a
{
font-family: 'Exo', sans-serif;
color: #666665;
}
.site-footer a:hover
{
color: #50585d;
}
.site-footer .github-repo
{
line-height: 12px;
position: relative;
display: inline-block;
height: 12px;
padding: 2px 5px 2px 4px;
cursor: pointer;
white-space: nowrap;
text-decoration: none;
text-indent: 14px;
color: #333;
border: 1px solid #d4d4d4;
border-radius: 3px;
background-color: #fafafa;
text-shadow: 0 1px 0 #fff;
}
.site-footer .github-repo:hover,
.site-footer .github-repo:active
{
color: #fff;
background-color: #ddd;
}
.site-footer .gadget-github
{
position: absolute;
top: 2px;
left: 4px;
display: block;
width: 12px;
height: 12px;
margin-right: 4px;
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjQwcHgiIGhlaWdodD0iNDBweCIgdmlld0JveD0iMTIgMTIgNDAgNDAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMTIgMTIgNDAgNDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwYXRoIGZpbGw9IiMzMzMzMzMiIGQ9Ik0zMiAxMy40Yy0xMC41IDAtMTkgOC41LTE5IDE5YzAgOC40IDUuNSAxNS41IDEzIDE4YzEgMC4yIDEuMy0wLjQgMS4zLTAuOWMwLTAuNSAwLTEuNyAwLTMuMiBjLTUuMyAxLjEtNi40LTIuNi02LjQtMi42QzIwIDQxLjYgMTguOCA0MSAxOC44IDQxYy0xLjctMS4yIDAuMS0xLjEgMC4xLTEuMWMxLjkgMC4xIDIuOSAyIDIuOSAyYzEuNyAyLjkgNC41IDIuMSA1LjUgMS42IGMwLjItMS4yIDAuNy0yLjEgMS4yLTIuNmMtNC4yLTAuNS04LjctMi4xLTguNy05LjRjMC0yLjEgMC43LTMuNyAyLTUuMWMtMC4yLTAuNS0wLjgtMi40IDAuMi01YzAgMCAxLjYtMC41IDUuMiAyIGMxLjUtMC40IDMuMS0wLjcgNC44LTAuN2MxLjYgMCAzLjMgMC4yIDQuNyAwLjdjMy42LTIuNCA1LjItMiA1LjItMmMxIDIuNiAwLjQgNC42IDAuMiA1YzEuMiAxLjMgMiAzIDIgNS4xYzAgNy4zLTQuNSA4LjktOC43IDkuNCBjMC43IDAuNiAxLjMgMS43IDEuMyAzLjVjMCAyLjYgMCA0LjYgMCA1LjJjMCAwLjUgMC40IDEuMSAxLjMgMC45YzcuNS0yLjYgMTMtOS43IDEzLTE4LjFDNTEgMjEuOSA0Mi41IDEzLjQgMzIgMTMuNHoiLz48L3N2Zz4=);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.site-footer .github-repo
{
display: inline-block;
}
.post-template .site-footer
{
margin-top: 5rem;
}
.wechat-only
{
font-size: 0;
display: block;
width: 0;
height: 0;
}
.home-template #main,
.archive-template #main
{
max-width: 76.8rem;
}
.post-template #main
{
max-width: 76.8rem;
}
.blog-background
{
background-repeat: no-repeat;
background-position: center;
-webkit-background-size: cover;
background-size: cover;
}
.banner-mask:after
{
position: absolute;
z-index: -1;
top: 0;
left: 0;
width: 100%;
height: 100%;
content: '';
transition: background-color 500ms ease-out 2s;
-webkit-animation-name: animate-bg;
-webkit-animation-duration: 20s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
opacity: .25;
background: url('../../assets/images/escheresque_ste.png');
background-color: rgba(0, 0, 0, .05);
}
.arrow_down
{
position: absolute;
bottom: 5rem;
left: 50%;
display: none;
height: 2rem;
}
.arrow_down a
{
position: absolute;
z-index: 4;
left: 50%;
display: block;
width: 2.8rem;
height: 2.8rem;
margin-left: -1.3rem;
-webkit-transform: rotate(315deg);
transform: rotate(315deg);
-webkit-animation-name: shine;
-webkit-animation-duration: 1.5s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
border-bottom: .1rem solid #fff;
border-left: .1rem solid #fff;
}
.home-template #main,
.archive-template #main,
.tag-template #main
{
margin: 2rem auto;
}
#main
{
position: relative;
z-index: 1;
width: 74%;
max-width: 86rem;
margin: 0rem auto;
}
.post-in-list
{
position: relative;
overflow: hidden;
min-height: 10rem;
margin-bottom: 2rem;
-webkit-transform: translate3d(0, 0, 0);
}
.post-in-list a
{
color: #fff;
}
.post-in-list p
{
margin: 0;
}
.post-in-list .post-excerpt img
{
font-size: 0;
display: block;
width: 100%;
height: auto;
min-height: 20rem;
border: 0 none;
}
.post-in-list .post-excerpt img.loading
{
visibility: hidden;
background: #efefef;
}
.post-excerpt
{
display: block;
background: #333;
background: rgba(29, 29, 29, .8);
}
.info-mask
{
position: absolute;
bottom: 0;
display: block;
width: 100%;
background: linear-gradient(transparent, #111);
}
.info-mask .post-meta
{
padding: 0 2rem 1rem 0rem;
}
.post-excerpt-mirror
{
position: relative;
z-index: 100;
}
.post-excerpt-mirror a
{
display: block;
overflow: hidden;
overflow: hidden;
width: 100%;
white-space: nowrap;
text-overflow: ellipsis;
}
.post-excerpt-mirror img
{
font-size: 0;
z-index: 1;
display: block;
width: 100%;
height: auto;
min-height: 20rem;
max-height: 50rem;
-webkit-transform: scaleY(-1);
-moz-transform: scaleY(-1);
-ms-transform: scaleY(-1);
-o-transform: scaleY(-1);
transform: scaleY(-1);
border: 0 none;
}
.post-short-intro
{
font-family: 'Exo', '-apple-system', 'Open Sans', 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
font-size: 1.2rem;
line-height: 1.8rem;
overflow: hidden;
overflow: hidden;
max-height: 3.6rem;
white-space: normal;
text-overflow: ellipsis;
color: #fff;
}
.post-excerpt-mirror-mask
{
position: relative;
z-index: 2;
display: none;
width: 100%;
}
.post-excerpt-mirror-mask:after
{
position: absolute;
z-index: 1;
top: 0;
left: 0;
width: 100%;
height: 100%;
content: '';
opacity: .88;
background: #060505;
}
.post-excerpt-mirror-mask .mask-wrapper
{
position: relative;
z-index: 1024;
}
.post-excerpt-mirror-mask img.loading
{
visibility: hidden;
}
.post-excerpt-mirror-mask img.lazy
{
display: block;
}
.excert-detail-container
{
position: absolute;
z-index: 1024;
top: 1rem;
left: 50%;
width: 90%;
margin-left: -45%;
padding: 1.5rem 0rem;
}
a.btn-post-excerpt
{
font-family: 'Exo';
font-size: 1.4rem;
line-height: 2rem;
display: inline-block;
float: left;
width: auto;
height: 2rem;
margin-top: 3rem;
padding: .5rem 1rem;
text-align: center;
border: 1px solid #fff;
}
.mask-wrapper
{
padding: 0 1.2rem;
}
.post-title
{
font-family: 'Exo', sans-serif;
font-size: 3.6rem;
overflow: hidden;
overflow: hidden;
margin: 1.2rem 0;
white-space: nowrap;
text-overflow: ellipsis;
color: #fff;
}
.post-title a
{
font-family: '-apple-system', 'Open Sans', 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, sans-serif, sans-serif;
line-height: 3.6rem;
}
.post-meta span
{
font-family: 'Exo';
font-size: 1.6rem;
display: inline-block;
color: #fff;
}
.post-tags
{
margin-left: .5rem;
}
.post-tags a
{
font-size: 1.4rem;
line-height: 1.6rem;
display: inline-block;
margin-left: .6rem;
padding: 0rem 1rem;
border-radius: .3rem;
background: rgba(255, 255, 255, .3);
}
.post-tags a:hover
{
background: rgba(255, 255, 255, .2);
}
#footer .svg-wrapper
{
top: 0;
bottom: auto;
}
.decor
{
position: absolute;
z-index: 2;
bottom: -1px;
left: 0;
width: 100%;
height: 100%;
}
#footer .decor
{
top: -1px;
}
.pagination
{
width: 70%;
margin: 0 auto;
margin-top: 2rem;
margin-bottom: 3rem;
text-align: center;
color: #999;
}
.pagination a
{
font-family: 'Exo' '-apple-system', 'Open Sans', 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
font-size: 1.4rem;
line-height: 2.4rem;
display: inline-block;
height: 2.4rem;
padding: .3rem .8rem;
text-align: center;
color: #fff;
border-radius: .3rem;
background: rgba(59, 59, 59, .7);
}
.pagination a:hover
{
background: rgba(0, 0, 0, .5);
}
.page-number
{
font-size: 1.4rem;
display: inline-block;
padding: 0 1rem;
}
.single-post-inner
{
font-family: 'Exo', '-apple-system', 'Open Sans', 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
font-size: 1.8rem;
overflow: hidden;
padding: 0rem 2.8% .8rem;
border-bottom: 1px dashed #e5e5e5;
}
.single-post-inner img
{
display: block;
max-width: 100%;
height: auto;
margin: 0 auto;
text-indent: -9999px;
}
.single-post-inner img.full-img
{
width: 106%;
max-width: none;
margin: 0 -3%;
}
.single-post-inner .loading
{
opacity: .3;
}
.single-post-inner .lazy
{
display: block;
}
.single-post-inner .lazy.full-img
{
visibility: visible;
height: auto;
}
.single-post-inner img[alt='cover']
{
display: none !important;
}
.single-post-inner img[alt='full']
{
width: 106%;
max-width: none;
margin: 0 -3%;
}
.single-post-inner img[src='']
{
display: none;
}
.single-post-inner a
{
font-family: 'Exo', '-apple-system', 'Open Sans', 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
font-size: 1.6rem;
line-height: 2.8rem;
padding: 0 .5rem;
vertical-align: top;
color: #54b5db;
}
.single-post-inner a .iconfont
{
line-height: 2.8rem;
padding-right: .3rem;
vertical-align: baseline;
}
.single-post-inner p
{
font-family: 'Exo', '-apple-system', 'Open Sans', 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
font-size: 1.6rem;
line-height: 2.8rem;
margin-top: 2.2rem;
color: #333;
}
.single-post-inner p.with-img
{
margin: 0;
padding: 0;
-webkit-transition: padding .15s linear;
transition: padding .15s linear;
}
.single-post-inner h1,
.single-post-inner h2,
.single-post-inner h3,
.single-post-inner h4,
.single-post-inner h5,
.single-post-inner h6,
.single-post-inner pre,
.single-post-inner code
{
color: #595959;
}
.single-post-inner h2,
.single-post-inner h3,
.single-post-inner h4,
.single-post-inner h6
{
position: relative;
margin-top: .5rem;
text-indent: 1.2em;
}
.single-post-inner h2:before,
.single-post-inner h3:before,
.single-post-inner h4:before,
.single-post-inner h6:before
{
position: absolute;
left: -1em;
display: block;
content: '#';
color: #f72d84;
}
.single-post-inner ul
{
margin: 1.5rem 0;
}
.single-post-inner li
{
font-size: 1.6rem;
line-height: 2.4rem;
}
.single-post-inner li p
{
margin: .3rem;
}
.single-post-inner blockquote
{
font-size: 1.6rem;
font-style: italic;
line-height: 2.2rem;
padding-left: 1rem;
color: #333;
border-left: 3px solid #efefef;
}
.single-post-inner hr
{
border: 1px solid #efefef;
}
.single-post-inner iframe,
.single-post-inner frame,
.single-post-inner video
{
max-width: 100%;
height: auto;
}
.single-post-inner pre
{
white-space: pre-wrap;
}
.single-post-inner pre code
{
line-height: 2rem;
border: 0 none;
background: none;
}
.tag-box a
{
font-size: 1.4rem;
line-height: 2rem;
display: inline-block;
height: 2rem;
margin-right: .4rem;
padding: .1rem .5rem;
text-align: center;
color: #fff;
border-radius: .2rem;
background: #939ba6;
background: rgba(37, 54, 74, .5);
}
.tag-box a:hover,
.tag-box a:active
{
background: #677081;
background: rgba(37, 54, 74, .7);
}
.tag-box a .iconfont
{
display: none;
}
.money-like
{
padding: 2rem 0 3rem;
}
.money-like .money-notice
{
font-size: 1.2rem;
font-style: italic;
line-height: 1.4rem;
margin: 1rem auto;
text-align: center;
color: #595959;
}
.money-like .reward-button
{
font-size: 2.4rem;
line-height: 4.6rem;
position: relative;
display: block;
width: 4.6rem;
height: 4.6rem;
margin: 0 auto;
margin: 0 auto;
padding: 0;
-webkit-user-select: none;
text-align: center;
vertical-align: middle;
color: #fff;
border: 1px solid #f1b60e;
border-radius: 50%;
background: #fccd60;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fccd60), color-stop(100%, #fbae12), color-stop(100%, #2989d8), color-stop(100%, #207cca));
background: -webkit-linear-gradient(top, #fccd60 0%, #fbae12 100%, #2989d8 100%, #207cca 100%);
background: linear-gradient(to bottom, #fccd60 0%, #fbae12 100%, #2989d8 100%, #207cca 100%);
}
.money-like .money-code
{
position: absolute;
top: -16rem;
left: 50%;
display: none;
width: 22rem;
height: 10rem;
margin-left: -12.2rem;
padding: 1.2rem 1.2rem 3rem;
border: 1px solid #e6e6e6;
background: #fff;
box-shadow: 0 1px 1px 1px #efefef;
}
.money-like .money-code span
{
display: inline-block;
width: 10rem;
height: 12rem;
}
.money-like .money-code span.alipay-code
{
float: left;
}
.money-like .money-code span.alipay-code a
{
padding: 0;
}
.money-like .money-code span.wechat-code
{
float: right;
}
.money-like .money-code img
{
display: inline-block;
float: left;
width: 10rem;
height: 10rem;
margin: 0rem auto;
border: 0 none;
}
.money-like .money-code b
{
font-size: 1.2rem;
line-height: 2.6rem;
display: block;
margin: 0;
text-align: center;
color: #666;
}
.money-like .money-code b.notice
{
line-height: 2rem;
margin-top: -1rem;
color: #999;
}
.money-like .money-code:after,
.money-like .money-code:before
{
position: absolute;
content: '';
border: 10px solid transparent;
}
.money-like .money-code:after
{
bottom: -19px;
left: 50%;
margin-left: -10px;
border-top-color: #fff;
}
.money-like .money-code:before
{
bottom: -20px;
left: 50%;
margin-left: -10px;
border-top-color: #e6e6e6;
}
.qr-code img
{
display: block;
width: 13rem;
height: 13rem;
box-shadow: 0 0 1px #e3e3e3;
}
.qr-code img:hover,
.qr-code img:active
{
background: #e6e6e6;
box-shadow: 0 0 5px #e3e3e3;
}
.qr-code p
{
font-size: 1.2rem;
font-style: italic;
line-height: 1.4rem;
display: block;
margin-top: .6rem;
text-align: center;
color: #999;
}
.nav-header
{
position: relative;
width: 100%;
}
.nav-header-container
{
position: relative;
width: 74%;
max-width: 76.8rem;
height: 2rem;
margin: 0 auto;
}
.header-wrap
{
width: 100%;
}
.home-logo
{
font-family: 'Exo', '-apple-system', 'Open Sans', 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
font-size: 2.2rem;
font-weight: bold;
line-height: 4rem;
position: absolute;
z-index: 99;
top: 2rem;
left: 0;
width: 4rem;
height: 4rem;
text-transform: uppercase;
opacity: .7;
color: #fff;
border-radius: 0;
border-radius: .1rem;
background: #000;
}
.back-home
{
font-size: 1.2rem;
line-height: 2.4rem;
position: absolute;
z-index: 99;
top: 2rem;
left: 0;
padding: .5rem 2.5rem;
text-transform: uppercase;
opacity: .8;
color: #fff;
border: 1px solid #fff;
border-radius: 0;
background: none repeat scroll 0 0 transparent;
}
.back-home:active
{
background: rgba(0, 0, 0, .1);
}
.svg-logo
{
position: absolute;
top: 2rem;
left: 0;
}
#svg-luolei
{
fill: #333;
}
#svg-luolei:hover,
#svg-luolei:active
{
opacity: .4;
fill: #999;
}
.home-info-container
{
margin-top: 16rem;
}
.home-info-container h2,
.home-info-container h4
{
font-family: 'Exo', '-apple-system', 'Open Sans', 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
font-weight: lighter;
color: #fff;
text-shadow: 0 1px 1px #595959;
}
.home-info-container h2:hover,
.home-info-container h4:hover
{
color: #efefef;
text-shadow: 0 1px 1px #000;
}
.home-info-container h2
{
font-size: 4.2rem;
}
.home-info-container h4
{
font-size: 2rem;
letter-spacing: .8rem;
}
.post-info-container
{
width: 74%;
max-width: 76.8rem;
margin: 13rem auto;
}
.post-page-tags
{
display: block;
clear: both;
margin-top: 1rem;
text-align: left;
}
.post-page-tags a
{
font-size: 1.4rem;
line-height: 1.6rem;
display: inline-block;
margin: .3rem .6rem .3rem 0;
padding: 0rem 1rem;
color: #fff;
border-radius: .3rem;
background: rgba(255, 255, 255, .3);
}
.post-page-tags a:first-child
{
margin-left: 0;
}
.post-page-tags a:hover
{
background: rgba(255, 255, 255, .2);
}
.post-page-time
{
font-family: 'Exo', '-apple-system', 'Open Sans', 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
font-size: 1.6rem;
line-height: 2rem;
display: inline-block;
float: left;
height: 2rem;
text-align: left;
color: #efefef;
}
.post-page-author
{
font-family: '-apple-system', 'Open Sans', 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
font-size: 1.4rem;
line-height: 2rem;
display: inline-block;
float: left;
height: 2rem;
margin-left: 2rem;
text-align: left;
color: #fff;
}
.post-page-title
{
font-family: 'Exo' '-apple-system', 'Open Sans', 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
font-size: 4.2rem;
font-weight: lighter;
line-height: 4.8rem;
display: -webkit-box;
overflow: hidden;
min-height: 9.4rem;
margin: 0 auto;
text-align: left;
white-space: normal;
text-overflow: ellipsis;
text-overflow: ellipsis;
color: #fff;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
.share
{
width: 100%;
margin: 2rem auto;
text-align: center;
}
.share h4
{
display: block;
width: 10rem;
margin: 0 auto;
margin-top: 1.5rem;
margin-bottom: 1.5rem;
padding: .5rem 1.6rem;
text-align: center;
letter-spacing: .5rem;
border: 2px solid #595959;
border-radius: .3rem;
background: rgba(255, 255, 255, .1);
}
.share-icons
{
margin: 1.5rem auto 3rem;
text-align: center;
}
.share-icons a
{
font-size: 2rem;
line-height: 2.5rem;
display: inline-block;
}
.share-icons a i
{
font-size: 4.8rem;
margin: 0 1rem;
}
#to-top
{
position: fixed;
z-index: 1000;
right: 20px;
bottom: 20px;
display: none;
overflow: hidden;
width: 48px;
height: 48px;
text-align: left;
text-indent: -9999px;
opacity: .5;
border-radius: 5%;
background: rgba(0, 0, 0, .6);
-khtml-opacity: .5;
filter: alpha(opacity=50);
}
#to-top:hover,
#to-top:active
{
background: rgba(0, 0, 0, .4);
}
.to-top-wrap
{
position: relative;
width: 100%;
height: 100%;
}
.to-top-wrap:after
{
position: absolute;
top: 50%;
left: 50%;
display: block;
width: 0;
height: 0;
margin-top: -11px;
margin-left: -10px;
content: '';
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
-webkit-animation-name: shine;
-webkit-animation-duration: 1.5s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
border-top: 10px solid rgba(255, 255, 255, .5);
border-right: 10px solid transparent;
border-left: 10px solid transparent;
}
.to-top-wrap:before
{
position: absolute;
top: 50%;
left: 50%;
display: block;
width: 0;
height: 0;
margin-top: -12px;
margin-left: -15px;
content: '';
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
-webkit-animation-name: shine;
-webkit-animation-duration: 3s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
border-top: 20px solid rgba(255, 255, 255, .5);
border-right: 15px solid transparent;
border-left: 15px solid transparent;
}
.author
{
font-family: 'Open Sans', sans-serif;
position: relative;
width: 100%;
margin-top: 5rem;
background: #fff;
}
.author-image
{
position: absolute;
z-index: 2;
top: -40px;
left: 50%;
display: block;
overflow: hidden;
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 80px;
height: 80px;
margin-left: -40px;
padding: 6px;
border-radius: 100%;
background: #fff;
box-shadow: #e7eef2 0 0 0 1px;
}
.author-image .img
{
position: relative;
display: block;
width: 100%;
height: 100%;
border-radius: 100%;
background-position: center center;
background-size: cover;
}
.author-detail
{
padding: 6.6rem 1.6rem 1.6rem;
text-align: center;
}
.author-detail a
{
font-size: 1.6rem;
color: #999;
}
.author-detail a:hover
{
color: #666;
}
.author-detail p
{
font-size: 1.4rem;
line-height: 1.75em;
margin: 1rem 0;
color: #333;
}
.author-meta
{
font-size: 1.4rem;
font-style: italic;
line-height: 1;
display: inline-block;
margin: 0;
margin: 0 auto;
padding: 0;
list-style: none;
word-wrap: break-word;
color: #9eabb3;
}
.author-meta span
{
font-family: 'Exo', '-apple-system', 'Open Sans', 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
margin-right: 1rem;
color: #9eabb3;
}
.author-meta span a
{
color: #9eabb3;
}
.cover-image
{
display: none !important;
}
.comment-area
{
padding: 0 1.6rem;
background: #fff;
}
.comment-area h4
{
font-family: '-apple-system', 'Open Sans', 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
font-style: italic;
display: block;
width: 10rem;
margin: 0 auto;
margin-top: 1.5rem;
margin-bottom: 1.5rem;
padding: .5rem 1.6rem;
text-align: center;
letter-spacing: .5rem;
color: #333;
border-radius: .3rem;
background: rgba(255, 255, 255, .1);
}
.comment-area.toggle-up
{
display: block;
-webkit-animation-name: toggle-up;
-webkit-animation-duration: .5s;
-webkit-animation-timing-function: linear;
}
@-webkit-keyframes animate-bg
{
from
{
background-position: 0 0;
}
to
{
background-position: 283px 212px;
}
}
@-webkit-keyframes shine
{
0%
{
opacity: .1;
}
25%
{
opacity: .2;
}
50%
{
opacity: 1;
}
75%
{
opacity: .2;
}
100%
{
opacity: .1;
}
}
@-webkit-keyframes toggle-up
{
0%
{
-webkit-transform: translate3d(0, 100px, 0);
transform: translate3d(0, 100px, 0);
opacity: 0;
}
100%
{
-webkit-transform: none;
transform: none;
opacity: 1;
}
}
/*!
Animate.css - http://daneden.me/animate
Licensed under the MIT license - http://opensource.org/licenses/MIT
Copyright (c) 2014 Daniel Eden
*/
.animated
{
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
.animated.infinite
{
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
}
.animated.hinge
{
-webkit-animation-duration: 2s;
animation-duration: 2s;
}
@-webkit-keyframes fadeInUpBig
{
0%
{
-webkit-transform: translate3d(0, 2000px, 0);
transform: translate3d(0, 2000px, 0);
opacity: 0;
}
100%
{
-webkit-transform: none;
transform: none;
opacity: 1;
}
}
@keyframes fadeInUpBig
{
0%
{
-webkit-transform: translate3d(0, 2000px, 0);
transform: translate3d(0, 2000px, 0);
opacity: 0;
}
100%
{
-webkit-transform: none;
transform: none;
opacity: 1;
}
}
.fadeInUpBig
{
-webkit-animation-name: fadeInUpBig;
animation-name: fadeInUpBig;
}
@-webkit-keyframes fadeOut
{
0%
{
opacity: 1;
}
100%
{
opacity: 0;
}
}
@keyframes fadeOut
{
0%
{
opacity: 1;
}
100%
{
opacity: 0;
}
}
@-webkit-keyframes fadeIn
{
0%
{
opacity: 0;
}
100%
{
opacity: 1;
}
}
@keyframes fadeIn
{
0%
{
opacity: 0;
}
100%
{
opacity: 1;
}
}
.fadeIn
{
-webkit-animation-name: fadeIn;
animation-name: fadeIn;
}
/* ==========================================================================
7. Read More - Next/Prev Post Links
========================================================================== */
.read-next
{
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
max-width: 86rem;
margin: 5rem auto;
margin-top: 5rem;
-webkit-box-align: stretch;
-webkit-align-items: stretch;
-ms-flex-align: stretch;
align-items: stretch;
}
.read-next-story
{
position: relative;
position: relative;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
overflow: hidden;
min-width: 50%;
text-align: center;
text-decoration: none;
color: #fff;
background: #222 no-repeat center center;
background-size: cover;
-webkit-box-flex: 1;
-webkit-flex-grow: 1;
-ms-flex-positive: 1;
flex-grow: 1;
}
.read-next-story:after
{
position: absolute;
z-index: 1;
top: 0;
left: 0;
width: 100%;
height: 100%;
content: '';
opacity: .1;
background: #060505;
}
.read-next-story:hover:before
{
transition: all .2s ease;
background: rgba(0, 0, 0, .5);
}
.read-next-story:hover .post:before
{
transition: all .2s ease;
color: #222;
background: #fff;
}
.read-next-story:before
{
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: block;
content: '';
transition: all .5s ease;
}
.read-next-story .post
{
padding: 4rem 3rem;
background: transparent;
}
.read-next-story h2
{
position: relative;
z-index: 100;
margin-top: 1rem;
color: #fff;
}
.read-next-story p
{
font-size: 1.4rem;
position: relative;
z-index: 100;
margin: 0;
padding: 0 10rem;
color: rgba(255, 255, 255, .8);
}
/* Special styles for posts with no cover images */
.read-next-story.no-cover
{
background: #f5f8fa;
}
.read-next-story.no-cover:before
{
display: none;
}
.read-next-story.no-cover .post:before
{
color: rgba(0, 0, 0, .5);
border-color: rgba(0, 0, 0, .2);
}
.read-next-story.no-cover h2
{
color: rgba(0, 0, 0, .8);
}
.read-next-story.no-cover p
{
color: rgba(0, 0, 0, .5);
}
/* if there are two posts without covers, put a border between them */
.read-next-story.no-cover + .read-next-story.no-cover
{
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border-left: rgba(0, 0, 100, .04) 1px solid;
}
/* 载入iconfont字体 */
.iconfont
{
font-family: 'iconfont' !important;
font-size: 16px;
font-style: normal;
display: inline-block;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
speak: none;
}
.iconfont
{
vertical-align: middle;
}
.iconfont:hover
{
opacity: .6;
color: #363636;
}
.iconfont.undefined
{
display: none !important;
}
.iconfont-self
{
color: red;
}
.iconfont-weibo
{
color: #e6162d;
}
.iconfont-twitter
{
color: #2aa9e0;
}
.iconfont-facebook
{
color: #204385;
}
.iconfont-google
{
color: #176dee;
}
.iconfont-wikipedia
{
color: #626262;
}
.iconfont-weixin
{
color: #75d140;
}
.iconfont-qzone
{
color: #186cc6;
}
.iconfont-github
{
color: #333;
}
.iconfont-douban
{
color: #279337;
}
.iconfont-luolei
{
color: #6596c1;
}
.iconfont-dribble
{
color: #f72d84;
}
.iconfont-zhihu
{
color: #0767c8;
}
.iconfont-instagram
{
color: #9b6954;
}
.iconfont-v2ex
{
color: #1a1a1b;
}
.icon-weibo-pure
{
color: #e6162d;
}
.icon-twitter-pure
{
color: #2aa9e0;
}
.icon-github-pure
{
color: #333;
}
.icon-dribble-pure
{
color: #f72d84;
}
.icon-weixin-pure
{
color: #75d140;
}
.iconfont-jianshu
{
color: #e78170;
}
.iconfont-youku
{
color: #06a7e1;
}
.iconfont-youtube
{
color: #e52413;
}
/* 自定义IconFont CSS 才用:before的形式 */
.single-post-inner .iconfont-local:before
{
content: '\0f00ac';
}
.single-post-inner .iconfont-twitter:before
{
content: '\00e604';
}
.single-post-inner .iconfont-wechat:before
{
content: '\00e606';
}
.single-post-inner .iconfont-weibo:before
{
content: '\00e607';
}
.single-post-inner .iconfont-facebook:before
{
content: '\00e601';
}
.single-post-inner .iconfont-google:before
{
content: '\00e602';
}
.single-post-inner .iconfont-github:before
{
content: '\00e60d';
}
.single-post-inner .iconfont-douban:before
{
content: '\0e600';
}
.single-post-inner .iconfont-luolei:before
{
content: '\0';
}
.single-post-inner .iconfont-v2ex:before
{
content: '\00e605';
}
.single-post-inner .iconfont-zhihu:before
{
content: '\00e609';
}
.single-post-inner .iconfont-wikipedia:before
{
content: '\00e608';
}
.single-post-inner .iconfont-jianshu:before
{
content: '\00e60b';
}
.single-post-inner .iconfont-youku:before
{
content: '\00e60c';
}
.single-post-inner .iconfont-youtube:before
{
content: '\00e60a';
}
.single-post-inner .iconfont-luolei:before
{
content: '\00e60e';
}
.yasuko-only #ds-reset .ds-avatar img
{
width: 54px;
height: 54px;
-webkit-transition: .3s;
-webkit-transition: -webkit-transform .4s ease-out;
transition: transform .4s ease-out;
border-radius: 50%;
box-shadow: 0;
}
.yasuko-only #ds-reset .ds-avatar img:hover
{
-webkit-transform: rotateZ(360deg);
transform: rotateZ(360deg);
-webkit-box-shadow: 0 0 10px #fff;
box-shadow: 0 0 10px #fff;
}
.yasuko-only #ds-thread #ds-reset .ds-textarea-wrapper
{
border: 1px solid #efefef;
border-bottom: 0;
background: #fff;
}
.yasuko-only #ds-reset .ds-rounded-top
{
border-radius: 0;
}
.yasuko-only #ds-reset .ds-gradient-bg
{
background: #fff;
}
.yasuko-only #ds-thread #ds-reset .ds-post-options
{
position: relative;
height: 30px;
margin-right: 100px;
border: 1px solid #efefef;
border-right: none;
}
.yasuko-only #ds-thread #ds-reset .ds-post-button
{
color: #fff;
border: 0 none;
border-radius: 0;
background: #00bcd4;
}
.yasuko-only #ds-thread #ds-reset .ds-post-button:hover
{
color: #fff;
background: #04aac2;
}
.yasuko-only #ds-thread #ds-reset .ds-post-toolbar
{
box-shadow: 0;
}
.yasuko-only #ds-thread #ds-reset li.ds-tab a.ds-current
{
border: 0;
background-color: rgba(0, 0, 0, .06);
}
.yasuko-only #ds-reset .ds-rounded-top
{
border-radius: 0;
}
.yasuko-only #ds-thread #ds-reset .ds-post-button
{
text-shadow: none;
}
.yasuko-only #ds-wrapper #ds-reset .ds-dialog-inner
{
background: #fff;
box-shadow: 0;
text-shadow: 0;
}
@media only screen and (min-width: 1024px)
{
#main
{
width: 100%;
}
}
@media only screen and (max-width: 768px)
{
#main
{
width: 100%;
margin: 2rem auto;
}
.post-template .site-footer
{
margin-top: 3rem;
}
.home-template .site-footer
{
margin-top: 3rem;
}
.arrow_down
{
display: block;
}
.back-home
{
top: .5rem;
left: 0;
}
#header
{
max-height: 100%;
}
.home-info-container
{
max-width: 80%;
margin: 16rem auto;
}
.read-next-story .post
{
padding: 6rem 3rem;
}
.read-next
{
flex-direction: column;
margin-top: 4rem;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
}
.read-next-story h2
{
font-size: 2.4rem;
line-height: 3.2rem;
display: -webkit-box;
overflow: hidden;
white-space: normal;
text-overflow: ellipsis;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.read-next p
{
padding: 0 1rem;
}
.read-next-story.no-cover + .read-next-story.no-cover
{
border-top: rgba(0, 0, 100, .06) 1px solid;
border-left: none;
}
.wechat-webview .qr-code
{
display: none;
}
.wechat-webview .money-like
{
padding: 3rem 0;
}
.wechat-webview .money-code
{
top: -19rem;
width: 14rem;
height: 13rem;
margin-left: -8.2rem;
}
.wechat-webview .money-code span
{
width: auto;
height: auto;
}
.wechat-webview .money-code span.wechat-code
{
float: none;
}
.wechat-webview .money-code img
{
display: block;
width: 13.5rem;
height: 13.5rem;
}
.wechat-webview .money-code b
{
font-size: 1.2rem;
}
.wechat-webview .alipay-code
{
display: none !important;
}
}
@media only screen and (max-width: 481px)
{
#header
{
height: 60%;
max-height: 100%;
}
.home-template #main
{
margin: 0rem auto;
}
.home-template #header
{
height: 60%;
}
.archive-template #main
{
margin: 0 auto;
}
.post-info-container
{
width: 84%;
margin: 3rem auto 2rem;
padding: 2rem 0;
}
.header-wrap
{
width: 94%;
margin: 0 auto;
}
.post-in-list
{
margin-bottom: 0rem;
}
.info-mask
{
height: 6rem;
}
.post-title
{
line-height: 2.2rem;
margin: .2rem 0;
}
.mask-wrapper
{
margin-top: .5rem;
}
#main
{
width: 100%;
margin: 0rem auto;
}
.post-page-title
{
font-size: 2.4rem;
line-height: 2.8rem;
min-height: 4.8rem;
margin-bottom: 1rem;
}
.author-detail
{
padding: 6rem 1.6rem 1.6rem;
}
.post-excerpt-mirror-mask
{
display: block;
}
.post-excerpt p
{
display: block;
overflow: hidden;
}
.post-excerpt-mirror p
{
display: block;
overflow: hidden;
height: 20rem;
}
.post-excerpt-mirror a
{
font-family: '-apple-system', 'Open Sans', 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
font-size: 2rem;
}
.post-excerpt-mirror a.btn-post-excerpt
{
font-size: 1.4rem;
line-height: 1.8rem;
margin-top: 1.5rem;
}
.post-excerpt-mirror .post-short-intro
{
font-family: 'HelveticaNeue-UltraLight', 'Helvetica Neue UltraLight';
font-size: 1.4rem;
line-height: 2rem;
max-height: 4rem;
}
.excert-detail-container
{
width: 80%;
max-width: 80%;
margin-left: -40%;
}
.home-info-container
{
margin-top: 6rem;
}
.home-info-container h2,
.home-info-container h4
{
font-weight: lighter;
color: #fff;
text-shadow: 0 1px 1px #595959;
}
.home-info-container h2:hover,
.home-info-container h4:hover
{
text-shadow: 0 1px 1px #333;
}
.home-info-container h2
{
font-size: 3.2rem;
}
.home-info-container h4
{
font-size: 1.4rem;
letter-spacing: .5rem;
}
.back-home
{
top: .2rem;
}
.arrow_down
{
bottom: 3rem;
}
.pagination
{
width: 90%;
}
.pagination a
{
font-size: 1rem;
}
.archive-template #main,
.tag-template #main
{
margin: 0 auto;
}
.archive-template #header,
.tag-template #header
{
height: 45%;
}
.archive-template .home-info-container,
.tag-template .home-info-container
{
margin-top: 10rem;
}
.archive-template .home-info-container h2,
.tag-template .home-info-container h2
{
font-size: 3.2rem;
}
.archive-template .home-info-container h4,
.tag-template .home-info-container h4
{
font-size: 1.8rem;
}
.tag-template .home-info-container h4
{
-webkit-animation-name: shine;
-webkit-animation-duration: 3.5s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
}
.info-mask
{
display: none;
}
.post-meta span.post-tags
{
display: none;
}
.post-meta span.post-tags a
{
width: auto;
margin-left: 0;
}
.site-footer
{
margin-top: 3rem;
}
.home-logo,
.svg-logo
{
top: 0rem;
opacity: .8;
}
.share-icons a i
{
font-size: 4.2rem;
margin: 0 .8rem;
}
.tag-box a
{
font-size: 1.2rem;
line-height: 1.8rem;
height: 1.8rem;
margin-right: .4rem;
padding: 0rem .3rem;
text-align: center;
color: #fff;
border-radius: .2rem;
background: rgba(37, 54, 74, .5);
}
.nav-header-container
{
width: 80%;
}
.read-next
{
margin: 5rem auto 2rem;
}
.read-next-story .post
{
padding: 5rem 3rem;
background: transparent;
}
}
@media only screen and (max-width: 361px)
{
.site-footer
{
font-size: 1.2rem;
margin-top: 3rem;
}
#main
{
width: 100%;
margin: 2rem auto;
}
.nav-header-container
{
width: 80%;
}
.back-home
{
top: .5rem;
left: 0;
}
}
| {
"pile_set_name": "Github"
} |
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// <regex>
// class regex_iterator<BidirectionalIterator, charT, traits>
// regex_token_iterator(BidirectionalIterator a, BidirectionalIterator b,
// const regex_type&& re,
// initializer_list<int> submatches,
// regex_constants::match_flag_type m =
// regex_constants::match_default);
#if __cplusplus <= 201402L
#error
#else
#include <regex>
#include <cassert>
int main()
{
{
std::regex phone_numbers("\\d{3}-(\\d{4})");
const char phone_book[] = "start 555-1234, 555-2345, 555-3456 end";
std::cregex_token_iterator i(std::begin(phone_book), std::end(phone_book)-1,
std::regex("\\d{3}-\\d{4}"), {-1, 0, 1});
}
}
#endif
| {
"pile_set_name": "Github"
} |
version https://git-lfs.github.com/spec/v1
oid sha256:1ce232f611de8b6faf193a2f9e8afa9d95ace527306e351a08ce7a3e7a8330c7
size 6307
| {
"pile_set_name": "Github"
} |
/*
MIT License
Copyright(c) 2019 megai2
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files(the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions :
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
#include "stdafx.h"
template<class QueItemType, class ProcImpl>
d912pxy_async_upload_thread<QueItemType, ProcImpl>::d912pxy_async_upload_thread() : d912pxy_noncom(), d912pxy_thread()
{
}
template<class QueItemType, class ProcImpl>
d912pxy_async_upload_thread<QueItemType, ProcImpl>::~d912pxy_async_upload_thread()
{
}
template<class QueItemType, class ProcImpl>
void d912pxy_async_upload_thread<QueItemType, ProcImpl>::Init(UINT queueSize, UINT syncId, UINT throttleFactor, const wchar_t* objN, const char* thrdName)
{
NonCom_Init(objN);
InitThread(thrdName, 1);
ulMem = NULL;
buffer = new d912pxy_ringbuffer<QueItemType>(queueSize, 2);
threadSyncId = syncId;
uploadCount = 0;
uploadTrigger = throttleFactor;
finishList = new d912pxy_ringbuffer<void*>(64, 2);
d912pxy_s.dev.AddActiveThreads(1);
}
template<class QueItemType, class ProcImpl>
void d912pxy_async_upload_thread<QueItemType, ProcImpl>::UnInit()
{
Stop();
delete buffer;
delete finishList;
d912pxy_noncom::UnInit();
}
template<class QueItemType, class ProcImpl>
void d912pxy_async_upload_thread<QueItemType, ProcImpl>::QueueItem(QueItemType it)
{
writeLock.Hold();
buffer->WriteElement(it);
writeLock.Release();
++uploadCount;
if ((uploadCount % uploadTrigger) == 0)
SignalWork();
}
template<class QueItemType, class ProcImpl>
void d912pxy_async_upload_thread<QueItemType, ProcImpl>::ThreadJob()
{
while (buffer->HaveElements())
{
QueItemType it = buffer->PopElementMTG();
static_cast<ProcImpl>(this)->UploadItem(&it);
}
CheckInterrupt();
}
template<class QueItemType, class ProcImpl>
void d912pxy_async_upload_thread<QueItemType, ProcImpl>::ThreadInitProc()
{
d912pxy_s.dev.InitLockThread(threadSyncId);
static_cast<ProcImpl>(this)->ThreadWake();
}
template<class QueItemType, class ProcImpl>
void d912pxy_async_upload_thread<QueItemType, ProcImpl>::AddToFinishList(void * ptr)
{
finishList->WriteElement(ptr);
}
template<class QueItemType, class ProcImpl>
UINT32 d912pxy_async_upload_thread<QueItemType, ProcImpl>::ItemsOnQueue()
{
return buffer->TotalElements();
}
template<class QueItemType, class ProcImpl>
d912pxy_upload_item * d912pxy_async_upload_thread<QueItemType, ProcImpl>::GetUploadMem(UINT32 size)
{
if (!ulMem)
{
ulMem = d912pxy_s.pool.upload.GetUploadObject(size * 2);
#ifdef ENABLE_METRICS
ulMemFootprintAligned += ulMem->GetSize();
#endif
} else if (!ulMem->HaveFreeSpace(size))
{
ulMem->Release();
ulMem = d912pxy_s.pool.upload.GetUploadObject((UINT)max(size, ulMem->GetSize() * 2));
#ifdef ENABLE_METRICS
ulMemFootprintAligned += ulMem->GetSize();
#endif
}
#ifdef ENABLE_METRICS
ulMemFootprint += size;
#endif
return ulMem;
}
template<class QueItemType, class ProcImpl>
UINT32 d912pxy_async_upload_thread<QueItemType, ProcImpl>::GetMemFootprintMB()
{
return (UINT32)(ulMemFootprint >> 20);
}
template<class QueItemType, class ProcImpl>
UINT32 d912pxy_async_upload_thread<QueItemType, ProcImpl>::GetMemFootprintAlignedMB()
{
return (UINT32)(ulMemFootprintAligned >> 20);
}
template<class QueItemType, class ProcImpl>
void d912pxy_async_upload_thread<QueItemType, ProcImpl>::CheckInterrupt()
{
if (d912pxy_s.dev.InterruptThreads())
{
static_cast<ProcImpl>(this)->OnThreadInterrupt();
if (ulMem)
{
ulMem->Release();
ulMem = NULL;
}
d912pxy_s.dev.LockThread(threadSyncId);
#ifdef ENABLE_METRICS
ulMemFootprint = 0;
ulMemFootprintAligned = 0;
#endif
static_cast<ProcImpl>(this)->ThreadWake();
}
}
template class d912pxy_async_upload_thread<d912pxy_texture_load_item, d912pxy_texture_loader*>;
template class d912pxy_async_upload_thread<d912pxy_vstream_lock_data, d912pxy_buffer_loader*>;
| {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" version="XHTML+RDFa 1.0" dir="ltr"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/terms/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:og="http://ogp.me/ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:sioc="http://rdfs.org/sioc/ns#"
xmlns:sioct="http://rdfs.org/sioc/types#"
xmlns:skos="http://www.w3.org/2004/02/skos/core#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta property="og:description" content="Gun control advocates are looking for new options, including some tech strategies. On Wednesday, seven measures failed in the U.S. Senate, including an amendment that would have expanded background checks. Some gun control advocates are now looking in new directions. So-called 'smart guns' are firearms that only authorized users can fire. But so far, there's not a single one on the market in the U.S." />
<meta property="og:image" content="http://www.marketplace.org/sites/default/files/styles/story-block-image-140x94/public/gun1.JPG" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Marketplace Tech for Friday, April 19, 2013" />
<link rel="shortcut icon" href="http://www.marketplace.org/sites/default/themes/sitetheme/favicon.ico" type="image/vnd.microsoft.icon" />
<meta property="og:url" content="http://www.marketplace.org/shows/marketplace-tech-report/marketplace-tech-friday-april-19-2013" />
<meta property="og:site_name" content="Marketplace.org" />
<meta name="description" content="Gun control advocates are looking for new options, including some tech strategies. On Wednesday, seven measures failed in the U.S. Senate, including an amendment that would have expanded background checks. Some gun control advocates are now looking in new directions. So-called 'smart guns' are firearms that only authorized users can fire. But so far, there's not a single one on the market in the U.S." />
<meta name="Show" content="Marketplace Tech Report" />
<link rel="canonical" href="/shows/marketplace-tech-report/marketplace-tech-friday-april-19-2013" />
<meta name="generator" content="Drupal 7 (http://drupal.org)" />
<link rel="shortlink" href="/node/88116" />
<meta content="Marketplace Tech for Friday, April 19, 2013" about="/shows/marketplace-tech-report/marketplace-tech-friday-april-19-2013" property="dc:title" />
<meta name="Show" content="Marketplace Tech Report" />
<meta about="/shows/marketplace-tech-report/marketplace-tech-friday-april-19-2013" property="sioc:num_replies" content="0" datatype="xsd:integer" />
<meta name="type" content="Episode" />
<title>Marketplace Tech for Friday, April 19, 2013 | Marketplace.org</title>
<link type="text/css" rel="stylesheet" href="http://www.marketplace.org/sites/default/files/css/css_fDJvnR78P5lIyNdsVD9HuNFeL_90WLDcVOATKe4yoSQ.css" media="all" />
<link type="text/css" rel="stylesheet" href="http://www.marketplace.org/sites/default/files/css/css_jbIXjr8dSVCuK8z4xfugzE1YnEPug3rn88EOthgcfDg.css" media="all" />
<style type="text/css" media="all">
<!--/*--><![CDATA[/*><!--*/
#page #header .section{background:url("http://www.marketplace.org/sites/default/files/mkp_TechReport_4.png") no-repeat left bottom;}
/*]]>*/-->
</style>
<link type="text/css" rel="stylesheet" href="http://www.marketplace.org/sites/default/files/css/css_wTdZhBi4eOAp2BJi8BcfhBx_WxfBXY9DA430-nF8PCs.css" media="all" />
<link type="text/css" rel="stylesheet" href="http://www.marketplace.org/sites/default/files/css/css_of7FTTFMmddZFVS6IjUGYlitrvVDOGEVGEOYvsPVBGg.css" media="all" />
<!--[if IE]>
<link type="text/css" rel="stylesheet" href="http://www.marketplace.org/sites/default/files/css/css_QRUgpJq0bo8-r5tS0t73JkfsnYq2jylkUc0I05wust8.css" media="all" />
<![endif]-->
<!--[if lte IE 8]>
<link type="text/css" rel="stylesheet" href="http://www.marketplace.org/sites/default/files/css/css_6j392h5OxaC2CHb1MLp03lNyM5lWrPuPSR8zuD6M-tI.css" media="all" />
<![endif]-->
<!--[if lte IE 7]>
<link type="text/css" rel="stylesheet" href="http://www.marketplace.org/sites/default/files/css/css_ZivhO9kFYfz_UWKIzE0u478RYYUn5VRUU1IMYt0fYNo.css" media="all" />
<![endif]-->
<!--[if lte IE 6]>
<link type="text/css" rel="stylesheet" href="http://www.marketplace.org/sites/default/files/css/css_30Txa7KLyQHdXH9EN_FxEjA2eiN0o_9wGH9GFBL4uBc.css" media="all" />
<![endif]-->
<script type="text/javascript" src="http://www.marketplace.org/misc/jquery.js?v=1.4.4"></script>
<script type="text/javascript" src="http://www.marketplace.org/misc/jquery.once.js?v=1.2"></script>
<script type="text/javascript" src="http://www.marketplace.org/misc/ui/jquery.ui.core.min.js?v=1.8.7"></script>
<script type="text/javascript" src="http://www.marketplace.org/misc/ui/jquery.ui.widget.min.js?v=1.8.7"></script>
<script type="text/javascript" src="http://www.marketplace.org/misc/drupal.js?mlok0l"></script>
<script type="text/javascript" src="http://www.marketplace.org/misc/ui/jquery.ui.tabs.min.js?v=1.8.7"></script>
<script type="text/javascript" src="http://www.marketplace.org/misc/jquery.cookie.js?v=1.0"></script>
<script type="text/javascript" src="http://www.marketplace.org/misc/jquery.form.js?v=2.52"></script>
<script type="text/javascript" src="http://www.marketplace.org/misc/ajax.js?v=7.17"></script>
<script type="text/javascript" src="http://www.marketplace.org/sites/default/modules/custom/js/audiopop.js?mlok0l"></script>
<script type="text/javascript" src="http://www.marketplace.org/sites/default/modules/panels/js/panels.js?mlok0l"></script>
<script type="text/javascript" src="http://www.marketplace.org/sites/default/modules/views_slideshow/js/views_slideshow.js?mlok0l"></script>
<script type="text/javascript" src="http://www.marketplace.org/sites/default/libraries/jquery.cycle/jquery.cycle.all.min.js?mlok0l"></script>
<script type="text/javascript" src="http://www.marketplace.org/sites/default/modules/views_slideshow/contrib/views_slideshow_cycle/js/views_slideshow_cycle.js?mlok0l"></script>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js#appId=184579838262781&xfbml=1"></script>
<script type="text/javascript" src="http://www.marketplace.org/sites/default/modules/custom/js/fb.js?mlok0l"></script>
<script type="text/javascript" src="http://www.marketplace.org/sites/default/modules/apm_audio/js/apm_audio.js?mlok0l"></script>
<script type="text/javascript" src="http://www.marketplace.org/sites/default/modules/custom/js/custom.js?mlok0l"></script>
<script type="text/javascript" src="http://www.marketplace.org/sites/default/modules/apm_audio/js/jwplayer.js?mlok0l"></script>
<script type="text/javascript" src="http://www.marketplace.org/sites/default/modules/field_group/field_group.js?mlok0l"></script>
<script type="text/javascript" src="http://www.marketplace.org/sites/default/modules/views/js/base.js?mlok0l"></script>
<script type="text/javascript" src="http://www.marketplace.org/misc/progress.js?v=7.17"></script>
<script type="text/javascript" src="http://www.marketplace.org/sites/default/modules/views/js/ajax_view.js?mlok0l"></script>
<script type="text/javascript" src="http://www.marketplace.org/sites/all/modules/contrib/google_analytics/googleanalytics.js?mlok0l"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
var _gaq = _gaq || [];_gaq.push(["_setAccount", "UA-486789-1"]);_gaq.push(["_setDomainName", "none"]);_gaq.push(["_setAllowLinker", true]);_gaq.push(["_trackPageview"]);(function() {var ga = document.createElement("script");ga.type = "text/javascript";ga.async = true;ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";var s = document.getElementsByTagName("script")[0];s.parentNode.insertBefore(ga, s);})();
//--><!]]>
</script>
<script type="text/javascript" src="http://www.marketplace.org/sites/default/themes/sitetheme/js/modernizr.custom.js?mlok0l"></script>
<script type="text/javascript" src="http://www.marketplace.org/sites/default/themes/sitetheme/js/script.js?mlok0l"></script>
<script type="text/javascript" src="/sites/default/themes/sitetheme/js/tabbed-panel-panes.js"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, {"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"sitetheme","theme_token":"MXohhJ2SvdXEebYUCcqK1jHdlw7BVF1wVQnscBh1oyo","js":{"0":1,"1":1,"2":1,"\/sites\/marketplace.org\/themes\/sitetheme\/js\/wtJWPlayerV2.js":1,"misc\/jquery.js":1,"misc\/jquery.once.js":1,"misc\/ui\/jquery.ui.core.min.js":1,"misc\/ui\/jquery.ui.widget.min.js":1,"misc\/drupal.js":1,"misc\/ui\/jquery.ui.tabs.min.js":1,"misc\/jquery.cookie.js":1,"misc\/jquery.form.js":1,"misc\/ajax.js":1,"sites\/default\/modules\/custom\/js\/audiopop.js":1,"sites\/default\/modules\/panels\/js\/panels.js":1,"sites\/default\/modules\/views_slideshow\/js\/views_slideshow.js":1,"sites\/default\/libraries\/jquery.cycle\/jquery.cycle.all.min.js":1,"sites\/default\/modules\/views_slideshow\/contrib\/views_slideshow_cycle\/js\/views_slideshow_cycle.js":1,"https:\/\/apis.google.com\/js\/plusone.js":1,"http:\/\/platform.twitter.com\/widgets.js":1,"http:\/\/connect.facebook.net\/en_US\/all.js#appId=184579838262781\u0026xfbml=1":1,"sites\/default\/modules\/custom\/js\/fb.js":1,"sites\/default\/modules\/apm_audio\/js\/apm_audio.js":1,"sites\/default\/modules\/custom\/js\/custom.js":1,"sites\/default\/modules\/apm_audio\/js\/jwplayer.js":1,"sites\/default\/modules\/field_group\/field_group.js":1,"sites\/default\/modules\/views\/js\/base.js":1,"misc\/progress.js":1,"sites\/default\/modules\/views\/js\/ajax_view.js":1,"version":1,"sites\/all\/modules\/contrib\/google_analytics\/googleanalytics.js":1,"3":1,"sites\/default\/themes\/sitetheme\/js\/modernizr.custom.js":1,"sites\/default\/themes\/sitetheme\/js\/script.js":1,"\/sites\/default\/themes\/sitetheme\/js\/tabbed-panel-panes.js":1},"css":{"misc\/ui\/jquery.ui.core.css":1,"misc\/ui\/jquery.ui.theme.css":1,"misc\/ui\/jquery.ui.tabs.css":1,"sites\/default\/modules\/custom\/css\/wysiwyg.css":1,"sites\/default\/modules\/custom\/css\/editor.css":1,"modules\/system\/system.base.css":1,"modules\/system\/system.menus.css":1,"modules\/system\/system.messages.css":1,"modules\/system\/system.theme.css":1,"modules\/comment\/comment.css":1,"sites\/all\/modules\/contrib\/date\/date_api\/date.css":1,"sites\/all\/modules\/contrib\/date\/date_popup\/themes\/datepicker.1.7.css":1,"sites\/all\/modules\/contrib\/date\/date_repeat_field\/date_repeat_field.css":1,"modules\/field\/theme\/field.css":1,"sites\/all\/modules\/contrib\/mollom\/mollom.css":1,"modules\/node\/node.css":1,"modules\/search\/search.css":1,"modules\/user\/user.css":1,"sites\/default\/modules\/calendar\/css\/calendar_multiday.css":1,"sites\/default\/modules\/views\/css\/views.css":1,"0":1,"sites\/default\/modules\/amazon\/amazon.css":1,"sites\/default\/modules\/ctools\/css\/ctools.css":1,"sites\/default\/modules\/panels\/css\/panels.css":1,"sites\/default\/modules\/views_slideshow\/views_slideshow.css":1,"sites\/default\/modules\/views_slideshow\/contrib\/views_slideshow_cycle\/views_slideshow_cycle.css":1,"sites\/default\/modules\/wysiwyg_linebreaks\/wysiwyg_linebreaks.css":1,"sites\/default\/modules\/panels\/plugins\/layouts\/twocol\/twocol.css":1,"sites\/default\/modules\/print\/css\/printlinks.css":1,"sites\/default\/modules\/field_group\/field_group.css":1,"sites\/all\/modules\/contrib\/date\/date_views\/css\/date_views.css":1,"sites\/default\/modules\/panels\/plugins\/layouts\/twocol_stacked\/twocol_stacked.css":1,"sites\/default\/modules\/panels\/plugins\/layouts\/onecol\/onecol.css":1,"sites\/default\/themes\/sitetheme\/css\/html-reset.css":1,"sites\/default\/themes\/sitetheme\/css\/layout-fixed.css":1,"sites\/default\/themes\/sitetheme\/css\/panel-layouts.css":1,"sites\/default\/themes\/sitetheme\/css\/page-backgrounds.css":1,"sites\/default\/themes\/sitetheme\/css\/tabs.css":1,"sites\/default\/themes\/sitetheme\/css\/pages.css":1,"sites\/default\/themes\/sitetheme\/css\/blocks.css":1,"sites\/default\/themes\/sitetheme\/css\/calendar_multiday.css":1,"sites\/default\/themes\/sitetheme\/css\/panel-panes.css":1,"sites\/default\/themes\/sitetheme\/css\/navigation.css":1,"sites\/default\/themes\/sitetheme\/css\/views-styles.css":1,"sites\/default\/themes\/sitetheme\/css\/nodes.css":1,"sites\/default\/themes\/sitetheme\/css\/comments.css":1,"sites\/default\/themes\/sitetheme\/css\/forms.css":1,"sites\/default\/themes\/sitetheme\/css\/fields.css":1,"sites\/default\/themes\/sitetheme\/css\/quicktabs.css":1,"sites\/default\/themes\/sitetheme\/css\/slideshows.css":1,"sites\/default\/themes\/sitetheme\/css\/colors.css":1,"sites\/default\/themes\/sitetheme\/css\/print.css":1,"sites\/default\/themes\/sitetheme\/css\/footer.css":1,"sites\/default\/themes\/sitetheme\/css\/ie.css":1,"sites\/default\/themes\/sitetheme\/css\/ie8.css":1,"sites\/default\/themes\/sitetheme\/css\/ie7.css":1,"sites\/default\/themes\/sitetheme\/css\/ie6.css":1}},"jcarousel":{"ajaxPath":"\/jcarousel\/ajax\/views"},"apm":{"node":{"nid-88116":{"playlist":[{"streamer":"rtmp:\/\/archivemedia.publicradio.org\/music\/","file":"mp3:ondemand\/underwriting\/ads\/flash_preroll_audio","preroll":"preroll","title":"Marketplace Tech for Friday, April 19, 2013","popOutUrl":"http:\/\/www.marketplace.org\/node\/88116\/player\/popout"},{"streamer":"rtmp:\/\/archivemedia.publicradio.org\/music\/","file":"mp3:ondemand\/marketplace\/morning_report\/2013\/04\/19\/marketplace_morning_report0450_20130419_64.mp3","title":"Marketplace Tech for Friday, April 19, 2013","popOutUrl":"http:\/\/www.marketplace.org\/node\/88116\/player\/popout","nid":"88116"}]},"nid-88046":{"playlist":[{"streamer":"rtmp:\/\/archivemedia.publicradio.org\/music\/","file":"mp3:ondemand\/underwriting\/ads\/flash_preroll_audio","preroll":"preroll","title":"Are \u0027smart guns\u0027 ready for market?","popOutUrl":"http:\/\/www.marketplace.org\/node\/88046\/player\/popout"},{"streamer":"rtmp:\/\/archivemedia.publicradio.org\/music\/","file":"mp3:ondemand\/marketplace\/segments\/2013\/04\/19\/marketplace_segment04_20130419_64.mp3","title":"Are \u0027smart guns\u0027 ready for market?","popOutUrl":"http:\/\/www.marketplace.org\/node\/88046\/player\/popout","nid":"88046"}]},"nid-88091":{"playlist":[{"streamer":"rtmp:\/\/archivemedia.publicradio.org\/music\/","file":"mp3:ondemand\/underwriting\/ads\/flash_preroll_audio","preroll":"preroll","title":"Everything you need to know about CISPA","popOutUrl":"http:\/\/www.marketplace.org\/node\/88091\/player\/popout"},{"streamer":"rtmp:\/\/archivemedia.publicradio.org\/music\/","file":"mp3:ondemand\/marketplace\/segments\/2013\/04\/19\/marketplace_segment03_20130419_64.mp3","title":"Everything you need to know about CISPA","popOutUrl":"http:\/\/www.marketplace.org\/node\/88091\/player\/popout","nid":"88091"}]}},"player":{"storyplayer":{"nodes":["88116","88046","88091"],"config":{"height":"24","controlbar":"bottom","width":610,"flashplayer":"http:\/\/www.marketplace.org\/sites\/default\/modules\/apm_audio\/player.swf","repeat":"list"},"callbacks":["customPlayerLoadInitialPlaylist","","customPlayerLoadInitialPlaylist","","customPlayerLoadInitialPlaylist",""]}}},"views":{"ajax_path":"\/views\/ajax","ajaxViews":{"views_dom_id:66bbdd285d801e524658e84f1f935916":{"view_name":"episode_archive","view_display_id":"calendar_block_1","view_args":"55\/2013-04","view_path":"node\/88116","view_base_path":null,"view_dom_id":"66bbdd285d801e524658e84f1f935916","pager_element":0}}},"googleanalytics":{"trackOutbound":1,"trackMailto":1,"trackDownload":1,"trackDownloadExtensions":"7z|aac|arc|arj|asf|asx|avi|bin|csv|doc|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls|xml|z|zip","trackDomainMode":"2","trackCrossDomains":"marketplace.org"}});
//--><!]]>
</script>
<!-- IB Ad SETUP -->
<script type="text/javascript" src="http://images.ibsys.com/_public/adroot/assets/APM/apm_script.js"></script>
<!-- IB SETUP end -->
</head>
<body class="html not-front not-logged-in no-sidebars page-node page-node- page-node-88116 node-type-episode custom-color-shows section-shows" >
<div id="skip-link">
<a href="#main-menu" class="element-invisible element-focusable">Jump to Navigation</a>
</div>
<div id="page-wrapper"><div id="page">
<div class="region region-navigation-show">
<div id="block-panels-mini-show-navigation-header" class="block block-panels-mini first last odd">
<div class="content">
<div class="panel-display panel-1col clearfix" id="mini-panel-show_navigation_header">
<div class="panel-panel panel-col">
<div> <div class="panel-pane pane-views pane-show-navigation-3" >
<div class="pane-content">
<div class="view view-show-navigation-3 view-id-show_navigation_3 view-display-id-block view-dom-id-1122086c68e28c22a5831fe16c26e3ac">
<div class="view-content">
<div class="views-row views-row-1 views-row-odd views-row-first">
<div> <div class="views-field-title views-field"><a href="/shows/marketplace">Marketplace</a></div> </div>
<div class="views-field views-field-view"> <span class="field-content"> <div class="view view-show-navigation-3 view-id-show_navigation_3 view-display-id-panel_pane_1 view-dom-id-13feffcce19fc40ef77f10031038efd2">
<div class="view-content">
<div class="views-row views-row-1 views-row-odd views-row-first views-row-last">
<span class="views-field views-field-view-node alpha-abhishek"> <span class="field-content"><a href="/shows/marketplace/marketplace-monday-april-22-2013">Latest</a></span> </span>
<span class="views-field views-field-nid beta-abhishek"> <span class="field-content"><a href="/" class="popout-player active" play="/node/88396/player/popout">Listen</a></span> </span> </div>
</div>
</div> </span> </div>
<div class="views-field views-field-view-1"> <span class="field-content"></span> </div> </div>
<div class="views-row views-row-2 views-row-even">
<div> <div class="views-field-title views-field"><a href="/shows/marketplace-morning-report">Morning Report</a></div> </div>
<div class="views-field views-field-view"> <span class="field-content"> <div class="view view-show-navigation-3 view-id-show_navigation_3 view-display-id-panel_pane_1 view-dom-id-e8dc99e642504cc14bb235f42de23ddd">
<div class="view-content">
<div class="views-row views-row-1 views-row-odd views-row-first views-row-last">
<span class="views-field views-field-view-node alpha-abhishek"> <span class="field-content"><a href="/shows/marketplace-morning-report/marketplace-morning-report-monday-april-22-2013">Latest</a></span> </span>
<span class="views-field views-field-nid beta-abhishek"> <span class="field-content"><a href="/" class="popout-player active" play="/node/88326/player/popout">Listen</a></span> </span> </div>
</div>
</div> </span> </div>
<div class="views-field views-field-view-1"> <span class="field-content"></span> </div> </div>
<div class="views-row views-row-3 views-row-odd">
<div> <div class="views-field-title views-field"><a href="/shows/marketplace-money">Money</a></div> </div>
<div class="views-field views-field-view"> <span class="field-content"> <div class="view view-show-navigation-3 view-id-show_navigation_3 view-display-id-panel_pane_1 view-dom-id-1b8e04af206546e8a732999e3248851e">
<div class="view-content">
<div class="views-row views-row-1 views-row-odd views-row-first views-row-last">
<span class="views-field views-field-view-node alpha-abhishek"> <span class="field-content"><a href="/shows/marketplace-money/marketplace-money-friday-april-19-2013">Latest</a></span> </span>
<span class="views-field views-field-nid beta-abhishek"> <span class="field-content"><a href="/" class="popout-player active" play="/node/88051/player/popout">Listen</a></span> </span> </div>
</div>
</div> </span> </div>
<div class="views-field views-field-view-1"> <span class="field-content"></span> </div> </div>
<div class="views-row views-row-4 views-row-even">
<div> <div class="views-field-title views-field"><a href="/shows/marketplace-tech-report">Tech Report</a></div> </div>
<div class="views-field views-field-view"> <span class="field-content"> <div class="view view-show-navigation-3 view-id-show_navigation_3 view-display-id-panel_pane_1 view-dom-id-63b8c713b0f7a8e66abe7e201f25966e">
<div class="view-content">
<div class="views-row views-row-1 views-row-odd views-row-first views-row-last">
<span class="views-field views-field-view-node alpha-abhishek"> <span class="field-content"><a href="/shows/marketplace-tech-report/marketplace-tech-monday-april-22-2013">Latest</a></span> </span>
<span class="views-field views-field-nid beta-abhishek"> <span class="field-content"><a href="/" class="popout-player active" play="/node/88321/player/popout">Listen</a></span> </span> </div>
</div>
</div> </span> </div>
<div class="views-field views-field-view-1"> <span class="field-content"></span> </div> </div>
<div class="views-row views-row-5 views-row-odd views-row-last">
<div> <div class="views-field-title views-field"><a href="/topics/business/mid-day-update">Mid-day Update</a></div> </div>
<div class="views-field views-field-view"> <span class="field-content"></span> </div>
<div class="views-field views-field-view-1"> <span class="field-content"> <div class="view view-collection-in-show-nav view-id-collection_in_show_nav view-display-id-panel_pane_1 view-dom-id-87a540c38cc572d8f7569ef75ab8dbc5">
<div class="view-content">
<div class="views-row views-row-1 views-row-odd views-row-first views-row-last">
<span class="views-field views-field-view-node alpha-abhishek"> <span class="field-content"><a href="/topics/economy/mid-day-update/podcast-caterpillar-shrinks-gdp-grows">Latest</a></span> </span>
<span class="views-field views-field-nid beta-abhishek"> <span class="field-content"><a href="/" class="popout-player active" play="/node/88401/player/popout">Listen</a></span> </span> </div>
</div>
</div> </span> </div> </div>
</div>
</div> </div>
</div>
</div>
</div>
</div>
</div>
</div><!-- /.block -->
</div><!-- /.region -->
<div id="header"><div class="section clearfix">
<div id="header-border"></div>
<div class="region region-header">
<div id="block-panels-mini-header" class="block block-panels-mini first last odd">
<div class="content">
<div class="panel-2col-stacked clearfix panel-display" id="mini-panel-header">
<div class="panel-col-top panel-panel">
<div class="inside"> <div class="panel-pane pane-block pane-system-main-menu" >
<div class="pane-content">
<ul class="menu"><li class="first leaf"><a href="/" class="home"><span>Home</span></a></li>
<li class="leaf"><a href="/topics/business" class="business"><span>Business</span></a></li>
<li class="leaf"><a href="/topics/world" class="world"><span>World</span></a></li>
<li class="leaf"><a href="/topics/economy" class="economy"><span>Economy</span></a></li>
<li class="leaf"><a href="/topics/tech" class="tech"><span>Tech</span></a></li>
<li class="leaf"><a href="/topics/sustainability" class="sustainability"><span>Sustainability</span></a></li>
<li class="collapsed"><a href="/topics/your-money" class="your-money"><span>Your Money</span></a></li>
<li class="leaf"><a href="/wealth-poverty" class="wealth--poverty"><span>Wealth & Poverty</span></a></li>
<li class="last collapsed"><a href="/about-marketplace-shows" title="Marketplace Shows" class="shows"><span>Shows</span></a></li>
</ul> </div>
</div>
</div>
</div>
<div class="center-wrapper">
<div class="panel-col-first panel-panel">
<div class="inside"></div>
</div>
<div class="panel-col-last panel-panel">
<div class="inside"> <div class="panel-pane pane-custom-link" >
<div class="pane-content">
<a href="/donate">Donate</a> </div>
</div>
<div class="panel-pane pane-block pane-menu-menu-header-menu donate-box" >
<div class="pane-content">
<ul class="menu"><li class="first leaf"><a href="/about-marketplace" class="sitemap"><span>About</span></a></li>
<li class="leaf"><a href="/contact-and-connect" class="contact"><span>Contact</span></a></li>
<li class="leaf"><a href="/user/register" class="register"><span>Register</span></a></li>
<li class="last leaf"><a href="/user/login" class="sign-in"><span>Sign in</span></a></li>
</ul> </div>
</div>
</div>
</div>
</div>
<div class="panel-col-bottom panel-panel">
<div class="inside"> <div class="panel-pane pane-entity-field pane-node-field-links" >
<div class="pane-content">
<div class="field field-name-field-links field-type-link-field field-label-hidden multi-value-field"><div class="field-items"><div class="field-item first even"><a href="http://www.marketplace.org/topics/tech/celebrity-app-reviews-chris-hardwick/interview-chris-hardwick">As Heard On Radio </a></div><div class="field-item odd"><a href="http://www.marketplace.org/trending">Top Stories</a></div><div class="field-item even"><a href="http://www.marketplace.org/most-commented">Most Commented</a></div><div class="field-item last odd"><a href="http://www.marketplace.org/podcasts">Podcasts</a></div></div></div> </div>
</div>
<div class="panel-pane pane-block pane-search-form" >
<div class="pane-content">
<form action="/shows/marketplace-tech-report/marketplace-tech-friday-april-19-2013" method="post" id="search-block-form" accept-charset="UTF-8"><div><div class="container-inline">
<h2 class="element-invisible">Search form</h2>
<div class="form-item form-type-textfield form-item-search-block-form">
<label class="element-invisible" for="edit-search-block-form--2">Search </label>
<input title="Enter the terms you wish to search for." type="text" id="edit-search-block-form--2" name="search_block_form" value="" size="15" maxlength="128" class="form-text" />
</div>
<div class="form-actions form-wrapper" id="edit-actions"><input type="submit" id="edit-submit" name="op" value="Search" class="form-submit" /></div><input type="hidden" name="form_build_id" value="form-nkykU2mU1o4Lk3p0-pR8qTyeLYt3fP0gfqlzzl6P9Bs" />
<input type="hidden" name="form_id" value="search_block_form" />
</div>
</div></form> </div>
</div>
</div>
</div>
</div>
</div>
</div><!-- /.block -->
</div><!-- /.region -->
<a href="/" title="Home" rel="home" id="logo"><img class="element-invisible" src="http://www.marketplace.org/sites/default/files/logo-apm.png" alt="Home" /></a>
<a href="http://www.marketplace.org/shows/marketplace-tech-report" style='display: inline-block;height: 70px;margin: -130px 280px 0;padding: 0;position: absolute;width: 470px;'></a>
<!--<a href="" style='display: inline-block;height: 70px;margin: -130px 280px 0;padding: 0;position: absolute;width: 470px;'></a>-->
<div id="name-and-slogan" class="element-invisible">
<h1 id="site-name">
<a href="/" title="Home" rel="home"><span>Marketplace.org</span></a>
</h1>
</div><!-- /#name-and-slogan -->
</div></div><!-- /.section, /#header -->
<div id="main-wrapper"><div id="main" class="clearfix">
<div id="content" class="column"><div class="section">
<a id="main-content"></a>
<div class="region region-content">
<div id="block-system-main" class="block block-system first last odd">
<div class="content">
<div class="panel-display panel-general-layout clearfix" >
<div class="panel-region-featured-content">
<div class="section"></div>
</div>
<div class="panel-region-content-main">
<div class="section"> <div class="panel-pane pane-panels-mini pane-episode-links" >
<div class="pane-content">
<div class="panel-display panel-2col clearfix" id="mini-panel-episode_links">
<div class="panel-panel panel-col-first">
<div class="inside"> <div class="panel-pane pane-node-title" >
<div class="pane-content">
<a href="/shows/marketplace-tech-report">Marketplace Tech Report</a> </div>
</div>
<div class="panel-pane pane-entity-field pane-node-field-date" >
<div class="pane-content">
<div class="field field-name-field-date field-type-datetime field-label-hidden multi-value-field"><div class="field-items"><div class="field-item first even"><span class="date-display-single" property="dc:date" datatype="xsd:dateTime" content="2013-04-19T00:00:00-05:00">04/19/13</span></div></div></div> </div>
</div>
</div>
</div>
<div class="panel-panel panel-col-last">
<div class="inside"> <div class="panel-pane pane-custom-share-links" >
<div class="pane-content">
<div class="item-list"><ul class="custom-share-links size-small"><li class="first"><iframe src='//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.marketplace.org%2Fshows%2Fmarketplace-tech-report%2Fmarketplace-tech-friday-april-19-2013&send=false&layout=button_count&width=35&show_faces=false&action=like&colorscheme=light&font=arial&height=21&appId=233314236684354' scrolling='no' frameborder='0' style='border:none; overflow:visible; width:75px; height:21px;' allowTransparency='true'></iframe></li>
<li class="last"><div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_tweet" style="zoom:1;"></a>
<a class="addthis_button_linkedin_counter"></a>
<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
<a class="addthis_counter addthis_pill_style"></a>
<a class="addthis_button_print"></a>
<a class="addthis_button_email"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4eb82288262a401c"></script></li>
</ul></div> </div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="node-88116" class="node node-episode view-mode-full clearfix" about="/shows/marketplace-tech-report/marketplace-tech-friday-april-19-2013" typeof="sioc:Item foaf:Document">
<div class="inner">
<h1 property="dc:title" datatype="" class="node-title">Marketplace Tech for Friday, April 19, 2013</h1>
<div class="field field-name-field-image field-type-image field-label-above multi-value-field"><div class="field-label">Episode Teaser Image: </div><div class="field-items"><div class="field-item first even"><img typeof="foaf:Image" src="http://www.marketplace.org/sites/default/files/styles/200x200/public/gun1.JPG" width="200" height="200" /></div></div></div> <div class="field field-name-field-lede field-type-text-long field-label-above multi-value-field"><div class="field-label">Episode Description: </div><div class="field-items"><div class="field-item first even">Gun control advocates are looking for new options, including some tech strategies. On Wednesday, seven measures failed in the U.S. Senate, including an amendment that would have expanded background checks. Some gun control advocates are now looking in new directions. So-called 'smart guns' are firearms that only authorized users can fire. But so far, there's not a single one on the market in the U.S.</div></div></div> </div>
<div class="content">
<div class="apm-player"><div id="storyplayer"><p>To view this content, Javascript must be enabled and Adobe Flash Player must be installed.</p><a href="http://www.adobe.com/go/getflashplayer" title="Get Adobe Flash player">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" border="0" />
</a></div></div><div class="apm-player-utilities"><a href="https://contribute.publicradio.org/contribute.php?&refId=NCYMARK_ng" target="_blank"><img src="/sites/default/themes/sitetheme/images/support_marketplace.gif" alt="" border="0"></a><div class="item-list"><ul><li class="first"><a href="http://www.marketplace.org/rss" class="subscribe">Subscribe to podcast</a></li>
<li><a href="http://download.publicradio.org/podcast/marketplace/tech_report/2013/04/19/marketplace_tech_report20130419_64.mp3" class="download">Download audio</a></li>
<li><a href="/" class="embed">Embed player</a></li>
<li><a href="http://www.marketplace.org/help" class="help">Audio player assistance</a></li>
<li class="last"><a href="/node/88116/player/popout" class="popout" player="storyplayer" title="The audio will stop playing if you navigate away from this page.">Pop-Up</a></li>
</ul></div><div class="embed-code"><textarea><iframe src="http://www.marketplace.org/node/88116/player/storyplayer" width="600" height="200" scrolling="no" ></iframe></textarea></div></div> </div>
</div><!-- /.node -->
<div class="panel-pane pane-views-panes pane-multiple-audio-files-for-each-ep-panel-pane-1" >
<h2 class="pane-title"><span>Listen to more audio from this episode</span>
</h2>
<div class="pane-content">
<div class="view view-multiple-audio-files-for-each-ep view-id-multiple_audio_files_for_each_ep view-display-id-panel_pane_1 view-dom-id-c611e97f0a4b35d9a8c0254c821f6e7c">
<div class="view-content">
<div class="views-row views-row-1 views-row-odd views-row-first">
<span class="views-field views-field-nid multiple-audio-block"> <span class="field-content"><a href="/" class="popout-player active" play="/node/88136/player/popout">4-19-13 Marketplace Tech</a></span> </span> </div>
<div class="views-row views-row-2 views-row-even views-row-last">
<span class="views-field views-field-nid multiple-audio-block"> <span class="field-content"><a href="/" class="popout-player active" play="/node/88181/player/popout">4-19-13 The Tech Roundup</a></span> </span> </div>
</div>
</div> </div>
</div>
<div class="panel-pane pane-views-panes pane-stories-panel-pane-by-episode" >
<div class="pane-content">
<div class="view view-stories view-id-stories view-display-id-panel_pane_by_episode view-dom-id-3da02c495b869931b6e62cb4c86bf16b">
<div class="view-content">
<div class="views-row views-row-1 views-row-odd views-row-first row">
<div class="node node-has-image-left">
<div class='image-left'>
<div class="field field-name-field-image field-type-image field-label-hidden multi-value-field"><div class="field-items"><div class="field-item first even"><a href="/topics/tech/guns-and-dollars/are-smart-guns-ready-market"><img typeof="foaf:Image" src="http://www.marketplace.org/sites/default/files/styles/112x112/public/gun1.JPG" width="112" height="112" /></a></div></div></div> </div>
<div class='comment-count'>
<span>0</span>
</div>
<h3><a href="/topics/tech/guns-and-dollars/are-smart-guns-ready-market">Are 'smart guns' ready for market?</a></h3>
<div class="byline">
<div class="field field-name-field-byline-description field-type-list-text field-label-hidden multi-value-field"><div class="field-items"><div class="field-item first even">by</div></div></div> <a href= http://www.marketplace.org/people/david-gura>David Gura</a><div class="field field-name-field-ref-bio-multi field-type-node-reference field-label-hidden"><div class="field-items"></div></div> | <div class="field field-name-field-date field-type-datetime field-label-hidden multi-value-field"><div class="field-items"><div class="field-item first even"><span class="date-display-single" property="dc:date" datatype="xsd:dateTime" content="2013-04-19T06:53:03-05:00">Apr 19, 2013</span></div></div></div> </div>
<div class="field field-name-field-lede field-type-text-long field-label-hidden multi-value-field"><div class="field-items"><div class="field-item first even">Technology exists where only electronically recognized users can fire a gun, but are gun buyers interested?</div></div></div> <em class='tags'>
<span class='label'>Posted In: </span>
<a href="/tags/guns">guns</a>, <a href="/tags/tech">Tech</a>, <a href="/tags/sensors">sensors</a> </em>
</div>
</div>
<div class="views-row views-row-2 views-row-even views-row-last row">
<div class="node node-has-image-left">
<div class='image-left'>
<div class="field field-name-field-image field-type-image field-label-hidden multi-value-field"><div class="field-items"><div class="field-item first even"><a href="/topics/tech/everything-you-need-know-about-cispa"><img typeof="foaf:Image" src="http://www.marketplace.org/sites/default/files/styles/112x112/public/153660497.jpg" width="112" height="112" /></a></div></div></div> </div>
<div class='comment-count'>
<span>0</span>
</div>
<h3><a href="/topics/tech/everything-you-need-know-about-cispa">Everything you need to know about CISPA</a></h3>
<div class="byline">
<div class="field field-name-field-byline-description field-type-list-text field-label-hidden multi-value-field"><div class="field-items"><div class="field-item first even">Story By</div></div></div> <a href= http://www.marketplace.org/people/david-brancaccio>David Brancaccio</a><div class="field field-name-field-ref-bio-multi field-type-node-reference field-label-hidden"><div class="field-items"></div></div> | <div class="field field-name-field-date field-type-datetime field-label-hidden multi-value-field"><div class="field-items"><div class="field-item first even"><span class="date-display-single" property="dc:date" datatype="xsd:dateTime" content="2013-04-19T06:11:13-05:00">Apr 19, 2013</span></div></div></div> </div>
<div class="field field-name-field-lede field-type-text-long field-label-hidden multi-value-field"><div class="field-items"><div class="field-item first even">CISPA passed in the House of Representatives. But what is the bill and what will it do for privacy and data?</div></div></div> <em class='tags'>
<span class='label'>Posted In: </span>
<a href="/tags/sopa">SOPA</a>, <a href="/tags/pipa">PIPA</a>, <a href="/tags/cispa">CISPA</a>, <a href="/tags/online-privacy">online privacy</a> </em>
</div>
</div>
</div>
</div> </div>
</div>
</div>
</div>
<div class="panel-region-sidebar">
<div class="section"><div class="panel-display panel-1col clearfix" id="mini-panel-node_sidebar">
<div class="panel-panel panel-col">
<div> <div class="panel-pane pane-block pane-block-11" >
<div class="pane-content">
<style TYPE="text/css">
<!--
#facebook_link{
padding-top: 10px;
padding-left: 0px;
padding-bottom: 10px;
border-top: 4px double #bdbdbd;
border-bottom: 4px double #bdbdbd;
width: 300px;
}
#ilikefb{
margin-right: 0px;
}
#twit img{
padding-left: 10px;
border-left: 1px solid #bdbdbd;
}
-->
</style>
<div id="facebook_link">
<iframe id="ilikefb" align="left" scrolling="no" frameborder="0" style="overflow:hidden; width:255px; height:35px;" src="http://www.facebook.com/plugins/like.php?href=http://www.facebook.com/apmmarketplace&layout=standard&show_faces=false&width=450&action=like&colorscheme=light&height=35&">
</iframe>
<div id="twit"><a href="http://twitter.com/marketplaceAPM" target="blank"><img src="http://www.marketplace.org/sites/marketplace.org/files/twitter-icon.png" height="27px" width="27px" border="0"></a></div>
</div>
<meta name="bitly-verification" content="3d3e8fce91ed"/> </div>
</div>
<div class="panel-pane pane-block pane-block-16" >
<div class="pane-content">
<iframe id="newsletter-single-step" style="height: 105px;" name="newsletter-single-step" src=" http://www.publicradio.org/newsletter-single-step/mkp.html" frameborder="0" scrolling="no"></iframe> </div>
</div>
<div class="panel-pane pane-block pane-block-2" >
<div class="pane-content">
<!-- IB ad call-->
<script type="text/javascript">apm.ad.get("mr_top","300x250");</script>
<!-- END IB ad call-->
</div>
</div>
<div class="panel-pane pane-panels-mini pane-clone-of-trending-commented" >
<div class="pane-content">
<div class="panel-display panel-tabbed-layout clearfix" id="mini-panel-clone_of_trending_commented">
<div class="panel-region-content-tabbed-main">
<div class="section"> <div class="panel-pane pane-views-panes pane-latest-stories-panel-pane-1" >
<h2 class="pane-title"><span>Latest Stories</span>
</h2>
<div class="pane-content">
<div class="view view-latest-stories view-id-latest_stories view-display-id-panel_pane_1 view-dom-id-c8f76b86bf46c4fe053cac03a07fcd87">
<div class="view-content">
<div class="item-list"> <ol> <li class="views-row views-row-1 views-row-odd views-row-first"><span class="inner">
<h4><a href="/topics/world/education/why-private-equity-tycoon-funding-scholarship-china">Why a private equity tycoon is funding a scholarship in China</a></h4> </span></li>
<li class="views-row views-row-2 views-row-even"><span class="inner">
<h4><a href="/topics/your-money/mindful-spending-after-recession">Mindful spending after the recession?</a></h4> </span></li>
<li class="views-row views-row-3 views-row-odd"><span class="inner">
<h4><a href="/topics/business/digital-billboards-public-service-boston-public-nuisance-other-cities">Digital billboards: Public service in Boston, public nuisance to other cities</a></h4> </span></li>
<li class="views-row views-row-4 views-row-even"><span class="inner">
<h4><a href="/topics/business/consequences-online-sales-tax">The consequences of an online sales tax</a></h4> </span></li>
<li class="views-row views-row-5 views-row-odd views-row-last"><span class="inner">
<h4><a href="/topics/tech/comedy-festival-140-characters-and-6-seconds-comedy-central-launches-comedyfest">A comedy festival in 140 characters and 6 seconds: Comedy Central launches #ComedyFest</a></h4> </span></li>
</ol></div> </div>
<div class="more-link">
<a href="/latest-stories">
View complete list »
</a>
</div>
</div> </div>
</div>
<div class="panel-pane pane-views-panes pane-latest-comments-on-stories-panel-pane-1" >
<h2 class="pane-title"><span>Comments</span>
</h2>
<div class="pane-content">
<div class="view view-latest-comments-on-stories view-id-latest_comments_on_stories view-display-id-panel_pane_1 view-dom-id-7bebd52943c6a74d16ac64c2b7af5e61">
<div class="view-content">
<div class="item-list"> <ol> <li class="views-row views-row-1 views-row-odd views-row-first"><span class="inner">
<h4><a href="/topics/life/race-your-resume-invitation-discrimination">Race on your resume: An invitation for discrimination?</a></h4>
<div class="comment-count"> <span>2</span> </div></span></li>
<li class="views-row views-row-2 views-row-even"><span class="inner">
<h4><a href="/topics/sustainability/food-9-billion/soil-ground-zero-african-farming-debate">Soil is ground zero in African farming debate</a></h4>
<div class="comment-count"> <span>21</span> </div></span></li>
<li class="views-row views-row-3 views-row-odd"><span class="inner">
<h4><a href="/topics/business/commentary/are-best-places-work-really-best">Are 'The Best Places to Work' really the best?</a></h4>
<div class="comment-count"> <span>12</span> </div></span></li>
<li class="views-row views-row-4 views-row-even"><span class="inner">
<h4><a href="/topics/business/shopping-mall-vacancies-slowly-declining">Shopping mall vacancies slowly declining</a></h4>
<div class="comment-count"> <span>1</span> </div></span></li>
<li class="views-row views-row-5 views-row-odd views-row-last"><span class="inner">
<h4><a href="/topics/life/hello-lover-women-and-their-shoes">Hello lover: Women and their shoes</a></h4>
<div class="comment-count"> <span>5</span> </div></span></li>
</ol></div> </div>
<div class="more-link">
<a href="/latest-comments">
View complete list »
</a>
</div>
</div> </div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="panel-pane pane-views pane-episode-archive" >
<h2 class="pane-title"><span>Browse the show calendar</span>
</h2>
<div class="pane-content">
<div class="view view-episode-archive view-id-episode_archive view-display-id-calendar_block_1 view-dom-id-66bbdd285d801e524658e84f1f935916">
<div class="view-header">
<div class="date-nav-wrapper clearfix">
<div class="date-nav">
<div class="prev-next">
<div class="date-prev">
<span class="prev"> <a href="http://www.marketplace.org/shows/marketplace-tech-report/marketplace-tech-friday-april-19-2013?date=2013-03" title="Navigate to previous month" rel="nofollow"></a></span>
</div>
<div class="date-next">
<span class="next"> <a href="http://www.marketplace.org/shows/marketplace-tech-report/marketplace-tech-friday-april-19-2013?date=2013-05" title="Navigate to next month" rel="nofollow"> »</a> </span>
</div>
</div>
<div class="date-heading">
<h3><a href="http://www.marketplace.org/" title="View full page month">April 2013</a></h3>
</div>
</div>
</div>
</div>
<div class="view-content">
<div class="calendar-calendar"><div class="month-view">
<table class="mini">
<thead>
<tr>
<th class="days sun">
S </th>
<th class="days mon">
M </th>
<th class="days tue">
T </th>
<th class="days wed">
W </th>
<th class="days thu">
T </th>
<th class="days fri">
F </th>
<th class="days sat">
S </th>
</tr>
</thead>
<tbody>
<tr>
<td id="episode_archive-2013-03-31" class="sun mini empty">
<div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-01" class="mon mini past has-events">
<div class="month mini-day-on"> <a href="/shows/marketplace-tech-report/marketplace-tech-monday-april-1-2013" title="Marketplace Tech for Monday, April 1, 2013">1</a> </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-02" class="tue mini past has-events">
<div class="month mini-day-on"> <a href="/shows/marketplace-tech-report/marketplace-tech-tuesday-april-2-2013" title="Marketplace Tech for Tuesday, April 2, 2013">2</a> </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-03" class="wed mini past has-events">
<div class="month mini-day-on"> <a href="/shows/marketplace-tech-report/marketplace-tech-wednesday-april-3-2013" title="Marketplace Tech for Wednesday April 3, 2013">3</a> </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-04" class="thu mini past has-events">
<div class="month mini-day-on"> <a href="/shows/marketplace-tech-report/marketplace-tech-thursday-april-4-2013" title="Marketplace Tech for Thursday, April 4, 2013">4</a> </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-05" class="fri mini past has-events">
<div class="month mini-day-on"> <a href="/shows/marketplace-tech-report/marketplace-tech-friday-april-5-2013" title="Marketplace Tech for Friday, April 5, 2013">5</a> </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-06" class="sat mini past has-no-events">
<div class="month mini-day-off"> 6 </div><div class="calendar-empty"> </div>
</td>
</tr>
<tr>
<td id="episode_archive-2013-04-07" class="sun mini past has-no-events">
<div class="month mini-day-off"> 7 </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-08" class="mon mini past has-events">
<div class="month mini-day-on"> <a href="/shows/marketplace-tech-report/marketplace-tech-monday-april-8-2013" title="Marketplace Tech for Monday, April 8, 2013">8</a> </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-09" class="tue mini past has-events">
<div class="month mini-day-on"> <a href="/shows/marketplace-tech-report/marketplace-tech-tuesday-april-9-2013" title="Marketplace Tech for Tuesday, April 9, 2013">9</a> </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-10" class="wed mini past has-events">
<div class="month mini-day-on"> <a href="/shows/marketplace-tech-report/marketplace-tech-wednesday-april-10-2013" title="Marketplace Tech for Wednesday, April 10, 2013">10</a> </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-11" class="thu mini past has-events">
<div class="month mini-day-on"> <a href="/shows/marketplace-tech-report/marketplace-tech-thursday-april-11-2013" title="Marketplace Tech for Thursday, April 11, 2013">11</a> </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-12" class="fri mini past has-events">
<div class="month mini-day-on"> <a href="/shows/marketplace-tech-report/marketplace-tech-friday-april-12-2013" title="Marketplace Tech for Friday, April 12, 2013">12</a> </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-13" class="sat mini past has-no-events">
<div class="month mini-day-off"> 13 </div><div class="calendar-empty"> </div>
</td>
</tr>
<tr>
<td id="episode_archive-2013-04-14" class="sun mini past has-no-events">
<div class="month mini-day-off"> 14 </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-15" class="mon mini past has-events">
<div class="month mini-day-on"> <a href="/shows/marketplace-tech-report/marketplace-tech-monday-april-15-2013" title="Marketplace Tech for Monday, April 15, 2013">15</a> </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-16" class="tue mini past has-events">
<div class="month mini-day-on"> <a href="/shows/marketplace-tech-report/marketplace-tech-tuesday-april-16-2013" title="Marketplace Tech for Tuesday, April 16, 2013">16</a> </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-17" class="wed mini past has-events">
<div class="month mini-day-on"> <a href="/shows/marketplace-tech-report/marketplace-tech-wednesday-april-17-2013" title="Marketplace Tech for Wednesday, April 17, 2013">17</a> </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-18" class="thu mini past has-events">
<div class="month mini-day-on"> <a href="/shows/marketplace-tech-report/marketplace-tech-thursday-april-18-2013" title="Marketplace Tech for Thursday, April 18, 2013">18</a> </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-19" class="fri mini past has-events">
<div class="month mini-day-on"> <a href="/shows/marketplace-tech-report/marketplace-tech-friday-april-19-2013" title="Marketplace Tech for Friday, April 19, 2013" class="active">19</a> </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-20" class="sat mini past has-no-events">
<div class="month mini-day-off"> 20 </div><div class="calendar-empty"> </div>
</td>
</tr>
<tr>
<td id="episode_archive-2013-04-21" class="sun mini past has-events">
<div class="month mini-day-on"> <a href="/shows/marketplace-tech-report/marketplace-tech-monday-april-22-2013" title="Marketplace Tech for Monday, April 22, 2013">21</a> </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-22" class="mon mini today has-no-events">
<div class="month mini-day-off"> 22 </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-23" class="tue mini future has-no-events">
<div class="month mini-day-off"> 23 </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-24" class="wed mini future has-no-events">
<div class="month mini-day-off"> 24 </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-25" class="thu mini future has-no-events">
<div class="month mini-day-off"> 25 </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-26" class="fri mini future has-no-events">
<div class="month mini-day-off"> 26 </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-27" class="sat mini future has-no-events">
<div class="month mini-day-off"> 27 </div><div class="calendar-empty"> </div>
</td>
</tr>
<tr>
<td id="episode_archive-2013-04-28" class="sun mini future has-no-events">
<div class="month mini-day-off"> 28 </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-29" class="mon mini future has-no-events">
<div class="month mini-day-off"> 29 </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-04-30" class="tue mini future has-no-events">
<div class="month mini-day-off"> 30 </div><div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-05-01" class="wed mini empty">
<div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-05-02" class="thu mini empty">
<div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-05-03" class="fri mini empty">
<div class="calendar-empty"> </div>
</td>
<td id="episode_archive-2013-05-04" class="sat mini empty">
<div class="calendar-empty"> </div>
</td>
</tr>
</tbody>
</table>
</div></div> </div>
</div> </div>
</div>
<div class="panel-pane pane-views pane-buzzworthy" >
<h2 class="pane-title"><span>Buzzworthy</span>
</h2>
<div class="pane-content">
<div class="view view-buzzworthy view-id-buzzworthy view-display-id-block view-dom-id-7f43db93c98dcbf52cd62f93dabe1d16">
<div class="view-header">
<p>Recent comments on our stories..</p>
</div>
<div class="view-content">
<div class="views-row views-row-1 views-row-odd views-row-first">
<div class="views-field views-field-picture"> <div class="field-content"> <div class="user-picture">
<img typeof="foaf:Image" src="http://www.marketplace.org/sites/default/files/styles/author-bio-image-45x45/public/pictures/picture-424461-1366641421.jpg" width="45" height="45" alt="Bittersweet's picture" title="Bittersweet's picture" /> </div>
</div> </div>
<h4 class="field-content"><a href="/topics/life/education/law-school-worth-price">Is law school worth the price?</a></h4>
<p>You have GOT to be kidding.</p>
<p>First, to expect an unbiased answer from someone who is going to become a spokeperson for the school is just...</p>
<em class="byline"> <strong>Bittersweet</strong> | Apr 22, 2013 </em> </div>
<div class="views-row views-row-2 views-row-even">
<div class="views-field views-field-picture"> <div class="field-content"> <div class="user-picture">
<img typeof="foaf:Image" src="http://www.marketplace.org/sites/default/files/styles/author-bio-image-45x45/public/pictures/picture-405046-1366205510.jpg" width="45" height="45" alt="jputtgen's picture" title="jputtgen's picture" /> </div>
</div> </div>
<h4 class="field-content"><a href="/topics/world/chinas-toxic-harvest-growing-tainted-food-cancer-villages">China's toxic harvest: Growing tainted food in "cancer villages"</a></h4>
<p>Thank you. I read this story as a little window into a huge landscape of suffering:<br />
delusion of a stuff-needing self leads to demand for...</p>
<em class="byline"> <strong>jputtgen</strong> | Apr 17, 2013 </em> </div>
<div class="views-row views-row-3 views-row-odd">
<div class="views-field views-field-picture"> <div class="field-content"> <div class="user-picture">
<img typeof="foaf:Image" src="http://www.marketplace.org/sites/default/files/anonymous.jpg" alt="sparky81884's picture" title="sparky81884's picture" /> </div>
</div> </div>
<h4 class="field-content"><a href="/topics/life/commentary/just-say-no-joint-tax-filing">Just say no to joint tax filing</a></h4>
<p>I feel like individual filing would make things more complicated for married couples. I, for instance, would need to split the income from our...</p>
<em class="byline"> <strong>sparky81884</strong> | Apr 12, 2013 </em> </div>
<div class="views-row views-row-4 views-row-even views-row-last">
<div class="views-field views-field-picture"> <div class="field-content"> <div class="user-picture">
<img typeof="foaf:Image" src="http://www.marketplace.org/sites/default/files/anonymous.jpg" alt="Javasmom's picture" title="Javasmom's picture" /> </div>
</div> </div>
<h4 class="field-content"><a href="/topics/tech/health-care/genetics-may-be-next-big-thing-medicine-what-cost">Genetics may be the next big thing in medicine, but at what cost?</a></h4>
<p>One aspect of the cost of genetic testing that is rarely addressed is the effect of genetic testing on the cost/availability of health insurance...</p>
<em class="byline"> <strong>Javasmom</strong> | Apr 12, 2013 </em> </div>
</div>
<div class="view-footer">
<p> <a href="http://www.marketplace.org/user/register">Join The Buzz - Register Now »</a> </p>
</div>
</div> </div>
</div>
</div>
</div>
</div>
<div class="panel-pane pane-block pane-block-10" >
<div class="pane-content">
<script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAARKCkUruiWL34zss4fSXiYRSZJl4jsu2sG0FSkCkfSkVuhylIBhRyU2uWLTBfTGv4MvftyGdS4gf2aQ">
</script>
<script type="text/javascript">
google.load("feeds", "1") //Load Google Ajax Feed API (version 1)
</script>
<style TYPE="text/css">
<!--
#PINmore-link {
margin: 0 0 0 0;
background-color: #bdbdbd;
font-family: Georgia, "Times New Roman", Times, "DejaVu Serif", serif;
font-style: italic;
font-size: 12.5px;
width:300px;
position: absolute;
border-top: 1px solid #bdbdbd;
border-bottom: 1px solid #bdbdbd;
color: #fff;
}
#PINmore-link p {
padding: 0px 0px 0px 12px;
}
.PINheader {
padding: 22px 12px 22px 12px;
font-family: Georgia, "Times New Roman", Times, "DejaVu Serif", serif;
font-style: italic;
font-size: 12.5px;
color: #777;
border-bottom: 1px solid #bdbdbd;
line-height: 17px;
background-image: url("http://www.marketplace.org/sites/marketplace.org/files/submit_back.png");
background-repeat: no-repeat;
}
#sourceblurb {
padding: 0px 12px 12px 12px;
font-family: Georgia, "Times New Roman", Times, "DejaVu Serif", serif;
font-style: italic;
font-size: 12.5px;
color: #777;
border-bottom: 1px solid #bdbdbd;
line-height: 17px;
}
#sourceblurb .a {
text-decoration: underline;
}
.PINheader .submitbutton {
font-family: "Trebuchet MS", Tahoma, Verdana, Arial, sans-serif;
font-style: normal;
}
.PINheader a {
display:block;
background-color: #fe7200;
font-family: "Trebuchet MS", Tahoma, Verdana, Arial, sans-serif;
font-size: 12px;
text-transform: uppercase;
color:#fff;
float: right;
padding: 3px 15px 3px 15px;
text-decoration: none;
margin-top: -10px;
border: 1px solid #fff;
}
.PINheader a:hover {
background-color: #fe9700;
}
#PINpane-content {
width: 300px;
border-left: 1px solid #bdbdbd;
border-right: 1px solid #bdbdbd;
display:block;
border-top: none;
border-bottom: 1px solid #bdbdbd;
}
#PINpane-title {
text-transform: uppercase;
font-family: "Trebuchet MS", Tahoma, Verdana, Arial, sans-serif;
font-size: 13px;
letter-spacing: .1em;
padding: 7px 18px 4px 20px;
border-bottom: 1px solid #fff;
}
#PINpane-content .view-content p {
padding: 12px 12px 0px 12px;
font-family: "Trebuchet MS", Tahoma, Verdana, Arial, sans-serif;
font-size: 12px;
text-transform: uppercase;
color: #555;
font-weight: bold;
margin-bottom: 0px;
margin-top: 7px;
border-top: 1px solid #bdbdbd;
}
#PINpane-content .view-content li {
padding: 3px 22px 3px 12px;
font-family: "Trebuchet MS", Tahoma, Verdana, Arial, sans-serif;
font-size: 12px;
color: #234f7c;
list-style: none;
}
#PINpane-content .view-content img {
border-bottom: 1px solid #000;
padding-bottom: 0px;
}
#PINpane-content .view-content a {
color: #234f7c;
text-decoration: none;
}
#PINpane-content .even {
background-color: #fff;
padding-top: 5px;
padding-bottom: 4px;
border-bottom: 1px dotted #bdbdbd;
}
#PINpane-content .last {
background-color: #fff;
padding-top: 5px;
padding-bottom: 8px;
}
#PINtab {
border-left: 1px solid #bdbdbd;
border-right: 1px solid #bdbdbd;
border-top: 1px solid #bdbdbd;
border-bottom: 1px solid #fff;
margin-left: 10px;
width:105px;
}
-->
</style>
<div id="PINtab">
<div id="PINpane-title">
Connect
</div>
</div>
<div id="PINpane-content">
<div class="PINheader">
Submit your Personal Finance Questions to the Getting Personal blog.
<div class="submitbutton"><a href="http://www.publicradio.org/applications/formbuilder/user/form_display.php?form_code=412765828f81" target='_blank'>Submit</a>
</div>
</div>
<div class="view-content">
<p>BECOME A MARKETPLACE SOURCE!</p>
<div id="sourceblurb">Join the <a href="https://www.publicinsightnetwork.org/source/en/marketplace/" target='_blank'>Public Insight Network</a> and help us
tell the story.
<a href="https://www.publicinsightnetwork.org/form/marketplace/72c2761235bc" target='_blank'>Sign Up Now</a> or browse recent questions from
the Network below.
</div>
<div id="feeddiv"></div>
</div>
</div>
<script type="text/javascript">
var feedcontainer=document.getElementById("feeddiv")
var feedurl="https://www.publicinsightnetwork.org/rss/marketplace"
var feedlimit=5
var rssoutput=""
function rssfeedsetup(){
var feedpointer=new google.feeds.Feed(feedurl) //Google Feed API method
feedpointer.setNumEntries(feedlimit) //Google Feed API method
feedpointer.load(displayfeed) //Google Feed API method
}
function displayfeed(result){
if (!result.error){
var thefeeds=result.feed.entries
for (var i=0; i<thefeeds.length; i++)
rssoutput+="<div class='even'><li><a href='" + thefeeds[i].link + "' target='_blank'>" + thefeeds[i].title + "</a></li></div>"
//rssoutput+="</ul>"
feedcontainer.innerHTML=rssoutput
}
}
rssfeedsetup()
</script> </div>
</div>
<div class="panel-pane pane-block pane-block-12" >
<div class="pane-content">
<!-- IB ad call-->
<script type="text/javascript">apm.ad.get("mr_bottom","300x250");</script>
<!-- END IB ad call-->
</div>
</div>
</div>
</div>
</div>
</div>
</div><!-- /.block -->
</div><!-- /.region -->
</div></div><!-- /.section, /#content -->
</div></div><!-- /#main, /#main-wrapper -->
<div class="region region-footer-toolbar">
<div id="block-menu-block-menu-footer-toolbar" class="block block-menu-block first last odd">
<h2 class="block-title">Get it Here:</h2>
<div class="content">
<div class="menu-block-wrapper menu-block-menu_footer_toolbar menu-name-menu-footer parent-mlid-0 menu-level-1">
<ul class="menu"><li class="first leaf menu-mlid-613"><a href="http://info.americanpublicmediagroup.org/LP=139" class="newsletter"><span>Newsletters</span></a></li>
<li class="leaf menu-mlid-763"><a href="/listen-marketplace-your-mobile-device" class="mobile"><span>Mobile Apps</span></a></li>
<li class="leaf menu-mlid-3240"><a href="http://www.facebook.com/apmmarketplace" target="_blank"><span>Facebook</span></a></li>
<li class="leaf menu-mlid-3241"><a href="https://twitter.com/#!/MarketplaceAPM" class="newsletter"><span>Twitter</span></a></li>
<li class="leaf menu-mlid-614"><a href="/marketplace-podcasts" title="View all Marketplace Podcasts" class="podcast"><span>Podcasts</span></a></li>
<li class="last leaf menu-mlid-3299"><a href="http://www.marketplace.org/latest-stories/long-feed.xml"><span>RSS</span></a></li>
</ul></div>
</div>
</div><!-- /.block -->
</div><!-- /.region -->
<div class="region region-footer"><div class="section clearfix">
<div id="block-menu-block-footer-menu" class="block block-menu-block first odd">
<div class="content">
<div class="menu-block-wrapper menu-block-footer_menu menu-name-menu-footer-menu parent-mlid-0 menu-level-1">
<ul class="menu"><li class="first leaf menu-mlid-727"><a href="/" class="home"><span>Home</span></a></li>
<li class="leaf menu-mlid-735"><a href="/about-marketplace-shows" class="shows"><span>Shows</span></a></li>
<li class="leaf menu-mlid-728"><a href="/topics/business" class="business"><span>Business</span></a></li>
<li class="leaf menu-mlid-730"><a href="/topics/economy" class="politics"><span>Economy</span></a></li>
<li class="leaf menu-mlid-3343"><a href="/topics/elections" class="elections"><span>Elections</span></a></li>
<li class="leaf menu-mlid-734"><a href="/topics/life" class="life"><span>Life</span></a></li>
<li class="leaf menu-mlid-732"><a href="/topics/sustainability" class="sustainability"><span>Sustainability</span></a></li>
<li class="leaf menu-mlid-731"><a href="/topics/tech" class="tech"><span>Tech</span></a></li>
<li class="leaf menu-mlid-3342"><a href="/wealth-poverty" class="wealth--poverty"><span>Wealth & Poverty</span></a></li>
<li class="leaf menu-mlid-729"><a href="/topics/world" class="world"><span>World</span></a></li>
<li class="last leaf menu-mlid-733"><a href="/topics/your-money" class="money"><span>Your Money</span></a></li>
</ul></div>
</div>
</div><!-- /.block -->
<div id="block-menu-block-menu-other-sections" class="block block-menu-block even">
<h2 class="block-title">Marketplace Programs</h2>
<div class="content">
<div class="menu-block-wrapper menu-block-menu_other_sections menu-name-menu-other-sections parent-mlid-0 menu-level-1">
<ul class="menu"><li class="first leaf menu-mlid-2767"><a href="/shows/marketplace" title="Visit the Marketplace Show Page"><span>Marketplace</span></a></li>
<li class="leaf menu-mlid-2768"><a href="/shows/marketplace-morning-report" title="Visit the Marketplace Morning Report show page"><span>Marketplace Morning Report</span></a></li>
<li class="leaf menu-mlid-2769"><a href="/shows/marketplace-money" title="Visit the Marketplace Money show page"><span>Marketplace Money</span></a></li>
<li class="leaf menu-mlid-2770"><a href="/shows/marketplace-tech-report" title="Visit the Marketplace Tech Report show page"><span>Marketplace Tech Report</span></a></li>
<li class="leaf menu-mlid-3997"><a href="http://www.marketplace.org/topics/business/mid-day-update"><span>Marketplace Mid-Day Update</span></a></li>
<li class="last leaf menu-mlid-4003"><a href="/topics/business/podcast-specials"><span>ReMarket Podcast</span></a></li>
</ul></div>
</div>
</div><!-- /.block -->
<div id="block-menu-block-menu-privacy-information" class="block block-menu-block odd">
<h2 class="block-title">Special Sections</h2>
<div class="content">
<div class="menu-block-wrapper menu-block-menu_privacy_information menu-name-menu-privacy-information parent-mlid-0 menu-level-1">
<ul class="menu"><li class="first leaf menu-mlid-4000"><a href="/topics/economy/attitude-check"><span>Attitude Check</span></a></li>
<li class="leaf menu-mlid-4001"><a href="/topics/world/bbc-world-service"><span>BBC on Marketplace</span></a></li>
<li class="leaf menu-mlid-3999"><a href="/topics/commentary"><span>Commentary</span></a></li>
<li class="leaf menu-mlid-4002"><a href="/topics/business/corner-office"><span>Corner Office</span></a></li>
<li class="leaf menu-mlid-3085"><a href="/topics/economy/economy-40"><span>Economy 4.0</span></a></li>
<li class="leaf menu-mlid-3062"><a href="/topics/economy/education"><span>Education</span></a></li>
<li class="leaf menu-mlid-3998"><a href="/topics/business/freakonomics-radio"><span>Freakonomics Radio</span></a></li>
<li class="leaf menu-mlid-3063"><a href="/topics/economy/health-care"><span>Health Care</span></a></li>
<li class="leaf menu-mlid-4004"><a href="/topics/world/european-debt-crisis"><span>Euro Debt Crisis</span></a></li>
<li class="last leaf menu-mlid-4005"><a href="/topics/sustainability/food-9-billion"><span>Food for 9 Billion</span></a></li>
</ul></div>
</div>
</div><!-- /.block -->
<div id="block-menu-block-menu-other-sections-2" class="block block-menu-block even">
<h2 class="block-title">Must Reads</h2>
<div class="content">
<div class="menu-block-wrapper menu-block-menu_other_sections_2 menu-name-menu-other-sections-2 parent-mlid-0 menu-level-1">
<ul class="menu"><li class="first leaf menu-mlid-5375"><a href="/topics/economy/budget-hero"><span>Budget Hero</span></a></li>
<li class="leaf menu-mlid-5374"><a href="/topics/sustainability/future-jobs-o-matic"><span>Future Jobs-O-Matic</span></a></li>
<li class="leaf menu-mlid-3243"><a href="http://www.marketplace.org/topics/life/big-book"><span>The Big Book</span></a></li>
<li class="last leaf menu-mlid-2772"><a href="/topics/business/whiteboard" title="Visit The Whiteboard with Paddy Hirsch"><span>The Whiteboard</span></a></li>
</ul></div>
</div>
</div><!-- /.block -->
<div id="block-block-1" class="block block-block odd">
<div class="content">
<p>AMERICAN PUBLIC MEDIA</p>
<p>261 S. Figueroa Street, Los Angeles, CA 90012</p>
<p><a href="http://www.webbyawards.com/webbys/current_honorees.php?media_id=96&category_id=711&season=16" target="_blank"><img src="/sites/marketplace.org/files/webby_logo_110w_122h.png" alt="" width="110" height="132" /></a></p>
</div>
</div><!-- /.block -->
<div id="block-apm-footer-footer" class="block block-apm-footer last even">
<div class="content">
<!-- apm_footer from http://common.publicradio.org/apm/footer/ --> <!--googleoff: index-->
<!-- APM GLOBAL FOOTER START -->
<div id="apmFooter">
<div id="apmFooterWrapper" class="apmFooterBackgroundColor">
<!-- START FOOTER COLOR BAR BLOCK -->
<div id="apmFooterBar" class="apmFooterBarColor">
<span id="apmFooterBarImage">
<a href="http://www.americanpublicmedia.org" ><img alt="American Public Media" src="http://www.publicradio.org/config/cobrand/standard/images/apm002/apm_logo_h.png" id="apmWebLogoH" /></a>
</span>
<span id="apmFooterBarText" class="apmFooterBarTextColor">©
<script type="text/javascript">
var copyDate = new Date();
document.write(copyDate.getFullYear());
</script>
<span class="separator">|</span>
<a href="http://americanpublicmedia.publicradio.org/terms/" class="apmFooterBarTextColor">Terms and Conditions</a>
<span class="separator">|</span>
<a href="http://americanpublicmedia.publicradio.org/privacy/" class="apmFooterBarTextColor">Privacy Policy</a>
</span>
</div>
<!-- END FOOTER COLOR BAR BLOCK -->
<!-- START CONTENT AND COLUMNS BLOCK -->
<div id="apmFooterContent" class="apmFooterContentLinkColor">
<div id="apmProgs">
<span class="title apmFooterTitleTextColor">Programs</span>
<div id="apmProgList">
<ul>
<li><a href="http://americanradioworks.publicradio.org/?refid=3">American RadioWorks</a></li>
<li><a href="http://www.bbc.co.uk/worldservice/?refid=3">BBC World Service</a></li>
<li><a href="http://www.onbeing.org/?refid=3">On Being</a></li>
<li><a href="http://composersdatebook.publicradio.org/?refid=3">Composers Datebook</a></li>
<li><a href="http://www.marketplace.org/?refid=3">Marketplace</a></li>
<li><a href="http://www.marketplace.org/shows/marketplace-money/?refid=3">Marketplace Money</a></li>
<li><a href="http://www.marketplace.org/shows/marketplace-morning-report/?refid=3">Marketplace Morning Report</a></li>
<li><a href="http://www.marketplace.org/shows/marketplace-tech-report/?refid=3">Marketplace Tech Report</a></li>
<li><a href="http://performancetoday.publicradio.org/?refid=3">Performance Today</a></li>
<li><a href="http://pipedreams.publicradio.org/?refid=3">Pipedreams</a></li>
<li><a href="http://prairiehome.publicradio.org/?refid=3">A Prairie Home Companion</a></li>
<li><a href="http://splendidtable.publicradio.org/?refid=3">The Splendid Table</a></li>
<li><a href="http://www.thestory.org/?refid=3">The Story</a></li>
<li><a href="http://symphonycast.publicradio.org/?refid=3">SymphonyCast</a></li>
<li><a href="http://www.witsradio.org/?refid=3">Wits</a></li>
<li><a href="http://writersalmanac.publicradio.org/?refid=3">The Writer's Almanac</a></li>
<li><a href="http://americanpublicmedia.publicradio.org/programs/?refid=3">More…</a></li>
</ul>
</div>
</div>
<!-- END PROGRAM COLUMNS -->
<!-- START SUPPORT COLUMN -->
<div id="apmFooterSupport">
<span class="title apmFooterTitleTextColor">Support American Public Media</span>
<p class="apmPromoText apmFooterContentTextColor">American Public Media's online services are supported by users like you. <a href="https://contribute.publicradio.org/contribute/?refId=apm">Contribute now…</a></p>
</div>
<!-- END SUPPORT COLUMN -->
<!-- START MORE COLUMN -->
<div id="apmFooterMore">
<span class="title apmFooterTitleTextColor">More from American Public Media</span>
<div class="apmMoreList">
<ul>
<li><a href="http://americanpublicmedia.publicradio.org/podcasts/">APM Podcasts/RSS Feeds</a></li>
<li><a href="http://americanpublicmedia.publicradio.org/newsletters/">APM Newsletters</a></li>
<li><a href="http://americanpublicmedia.publicradio.org/tools/itunes_u/">iTunes U</a></li>
<li><a href="http://www.publicradiotuner.com">Public Radio Tuner</a></li>
<li><a href="http://americanpublicmedia.publicradio.org/careers/">APM Careers</a></li>
<li><a href="http://americanpublicmedia.publicradio.org/">About APM</a></li>
</ul>
</div>
</div>
<!-- END MORE COLUMN -->
</div>
<!-- END CONTENT AND COLUMNS BLOCK -->
<!-- START FINAL BLOCK -->
<div id="apmFooterEnd"> </div>
<!-- END FINAL BLOCK -->
</div>
</div>
<!--googleon: index--> </div>
</div><!-- /.block -->
</div></div><!-- /.footer, /.region -->
</div></div><!-- /#page, /#page-wrapper -->
<!-- START OF SmartSource Data Collector TAG -->
<!-- Copyright (c) 1996-2010 WebTrends Inc. All rights reserved. -->
<!-- Version: 9.3.0 -->
<!-- Tag Builder Version: 3.1 -->
<!-- Created: 10/4/2010 5:48:47 PM -->
<script src="/sites/marketplace.org/themes/sitetheme/js/webtrends.js" type="text/javascript"></script>
<!-- ----------------------------------------------------------------------------------- -->
<!-- Warning: The two script blocks below must remain inline. Moving them to an external -->
<!-- JavaScript include file can cause serious problems with cross-domain tracking. -->
<!-- ----------------------------------------------------------------------------------- -->
<script type="text/javascript">
//<![CDATA[
var _tag=new WebTrends();
_tag.dcsGetId();
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
_tag.dcsCustom=function(){
// Add custom parameters here.
//_tag.DCSext.param_name=param_value;
}
_tag.dcsCollect();
//]]>
</script>
<noscript>
<div><img alt="DCSIMG" id="DCSIMG" width="1" height="1" src="http://statse.webtrendslive.com/dcs3aq2iruz5bd8nsolcyff8w_7s6r/njs.gif?dcsuri=/nojavascript&WT.js=No&WT.tv=9.3.0&WT.dcssip=marketplace.publicradio.org"/></div>
</noscript>
<!-- END OF SmartSource Data Collector TAG -->
<!-- BEGIN Comscore -->
<script>
var _comscore = _comscore || [];
_comscore.push({ c1: "2", c2: "6035974", c3: "", c4: "" });
(function() {
var s = document.createElement("script"), el = document.getElementsByTagName("script")[0]; s.async = true;
s.src = (document.location.protocol == "https:" ? "https://sb" : "http://b" ) + ".scorecardresearch.com/beacon.js";
el.parentNode.insertBefore(s, el);
})();
</script>
<noscript>
<img src="http://b.scorecardresearch.com/p?c1=2&c2=6035974&c3=&c4=&c5=&c6=&c15=&cv=2.0&cj=1" />
</noscript>
<!-- END Comscore -->
<!-- start webtrends audio tracking -->
<!-- end webtrends audio tracking -->
<!-- served from web-2900.prod.hosting.acquia.com -->
<!-- Fixing #368 -->
<script>
window.onload=function() {
var links = document.getElementsByTagName("a");
for (var i=0, n=links.length;i<n;i++) {
if (links[i].className==="apmFooterBarTextColor" && links[i].href=="http://americanpublicmedia.publicradio.org/terms/") {
links[i].href="http://www.marketplace.org/terms-use";
// remove this line if there are more than one checkout link
}
if (links[i].className==="apmFooterBarTextColor" && links[i].href=="http://americanpublicmedia.publicradio.org/privacy/") {
links[i].href="http://www.marketplace.org/privacy-policy";
// remove this line if there are more than one checkout link
}
}
}
</script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jwplayer('storyplayer').setup(Drupal.settings.apm.player['storyplayer'].config);
apmAudioControllerCallbacks('storyplayer');
//--><!]]>
</script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jwplayer('storyplayer').setup(Drupal.settings.apm.player['storyplayer'].config);
apmAudioControllerCallbacks('storyplayer');
//--><!]]>
</script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jwplayer('storyplayer').setup(Drupal.settings.apm.player['storyplayer'].config);
apmAudioControllerCallbacks('storyplayer');
//--><!]]>
</script>
<script type="text/javascript" src="/sites/marketplace.org/themes/sitetheme/js/wtJWPlayerV2.js"></script>
<!-- UNCOMMENT THE FOLLOWING CODE TO DISPLAY THE OVERLAY -->
<!--
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript" src="/sites/default/themes/sitetheme/fancybox/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
<script type="text/javascript" src="/sites/default/themes/sitetheme/fancybox/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<link rel="stylesheet" type="text/css" href="/sites/default/themes/sitetheme/fancybox/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<script type="text/javascript" src="/sites/default/themes/sitetheme/fancybox/cookie/jquery.cookie.js"></script>
<script type="text/javascript">
function openFancybox() {
$('#various1').fancybox();
$('#various1').trigger('click');
}
$(document).ready(function() {
var visited = $.cookie('visited');
if (visited == 'yes') {
return false;
} else {
openFancybox();
}
var date = new Date();
date.setTime(date.getTime() + ( 120 *60 * 1000));
$.cookie('visited', 'yes', { expires: date });
$('#various1').fancybox();
});
</script>
<a id="various1" href="#inline1" style='display:none;' title="">Inline</a></li>
<div style="display: none;">
<div id="inline1" style="width:650px;height:445px;overflow:hidden;">
<a href='http://www.marketplace.org/topics/elections/big-money-2012-frontline'><img src='/sites/default/themes/sitetheme/images/bigsky_takeover.png' /></a>
</div>
</div>
-->
</body>
</html>
| {
"pile_set_name": "Github"
} |
Date: Fri, 06 Oct 2017 09:58:59 GMT
Transfer-Encoding: chunked
| {
"pile_set_name": "Github"
} |
//
// UserCellModel.swift
// Papr
//
// Created by Joan Disho on 02.06.18.
// Copyright © 2018 Joan Disho. All rights reserved.
//
import Foundation
import RxSwift
protocol UserCellModelInput {}
protocol UserCellModelOutput {
var fullName: Observable<NSAttributedString> { get }
var profilePhotoURL: Observable<URL> { get }
}
protocol UserCellModelType {
var inputs: UserCellModelInput { get }
var outputs: UserCellModelOutput { get }
}
final class UserCellModel: UserCellModelType, UserCellModelInput, UserCellModelOutput {
// MARK: Inputs & Outputs
var inputs: UserCellModelInput { return self }
var outputs: UserCellModelOutput { return self }
// MARK: Outputs
let fullName: Observable<NSAttributedString>
let profilePhotoURL: Observable<URL>
// MARK: Init
init(user: User, searchQuery: String) {
let userStream = Observable.just(user)
fullName = userStream
.map { $0.fullName?.attributedString(withHighlightedText: searchQuery) }
.unwrap()
profilePhotoURL = userStream
.map { $0.profileImage?.medium }
.unwrap()
.mapToURL()
}
}
| {
"pile_set_name": "Github"
} |
from .sqlTableUpdater import SqlTableUpdater
from .sqldatabase import SqlDatabase
class SystemToCoreUpdater(SqlTableUpdater):
def __init__(self, tableName: str = None, tableColumns: list = None, coreInfo: dict = None):
if not tableColumns:
tableColumns = (
("system", "TEXT"),
("core", "TEXT"),
)
if not coreInfo:
coreInfo = {}
super().__init__(tableName if tableName else "", tableColumns, coreInfo)
def updateTable(self):
with SqlDatabase(self.dbFile, autoCommit=True) as db:
self.updateColumns(db)
# Get Libretro system list
libretroSystems = self.libretroSystemList()
# Iterate through all cores available
for k, v in self.coreInfo['cores'].items():
# Ignore anything that isn't an emulator
if "categories" not in v or v["categories"] != "Emulator":
continue
# Get the list of systems (Libretro IDs) this core supports
systems = []
if "database" in v:
name = v["database"].split("|")
for n in name:
systems.append(n)
# There are some cores that do not have "database" defined, use systemname instead
elif "systemname" in v:
systems.append(v["systemname"])
# Iterate through all the Libretro IDs used by the core
for s in systems:
# Now get all Phoenix IDs that map to the current system (usually it's just one, with a very big exception)
phxSystems = self.libretroToPhoenix(s)
for p in phxSystems:
# Iterate through the columns, defined up above
values = []
for row in self.columnsDict.keys():
# The system name must be stored as the Phoenix system name
if row == "system":
values.append(p)
# The key contains the name of the core
if row == "core":
values.append(k)
db.insert(self.tableName, self.columnsDict.keys(), values)
if __name__ == "__main__":
from collections import OrderedDict
updater = SystemToCoreUpdater("systemToCore", columns)
updater.updateTable()
| {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code 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
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.tools.jdi;
import com.sun.jdi.*;
public class ShortValueImpl extends PrimitiveValueImpl
implements ShortValue {
private short value;
ShortValueImpl(VirtualMachine aVm,short aValue) {
super(aVm);
value = aValue;
}
public boolean equals(Object obj) {
if ((obj != null) && (obj instanceof ShortValue)) {
return (value == ((ShortValue)obj).value()) &&
super.equals(obj);
} else {
return false;
}
}
public int hashCode() {
/*
* TO DO: Better hash code
*/
return intValue();
}
public int compareTo(ShortValue obj) {
short other = obj.value();
return value() - other;
}
public Type type() {
return vm.theShortType();
}
public short value() {
return value;
}
public boolean booleanValue() {
return(value == 0)?false:true;
}
public byte byteValue() {
return(byte)value;
}
public char charValue() {
return(char)value;
}
public short shortValue() {
return value;
}
public int intValue() {
return(int)value;
}
public long longValue() {
return(long)value;
}
public float floatValue() {
return(float)value;
}
public double doubleValue() {
return(double)value;
}
byte checkedByteValue() throws InvalidTypeException {
if ((value > Byte.MAX_VALUE) || (value < Byte.MIN_VALUE)) {
throw new InvalidTypeException("Can't convert " + value + " to byte");
} else {
return super.checkedByteValue();
}
}
char checkedCharValue() throws InvalidTypeException {
if ((value > Character.MAX_VALUE) || (value < Character.MIN_VALUE)) {
throw new InvalidTypeException("Can't convert " + value + " to char");
} else {
return super.checkedCharValue();
}
}
public String toString() {
return "" + value;
}
byte typeValueKey() {
return JDWP.Tag.SHORT;
}
}
| {
"pile_set_name": "Github"
} |
/*
* Copyright 2009-2016 Jon Stevens et al.
*
* 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 com.github.sardine.impl.io;
import org.apache.http.HttpConnection;
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.CloseableHttpResponse;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
public class HttpMethodReleaseInputStream extends ByteCountInputStream
{
private static final Logger log = Logger.getLogger(HttpMethodReleaseInputStream.class.getName());
private HttpResponse response;
/**
* @param response The HTTP response to read from
* @throws IOException If there is a problem reading from the response
* @throws NullPointerException If the response has no message entity
*/
public HttpMethodReleaseInputStream(final HttpResponse response) throws IOException
{
super(response.getEntity().getContent());
this.response = response;
}
/**
* This will force close the connection if the content has not been fully consumed
*
* @throws IOException if an I/O error occurs
* @see CloseableHttpResponse#close()
* @see HttpConnection#shutdown()
*/
@Override
public void close() throws IOException
{
if (response instanceof CloseableHttpResponse)
{
long read = this.getByteCount();
long expected = response.getEntity().getContentLength();
if (expected < 0 || read == expected)
{
// Either the response doesn't have Content-Length, or it was fully consumed.
super.close();
}
else
{
if (log.isLoggable(Level.WARNING))
{
log.warning(String.format("Abort connection for response %s", response));
}
// Close an HTTP response as quickly as possible, avoiding consuming
// response data unnecessarily though at the expense of making underlying
// connections unavailable for reuse.
// The response proxy will force close the connection.
((CloseableHttpResponse) response).close();
}
}
else
{
// Consume and close
super.close();
}
}
}
| {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
json.default_country_id(Spree::Country.default.id)
json.default_country_iso(Spree::Config[:default_country_iso])
| {
"pile_set_name": "Github"
} |
powershell.exe –command
"& {Invoke-Command –ComputerName 'REMOTESERVER1'
–ScriptBlock { &'C:\Path With Spaces\LogDeploy.ps1'
'C:\Path With Spaces\Log.txt'
'TESTWEB1' } " | {
"pile_set_name": "Github"
} |
class App.KnowledgeBaseReaderListItem extends App.Controller
constructor: ->
super
@render()
@el[0].dataset.id = @item.id
@listenTo App.KnowledgeBase, 'kb_data_change_loaded', =>
@render()
tag: 'li'
className: 'section'
render: ->
if @sort_order != null && @sort_order != @item.position
App.Delay.set(=>
@parentController.parentRefreshed()
, 1000, 'kb_reader_list_resort')
@sort_order = @item.position
attrs = @item.attributesForRendering(@kb_locale, isEditor: @isEditor)
@el
.prop('className')
.split(' ')
.filter (elem) -> elem.match 'kb-item--'
.forEach (elem) -> @el.removeClass(elem)
@el.addClass attrs.className
@html App.view('knowledge_base/_reader_list_item')(
item: attrs
iconset: @iconset
)
| {
"pile_set_name": "Github"
} |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/UserNotificationsKit.framework/UserNotificationsKit
*/
@interface NCNotificationSound : NSObject <BSDescriptionProviding> {
TLAlertConfiguration * _alertConfiguration;
NSDictionary * _controllerAttributes;
double _maxDuration;
bool _repeats;
NSString * _ringtoneName;
NSString * _songPath;
unsigned long long _soundBehavior;
long long _soundType;
unsigned int _systemSoundID;
NSDictionary * _vibrationPattern;
}
@property (nonatomic, readonly, copy) TLAlertConfiguration *alertConfiguration;
@property (nonatomic, readonly, copy) NSDictionary *controllerAttributes;
@property (readonly, copy) NSString *debugDescription;
@property (readonly, copy) NSString *description;
@property (readonly) unsigned long long hash;
@property (nonatomic, readonly) double maxDuration;
@property (getter=isRepeating, nonatomic, readonly) bool repeats;
@property (nonatomic, readonly, copy) NSString *ringtoneName;
@property (nonatomic, readonly, copy) NSString *songPath;
@property (nonatomic, readonly) unsigned long long soundBehavior;
@property (nonatomic, readonly) long long soundType;
@property (readonly) Class superclass;
@property (nonatomic, readonly) unsigned int systemSoundID;
@property (nonatomic, readonly, copy) NSDictionary *vibrationPattern;
- (void).cxx_destruct;
- (id)alertConfiguration;
- (id)controllerAttributes;
- (id)copyWithZone:(struct _NSZone { }*)arg1;
- (id)debugDescription;
- (id)description;
- (id)descriptionBuilderWithMultilinePrefix:(id)arg1;
- (id)descriptionWithMultilinePrefix:(id)arg1;
- (unsigned long long)hash;
- (id)initWithNotificationSound:(id)arg1;
- (bool)isEqual:(id)arg1;
- (bool)isRepeating;
- (double)maxDuration;
- (id)mutableCopyWithZone:(struct _NSZone { }*)arg1;
- (id)ringtoneName;
- (id)songPath;
- (unsigned long long)soundBehavior;
- (long long)soundType;
- (id)succinctDescription;
- (id)succinctDescriptionBuilder;
- (unsigned int)systemSoundID;
- (id)vibrationPattern;
@end
| {
"pile_set_name": "Github"
} |
import React from 'react';
import PropTypes from 'prop-types';
const UilArrowUpRight = (props) => {
const { color, size, ...otherProps } = props
return React.createElement('svg', {
xmlns: 'http://www.w3.org/2000/svg',
width: size,
height: size,
viewBox: '0 0 24 24',
fill: color,
...otherProps
}, React.createElement('path', {
d: 'M17.92,6.62a1,1,0,0,0-.54-.54A1,1,0,0,0,17,6H7A1,1,0,0,0,7,8h7.59l-8.3,8.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L16,9.41V17a1,1,0,0,0,2,0V7A1,1,0,0,0,17.92,6.62Z'
}));
};
UilArrowUpRight.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
UilArrowUpRight.defaultProps = {
color: 'currentColor',
size: '24',
};
export default UilArrowUpRight; | {
"pile_set_name": "Github"
} |
#!/usr/bin/env sh
REMOTE_BRANCH=master
POD_NAME=Nimble
PODSPEC=Nimble.podspec
POD=${COCOAPODS:-pod}
function help {
echo "Usage: release VERSION RELEASE_NOTES [-f]"
echo
echo "VERSION should be the version to release, should not include the 'v' prefix"
echo "RELEASE_NOTES should be a file that lists all the release notes for this version"
echo " if file does not exist, creates a git-style commit with a diff as a comment"
echo
echo "FLAGS"
echo " -f Forces override of tag"
echo
echo " Example: ./release 1.0.0-rc.2 ./release-notes.txt"
echo
echo "HINT: use 'git diff <PREVIOUS_TAG>...HEAD' to build the release notes"
echo
exit 2
}
function die {
echo "[ERROR] $@"
echo
exit 1
}
if [ $# -lt 2 ]; then
help
fi
VERSION=$1
RELEASE_NOTES=$2
FORCE_TAG=$3
VERSION_TAG="v$VERSION"
echo "-> Verifying Local Directory for Release"
if [ -z "`which $POD`" ]; then
die "Cocoapods is required to produce a release. Aborting."
fi
echo " > Cocoapods is installed"
echo " > Is this a reasonable tag?"
echo $VERSION_TAG | grep -q "^vv"
if [ $? -eq 0 ]; then
die "This tag ($VERSION) is an incorrect format. You should remove the 'v' prefix."
fi
echo $VERSION_TAG | grep -q -E "^v\d+\.\d+\.\d+(-\w+(\.\d)?)?\$"
if [ $? -ne 0 ]; then
die "This tag ($VERSION) is an incorrect format. It should be in 'v{MAJOR}.{MINOR}.{PATCH}(-{PRERELEASE_NAME}.{PRERELEASE_VERSION})' form."
fi
echo " > Is this version ($VERSION) unique?"
git describe --exact-match "$VERSION_TAG" > /dev/null 2>&1
if [ $? -eq 0 ]; then
if [ -z "$FORCE_TAG" ]; then
die "This tag ($VERSION) already exists. Aborting. Append '-f' to override"
else
echo " > NO, but force was specified."
fi
else
echo " > Yes, tag is unique"
fi
if [ ! -f "$RELEASE_NOTES" ]; then
echo " > Failed to find $RELEASE_NOTES. Prompting editor"
RELEASE_NOTES=.release-changes
LATEST_TAG=`git for-each-ref refs/tags --sort=-refname --format="%(refname:short)" | grep -E "^v\d+\.\d+\.\d+(-\w+(\.\d)?)?\$" | ruby -e 'puts STDIN.read.split("\n").sort { |a,b| Gem::Version.new(a.gsub(/^v/, "")) <=> Gem::Version.new(b.gsub(/^v/, "")) }.last'`
echo " > Latest tag ${LATEST_TAG}"
echo "${POD_NAME} v$VERSION" > $RELEASE_NOTES
echo "================" >> $RELEASE_NOTES
echo >> $RELEASE_NOTES
echo "# Changelog from ${LATEST_TAG}..HEAD" >> $RELEASE_NOTES
git log ${LATEST_TAG}..HEAD | sed -e 's/^/# /' >> $RELEASE_NOTES
$EDITOR $RELEASE_NOTES
diff -q $RELEASE_NOTES ${RELEASE_NOTES}.backup > /dev/null 2>&1
STATUS=$?
rm ${RELEASE_NOTES}.backup
if [ $STATUS -eq 0 ]; then
rm $RELEASE_NOTES
die "No changes in release notes file. Aborting."
fi
fi
echo " > Release notes: $RELEASE_NOTES"
if [ ! -f "$PODSPEC" ]; then
die "Cannot find podspec: $PODSPEC. Aborting."
fi
echo " > Podspec exists"
git config --get user.signingkey > /dev/null || {
echo "[ERROR] No PGP found to sign tag. Aborting."
echo
echo " Creating a release requires signing the tag for security purposes. This allows users to verify the git cloned tree is from a trusted source."
echo " From a security perspective, it is not considered safe to trust the commits (including Author & Signed-off fields). It is easy for any"
echo " intermediate between you and the end-users to modify the git repository."
echo
echo " While not all users may choose to verify the PGP key for tagged releases. It is a good measure to ensure 'this is an official release'"
echo " from the official maintainers."
echo
echo " If you're creating your PGP key for the first time, use RSA with at least 4096 bits."
echo
echo "Related resources:"
echo " - Configuring your system for PGP: https://git-scm.com/book/tr/v2/Git-Tools-Signing-Your-Work"
echo " - Why: http://programmers.stackexchange.com/questions/212192/what-are-the-advantages-and-disadvantages-of-cryptographically-signing-commits-a"
echo
exit 2
}
echo " > Found PGP key for git"
# Verify cocoapods trunk ownership
pod trunk me | grep -q "$POD_NAME" || die "You do not have access to pod repository $POD_NAME. Aborting."
echo " > Verified ownership to $POD_NAME pod"
echo "--- Releasing version $VERSION (tag: $VERSION_TAG)..."
function restore_podspec {
if [ -f "${PODSPEC}.backup" ]; then
mv -f ${PODSPEC}{.backup,}
fi
}
echo "-> Ensuring no differences to origin/$REMOTE_BRANCH"
git fetch origin || die "Failed to fetch origin"
git diff --quiet HEAD "origin/$REMOTE_BRANCH" || die "HEAD is not aligned to origin/$REMOTE_BRANCH. Cannot update version safely"
echo "-> Setting podspec version"
cat "$PODSPEC" | grep 's.version' | grep -q "\"$VERSION\""
SET_PODSPEC_VERSION=$?
if [ $SET_PODSPEC_VERSION -eq 0 ]; then
echo " > Podspec already set to $VERSION. Skipping."
else
sed -i.backup "s/s.version *= *\".*\"/s.version = \"$VERSION\"/g" "$PODSPEC" || {
restore_podspec
die "Failed to update version in podspec"
}
git add ${PODSPEC} || { restore_podspec; die "Failed to add ${PODSPEC} to INDEX"; }
git commit -m "Bumping version to $VERSION" || { restore_podspec; die "Failed to push updated version: $VERSION"; }
fi
if [ -z "$FORCE_TAG" ]; then
echo "-> Tagging version"
git tag -s "$VERSION_TAG" -F "$RELEASE_NOTES" || die "Failed to tag version"
echo "-> Pushing tag to origin"
git push origin "$VERSION_TAG" || die "Failed to push tag '$VERSION_TAG' to origin"
else
echo "-> Tagging version (force)"
git tag -f -s "$VERSION_TAG" -F "$RELEASE_NOTES" || die "Failed to tag version"
echo "-> Pushing tag to origin (force)"
git push origin "$VERSION_TAG" -f || die "Failed to push tag '$VERSION_TAG' to origin"
fi
if [ $SET_PODSPEC_VERSION -ne 0 ]; then
git push origin "$REMOTE_BRANCH" || die "Failed to push to origin"
echo " > Pushed version to origin"
fi
echo
echo "---------------- Released as $VERSION_TAG ----------------"
echo
echo
echo "Pushing to pod trunk..."
$POD trunk push "$PODSPEC"
echo
echo "================ Finalizing the Release ================"
echo
echo " - Opening GitHub to mark this as a release..."
echo " - Paste the contents of $RELEASE_NOTES into the release notes. Tweak for GitHub styling."
echo " - Announce!"
open "https://github.com/Quick/Nimble/releases/new?tag=$VERSION_TAG"
rm ${PODSPEC}.backup
| {
"pile_set_name": "Github"
} |
# RUN: yaml2obj %s -o %t
# RUN: llvm-readobj -r %t | FileCheck %s --check-prefix=RELOCS
# RUN: obj2yaml %t | FileCheck %s --check-prefix=YAML
# RELOCS: Relocations [
# RELOCS-NEXT: Section (1) .text {
# RELOCS-NEXT: 0x3 IMAGE_REL_AMD64_REL32 .rdata (0)
# RELOCS-NEXT: 0xA IMAGE_REL_AMD64_REL32 .rdata (1)
# RELOCS-NEXT: 0x11 IMAGE_REL_AMD64_REL32 foo (2)
# RELOCS-NEXT: }
# RELOCS-NEXT: ]
## Check that we usually output relocations with SymbolName.
## For relocations with a non-unique symbol name, output
## SymbolTableIndex instead.
# YAML: Relocations:
# YAML-NEXT: - VirtualAddress: 3
# YAML-NEXT: SymbolTableIndex: 0
# YAML-NEXT: Type: IMAGE_REL_AMD64_REL32
# YAML-NEXT: - VirtualAddress: 10
# YAML-NEXT: SymbolTableIndex: 1
# YAML-NEXT: Type: IMAGE_REL_AMD64_REL32
# YAML-NEXT: - VirtualAddress: 17
# YAML-NEXT: SymbolName: foo
# YAML-NEXT: Type: IMAGE_REL_AMD64_REL32
--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: [ ]
sections:
- Name: .text
Characteristics: [ ]
Alignment: 4
SectionData: 488B0500000000488B0500000000488B0500000000
Relocations:
- VirtualAddress: 3
SymbolTableIndex: 0
Type: IMAGE_REL_AMD64_REL32
- VirtualAddress: 10
SymbolTableIndex: 1
Type: IMAGE_REL_AMD64_REL32
- VirtualAddress: 17
SymbolName: foo
Type: IMAGE_REL_AMD64_REL32
- Name: .rdata
Characteristics: [ ]
Alignment: 1
SectionData: '00'
- Name: .rdata
Characteristics: [ ]
Alignment: 1
SectionData: '01'
symbols:
- Name: .rdata
Value: 0
SectionNumber: 2
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- Name: .rdata
Value: 0
SectionNumber: 3
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_STATIC
- Name: foo
Value: 0
SectionNumber: 3
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_EXTERNAL
...
| {
"pile_set_name": "Github"
} |
package quickutils.core.views.text;
import android.content.Context;
import android.os.Handler;
import android.util.AttributeSet;
/**
* Created by cesarferreira on 11/06/14.
*/
public class TypeWriterTextView extends RobotoTextView {
private CharSequence mText;
private int mIndex;
private long mDelay = 500; //Default 500ms delay
// usage:
// Typewriter textView = (Typewriter) rowView.findViewById(R.id.gridItemTextView);
// textView.setCharacterDelay(60);
// textView.animateText(mCountries.get(position).name);
public TypeWriterTextView(Context context) {
super(context);
}
public TypeWriterTextView(Context context, AttributeSet attrs) {
super(context, attrs);
}
private Handler mHandler = new Handler();
private Runnable characterAdder = new Runnable() {
@Override
public void run() {
setText(mText.subSequence(0, mIndex++));
if (mIndex <= mText.length()) {
mHandler.postDelayed(characterAdder, mDelay);
}
}
};
public void animateText(CharSequence text) {
mText = text;
mIndex = 0;
setText("");
mHandler.removeCallbacks(characterAdder);
mHandler.postDelayed(characterAdder, mDelay);
}
public void setCharacterDelay(long millis) {
mDelay = millis;
}
}
| {
"pile_set_name": "Github"
} |
/* blas/source_her2k_c.h
*
* Copyright (C) 2001, 2007 Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
{
INDEX i, j, k;
int uplo, trans;
const BASE alpha_real = CONST_REAL0(alpha);
BASE alpha_imag = CONST_IMAG0(alpha);
if (beta == 1.0 && ((alpha_real == 0.0 && alpha_imag == 0.0) || K == 0))
return;
if (Order == CblasRowMajor) {
uplo = Uplo;
trans = Trans;
} else {
uplo = (Uplo == CblasUpper) ? CblasLower : CblasUpper;
trans = (Trans == CblasNoTrans) ? CblasConjTrans : CblasNoTrans;
alpha_imag *= -1; /* conjugate alpha */
}
/* form C := beta*C */
if (beta == 0.0) {
if (uplo == CblasUpper) {
for (i = 0; i < N; i++) {
for (j = i; j < N; j++) {
REAL(C, ldc * i + j) = 0.0;
IMAG(C, ldc * i + j) = 0.0;
}
}
} else {
for (i = 0; i < N; i++) {
for (j = 0; j <= i; j++) {
REAL(C, ldc * i + j) = 0.0;
IMAG(C, ldc * i + j) = 0.0;
}
}
}
} else if (beta != 1.0) {
if (uplo == CblasUpper) {
for (i = 0; i < N; i++) {
REAL(C, ldc * i + i) *= beta;
IMAG(C, ldc * i + i) = 0.0;
for (j = i + 1; j < N; j++) {
REAL(C, ldc * i + j) *= beta;
IMAG(C, ldc * i + j) *= beta;
}
}
} else {
for (i = 0; i < N; i++) {
for (j = 0; j < i; j++) {
REAL(C, ldc * i + j) *= beta;
IMAG(C, ldc * i + j) *= beta;
}
REAL(C, ldc * i + i) *= beta;
IMAG(C, ldc * i + i) = 0.0;
}
}
} else {
for (i = 0; i < N; i++) {
IMAG(C, ldc * i + i) = 0.0;
}
}
if (alpha_real == 0.0 && alpha_imag == 0.0)
return;
if (uplo == CblasUpper && trans == CblasNoTrans) {
for (i = 0; i < N; i++) {
/* Cii += alpha Aik conj(Bik) + conj(alpha) Bik conj(Aik) */
{
BASE temp_real = 0.0;
/* BASE temp_imag = 0.0; */
for (k = 0; k < K; k++) {
const BASE Aik_real = CONST_REAL(A, i * lda + k);
const BASE Aik_imag = CONST_IMAG(A, i * lda + k);
/* temp1 = alpha * Aik */
const BASE temp1_real = alpha_real * Aik_real - alpha_imag * Aik_imag;
const BASE temp1_imag = alpha_real * Aik_imag + alpha_imag * Aik_real;
const BASE Bik_real = CONST_REAL(B, i * ldb + k);
const BASE Bik_imag = CONST_IMAG(B, i * ldb + k);
temp_real += temp1_real * Bik_real + temp1_imag * Bik_imag;
}
REAL(C, i * ldc + i) += 2 * temp_real;
IMAG(C, i * ldc + i) = 0.0;
}
/* Cij += alpha Aik conj(Bjk) + conj(alpha) Bik conj(Ajk) */
for (j = i + 1; j < N; j++) {
BASE temp_real = 0.0;
BASE temp_imag = 0.0;
for (k = 0; k < K; k++) {
const BASE Aik_real = CONST_REAL(A, i * lda + k);
const BASE Aik_imag = CONST_IMAG(A, i * lda + k);
/* temp1 = alpha * Aik */
const BASE temp1_real = alpha_real * Aik_real - alpha_imag * Aik_imag;
const BASE temp1_imag = alpha_real * Aik_imag + alpha_imag * Aik_real;
const BASE Bik_real = CONST_REAL(B, i * ldb + k);
const BASE Bik_imag = CONST_IMAG(B, i * ldb + k);
const BASE Ajk_real = CONST_REAL(A, j * lda + k);
const BASE Ajk_imag = CONST_IMAG(A, j * lda + k);
/* temp2 = alpha * Ajk */
const BASE temp2_real = alpha_real * Ajk_real - alpha_imag * Ajk_imag;
const BASE temp2_imag = alpha_real * Ajk_imag + alpha_imag * Ajk_real;
const BASE Bjk_real = CONST_REAL(B, j * ldb + k);
const BASE Bjk_imag = CONST_IMAG(B, j * ldb + k);
/* Cij += alpha * Aik * conj(Bjk) + conj(alpha) * Bik * conj(Ajk) */
temp_real += ((temp1_real * Bjk_real + temp1_imag * Bjk_imag)
+ (Bik_real * temp2_real + Bik_imag * temp2_imag));
temp_imag += ((temp1_real * (-Bjk_imag) + temp1_imag * Bjk_real)
+ (Bik_real * (-temp2_imag) + Bik_imag * temp2_real));
}
REAL(C, i * ldc + j) += temp_real;
IMAG(C, i * ldc + j) += temp_imag;
}
}
} else if (uplo == CblasUpper && trans == CblasConjTrans) {
for (k = 0; k < K; k++) {
for (i = 0; i < N; i++) {
BASE Aki_real = CONST_REAL(A, k * lda + i);
BASE Aki_imag = CONST_IMAG(A, k * lda + i);
BASE Bki_real = CONST_REAL(B, k * ldb + i);
BASE Bki_imag = CONST_IMAG(B, k * ldb + i);
/* temp1 = alpha * conj(Aki) */
BASE temp1_real = alpha_real * Aki_real - alpha_imag * (-Aki_imag);
BASE temp1_imag = alpha_real * (-Aki_imag) + alpha_imag * Aki_real;
/* temp2 = conj(alpha) * conj(Bki) */
BASE temp2_real = alpha_real * Bki_real - alpha_imag * Bki_imag;
BASE temp2_imag = -(alpha_real * Bki_imag + alpha_imag * Bki_real);
/* Cii += alpha * conj(Aki) * Bki + conj(alpha) * conj(Bki) * Aki */
{
REAL(C, i * lda + i) += 2 * (temp1_real * Bki_real - temp1_imag * Bki_imag);
IMAG(C, i * lda + i) = 0.0;
}
for (j = i + 1; j < N; j++) {
BASE Akj_real = CONST_REAL(A, k * lda + j);
BASE Akj_imag = CONST_IMAG(A, k * lda + j);
BASE Bkj_real = CONST_REAL(B, k * ldb + j);
BASE Bkj_imag = CONST_IMAG(B, k * ldb + j);
/* Cij += alpha * conj(Aki) * Bkj + conj(alpha) * conj(Bki) * Akj */
REAL(C, i * lda + j) += (temp1_real * Bkj_real - temp1_imag * Bkj_imag)
+ (temp2_real * Akj_real - temp2_imag * Akj_imag);
IMAG(C, i * lda + j) += (temp1_real * Bkj_imag + temp1_imag * Bkj_real)
+ (temp2_real * Akj_imag + temp2_imag * Akj_real);
}
}
}
} else if (uplo == CblasLower && trans == CblasNoTrans) {
for (i = 0; i < N; i++) {
/* Cij += alpha Aik conj(Bjk) + conj(alpha) Bik conj(Ajk) */
for (j = 0; j < i; j++) {
BASE temp_real = 0.0;
BASE temp_imag = 0.0;
for (k = 0; k < K; k++) {
const BASE Aik_real = CONST_REAL(A, i * lda + k);
const BASE Aik_imag = CONST_IMAG(A, i * lda + k);
/* temp1 = alpha * Aik */
const BASE temp1_real = alpha_real * Aik_real - alpha_imag * Aik_imag;
const BASE temp1_imag = alpha_real * Aik_imag + alpha_imag * Aik_real;
const BASE Bik_real = CONST_REAL(B, i * ldb + k);
const BASE Bik_imag = CONST_IMAG(B, i * ldb + k);
const BASE Ajk_real = CONST_REAL(A, j * lda + k);
const BASE Ajk_imag = CONST_IMAG(A, j * lda + k);
/* temp2 = alpha * Ajk */
const BASE temp2_real = alpha_real * Ajk_real - alpha_imag * Ajk_imag;
const BASE temp2_imag = alpha_real * Ajk_imag + alpha_imag * Ajk_real;
const BASE Bjk_real = CONST_REAL(B, j * ldb + k);
const BASE Bjk_imag = CONST_IMAG(B, j * ldb + k);
/* Cij += alpha * Aik * conj(Bjk) + conj(alpha) * Bik * conj(Ajk) */
temp_real += ((temp1_real * Bjk_real + temp1_imag * Bjk_imag)
+ (Bik_real * temp2_real + Bik_imag * temp2_imag));
temp_imag += ((temp1_real * (-Bjk_imag) + temp1_imag * Bjk_real)
+ (Bik_real * (-temp2_imag) + Bik_imag * temp2_real));
}
REAL(C, i * ldc + j) += temp_real;
IMAG(C, i * ldc + j) += temp_imag;
}
/* Cii += alpha Aik conj(Bik) + conj(alpha) Bik conj(Aik) */
{
BASE temp_real = 0.0;
/* BASE temp_imag = 0.0; */
for (k = 0; k < K; k++) {
const BASE Aik_real = CONST_REAL(A, i * lda + k);
const BASE Aik_imag = CONST_IMAG(A, i * lda + k);
/* temp1 = alpha * Aik */
const BASE temp1_real = alpha_real * Aik_real - alpha_imag * Aik_imag;
const BASE temp1_imag = alpha_real * Aik_imag + alpha_imag * Aik_real;
const BASE Bik_real = CONST_REAL(B, i * ldb + k);
const BASE Bik_imag = CONST_IMAG(B, i * ldb + k);
temp_real += temp1_real * Bik_real + temp1_imag * Bik_imag;
}
REAL(C, i * ldc + i) += 2 * temp_real;
IMAG(C, i * ldc + i) = 0.0;
}
}
} else if (uplo == CblasLower && trans == CblasConjTrans) {
for (k = 0; k < K; k++) {
for (i = 0; i < N; i++) {
BASE Aki_real = CONST_REAL(A, k * lda + i);
BASE Aki_imag = CONST_IMAG(A, k * lda + i);
BASE Bki_real = CONST_REAL(B, k * ldb + i);
BASE Bki_imag = CONST_IMAG(B, k * ldb + i);
/* temp1 = alpha * conj(Aki) */
BASE temp1_real = alpha_real * Aki_real - alpha_imag * (-Aki_imag);
BASE temp1_imag = alpha_real * (-Aki_imag) + alpha_imag * Aki_real;
/* temp2 = conj(alpha) * conj(Bki) */
BASE temp2_real = alpha_real * Bki_real - alpha_imag * Bki_imag;
BASE temp2_imag = -(alpha_real * Bki_imag + alpha_imag * Bki_real);
for (j = 0; j < i; j++) {
BASE Akj_real = CONST_REAL(A, k * lda + j);
BASE Akj_imag = CONST_IMAG(A, k * lda + j);
BASE Bkj_real = CONST_REAL(B, k * ldb + j);
BASE Bkj_imag = CONST_IMAG(B, k * ldb + j);
/* Cij += alpha * conj(Aki) * Bkj + conj(alpha) * conj(Bki) * Akj */
REAL(C, i * lda + j) += (temp1_real * Bkj_real - temp1_imag * Bkj_imag)
+ (temp2_real * Akj_real - temp2_imag * Akj_imag);
IMAG(C, i * lda + j) += (temp1_real * Bkj_imag + temp1_imag * Bkj_real)
+ (temp2_real * Akj_imag + temp2_imag * Akj_real);
}
/* Cii += alpha * conj(Aki) * Bki + conj(alpha) * conj(Bki) * Aki */
{
REAL(C, i * lda + i) += 2 * (temp1_real * Bki_real - temp1_imag * Bki_imag);
IMAG(C, i * lda + i) = 0.0;
}
}
}
} else {
BLAS_ERROR("unrecognized operation");
}
}
| {
"pile_set_name": "Github"
} |
import 'package:flutter/material.dart';
enum NavigationRailKind {
Regular,
Impersistent,
Persistent,
// Extended,
}
class NavigationRail extends StatefulWidget {
NavigationRail({
this.leading,
this.extendedLeading, // TODO: leading could also be a function that takes in whether its extended or not
this.items,
this.actions,
this.currentIndex,
this.onNavigationIndexChange,
this.labelKind = NavigationRailKind.Regular,
this.labelTextStyle,
this.labelIconTheme,
this.selectedLabelTextStyle,
this.selectedLabelIconTheme,
});
final Widget leading;
final Widget extendedLeading;
final List<BottomNavigationBarItem> items;
final List<Widget> actions;
final int currentIndex;
final ValueChanged<int> onNavigationIndexChange;
final NavigationRailKind labelKind;
final TextStyle labelTextStyle;
final IconTheme labelIconTheme;
final TextStyle selectedLabelTextStyle;
final IconTheme selectedLabelIconTheme;
@override
_NavigationRailState createState() => _NavigationRailState();
}
class _NavigationRailState extends State<NavigationRail> with TickerProviderStateMixin {
List<AnimationController> _controllers = <AnimationController>[];
List<Animation<double>> _animations;
@override
void initState() {
super.initState();
_resetState();
}
void _resetState() {
for (AnimationController controller in _controllers)
controller.dispose();
_controllers = List<AnimationController>.generate(widget.items.length, (int index) {
return AnimationController(
duration: kThemeAnimationDuration,
// duration: Duration(milliseconds: 2000),
vsync: this,
)..addListener(_rebuild);
});
// _animations = List<CurvedAnimation>.generate(widget.items.length, (int index) {
// return CurvedAnimation(
// parent: _controllers[index],
// curve: Curves.fastOutSlowIn,
// reverseCurve: Curves.fastOutSlowIn.flipped,
// );
// });
_animations = _controllers.map((AnimationController controller) => controller.view).toList();
_controllers[widget.currentIndex].value = 1.0;
}
void _rebuild() {
setState(() {
// Rebuilding when any of the controllers tick, i.e. when the items are
// animated.
});
}
@override
void dispose() {
for (AnimationController controller in _controllers)
controller.dispose();
super.dispose();
}
@override
void didUpdateWidget(NavigationRail oldWidget) {
super.didUpdateWidget(oldWidget);
// No animated segue if the length of the items list changes.
if (widget.items.length != oldWidget.items.length) {
_resetState();
return;
}
if (widget.currentIndex != oldWidget.currentIndex) {
_controllers[oldWidget.currentIndex].reverse();
_controllers[widget.currentIndex].forward();
}
}
@override
Widget build(BuildContext context) {
final leading = widget.leading;
return DefaultTextStyle(
style: TextStyle(color: Theme.of(context).colorScheme.primary),
child: Container(
color: Theme.of(context).colorScheme.surface,
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
if (leading != null)
SizedBox(
height: 96,
width: 72,
child: Align(
alignment: Alignment.center,
child: leading,
),
),
for (int i = 0; i < widget.items.length; i++)
_RailItem(
animation: _animations[i],
labelKind: widget.labelKind,
selected: widget.currentIndex == i,
icon: widget.currentIndex == i
? widget.items[i].activeIcon
: widget.items[i].icon,
title: DefaultTextStyle(
style: TextStyle(
color: widget.currentIndex == i
? Theme.of(context).colorScheme.primary
: Theme.of(context).colorScheme.onSurface.withOpacity(0.64)),
child: widget.items[i].title,
),
onTap: () {
widget.onNavigationIndexChange(i);
},
),
Spacer(),
...widget.actions,
],
),
),
);
}
}
class _RailItem extends StatelessWidget {
_RailItem({
this.animation,
this.labelKind,
this.selected,
this.icon,
this.title,
this.onTap,
}) {
_positionAnimation = CurvedAnimation(
parent: ReverseAnimation(animation),
curve: Curves.easeInOut,
reverseCurve: Curves.easeInOut.flipped,
);
}
Animation _positionAnimation;
final Animation<double> animation;
final NavigationRailKind labelKind;
final bool selected;
final Icon icon;
final Widget title;
final VoidCallback onTap;
double fadeInValue() {
if (animation.value < 0.25) {
return 0;
} else if (animation.value < 0.75) {
return (animation.value - 0.25) * 2;
} else {
return 1;
}
}
double fadeOutValue() {
if (animation.value > 0.75) {
return (animation.value - 0.75) * 4;
} else {
return 0;
}
}
@override
Widget build(BuildContext context) {
Widget content;
switch (labelKind) {
case NavigationRailKind.Regular:
content = SizedBox(width: 72, child: icon);
break;
case NavigationRailKind.Impersistent:
content = SizedBox(
width: 72,
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
SizedBox(height: _positionAnimation.value * 18),
icon,
Opacity(
alwaysIncludeSemantics: true,
opacity: selected ? fadeInValue() : fadeOutValue(),
child: title,
),
],
),
);
break;
case NavigationRailKind.Persistent:
content = SizedBox(
width: 72,
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
icon,
title,
],
),
);
break;
}
final colors = Theme
.of(context)
.colorScheme;
return IconTheme(
data: IconThemeData(
color: selected ? colors.primary : colors.onSurface.withOpacity(0.64),
),
child: SizedBox(
height: 72,
child: Material(
type: MaterialType.transparency,
clipBehavior: Clip.none,
child: InkResponse(
onTap: onTap,
onHover: (_) {},
splashColor: Theme
.of(context)
.colorScheme
.primary
.withOpacity(0.12),
hoverColor: Theme
.of(context)
.colorScheme
.primary
.withOpacity(0.04),
child: content,
),
),
),
);
}
} | {
"pile_set_name": "Github"
} |
/** Used to match template delimiters. */
var reInterpolate = /<%=([\s\S]+?)%>/g;
module.exports = reInterpolate;
| {
"pile_set_name": "Github"
} |
# CS1003
| Property | Value |
| ---------------------- | ----------------------------------------------------------------- |
| Id | CS1003 |
| Title | Syntax error, 'char' expected\. |
| Severity | Error |
| Official Documentation | [link](http://docs.microsoft.com/en-us/dotnet/csharp/misc/cs1003) |
## Code Fixes
* Add missing comma
*\(Generated with [DotMarkdown](http://github.com/JosefPihrt/DotMarkdown)\)* | {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>jeecms-left</title>
<#include "/jeecms_sys/head.html"/>
</head>
<body>
<div class="box-positon">
<div class="rpos"><@s.m "global.position"/>: <@s.m "global.admin.home"/> - <@s.m "global.admin.index"/></div>
<div class="clear"></div>
</div>
<div class="body-box">
</div>
</body>
</html> | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<title>Page 1724</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style type="text/css">
<!--
p {margin: 0; padding: 0;} .ft00{font-size:9px;font-family:Times;color:#000000;}
.ft01{font-size:11px;font-family:Times;color:#0860a8;}
.ft02{font-size:11px;font-family:Times;color:#000000;}
.ft03{font-size:11px;line-height:17px;font-family:Times;color:#000000;}
-->
</style>
</head>
<body bgcolor="#A0A0A0" vlink="blue" link="blue">
<div id="page1724-div" style="position:relative;width:918px;height:1188px;">
<img width="918" height="1188" src="o_b5573232dd8f14811724.png" alt="background image"/>
<p style="position:absolute;top:1103px;left:442px;white-space:nowrap" class="ft00">VPERMI2W/D/Q/PS/PD—Full Permute From Two Tables Overwriting the Index</p>
<p style="position:absolute;top:47px;left:68px;white-space:nowrap" class="ft01">INSTRUCTION SET REFERENCE, V-Z</p>
<p style="position:absolute;top:1103px;left:68px;white-space:nowrap" class="ft00">5-338 Vol. 2C</p>
<p style="position:absolute;top:100px;left:68px;white-space:nowrap" class="ft01">Operation</p>
<p style="position:absolute;top:123px;left:68px;white-space:nowrap" class="ft03">VPERMI2W (EVEX encoded versions)<br/>(KL, VL) = (8, 128), (16, 256), (32, 512)<br/>IF VL = 128</p>
<p style="position:absolute;top:177px;left:88px;white-space:nowrap" class="ft02">id  2</p>
<p style="position:absolute;top:195px;left:68px;white-space:nowrap" class="ft03">FI;<br/>IF VL = 256</p>
<p style="position:absolute;top:231px;left:88px;white-space:nowrap" class="ft02">id  3</p>
<p style="position:absolute;top:249px;left:68px;white-space:nowrap" class="ft03">FI;<br/>IF VL = 512</p>
<p style="position:absolute;top:285px;left:88px;white-space:nowrap" class="ft02">id  4</p>
<p style="position:absolute;top:303px;left:68px;white-space:nowrap" class="ft03">FI;<br/>TMP_DEST DEST<br/>FOR j  0 TO KL-1</p>
<p style="position:absolute;top:357px;left:88px;white-space:nowrap" class="ft03">i  j * 16<br/>off  16*TMP_DEST[i+id:i]<br/>IF k1[j] OR *no writemask*</p>
<p style="position:absolute;top:411px;left:115px;white-space:nowrap" class="ft02">THEN </p>
<p style="position:absolute;top:429px;left:142px;white-space:nowrap" class="ft02">DEST[i+15:i]=TMP_DEST[i+id+1] ? SRC2[off+15:off] </p>
<p style="position:absolute;top:447px;left:169px;white-space:nowrap" class="ft02">       : SRC1[off+15:off]</p>
<p style="position:absolute;top:465px;left:115px;white-space:nowrap" class="ft02">ELSE </p>
<p style="position:absolute;top:483px;left:142px;white-space:nowrap" class="ft02">IF *merging-masking*</p>
<p style="position:absolute;top:483px;left:358px;white-space:nowrap" class="ft02">; merging-masking</p>
<p style="position:absolute;top:501px;left:169px;white-space:nowrap" class="ft03">THEN *DEST[i+15:i] remains unchanged*<br/>ELSE ; </p>
<p style="position:absolute;top:519px;left:364px;white-space:nowrap" class="ft02">zeroing-masking</p>
<p style="position:absolute;top:537px;left:196px;white-space:nowrap" class="ft02">DEST[i+15:i]  0</p>
<p style="position:absolute;top:555px;left:142px;white-space:nowrap" class="ft02">FI</p>
<p style="position:absolute;top:573px;left:88px;white-space:nowrap" class="ft02">FI;</p>
<p style="position:absolute;top:591px;left:68px;white-space:nowrap" class="ft03">ENDFOR<br/>DEST[MAX_VL-1:VL]  0</p>
<p style="position:absolute;top:645px;left:68px;white-space:nowrap" class="ft03">VPERMI2D/VPERMI2PS (EVEX encoded versions)<br/>(KL, VL) = (4, 128), (8, 256), (16, 512)<br/>IF VL = 128</p>
<p style="position:absolute;top:699px;left:88px;white-space:nowrap" class="ft02">id  1</p>
<p style="position:absolute;top:717px;left:68px;white-space:nowrap" class="ft03">FI;<br/>IF VL = 256</p>
<p style="position:absolute;top:753px;left:88px;white-space:nowrap" class="ft02">id  2</p>
<p style="position:absolute;top:771px;left:68px;white-space:nowrap" class="ft03">FI;<br/>IF VL = 512</p>
<p style="position:absolute;top:807px;left:88px;white-space:nowrap" class="ft02">id  3</p>
<p style="position:absolute;top:825px;left:68px;white-space:nowrap" class="ft03">FI;<br/>TMP_DEST DEST<br/>FOR j  0 TO KL-1</p>
<p style="position:absolute;top:879px;left:88px;white-space:nowrap" class="ft03">i  j * 32<br/>off  32*TMP_DEST[i+id:i]<br/>IF k1[j] OR *no writemask*</p>
<p style="position:absolute;top:933px;left:115px;white-space:nowrap" class="ft02">THEN </p>
<p style="position:absolute;top:951px;left:142px;white-space:nowrap" class="ft02">IF (EVEX.b = 1) AND (SRC2 *is memory*)</p>
<p style="position:absolute;top:969px;left:169px;white-space:nowrap" class="ft02">THEN </p>
<p style="position:absolute;top:987px;left:196px;white-space:nowrap" class="ft02">DEST[i+31:i]   TMP_DEST[i+id+1] ? SRC2[31:0] </p>
<p style="position:absolute;top:1005px;left:169px;white-space:nowrap" class="ft02">       : SRC1[off+31:off]</p>
<p style="position:absolute;top:1023px;left:142px;white-space:nowrap" class="ft02">ELSE </p>
<p style="position:absolute;top:1041px;left:169px;white-space:nowrap" class="ft03">DEST[i+31:i]  TMP_DEST[i+id+1] ? SRC2[off+31:off] <br/>       : SRC1[off+31:off]</p>
</div>
</body>
</html>
| {
"pile_set_name": "Github"
} |
<?php
declare(strict_types=1);
/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/
namespace Jane\OpenApi3\JsonSchema\Model;
class AuthorizationCodeOAuthFlow extends \ArrayObject
{
/**
* @var string|null
*/
protected $authorizationUrl;
/**
* @var string|null
*/
protected $tokenUrl;
/**
* @var string|null
*/
protected $refreshUrl;
/**
* @var string[]|null
*/
protected $scopes;
/**
* @return string|null
*/
public function getAuthorizationUrl(): ?string
{
return $this->authorizationUrl;
}
/**
* @param string|null $authorizationUrl
*
* @return self
*/
public function setAuthorizationUrl(?string $authorizationUrl): self
{
$this->authorizationUrl = $authorizationUrl;
return $this;
}
/**
* @return string|null
*/
public function getTokenUrl(): ?string
{
return $this->tokenUrl;
}
/**
* @param string|null $tokenUrl
*
* @return self
*/
public function setTokenUrl(?string $tokenUrl): self
{
$this->tokenUrl = $tokenUrl;
return $this;
}
/**
* @return string|null
*/
public function getRefreshUrl(): ?string
{
return $this->refreshUrl;
}
/**
* @param string|null $refreshUrl
*
* @return self
*/
public function setRefreshUrl(?string $refreshUrl): self
{
$this->refreshUrl = $refreshUrl;
return $this;
}
/**
* @return string[]|null
*/
public function getScopes(): ?iterable
{
return $this->scopes;
}
/**
* @param string[]|null $scopes
*
* @return self
*/
public function setScopes(?iterable $scopes): self
{
$this->scopes = $scopes;
return $this;
}
}
| {
"pile_set_name": "Github"
} |
[Script Info]
; Script generated by FFmpeg/Lavc
ScriptType: v4.00+
PlayResX: 384
PlayResY: 288
[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Serif,18,&Hffffff,&Hffffff,&H0,&H0,0,0,0,0,100,100,0,0,1,1,0,2,10,10,10,0
[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:00.97,0:00:02.54,Default,,0,0,0,,- Test 1.\N- Test 2.
Dialogue: 0,0:00:03.05,0:00:04.74,Default,,0,0,0,,Test 3.
Dialogue: 0,0:00:05.85,0:00:08.14,Default,,0,0,0,,- Test 4.\N- Test 5.
| {
"pile_set_name": "Github"
} |
a2ps-4.14-10.1.el6.i686.rpm
abrt-devel-1.1.13-4.el6.i686.rpm
abrt-plugin-bugzilla-1.1.13-4.el6.i686.rpm
abrt-plugin-filetransfer-1.1.13-4.el6.i686.rpm
abrt-plugin-mailx-1.1.13-4.el6.i686.rpm
abrt-plugin-reportuploader-1.1.13-4.el6.i686.rpm
abrt-plugin-runapp-1.1.13-4.el6.i686.rpm
adaptx-0.9.13-8.1.el6.i686.rpm
adaptx-doc-0.9.13-8.1.el6.i686.rpm
adaptx-javadoc-0.9.13-8.1.el6.i686.rpm
akonadi-devel-1.2.1-2.el6.i686.rpm
alsa-plugins-arcamav-1.0.21-3.el6.i686.rpm
alsa-plugins-maemo-1.0.21-3.el6.i686.rpm
alsa-plugins-oss-1.0.21-3.el6.i686.rpm
alsa-plugins-samplerate-1.0.21-3.el6.i686.rpm
alsa-plugins-speex-1.0.21-3.el6.i686.rpm
alsa-plugins-upmix-1.0.21-3.el6.i686.rpm
alsa-plugins-usbstream-1.0.21-3.el6.i686.rpm
alsa-plugins-vdownmix-1.0.21-3.el6.i686.rpm
amanda-devel-2.6.1p2-7.el6.i686.rpm
amanda-server-2.6.1p2-7.el6.i686.rpm
ant-contrib-1.0-0.10.b2.el6.noarch.rpm
ant-contrib-javadoc-1.0-0.10.b2.el6.noarch.rpm
anthy-devel-9100h-10.1.el6.i686.rpm
ant-javadoc-1.7.1-13.el6.i686.rpm
ant-jmf-1.7.1-13.el6.i686.rpm
antlr-javadoc-2.7.7-6.5.el6.i686.rpm
antlr-manual-2.7.7-6.5.el6.i686.rpm
ant-manual-1.7.1-13.el6.i686.rpm
ant-scripts-1.7.1-13.el6.i686.rpm
apache-jasper-javadoc-5.5.28-3.el6.noarch.rpm
apr-util-mysql-1.3.9-3.el6.i686.rpm
apr-util-odbc-1.3.9-3.el6.i686.rpm
apr-util-pgsql-1.3.9-3.el6.i686.rpm
apr-util-sqlite-1.3.9-3.el6.i686.rpm
asciidoc-8.4.5-4.1.el6.noarch.rpm
aspell-devel-0.60.6-12.el6.i686.rpm
atlas-3dnow-devel-3.8.3-12.4.el6.i686.rpm
atlas-devel-3.8.3-12.4.el6.i686.rpm
atlas-sse2-devel-3.8.3-12.4.el6.i686.rpm
atlas-sse3-devel-3.8.3-12.4.el6.i686.rpm
atlas-sse-devel-3.8.3-12.4.el6.i686.rpm
at-spi-devel-1.28.1-2.el6.i686.rpm
audiofile-devel-0.2.6-11.1.el6.i686.rpm
audispd-plugins-2.0.4-1.el6.i686.rpm
augeas-0.7.2-3.el6.i686.rpm
augeas-devel-0.7.2-3.el6.i686.rpm
autoconf213-2.13-20.1.el6.noarch.rpm
automake14-1.4p6-19.2.el6.noarch.rpm
automake15-1.5-27.el6.1.noarch.rpm
automake16-1.6.3-18.el6.1.noarch.rpm
autotrace-0.31.1-25.el6.i686.rpm
autotrace-devel-0.31.1-25.el6.i686.rpm
avahi-compat-howl-0.6.25-8.el6.i686.rpm
avahi-compat-howl-devel-0.6.25-8.el6.i686.rpm
avahi-compat-libdns_sd-0.6.25-8.el6.i686.rpm
avahi-compat-libdns_sd-devel-0.6.25-8.el6.i686.rpm
avahi-devel-0.6.25-8.el6.i686.rpm
avahi-dnsconfd-0.6.25-8.el6.i686.rpm
avahi-glib-devel-0.6.25-8.el6.i686.rpm
avahi-gobject-devel-0.6.25-8.el6.i686.rpm
avahi-qt3-0.6.25-8.el6.i686.rpm
avahi-qt3-devel-0.6.25-8.el6.i686.rpm
avahi-qt4-0.6.25-8.el6.i686.rpm
avahi-qt4-devel-0.6.25-8.el6.i686.rpm
avahi-ui-devel-0.6.25-8.el6.i686.rpm
avahi-ui-tools-0.6.25-8.el6.i686.rpm
avalon-framework-javadoc-4.1.4-7.el6.i686.rpm
avalon-framework-manual-4.1.4-7.el6.i686.rpm
avalon-logkit-1.2-8.2.el6.noarch.rpm
avalon-logkit-javadoc-1.2-8.2.el6.noarch.rpm
axis-javadoc-1.2.1-7.2.el6.noarch.rpm
axis-manual-1.2.1-7.2.el6.noarch.rpm
b43-tools-0-0.4.git20090125.1.el6.i686.rpm
babl-devel-0.1.2-4.el6.i686.rpm
babl-devel-docs-0.1.2-4.el6.noarch.rpm
bacula-console-5.0.0-7.el6.i686.rpm
bacula-console-bat-5.0.0-7.el6.i686.rpm
bacula-director-common-5.0.0-7.el6.i686.rpm
bacula-director-mysql-5.0.0-7.el6.i686.rpm
bacula-director-postgresql-5.0.0-7.el6.i686.rpm
bacula-director-sqlite-5.0.0-7.el6.i686.rpm
bacula-docs-5.0.0-7.el6.i686.rpm
bacula-storage-common-5.0.0-7.el6.i686.rpm
bacula-storage-mysql-5.0.0-7.el6.i686.rpm
bacula-storage-postgresql-5.0.0-7.el6.i686.rpm
bacula-storage-sqlite-5.0.0-7.el6.i686.rpm
bacula-traymonitor-5.0.0-7.el6.i686.rpm
baekmuk-ttf-fonts-ghostscript-2.2-28.el6.noarch.rpm
bash-doc-4.1.2-3.el6.i686.rpm
batik-demo-1.7-6.3.el6.i686.rpm
batik-javadoc-1.7-6.3.el6.i686.rpm
batik-rasterizer-1.7-6.3.el6.i686.rpm
batik-slideshow-1.7-6.3.el6.i686.rpm
batik-squiggle-1.7-6.3.el6.i686.rpm
batik-svgpp-1.7-6.3.el6.i686.rpm
batik-ttf2svg-1.7-6.3.el6.i686.rpm
bcel-javadoc-5.2-7.2.el6.i686.rpm
bcel-manual-5.2-7.2.el6.i686.rpm
bdftruncate-7.2-10.el6.i686.rpm
bea-stax-1.2.0-0.5.rc1.2.el6.i686.rpm
bea-stax-api-1.2.0-0.5.rc1.2.el6.i686.rpm
bea-stax-javadoc-1.2.0-0.5.rc1.2.el6.i686.rpm
bind-devel-9.7.0-5.P2.el6.i686.rpm
bind-sdb-9.7.0-5.P2.el6.i686.rpm
bison-devel-2.4.1-5.el6.i686.rpm
bison-runtime-2.4.1-5.el6.i686.rpm
bitmap-fonts-compat-0.3-15.el6.noarch.rpm
blas-devel-3.2.1-4.el6.i686.rpm
bluez-alsa-4.66-1.el6.i686.rpm
bluez-compat-4.66-1.el6.i686.rpm
bluez-cups-4.66-1.el6.i686.rpm
bluez-gstreamer-4.66-1.el6.i686.rpm
bluez-libs-devel-4.66-1.el6.i686.rpm
boost-doc-1.41.0-11.el6.i686.rpm
boost-graph-mpich2-1.41.0-11.el6.i686.rpm
boost-graph-openmpi-1.41.0-11.el6.i686.rpm
boost-math-1.41.0-11.el6.i686.rpm
boost-mpich2-1.41.0-11.el6.i686.rpm
boost-mpich2-devel-1.41.0-11.el6.i686.rpm
boost-mpich2-python-1.41.0-11.el6.i686.rpm
boost-openmpi-1.41.0-11.el6.i686.rpm
boost-openmpi-devel-1.41.0-11.el6.i686.rpm
boost-openmpi-python-1.41.0-11.el6.i686.rpm
boost-static-1.41.0-11.el6.i686.rpm
brasero-devel-2.28.3-6.el6.i686.rpm
brlapi-0.5.4-6.el6.i686.rpm
brlapi-devel-0.5.4-6.el6.i686.rpm
brlapi-java-0.5.4-6.el6.i686.rpm
brltty-at-spi-4.1-6.el6.i686.rpm
brltty-xw-4.1-6.el6.i686.rpm
broffice.org-base-3.2.1-19.6.el6.i686.rpm
broffice.org-brand-3.2.1-19.6.el6.i686.rpm
broffice.org-calc-3.2.1-19.6.el6.i686.rpm
broffice.org-draw-3.2.1-19.6.el6.i686.rpm
broffice.org-impress-3.2.1-19.6.el6.i686.rpm
broffice.org-math-3.2.1-19.6.el6.i686.rpm
broffice.org-writer-3.2.1-19.6.el6.i686.rpm
bsf-javadoc-2.4.0-4.1.el6.noarch.rpm
bsh-1.3.0-15.5.el6.noarch.rpm
bsh-demo-1.3.0-15.5.el6.noarch.rpm
bsh-desktop-1.3.0-15.5.el6.noarch.rpm
bsh-javadoc-1.3.0-15.5.el6.noarch.rpm
bsh-manual-1.3.0-15.5.el6.noarch.rpm
busybox-petitboot-1.15.1-10.el6.i686.rpm
bwidget-1.8.0-5.1.el6.noarch.rpm
byaccj-1.14-5.1.el6.i686.rpm
bzr-doc-2.1.1-2.el6.noarch.rpm
cairomm-devel-1.8.0-2.1.el6.i686.rpm
cairo-spice-devel-1.8.7.1-4.el6.i686.rpm
c-ares-devel-1.7.0-5.el6.i686.rpm
castor-0.9.5-5.3.el6.i686.rpm
castor-demo-0.9.5-5.3.el6.i686.rpm
castor-doc-0.9.5-5.3.el6.i686.rpm
castor-javadoc-0.9.5-5.3.el6.i686.rpm
castor-test-0.9.5-5.3.el6.i686.rpm
castor-xml-0.9.5-5.3.el6.i686.rpm
cdparanoia-devel-10.2-5.1.el6.i686.rpm
cdrskin-0.7.0-1.el6.i686.rpm
celt051-devel-0.5.1.3-0.el6.i686.rpm
check-static-0.9.8-1.1.el6.i686.rpm
cim-schema-docs-2.22.0-2.1.el6.noarch.rpm
classpathx-jaf-javadoc-1.0-15.4.el6.i686.rpm
classpathx-mail-javadoc-1.1.1-9.4.el6.noarch.rpm
cloog-ppl-devel-0.15.7-1.2.el6.i686.rpm
clucene-core-devel-0.9.21b-1.el6.i686.rpm
clutter-devel-1.0.6-3.el6.i686.rpm
clutter-doc-1.0.6-3.el6.noarch.rpm
clutter-gtk-0.10.2-2.el6.i686.rpm
clutter-gtk-devel-0.10.2-2.el6.i686.rpm
cmake-gui-2.6.4-5.el6.i686.rpm
compat-readline5-devel-5.2-17.1.el6.i686.rpm
compat-readline5-static-5.2-17.1.el6.i686.rpm
compiz-devel-0.8.2-24.el6.i686.rpm
ConsoleKit-devel-0.4.1-3.el6.i686.rpm
ConsoleKit-docs-0.4.1-3.el6.i686.rpm
control-center-devel-2.28.1-25.el6.i686.rpm
coolkey-devel-1.1.0-16.el6.i686.rpm
cppunit-1.12.1-3.1.el6.i686.rpm
cppunit-devel-1.12.1-3.1.el6.i686.rpm
cppunit-doc-1.12.1-3.1.el6.i686.rpm
cpufrequtils-devel-007-5.el6.i686.rpm
cracklib-devel-2.8.16-2.el6.i686.rpm
crash-devel-5.0.0-23.el6.i686.rpm
cryptsetup-luks-devel-1.1.2-2.el6.i686.rpm
culmus-fonts-compat-0.103-7.el6.noarch.rpm
cups-php-1.4.2-35.el6.i686.rpm
cvsps-2.2-0.6.b1.el6.i686.rpm
cyrus-imapd-devel-2.3.16-6.el6.i686.rpm
cyrus-sasl-ldap-2.1.23-8.el6.i686.rpm
cyrus-sasl-ntlm-2.1.23-8.el6.i686.rpm
cyrus-sasl-sql-2.1.23-8.el6.i686.rpm
db4-devel-static-4.7.25-16.el6.i686.rpm
db4-java-4.7.25-16.el6.i686.rpm
db4-tcl-4.7.25-16.el6.i686.rpm
dbus-c++-devel-0.5.0-0.10.20090203git13281b3.1.el6.i686.rpm
dbus-doc-1.2.24-3.el6.noarch.rpm
dbus-python-devel-0.83.0-6.1.el6.i686.rpm
dbus-qt-devel-0.70-7.2.el6.i686.rpm
debugmode-9.03.17-1.el6.i686.rpm
deltaiso-3.5-0.5.20090913git.el6.i686.rpm
devhelp-devel-2.28.1-3.el6.i686.rpm
DeviceKit-power-devel-014-1.el6.i686.rpm
device-mapper-devel-1.02.53-8.el6.i686.rpm
device-mapper-event-devel-1.02.53-8.el6.i686.rpm
dhcp-devel-4.1.1-12.P1.el6.i686.rpm
dialog-devel-1.1-9.20080819.1.el6.i686.rpm
dirmngr-1.0.3-4.el6.i686.rpm
dirsplit-1.1.9-11.el6.i686.rpm
dmraid-devel-1.0.0.rc16-10.el6.i686.rpm
dmraid-events-logwatch-1.0.0.rc16-10.el6.i686.rpm
dovecot-devel-2.0-0.10.beta6.20100630.el6.i686.rpm
doxygen-doxywizard-1.6.1-4.el6.i686.rpm
dracut-generic-004-32.el6.noarch.rpm
dracut-tools-004-32.el6.noarch.rpm
drpmsync-3.5-0.5.20090913git.el6.i686.rpm
dvipdfm-0.13.2d-41.1.el6.i686.rpm
dvipdfmx-0-0.31.20090708cvs.el6.i686.rpm
eclipse-cdt-parsers-6.0.2-3.el6.i686.rpm
eclipse-cdt-sdk-6.0.2-3.el6.i686.rpm
eclipse-emf-examples-2.5.0-4.4.el6.i686.rpm
eclipse-emf-sdk-2.5.0-4.4.el6.i686.rpm
eclipse-emf-xsd-2.5.0-4.4.el6.i686.rpm
eclipse-emf-xsd-sdk-2.5.0-4.4.el6.i686.rpm
eclipse-gef-examples-3.5.2-1.el6.i686.rpm
eclipse-gef-sdk-3.5.2-1.el6.i686.rpm
eclipse-nls-en_AA-3.5.0.v20090620043401-4.el6.i686.rpm
eclipse-nls-en_AU-3.5.0.v20090620043401-4.el6.i686.rpm
ecryptfs-utils-devel-82-6.el6.i686.rpm
ecryptfs-utils-python-82-6.el6.i686.rpm
edac-utils-devel-0.9-11.2.el6.i686.rpm
eggdbus-devel-0.6-3.el6.i686.rpm
elfutils-devel-static-0.148-1.el6.i686.rpm
elfutils-libelf-devel-static-0.148-1.el6.i686.rpm
emacs-a2ps-4.14-10.1.el6.i686.rpm
emacs-a2ps-el-4.14-10.1.el6.i686.rpm
emacs-anthy-9100h-10.1.el6.noarch.rpm
emacs-anthy-el-9100h-10.1.el6.noarch.rpm
emacs-auctex-doc-11.85-10.el6.noarch.rpm
emacs-auctex-el-11.85-10.el6.noarch.rpm
emacs-el-23.1-20.el6.i686.rpm
emacs-git-1.7.1-2.el6.noarch.rpm
emacs-git-el-1.7.1-2.el6.noarch.rpm
emacs-gnuplot-el-4.2.6-2.el6.i686.rpm
emacs-mercurial-1.4-3.el6.i686.rpm
emacs-mercurial-el-1.4-3.el6.i686.rpm
emacs-pyrex-0.9.8.4-4.1.el6.noarch.rpm
enchant-aspell-1.5.0-4.el6.i686.rpm
enchant-devel-1.5.0-4.el6.i686.rpm
enchant-voikko-1.5.0-4.el6.i686.rpm
eog-devel-2.28.2-4.el6.i686.rpm
epydoc-3.0.1-5.1.el6.noarch.rpm
esound-devel-0.2.41-3.1.el6.i686.rpm
esound-libs-0.2.41-3.1.el6.i686.rpm
esound-tools-0.2.41-3.1.el6.i686.rpm
espeak-1.40.02-3.1.el6.i686.rpm
espeak-devel-1.40.02-3.1.el6.i686.rpm
evince-devel-2.28.2-14.el6.i686.rpm
evolution-conduits-2.28.3-10.el6.i686.rpm
evolution-devel-2.28.3-10.el6.i686.rpm
evolution-mapi-devel-0.28.3-6.el6.i686.rpm
evolution-perl-2.28.3-10.el6.i686.rpm
evolution-pst-2.28.3-10.el6.i686.rpm
evolution-spamassassin-2.28.3-10.el6.i686.rpm
exempi-devel-2.1.0-5.el6.i686.rpm
exiv2-0.18.2-2.1.el6.i686.rpm
exiv2-devel-0.18.2-2.1.el6.i686.rpm
expect-devel-5.44.1.15-2.el6.i686.rpm
expectk-5.44.1.15-2.el6.i686.rpm
fakechroot-2.9-24.1.el6.i686.rpm
fakechroot-libs-2.9-24.1.el6.i686.rpm
farsight2-devel-0.0.16-1.1.el6.i686.rpm
farsight2-python-0.0.16-1.1.el6.i686.rpm
fence-virtd-libvirt-qpid-0.2.1-5.el6.i686.rpm
festival-devel-1.96-18.el6.i686.rpm
festival-docs-1.4.2-18.el6.noarch.rpm
festival-speechtools-devel-1.2.96-18.el6.i686.rpm
festival-speechtools-utils-1.2.96-18.el6.i686.rpm
festvox-awb-arctic-hts-0.20061229-18.el6.noarch.rpm
festvox-bdl-arctic-hts-0.20061229-18.el6.noarch.rpm
festvox-clb-arctic-hts-0.20061229-18.el6.noarch.rpm
festvox-jmk-arctic-hts-0.20061229-18.el6.noarch.rpm
festvox-kal-diphone-0.19990610-18.el6.noarch.rpm
festvox-ked-diphone-0.19990610-18.el6.noarch.rpm
festvox-rms-arctic-hts-0.20061229-18.el6.noarch.rpm
ffmpeg-spice-devel-0.4.9-0.15.5spice.20080908.el6.i686.rpm
fftw-3.2.1-3.1.el6.i686.rpm
fftw-devel-3.2.1-3.1.el6.i686.rpm
fftw-static-3.2.1-3.1.el6.i686.rpm
file-static-5.04-5.el6.i686.rpm
finch-2.6.6-5.el6.i686.rpm
finch-devel-2.6.6-5.el6.i686.rpm
fipscheck-devel-1.2.0-4.1.el6.i686.rpm
firstaidkit-devel-0.2.10-4.el6.noarch.rpm
firstaidkit-plugin-all-0.2.10-4.el6.i686.rpm
firstaidkit-plugin-grub-0.2.10-4.el6.i686.rpm
firstaidkit-plugin-key-recovery-0.2.10-4.el6.noarch.rpm
firstaidkit-plugin-mdadm-conf-0.2.10-4.el6.noarch.rpm
firstaidkit-plugin-passwd-0.2.10-4.el6.noarch.rpm
firstaidkit-plugin-xserver-0.2.10-4.el6.noarch.rpm
flac-devel-1.2.1-6.1.el6.i686.rpm
flute-javadoc-1.3.0-3.OOo31.el6.noarch.rpm
fontforge-20090622-2.1.el6.i686.rpm
fontforge-devel-20090622-2.1.el6.i686.rpm
fontpackages-devel-1.41-1.1.el6.noarch.rpm
fontpackages-tools-1.41-1.1.el6.noarch.rpm
fop-javadoc-0.95-4.2.el6.i686.rpm
fprintd-devel-0.1-19.git04fd09cfa.el6.noarch.rpm
freeglut-2.6.0-1.el6.i686.rpm
freeglut-devel-2.6.0-1.el6.i686.rpm
freeipmi-devel-0.7.16-3.el6.i686.rpm
freeradius-krb5-2.1.9-3.el6.i686.rpm
freeradius-ldap-2.1.9-3.el6.i686.rpm
freeradius-mysql-2.1.9-3.el6.i686.rpm
freeradius-perl-2.1.9-3.el6.i686.rpm
freeradius-postgresql-2.1.9-3.el6.i686.rpm
freeradius-python-2.1.9-3.el6.i686.rpm
freeradius-unixODBC-2.1.9-3.el6.i686.rpm
freeradius-utils-2.1.9-3.el6.i686.rpm
freetype-demos-2.3.11-5.el6.i686.rpm
gc-devel-7.1-10.el6.i686.rpm
gcdmaster-1.2.3-4.el6.i686.rpm
gconfmm26-devel-2.28.0-1.el6.i686.rpm
gdbm-devel-1.8.0-36.el6.i686.rpm
gd-devel-2.0.35-10.el6.i686.rpm
gd-progs-2.0.35-10.el6.i686.rpm
gedit-devel-2.28.4-3.el6.i686.rpm
gegl-devel-0.1.2-3.el6.i686.rpm
geoclue-devel-0.11.1.1-0.13.20091026git73b6729.el6.i686.rpm
geoclue-doc-0.11.1.1-0.13.20091026git73b6729.el6.noarch.rpm
geoclue-gui-0.11.1.1-0.13.20091026git73b6729.el6.i686.rpm
geoclue-gypsy-0.11.1.1-0.13.20091026git73b6729.el6.i686.rpm
ggz-base-libs-devel-0.99.5-5.1.el6.i686.rpm
ghostscript-devel-8.70-6.el6.i686.rpm
ghostscript-doc-8.70-6.el6.i686.rpm
ghostscript-gtk-8.70-6.el6.i686.rpm
giflib-devel-4.1.6-3.1.el6.i686.rpm
giflib-utils-4.1.6-3.1.el6.i686.rpm
gimp-devel-2.6.9-4.el6.i686.rpm
gimp-devel-tools-2.6.9-4.el6.i686.rpm
git-all-1.7.1-2.el6.noarch.rpm
git-cvs-1.7.1-2.el6.noarch.rpm
git-daemon-1.7.1-2.el6.i686.rpm
git-email-1.7.1-2.el6.noarch.rpm
git-gui-1.7.1-2.el6.noarch.rpm
gitk-1.7.1-2.el6.noarch.rpm
git-svn-1.7.1-2.el6.noarch.rpm
gitweb-1.7.1-2.el6.noarch.rpm
glade3-libgladeui-devel-3.6.7-2.1.el6.i686.rpm
glib2-static-2.22.5-5.el6.i686.rpm
glibc-static-2.12-1.7.el6.i686.rpm
glibmm24-devel-2.22.1-1.el6.i686.rpm
glibmm24-doc-2.22.1-1.el6.i686.rpm
glpk-4.40-1.1.el6.i686.rpm
glpk-devel-4.40-1.1.el6.i686.rpm
glpk-doc-4.40-1.1.el6.i686.rpm
glpk-static-4.40-1.1.el6.i686.rpm
glpk-utils-4.40-1.1.el6.i686.rpm
gmp-static-4.3.1-7.el6.i686.rpm
gnome-bluetooth-libs-devel-2.28.6-8.el6.i686.rpm
gnome-disk-utility-devel-2.30.1-2.el6.i686.rpm
gnome-disk-utility-ui-devel-2.30.1-2.el6.i686.rpm
gnome-games-extra-2.28.2-2.el6.i686.rpm
gnome-games-help-2.28.2-2.el6.noarch.rpm
gnome-mag-devel-0.15.9-2.el6.i686.rpm
gnome-media-apps-2.29.91-6.el6.i686.rpm
gnome-media-devel-2.29.91-6.el6.i686.rpm
gnome-menus-devel-2.28.0-4.el6.i686.rpm
gnome-packagekit-extra-2.28.3-3.el6.i686.rpm
gnome-panel-devel-2.30.2-5.el6.i686.rpm
gnome-pilot-devel-2.0.17-9.el6.i686.rpm
gnome-power-manager-extra-2.28.3-3.el6.i686.rpm
gnome-python2-brasero-2.28.0-4.el6.i686.rpm
gnome-python2-devel-2.28.0-3.el6.i686.rpm
gnome-python2-evince-2.28.0-4.el6.i686.rpm
gnome-python2-evolution-2.28.0-4.el6.i686.rpm
gnome-python2-gnomedesktop-2.28.0-4.el6.i686.rpm
gnome-python2-gnomeprint-2.28.0-4.el6.i686.rpm
gnome-python2-gtksourceview-2.28.0-4.el6.i686.rpm
gnome-python2-gtkspell-2.25.3-20.el6.i686.rpm
gnome-python2-libgtop2-2.28.0-4.el6.i686.rpm
gnome-python2-metacity-2.28.0-4.el6.i686.rpm
gnome-python2-totem-2.28.0-4.el6.i686.rpm
gnome-session-custom-session-2.28.0-15.el6.i686.rpm
gnome-settings-daemon-devel-2.28.2-11.el6.i686.rpm
gnome-speech-devel-0.4.25-3.1.el6.i686.rpm
gnome-speech-espeak-0.4.25-3.1.el6.i686.rpm
gnome-system-log-2.28.1-10.el6.i686.rpm
gnome-utils-devel-2.28.1-10.el6.i686.rpm
gnome-vfsmm26-2.26.0-2.el6.i686.rpm
gnome-vfsmm26-devel-2.26.0-2.el6.i686.rpm
gnuchess-5.07-14.1.el6.i686.rpm
gnu-efi-3.0g-2.el6.i686.rpm
gnupg2-smime-2.0.14-4.el6.i686.rpm
gnuplot-doc-4.2.6-2.el6.i686.rpm
gnuplot-latex-4.2.6-2.el6.noarch.rpm
gnuplot-minimal-4.2.6-2.el6.i686.rpm
gnutls-guile-2.8.5-4.el6.i686.rpm
gnutls-utils-2.8.5-4.el6.i686.rpm
gob2-2.0.16-5.el6.i686.rpm
gok-devel-2.28.1-5.el6.i686.rpm
gperf-3.0.3-9.1.el6.i686.rpm
gpgme-devel-1.1.8-3.el6.i686.rpm
gpm-devel-1.20.6-11.el6.i686.rpm
gpm-static-1.20.6-11.el6.i686.rpm
gprolog-1.3.1-6.el6.i686.rpm
gprolog-docs-1.3.1-6.el6.i686.rpm
gprolog-examples-1.3.1-6.el6.i686.rpm
graphviz-2.26.0-4.el6.i686.rpm
graphviz-devel-2.26.0-4.el6.i686.rpm
graphviz-doc-2.26.0-4.el6.i686.rpm
graphviz-gd-2.26.0-4.el6.i686.rpm
graphviz-graphs-2.26.0-4.el6.i686.rpm
graphviz-guile-2.26.0-4.el6.i686.rpm
graphviz-java-2.26.0-4.el6.i686.rpm
graphviz-lua-2.26.0-4.el6.i686.rpm
graphviz-perl-2.26.0-4.el6.i686.rpm
graphviz-php-2.26.0-4.el6.i686.rpm
graphviz-python-2.26.0-4.el6.i686.rpm
graphviz-ruby-2.26.0-4.el6.i686.rpm
graphviz-tcl-2.26.0-4.el6.i686.rpm
groff-gxditview-1.18.1.4-21.el6.i686.rpm
groff-perl-1.18.1.4-21.el6.i686.rpm
gsl-devel-1.13-1.el6.i686.rpm
gsl-static-1.13-1.el6.i686.rpm
gsm-devel-1.0.13-4.el6.i686.rpm
gsm-tools-1.0.13-4.el6.i686.rpm
gssdp-devel-0.7.1-1.el6.i686.rpm
gssdp-docs-0.7.1-1.el6.noarch.rpm
gstreamer-devel-docs-0.10.29-1.el6.noarch.rpm
gstreamer-plugins-bad-free-devel-0.10.19-2.el6.i686.rpm
gstreamer-plugins-bad-free-devel-docs-0.10.19-2.el6.i686.rpm
gstreamer-plugins-bad-free-extras-0.10.19-2.el6.i686.rpm
gstreamer-plugins-base-devel-docs-0.10.29-1.el6.noarch.rpm
gstreamer-plugins-good-devel-0.10.23-1.el6.i686.rpm
gstreamer-python-devel-0.10.16-1.1.el6.i686.rpm
gtk2-engines-devel-2.18.4-5.el6.i686.rpm
gtk2-immodules-2.18.9-4.el6.i686.rpm
gtk+extra-devel-2.1.1-13.el6.i686.rpm
gtkglext-devel-1.2.0-11.el6.i686.rpm
gtkglext-libs-1.2.0-11.el6.i686.rpm
gtkhtml2-devel-2.11.1-7.el6.i686.rpm
gtkhtml3-devel-3.28.3-3.el6.i686.rpm
gtkmm24-devel-2.18.2-1.el6.i686.rpm
gtkmm24-docs-2.18.2-1.el6.i686.rpm
gtksourceview-1.8.5-7.el6.1.i686.rpm
gtksourceview2-devel-2.8.2-4.el6.i686.rpm
gtksourceview-devel-1.8.5-7.el6.1.i686.rpm
gtkspell-devel-2.0.16-1.el6.i686.rpm
gtk-vnc-devel-0.3.10-3.el6.i686.rpm
gucharmap-devel-2.28.2-2.el6.i686.rpm
guile-devel-1.8.7-4.el6.i686.rpm
gupnp-devel-0.13.2-1.el6.i686.rpm
gupnp-docs-0.13.2-1.el6.noarch.rpm
gupnp-igd-devel-0.1.3-3.1.el6.i686.rpm
gutenprint-devel-5.2.5-2.el6.i686.rpm
gutenprint-doc-5.2.5-2.el6.i686.rpm
gutenprint-extras-5.2.5-2.el6.i686.rpm
gutenprint-foomatic-5.2.5-2.el6.i686.rpm
gypsy-0.7-2.el6.i686.rpm
gypsy-devel-0.7-2.el6.i686.rpm
gypsy-docs-0.7-2.el6.noarch.rpm
hal-docs-0.5.14-8.el6.i686.rpm
hamcrest-demo-1.1-9.4.el6.i686.rpm
hamcrest-javadoc-1.1-9.4.el6.noarch.rpm
help2man-1.36.4-6.el6.noarch.rpm
hesiod-devel-3.1.0-19.el6.i686.rpm
hispavoces-pal-diphone-1.0.0-18.el6.noarch.rpm
hispavoces-sfl-diphone-1.0.0-18.el6.noarch.rpm
hspell-1.1-3.2.el6.i686.rpm
hspell-devel-1.1-3.2.el6.i686.rpm
hsqldb-demo-1.8.0.10-8.el6.i686.rpm
hsqldb-javadoc-1.8.0.10-8.el6.i686.rpm
hsqldb-manual-1.8.0.10-8.el6.i686.rpm
ht2html-2.0-10.1.el6.noarch.rpm
htdig-web-3.2.0-0.10.b6.el6.i686.rpm
html2ps-1.0-0.4.b5.el6.noarch.rpm
hyphen-devel-2.4-5.1.el6.i686.rpm
ibus-devel-1.3.4-3.el6.i686.rpm
ibus-devel-docs-1.3.4-3.el6.i686.rpm
ibus-pinyin-open-phrase-1.3.8-1.el6.i686.rpm
ibus-qt-devel-1.3.0-2.el6.i686.rpm
ibus-qt-docs-1.3.0-2.el6.i686.rpm
ibus-table-devel-1.2.0.20100111-4.el6.noarch.rpm
icon-naming-utils-0.8.90-3.1.el6.noarch.rpm
icu-4.2.1-9.el6.i686.rpm
icu4j-4.0.1-3.3.el6.i686.rpm
icu4j-javadoc-4.0.1-3.3.el6.i686.rpm
ilmbase-devel-1.0.1-6.1.el6.i686.rpm
ImageMagick-c++-devel-6.5.4.7-5.el6.i686.rpm
ImageMagick-devel-6.5.4.7-5.el6.i686.rpm
ImageMagick-doc-6.5.4.7-5.el6.i686.rpm
ImageMagick-perl-6.5.4.7-5.el6.i686.rpm
imsettings-devel-0.108.0-3.4.el6.i686.rpm
inkscape-docs-0.47-6.el6.i686.rpm
inkscape-view-0.47-6.el6.i686.rpm
intel-gpu-tools-2.11.0-7.el6.i686.rpm
iproute-doc-2.6.32-10.el6.i686.rpm
irssi-devel-0.8.15-3.el6.i686.rpm
iscsi-initiator-utils-devel-6.2.0.872-10.el6.i686.rpm
isdn4k-utils-devel-3.2-73.el6.i686.rpm
isdn4k-utils-vboxgetty-3.2-73.el6.i686.rpm
iso-codes-devel-3.16-2.el6.noarch.rpm
isomd5sum-devel-1.0.6-1.el6.i686.rpm
jakarta-commons-beanutils-1.7.0-12.5.el6.i686.rpm
jakarta-commons-beanutils-javadoc-1.7.0-12.5.el6.i686.rpm
jakarta-commons-codec-javadoc-1.3-11.7.el6.i686.rpm
jakarta-commons-collections-javadoc-3.2.1-3.4.el6.noarch.rpm
jakarta-commons-collections-testframework-3.2.1-3.4.el6.noarch.rpm
jakarta-commons-collections-testframework-javadoc-3.2.1-3.4.el6.noarch.rpm
jakarta-commons-collections-tomcat5-3.2.1-3.4.el6.noarch.rpm
jakarta-commons-daemon-javadoc-1.0.1-8.9.el6.i686.rpm
jakarta-commons-daemon-jsvc-1.0.1-8.9.el6.i686.rpm
jakarta-commons-dbcp-1.2.1-13.8.el6.noarch.rpm
jakarta-commons-dbcp-javadoc-1.2.1-13.8.el6.noarch.rpm
jakarta-commons-digester-1.7-10.6.el6.noarch.rpm
jakarta-commons-digester-javadoc-1.7-10.6.el6.noarch.rpm
jakarta-commons-discovery-javadoc-0.4-5.4.el6.noarch.rpm
jakarta-commons-el-javadoc-1.0-18.4.el6.noarch.rpm
jakarta-commons-httpclient-demo-3.1-0.6.el6.i686.rpm
jakarta-commons-httpclient-javadoc-3.1-0.6.el6.i686.rpm
jakarta-commons-httpclient-manual-3.1-0.6.el6.i686.rpm
jakarta-commons-io-javadoc-1.4-3.el6.noarch.rpm
jakarta-commons-lang-javadoc-2.4-1.1.el6.noarch.rpm
jakarta-commons-logging-javadoc-1.0.4-10.el6.noarch.rpm
jakarta-commons-net-javadoc-2.0-2.1.el6.noarch.rpm
jakarta-commons-pool-1.3-12.7.el6.i686.rpm
jakarta-commons-pool-javadoc-1.3-12.7.el6.i686.rpm
jakarta-oro-javadoc-2.0.8-6.6.el6.i686.rpm
jakarta-taglibs-standard-1.1.1-11.4.el6.noarch.rpm
jakarta-taglibs-standard-javadoc-1.1.1-11.4.el6.noarch.rpm
jasper-devel-1.900.1-15.el6.i686.rpm
jasper-utils-1.900.1-15.el6.i686.rpm
java-1.5.0-gcj-src-1.5.0.0-29.1.el6.i686.rpm
java-1.6.0-openjdk-demo-1.6.0.0-1.21.b17.el6.i686.rpm
java-1.6.0-openjdk-plugin-1.6.0.0-1.21.b17.el6.i686.rpm
java-1.6.0-openjdk-src-1.6.0.0-1.21.b17.el6.i686.rpm
javacc-4.1-0.5.el6.i686.rpm
javacc-demo-4.1-0.5.el6.i686.rpm
javacc-manual-4.1-0.5.el6.i686.rpm
java_cup-javadoc-0.10k-5.el6.i686.rpm
java_cup-manual-0.10k-5.el6.i686.rpm
javassist-3.9.0-6.el6.noarch.rpm
javassist-javadoc-3.9.0-6.el6.noarch.rpm
jcommon-serializer-javadoc-0.3.0-3.1.el6.noarch.rpm
jdepend-demo-2.9-1.2.el6.noarch.rpm
jdepend-javadoc-2.9-1.2.el6.noarch.rpm
jdom-demo-1.1.1-1.el6.noarch.rpm
jdom-javadoc-1.1.1-1.el6.noarch.rpm
jflex-1.4.1-0.7.el6.noarch.rpm
jflex-javadoc-1.4.1-0.7.el6.noarch.rpm
jlex-1.2.6-9.5.el6.i686.rpm
jlex-javadoc-1.2.6-9.5.el6.i686.rpm
jna-examples-3.2.4-2.el6.i686.rpm
jna-javadoc-3.2.4-2.el6.i686.rpm
jrefactory-2.8.9-9.10.el6.noarch.rpm
jsch-demo-0.1.41-2.2.el6.noarch.rpm
jsch-javadoc-0.1.41-2.2.el6.noarch.rpm
jss-javadoc-4.2.6-4.1.el6.i686.rpm
jtidy-1.0-0.4.r7dev.1.7.el6.noarch.rpm
jtidy-javadoc-1.0-0.4.r7dev.1.7.el6.noarch.rpm
jtidy-scripts-1.0-0.4.r7dev.1.7.el6.noarch.rpm
junit4-demo-4.5-5.3.el6.noarch.rpm
junit4-javadoc-4.5-5.3.el6.noarch.rpm
junit4-manual-4.5-5.3.el6.noarch.rpm
junit-demo-3.8.2-6.5.el6.i686.rpm
junit-javadoc-3.8.2-6.5.el6.i686.rpm
junit-manual-3.8.2-6.5.el6.i686.rpm
jython-2.2.1-4.8.el6.i686.rpm
jython-demo-2.2.1-4.8.el6.i686.rpm
jython-javadoc-2.2.1-4.8.el6.i686.rpm
jython-manual-2.2.1-4.8.el6.i686.rpm
jzlib-demo-1.0.7-7.5.el6.i686.rpm
jzlib-javadoc-1.0.7-7.5.el6.i686.rpm
k3b-devel-1.0.5-13.el6.i686.rpm
kdeartwork-4.3.4-6.el6.i686.rpm
kdeartwork-sounds-4.3.4-6.el6.noarch.rpm
kdeartwork-wallpapers-4.3.4-6.el6.noarch.rpm
kdegames-devel-4.3.4-5.el6.i686.rpm
kdelibs3-apidocs-3.5.10-23.el6.noarch.rpm
kdelibs-experimental-devel-4.3.4-3.el6.i686.rpm
kdepim3-devel-3.5.10-3.el6.i686.rpm
kdepimlibs-apidocs-4.3.4-4.el6.noarch.rpm
kdepim-runtime-devel-4.3.4-4.el6.i686.rpm
kdeplasma-addons-devel-4.3.4-5.el6.i686.rpm
kde-style-phase-4.3.4-6.el6.i686.rpm
kmid-devel-2.0-0.14.20080213svn.el6.i686.rpm
kpathsea-devel-2007-56.el6.i686.rpm
ladspa-1.13-6.1.el6.i686.rpm
ladspa-devel-1.13-6.1.el6.i686.rpm
lapack-devel-3.2.1-4.el6.i686.rpm
latex2html-2008-4.el6.noarch.rpm
lcms-1.19-1.el6.i686.rpm
lcms-devel-1.19-1.el6.i686.rpm
ldapjdk-javadoc-4.18-5.1.el6.i686.rpm
ldb-tools-0.9.10-23.el6.i686.rpm
lemon-3.6.20-1.el6.i686.rpm
lftp-scripts-4.0.9-1.el6.noarch.rpm
libarchive-devel-2.8.3-2.el6.i686.rpm
libassuan-devel-1.0.5-3.el6.i686.rpm
libasyncns-devel-0.8-1.1.el6.i686.rpm
libatasmart-devel-0.17-3.el6.i686.rpm
libatomic_ops-devel-1.2-8.gc.1.el6.i686.rpm
libavc1394-devel-0.5.3-9.1.el6.i686.rpm
libbase-javadoc-1.0.0-3.OOo31.1.el6.noarch.rpm
libburn-devel-0.7.0-1.el6.i686.rpm
libcap-ng-python-0.6.4-3.el6.i686.rpm
libcap-ng-utils-0.6.4-3.el6.i686.rpm
libc-client-2007e-11.el6.i686.rpm
libc-client-devel-2007e-11.el6.i686.rpm
libcdio-devel-0.81-3.1.el6.i686.rpm
libcgroup-pam-0.36.1-6.el6.i686.rpm
libchewing-devel-0.3.2-27.el6.i686.rpm
libchewing-python-0.3.2-27.el6.i686.rpm
libcmpiutil-devel-0.5.1-1.el6.1.i686.rpm
libcollection-devel-0.5.0-28.el6.i686.rpm
libconfig-devel-1.3.2-1.1.el6.i686.rpm
libcxgb3-static-1.2.5-4.el6.i686.rpm
libdaemon-devel-0.14-1.el6.i686.rpm
libdbi-dbd-sqlite-0.8.3-5.1.el6.i686.rpm
libdbi-devel-0.8.3-3.1.el6.i686.rpm
libdc1394-devel-2.1.2-3.4.el6.i686.rpm
libdc1394-docs-2.1.2-3.4.el6.i686.rpm
libdc1394-tools-2.1.2-3.4.el6.i686.rpm
libdhash-devel-0.4.0-28.el6.i686.rpm
libdiscid-devel-0.2.2-4.1.el6.i686.rpm
libdmx-devel-1.1.0-1.el6.i686.rpm
libdv-devel-1.0.0-8.1.el6.i686.rpm
libdvdread-devel-4.1.4-0.2.svn1183.el6.i686.rpm
libdv-tools-1.0.0-8.1.el6.i686.rpm
libedit-devel-2.11-4.20080712cvs.1.el6.i686.rpm
libEMF-1.0.4-1.el6.i686.rpm
libEMF-devel-1.0.4-1.el6.i686.rpm
libevent-devel-1.4.13-1.el6.i686.rpm
libffi-devel-3.0.5-3.2.el6.i686.rpm
libfontenc-devel-1.0.5-2.el6.i686.rpm
libfonts-javadoc-1.0.0-3.OOo31.el6.noarch.rpm
libformula-javadoc-0.2.0-3.OOo31.1.el6.noarch.rpm
libfprint-devel-0.1.0-19.pre2.el6.i686.rpm
libgail-gnome-devel-1.20.1-4.1.el6.i686.rpm
libgdata-0.5.0-2.el6.i686.rpm
libgdata-devel-0.5.0-2.el6.i686.rpm
libglademm24-devel-2.6.7-3.1.el6.i686.rpm
libgnomecanvasmm26-2.26.0-3.el6.i686.rpm
libgnomecanvasmm26-devel-2.26.0-3.el6.i686.rpm
libgnomecups-0.2.3-9.el6.i686.rpm
libgnomecups-devel-0.2.3-9.el6.i686.rpm
libgnomekbd-capplet-2.28.2-2.el6.i686.rpm
libgnomekbd-devel-2.28.2-2.el6.i686.rpm
libgnomemm26-2.28.0-2.el6.i686.rpm
libgnomemm26-devel-2.28.0-2.el6.i686.rpm
libgnomeprint22-2.18.6-4.el6.i686.rpm
libgnomeprint22-devel-2.18.6-4.el6.i686.rpm
libgnomeprintui22-2.18.4-3.el6.i686.rpm
libgnomeprintui22-devel-2.18.4-3.el6.i686.rpm
libgnomeuimm26-2.28.0-1.el6.i686.rpm
libgnomeuimm26-devel-2.28.0-1.el6.i686.rpm
libgpod-devel-0.7.2-6.el6.i686.rpm
libgpod-doc-0.7.2-6.el6.noarch.rpm
libgsf-gnome-1.14.15-5.el6.i686.rpm
libgsf-gnome-devel-1.14.15-5.el6.i686.rpm
libgsf-python-1.14.15-5.el6.i686.rpm
libgssglue-devel-0.1-8.1.el6.i686.rpm
libgtop2-devel-2.28.0-3.el6.i686.rpm
libgxim-devel-0.3.3-3.1.el6.i686.rpm
libhangul-devel-0.0.10-1.el6.i686.rpm
libhbaapi-devel-2.2-10.el6.i686.rpm
libibcm-devel-1.0.5-2.el6.i686.rpm
libibcm-static-1.0.5-2.el6.i686.rpm
libibcommon-devel-1.2.0-3.el6.i686.rpm
libibcommon-static-1.2.0-3.el6.i686.rpm
libibmad-devel-1.3.4-1.el6.i686.rpm
libibmad-static-1.3.4-1.el6.i686.rpm
libibumad-devel-1.3.4-1.el6.i686.rpm
libibumad-static-1.3.4-1.el6.i686.rpm
libibverbs-devel-static-1.1.4-2.el6.i686.rpm
libicu-devel-4.2.1-9.el6.i686.rpm
libicu-doc-4.2.1-9.el6.noarch.rpm
libid3tag-0.15.1b-11.el6.i686.rpm
libid3tag-devel-0.15.1b-11.el6.i686.rpm
libiec61883-devel-1.2.0-4.el6.i686.rpm
libiec61883-utils-1.2.0-4.el6.i686.rpm
libieee1284-python-0.2.11-9.el6.i686.rpm
libimobiledevice-devel-0.9.7-4.el6.i686.rpm
libimobiledevice-python-0.9.7-4.el6.i686.rpm
libini_config-devel-0.5.1-28.el6.i686.rpm
libiptcdata-devel-1.0.4-2.1.el6.i686.rpm
libiptcdata-python-1.0.4-2.1.el6.i686.rpm
libisofs-devel-0.6.32-1.el6.i686.rpm
libjpeg-static-6b-46.el6.i686.rpm
libksba-1.0.7-1.el6.i686.rpm
libksba-devel-1.0.7-1.el6.i686.rpm
liblayout-javadoc-0.2.9-4.OOo31.el6.noarch.rpm
libldb-devel-0.9.10-23.el6.i686.rpm
libloader-javadoc-1.0.0-2.OOo31.1.el6.noarch.rpm
libmalaga-7.12-6.el6.i686.rpm
libmatchbox-devel-1.9-6.1.el6.i686.rpm
libmcpp-devel-2.7.2-4.1.el6.i686.rpm
libmemcached-devel-0.31-1.1.el6.i686.rpm
libmlx4-static-1.0.1-7.el6.i686.rpm
libmpcdec-devel-1.2.6-6.1.el6.i686.rpm
libmsn-devel-4.0-0.15.beta8.1.el6.i686.rpm
libmthca-static-1.0.5-7.el6.i686.rpm
libmtp-devel-1.0.1-2.el6.i686.rpm
libmtp-examples-1.0.1-2.el6.i686.rpm
libmudflap-4.4.4-13.el6.i686.rpm
libmudflap-devel-4.4.4-13.el6.i686.rpm
libmusicbrainz3-devel-3.0.2-7.el6.i686.rpm
libmusicbrainz-devel-2.1.5-11.1.el6.i686.rpm
libnetfilter_conntrack-devel-0.0.100-2.el6.i686.rpm
libnfnetlink-devel-1.0.0-1.el6.i686.rpm
libnice-devel-0.0.9-3.el6.i686.rpm
libnih-devel-1.0.1-6.el6.i686.rpm
libntlm-devel-1.0-3.el6.i686.rpm
libogg-devel-1.1.4-2.1.el6.i686.rpm
libogg-devel-docs-1.1.4-2.1.el6.noarch.rpm
liboil-devel-0.3.16-4.1.el6.i686.rpm
libopenraw-devel-0.0.5-4.1.el6.i686.rpm
libopenraw-gnome-devel-0.0.5-4.1.el6.i686.rpm
libotf-devel-0.9.9-3.1.el6.i686.rpm
libpanelappletmm-devel-2.26.0-3.el6.i686.rpm
libpaper-1.1.23-6.1.el6.i686.rpm
libpaper-devel-1.1.23-6.1.el6.i686.rpm
libpath_utils-0.2.0-28.el6.i686.rpm
libpath_utils-devel-0.2.0-28.el6.i686.rpm
libpcap-devel-1.0.0-6.20091201git117cb5.el6.i686.rpm
libpciaccess-devel-0.10.9-2.el6.i686.rpm
libplist-devel-1.2-1.el6.i686.rpm
libplist-python-1.2-1.el6.i686.rpm
libpng-static-1.2.44-1.el6.i686.rpm
libproxy-devel-0.3.0-2.el6.i686.rpm
libproxy-gnome-0.3.0-2.el6.i686.rpm
libproxy-kde-0.3.0-2.el6.i686.rpm
libproxy-mozjs-0.3.0-2.el6.i686.rpm
libproxy-webkit-0.3.0-2.el6.i686.rpm
libpst-0.6.44-1.el6.i686.rpm
libpst-devel-0.6.44-1.el6.i686.rpm
libpst-devel-doc-0.6.44-1.el6.i686.rpm
libpst-doc-0.6.44-1.el6.i686.rpm
libpst-libs-0.6.44-1.el6.i686.rpm
libpst-python-0.6.44-1.el6.i686.rpm
libpurple-devel-2.6.6-5.el6.i686.rpm
libpurple-perl-2.6.6-5.el6.i686.rpm
libpurple-tcl-2.6.6-5.el6.i686.rpm
libraw1394-devel-2.0.4-1.el6.i686.rpm
librdmacm-devel-1.0.10-2.el6.i686.rpm
librdmacm-static-1.0.10-2.el6.i686.rpm
libreadline-java-0.8.0-24.3.el6.i686.rpm
libreadline-java-javadoc-0.8.0-24.3.el6.i686.rpm
libref_array-0.1.0-28.el6.i686.rpm
libref_array-devel-0.1.0-28.el6.i686.rpm
librelp-devel-0.1.1-4.1.el6.i686.rpm
librepository-javadoc-1.0.0-2.OOo31.1.el6.noarch.rpm
libsamplerate-devel-0.1.7-2.1.el6.i686.rpm
libselinux-ruby-2.0.94-2.el6.i686.rpm
libselinux-static-2.0.94-2.el6.i686.rpm
libsemanage-devel-2.0.43-4.el6.i686.rpm
libsemanage-static-2.0.43-4.el6.i686.rpm
libsepol-static-2.0.41-3.el6.i686.rpm
libsexy-devel-0.1.11-13.el6.i686.rpm
libshout-devel-2.2.2-5.1.el6.i686.rpm
libsigc++20-devel-2.2.4.2-1.el6.i686.rpm
libsigc++20-doc-2.2.4.2-1.el6.i686.rpm
libsmbclient-devel-3.5.4-68.el6.i686.rpm
libsmi-devel-0.4.8-4.el6.i686.rpm
libsndfile-devel-1.0.20-3.el6.i686.rpm
libspectre-devel-0.2.4-1.el6.i686.rpm
libspiro-devel-20071029-3.1.el6.i686.rpm
libss-devel-1.41.12-3.el6.i686.rpm
libssh2-devel-1.2.2-7.el6.i686.rpm
libssh2-docs-1.2.2-7.el6.i686.rpm
libsysfs-devel-2.1.0-6.1.el6.i686.rpm
libtalloc-devel-2.0.1-1.1.el6.i686.rpm
libtar-devel-1.2.11-16.el6.i686.rpm
libtasn1-tools-2.3-3.el6.i686.rpm
libtdb-devel-1.2.1-2.el6.i686.rpm
libtevent-devel-0.9.8-8.el6.i686.rpm
libtextcat-devel-2.2-10.el6.i686.rpm
libthai-devel-0.1.12-3.el6.i686.rpm
libtheora-devel-1.1.0-2.el6.i686.rpm
libtheora-devel-docs-1.1.0-2.el6.noarch.rpm
libtidy-0.99.0-19.20070615.1.el6.i686.rpm
libtidy-devel-0.99.0-19.20070615.1.el6.i686.rpm
libtiff-static-3.9.4-1.el6.i686.rpm
libtirpc-devel-0.2.1-1.el6.i686.rpm
libtool-ltdl-devel-2.2.6-15.5.el6.i686.rpm
libtopology-doc-0.3-7.el6.noarch.rpm
libuninameslist-20080409-3.1.el6.i686.rpm
libuninameslist-devel-20080409-3.1.el6.i686.rpm
libusb1-devel-1.0.3-1.el6.i686.rpm
libusb1-static-1.0.3-1.el6.i686.rpm
libusb-static-0.1.12-23.el6.i686.rpm
libuser-devel-0.56.13-4.el6.i686.rpm
libutempter-devel-1.1.5-4.1.el6.i686.rpm
libv4l-devel-0.6.3-2.el6.i686.rpm
libvirt-java-javadoc-0.4.5-2.el6.noarch.rpm
libvisual-devel-0.4.0-9.1.el6.i686.rpm
libvncserver-devel-0.9.7-4.el6.i686.rpm
libvoikko-2.2.2-1.el6.i686.rpm
libvoikko-devel-2.2.2-1.el6.i686.rpm
libvorbis-devel-1.2.3-4.el6.i686.rpm
libvorbis-devel-docs-1.2.3-4.el6.noarch.rpm
libvpx-devel-0.9.0-7.el6.i686.rpm
libvpx-utils-0.9.0-7.el6.i686.rpm
libwmf-devel-0.2.8.4-22.el6.i686.rpm
libwnck-devel-2.28.0-2.el6.i686.rpm
libwpd-devel-0.8.14-4.1.el6.i686.rpm
libwpd-tools-0.8.14-4.1.el6.i686.rpm
libwpg-devel-0.1.3-4.1.el6.i686.rpm
libwpg-tools-0.1.3-4.1.el6.i686.rpm
libwsman-devel-2.2.3-6.el6.i686.rpm
libwvstreams-devel-4.6-6.el6.i686.rpm
libxcb-doc-1.5-1.el6.noarch.rpm
libxcb-python-1.5-1.el6.i686.rpm
libXevie-1.0.2-7.1.el6.i686.rpm
libXevie-devel-1.0.2-7.1.el6.i686.rpm
libXfont-devel-1.4.1-1.el6.i686.rpm
libxklavier-devel-4.0-7.el6.i686.rpm
libxml2-static-2.7.6-1.el6.i686.rpm
libXres-devel-1.0.4-1.el6.i686.rpm
libxslt-python-1.1.26-2.el6.i686.rpm
libXvMC-devel-1.0.4-8.1.el6.i686.rpm
libXxf86dga-devel-1.1.1-1.el6.i686.rpm
libzip-0.9-3.1.el6.i686.rpm
libzip-devel-0.9-3.1.el6.i686.rpm
linuxdoc-tools-0.9.65-3.el6.i686.rpm
lksctp-tools-devel-1.0.10-5.el6.i686.rpm
lksctp-tools-doc-1.0.10-5.el6.i686.rpm
lldpad-devel-0.9.38-3.el6.i686.rpm
lm_sensors-sensord-3.1.1-10.el6.i686.rpm
lockdev-devel-1.0.1-18.el6.i686.rpm
log4cpp-devel-1.0-13.el6.i686.rpm
log4j-javadoc-1.2.14-6.4.el6.i686.rpm
log4j-manual-1.2.14-6.4.el6.i686.rpm
lpg-2.0.17-4.1.el6.i686.rpm
lpg-java-2.0.17-4.1.el6.noarch.rpm
lpsolve-devel-5.5.0.15-2.el6.i686.rpm
lua-devel-5.1.4-4.1.el6.i686.rpm
lua-static-5.1.4-4.1.el6.i686.rpm
lucene-demo-2.3.1-5.9.el6.noarch.rpm
lucene-javadoc-2.3.1-5.9.el6.noarch.rpm
lvm2-devel-2.02.72-8.el6.i686.rpm
lzo-2.03-3.1.el6.i686.rpm
lzo-devel-2.03-3.1.el6.i686.rpm
lzo-minilzo-2.03-3.1.el6.i686.rpm
m17n-contrib-chinese-1.1.10-3.el6.noarch.rpm
m17n-contrib-esperanto-1.1.10-3.el6.noarch.rpm
m17n-contrib-pashto-1.1.10-3.el6.noarch.rpm
m17n-contrib-russian-1.1.10-3.el6.noarch.rpm
m17n-contrib-tai-1.1.10-3.el6.noarch.rpm
m17n-contrib-vietnamese-1.1.10-3.el6.noarch.rpm
m17n-db-amharic-1.5.5-1.1.el6.noarch.rpm
m17n-db-arabic-1.5.5-1.1.el6.noarch.rpm
m17n-db-armenian-1.5.5-1.1.el6.noarch.rpm
m17n-db-cham-1.5.5-1.1.el6.noarch.rpm
m17n-db-chinese-1.5.5-1.1.el6.noarch.rpm
m17n-db-common-cjk-1.5.5-1.1.el6.noarch.rpm
m17n-db-croatian-1.5.5-1.1.el6.noarch.rpm
m17n-db-danish-1.5.5-1.1.el6.noarch.rpm
m17n-db-devel-1.5.5-1.1.el6.noarch.rpm
m17n-db-dhivehi-1.5.5-1.1.el6.noarch.rpm
m17n-db-farsi-1.5.5-1.1.el6.noarch.rpm
m17n-db-french-1.5.5-1.1.el6.noarch.rpm
m17n-db-generic-1.5.5-1.1.el6.noarch.rpm
m17n-db-greek-1.5.5-1.1.el6.noarch.rpm
m17n-db-gregorian-1.5.5-1.1.el6.noarch.rpm
m17n-db-hebrew-1.5.5-1.1.el6.noarch.rpm
m17n-db-japanese-1.5.5-1.1.el6.noarch.rpm
m17n-db-kazakh-1.5.5-1.1.el6.noarch.rpm
m17n-db-khmer-1.5.5-1.1.el6.noarch.rpm
m17n-db-korean-1.5.5-1.1.el6.noarch.rpm
m17n-db-lao-1.5.5-1.1.el6.noarch.rpm
m17n-db-latin-1.5.5-1.1.el6.noarch.rpm
m17n-db-myanmar-1.5.5-1.1.el6.noarch.rpm
m17n-db-russian-1.5.5-1.1.el6.noarch.rpm
m17n-db-serbian-1.5.5-1.1.el6.noarch.rpm
m17n-db-slovak-1.5.5-1.1.el6.noarch.rpm
m17n-db-swedish-1.5.5-1.1.el6.noarch.rpm
m17n-db-syriac-1.5.5-1.1.el6.noarch.rpm
m17n-db-uyghur-1.5.5-1.1.el6.noarch.rpm
m17n-db-vietnamese-1.5.5-1.1.el6.noarch.rpm
m17n-lib-devel-1.5.5-2.el6.i686.rpm
malaga-7.12-6.el6.i686.rpm
malaga-devel-7.12-6.el6.i686.rpm
malaga-suomi-voikko-1.5-1.el6.i686.rpm
mcpp-doc-2.7.2-4.1.el6.i686.rpm
meanwhile-devel-1.1.0-3.el6.i686.rpm
meanwhile-doc-1.1.0-3.el6.i686.rpm
memcached-devel-1.4.4-3.el6.i686.rpm
mendexk-2.6e-56.el6.i686.rpm
mercurial-hgk-1.4-3.el6.i686.rpm
mesa-demos-7.7-2.el6.i686.rpm
mesa-dri-drivers-experimental-7.7-2.el6.i686.rpm
mesa-libOSMesa-7.7-2.el6.i686.rpm
mesa-libOSMesa-devel-7.7-2.el6.i686.rpm
metacity-devel-2.28.0-20.el6.i686.rpm
mgetty-sendfax-1.1.36-8.el6.i686.rpm
mgetty-viewfax-1.1.36-8.el6.i686.rpm
mgetty-voice-1.1.36-8.el6.i686.rpm
minizip-1.2.3-25.el6.i686.rpm
minizip-devel-1.2.3-25.el6.i686.rpm
mobile-broadband-provider-info-devel-1.20100122-1.el6.noarch.rpm
mod_perl-devel-2.0.4-10.el6.i686.rpm
mpage-2.5.6-8.el6.1.i686.rpm
mpfr-devel-2.4.1-6.el6.i686.rpm
mpich2-devel-1.2.1-2.3.el6.i686.rpm
mpich2-doc-1.2.1-2.3.el6.noarch.rpm
mtr-gtk-0.75-5.el6.i686.rpm
mt-st-1.1-4.el6.i686.rpm
mtx-1.3.12-5.el6.i686.rpm
mvapich2-devel-1.4-5.el6.i686.rpm
mx4j-javadoc-3.0.1-9.13.el6.noarch.rpm
mx4j-manual-3.0.1-9.13.el6.noarch.rpm
mysql-embedded-5.1.47-4.el6.i686.rpm
mysql-embedded-devel-5.1.47-4.el6.i686.rpm
nasm-doc-2.07-7.el6.i686.rpm
nasm-rdoff-2.07-7.el6.i686.rpm
nautilus-devel-2.28.4-15.el6.i686.rpm
nautilus-sendto-devel-2.28.2-3.el6.i686.rpm
ncurses-static-5.7-3.20090208.el6.i686.rpm
neon-devel-0.29.3-1.2.el6.i686.rpm
netcf-0.1.6-4.el6.i686.rpm
netcf-devel-0.1.6-4.el6.i686.rpm
netpbm-devel-10.47.05-11.el6.i686.rpm
NetworkManager-devel-0.8.1-5.el6.i686.rpm
NetworkManager-glib-devel-0.8.1-5.el6.i686.rpm
newt-devel-0.52.11-2.el6.i686.rpm
newt-static-0.52.11-2.el6.i686.rpm
nfs-utils-lib-devel-1.1.5-1.el6.i686.rpm
nkf-2.0.8b-6.2.el6.i686.rpm
nmap-frontend-5.21-3.el6.noarch.rpm
nss_compat_ossl-devel-0.9.6-1.el6.i686.rpm
nss-pkcs11-devel-3.12.7-2.el6.i686.rpm
ntp-doc-4.2.4p8-2.el6.noarch.rpm
ntp-perl-4.2.4p8-2.el6.i686.rpm
numpy-f2py-1.3.0-6.2.el6.i686.rpm
nuvola-icon-theme-4.3.4-6.el6.noarch.rpm
objectweb-anttask-1.3.2-3.6.el6.noarch.rpm
objectweb-anttask-javadoc-1.3.2-3.6.el6.noarch.rpm
objectweb-asm-javadoc-3.1-7.2.el6.noarch.rpm
ocaml-3.11.2-2.el6.i686.rpm
ocaml-calendar-2.01.1-5.el6.i686.rpm
ocaml-calendar-devel-2.01.1-5.el6.i686.rpm
ocaml-camlp4-3.11.2-2.el6.i686.rpm
ocaml-camlp4-devel-3.11.2-2.el6.i686.rpm
ocaml-csv-1.1.7-6.2.el6.i686.rpm
ocaml-csv-devel-1.1.7-6.2.el6.i686.rpm
ocaml-curses-1.0.3-6.1.el6.i686.rpm
ocaml-curses-devel-1.0.3-6.1.el6.i686.rpm
ocaml-docs-3.11.2-2.el6.i686.rpm
ocaml-emacs-3.11.2-2.el6.i686.rpm
ocaml-extlib-1.5.1-8.2.el6.i686.rpm
ocaml-extlib-devel-1.5.1-8.2.el6.i686.rpm
ocaml-fileutils-0.4.0-4.1.el6.i686.rpm
ocaml-fileutils-devel-0.4.0-4.1.el6.i686.rpm
ocaml-findlib-1.2.5-5.el6.i686.rpm
ocaml-findlib-devel-1.2.5-5.el6.i686.rpm
ocaml-gettext-0.3.3-3.5.el6.i686.rpm
ocaml-gettext-devel-0.3.3-3.5.el6.i686.rpm
ocaml-labltk-3.11.2-2.el6.i686.rpm
ocaml-labltk-devel-3.11.2-2.el6.i686.rpm
ocaml-libvirt-0.6.1.0-6.2.el6.i686.rpm
ocaml-libvirt-devel-0.6.1.0-6.2.el6.i686.rpm
ocaml-ocamldoc-3.11.2-2.el6.i686.rpm
ocaml-runtime-3.11.2-2.el6.i686.rpm
ocaml-source-3.11.2-2.el6.i686.rpm
ocaml-x11-3.11.2-2.el6.i686.rpm
ocaml-xml-light-2.2.cvs20070817-13.2.el6.i686.rpm
ocaml-xml-light-devel-2.2.cvs20070817-13.2.el6.i686.rpm
oniguruma-5.9.1-3.1.el6.i686.rpm
oniguruma-devel-5.9.1-3.1.el6.i686.rpm
opal-devel-3.6.6-4.el6.i686.rpm
openchange-client-0.9-7.el6.i686.rpm
openchange-devel-0.9-7.el6.i686.rpm
openchange-devel-docs-0.9-7.el6.i686.rpm
opencryptoki-devel-2.3.1-5.el6.i686.rpm
openct-devel-0.6.19-4.el6.i686.rpm
opencv-devel-2.0.0-9.el6.i686.rpm
opencv-devel-docs-2.0.0-9.el6.noarch.rpm
opencv-python-2.0.0-9.el6.i686.rpm
OpenEXR-1.6.1-8.1.el6.i686.rpm
OpenEXR-devel-1.6.1-8.1.el6.i686.rpm
openhpi-devel-2.14.1-3.el6.i686.rpm
OpenIPMI-devel-2.0.16-12.el6.i686.rpm
OpenIPMI-perl-2.0.16-12.el6.i686.rpm
OpenIPMI-python-2.0.16-12.el6.i686.rpm
openjpeg-1.3-7.el6.i686.rpm
openjpeg-devel-1.3-7.el6.i686.rpm
openldap-servers-sql-2.4.19-15.el6.i686.rpm
openmpi-devel-1.4.1-4.3.el6.i686.rpm
openmpi-psm-1.4.1-4.3.el6.i686.rpm
openmpi-psm-devel-1.4.1-4.3.el6.i686.rpm
openobex-apps-1.4-7.el6.i686.rpm
openobex-devel-1.4-7.el6.i686.rpm
openoffice.org-bsh-3.2.1-19.6.el6.i686.rpm
openoffice.org-devel-3.2.1-19.6.el6.i686.rpm
openoffice.org-rhino-3.2.1-19.6.el6.i686.rpm
openoffice.org-sdk-3.2.1-19.6.el6.i686.rpm
openoffice.org-sdk-doc-3.2.1-19.6.el6.i686.rpm
openoffice.org-testtools-3.2.1-19.6.el6.i686.rpm
openscap-devel-0.6.0-1.el6.i686.rpm
openscap-perl-0.6.0-1.el6.i686.rpm
openscap-python-0.6.0-1.el6.i686.rpm
openscap-utils-0.6.0-1.el6.i686.rpm
opensm-devel-3.3.5-1.el6.i686.rpm
opensm-static-3.3.5-1.el6.i686.rpm
opensp-devel-1.5.2-12.1.el6.i686.rpm
openssl-perl-1.0.0-4.el6.i686.rpm
openssl-static-1.0.0-4.el6.i686.rpm
openswan-doc-2.6.24-8.el6.i686.rpm
openwsman-perl-2.2.3-6.el6.i686.rpm
openwsman-python-2.2.3-6.el6.i686.rpm
openwsman-ruby-2.2.3-6.el6.i686.rpm
oprofile-devel-0.9.6-7.el6.i686.rpm
pacemaker-cts-1.1.2-7.el6.i686.rpm
pacemaker-doc-1.1.2-7.el6.i686.rpm
PackageKit-backend-devel-0.5.8-13.el6.i686.rpm
PackageKit-browser-plugin-0.5.8-13.el6.i686.rpm
PackageKit-command-not-found-0.5.8-13.el6.i686.rpm
PackageKit-cron-0.5.8-13.el6.i686.rpm
PackageKit-debug-install-0.5.8-13.el6.i686.rpm
PackageKit-docs-0.5.8-13.el6.noarch.rpm
PackageKit-glib-devel-0.5.8-13.el6.i686.rpm
PackageKit-qt-0.5.8-13.el6.i686.rpm
PackageKit-qt-devel-0.5.8-13.el6.i686.rpm
pakchois-devel-0.4-3.2.el6.i686.rpm
pam_ssh_agent_auth-0.9-20.el6.i686.rpm
pangomm-devel-2.26.0-1.el6.i686.rpm
paps-devel-0.6.8-13.el6.i686.rpm
parted-devel-2.1-10.el6.i686.rpm
pciutils-devel-3.1.4-9.el6.i686.rpm
pciutils-devel-static-3.1.4-9.el6.i686.rpm
pcre-static-7.8-3.1.el6.i686.rpm
pcsc-lite-devel-1.5.2-6.el6.i686.rpm
pcsc-lite-doc-1.5.2-6.el6.i686.rpm
pdf-tools-0.29a-2.1.el6.noarch.rpm
pentaho-libxml-javadoc-1.0.0-2.OOo31.1.el6.noarch.rpm
pentaho-reporting-flow-engine-javadoc-0.9.2-5.OOo31.el6.noarch.rpm
perl-Algorithm-Diff-1.1902-9.el6.noarch.rpm
perl-AppConfig-1.66-6.el6.noarch.rpm
perl-Archive-Zip-1.30-2.el6.noarch.rpm
perl-B-Keywords-1.09-3.1.el6.noarch.rpm
perl-Business-ISBN-2.05-2.el6.noarch.rpm
perl-Business-ISBN-Data-20081208-2.el6.noarch.rpm
perl-Class-Accessor-0.31-6.1.el6.noarch.rpm
perl-Class-Data-Inheritable-0.08-3.1.el6.noarch.rpm
perl-Class-Inspector-1.24-4.el6.noarch.rpm
perl-Class-Singleton-1.4-6.el6.noarch.rpm
perl-Class-Trigger-0.13-2.1.el6.noarch.rpm
perl-Clone-0.31-3.1.el6.i686.rpm
perl-Config-Simple-4.59-5.1.el6.noarch.rpm
perl-Config-Tiny-2.12-7.1.el6.noarch.rpm
perl-Convert-BinHex-1.119-10.1.el6.noarch.rpm
perl-CSS-Tiny-1.15-4.el6.noarch.rpm
perl-Data-OptList-0.104-4.el6.noarch.rpm
perl-DateTime-0.5300-1.el6.i686.rpm
perl-DateTime-Format-DateParse-0.04-1.1.el6.noarch.rpm
perl-DateTime-Format-Mail-0.3001-6.el6.noarch.rpm
perl-DateTime-Format-W3CDTF-0.04-8.el6.noarch.rpm
perl-Devel-Cover-0.65-1.el6.i686.rpm
perl-Devel-Cycle-1.10-3.1.el6.noarch.rpm
perl-Devel-Leak-0.03-10.el6.i686.rpm
perl-Devel-StackTrace-1.22-4.el6.noarch.rpm
perl-Digest-BubbleBabble-0.01-11.el6.noarch.rpm
perl-Email-Date-Format-1.002-5.el6.noarch.rpm
perl-Exception-Class-1.29-1.1.el6.noarch.rpm
perl-ExtUtils-MakeMaker-Coverage-0.05-8.el6.noarch.rpm
perl-File-Copy-Recursive-0.38-4.el6.noarch.rpm
perl-File-Find-Rule-0.30-9.el6.noarch.rpm
perl-File-Find-Rule-Perl-1.09-2.el6.noarch.rpm
perl-File-HomeDir-0.86-3.el6.noarch.rpm
perl-File-pushd-1.00-3.1.el6.noarch.rpm
perl-File-Remove-1.42-4.el6.noarch.rpm
perl-File-Slurp-9999.13-7.el6.noarch.rpm
perl-File-Which-1.09-2.el6.noarch.rpm
perl-Font-AFM-1.20-3.1.el6.noarch.rpm
perl-Font-TTF-0.45-6.el6.noarch.rpm
perl-Frontier-RPC-Client-0.07b4p1-9.el6.noarch.rpm
perl-GD-2.44-3.el6.i686.rpm
perl-GD-Barcode-1.15-6.el6.noarch.rpm
perl-GDGraph-1.44-7.el6.noarch.rpm
perl-GDGraph3d-0.63-12.el6.noarch.rpm
perl-GDTextUtil-0.86-15.el6.noarch.rpm
perl-Hook-LexWrap-0.22-4.el6.noarch.rpm
perl-HTML-Format-2.04-11.1.el6.noarch.rpm
perl-HTML-Tree-3.23-10.el6.noarch.rpm
perl-Image-Base-1.07-14.el6.noarch.rpm
perl-Image-Info-1.28-6.el6.noarch.rpm
perl-Image-Size-3.2-4.el6.noarch.rpm
perl-Image-Xbm-1.08-12.el6.noarch.rpm
perl-Image-Xpm-1.09-12.el6.noarch.rpm
perl-IO-String-1.08-9.el6.noarch.rpm
perl-IO-stringy-2.110-10.1.el6.noarch.rpm
perl-IPC-Run3-0.043-3.el6.noarch.rpm
perl-JSON-2.15-5.el6.noarch.rpm
perl-List-MoreUtils-0.22-10.el6.i686.rpm
perl-Locale-Maketext-Gettext-1.27-1.1.el6.noarch.rpm
perl-Locale-PO-0.21-2.1.el6.noarch.rpm
perl-Makefile-DOM-0.004-1.1.el6.noarch.rpm
perl-Makefile-Parser-0.211-1.1.el6.noarch.rpm
perl-MIME-Lite-3.027-2.el6.noarch.rpm
perl-MIME-tools-5.427-4.el6.noarch.rpm
perl-MIME-Types-1.28-2.el6.noarch.rpm
perl-Module-Info-0.31-7.el6.noarch.rpm
perl-Module-Install-0.91-4.el6.noarch.rpm
perl-Module-ScanDeps-0.95-2.el6.noarch.rpm
perl-Net-DNS-Nameserver-0.65-2.el6.i686.rpm
perl-Net-IP-1.25-13.el6.noarch.rpm
perl-Net-Jabber-2.0-12.el6.noarch.rpm
perl-Net-SMTP-SSL-1.01-4.el6.noarch.rpm
perl-Net-XMPP-1.02-8.el6.noarch.rpm
perl-NKF-2.0.8b-6.2.el6.i686.rpm
perl-Number-Compare-0.01-13.el6.noarch.rpm
perl-Object-Deadly-0.09-6.el6.noarch.rpm
perl-Package-Generator-0.103-2.el6.noarch.rpm
perl-PadWalker-1.9-1.el6.i686.rpm
perl-Params-Util-1.00-3.el6.i686.rpm
perl-Params-Validate-0.92-3.el6.i686.rpm
perl-PAR-Dist-0.46-2.el6.noarch.rpm
perl-Parse-Yapp-1.05-41.el6.noarch.rpm
perl-PDF-Reuse-0.35-3.el6.noarch.rpm
perl-Perl-Critic-1.105-2.el6.noarch.rpm
perl-Perl-MinimumVersion-1.20-3.el6.noarch.rpm
perl-Pod-POM-0.25-2.el6.noarch.rpm
perl-Pod-Spell-1.01-6.1.el6.noarch.rpm
perl-PPI-1.206-4.el6.noarch.rpm
perl-PPI-HTML-1.07-7.el6.noarch.rpm
perl-prefork-1.04-2.el6.noarch.rpm
perl-Probe-Perl-0.01-4.el6.noarch.rpm
perl-Readonly-1.03-11.el6.noarch.rpm
perl-Readonly-XS-1.05-3.el6.i686.rpm
perl-SOAP-Lite-0.710.10-2.el6.noarch.rpm
perl-Spiffy-0.30-12.el6.noarch.rpm
perl-String-Format-1.15-2.1.el6.noarch.rpm
perl-Sub-Exporter-0.982-4.el6.noarch.rpm
perl-Sub-Install-0.925-6.el6.noarch.rpm
perl-Sub-Uplevel-0.2002-4.el6.noarch.rpm
perl-Syntax-Highlight-Engine-Kate-0.04-5.1.el6.noarch.rpm
perl-Taint-Runtime-0.03-9.el6.i686.rpm
perl-Task-Weaken-1.02-7.el6.noarch.rpm
perl-Template-Toolkit-2.22-5.el6.i686.rpm
perl-TermReadKey-2.30-10.el6.i686.rpm
perl-Test-Base-0.58-3.el6.noarch.rpm
perl-Test-ClassAPI-1.06-2.1.el6.noarch.rpm
perl-Test-CPAN-Meta-0.13-1.el6.noarch.rpm
perl-Test-Deep-0.106-1.el6.noarch.rpm
perl-Test-Differences-0.4801-3.el6.noarch.rpm
perl-Test-Exception-0.27-4.1.el6.noarch.rpm
perl-Test-Manifest-1.22-5.el6.noarch.rpm
perl-Test-Memory-Cycle-1.04-7.1.el6.noarch.rpm
perl-Test-MinimumVersion-0.011-2.1.el6.noarch.rpm
perl-Test-MockObject-1.09-3.1.el6.noarch.rpm
perl-Test-NoWarnings-0.084-5.1.el6.noarch.rpm
perl-Test-Object-0.07-6.el6.noarch.rpm
perl-Test-Output-0.12-3.el6.noarch.rpm
perl-Test-Perl-Critic-1.01-7.1.el6.noarch.rpm
perl-Test-Prereq-1.037-2.el6.noarch.rpm
perl-Test-Script-1.06-1.el6.noarch.rpm
perl-Test-Spelling-0.11-6.el6.noarch.rpm
perl-Test-SubCalls-1.09-1.el6.noarch.rpm
perl-Test-Taint-1.04-9.el6.i686.rpm
perl-Test-Tester-0.107-5.el6.noarch.rpm
perl-Test-Warn-0.21-2.el6.noarch.rpm
perl-TeX-Hyphen-0.140-9.el6.noarch.rpm
perl-Text-Autoformat-1.14.0-5.el6.noarch.rpm
perl-Text-Diff-1.37-2.1.el6.noarch.rpm
perl-Text-Glob-0.08-7.el6.noarch.rpm
perl-Text-PDF-0.29a-2.1.el6.noarch.rpm
perl-Text-Reform-1.12.2-6.el6.noarch.rpm
perl-Text-Unidecode-0.04-7.1.el6.noarch.rpm
perl-Tie-IxHash-1.21-10.1.el6.noarch.rpm
perl-Time-modules-2006.0814-5.el6.noarch.rpm
perl-Tree-DAG_Node-1.06-6.1.el6.noarch.rpm
perl-Unicode-Map8-0.12-20.el6.i686.rpm
perl-Unicode-String-2.09-12.el6.i686.rpm
perl-UNIVERSAL-can-1.15-1.el6.noarch.rpm
perl-UNIVERSAL-isa-1.03-1.el6.noarch.rpm
perl-WWW-Curl-4.09-3.el6.i686.rpm
perl-XML-LibXSLT-1.70-1.1.el6.i686.rpm
perl-XML-RSS-1.45-2.el6.noarch.rpm
perl-XML-Simple-2.18-6.el6.noarch.rpm
perl-XML-Stream-1.22-12.el6.noarch.rpm
perl-XML-TokeParser-0.05-2.1.el6.noarch.rpm
perl-XML-TreeBuilder-3.09-16.1.el6.noarch.rpm
perl-XML-XPath-1.13-10.el6.noarch.rpm
perl-XML-XPathEngine-0.12-3.el6.noarch.rpm
perl-YAML-0.70-4.el6.noarch.rpm
perl-YAML-Syck-1.07-4.el6.i686.rpm
perl-YAML-Tiny-1.40-2.el6.noarch.rpm
php-bcmath-5.3.2-6.el6.i686.rpm
php-dba-5.3.2-6.el6.i686.rpm
php-devel-5.3.2-6.el6.i686.rpm
php-embedded-5.3.2-6.el6.i686.rpm
php-enchant-5.3.2-6.el6.i686.rpm
php-imap-5.3.2-6.el6.i686.rpm
php-intl-5.3.2-6.el6.i686.rpm
php-mbstring-5.3.2-6.el6.i686.rpm
php-process-5.3.2-6.el6.i686.rpm
php-pspell-5.3.2-6.el6.i686.rpm
php-recode-5.3.2-6.el6.i686.rpm
php-snmp-5.3.2-6.el6.i686.rpm
php-tidy-5.3.2-6.el6.i686.rpm
php-zts-5.3.2-6.el6.i686.rpm
pidgin-devel-2.6.6-5.el6.i686.rpm
pidgin-docs-2.6.6-5.el6.i686.rpm
pidgin-perl-2.6.6-5.el6.i686.rpm
pilot-link-devel-0.12.4-6.el6.i686.rpm
pilot-link-perl-0.12.4-6.el6.i686.rpm
pinentry-qt4-0.7.6-5.el6.i686.rpm
pixman-spice-devel-0.13.3-5.el6.i686.rpm
pl-5.7.11-6.el6.i686.rpm
planner-devel-0.14.4-9.el6.i686.rpm
planner-eds-0.14.4-9.el6.i686.rpm
pl-devel-5.7.11-6.el6.i686.rpm
pl-jpl-5.7.11-6.el6.i686.rpm
plotutils-2.5-7.1.el6.i686.rpm
plotutils-devel-2.5-7.1.el6.i686.rpm
plpa-1.3.2-2.1.el6.i686.rpm
plpa-devel-1.3.2-2.1.el6.i686.rpm
pl-static-5.7.11-6.el6.i686.rpm
plymouth-devel-0.8.3-17.el6.i686.rpm
plymouth-plugin-fade-throbber-0.8.3-17.el6.i686.rpm
plymouth-plugin-script-0.8.3-17.el6.i686.rpm
plymouth-plugin-space-flares-0.8.3-17.el6.i686.rpm
plymouth-plugin-throbgress-0.8.3-17.el6.i686.rpm
plymouth-theme-fade-in-0.8.3-17.el6.noarch.rpm
plymouth-theme-script-0.8.3-17.el6.noarch.rpm
plymouth-theme-solar-0.8.3-17.el6.noarch.rpm
plymouth-theme-spinfinity-0.8.3-17.el6.noarch.rpm
pm-utils-devel-1.2.5-9.el6.i686.rpm
polkit-gnome-devel-0.96-3.el6.i686.rpm
polkit-gnome-docs-0.96-3.el6.i686.rpm
poppler-devel-0.12.4-3.el6.i686.rpm
poppler-glib-devel-0.12.4-3.el6.i686.rpm
poppler-qt-0.12.4-3.el6.i686.rpm
poppler-qt4-devel-0.12.4-3.el6.i686.rpm
poppler-qt-devel-0.12.4-3.el6.i686.rpm
popt-static-1.13-7.el6.i686.rpm
postfix-perl-scripts-2.6.6-2.el6.i686.rpm
ppl-devel-0.10.2-11.el6.i686.rpm
ppl-docs-0.10.2-11.el6.i686.rpm
ppl-gprolog-0.10.2-11.el6.i686.rpm
ppl-gprolog-static-0.10.2-11.el6.i686.rpm
ppl-java-0.10.2-11.el6.i686.rpm
ppl-java-javadoc-0.10.2-11.el6.i686.rpm
ppl-pwl-0.10.2-11.el6.i686.rpm
ppl-pwl-devel-0.10.2-11.el6.i686.rpm
ppl-pwl-docs-0.10.2-11.el6.i686.rpm
ppl-pwl-static-0.10.2-11.el6.i686.rpm
ppl-static-0.10.2-11.el6.i686.rpm
ppl-swiprolog-0.10.2-11.el6.i686.rpm
ppl-swiprolog-static-0.10.2-11.el6.i686.rpm
ppl-utils-0.10.2-11.el6.i686.rpm
ppl-yap-0.10.2-11.el6.i686.rpm
ppp-devel-2.4.5-5.el6.i686.rpm
pptp-setup-1.7.2-8.1.el6.i686.rpm
pstoedit-3.45-10.el6.i686.rpm
pstoedit-devel-3.45-10.el6.i686.rpm
psutils-perl-1.17-34.el6.noarch.rpm
pth-devel-2.0.7-9.3.el6.i686.rpm
ptlib-devel-2.6.5-3.el6.i686.rpm
publican-2.1-0.el6.i386.rpm
publican-doc-2.1-0.el6.i386.rpm
publican-redhat-2.0-1.el6.i686.rpm
pulseaudio-esound-compat-0.9.21-13.el6.i686.rpm
pulseaudio-module-zeroconf-0.9.21-13.el6.i686.rpm
pychart-doc-1.39-10.1.el6.noarch.rpm
pygtkglext-1.1.0-7.1.el6.i686.rpm
pygtkglext-devel-1.1.0-7.1.el6.i686.rpm
pygtksourceview-devel-2.8.0-1.el6.i686.rpm
pygtksourceview-doc-2.8.0-1.el6.i686.rpm
PyKDE4-akonadi-4.3.4-5.el6.i686.rpm
PyKDE4-devel-4.3.4-5.el6.i686.rpm
PyOpenGL-3.0.0-2.1.el6.noarch.rpm
PyOpenGL-Tk-3.0.0-2.1.el6.noarch.rpm
pyorbit-devel-2.24.0-5.el6.i686.rpm
Pyrex-0.9.8.4-4.1.el6.noarch.rpm
python-brlapi-0.5.4-6.el6.i686.rpm
python-coverage-3.0.1-2.el6.i686.rpm
python-docutils-0.6-1.el6.noarch.rpm
python-dtopt-0.1-6.el6.noarch.rpm
python-elixir-0.6.1-5.el6.noarch.rpm
python-gpod-0.7.2-6.el6.i686.rpm
python-imaging-devel-1.1.6-19.el6.i686.rpm
python-imaging-sane-1.1.6-19.el6.i686.rpm
python-imaging-tk-1.1.6-19.el6.i686.rpm
python-jinja2-2.2.1-1.el6.i686.rpm
python-kid-0.9.6-5.1.el6.noarch.rpm
python-lcms-1.19-1.el6.i686.rpm
python-libvoikko-2.2.2-1.el6.noarch.rpm
python-matplotlib-tk-0.99.1.2-1.el6.i686.rpm
python-mutagen-1.16-2.1.el6.noarch.rpm
python-paver-1.0-4.el6.noarch.rpm
python-psycopg2-doc-2.0.13-2.el6.i686.rpm
python-reportlab-docs-2.3-3.el6.noarch.rpm
python-repoze-what-docs-1.0.8-6.el6.noarch.rpm
python-repoze-what-plugins-sql-1.0-0.6.rc1.el6.noarch.rpm
python-repoze-who-plugins-sa-1.0-0.4.rc1.el6.noarch.rpm
python-sphinx-0.6.6-2.el6.noarch.rpm
python-sphinx-doc-0.6.6-2.el6.noarch.rpm
python-test-2.6.5-3.el6.i686.rpm
python-tools-2.6.5-3.el6.i686.rpm
python-turbocheetah-1.0-5.1.el6.noarch.rpm
python-turbokid-1.0.4-4.1.el6.noarch.rpm
python-twisted-core-doc-8.2.0-4.el6.i686.rpm
python-twisted-core-zsh-8.2.0-4.el6.i686.rpm
python-wsgiproxy-0.2-1.el6.noarch.rpm
pywbem-0.7.0-4.el6.noarch.rpm
qca2-devel-2.0.2-2.1.el6.i686.rpm
qdox-javadoc-1.9.2-2.el6.noarch.rpm
qimageblitz-devel-0.0.4-1.el6.i686.rpm
qimageblitz-examples-0.0.4-1.el6.i686.rpm
qt3-config-3.3.8b-29.el6.i686.rpm
qt3-designer-3.3.8b-29.el6.i686.rpm
qt3-devel-docs-3.3.8b-29.el6.i686.rpm
qt3-sqlite-3.3.8b-29.el6.i686.rpm
qt-demos-4.6.2-16.el6.i686.rpm
qt-examples-4.6.2-16.el6.i686.rpm
quagga-contrib-0.99.15-5.el6.i686.rpm
quagga-devel-0.99.15-5.el6.i686.rpm
quota-devel-3.17-10.el6.i686.rpm
qwt-5.1.1-4.1.el6.i686.rpm
qwt-devel-5.1.1-4.1.el6.i686.rpm
raptor-devel-1.4.18-5.el6.i686.rpm
rarian-devel-0.8.1-5.1.el6.i686.rpm
rasqal-devel-0.9.15-6.1.el6.i686.rpm
rcs-docs-5.7-37.el6.noarch.rpm
readline-static-6.0-3.el6.i686.rpm
recode-3.6-28.1.el6.i686.rpm
recode-devel-3.6-28.1.el6.i686.rpm
redland-devel-1.0.7-11.el6.i686.rpm
regexp-javadoc-1.5-4.4.el6.i686.rpm
rhino-demo-1.7-0.7.r2.2.el6.noarch.rpm
rhino-javadoc-1.7-0.7.r2.2.el6.noarch.rpm
rome-javadoc-0.9-4.2.el6.noarch.rpm
rpm-apidocs-4.8.0-12.el6.noarch.rpm
rpm-cron-4.8.0-12.el6.noarch.rpm
rrdtool-devel-1.3.8-6.el6.i686.rpm
rrdtool-doc-1.3.8-6.el6.i686.rpm
rrdtool-perl-1.3.8-6.el6.i686.rpm
rrdtool-php-1.3.8-6.el6.i686.rpm
rrdtool-python-1.3.8-6.el6.i686.rpm
rrdtool-ruby-1.3.8-6.el6.i686.rpm
rrdtool-tcl-1.3.8-6.el6.i686.rpm
ruby-devel-1.8.7.299-4.el6.i686.rpm
ruby-docs-1.8.7.299-4.el6.i686.rpm
ruby-flexmock-0.8.6-1.1.el6.noarch.rpm
rubygem-flexmock-0.8.6-1.1.el6.noarch.rpm
rubygem-flexmock-doc-0.8.6-1.1.el6.noarch.rpm
rubygem-rake-0.8.7-2.1.el6.noarch.rpm
rubygems-1.3.7-1.el6.noarch.rpm
ruby-irb-1.8.7.299-4.el6.i686.rpm
ruby-rdoc-1.8.7.299-4.el6.i686.rpm
ruby-ri-1.8.7.299-4.el6.i686.rpm
ruby-saslwrapper-0.1.934605-2.el6.i686.rpm
ruby-static-1.8.7.299-4.el6.i686.rpm
ruby-tcltk-1.8.7.299-4.el6.i686.rpm
sac-javadoc-1.3-5.1.el6.noarch.rpm
samba4-4.0.0-23.alpha11.el6.i686.rpm
samba4-devel-4.0.0-23.alpha11.el6.i686.rpm
samba4-pidl-4.0.0-23.alpha11.el6.i686.rpm
samba-doc-3.5.4-68.el6.i686.rpm
samba-domainjoin-gui-3.5.4-68.el6.i686.rpm
samba-swat-3.5.4-68.el6.i686.rpm
samba-winbind-devel-3.5.4-68.el6.i686.rpm
saslwrapper-devel-0.1.934605-2.el6.i686.rpm
saxon-aelfred-6.5.5-3.5.el6.noarch.rpm
saxon-demo-6.5.5-3.5.el6.noarch.rpm
saxon-javadoc-6.5.5-3.5.el6.noarch.rpm
saxon-jdom-6.5.5-3.5.el6.noarch.rpm
saxon-manual-6.5.5-3.5.el6.noarch.rpm
saxon-scripts-6.5.5-3.5.el6.noarch.rpm
sblim-cim-client2-javadoc-2.1.3-1.el6.noarch.rpm
sblim-cim-client2-manual-2.1.3-1.el6.noarch.rpm
sblim-cim-client-javadoc-1.3.9.1-1.el6.noarch.rpm
sblim-cim-client-manual-1.3.9.1-1.el6.noarch.rpm
sblim-cmpi-base-devel-1.6.0-1.el6.i686.rpm
sblim-cmpi-base-test-1.6.0-1.el6.i686.rpm
sblim-cmpi-devel-2.0.1-5.el6.i686.rpm
sblim-cmpi-dhcp-devel-1.0-1.el6.i686.rpm
sblim-cmpi-dhcp-test-1.0-1.el6.i686.rpm
sblim-cmpi-dns-devel-1.0-1.el6.i686.rpm
sblim-cmpi-dns-test-1.0-1.el6.i686.rpm
sblim-cmpi-fsvol-devel-1.5.0-2.el6.i686.rpm
sblim-cmpi-fsvol-test-1.5.0-2.el6.i686.rpm
sblim-cmpi-network-devel-1.4.0-1.el6.i686.rpm
sblim-cmpi-network-test-1.4.0-1.el6.i686.rpm
sblim-cmpi-nfsv3-test-1.1.0-1.el6.i686.rpm
sblim-cmpi-nfsv4-test-1.1.0-1.el6.i686.rpm
sblim-cmpi-params-test-1.3.0-1.el6.i686.rpm
sblim-cmpi-samba-devel-1.0-1.el6.i686.rpm
sblim-cmpi-samba-test-1.0-1.el6.i686.rpm
sblim-cmpi-sysfs-test-1.2.0-1.el6.i686.rpm
sblim-cmpi-syslog-test-0.8.0-1.el6.i686.rpm
sblim-gather-devel-2.2.1-2.el6.i686.rpm
sblim-gather-test-2.2.1-2.el6.i686.rpm
sblim-indication_helper-devel-0.5.0-1.el6.i686.rpm
sblim-sfcc-devel-2.2.1-4.el6.i686.rpm
sblim-testsuite-1.3.0-1.el6.noarch.rpm
sblim-tools-libra-devel-1.0-1.el6.i686.rpm
SDL-static-1.2.14-2.el6.i686.rpm
seahorse-devel-2.28.1-4.el6.i686.rpm
selinux-policy-doc-3.7.19-54.el6.noarch.rpm
sendmail-devel-8.14.4-8.el6.i686.rpm
sendmail-doc-8.14.4-8.el6.noarch.rpm
sendmail-milter-8.14.4-8.el6.i686.rpm
setools-3.3.7-4.el6.i686.rpm
setools-devel-3.3.7-4.el6.i686.rpm
setools-gui-3.3.7-4.el6.i686.rpm
setools-libs-java-3.3.7-4.el6.i686.rpm
setools-libs-tcl-3.3.7-4.el6.i686.rpm
setroubleshoot-doc-2.2.94-1.el6.i686.rpm
sg3_utils-devel-1.28-3.el6.i686.rpm
sharutils-4.7-6.1.el6.i686.rpm
slang-devel-2.2.1-1.el6.i686.rpm
slang-slsh-2.2.1-1.el6.i686.rpm
slang-static-2.2.1-1.el6.i686.rpm
slf4j-javadoc-1.5.8-7.el6.noarch.rpm
slf4j-manual-1.5.8-7.el6.noarch.rpm
soprano-apidocs-2.3.1-1.2.el6.noarch.rpm
soprano-devel-2.3.1-1.2.el6.i686.rpm
sox-devel-14.2.0-6.el6.i686.rpm
speex-devel-1.2-0.12.rc1.1.el6.i686.rpm
speex-tools-1.2-0.12.rc1.1.el6.i686.rpm
spice-common-devel-0.4.2-7.el6.i686.rpm
sqlite-doc-3.6.20-1.el6.i686.rpm
sqlite-tcl-3.6.20-1.el6.i686.rpm
stix-integrals-fonts-0.9-13.1.el6.noarch.rpm
stix-pua-fonts-0.9-13.1.el6.noarch.rpm
stix-sizes-fonts-0.9-13.1.el6.noarch.rpm
stix-variants-fonts-0.9-13.1.el6.noarch.rpm
strigi-0.7.0-2.el6.i686.rpm
subversion-devel-1.6.11-2.el6.i686.rpm
subversion-gnome-1.6.11-2.el6.i686.rpm
subversion-kde-1.6.11-2.el6.i686.rpm
subversion-perl-1.6.11-2.el6.i686.rpm
subversion-ruby-1.6.11-2.el6.i686.rpm
subversion-svn2cl-1.6.11-2.el6.noarch.rpm
svnkit-javadoc-1.3.0-3.el6.i686.rpm
swig-doc-1.3.40-5.el6.noarch.rpm
systemtap-testsuite-1.2-9.el6.i686.rpm
t1lib-apps-5.1.2-6.el6.i686.rpm
t1lib-devel-5.1.2-6.el6.i686.rpm
t1lib-static-5.1.2-6.el6.i686.rpm
taglib-devel-1.6.1-1.1.el6.i686.rpm
taglib-doc-1.6.1-1.1.el6.noarch.rpm
tcl-brlapi-0.5.4-6.el6.i686.rpm
tclx-8.4.0-15.el6.i686.rpm
tclx-devel-8.4.0-15.el6.i686.rpm
teckit-2.5.1-4.1.el6.i686.rpm
teckit-devel-2.5.1-4.1.el6.i686.rpm
terminus-fonts-console-4.30-1.el6.noarch.rpm
tetex-tex4ht-1.0.2008_09_16_1413-4.el6.i686.rpm
texi2html-1.82-5.1.el6.noarch.rpm
texinfo-tex-4.13a-8.el6.i686.rpm
texlive-afm-2007-56.el6.i686.rpm
texlive-context-2007-56.el6.i686.rpm
texlive-dviutils-2007-56.el6.i686.rpm
texlive-east-asian-2007-56.el6.i686.rpm
texlive-texmf-afm-2007-35.el6.noarch.rpm
texlive-texmf-context-2007-35.el6.noarch.rpm
texlive-texmf-doc-2007-35.el6.noarch.rpm
texlive-texmf-east-asian-2007-35.el6.noarch.rpm
texlive-texmf-errata-afm-2007-7.1.el6.noarch.rpm
texlive-texmf-errata-context-2007-7.1.el6.noarch.rpm
texlive-texmf-errata-doc-2007-7.1.el6.noarch.rpm
texlive-texmf-errata-east-asian-2007-7.1.el6.noarch.rpm
texlive-texmf-errata-xetex-2007-7.1.el6.noarch.rpm
texlive-texmf-xetex-2007-35.el6.noarch.rpm
texlive-xetex-2007-56.el6.i686.rpm
thai-scalable-fonts-compat-0.4.12-2.1.el6.noarch.rpm
tidy-0.99.0-19.20070615.1.el6.i686.rpm
tigervnc-server-applet-1.0.90-0.10.20100115svn3945.el6.noarch.rpm
tigervnc-server-module-1.0.90-0.10.20100115svn3945.el6.i686.rpm
tix-devel-8.4.3-5.el6.i686.rpm
tix-doc-8.4.3-5.el6.i686.rpm
tn5250-devel-0.17.4-3.2.el6.i686.rpm
tog-pegasus-devel-2.9.1-5.el6.i686.rpm
tokyocabinet-devel-1.4.33-6.el6.i686.rpm
tomcat6-admin-webapps-6.0.24-15.el6.noarch.rpm
tomcat6-docs-webapp-6.0.24-15.el6.noarch.rpm
tomcat6-javadoc-6.0.24-15.el6.noarch.rpm
tomcat6-log4j-6.0.24-15.el6.noarch.rpm
tomcat6-webapps-6.0.24-15.el6.noarch.rpm
totem-devel-2.28.6-2.el6.i686.rpm
totem-jamendo-2.28.6-2.el6.i686.rpm
totem-pl-parser-devel-2.28.3-1.el6.i686.rpm
totem-youtube-2.28.6-2.el6.i686.rpm
tpm-tools-devel-1.3.4-2.el6.i686.rpm
tpm-tools-pkcs11-1.3.4-2.el6.i686.rpm
trilead-ssh2-javadoc-213-6.2.el6.noarch.rpm
trousers-devel-0.3.4-4.el6.i686.rpm
trousers-static-0.3.4-4.el6.i686.rpm
tsclient-devel-2.0.2-6.el6.i686.rpm
udisks-devel-1.0.1-2.el6.i686.rpm
unicap-devel-0.9.5-4.el6.i686.rpm
unixODBC-kde-2.2.14-11.el6.i686.rpm
usbmuxd-devel-1.0.2-1.el6.i686.rpm
ustr-debug-1.0.4-9.1.el6.i686.rpm
ustr-debug-static-1.0.4-9.1.el6.i686.rpm
ustr-devel-1.0.4-9.1.el6.i686.rpm
ustr-static-1.0.4-9.1.el6.i686.rpm
uuid-c++-1.6.1-10.el6.i686.rpm
uuid-c++-devel-1.6.1-10.el6.i686.rpm
uuid-dce-1.6.1-10.el6.i686.rpm
uuid-dce-devel-1.6.1-10.el6.i686.rpm
uuid-devel-1.6.1-10.el6.i686.rpm
uuid-perl-1.6.1-10.el6.i686.rpm
uuid-pgsql-1.6.1-10.el6.i686.rpm
uuid-php-1.6.1-10.el6.i686.rpm
valgrind-devel-3.5.0-18.el6.i686.rpm
valgrind-openmpi-3.5.0-18.el6.i686.rpm
velocity-1.4-10.7.el6.noarch.rpm
velocity-demo-1.4-10.7.el6.noarch.rpm
velocity-javadoc-1.4-10.7.el6.noarch.rpm
velocity-manual-1.4-10.7.el6.noarch.rpm
vigra-1.6.0-2.1.el6.i686.rpm
vigra-devel-1.6.0-2.1.el6.i686.rpm
vinagre-devel-2.28.1-7.el6.i686.rpm
voikko-tools-2.2.2-1.el6.i686.rpm
volume_key-devel-0.3.1-3.el6.i686.rpm
vte-devel-0.25.1-5.el6.i686.rpm
w3m-img-0.5.2-16.el6.i686.rpm
wavpack-devel-4.60-1.1.el6.i686.rpm
webkitgtk-devel-1.2.3-1.el6.i686.rpm
webkitgtk-doc-1.2.3-1.el6.i686.rpm
werken-xpath-0.9.4-4.beta.12.6.el6.noarch.rpm
werken-xpath-javadoc-0.9.4-4.beta.12.6.el6.noarch.rpm
wireless-tools-devel-29-5.1.1.el6.i686.rpm
wireshark-devel-1.2.10-2.el6.i686.rpm
wireshark-gnome-1.2.10-2.el6.i686.rpm
wordnet-3.0-13.el6.i686.rpm
wordnet-devel-3.0-13.el6.i686.rpm
wqy-zenhei-fonts-common-0.9.45-3.el6.noarch.rpm
ws-commons-util-javadoc-1.0.1-13.el6.noarch.rpm
wsdl4j-javadoc-1.5.2-7.8.el6.noarch.rpm
ws-jaxme-javadoc-0.5.1-4.6.el6.noarch.rpm
ws-jaxme-manual-0.5.1-4.6.el6.noarch.rpm
xalan-j2-demo-2.7.0-9.8.el6.noarch.rpm
xalan-j2-javadoc-2.7.0-9.8.el6.noarch.rpm
xalan-j2-manual-2.7.0-9.8.el6.noarch.rpm
xalan-j2-xsltc-2.7.0-9.8.el6.noarch.rpm
Xaw3d-devel-1.5E-15.1.el6.i686.rpm
xcb-proto-1.6-1.el6.noarch.rpm
xcb-util-devel-0.3.6-1.el6.i686.rpm
xchat-tcl-2.8.8-1.el6.i686.rpm
xdelta-devel-1.1.4-8.el6.i686.rpm
xdoclet-1.2.3-11.6.el6.noarch.rpm
xdoclet-javadoc-1.2.3-11.6.el6.noarch.rpm
xdoclet-manual-1.2.3-11.6.el6.noarch.rpm
xdvipdfmx-0.4-5.1.el6.i686.rpm
xerces-c-3.0.1-20.el6.i686.rpm
xerces-c-devel-3.0.1-20.el6.i686.rpm
xerces-c-doc-3.0.1-20.el6.noarch.rpm
xerces-j2-demo-2.7.1-12.5.el6.i686.rpm
xerces-j2-javadoc-apis-2.7.1-12.5.el6.i686.rpm
xerces-j2-javadoc-impl-2.7.1-12.5.el6.i686.rpm
xerces-j2-javadoc-other-2.7.1-12.5.el6.i686.rpm
xerces-j2-javadoc-xni-2.7.1-12.5.el6.i686.rpm
xerces-j2-scripts-2.7.1-12.5.el6.i686.rpm
xhtml1-dtds-1.0-20020801.7.noarch.rpm
xhtml2fo-style-xsl-20051222-4.1.el6.noarch.rpm
xhtml2ps-1.0-0.4.b5.el6.noarch.rpm
xisdnload-3.2-73.el6.i686.rpm
xjavadoc-1.1-7.7.el6.noarch.rpm
xjavadoc-javadoc-1.1-7.7.el6.noarch.rpm
xml-commons-apis-javadoc-1.3.04-3.6.el6.i686.rpm
xml-commons-apis-manual-1.3.04-3.6.el6.i686.rpm
xml-commons-resolver-javadoc-1.1-4.18.el6.i686.rpm
xmldb-api-javadoc-0.1-0.4.20011111cvs.1.5.el6.noarch.rpm
xmlgraphics-commons-javadoc-1.3.1-1.1.el6.noarch.rpm
xmlrpc3-client-devel-3.0-4.15.el6.noarch.rpm
xmlrpc3-common-devel-3.0-4.15.el6.noarch.rpm
xmlrpc3-javadoc-3.0-4.15.el6.noarch.rpm
xmlrpc3-server-3.0-4.15.el6.noarch.rpm
xmlrpc3-server-devel-3.0-4.15.el6.noarch.rpm
xmlrpc-c-apps-1.16.24-1200.1840.el6.i686.rpm
xmlrpc-c-c++-1.16.24-1200.1840.el6.i686.rpm
xmlrpc-c-client++-1.16.24-1200.1840.el6.i686.rpm
xmlrpc-c-devel-1.16.24-1200.1840.el6.i686.rpm
xmlto-xhtml-0.0.23-3.el6.noarch.rpm
xorg-sgml-doctools-1.1.1-4.1.el6.noarch.rpm
xorg-x11-drv-evdev-devel-2.3.2-8.el6.i686.rpm
xorg-x11-drv-intel-devel-2.11.0-7.el6.i686.rpm
xorg-x11-drv-openchrome-devel-0.2.904-1.el6.i686.rpm
xorg-x11-drv-synaptics-devel-1.2.1-5.el6.i686.rpm
xorg-x11-drv-wacom-devel-0.10.5-6.el6.i686.rpm
xorg-x11-fonts-ISO8859-15-100dpi-7.2-9.1.el6.noarch.rpm
xorg-x11-server-devel-1.7.7-26.el6.i686.rpm
xorg-x11-server-source-1.7.7-26.el6.noarch.rpm
xorg-x11-server-Xdmx-1.7.7-26.el6.i686.rpm
xorg-x11-server-Xnest-1.7.7-26.el6.i686.rpm
xorg-x11-server-Xvfb-1.7.7-26.el6.i686.rpm
xorg-x11-util-macros-1.4.1-1.el6.noarch.rpm
xorg-x11-xbitmaps-1.0.1-9.1.el6.i686.rpm
xorg-x11-xinit-session-1.0.9-13.el6.i686.rpm
xorg-x11-xkb-extras-7.4-6.el6.i686.rpm
xorg-x11-xtrans-devel-1.2.2-4.1.el6.noarch.rpm
xqilla-2.2.3-8.el6.i686.rpm
xqilla-devel-2.2.3-8.el6.i686.rpm
xqilla-doc-2.2.3-8.el6.noarch.rpm
xulrunner-devel-1.9.2.9-1.el6.i686.rpm
yajl-devel-1.0.7-3.el6.i686.rpm
yap-5.1.3-2.1.el6.i686.rpm
yap-devel-5.1.3-2.1.el6.i686.rpm
yap-docs-5.1.3-2.1.el6.i686.rpm
yum-NetworkManager-dispatcher-1.1.26-11.el6.noarch.rpm
yum-plugin-auto-update-debug-info-1.1.26-11.el6.noarch.rpm
yum-plugin-fastestmirror-1.1.26-11.el6.noarch.rpm
yum-plugin-filter-data-1.1.26-11.el6.noarch.rpm
yum-plugin-fs-snapshot-1.1.26-11.el6.noarch.rpm
yum-plugin-keys-1.1.26-11.el6.noarch.rpm
yum-plugin-list-data-1.1.26-11.el6.noarch.rpm
yum-plugin-local-1.1.26-11.el6.noarch.rpm
yum-plugin-merge-conf-1.1.26-11.el6.noarch.rpm
yum-plugin-post-transaction-actions-1.1.26-11.el6.noarch.rpm
yum-plugin-priorities-1.1.26-11.el6.noarch.rpm
yum-plugin-protectbase-1.1.26-11.el6.noarch.rpm
yum-plugin-remove-with-leaves-1.1.26-11.el6.noarch.rpm
yum-plugin-rpm-warm-cache-1.1.26-11.el6.noarch.rpm
yum-plugin-show-leaves-1.1.26-11.el6.noarch.rpm
yum-plugin-tsflags-1.1.26-11.el6.noarch.rpm
yum-plugin-upgrade-helper-1.1.26-11.el6.noarch.rpm
yum-updateonboot-1.1.26-11.el6.noarch.rpm
zlib-static-1.2.3-25.el6.i686.rpm
zsh-html-4.3.10-4.1.el6.i686.rpm
| {
"pile_set_name": "Github"
} |
// LZ4 API example : Dictionary Random Access
#if defined(_MSC_VER) && (_MSC_VER <= 1800) /* Visual Studio <= 2013 */
# define _CRT_SECURE_NO_WARNINGS
# define snprintf sprintf_s
#endif
#include "lz4.h"
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#define MIN(x, y) ((x) < (y) ? (x) : (y))
enum {
BLOCK_BYTES = 1024, /* 1 KiB of uncompressed data in a block */
DICTIONARY_BYTES = 1024, /* Load a 1 KiB dictionary */
MAX_BLOCKS = 1024 /* For simplicity of implementation */
};
/**
* Magic bytes for this test case.
* This is not a great magic number because it is a common word in ASCII.
* However, it is important to have some versioning system in your format.
*/
const char kTestMagic[] = { 'T', 'E', 'S', 'T' };
void write_int(FILE* fp, int i) {
size_t written = fwrite(&i, sizeof(i), 1, fp);
if (written != 1) { exit(10); }
}
void write_bin(FILE* fp, const void* array, size_t arrayBytes) {
size_t written = fwrite(array, 1, arrayBytes, fp);
if (written != arrayBytes) { exit(11); }
}
void read_int(FILE* fp, int* i) {
size_t read = fread(i, sizeof(*i), 1, fp);
if (read != 1) { exit(12); }
}
size_t read_bin(FILE* fp, void* array, size_t arrayBytes) {
size_t read = fread(array, 1, arrayBytes, fp);
if (ferror(fp)) { exit(12); }
return read;
}
void seek_bin(FILE* fp, long offset, int origin) {
if (fseek(fp, offset, origin)) { exit(14); }
}
void test_compress(FILE* outFp, FILE* inpFp, void *dict, int dictSize)
{
LZ4_stream_t lz4Stream_body;
LZ4_stream_t* lz4Stream = &lz4Stream_body;
char inpBuf[BLOCK_BYTES];
int offsets[MAX_BLOCKS];
int *offsetsEnd = offsets;
LZ4_initStream(lz4Stream, sizeof(*lz4Stream));
/* Write header magic */
write_bin(outFp, kTestMagic, sizeof(kTestMagic));
*offsetsEnd++ = sizeof(kTestMagic);
/* Write compressed data blocks. Each block contains BLOCK_BYTES of plain
data except possibly the last. */
for(;;) {
const int inpBytes = (int) read_bin(inpFp, inpBuf, BLOCK_BYTES);
if(0 == inpBytes) {
break;
}
/* Forget previously compressed data and load the dictionary */
LZ4_loadDict(lz4Stream, dict, dictSize);
{
char cmpBuf[LZ4_COMPRESSBOUND(BLOCK_BYTES)];
const int cmpBytes = LZ4_compress_fast_continue(
lz4Stream, inpBuf, cmpBuf, inpBytes, sizeof(cmpBuf), 1);
if(cmpBytes <= 0) { exit(1); }
write_bin(outFp, cmpBuf, (size_t)cmpBytes);
/* Keep track of the offsets */
*offsetsEnd = *(offsetsEnd - 1) + cmpBytes;
++offsetsEnd;
}
if (offsetsEnd - offsets > MAX_BLOCKS) { exit(2); }
}
/* Write the tailing jump table */
{
int *ptr = offsets;
while (ptr != offsetsEnd) {
write_int(outFp, *ptr++);
}
write_int(outFp, offsetsEnd - offsets);
}
}
void test_decompress(FILE* outFp, FILE* inpFp, void *dict, int dictSize, int offset, int length)
{
LZ4_streamDecode_t lz4StreamDecode_body;
LZ4_streamDecode_t* lz4StreamDecode = &lz4StreamDecode_body;
/* The blocks [currentBlock, endBlock) contain the data we want */
int currentBlock = offset / BLOCK_BYTES;
int endBlock = ((offset + length - 1) / BLOCK_BYTES) + 1;
char decBuf[BLOCK_BYTES];
int offsets[MAX_BLOCKS];
/* Special cases */
if (length == 0) { return; }
/* Read the magic bytes */
{
char magic[sizeof(kTestMagic)];
size_t read = read_bin(inpFp, magic, sizeof(magic));
if (read != sizeof(magic)) { exit(1); }
if (memcmp(kTestMagic, magic, sizeof(magic))) { exit(2); }
}
/* Read the offsets tail */
{
int numOffsets;
int block;
int *offsetsPtr = offsets;
seek_bin(inpFp, -4, SEEK_END);
read_int(inpFp, &numOffsets);
if (numOffsets <= endBlock) { exit(3); }
seek_bin(inpFp, -4 * (numOffsets + 1), SEEK_END);
for (block = 0; block <= endBlock; ++block) {
read_int(inpFp, offsetsPtr++);
}
}
/* Seek to the first block to read */
seek_bin(inpFp, offsets[currentBlock], SEEK_SET);
offset = offset % BLOCK_BYTES;
/* Start decoding */
for(; currentBlock < endBlock; ++currentBlock) {
char cmpBuf[LZ4_COMPRESSBOUND(BLOCK_BYTES)];
/* The difference in offsets is the size of the block */
int cmpBytes = offsets[currentBlock + 1] - offsets[currentBlock];
{
const size_t read = read_bin(inpFp, cmpBuf, (size_t)cmpBytes);
if(read != (size_t)cmpBytes) { exit(4); }
}
/* Load the dictionary */
LZ4_setStreamDecode(lz4StreamDecode, dict, dictSize);
{
const int decBytes = LZ4_decompress_safe_continue(
lz4StreamDecode, cmpBuf, decBuf, cmpBytes, BLOCK_BYTES);
if(decBytes <= 0) { exit(5); }
{
/* Write out the part of the data we care about */
int blockLength = MIN(length, (decBytes - offset));
write_bin(outFp, decBuf + offset, (size_t)blockLength);
offset = 0;
length -= blockLength;
}
}
}
}
int compare(FILE* fp0, FILE* fp1, int length)
{
int result = 0;
while(0 == result) {
char b0[4096];
char b1[4096];
const size_t r0 = read_bin(fp0, b0, MIN(length, (int)sizeof(b0)));
const size_t r1 = read_bin(fp1, b1, MIN(length, (int)sizeof(b1)));
result = (int) r0 - (int) r1;
if(0 == r0 || 0 == r1) {
break;
}
if(0 == result) {
result = memcmp(b0, b1, r0);
}
length -= r0;
}
return result;
}
int main(int argc, char* argv[])
{
char inpFilename[256] = { 0 };
char lz4Filename[256] = { 0 };
char decFilename[256] = { 0 };
char dictFilename[256] = { 0 };
int offset;
int length;
char dict[DICTIONARY_BYTES];
int dictSize;
if(argc < 5) {
printf("Usage: %s input dictionary offset length", argv[0]);
return 0;
}
snprintf(inpFilename, 256, "%s", argv[1]);
snprintf(lz4Filename, 256, "%s.lz4s-%d", argv[1], BLOCK_BYTES);
snprintf(decFilename, 256, "%s.lz4s-%d.dec", argv[1], BLOCK_BYTES);
snprintf(dictFilename, 256, "%s", argv[2]);
offset = atoi(argv[3]);
length = atoi(argv[4]);
printf("inp = [%s]\n", inpFilename);
printf("lz4 = [%s]\n", lz4Filename);
printf("dec = [%s]\n", decFilename);
printf("dict = [%s]\n", dictFilename);
printf("offset = [%d]\n", offset);
printf("length = [%d]\n", length);
/* Load dictionary */
{
FILE* dictFp = fopen(dictFilename, "rb");
dictSize = (int)read_bin(dictFp, dict, DICTIONARY_BYTES);
fclose(dictFp);
}
/* compress */
{
FILE* inpFp = fopen(inpFilename, "rb");
FILE* outFp = fopen(lz4Filename, "wb");
printf("compress : %s -> %s\n", inpFilename, lz4Filename);
test_compress(outFp, inpFp, dict, dictSize);
printf("compress : done\n");
fclose(outFp);
fclose(inpFp);
}
/* decompress */
{
FILE* inpFp = fopen(lz4Filename, "rb");
FILE* outFp = fopen(decFilename, "wb");
printf("decompress : %s -> %s\n", lz4Filename, decFilename);
test_decompress(outFp, inpFp, dict, DICTIONARY_BYTES, offset, length);
printf("decompress : done\n");
fclose(outFp);
fclose(inpFp);
}
/* verify */
{
FILE* inpFp = fopen(inpFilename, "rb");
FILE* decFp = fopen(decFilename, "rb");
seek_bin(inpFp, offset, SEEK_SET);
printf("verify : %s <-> %s\n", inpFilename, decFilename);
const int cmp = compare(inpFp, decFp, length);
if(0 == cmp) {
printf("verify : OK\n");
} else {
printf("verify : NG\n");
}
fclose(decFp);
fclose(inpFp);
}
return 0;
}
| {
"pile_set_name": "Github"
} |
/***************************************************************************
qgslayoutpolygonwidget.cpp
begin : March 2016
copyright : (C) 2016 Paul Blottiere, Oslandia
email : paul dot blottiere at oslandia dot com
***************************************************************************/
/***************************************************************************
* *
* 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. *
* *
***************************************************************************/
#include "qgslayoutpolygonwidget.h"
#include "qgssymbolselectordialog.h"
#include "qgsstyle.h"
#include "qgslayout.h"
#include "qgssymbollayerutils.h"
#include "qgslayoutitemregistry.h"
#include "qgslayoutundostack.h"
#include "qgsvectorlayer.h"
QgsLayoutPolygonWidget::QgsLayoutPolygonWidget( QgsLayoutItemPolygon *polygon )
: QgsLayoutItemBaseWidget( nullptr, polygon )
, mPolygon( polygon )
{
setupUi( this );
setPanelTitle( tr( "Polygon Properties" ) );
//add widget for general composer item properties
mItemPropertiesWidget = new QgsLayoutItemPropertiesWidget( this, polygon );
//shapes don't use background or frame, since the symbol style is set through a QgsSymbolSelectorWidget
mItemPropertiesWidget->showBackgroundGroup( false );
mItemPropertiesWidget->showFrameGroup( false );
mainLayout->addWidget( mItemPropertiesWidget );
mPolygonStyleButton->setSymbolType( QgsSymbol::Fill );
connect( mPolygonStyleButton, &QgsSymbolButton::changed, this, &QgsLayoutPolygonWidget::symbolChanged );
if ( mPolygon )
{
connect( mPolygon, &QgsLayoutObject::changed, this, &QgsLayoutPolygonWidget::setGuiElementValues );
mPolygonStyleButton->registerExpressionContextGenerator( mPolygon );
}
setGuiElementValues();
mPolygonStyleButton->registerExpressionContextGenerator( mPolygon );
mPolygonStyleButton->setLayer( coverageLayer() );
if ( mPolygon->layout() )
{
connect( &mPolygon->layout()->reportContext(), &QgsLayoutReportContext::layerChanged, mPolygonStyleButton, &QgsSymbolButton::setLayer );
}
}
void QgsLayoutPolygonWidget::setMasterLayout( QgsMasterLayoutInterface *masterLayout )
{
if ( mItemPropertiesWidget )
mItemPropertiesWidget->setMasterLayout( masterLayout );
}
bool QgsLayoutPolygonWidget::setNewItem( QgsLayoutItem *item )
{
if ( item->type() != QgsLayoutItemRegistry::LayoutPolygon )
return false;
if ( mPolygon )
{
disconnect( mPolygon, &QgsLayoutObject::changed, this, &QgsLayoutPolygonWidget::setGuiElementValues );
}
mPolygon = qobject_cast< QgsLayoutItemPolygon * >( item );
mItemPropertiesWidget->setItem( mPolygon );
if ( mPolygon )
{
connect( mPolygon, &QgsLayoutObject::changed, this, &QgsLayoutPolygonWidget::setGuiElementValues );
mPolygonStyleButton->registerExpressionContextGenerator( mPolygon );
}
setGuiElementValues();
return true;
}
void QgsLayoutPolygonWidget::setGuiElementValues()
{
if ( !mPolygon )
{
return;
}
whileBlocking( mPolygonStyleButton )->setSymbol( mPolygon->symbol()->clone() );
}
void QgsLayoutPolygonWidget::symbolChanged()
{
if ( !mPolygon )
return;
mPolygon->layout()->undoStack()->beginCommand( mPolygon, tr( "Change Shape Style" ), QgsLayoutItem::UndoShapeStyle );
mPolygon->setSymbol( mPolygonStyleButton->clonedSymbol<QgsFillSymbol>() );
mPolygon->layout()->undoStack()->endCommand();
}
| {
"pile_set_name": "Github"
} |
owner = AST
controller = AST
add_core = AST
points = 2
rare_materials = 1.00
industry = 9
coastal_fort = 1
land_fort = 0
anti_air = 3
infra = 10
manpower = 2.00
leadership = 0.60
naval_base = 8
| {
"pile_set_name": "Github"
} |
// Copyright (C) MongoDB, Inc. 2017-present.
//
// 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
package driver
import (
"context"
"go.mongodb.org/mongo-driver/bson"
"go.mongodb.org/mongo-driver/x/mongo/driver/session"
"go.mongodb.org/mongo-driver/x/mongo/driver/topology"
"go.mongodb.org/mongo-driver/x/mongo/driver/uuid"
"go.mongodb.org/mongo-driver/x/network/command"
"go.mongodb.org/mongo-driver/x/network/description"
)
// DropCollection handles the full cycle dispatch and execution of a dropCollection
// command against the provided topology.
func DropCollection(
ctx context.Context,
cmd command.DropCollection,
topo *topology.Topology,
selector description.ServerSelector,
clientID uuid.UUID,
pool *session.Pool,
) (bson.Raw, error) {
ss, err := topo.SelectServer(ctx, selector)
if err != nil {
return nil, err
}
conn, err := ss.Connection(ctx)
if err != nil {
return nil, err
}
defer conn.Close()
// If no explicit session and deployment supports sessions, start implicit session.
if cmd.Session == nil && topo.SupportsSessions() {
cmd.Session, err = session.NewClientSession(pool, clientID, session.Implicit)
if err != nil {
return nil, err
}
defer cmd.Session.EndSession()
}
return cmd.RoundTrip(ctx, ss.Description(), conn)
}
| {
"pile_set_name": "Github"
} |
/*
* S-Box and MDS Tables for Twofish
* (C) 1999-2007 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include <botan/twofish.h>
namespace Botan {
const uint8_t Twofish::Q0[256] = {
0xA9, 0x67, 0xB3, 0xE8, 0x04, 0xFD, 0xA3, 0x76, 0x9A, 0x92, 0x80, 0x78,
0xE4, 0xDD, 0xD1, 0x38, 0x0D, 0xC6, 0x35, 0x98, 0x18, 0xF7, 0xEC, 0x6C,
0x43, 0x75, 0x37, 0x26, 0xFA, 0x13, 0x94, 0x48, 0xF2, 0xD0, 0x8B, 0x30,
0x84, 0x54, 0xDF, 0x23, 0x19, 0x5B, 0x3D, 0x59, 0xF3, 0xAE, 0xA2, 0x82,
0x63, 0x01, 0x83, 0x2E, 0xD9, 0x51, 0x9B, 0x7C, 0xA6, 0xEB, 0xA5, 0xBE,
0x16, 0x0C, 0xE3, 0x61, 0xC0, 0x8C, 0x3A, 0xF5, 0x73, 0x2C, 0x25, 0x0B,
0xBB, 0x4E, 0x89, 0x6B, 0x53, 0x6A, 0xB4, 0xF1, 0xE1, 0xE6, 0xBD, 0x45,
0xE2, 0xF4, 0xB6, 0x66, 0xCC, 0x95, 0x03, 0x56, 0xD4, 0x1C, 0x1E, 0xD7,
0xFB, 0xC3, 0x8E, 0xB5, 0xE9, 0xCF, 0xBF, 0xBA, 0xEA, 0x77, 0x39, 0xAF,
0x33, 0xC9, 0x62, 0x71, 0x81, 0x79, 0x09, 0xAD, 0x24, 0xCD, 0xF9, 0xD8,
0xE5, 0xC5, 0xB9, 0x4D, 0x44, 0x08, 0x86, 0xE7, 0xA1, 0x1D, 0xAA, 0xED,
0x06, 0x70, 0xB2, 0xD2, 0x41, 0x7B, 0xA0, 0x11, 0x31, 0xC2, 0x27, 0x90,
0x20, 0xF6, 0x60, 0xFF, 0x96, 0x5C, 0xB1, 0xAB, 0x9E, 0x9C, 0x52, 0x1B,
0x5F, 0x93, 0x0A, 0xEF, 0x91, 0x85, 0x49, 0xEE, 0x2D, 0x4F, 0x8F, 0x3B,
0x47, 0x87, 0x6D, 0x46, 0xD6, 0x3E, 0x69, 0x64, 0x2A, 0xCE, 0xCB, 0x2F,
0xFC, 0x97, 0x05, 0x7A, 0xAC, 0x7F, 0xD5, 0x1A, 0x4B, 0x0E, 0xA7, 0x5A,
0x28, 0x14, 0x3F, 0x29, 0x88, 0x3C, 0x4C, 0x02, 0xB8, 0xDA, 0xB0, 0x17,
0x55, 0x1F, 0x8A, 0x7D, 0x57, 0xC7, 0x8D, 0x74, 0xB7, 0xC4, 0x9F, 0x72,
0x7E, 0x15, 0x22, 0x12, 0x58, 0x07, 0x99, 0x34, 0x6E, 0x50, 0xDE, 0x68,
0x65, 0xBC, 0xDB, 0xF8, 0xC8, 0xA8, 0x2B, 0x40, 0xDC, 0xFE, 0x32, 0xA4,
0xCA, 0x10, 0x21, 0xF0, 0xD3, 0x5D, 0x0F, 0x00, 0x6F, 0x9D, 0x36, 0x42,
0x4A, 0x5E, 0xC1, 0xE0 };
const uint8_t Twofish::Q1[256] = {
0x75, 0xF3, 0xC6, 0xF4, 0xDB, 0x7B, 0xFB, 0xC8, 0x4A, 0xD3, 0xE6, 0x6B,
0x45, 0x7D, 0xE8, 0x4B, 0xD6, 0x32, 0xD8, 0xFD, 0x37, 0x71, 0xF1, 0xE1,
0x30, 0x0F, 0xF8, 0x1B, 0x87, 0xFA, 0x06, 0x3F, 0x5E, 0xBA, 0xAE, 0x5B,
0x8A, 0x00, 0xBC, 0x9D, 0x6D, 0xC1, 0xB1, 0x0E, 0x80, 0x5D, 0xD2, 0xD5,
0xA0, 0x84, 0x07, 0x14, 0xB5, 0x90, 0x2C, 0xA3, 0xB2, 0x73, 0x4C, 0x54,
0x92, 0x74, 0x36, 0x51, 0x38, 0xB0, 0xBD, 0x5A, 0xFC, 0x60, 0x62, 0x96,
0x6C, 0x42, 0xF7, 0x10, 0x7C, 0x28, 0x27, 0x8C, 0x13, 0x95, 0x9C, 0xC7,
0x24, 0x46, 0x3B, 0x70, 0xCA, 0xE3, 0x85, 0xCB, 0x11, 0xD0, 0x93, 0xB8,
0xA6, 0x83, 0x20, 0xFF, 0x9F, 0x77, 0xC3, 0xCC, 0x03, 0x6F, 0x08, 0xBF,
0x40, 0xE7, 0x2B, 0xE2, 0x79, 0x0C, 0xAA, 0x82, 0x41, 0x3A, 0xEA, 0xB9,
0xE4, 0x9A, 0xA4, 0x97, 0x7E, 0xDA, 0x7A, 0x17, 0x66, 0x94, 0xA1, 0x1D,
0x3D, 0xF0, 0xDE, 0xB3, 0x0B, 0x72, 0xA7, 0x1C, 0xEF, 0xD1, 0x53, 0x3E,
0x8F, 0x33, 0x26, 0x5F, 0xEC, 0x76, 0x2A, 0x49, 0x81, 0x88, 0xEE, 0x21,
0xC4, 0x1A, 0xEB, 0xD9, 0xC5, 0x39, 0x99, 0xCD, 0xAD, 0x31, 0x8B, 0x01,
0x18, 0x23, 0xDD, 0x1F, 0x4E, 0x2D, 0xF9, 0x48, 0x4F, 0xF2, 0x65, 0x8E,
0x78, 0x5C, 0x58, 0x19, 0x8D, 0xE5, 0x98, 0x57, 0x67, 0x7F, 0x05, 0x64,
0xAF, 0x63, 0xB6, 0xFE, 0xF5, 0xB7, 0x3C, 0xA5, 0xCE, 0xE9, 0x68, 0x44,
0xE0, 0x4D, 0x43, 0x69, 0x29, 0x2E, 0xAC, 0x15, 0x59, 0xA8, 0x0A, 0x9E,
0x6E, 0x47, 0xDF, 0x34, 0x35, 0x6A, 0xCF, 0xDC, 0x22, 0xC9, 0xC0, 0x9B,
0x89, 0xD4, 0xED, 0xAB, 0x12, 0xA2, 0x0D, 0x52, 0xBB, 0x02, 0x2F, 0xA9,
0xD7, 0x61, 0x1E, 0xB4, 0x50, 0x04, 0xF6, 0xC2, 0x16, 0x25, 0x86, 0x56,
0x55, 0x09, 0xBE, 0x91 };
const uint8_t Twofish::RS[32] = {
0x01, 0xA4, 0x02, 0xA4, 0xA4, 0x56, 0xA1, 0x55, 0x55, 0x82, 0xFC, 0x87,
0x87, 0xF3, 0xC1, 0x5A, 0x5A, 0x1E, 0x47, 0x58, 0x58, 0xC6, 0xAE, 0xDB,
0xDB, 0x68, 0x3D, 0x9E, 0x9E, 0xE5, 0x19, 0x03 };
const uint8_t Twofish::EXP_TO_POLY[255] = {
0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x4D, 0x9A, 0x79, 0xF2,
0xA9, 0x1F, 0x3E, 0x7C, 0xF8, 0xBD, 0x37, 0x6E, 0xDC, 0xF5, 0xA7, 0x03,
0x06, 0x0C, 0x18, 0x30, 0x60, 0xC0, 0xCD, 0xD7, 0xE3, 0x8B, 0x5B, 0xB6,
0x21, 0x42, 0x84, 0x45, 0x8A, 0x59, 0xB2, 0x29, 0x52, 0xA4, 0x05, 0x0A,
0x14, 0x28, 0x50, 0xA0, 0x0D, 0x1A, 0x34, 0x68, 0xD0, 0xED, 0x97, 0x63,
0xC6, 0xC1, 0xCF, 0xD3, 0xEB, 0x9B, 0x7B, 0xF6, 0xA1, 0x0F, 0x1E, 0x3C,
0x78, 0xF0, 0xAD, 0x17, 0x2E, 0x5C, 0xB8, 0x3D, 0x7A, 0xF4, 0xA5, 0x07,
0x0E, 0x1C, 0x38, 0x70, 0xE0, 0x8D, 0x57, 0xAE, 0x11, 0x22, 0x44, 0x88,
0x5D, 0xBA, 0x39, 0x72, 0xE4, 0x85, 0x47, 0x8E, 0x51, 0xA2, 0x09, 0x12,
0x24, 0x48, 0x90, 0x6D, 0xDA, 0xF9, 0xBF, 0x33, 0x66, 0xCC, 0xD5, 0xE7,
0x83, 0x4B, 0x96, 0x61, 0xC2, 0xC9, 0xDF, 0xF3, 0xAB, 0x1B, 0x36, 0x6C,
0xD8, 0xFD, 0xB7, 0x23, 0x46, 0x8C, 0x55, 0xAA, 0x19, 0x32, 0x64, 0xC8,
0xDD, 0xF7, 0xA3, 0x0B, 0x16, 0x2C, 0x58, 0xB0, 0x2D, 0x5A, 0xB4, 0x25,
0x4A, 0x94, 0x65, 0xCA, 0xD9, 0xFF, 0xB3, 0x2B, 0x56, 0xAC, 0x15, 0x2A,
0x54, 0xA8, 0x1D, 0x3A, 0x74, 0xE8, 0x9D, 0x77, 0xEE, 0x91, 0x6F, 0xDE,
0xF1, 0xAF, 0x13, 0x26, 0x4C, 0x98, 0x7D, 0xFA, 0xB9, 0x3F, 0x7E, 0xFC,
0xB5, 0x27, 0x4E, 0x9C, 0x75, 0xEA, 0x99, 0x7F, 0xFE, 0xB1, 0x2F, 0x5E,
0xBC, 0x35, 0x6A, 0xD4, 0xE5, 0x87, 0x43, 0x86, 0x41, 0x82, 0x49, 0x92,
0x69, 0xD2, 0xE9, 0x9F, 0x73, 0xE6, 0x81, 0x4F, 0x9E, 0x71, 0xE2, 0x89,
0x5F, 0xBE, 0x31, 0x62, 0xC4, 0xC5, 0xC7, 0xC3, 0xCB, 0xDB, 0xFB, 0xBB,
0x3B, 0x76, 0xEC, 0x95, 0x67, 0xCE, 0xD1, 0xEF, 0x93, 0x6B, 0xD6, 0xE1,
0x8F, 0x53, 0xA6 };
const uint8_t Twofish::POLY_TO_EXP[255] = {
0x00, 0x01, 0x17, 0x02, 0x2E, 0x18, 0x53, 0x03, 0x6A, 0x2F, 0x93, 0x19,
0x34, 0x54, 0x45, 0x04, 0x5C, 0x6B, 0xB6, 0x30, 0xA6, 0x94, 0x4B, 0x1A,
0x8C, 0x35, 0x81, 0x55, 0xAA, 0x46, 0x0D, 0x05, 0x24, 0x5D, 0x87, 0x6C,
0x9B, 0xB7, 0xC1, 0x31, 0x2B, 0xA7, 0xA3, 0x95, 0x98, 0x4C, 0xCA, 0x1B,
0xE6, 0x8D, 0x73, 0x36, 0xCD, 0x82, 0x12, 0x56, 0x62, 0xAB, 0xF0, 0x47,
0x4F, 0x0E, 0xBD, 0x06, 0xD4, 0x25, 0xD2, 0x5E, 0x27, 0x88, 0x66, 0x6D,
0xD6, 0x9C, 0x79, 0xB8, 0x08, 0xC2, 0xDF, 0x32, 0x68, 0x2C, 0xFD, 0xA8,
0x8A, 0xA4, 0x5A, 0x96, 0x29, 0x99, 0x22, 0x4D, 0x60, 0xCB, 0xE4, 0x1C,
0x7B, 0xE7, 0x3B, 0x8E, 0x9E, 0x74, 0xF4, 0x37, 0xD8, 0xCE, 0xF9, 0x83,
0x6F, 0x13, 0xB2, 0x57, 0xE1, 0x63, 0xDC, 0xAC, 0xC4, 0xF1, 0xAF, 0x48,
0x0A, 0x50, 0x42, 0x0F, 0xBA, 0xBE, 0xC7, 0x07, 0xDE, 0xD5, 0x78, 0x26,
0x65, 0xD3, 0xD1, 0x5F, 0xE3, 0x28, 0x21, 0x89, 0x59, 0x67, 0xFC, 0x6E,
0xB1, 0xD7, 0xF8, 0x9D, 0xF3, 0x7A, 0x3A, 0xB9, 0xC6, 0x09, 0x41, 0xC3,
0xAE, 0xE0, 0xDB, 0x33, 0x44, 0x69, 0x92, 0x2D, 0x52, 0xFE, 0x16, 0xA9,
0x0C, 0x8B, 0x80, 0xA5, 0x4A, 0x5B, 0xB5, 0x97, 0xC9, 0x2A, 0xA2, 0x9A,
0xC0, 0x23, 0x86, 0x4E, 0xBC, 0x61, 0xEF, 0xCC, 0x11, 0xE5, 0x72, 0x1D,
0x3D, 0x7C, 0xEB, 0xE8, 0xE9, 0x3C, 0xEA, 0x8F, 0x7D, 0x9F, 0xEC, 0x75,
0x1E, 0xF5, 0x3E, 0x38, 0xF6, 0xD9, 0x3F, 0xCF, 0x76, 0xFA, 0x1F, 0x84,
0xA0, 0x70, 0xED, 0x14, 0x90, 0xB3, 0x7E, 0x58, 0xFB, 0xE2, 0x20, 0x64,
0xD0, 0xDD, 0x77, 0xAD, 0xDA, 0xC5, 0x40, 0xF2, 0x39, 0xB0, 0xF7, 0x49,
0xB4, 0x0B, 0x7F, 0x51, 0x15, 0x43, 0x91, 0x10, 0x71, 0xBB, 0xEE, 0xBF,
0x85, 0xC8, 0xA1 };
const uint32_t Twofish::MDS0[256] = {
0xBCBC3275, 0xECEC21F3, 0x202043C6, 0xB3B3C9F4, 0xDADA03DB, 0x02028B7B,
0xE2E22BFB, 0x9E9EFAC8, 0xC9C9EC4A, 0xD4D409D3, 0x18186BE6, 0x1E1E9F6B,
0x98980E45, 0xB2B2387D, 0xA6A6D2E8, 0x2626B74B, 0x3C3C57D6, 0x93938A32,
0x8282EED8, 0x525298FD, 0x7B7BD437, 0xBBBB3771, 0x5B5B97F1, 0x474783E1,
0x24243C30, 0x5151E20F, 0xBABAC6F8, 0x4A4AF31B, 0xBFBF4887, 0x0D0D70FA,
0xB0B0B306, 0x7575DE3F, 0xD2D2FD5E, 0x7D7D20BA, 0x666631AE, 0x3A3AA35B,
0x59591C8A, 0x00000000, 0xCDCD93BC, 0x1A1AE09D, 0xAEAE2C6D, 0x7F7FABC1,
0x2B2BC7B1, 0xBEBEB90E, 0xE0E0A080, 0x8A8A105D, 0x3B3B52D2, 0x6464BAD5,
0xD8D888A0, 0xE7E7A584, 0x5F5FE807, 0x1B1B1114, 0x2C2CC2B5, 0xFCFCB490,
0x3131272C, 0x808065A3, 0x73732AB2, 0x0C0C8173, 0x79795F4C, 0x6B6B4154,
0x4B4B0292, 0x53536974, 0x94948F36, 0x83831F51, 0x2A2A3638, 0xC4C49CB0,
0x2222C8BD, 0xD5D5F85A, 0xBDBDC3FC, 0x48487860, 0xFFFFCE62, 0x4C4C0796,
0x4141776C, 0xC7C7E642, 0xEBEB24F7, 0x1C1C1410, 0x5D5D637C, 0x36362228,
0x6767C027, 0xE9E9AF8C, 0x4444F913, 0x1414EA95, 0xF5F5BB9C, 0xCFCF18C7,
0x3F3F2D24, 0xC0C0E346, 0x7272DB3B, 0x54546C70, 0x29294CCA, 0xF0F035E3,
0x0808FE85, 0xC6C617CB, 0xF3F34F11, 0x8C8CE4D0, 0xA4A45993, 0xCACA96B8,
0x68683BA6, 0xB8B84D83, 0x38382820, 0xE5E52EFF, 0xADAD569F, 0x0B0B8477,
0xC8C81DC3, 0x9999FFCC, 0x5858ED03, 0x19199A6F, 0x0E0E0A08, 0x95957EBF,
0x70705040, 0xF7F730E7, 0x6E6ECF2B, 0x1F1F6EE2, 0xB5B53D79, 0x09090F0C,
0x616134AA, 0x57571682, 0x9F9F0B41, 0x9D9D803A, 0x111164EA, 0x2525CDB9,
0xAFAFDDE4, 0x4545089A, 0xDFDF8DA4, 0xA3A35C97, 0xEAEAD57E, 0x353558DA,
0xEDEDD07A, 0x4343FC17, 0xF8F8CB66, 0xFBFBB194, 0x3737D3A1, 0xFAFA401D,
0xC2C2683D, 0xB4B4CCF0, 0x32325DDE, 0x9C9C71B3, 0x5656E70B, 0xE3E3DA72,
0x878760A7, 0x15151B1C, 0xF9F93AEF, 0x6363BFD1, 0x3434A953, 0x9A9A853E,
0xB1B1428F, 0x7C7CD133, 0x88889B26, 0x3D3DA65F, 0xA1A1D7EC, 0xE4E4DF76,
0x8181942A, 0x91910149, 0x0F0FFB81, 0xEEEEAA88, 0x161661EE, 0xD7D77321,
0x9797F5C4, 0xA5A5A81A, 0xFEFE3FEB, 0x6D6DB5D9, 0x7878AEC5, 0xC5C56D39,
0x1D1DE599, 0x7676A4CD, 0x3E3EDCAD, 0xCBCB6731, 0xB6B6478B, 0xEFEF5B01,
0x12121E18, 0x6060C523, 0x6A6AB0DD, 0x4D4DF61F, 0xCECEE94E, 0xDEDE7C2D,
0x55559DF9, 0x7E7E5A48, 0x2121B24F, 0x03037AF2, 0xA0A02665, 0x5E5E198E,
0x5A5A6678, 0x65654B5C, 0x62624E58, 0xFDFD4519, 0x0606F48D, 0x404086E5,
0xF2F2BE98, 0x3333AC57, 0x17179067, 0x05058E7F, 0xE8E85E05, 0x4F4F7D64,
0x89896AAF, 0x10109563, 0x74742FB6, 0x0A0A75FE, 0x5C5C92F5, 0x9B9B74B7,
0x2D2D333C, 0x3030D6A5, 0x2E2E49CE, 0x494989E9, 0x46467268, 0x77775544,
0xA8A8D8E0, 0x9696044D, 0x2828BD43, 0xA9A92969, 0xD9D97929, 0x8686912E,
0xD1D187AC, 0xF4F44A15, 0x8D8D1559, 0xD6D682A8, 0xB9B9BC0A, 0x42420D9E,
0xF6F6C16E, 0x2F2FB847, 0xDDDD06DF, 0x23233934, 0xCCCC6235, 0xF1F1C46A,
0xC1C112CF, 0x8585EBDC, 0x8F8F9E22, 0x7171A1C9, 0x9090F0C0, 0xAAAA539B,
0x0101F189, 0x8B8BE1D4, 0x4E4E8CED, 0x8E8E6FAB, 0xABABA212, 0x6F6F3EA2,
0xE6E6540D, 0xDBDBF252, 0x92927BBB, 0xB7B7B602, 0x6969CA2F, 0x3939D9A9,
0xD3D30CD7, 0xA7A72361, 0xA2A2AD1E, 0xC3C399B4, 0x6C6C4450, 0x07070504,
0x04047FF6, 0x272746C2, 0xACACA716, 0xD0D07625, 0x50501386, 0xDCDCF756,
0x84841A55, 0xE1E15109, 0x7A7A25BE, 0x1313EF91 };
const uint32_t Twofish::MDS1[256] = {
0xA9D93939, 0x67901717, 0xB3719C9C, 0xE8D2A6A6, 0x04050707, 0xFD985252,
0xA3658080, 0x76DFE4E4, 0x9A084545, 0x92024B4B, 0x80A0E0E0, 0x78665A5A,
0xE4DDAFAF, 0xDDB06A6A, 0xD1BF6363, 0x38362A2A, 0x0D54E6E6, 0xC6432020,
0x3562CCCC, 0x98BEF2F2, 0x181E1212, 0xF724EBEB, 0xECD7A1A1, 0x6C774141,
0x43BD2828, 0x7532BCBC, 0x37D47B7B, 0x269B8888, 0xFA700D0D, 0x13F94444,
0x94B1FBFB, 0x485A7E7E, 0xF27A0303, 0xD0E48C8C, 0x8B47B6B6, 0x303C2424,
0x84A5E7E7, 0x54416B6B, 0xDF06DDDD, 0x23C56060, 0x1945FDFD, 0x5BA33A3A,
0x3D68C2C2, 0x59158D8D, 0xF321ECEC, 0xAE316666, 0xA23E6F6F, 0x82165757,
0x63951010, 0x015BEFEF, 0x834DB8B8, 0x2E918686, 0xD9B56D6D, 0x511F8383,
0x9B53AAAA, 0x7C635D5D, 0xA63B6868, 0xEB3FFEFE, 0xA5D63030, 0xBE257A7A,
0x16A7ACAC, 0x0C0F0909, 0xE335F0F0, 0x6123A7A7, 0xC0F09090, 0x8CAFE9E9,
0x3A809D9D, 0xF5925C5C, 0x73810C0C, 0x2C273131, 0x2576D0D0, 0x0BE75656,
0xBB7B9292, 0x4EE9CECE, 0x89F10101, 0x6B9F1E1E, 0x53A93434, 0x6AC4F1F1,
0xB499C3C3, 0xF1975B5B, 0xE1834747, 0xE66B1818, 0xBDC82222, 0x450E9898,
0xE26E1F1F, 0xF4C9B3B3, 0xB62F7474, 0x66CBF8F8, 0xCCFF9999, 0x95EA1414,
0x03ED5858, 0x56F7DCDC, 0xD4E18B8B, 0x1C1B1515, 0x1EADA2A2, 0xD70CD3D3,
0xFB2BE2E2, 0xC31DC8C8, 0x8E195E5E, 0xB5C22C2C, 0xE9894949, 0xCF12C1C1,
0xBF7E9595, 0xBA207D7D, 0xEA641111, 0x77840B0B, 0x396DC5C5, 0xAF6A8989,
0x33D17C7C, 0xC9A17171, 0x62CEFFFF, 0x7137BBBB, 0x81FB0F0F, 0x793DB5B5,
0x0951E1E1, 0xADDC3E3E, 0x242D3F3F, 0xCDA47676, 0xF99D5555, 0xD8EE8282,
0xE5864040, 0xC5AE7878, 0xB9CD2525, 0x4D049696, 0x44557777, 0x080A0E0E,
0x86135050, 0xE730F7F7, 0xA1D33737, 0x1D40FAFA, 0xAA346161, 0xED8C4E4E,
0x06B3B0B0, 0x706C5454, 0xB22A7373, 0xD2523B3B, 0x410B9F9F, 0x7B8B0202,
0xA088D8D8, 0x114FF3F3, 0x3167CBCB, 0xC2462727, 0x27C06767, 0x90B4FCFC,
0x20283838, 0xF67F0404, 0x60784848, 0xFF2EE5E5, 0x96074C4C, 0x5C4B6565,
0xB1C72B2B, 0xAB6F8E8E, 0x9E0D4242, 0x9CBBF5F5, 0x52F2DBDB, 0x1BF34A4A,
0x5FA63D3D, 0x9359A4A4, 0x0ABCB9B9, 0xEF3AF9F9, 0x91EF1313, 0x85FE0808,
0x49019191, 0xEE611616, 0x2D7CDEDE, 0x4FB22121, 0x8F42B1B1, 0x3BDB7272,
0x47B82F2F, 0x8748BFBF, 0x6D2CAEAE, 0x46E3C0C0, 0xD6573C3C, 0x3E859A9A,
0x6929A9A9, 0x647D4F4F, 0x2A948181, 0xCE492E2E, 0xCB17C6C6, 0x2FCA6969,
0xFCC3BDBD, 0x975CA3A3, 0x055EE8E8, 0x7AD0EDED, 0xAC87D1D1, 0x7F8E0505,
0xD5BA6464, 0x1AA8A5A5, 0x4BB72626, 0x0EB9BEBE, 0xA7608787, 0x5AF8D5D5,
0x28223636, 0x14111B1B, 0x3FDE7575, 0x2979D9D9, 0x88AAEEEE, 0x3C332D2D,
0x4C5F7979, 0x02B6B7B7, 0xB896CACA, 0xDA583535, 0xB09CC4C4, 0x17FC4343,
0x551A8484, 0x1FF64D4D, 0x8A1C5959, 0x7D38B2B2, 0x57AC3333, 0xC718CFCF,
0x8DF40606, 0x74695353, 0xB7749B9B, 0xC4F59797, 0x9F56ADAD, 0x72DAE3E3,
0x7ED5EAEA, 0x154AF4F4, 0x229E8F8F, 0x12A2ABAB, 0x584E6262, 0x07E85F5F,
0x99E51D1D, 0x34392323, 0x6EC1F6F6, 0x50446C6C, 0xDE5D3232, 0x68724646,
0x6526A0A0, 0xBC93CDCD, 0xDB03DADA, 0xF8C6BABA, 0xC8FA9E9E, 0xA882D6D6,
0x2BCF6E6E, 0x40507070, 0xDCEB8585, 0xFE750A0A, 0x328A9393, 0xA48DDFDF,
0xCA4C2929, 0x10141C1C, 0x2173D7D7, 0xF0CCB4B4, 0xD309D4D4, 0x5D108A8A,
0x0FE25151, 0x00000000, 0x6F9A1919, 0x9DE01A1A, 0x368F9494, 0x42E6C7C7,
0x4AECC9C9, 0x5EFDD2D2, 0xC1AB7F7F, 0xE0D8A8A8 };
const uint32_t Twofish::MDS2[256] = {
0xBC75BC32, 0xECF3EC21, 0x20C62043, 0xB3F4B3C9, 0xDADBDA03, 0x027B028B,
0xE2FBE22B, 0x9EC89EFA, 0xC94AC9EC, 0xD4D3D409, 0x18E6186B, 0x1E6B1E9F,
0x9845980E, 0xB27DB238, 0xA6E8A6D2, 0x264B26B7, 0x3CD63C57, 0x9332938A,
0x82D882EE, 0x52FD5298, 0x7B377BD4, 0xBB71BB37, 0x5BF15B97, 0x47E14783,
0x2430243C, 0x510F51E2, 0xBAF8BAC6, 0x4A1B4AF3, 0xBF87BF48, 0x0DFA0D70,
0xB006B0B3, 0x753F75DE, 0xD25ED2FD, 0x7DBA7D20, 0x66AE6631, 0x3A5B3AA3,
0x598A591C, 0x00000000, 0xCDBCCD93, 0x1A9D1AE0, 0xAE6DAE2C, 0x7FC17FAB,
0x2BB12BC7, 0xBE0EBEB9, 0xE080E0A0, 0x8A5D8A10, 0x3BD23B52, 0x64D564BA,
0xD8A0D888, 0xE784E7A5, 0x5F075FE8, 0x1B141B11, 0x2CB52CC2, 0xFC90FCB4,
0x312C3127, 0x80A38065, 0x73B2732A, 0x0C730C81, 0x794C795F, 0x6B546B41,
0x4B924B02, 0x53745369, 0x9436948F, 0x8351831F, 0x2A382A36, 0xC4B0C49C,
0x22BD22C8, 0xD55AD5F8, 0xBDFCBDC3, 0x48604878, 0xFF62FFCE, 0x4C964C07,
0x416C4177, 0xC742C7E6, 0xEBF7EB24, 0x1C101C14, 0x5D7C5D63, 0x36283622,
0x672767C0, 0xE98CE9AF, 0x441344F9, 0x149514EA, 0xF59CF5BB, 0xCFC7CF18,
0x3F243F2D, 0xC046C0E3, 0x723B72DB, 0x5470546C, 0x29CA294C, 0xF0E3F035,
0x088508FE, 0xC6CBC617, 0xF311F34F, 0x8CD08CE4, 0xA493A459, 0xCAB8CA96,
0x68A6683B, 0xB883B84D, 0x38203828, 0xE5FFE52E, 0xAD9FAD56, 0x0B770B84,
0xC8C3C81D, 0x99CC99FF, 0x580358ED, 0x196F199A, 0x0E080E0A, 0x95BF957E,
0x70407050, 0xF7E7F730, 0x6E2B6ECF, 0x1FE21F6E, 0xB579B53D, 0x090C090F,
0x61AA6134, 0x57825716, 0x9F419F0B, 0x9D3A9D80, 0x11EA1164, 0x25B925CD,
0xAFE4AFDD, 0x459A4508, 0xDFA4DF8D, 0xA397A35C, 0xEA7EEAD5, 0x35DA3558,
0xED7AEDD0, 0x431743FC, 0xF866F8CB, 0xFB94FBB1, 0x37A137D3, 0xFA1DFA40,
0xC23DC268, 0xB4F0B4CC, 0x32DE325D, 0x9CB39C71, 0x560B56E7, 0xE372E3DA,
0x87A78760, 0x151C151B, 0xF9EFF93A, 0x63D163BF, 0x345334A9, 0x9A3E9A85,
0xB18FB142, 0x7C337CD1, 0x8826889B, 0x3D5F3DA6, 0xA1ECA1D7, 0xE476E4DF,
0x812A8194, 0x91499101, 0x0F810FFB, 0xEE88EEAA, 0x16EE1661, 0xD721D773,
0x97C497F5, 0xA51AA5A8, 0xFEEBFE3F, 0x6DD96DB5, 0x78C578AE, 0xC539C56D,
0x1D991DE5, 0x76CD76A4, 0x3EAD3EDC, 0xCB31CB67, 0xB68BB647, 0xEF01EF5B,
0x1218121E, 0x602360C5, 0x6ADD6AB0, 0x4D1F4DF6, 0xCE4ECEE9, 0xDE2DDE7C,
0x55F9559D, 0x7E487E5A, 0x214F21B2, 0x03F2037A, 0xA065A026, 0x5E8E5E19,
0x5A785A66, 0x655C654B, 0x6258624E, 0xFD19FD45, 0x068D06F4, 0x40E54086,
0xF298F2BE, 0x335733AC, 0x17671790, 0x057F058E, 0xE805E85E, 0x4F644F7D,
0x89AF896A, 0x10631095, 0x74B6742F, 0x0AFE0A75, 0x5CF55C92, 0x9BB79B74,
0x2D3C2D33, 0x30A530D6, 0x2ECE2E49, 0x49E94989, 0x46684672, 0x77447755,
0xA8E0A8D8, 0x964D9604, 0x284328BD, 0xA969A929, 0xD929D979, 0x862E8691,
0xD1ACD187, 0xF415F44A, 0x8D598D15, 0xD6A8D682, 0xB90AB9BC, 0x429E420D,
0xF66EF6C1, 0x2F472FB8, 0xDDDFDD06, 0x23342339, 0xCC35CC62, 0xF16AF1C4,
0xC1CFC112, 0x85DC85EB, 0x8F228F9E, 0x71C971A1, 0x90C090F0, 0xAA9BAA53,
0x018901F1, 0x8BD48BE1, 0x4EED4E8C, 0x8EAB8E6F, 0xAB12ABA2, 0x6FA26F3E,
0xE60DE654, 0xDB52DBF2, 0x92BB927B, 0xB702B7B6, 0x692F69CA, 0x39A939D9,
0xD3D7D30C, 0xA761A723, 0xA21EA2AD, 0xC3B4C399, 0x6C506C44, 0x07040705,
0x04F6047F, 0x27C22746, 0xAC16ACA7, 0xD025D076, 0x50865013, 0xDC56DCF7,
0x8455841A, 0xE109E151, 0x7ABE7A25, 0x139113EF };
const uint32_t Twofish::MDS3[256] = {
0xD939A9D9, 0x90176790, 0x719CB371, 0xD2A6E8D2, 0x05070405, 0x9852FD98,
0x6580A365, 0xDFE476DF, 0x08459A08, 0x024B9202, 0xA0E080A0, 0x665A7866,
0xDDAFE4DD, 0xB06ADDB0, 0xBF63D1BF, 0x362A3836, 0x54E60D54, 0x4320C643,
0x62CC3562, 0xBEF298BE, 0x1E12181E, 0x24EBF724, 0xD7A1ECD7, 0x77416C77,
0xBD2843BD, 0x32BC7532, 0xD47B37D4, 0x9B88269B, 0x700DFA70, 0xF94413F9,
0xB1FB94B1, 0x5A7E485A, 0x7A03F27A, 0xE48CD0E4, 0x47B68B47, 0x3C24303C,
0xA5E784A5, 0x416B5441, 0x06DDDF06, 0xC56023C5, 0x45FD1945, 0xA33A5BA3,
0x68C23D68, 0x158D5915, 0x21ECF321, 0x3166AE31, 0x3E6FA23E, 0x16578216,
0x95106395, 0x5BEF015B, 0x4DB8834D, 0x91862E91, 0xB56DD9B5, 0x1F83511F,
0x53AA9B53, 0x635D7C63, 0x3B68A63B, 0x3FFEEB3F, 0xD630A5D6, 0x257ABE25,
0xA7AC16A7, 0x0F090C0F, 0x35F0E335, 0x23A76123, 0xF090C0F0, 0xAFE98CAF,
0x809D3A80, 0x925CF592, 0x810C7381, 0x27312C27, 0x76D02576, 0xE7560BE7,
0x7B92BB7B, 0xE9CE4EE9, 0xF10189F1, 0x9F1E6B9F, 0xA93453A9, 0xC4F16AC4,
0x99C3B499, 0x975BF197, 0x8347E183, 0x6B18E66B, 0xC822BDC8, 0x0E98450E,
0x6E1FE26E, 0xC9B3F4C9, 0x2F74B62F, 0xCBF866CB, 0xFF99CCFF, 0xEA1495EA,
0xED5803ED, 0xF7DC56F7, 0xE18BD4E1, 0x1B151C1B, 0xADA21EAD, 0x0CD3D70C,
0x2BE2FB2B, 0x1DC8C31D, 0x195E8E19, 0xC22CB5C2, 0x8949E989, 0x12C1CF12,
0x7E95BF7E, 0x207DBA20, 0x6411EA64, 0x840B7784, 0x6DC5396D, 0x6A89AF6A,
0xD17C33D1, 0xA171C9A1, 0xCEFF62CE, 0x37BB7137, 0xFB0F81FB, 0x3DB5793D,
0x51E10951, 0xDC3EADDC, 0x2D3F242D, 0xA476CDA4, 0x9D55F99D, 0xEE82D8EE,
0x8640E586, 0xAE78C5AE, 0xCD25B9CD, 0x04964D04, 0x55774455, 0x0A0E080A,
0x13508613, 0x30F7E730, 0xD337A1D3, 0x40FA1D40, 0x3461AA34, 0x8C4EED8C,
0xB3B006B3, 0x6C54706C, 0x2A73B22A, 0x523BD252, 0x0B9F410B, 0x8B027B8B,
0x88D8A088, 0x4FF3114F, 0x67CB3167, 0x4627C246, 0xC06727C0, 0xB4FC90B4,
0x28382028, 0x7F04F67F, 0x78486078, 0x2EE5FF2E, 0x074C9607, 0x4B655C4B,
0xC72BB1C7, 0x6F8EAB6F, 0x0D429E0D, 0xBBF59CBB, 0xF2DB52F2, 0xF34A1BF3,
0xA63D5FA6, 0x59A49359, 0xBCB90ABC, 0x3AF9EF3A, 0xEF1391EF, 0xFE0885FE,
0x01914901, 0x6116EE61, 0x7CDE2D7C, 0xB2214FB2, 0x42B18F42, 0xDB723BDB,
0xB82F47B8, 0x48BF8748, 0x2CAE6D2C, 0xE3C046E3, 0x573CD657, 0x859A3E85,
0x29A96929, 0x7D4F647D, 0x94812A94, 0x492ECE49, 0x17C6CB17, 0xCA692FCA,
0xC3BDFCC3, 0x5CA3975C, 0x5EE8055E, 0xD0ED7AD0, 0x87D1AC87, 0x8E057F8E,
0xBA64D5BA, 0xA8A51AA8, 0xB7264BB7, 0xB9BE0EB9, 0x6087A760, 0xF8D55AF8,
0x22362822, 0x111B1411, 0xDE753FDE, 0x79D92979, 0xAAEE88AA, 0x332D3C33,
0x5F794C5F, 0xB6B702B6, 0x96CAB896, 0x5835DA58, 0x9CC4B09C, 0xFC4317FC,
0x1A84551A, 0xF64D1FF6, 0x1C598A1C, 0x38B27D38, 0xAC3357AC, 0x18CFC718,
0xF4068DF4, 0x69537469, 0x749BB774, 0xF597C4F5, 0x56AD9F56, 0xDAE372DA,
0xD5EA7ED5, 0x4AF4154A, 0x9E8F229E, 0xA2AB12A2, 0x4E62584E, 0xE85F07E8,
0xE51D99E5, 0x39233439, 0xC1F66EC1, 0x446C5044, 0x5D32DE5D, 0x72466872,
0x26A06526, 0x93CDBC93, 0x03DADB03, 0xC6BAF8C6, 0xFA9EC8FA, 0x82D6A882,
0xCF6E2BCF, 0x50704050, 0xEB85DCEB, 0x750AFE75, 0x8A93328A, 0x8DDFA48D,
0x4C29CA4C, 0x141C1014, 0x73D72173, 0xCCB4F0CC, 0x09D4D309, 0x108A5D10,
0xE2510FE2, 0x00000000, 0x9A196F9A, 0xE01A9DE0, 0x8F94368F, 0xE6C742E6,
0xECC94AEC, 0xFDD25EFD, 0xAB7FC1AB, 0xD8A8E0D8 };
}
| {
"pile_set_name": "Github"
} |
#!/bin/sh
#
# Copyright (C) 2016 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Rebuild for all known targets. Necessary until the stuff in "out" gets
# generated as part of the build.
#
set -e
for arch in arm x86 mips arm64 x86_64 mips64; do TARGET_ARCH_EXT=$arch make -f Makefile_mterp; done
| {
"pile_set_name": "Github"
} |
{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf200
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;\red85\green92\blue98;\red255\green255\blue255;}
{\*\expandedcolortbl;;\cssrgb\c40784\c43529\c45882;\cssrgb\c100000\c100000\c100000;}
\margl1440\margr1440\vieww10800\viewh8400\viewkind0
\deftab720
\pard\pardeftab720\partightenfactor0
\f0\fs30 \cf2 \cb3 \expnd0\expndtw0\kerning0
In this chapter, you will learn how to manipulate and visualize time series data using pandas. You will become familiar with concepts such as upsampling, downsampling, and interpolation. You will practice using pandas' method chaining to efficiently filter your data and perform time series analyses. From stock prices to flight timings, time series data are found in a wide variety of domains and being able to effectively work with such data can be an invaluable skill.} | {
"pile_set_name": "Github"
} |
#ifndef __USBF_DEFS_H__
#define __USBF_DEFS_H__
//-----------------------------------------------------------------
// Macros:
//-----------------------------------------------------------------
// For Little Endian CPUs
#define USB_BYTE_SWAP16(n) (n)
// For Big Endian CPUs
//#define USB_BYTE_SWAP16(n) ((((unsigned short)((n) & 0xff)) << 8) | (((n) & 0xff00) >> 8))
#define LO_BYTE(w) ((unsigned char)(w))
#define HI_BYTE(w) ((unsigned char)(((unsigned short)(w) >> 8) & 0xFF))
#define MIN(a,b) ((a)<=(b)?(a):(b))
//-----------------------------------------------------------------
// Defines:
//-----------------------------------------------------------------
// Device class
#define DEV_CLASS_RESERVED 0x00
#define DEV_CLASS_AUDIO 0x01
#define DEV_CLASS_COMMS 0x02
#define DEV_CLASS_HID 0x03
#define DEV_CLASS_MONITOR 0x04
#define DEV_CLASS_PHY_IF 0x05
#define DEV_CLASS_POWER 0x06
#define DEV_CLASS_PRINTER 0x07
#define DEV_CLASS_STORAGE 0x08
#define DEV_CLASS_HUB 0x09
#define DEV_CLASS_TMC 0xFE
#define DEV_CLASS_VENDOR_CUSTOM 0xFF
// Standard requests (via SETUP packets)
#define REQ_GET_STATUS 0x00
#define REQ_CLEAR_FEATURE 0x01
#define REQ_SET_FEATURE 0x03
#define REQ_SET_ADDRESS 0x05
#define REQ_GET_DESCRIPTOR 0x06
#define REQ_SET_DESCRIPTOR 0x07
#define REQ_GET_CONFIGURATION 0x08
#define REQ_SET_CONFIGURATION 0x09
#define REQ_GET_INTERFACE 0x0A
#define REQ_SET_INTERFACE 0x0B
#define REQ_SYNC_FRAME 0x0C
// Descriptor types
#define DESC_DEVICE 0x01
#define DESC_CONFIGURATION 0x02
#define DESC_STRING 0x03
#define DESC_INTERFACE 0x04
#define DESC_ENDPOINT 0x05
#define DESC_DEV_QUALIFIER 0x06
#define DESC_OTHER_SPEED_CONF 0x07
#define DESC_IF_POWER 0x08
// Endpoints
#define ENDPOINT_DIR_MASK (1 << 7)
#define ENDPOINT_DIR_IN (1 << 7)
#define ENDPOINT_DIR_OUT (0 << 7)
#define ENDPOINT_ADDR_MASK (0x7F)
#define ENDPOINT_TYPE_MASK (0x3)
#define ENDPOINT_TYPE_CONTROL (0)
#define ENDPOINT_TYPE_ISO (1)
#define ENDPOINT_TYPE_BULK (2)
#define ENDPOINT_TYPE_INTERRUPT (3)
// Device Requests (bmRequestType)
#define USB_RECIPIENT_MASK 0x1F
#define USB_RECIPIENT_DEVICE 0x00
#define USB_RECIPIENT_INTERFACE 0x01
#define USB_RECIPIENT_ENDPOINT 0x02
#define USB_REQUEST_TYPE_MASK 0x60
#define USB_STANDARD_REQUEST 0x00
#define USB_CLASS_REQUEST 0x20
#define USB_VENDOR_REQUEST 0x40
// USB device addresses are 7-bits
#define USB_ADDRESS_MASK 0x7F
// USB Feature Selectors
#define USB_FEATURE_ENDPOINT_STATE 0x0000
#define USB_FEATURE_REMOTE_WAKEUP 0x0001
#define USB_FEATURE_TEST_MODE 0x0002
#endif
| {
"pile_set_name": "Github"
} |
/*
* Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.security.config.annotation.authentication.configurers.provisioning;
import java.util.ArrayList;
import java.util.List;
import org.springframework.security.config.annotation.SecurityBuilder;
import org.springframework.security.config.annotation.authentication.ProviderManagerBuilder;
import org.springframework.security.config.annotation.authentication.configurers.userdetails.UserDetailsServiceConfigurer;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.User;
import org.springframework.security.core.userdetails.User.UserBuilder;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.provisioning.UserDetailsManager;
/**
* Base class for populating an
* {@link org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder}
* with a {@link UserDetailsManager}.
*
* @param <B> the type of the {@link SecurityBuilder} that is being configured
* @param <C> the type of {@link UserDetailsManagerConfigurer}
* @author Rob Winch
* @since 3.2
*/
public class UserDetailsManagerConfigurer<B extends ProviderManagerBuilder<B>, C extends UserDetailsManagerConfigurer<B, C>>
extends UserDetailsServiceConfigurer<B, C, UserDetailsManager> {
private final List<UserDetailsBuilder> userBuilders = new ArrayList<>();
private final List<UserDetails> users = new ArrayList<>();
protected UserDetailsManagerConfigurer(UserDetailsManager userDetailsManager) {
super(userDetailsManager);
}
/**
* Populates the users that have been added.
* @throws Exception
*/
@Override
protected void initUserDetailsService() throws Exception {
for (UserDetailsBuilder userBuilder : this.userBuilders) {
getUserDetailsService().createUser(userBuilder.build());
}
for (UserDetails userDetails : this.users) {
getUserDetailsService().createUser(userDetails);
}
}
/**
* Allows adding a user to the {@link UserDetailsManager} that is being created. This
* method can be invoked multiple times to add multiple users.
* @param userDetails the user to add. Cannot be null.
* @return the {@link UserDetailsBuilder} for further customizations
*/
@SuppressWarnings("unchecked")
public final C withUser(UserDetails userDetails) {
this.users.add(userDetails);
return (C) this;
}
/**
* Allows adding a user to the {@link UserDetailsManager} that is being created. This
* method can be invoked multiple times to add multiple users.
* @param userBuilder the user to add. Cannot be null.
* @return the {@link UserDetailsBuilder} for further customizations
*/
@SuppressWarnings("unchecked")
public final C withUser(User.UserBuilder userBuilder) {
this.users.add(userBuilder.build());
return (C) this;
}
/**
* Allows adding a user to the {@link UserDetailsManager} that is being created. This
* method can be invoked multiple times to add multiple users.
* @param username the username for the user being added. Cannot be null.
* @return the {@link UserDetailsBuilder} for further customizations
*/
@SuppressWarnings("unchecked")
public final UserDetailsBuilder withUser(String username) {
UserDetailsBuilder userBuilder = new UserDetailsBuilder((C) this);
userBuilder.username(username);
this.userBuilders.add(userBuilder);
return userBuilder;
}
/**
* Builds the user to be added. At minimum the username, password, and authorities
* should provided. The remaining attributes have reasonable defaults.
*/
public final class UserDetailsBuilder {
private UserBuilder user;
private final C builder;
/**
* Creates a new instance
* @param builder the builder to return
*/
private UserDetailsBuilder(C builder) {
this.builder = builder;
}
/**
* Returns the {@link UserDetailsManagerConfigurer} for method chaining (i.e. to
* add another user)
* @return the {@link UserDetailsManagerConfigurer} for method chaining
*/
public C and() {
return this.builder;
}
/**
* Populates the username. This attribute is required.
* @param username the username. Cannot be null.
* @return the {@link UserDetailsBuilder} for method chaining (i.e. to populate
* additional attributes for this user)
*/
private UserDetailsBuilder username(String username) {
this.user = User.withUsername(username);
return this;
}
/**
* Populates the password. This attribute is required.
* @param password the password. Cannot be null.
* @return the {@link UserDetailsBuilder} for method chaining (i.e. to populate
* additional attributes for this user)
*/
public UserDetailsBuilder password(String password) {
this.user.password(password);
return this;
}
/**
* Populates the roles. This method is a shortcut for calling
* {@link #authorities(String...)}, but automatically prefixes each entry with
* "ROLE_". This means the following:
*
* <code>
* builder.roles("USER","ADMIN");
* </code>
*
* is equivalent to
*
* <code>
* builder.authorities("ROLE_USER","ROLE_ADMIN");
* </code>
*
* <p>
* This attribute is required, but can also be populated with
* {@link #authorities(String...)}.
* </p>
* @param roles the roles for this user (i.e. USER, ADMIN, etc). Cannot be null,
* contain null values or start with "ROLE_"
* @return the {@link UserDetailsBuilder} for method chaining (i.e. to populate
* additional attributes for this user)
*/
public UserDetailsBuilder roles(String... roles) {
this.user.roles(roles);
return this;
}
/**
* Populates the authorities. This attribute is required.
* @param authorities the authorities for this user. Cannot be null, or contain
* null values
* @return the {@link UserDetailsBuilder} for method chaining (i.e. to populate
* additional attributes for this user)
* @see #roles(String...)
*/
public UserDetailsBuilder authorities(GrantedAuthority... authorities) {
this.user.authorities(authorities);
return this;
}
/**
* Populates the authorities. This attribute is required.
* @param authorities the authorities for this user. Cannot be null, or contain
* null values
* @return the {@link UserDetailsBuilder} for method chaining (i.e. to populate
* additional attributes for this user)
* @see #roles(String...)
*/
public UserDetailsBuilder authorities(List<? extends GrantedAuthority> authorities) {
this.user.authorities(authorities);
return this;
}
/**
* Populates the authorities. This attribute is required.
* @param authorities the authorities for this user (i.e. ROLE_USER, ROLE_ADMIN,
* etc). Cannot be null, or contain null values
* @return the {@link UserDetailsBuilder} for method chaining (i.e. to populate
* additional attributes for this user)
* @see #roles(String...)
*/
public UserDetailsBuilder authorities(String... authorities) {
this.user.authorities(authorities);
return this;
}
/**
* Defines if the account is expired or not. Default is false.
* @param accountExpired true if the account is expired, false otherwise
* @return the {@link UserDetailsBuilder} for method chaining (i.e. to populate
* additional attributes for this user)
*/
public UserDetailsBuilder accountExpired(boolean accountExpired) {
this.user.accountExpired(accountExpired);
return this;
}
/**
* Defines if the account is locked or not. Default is false.
* @param accountLocked true if the account is locked, false otherwise
* @return the {@link UserDetailsBuilder} for method chaining (i.e. to populate
* additional attributes for this user)
*/
public UserDetailsBuilder accountLocked(boolean accountLocked) {
this.user.accountLocked(accountLocked);
return this;
}
/**
* Defines if the credentials are expired or not. Default is false.
* @param credentialsExpired true if the credentials are expired, false otherwise
* @return the {@link UserDetailsBuilder} for method chaining (i.e. to populate
* additional attributes for this user)
*/
public UserDetailsBuilder credentialsExpired(boolean credentialsExpired) {
this.user.credentialsExpired(credentialsExpired);
return this;
}
/**
* Defines if the account is disabled or not. Default is false.
* @param disabled true if the account is disabled, false otherwise
* @return the {@link UserDetailsBuilder} for method chaining (i.e. to populate
* additional attributes for this user)
*/
public UserDetailsBuilder disabled(boolean disabled) {
this.user.disabled(disabled);
return this;
}
UserDetails build() {
return this.user.build();
}
}
}
| {
"pile_set_name": "Github"
} |
01
02
03
1
10
11
12
13
14
15
16
17
18
19
1rer
2
20
2tty
3
3com
4
5
6
7
8
9
a
a.auth-ns
a01
a02
a1
a2
abc
about
ac
academico
acceso
access
accounting
accounts
acid
activestat
ad
adam
adkit
admin
administracion
administrador
administrator
administrators
admins
ads
adsense
adserver
adsl
ae
af
affiliate
affiliates
affiliati
afiliados
ag
agenda
agent
ai
aix
ajax
ak
akamai
al
alabama
alaska
albuquerque
alerts
alpha
alterwind
am
amarillo
americas
an
anaheim
analytics
analyzer
announce
announcements
antivirus
ao
ap
apache
api
apollo
app
app01
app1
apple
application
applications
apps
appserver
aq
ar
archie
arcsight
argentina
arizona
arkansas
arlington
as
as400
asia
asterix
at
athena
atlanta
atlas
att
au
auction
austin
auth
auto
av
aw
ayuda
az
b
b.auth-ns
b01
b02
b1
b2
b2b
b2c
ba
back
backend
backup
baker
bakersfield
balance
balancer
baltimore
banking
bayarea
bb
bbdd
bbs
bd
bdc
be
bea
beta
bf
bg
bh
bi
billing
biz
biztalk
bj
black
blackberry
blog
blogs
blue
bm
bn
bnc
bo
bob
bof
boise
bolsa
border
boston
boulder
boy
br
bravo
brazil
britian
broadcast
broker
bronze
brown
bs
bsd
bsd0
bsd01
bsd02
bsd1
bsd2
bt
bug
buggalo
bugs
bugzilla
build
bulletins
burn
burner
buscador
buy
bv
bw
by
bz
c
c.auth-ns
ca
cache
cafe
calendar
california
call
calvin
canada
canal
canon
careers
catalog
cc
cd
cdburner
cdn
cert
certificates
certify
certserv
certsrv
cf
cg
cgi
ch
channel
channels
charlie
charlotte
chat
chats
chatserver
check
checkpoint
chi
chicago
ci
cims
cincinnati
cisco
citrix
ck
cl
class
classes
classifieds
classroom
cleveland
clicktrack
client
clientes
clients
cloud
club
clubs
cluster
clusters
cm
cmail
cms
cn
co
cocoa
code
coldfusion
colombus
colorado
columbus
com
commerce
commerceserver
communigate
community
compaq
compras
comunicare
comunicati
comunicazione
con
concentrator
conf
conference
conferencing
confidential
connect
connecticut
consola
console
consult
consultant
consultants
consulting
consumer
contact
content
contracts
core
core0
core01
corp
corpmail
corporate
correo
correoweb
cortafuegos
counterstrike
courses
cr
cricket
crm
crs
cs
cso
css
ct
cu
cust1
cust10
cust100
cust101
cust102
cust103
cust104
cust105
cust106
cust107
cust108
cust109
cust11
cust110
cust111
cust112
cust113
cust114
cust115
cust116
cust117
cust118
cust119
cust12
cust120
cust121
cust122
cust123
cust124
cust125
cust126
cust13
cust14
cust15
cust16
cust17
cust18
cust19
cust2
cust20
cust21
cust22
cust23
cust24
cust25
cust26
cust27
cust28
cust29
cust3
cust30
cust31
cust32
cust33
cust34
cust35
cust36
cust37
cust38
cust39
cust4
cust40
cust41
cust42
cust43
cust44
cust45
cust46
cust47
cust48
cust49
cust5
cust50
cust51
cust52
cust53
cust54
cust55
cust56
cust57
cust58
cust59
cust6
cust60
cust61
cust62
cust63
cust64
cust65
cust66
cust67
cust68
cust69
cust7
cust70
cust71
cust72
cust73
cust74
cust75
cust76
cust77
cust78
cust79
cust8
cust80
cust81
cust82
cust83
cust84
cust85
cust86
cust87
cust88
cust89
cust9
cust90
cust91
cust92
cust93
cust94
cust95
cust96
cust97
cust98
cust99
customer
customers
cv
cvs
cx
cy
cz
d
dallas
data
database
database01
database02
database1
database2
databases
datastore
datos
david
db
db0
db01
db02
db1
db2
dc
de
dealers
dec
def
default
defiant
delaware
dell
delta
delta1
demo
demonstration
demos
denver
depot
des
desarrollo
descargas
design
designer
detroit
dev
dev0
dev01
dev1
devel
develop
developer
developers
development
device
devserver
devsql
dhcp
dial
dialup
digital
dilbert
dir
direct
directory
disc
discovery
discuss
discussion
discussions
disk
disney
distributer
distributers
dj
dk
dm
dmail
dmz
dnews
dns
dns-2
dns0
dns1
dns2
dns3
do
docs
documentacion
documentos
domain
domains
dominio
domino
dominoweb
doom
download
downloads
downtown
dragon
drupal
dsl
dyn
dynamic
dynip
dz
e
e-com
e-commerce
e0
eagle
earth
east
ec
echo
ecom
ecommerce
edi
edu
education
edward
ee
eg
eh
ejemplo
elpaso
email
employees
empresa
empresas
en
enable
eng
eng01
eng1
engine
engineer
engineering
enterprise
epsilon
er
erp
es
esd
esm
espanol
estadisticas
esx
et
eta
europe
events
exchange
exec
extern
external
extranet
f
f5
falcon
farm
faststats
fax
feedback
feeds
fi
field
file
files
fileserv
fileserver
filestore
filter
find
finger
firewall
fix
fixes
fj
fk
fl
flash
florida
flow
fm
fo
foobar
formacion
foro
foros
fortworth
forum
forums
foto
fotos
foundry
fox
foxtrot
fr
france
frank
fred
freebsd
freebsd0
freebsd01
freebsd02
freebsd1
freebsd2
freeware
fresno
front
frontdesk
fs
fsp
ftp
ftp-
ftp0
ftp2
ftp_
ftpserver
fw
fw-1
fw1
fwsm
fwsm0
fwsm01
fwsm1
g
ga
galeria
galerias
galleries
gallery
games
gamma
gandalf
gate
gatekeeper
gateway
gauss
gd
ge
gemini
general
george
georgia
germany
gf
gg
gh
gi
gl
glendale
gm
gmail
gn
go
gold
goldmine
golf
gopher
gov
govt
govyty
gp
gq
gr
green
group
groups
groupwise
gs
gsx
gt
gu
guest
gw
gw1
gy
h
hal
halflife
hawaii
hello
help
helpdesk
helponline
henry
hermes
hgfgdf
hi
hidden
hk
hm
hn
hobbes
hollywood
home
homebase
homer
honeypot
honolulu
host
host1
host3
host4
host5
hotel
hotjobs
houstin
houston
howto
hp
hpov
hr
ht
http
https
hu
hub
humanresources
i
ia
ias
ibm
ibmdb
id
ida
idaho
ids
ie
iis
il
illinois
im
image
images
imail
imap
imap4
img
img0
img01
img02
in
inbound
inc
include
incoming
india
indiana
indianapolis
info
informix
inside
install
int
intern
internal
international
internet
intl
intranet
invalid
investor
investors
invia
invio
io
iota
iowa
iplanet
ipmonitor
ipsec
ipsec-gw
iq
ir
irc
ircd
ircserver
ireland
iris
irvine
irving
is
isa
isaserv
isaserver
ism
israel
isync
it
italy
ix
j
japan
java
je
jedi
jenkins
jm
jo
jobs
john
jp
jrun
juegos
juliet
juliette
juniper
k
kansas
kansascity
kappa
kb
ke
kentucky
kerberos
keynote
kg
kh
ki
kilo
king
km
kn
knowledgebase
knoxville
koe
korea
kp
kr
ks
kw
ky
kz
l
la
lab
laboratory
labs
lambda
lan
laptop
laserjet
lasvegas
launch
lb
lc
ldap
legal
leo
li
lib
library
lima
lincoln
link
linux
linux0
linux01
linux02
linux1
linux2
lista
lists
listserv
listserver
live
lk
lkjkui
load
loadbalancer
local
localhost
log
log0
log01
log02
log1
log2
logfile
logfiles
logger
logging
loghost
login
logs
london
longbeach
losangeles
lotus
louisiana
lr
ls
lt
lu
luke
lv
ly
lyris
m
ma
mac
mac1
mac10
mac11
mac2
mac3
mac4
mac5
mach
macintosh
madrid
mail
mail1
mail2
mailer
mailgate
mailhost
mailing
maillist
maillists
mailroom
mailserv
mailsite
mailsrv
main
maine
maint
mall
manage
management
manager
manufacturing
map
mapas
maps
marketing
marketplace
mars
marvin
mary
maryland
massachusetts
master
max
mc
mci
md
mdaemon
me
media
member
members
memphis
mercury
merlin
messages
messenger
mg
mgmt
mh
mi
miami
michigan
mickey
midwest
mike
milwaukee
minneapolis
minnesota
mirror
mis
mississippi
missouri
mk
ml
mm
mn
mngt
mo
mobile
mom
monitor
monitoring
montana
moon
moscow
movies
mozart
mp
mp3
mpeg
mpg
mq
mr
mrtg
ms
ms-exchange
ms-sql
msexchange
mssql
mssql0
mssql01
mssql1
mt
mta
mtu
mu
multimedia
music
mv
mw
mx
mx1
my
mysql
mysql0
mysql01
mysql1
mz
n
na
name
names
nameserv
nameserver
nas
nashville
nat
nc
nd
nds
ne
nebraska
neptune
net
netapp
netdata
netgear
netmeeting
netscaler
netscreen
netstats
network
nevada
new
newhampshire
newjersey
newmexico
neworleans
news
newsfeed
newsfeeds
newsgroups
newton
newyork
newzealand
nf
ng
nh
ni
nigeria
nj
nl
nm
nms
nntp
no
node
nokia
nombres
nora
north
northcarolina
northdakota
northeast
northwest
noticias
novell
november
np
nr
ns
ns-
ns0
ns01
ns02
ns1
ns2
ns3
ns4
ns5
ns_
nt
nt4
nt40
ntmail
ntp
ntserver
nu
null
nv
ny
nz
o
oakland
ocean
odin
odoo
office
offices
oh
ohio
ok
oklahoma
oklahomacity
old
om
omaha
omega
omicron
online
ontario
open
openbsd
openview
operations
ops
ops0
ops01
ops02
ops1
ops2
opsware
or
oracle
orange
order
orders
oregon
orion
orlando
oscar
out
outbound
outgoing
outlook
outside
ov
owa
owa01
owa02
owa1
owa2
ows
oxnard
p
pa
page
pager
pages
paginas
papa
paris
parners
partner
partners
patch
patches
paul
payroll
pbx
pc
pc01
pc1
pc10
pc101
pc11
pc12
pc13
pc14
pc15
pc16
pc17
pc18
pc19
pc2
pc20
pc21
pc22
pc23
pc24
pc25
pc26
pc27
pc28
pc29
pc3
pc30
pc31
pc32
pc33
pc34
pc35
pc36
pc37
pc38
pc39
pc4
pc40
pc41
pc42
pc43
pc44
pc45
pc46
pc47
pc48
pc49
pc5
pc50
pc51
pc52
pc53
pc54
pc55
pc56
pc57
pc58
pc59
pc6
pc60
pc7
pc8
pc9
pcmail
pda
pdc
pe
pegasus
pennsylvania
peoplesoft
personal
pf
pg
pgp
ph
phi
philadelphia
phoenix
phoeniz
phone
phones
photos
pi
pics
picture
pictures
pink
pipex-gw
pittsburgh
pix
pk
pki
pl
plano
platinum
pluto
pm
pm1
pn
po
policy
polls
pop
pop3
portal
portals
portfolio
portland
post
posta
posta01
posta02
posta03
postales
postoffice
ppp1
ppp10
ppp11
ppp12
ppp13
ppp14
ppp15
ppp16
ppp17
ppp18
ppp19
ppp2
ppp20
ppp21
ppp3
ppp4
ppp5
ppp6
ppp7
ppp8
ppp9
pptp
pr
prensa
press
priv
privacy
private
problemtracker
products
profiles
project
projects
promo
proxy
prueba
pruebas
ps
psi
pss
pt
pub
public
pubs
purple
pw
py
q
qa
qmail
qotd
quake
quebec
queen
quotes
r
r01
r02
r1
r2
ra
radio
radius
rapidsite
raptor
ras
rc
rcs
rd
re
read
realserver
recruiting
red
redhat
ref
reference
reg
register
registro
registry
regs
relay
rem
remote
remstats
reports
research
reseller
reserved
resumenes
rho
rhodeisland
ri
ris
rmi
ro
robert
romeo
root
rose
route
router
router1
rs
rss
rtelnet
rtr
rtr01
rtr1
ru
rune
rw
rwhois
s
s1
s2
sa
sac
sacramento
sadmin
safe
sales
saltlake
sam
san
sanantonio
sandiego
sanfrancisco
sanjose
saskatchewan
saturn
sb
sbs
sc
scanner
schedules
scotland
scotty
sd
se
search
seattle
sec
secret
secure
secured
securid
security
sendmail
seri
serv
serv2
server
server1
servers
service
services
servicio
servidor
setup
sg
sh
sha2
shared
sharepoint
shareware
shipping
shop
shoppers
shopping
si
siebel
sierra
sigma
signin
signup
silver
sim
sirius
site
sj
sk
skywalker
sl
slackware
slmail
sm
smc
sms
smtp
smtphost
sn
sniffer
snmp
snmpd
snoopy
snort
so
social
software
sol
solaris
solutions
soporte
source
sourcecode
sourcesafe
south
southcarolina
southdakota
southeast
southwest
spain
spam
spider
spiderman
splunk
spock
spokane
springfield
sqa
sql
sql0
sql01
sql1
sql7
sqlserver
squid
sr
ss
ssh
ssl
ssl0
ssl01
ssl1
st
staff
stage
staging
start
stat
static
statistics
stats
stlouis
stock
storage
store
storefront
streaming
stronghold
strongmail
studio
submit
subversion
sun
sun0
sun01
sun02
sun1
sun2
superman
supplier
suppliers
support
sv
sw
sw0
sw01
sw1
sweden
switch
switzerland
sy
sybase
sydney
sysadmin
sysback
syslog
syslogs
system
sz
t
tacoma
taiwan
talk
tampa
tango
tau
tc
tcl
td
team
tech
technology
techsupport
telephone
telephony
telnet
temp
tennessee
terminal
terminalserver
termserv
test
test2k
testbed
testing
testlab
testlinux
testo
testserver
testsite
testsql
testxp
texas
tf
tftp
tg
th
thailand
theta
thor
tienda
tiger
time
titan
tivoli
tj
tk
tm
tn
to
tokyo
toledo
tom
tool
tools
toplayer
toronto
tour
tp
tr
tracker
train
training
transfers
trinidad
trinity
ts
ts1
tt
tucson
tulsa
tumb
tumblr
tunnel
tv
tw
tx
tz
u
ua
uddi
ug
uk
um
uniform
union
unitedkingdom
unitedstates
unix
unixware
update
updates
upload
ups
upsilon
uranus
urchin
us
usa
usenet
user
users
ut
utah
utilities
uy
uz
v
va
vader
vantive
vault
vc
ve
vega
vegas
vend
vendors
venus
vermont
vg
vi
victor
video
videos
viking
violet
vip
virginia
vista
vm
vmserver
vmware
vn
vnc
voice
voicemail
voip
voyager
vpn
vpn0
vpn01
vpn02
vpn1
vpn2
vt
vu
w
w1
w2
w3
wa
wais
wallet
wam
wan
wap
warehouse
washington
wc3
web
webaccess
webadmin
webalizer
webboard
webcache
webcam
webcast
webdev
webdocs
webfarm
webhelp
weblib
weblogic
webmail
webmaster
webproxy
webring
webs
webserv
webserver
webservices
website
websites
websphere
websrv
websrvr
webstats
webstore
websvr
webtrends
welcome
west
westvirginia
wf
whiskey
white
whois
wi
wichita
wiki
wililiam
win
win01
win02
win1
win2
win2000
win2003
win2k
win2k3
windows
windows01
windows02
windows1
windows2
windows2000
windows2003
windowsxp
wingate
winnt
winproxy
wins
winserve
winxp
wire
wireless
wisconsin
wlan
wordpress
work
world
write
ws
ws1
ws10
ws11
ws12
ws13
ws2
ws3
ws4
ws5
ws6
ws7
ws8
ws9
wusage
wv
ww
ww1
ww42
www
www-
www-01
www-02
www-1
www-2
www-int
www0
www01
www02
www1
www2
www3
www_
wwwchat
wwwdev
wwwmail
wy
wyoming
x
x-ray
xi
xlogan
xmail
xml
xp
y
yankee
ye
yellow
young
yt
yu
z
z-log
za
zebra
zera
zeus
zlog
zm
zulu
zw
| {
"pile_set_name": "Github"
} |
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.core.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.reflect.AnnotatedElement;
import java.util.Iterator;
import java.util.Set;
import org.assertj.core.api.ThrowableAssert.ThrowingCallable;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
import static org.springframework.core.annotation.AnnotatedElementUtils.findMergedRepeatableAnnotations;
import static org.springframework.core.annotation.AnnotatedElementUtils.getMergedRepeatableAnnotations;
/**
* Unit tests that verify support for getting and finding all composed, repeatable
* annotations on a single annotated element.
*
* <p>See <a href="https://jira.spring.io/browse/SPR-13973">SPR-13973</a>.
*
* @author Sam Brannen
* @since 4.3
* @see AnnotatedElementUtils#getMergedRepeatableAnnotations
* @see AnnotatedElementUtils#findMergedRepeatableAnnotations
* @see AnnotatedElementUtilsTests
* @see MultipleComposedAnnotationsOnSingleAnnotatedElementTests
*/
class ComposedRepeatableAnnotationsTests {
@Test
void getNonRepeatableAnnotation() {
expectNonRepeatableAnnotation(() ->
getMergedRepeatableAnnotations(getClass(), NonRepeatable.class));
}
@Test
void getInvalidRepeatableAnnotationContainerMissingValueAttribute() {
expectContainerMissingValueAttribute(() ->
getMergedRepeatableAnnotations(getClass(), InvalidRepeatable.class, ContainerMissingValueAttribute.class));
}
@Test
void getInvalidRepeatableAnnotationContainerWithNonArrayValueAttribute() {
expectContainerWithNonArrayValueAttribute(() ->
getMergedRepeatableAnnotations(getClass(), InvalidRepeatable.class, ContainerWithNonArrayValueAttribute.class));
}
@Test
void getInvalidRepeatableAnnotationContainerWithArrayValueAttributeButWrongComponentType() {
expectContainerWithArrayValueAttributeButWrongComponentType(() ->
getMergedRepeatableAnnotations(getClass(), InvalidRepeatable.class, ContainerWithArrayValueAttributeButWrongComponentType.class));
}
@Test
void getRepeatableAnnotationsOnClass() {
assertGetRepeatableAnnotations(RepeatableClass.class);
}
@Test
void getRepeatableAnnotationsOnSuperclass() {
assertGetRepeatableAnnotations(SubRepeatableClass.class);
}
@Test
void getComposedRepeatableAnnotationsOnClass() {
assertGetRepeatableAnnotations(ComposedRepeatableClass.class);
}
@Test
void getComposedRepeatableAnnotationsMixedWithContainerOnClass() {
assertGetRepeatableAnnotations(ComposedRepeatableMixedWithContainerClass.class);
}
@Test
void getComposedContainerForRepeatableAnnotationsOnClass() {
assertGetRepeatableAnnotations(ComposedContainerClass.class);
}
@Test
void getNoninheritedComposedRepeatableAnnotationsOnClass() {
Class<?> element = NoninheritedRepeatableClass.class;
Set<Noninherited> annotations = getMergedRepeatableAnnotations(element, Noninherited.class);
assertNoninheritedRepeatableAnnotations(annotations);
}
@Test
void getNoninheritedComposedRepeatableAnnotationsOnSuperclass() {
Class<?> element = SubNoninheritedRepeatableClass.class;
Set<Noninherited> annotations = getMergedRepeatableAnnotations(element, Noninherited.class);
assertThat(annotations).isNotNull();
assertThat(annotations.size()).isEqualTo(0);
}
@Test
void findNonRepeatableAnnotation() {
expectNonRepeatableAnnotation(() ->
findMergedRepeatableAnnotations(getClass(), NonRepeatable.class));
}
@Test
void findInvalidRepeatableAnnotationContainerMissingValueAttribute() {
expectContainerMissingValueAttribute(() ->
findMergedRepeatableAnnotations(getClass(), InvalidRepeatable.class, ContainerMissingValueAttribute.class));
}
@Test
void findInvalidRepeatableAnnotationContainerWithNonArrayValueAttribute() {
expectContainerWithNonArrayValueAttribute(() ->
findMergedRepeatableAnnotations(getClass(), InvalidRepeatable.class, ContainerWithNonArrayValueAttribute.class));
}
@Test
void findInvalidRepeatableAnnotationContainerWithArrayValueAttributeButWrongComponentType() {
expectContainerWithArrayValueAttributeButWrongComponentType(() ->
findMergedRepeatableAnnotations(getClass(), InvalidRepeatable.class,
ContainerWithArrayValueAttributeButWrongComponentType.class));
}
@Test
void findRepeatableAnnotationsOnClass() {
assertFindRepeatableAnnotations(RepeatableClass.class);
}
@Test
void findRepeatableAnnotationsOnSuperclass() {
assertFindRepeatableAnnotations(SubRepeatableClass.class);
}
@Test
void findComposedRepeatableAnnotationsOnClass() {
assertFindRepeatableAnnotations(ComposedRepeatableClass.class);
}
@Test
void findComposedRepeatableAnnotationsMixedWithContainerOnClass() {
assertFindRepeatableAnnotations(ComposedRepeatableMixedWithContainerClass.class);
}
@Test
void findNoninheritedComposedRepeatableAnnotationsOnClass() {
Class<?> element = NoninheritedRepeatableClass.class;
Set<Noninherited> annotations = findMergedRepeatableAnnotations(element, Noninherited.class);
assertNoninheritedRepeatableAnnotations(annotations);
}
@Test
void findNoninheritedComposedRepeatableAnnotationsOnSuperclass() {
Class<?> element = SubNoninheritedRepeatableClass.class;
Set<Noninherited> annotations = findMergedRepeatableAnnotations(element, Noninherited.class);
assertNoninheritedRepeatableAnnotations(annotations);
}
@Test
void findComposedContainerForRepeatableAnnotationsOnClass() {
assertFindRepeatableAnnotations(ComposedContainerClass.class);
}
private void expectNonRepeatableAnnotation(ThrowingCallable throwingCallable) {
assertThatIllegalArgumentException().isThrownBy(throwingCallable)
.withMessageStartingWith("Annotation type must be a repeatable annotation")
.withMessageContaining("failed to resolve container type for")
.withMessageContaining(NonRepeatable.class.getName());
}
private void expectContainerMissingValueAttribute(ThrowingCallable throwingCallable) {
assertThatExceptionOfType(AnnotationConfigurationException.class).isThrownBy(throwingCallable)
.withMessageStartingWith("Invalid declaration of container type")
.withMessageContaining(ContainerMissingValueAttribute.class.getName())
.withMessageContaining("for repeatable annotation")
.withMessageContaining(InvalidRepeatable.class.getName())
.withCauseExactlyInstanceOf(NoSuchMethodException.class);
}
private void expectContainerWithNonArrayValueAttribute(ThrowingCallable throwingCallable) {
assertThatExceptionOfType(AnnotationConfigurationException.class).isThrownBy(throwingCallable)
.withMessageStartingWith("Container type")
.withMessageContaining(ContainerWithNonArrayValueAttribute.class.getName())
.withMessageContaining("must declare a 'value' attribute for an array of type")
.withMessageContaining(InvalidRepeatable.class.getName());
}
private void expectContainerWithArrayValueAttributeButWrongComponentType(ThrowingCallable throwingCallable) {
assertThatExceptionOfType(AnnotationConfigurationException.class).isThrownBy(throwingCallable)
.withMessageStartingWith("Container type")
.withMessageContaining(ContainerWithArrayValueAttributeButWrongComponentType.class.getName())
.withMessageContaining("must declare a 'value' attribute for an array of type")
.withMessageContaining(InvalidRepeatable.class.getName());
}
private void assertGetRepeatableAnnotations(AnnotatedElement element) {
assertThat(element).isNotNull();
Set<PeteRepeat> peteRepeats = getMergedRepeatableAnnotations(element, PeteRepeat.class);
assertThat(peteRepeats).isNotNull();
assertThat(peteRepeats.size()).isEqualTo(3);
Iterator<PeteRepeat> iterator = peteRepeats.iterator();
assertThat(iterator.next().value()).isEqualTo("A");
assertThat(iterator.next().value()).isEqualTo("B");
assertThat(iterator.next().value()).isEqualTo("C");
}
private void assertFindRepeatableAnnotations(AnnotatedElement element) {
assertThat(element).isNotNull();
Set<PeteRepeat> peteRepeats = findMergedRepeatableAnnotations(element, PeteRepeat.class);
assertThat(peteRepeats).isNotNull();
assertThat(peteRepeats.size()).isEqualTo(3);
Iterator<PeteRepeat> iterator = peteRepeats.iterator();
assertThat(iterator.next().value()).isEqualTo("A");
assertThat(iterator.next().value()).isEqualTo("B");
assertThat(iterator.next().value()).isEqualTo("C");
}
private void assertNoninheritedRepeatableAnnotations(Set<Noninherited> annotations) {
assertThat(annotations).isNotNull();
assertThat(annotations.size()).isEqualTo(3);
Iterator<Noninherited> iterator = annotations.iterator();
assertThat(iterator.next().value()).isEqualTo("A");
assertThat(iterator.next().value()).isEqualTo("B");
assertThat(iterator.next().value()).isEqualTo("C");
}
// -------------------------------------------------------------------------
@Retention(RetentionPolicy.RUNTIME)
@interface NonRepeatable {
}
@Retention(RetentionPolicy.RUNTIME)
@interface ContainerMissingValueAttribute {
// InvalidRepeatable[] value();
}
@Retention(RetentionPolicy.RUNTIME)
@interface ContainerWithNonArrayValueAttribute {
InvalidRepeatable value();
}
@Retention(RetentionPolicy.RUNTIME)
@interface ContainerWithArrayValueAttributeButWrongComponentType {
String[] value();
}
@Retention(RetentionPolicy.RUNTIME)
@interface InvalidRepeatable {
}
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@interface PeteRepeats {
PeteRepeat[] value();
}
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Repeatable(PeteRepeats.class)
@interface PeteRepeat {
String value();
}
@PeteRepeat("shadowed")
@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@interface ForPetesSake {
@AliasFor(annotation = PeteRepeat.class)
String value();
}
@PeteRepeat("shadowed")
@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@interface ForTheLoveOfFoo {
@AliasFor(annotation = PeteRepeat.class)
String value();
}
@PeteRepeats({ @PeteRepeat("B"), @PeteRepeat("C") })
@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@interface ComposedContainer {
}
@PeteRepeat("A")
@PeteRepeats({ @PeteRepeat("B"), @PeteRepeat("C") })
static class RepeatableClass {
}
static class SubRepeatableClass extends RepeatableClass {
}
@ForPetesSake("B")
@ForTheLoveOfFoo("C")
@PeteRepeat("A")
static class ComposedRepeatableClass {
}
@ForPetesSake("C")
@PeteRepeats(@PeteRepeat("A"))
@PeteRepeat("B")
static class ComposedRepeatableMixedWithContainerClass {
}
@PeteRepeat("A")
@ComposedContainer
static class ComposedContainerClass {
}
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@interface Noninheriteds {
Noninherited[] value();
}
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Repeatable(Noninheriteds.class)
@interface Noninherited {
@AliasFor("name")
String value() default "";
@AliasFor("value")
String name() default "";
}
@Noninherited(name = "shadowed")
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@interface ComposedNoninherited {
@AliasFor(annotation = Noninherited.class)
String name() default "";
}
@ComposedNoninherited(name = "C")
@Noninheriteds({ @Noninherited(value = "A"), @Noninherited(name = "B") })
static class NoninheritedRepeatableClass {
}
static class SubNoninheritedRepeatableClass extends NoninheritedRepeatableClass {
}
}
| {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.