// Copyright 2019 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The go-ethereum library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

package bind

import (
	"math/big"
	"reflect"
	"testing"

	"github.com/ethereum/go-ethereum/accounts/abi"
	"github.com/ethereum/go-ethereum/common"
)

func TestMakeTopics(t *testing.T) {
	type args struct {
		query [][]interface{}
	}
	tests := []struct {
		name    string
		args    args
		want    [][]common.Hash
		wantErr bool
	}{
		{
			"support fixed byte types, right padded to 32 bytes",
			args{[][]interface{}{{[5]byte{1, 2, 3, 4, 5}}}},
			[][]common.Hash{{common.Hash{1, 2, 3, 4, 5}}},
			false,
		},
	}
	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			got, err := makeTopics(tt.args.query...)
			if (err != nil) != tt.wantErr {
				t.Errorf("makeTopics() error = %v, wantErr %v", err, tt.wantErr)
				return
			}
			if !reflect.DeepEqual(got, tt.want) {
				t.Errorf("makeTopics() = %v, want %v", got, tt.want)
			}
		})
	}
}

type args struct {
	createObj func() interface{}
	resultObj func() interface{}
	resultMap func() map[string]interface{}
	fields    abi.Arguments
	topics    []common.Hash
}

type bytesStruct struct {
	StaticBytes [5]byte
}
type int8Struct struct {
	Int8Value int8
}
type int256Struct struct {
	Int256Value *big.Int
}

type topicTest struct {
	name    string
	args    args
	wantErr bool
}

func setupTopicsTests() []topicTest {
	bytesType, _ := abi.NewType("bytes5", "", nil)
	int8Type, _ := abi.NewType("int8", "", nil)
	int256Type, _ := abi.NewType("int256", "", nil)

	tests := []topicTest{
		{
			name: "support fixed byte types, right padded to 32 bytes",
			args: args{
				createObj: func() interface{} { return &bytesStruct{} },
				resultObj: func() interface{} { return &bytesStruct{StaticBytes: [5]byte{1, 2, 3, 4, 5}} },
				resultMap: func() map[string]interface{} {
					return map[string]interface{}{"staticBytes": [5]byte{1, 2, 3, 4, 5}}
				},
				fields: abi.Arguments{abi.Argument{
					Name:    "staticBytes",
					Type:    bytesType,
					Indexed: true,
				}},
				topics: []common.Hash{
					{1, 2, 3, 4, 5},
				},
			},
			wantErr: false,
		},
		{
			name: "int8 with negative value",
			args: args{
				createObj: func() interface{} { return &int8Struct{} },
				resultObj: func() interface{} { return &int8Struct{Int8Value: -1} },
				resultMap: func() map[string]interface{} {
					return map[string]interface{}{"int8Value": int8(-1)}
				},
				fields: abi.Arguments{abi.Argument{
					Name:    "int8Value",
					Type:    int8Type,
					Indexed: true,
				}},
				topics: []common.Hash{
					{255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
						255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255},
				},
			},
			wantErr: false,
		},
		{
			name: "int256 with negative value",
			args: args{
				createObj: func() interface{} { return &int256Struct{} },
				resultObj: func() interface{} { return &int256Struct{Int256Value: big.NewInt(-1)} },
				resultMap: func() map[string]interface{} {
					return map[string]interface{}{"int256Value": big.NewInt(-1)}
				},
				fields: abi.Arguments{abi.Argument{
					Name:    "int256Value",
					Type:    int256Type,
					Indexed: true,
				}},
				topics: []common.Hash{
					{255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
						255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255},
				},
			},
			wantErr: false,
		},
	}

	return tests
}

func TestParseTopics(t *testing.T) {
	tests := setupTopicsTests()

	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			createObj := tt.args.createObj()
			if err := parseTopics(createObj, tt.args.fields, tt.args.topics); (err != nil) != tt.wantErr {
				t.Errorf("parseTopics() error = %v, wantErr %v", err, tt.wantErr)
			}
			resultObj := tt.args.resultObj()
			if !reflect.DeepEqual(createObj, resultObj) {
				t.Errorf("parseTopics() = %v, want %v", createObj, resultObj)
			}
		})
	}
}

func TestParseTopicsIntoMap(t *testing.T) {
	tests := setupTopicsTests()

	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			outMap := make(map[string]interface{})
			if err := parseTopicsIntoMap(outMap, tt.args.fields, tt.args.topics); (err != nil) != tt.wantErr {
				t.Errorf("parseTopicsIntoMap() error = %v, wantErr %v", err, tt.wantErr)
			}
			resultMap := tt.args.resultMap()
			if !reflect.DeepEqual(outMap, resultMap) {
				t.Errorf("parseTopicsIntoMap() = %v, want %v", outMap, resultMap)
			}
		})
	}
}

{'repo_name': 'celo-org/celo-blockchain', 'stars': '148', 'repo_language': 'Go', 'file_name': 'sync_bloom.go', 'mime_type': 'text/plain', 'hash': -7049789699156163425, 'source_dataset': 'data'}


=pod

=head1 NAME

RSA_sign_ASN1_OCTET_STRING, RSA_verify_ASN1_OCTET_STRING - RSA signatures

=head1 SYNOPSIS

 #include <openssl/rsa.h>

 int RSA_sign_ASN1_OCTET_STRING(int dummy, unsigned char *m,
    unsigned int m_len, unsigned char *sigret, unsigned int *siglen,
    RSA *rsa);

 int RSA_verify_ASN1_OCTET_STRING(int dummy, unsigned char *m,
    unsigned int m_len, unsigned char *sigbuf, unsigned int siglen,
    RSA *rsa);

=head1 DESCRIPTION

RSA_sign_ASN1_OCTET_STRING() signs the octet string B<m> of size
B<m_len> using the private key B<rsa> represented in DER using PKCS #1
padding. It stores the signature in B<sigret> and the signature size
in B<siglen>. B<sigret> must point to B<RSA_size(rsa)> bytes of
memory.

B<dummy> is ignored.

The random number generator must be seeded prior to calling RSA_sign_ASN1_OCTET_STRING().

RSA_verify_ASN1_OCTET_STRING() verifies that the signature B<sigbuf>
of size B<siglen> is the DER representation of a given octet string
B<m> of size B<m_len>. B<dummy> is ignored. B<rsa> is the signer's
public key.

=head1 RETURN VALUES

RSA_sign_ASN1_OCTET_STRING() returns 1 on success, 0 otherwise.
RSA_verify_ASN1_OCTET_STRING() returns 1 on successful verification, 0
otherwise.

The error codes can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>.

=head1 BUGS

These functions serve no recognizable purpose.

=head1 SEE ALSO

L<ERR_get_error(3)|ERR_get_error(3)>, L<objects(3)|objects(3)>,
L<rand(3)|rand(3)>, L<rsa(3)|rsa(3)>, L<RSA_sign(3)|RSA_sign(3)>,
L<RSA_verify(3)|RSA_verify(3)>

=head1 HISTORY

RSA_sign_ASN1_OCTET_STRING() and RSA_verify_ASN1_OCTET_STRING() were
added in SSLeay 0.8.

=cut

{'repo_name': 'jntass/TASSL', 'stars': '201', 'repo_language': 'C', 'file_name': 's2_clnt.c', 'mime_type': 'text/x-c', 'hash': 6206311181201427413, 'source_dataset': 'data'}


<?php
	ini_set('display_errors', 'on');

	$key="<api key>"; // Requires a registered DISQUS API application. Create one (free) at http://disqus.com/api/applications/
	$thread="<DISQUS thread ID>";
	$forum="<DISQUS forum shortname>";

	// construct the query with our apikey and the query we want to make
	// Change api_key to api_secret when using your secret key
	/*
		DIFFERENT TYPES OF THREAD LOOKUPS:
		1. By DISQUS thread ID (default): thread=%s — thread IDs are universally unique in DISQUS, so you can remove 'forum' param if you like
		2. By identifier: thread:ident=%s — requires the forum parameter
		3. By URL: thread:link=%s — requires the forum parameter
	*/
	$endpoint = 'http://disqus.com/api/3.0/threads/details.json?api_key='.urlencode($key).'&forum='.$forum.'&thread='.urlencode($thread);

	// setup curl to make a call to the endpoint
	$session = curl_init($endpoint);

	// indicates that we want the response back rather than just returning a "TRUE" string
	curl_setopt($session, CURLOPT_RETURNTRANSFER, true);

	// execute GET and get the session back
	$result = curl_exec($session);

	// close connection
	curl_close($session);

	// show the response in the browser
	var_dump($result);

?>

{'repo_name': 'disqus/DISQUS-API-Recipes', 'stars': '263', 'repo_language': 'PHP', 'file_name': 'sendnotification.php', 'mime_type': 'text/x-php', 'hash': -5113615676600167389, 'source_dataset': 'data'}


{'repo_name': 'webanalyzer/rules', 'stars': '153', 'repo_language': 'None', 'file_name': 'test.json', 'mime_type': 'text/plain', 'hash': -3120159428396890986, 'source_dataset': 'data'}


import json

from social.tests.backends.oauth import OAuth2Test

class CoinbaseOAuth2Test(OAuth2Test):
    backend_path = 'social.backends.coinbase.CoinbaseOAuth2'
    user_data_url = 'https://coinbase.com/api/v1/users'
    expected_username = 'SatoshiNakamoto'
    access_token_body = json.dumps({
        'access_token': 'foobar',
        'token_type': 'bearer'
    })
    user_data_body = json.dumps({
        'users': [
            {
                'user': {
                    'id': "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
                    'name': "Satoshi Nakamoto",
                    'email': "satoshi@nakamoto.com",
                    'pin': None,
                    'time_zone': "Eastern Time (US & Canada)",
                    'native_currency': "USD",
                    'buy_level': 2,
                    'sell_level': 2,
                    'balance': {
                        'amount': "1000000",
                        'currency': "BTC"
                    },
                    'buy_limit': {
                        'amount': "50.00000000",
                        'currency': "BTC"
                    },
                    'sell_limit': {
                        'amount': "50.00000000",
                        'currency': "BTC"
                    }
                }
            }
        ]
    })

    def test_login(self):
        self.do_login()

    def test_partial_pipeline(self):
        self.do_partial_pipeline()

{'repo_name': 'omab/python-social-auth', 'stars': '2793', 'repo_language': 'Python', 'file_name': 'test_disconnect.py', 'mime_type': 'text/x-python', 'hash': 8938220827201447463, 'source_dataset': 'data'}


Bench Template Library

****************************************
Introduction :

The aim of this project is to compare the performance
of available numerical libraries. The code is designed
as generic and modular as possible. Thus, adding new
numerical libraries or new numerical tests should
require minimal effort.

*****************************************

Installation :

BTL uses cmake / ctest:

1 - create a build directory:

  $ mkdir build
  $ cd build

2 - configure:

  $ ccmake ..

3 - run the bench using ctest:

  $ ctest -V

You can run the benchmarks only on libraries matching a given regular expression:
  ctest -V -R <regexp>
For instance:
  ctest -V -R eigen2

You can also select a given set of actions defining the environment variable BTL_CONFIG this way:
  BTL_CONFIG="-a action1{:action2}*" ctest -V
An exemple:
  BTL_CONFIG="-a axpy:vector_matrix:trisolve:ata" ctest -V -R eigen2

Finally, if bench results already exist (the bench*.dat files) then they merges by keeping the best for each matrix size. If you want to overwrite the previous ones you can simply add the "--overwrite" option:
  BTL_CONFIG="-a axpy:vector_matrix:trisolve:ata --overwrite" ctest -V -R eigen2

4 : Analyze the result. different data files (.dat) are produced in each libs directories.
 If gnuplot is available, choose a directory name in the data directory to store the results and type:
        $ cd data
        $ mkdir my_directory
        $ cp ../libs/*/*.dat my_directory
 Build the data utilities in this (data) directory
        make
 Then you can look the raw data,
        go_mean my_directory
 or smooth the data first :
	smooth_all.sh my_directory
	go_mean my_directory_smooth

*************************************************

Files and directories :

 generic_bench : all the bench sources common to all libraries

 actions : sources for different action wrappers (axpy, matrix-matrix product) to be tested.

 libs/* : bench sources specific to each tested libraries.

 machine_dep : directory used to store machine specific Makefile.in

 data : directory used to store gnuplot scripts and data analysis utilities

**************************************************

Principles : the code modularity is achieved by defining two concepts :

 ****** Action concept : This is a class defining which kind
  of test must be performed (e.g. a matrix_vector_product).
	An Action should define the following methods :

        *** Ctor using the size of the problem (matrix or vector size) as an argument
	    Action action(size);
        *** initialize : this method initialize the calculation (e.g. initialize the matrices and vectors arguments)
	    action.initialize();
	*** calculate : this method actually launch the calculation to be benchmarked
	    action.calculate;
	*** nb_op_base() : this method returns the complexity of the calculate method (allowing the mflops evaluation)
        *** name() : this method returns the name of the action (std::string)

 ****** Interface concept : This is a class or namespace defining how to use a given library and
  its specific containers (matrix and vector). Up to now an interface should following types

	*** real_type : kind of float to be used (float or double)
	*** stl_vector : must correspond to std::vector<real_type>
	*** stl_matrix : must correspond to std::vector<stl_vector>
	*** gene_vector : the vector type for this interface        --> e.g. (real_type *) for the C_interface
	*** gene_matrix : the matrix type for this interface        --> e.g. (gene_vector *) for the C_interface

	+ the following common methods

        *** free_matrix(gene_matrix & A, int N)  dealocation of a N sized gene_matrix A
        *** free_vector(gene_vector & B)  dealocation of a N sized gene_vector B
        *** matrix_from_stl(gene_matrix & A, stl_matrix & A_stl) copy the content of an stl_matrix A_stl into a gene_matrix A.
	     The allocation of A is done in this function.
	*** vector_to_stl(gene_vector & B, stl_vector & B_stl)  copy the content of an stl_vector B_stl into a gene_vector B.
	     The allocation of B is done in this function.
        *** matrix_to_stl(gene_matrix & A, stl_matrix & A_stl) copy the content of an gene_matrix A into an stl_matrix A_stl.
             The size of A_STL must corresponds to the size of A.
        *** vector_to_stl(gene_vector & A, stl_vector & A_stl) copy the content of an gene_vector A into an stl_vector A_stl.
             The size of B_STL must corresponds to the size of B.
	*** copy_matrix(gene_matrix & source, gene_matrix & cible, int N) : copy the content of source in cible. Both source
		and cible must be sized NxN.
	*** copy_vector(gene_vector & source, gene_vector & cible, int N) : copy the content of source in cible. Both source
 		and cible must be sized N.

	and the following method corresponding to the action one wants to be benchmarked :

	***  matrix_vector_product(const gene_matrix & A, const gene_vector & B, gene_vector & X, int N)
	***  matrix_matrix_product(const gene_matrix & A, const gene_matrix & B, gene_matrix & X, int N)
        ***  ata_product(const gene_matrix & A, gene_matrix & X, int N)
	***  aat_product(const gene_matrix & A, gene_matrix & X, int N)
        ***  axpy(real coef, const gene_vector & X, gene_vector & Y, int N)

 The bench algorithm (generic_bench/bench.hh) is templated with an action itself templated with
 an interface. A typical main.cpp source stored in a given library directory libs/A_LIB
 looks like :

 bench< AN_ACTION < AN_INTERFACE > >( 10 , 1000 , 50 ) ;

 this function will produce XY data file containing measured  mflops as a function of the size for 50
 sizes between 10 and 10000.

 This algorithm can be adapted by providing a given Perf_Analyzer object which determines how the time
 measurements must be done. For example, the X86_Perf_Analyzer use the asm rdtsc function and provides
 a very fast and accurate (but less portable) timing method. The default is the Portable_Perf_Analyzer
 so

 bench< AN_ACTION < AN_INTERFACE > >( 10 , 1000 , 50 ) ;

 is equivalent to

 bench< Portable_Perf_Analyzer,AN_ACTION < AN_INTERFACE > >( 10 , 1000 , 50 ) ;

 If your system supports it we suggest to use a mixed implementation (X86_perf_Analyzer+Portable_Perf_Analyzer).
 replace
     bench<Portable_Perf_Analyzer,Action>(size_min,size_max,nb_point);
 with
     bench<Mixed_Perf_Analyzer,Action>(size_min,size_max,nb_point);
 in generic/bench.hh

.

{'repo_name': 'biometrics/openbr', 'stars': '2620', 'repo_language': 'C++', 'file_name': 'BioID.xml', 'mime_type': 'text/xml', 'hash': -6031687130944546273, 'source_dataset': 'data'}


#!/usr/bin/env perl

# Copyright 2011 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.

#
# Parse the header files for OpenBSD and generate a Go usable sysctl MIB.
#
# Build a MIB with each entry being an array containing the level, type and
# a hash that will contain additional entries if the current entry is a node.
# We then walk this MIB and create a flattened sysctl name to OID hash.
#

use strict;

if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
	print STDERR "GOARCH or GOOS not defined in environment\n";
	exit 1;
}

my $debug = 0;
my %ctls = ();

my @headers = qw (
	sys/sysctl.h
	sys/socket.h
	sys/tty.h
	sys/malloc.h
	sys/mount.h
	sys/namei.h
	sys/sem.h
	sys/shm.h
	sys/vmmeter.h
	uvm/uvm_param.h
	uvm/uvm_swap_encrypt.h
	ddb/db_var.h
	net/if.h
	net/if_pfsync.h
	net/pipex.h
	netinet/in.h
	netinet/icmp_var.h
	netinet/igmp_var.h
	netinet/ip_ah.h
	netinet/ip_carp.h
	netinet/ip_divert.h
	netinet/ip_esp.h
	netinet/ip_ether.h
	netinet/ip_gre.h
	netinet/ip_ipcomp.h
	netinet/ip_ipip.h
	netinet/pim_var.h
	netinet/tcp_var.h
	netinet/udp_var.h
	netinet6/in6.h
	netinet6/ip6_divert.h
	netinet6/pim6_var.h
	netinet/icmp6.h
	netmpls/mpls.h
);

my @ctls = qw (
	kern
	vm
	fs
	net
	#debug				# Special handling required
	hw
	#machdep			# Arch specific
	user
	ddb
	#vfs				# Special handling required
	fs.posix
	kern.forkstat
	kern.intrcnt
	kern.malloc
	kern.nchstats
	kern.seminfo
	kern.shminfo
	kern.timecounter
	kern.tty
	kern.watchdog
	net.bpf
	net.ifq
	net.inet
	net.inet.ah
	net.inet.carp
	net.inet.divert
	net.inet.esp
	net.inet.etherip
	net.inet.gre
	net.inet.icmp
	net.inet.igmp
	net.inet.ip
	net.inet.ip.ifq
	net.inet.ipcomp
	net.inet.ipip
	net.inet.mobileip
	net.inet.pfsync
	net.inet.pim
	net.inet.tcp
	net.inet.udp
	net.inet6
	net.inet6.divert
	net.inet6.ip6
	net.inet6.icmp6
	net.inet6.pim6
	net.inet6.tcp6
	net.inet6.udp6
	net.mpls
	net.mpls.ifq
	net.key
	net.pflow
	net.pfsync
	net.pipex
	net.rt
	vm.swapencrypt
	#vfsgenctl			# Special handling required
);

# Node name "fixups"
my %ctl_map = (
	"ipproto" => "net.inet",
	"net.inet.ipproto" => "net.inet",
	"net.inet6.ipv6proto" => "net.inet6",
	"net.inet6.ipv6" => "net.inet6.ip6",
	"net.inet.icmpv6" => "net.inet6.icmp6",
	"net.inet6.divert6" => "net.inet6.divert",
	"net.inet6.tcp6" => "net.inet.tcp",
	"net.inet6.udp6" => "net.inet.udp",
	"mpls" => "net.mpls",
	"swpenc" => "vm.swapencrypt"
);

# Node mappings
my %node_map = (
	"net.inet.ip.ifq" => "net.ifq",
	"net.inet.pfsync" => "net.pfsync",
	"net.mpls.ifq" => "net.ifq"
);

my $ctlname;
my %mib = ();
my %sysctl = ();
my $node;

sub debug() {
	print STDERR "$_[0]\n" if $debug;
}

# Walk the MIB and build a sysctl name to OID mapping.
sub build_sysctl() {
	my ($node, $name, $oid) = @_;
	my %node = %{$node};
	my @oid = @{$oid};

	foreach my $key (sort keys %node) {
		my @node = @{$node{$key}};
		my $nodename = $name.($name ne '' ? '.' : '').$key;
		my @nodeoid = (@oid, $node[0]);
		if ($node[1] eq 'CTLTYPE_NODE') {
			if (exists $node_map{$nodename}) {
				$node = \%mib;
				$ctlname = $node_map{$nodename};
				foreach my $part (split /\./, $ctlname) {
					$node = \%{@{$$node{$part}}[2]};
				}
			} else {
				$node = $node[2];
			}
			&build_sysctl($node, $nodename, \@nodeoid);
		} elsif ($node[1] ne '') {
			$sysctl{$nodename} = \@nodeoid;
		}
	}
}

foreach my $ctl (@ctls) {
	$ctls{$ctl} = $ctl;
}

# Build MIB
foreach my $header (@headers) {
	&debug("Processing $header...");
	open HEADER, "/usr/include/$header" ||
	    print STDERR "Failed to open $header\n";
	while (<HEADER>) {
		if ($_ =~ /^#define\s+(CTL_NAMES)\s+{/ ||
		    $_ =~ /^#define\s+(CTL_(.*)_NAMES)\s+{/ ||
		    $_ =~ /^#define\s+((.*)CTL_NAMES)\s+{/) {
			if ($1 eq 'CTL_NAMES') {
				# Top level.
				$node = \%mib;
			} else {
				# Node.
				my $nodename = lc($2);
				if ($header =~ /^netinet\//) {
					$ctlname = "net.inet.$nodename";
				} elsif ($header =~ /^netinet6\//) {
					$ctlname = "net.inet6.$nodename";
				} elsif ($header =~ /^net\//) {
					$ctlname = "net.$nodename";
				} else {
					$ctlname = "$nodename";
					$ctlname =~ s/^(fs|net|kern)_/$1\./;
				}
				if (exists $ctl_map{$ctlname}) {
					$ctlname = $ctl_map{$ctlname};
				}
				if (not exists $ctls{$ctlname}) {
					&debug("Ignoring $ctlname...");
					next;
				}

				# Walk down from the top of the MIB.
				$node = \%mib;
				foreach my $part (split /\./, $ctlname) {
					if (not exists $$node{$part}) {
						&debug("Missing node $part");
						$$node{$part} = [ 0, '', {} ];
					}
					$node = \%{@{$$node{$part}}[2]};
				}
			}

			# Populate current node with entries.
			my $i = -1;
			while (defined($_) && $_ !~ /^}/) {
				$_ = <HEADER>;
				$i++ if $_ =~ /{.*}/;
				next if $_ !~ /{\s+"(\w+)",\s+(CTLTYPE_[A-Z]+)\s+}/;
				$$node{$1} = [ $i, $2, {} ];
			}
		}
	}
	close HEADER;
}

&build_sysctl(\%mib, "", []);

print <<EOF;
// mksysctl_openbsd.pl
// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT

// +build $ENV{'GOARCH'},$ENV{'GOOS'}

package unix;

type mibentry struct {
	ctlname string
	ctloid []_C_int
}

var sysctlMib = []mibentry {
EOF

foreach my $name (sort keys %sysctl) {
	my @oid = @{$sysctl{$name}};
	print "\t{ \"$name\", []_C_int{ ", join(', ', @oid), " } }, \n";
}

print <<EOF;
}
EOF

{'repo_name': 'diegobernardes/flare', 'stars': '110', 'repo_language': 'Go', 'file_name': 'main.go', 'mime_type': 'text/x-c', 'hash': -4811577042489774723, 'source_dataset': 'data'}


/*
 * This is the source code of Telegram for iOS v. 1.1
 * It is licensed under GNU GPL v. 2 or later.
 * You should have received a copy of the license in this archive (see LICENSE).
 *
 * Copyright Peter Iakovlev, 2013.
 */

#import "TGCollectionItem.h"

@class TGConversation;
@class ASHandle;

@interface TGGroupInfoCollectionItem : TGCollectionItem

@property (nonatomic, strong) ASHandle *interfaceHandle;

@property (nonatomic) bool editing;
@property (nonatomic) bool isBroadcast;
@property (nonatomic) bool isChannel;

- (void)setConversation:(TGConversation *)conversation;
- (void)setUpdatingTitle:(NSString *)updatingTitle;
- (void)setUpdatingAvatar:(UIImage *)updatingAvatar hasUpdatingAvatar:(bool)hasUpdatingAvatar;
- (bool)hasUpdatingAvatar;
- (void)setStaticAvatar:(UIImage *)staticAvatar;
- (UIImage *)staticAvatar;
- (void)setEditing:(bool)editing animated:(bool)animated;

- (id)avatarView;
- (NSString *)editingTitle;
- (void)copyUpdatingAvatarToCacheWithUri:(NSString *)uri;
- (void)makeNameFieldFirstResponder;

@end

{'repo_name': 'peter-iakovlev/Telegram', 'stars': '2884', 'repo_language': 'Objective-C', 'file_name': 'AudioOutputPulse.h', 'mime_type': 'text/x-c++', 'hash': 7975002288055477420, 'source_dataset': 'data'}


{'repo_name': 'ProtonVPN/ios-app', 'stars': '259', 'repo_language': 'Swift', 'file_name': 'Client.plist', 'mime_type': 'text/xml', 'hash': 4815586475082003808, 'source_dataset': 'data'}


{% load navigation_tags %}
{% load static from staticfiles %}
{% block add_css %}
    <link rel="stylesheet" href="{% static "chosen-bootstrap/chosen.bootstrap.min.css" %}">
{% endblock %}

    <form method="get" class="{{ request.path|slugify }}-filters form-inline dojo-filter-set">
        {% for field in form %}

                {{ field.errors }}
                {{ field.label_tag }} {{ field }}

        {% endfor %}
        {% if submit == 'report' %}
            {% query_string_as_hidden %}

                <button class="btn btn-primary" name="_generate" type="submit">
                     Generate Report
                </button>

        {% else %}

                <button class="btn btn-sm btn-primary">
                     Apply Filters
                </button>

                {% if clear_link %}
                     [Clear Filters]
                {% else %}
                     [Clear Filters]
                {% endif %}

        {% endif %}
    </form>

{'repo_name': 'DefectDojo/django-DefectDojo', 'stars': '1303', 'repo_language': 'HTML', 'file_name': 'config.yml', 'mime_type': 'text/plain', 'hash': 6751152325486649163, 'source_dataset': 'data'}


{'repo_name': 'dgengin/DGEngine', 'stars': '194', 'repo_language': 'C++', 'file_name': 'l2s.json', 'mime_type': 'text/plain', 'hash': 3940334244260933544, 'source_dataset': 'data'}


/*
 Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("placeholder","fr",{title:"Propriétés de l'espace réservé",toolbar:"Espace réservé",name:"Nom de l'espace réservé",invalidName:"L'espace réservé ne peut pas être vide ni contenir l'un de ces caractères : [, ], \x3c, \x3e",pathName:"espace réservé"});

{'repo_name': 'OTRS/otrs', 'stars': '708', 'repo_language': 'Perl', 'file_name': 'README', 'mime_type': 'text/plain', 'hash': 4900987059526941674, 'source_dataset': 'data'}


/**
 * External dependencies
 */
import React from 'react';

/**
 * Internal dependencies
 */
import PlanPrice from 'components/plans/plan-price';
import { getBillingTimeFrameString } from '../utility';

export default function PriceGroup( {
	billingTimeFrame,
	currencyCode,
	discountedPrice,
	fullPrice,
} ) {
	return (

			{ !! discountedPrice ? (
				<React.Fragment>
					<PlanPrice currencyCode={ currencyCode } rawPrice={ fullPrice } original />
					<PlanPrice currencyCode={ currencyCode } rawPrice={ discountedPrice } discounted />
				</React.Fragment>
			) : (
				<PlanPrice currencyCode={ currencyCode } rawPrice={ fullPrice } />
			) }

				{ getBillingTimeFrameString( billingTimeFrame ) }

	);
}

{'repo_name': 'Automattic/jetpack', 'stars': '1211', 'repo_language': 'PHP', 'file_name': 'must-connect-main-blog.php', 'mime_type': 'text/html', 'hash': -3410017280534210681, 'source_dataset': 'data'}


use strict;
use warnings;

use HTTP::Daemon;
use HTTP::Status;

$|++;

my $d = HTTP::Daemon->new(LocalPort => 8000, ReuseAddr => 1) || die;
print "Please contact me at: <URL:", $d->url, ">\n";
my $done = 0;
while (not $done and my $c = $d->accept) {
  my $r = $c->get_request;
  if (not defined($r)) {
    print "Error: ", $c->reason, "\n";
    $c->close;
    undef($c);
    next;
  }
  print STDERR $r->method, ' ', $r->url, "\n";
  $c->force_last_request;
  if ($r->method eq 'GET') {
    my $file = substr($r->url->path, 1);
    if (open FILE, $file) {
      undef $/;
      binmode FILE;
      my $content = <FILE>;
      close FILE;
      my @headers = ('Connection' => 'close');
      if ($file =~ /\.js$/) {
        push @headers, 'Content-Type' => 'text/javascript';
      }
      elsif ($file =~ /\.[^\/]+$/) {
        push @headers, 'Content-Type' => 'application/octet-stream';
      }
      else {
        # do nothing - no Content-Type
      }
      my $response = HTTP::Response->new(200, 'OK', \@headers, $content);
      $c->send_response($response);
    }
    else {
      my $response = HTTP::Response->new(404, 'Not found', ['Connection' => 'close'], 'Not found');
      $c->send_response($response);
    }
  }
  elsif ($r->method eq 'POST') {
    if ($r->url->path eq '/perl-shutdown') {
      $done = 1;
    }
    my $content = $r->content;
    my $response = HTTP::Response->new(200, 'OK', ['Connection' => 'close'], $content);
    $c->send_response($response);
  }
  else {
    $c->send_error(RC_FORBIDDEN);
  }
  $c->close;
  undef($c);
}

{'repo_name': 'tain335/tain335', 'stars': '215', 'repo_language': 'JavaScript', 'file_name': 'generate-error-constants.js', 'mime_type': 'text/plain', 'hash': 3057525079583466587, 'source_dataset': 'data'}


/*
 * FreeRTOS Kernel V10.0.0
 * Copyright (C) 2017 Amazon.com, Inc. or its affiliates.  All Rights Reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of
 * this software and associated documentation files (the "Software"), to deal in
 * the Software without restriction, including without limitation the rights to
 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
 * the Software, and to permit persons to whom the Software is furnished to do so,
 * subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software. If you wish to use our Amazon
 * FreeRTOS name, please do so in a fair use way that does not cause confusion.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *
 * http://www.FreeRTOS.org
 * http://aws.amazon.com/freertos
 *
 * 1 tab == 4 spaces!
 */

#ifndef PROJDEFS_H
#define PROJDEFS_H

/*
 * Defines the prototype to which task functions must conform.  Defined in this
 * file to ensure the type is known before portable.h is included.
 */
typedef void (*TaskFunction_t)( void * );

/* Converts a time in milliseconds to a time in ticks.  This macro can be
overridden by a macro of the same name defined in FreeRTOSConfig.h in case the
definition here is not suitable for your application. */
#ifndef pdMS_TO_TICKS
	#define pdMS_TO_TICKS( xTimeInMs ) ( ( TickType_t ) ( ( ( TickType_t ) ( xTimeInMs ) * ( TickType_t ) configTICK_RATE_HZ ) / ( TickType_t ) 1000 ) )
#endif

#define pdFALSE			( ( BaseType_t ) 0 )
#define pdTRUE			( ( BaseType_t ) 1 )

#define pdPASS			( pdTRUE )
#define pdFAIL			( pdFALSE )
#define errQUEUE_EMPTY	( ( BaseType_t ) 0 )
#define errQUEUE_FULL	( ( BaseType_t ) 0 )

/* FreeRTOS error definitions. */
#define errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY	( -1 )
#define errQUEUE_BLOCKED						( -4 )
#define errQUEUE_YIELD							( -5 )

/* Macros used for basic data corruption checks. */
#ifndef configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES
	#define configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES 0
#endif

#if( configUSE_16_BIT_TICKS == 1 )
	#define pdINTEGRITY_CHECK_VALUE 0x5a5a
#else
	#define pdINTEGRITY_CHECK_VALUE 0x5a5a5a5aUL
#endif

/* The following errno values are used by FreeRTOS+ components, not FreeRTOS
itself. */
#define pdFREERTOS_ERRNO_NONE			0	/* No errors */
#define	pdFREERTOS_ERRNO_ENOENT			2	/* No such file or directory */
#define	pdFREERTOS_ERRNO_EINTR			4	/* Interrupted system call */
#define	pdFREERTOS_ERRNO_EIO			5	/* I/O error */
#define	pdFREERTOS_ERRNO_ENXIO			6	/* No such device or address */
#define	pdFREERTOS_ERRNO_EBADF			9	/* Bad file number */
#define	pdFREERTOS_ERRNO_EAGAIN			11	/* No more processes */
#define	pdFREERTOS_ERRNO_EWOULDBLOCK	11	/* Operation would block */
#define	pdFREERTOS_ERRNO_ENOMEM			12	/* Not enough memory */
#define	pdFREERTOS_ERRNO_EACCES			13	/* Permission denied */
#define	pdFREERTOS_ERRNO_EFAULT			14	/* Bad address */
#define	pdFREERTOS_ERRNO_EBUSY			16	/* Mount device busy */
#define	pdFREERTOS_ERRNO_EEXIST			17	/* File exists */
#define	pdFREERTOS_ERRNO_EXDEV			18	/* Cross-device link */
#define	pdFREERTOS_ERRNO_ENODEV			19	/* No such device */
#define	pdFREERTOS_ERRNO_ENOTDIR		20	/* Not a directory */
#define	pdFREERTOS_ERRNO_EISDIR			21	/* Is a directory */
#define	pdFREERTOS_ERRNO_EINVAL			22	/* Invalid argument */
#define	pdFREERTOS_ERRNO_ENOSPC			28	/* No space left on device */
#define	pdFREERTOS_ERRNO_ESPIPE			29	/* Illegal seek */
#define	pdFREERTOS_ERRNO_EROFS			30	/* Read only file system */
#define	pdFREERTOS_ERRNO_EUNATCH		42	/* Protocol driver not attached */
#define	pdFREERTOS_ERRNO_EBADE			50	/* Invalid exchange */
#define	pdFREERTOS_ERRNO_EFTYPE			79	/* Inappropriate file type or format */
#define	pdFREERTOS_ERRNO_ENMFILE		89	/* No more files */
#define	pdFREERTOS_ERRNO_ENOTEMPTY		90	/* Directory not empty */
#define	pdFREERTOS_ERRNO_ENAMETOOLONG 	91	/* File or path name too long */
#define	pdFREERTOS_ERRNO_EOPNOTSUPP		95	/* Operation not supported on transport endpoint */
#define	pdFREERTOS_ERRNO_ENOBUFS		105	/* No buffer space available */
#define	pdFREERTOS_ERRNO_ENOPROTOOPT	109	/* Protocol not available */
#define	pdFREERTOS_ERRNO_EADDRINUSE		112	/* Address already in use */
#define	pdFREERTOS_ERRNO_ETIMEDOUT		116	/* Connection timed out */
#define	pdFREERTOS_ERRNO_EINPROGRESS	119	/* Connection already in progress */
#define	pdFREERTOS_ERRNO_EALREADY		120	/* Socket already connected */
#define	pdFREERTOS_ERRNO_EADDRNOTAVAIL 	125	/* Address not available */
#define	pdFREERTOS_ERRNO_EISCONN		127	/* Socket is already connected */
#define	pdFREERTOS_ERRNO_ENOTCONN		128	/* Socket is not connected */
#define	pdFREERTOS_ERRNO_ENOMEDIUM		135	/* No medium inserted */
#define	pdFREERTOS_ERRNO_EILSEQ			138	/* An invalid UTF-16 sequence was encountered. */
#define	pdFREERTOS_ERRNO_ECANCELED		140	/* Operation canceled. */

/* The following endian values are used by FreeRTOS+ components, not FreeRTOS
itself. */
#define pdFREERTOS_LITTLE_ENDIAN		0
#define pdFREERTOS_BIG_ENDIAN			1

/* Re-defining endian values for generic naming. */
#define pdLITTLE_ENDIAN					pdFREERTOS_LITTLE_ENDIAN
#define pdBIG_ENDIAN					pdFREERTOS_BIG_ENDIAN

#endif /* PROJDEFS_H */

{'repo_name': 'kiibohd/controller', 'stars': '761', 'repo_language': 'C', 'file_name': 'K-Type.md', 'mime_type': 'text/plain', 'hash': -902129800343797734, 'source_dataset': 'data'}


File = require '../server/file'
Path = require 'path'

describe 'File', ->
    describe 'Public File services', ->
        datadir = undefined
        test_path = "chocolatejs_file_spec_test.txt"

        it 'should create a test file', ->
            result = undefined
            runs ->
                datadir = jasmine.getEnv().__.datadir
                event = File.writeToFile datadir + '/' + test_path, 'Some New Text Content'
                event.on 'end', (err) -> result = err ? on
            waitsFor (-> result?), 'File.writeToFile', 1000
            runs -> expect(result).toBe(on)

        it 'should have write access on test file', ->
            expect(File.hasWriteAccess datadir + '/' + test_path).toBe(yes)

        it 'should have write access on appdir', ->
            appdir = jasmine.getEnv().__.appdir
            expect(File.hasWriteAccess appdir).toBe(yes)

        it 'should have no write access on /root folder', ->
            expect(File.hasWriteAccess '/root').toBe(no)

        it 'should get test file modification date', ->
            modifiedDate = undefined
            runs ->
                event = File.getModifiedDate datadir + '/' + test_path
                event.on 'end', (date) -> modifiedDate = date
            waitsFor (-> modifiedDate?), 'File.getModifiedDate', 1000
            runs -> expect(modifiedDate >= 1363115895000).toBeTruthy()

        it 'should delete test file', ->
            result = undefined
            runs ->
                event = File.moveFile datadir + '/' + test_path, ''
                event.on 'end', (err) -> result = err ? on
            waitsFor (-> result?), 'File.moveFile from, toEmpty', 1000
            runs -> expect(result).toBe(on)

        it 'should get directory content', ->
            dirContent = undefined
            runs ->
                event = File.getDirContent './server'
                event.on 'end', (content) -> dirContent = content
            waitsFor (-> dirContent?), 'File.getDirContent', 1000
            runs -> expect((item for item in dirContent when item.name is 'file.coffee').length).toBe(1)

{'repo_name': 'jclevy/chocolatejs', 'stars': '193', 'repo_language': 'CoffeeScript', 'file_name': 'intention.coffee', 'mime_type': 'text/plain', 'hash': 43156524597425525, 'source_dataset': 'data'}


// Choreo version 1
event stoppoint "stop"
{
  time 74.159996 -1.000000
  param "noaction"
}
actor "Breen"
{
  channel "audio"
  {
    event speak "we now have direct confirmation..."
    {
      time 0.193334 10.641179
      param "breencast.br_disruptor01"
      fixedlength
      tags
      {
        "we" 0.004786
        "now" 0.032925
        "have" 0.057428
        "direct" 0.093225
        "confirmation" 0.141465
        "disruptor" 0.228372
        "midst" 0.312983
        "one" 0.420182
        "acquired" 0.484119
        "almost" 0.536379
        "messianic" 0.624818
        "reputation" 0.701963
        "minds" 0.771260
        "certain" 0.812033
        "citizens" 0.845533
      }
      cctype "cc_master"
      cctoken ""
    }
    event speak "His figure is synonymous with..."
    {
      time 9.920000 22.612631
      param "breencast.br_disruptor02"
      fixedlength
      tags
      {
        "his" 0.074374
        "figure" 0.088713
        "synonymous" 0.127003
        "darkest" 0.199486
        "urges" 0.252272
        "instinct" 0.286938
        "ignorance" 0.343191
        "decay" 0.391566
        "some" 0.490206
        "worst" 0.528496
        "excesses" 0.570410
        "black" 0.641475
        "mesa" 0.669207
        "incident" 0.703085
        "have" 0.767374
        "been" 0.781398
        "laid" 0.802513
        "directly" 0.825833
        "his " 0.882244
        "feet" 0.903674
      }
      cctype "cc_master"
      cctoken ""
    }
    event speak "and yet unsophisticated minds..."
    {
      time 22.080000 35.828709
      param "breencast.br_disruptor03"
      fixedlength
      tags
      {
        "and" 0.035349
        "unsophisticated" 0.073752
        "minds" 0.146632
        "continue" 0.178199
        "imbue" 0.230858
        "him" 0.258352
        "with" 0.299665
        "romantic" 0.318721
        "power" 0.369053
        "giving" 0.438441
        "such" 0.473645
        "dangerous" 0.499829
        "poetic" 0.544633
        "labels" 0.574018
        "as" 0.649516
        "the" 0.669445
        "one" 0.681373
        "free" 0.707848
        "man" 0.740142
        "the" 0.798621
        "oepner" 0.834406
        "of" 0.868445
        "way" 0.883283
      }
      cctype "cc_master"
      cctoken ""
    }
    event speak "Let me remind all citizens of the danger..."
    {
      time 35.606667 40.739796
      param "breencast.br_disruptor04"
      fixedlength
      tags
      {
        "let" 0.013637
        "me" 0.053768
        "remind" 0.084549
        "all" 0.192086
        "citizens" 0.240399
        "of" 0.365859
        "dangers" 0.400146
        "of" 0.545087
        "magical" 0.580543
        "thinking" 0.692755
      }
      cctype "cc_master"
      cctoken ""
    }
    event speak "We have scarcely begun to climb..."
    {
      time 40.493336 52.021702
      param "breencast.br_disruptor05"
      fixedlength
      tags
      {
        "we" 0.004684
        "have" 0.013705
        "scarcely" 0.025502
        "begun" 0.065404
        "to" 0.094549
        "climb" 0.104958
        "from" 0.145554
        "dark" 0.174353
        "pit" 0.215468
        "species" 0.265953
        "evolution" 0.319733
        "let" 0.453490
        "not" 0.482636
        "slide" 0.499811
        "backward" 0.545611
        "into" 0.592972
        "oblivion" 0.612229
        "jsut" 0.681103
        "as" 0.717881
        "finally" 0.762988
        "begun" 0.813298
        "see" 0.854761
        "light" 0.886682
      }
      cctype "cc_master"
      cctoken ""
    }
    event speak "If you see this so-called Free Man"
    {
      time 52.133335 56.250793
      param "breencast.br_disruptor06"
      fixedlength
      tags
      {
        "if " 0.012629
        "see" 0.086461
        "this" 0.154464
        "so-called" 0.210810
        "free" 0.345844
        "man" 0.419190
        "report" 0.607656
        "him" 0.707232
      }
      cctype "cc_master"
      cctoken ""
    }
    event speak "Civid deeds do not go unrewarded..."
    {
      time 55.740002 66.970390
      param "breencast.br_disruptor07"
      fixedlength
      tags
      {
        "civic" 0.014247
        "deeds" 0.048084
        "do" 0.101688
        "not" 0.115401
        "go" 0.144252
        "unrewarded" 0.180225
        "and" 0.289572
        "contrariwise" 0.312545
        "complicity" 0.454659
        "with" 0.528744
        "cause" 0.596418
        "will" 0.741560
        "not" 0.766492
        "go" 0.797657
        "unpunished" 0.832919
      }
      cctype "cc_master"
      cctoken ""
    }
    event speak "Be wise, be safe, be aware."
    {
      time 66.899994 73.868904
      param "breencast.br_disruptor08"
      fixedlength
      tags
      {
        "be" 0.008323
        "wise" 0.036448
        "be" 0.303921
        "safe" 0.333768
        "be" 0.624488
        "aware" 0.738996
      }
      cctype "cc_master"
      cctoken ""
    }
  }
  channel "look at"
  {
    event lookat "camera_tv_breen"
    {
      time 0.000002 76.609200
      param "camera_tv_breen"
      event_ramp
      {
        0.0040 0.0732
        0.0180 0.0732
        76.5872 0.0557
        76.5992 0.0557
      }
    }
  }
  channel "move to"
  {
  }
  channel "sit"
  {
    event sequence "sit"
    {
      time 0.000000 0.500000
      param "sitpose"
      fixedlength
    }
  }
  channel "trigger"
  {
    event firetrigger "camera start"
    {
      time 0.080000 -1.000000
      param "1"
    }
    event firetrigger "camera off"
    {
      time 74.500000 -1.000000
      param "2"
    }
  }
  channel "facial"
  {
    event flexanimation "facial"
    {
      time 0.059998 74.753105
      param ""
      flexanimations samples_use_time
      {
        "lid_raiser"         combo
        {
          1.4860 0.0200
          2.1942 0.0500
          2.5699 0.7300
          2.9002 0.7500
          3.4292 0.0700
          4.2790 0.0500
          4.7493 0.0200
          5.1130 0.0000
          5.4515 0.0000
          6.1945 0.0000
          6.6400 0.3200
          7.1385 0.3900
          7.5712 0.0000
          8.0226 0.0000
          11.7143 0.0300
          12.0341 0.0300
          12.3727 0.2900
          12.8147 0.2100
          13.0217 0.2500
          13.3671 0.4000
          13.5929 0.4100
          13.8004 0.2700
          13.9716 0.4300
          14.2161 0.4400
          14.4701 0.2100
          14.8369 0.4500
          15.1660 0.4700
          15.7774 0.0200
          16.2288 0.0200
          16.5576 0.5800
          16.9997 0.0100
          17.3853 0.0100
          19.7903 0.0200
          20.1194 0.0400
          20.4392 0.4300
          20.9565 0.0200
          21.5208 0.0100
          28.2843 0.0200
          28.6135 0.0200
          28.8768 0.5100
          29.2624 0.5000
          29.5540 0.0100
          30.0431 0.0000
          37.1027 0.0300
          37.5636 0.5200
          37.9492 0.4900
          38.2878 0.0600
          38.5135 0.6300
          38.8145 0.6000
          39.0120 0.0300
          39.2753 0.2000
          39.6703 0.2200
          39.9149 0.0200
          41.3276 0.0100
          41.5988 0.4000
          41.9276 0.0200
          42.2662 0.0200
          42.4448 0.6300
          42.8392 0.6600
          43.1700 0.0400
          44.0437 0.0300
          45.4068 0.0500
          45.9429 0.0300
          46.1780 0.3400
          46.5542 0.3500
          47.0057 0.0200
          47.5606 0.0200
          48.7452 0.0200
          49.2249 0.6700
          49.6387 0.6400
          50.1466 0.0200
          50.6827 0.0200
          54.1896 0.0300
          54.5470 0.7300
          54.9796 0.7200
          55.2041 0.0200
          56.0142 0.0000
          63.9529 0.0200
          64.6112 0.0100
          64.9875 0.3600
          65.4671 0.3500
          66.0596 0.0100
          66.4264 0.0100
        }
        {
          4.2790 0.4900
          4.7493 0.4900
        }
        "lid_tightener"         combo
        {
          2.1396 0.1100
          2.5426 0.4300
          2.9418 0.4500
          3.4423 0.0300
          4.2696 0.0600
          4.7493 0.0000
        }
        {
          4.2790 0.4900
          4.7493 0.4900
        }
        "lid_droop"         combo
        {
          40.8930 0.0300
          41.3068 0.0300
          42.3226 0.0100
          42.8022 0.0100
          61.3947 0.0100
          61.8555 0.2800
          62.2411 0.3400
          62.5327 0.2900
          62.6982 0.0000
          63.6895 0.0300
        }
        {
        }
        "lid_closer"         combo
        {
        }
        {
        }
        "half_closed"
        {
        }
        "blink"
        {
          4.0770 0.0000
          4.1319 0.8500
          4.2649 0.0000
          9.3424 0.0200
          9.4099 0.8500
          9.5050 0.0400
          12.1231 0.0200
          12.1906 0.8200
          12.2889 0.0200
          15.7367 0.0100
          15.7759 0.7900
          15.9510 0.0000
          20.0932 0.0200
          20.1250 0.7100
          20.2853 0.0200
          22.3748 0.0100
          22.4354 0.8100
          22.5608 0.0100
          27.4837 0.0200
          27.5221 0.8000
          27.6904 0.0200
          35.0135 0.0200
          35.0820 0.8000
          35.2069 0.0200
          37.4591 0.0198
          37.4978 0.6931
          37.6887 0.0297
          39.6293 0.0099
          39.7056 0.7822
          39.8746 0.0198
          41.8802 0.0099
          41.9470 0.8119
          42.0711 0.0198
          45.3167 0.0099
          45.3783 0.7723
          45.5606 0.0000
          48.5865 0.0099
          48.6254 0.6535
          48.8599 0.0099
          51.6638 0.0000
          51.7399 0.8119
          51.9668 0.0099
          53.8751 0.0396
          53.9229 0.8515
          54.0414 0.1485
          54.1616 0.0495
          54.1843 0.4752
          54.3626 0.0198
          54.4472 0.0198
          58.4132 0.0198
          58.4640 0.6931
          58.7235 0.0297
          62.8660 0.0297
          62.8979 0.6832
          63.1575 0.0297
          65.8671 0.0198
          65.8994 0.6733
          66.1681 0.0099
          68.7430 0.0198
          68.7831 0.7030
          68.9781 0.0198
          72.8079 0.0297
          72.8402 0.5941
          73.0738 0.0198
        }
        "inner_raiser"         combo
        {
          4.5336 0.0000
          4.9311 0.6800
          5.6901 0.9900
          6.1604 0.3300
          6.5178 0.3900
          6.7905 0.8100
          7.1573 0.8400
          7.4113 0.4800
          7.9380 0.4200
          8.2859 0.1400
          8.9343 0.3200
          9.2453 0.3400
          9.7249 0.0100
          10.1294 0.0100
          11.0082 0.0300
          11.2621 0.0100
          11.7982 0.0300
          12.3249 0.0100
          12.9174 0.0100
          18.7745 0.0200
          19.4517 0.0300
          20.3358 0.5500
          21.0976 0.5400
          22.4035 0.0300
          22.7487 0.0400
          23.0810 0.2600
          23.8610 0.2600
          24.3575 0.4000
          25.3813 0.4100
          26.0961 0.0500
          27.0366 0.0500
          31.5980 0.0700
          32.1153 0.3100
          32.7455 0.0800
          33.0568 0.0800
          33.5042 0.4200
          34.0202 0.5500
          34.7300 0.0200
          35.3695 0.0100
          44.9408 0.0300
          45.4675 0.0400
          45.8155 0.6400
          46.6525 0.6900
          47.6448 0.0100
          48.4537 0.0300
          48.7264 0.7500
          49.4318 0.7200
          50.1842 0.0300
          50.4664 0.1900
          50.7861 0.6600
          51.4351 0.6600
          52.0343 0.3800
          52.8431 0.1400
          53.6319 0.0200
          54.4247 0.0200
          59.0558 0.0400
          59.9305 0.0500
          60.6171 0.5000
          61.3695 0.5200
          63.3321 0.5000
          64.0093 0.0000
          64.7805 0.0000
          66.9908 0.0200
          67.4234 0.2500
          67.8842 0.2500
          69.1396 0.0300
          69.7980 0.0300
        }
        {
          4.2790 0.4900
          4.7493 0.4900
        }
        "outer_raiser"         combo
        {
          0.1975 0.0700
          0.6627 0.7600
          1.6741 1.0000
          2.5245 0.4300
          4.4370 0.0000
          4.7493 0.3000
          5.0224 0.3300
          6.8564 0.3300
          7.4677 0.3300
          8.2201 0.0800
          9.0290 0.0800
          18.9156 0.0100
          19.6210 0.0200
          20.2887 0.6900
          21.0506 0.6800
          22.1304 0.0100
          22.8734 0.0000
          25.5694 0.0100
          26.4629 0.6900
          27.3752 0.6900
          28.0586 0.7000
          29.3135 0.0100
          29.7985 0.0100
          31.2312 0.0300
          31.7172 0.9300
          32.7267 0.9000
          33.0370 0.4000
          33.4938 0.8700
          34.1051 0.8200
          34.5607 0.0600
          34.9463 0.0300
          35.4694 0.0400
          35.8926 0.4000
          36.5792 0.4400
          37.2532 0.4600
          37.6858 0.2900
          38.5417 0.3000
          48.4430 0.0000
          49.7692 0.0000
          51.0323 0.0200
          51.4809 0.1400
          52.1299 0.5100
          53.0139 0.5500
          53.9074 0.5600
          54.5658 0.1800
          55.2969 0.2400
          55.9237 0.8400
          56.7074 0.9100
          58.2875 0.8900
          58.9647 0.3600
          59.7359 0.3600
          62.9371 0.3200
          64.2068 0.0000
          65.0533 0.0000
          66.8967 0.0200
          67.4234 0.6800
          68.0347 0.7000
          69.1490 0.2700
          69.7980 0.2400
          71.1534 0.0400
          71.9622 0.6100
          73.8339 0.6100
        }
        {
          0.4446 0.0200
          3.4608 0.2100
          4.2790 0.5000
          4.7493 0.5000
          23.7865 0.5000
          24.9057 0.5000
          26.4346 0.0000
          27.3752 0.0000
          68.0215 0.4500
          69.5921 0.4900
          70.7396 0.1800
          72.4513 0.1700
        }
        "lowerer"         combo
        {
          1.4870 0.0200
          2.3881 0.0500
          2.5711 0.3300
          3.3573 0.3200
          3.9235 0.2100
          4.1730 0.0000
          4.5746 0.0000
          4.6220 0.0000
          11.0009 0.0200
          11.8380 0.0200
          12.3857 0.3900
          13.2322 0.3500
          13.4911 0.4700
          13.6698 0.4800
          13.8862 0.3500
          14.1401 0.5000
          14.4411 0.5100
          14.6480 0.3500
          14.9207 0.4900
          15.1935 0.4900
          15.5607 0.4700
          15.8523 0.3400
          16.2285 0.3800
          16.5670 0.6500
          17.2972 0.6900
          17.7427 0.4400
          18.3446 0.4400
          19.0190 0.3400
          19.7984 0.0100
          20.5884 0.0200
          27.8799 0.0100
          28.4091 0.0200
          28.8835 0.4900
          30.0591 0.4900
          31.1710 0.0000
          31.8858 0.0000
          34.7734 0.0100
          35.4224 0.0200
          35.8926 0.4000
          36.6638 0.4400
          37.3002 0.4600
          37.6388 0.6800
          38.1279 0.6700
          38.3254 0.5100
          38.5417 0.6700
          38.7298 0.6900
          38.9555 0.5600
          39.1530 0.6700
          39.5198 0.6800
          40.4792 0.3100
          41.2504 0.0900
          41.6317 0.5000
          41.9514 0.5000
          42.3653 0.2000
          45.2814 0.0300
          53.9545 0.0100
          54.5476 0.6100
          55.2768 0.6300
          55.9102 0.0000
          56.5711 0.0000
          62.8525 0.0200
          63.6331 0.0300
          63.8306 0.0300
          64.0093 0.1300
          64.1786 0.1600
          64.6003 0.3200
          64.7225 0.3200
          64.9781 0.5200
          65.3448 0.5400
          65.9844 0.5300
          66.4547 0.3000
          66.9249 0.0500
          67.6397 0.0300
          68.8010 0.0300
          69.2619 0.5200
          69.9014 0.5200
          70.6444 0.0200
        }
        {
          4.2790 0.4900
          4.7493 0.4900
        }
        "cheek_raiser"         combo
        {
          34.2843 0.0600
          34.9145 0.0700
          35.5070 0.3200
          36.4099 0.3300
          37.3128 0.1900
          38.1499 0.0300
          48.3380 0.0300
          49.7206 0.0200
          51.1291 0.3500
          51.7499 0.3200
          52.6766 0.0100
          53.3067 0.0100
        }
        {
        }
        "wrinkler"
        {
          54.2084 0.0200
          54.6655 0.3400
          55.2257 0.0400
          56.0048 0.0200
        }
        "dilator"
        {
        }
        "upper_raiser"         combo
        {
          4.2790 0.0000
          4.7493 0.0000
          7.8937 0.0100
          8.5897 0.0200
          8.9050 0.3300
          9.4223 0.3500
          10.1465 0.0400
          10.4004 0.0200
          53.9262 0.0000
          54.3965 0.0000
          54.6755 0.2900
          55.3038 0.0200
          55.8449 0.0200
          56.3810 0.0200
        }
        {
          0.5173 0.5000
          4.2790 0.4900
          4.7493 0.4900
        }
        "corner_puller"         combo
        {
          48.4415 0.0200
          49.5513 0.0400
          50.5457 0.4600
          51.5097 0.3400
          51.9563 0.0500
          52.5578 0.0000
          53.3760 0.0000
        }
        {
        }
        "corner_depressor"         combo
        {
          7.9645 0.0200
          9.0085 0.0200
          9.4787 0.5300
          10.5252 0.0000
          11.0519 0.0000
          11.4833 0.3100
          12.0946 0.3200
          12.6213 0.0400
          13.1103 0.0300
          20.7294 0.0000
          21.4630 0.4400
          22.6195 0.4700
          23.4095 0.0100
          24.1243 0.0100
        }
        {
        }
        "chin_raiser"
        {
          2.8027 0.0100
          3.9066 0.0100
          4.0627 0.2300
          4.3204 0.3300
          4.8264 0.0100
          4.8907 0.0100
          33.8226 0.0000
          34.3778 0.0000
          34.9982 0.6400
          35.7986 0.1700
          36.3441 0.0400
          37.5573 0.0100
          38.2815 0.0000
        }
      }
    }
  }
  channel "gestures"
  {
    event gesture "NULL"
    {
      time 0.000000 0.400000
      param "null"
    }
    event gesture "acct"
    {
      time 0.666667 3.546366
      param "b_bg_dwnheadstrt"
      event_ramp
      {
        0.0460 0.2876
        0.6740 0.6438
        1.6760 0.3595
      }
      absolutetags playback_time
      {
        "apex" 0.105974
        "extreme" 0.282596
        "loop" 0.470994
        "end" 0.823377
      }
      absolutetags shifted_time
      {
        "apex" 0.132353
        "extreme" 0.235294
        "loop" 0.500000
        "end" 0.588235
      }
      sequenceduration 2.300000
    }
    event gesture "NULL"
    {
      time 3.688889 4.188889
      param "null"
    }
    event gesture "acct"
    {
      time 6.611111 8.911111
      param "B_bg_acctup"
      event_ramp
      {
        0.0180 0.2222
        0.5060 0.7712
        1.5840 0.8039
        2.0020 0.3562
      }
      absolutetags playback_time
      {
        "apex" 0.132353
        "extreme" 0.235294
        "loop" 0.514706
        "end" 0.588235
      }
      absolutetags shifted_time
      {
        "apex" 0.117647
        "extreme" 0.294118
        "loop" 0.514706
        "end" 0.588235
      }
      sequenceduration 2.300000
    }
    event gesture "NULL"
    {
      time 9.722222 10.222222
      param "null"
    }
    event gesture "acct"
    {
      time 10.344444 14.133332
      param "b_bg_upheaddwn"
      event_ramp
      {
        0.0040 0.3530
        0.6600 0.6732
        3.3849 0.5295
        3.5969 0.2027
      }
      absolutetags playback_time
      {
        "apex" 0.080673
        "extreme" 0.134455
        "loop" 0.179273
        "end" 0.224091
      }
      absolutetags shifted_time
      {
        "apex" 0.169811
        "extreme" 0.283019
        "loop" 0.377358
        "end" 0.471698
      }
      sequenceduration 1.800000
    }
    event gesture "NULL"
    {
      time 14.788889 15.288889
      param "null"
    }
    event gesture "acct"
    {
      time 15.611112 18.411112
      param "B_g_upshrug"
      event_ramp
      {
        0.0020 0.1405
        0.6980 0.5163
        1.7040 0.4902
      }
      absolutetags playback_time
      {
        "apex" 0.216867
        "accent" 0.481928
        "loop" 0.602410
        "end" 0.662651
      }
      absolutetags shifted_time
      {
        "apex" 0.216867
        "accent" 0.481928
        "loop" 0.602410
        "end" 0.662651
      }
      sequenceduration 2.800000
    }
    event gesture "NULL"
    {
      time 18.900002 19.400002
      param "null"
    }
    event gesture "acct"
    {
      time 19.733334 22.366667
      param "B_bg_leanfwd_chinout"
      event_ramp
      {
        0.1420 0.2582
        0.9400 0.4804
        1.9260 0.2942
      }
      absolutetags playback_time
      {
        "apex" 0.115888
        "extreme" 0.309035
        "loop" 0.515059
        "end" 0.553689
      }
      absolutetags shifted_time
      {
        "apex" 0.155172
        "extreme" 0.413793
        "loop" 0.689655
        "end" 0.741379
      }
      sequenceduration 1.966667
    }
    event gesture "NULL"
    {
      time 22.500000 23.000000
      param "null"
    }
    event gesture "acct"
    {
      time 23.266666 25.911110
      param "B_g_upshrug"
      event_ramp
      {
        0.0143 0.1765
        0.6250 0.4804
        1.6214 0.4673
        2.2857 0.2157
      }
      absolutetags playback_time
      {
        "apex" 0.229624
        "accent" 0.510276
        "loop" 0.637846
        "end" 0.701630
      }
      absolutetags shifted_time
      {
        "apex" 0.216867
        "accent" 0.481928
        "loop" 0.602410
        "end" 0.662651
      }
      sequenceduration 2.800000
    }
    event gesture "NULL"
    {
      time 25.922222 26.422222
      param "null"
    }
    event gesture "acct"
    {
      time 26.422224 29.388891
      param "B_bg_sigh"
      event_ramp
      {
        0.1140 0.1340
        0.9120 0.3954
        1.9460 0.2974
      }
      absolutetags playback_time
      {
        "apex" 0.147727
        "extreme" 0.340909
        "loop" 0.511364
        "end" 0.681818
      }
      absolutetags shifted_time
      {
        "apex" 0.147727
        "extreme" 0.340909
        "loop" 0.511364
        "end" 0.681818
      }
      sequenceduration 2.966667
    }
    event gesture "NULL"
    {
      time 29.533335 30.033335
      param "null"
    }
    event gesture "acct"
    {
      time 30.533335 35.144444
      param "b_bg_dwnheadtiltrt"
      event_ramp
      {
        0.0200 0.2190
        0.8200 0.6797
        1.8160 0.5196
      }
      absolutetags playback_time
      {
        "apex" 0.095422
        "extreme" 0.195181
        "loop" 0.276289
        "end" 0.655663
      }
      absolutetags shifted_time
      {
        "apex" 0.132353
        "extreme" 0.235294
        "loop" 0.514706
        "end" 0.588235
      }
      sequenceduration 2.300000
    }
    event gesture "acct"
    {
      time 32.866669 36.611111
      param "b_bg_upheaddwn"
      absolutetags playback_time
      {
        "apex" 0.184273
        "extreme" 0.234481
        "loop" 0.353591
        "end" 0.407537
      }
      absolutetags shifted_time
      {
        "apex" 0.169811
        "extreme" 0.283019
        "loop" 0.377358
        "end" 0.471698
      }
      sequenceduration 1.800000
    }
    event gesture "NULL"
    {
      time 36.655556 37.155556
      param "null"
    }
    event gesture "acct"
    {
      time 37.233334 39.211113
      param "b_bg_dwnheadtiltleft"
      event_ramp
      {
        0.0660 0.3987
        0.4400 0.7157
        1.0620 0.5458
        1.6058 0.2320
      }
      absolutetags playback_time
      {
        "apex" 0.127416
        "extreme" 0.262921
        "loop" 0.503595
        "end" 0.658314
      }
      absolutetags shifted_time
      {
        "apex" 0.132353
        "extreme" 0.235294
        "loop" 0.514706
        "end" 0.588235
      }
      sequenceduration 2.300000
    }
    event gesture "NULL"
    {
      time 39.333340 39.833340
      param "null"
    }
    event gesture "acct"
    {
      time 40.022224 43.555557
      param "B_bg_acctdwn"
      event_ramp
      {
        0.0240 0.2974
        0.6640 0.6177
        1.6880 0.5915
      }
      absolutetags playback_time
      {
        "apex" 0.387579
        "extreme" 0.478774
        "loop" 0.623428
        "end" 0.801101
      }
      absolutetags shifted_time
      {
        "apex" 0.117647
        "extreme" 0.294118
        "loop" 0.514706
        "end" 0.588235
      }
      sequenceduration 2.300000
    }
    event gesture "NULL"
    {
      time 44.044445 44.544445
      param "null"
    }
    event gesture "acct"
    {
      time 45.044445 47.844444
      param "B_g_chopout"
      absolutetags playback_time
      {
        "apex" 0.289157
        "accent" 0.481928
        "loop" 0.602410
        "end" 0.662651
      }
      absolutetags shifted_time
      {
        "apex" 0.180723
        "accent" 0.481928
        "loop" 0.602410
        "end" 0.662651
      }
      sequenceduration 2.800000
    }
    event gesture "NULL"
    {
      time 47.944443 48.444443
      param "null"
    }
    event gesture "acct"
    {
      time 48.866669 51.166668
      param "b_bg_dwnheadstrt"
      event_ramp
      {
        0.0740 0.3922
        0.9240 0.5588
        1.7900 0.3431
      }
      absolutetags playback_time
      {
        "apex" 0.132353
        "extreme" 0.201739
        "loop" 0.384348
        "end" 0.767826
      }
      absolutetags shifted_time
      {
        "apex" 0.132353
        "extreme" 0.235294
        "loop" 0.500000
        "end" 0.588235
      }
      sequenceduration 2.300000
    }
    event gesture "NULL"
    {
      time 51.822224 52.322224
      param "null"
    }
    event gesture "acct"
    {
      time 53.711113 56.155560
      param "B_bg_acctdwn"
      event_ramp
      {
        0.0920 0.2190
        0.5940 0.4902
        1.6700 0.3824
      }
      absolutetags playback_time
      {
        "apex" 0.304363
        "extreme" 0.384545
        "loop" 0.518727
        "end" 0.643090
      }
      absolutetags shifted_time
      {
        "apex" 0.117647
        "extreme" 0.294118
        "loop" 0.514706
        "end" 0.588235
      }
      sequenceduration 2.300000
    }
    event gesture "NULL"
    {
      time 56.888889 57.388889
      param "null"
    }
    event gesture "acct"
    {
      time 61.033333 65.844444
      param "B_bg_leanbk_chindwn"
      absolutetags playback_time
      {
        "apex" 0.161086
        "extreme" 0.290994
        "loop" 0.602194
        "end" 0.677949
      }
      absolutetags shifted_time
      {
        "apex" 0.137931
        "extreme" 0.258621
        "loop" 0.431034
        "end" 0.517241
      }
      sequenceduration 1.966667
    }
    event gesture "NULL"
    {
      time 66.055557 66.555557
      param "null"
    }
    event gesture "acct"
    {
      time 66.766670 69.966469
      param "b_bg_upheaddwn"
      event_ramp
      {
        0.0380 0.1667
        0.9060 0.4902
        1.9500 0.2778
      }
      absolutetags playback_time
      {
        "apex" 0.095525
        "extreme" 0.159208
        "loop" 0.212278
        "end" 0.702812
      }
      absolutetags shifted_time
      {
        "apex" 0.169811
        "extreme" 0.283019
        "loop" 0.377358
        "end" 0.471698
      }
      sequenceduration 1.800000
    }
    event gesture "acct"
    {
      time 68.711113 72.185951
      param "b_bg_dwnheadtiltrt"
      event_ramp
      {
        0.0520 0.1307
        1.0420 0.4020
        2.0280 0.2320
      }
      absolutetags playback_time
      {
        "apex" 0.087605
        "extreme" 0.155742
        "loop" 0.340685
        "end" 0.727452
      }
      absolutetags shifted_time
      {
        "apex" 0.132353
        "extreme" 0.235294
        "loop" 0.514706
        "end" 0.588235
      }
      sequenceduration 2.300000
    }
    event gesture "acct"
    {
      time 71.077782 73.842072
      param "b_bg_upheaddwn"
      event_ramp
      {
        0.4101 0.0360
        0.6679 0.3758
        1.0864 0.6536
        2.5323 0.4150
      }
      absolutetags playback_time
      {
        "apex" 0.058283
        "extreme" 0.184291
        "loop" 0.245722
        "end" 0.307152
      }
      absolutetags shifted_time
      {
        "apex" 0.169811
        "extreme" 0.283019
        "loop" 0.377358
        "end" 0.471698
      }
      sequenceduration 1.800000
    }
  }
  channel "head flex"
  {
    event flexanimation "head flex"
    {
      time 0.077774 77.124146
      param ""
      flexanimations samples_use_time
      {
        "head_rightleft"         range 30.0 -30.0
        {
          24.2275 0.5000
          25.2621 0.4900
          25.9111 0.4900
          26.2026 0.4200
          26.8234 0.4400
          27.0585 0.4100
          27.5852 0.4300
          28.1307 0.5000
          28.9261 0.5000
          57.5091 0.5000
          58.3932 0.5000
          58.8729 0.4400
          59.2303 0.4400
          62.8607 0.4500
          63.7071 0.4500
          63.9893 0.4900
          64.1962 0.4800
          64.9486 0.4800
        }
        "head_updown"         range 15.0 -15.0
        {
          2.3527 0.6100
          3.1727 0.6100
          3.5400 0.4700
          4.1038 0.4700
          4.6933 0.6000
          5.0907 0.6800
          6.0230 0.6600
          6.4789 0.6100
          7.2775 0.6200
          8.9573 0.6200
          10.7775 0.6200
          10.9715 0.6200
          12.4564 0.6000
          13.4480 0.6300
          13.7888 0.7200
          14.1280 0.7400
          14.3108 0.6700
          14.5667 0.7100
          14.7532 0.8200
          15.0268 0.7500
          15.3121 0.7600
          16.1285 0.7900
          16.4939 0.7900
          16.7716 0.6500
          17.2504 0.6500
          18.8044 0.6400
          19.2409 0.6400
          19.5545 0.8000
          20.1777 0.8600
          21.2704 0.8500
          21.7974 0.8400
          22.4526 0.6100
          22.6509 0.4600
          22.9570 0.6000
          23.3623 0.5600
          28.0309 0.6100
          30.4988 0.6200
          30.9288 0.6300
          31.3653 0.7900
          32.1377 0.7900
          34.7889 0.7900
          35.3150 0.6000
          35.7200 0.5800
          37.1772 0.6000
          37.7141 0.7900
          38.3718 0.7900
          38.6453 0.6200
          38.8817 0.6700
          39.0886 0.8200
          39.3029 0.6700
          39.6355 0.6700
          40.0198 0.7500
          40.3523 0.7500
          52.9232 0.7100
          57.2678 0.7100
          57.5782 0.6400
          57.7671 0.5300
          58.4026 0.6300
          58.8487 0.6800
          59.2723 0.6900
          60.1520 0.7200
          60.5470 0.7200
          60.7633 0.6800
          61.1019 0.7500
          61.5816 0.7800
          62.1835 0.7700
          62.4092 0.7000
          62.8137 0.7100
          63.6413 0.7200
          63.9799 0.7100
          64.2056 0.6600
          64.4125 0.7300
          64.6100 0.6500
          64.8436 0.6900
          65.0675 0.6900
          65.2496 0.6700
          65.6446 0.6900
          66.8074 0.6800
          69.8530 0.6600
          70.2446 0.6500
          70.9083 0.7200
          71.1979 0.7200
          71.3605 0.7200
          71.6930 0.7200
          72.1312 0.6700
          72.8035 0.5900
          73.1624 0.6600
          73.5530 0.6100
          74.0796 0.6700
          75.1894 0.6500
          75.6691 0.5300
        }
        "head_tilt"         range 15.0 -15.0
        {
          0.7727 0.4900
          1.7879 0.5000
          3.1231 0.5100
          3.4076 0.4900
          3.7923 0.4800
          4.3518 0.4800
          4.5296 0.4800
          4.9175 0.5000
          6.2744 0.5200
          6.6514 0.5000
          10.7872 0.5100
          10.9682 0.4900
          11.2107 0.5000
          11.5488 0.5300
          11.8430 0.5300
          12.0998 0.5100
          13.0473 0.4900
          19.6223 0.4700
          20.2560 0.4400
          20.5696 0.3700
          20.9155 0.3800
          45.3134 0.6000
          45.9046 0.6000
          46.1263 0.6000
          46.4071 0.4400
          46.8948 0.4400
          56.5957 0.5200
          57.2724 0.5000
          57.5752 0.4400
          57.7402 0.3500
          58.4256 0.4300
          58.8746 0.4800
          59.2884 0.5000
        }
        "head_forwardback"         range 0.2 -0.2
        {
        }
      }
    }
  }
  faceposermodel "U:\HL2\hl2\models\breen.mdl"
}

scalesettings
{
  "CChoreoView" "58"
  "SceneRampTool" "100"
  "ExpressionTool" "22"
  "GestureTool" "72"
  "RampTool" "56"
}
fps 60
snap off

{'repo_name': 'ValveSoftware/source-sdk-2013', 'stars': '2587', 'repo_language': 'C++', 'file_name': 'skill.cfg', 'mime_type': 'text/plain', 'hash': -8719141221602964195, 'source_dataset': 'data'}


@extends('layouts.app')

@section('content')

Reset Password

                    @if (session('status'))

                            {{ session('status') }}

                    @endif

                    <form class="form-horizontal" method="POST" action="{{ route('password.email') }}">
                        {{ csrf_field() }}

has('email') ? ' has-error' : '' }}">
                            E-Mail Address

                                <input id="email" type="email" class="form-control" name="email" value="{{ old('email') }}" required>

                                @if ($errors->has('email'))

                                        {{ $errors->first('email') }}

                                @endif

                                <button type="submit" class="btn btn-primary">
                                    Send Password Reset Link
                                </button>

                    </form>

@endsection

{'repo_name': 'getsentry/sentry-laravel', 'stars': '850', 'repo_language': 'PHP', 'file_name': 'ServiceProviderWithCustomAliasTest.php', 'mime_type': 'text/x-php', 'hash': -5967273458945381861, 'source_dataset': 'data'}


<?php
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/OSL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 */

namespace PrestaShop\PrestaShop\Core\Domain\Customer\Exception;

/**
 * Is thrown when setting required fields for customer fails
 */
class CannotSetRequiredFieldsForCustomerException extends CustomerException
{
}

{'repo_name': 'PrestaShop/PrestaShop', 'stars': '5017', 'repo_language': 'PHP', 'file_name': 'controllerHttp.php', 'mime_type': 'text/x-php', 'hash': -8555639668545914081, 'source_dataset': 'data'}


/*
 * 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.sirona.cdi;

import org.apache.sirona.SironaException;
import org.apache.sirona.aop.AbstractPerformanceInterceptor;

import javax.interceptor.AroundInvoke;
import javax.interceptor.AroundTimeout;
import javax.interceptor.Interceptor;
import javax.interceptor.InvocationContext;

@Interceptor
@Monitored
public class SironaInterceptor extends AbstractPerformanceInterceptor<InvocationContext> {
    @AroundInvoke
    @AroundTimeout
    public Object monitor(final InvocationContext invocationContext) throws Exception {
        try {
            return doInvoke(invocationContext);
        } catch (final Exception e) {
            throw e;
        } catch (final Throwable t) {
            throw new SironaException(t);
        }
    }

    @Override
    protected Object proceed(final InvocationContext invocation) throws Throwable {
        return invocation.proceed();
    }

    @Override
    protected String getCounterName(final InvocationContext invocation) {
        return getCounterName(invocation.getTarget(), invocation.getMethod());
    }

    @Override
    protected Object extractContextKey(final InvocationContext invocation) {
        return new SerializableMethod(invocation.getMethod());
    }
}

{'repo_name': 'apache/sirona', 'stars': '107', 'repo_language': 'JavaScript', 'file_name': 'BoomerangServletTest.java', 'mime_type': 'text/plain', 'hash': -2488784949379132230, 'source_dataset': 'data'}


# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- lavalamp
- wojtek-t
- caesarxuchao
reviewers:
- lavalamp
- wojtek-t
- caesarxuchao

{'repo_name': 'rancher/terraform-controller', 'stars': '207', 'repo_language': 'Go', 'file_name': '20-state.yaml', 'mime_type': 'text/plain', 'hash': 7906897695536340430, 'source_dataset': 'data'}


load("@rules_java//java:defs.bzl", "java_library")
load("@batfish//skylark:pmd_test.bzl", "pmd_test")

package(default_visibility = ["//visibility:public"])

java_library(
    name = "f5_bigip",
    srcs = glob(
        ["*.java"],
        exclude = ["BUILD"],
    ),
    deps = [
        "//projects/batfish-common-protocol:common",
        "@maven//:com_google_code_findbugs_jsr305",
        "@maven//:com_google_guava_guava",
        "@maven//:org_apache_commons_commons_lang3",
    ],
)

pmd_test(
    name = "pmd",
    lib = ":f5_bigip",
)

{'repo_name': 'batfish/batfish', 'stars': '494', 'repo_language': 'Java', 'file_name': 'pmd_test.bzl', 'mime_type': 'text/plain', 'hash': -8122512967025631151, 'source_dataset': 'data'}


// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace DotNetty.Codecs.Http.WebSockets.Extensions
{
    using System.Collections.Generic;
    using System.Diagnostics.Contracts;
    using System.Threading.Tasks;
    using DotNetty.Common.Utilities;
    using DotNetty.Transport.Channels;

    public class WebSocketClientExtensionHandler : ChannelHandlerAdapter
    {
        readonly List<IWebSocketClientExtensionHandshaker> extensionHandshakers;

        public WebSocketClientExtensionHandler(params IWebSocketClientExtensionHandshaker[] extensionHandshakers)
        {
            Contract.Requires(extensionHandshakers != null && extensionHandshakers.Length > 0);
            this.extensionHandshakers = new List<IWebSocketClientExtensionHandshaker>(extensionHandshakers);
        }

        public override Task WriteAsync(IChannelHandlerContext ctx, object msg)
        {
            if (msg is IHttpRequest request && WebSocketExtensionUtil.IsWebsocketUpgrade(request.Headers))
            {
                string headerValue = null;
                if (request.Headers.TryGet(HttpHeaderNames.SecWebsocketExtensions, out ICharSequence value))
                {
                    headerValue = value.ToString();
                }

                foreach (IWebSocketClientExtensionHandshaker extensionHandshaker in this.extensionHandshakers)
                {
                    WebSocketExtensionData extensionData = extensionHandshaker.NewRequestData();
                    headerValue = WebSocketExtensionUtil.AppendExtension(headerValue,
                        extensionData.Name, extensionData.Parameters);
                }

                request.Headers.Set(HttpHeaderNames.SecWebsocketExtensions, headerValue);
            }

            return base.WriteAsync(ctx, msg);
        }

        public override void ChannelRead(IChannelHandlerContext ctx, object msg)
        {
            if (msg is IHttpResponse response
                && WebSocketExtensionUtil.IsWebsocketUpgrade(response.Headers))
            {
                string extensionsHeader = null;
                if (response.Headers.TryGet(HttpHeaderNames.SecWebsocketExtensions, out ICharSequence value))
                {
                    extensionsHeader = value.ToString();
                }

                if (extensionsHeader != null)
                {
                    List<WebSocketExtensionData> extensions =
                        WebSocketExtensionUtil.ExtractExtensions(extensionsHeader);
                    var validExtensions = new List<IWebSocketClientExtension>(extensions.Count);
                    int rsv = 0;

                    foreach (WebSocketExtensionData extensionData in extensions)
                    {
                        IWebSocketClientExtension validExtension = null;
                        foreach (IWebSocketClientExtensionHandshaker extensionHandshaker in this.extensionHandshakers)
                        {
                            validExtension = extensionHandshaker.HandshakeExtension(extensionData);
                            if (validExtension != null)
                            {
                                break;
                            }
                        }

                        if (validExtension != null && (validExtension.Rsv & rsv) == 0)
                        {
                            rsv = rsv | validExtension.Rsv;
                            validExtensions.Add(validExtension);
                        }
                        else
                        {
                            throw new CodecException($"invalid WebSocket Extension handshake for \"{extensionsHeader}\"");
                        }
                    }

                    foreach (IWebSocketClientExtension validExtension in validExtensions)
                    {
                        WebSocketExtensionDecoder decoder = validExtension.NewExtensionDecoder();
                        WebSocketExtensionEncoder encoder = validExtension.NewExtensionEncoder();
                        ctx.Channel.Pipeline.AddAfter(ctx.Name, decoder.GetType().Name, decoder);
                        ctx.Channel.Pipeline.AddAfter(ctx.Name, encoder.GetType().Name, encoder);
                    }
                }

                ctx.Channel.Pipeline.Remove(ctx.Name);
            }

            base.ChannelRead(ctx, msg);
        }
    }
}

{'repo_name': 'Azure/DotNetty', 'stars': '2955', 'repo_language': 'C#', 'file_name': 'launch.json', 'mime_type': 'text/plain', 'hash': 3149394337639517982, 'source_dataset': 'data'}


package org.gwizard.hibernate;

import com.google.inject.AbstractModule;
import com.google.inject.persist.PersistService;
import com.google.inject.persist.jpa.JpaPersistModule;
import com.google.inject.persist.jpa.WizardBridgeModule;
import com.google.inject.util.Modules;
import lombok.EqualsAndHashCode;
import lombok.RequiredArgsConstructor;
import javax.inject.Inject;

/**
 *
This module provides a little bit of glue between guice-persist and the rest of gwizard.
 * The main benefit is the ability to configure JPA through a guice-friendly config mechanism.
 * Just provide a DatabaseConfig object.

 *
 *
Unfortunately there is no way around requiring your app to have a META-INF/persistence.xml
 * file in the same jar that has your entity classes. However, this can be a minimal skeleton
 * file which contains only the <provider> definition of org.hibernate.jpa.HibernatePersistenceProvider.
 * See the gwizard-example application for a demonstration.

 */
@RequiredArgsConstructor
@EqualsAndHashCode(callSuper=false, of={})	// makes installation of this module idempotent
public class HibernateModule extends AbstractModule {

	private final String persistenceUnitName;

	/** Assume a default persistence unit name of "gw-persistence-unit" */
	public HibernateModule() {
		this("gw-persistence-unit");
	}

	static class Initializer {
		@Inject
		public Initializer(PersistService service) {
			service.start();
		}
	}

	@Override
	protected void configure() {
		install(Modules.override(new JpaPersistModule(persistenceUnitName)).with(new WizardBridgeModule()));

		bind(Initializer.class).asEagerSingleton();

		requestStaticInjection(EM.class);
	}
}

{'repo_name': 'gwizard/gwizard', 'stars': '107', 'repo_language': 'Java', 'file_name': 'Hello.java', 'mime_type': 'text/plain', 'hash': 5944772803878993393, 'source_dataset': 'data'}


<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <item
        android:id="@+id/action_toggle"
        android:icon="@mipmap/nav_ico_setting"
        android:title="..."
        app:showAsAction="always" />

</menu>

{'repo_name': 'Hitomis/transferee', 'stars': '2311', 'repo_language': 'Java', 'file_name': 'PicassoImageLoader.java', 'mime_type': 'text/x-java', 'hash': 4744403806649771355, 'source_dataset': 'data'}


"use strict";

module.exports = function (t, a) {
	a(t.call("raz"), "raz", "Word");
	a(t.call("BLA"), "bLA", "Uppercase");
	a(t.call(""), "", "Empty");
	a(t.call("a"), "a", "One letter");
	a(t.call("this is a test"), "this is a test", "Sentence");
	a(t.call("This is a test"), "this is a test", "Capitalized sentence");
};

{'repo_name': 'xulayen/webpack-for-react', 'stars': '103', 'repo_language': 'JavaScript', 'file_name': 'statuses.js', 'mime_type': 'text/plain', 'hash': -7974437213811524510, 'source_dataset': 'data'}


//
//  BaseCommentCell.swift
//  Beam
//
//  Created by Powermobile on 29-02-16.
//  Copyright © 2016 Powermobile. All rights reserved.
//

import UIKit
import Snoo

struct CommentCellState {
    /// This property is set to true when the user has collapsed this cell or one of it's parents.
    var isCollapsed: Bool
    /// The indentation level the comment is at
    var indentation: Int
}

class BaseCommentCell: BeamTableViewCell {

    @IBOutlet fileprivate var commentContentView: CommentCellContentView!

    var showTopSeperator: Bool {
        set {
            self.commentContentView.showTopSeperator = newValue
        }
        get {
            return self.commentContentView.showTopSeperator
        }
    }

    var showBottomSeperator: Bool {
        set {
            self.commentContentView.showBottomSeperator = newValue
        }
        get {
            return self.commentContentView.showBottomSeperator
        }
    }

    var commentIndentation: Int {
        return self.state.indentation
    }

    var isCollapsed: Bool {
        return self.state.isCollapsed
    }

    /// This property is true when the comment on the cell has changed during the setting, use this property to optimize performance by not changing content that has changed
    var commentDidChange = false

    private var state: CommentCellState = CommentCellState(isCollapsed: false, indentation: 0)

    var comment: Comment? {
        return self.privateComment
    }

    fileprivate var privateComment: Comment? {
        didSet {
            self.commentDidChange = self.comment != oldValue
        }
    }

    /// Changes the comment displayed in this cell
    ///
    /// - Parameters:
    ///   - comment: The comment to display
    ///   - state: The state of the comment in this view, tells the cell if it's collapsed or has an indentation
    func changeComment(_ comment: Comment, state: CommentCellState) {
        self.state = state
        self.commentContentView.commentIndentationLevel = state.indentation
        self.privateComment = comment
    }

    override func awakeFromNib() {
        super.awakeFromNib()
        self.commentContentView.maxNumberOfReplyBorders = CommentsDataSource.maxCommentsDepth - 1
    }

    /**
     This methods configures the view for display, this is required to be called in ```cellForRowAtIndexPath:```. This is seperate method to make sure the UI is updated, but no unnessecary calls are made that could impact performance.
     */
    func reloadContents() {
        self.commentContentView.commentIndentationLevel = self.commentIndentation
        self.commentContentView.showBottomSeperator = self.showBottomSeperator
        self.commentContentView.showTopSeperator = self.showTopSeperator
        self.commentContentView.setNeedsDisplay()
    }

}

{'repo_name': 'PowerMobileWeb/NewsApp', 'stars': '170', 'repo_language': 'Swift', 'file_name': 'Localizable.strings', 'mime_type': 'text/plain', 'hash': 7403300384251921803, 'source_dataset': 'data'}


(ns sicmutils.util
  "Shared utilities between clojure and clojurescript."
  (:refer-clojure :rename {bigint core-bigint
                           biginteger core-biginteger
                           int core-int
                           long core-long}
                  #?@(:cljs [:exclude [bigint long int]]))
  (:require #?(:clj [clojure.math.numeric-tower :as nt])
            #?(:cljs goog.math.Integer)
            #?(:cljs goog.math.Long))
  #?(:clj
     (:import [clojure.lang BigInt]
              [java.util.concurrent TimeUnit TimeoutException])))

(defn counted
  "Takes a function and returns a pair of:

  - an atom that keeps track of fn invocation counts,
  - the instrumented fn"
  ([f] (counted f 0))
  ([f initial-count]
   (let [count (atom initial-count)]
     [count (fn [x]
              (swap! count inc)
              (f x))])))

(defmacro import-def
  "import a single fn or var
   (import-def a b) => (def b a/b)
  "
  [from-ns def-name]
  (let [from-sym# (symbol (str from-ns) (str def-name))]
    `(def ~def-name ~from-sym#)))

(defmacro import-vars
  "import multiple defs from multiple namespaces
   works for vars and fns. not macros.
   (same syntax as potemkin.namespaces/import-vars)
   (import-vars
     [m.n.ns1 a b]
     [x.y.ns2 d e f]) =>
   (def a m.n.ns1/a)
   (def b m.n.ns1/b)
    ...
   (def d m.n.ns2/d)
    ... etc
  "
  [& imports]
  (let [expanded-imports (for [[from-ns & defs] imports
                               d defs]
                           `(import-def ~from-ns ~d))]
    `(do ~@expanded-imports)))

(def compute-sqrt #?(:clj nt/sqrt :cljs Math/sqrt))
(def compute-expt #?(:clj nt/expt :cljs Math/pow))
(def compute-abs #?(:clj nt/abs :cljs Math/abs))
(def biginttype #?(:clj BigInt :cljs js/BigInt))
(def inttype #?(:clj Integer :cljs goog.math.Integer))
(def longtype #?(:clj Long :cljs goog.math.Long))

(defn bigint [x]
  #?(:clj (core-bigint x)
     :cljs (js/BigInt x)))

(defn parse-bigint [x]
  `(bigint ~x))

(defn biginteger [x]
  #?(:clj (core-biginteger x)
     :cljs (js/BigInt x)))

(defn int [x]
  #?(:clj (core-int x)
     :cljs (.fromNumber goog.math.Integer x)))

(defn long [x]
  #?(:clj (core-long x)
     :cljs (.fromNumber goog.math.Long x)))

(defn unsupported [s]
  (throw
   #?(:clj (UnsupportedOperationException. s)
      :cljs (js/Error s))))

(defn exception [s]
  (throw
   #?(:clj (Exception. s)
      :cljs (js/Error s))))

(defn illegal [s]
  (throw
   #?(:clj (IllegalArgumentException. s)
      :cljs (js/Error s))))

(defn illegal-state [s]
  (throw
   #?(:clj (IllegalStateException. s)
      :cljs (js/Error s))))

(defn arithmetic-ex [s]
  (throw
   #?(:clj (ArithmeticException. s)
      :cljs (js/Error s))))

(defn timeout-ex [s]
  (throw
   #?(:clj (TimeoutException. s)
      :cljs (js/Error s))))

(defn failure-to-converge [s]
  (throw
   #?(:clj (Exception. s)
      :cljs (js/Error s))))

{'repo_name': 'littleredcomputer/sicmutils', 'stars': '263', 'repo_language': 'Clojure', 'file_name': 'intro.md', 'mime_type': 'text/plain', 'hash': 4751197224022389325, 'source_dataset': 'data'}


# encoding: utf-8
'''
@author: shiwei hou
@contact: murdockhou@gmail.com
@software: PyCharm
@file: train_config.py
@time: 19-1-4 17:13
'''

train_config = {}

# dataset parameters
train_config['train_json_file'] = '/home/hsw/hswData/ai_train.json'
train_config['train_data_path'] = '/home/hsw/hswData/ai_train'
train_config['valid_batch_size']=1
train_config['train_nums']      = 210000
train_config['valid_nums']      = 30000
train_config['valid_json_file'] = '/home/hsw/hswData/ai_valid_1000.json'
train_config['valid_data_path'] = '/home/hsw/hswData/ai_challenger_keypoint_validation_20170911/keypoint_validation_images_20170911'

# train params
train_config['batch_size'] = 96
train_config['height']     = 256
train_config['width']      = 256
train_config['num_kps']    = 14
train_config['paf']        = 13*2
train_config['sigma']      = 1.

train_config['paf_width_thre']  = 1.
train_config['save_models']     = 100
train_config['input_scale']     = 8

train_config['finetuning'] = '/home/hsw/lightweight_openpose/model.ckpt-49215'
train_config['checkpoint_path'] = '/home/hsw/lightweight_openpose'

{'repo_name': 'murdockhou/lightweight_openpose', 'stars': '161', 'repo_language': 'Python', 'file_name': 'model_json.py', 'mime_type': 'text/x-python', 'hash': 1167662655906542331, 'source_dataset': 'data'}


<?php
namespace FedEx\DGLDService;

use FedEx\AbstractRequest;

/**
 * Request sends the SOAP call to the FedEx servers and returns the response
 *
 * @author      Jeremy Dunn <jeremy@jsdunn.info>
 * @package     PHP FedEx API wrapper
 * @subpackage  List Dangerous Goods Service
 */
class Request extends AbstractRequest
{
    const PRODUCTION_URL = 'https://ws.fedex.com:443/web-services/dgld';
    const TESTING_URL = 'https://wsbeta.fedex.com:443/web-services/dgld';

    protected static $wsdlFileName = 'DGLD_v1.wsdl';

    /**
     * Sends the ListDangerousGoodsRequest and returns the response
     *
     * @param ComplexType\ListDangerousGoodsRequest $listDangerousGoodsRequest
     * @param bool $returnStdClass Return the $stdClass response directly from \SoapClient
     * @return ComplexType\ListDangerousGoodsReply|stdClass
     */
    public function getListDangerousGoodsReply(ComplexType\ListDangerousGoodsRequest $listDangerousGoodsRequest, $returnStdClass = false)
    {
        $response = $this->getSoapClient()->listDangerousGoods($listDangerousGoodsRequest->toArray());
        if ($returnStdClass) {
            return $response;
        }

        $listDangerousGoodsReply = new ComplexType\ListDangerousGoodsReply;
        $listDangerousGoodsReply->populateFromStdClass($response);
        return $listDangerousGoodsReply;
    }
}

{'repo_name': 'JeremyDunn/php-fedex-api-wrapper', 'stars': '188', 'repo_language': 'PHP', 'file_name': 'WebServiceUrlTest.php', 'mime_type': 'text/x-php', 'hash': -2045642229049055748, 'source_dataset': 'data'}